CN104267795A - Capacity management method, capacity management device and electronic equipment - Google Patents

Capacity management method, capacity management device and electronic equipment Download PDF

Info

Publication number
CN104267795A
CN104267795A CN201410460975.2A CN201410460975A CN104267795A CN 104267795 A CN104267795 A CN 104267795A CN 201410460975 A CN201410460975 A CN 201410460975A CN 104267795 A CN104267795 A CN 104267795A
Authority
CN
China
Prior art keywords
electronic equipment
application
threshold value
electric quantity
information
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
CN201410460975.2A
Other languages
Chinese (zh)
Other versions
CN104267795B (en
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410460975.2A priority Critical patent/CN104267795B/en
Publication of CN104267795A publication Critical patent/CN104267795A/en
Application granted granted Critical
Publication of CN104267795B publication Critical patent/CN104267795B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/28Supervision thereof, e.g. detecting power-supply failure by out of limits supervision

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a capacity management method, a capacity management device and electronic equipment. The capacity management method comprises detecting state information of applications in the electronic equipment when the battery remaining capacity of the electronic equipment is less than or equal to a prompt threshold value; confirming to-be executed operations according to the detected state information; generating application prompt information which is relevant to at least a part of the to-be executed operations according to the confirmed to-be executed operations; displaying the application prompt information in the electronic equipment; controlling the electronic equipment to shut down when the battery remaining capacity is less than or equal to a shutdown threshold value, wherein the shutdown threshold value is less than the prompt threshold value. According to the technical scheme of the capacity management method, important operations in the electronic equipment can be executed before shutdown of the electronic equipment due to low capacity and accordingly the user utilization experience is improved.

Description

Electric quantity managing method, managing electric quantity device and electronic equipment
Technical field electronic technology field, relates to a kind of electric quantity managing method, managing electric quantity device and electronic equipment particularly.
Background technology
Electronic equipment becomes the part, particularly portable electric appts of people's life gradually.But many electronic equipments need battery to power usually.The store electrical energy of battery limited in one's ability, and when the exhausting of battery electric quantity, electronic equipment can automatic shutdown.If electronic equipment exhausts automatic shutdown due to electricity, then a lot of critical events in electronic equipment may be caused to process.This causes very big inconvenience to the use of user.
In existing technology, provide various capacity prompt technology, make user can grasp the dump energy of electronic equipment, thus be convenient to user the critical event in electronic equipment is processed.But current various capacity prompt technology are difficult to the pot life showing electronic equipment to user exactly.And along with the change of the using state of electronic equipment, the pot life of electronic equipment also can change, such as, under identical dump energy, the residue stand-by time of electronic equipment is different from its residue air time.Therefore, be difficult to ensure to process the critical event in electronic equipment based on capacity prompt technology.
When the battery of electronic equipment soon exhausts, low electricity prompting can also be carried out in the electronic device.When user does not use electronic equipment, may be difficult to find that this low electricity is reminded, thus be difficult to process the critical event in electronic equipment in time.This may cause the omission of the critical event of electronic equipment equally.
Therefore, it is desirable to reasonably to manage battery electric quantity, omit the event wanted that user overstated to avoid electricity to exhaust during automatic shutdown.
Summary of the invention
The embodiment of the present application provides a kind of electric quantity managing method, managing electric quantity device and electronic equipment, and it can impel the important operation performed in electronic equipment before electronic equipment shuts down due to low electricity, thus improve the experience of user.
First aspect, provide a kind of electric quantity managing method for electronic equipment, described electronic equipment can comprise for the battery to this power electronic equipment, and at least one application has been installed in this electronic equipment, this electric quantity managing method can comprise: when the dump energy of described battery is less than or equal to prompting threshold value, the status information of each application in detected electrons equipment; Pending operation is determined based on detected status information; The Application Hints information relevant at least partially to described pending operation is generated based on determined pending operation; Present described Application Hints information in the electronic device; When the dump energy of described battery is less than or equal to a shutdown threshold value, control the shutdown of described electronic equipment, this shutdown threshold value is less than described prompting threshold value.
In conjunction with first aspect, in a kind of implementation of first aspect, described electric quantity managing method also can comprise: reset described shutdown threshold value based at least one in execution time of determined pending operation and quantity.
In conjunction with first aspect and above-mentioned implementation thereof, in another implementation of first aspect, at least one in the described execution time based on determined pending operation and quantity arranges described shutdown threshold value and can comprise: when to comprise the execution time be the subsequent operation after electronic equipment shutdown in determined pending operation, the electricity described shutdown threshold value being set to the start of described electronic equipment and performing needed for described subsequent operation, described electric quantity managing method also can comprise: restart described electronic equipment, and the described subsequent operation of execution time upper execution of continuous operation in the rear, after having run described subsequent operation, described electronic equipment is shut down.
In conjunction with first aspect and above-mentioned implementation thereof, in another implementation of first aspect, described electric quantity managing method also can comprise: when described dump energy reaches described prompting threshold value, send low power notification to each application run in the electronic device, preserve respective ephemeral data to make the application receiving this low power notification.
In conjunction with first aspect and above-mentioned implementation thereof, in another implementation of first aspect, described electric quantity managing method also can comprise: while presenting described Application Hints information in the electronic device, for user provides the action link about described Application Hints information; Receive the instruction of user for described action link, and perform described pending operation according to described instruction.
In conjunction with first aspect and above-mentioned implementation thereof, in another implementation of first aspect, described electric quantity managing method also can comprise: while presenting described Application Hints information in the electronic device, obtain and be used in advance for the forwarding configuration information of determined pending operation, and automatically perform described pending operation according to this forwarding configuration information.
In conjunction with first aspect and above-mentioned implementation thereof, in another implementation of first aspect, described electric quantity managing method also can comprise: while presenting described Application Hints information in the electronic device, judges whether electronic equipment is used; When judging electronic equipment by use, perform at least one in described pending operation, to show the content in application in the electronic device.
Second aspect, provide a kind of managing electric quantity device for electronic equipment, described electronic equipment can comprise for the battery to this power electronic equipment, and at least one application has been installed in this electronic equipment, this managing electric quantity device can comprise: detecting unit, when the dump energy of described battery is less than or equal to prompting threshold value, the status information of each application in detected electrons equipment; Determining unit, for determining pending operation based on detected status information; Generation unit, for generating the Application Hints information relevant at least partially to described pending operation based on determined pending operation; Display unit, for presenting described Application Hints information in the electronic device; Control module, when the dump energy of described battery unit is less than or equal to a shutdown threshold value, control the shutdown of described electronic equipment, this shutdown threshold value is less than described prompting threshold value.
In conjunction with second aspect, in a kind of implementation of second aspect, described managing electric quantity device also can comprise: setting unit, for resetting described shutdown threshold value based at least one in execution time of determined pending operation and quantity.
In conjunction with second aspect and above-mentioned implementation thereof, in another implementation of second aspect, when the determined pending operation of described determining unit comprise the execution time be electronic equipment shutdown after subsequent operation time, the electricity that described shutdown threshold value can be set to the start of described electronic equipment and perform needed for described subsequent operation by described setting unit, described control module can restart described electronic equipment, and control the described subsequent operation of upper execution of the continuous execution time operated in the rear of this electronic equipment, and after having run described subsequent operation, control the shutdown of described electronic equipment.
In conjunction with second aspect and above-mentioned implementation thereof, in another implementation of second aspect, described managing electric quantity device also can comprise: transmitting element, for when described dump energy reaches described prompting threshold value, send low power notification to each application run in the electronic device, preserve respective ephemeral data to make the application receiving this low power notification.
In conjunction with second aspect and above-mentioned implementation thereof, in another implementation of second aspect, while described display unit can present described Application Hints information in the electronic device, for user provides the action link about described Application Hints information, described managing electric quantity device also can comprise receiving element, this receiving element receives the instruction of user for described action link, to perform described pending operation by described electronic equipment according to described instruction.
In conjunction with second aspect and above-mentioned implementation thereof, in another implementation of second aspect, when described display unit presents described Application Hints information in the electronic device, described control module can obtain in advance for the forwarding configuration information of determined pending operation, and controls electronic equipment and automatically perform described pending operation according to this forwarding configuration information.
In conjunction with second aspect and above-mentioned implementation thereof, in another implementation of second aspect, when described display unit presents described Application Hints information in the electronic device, whether described detecting unit can detect described electronic equipment and be used; When detecting unit judges electronic equipment by use, described control module can control electronic equipment to perform at least one in described pending operation, to show the content in application in the electronic device.
The third aspect, provides a kind of electronic equipment, comprises the managing electric quantity device above described in any one.
In the technical scheme of the electric quantity managing method according to the embodiment of the present application, managing electric quantity device and electronic equipment, by determining pending operation based on the status information of detected application and presenting the Application Hints information relevant at least partially of operation pending to this at electronic equipment, the important operation performed in electronic equipment can be impelled before electronic equipment shuts down due to low electricity, thus improve the experience of user.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present application, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the block diagram of the electronic equipment that the managing electric quantity scheme schematically illustrating the embodiment of the present application is applied to;
Fig. 2 is the process flow diagram of the electric quantity managing method schematically illustrated according to the application's example embodiment;
Fig. 3 is the process flow diagram schematically illustrating the method performing pending operation in the electric quantity managing method according to the application's example embodiment when presenting Application Hints information;
Fig. 4 is the process flow diagram schematically illustrating other example performing pending operation in the electric quantity managing method according to the application's example embodiment;
Fig. 5 is the block diagram of the managing electric quantity device schematically illustrated according to the application's example embodiment;
Fig. 6 is the block diagram of another managing electric quantity device schematically illustrated according to the application's example embodiment.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, be clearly and completely described the technical scheme in the embodiment of the present application, obviously, described embodiment is some embodiments of the present application, instead of whole embodiments.
The technical scheme of carrying out message notifying according to the embodiment of the present application can be applicable to various electronic equipment, include but not limited to smart mobile phone, flat computer, personal digital assistant, reader, audio player etc., the type of electronic equipment does not form the restriction to the embodiment of the present application.
Fig. 1 is the block diagram of the electronic equipment that the managing electric quantity scheme schematically illustrating the embodiment of the present application is applied to.As shown in Figure 1, described electronic equipment comprises for the battery to this power electronic equipment, and has installed application 1, application 2 in this electronic equipment.Battery is the indispensable module of portable electric appts, and what it made the work of electronic equipment not be limited to power supply is layout.Illustrate only two methods in FIG, the quantity of this application can also be 1, three, very or more.Described application can be typically micro-letter, document editor, music player, image viewer etc.
In existing technology, the dump energy of battery can be shown in the electronic device, but this display mode can not show the pot life of electronic equipment exactly to user; The low electricity of electronic equipment is reminded and also may be left in the basket.Correspondingly, cause the critical event in electronic equipment not to be processed, thus make troubles to user.
According in the technical scheme of the embodiment of the present application, dump energy for battery is provided with prompting threshold value and shutdown threshold value, thus when dump energy is between prompting threshold value and shutdown threshold value, the pending operation in the application in electronic equipment can be determined, Application Hints information is presented based on determined pending operation, perform described pending operation to point out, and shut down when dump energy reaches described shutdown threshold value.Utilize the technical scheme of the embodiment of the present application, make it possible to before electronic equipment shuts down due to low electricity, impel the important operation performed in electronic equipment, thus improve the experience of user.
Fig. 2 is the process flow diagram of the electric quantity managing method 200 schematically illustrated according to the application's example embodiment.This electric quantity managing method 200 can be applicable to the electronic equipment shown in Fig. 1, and this electronic equipment comprises for the battery to this power electronic equipment, and has wherein installed at least one application.
As shown in Figure 2, this electric quantity managing method 200 can comprise: when the dump energy of described battery is less than or equal to prompting threshold value, the status information (S210) of each application in detected electrons equipment; Pending operation (S220) is determined based on detected status information; The Application Hints information (S230) relevant at least partially to described pending operation is generated based on determined pending operation; Present described Application Hints information (S240) in the electronic device; When the dump energy of described battery is less than or equal to a shutdown threshold value, control the shutdown of described electronic equipment, this shutdown threshold value is less than described prompting threshold value (S250).
In S210, the information of the dump energy of the battery of electronic equipment can be obtained, and by the dump energy of described battery compared with prompting threshold value, when the dump energy of described battery is less than or equal to prompting threshold value, the status information of each application in detected electrons equipment.This prompting threshold value is the electricity for battery pre-set, and it can be 8%, 7% of total electricity that the battery of electronic equipment is filled etc., can also be specific charge value, such as 100 MAHs (mAh), 80mAh etc.
Typically, in the inside of battery, can voltameter be set, utilizes this voltameter to indicate dump energy in rechargeable battery and battery can also time of continued power in certain operating conditions.Correspondingly, the dump energy of battery can be obtained from this voltameter.Alternatively, the existing various dump energy that should be used for obtaining battery can also be utilized.
Application in electronic equipment can be various application that are existing or that occur in the future.The status information of this application can be apply performing or have pending task operating information, its can be such as short message application in whether there is the information not connecing short message, the editing mode information of the document edited, default calendar prompting mission bit stream, the playing progress rate information of video player, the missed call information etc. of communications applications.Exemplarily, the work state information of each application of operating system record of electronic equipment can be utilized, and carry out the status information of each application in detected electrons equipment by inquiring about the work state information recorded.The detection mode of status information does not form the restriction to the embodiment of the present application.
Each application detecting its status information can comprise the application just run in the foreground or backstage of electronic equipment, can also comprise the current subsequent applications not having operation still will be performed after the schedule time, such as, carry out the alarm clock reminded after 1 hour.For the application run just in the electronic device, when described dump energy reaches described prompting threshold value, low power notification can be sent to each application run, preserve respective ephemeral data to make the application receiving this low power notification.In the prior art, usually low power notification is shown so that user's process when dump energy reaches described prompting threshold value at electronic equipment.Now, if user does not have operating electronic equipment, then user can not preserve the ephemeral data in the application run in time.In the embodiment of the present application, substitute and show low power notification to user, but to the low electricity of the applicative notifications run in electronic equipment, this makes the application run automatically can perform process, and example preserves the progress etc. of the video/audio when the document of pre-editing and User Status, current viewing.
In S220, determine pending operation based on detected status information.After the status information that have detected each application in electronic equipment, each pending operation of applying can be known.Provide below and severally determine example.When short message application in do not exist do not connect short message time, determine short message application in there is no pending operation.When exist in short message application do not connect short message time, determine pending operation that short message is applied be open described in do not connect short message.When institute's detected state information instruction office application (such as, polaris office) is not used, determine that this office application does not exist pending operation.When institute detected state information instruction office application is just being used and the file opened do not preserve time, determine that on-unit is the file that preservation is opened.When there is no schedule in the calendar prompting application in electronic equipment, determine there is not pending operation in calendar prompting application.When the meeting reminded after having hour in the calendar prompting application in electronic equipment, determine that the pending operation that calendar prompting is applied within one hour, sends meeting to remind.Application for other can determine its pending operation similarly.
In S230, generate the Application Hints information relevant at least partially to described pending operation based on determined pending operation.This Application Hints information is for pointing out the existence of pending operation described in user, so that user performed each pending operation on one's own initiative before electronic equipment is due to low electricity shutdown.
Such as, this Application Hints information can be information of voice prompt, display Word message, the tinkle of bells information etc.Described Application Hints information can be the Application Hints information of detected all pending operation, also can be the Application Hints information of a part of pending operation.As previously mentioned, low power notification can be sent to each application run in the electronic device, preserve respective ephemeral data to make the application receiving this low power notification.That is, the application receiving this low power notification automatically can perform pending operation wherein, then do not need to generate relative Application Hints information.Only can also generate a kind of total information.User, after noticing this total information, just can process all pending operations continuously.
In S240, present generated Application Hints information in the electronic device.When Application Hints information speech information or the tinkle of bells information, the loudspeaker in electronic equipment can be utilized to present this Application Hints information.When Application Hints information is display Word message, the display in electronic equipment can be utilized to present this display Word message.In a word, suitable mode can be taked to present according to the classification of generated Application Hints information.
The object presenting described Application Hints information is to perform each pending operation.Fig. 3 is the process flow diagram schematically illustrating the method performing pending operation in the electric quantity managing method according to the application's example embodiment when presenting Application Hints information.In figure 3, give three kinds of modes to perform pending operation, as in Fig. 3 1., 2., 3. shown in.Mode 1. in, perform pending operation by step S241, S242, S243; Mode 2. in, perform pending operation by step S244, S245; Mode 3. in, perform pending operation by step S246, S247.These three kinds of modes are only schematic, can not be taken as the restriction to the embodiment of the present application.In the application, can utilize above-mentioned mode 1., 2., 3. in one or morely perform pending operation, and its execution time and order can adjust as required.In practice, other mode can also be taked to perform pending operation.Below in conjunction with Fig. 3, described three kinds of modes are described.
Mode is 1.: while presenting described Application Hints information in the electronic device, for user provides the action link (S241) about described Application Hints information; Receive the instruction (S242) of user for described action link; Described pending operation (S243) is performed with according to described instruction.Such as, display is when preserving the text prompt information of Edit Document on an electronic device, can arrange document storing link for this Edit Document in the side of this word information (such as lower right).When user clicks the document preservation link, the instruction that user links for described document storing can be received, thus can preserve by perform document immediately.Described action link makes user not need the application operated for carrying out documents editing just can directly preserve by perform document, namely can perform described pending operation expediently, more easily by user is accepted.Therefore, 1. Land use systems, while execution S240, performs pending operation.
Mode is 2.: while presenting described Application Hints information (S240) in the electronic device, obtain and be used in advance for the forwarding configuration information (S244) of determined pending operation, and automatically perform described pending operation (S245) according to this forwarding configuration information.Such as, when presented Application Hints information prompting there is missed call, do not connect note time, if be provided with missed call in electronic equipment or do not connect note and be forwarded to particular telephone number, then can for the missed call before shutdown, do not connect note and perform similar forwarding operation.Therefore, in low state of charge before being powered off, can obtain about missed call, the forwarding configuration information not connecing note, and automatically by the missed call on electronic equipment, do not connect note and be forwarded to described particular telephone number, thus user can check and not connect note or missed call on the communication facilities corresponding with described particular telephone number.Certainly, after electronic equipment shutdown, each does not connect note, missed call can be forwarded to the communication facilities corresponding with described particular telephone number by base station, and the electronic equipment that the electric quantity managing method that can not be sent to the embodiment of the present application is applied to.
Mode is 3.: while presenting described Application Hints information in the electronic device, judge whether electronic equipment is used (S246); When judging electronic equipment by use, perform at least one in described pending operation, to show the content (S247) in application in the electronic device.Such as, if find that when presenting Application Hints information user uses electronic equipment, then directly can open and not connect note, send prompting etc. (i.e. the directly pending operation of execution) about schedule to be reminded.Like this, user just can direct viewing operating result without the need to operation, thus simplifies the operation of user.In S246, can judge whether electronic equipment is used by user according to system information, can judge according to the touch information on touch-screen whether electronic equipment is used by user, concrete judgment mode does not form the restriction to the embodiment of the present application yet.
In S250, when the dump energy of described battery is less than or equal to a shutdown threshold value, control the shutdown of described electronic equipment, this shutdown threshold value is less than described prompting threshold value.Through other possible operation of each step above and user, the dump energy of battery can continue to reduce, thus shutdown.Such as, this shutdown threshold value can be fixing, and it is such as zero electricity, and namely electricity uses up rear shutdown.When determined pending operation comprise the execution time be electronic equipment shutdown after subsequent operation time, if do not perform described subsequent operation before electronic equipment shutdown, then this is that the shutdown threshold value of zero electricity causes all cannot performing described subsequent operation before battery is charged, thus user may be caused to omit important information.For this reason, can reset described shutdown threshold value based at least one in the execution time of determined pending operation and quantity, the shutdown threshold value that this resets can be greater than zero.Like this, after electronic equipment shutdown, can start shooting before the execution time that will perform described subsequent operation, and perform described subsequent operation on this execution time.
Fig. 4 is the process flow diagram schematically illustrating other example performing pending operation in the electric quantity managing method according to the application's example embodiment.In the example of the pending operation of execution as shown in Figure 4, when to comprise the execution time be the subsequent operation after electronic equipment shutdown in determined pending operation, described shutdown threshold value is set to the start of described electronic equipment and the electricity that performs needed for described subsequent operation
(S250a); When the dump energy of described battery be less than or equal to one this reset shutdown threshold value time, control the shutdown of described electronic equipment, this shutdown threshold value is less than described prompting threshold value (S250); Restart described electronic equipment (S260); The execution time described subsequent operation of upper execution (S270) of continuous operation in the rear; After having run described subsequent operation, described electronic equipment has been made to shut down (S280).
At least one giving in a kind of execution time based on determined pending operation and quantity of S250a in Fig. 4 resets the mode of described shutdown threshold value.The shutdown threshold value that this resets remains the dump energy of battery, electronic equipment can be started shooting again, and perform subsequent operation, thus the important operation avoiding electronic equipment is missed.As long as this S250a performed before S250, the sequencing of the running time of any one in its relative S210-S240 does not form the restriction to the embodiment of the present application.
In the technical scheme of the electric quantity managing method according to the embodiment of the present application, by determining pending operation based on the status information of detected application and presenting the Application Hints information relevant at least partially of operation pending to this at electronic equipment, the important operation in process electronic equipment can be impelled before electronic equipment shuts down due to low electricity, thus improve the experience of user.Further, each mode performing pending operation that composition graphs 3-4 describes further avoid the omission of important operation or simplifies the operation of user.
Fig. 5 is the block diagram of the managing electric quantity device 500 schematically illustrated according to the application's example embodiment.This managing electric quantity device 500 can be applicable to the electronic equipment shown in Fig. 1, and this electronic equipment comprises for the battery to this power electronic equipment, and has wherein installed at least one application.
As shown in Figure 5, this managing electric quantity device 500 comprises: detecting unit 510, when the dump energy of described battery is less than or equal to prompting threshold value, and the status information of each application in detected electrons equipment; Determining unit 520, for determining pending operation based on detected status information; Generation unit 530, for generating the Application Hints information relevant at least partially to described pending operation based on determined pending operation; Display unit 540, for presenting described Application Hints information in the electronic device; Control module 550, when the dump energy of described battery unit is less than or equal to a shutdown threshold value, control the shutdown of described electronic equipment, this shutdown threshold value is less than described prompting threshold value.
The information of the dump energy of the battery of electronic equipment can be obtained in the electronic device, and by the dump energy of described battery compared with prompting threshold value.When the dump energy of described battery is less than or equal to prompting threshold value, the status information of each application in detecting unit 510 detected electrons equipment.This prompting threshold value is the electricity for battery pre-set, and it can be the predetermined percentage of total electricity that the battery of electronic equipment is filled, and can also be specific charge value.
Typically, in the inside of battery, can voltameter be set, utilizes this voltameter to indicate dump energy in rechargeable battery and battery can also time of continued power in certain operating conditions.Correspondingly, the dump energy of battery can be obtained from this voltameter, the existing various dump energy that should be used for obtaining battery can also be utilized, with the detection of start detection unit 510.
Application in electronic equipment can be various application that are existing or that occur in the future.The status information that detecting unit 510 detects can be apply performing or have pending task operating information, its can be such as short message application in whether there is the information not connecing short message, the editing mode information of the document edited, default calendar prompting mission bit stream, the playing progress rate information of video player, the missed call information etc. of communications applications.Exemplarily, can utilize the work state information of each application of operating system record of electronic equipment, detecting unit 510 detects described status information by inquiring about the work state information recorded.The detection mode of status information does not form the restriction to the embodiment of the present application.
Each application detecting its status information can comprise the application just run in the foreground or backstage of electronic equipment, can also comprise the current subsequent applications not having operation still will be performed after the schedule time, such as, carry out the alarm clock reminded after 1 hour.In addition, managing electric quantity device 500 can also comprise: transmitting element 570, for when described dump energy reaches described prompting threshold value, send low power notification to each application run in the electronic device, preserve respective ephemeral data to make the application receiving this low power notification.In the prior art, usually low power notification is shown so that user's process when dump energy reaches described prompting threshold value at electronic equipment.Now, if user does not have operating electronic equipment, then user can not preserve the ephemeral data in the application run in time.In the embodiment of the present application, substitute and show low power notification to user, transmitting element 570 is to the low electricity of the applicative notifications run in electronic equipment, this makes the application run automatically can perform process, and example preserves the progress etc. of the video/audio when the document of pre-editing and User Status, current viewing.
After detecting unit 510 have detected the status information of each application in electronic equipment, determining unit 520 can determine pending operation based on detected status information.Provide several operation examples of several determining unit 520 below.When detecting unit 510 detect short message application in do not exist do not connect short message time, determining unit 520 can determine short message application in there is no pending operation.When detecting unit 510 detect in short message application exist do not connect short message time, determining unit 520 can determine pending operation that short message is applied be open described in do not connect short message.When detecting unit 510 detects office application not by use, determining unit 520 can determine that this office application does not exist pending operation.When detecting unit 510 detect office application just used and the file opened do not preserve time, determining unit 520 can determine that the file opened is preserved in on-unit.When detecting unit 510 detect there is no a schedule in calendar prompting application time, determining unit 520 can determine there is not pending operation in calendar prompting application.When the meeting reminded after detecting unit 510 detects there is hour in calendar prompting application, determining unit 520 can determine that the pending operation that calendar prompting is applied within one hour, sends meeting to remind.Determining unit 520 can determine its pending operation like other application class.
Generation unit 530 generates the Application Hints information relevant at least partially to described pending operation based on determined pending operation.This Application Hints information is for pointing out the existence of pending operation described in user, so that user performed each pending operation on one's own initiative before electronic equipment is due to low electricity shutdown.Such as, this Application Hints information can be information of voice prompt, display Word message, the tinkle of bells information etc.Described Application Hints information can be the Application Hints information of detected all pending operation, also can be the Application Hints information of a part of pending operation.
As previously mentioned, transmitting element 570 can send low power notification to each application run in the electronic device, preserves respective ephemeral data to make the application receiving this low power notification.That is, the application receiving this low power notification automatically can perform pending operation wherein, and generation unit 530 does not need to generate relative Application Hints information.Generation unit 530 only can also generate a kind of total information.User, after noticing this total information, just can process all pending operations continuously.
Display unit 540 presents generated Application Hints information in the electronic device.When the Application Hints information speech information that generation unit 530 generates or the tinkle of bells information, display unit 540 can utilize the loudspeaker in electronic equipment to present this Application Hints information.When the Application Hints information that generation unit 530 generates is display Word message, display unit 540 can utilize the display in electronic equipment to present this display Word message.In a word, display unit 540 can take suitable mode to present according to the classification of generated Application Hints information.The object that display unit 540 presents described Application Hints information is to perform each pending operation.Below in conjunction with the example performing each pending operation.
Example 1: while described display unit 540 presents described Application Hints information in the electronic device, user provides the action link about described Application Hints information, described managing electric quantity device also can comprise receiving element 580 (as shown in Figure 5), this receiving element 580 receives the instruction of user for described action link, to perform described pending operation by described electronic equipment according to described instruction.Such as, when display unit 540 shows the text prompt information of preserving Edit Document on an electronic device, can the side of this word information (such as lower right) arrange for this Edit Document document storing link.When user clicks the document preservation link, receiving element 580 receives the instruction that user links for described document storing, thus can preserve by perform document immediately.Described action link makes user not need the application operated for carrying out documents editing just can directly preserve by perform document, namely can perform described pending operation expediently, more easily by user is accepted.
Example 2: while display unit 540 presents described Application Hints information in the electronic device, control module 550 can obtain in advance for the forwarding configuration information of determined pending operation, and controls electronic equipment and automatically perform described pending operation according to this forwarding configuration information.Such as, when the prompting of Application Hints information that display unit 540 presents there is missed call, do not connect note time, if be provided with missed call in electronic equipment or do not connect note and be forwarded to particular telephone number, then can for the missed call before shutdown, do not connect note and perform similar forwarding operation.Therefore, in low state of charge before being powered off, control module 550 can obtain about missed call, the forwarding configuration information not connecing note, and automatically by the missed call on electronic equipment, do not connect note and be forwarded to described particular telephone number, thus user can check and not connect note or missed call on the communication facilities corresponding with described particular telephone number.After electronic equipment shutdown, each does not connect note, missed call can be forwarded to the communication facilities corresponding with described particular telephone number by base station, and the electronic equipment that the electric quantity managing method that can not be sent to the embodiment of the present application is applied to.
Example 3: when described display unit 540 presents described Application Hints information in the electronic device, whether described detecting unit 510 can detect described electronic equipment and be used; When detecting unit judges electronic equipment by use, described control module 550 can control electronic equipment to perform at least one in described pending operation, to show the content in application in the electronic device.Such as, at display unit 540 when presenting Application Hints information, if detecting unit 510 finds that user uses electronic equipment, then described control module 550 can control directly to open and not connect note, sends prompting etc. (namely directly performing pending operation) about schedule to be reminded.Like this, user just can direct viewing operating result without the need to operation, thus simplifies the operation of user.According to system information, detecting unit 510 can judge whether electronic equipment is used by user, can judge according to the touch information on touch-screen whether electronic equipment is used by user, concrete judgment mode does not form the restriction to the embodiment of the present application yet.
When the dump energy of described battery is less than or equal to a shutdown threshold value, control module 550 controls the shutdown of described electronic equipment, and this shutdown threshold value is less than described prompting threshold value.This shutdown threshold value can be fixing, and it is such as zero electricity, and namely electricity uses up rear shutdown.When the determined pending operation of determining unit 520 comprise the execution time be electronic equipment shutdown after subsequent operation time, if do not perform described subsequent operation before electronic equipment shutdown, then this is that the shutdown threshold value of zero electricity causes all cannot performing described subsequent operation before battery is charged, thus user may be caused to omit important information.For this reason, managing electric quantity device 500 also can comprise setting unit 570, and for resetting described shutdown threshold value based at least one in execution time of determined pending operation and quantity, this shutdown threshold value is greater than zero.Like this, after electronic equipment shutdown, can start shooting before the execution time that will perform described subsequent operation, and perform described subsequent operation on this execution time.
The example of shutdown threshold value is reset as setting unit 570, when to comprise the execution time be the subsequent operation after electronic equipment shutdown to the determined pending operation of described determining unit 520, described shutdown threshold value can be set to the start of described electronic equipment and the electricity that performs needed for described subsequent operation by described setting unit 570.Now, described control module 550 can restart described electronic equipment, and controls the described subsequent operation of upper execution of the continuous execution time operated in the rear of this electronic equipment, and after having run described subsequent operation, control the shutdown of described electronic equipment.
In the technical scheme of the managing electric quantity device according to the embodiment of the present application, by determining pending operation based on the status information of detected application and presenting the Application Hints information relevant at least partially of operation pending to this at electronic equipment, the important operation in process electronic equipment can be impelled before electronic equipment shuts down due to low electricity, thus improve the experience of user.
Fig. 6 is the block diagram of another managing electric quantity device 600 schematically illustrated according to the application's example embodiment.This device 600 comprises: storer 610, for program code stored; Processor 620, for performing the electric quantity managing method that described program code describes to realize composition graphs 2-4.
Storer 610 can comprise at least one in ROM (read-only memory) and random access memory, and provides instruction and data to processor 620.A part for storer 610 can also comprise non-volatile row random access memory (NVRAM).
Processor 620 can be general processor, digital signal processor (DSP), special IC (ASIC), ready-made programmable gate array (FPGA) or other programmable logic device (PLD), discrete gate or transistor logic, discrete hardware components.General processor can be the processor etc. of microprocessor or any routine.
Step in conjunction with the method disclosed in the embodiment of the present application can directly be presented as by processor complete, or hardware in purpose processor and software module combination complete.Software module can be positioned at random access memory, flash memory, ROM (read-only memory), in the storage medium of this area maturations such as programmable read only memory or electrically erasable programmable storer, register.This storage medium is arranged in storer 610, and processor 620 reads the information in storer 610, completes the step of said method in conjunction with its hardware.
After above, composition graphs 5 and 6 describes the managing electric quantity device according to each embodiment of the application, any electronic equipment comprising described managing electric quantity device is also all in the open scope of the application.
Those of ordinary skill in the art can recognize, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with the combination of electronic hardware or computer software and electronic hardware.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not think the scope exceeding the application.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the unit of foregoing description and the specific works process of unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that disclosed unit and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another equipment can be integrated into, or some features can be ignored, or do not perform.
If described function using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part of the part that the technical scheme of the application contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the application.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory), random access memory, magnetic disc or CD etc. various can be program code stored medium.
The above; be only the embodiment of the application, but the protection domain of the application is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the application discloses; change can be expected easily or replace, within the protection domain that all should be encompassed in the application.Therefore, the protection domain of the application should described be as the criterion with the protection domain of claim.

Claims (15)

1. for an electric quantity managing method for electronic equipment, described electronic equipment comprises for the battery to this power electronic equipment, and has installed at least one application in this electronic equipment, and this electric quantity managing method comprises:
When the dump energy of described battery is less than or equal to prompting threshold value, the status information of each application in detected electrons equipment;
Pending operation is determined based on detected status information;
The Application Hints information relevant at least partially to described pending operation is generated based on determined pending operation;
Present described Application Hints information in the electronic device;
When the dump energy of described battery is less than or equal to a shutdown threshold value, control the shutdown of described electronic equipment, this shutdown threshold value is less than described prompting threshold value.
2. electric quantity managing method according to claim 1, also comprises:
Described shutdown threshold value is reset based at least one in execution time of determined pending operation and quantity.
3. electric quantity managing method according to claim 2, wherein,
At least one in the described execution time based on determined pending operation and quantity arranges described shutdown threshold value and comprises: when to comprise the execution time be the subsequent operation after electronic equipment shutdown in determined pending operation, the electricity described shutdown threshold value being set to the start of described electronic equipment and performing needed for described subsequent operation
Described electric quantity managing method also comprises:
Restart described electronic equipment, and the described subsequent operation of execution time upper execution of continuous operation in the rear;
After having run described subsequent operation, described electronic equipment is shut down.
4. electric quantity managing method according to claim 1, also comprises:
When described dump energy reaches described prompting threshold value, send low power notification to each application run in the electronic device, preserve respective ephemeral data to make the application receiving this low power notification.
5. electric quantity managing method according to claim 4, also comprises:
While presenting described Application Hints information in the electronic device, for user provides the action link about described Application Hints information;
Receive the instruction of user for described action link; With
Described pending operation is performed according to described instruction.
6. electric quantity managing method according to claim 1, also comprises:
While presenting described Application Hints information in the electronic device, obtain and be used in advance for the forwarding configuration information of determined pending operation, and automatically perform described pending operation according to this forwarding configuration information.
7. electric quantity managing method according to claim 1, also comprises:
While presenting described Application Hints information in the electronic device, judge whether electronic equipment is used;
When judging electronic equipment by use, perform at least one in described pending operation, to show the content in application in the electronic device.
8. for a managing electric quantity device for electronic equipment, described electronic equipment comprises for the battery to this power electronic equipment, and has installed at least one application in this electronic equipment, and this managing electric quantity device comprises:
Detecting unit, when the dump energy of described battery is less than or equal to prompting threshold value, the status information of each application in detected electrons equipment;
Determining unit, for determining pending operation based on detected status information;
Generation unit, for generating the Application Hints information relevant at least partially to described pending operation based on determined pending operation;
Display unit, for presenting described Application Hints information in the electronic device;
Control module, when the dump energy of described battery unit is less than or equal to a shutdown threshold value, control the shutdown of described electronic equipment, this shutdown threshold value is less than described prompting threshold value.
9. managing electric quantity device according to claim 8, also comprises:
Setting unit, for resetting described shutdown threshold value based at least one in execution time of determined pending operation and quantity.
10. managing electric quantity device according to claim 9, wherein,
When to comprise the execution time be the subsequent operation after electronic equipment shutdown to the determined pending operation of described determining unit, described shutdown threshold value is set to the start of described electronic equipment and the electricity that performs needed for described subsequent operation by described setting unit,
Described control module restarts described electronic equipment, and controls the described subsequent operation of upper execution of the continuous execution time operated in the rear of this electronic equipment, and after having run described subsequent operation, control the shutdown of described electronic equipment.
11. managing electric quantity devices according to claim 8, also comprise: transmitting element, for when described dump energy reaches described prompting threshold value, send low power notification to each application run in the electronic device, preserve respective ephemeral data to make the application receiving this low power notification.
12. managing electric quantity devices according to claim 11, wherein, while described display unit presents described Application Hints information in the electronic device, for user provides the action link about described Application Hints information,
Described managing electric quantity device also comprises receiving element, and this receiving element receives the instruction of user for described action link, to perform described pending operation by described electronic equipment according to described instruction.
13. managing electric quantity devices according to claim 8, wherein, when described display unit presents described Application Hints information in the electronic device, described control module obtains and is used in advance for the forwarding configuration information of determined pending operation, and controls electronic equipment and automatically perform described pending operation according to this forwarding configuration information.
14. managing electric quantity devices according to claim 8, wherein, when described display unit presents described Application Hints information in the electronic device, whether described detecting unit detects described electronic equipment and is used;
When detecting unit judges electronic equipment by use, described control module controls electronic equipment and performs at least one in described pending operation, to show the content in application in the electronic device.
15. 1 kinds of electronic equipments, comprise the managing electric quantity device according to any one of claim 8 to 14.
CN201410460975.2A 2014-09-11 2014-09-11 Electric quantity managing method, power management device and electronic equipment Active CN104267795B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410460975.2A CN104267795B (en) 2014-09-11 2014-09-11 Electric quantity managing method, power management device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410460975.2A CN104267795B (en) 2014-09-11 2014-09-11 Electric quantity managing method, power management device and electronic equipment

Publications (2)

Publication Number Publication Date
CN104267795A true CN104267795A (en) 2015-01-07
CN104267795B CN104267795B (en) 2019-02-05

Family

ID=52159323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410460975.2A Active CN104267795B (en) 2014-09-11 2014-09-11 Electric quantity managing method, power management device and electronic equipment

Country Status (1)

Country Link
CN (1) CN104267795B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104793930A (en) * 2015-03-16 2015-07-22 深圳市金立通信设备有限公司 Electric quantity managing method
CN105867591A (en) * 2016-03-31 2016-08-17 乐视控股(北京)有限公司 Terminal control method and device
CN106561040A (en) * 2015-10-01 2017-04-12 Lg电子株式会社 Mobile Terminal And Method For Controlling The Same
CN106997326A (en) * 2017-04-01 2017-08-01 北京小米移动软件有限公司 Control method, device and the computer-readable recording medium of smart jack
CN107003704A (en) * 2015-09-23 2017-08-01 深圳还是威健康科技有限公司 The electricity consumption distribution method and Intelligent bracelet of a kind of Intelligent bracelet
CN107133525A (en) * 2017-06-12 2017-09-05 河南职业技术学院 The data guard method and data protecting device of computer
CN109598988A (en) * 2018-12-05 2019-04-09 深圳创维数字技术有限公司 Intelligent early learning machine closedown method, device, intelligent early learning machine and readable storage medium storing program for executing
CN109788058A (en) * 2019-01-18 2019-05-21 江西科技学院 Electric quantity managing method, system, readable storage medium storing program for executing and server
CN109950948A (en) * 2019-02-25 2019-06-28 珠海格力电器股份有限公司 The method for managing power supply and device of solar energy charging type electronic equipment
CN114236461A (en) * 2021-12-17 2022-03-25 深圳市百富智能新技术有限公司 Electric quantity calibration method, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070188144A1 (en) * 2006-02-15 2007-08-16 Fujitsu Limited Electronic apparatus with rechargeable battery
CN101695083A (en) * 2009-09-27 2010-04-14 惠州Tcl移动通信有限公司 Method for notifying user of missed call or unread short message and cellphone using same
CN101944069A (en) * 2010-07-27 2011-01-12 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for processing unread message
US20140208131A1 (en) * 2011-08-23 2014-07-24 Nikon Corporation Electronic apparatus, power supply device, system and apparatus
CN103988146A (en) * 2011-12-28 2014-08-13 松下电器产业株式会社 Drive control device, drive control method and drive control program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070188144A1 (en) * 2006-02-15 2007-08-16 Fujitsu Limited Electronic apparatus with rechargeable battery
CN101695083A (en) * 2009-09-27 2010-04-14 惠州Tcl移动通信有限公司 Method for notifying user of missed call or unread short message and cellphone using same
CN101944069A (en) * 2010-07-27 2011-01-12 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for processing unread message
US20140208131A1 (en) * 2011-08-23 2014-07-24 Nikon Corporation Electronic apparatus, power supply device, system and apparatus
CN103988146A (en) * 2011-12-28 2014-08-13 松下电器产业株式会社 Drive control device, drive control method and drive control program

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104793930A (en) * 2015-03-16 2015-07-22 深圳市金立通信设备有限公司 Electric quantity managing method
CN107003704A (en) * 2015-09-23 2017-08-01 深圳还是威健康科技有限公司 The electricity consumption distribution method and Intelligent bracelet of a kind of Intelligent bracelet
CN106561040A (en) * 2015-10-01 2017-04-12 Lg电子株式会社 Mobile Terminal And Method For Controlling The Same
CN105867591A (en) * 2016-03-31 2016-08-17 乐视控股(北京)有限公司 Terminal control method and device
CN106997326A (en) * 2017-04-01 2017-08-01 北京小米移动软件有限公司 Control method, device and the computer-readable recording medium of smart jack
CN107133525A (en) * 2017-06-12 2017-09-05 河南职业技术学院 The data guard method and data protecting device of computer
CN109598988A (en) * 2018-12-05 2019-04-09 深圳创维数字技术有限公司 Intelligent early learning machine closedown method, device, intelligent early learning machine and readable storage medium storing program for executing
CN109788058A (en) * 2019-01-18 2019-05-21 江西科技学院 Electric quantity managing method, system, readable storage medium storing program for executing and server
CN109950948A (en) * 2019-02-25 2019-06-28 珠海格力电器股份有限公司 The method for managing power supply and device of solar energy charging type electronic equipment
CN114236461A (en) * 2021-12-17 2022-03-25 深圳市百富智能新技术有限公司 Electric quantity calibration method, electronic equipment and storage medium
CN114236461B (en) * 2021-12-17 2023-11-21 深圳市百富智能新技术有限公司 Electric quantity calibration method, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN104267795B (en) 2019-02-05

Similar Documents

Publication Publication Date Title
CN104267795A (en) Capacity management method, capacity management device and electronic equipment
CN101438477B (en) Portable terminal and function operation control method
CN104239195A (en) Method for processing power consumption of electronic equipment, and electronic equipment
MX2013014794A (en) Mobile device operations with battery optimization.
CN104267799A (en) Network server and method and system for processing power consumption of electronic equipment
CN103024729B (en) The method of data backup, Apparatus and system
CN104021031A (en) Application program management system and method
CN102508736A (en) Backup method of application program in communication terminal and communication terminal
CN105224421B (en) Data backup method and device and electronic equipment
CN104135053A (en) Electric quantity sharing method and device
CN103501390A (en) Mobile terminal with reminding function and reminding realization method thereof
CN104580721A (en) Alarm clock implementation method for terminal
CN105245718A (en) Control method and device of breathing lamp and mobile terminal
CN104156050A (en) Task monitoring method and electronic device
CN103888608A (en) Information processing method and electronic device
US20210036531A1 (en) Battery charging method
CN103763596A (en) State switching method and device
KR102125507B1 (en) Method for charging battery and an electronic device thereof
CN104822018A (en) Flash lamp control method of photographing device
CN101320389B (en) File management method and apparatus
CN102572110A (en) Smart phone power-down protection system and method
CN103297620A (en) Power-down protection system and method for smart phone
CN104348140A (en) Low electric quantity prompting method and electronic equipment
CN104778040A (en) Photographing device
CN105490319A (en) Information processing method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant