JP2017173961A - Electronic device, method of specifying operation of electronic device, and program - Google Patents

Electronic device, method of specifying operation of electronic device, and program Download PDF

Info

Publication number
JP2017173961A
JP2017173961A JP2016056745A JP2016056745A JP2017173961A JP 2017173961 A JP2017173961 A JP 2017173961A JP 2016056745 A JP2016056745 A JP 2016056745A JP 2016056745 A JP2016056745 A JP 2016056745A JP 2017173961 A JP2017173961 A JP 2017173961A
Authority
JP
Japan
Prior art keywords
current
current consumption
consumption
unit
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2016056745A
Other languages
Japanese (ja)
Other versions
JP6518614B2 (en
Inventor
駿 太田
Shun Ota
駿 太田
恭一 新保
Kyoichi Shimbo
恭一 新保
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.)
KDDI Corp
Original Assignee
KDDI Corp
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 KDDI Corp filed Critical KDDI Corp
Priority to JP2016056745A priority Critical patent/JP6518614B2/en
Publication of JP2017173961A publication Critical patent/JP2017173961A/en
Application granted granted Critical
Publication of JP6518614B2 publication Critical patent/JP6518614B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Power Sources (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve the accuracy of a model to be used for estimating current consumption of an electronic device.SOLUTION: A mobile terminal 1 includes: a ROM 18 for storing element-specific current consumption which is a current to be consumed by each of a plurality of components in operation, in association with each of the components; an execution unit 201 which executes an application program; an operating state specifying unit 202 which specifies an operating state of each of the components when the execution unit 201 executes the application program; a calculation unit 203 which calculates overall current consumption of the mobile terminal 1, on the basis of the operating state and the element-specific current consumption, in association with the time elapsed when the execution unit 201 executes the application program; a classifying unit 204 which classifies the current consumption calculated by the calculation unit 203 into one of a plurality of current ranges; and an output unit 205 which outputs the current consumption classified by the classifying unit 204, in association with the lapse time.SELECTED DRAWING: Figure 6

Description

本発明は、電子機器、電子機器の動作の特定方法及びプログラムに関する。   The present invention relates to an electronic device, a method for specifying an operation of the electronic device, and a program.

近年、電子機器における低消費電流化の必要性が向上している。そこで、電子機器の消費電流を把握することが求められている。特許文献1には、外部電源から供給される電力量を測定する測定回路を用いて消費電流を測定し、測定した消費電流の状況を表示するコンピュータが開示されている。   In recent years, the need for low current consumption in electronic devices has improved. Therefore, it is required to grasp the current consumption of electronic devices. Patent Document 1 discloses a computer that measures current consumption using a measurement circuit that measures the amount of power supplied from an external power supply and displays the measured current consumption status.

特開2013−77251号公報JP 2013-77251 A

従来の技術を用いて電子機器の消費電流を特定するには、電子機器がどのように利用されるかを調査した上で利用モデルを決定し、決定した利用モデルに従って電子機器を動作させた状態での消費電流を測定する必要があったので、測定に長時間を要するという問題があった。これに対して、各利用モデルにおいて電子機器が実行する動作の内容ごとにどれだけの電流が消費されるかが把握しておき、各利用モデルにおける各動作内容の実行時間に基づいて、消費電流を実測することなく消費電流の推定値を算出する方法が考えられる。   In order to determine the current consumption of an electronic device using conventional technology, the usage model is determined after investigating how the electronic device is used, and the electronic device is operated according to the determined usage model There was a problem that it took a long time to measure the current consumption. On the other hand, by understanding how much current is consumed for each operation performed by the electronic device in each usage model, the current consumption is based on the execution time of each operation content in each usage model. It is conceivable to calculate the estimated value of current consumption without actually measuring.

しかしながら、電子機器では、さまざまな種類のアプリケーションプログラムが実行され、それぞれのアプリケーションプログラムが実行されている間に、消費電流が異なる各種の処理が実行される。従来は、電子機器内で消費電流が異なるどのような処理が行われているかを把握できなかったので、電子機器の利用モデルにおける動作内容、及び各動作内容の実行時間を決定することは困難であった。その結果、動作内容及び実行時間が人の感覚により決定されていたので、電子機器の実際の内部動作の状況が利用モデルに反映されておらず、消費電流の推定値の精度が低いという問題があった。   However, in an electronic device, various types of application programs are executed, and various processes with different current consumption are executed while the application programs are being executed. Conventionally, it was difficult to determine what kind of processing with different current consumption is being performed in the electronic device, so it is difficult to determine the operation content in the usage model of the electronic device and the execution time of each operation content. there were. As a result, since the operation content and execution time are determined by human sense, the actual internal operation status of the electronic device is not reflected in the usage model, and the accuracy of the estimated current consumption is low. there were.

そこで、本発明はこれらの点に鑑みてなされたものであり、電子機器の消費電流の推定に用いる利用モデルの精度を向上させることを目的とする。   Therefore, the present invention has been made in view of these points, and an object thereof is to improve the accuracy of a usage model used for estimating current consumption of an electronic device.

本発明の第1の態様の電子機器は、電流を消費する複数の構成要素を有する電子機器であって、前記複数の構成要素のそれぞれが動作した場合の消費電流である要素別消費電流を、前記複数の構成要素のそれぞれに関連付けて記憶する記憶部と、アプリケーションプログラムを実行する実行部と、前記実行部が前記アプリケーションプログラムを実行している間における前記複数の構成要素それぞれの動作状態を特定する動作状態特定部と、前記実行部が前記アプリケーションプログラムを実行中の経過時間に関連付けて、前記動作状態と前記要素別消費電流とに基づいて、前記電子機器の全体の消費電流を算出する算出部と、前記算出部が算出した前記消費電流を複数の電流範囲のいずれかに分類する分類部と、前記分類部が分類した前記消費電流を前記経過時間に関連付けて出力する出力部と、を有する。   The electronic device according to the first aspect of the present invention is an electronic device having a plurality of components that consume current, and the current consumption by element, which is the current consumption when each of the plurality of components operates, A storage unit that is stored in association with each of the plurality of components, an execution unit that executes an application program, and an operating state of each of the plurality of components while the execution unit is executing the application program A calculation unit that calculates an overall current consumption of the electronic device based on the operation state and the current consumption by element in association with an elapsed time during which the execution unit is executing the application program. A classification unit that classifies the consumption current calculated by the calculation unit into one of a plurality of current ranges, and the classification unit classifies the current consumption The quiescent current and an output unit for outputting in association with the elapsed time.

前記出力部は、例えば、平滑化処理された前記消費電流の変化特性を示す情報前記経過時間に関連付けて出力する。   The output unit outputs, for example, information indicating a change characteristic of the consumption current that has been smoothed in association with the elapsed time.

前記分類部は、所定の時間ごとに算出された前記消費電流の平均値が変化したタイミングに基づいて、前記電子機器の動作内容が変化した第1変化タイミングを特定し、前記出力部は、前記分類部が特定した前記第1変化タイミングを出力してもよい。   The classification unit identifies a first change timing at which the operation content of the electronic device has changed based on a timing at which the average value of the current consumption calculated every predetermined time has changed, and the output unit includes the output unit The first change timing specified by the classification unit may be output.

前記出力部は、前記経過時間に関連付けて前記平均値を出力してもよい。また、前記出力部は、前記経過時間に関連付けて、前記複数の電流範囲のうち前記消費電流が分類された電流範囲を示す情報を出力してもよい。   The output unit may output the average value in association with the elapsed time. The output unit may output information indicating a current range in which the consumption current is classified among the plurality of current ranges in association with the elapsed time.

前記分類部は、前記動作状態特定部により動作中であると特定された前記複数の構成要素の組み合わせに基づいて、動作内容が変化した第2変化タイミングを特定し、前記出力部は、前記分類部が特定した前記第2変化タイミングを出力してもよい。この場合、前記出力部は、前記経過時間に関連付けて、前記動作状態特定部が動作中であると特定した前記複数の構成要素の組み合わせを示す情報を出力する。   The classification unit identifies a second change timing at which the operation content has changed based on a combination of the plurality of components identified as being operated by the operation state identification unit, and the output unit includes the classification The second change timing specified by the unit may be output. In this case, the output unit outputs information indicating a combination of the plurality of constituent elements identified as being operated by the operation state specifying unit in association with the elapsed time.

前記算出部は、前記動作状態特定部又は前記算出部が消費する電流値を、前記動作状態特定部が特定した前記動作状態と前記要素別消費電流とに基づいて算出される消費電流から減算することにより、前記電子機器の全体の消費電流を算出してもよい。   The calculation unit subtracts a current value consumed by the operation state specifying unit or the calculation unit from a consumption current calculated based on the operation state specified by the operation state specifying unit and the element-specific consumption current. Thus, the current consumption of the entire electronic device may be calculated.

本発明の第2の態様の電子機器の動作の特定方法は、電流を消費する複数の構成要素を有する電子機器が実行する、アプリケーションプログラムを実行している間における、前記電子機器における電流を消費する複数の構成要素それぞれの動作状態を特定するステップと、前記アプリケーションプログラムを実行中の経過時間に関連付けて、前記動作状態と前記複数の構成要素のそれぞれが動作した場合の消費電流である要素別消費電流とに基づいて算出された前記電子機器の全体の消費電流を算出するステップと、算出した前記消費電流を複数の電流範囲のいずれかに分類するステップと、分類した前記消費電流を前記経過時間に関連付けて出力するステップと、を有する。   The method for specifying the operation of the electronic device according to the second aspect of the present invention consumes current in the electronic device while executing an application program executed by the electronic device having a plurality of components that consume current. Identifying the operation state of each of the plurality of constituent elements to be executed, and relating to the elapsed time during the execution of the application program, the current consumption when each of the operation state and the plurality of constituent elements is operated A step of calculating an overall consumption current of the electronic device calculated based on the consumption current, a step of classifying the calculated consumption current into any of a plurality of current ranges, and the elapsed consumption of the classified consumption current And outputting in association with time.

本発明の第3の態様のプログラムは、コンピュータに、他のアプリケーションプログラムを実行している間における、電子機器における電流を消費する複数の構成要素それぞれの動作状態を特定するステップと、前記アプリケーションプログラムを実行中の経過時間に関連付けて、前記動作状態と前記複数の構成要素のそれぞれが動作した場合の消費電流である要素別消費電流とに基づいて算出された前記電子機器の全体の消費電流を算出するステップと、算出した前記消費電流を複数の電流範囲のいずれかに分類するステップと、分類した前記消費電流を前記経過時間に関連付けて出力するステップと、を実行させる。   According to a third aspect of the present invention, there is provided a program for specifying an operating state of each of a plurality of components that consume current in an electronic device while another application program is being executed on a computer, and the application program The total current consumption of the electronic device calculated based on the operation state and the current consumption by element that is the current consumption when each of the plurality of components operates is related to the elapsed time during A step of calculating, a step of classifying the calculated current consumption into any of a plurality of current ranges, and a step of outputting the classified current consumption in association with the elapsed time are executed.

本発明によれば、電子機器の消費電流の推定に用いる利用モデルの精度を向上させることができるという効果を奏する。   ADVANTAGE OF THE INVENTION According to this invention, there exists an effect that the precision of the utilization model used for estimation of the consumption current of an electronic device can be improved.

携帯端末の動作の概要について説明するための図である。It is a figure for demonstrating the outline | summary of operation | movement of a portable terminal. 第1の利用モデルにおいて携帯端末が実行する動作の内容について説明するための図である。It is a figure for demonstrating the content of the operation | movement which a portable terminal performs in a 1st usage model. 第2の利用モデルにおいて携帯端末が実行する動作の内容について説明するための図である。It is a figure for demonstrating the content of the operation | movement which a portable terminal performs in a 2nd usage model. ウェブサイトの画面を表示する動作における経過時間と消費電流との関係を示す図である。It is a figure which shows the relationship between the elapsed time in the operation | movement which displays the screen of a website, and current consumption. 図4に示した経過時間と消費電流との関係の拡大図である。FIG. 5 is an enlarged view of the relationship between elapsed time and current consumption shown in FIG. 4. 本実施形態の携帯端末の構成を示す図である。It is a figure which shows the structure of the portable terminal of this embodiment. 各構成要素の要素別消費電流の一例を示す表である。It is a table | surface which shows an example of the consumption current according to element of each component. 出力部が出力する情報とユーザが特定した動作内容との関係を示す図である。It is a figure which shows the relationship between the information which an output part outputs, and the operation content which the user specified. CPUが消費電流を算出する動作のフローチャートである。It is a flowchart of the operation | movement which CPU calculates current consumption.

[携帯端末1の動作の概要]
図1は、本実施形態の電子機器である携帯端末1の動作の概要について説明するための図である。携帯端末1は、携帯端末網の基地局を介して他の通信端末とデータを送受信することができる電子機器である。携帯端末1には、消費電流算出プログラムが使用する、携帯端末1のユーザが利用する際の平均的な利用態様である利用モデルを決定するために用いられるプログラム(以下、動作内容決定プログラムという)がインストールされている。また、携帯端末1には、消費電流を算出するためのプログラム(以下、消費電流算出プログラムという)がインストールされている。
[Outline of operation of portable terminal 1]
FIG. 1 is a diagram for explaining an outline of the operation of the mobile terminal 1 that is the electronic apparatus of the present embodiment. The mobile terminal 1 is an electronic device that can transmit and receive data to and from other communication terminals via a base station of a mobile terminal network. The mobile terminal 1 is a program used for determining a usage model that is an average usage mode used by the user of the mobile terminal 1 and is used by the current consumption calculation program (hereinafter referred to as an operation content determination program). Is installed. The portable terminal 1 is installed with a program for calculating current consumption (hereinafter referred to as a current consumption calculation program).

消費電流算出プログラムは、例えば、携帯端末1を提供するメーカーや通信キャリア等の品質管理担当者により使用されるプログラムである。本明細書において、消費電流算出プログラムを使用して携帯端末1の消費電流を特定する品質管理担当者等を端末評価者と称し、携帯端末1を購入して利用する者をユーザと称する。   The consumption current calculation program is a program used by a quality control person such as a manufacturer that provides the mobile terminal 1 or a communication carrier, for example. In this specification, a quality control person or the like who specifies the consumption current of the portable terminal 1 using the consumption current calculation program is called a terminal evaluator, and a person who purchases and uses the portable terminal 1 is called a user.

消費電流算出プログラムは、携帯端末1の利用モデルに基づく各種の動作内容を、携帯端末1が内蔵する複数の構成要素に模擬的に実行させる模擬アプリである。端末評価者は、各種の携帯端末1に消費電流算出プログラムを実行させることにより、各携帯端末1の消費電流や電池持続時間を評価することができる。構成要素の詳細については後述するが、構成要素は、例えばCPU(Central Processing Unit)、ディスプレイ、通信ユニット等である。動作内容は、例えばアプリケーションプログラムの起動、アプリケーションプログラムを実行中の表示ページ遷移、画面のスクロール表示、低消費電力のスタンバイ動作等である。   The consumption current calculation program is a simulation application that causes various operation contents based on the usage model of the mobile terminal 1 to be executed by a plurality of components built in the mobile terminal 1 in a simulated manner. The terminal evaluator can evaluate the consumption current and the battery duration of each portable terminal 1 by causing various portable terminals 1 to execute a consumption current calculation program. Although details of the constituent elements will be described later, the constituent elements are, for example, a CPU (Central Processing Unit), a display, a communication unit, and the like. The operation content includes, for example, activation of an application program, display page transition during execution of the application program, screen scroll display, standby operation with low power consumption, and the like.

動作内容決定プログラムは、端末評価者が消費電流算出プログラムを使用して携帯端末1の消費電流を算出する前に実行されるプログラムである。携帯端末1は、動作内容決定プログラムを起動させた状態で、一般的なユーザが使用する他のアプリケーションプログラム(以下、ユーザアプリという)を実行させ、ユーザアプリを実行している間の各構成要素の動作状態を監視する。携帯端末1は、各構成要素の動作状態と、各構成要素が動作した時の既知の要素別消費電流とに基づいて、携帯端末1の全体での消費電流値を、経過時間に関連付けてメモリに記憶する。   The operation content determination program is a program that is executed before the terminal evaluator calculates the current consumption of the mobile terminal 1 using the current consumption calculation program. The mobile terminal 1 executes another application program (hereinafter referred to as a user application) used by a general user in a state where the operation content determination program is activated, and each component while the user application is being executed. Monitor the operating status of The mobile terminal 1 stores the current consumption value of the entire mobile terminal 1 in association with the elapsed time based on the operation state of each component and the known current consumption by element when each component operates. To remember.

携帯端末1は、動作内容決定プログラムを実行することにより、メモリに記憶された消費電流値の変化態様に基づいて、消費電流値を複数の電流範囲に分類し、ユーザアプリを実行している間における動作内容が変化したタイミングを特定する。具体的には、携帯端末1は、所定の時間内の平均消費電流が、複数の電流値範囲のうちどの範囲に含まれるかを特定し、平均消費電流が異なる範囲に含まれている期間に行われていた動作を異なる動作内容とする。   While the mobile terminal 1 executes the operation content determination program, the current consumption value is classified into a plurality of current ranges based on the change mode of the current consumption value stored in the memory, and the user application is being executed. The timing at which the content of the operation changes is specified. Specifically, the mobile terminal 1 specifies in which range the average current consumption within a predetermined time is included in a plurality of current value ranges, and in a period in which the average current consumption is included in different ranges. The operation that has been performed is different.

携帯端末1は、それぞれの動作内容の平均消費電流と、それぞれの動作内容が実行されていた時間とを関連付けて出力する。端末評価者は、出力された情報に基づいて、携帯端末1がユーザアプリを実行する場合に生じる動作内容の種類を特定することができる。端末評価者は、このように特定された動作内容に基づいて消費電流算出プログラムを実行することにより、さまざまな利用モデルでユーザアプリを実行した場合の消費電流を算出することができる。   The portable terminal 1 outputs the average current consumption of each operation content in association with the time during which each operation content was executed. The terminal evaluator can specify the type of operation content that occurs when the mobile terminal 1 executes the user application based on the output information. The terminal evaluator can calculate the current consumption when the user application is executed in various usage models by executing the current consumption calculation program based on the operation content thus specified.

図2は、第1の利用モデルにおいて携帯端末1が実行する動作の内容について説明するための図である。端末評価者は、本実施形態に係る動作内容決定プログラムを実行した携帯端末1から出力される結果に基づいて、図2に示す利用モデルを作成することができる。   FIG. 2 is a diagram for explaining the contents of the operation executed by the mobile terminal 1 in the first usage model. The terminal evaluator can create the usage model shown in FIG. 2 based on the result output from the mobile terminal 1 that has executed the operation content determination program according to the present embodiment.

図2は、携帯端末1においてゲームのアプリケーションプログラムを実行する時間が長いユーザによる携帯端末1の利用モデルを示している。図2(a)においては、利用カテゴリと利用時間とが関連付けられている。利用カテゴリは、ユーザが一日に使用するアプリケーションプログラムの利用種別を示す情報である。利用時間は、ユーザが一日の間に各利用カテゴリのアプリケーションプログラムを利用して携帯端末1を動作させる時間である。図2(a)は、ユーザが、ゲーム、ブラウザ、SNS、及び動画閲覧用等のアプリケーションプログラムを合計180分間にわたって利用しているという例を示している。   FIG. 2 shows a usage model of the mobile terminal 1 by a user who has a long time to execute a game application program on the mobile terminal 1. In FIG. 2A, the usage category and the usage time are associated with each other. The usage category is information indicating the usage type of the application program used by the user in one day. The usage time is a time during which the user operates the portable terminal 1 using an application program of each usage category during the day. FIG. 2A shows an example in which the user uses an application program such as a game, browser, SNS, and video browsing for a total of 180 minutes.

図2(b)は、携帯端末1を使用するユーザが、ゲームのカテゴリに属する複数のアプリケーションプログラム(ゲームA〜ゲームD等)を利用することを示している。図2(c)は、携帯端末1がゲームAのアプリケーションプログラムを実行する間に実行される動作内容、及び動作内容が実行される時間の内訳を示している。   FIG. 2B shows that the user using the mobile terminal 1 uses a plurality of application programs (game A to game D, etc.) belonging to the game category. FIG. 2C shows the details of the operation executed while the mobile terminal 1 executes the application program of the game A, and the breakdown of the time when the operation content is executed.

図2(c)に示した各動作内容における単位時間(例えば1分)あたりの消費電流がわかれば、それぞれの動作内容の実行時間を乗算することにより、図2に示す利用モデルにおいて携帯端末1がゲームAのアプリケーションプログラムを実行する場合の消費電流を算出することができる。全てのアプリケーションプログラムに対して消費電流を算出すれば、図2に示した利用モデルの携帯端末1の一日の推定消費電流を算出することができる。そして、携帯端末1が電池で動作する場合、電池の電流容量と、推定消費電流との関係に基づいて、電池をフル充電してから図2に示した利用モデルで携帯端末1を利用した場合に、電池残量がゼロになるまでの時間(以下、電池持続時間という)を特定することができる。   If the current consumption per unit time (for example, 1 minute) in each operation content shown in FIG. 2C is known, the mobile terminal 1 in the usage model shown in FIG. 2 is multiplied by the execution time of each operation content. Can calculate the current consumption when the application program of the game A is executed. If the consumption current is calculated for all application programs, the estimated daily consumption current of the portable terminal 1 of the usage model shown in FIG. 2 can be calculated. And when the portable terminal 1 operate | moves with a battery, when the portable terminal 1 is used with the usage model shown in FIG. 2 after fully charging a battery based on the relationship between the current capacity of the battery and the estimated current consumption In addition, the time until the remaining battery level becomes zero (hereinafter referred to as the battery duration) can be specified.

そこで、本実施形態の携帯端末1は、消費電流算出プログラムを実行することにより、各動作内容を実行する単位時間内に、各構成要素が実際に動作している時間(以下、実動作時間という)を特定し、各構成要素が動作する際の既知の消費電流と実動作時間とに基づいて、各動作内容における単位時間あたりの消費電流を算出する。そして、携帯端末1は、消費電流を算出する対象となる利用モデルにおける各動作内容の実行時間に基づいて、その利用モデルにおける携帯端末1の全体の消費電流及び電池持続時間を算出することができる。このようにすることで、携帯端末1の消費電流を確認したい端末評価者は、携帯端末1を電流測定機に接続することなく、短時間で携帯端末1の消費電流及び電池持続時間を算出することができる。   Therefore, the portable terminal 1 according to the present embodiment executes the current consumption calculation program, so that each component is actually operating within a unit time for executing each operation content (hereinafter referred to as actual operation time). ) And the current consumption per unit time in each operation content is calculated based on the known current consumption and the actual operation time when each component operates. Then, the mobile terminal 1 can calculate the entire current consumption and battery duration of the mobile terminal 1 in the usage model based on the execution time of each operation content in the usage model for which the current consumption is calculated. . By doing in this way, the terminal evaluator who wants to check the current consumption of the mobile terminal 1 calculates the current consumption and the battery duration of the mobile terminal 1 in a short time without connecting the mobile terminal 1 to the current measuring device. be able to.

図3は、第2の利用モデルにおいて携帯端末1が実行する動作の内容について説明するための図である。図3は、携帯端末1においてブラウザのアプリケーションプログラムを実行する時間が長いユーザによる携帯端末1の利用モデルを示している。このように、想定する利用モデルによって、各動作内容の実行時間の内訳が異なるので、消費電流算出プログラムにおいては、端末評価者が、消費電流の算出の対象とする利用モデルを選択できるようにされている。   FIG. 3 is a diagram for explaining the contents of the operation performed by the mobile terminal 1 in the second usage model. FIG. 3 shows a usage model of the mobile terminal 1 by a user who takes a long time to execute a browser application program in the mobile terminal 1. As described above, since the breakdown of the execution time of each operation content varies depending on the assumed usage model, the current consumption calculation program allows the terminal evaluator to select the usage model for which the current consumption is to be calculated. ing.

消費電流算出プログラムは、端末評価者が、予め設定された複数の動作内容から利用モデルに含めたい一以上の動作内容を選択し、選択した各動作内容の実行時間を設定できるようにしてもよい。このようにすることで、端末評価者は、任意の利用モデルを簡単に設定することができる。   The consumption current calculation program may allow the terminal evaluator to select one or more operation contents to be included in the usage model from a plurality of preset operation contents and set the execution time of each selected operation content. . By doing so, the terminal evaluator can easily set an arbitrary usage model.

図4は、携帯端末1がブラウザのアプリケーションプログラムを実行することによりウェブサイトの画面を表示する動作における経過時間と消費電流との関係を示す図である。携帯端末1は、動作内容決定プログラムを用いて、アプリケーションプログラムを実行している間の各構成要素と各構成要素の要素別消費電流とに基づいて、図4に示すように、時間ごとに消費電流を算出することができる。図4に示す消費電流は、実際にブラウザを動作させている間に実測された電流値の変化を示している。時間の経過とともに消費電流が変動し、ブラウザが起動するタイミングと、表示するページを遷移するタイミングで消費電流が増えていることがわかる。   FIG. 4 is a diagram illustrating a relationship between elapsed time and current consumption in an operation in which the mobile terminal 1 displays a website screen by executing a browser application program. As shown in FIG. 4, the mobile terminal 1 consumes every time based on each component while the application program is executed using the operation content determination program and the current consumption of each component. The current can be calculated. The current consumption shown in FIG. 4 indicates a change in the current value measured while actually operating the browser. It can be seen that the current consumption fluctuates with the passage of time, and that the current consumption increases at the timing when the browser starts and when the page to be displayed changes.

図5は、図4に示した経過時間と消費電流との関係の拡大図である。図5(a)においては、微視的には消費電流が細かく変動しているが、巨視的には消費電流が階段状に変化していることがわかる。携帯端末1の消費電流は、動作内容ごとに、所定の時間内の平均値が異なることにより、このように階段状に消費電流が変化する。   FIG. 5 is an enlarged view of the relationship between elapsed time and current consumption shown in FIG. In FIG. 5A, it can be seen that the current consumption varies finely microscopically, but macroscopically changes the current consumption stepwise. The current consumption of the portable terminal 1 changes in a stepped manner in this way because the average value within a predetermined time differs for each operation content.

図5(b)は、所定の時間ごとに算出された消費電流の平均値(例えば移動平均値)の変化の傾向を示す図である。図5(b)においては、図5(a)に示した消費電流の算出期間が、平均消費電流の値が複数の消費電流範囲P1〜P7のどの範囲に含まれるかに基づいて、A〜Eの複数の期間に分割されている。期間Cは、期間C1〜C3の3つの期間に分割されている。携帯端末1は、図5(a)に示す消費電流の変化データに基づいて、図5(b)に示す各期間の開始時間及び終了時間(すなわち、動作内容の変化タイミング)を、各期間の消費電流の平均値に関連付けて出力する。   FIG. 5B is a diagram showing a tendency of a change in the average value (for example, moving average value) of current consumption calculated every predetermined time. In FIG. 5B, the calculation period of the consumption current shown in FIG. 5A is based on which of the plurality of consumption current ranges P1 to P7 includes the average consumption current value. E is divided into a plurality of periods. The period C is divided into three periods C1 to C3. Based on the consumption current change data shown in FIG. 5A, the portable terminal 1 calculates the start time and end time of each period shown in FIG. 5B (that is, the change timing of the operation content) for each period. Output in association with the average value of current consumption.

端末評価者は、図5(a)に示した電流の変化が記録された時の携帯端末1の動作状態に基づいて、期間A〜Eにおいて、どのような動作が行われていたかを特定することで、利用モデルに含まれる動作内容を決定することができる。例えば、端末評価者は、期間Aがアプリケーションの起動時、期間Bが起動処理時、期間Cがスクロール表示時、期間Dがページ遷移時、期間Eがスタンバイ表示時といったように、携帯端末1の消費電流を測定するために必要な動作内容を決定することができる。
以下、携帯端末1の構成及び動作について詳細に説明する。
The terminal evaluator specifies what operation was performed in the periods A to E based on the operation state of the mobile terminal 1 when the change in current shown in FIG. Thus, the operation content included in the usage model can be determined. For example, the terminal evaluator determines that the mobile terminal 1 has a period A when the application is activated, a period B is when the activation process is performed, a period C is when the scroll display is performed, a period D is when the page is transitioned, a period E is when the display is standby The operation content necessary for measuring the current consumption can be determined.
Hereinafter, the configuration and operation of the mobile terminal 1 will be described in detail.

[携帯端末1の構成]
図6は、本実施形態の携帯端末1の構成を示す図である。携帯端末1は、電流を消費する複数の構成要素を有する。具体的には、携帯端末1は、電池11と、ディスプレイ12と、タッチパネル13と、通信ユニット14と、センサ15と、カメラ16と、GPU(Graphic Processing Unit)17と、ROM18と、RAM19と、CPU20とを有する。ディスプレイ12、タッチパネル13、通信ユニット14、センサ15、カメラ16、GPU17、ROM18、RAM19及びCPU20は、互いにデータバス、アドレスバス等の信号線により接続されている。
[Configuration of mobile terminal 1]
FIG. 6 is a diagram illustrating a configuration of the mobile terminal 1 of the present embodiment. The mobile terminal 1 has a plurality of components that consume current. Specifically, the mobile terminal 1 includes a battery 11, a display 12, a touch panel 13, a communication unit 14, a sensor 15, a camera 16, a GPU (Graphic Processing Unit) 17, a ROM 18, a RAM 19, CPU 20. The display 12, the touch panel 13, the communication unit 14, the sensor 15, the camera 16, the GPU 17, the ROM 18, the RAM 19, and the CPU 20 are connected to each other by signal lines such as a data bus and an address bus.

電池11は、携帯端末1の各部を動作させるための電流を供給する。電池11は、例えばリチウムイオン電池、リチウムポリマー電池又はニッケルカドミウム電池であり、外部電源に接続することで充電することができる。   The battery 11 supplies a current for operating each part of the mobile terminal 1. The battery 11 is, for example, a lithium ion battery, a lithium polymer battery, or a nickel cadmium battery, and can be charged by being connected to an external power source.

ディスプレイ12は、例えば液晶ディスプレイ(LCD)又は有機EL(Electroluminescence)ディスプレイである。ディスプレイ12は、CPU20の制御に基づいて情報を表示する。
タッチパネル13は、ディスプレイ12に重ねて設けられており、ユーザがタッチしたディスプレイ上の位置を検出する。タッチパネル13は、ユーザがタッチした位置を示す座標情報をCPU20に通知する。
The display 12 is, for example, a liquid crystal display (LCD) or an organic EL (Electroluminescence) display. The display 12 displays information based on the control of the CPU 20.
The touch panel 13 is provided so as to overlap the display 12 and detects a position on the display touched by the user. The touch panel 13 notifies the CPU 20 of coordinate information indicating the position touched by the user.

通信ユニット14は、LTE(Long Term Evolution)、BLE(Bluetooth(登録商標)Low Energy)等の無線通信インタフェースである。通信ユニット14は、CPU20の制御に基づいて、携帯端末網の基地局との間でデータを送受信したり、BLEを介して他の通信端末との間でデータを送受信したりする。   The communication unit 14 is a wireless communication interface such as LTE (Long Term Evolution) and BLE (Bluetooth (registered trademark) Low Energy). The communication unit 14 transmits / receives data to / from a base station of the mobile terminal network or transmits / receives data to / from other communication terminals via the BLE based on the control of the CPU 20.

センサ15は、例えば、携帯端末1の状態を検知する重力センサや温度センサである。センサ15は、検知した状態を示す信号をCPU20に通知する。
カメラ16は、レンズ及び撮像素子を有しており、CPU20の制御に基づいて、撮影した被写体の撮像画像を生成する。カメラ16は、生成した撮像画像をGPU17に入力する。
GPU17は、CPU20の制御に基づいて、各種の画像処理を実行する。
The sensor 15 is, for example, a gravity sensor or a temperature sensor that detects the state of the mobile terminal 1. The sensor 15 notifies the CPU 20 of a signal indicating the detected state.
The camera 16 includes a lens and an image sensor, and generates a captured image of the captured subject based on the control of the CPU 20. The camera 16 inputs the generated captured image to the GPU 17.
The GPU 17 executes various image processes based on the control of the CPU 20.

ROM18は、例えばEEPROM(Electrically Erasable Programmable Read-Only Memory)であり、書込み可能な不揮発性メモリである。CPU20が実行するプログラムを記憶している。RAM19は、CPU20がプログラムを実行する際に使用する各種のデータを一時的に記憶する。   The ROM 18 is, for example, an EEPROM (Electrically Erasable Programmable Read-Only Memory), and is a writable nonvolatile memory. A program executed by the CPU 20 is stored. The RAM 19 temporarily stores various data used when the CPU 20 executes the program.

ROM18は、CPU20がプログラムを実行する際に用いる各種の設定データを記憶している。例えば、ROM18は、利用モデルの種別と、各利用モデルに含まれる複数の動作内容とを関連付けて記憶している。具体的には、ROM18は、図2及び図3に示した、各利用モデルにおける各動作内容と実行時間とを関連付けた動作内容テーブルを記憶している。   The ROM 18 stores various setting data used when the CPU 20 executes the program. For example, the ROM 18 stores the type of usage model and a plurality of operation contents included in each usage model in association with each other. Specifically, the ROM 18 stores an operation content table associating each operation content and execution time in each usage model shown in FIGS. 2 and 3.

また、ROM18は、携帯端末1が有する複数の構成要素のそれぞれが動作した場合の消費電流である要素別消費電流を、複数の構成要素のそれぞれに関連付けて記憶している。要素別消費電流は、各構成要素の単位時間当たりの消費電流であり、Android(登録商標)等のOS(Operating System)により、消費電流プロファイルとして提供される。ROM18は、例えば、各構成要素が最も電流を消費するモードで動作した場合の単位時間あたりの要素別消費電流を記憶している。図7に、各構成要素の要素別消費電流の一例を示す。各構成要素が、消費電流の異なる複数の動作モードを有している場合、ROM18は、各構成要素の動作モードに関連付けて要素別消費電流を記憶していてもよい。ROM18に記憶されている要素別消費電流の値は、予め携帯端末1の開発時点で実測された電流値である。   In addition, the ROM 18 stores element-by-element current consumption, which is current consumption when each of the plurality of components of the mobile terminal 1 operates, in association with each of the plurality of components. The current consumption by element is the current consumption per unit time of each component and is provided as a current consumption profile by an OS (Operating System) such as Android (registered trademark). The ROM 18 stores, for example, element-by-element current consumption per unit time when each component operates in a mode that consumes the most current. FIG. 7 shows an example of current consumption by element of each component. When each component has a plurality of operation modes with different current consumption, the ROM 18 may store the current consumption for each component in association with the operation mode of each component. The value of the current consumption by element stored in the ROM 18 is a current value measured in advance at the time of development of the portable terminal 1.

CPU20は、ROM18に記憶されたプログラムを実行することにより、携帯端末1の各部を制御する。CPU20は、プログラムを実行することにより、実行部201、動作状態特定部202、算出部203、分類部204及び出力部205として機能する。   The CPU 20 controls each unit of the portable terminal 1 by executing a program stored in the ROM 18. The CPU 20 functions as an execution unit 201, an operation state specifying unit 202, a calculation unit 203, a classification unit 204, and an output unit 205 by executing a program.

実行部201は、各種のアプリケーションプログラムを実行する。実行部201は、端末評価者の操作に応じて、動作内容決定プログラムを実行するとともに、動作内容決定プログラムを用いて動作内容を特定する対象となるアプリケーションプログラム(以下、特定対象アプリという)を実行する。   The execution unit 201 executes various application programs. The execution unit 201 executes an operation content determination program in accordance with the operation of the terminal evaluator, and executes an application program (hereinafter referred to as a specific target application) for specifying the operation content using the operation content determination program. To do.

動作状態特定部202は、実行部201が特定対象アプリを実行中に、携帯端末1の各構成要素の動作状態を特定する。動作状態特定部202は、例えば、実行部201が特定対象アプリを実行中に、OSを介して、携帯端末1が有する複数の構成要素のそれぞれがどのような動作をしているかを特定する。動作状態特定部202は、時間を示す情報に関連付けて、特定した動作を示す動作状態情報を算出部203に通知する。動作状態特定部202は、構成要素が消費電流の異なる複数の動作モードを有している場合、時間を示す情報に関連付けて、各構成要素が実行中の動作モードを示す動作状態情報を算出部203に通知する。   The operation state identification unit 202 identifies the operation state of each component of the mobile terminal 1 while the execution unit 201 is executing the identification target application. The operation state specifying unit 202 specifies, for example, what operation each of the plurality of constituent elements of the mobile terminal 1 is performing via the OS while the execution unit 201 is executing the specification target application. The operation state specifying unit 202 notifies the calculation unit 203 of operation state information indicating the specified operation in association with information indicating time. When the component has a plurality of operation modes with different current consumption, the operation state specifying unit 202 calculates operation state information indicating the operation mode being executed by each component in association with information indicating time. 203 is notified.

算出部203は、実行部201がアプリケーションプログラムの実行を開始してからの経過時間に関連付けて、動作状態と要素別消費電流とに基づいて算出された携帯端末1の全体の消費電流を算出する。算出部203は、経過時間ごとに、複数の構成要素のうち、その経過時間で動作している構成要素に対応する要素別消費電流を合算することにより携帯端末1の全体の消費電流を算出し、経過時間と全体の消費電流Itとを関連付けて分類部204に通知する。算出部203は、例えば、所定の期間内に各構成要素が動作している実動作時間に要素別消費電流を乗算することにより、所定の期間内の各構成要素の消費電流を算出してもよい。   The calculation unit 203 calculates the overall consumption current of the mobile terminal 1 calculated based on the operation state and the element-based consumption current in association with the elapsed time from when the execution unit 201 starts executing the application program. . For each elapsed time, the calculation unit 203 calculates the overall current consumption of the mobile terminal 1 by adding the element-specific current consumption corresponding to the components operating at the elapsed time among the plurality of components. The classifying unit 204 is notified of the elapsed time and the total consumption current It in association with each other. For example, the calculation unit 203 may calculate the consumption current of each component within a predetermined period by multiplying the actual operation time during which each component is operating within a predetermined period by the consumption current for each element. Good.

なお、算出部203は、携帯端末1が動作内容決定プログラムを実行することにより動作状態特定部202又は算出部203が消費する電流値を、動作状態特定部202が特定した動作状態と要素別消費電流とに基づいて算出される消費電流から減算することにより、携帯端末1の全体の消費電流を補正する。このようにすることで、CPU20が動作内容決定プログラムを実行することにより消費される電流が、携帯端末1の全体の消費電流の算出結果に与える影響を排除することができるので、算出部203が算出する消費電流の精度が向上する。   Note that the calculation unit 203 determines the current value consumed by the operation state specifying unit 202 or the calculation unit 203 when the mobile terminal 1 executes the operation content determination program, as well as the operation state specified by the operation state specifying unit 202 and the consumption by element. By subtracting the current consumption calculated based on the current, the overall current consumption of the mobile terminal 1 is corrected. By doing in this way, the influence which the current consumed when CPU20 runs the operation content determination program has on the calculation result of the consumption current of the portable terminal 1 can be excluded. The accuracy of the calculated consumption current is improved.

算出部203は、所定の時間ごとに消費電流の平均値を算出する。例えば、算出部203は、消費電流の移動平均値を算出する。算出部203は、消費電流の移動平均値を算出することにより、動作内容の切り替えと無関係に発生する消費電流の短時間の変動を含まない、平滑化された消費電流の変化特性を得ることができる。算出部203は、端末評価者により設定された時間に基づいて移動平均値を算出してもよい。このようにすることで、端末評価者は、動作内容の変化タイミングを特定しやすい所望のレベルに消費電流の平滑化度合いを調整することができる。算出部203は、算出した消費電流の平均値を、分類部204に通知する。   The calculation unit 203 calculates an average value of current consumption every predetermined time. For example, the calculation unit 203 calculates a moving average value of current consumption. The calculation unit 203 obtains a smoothed change characteristic of the consumption current that does not include a short-time fluctuation of the consumption current that occurs regardless of the switching of the operation content by calculating the moving average value of the consumption current. it can. The calculation unit 203 may calculate the moving average value based on the time set by the terminal evaluator. By doing in this way, the terminal evaluator can adjust the smoothing degree of the consumption current to a desired level at which the change timing of the operation content can be easily specified. The calculation unit 203 notifies the classification unit 204 of the calculated average value of current consumption.

分類部204は、算出部203が算出した消費電流を複数の電流範囲に分類する。算出部203は、例えば、平滑化された消費電流の値(すなわち消費電流の平均値)が、図5(b)に示した電流範囲P0〜P7のうち、どの電流範囲に含まれるかを特定することにより、消費電流を複数電流範囲のいずれかに分類する。そして、分類部204は、消費電流の平均値が変化したタイミングに基づいて、携帯端末1の動作内容が変化した変化タイミングを特定し、特定した変化タイミングを出力部205に通知する。   The classification unit 204 classifies the current consumption calculated by the calculation unit 203 into a plurality of current ranges. For example, the calculation unit 203 identifies which current range the smoothed current consumption value (that is, the average current consumption value) is included in the current ranges P0 to P7 illustrated in FIG. By doing so, the current consumption is classified into one of a plurality of current ranges. Then, the classification unit 204 identifies the change timing when the operation content of the mobile terminal 1 has changed based on the timing when the average value of the current consumption has changed, and notifies the output unit 205 of the specified change timing.

出力部205は、平滑化処理された消費電流の変化特性を示す情報を経過時間に関連付けて出力する。出力部205は、例えば、算出部203が算出した消費電流の平均値、すなわち平滑化された消費電流の値を経過時間に関連付けて出力する。また、出力部205は、経過時間に関連付けて、複数の電流範囲のうち消費電流が分類された電流範囲を示す情報を出力する。出力部205は、例えば、図5(b)に示したような経過時間と消費電流との関係を示す情報を出力する。出力部205が出力する情報の形式は任意であり、図5(b)に示したようなグラフ形式でもよく、経過時間及び消費電流の数値を含む表形式でもよい。   The output unit 205 outputs information indicating the change characteristic of the consumption current subjected to the smoothing process in association with the elapsed time. For example, the output unit 205 outputs the average value of the consumption current calculated by the calculation unit 203, that is, the smoothed consumption current value in association with the elapsed time. Further, the output unit 205 outputs information indicating a current range in which current consumption is classified among a plurality of current ranges in association with the elapsed time. For example, the output unit 205 outputs information indicating the relationship between elapsed time and current consumption as shown in FIG. The format of the information output by the output unit 205 is arbitrary, and may be a graph format as shown in FIG. 5B or a table format including elapsed time and current consumption values.

図8は、出力部205が出力する情報とユーザが特定した動作内容との関係を示す図である。図8(a)は、出力部205が出力する経過時間と消費電流との関係を示す情報である。図8(a)においては、時間及び消費電流の値が示されていないが、出力部205は、少なくとも時間情報を出力する。   FIG. 8 is a diagram illustrating the relationship between the information output by the output unit 205 and the operation content specified by the user. FIG. 8A shows information indicating the relationship between the elapsed time output by the output unit 205 and the current consumption. In FIG. 8 (a), values of time and current consumption are not shown, but the output unit 205 outputs at least time information.

図8(b)は、端末評価者が、図8(a)に示したような出力部205が出力した情報が示す消費電流の変化時間と、動作内容決定プログラムを実行中に実行していた特定対象アプリにおける動作内容の遷移時間とを照合することにより特定した、動作内容を示している。このように、携帯端末1は、動作内容決定プログラムを実行することにより、消費電流の傾向が異なる期間をわかりやすく出力するので、端末評価者が動作内容を容易に決定することが可能になる。   In FIG. 8B, the terminal evaluator was executing the current consumption change time indicated by the information output by the output unit 205 as shown in FIG. 8A and the operation content determination program during execution. The operation content specified by collating with the transition time of the operation content in the specific target application is shown. Thus, since the portable terminal 1 outputs the period from which the tendency of consumption current differs easily by executing the operation content determination program, the terminal evaluator can easily determine the operation content.

[CPU20の動作フローチャート]
図9は、CPU20が消費電流を算出する動作のフローチャートである。
まず、端末評価者が動作内容決定プログラム及び特定対象アプリを起動すると(S11)、実行部201は、特定対象アプリを実行する(S12)。
[Operation Flowchart of CPU 20]
FIG. 9 is a flowchart of the operation in which the CPU 20 calculates the current consumption.
First, when the terminal evaluator starts the operation content determination program and the specific target application (S11), the execution unit 201 executes the specific target application (S12).

実行部201が特定対象アプリを実行している間、動作状態特定部202は、各構成要素の動作状態を特定する(S13)。続いて、算出部203は、動作状態特定部202が特定した各構成要素の動作状態に基づいて、動作している構成要素の要素別消費電流を合算することにより消費電流を算出する(S14)。   While the execution unit 201 is executing the identification target application, the operation state identification unit 202 identifies the operation state of each component (S13). Subsequently, the calculation unit 203 calculates the consumption current by adding the element-specific consumption currents of the operating components based on the operation states of the respective components specified by the operation state specifying unit 202 (S14). .

続いて、算出部203は、算出した消費電流から、携帯端末1が動作内容決定プログラムを実行することにより動作状態特定部202又は算出部203が消費する電流を減算することにより消費電流を補正する(S15)。続いて、算出部203は、算出した消費電流の移動平均値を算出することにより、消費電流の変化を平滑化する(S16)。   Subsequently, the calculation unit 203 corrects the current consumption by subtracting the current consumed by the operation state specifying unit 202 or the calculation unit 203 when the mobile terminal 1 executes the operation content determination program from the calculated current consumption. (S15). Subsequently, the calculation unit 203 smoothes the change in the consumption current by calculating the moving average value of the calculated consumption current (S16).

続いて、算出部203は、平滑化した消費電流値が、所定の消費電流範囲のどこに含まれるかに基づいて消費電流を分類し(S17)、消費電流が変化するタイミングを特定する(S18)。そして、出力部205が、経過時間と消費電流との関係を示す情報を出力する(S19)。   Subsequently, the calculation unit 203 classifies the consumption current based on where the smoothed consumption current value is included in the predetermined consumption current range (S17), and specifies the timing at which the consumption current changes (S18). . Then, the output unit 205 outputs information indicating the relationship between elapsed time and current consumption (S19).

[変形例]
上記の説明においては、分類部204が、消費電流の平均値に基づいて、携帯端末1の動作内容の変化タイミングを特定する例について説明したが、動作内容の変化タイミングを特定する方法は、これに限らない。分類部204は、動作状態特定部202により動作中であると特定された複数の構成要素の組み合わせに基づいて、動作内容の変化タイミングを特定してもよい。
[Modification]
In the above description, the example in which the classification unit 204 specifies the change timing of the operation content of the mobile terminal 1 based on the average value of the current consumption has been described. Not limited to. The classification unit 204 may specify the change timing of the operation content based on a combination of a plurality of constituent elements specified as being operated by the operation state specifying unit 202.

分類部204は、例えば、直近の過去の所定の期間ごとに、各構成要素が動作した実動作時間を特定し、特定した実動作時間の長さの組み合わせに基づいて、動作内容の変化タイミングを特定する。動作内容ごとに、複数の構成要素の実動作時間の組み合わせは異なることから、分類部204は、複数の構成要素の実動作時間の組み合わせにより、動作内容の変化タイミングを特定することができる。このように複数の構成要素の組み合わせを用いることで、分類部204は、例えば、図5(b)に示したC1、C2、C3のように、消費電流の平均値が同じ電流範囲に含まれていても、動作内容の変化タイミングを特定することが可能になる。   For example, the classifying unit 204 identifies the actual operation time during which each component operates for the most recent past predetermined period, and determines the change timing of the operation content based on the combination of the lengths of the identified actual operation time. Identify. Since the combinations of the actual operation times of the plurality of components are different for each operation content, the classification unit 204 can specify the change timing of the operation content based on the combination of the actual operation times of the plurality of components. By using a combination of a plurality of components in this way, the classification unit 204 includes the average value of current consumption in the same current range, for example, C1, C2, and C3 shown in FIG. 5B. Even if it is, it becomes possible to specify the change timing of operation | movement content.

出力部205は、経過時間に関連付けて、動作状態特定部202が動作中であると特定した複数の構成要素の組み合わせを示す情報を出力する。このようにすることで、端末評価者は、測定した携帯端末1における消費電流が同一であっても内部動作が大きく変化したタイミングを特定できるので、利用モデルを用いて他の種類の携帯端末の消費電流を算出する際の精度を向上させることができる。   The output unit 205 outputs information indicating a combination of a plurality of components that the operation state specifying unit 202 specifies as operating in association with the elapsed time. By doing in this way, since the terminal evaluator can specify the timing at which the internal operation has greatly changed even if the measured current consumption in the mobile terminal 1 is the same, other types of mobile terminals can be used using the usage model. The accuracy when calculating the current consumption can be improved.

[本実施形態の携帯端末1による効果]
以上説明したように、携帯端末1においては、算出部203が、実行部201がアプリケーションプログラムを実行している間における複数の構成要素それぞれの動作状態と要素別消費電流とに基づいて携帯端末1の全体の消費電流を算出し、分類部204が、算出した消費電流を複数の電流範囲のいずれかに分類する。そして、出力部205が、分類部204が分類した消費電流を、経過時間に関連付けて出力する。このようにすることで、端末評価者が、携帯端末1の内部で、消費電流が異なるどのような動作が行われているかを把握することができるので、消費電力の算出に用いる利用モデルの精度を向上させることが可能になる。
[Effects of the mobile terminal 1 of the present embodiment]
As described above, in the mobile terminal 1, the calculation unit 203 is based on the operation state of each of the plurality of components and the current consumption by element while the execution unit 201 executes the application program. The classifying unit 204 classifies the calculated current consumption into one of a plurality of current ranges. Then, the output unit 205 outputs the current consumption classified by the classification unit 204 in association with the elapsed time. By doing in this way, since the terminal evaluator can grasp what operation with different current consumption is being performed inside the mobile terminal 1, the accuracy of the usage model used for calculating the power consumption It becomes possible to improve.

また、算出部203は消費電流の平均値を算出し、分類部204は平均値に基づいて消費電流を分類し、出力部205は平均値及び平均値の変化タイミングを経過時間に関連付けて出力する。このようにすることで、消費電流の短時間の変動の影響を受けないので、端末評価者は、消費電流に影響を与える動作内容が変化するタイミングを的確に把握しやすくなる。   The calculation unit 203 calculates an average value of current consumption, the classification unit 204 classifies the current consumption based on the average value, and the output unit 205 outputs the average value and the change timing of the average value in association with the elapsed time. . By doing in this way, since it is not influenced by the short-time fluctuation | variation of consumption current, it becomes easy for a terminal evaluator to grasp | ascertain correctly the timing at which the operation content which affects consumption current changes.

また、分類部204は、動作中の複数の構成要素の組み合わせに基づいて変化タイミングを特定することもできる。このようにすることで、端末評価者は、測定した携帯端末1における消費電流が同一であっても内部動作が大きく変化したタイミングを特定できるので、利用モデルを用いて他の種類の携帯端末の消費電流を算出する際の精度を向上させることができる。   The classification unit 204 can also specify the change timing based on a combination of a plurality of components in operation. By doing in this way, since the terminal evaluator can specify the timing at which the internal operation has greatly changed even if the measured current consumption in the mobile terminal 1 is the same, other types of mobile terminals can be used using the usage model. The accuracy when calculating the current consumption can be improved.

また、算出部203は、携帯端末1が動作内容決定プログラムを実行することにより消費される電流を、動作状態と要素別消費電流とに基づいて算出される消費電流から減算することにより、携帯端末1の全体の消費電流を算出するので、動作内容決定プログラムを実行することによる消費電流への影響が生じることを抑制できる。   Further, the calculation unit 203 subtracts the current consumed when the portable terminal 1 executes the operation content determination program from the consumed current calculated based on the operation state and the element-based consumption current, thereby obtaining the portable terminal. Since the entire current consumption of 1 is calculated, it is possible to suppress the influence on the current consumption caused by executing the operation content determination program.

以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されない。上記実施の形態に、多様な変更又は改良を加えることが可能であることが当業者に明らかである。特に、装置の分散・統合の具体的な実施形態は以上に図示するものに限られず、その全部又は一部について、種々の付加等に応じて、又は、機能負荷に応じて、任意の単位で機能的又は物理的に分散・統合して構成することができる。   As mentioned above, although this invention was demonstrated using embodiment, the technical scope of this invention is not limited to the range as described in the said embodiment. It will be apparent to those skilled in the art that various modifications or improvements can be added to the above embodiment. In particular, the specific embodiments of the distribution / integration of the devices are not limited to those illustrated above, and all or a part thereof may be added in arbitrary units according to various additions or according to functional loads. It can be configured functionally or physically distributed and integrated.

例えば、上記の説明においては、電子機器が電池を有する携帯端末を例示したが、電子機器は携帯端末に限らない。本発明は任意の電子機器に適用することが可能であり、電池を有していない家電機器等における消費電流を算出する際にも有効である。   For example, in the above description, a mobile terminal in which the electronic device has a battery is illustrated, but the electronic device is not limited to the mobile terminal. The present invention can be applied to any electronic device, and is also effective when calculating current consumption in home appliances and the like that do not have a battery.

1 携帯端末
11 電池
12 ディスプレイ
13 タッチパネル
14 通信ユニット
15 センサ
16 カメラ
17 GPU
18 ROM
19 RAM
20 CPU
201 実行部
202 動作状態特定部
203 算出部
204 分類部
205 出力部
1 mobile terminal 11 battery 12 display 13 touch panel 14 communication unit 15 sensor 16 camera 17 GPU
18 ROM
19 RAM
20 CPU
201 execution unit 202 operation state specifying unit 203 calculation unit 204 classification unit 205 output unit

Claims (10)

電流を消費する複数の構成要素を有する電子機器であって、
前記複数の構成要素のそれぞれが動作した場合の消費電流である要素別消費電流を、前記複数の構成要素のそれぞれに関連付けて記憶する記憶部と、
アプリケーションプログラムを実行する実行部と、
前記実行部が前記アプリケーションプログラムを実行している間における前記複数の構成要素それぞれの動作状態を特定する動作状態特定部と、
前記実行部が前記アプリケーションプログラムを実行中の経過時間に関連付けて、前記動作状態と前記要素別消費電流とに基づいて、前記電子機器の全体の消費電流を算出する算出部と、
前記算出部が算出した前記消費電流を複数の電流範囲のいずれかに分類する分類部と、
前記分類部が分類した前記消費電流を前記経過時間に関連付けて出力する出力部と、
を有する電子機器。
An electronic device having a plurality of components that consume current,
A storage unit that stores current consumption by element, which is current consumption when each of the plurality of components operates, in association with each of the plurality of components;
An execution unit for executing an application program;
An operation state specifying unit for specifying an operation state of each of the plurality of components while the execution unit is executing the application program;
A calculation unit that calculates an overall current consumption of the electronic device based on the operation state and the current consumption by element in association with an elapsed time during which the execution unit is executing the application program;
A classification unit that classifies the consumption current calculated by the calculation unit into any of a plurality of current ranges;
An output unit that outputs the current consumption classified by the classification unit in association with the elapsed time;
Electronic equipment having
前記出力部は、平滑化処理された前記消費電流の変化特性を示す情報を前記経過時間に関連付けて出力する、
請求項1に記載の電子機器。
The output unit outputs information indicating a change characteristic of the consumption current that has been smoothed in association with the elapsed time;
The electronic device according to claim 1.
前記分類部は、所定の時間ごとに算出された前記消費電流の平均値が変化したタイミングに基づいて、前記電子機器の動作内容が変化した第1変化タイミングを特定し、
前記出力部は、前記分類部が特定した前記第1変化タイミングを出力する、
請求項2に記載の電子機器。
The classifying unit identifies a first change timing at which the operation content of the electronic device has changed based on a timing at which an average value of the current consumption calculated every predetermined time has changed,
The output unit outputs the first change timing specified by the classification unit;
The electronic device according to claim 2.
前記出力部は、前記経過時間に関連付けて前記平均値を出力する、
請求項2又は3に記載の電子機器。
The output unit outputs the average value in association with the elapsed time;
The electronic device according to claim 2 or 3.
前記出力部は、前記経過時間に関連付けて、前記複数の電流範囲のうち前記消費電流が分類された電流範囲を示す情報を出力する、
請求項1から4のいずれか1項に記載の電子機器。
The output unit outputs information indicating a current range in which the consumption current is classified among the plurality of current ranges in association with the elapsed time.
The electronic device of any one of Claim 1 to 4.
前記分類部は、前記動作状態特定部により動作中であると特定された前記複数の構成要素の組み合わせに基づいて、動作内容が変化した第2変化タイミングを特定し、
前記出力部は、前記分類部が特定した前記第2変化タイミングを出力する、
請求項1から5のいずれか1項に記載の電子機器。
The classification unit specifies a second change timing at which the operation content has changed based on a combination of the plurality of constituent elements specified to be operating by the operation state specifying unit,
The output unit outputs the second change timing specified by the classification unit;
The electronic device according to claim 1.
前記出力部は、前記経過時間に関連付けて、前記動作状態特定部が動作中であると特定した前記複数の構成要素の組み合わせを示す情報を出力する、
請求項6に記載の電子機器。
The output unit outputs information indicating a combination of the plurality of components identified as being operated by the operation state specifying unit in association with the elapsed time.
The electronic device according to claim 6.
前記算出部は、前記動作状態特定部又は前記算出部が消費する電流値を、前記動作状態特定部が特定した前記動作状態と前記要素別消費電流とに基づいて算出される消費電流から減算することにより、前記電子機器の全体の消費電流を算出する、
請求項1から7のいずれか1項に記載の電子機器。
The calculation unit subtracts a current value consumed by the operation state specifying unit or the calculation unit from a consumption current calculated based on the operation state specified by the operation state specifying unit and the element-specific consumption current. By calculating the current consumption of the electronic device as a whole,
The electronic device of any one of Claim 1 to 7.
電流を消費する複数の構成要素を有する電子機器が実行する、
アプリケーションプログラムを実行している間における、前記電子機器における電流を消費する複数の構成要素それぞれの動作状態を特定するステップと、
前記アプリケーションプログラムを実行中の経過時間に関連付けて、前記動作状態と前記複数の構成要素のそれぞれが動作した場合の消費電流である要素別消費電流とに基づいて算出された前記電子機器の全体の消費電流を算出するステップと、
算出した前記消費電流を複数の電流範囲のいずれかに分類するステップと、
分類した前記消費電流を前記経過時間に関連付けて出力するステップと、
を有する電子機器の動作の特定方法。
Executed by an electronic device having a plurality of components that consume current;
Identifying an operating state of each of a plurality of components that consume current in the electronic device while executing an application program; and
In association with the elapsed time during execution of the application program, the entire electronic device is calculated based on the operating state and the current consumption by element that is the current consumption when each of the plurality of components operates. Calculating current consumption;
Classifying the calculated current consumption into one of a plurality of current ranges;
Outputting the classified current consumption in association with the elapsed time;
A method for specifying the operation of an electronic device having
コンピュータに、
他のアプリケーションプログラムを実行している間における、電子機器における電流を消費する複数の構成要素それぞれの動作状態を特定するステップと、
前記アプリケーションプログラムを実行中の経過時間に関連付けて、前記動作状態と前記複数の構成要素のそれぞれが動作した場合の消費電流である要素別消費電流とに基づいて算出された前記電子機器の全体の消費電流を算出するステップと、
算出した前記消費電流を複数の電流範囲のいずれかに分類するステップと、
分類した前記消費電流を前記経過時間に関連付けて出力するステップと、
を実行させるプログラム。
On the computer,
Identifying the operating state of each of the plurality of components that consume current in the electronic device while executing other application programs;
In association with the elapsed time during execution of the application program, the entire electronic device is calculated based on the operating state and the current consumption by element that is the current consumption when each of the plurality of components operates. Calculating current consumption;
Classifying the calculated current consumption into one of a plurality of current ranges;
Outputting the classified current consumption in association with the elapsed time;
A program that executes
JP2016056745A 2016-03-22 2016-03-22 Electronic device, method of specifying operation of electronic device, and program Expired - Fee Related JP6518614B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016056745A JP6518614B2 (en) 2016-03-22 2016-03-22 Electronic device, method of specifying operation of electronic device, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016056745A JP6518614B2 (en) 2016-03-22 2016-03-22 Electronic device, method of specifying operation of electronic device, and program

Publications (2)

Publication Number Publication Date
JP2017173961A true JP2017173961A (en) 2017-09-28
JP6518614B2 JP6518614B2 (en) 2019-05-22

Family

ID=59973097

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016056745A Expired - Fee Related JP6518614B2 (en) 2016-03-22 2016-03-22 Electronic device, method of specifying operation of electronic device, and program

Country Status (1)

Country Link
JP (1) JP6518614B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012068803A (en) * 2010-09-22 2012-04-05 Nec Personal Computers Ltd Power consumption estimation system, information processing apparatus, power consumption estimation method, and program
JP2015207128A (en) * 2014-04-18 2015-11-19 富士通株式会社 Device
JP2017532640A (en) * 2014-08-22 2017-11-02 セインチップス テクノロジー カンパニーリミテッド Electric quantity detection method and apparatus, terminal and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012068803A (en) * 2010-09-22 2012-04-05 Nec Personal Computers Ltd Power consumption estimation system, information processing apparatus, power consumption estimation method, and program
JP2015207128A (en) * 2014-04-18 2015-11-19 富士通株式会社 Device
JP2017532640A (en) * 2014-08-22 2017-11-02 セインチップス テクノロジー カンパニーリミテッド Electric quantity detection method and apparatus, terminal and storage medium

Also Published As

Publication number Publication date
JP6518614B2 (en) 2019-05-22

Similar Documents

Publication Publication Date Title
US10587135B2 (en) Adaptive battery charging
EP2682715B1 (en) Portable electronic device
KR101477179B1 (en) Method And Mobile Terminal For Determining and Displaying Power Efficiency of Application
CN106772091B (en) Method and device for updating battery capacity value and terminal
US8041521B2 (en) Estimating power consumption of computing components configured in a computing system
US9366584B2 (en) Portable electronic device
CN107608863B (en) Calibration method for electric quantity display and mobile terminal
US8990038B2 (en) Method and apparatus for monitoring battery life
US20150316618A1 (en) Methods and apparatus for battery power and energy availability prediction
CN105759209A (en) battery electric quantity estimation method and device
JP2022514992A (en) Battery diagnostic system, battery diagnostic method, and storage medium
CN107302633B (en) Application control method, device, storage medium and electronic equipment
JP2013120067A (en) Power consumption display apparatus and power consumption display method
JP6641042B2 (en) Electronic device, calculation method and program
JP6518614B2 (en) Electronic device, method of specifying operation of electronic device, and program
JP6821783B2 (en) Information processing equipment, information processing methods, and programs
JP6486295B2 (en) Electronic device, current consumption calculation method and program
JP6770632B2 (en) Electronic devices, calculation methods and programs
US20190050035A1 (en) In-system power usage measurement
CN112924875B (en) Battery detection method and device and electronic equipment
CN110994052B (en) Method and device for prolonging battery endurance, storage medium and terminal equipment
CN113612882A (en) Screen brightness adjusting method and device, storage medium and terminal
US9594124B2 (en) Battery charge meter testing
CN107479666B (en) Terminal device, temperature rise control method, control device, and storage medium
CN107295175A (en) A kind of display control method, device, storage medium and the mobile terminal of mobile terminal electricity

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180315

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190122

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190219

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190416

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190422

R150 Certificate of patent or registration of utility model

Ref document number: 6518614

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees