CN103941841A - Method and device for acquiring remaining available time of equipment - Google Patents

Method and device for acquiring remaining available time of equipment Download PDF

Info

Publication number
CN103941841A
CN103941841A CN201410160938.XA CN201410160938A CN103941841A CN 103941841 A CN103941841 A CN 103941841A CN 201410160938 A CN201410160938 A CN 201410160938A CN 103941841 A CN103941841 A CN 103941841A
Authority
CN
China
Prior art keywords
power consumption
current device
pot life
details information
consumption details
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410160938.XA
Other languages
Chinese (zh)
Inventor
徐鸣
胡月鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Conew Network Technology Beijing Co Ltd
Original Assignee
Conew Network Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Conew Network Technology Beijing Co Ltd filed Critical Conew Network Technology Beijing Co Ltd
Priority to CN201410160938.XA priority Critical patent/CN103941841A/en
Publication of CN103941841A publication Critical patent/CN103941841A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention provides a method and device for acquiring the remaining available time of equipment. The method comprises the steps of acquiring the current electricity quantity of the current equipment, acquiring electricity consumption detailed information of the current equipment in the current time period based on historical electricity consumption detailed information, and working out the remaining available time of the current equipment according to the current electricity quantity and the electricity consumption detailed information in the current time period. According to the method and device for acquiring the remaining available time of the equipment, by acquiring the current electricity quantity of the current equipment, acquiring electricity consumption detailed information of the current equipment in the current time period based on the historical electricity consumption information and accurately working out the remaining available time corresponding to the current electricity quantity of the current equipment according to the electricity consumption detailed information in the current time period and the current electricity quantity, a user can acquire the remaining available time of the equipment accurately.

Description

Obtain method and the device of equipment residue pot life
Technical field
The present invention relates to mobile device technical field, relate in particular to a kind of method and device that obtains equipment residue pot life.
Background technology
At present, there are a lot of application programs (APP) can demonstrate current electric quantity and the pot life of equipment.For example, the smart mobile phone of Android (Android) system of take is example, and user can be obtained the current electric quantity of smart mobile phone and be remained pot life by application programs such as pipe power saving, power saving spirit, dessert power savings.
At present, can be according to the residue pot life of the required power consumption predict device of facility switching different hardware, particularly, and the number percent of equipment current electric quantity first, the power consumption of then opening now different hardware according to equipment removes to predict the pot life of dump energy.Yet, the problem that the method for the residue pot life of above-mentioned predict device exists is that the hardware power consumption of same may be different, for example, take bluetooth as example, difference is not too in fact for the power consumption of opening or closing Bluetooth function, but a large amount of electric weight will be consumed while really using bluetooth, this kind of method cannot be determined the power consumption that uses Bluetooth function, so the real residue pot life gap of the residue pot life of the equipment of predicting by said method and equipment is larger, the residue pot life of the equipment predicted is inaccurate.
Summary of the invention
The present invention is intended to solve at least to a certain extent one of technical matters in correlation technique.For this reason, one object of the present invention is to propose a kind of method and device that can Obtaining Accurate equipment residue pot life.
According to first aspect present invention embodiment, proposed a kind of method of obtaining equipment residue pot life, having comprised: the current electric quantity that obtains current device; Power consumption details information based on current device current slot described in historical power consumption details information acquisition; According to the power consumption details information of described current electric quantity and current slot, calculate the residue pot life of described current device.
The method of the equipment that the obtains residue pot life of the embodiment of the present invention, by obtaining the current electric quantity of current device, and the power consumption details information based on historical power consumption information acquisition current device current slot, and accurately calculate the corresponding residue pot life of current device current electric quantity according to the power consumption details information of current slot and current electric quantity, thus, make the accurately residue pot life of equipment of user.
Second aspect present invention embodiment has proposed a kind of device that obtains equipment residue pot life, comprising: the first acquisition module, for obtaining the current electric quantity of current device; The second acquisition module, for the power consumption details information based on current device current slot described in historical power consumption details information acquisition; Computing module, for calculating the residue pot life of described current device according to the power consumption details information of described current electric quantity and current slot.
The device of the equipment that the obtains residue pot life of the embodiment of the present invention, by the first acquisition module, obtain the current electric quantity of current device, and by the power consumption details information of the second acquisition module based on historical power consumption information acquisition current device current slot, and according to the power consumption details information of current slot and current electric quantity, accurately calculate the corresponding residue pot life of current device current electric quantity by computing module, thus, make the accurately residue pot life of equipment of user.
Third aspect present invention embodiment has proposed a kind of mobile terminal, this mobile terminal comprises housing, processor, storer, circuit board and power circuit, wherein, described circuit board is placed in the interior volume that described housing surrounds, and described processor and described storer are arranged on described circuit board; Described power circuit, is used to each circuit or the device power supply of described mobile terminal; Described storer is for stores executable programs code; Described processor moves the program corresponding with described executable program code by reading the executable program code of storing in described storer, for carrying out following steps: the current electric quantity that obtains current device; Power consumption details information based on current device current slot described in historical power consumption details information acquisition; According to the power consumption details information of described current electric quantity and current slot, calculate the residue pot life of described current device.
The mobile terminal of the embodiment of the present invention, by obtaining the current electric quantity of current device, and the power consumption details information based on historical power consumption information acquisition current device current slot, and accurately calculate the corresponding residue pot life of current device current electric quantity according to the power consumption details information of current slot and current electric quantity, thus, make the accurately residue pot life of equipment of user.
The aspect that the present invention is additional and advantage in the following description part provide, and part will become obviously from the following description, or recognize by practice of the present invention.
Accompanying drawing explanation
Above-mentioned and/or the additional aspect of the present invention and advantage will become from the following description of the accompanying drawings of embodiments and obviously and easily understand, wherein,
Fig. 1 is the process flow diagram that obtains according to an embodiment of the invention the method for equipment residue pot life;
Fig. 2 is the process flow diagram that obtains in accordance with another embodiment of the present invention the method for equipment residue pot life;
Fig. 3 is the structural representation that obtains according to an embodiment of the invention the device of equipment residue pot life; And
Fig. 4 is the structural representation that obtains in accordance with another embodiment of the present invention the device of equipment residue pot life.
Embodiment
Describe embodiments of the invention below in detail, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has the element of identical or similar functions from start to finish.Below by the embodiment being described with reference to the drawings, be exemplary, be intended to for explaining the present invention, and can not be interpreted as limitation of the present invention.
In description of the invention, it will be appreciated that, term " first ", " second " etc. are only for describing object, and can not be interpreted as indication or hint relative importance.In description of the invention, it should be noted that, unless otherwise clearly defined and limited, term " is connected ", " connection " should be interpreted broadly, and for example, can be to be fixedly connected with, and can be also to removably connect, or connects integratedly; Can be mechanical connection, can be to be also electrically connected to; Can be to be directly connected, also can indirectly be connected by intermediary.For the ordinary skill in the art, can concrete condition understand above-mentioned term concrete meaning in the present invention.In addition,, in description of the invention, except as otherwise noted, the implication of " a plurality of " is two or more.
In process flow diagram or any process of otherwise describing at this or method describe and can be understood to, represent to comprise that one or more is for realizing module, fragment or the part of code of executable instruction of the step of specific logical function or process, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by contrary order, carry out function, this should be understood by embodiments of the invention person of ordinary skill in the field.
Below with reference to accompanying drawing, describe according to method and the device of the equipment that the obtains residue pot life of the embodiment of the present invention.
Fig. 1 is the process flow diagram that obtains according to an embodiment of the invention the method for equipment residue pot life.
As shown in Figure 1, the method for obtaining equipment residue pot life comprises the following steps:
S101, the current electric quantity of acquisition current device.
Particularly, can obtain by calling application programming interface API that current device battery is corresponding the current electric quantity of current device.
S102, the power consumption details information based on historical power consumption details information acquisition current device current slot.
In this embodiment, before the power consumption details information based on historical power consumption details information acquisition current device current slot, can also comprise: the historical power consumption data that obtain current device; And determine the historical power consumption details information of the first kind and the historical power consumption details information of Second Type according to historical power consumption data.Wherein, the historical power consumption details information of the historical power consumption details information of the first kind and Second Type all comprises time period information and corresponding power consumption details information thereof.Particularly, the historical power consumption details information of the first kind can be the historical power consumption details information of working day or festivals or holidays, the historical power consumption details information of Second Type can for festivals or holidays or working day type historical power consumption details information.
Particularly, can counting user in the schedule time, for example use the historical data of current device in one week, for example, at interval of within 15 minutes, recording the power consumption of current device, after record one week, by the historical data to recorded, carry out time period information and corresponding power consumption details information and time period information and the corresponding power consumption details information that festivals or holidays, type comprised that analyzing and processing determines that working day, type comprised, wherein, corresponding power consumption of each time period can be type or the mean value of the corresponding corresponding power consumption of time period that festivals or holidays, type recorded on working day.Table 1 is all part power consumption data that records current device.
Power consumption (%) 9:00-9:15 9:15-9:30 9:30-9:45 9:45-10:00
Monday 1.1% 1.0% 1.1% 3%
Tu. 1.0% 1.1% 1.1% 4%
Wednesday 1.2% 1.2% 1.0% 5%
Thursday 1.1% 1.0% 1.1% 3%
Friday 1.1% 1.2% 1.2% 5%
Saturday 5% 7% 10% 10%
Sun. 7% 5% 10% 12%
Table 1
For instance, after the part historical data of power consumption that obtains corresponding 9 o'clock to 10 o'clock to Sun. Monday of as shown in table 1 current device, by analyzing, can obtain type and the power consumption scale of festivals or holidays corresponding time period of type on as shown in table 2 working day.
Power consumption (%) 9:00-9:15 9:15-9:30 9:30-9:45 9:45-10:00
Working day type 1.1% 1.1% 1.1% 4%
Festivals or holidays type 6% 6% 10% 11%
Table 2
Wherein, these four corresponding power consumption of time period of the corresponding 9:00-9:15 of table 2 type on working day, 9:15-9:30,9:30-9:45 and 9:45-10:00 are the mean value of these four corresponding power consumption of time period of MONDAY to FRIDAY, these four corresponding power consumption of time period of the corresponding 9:00-9:15 of type festivals or holidays, 9:15-9:30,9:30-9:45 and 9:45-10:00 be Saturday and Sun. these four corresponding power consumption of time period mean value.
Should be appreciated that the above-mentioned schedule time can be a week, can also be one month, six months (half a year) or 12 months (1 year), and the above-mentioned schedule time can according to circumstances arrange, and this embodiment does not limit Preset Time.
In this embodiment, power consumption details information based on historical power consumption details information acquisition current device current slot can comprise: determine the type information that current slot is corresponding, and the historical power consumption details information that obtains corresponding types according to type information, according to the power consumption details information of the historical power consumption details information acquisition current slot of corresponding types, wherein, the historical power consumption details information of corresponding types is the historical power consumption details information of the first kind or Second Type.
Wherein, type information can comprise the first kind and Second Type.Particularly, the first kind can for working day type or festivals or holidays type, Second Type can for festivals or holidays type or working day type.
Particularly, can use the current slot of current device to determine the type information that current slot is corresponding according to user.For example, user on Monday uses current device can determine that the type of the current slot that current device is corresponding is type on working day.
Furthermore, in type corresponding to current slot that obtains current device, be that the first kind is for example after type on working day, can according to type on working day obtain in current device, record working day type historical power consumption details, then according to working day type the historical power consumption details user that obtains current slot use the power consumption custom of current device.
The above-mentioned historical power consumption details that obtain corresponding types based on type corresponding to current slot, and the power consumption details information corresponding to current slot of the historical power consumption details acquisition based on corresponding types, can make the power consumption details that the current slot that obtains is corresponding more accurate, for the residue pot life of follow-up accurate calculating current device provides foundation.
S103, calculates the residue pot life of current device according to the power consumption details information of current electric quantity and current slot.
Particularly, after the current electric quantity of equipment and the power consumption details information of current slot, can accurately calculate according to the power consumption details information of current slot and current electric quantity the residue pot life of the current electric quantity of current device.
In this embodiment, after calculating the residue pot life of current device, can also comprise S104, as shown in Figure 2.
S104, the residue pot life of output current device.
In this embodiment, the residue pot life of output current device can comprise: the residue pot life that shows current device on current device; And/or the residue pot life of current device is carried out to voice message.
Particularly, after calculating the residue pot life of current device, can be at current electric quantity and the residue pot life of the demonstration screen display current device of current device, thus, make user can understand intuitively current electric quantity and the residue pot life of equipment, at the residue pot life of equipment, more in short-term, user can charge in time or change device battery equipment according to prompting.
Except show the current electric quantity and residue pot life of current device on current device, can also be by current electric quantity and the residue pot life of voice message current device.Particularly, after calculating the residue pot life of current device, the condition that can set based on user is carried out timing voice message to the residue pot life of current device, for example, in the time of can being 30 minutes at the residue pot life of current device, at interval of 10 clocks, the residue pot life of current device is carried out to voice message.Thus, make user when the residue pot life of hearing equipment is not enough, in time for equipment charges or change device battery, continue use equipment.
In addition, also can the trigger request based on user carry out voice message to the residue pot life of current device.Particularly, before the trigger request based on user is carried out voice message to the residue pot life of current device, the operating key that shows voice prompting residue pot life on current device, if user need to obtain the residue pot life of current device, user can send trigger request to current device by for example clicking this operating key, current device will obtain the trigger request of user to operating key, and according to trigger request, the residue pot life of current device is carried out to voice message.Thus, make user can understand quickly and easily the residue pot life of current device, and when less in excess time of voice message current device, user can charge in time or change device battery, equipment convenient for users to equipment.
The method of the equipment that the obtains residue pot life of the embodiment of the present invention, by obtaining the current electric quantity of current device, and the power consumption details information based on historical power consumption information acquisition current device current slot, and accurately calculate the corresponding residue pot life of current device current electric quantity according to the power consumption details information of current slot and current electric quantity, thus, make the accurately residue pot life of equipment of user.
In order to realize above-described embodiment, the present invention also proposes a kind of device that obtains equipment residue pot life.
Fig. 3 is the structural representation that obtains according to an embodiment of the invention the device of equipment residue pot life.
As shown in Figure 3, the device that obtains equipment residue pot life comprises: the first acquisition module 11, the second acquisition module 12 and computing module 13.
Particularly, the first acquisition module 11 is for obtaining the current electric quantity of current device; The second acquisition module 12 is for the power consumption details information based on historical power consumption details information acquisition current device current slot; And computing module 13 is for calculating the residue pot life of current device according to the power consumption details information of current electric quantity and current slot.
Wherein, above-mentioned the first acquisition module 11 can obtain current electric quantity by calling the application programming interface API that current device battery is corresponding.
In addition, said apparatus can also comprise output module 14, as shown in Figure 4.
Wherein, output module 14, for after calculating the residue pot life of current device, is exported the residue pot life of current device.
Above-mentioned output module 14 can also comprise display unit 141 and voice alerting unit 142.Wherein, display unit 141 for showing the residue pot life of current device on current device; Voice alerting unit 142 is carried out voice message for the residue pot life to current device.
Particularly, above-mentioned voice alerting unit 142 can also comprise the first voice message subelement 1421 and the second voice message subelement 1422.Wherein, the first voice message subelement 1421 carries out timing voice message for the residue pot life to current device; And/or second voice message subelement 1422 for the trigger request based on user, the residue pot life of current device is carried out to voice message.
Above-mentioned display unit 141 also, for before the residue pot life of current device being carried out to voice message in the trigger request of the second voice message subelement 1422 based on user, shows the operating key of voice prompting residue pot life on current device.Above-mentioned the second voice message subelement 1422, specifically for obtaining the trigger request of user to operating key, carries out voice message according to trigger request to the residue pot life of current device.
By above-mentioned display unit 141 and voice alerting unit 142, make user can understand in time current electric quantity and the residue pot life of equipment, in current electric quantity, more in short-term, user can charge in time or change device battery equipment according to prompting for not enough or residue pot life.
In addition, said apparatus can also comprise the 3rd acquisition module 15 and determination module 16, wherein, and the 3rd acquisition module, for before the power consumption details information based on historical power consumption details information acquisition current device current slot, obtaining the historical power consumption data of current device at the second acquisition module 12; Determination module 16 is for determining the historical power consumption details information of the first kind and the historical power consumption details information of Second Type according to historical power consumption data.
Wherein, the historical power consumption details information of the historical power consumption details information of the first kind and Second Type all comprises time period information and corresponding power consumption details information thereof.
Particularly, the 3rd acquisition module 15 can counting user be for example used the historical data of current device in one week in the schedule time, for example, at interval of within 15 minutes, recording the power consumption of current device, after record one week, determination module 16 carries out by the historical data to recorded time period information and corresponding power consumption details information and time period information and the corresponding power consumption details information that festivals or holidays, type comprised that analyzing and processing determines that working day, type comprised, wherein, corresponding power consumption of each time period can be type or the mean value of the corresponding corresponding power consumption of time period that festivals or holidays, type recorded on working day.Table 1 is all part power consumption data that records current device.
Power consumption (%) 9:00-9:15 9:15-9:30 9:30-9:45 9:45-10:00
Monday 1.1% 1.0% 1.1% 3%
Tu. 1.0% 1.1% 1.1% 4%
Wednesday 1.2% 1.2% 1.0% 5%
Thursday 1.1% 1.0% 1.1% 3%
Friday 1.1% 1.2% 1.2% 5%
Saturday 5% 7% 10% 10%
Sun. 7% 5% 10% 12%
Table 1
For instance, after the part historical data of power consumption that obtains corresponding 9 o'clock to 10 o'clock to Sun. Monday of as shown in table 1 current device, by analyzing, can obtain type and the power consumption scale of festivals or holidays corresponding time period of type on as shown in table 2 working day.
Power consumption (%) 9:00-9:15 9:15-9:30 9:30-9:45 9:45-10:00
Working day type 1.1% 1.1% 1.1% 4%
Festivals or holidays type 6% 6% 10% 11%
Table 2
Wherein, these four corresponding power consumption of time period of the corresponding 9:00-9:15 of table 2 type on working day, 9:15-9:30,9:30-9:45 and 9:45-10:00 are the mean value of these four corresponding power consumption of time period of MONDAY to FRIDAY, these four corresponding power consumption of time period of the corresponding 9:00-9:15 of type festivals or holidays, 9:15-9:30,9:30-9:45 and 9:45-10:00 be Saturday and Sun. these four corresponding power consumption of time period mean value.
Above-mentioned the second acquisition module 12 can also comprise determining unit 121 and acquiring unit 122, and wherein, determining unit 121 is for determining type information corresponding to current slot; Acquiring unit 122 is for obtaining the historical power consumption details information of corresponding types according to type information, according to the power consumption details information of the historical power consumption details information acquisition current slot of corresponding types, wherein, the historical power consumption details information of corresponding types is the historical power consumption details information of the first kind or Second Type.
The process that the said apparatus that comprises the first acquisition module 11, the second acquisition module 12 and computing module 13 obtains current device residue pot life can, referring to Fig. 1, not repeat herein.
The device of the equipment that the obtains residue pot life of the embodiment of the present invention, by the first acquisition module, obtain the current electric quantity of current device, and by the power consumption details information of the second acquisition module based on historical power consumption information acquisition current device current slot, and according to the power consumption details information of current slot and current electric quantity, accurately calculate the corresponding residue pot life of current device current electric quantity by computing module, thus, make the accurately residue pot life of equipment of user.
In order to realize above-described embodiment, the present invention also proposes a kind of mobile terminal, this mobile terminal comprises housing, processor, storer, circuit board and power circuit, wherein, foregoing circuit plate is placed in the interior volume that above-mentioned housing surrounds, and above-mentioned processor and above-mentioned storer are arranged on foregoing circuit plate; Above-mentioned power circuit, is used to each circuit or the device power supply of above-mentioned mobile terminal; Above-mentioned storer is for stores executable programs code; Above-mentioned processor moves the program corresponding with above-mentioned executable program code by reading the executable program code of storing in above-mentioned storer, for carrying out following steps:
S101 ', the current electric quantity of acquisition current device.
Particularly, can obtain by calling application programming interface API that current device battery is corresponding the current electric quantity of current device.
S102 ', the power consumption details information based on historical power consumption details information acquisition current device current slot.
In this embodiment, before the power consumption details information based on historical power consumption details information acquisition current device current slot, can also comprise: the historical power consumption data that obtain current device; And determine the historical power consumption details information of the first kind and the historical power consumption details information of Second Type according to historical power consumption data.Wherein, the historical power consumption details information of the historical power consumption details information of the first kind and Second Type all comprises time period information and corresponding power consumption details information thereof.Particularly, the historical power consumption details information of the first kind can be the historical power consumption details information of working day or festivals or holidays, the historical power consumption details information of Second Type can for festivals or holidays or working day type historical power consumption details information.
Particularly, can counting user in the schedule time, for example use the historical data of current device in one week, for example, at interval of within 15 minutes, recording the power consumption of current device, after record one week, by the historical data to recorded, carry out time period information and corresponding power consumption details information and time period information and the corresponding power consumption details information that festivals or holidays, type comprised that analyzing and processing determines that working day, type comprised, wherein, corresponding power consumption of each time period can be type or the mean value of the corresponding corresponding power consumption of time period that festivals or holidays, type recorded on working day.Table 1 is all part power consumption data that records current device.
Power consumption (%) 9:00-9:15 9:15-9:30 9:30-9:45 9:45-10:00
Monday 1.1% 1.0% 1.1% 3%
Tu. 1.0% 1.1% 1.1% 4%
Wednesday 1.2% 1.2% 1.0% 5%
Thursday 1.1% 1.0% 1.1% 3%
Friday 1.1% 1.2% 1.2% 5%
Saturday 5% 7% 10% 10%
Sun. 7% 5% 10% 12%
Table 1
For instance, after the part historical data of power consumption that obtains corresponding 9 o'clock to 10 o'clock to Sun. Monday of as shown in table 1 current device, by analyzing, can obtain type and the power consumption scale of festivals or holidays corresponding time period of type on as shown in table 2 working day.
Power consumption (%) 9:00-9:15 9:15-9:30 9:30-9:45 9:45-10:00
Working day type 1.1% 1.1% 1.1% 4%
Festivals or holidays type 6% 6% 10% 11%
Table 2
Wherein, these four corresponding power consumption of time period of the corresponding 9:00-9:15 of table 2 type on working day, 9:15-9:30,9:30-9:45 and 9:45-10:00 are the mean value of these four corresponding power consumption of time period of MONDAY to FRIDAY, these four corresponding power consumption of time period of the corresponding 9:00-9:15 of type festivals or holidays, 9:15-9:30,9:30-9:45 and 9:45-10:00 be Saturday and Sun. these four corresponding power consumption of time period mean value.
Should be appreciated that the above-mentioned schedule time can be a week, can also be one month, six months (half a year) or 12 months (1 year), and the above-mentioned schedule time can according to circumstances arrange, and this embodiment does not limit Preset Time.
In this embodiment, power consumption details information based on historical power consumption details information acquisition current device current slot can comprise: determine the type information that current slot is corresponding, and the historical power consumption details information that obtains corresponding types according to type information, according to the power consumption details information of the historical power consumption details information acquisition current slot of corresponding types, wherein, the historical power consumption details information of corresponding types is the historical power consumption details information of the first kind or Second Type.
Wherein, type information can comprise the first kind and Second Type.Particularly, the first kind can for working day type or festivals or holidays type, Second Type can for festivals or holidays type or working day type.
Particularly, can use the current slot of current device to determine the type information that current slot is corresponding according to user.For example, user on Monday uses current device can determine that the type of the current slot that current device is corresponding is type on working day.
Furthermore, in type corresponding to current slot that obtains current device, be that the first kind is for example after type on working day, can according to type on working day obtain in current device, record working day type historical power consumption details, then according to working day type the historical power consumption details user that obtains current slot use the power consumption custom of current device.
The above-mentioned historical power consumption details that obtain corresponding types based on type corresponding to current slot, and the power consumption details information corresponding to current slot of the historical power consumption details acquisition based on corresponding types, can make the power consumption details that the current slot that obtains is corresponding more accurate, for the residue pot life of follow-up accurate calculating current device provides foundation.
S103 ', calculates the residue pot life of current device according to the power consumption details information of current electric quantity and current slot.
Particularly, after the current electric quantity of equipment and the power consumption details information of current slot, can accurately calculate according to the power consumption details information of current slot and current electric quantity the residue pot life of the current electric quantity of current device.
In this embodiment, after calculating the residue pot life of current device, can also comprise S104 ', as shown in Figure 2.
S104 ', the residue pot life of output current device.
In this embodiment, the residue pot life of output current device can comprise: the residue pot life that shows current device on current device; And/or the residue pot life of current device is carried out to voice message.
Particularly, after calculating the residue pot life of current device, can be at current electric quantity and the residue pot life of the demonstration screen display current device of current device, thus, make user can understand in real time current electric quantity and the residue pot life of equipment, at the residue pot life of equipment, more in short-term, user can charge in time or change device battery equipment according to prompting.
Except show the current electric quantity and residue pot life of current device on current device, can also be by current electric quantity and the residue pot life of voice message current device.Particularly, after calculating the residue pot life of current device, the condition that can set based on user is carried out timing voice message to the residue pot life of current device, for example, in the time of can being 30 minutes at the residue pot life of current device, at interval of 10 clocks, the residue pot life of current device is carried out to voice message.Thus, make user when the residue pot life of hearing equipment is not enough, in time for equipment charges or change device battery, continue use equipment.
In addition, also can the trigger request based on user carry out voice message to the residue pot life of current device.Particularly, the operating key that shows voice prompting residue pot life on current device, if user need to obtain the residue pot life of current device, user can send trigger request to current device by for example clicking this operating key, current device will obtain the trigger request of user to operating key, and according to trigger request, the residue pot life of current device is carried out to voice message.Thus, make user can understand quickly and easily the residue pot life of current device, and when less in excess time of voice message current device, user can charge in time or change device battery, equipment convenient for users to equipment.
The mobile terminal of the embodiment of the present invention, by obtaining the current electric quantity of current device, and the power consumption details information based on historical power consumption information acquisition current device current slot, and accurately calculate the corresponding residue pot life of current device current electric quantity according to the power consumption details information of current slot and current electric quantity, thus, make the accurately residue pot life of equipment of user.
In the description of this instructions, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or example in conjunction with specific features, structure, material or the feature of this embodiment or example description.In this manual, to the schematic statement of above-mentioned term not must for be identical embodiment or example.And, the specific features of description, structure, material or feature can one or more embodiment in office or example in suitable mode combination.In addition,, not conflicting in the situation that, those skilled in the art can carry out combination and combination by the feature of the different embodiment that describe in this instructions or example and different embodiment or example.
In addition, term " first ", " second " be only for describing object, and can not be interpreted as indication or hint relative importance or the implicit quantity that indicates indicated technical characterictic.Thus, at least one this feature can be expressed or impliedly be comprised to the feature that is limited with " first ", " second ".In description of the invention, the implication of " a plurality of " is at least two, for example two, and three etc., unless otherwise expressly limited specifically.
In process flow diagram or any process of otherwise describing at this or method describe and can be understood to, represent to comprise that one or more is for realizing module, fragment or the part of code of executable instruction of the step of specific logical function or process, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by contrary order, carry out function, this should be understood by embodiments of the invention person of ordinary skill in the field.
The logic and/or the step that in process flow diagram, represent or otherwise describe at this, for example, can be considered to for realizing the sequencing list of the executable instruction of logic function, may be embodied in any computer-readable medium, for instruction execution system, device or equipment (as computer based system, comprise that the system of processor or other can and carry out the system of instruction from instruction execution system, device or equipment instruction fetch), use, or use in conjunction with these instruction execution systems, device or equipment.With regard to this instructions, " computer-readable medium " can be anyly can comprise, storage, communication, propagation or transmission procedure be for instruction execution system, device or equipment or the device that uses in conjunction with these instruction execution systems, device or equipment.The example more specifically of computer-readable medium (non-exhaustive list) comprises following: the electrical connection section (electronic installation) with one or more wirings, portable computer diskette box (magnetic device), random-access memory (ram), ROM (read-only memory) (ROM), the erasable ROM (read-only memory) (EPROM or flash memory) of editing, fiber device, and portable optic disk ROM (read-only memory) (CDROM).In addition, computer-readable medium can be even paper or other the suitable medium that can print described program thereon, because can be for example by paper or other media be carried out to optical scanning, then edit, decipher or process in electronics mode and obtain described program with other suitable methods if desired, be then stored in computer memory.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, a plurality of steps or method can realize with being stored in storer and by software or the firmware of suitable instruction execution system execution.For example, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: have for data-signal being realized to the discrete logic of the logic gates of logic function, the special IC with suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is to come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, this program, when carrying out, comprises step of embodiment of the method one or a combination set of.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, can be also that the independent physics of unit exists, and also can be integrated in a module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and also can adopt the form of software function module to realize.If described integrated module usings that the form of software function module realizes and during as production marketing independently or use, also can be stored in a computer read/write memory medium.
The above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.Although illustrated and described embodiments of the invention above, be understandable that, above-described embodiment is exemplary, can not be interpreted as limitation of the present invention, and those of ordinary skill in the art can change above-described embodiment within the scope of the invention, modification, replacement and modification.

Claims (20)

1. a method of obtaining equipment residue pot life, is characterized in that, comprising:
Obtain the current electric quantity of current device;
Power consumption details information based on current device current slot described in historical power consumption details information acquisition;
According to the power consumption details information of described current electric quantity and current slot, calculate the residue pot life of described current device.
2. method according to claim 1, is characterized in that, after the described residue pot life that calculates described current device, also comprises:
Export the residue pot life of described current device.
3. method according to claim 1, is characterized in that, the current electric quantity of described acquisition current device, comprising:
By calling application programming interface API corresponding to described current device battery, obtain described current electric quantity.
4. method according to claim 1, is characterized in that, before the described power consumption details information based on current device current slot described in historical power consumption details information acquisition, also comprises:
Obtain the historical power consumption data of described current device;
According to described historical power consumption data, determine the historical power consumption details information of the first kind and the historical power consumption details information of Second Type.
5. method according to claim 2, is characterized in that, the residue pot life of the described current device of described output, comprising:
The residue pot life that shows described current device on described current device; And/or
Residue pot life to described current device carries out voice message.
6. method according to claim 4, is characterized in that, the described power consumption details information based on current device current slot described in historical power consumption details information acquisition, comprising:
Determine the type information that current slot is corresponding;
According to described type information, obtain the historical power consumption details information of corresponding types, according to the power consumption details information of current slot described in the historical power consumption details information acquisition of corresponding types, wherein, the historical power consumption details information of described corresponding types is the historical power consumption details information of the described first kind or described Second Type.
7. method according to claim 4, is characterized in that, the historical power consumption details information of the historical power consumption details information of the described first kind and Second Type all comprises time period information and corresponding power consumption details information thereof.
8. method according to claim 5, is characterized in that, the described residue pot life to described current device carries out voice message, comprising:
Residue pot life to described current device carries out timing voice message; And/or
Trigger request based on user is carried out voice message to the residue pot life of described current device.
9. method according to claim 8, is characterized in that, before the described trigger request based on user is carried out voice message to the residue pot life of described current device, also comprises:
The operating key that shows voice prompting residue pot life on described current device.
10. method according to claim 9, is characterized in that, the described trigger request based on user is carried out voice message to the residue pot life of described current device, comprising:
Obtain the trigger request of user to described operating key, according to described trigger request, the residue pot life of described current device is carried out to voice message.
11. 1 kinds of devices that obtain equipment residue pot life, is characterized in that, comprising:
The first acquisition module, for obtaining the current electric quantity of current device;
The second acquisition module, for the power consumption details information based on current device current slot described in historical power consumption details information acquisition;
Computing module, for calculating the residue pot life of described current device according to the power consumption details information of described current electric quantity and current slot.
12. devices according to claim 11, is characterized in that, also comprise:
Output module, for after the described residue pot life that calculates described current device, exports the residue pot life of described current device.
13. devices according to claim 11, is characterized in that, described the first acquisition module, specifically for: by calling application programming interface API corresponding to described current device battery, obtain described current electric quantity.
14. devices according to claim 11, is characterized in that, also comprise:
The 3rd acquisition module, before the power consumption details information for described the second acquisition module based on current device current slot described in historical power consumption details information acquisition, obtains the historical power consumption data of described current device;
Determination module, for determining the historical power consumption details information of the first kind and the historical power consumption details information of Second Type according to described historical power consumption data.
15. devices according to claim 12, is characterized in that, described output module, comprising:
Display unit, for showing the residue pot life of described current device on described current device; And/or
Voice alerting unit, carries out voice message for the residue pot life to described current device.
16. devices according to claim 14, is characterized in that, described the second acquisition module, comprising:
Determining unit, for determining type information corresponding to current slot;
Acquiring unit, for obtain the historical power consumption details information of corresponding types according to described type information, according to the power consumption details information of current slot described in the historical power consumption details information acquisition of corresponding types, wherein, the historical power consumption details information of described corresponding types is the historical power consumption details information of the described first kind or described Second Type.
17. devices according to claim 14, is characterized in that, the historical power consumption details information of the historical power consumption details information of the described first kind and Second Type all comprises time period information and corresponding power consumption details information thereof.
18. devices according to claim 15, is characterized in that, described voice alerting unit, comprising:
The first voice message subelement, carries out timing voice message for the residue pot life to described current device; And/or
The second voice message subelement, carries out voice message for the trigger request based on user to the residue pot life of described current device.
19. devices according to claim 18, is characterized in that, described display unit, also for:
Before the trigger request of described the second voice message subelement based on user carried out voice message to the residue pot life of described current device, on described current device, show the operating key of voice prompting residue pot life.
20. devices according to claim 19, is characterized in that, described the second voice message subelement, specifically for:
Obtain the trigger request of user to described operating key, according to described trigger request, the residue pot life of described current device is carried out to voice message.
CN201410160938.XA 2014-04-21 2014-04-21 Method and device for acquiring remaining available time of equipment Pending CN103941841A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410160938.XA CN103941841A (en) 2014-04-21 2014-04-21 Method and device for acquiring remaining available time of equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410160938.XA CN103941841A (en) 2014-04-21 2014-04-21 Method and device for acquiring remaining available time of equipment

Publications (1)

Publication Number Publication Date
CN103941841A true CN103941841A (en) 2014-07-23

Family

ID=51189538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410160938.XA Pending CN103941841A (en) 2014-04-21 2014-04-21 Method and device for acquiring remaining available time of equipment

Country Status (1)

Country Link
CN (1) CN103941841A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104796533A (en) * 2015-03-16 2015-07-22 深圳市金立通信设备有限公司 Terminal
CN104866058A (en) * 2015-05-22 2015-08-26 北京天宇朗通通信设备股份有限公司 Method and apparatus for determining battery endurance of electronic device
CN104869241A (en) * 2015-05-04 2015-08-26 惠州Tcl移动通信有限公司 Intelligent terminal and electric quantity prompting method thereof
CN107506017A (en) * 2017-07-21 2017-12-22 珠海市魅族科技有限公司 Charging reminding method and device, electronic equipment and computer-readable recording medium
CN108271237A (en) * 2017-01-03 2018-07-10 中兴通讯股份有限公司 The method and apparatus that business is performed for control terminal
CN108932048A (en) * 2018-06-11 2018-12-04 Oppo(重庆)智能科技有限公司 Determine the method and Related product of battery available duration
CN110391685A (en) * 2019-08-06 2019-10-29 密码精灵有限公司 Charge control method, device and the intelligent door lock of intelligent door lock
CN110567104A (en) * 2019-09-26 2019-12-13 珠海格力电器股份有限公司 method and device for controlling operation of internal machine of multi-split air conditioning system and computer equipment
CN110600822A (en) * 2019-08-15 2019-12-20 北京致行慕远科技有限公司 Charging method, electronic equipment and computer storage medium
CN111768155A (en) * 2020-06-30 2020-10-13 上海木木聚枞机器人科技有限公司 Scheduling control method, intelligent mobile device, server and storage medium
CN116565860A (en) * 2023-07-10 2023-08-08 深圳安培时代数字能源科技有限公司 Power supply scheduling method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103002512A (en) * 2012-11-20 2013-03-27 北京百度网讯科技有限公司 Flow control method and device for mobile terminal
CN103117569A (en) * 2011-09-26 2013-05-22 索尼公司 Power storage control apparatus and power storage control method
CN103455126A (en) * 2013-09-16 2013-12-18 贝壳网际(北京)安全技术有限公司 Method and client device for determining residual service life of battery and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103117569A (en) * 2011-09-26 2013-05-22 索尼公司 Power storage control apparatus and power storage control method
CN103002512A (en) * 2012-11-20 2013-03-27 北京百度网讯科技有限公司 Flow control method and device for mobile terminal
CN103455126A (en) * 2013-09-16 2013-12-18 贝壳网际(北京)安全技术有限公司 Method and client device for determining residual service life of battery and mobile terminal

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104796533A (en) * 2015-03-16 2015-07-22 深圳市金立通信设备有限公司 Terminal
CN104869241A (en) * 2015-05-04 2015-08-26 惠州Tcl移动通信有限公司 Intelligent terminal and electric quantity prompting method thereof
CN104869241B (en) * 2015-05-04 2018-02-23 惠州Tcl移动通信有限公司 Intelligent terminal and its electric quantity reminding method
CN104866058A (en) * 2015-05-22 2015-08-26 北京天宇朗通通信设备股份有限公司 Method and apparatus for determining battery endurance of electronic device
CN108271237A (en) * 2017-01-03 2018-07-10 中兴通讯股份有限公司 The method and apparatus that business is performed for control terminal
CN107506017A (en) * 2017-07-21 2017-12-22 珠海市魅族科技有限公司 Charging reminding method and device, electronic equipment and computer-readable recording medium
CN108932048A (en) * 2018-06-11 2018-12-04 Oppo(重庆)智能科技有限公司 Determine the method and Related product of battery available duration
CN110391685A (en) * 2019-08-06 2019-10-29 密码精灵有限公司 Charge control method, device and the intelligent door lock of intelligent door lock
CN110391685B (en) * 2019-08-06 2023-12-12 密码精灵有限公司 Charging control method and device for intelligent door lock and intelligent door lock
CN110600822B (en) * 2019-08-15 2021-08-31 纳恩博(常州)科技有限公司 Charging method, electronic equipment and computer storage medium
CN110600822A (en) * 2019-08-15 2019-12-20 北京致行慕远科技有限公司 Charging method, electronic equipment and computer storage medium
CN110567104B (en) * 2019-09-26 2020-09-11 珠海格力电器股份有限公司 Method and device for controlling operation of internal machine of multi-split air conditioning system and computer equipment
CN110567104A (en) * 2019-09-26 2019-12-13 珠海格力电器股份有限公司 method and device for controlling operation of internal machine of multi-split air conditioning system and computer equipment
CN111768155A (en) * 2020-06-30 2020-10-13 上海木木聚枞机器人科技有限公司 Scheduling control method, intelligent mobile device, server and storage medium
CN111768155B (en) * 2020-06-30 2024-03-26 上海木木聚枞机器人科技有限公司 Scheduling control method, intelligent mobile device, server and storage medium
CN116565860A (en) * 2023-07-10 2023-08-08 深圳安培时代数字能源科技有限公司 Power supply scheduling method and device
CN116565860B (en) * 2023-07-10 2023-10-10 深圳安培时代数字能源科技有限公司 Power supply scheduling method and device

Similar Documents

Publication Publication Date Title
CN103941841A (en) Method and device for acquiring remaining available time of equipment
US9785428B2 (en) Internal software updating method and system
US11955827B2 (en) Rule based smart charging
Ferreira et al. Understanding human-smartphone concerns: a study of battery life
US8090415B2 (en) Intelligent battery warning system
CN103823543A (en) Portable electronic device and method for operating therein
CN110190643B (en) Method and device for reminding user of charging, wearable device and storage medium
CN104020420A (en) Residual cell electricity determination method, device and mobile terminal
CN102089731A (en) Mobile device, cell pack, semiconductor device, display control method, and display control program
CN106569921B (en) A kind of metering core clock processing method and processing device of twin-core intelligent electric energy meter
CN104298584A (en) Method and device for acquiring application program with abnormal power consumption and mobile terminal
CN104869241B (en) Intelligent terminal and its electric quantity reminding method
US11502529B2 (en) Battery charging method employing historical data
CN103347118A (en) Message prompting method and device
KR20130055409A (en) Power managing apparatus and method for the same
CN110783970B (en) Charging method, device, charging terminal and computer readable storage medium
CN109040467A (en) Interface electricity determines method, apparatus, storage medium and mobile terminal
CN107506017A (en) Charging reminding method and device, electronic equipment and computer-readable recording medium
CN104076897A (en) Information processing method and electronic equipment
KR101521585B1 (en) The method and apparatus for providing use time information of mobile battery
CN108595252A (en) A kind of event methods of exhibiting, device, terminal and readable storage medium storing program for executing
CN103345440B (en) Statistical method and device of accumulated running time of electronic equipment and electronic equipment
CN110138037B (en) Method and device for reminding user of charging, wearable device and storage medium
CN201111072Y (en) Identification record apparatus
US20080094246A1 (en) Auto turn-on module and player apparatus and method for turning on a system automatically

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140723