JP2016010135A - Portable terminal device - Google Patents

Portable terminal device Download PDF

Info

Publication number
JP2016010135A
JP2016010135A JP2014131658A JP2014131658A JP2016010135A JP 2016010135 A JP2016010135 A JP 2016010135A JP 2014131658 A JP2014131658 A JP 2014131658A JP 2014131658 A JP2014131658 A JP 2014131658A JP 2016010135 A JP2016010135 A JP 2016010135A
Authority
JP
Japan
Prior art keywords
action plan
time
secondary battery
terminal device
expected
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
JP2014131658A
Other languages
Japanese (ja)
Other versions
JP6376860B2 (en
Inventor
義典 松島
Yoshinori Matsushima
義典 松島
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2014131658A priority Critical patent/JP6376860B2/en
Publication of JP2016010135A publication Critical patent/JP2016010135A/en
Application granted granted Critical
Publication of JP6376860B2 publication Critical patent/JP6376860B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a portable terminal device for preventing the run-out of a second battery at timing not intended by a user.SOLUTION: Processing to be executed by a CPU of a portable terminal device includes: a step for obtaining an action plan (future action plan) to be performed within a predetermined time from a present time from schedule information (S514); a step for obtaining an action plan being the same as the future action plan among the past action plans included in history information and obtaining a battery consumption amount associated with the obtained past action plan as a prediction consumption amount from the history information (S516); a step for calculating a prediction charging time to be required to charge a second battery to satisfy the prediction consumption amount (S550); and a step for displaying the prediction charging time on a monitor (S552).

Description

本開示は、携帯端末装置の制御に関し、特に、二次電池を有する携帯端末装置の制御に関する。   The present disclosure relates to control of a mobile terminal device, and more particularly, to control of a mobile terminal device having a secondary battery.

近年、二次電池を有するスマートフォンなどの携帯端末装置が普及している。このような携帯端末装置の普及に伴い、携帯端末装置のユーザに二次電池の充電を適切なタイミングで促すための技術が開発されている。たとえば、特許文献1は、二次電池の充電量が少なくなった場合に、最適なタイミングで二次電池の充電を促すことができる情報表示装置を開示している。   In recent years, portable terminal devices such as smartphones having secondary batteries have become widespread. With such widespread use of mobile terminal devices, a technology has been developed for prompting the user of the mobile terminal device to charge the secondary battery at an appropriate timing. For example, Patent Document 1 discloses an information display device that can prompt charging of a secondary battery at an optimal timing when the amount of charge of the secondary battery decreases.

特開2011−34363号公報JP 2011-34363 A

特許文献1に開示される情報表示装置は、ユーザが電源をオフしたタイミングで、二次電池の残量を検出し、二次電池の残量が所定の閾値以下であれば、ユーザに充電を促すための報知を行なう。すなわち、当該情報表示装置は、電源をオフしたタイミングでユーザに充電を促すが、電源をオフしない場合には、ユーザに充電を促さない。ユーザが電源をオフしない場合には、ユーザが充電を忘れる可能性があるため、ユーザの意図しないタイミングで二次電池が切れる可能性がある。   The information display device disclosed in Patent Document 1 detects the remaining amount of the secondary battery at the timing when the user turns off the power, and charges the user if the remaining amount of the secondary battery is equal to or less than a predetermined threshold. Informs to prompt. That is, the information display device prompts the user to charge at the timing when the power is turned off, but does not prompt the user to charge when the power is not turned off. When the user does not turn off the power, the user may forget to charge the battery, and therefore, the secondary battery may run out at a timing not intended by the user.

本開示は上述のような問題点を解決するためになされたものであって、その目的は、ユーザの意図しないタイミングで二次電池が切れることを防ぐことが可能な携帯端末装置を提供することである。   The present disclosure has been made to solve the above-described problems, and an object of the present disclosure is to provide a mobile terminal device capable of preventing the secondary battery from running out at a timing not intended by the user. It is.

一実施の形態に従うと、携帯端末装置は、二次電池と、実行が予定されている第1の行動計画と、当該第1の行動計画が実行される予定の時間と、過去に実行された第2の行動計画と、当該第2の行動計画が予定されていた時間に実際に消費された二次電池の電力消費量とを格納するための記憶部と、現在時刻から予め定められた時間以内に第1の行動計画が実行される場合において、第1の行動計画と第2の行動計画とが同一であるときに、第1の行動計画の実行時に消費される二次電池の予想消費量を、第2の行動計画に関連付けられている電力消費量として特定するための特定部と、二次電池の電池残量を検出するための検出部と、電池残量が予想消費量よりも少ない場合に、予想消費量に足りるまで二次電池を充電するのに要する予想充電時間を算出するための算出部と、予想充電時間を出力するための出力部とを備える。   According to one embodiment, the mobile terminal device has been executed in the past with a secondary battery, a first action plan that is scheduled to be executed, a time when the first action plan is scheduled to be executed, A storage unit for storing the second action plan and the power consumption of the secondary battery actually consumed at the time when the second action plan was scheduled, and a predetermined time from the current time In the case where the first action plan is executed within the period, when the first action plan and the second action plan are the same, the expected consumption of the secondary battery consumed when the first action plan is executed A specifying unit for specifying the amount as the power consumption associated with the second action plan, a detecting unit for detecting the remaining battery level of the secondary battery, and the remaining battery level is less than the expected consumption If it is low, it is necessary to charge the secondary battery until the expected consumption is sufficient. Comprising a calculation unit for calculating a charging time, and an output unit for outputting the estimated charge time.

ある局面において、ユーザの意図しないタイミングで二次電池が切れることを防ぐことができる。   In one aspect, the secondary battery can be prevented from running out at a timing not intended by the user.

本発明の上記および他の目的、特徴、局面および利点は、添付の図面と関連して理解される本発明に関する次の詳細な説明から明らかとなるであろう。   The above and other objects, features, aspects and advantages of the present invention will become apparent from the following detailed description of the present invention taken in conjunction with the accompanying drawings.

本実施の形態に従うスマートフォンに格納されているテーブルのデータ構造と、本実施の形態に従うスマートフォンの画面態様の一例とを示す図である。It is a figure which shows the data structure of the table stored in the smart phone according to this Embodiment, and an example of the screen aspect of the smart phone according to this Embodiment. 本実施の形態に従うスマートフォンの主要なハードウェア構成を示すブロック図である。It is a block diagram which shows the main hardware constitutions of the smart phone according to this Embodiment. 本実施の形態に従うスマートフォンの機能構成の一例を示すブロック図である。It is a block diagram which shows an example of a function structure of the smart phone according to this Embodiment. スケジュール情報のデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of schedule information. 本実施の形態に従う処理の設定画面の一例を示す図である。It is a figure which shows an example of the setting screen of the process according to this Embodiment. 本実施の形態に従うスマートフォンの画面遷移の一例を示す図である。It is a figure which shows an example of the screen transition of the smart phone according to this Embodiment. 本実施の形態に従うスマートフォンが実行する処理の一部を表わすフローチャートである。It is a flowchart showing a part of process which the smart phone according to this Embodiment performs.

以下、図面を参照しつつ、本実施の形態について説明する。以下の説明では、同一の部品および構成要素には同一の符号を付してある。それらの名称および機能も同じである。したがって、これらについての詳細な説明は繰り返さない。   Hereinafter, the present embodiment will be described with reference to the drawings. In the following description, the same parts and components are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed description thereof will not be repeated.

なお、以下では、携帯端末装置の一例であるスマートフォンの詳細について説明するが、携帯端末装置は、スマートフォンに限定されるものではない。たとえば、携帯端末装置は、タブレット端末、デジタルカメラ、電子辞書、PDA(Personal Digital Assistant)、ゲーム機、掃除機、その他の電子機器なども含み得る。   In addition, below, although the detail of the smart phone which is an example of a portable terminal device is demonstrated, a portable terminal device is not limited to a smart phone. For example, the mobile terminal device may include a tablet terminal, a digital camera, an electronic dictionary, a PDA (Personal Digital Assistant), a game machine, a vacuum cleaner, and other electronic devices.

[概要]
図1を参照して、第1の実施の形態に従うスマートフォン100の概要について説明する。図1は、スマートフォン100に格納されているテーブル22のデータ構造(図1(A)と、スマートフォン100の画面態様の一例(図1(B))とを示す図である。
[Overview]
With reference to FIG. 1, the outline | summary of the smart phone 100 according to 1st Embodiment is demonstrated. FIG. 1 is a diagram illustrating a data structure of the table 22 stored in the smartphone 100 (FIG. 1A) and an example of a screen form of the smartphone 100 (FIG. 1B).

スマートフォン100の消費電力量は、ユーザによるスマートフォン100の使用態様によって変わる。スマートフォン100の使用態様は、ユーザの行動計画に関連するものである。このことに着目して、スマートフォン100は、現在時刻から予め定められた時間以内(たとえば、24時間)に実行が予定されている行動計画において消費される二次電池4A(図2参照)の予想消費量を、過去の行動計画で実際に消費された二次電池4Aの電池消費量を用いて推定する。   The power consumption of the smartphone 100 varies depending on how the smartphone 100 is used by the user. The usage mode of the smartphone 100 is related to the user's action plan. Focusing on this, the smartphone 100 predicts the secondary battery 4A (see FIG. 2) consumed in the action plan scheduled to be executed within a predetermined time (for example, 24 hours) from the current time. The consumption amount is estimated using the battery consumption amount of the secondary battery 4A actually consumed in the past action plan.

以下では、説明を簡単にするために、現在時刻よりも前に計画された過去の行動計画を「過去行動計画」とも称する。また、現在時刻から予め定められた時間以内(たとえば、24時間)に実行が予定されている未来の行動計画を「未来行動計画」とも称する。   Hereinafter, in order to simplify the description, a past action plan planned before the current time is also referred to as a “past action plan”. A future action plan scheduled to be executed within a predetermined time (for example, 24 hours) from the current time is also referred to as a “future action plan”.

スマートフォン100は、未来行動計画を実行する時の二次電池4Aの予想消費量を推定するために、過去行動計画の実行時に実際に消費された二次電池4Aの電力消費量をテーブル22に含まれる履歴情報23(図1(A)参照)に格納する。以下では、まず、スマートフォン100が履歴情報23を生成する方法について説明する。次に、スマートフォン100が未来行動計画を実行する時の予想消費量を特定する方法について説明する。   The smartphone 100 includes the power consumption of the secondary battery 4A actually consumed when executing the past action plan in the table 22 in order to estimate the expected consumption of the secondary battery 4A when executing the future action plan. Stored in the history information 23 (see FIG. 1A). Hereinafter, first, a method in which the smartphone 100 generates the history information 23 will be described. Next, a method for specifying the expected consumption when the smartphone 100 executes the future action plan will be described.

(履歴情報23の生成方法)
スマートフォン100は、二次電池4Aと、モニタ5と、後述の記憶装置20とを含む。二次電池4Aからスマートフォン100のハードウェアに電力が供給されることで、スマートフォン100は、自機の各種機能を動作させる。
(Generation method of history information 23)
Smartphone 100 includes a secondary battery 4 </ b> A, a monitor 5, and a storage device 20 described later. By supplying power from the secondary battery 4A to the hardware of the smartphone 100, the smartphone 100 operates various functions of the own device.

記憶装置20には、スマートフォン100のユーザの生活習慣を反映したテーブル22が格納される。テーブル22は、履歴情報23を含む。履歴情報23には、日時23Aと、行動計画23Bと、電池消費量23Cとが互いに関連付けられている。日時23Aには、過去行動計画が実行された時間が規定される。行動計画23Bには、過去行動計画の種類が規定される。電池消費量23Cには、過去行動計画が実行された時に実際に消費された二次電池4Aの電力消費量が規定される。電力消費量は、たとえば、過去行動計画の開始時刻の二次電池4Aの電池残量と、過去行動計画の終了時刻の二次電池4Aの電池残量との差によって示される。あるいは、電力消費量は、行動計画の開始時刻と終了時刻との間に消費された電力量(すなわち、mAh)として示される。   The storage device 20 stores a table 22 that reflects the lifestyle of the user of the smartphone 100. The table 22 includes history information 23. In the history information 23, the date 23A, the action plan 23B, and the battery consumption 23C are associated with each other. The date and time 23A defines the time when the past action plan was executed. The action plan 23B defines the type of past action plan. The battery consumption amount 23C defines the power consumption amount of the secondary battery 4A that is actually consumed when the past action plan is executed. The power consumption is indicated, for example, by the difference between the remaining battery level of the secondary battery 4A at the start time of the past action plan and the remaining battery level of the secondary battery 4A at the end time of the past action plan. Alternatively, the power consumption is indicated as the amount of power consumed between the start time and the end time of the action plan (that is, mAh).

より具体的な例として、図1(A)に示されるように、行動計画「スポーツ」が2014年4月27日に予定されており、その時の電池消費量が1200mAhであったとする。このとき、スマートフォン100は、日時「2014年4月27日」と、行動計画「スポーツ」と、電池消費量「1200mAh」とを互いに関連付けて履歴情報23に記録する。このように、スマートフォン100は、行動計画が実行された時に実際に消費された電池消費量を履歴情報23に記録していく。これにより、過去行動計画ごとの電力消費量を示した履歴情報23が生成される。   As a more specific example, as shown in FIG. 1A, it is assumed that the action plan “Sports” is scheduled for April 27, 2014, and the battery consumption at that time is 1200 mAh. At this time, the smartphone 100 records the date and time “April 27, 2014”, the action plan “Sports”, and the battery consumption “1200 mAh” in association with each other and recorded in the history information 23. In this way, the smartphone 100 records the battery consumption actually consumed when the action plan is executed in the history information 23. Thereby, the history information 23 indicating the power consumption for each past action plan is generated.

(予想消費量の特定方法)
次に、スマートフォン100が、未来行動計画の実行時に消費される二次電池4Aの予想消費量を、過去行動計画の実行時に実際に消費された電池消費量を用いて特定する方法について説明する。
(Identification method of expected consumption)
Next, a method will be described in which the smartphone 100 specifies the expected consumption amount of the secondary battery 4A consumed when the future action plan is executed using the battery consumption amount actually consumed when the past action plan is executed.

スマートフォン100は、履歴情報23に含まれる過去行動計画(すなわち、行動計画23B)から、未来行動計画と同一の行動計画を選択する。スマートフォン100は、選択した過去行動計画に関連付けられている電池消費量23Cを用いて、未来行動計画で消費される予想消費量を特定する。   The smartphone 100 selects the same action plan as the future action plan from the past action plans included in the history information 23 (that is, the action plan 23B). The smartphone 100 identifies the expected consumption consumed in the future action plan using the battery consumption 23C associated with the selected past action plan.

未来行動計画に対応する過去行動計画が1つの場合には、スマートフォン100は、この1つの過去行動計画に関連付けられている電池消費量を未来行動計画が実行された時に消費される予想消費量とする。一例として、行動計画「スポーツ」が未来行動計画として予定されていたとする。この場合、スマートフォン100は、未来行動計画「スポーツ」と同一の行動計画を、過去行動計画から選択する。図2(A)の例では、スマートフォン100は、2014年4月27日の過去行動計画「スポーツ」を選択する。スマートフォン100は、選択した過去行動計画「スポーツ」に関連付けられている電池消費量(すなわち、1200mAh)を未来行動計画「スポーツ」の予想消費量として特定する。   When there is one past action plan corresponding to the future action plan, the smartphone 100 calculates the battery consumption associated with the one past action plan as the expected consumption consumed when the future action plan is executed. To do. As an example, it is assumed that the action plan “sports” is scheduled as a future action plan. In this case, the smartphone 100 selects the same action plan as the future action plan “sports” from the past action plan. In the example of FIG. 2A, the smartphone 100 selects the past action plan “Sports” on April 27, 2014. The smartphone 100 specifies the battery consumption (that is, 1200 mAh) associated with the selected past action plan “sports” as the predicted consumption amount of the future action plan “sports”.

未来行動計画に対応する過去行動計画が2つ以上ある場合には、スマートフォン100は、これら2つ以上の過去行動計画のそれぞれに関連付けられている電池消費量のそれぞれを用いて、未来行動計画を実行する時の予想消費量を特定する。一例として、行動計画「出勤」が未来行動計画として予定されていたとする。この場合、スマートフォン100は、未来行動計画「出勤」と同一の行動計画を、過去行動計画から選択する。図2(A)の例では、スマートフォン100は、2014年4月28日の過去行動計画「出勤」と、2014年4月30日の過去行動計画「出勤」とを選択する。スマートフォン100は、選択した過去行動計画「出勤」に関連付けられている電池消費量(すなわち、1400mAhおよび1200mAh)を平均した1300mAhを未来行動計画「出勤」の予想消費量として特定する。   When there are two or more past action plans corresponding to the future action plan, the smartphone 100 uses each of the battery consumption amounts associated with each of the two or more past action plans to execute the future action plan. Identify the expected consumption when running. As an example, assume that the action plan “attendance” is scheduled as a future action plan. In this case, the smartphone 100 selects the same action plan as the future action plan “attendance” from the past action plan. In the example of FIG. 2A, the smartphone 100 selects the past action plan “Attendance” on April 28, 2014 and the past action plan “Attendance” on April 30, 2014. The smartphone 100 specifies 1300 mAh, which is an average of the battery consumption amounts (ie, 1400 mAh and 1200 mAh) associated with the selected past action plan “attendance”, as the expected consumption amount of the future action plan “attendance”.

予想消費量が特定されると、スマートフォン100は、未来行動計画が実行される間に二次電池4Aが切れないか否かを判断する。より具体的には、二次電池4Aの現在の電池残量が予想消費量よりも少ない場合に、スマートフォン100は、未来行動計画が実行される間に二次電池4Aが切れると判断する。この場合、スマートフォン100は、予想消費量に足りるまでに二次電池4Aを充電するのに要する時間(以下、「予想充電時間」とも称する。)を算出する。予想充電時間は、たとえば、予想消費量を、二次電池に流れる電流の電流値で割ることにより算出される。スマートフォン100は、図1(B)に示されるように、算出した予想充電時間をモニタ5に表示する。   When the expected consumption is specified, the smartphone 100 determines whether or not the secondary battery 4A is not exhausted while the future action plan is executed. More specifically, when the current battery remaining amount of the secondary battery 4A is smaller than the expected consumption, the smartphone 100 determines that the secondary battery 4A is exhausted while the future action plan is executed. In this case, the smartphone 100 calculates the time required to charge the secondary battery 4A until the expected consumption is sufficient (hereinafter also referred to as “expected charging time”). The expected charging time is calculated, for example, by dividing the expected consumption by the current value of the current flowing through the secondary battery. The smartphone 100 displays the calculated expected charging time on the monitor 5 as shown in FIG.

このように、スマートフォン100は、未来行動計画が実行される時間において消費される予想消費量を、過去の行動計画で実際に消費された電池消費量から特定する。スマートフォン100は、ユーザのライフスタイルを考慮した予想消費量から予想充電時間を算出するため、ユーザの意図しないタイミングで、二次電池4Aが切れることを防げることができる。また、ユーザは、予想充電時間を確認することで、現在時刻から予め定められた時間以内に予定されている行動計画(すなわち、未来行動計画)を実行するために、二次電池4Aをどの程度充電しなければならないかを容易に把握できる。   As described above, the smartphone 100 identifies the expected consumption consumed at the time when the future action plan is executed from the battery consumption actually consumed in the past action plan. Since the smartphone 100 calculates the expected charging time from the expected consumption considering the user's lifestyle, the secondary battery 4A can be prevented from running out at a timing not intended by the user. In addition, the user confirms the expected charging time to determine how much the secondary battery 4A is used in order to execute an action plan scheduled within a predetermined time from the current time (that is, a future action plan). You can easily figure out if you have to charge.

なお、上記では、スマートフォン100が、過去の電池消費量23Cを平均して予想消費量を算出する例について説明を行なったが、スマートフォン100は、他の方法で予想消費量を算出してもよい。たとえば、スマートフォン100は、過去の電池消費量23Cの最大値、最小値、または中央値を行動計画の種類ごとに算出して予想消費量として採用してもよい。   In the above description, the smartphone 100 calculates the expected consumption by averaging the past battery consumption 23C. However, the smartphone 100 may calculate the estimated consumption by another method. . For example, the smartphone 100 may calculate the maximum value, the minimum value, or the median value of the past battery consumption 23C for each type of action plan and adopt it as the predicted consumption.

また、未来行動計画において消費される二次電池4Aの電力消費量は、テーブル22に予め算出されて格納されてもよい。図1(A)には、予想消費量24がテーブル22に予め算出されている例が示される。予想消費量24が予め算出されることにより、スマートフォン100は、予想消費量を毎回計算する必要がなくなる。また、未来行動計画に対応する過去行動計画が履歴情報23に存在しない場合には、スマートフォン100は、予想消費量24の「行動計画無し」に関連付けられている電池消費量を予想消費量とする。予想消費量24の「行動計画無し」に関連付けられる電池消費量は、ユーザによって設定されてもよいし、予め定められてもよいし、電池消費量23Cの平均として算出されてもよい。   The power consumption of the secondary battery 4A consumed in the future action plan may be calculated and stored in the table 22 in advance. FIG. 1A shows an example in which the predicted consumption amount 24 is calculated in advance in the table 22. By calculating the expected consumption 24 in advance, the smartphone 100 does not need to calculate the expected consumption every time. When the past action plan corresponding to the future action plan does not exist in the history information 23, the smartphone 100 sets the battery consumption associated with “no action plan” of the expected consumption 24 as the expected consumption. . The battery consumption associated with “no action plan” in the predicted consumption 24 may be set by the user, may be determined in advance, or may be calculated as an average of the battery consumption 23C.

さらに、スマートフォン100は、予め定められた時間ごと(たとえば、24時間ごと)に履歴情報23を参照して予想消費量24を更新するように構成されてもよい。あるいは、スマートフォン100は、履歴情報23が更新される度に予想消費量24を更新するように構成されてもよい。   Furthermore, the smartphone 100 may be configured to update the predicted consumption amount 24 with reference to the history information 23 at predetermined time intervals (for example, every 24 hours). Alternatively, the smartphone 100 may be configured to update the predicted consumption amount 24 every time the history information 23 is updated.

[ハードウェア構成]
図2を参照して、第1の実施の形態に従うスマートフォン100のハードウェア構成の一例について説明する。図2は、スマートフォン100の主要なハードウェア構成を示すブロック図である。図2に示されるように、スマートフォン100は、ROM(Read Only Memory)1と、CPU(Central Processing Unit)2と、RAM(Random Access Memory)3と、二次電池端子4と、モニタ5と、スピーカ6と、ケーブル端子7と、ネットワークI/F8と、記憶装置20とを含む。
[Hardware configuration]
With reference to FIG. 2, an example of a hardware configuration of smartphone 100 according to the first embodiment will be described. FIG. 2 is a block diagram illustrating a main hardware configuration of the smartphone 100. As shown in FIG. 2, the smartphone 100 includes a ROM (Read Only Memory) 1, a CPU (Central Processing Unit) 2, a RAM (Random Access Memory) 3, a secondary battery terminal 4, a monitor 5, A speaker 6, a cable terminal 7, a network I / F 8, and a storage device 20 are included.

ROM1は、オペレーティングシステム(OS:Operating System)、スマートフォン100の起動時に実行される初期プログラム(ブートプログラム)などを格納する。CPU2は、ROM1や記憶装置20などに格納された、オペレーティングシステムやスマートフォン100の制御プログラムなどの各種プログラムを実行することで、スマートフォン100の動作を制御する。RAM3は、CPU2でプログラムを実行するためのワーキングメモリとして機能し、プログラムの実行に必要な各種データを一時的に格納する。   The ROM 1 stores an operating system (OS), an initial program (boot program) executed when the smartphone 100 is activated, and the like. The CPU 2 controls the operation of the smartphone 100 by executing various programs such as an operating system and a control program for the smartphone 100 stored in the ROM 1 and the storage device 20. The RAM 3 functions as a working memory for executing the program by the CPU 2 and temporarily stores various data necessary for executing the program.

二次電池端子4は、二次電池4Aをスマートフォン100に電気的に接続するための端子である。二次電池4Aが二次電池端子4に接続されると、二次電池4Aから二次電池端子4を介してスマートフォン100のハードウェアに電力が供給される。なお、二次電池4Aは、外付けであってもよいし、スマートフォン100に内蔵されてもよい。   The secondary battery terminal 4 is a terminal for electrically connecting the secondary battery 4 </ b> A to the smartphone 100. When the secondary battery 4 </ b> A is connected to the secondary battery terminal 4, power is supplied from the secondary battery 4 </ b> A to the hardware of the smartphone 100 via the secondary battery terminal 4. The secondary battery 4 </ b> A may be externally attached or may be built in the smartphone 100.

モニタ5は、二次電池4Aの状態を示す情報を表示する。一例として、モニタ5は、上述の予想充電時間を表示する(図1(B)参照)。モニタ5は、充電が開始されてから、充電が完了するまでの残り時間を表示する。スピーカ6は、二次電池4Aの状態を示す情報を音声で出力する。一例として、スピーカ6は、予想充電時間や充電残り時間を音声で出力する。   The monitor 5 displays information indicating the state of the secondary battery 4A. As an example, the monitor 5 displays the above-described expected charging time (see FIG. 1B). The monitor 5 displays the remaining time from the start of charging until the charging is completed. The speaker 6 outputs information indicating the state of the secondary battery 4A by voice. As an example, the speaker 6 outputs the expected charging time and the remaining charging time by voice.

ケーブル端子7は、スマートフォン100を充電するための充電器と、その他の電力供給源との接続を可能にする。たとえば、充電器は、一次電池または二次電池を取り付け可能に構成される。これらの電力供給源がケーブル端子7に接続されると、スマートフォン100は、ケーブル端子7から供給される電力を二次電池4Aに蓄える。   The cable terminal 7 enables connection between a charger for charging the smartphone 100 and another power supply source. For example, the charger is configured to be able to attach a primary battery or a secondary battery. When these power supply sources are connected to the cable terminal 7, the smartphone 100 stores the power supplied from the cable terminal 7 in the secondary battery 4A.

ネットワークI/F8は、アンテナ8Aを介して、他の通信機器との間でデータを送受信する。他の通信機器は、たとえば、他のスマートフォン、パソコン、サーバ装置、その他の通信機器などである。スマートフォン100は、本実施の形態に従う各種の処理を実現するためのプログラムを他の通信機器からダウンロードできるように構成されてもよい。   The network I / F 8 transmits / receives data to / from other communication devices via the antenna 8A. Other communication devices are, for example, other smartphones, personal computers, server devices, and other communication devices. Smartphone 100 may be configured to download a program for realizing various processes according to the present embodiment from another communication device.

記憶装置20は、たとえば、eMMC(Embedded MultiMediaCard)などの記憶媒体を含む。eMMCは、NANDフラッシュメモリと、制御回路とを含む。記憶装置20は、本実施の形態に従う各種の処理を実現するためのプログラム、スケジュール情報21、履歴情報23などを格納する。また、記憶装置20は、オペレーティングシステムなどのプログラムを格納していてもよい。スケジュール情報21の詳細については後述する。   The storage device 20 includes, for example, a storage medium such as eMMC (Embedded MultiMediaCard). The eMMC includes a NAND flash memory and a control circuit. The storage device 20 stores programs for realizing various processes according to the present embodiment, schedule information 21, history information 23, and the like. Further, the storage device 20 may store a program such as an operating system. Details of the schedule information 21 will be described later.

また、本実施の形態に従う各種の処理を実現するためのプログラムは、単体のプログラムではなく、任意のプログラムの一部に組込まれて提供されてもよい。この場合、任意のプログラムと協働して本実施の形態に従う処理が実現される。このような一部のモジュールを含まないプログラムであっても、本実施の形態に従うスマートフォン100の趣旨を逸脱するものではない。さらに、本実施の形態に従うプログラムによって提供される機能の一部または全部は、専用のハードウェアによって実現されてもよい。さらに、サーバ装置側がすべての機能を実行する必要はなく、スマートフォン100とサーバ装置とが協働して、本実施の形態に従う処理を実現するようにしてもよい。さらに、少なくとも1つのサーバ装置が本実施の形態に従う処理を実現する、いわゆるクラウドサービスのような形態でスマートフォン100が構成されてもよい。   Further, a program for realizing various processes according to the present embodiment may be provided by being incorporated in a part of an arbitrary program, not a single program. In this case, processing according to the present embodiment is realized in cooperation with an arbitrary program. Even such a program that does not include some modules does not depart from the spirit of the smartphone 100 according to the present embodiment. Furthermore, part or all of the functions provided by the program according to the present embodiment may be realized by dedicated hardware. Furthermore, it is not necessary for the server device side to execute all functions, and the smartphone 100 and the server device may cooperate to implement the processing according to the present embodiment. Furthermore, the smartphone 100 may be configured in a form such as a so-called cloud service in which at least one server device realizes processing according to the present embodiment.

[機能構成]
図3を参照して、スマートフォン100の機能について説明する。図3は、スマートフォン100の機能構成の一例を示すブロック図である。スマートフォン100のCPU2は、特定部210と、検出部220と、算出部230と、出力部250と、更新部260と、監視部270とを含む。監視部270は、受信部272と、受付部274とを含む。
[Function configuration]
The function of the smartphone 100 will be described with reference to FIG. FIG. 3 is a block diagram illustrating an example of a functional configuration of the smartphone 100. The CPU 2 of the smartphone 100 includes a specifying unit 210, a detection unit 220, a calculation unit 230, an output unit 250, an update unit 260, and a monitoring unit 270. Monitoring unit 270 includes a receiving unit 272 and a receiving unit 274.

特定部210は、現在時刻から予め定められた時間以内に実行される行動計画(すなわち、未来行動計画)をスケジュール情報21から取得する。スケジュール情報21の詳細については後述する。特定部210は、履歴情報23に規定されている過去行動計画のうちから未来行動計画と同一の行動計画を選択する。特定部210は、選択した過去行動計画が1つの場合には、未来行動計画の実行時に二次電池4Aで消費される予想消費量を、選択した過去行動計画に関連付けられている電池消費量として特定する。このように、特定部210は、現在時刻から予め定められた時間以内に未来行動計画が実行される場合において、未来行動計画と過去行動計画とが同一であるときに、未来行動計画の実行時に消費される二次電池4Aの予想消費量を、過去行動計画に関連付けられている電力消費量として特定する。   The specifying unit 210 acquires from the schedule information 21 an action plan (that is, a future action plan) that is executed within a predetermined time from the current time. Details of the schedule information 21 will be described later. The specifying unit 210 selects the same action plan as the future action plan from the past action plans specified in the history information 23. When there is one selected past action plan, the specifying unit 210 sets the estimated consumption consumed by the secondary battery 4A when executing the future action plan as the battery consumption associated with the selected past action plan. Identify. As described above, when the future action plan is executed within a predetermined time from the current time, the specifying unit 210 performs the future action plan when the future action plan is the same as the past action plan. The expected consumption of the secondary battery 4A to be consumed is specified as the power consumption associated with the past action plan.

また、特定部210は、現在時刻から予め定められた時間以内に実行される未来行動計画と同一の過去行動計画が2つ以上ある場合には、2つの以上の過去行動計画のそれぞれに関連付けられている電力消費量のそれぞれを用いて、未来行動計画の実行時に消費される二次電池4Aの予想消費量を特定する。一例として、特定部210は、予想消費量として、2つ以上の電力消費量の平均値、中央値、または最大値を用いる。   Further, when there are two or more past action plans that are the same as the future action plan executed within a predetermined time from the current time, the specifying unit 210 is associated with each of the two or more past action plans. The predicted consumption amount of the secondary battery 4A that is consumed when the future action plan is executed is specified using each of the power consumption amounts. As an example, the specifying unit 210 uses an average value, median value, or maximum value of two or more power consumptions as the predicted consumption.

検出部220は、二次電池4Aの電池残量を検出する。二次電池4Aの出力電圧または出力電流は、電池残量に応じて減少するので、検出部220は、出力電圧または出力電流に基づいて電池残量を検出する。検出部220は、検出した電池残量を算出部230に出力する。   The detection unit 220 detects the remaining battery level of the secondary battery 4A. Since the output voltage or output current of the secondary battery 4A decreases according to the remaining battery level, the detection unit 220 detects the remaining battery level based on the output voltage or output current. The detection unit 220 outputs the detected remaining battery level to the calculation unit 230.

算出部230は、電池残量が予想消費量よりも少ない場合に、予想消費量に足りるまで二次電池4Aを充電するのに要する予想充電時間を算出する。予想充電時間は、たとえば、予想消費量を、二次電池4Aに流れる電流の電流値で割ることにより算出される。算出部230は、算出した予想充電時間を出力部250に出力する。   The calculation unit 230 calculates the expected charging time required to charge the secondary battery 4A until the expected consumption is sufficient when the remaining battery capacity is less than the expected consumption. The expected charging time is calculated, for example, by dividing the expected consumption by the current value of the current flowing through the secondary battery 4A. Calculation unit 230 outputs the calculated expected charging time to output unit 250.

出力部250は、予想充電時間を出力する。出力部250は、たとえば、モニタ5と、スピーカ6とを含む。モニタ5は、予想充電時間を表示する。スピーカ6は、予想充電時間を音声により報知する。   The output unit 250 outputs the expected charging time. The output unit 250 includes, for example, a monitor 5 and a speaker 6. The monitor 5 displays the expected charging time. The speaker 6 notifies the expected charging time by voice.

更新部260は、スケジュール情報21に規定されている未来行動計画が実行される予定の時間が過ぎた場合に、この未来行動計画と、この未来行動計画が予定されていた時間に実際に消費された二次電池4Aの電力消費量とを互いに関連付けて履歴情報23に格納する。すなわち、更新部260は、実行予定時間が過ぎた未来行動計画を過去行動計画として履歴情報23に格納する。   The update unit 260 is actually consumed at the time when the future action plan specified in the schedule information 21 is scheduled to be executed and at the time when the future action plan is scheduled. Further, the power consumption of the secondary battery 4A is stored in the history information 23 in association with each other. In other words, the update unit 260 stores the future action plan whose scheduled execution time has passed in the history information 23 as a past action plan.

監視部270は、スマートフォン100が予想充電時間を出力するための一連の処理の実行を開始するための開始命令を特定部210に出力する。たとえば、監視部270は、ユーザが就寝した場合に開始命令を特定部210に出力する。監視部270は、一例として、ユーザの脈拍情報に基づいて、ユーザが就寝状態したか否かを判断する。より具体的には、監視部270に含まれる受信部272は、スマートフォン100のユーザの脈拍を計測することが可能な周辺機器(たとえば、ユーザの腕に巻くことが可能なバンド型の脈拍計)から、アンテナ8A(図2参照)を介して、ユーザの脈拍を含む脈拍情報を受信する。監視部270は、受信した脈拍情報に含まれる脈拍が就寝時の脈拍と同等の値になった場合に、ユーザが就寝したと判断し、開始命令を出力する。たとえば、監視部270は、脈拍情報に含まれる脈拍が予め定められた脈拍よりも遅くなった場合に開始命令を出力する。   The monitoring unit 270 outputs a start command for starting execution of a series of processes for the smartphone 100 to output the expected charging time to the specifying unit 210. For example, the monitoring unit 270 outputs a start command to the specifying unit 210 when the user goes to bed. As an example, the monitoring unit 270 determines whether or not the user has gone to bed based on the user's pulse information. More specifically, the receiving unit 272 included in the monitoring unit 270 is a peripheral device that can measure the pulse of the user of the smartphone 100 (for example, a band-type pulse meter that can be wound around the user's arm). The pulse information including the user's pulse is received via the antenna 8A (see FIG. 2). The monitoring unit 270 determines that the user has gone to bed when the pulse included in the received pulse information has a value equivalent to the pulse at bedtime, and outputs a start command. For example, the monitoring unit 270 outputs a start command when the pulse included in the pulse information becomes later than a predetermined pulse.

また、監視部270に含まれる受付部274は、予想充電時間を出力する時刻の設定を受け付ける。スマートフォン100が予想充電時間を出力するための一連の処理は、現在時刻が時刻を過ぎた場合に開始される。受付部274の詳細については後述する。   In addition, the reception unit 274 included in the monitoring unit 270 receives the setting of the time for outputting the expected charging time. A series of processes for the smartphone 100 to output the expected charging time is started when the current time has passed. Details of the reception unit 274 will be described later.

[スケジュール情報21のデータ構造]
図4を参照して、スケジュール情報21の詳細について説明する。図4は、スケジュール情報21のデータ構造の一例を示す図である。
[Data structure of schedule information 21]
Details of the schedule information 21 will be described with reference to FIG. FIG. 4 is a diagram illustrating an example of the data structure of the schedule information 21.

スケジュール情報21は、たとえば、スマートフォン100にダウンロードされているスケジュールアプリから取得される。あるいは、スケジュール情報21は、他のスマートフォン、パソコン、サーバ装置、その他の通信機能から受信されてもよい。   The schedule information 21 is acquired from, for example, a schedule application downloaded to the smartphone 100. Alternatively, the schedule information 21 may be received from other smartphones, personal computers, server devices, and other communication functions.

スケジュール情報21は、時間21Aと、行動計画21Bとを含む。時間21Aと、行動計画21Bとは、互いに関連付けられている。行動計画21Bには、実行が予定されているスケジュールが規定される。   The schedule information 21 includes a time 21A and an action plan 21B. The time 21A and the action plan 21B are associated with each other. The action plan 21B defines a schedule that is scheduled to be executed.

特定部210は、スケジュール情報21を参照して、現在時刻から予め定められた時間以内に実行が予定されている行動計画(すなわち、未来行動計画)を取得する。より具体的には、特定部210は、現在時刻から予め定められた時間以内に含まれる時間21Aを探索して、ヒットした時間21Aに対応する行動計画21Bを未来行動計画として取得する。なお、特定部210は、CPU2に含まれる時計機能を用いて現在時刻を取得してもよいし、現在時刻を含む情報を外部機器から受信してもよい。   The specifying unit 210 refers to the schedule information 21 and acquires an action plan that is scheduled to be executed within a predetermined time from the current time (that is, a future action plan). More specifically, the specifying unit 210 searches for a time 21A included within a predetermined time from the current time, and acquires an action plan 21B corresponding to the hit time 21A as a future action plan. The specifying unit 210 may acquire the current time using a clock function included in the CPU 2, or may receive information including the current time from an external device.

[受付部274による時刻設定]
図5を参照して、予想充電時間を表示する時刻を設定する方法について説明する。図5は、本実施の形態に従う処理の設定画面の一例を示す図である。ユーザは、予想充電時間を表示する時刻を任意に設定することができる。予想充電時間を表示する時刻は、たとえば、上述の受付部274によって受け付けられる。
[Time setting by reception unit 274]
With reference to FIG. 5, a method for setting the time for displaying the expected charging time will be described. FIG. 5 is a diagram showing an example of a setting screen for processing according to the present embodiment. The user can arbitrarily set the time for displaying the expected charging time. The time for displaying the expected charging time is received by the receiving unit 274 described above, for example.

受付部274は、タッチパネル、ボタン、ユーザ操作を受け付けるためのその他の装置を含む。図5には、受付部274がタッチパネルとして構成される例が示される。ユーザが本実施の形態に従う処理に係る設定画面を開くと、受付部274は、予想充電時間を出力する時刻の設定を受け付けるための画面をモニタ5に表示する(画面A参照)。ユーザは、この画面に時刻を入力する(画面B参照)。ユーザが、時刻を入力した後に、モニタ5に表示される確定ボタンを押下すると、スマートフォン100は、入力された時刻(以下、「設定時刻」とも称する。)を記憶装置20に格納する。スマートフォン100は、設定時刻を正常に受け付けたことを示すための情報(画面Cでは「OK」)を表示する。モニタ5は、現在時刻が設定時刻を過ぎた場合に、予想充電時間を算出するための処理を開始し、算出した予想充電時間をモニタ5に表示する。   The accepting unit 274 includes a touch panel, buttons, and other devices for accepting user operations. FIG. 5 shows an example in which the receiving unit 274 is configured as a touch panel. When the user opens a setting screen related to the process according to the present embodiment, accepting unit 274 displays a screen for accepting setting of the time for outputting the expected charging time on monitor 5 (see screen A). The user inputs the time on this screen (see screen B). When the user presses the confirm button displayed on the monitor 5 after inputting the time, the smartphone 100 stores the input time (hereinafter also referred to as “set time”) in the storage device 20. The smartphone 100 displays information (“OK” on the screen C) indicating that the set time has been normally received. The monitor 5 starts processing for calculating the expected charging time when the current time has passed the set time, and displays the calculated expected charging time on the monitor 5.

このように、ユーザは、予想充電時間の推定処理の開始時刻を任意に設定することができる。ユーザは、たとえば、この開始時刻を、自身の就寝予定時刻に設定する。これにより、スマートフォン100は、ユーザの就寝前に充電を促すことができる。   In this way, the user can arbitrarily set the start time of the estimated charging time estimation process. For example, the user sets the start time as his / her scheduled bedtime. Thereby, the smart phone 100 can accelerate | stimulate charge before a user sleeps.

[画面遷移]
図6を参照して、ユーザ操作に伴うスマートフォン100の画面遷移について説明する。図6は、スマートフォン100の画面遷移の一例を示す図である。図6に示されるように、スマートフォン100は、モニタ5と、ケーブル端子7とを含む。ケーブル端子7には、充電端子60が電気的に接続される。二次電池4Aは、充電端子60を介して充電される。
[Screen transition]
With reference to FIG. 6, the screen transition of the smart phone 100 accompanying user operation is demonstrated. FIG. 6 is a diagram illustrating an example of screen transition of the smartphone 100. As shown in FIG. 6, the smartphone 100 includes a monitor 5 and a cable terminal 7. A charging terminal 60 is electrically connected to the cable terminal 7. The secondary battery 4 </ b> A is charged via the charging terminal 60.

現在時刻がユーザによって設定された時刻(すなわち、上述の設定時刻)になると、スマートフォン100は、予想充電時間の推定処理を開始する。二次電池4Aの現在の電池残量が、予想消費量よりも少ない場合に、スマートフォン100は、現在時刻から予め定められた時間以内に予定されている行動計画(すなわち、未来行動計画)が実行されている間に二次電池4Aが切れると判断する。スマートフォン100は、二次電池4Aが持続期間内に切れると判断した場合には、充電をユーザに促すために、予測充電時間を表示する(画面D参照)。   When the current time becomes a time set by the user (that is, the above-described set time), the smartphone 100 starts an estimated charging time estimation process. When the current remaining battery level of the secondary battery 4A is smaller than the expected consumption, the smartphone 100 executes an action plan (that is, a future action plan) scheduled within a predetermined time from the current time. It is determined that the secondary battery 4A will run out during the operation. When the smartphone 100 determines that the secondary battery 4 </ b> A runs out within the duration, the smartphone 100 displays the predicted charging time in order to prompt the user to charge (see screen D).

画面Dがモニタ5に表示されている状態で、ユーザがモニタ5に表示されているキャンセルボタンを押下すると、スマートフォン100は、ホーム画面、または他のアプリケーションの画面を表示する(画面E参照)。画面Dがモニタ5に表示されている状態で、ユーザがケーブル端子7に充電端子60を接続すると、モニタ5の画面は、画面Dから画面Fに切り替わり、スマートフォン100は、二次電池4Aの充電を開始する。スマートフォン100は、予想消費量に足りるまでに二次電池4Aを充電するのに要する残り充電時間を表示する(画面F参照)。   When the user presses the cancel button displayed on the monitor 5 while the screen D is displayed on the monitor 5, the smartphone 100 displays a home screen or a screen of another application (see screen E). When the user connects the charging terminal 60 to the cable terminal 7 while the screen D is displayed on the monitor 5, the screen of the monitor 5 switches from the screen D to the screen F, and the smartphone 100 charges the secondary battery 4A. To start. The smartphone 100 displays the remaining charging time required to charge the secondary battery 4A until the expected consumption is sufficient (see screen F).

画面Fがモニタ5に表示されている状態で、ユーザが、モニタ5に表示されているOKボタン、バックキー、ホームボタンなどを押下すると、スマートフォン100は、ホーム画面、または他のアプリケーションの画面を表示する(画面G参照)。画面Gがモニタ5に表示されている状態で、スマートフォン100が、割り込み処理を受けると、モニタ5の画面は、画面Gから画面Fに切り替わる。スマートフォン100は、たとえば、充電残り時間が予め定められた時間(たとえば、残り30分)になった場合などに割り込み処理を発生する。   When the user presses an OK button, a back key, a home button, or the like displayed on the monitor 5 while the screen F is displayed on the monitor 5, the smartphone 100 displays the home screen or another application screen. Display (see screen G). When the smartphone 100 receives an interrupt process while the screen G is displayed on the monitor 5, the screen of the monitor 5 is switched from the screen G to the screen F. The smartphone 100 generates an interrupt process when, for example, the remaining charge time reaches a predetermined time (for example, the remaining 30 minutes).

[フローチャート]
図7を参照して、スマートフォン100の制御構造について説明する。図7は、スマートフォン100が実行する処理の一部を表わすフローチャートである。図7の処理は、CPU2がプログラムを実行することにより実現される。他の局面において、処理の一部または全部が、回路素子その他のハードウェアによって実行されてもよい。
[flowchart]
The control structure of the smartphone 100 will be described with reference to FIG. FIG. 7 is a flowchart showing a part of the process executed by smartphone 100. The processing in FIG. 7 is realized by the CPU 2 executing a program. In other aspects, some or all of the processing may be performed by circuit elements or other hardware.

ステップS510において、CPU2は、特定部210として、スマートフォン100が予想充電時間を出力するための一連の処理の開始命令を監視部270から受け付けたか否かを判断する。CPU2は、開始命令を受け付けたと判断した場合に(ステップS510においてYES)、制御をステップS512に切り替える。そうでない場合には(ステップS510においてNO)、CPU2は、ステップS510の処理を再び実行する。   In step S <b> 510, the CPU 2 determines, as the specifying unit 210, whether or not the monitoring unit 270 has received a start command for a series of processes for the smartphone 100 to output the expected charging time. When CPU 2 determines that a start command has been received (YES in step S510), it switches control to step S512. If not (NO in step S510), CPU 2 executes step S510 again.

ステップS512において、CPU2は、検出部220として、二次電池4Aの電池残量を検出する。ステップS514において、CPU2は、特定部210として、現在時刻から予め定められた時間以内(たとえば、24時間以内)に実行される予定の行動計画(すなわち、未来行動計画)をスケジュールアプリまたはスケジュール情報21から取得する。   In step S512, the CPU 2 detects the remaining battery level of the secondary battery 4A as the detection unit 220. In step S514, the CPU 2 determines, as the specifying unit 210, an action plan (ie, future action plan) scheduled to be executed within a predetermined time (for example, within 24 hours) from the current time as a schedule application or schedule information 21. Get from.

ステップS516において、CPU2は、特定部210として、スケジュールアプリから取得した未来行動計画が、履歴情報23に登録されているか否かを判断する。CPU2は、履歴情報23に含まれる過去行動計画のうちに、未来行動計画と同一のものが存在する場合に、未来行動計画が履歴情報23に登録されていると判断する。CPU2は、未来行動計画が履歴情報23に登録されていると判断した場合に(ステップS516においてYES)、制御をステップS518に切り替える。そうでない場合には(ステップS516においてNO)、CPU2は、制御をステップS530に切り替える。   In step S <b> 516, the CPU 2 determines whether the future action plan acquired from the schedule application is registered in the history information 23 as the specifying unit 210. The CPU 2 determines that the future action plan is registered in the history information 23 when a past action plan included in the history information 23 is the same as the future action plan. When CPU 2 determines that the future action plan is registered in history information 23 (YES in step S516), CPU 2 switches control to step S518. If not (NO in step S516), CPU 2 switches control to step S530.

ステップS518において、CPU2は、特定部210として、履歴情報23に含まれる過去行動計画のうちから、未来行動計画と同一の行動計画を取得する。CPU2は、取得した過去行動計画に関連付けられている電池消費量を予想消費量として履歴情報23から取得する。   In step S518, the CPU 2 acquires the same action plan as the future action plan from the past action plans included in the history information 23 as the specifying unit 210. The CPU 2 acquires the battery consumption associated with the acquired past action plan from the history information 23 as the predicted consumption.

ステップS520において、CPU2は、算出部230として、現在の電池残量が予想消費量よりも少ないか否かを判断する。CPU2は、現在の電池残量が予想消費量よりも少ないと判断しない場合には(ステップS520においてYES)、制御をステップS550に切り替える。そうでない場合には(ステップS520においてNO)、CPU2は、本実施の形態に従う処理を終了する。すなわち、この場合、CPU2は、未来行動計画を実行するための電池残量が足りると判断して、ユーザに充電を促さない。これにより、スマートフォン100は、充電が必要なときだけユーザに充電を促すことができるため、常に充電を促す場合よりも充電回数を減少できる。この結果、二次電池4Aは、充電機器による消耗を抑制することができる。   In step S520, the CPU 2 determines, as the calculation unit 230, whether or not the current battery remaining amount is less than the expected consumption. If CPU 2 does not determine that the current remaining battery level is less than the expected consumption (YES in step S520), CPU 2 switches control to step S550. If not (NO in step S520), CPU 2 ends the process according to the present embodiment. That is, in this case, the CPU 2 determines that the remaining battery level for executing the future action plan is sufficient, and does not prompt the user to charge. Thereby, since the smartphone 100 can prompt the user to charge only when charging is necessary, the number of times of charging can be reduced as compared with the case of always prompting charging. As a result, the secondary battery 4A can suppress consumption by the charging device.

ステップS530において、CPU2は、現在の電池残量が、テーブル22に規定されている「行動計画無し」(図1(A)参照)に関連付けられている電池消費量よりも少ないか否かを判断する。CPU2は、現在の電池残量が、「行動計画無し」に関連付けられている電池消費量よりも少ないと判断した場合に(ステップS530においてYES)、制御をステップS550に切り替える。そうでない場合には(ステップS530においてNO)、CPU2は、本実施の形態に従う処理を終了する。   In step S530, the CPU 2 determines whether or not the current remaining battery level is less than the battery consumption associated with “no action plan” (see FIG. 1A) defined in the table 22. To do. When CPU 2 determines that the current remaining battery level is less than the battery consumption associated with “no action plan” (YES in step S530), CPU 2 switches control to step S550. If not (NO in step S530), CPU 2 ends the process according to the present embodiment.

ステップS550において、CPU2は、算出部230として、予想消費量に足りるまで二次電池4Aを充電するのに要する予想充電時間を二次電池4Aに流れる電流の電流値から算出する。ステップS552において、CPU2は、予想充電時間をモニタ5に表示する。ステップS554において、CPU2は、ケーブル端子7(図2参照)に充電ケーブルが接続されたか否かを判断する。CPU2は、たとえば、二次電池4Aに流れる電流の電流値が予め定められた値よりも大きくなった場合に、充電ケーブルが接続されたと判断する。CPU2は、ケーブル端子7に充電ケーブルが接続されたと判断した場合に(ステップS554においてYES)、制御をステップS556に切り替える。そうでない場合には(ステップS554においてNO)、CPU2は、ステップS554における処理を再び実行する。   In step S550, the CPU 2 calculates, as the calculation unit 230, the expected charging time required to charge the secondary battery 4A until the expected consumption is sufficient from the current value of the current flowing through the secondary battery 4A. In step S552, the CPU 2 displays the expected charging time on the monitor 5. In step S554, the CPU 2 determines whether or not the charging cable is connected to the cable terminal 7 (see FIG. 2). For example, the CPU 2 determines that the charging cable is connected when the current value of the current flowing through the secondary battery 4A becomes larger than a predetermined value. When CPU 2 determines that a charging cable is connected to cable terminal 7 (YES in step S554), CPU 2 switches control to step S556. If not (NO in step S554), CPU 2 executes the process in step S554 again.

ステップS556において、CPU2は、二次電池4Aの充電を開始する。ステップS558において、CPU2は、二次電池4Aの充電量が完了したか否かを判断する。CPU2は、たとえば、二次電池4Aの充電量が予め定められた充電量よりも多くなった場合に、充電が完了したと判断する。CPU2は、二次電池4Aの充電が完了したと判断した場合に(ステップS558においてYES)、本実施の形態に従う処理を終了する。CPU2は、二次電池4Aの充電が完了していないと判断した場合には、ステップS558における処理を再び実行する。   In step S556, the CPU 2 starts charging the secondary battery 4A. In step S558, the CPU 2 determines whether or not the charge amount of the secondary battery 4A is completed. For example, the CPU 2 determines that the charging is completed when the charge amount of the secondary battery 4A is larger than a predetermined charge amount. When CPU 2 determines that charging of secondary battery 4A has been completed (YES in step S558), CPU 2 ends the process according to the present embodiment. When the CPU 2 determines that the charging of the secondary battery 4A is not completed, the CPU 2 executes the process in step S558 again.

[まとめ]
以上のようにして、本実施の形態に従うスマートフォン100は、現在時刻から予め定められた時間以内に予定されている行動計画(すなわち、未来行動計画)の実行時に消費される予想消費量を、過去の行動計画で実際に消費された電池消費量から特定する。このように、スマートフォン100は、ユーザのライフスタイルを考慮した予想消費量から予想充電時間を算出する。これにより、スマートフォン100は、ユーザの意図しないタイミングで、二次電池4Aが切れることを防ぐことができる。また、ユーザは、モニタ5に表示された予想充電時間を確認できるので、未来行動計画を実行するために、二次電池4Aをどの程度充電しなければならないかを容易に把握できる。
[Summary]
As described above, smartphone 100 according to the present embodiment stores the estimated consumption consumed in the execution of an action plan (ie, future action plan) scheduled within a predetermined time from the current time in the past. It is specified from the battery consumption actually consumed in the action plan. As described above, the smartphone 100 calculates the expected charging time from the expected consumption considering the user's lifestyle. Thereby, the smart phone 100 can prevent the secondary battery 4A from running out at a timing not intended by the user. Moreover, since the user can confirm the expected charging time displayed on the monitor 5, in order to execute the future action plan, the user can easily grasp how much the secondary battery 4A has to be charged.

さらに、現在の電池残量が予想消費量よりも多い場合、すなわち、ユーザが未来行動計画を実行するための電力が二次電池4Aに十分残っている場合には、スマートフォン100は、ユーザに充電を促さない。このように、スマートフォン100は、充電が必要なときだけユーザに充電を促すため、常に充電を行なう場合よりも充電回数を減少できる。この結果、充電器による二次電池4Aの消耗を抑制することができる。   Furthermore, when the current battery remaining amount is larger than the expected consumption, that is, when the user has sufficient power for executing the future action plan in the secondary battery 4A, the smartphone 100 charges the user. Does not prompt. As described above, since the smartphone 100 prompts the user to charge only when charging is necessary, the number of times of charging can be reduced as compared with the case where charging is always performed. As a result, consumption of the secondary battery 4A by the charger can be suppressed.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

1 ROM、2 CPU、3 RAM、4 二次電池端子、4A 二次電池、5 モニタ、6 スピーカ、7 ケーブル端子、8 ネットワークI/F、8A アンテナ、20 記憶装置、21 スケジュール情報、21A 時間、21B,23B 行動計画、22 テーブル、23 履歴情報、23A 日時、23C 電池消費量、24 予想消費量、60 充電端子、100 スマートフォン、210 特定部、220 検出部、230 算出部、250 出力部、260 更新部、270 監視部、272 受信部、274 受付部。   1 ROM, 2 CPU, 3 RAM, 4 secondary battery terminal, 4A secondary battery, 5 monitor, 6 speaker, 7 cable terminal, 8 network I / F, 8A antenna, 20 storage device, 21 schedule information, 21A time, 21B, 23B action plan, 22 table, 23 history information, 23A date and time, 23C battery consumption, 24 expected consumption, 60 charging terminal, 100 smartphone, 210 identification unit, 220 detection unit, 230 calculation unit, 250 output unit, 260 Update unit, 270 monitoring unit, 272 receiving unit, 274 receiving unit.

Claims (5)

携帯端末装置であって、
二次電池と、
実行が予定されている第1の行動計画と、当該第1の行動計画が実行される予定の時間と、過去に実行された第2の行動計画と、当該第2の行動計画が予定されていた時間に実際に消費された前記二次電池の電力消費量とを格納するための記憶部と、
現在時刻から予め定められた時間以内に前記第1の行動計画が実行される場合において、前記第1の行動計画と前記第2の行動計画とが同一であるときに、前記第1の行動計画の実行時に消費される前記二次電池の予想消費量を、前記第2の行動計画に関連付けられている前記電力消費量として特定するための特定部と、
前記二次電池の電池残量を検出するための検出部と、
前記電池残量が前記予想消費量よりも少ない場合に、前記予想消費量に足りるまで前記二次電池を充電するのに要する予想充電時間を算出するための算出部と、
前記予想充電時間を出力するための出力部とを備える、携帯端末装置。
A portable terminal device,
A secondary battery,
The first action plan scheduled to be executed, the time when the first action plan is scheduled to be executed, the second action plan executed in the past, and the second action plan are scheduled. A storage unit for storing the power consumption of the secondary battery actually consumed during
In the case where the first action plan is executed within a predetermined time from the current time, when the first action plan and the second action plan are the same, the first action plan A specifying unit for specifying, as the power consumption associated with the second action plan, an expected consumption of the secondary battery consumed at the time of execution of
A detection unit for detecting a remaining battery level of the secondary battery;
A calculation unit for calculating an expected charging time required to charge the secondary battery until the expected consumption is sufficient when the remaining battery level is less than the expected consumption;
A portable terminal device comprising: an output unit for outputting the expected charging time.
前記記憶部は、前記第1の行動計画が実行される予定の時間が過ぎた場合に、当該第1の行動計画と、当該第1の行動計画が予定されていた時間に実際に消費された前記二次電池の電力消費量とを互いに関連付けてさらに格納する、請求項1に記載の携帯端末装置。   The storage unit is actually consumed when the first action plan is scheduled to be executed and when the first action plan is scheduled and when the first action plan is scheduled. The mobile terminal device according to claim 1, further storing the power consumption of the secondary battery in association with each other. 前記記憶部は、実行が予定されている第3の行動計画と、当該第3の行動計画が実行される予定の時間とをさらに格納し、
前記特定部は、現在時刻から予め定められた時間以内に前記第3の行動計画が実行される場合で、前記第1の行動計画と前記第2の行動計画と前記第3の行動計画が同一であるときに、前記第1の行動計画に関連付けられている過去の電力消費量と、前記第2の行動計画に関連付けられている過去の電力消費量とを用いて、前記第3の行動計画の実行時に消費される前記二次電池の予想消費量を特定する、請求項2に記載の携帯端末装置。
The storage unit further stores a third action plan that is scheduled to be executed, and a time that the third action plan is scheduled to be executed,
In the case where the third action plan is executed within a predetermined time from the current time, the specifying unit is the same as the first action plan, the second action plan, and the third action plan. The third action plan using the past power consumption associated with the first action plan and the past power consumption associated with the second action plan. The mobile terminal device according to claim 2, wherein an expected consumption amount of the secondary battery consumed at the time of execution is specified.
前記携帯端末装置は、外部機器によって計測された当該携帯端末装置のユーザの脈拍を含む脈拍情報を前記外部機器から受信するための受信部をさらに備え、
前記携帯端末装置が前記予想充電時間を出力するための一連の処理は、前記脈拍情報に含まれる脈拍が予め定められた脈拍よりも遅くなった場合に開始される、請求項1〜3のいずれか1項に記載の携帯端末装置。
The mobile terminal device further includes a receiving unit for receiving pulse information including the pulse of the user of the mobile terminal device measured by an external device from the external device,
The series of processes for the portable terminal device to output the expected charging time is started when a pulse included in the pulse information becomes later than a predetermined pulse. The portable terminal device of Claim 1.
前記携帯端末装置は、前記予想充電時間を出力する時刻の設定を受け付けるための受付部をさらに備え、
前記携帯端末装置が前記予想充電時間を出力するための一連の処理は、現在時刻が前記時刻を過ぎた場合に開始される、請求項1〜4のいずれか1項に記載の携帯端末装置。
The portable terminal device further includes a reception unit for receiving a setting of a time for outputting the expected charging time,
The mobile terminal device according to any one of claims 1 to 4, wherein a series of processing for the mobile terminal device to output the estimated charging time is started when a current time has passed the time.
JP2014131658A 2014-06-26 2014-06-26 Mobile terminal device Expired - Fee Related JP6376860B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014131658A JP6376860B2 (en) 2014-06-26 2014-06-26 Mobile terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014131658A JP6376860B2 (en) 2014-06-26 2014-06-26 Mobile terminal device

Publications (2)

Publication Number Publication Date
JP2016010135A true JP2016010135A (en) 2016-01-18
JP6376860B2 JP6376860B2 (en) 2018-08-22

Family

ID=55227384

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014131658A Expired - Fee Related JP6376860B2 (en) 2014-06-26 2014-06-26 Mobile terminal device

Country Status (1)

Country Link
JP (1) JP6376860B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021186004A (en) * 2020-05-26 2021-12-13 東芝ライフスタイル株式会社 Vacuum cleaner

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09284375A (en) * 1996-04-12 1997-10-31 Saitama Nippon Denki Kk Portable telephone set
JP2006033409A (en) * 2004-07-15 2006-02-02 Nec Corp Mobile telephone set, and managing method and management control program for secondary battery used for the same mobile telephone set
JP2007235527A (en) * 2006-03-01 2007-09-13 Matsushita Electric Ind Co Ltd Mobile terminal and recording reservation method for broadcasting contents
JP2007255987A (en) * 2006-03-22 2007-10-04 Casio Comput Co Ltd Portable equipment and its program
JP2010051128A (en) * 2008-08-22 2010-03-04 Sony Corp Charging device and charging method
WO2012098601A1 (en) * 2011-01-19 2012-07-26 Necカシオモバイルコミュニケーションズ株式会社 Mobile communication device and communication method
US20140052395A1 (en) * 2012-08-20 2014-02-20 Shell Internet (Beijing) Security Technology Co., Ltd. Method and apparatus for estimating the remaining time required to fully charge a battery, and mobile device incorporating thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09284375A (en) * 1996-04-12 1997-10-31 Saitama Nippon Denki Kk Portable telephone set
JP2006033409A (en) * 2004-07-15 2006-02-02 Nec Corp Mobile telephone set, and managing method and management control program for secondary battery used for the same mobile telephone set
JP2007235527A (en) * 2006-03-01 2007-09-13 Matsushita Electric Ind Co Ltd Mobile terminal and recording reservation method for broadcasting contents
JP2007255987A (en) * 2006-03-22 2007-10-04 Casio Comput Co Ltd Portable equipment and its program
JP2010051128A (en) * 2008-08-22 2010-03-04 Sony Corp Charging device and charging method
WO2012098601A1 (en) * 2011-01-19 2012-07-26 Necカシオモバイルコミュニケーションズ株式会社 Mobile communication device and communication method
US20140052395A1 (en) * 2012-08-20 2014-02-20 Shell Internet (Beijing) Security Technology Co., Ltd. Method and apparatus for estimating the remaining time required to fully charge a battery, and mobile device incorporating thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021186004A (en) * 2020-05-26 2021-12-13 東芝ライフスタイル株式会社 Vacuum cleaner

Also Published As

Publication number Publication date
JP6376860B2 (en) 2018-08-22

Similar Documents

Publication Publication Date Title
TWI660555B (en) Method, electronic device, and computer readable medium for intelligent context based battery charging
US8963504B2 (en) Electronic device, method of charging electronic device, program, charging control apparatus, and charging control method
JP5131189B2 (en) Charging system, charging control program and portable terminal
KR20170020735A (en) Method and apparatus for charging
US9438057B2 (en) Drive control device, drive control method and drive control program
JP6774309B2 (en) Information processing system, information processing device, operating device, and power supply method
WO2019119326A1 (en) Charging method, device, terminal apparatus, and computer readable storage medium
US9356459B2 (en) Method for charging battery and electronic device thereof
JP6376860B2 (en) Mobile terminal device
JP2011062028A (en) Chargeable device and method of charging the same
JP2017050655A (en) Information processing unit, control method of the same, control program, and recording medium
CN113839427A (en) Charging management method, electronic device and system
JP2014168327A (en) Electronic apparatus, charge control method, and program
JP6214032B2 (en) Charge control device and program
JP2020124059A (en) Charge control device and charge control system
JP6494354B2 (en) Charge control device and charge control method
JP2011205801A (en) Control device, method and program
JP6523073B2 (en) Power management system
WO2017020592A1 (en) Discharging method, terminal equipment, and computer storage medium
JP5368355B2 (en) Electronic device and notification control method
JP2016149862A (en) Information terminal device, charging management program, and charging management method
CN113013933A (en) Wireless charging method and device, computer equipment and storage medium
JP2019079580A (en) Electronic apparatus, calculation method and program
JP2014193041A (en) Terminal, charger, terminal supporting device, terminal charging system, charging method and charging program
JP6770632B2 (en) Electronic devices, calculation methods and programs

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170323

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180306

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180412

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: 20180703

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180724

R150 Certificate of patent or registration of utility model

Ref document number: 6376860

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees