CN109142859A - A kind of energy consumption display method, device and terminal - Google Patents

A kind of energy consumption display method, device and terminal Download PDF

Info

Publication number
CN109142859A
CN109142859A CN201710463938.0A CN201710463938A CN109142859A CN 109142859 A CN109142859 A CN 109142859A CN 201710463938 A CN201710463938 A CN 201710463938A CN 109142859 A CN109142859 A CN 109142859A
Authority
CN
China
Prior art keywords
power consumption
terminal
level
display
designated position
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
CN201710463938.0A
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.)
Shanghai Zhongxing Software Co Ltd
Original Assignee
Shanghai Zhongxing Software 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 Shanghai Zhongxing Software Co Ltd filed Critical Shanghai Zhongxing Software Co Ltd
Priority to CN201710463938.0A priority Critical patent/CN109142859A/en
Publication of CN109142859A publication Critical patent/CN109142859A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R22/00Arrangements for measuring time integral of electric power or current, e.g. electricity meters
    • G01R22/06Arrangements for measuring time integral of electric power or current, e.g. electricity meters by electronic methods

Landscapes

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

Abstract

The present invention provides a kind of energy consumption display method, device and terminal.The described method includes: getting the operating current of present terminal;According to preset first transformational relation, the operating current of the present terminal is converted into level of power consumption;The level of power consumption is shown into the designated position on the terminal display screen.Described device includes: that electric current obtains module, level of power consumption conversion module, level of power consumption display module.The present invention can facilitate user to grasp and manage the electricity consumption condition of terminal.

Description

A kind of energy consumption display method, device and terminal
Technical field
The present invention relates to electronic technology field more particularly to a kind of energy consumption display methods, device and terminal.
Background technique
With the development of communication technology, mobile phone has developed into the indispensable important tool of people's daily life.Electricity It is the basis using mobile phone, the terminals such as mobile phone of the prior art all have remaining capacity display function, user is facilitated to check terminal Remaining capacity, and can charge in time in remaining capacity deficiency.
The mobile terminal of most of such as mobile phone etc can prompt user, make when remaining capacity reduces User can charge in time or turn off the application of power consumption, function etc..But in the prior art, user terminal power deficiency again Cannot at once to terminal charge when, be merely able to feel the operating status of terminal is performed some processing, have no idea for eventually Current situation is held to make accurately and effectively energy consumption Utilization strategies.
Summary of the invention
In view of this, the present invention provides a kind of energy consumption display method, device and terminal, user can be facilitated to the consumption of terminal Electric situation is grasped and is managed.
Based on a kind of above-mentioned purpose energy consumption display method provided by the invention, it is applied to terminal, comprising:
Get the operating current of present terminal;
According to preset first transformational relation, the operating current of the present terminal is converted into level of power consumption;
The level of power consumption is shown into the designated position on the terminal display screen.
Optionally, the method also includes:
Get the battery dump energy of present terminal;
According to preset second transformational relation, the remaining capacity of present terminal is converted into charge level;
The charge level and the level of power consumption are display together the designated position on the terminal display screen.
Optionally, the method also includes:
Detect the clicking operation to the designated position;
Power management interface is called, allows users to carry out power management operations to terminal by power management interface.
It is optionally, described that the level of power consumption is shown to the designated position on the terminal display screen, comprising:
Display parameters are generated according to the level of power consumption;
Visual power consumption, which is generated, according to the display parameters indicates graphic resource;
Power consumption instruction graphic resource is shown into the designated position on the terminal display screen.
Optionally, the power consumption instruction graphic resource is the animated graphics of certain effects, and the animated graphics resource is moved It is corresponding with the level of power consumption to draw effect;
Or, the power consumption instruction graphic resource is flashing icon, the flicker frequency of the flashing icon and the power consumption etc. Grade is corresponding;
Or, power consumption instruction graphic resource is multiple static icons, the multiple static icon and the different function It is corresponding to consume grade.
Optionally, it is described the power consumption parameter is shown the designated position on the terminal display screen the step of after, Further include:
Calculate the last timing node for obtaining the current power consumption data of terminal to current time node first when Between be spaced;Judge whether the first time interval reaches preset first time interval threshold value, if so, returning to the acquisition To present terminal operating current the step of;
Or, the step of detecting that the power consumption changes, the operating current of present terminal got described in return;
Or, calculating the timing node for the designated position that the last time shows the power consumption parameter on the terminal display screen To the second time interval of current time node;Judge whether second time interval reaches preset second time interval threshold Value, if so, current power consumption level is shown the designated position on the terminal display screen.
Meanwhile the present invention provides a kind of power consumption display device, comprising:
Electric current obtains module: for getting the operating current of present terminal;
Level of power consumption conversion module: it is used for according to preset first transformational relation, by the operating current of the present terminal Be converted to level of power consumption;
Level of power consumption display module: for the level of power consumption to be shown to the designated position on the terminal display screen.
Optionally, described device further include:
Electricity obtains module: for getting the battery dump energy of present terminal;
Charge level conversion module: for according to preset second transformational relation, the remaining capacity of present terminal to be converted For charge level;
Charge level display module: it is shown for being display together with the level of power consumption charge level in the terminal Designated position in display screen.
Optionally, described device further include:
Power management command reception module: for detecting the clicking operation to the designated position;
Power management calling module: it for calling power management interface, allows users to through power management interface pair Terminal carries out power management operations.
Optionally, the level of power consumption display module specifically includes:
Display parameters generation unit: for generating display parameters according to the level of power consumption;
Graphic resource generation unit: graphic resource is indicated for generating visual power consumption according to the display parameters;
Graphic resource display unit: for power consumption instruction graphic resource to be shown the finger on the terminal display screen Positioning is set.
Optionally, the power consumption instruction graphic resource is the animated graphics of certain effects, and the animated graphics resource is moved It is corresponding with the level of power consumption to draw effect;
Or, the power consumption instruction graphic resource is flashing icon, the flicker frequency of the flashing icon and the power consumption etc. Grade is corresponding;
Or, power consumption instruction graphic resource is multiple static icons, the multiple static icon and the different function It is corresponding to consume grade.
Optionally, described device further include:
Detection loop module: for calculating the last timing node for obtaining the current power consumption data of terminal to currently The first time interval of timing node;Judge whether the first time interval reaches preset first time interval threshold value, if The step of being, then getting the operating current of present terminal described in return;
Or, change of power consumption detection module: for detecting that the power consumption changes, present terminal is got described in return Operating current the step of;
Or, display loop module: showing the power consumption parameter on the terminal display screen for calculating the last time Second time interval of the timing node of designated position to current time node;Judge whether second time interval reaches pre- If the second time interval threshold value, if so, current power consumption level is shown the designated position on the terminal display screen.
Further, the present invention also provides a kind of terminals, it is characterised in that including processor, memory and is stored in memory Computer program that is upper and can running on a processor, the processor realize that the present invention such as appoints when executing the computer program The step anticipated in energy consumption display method described in an embodiment.
Energy consumption display method and device provided by the embodiment of the present invention, can in the level of power consumption of display terminal so that User obtains terminal power consumption situation in the application of using terminal or function, to need to save electric energy, reduction in user The case where power consumption of terminal is accurately to carry out terminal supplying power management, closes the higher application of power consumption, closes consumption electric energy high end Function is held, the power consumption of terminal is enabled to meet the use demand of user, improves user experience.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is the energy consumption display method flow chart of the embodiment of the present invention;
Fig. 2 is that the terminal display screen of the embodiment of the present invention specifies area schematic;
Fig. 3 A is that the power consumption of the embodiment of the present invention indicates graphic resource schematic diagram;
Fig. 3 B is that the power consumption of the embodiment of the present invention indicates graphic resource another kind status diagram;
Fig. 4 is power consumption display device schematic diagram provided in an embodiment of the present invention;
Fig. 5 is terminal structure schematic diagram provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Referring to Fig. 1, the process of energy consumption display method is shown in figure, is applied to terminal, the specific steps are as follows:
Step 101: getting the operating current of present terminal;
Specifically, the operating current can pass through terminal when the terminal is the intelligent terminals such as mobile phone, tablet computer Power management module obtains;More specifically, the power management module is special power management chip, and the operating current is logical The voltameter of overcurrent integral obtains;Or the power management module is software module, passes through other software module or hardware machine Structure obtains the operating current.Wherein, the operating current is preferably the electric current summation of all circuits of terminal.Optionally, described Operating current is the superposition value of each circuital current summation of terminal.In a particular embodiment, by each power elements of terminal The electric current of circuit counted respectively, supplied for example, same period power speakers circuit, camera power supply circuit, screen can be distinguished The size of current of circuit obtains the size of current of different circuits, and the size of current of these circuits is separately converted to loudspeaker Module dissipation grade, photographing module level of power consumption, power consumption of screen grade etc. allow users to needing to save power consumption of terminal When, can further accurately determine the electricity consumption condition of disparate modules, thus as needed to corresponding functional module into Row is closed.
In the specific embodiment of the invention, the terminal is mobile phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA), MP3 or vehicle-mounted computer etc., or the multifunction electronic product of any consumption electric energy.
Step 102: according to preset first transformational relation, the operating current of the present terminal being converted into power consumption etc. Grade.
Above-mentioned level of power consumption indicates the rate of terminal consumption electric energy.
Step 103: level of power consumption is shown to the designated position on terminal display screen.
In a particular embodiment, user can be intuitively known the power consumption shape of terminal by viewing power consumption size data Condition facilitates user to be managed according to terminal current power consumption situation to the operation of terminal, when power consumption is excessively high, closes or stops opening Open application or function;When power consumption is lower, application or function required for normal use oneself.In addition, the embodiment of the present invention is logical The operating current for crossing terminal determines level of power consumption, it is contemplated that the energy consumption of all software and hardwares of terminal, has higher standard True property, and it is easy detection and conversion.
In the specific embodiment of the invention, designated position on the terminal display screen, including with independent display screen Specified region on the display screen of terminal, for example, the display screen upper right corner.As shown in Fig. 2, above the display screen 201 of terminal 200 Fringe region 2011, the specified region 2012 are located at 2011 right end of fringe region.
Energy consumption display method provided in an embodiment of the present invention can obtain level of power consumption, and level of power consumption was shown at end Hold display screen on designated position, allow users to intuitively view the level of power consumption of terminal in the designated position, when with After family understands the level of power consumption of terminal, initiatively power consumption of terminal can be controlled, for example, close the big application of power consumption, Some functions (such as bluetooth, flashlight etc.) of terminal are closed, user is improved to the controlling of terminal, improves user experience.
In inventing a kind of specific embodiment, the method also includes:
Receive level of power consumption acquisition instruction;The level of power consumption is obtained after the triggering command for receiving user It takes;
Determine the level of power consumption of terminal;
Level of power consumption is shown to the designated position on terminal display screen.
According to the use habit of most of mobile terminal user, electricity is sufficient or user has available charging electricity at one's side When source, without knowing the current level of power consumption of terminal, and need to disappear since level of power consumption and charge level obtain operation itself Terminal power is consumed, therefore, the step of level of power consumption and charge level of the level of power consumption of the determining terminal or terminal can lead to The specific instruction for crossing user triggers, and in the case where user does not indicate, does not execute level of power consumption or the end of determining terminal The step of level of power consumption and charge level at end, saves terminal power consumption, while saving the display resource of terminal.
In the specific embodiment of the invention, the level of power consumption or level of power consumption and charge level are shown in described Designated position on terminal display screen is real-time display during terminal standby, and the terminal is touch screen terminal, the method Further include:
Determine the level of power consumption of terminal;
Level of power consumption is shown to the designated position on terminal display screen;
Detect the clicking operation to the designated position;
Power management interface is called, allows users to carry out power management operations to terminal by power management interface.
In some embodiment of the invention, the method also includes:
Get the battery dump energy of present terminal;
According to preset second transformational relation, the remaining capacity of present terminal is converted into charge level;Described electricity etc. Grade indicate terminal residual electricity number;
The charge level and the level of power consumption are display together the designated position on the terminal display screen.
In a particular embodiment, when terminal shows level of power consumption and charge level, which comprises
Get the operating current and battery dump energy of present terminal;
According to preset first transformational relation, the operating current of the present terminal is converted into level of power consumption, and according to The remaining capacity of present terminal is converted to charge level by preset second transformational relation.
In a kind of specific embodiment of the present invention, when the operating current is converted to level of power consumption, according to end cell Capacity is converted.Under normal circumstances, the large screen terminal of same model is bigger than the battery capacity of the small screen terminal, can be by large-size screen monitors The corresponding working current value of each level of power consumption of curtain terminal is set as a higher numerical value, by each function of the small screen terminal The corresponding working current value of consumption grade is set as a lower numerical value.For feature phone, i.e., only has and make a phone call and connect The key mobile phone of the basic functions such as phone, since stand-by time is long, the corresponding working current value of each level of power consumption is set as one A lower numerical value.
Specifically for example, to Mr. Yu's big screen intelligent mobile phone, the work electricity that each level of power consumption corresponds to 200mA can be set Stream;For certain feature phone, the operating current that each level of power consumption corresponds to 100mA can be set.In this way, when detection is current When the operating current of big screen intelligent mobile phone is 300mA, level of power consumption that operating current is converted is 1.5;When the current function of detection When the operating current of type mobile phone is 300mA, level of power consumption that operating current is converted is 3.
In some embodiment of the invention, the energy consumption display method includes:
Determine the level of power consumption of terminal;
Display parameters are generated according to the level of power consumption;Specifically, the display parameters, including display object, object are big Small, display scale, display mode etc.;
Visual power consumption, which is generated, according to the display parameters indicates graphic resource;
Power consumption instruction graphic resource is shown into the designated position on the terminal display screen.
In some embodiment of the invention, the energy consumption display method includes:
Determine the level of power consumption and charge level of terminal;
Display parameters are generated according to the level of power consumption and charge level;Specifically, the display parameters, including display pair As, object size, display scale, display mode etc.;
Visual power consumption, which is generated, according to the display parameters indicates graphic resource;
Power consumption instruction graphic resource is shown into the designated position on the terminal display screen.
In some embodiment of the invention, the power consumption instruction graphic resource is the animated graphics of certain effects, described dynamic The animation effect for drawing graphic resource is corresponding with the level of power consumption;For example, corresponding power consumption refers to when level of power consumption is high, medium or low Show the different animation effects of graphic resource;
Or, the power consumption instruction graphic resource is flashing icon, the flicker frequency of the flashing icon and the power consumption etc. Grade is corresponding;For example, power consumption of terminal is big when level of power consumption is higher, the power consumption instruction graphic resource flicker frequency is higher;Work as power consumption Grade is lower, and power consumption of terminal is small, and the power consumption instruction graphic resource flicker frequency is lower;
Or, the power consumption instruction graphic resource is multiple static icons, the multiple static icon and multiple power consumptions Grade is corresponding.
In some embodiment of the invention, when power consumption instruction graphic resource is multiple static icons, the static state Icon includes electricity display portion, level of power consumption indicating section;By having the area of setpoint color in the electricity display portion The height dimension in domain indicates charge level, passes through the broad-ruler in the region in the level of power consumption indicating section with setpoint color Very little expression level of power consumption.
It is described when power consumption instruction graphic resource is multiple static icons in a kind of specific embodiment of the present invention Power consumption indicates that graphic resource is realized using hourglass icons.And in order to save display area, power consumption indicates that figure can indicated work simultaneously Consume grade and charge level.Hourglass icons as shown in Figure 3A, the top half of hourglass are battery capacity indication, and hourglass leaks husky mouth size For power consumption instruction, hourglass icons 301 are cell shapes, and hourglass icons 301 include electricity display portion 3011, level of power consumption instruction Part 3012, wherein electricity display portion 3011 is set to husky 3012 top of mouth of leakage.Level of power consumption indicating section 3012 passes through leakage Husky mouth shows that the opening width for leaking husky mouth indicates level of power consumption.
Referring still to Fig. 3 A, in one embodiment, the total height of electricity display portion 3011 is with terminal residual electricity Reduction and become larger, become smaller with the increase of terminal residual electricity.The total height of level of power consumption indicating section 3012, which is less than, to be set Definite value, when the difference of the total height of the hourglass icons 301 and the total height of electricity display portion 3011 is less than the setting value, The total height of the level of power consumption indicating section 3012 is the total height of hourglass icons 301 total height and electricity display portion 3011 Difference;When the difference of the total height of the hourglass icons 301 and the total height of electricity display portion 3011 is greater than the setting value, The total height of the level of power consumption indicating section 3012 is the setting value.When the level of power consumption of terminal changes, power consumption The husky mouth width degree of the corresponding leakage of grade indicating section 3012 accordingly changes: in the specific implementation, enabling a level of power consumption corresponding The setting width value for leaking husky mouth leaks husky mouth width degree and increases a setting width value when level of power consumption increases level-one;When power consumption etc. When grade reduces level-one, leaks husky mouth width degree and reduce by a width value.
Referring still to Fig. 3 A, in another embodiment, the total height of electricity display portion 3011 is setting height value, example Such as, the overall height H of electricity display portion 3011 is the 50% of 301 total height of hourglass icons, by electricity display portion 3011 Portion have setpoint color region indicate remaining capacity number.When terminal residual electricity is 100%, electricity display portion The height in the region in 3011 with setpoint color is equal with the height of electricity display portion 3011, with the consumption of electricity, electricity The height in the region with setpoint color gradually becomes smaller in amount display portion 3011.The case where level of power consumption is greatest level Under, it is setting ratio value that the opening width for leaking husky mouth, which occupies the ratio of entire 301 maximum width of hourglass icons, for example, power consumption etc. The corresponding leakage sand mouth width degree W of grade indicating section 3012 is 3/4ths of 301 maximum width of hourglass icons.When the power consumption etc. of terminal When grade changes, the husky mouth width degree of the corresponding leakage of level of power consumption indicating section 3012 accordingly changes: in the specific implementation, enabling The corresponding setting width value for leaking husky mouth of one level of power consumption, when level of power consumption increases level-one, the husky mouth width degree of leakage increases by one and sets Fixed width angle value;When level of power consumption reduces level-one, leaks husky mouth width degree and reduce by a width value.
The husky mouth width degree of the corresponding leakage of level of power consumption indicating section 3012 is different in level of power consumption difference, reference Fig. 3 B, The level of power consumption that middle hourglass icons 301 indicate is less than the level of power consumption that hourglass icons 301 shown in Fig. 3 A indicate, enables a user to The level of power consumption is intuitively enough viewed by level of power consumption indicating section 3012.
In the specific embodiment of the invention, the confirmation of the level of power consumption or level of power consumption and charge level is according to certain Rule repeat so that be shown in designated position on terminal display screen power consumption parameter be the nearest time power consumption parameter. Specifically, it is described the power consumption parameter is shown the designated position on the terminal display screen the step of after, further includes:
Calculate the last timing node for obtaining the current power consumption data of terminal to current time node first when Between be spaced;Judge whether the first time interval reaches preset first time interval threshold value, if so, returning to the acquisition To present terminal operating current the step of;In this case, according to the first time interval of setting to the power consumption of the terminal The level of power consumption of grade or terminal is detected and determined, and power consumption of terminal grade determining every time is shown in terminal, so that The level of power consumption shown on terminal screen can be updated with the first time interval of setting;
Or, the step of detecting that the power consumption changes, the operating current of present terminal got described in return;At this In the case of kind, power consumption of terminal grade is measured in real time from the background, when detecting that the power consumption changes, redefines end The level of power consumption at end;And the level of power consumption is shown into the designated position on the terminal display screen;
Or, calculating the timing node for the designated position that the last time shows the power consumption parameter on the terminal display screen To the second time interval of current time node;Judge whether second time interval reaches preset second time interval threshold Value, if so, current power consumption level is shown designated position on the terminal display screen or by current power consumption level and electricity Amount grade is shown in the designated position on the terminal display screen;In this condition, from the background to power consumption of terminal grade or terminal Level of power consumption and charge level are measured in real time, with the display of the level of power consumption of terminal or power consumption of terminal grade and charge level Timing node is calculated, according to the second time interval of setting by the power consumption of terminal grade newly obtained or power consumption of terminal grade and Charge level is shown, so that power consumption of terminal grade or power consumption of terminal grade and the display data of charge level are updated.
It in some embodiment of the invention, can be each when terminal had not only shown level of power consumption but also showed charge level While obtaining level of power consumption, the remaining capacity grade of terminal is obtained.
The present invention by the way that instantaneous power consumption is dynamically displayed to the mode on mobile phone interface, can allow user carry out game, Power consumption rising and relative amplitude are seen when call, starting application.It is exiting in application, user can observe directly the function of mobile phone Consumption reduces, and provides intuitive guidance cruise duration by adjusting using frequency, extension for user.
Based on the same inventive concept, a kind of power consumption display device is additionally provided in the embodiment of the present invention, due to the device solution Certainly the principle of problem is similar to energy consumption display method in Fig. 1 of the embodiment of the present invention, therefore the implementation of the device may refer to method Implementation, repeat place no longer apply states.
The present invention also provides a kind of power consumption display device, structure is as shown in Figure 4, comprising:
Electric current obtains module 401: for getting the operating current of present terminal;
Level of power consumption conversion module 402: it is used for according to preset first transformational relation, by the work electricity of the present terminal Circulation is changed to level of power consumption;
Level of power consumption display module 403: for the level of power consumption or level of power consumption and charge level to be shown in institute State the designated position on terminal display screen.
In some embodiment of the invention,
Described device further include:
Electricity obtains module: for getting the battery dump energy of present terminal;
Charge level conversion module: for according to preset second transformational relation, the remaining capacity of present terminal to be converted For charge level;
Charge level display module: it is shown for being display together with the level of power consumption charge level in the terminal Designated position in display screen.
In some embodiment of the invention, described device further include:
Power management command reception module: for detecting the clicking operation to the designated position;
Power management calling module: it for calling power management interface, allows users to through power management interface pair Terminal carries out power management operations.
In some embodiment of the invention,
The level of power consumption display module specifically includes:
Display parameters generation unit: for generating display parameters according to the level of power consumption;
Graphic resource generation unit: graphic resource is indicated for generating visual power consumption according to the display parameters;
Graphic resource display unit: for power consumption instruction graphic resource to be shown the finger on the terminal display screen Positioning is set.
In some embodiment of the invention, when power consumption instruction graphic resource is multiple static icons and power consumption instruction figure When shape resource is used to show charge level and level of power consumption simultaneously, the static icon includes electricity display portion, level of power consumption Indicating section;Charge level is indicated by the height dimension in the region in the electricity display portion with setpoint color, is passed through The width dimensions in the region in the level of power consumption indicating section with setpoint color indicate level of power consumption.
In some embodiment of the invention, the power consumption instruction graphic resource is the animated graphics of certain effects, described dynamic The animation effect for drawing graphic resource is corresponding with the level of power consumption;
Or, the power consumption instruction graphic resource is flashing icon, the flicker frequency of the flashing icon and the power consumption etc. Grade is corresponding;
Or, power consumption instruction graphic resource is multiple static icons, the multiple static icon and the different function It is corresponding to consume grade.
In some embodiment of the invention, described device further include:
Detection loop module: for calculating the last timing node for obtaining the current power consumption data of terminal to currently The first time interval of timing node;Judge whether the first time interval reaches preset first time interval threshold value, if The step of being, then getting the operating current of present terminal described in return;
Or, change of power consumption detection module: for detecting that the power consumption changes, present terminal is got described in return Operating current the step of;
Or, display loop module: showing the power consumption parameter on the terminal display screen for calculating the last time Second time interval of the timing node of designated position to current time node;Judge whether second time interval reaches pre- If the second time interval threshold value, if so, current power consumption level is shown the designated position on the terminal display screen.
Energy consumption display method and device provided by the embodiment of the present invention, can in the level of power consumption of display terminal so that User obtains terminal power consumption situation in the application of using terminal or function, to need to save electric energy, reduction in user The case where power consumption of terminal is accurately to carry out terminal supplying power management, closes the higher application of power consumption, closes consumption electric energy high end Function is held, the power consumption of terminal is enabled to meet the use demand of user, improves user experience.
The embodiment of the present invention also provides a kind of terminal, as shown in figure 5, terminal 500 include processor 502, memory 501 and It is stored in the computer program 503 that can be run on memory 501 and on processor 501, the processor 501 executes the meter The step in energy consumption display method described in any one embodiment of the present invention is realized when calculation machine program 503.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (13)

1. a kind of energy consumption display method is applied to terminal characterized by comprising
Get the operating current of present terminal;
According to preset first transformational relation, the operating current of the present terminal is converted into level of power consumption;
The level of power consumption is shown into the designated position on the terminal display screen.
2. energy consumption display method according to claim 1, which is characterized in that the method also includes:
Get the battery dump energy of present terminal;
According to preset second transformational relation, the remaining capacity of present terminal is converted into charge level;
The charge level and the level of power consumption are display together the designated position on the terminal display screen.
3. energy consumption display method according to claim 1, which is characterized in that the method also includes:
Detect the clicking operation to the designated position;
Power management interface is called, allows users to carry out power management operations to terminal by power management interface.
4. energy consumption display method according to claim 1, which is characterized in that described to show the level of power consumption described Designated position on terminal display screen, comprising:
Display parameters are generated according to the level of power consumption;
Visual power consumption, which is generated, according to the display parameters indicates graphic resource;
Power consumption instruction graphic resource is shown into the designated position on the terminal display screen.
5. energy consumption display method according to claim 4, which is characterized in that the power consumption instruction graphic resource is specific effect The animation effect of the animated graphics of fruit, the animated graphics resource is corresponding with the level of power consumption;
Or, the power consumption instruction graphic resource is flashing icon, the flicker frequency of the flashing icon and the level of power consumption pair It answers;
Or, power consumption instruction graphic resource is multiple static icons, the multiple static icon and the different power consumptions etc. Grade is corresponding.
6. energy consumption display method described in -5 any one according to claim 1, which is characterized in that described by the power consumption parameter After the step of designated position being shown on the terminal display screen, further includes:
The last timing node for obtaining the current power consumption data of terminal is calculated between the first time of current time node Every;Judge whether the first time interval reaches preset first time interval threshold value, works as if so, being got described in returning The step of operating current of preceding terminal;
Or, the step of detecting that the power consumption changes, the operating current of present terminal got described in return;
The power consumption parameter is shown the timing node of designated position on the terminal display screen to working as or, calculating the last time Second time interval of preceding timing node;Judge whether second time interval reaches preset second time interval threshold value, If so, current power consumption level is shown the designated position on the terminal display screen.
7. a kind of power consumption display device characterized by comprising
Electric current obtains module: for getting the operating current of present terminal;
Level of power consumption conversion module: for according to preset first transformational relation, the operating current of the present terminal to be converted For level of power consumption;
Level of power consumption display module: for the level of power consumption to be shown to the designated position on the terminal display screen.
8. power consumption display device according to claim 7, which is characterized in that described device further include:
Electricity obtains module: for getting the battery dump energy of present terminal;
Charge level conversion module: for according to preset second transformational relation, the remaining capacity of present terminal to be converted to electricity Measure grade;
Charge level display module: for displaying together the charge level and the level of power consumption in the terminal display screen On designated position.
9. power consumption display device according to claim 7, which is characterized in that described device further include:
Power management command reception module: for detecting the clicking operation to the designated position;
Power management calling module: it for calling power management interface, allows users to through power management interface to terminal Carry out power management operations.
10. power consumption display device according to claim 8, which is characterized in that the level of power consumption display module specifically wraps It includes:
Display parameters generation unit: for generating display parameters according to the level of power consumption;
Graphic resource generation unit: graphic resource is indicated for generating visual power consumption according to the display parameters;
Graphic resource display unit: for power consumption instruction graphic resource to be shown the specific bit on the terminal display screen It sets.
11. power consumption display device according to claim 10, which is characterized in that the power consumption instruction graphic resource is specific The animation effect of the animated graphics of effect, the animated graphics resource is corresponding with the level of power consumption;
Or, the power consumption instruction graphic resource is flashing icon, the flicker frequency of the flashing icon and the level of power consumption pair It answers;
Or, power consumption instruction graphic resource is multiple static icons, the multiple static icon and the different power consumptions etc. Grade is corresponding.
12. according to power consumption display device described in claim 7-11 any one, which is characterized in that described device further include:
Detection loop module: for calculating the last timing node for obtaining the current power consumption data of terminal to current time The first time interval of node;Judge whether the first time interval reaches preset first time interval threshold value, if so, The step of operating current of present terminal is got described in return;
Or, change of power consumption detection module: for detecting that the power consumption changes, the work of present terminal is got described in return The step of making electric current;
Or, display loop module: the power consumption parameter being shown specifying on the terminal display screen for calculating the last time Second time interval of the timing node of position to current time node;Judge whether second time interval reaches preset Second time interval threshold value, if so, current power consumption level is shown the designated position on the terminal display screen.
13. a kind of terminal, it is characterised in that including processor, memory and store on a memory and can run on a processor Computer program, the processor realizes such as function according to any one of claims 1 to 6 when executing the computer program Consume the step in display methods.
CN201710463938.0A 2017-06-19 2017-06-19 A kind of energy consumption display method, device and terminal Pending CN109142859A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710463938.0A CN109142859A (en) 2017-06-19 2017-06-19 A kind of energy consumption display method, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710463938.0A CN109142859A (en) 2017-06-19 2017-06-19 A kind of energy consumption display method, device and terminal

Publications (1)

Publication Number Publication Date
CN109142859A true CN109142859A (en) 2019-01-04

Family

ID=64804465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710463938.0A Pending CN109142859A (en) 2017-06-19 2017-06-19 A kind of energy consumption display method, device and terminal

Country Status (1)

Country Link
CN (1) CN109142859A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111538447A (en) * 2020-04-20 2020-08-14 北京小米移动软件有限公司 Information display method, device, equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848281A (en) * 2010-04-23 2010-09-29 中兴通讯股份有限公司 Power-saving terminal and power saving method thereof
CN102508761A (en) * 2011-11-17 2012-06-20 宇龙计算机通信科技(深圳)有限公司 Management method for terminal electric quantity and terminal
CN102914744A (en) * 2012-06-29 2013-02-06 惠州Tcl移动通信有限公司 Mobile terminal, battery power display system of mobile terminal, and method for acquiring battery power
CN103455410A (en) * 2012-05-30 2013-12-18 宇龙计算机通信科技(深圳)有限公司 Application icon display method and communication terminal thereof
CN104092835A (en) * 2014-07-31 2014-10-08 广东欧珀移动通信有限公司 Power consumption anomaly detection method and device for mobile terminal
CN104184884A (en) * 2013-05-28 2014-12-03 中兴通讯股份有限公司 Device and method for managing and controlling power consumption of mobile terminal and mobile terminal
CN104219397A (en) * 2014-09-03 2014-12-17 深圳市中兴移动通信有限公司 Mobile terminal and power saving method and system thereof
CN105072292A (en) * 2015-08-04 2015-11-18 深圳市金立通信设备有限公司 Application control method and terminal
CN106851790A (en) * 2015-12-04 2017-06-13 展讯通信(上海)有限公司 A kind of change of power consumption control method and system and mobile terminal
CN107390856A (en) * 2017-07-19 2017-11-24 努比亚技术有限公司 A kind of method, mobile terminal and storage medium for reducing mobile terminal power consumption

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848281A (en) * 2010-04-23 2010-09-29 中兴通讯股份有限公司 Power-saving terminal and power saving method thereof
CN102508761A (en) * 2011-11-17 2012-06-20 宇龙计算机通信科技(深圳)有限公司 Management method for terminal electric quantity and terminal
CN103455410A (en) * 2012-05-30 2013-12-18 宇龙计算机通信科技(深圳)有限公司 Application icon display method and communication terminal thereof
CN102914744A (en) * 2012-06-29 2013-02-06 惠州Tcl移动通信有限公司 Mobile terminal, battery power display system of mobile terminal, and method for acquiring battery power
CN104184884A (en) * 2013-05-28 2014-12-03 中兴通讯股份有限公司 Device and method for managing and controlling power consumption of mobile terminal and mobile terminal
CN104092835A (en) * 2014-07-31 2014-10-08 广东欧珀移动通信有限公司 Power consumption anomaly detection method and device for mobile terminal
CN104219397A (en) * 2014-09-03 2014-12-17 深圳市中兴移动通信有限公司 Mobile terminal and power saving method and system thereof
CN105072292A (en) * 2015-08-04 2015-11-18 深圳市金立通信设备有限公司 Application control method and terminal
CN106851790A (en) * 2015-12-04 2017-06-13 展讯通信(上海)有限公司 A kind of change of power consumption control method and system and mobile terminal
CN107390856A (en) * 2017-07-19 2017-11-24 努比亚技术有限公司 A kind of method, mobile terminal and storage medium for reducing mobile terminal power consumption

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MIN-HAO MICHAEL LU等: "Power Consumption and Temperature Increase in Large Area Active-Matrix OLED Displays", 《 JOURNAL OF DISPLAY TECHNOLOGY》 *
乔中莲等: "液晶电视用低功耗LED背光模组设计", 《液晶与显示》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111538447A (en) * 2020-04-20 2020-08-14 北京小米移动软件有限公司 Information display method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106095363B (en) A kind of ameliorative way, device and the terminal of terminal Caton
CN102508761B (en) The management method of terminal power and terminal
CN102369647B (en) Power supply managment method and device of mobile terminal
CN102819313B (en) Operating method of terminal equipment and terminal equipment
CN103682491B (en) The charging method of electric room, charging circuit and electronic equipment
EP2658231B1 (en) Energy-saving device and method for portable terminal
CN103208659B (en) Electronic equipment charging method and electronic equipment
CN104503889B (en) A kind of information processing method and electronic equipment
CN104716750B (en) A kind of low power consuming wireless power method and relevant apparatus, system
CN109164905A (en) Mobile terminal and its power-saving control method
CN104184884B (en) A kind of control device and method, mobile terminal of mobile terminal power consumption
CN103683350B (en) The charging method of electric room, charging circuit and electronic equipment
CN110381130A (en) The long connection method of keep-alive, device, communication terminal and storage medium
CN112165140A (en) Charging and discharging control method and device and power supply equipment
CN103376414A (en) Method and device for monitoring electric quantity of battery
CN105762883B (en) Method and electronic equipment for charging for electronic equipment
CN108196482A (en) Power consumption control method, device, storage medium and electronic equipment
CN104021036A (en) Electronic equipment and electronic equipment state switching method
CN109142859A (en) A kind of energy consumption display method, device and terminal
CN110429678A (en) Mobile terminal method of supplying power to, system, storage medium and mobile terminal
CN112994184A (en) Reverse charging method and device and electronic equipment
CN102636757A (en) Battery capacity management method
CN106372502A (en) Application closure limiting method and apparatus, and terminal
CN106020429A (en) Power saving mode starting method and device and terminal equipment
JP2024524570A (en) Method and device for displaying battery charge amount, electrical terminal and storage medium

Legal Events

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

Application publication date: 20190104

RJ01 Rejection of invention patent application after publication