CN104484031B - The optimization method and device of terminal device power consumption state - Google Patents

The optimization method and device of terminal device power consumption state Download PDF

Info

Publication number
CN104484031B
CN104484031B CN201410844193.9A CN201410844193A CN104484031B CN 104484031 B CN104484031 B CN 104484031B CN 201410844193 A CN201410844193 A CN 201410844193A CN 104484031 B CN104484031 B CN 104484031B
Authority
CN
China
Prior art keywords
power consumption
service
interface
scoring
state
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.)
Active
Application number
CN201410844193.9A
Other languages
Chinese (zh)
Other versions
CN104484031A (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410844193.9A priority Critical patent/CN104484031B/en
Publication of CN104484031A publication Critical patent/CN104484031A/en
Application granted granted Critical
Publication of CN104484031B publication Critical patent/CN104484031B/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/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • 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/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3215Monitoring of peripheral devices
    • G06F1/3218Monitoring of peripheral devices of display devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses the optimization method and device of a kind of terminal device power consumption state, wherein, method includes:In detection terminal equipment, the status information of every power consumption service, determines the first power consumption state of simultaneously displaying terminal equipment according to the status information of every power consumption service;The optimization processing instruction of receive user triggering, is optimized process to one or more in every power consumption service according to the status information of optimization processing instruction and every power consumption service;The status information of the every power consumption service after inspection optimization process, and according to optimization processing after every power consumption service status information determination simultaneously displaying terminal equipment the second power consumption state.By this programme, user can be made according to optimization and the occupation mode of power consumption condition selecting terminal device, it is to avoid electricity exhausts in advance to the current power consumption state of user's displaying terminal equipment, extend the use time of dump energy.

Description

The optimization method and device of terminal device power consumption state
Technical field
The present invention relates to terminal applies technical field, and in particular to a kind of optimization method and dress of terminal device power consumption state Put.
Background technology
With the quantity of the mobile terminal of the development of mobile terminal and mobile network, smart mobile phone, panel computer etc. It is more and more with species.As mobile terminal has portability and ambulant feature, user can be conveniently used mobile whole End carry out various work or stress-relieving activity whenever and wherever possible, such as send and receive e-mail, reading electronic book, online, Entertainment Deng.
But mobile terminal is often subject to the restriction of electricity, it is impossible to long lasting for work, needs to change battery or carry out Charging can just be continuing with, and be that user makes troubles.May run in mobile terminal system has various application programs and system clothes Business etc., causes the loss of electricity, reduces the pot life of battery.In existing managing electric quantity program, dump energy is only carried out Detection.User does not know about current electricity consumption condition, therefore is unable to estimate pot life yet, once the electricity before user expeced time Exhaust, user cannot be continuing with.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome the problems referred to above or at least in part solve on State the optimization method and device of the terminal device power consumption state of problem.
According to an aspect of the invention, there is provided a kind of optimization method of terminal device power consumption state, including:
The status information of every power consumption service in detection terminal equipment, it is true according to the status information of every power consumption service First power consumption state of fixed and displaying terminal equipment;
The optimization processing instruction of receive user triggering, according to optimization processing instruction and the state letter of every power consumption service Cease and process is optimized to one or more in every power consumption service;
The status information that every power consumption after inspection optimization process is serviced, and according to the optimization processing after every power consumption The status information of service determines the second power consumption state of simultaneously displaying terminal equipment.
According to a further aspect in the invention, there is provided a kind of optimization device of terminal device power consumption state, including:
Detection module, is adapted to detect for the status information of every power consumption service in terminal device;
State determining module, determines the first power consumption shape of terminal device according to the status information of every power consumption service State;And according to optimization processing after the status information of every power consumption service determine the second power consumption state of terminal device;
Interactive module, is suitable to show the first power consumption state and the second power consumption state, and receive user triggering Optimization processing instruction;
Optimization module, takes to every power consumption according to the status information of optimization processing instruction and every power consumption service One or more in business is optimized process.
The optimization method and device of terminal device power consumption state of the invention, every power consumption clothes in detection terminal equipment The status information of business, determines the power consumption state of terminal device the displaying in interface according to the status information of every power consumption service, With the power consumption state for notifying user current, the optimization of power consumption state is judged whether to for user, according to the triggering of user, to each Item power consumption service is optimized, and feeds back to the power consumption state after user optimization.By this programme, can be to user's displaying terminal equipment Current power consumption state, makes user according to optimization and the occupation mode of power consumption condition selecting terminal device, it is to avoid electricity consumes in advance To the greatest extent, extend the use time of dump energy.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow the above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of the drawings
By the detailed description for reading hereafter preferred embodiment, various other advantages and benefit are common for this area Technical staff will be clear from understanding.Accompanying drawing is only used for the purpose for illustrating preferred embodiment, and is not considered as to the present invention Restriction.And in whole accompanying drawing, it is denoted by the same reference numerals identical part.In the accompanying drawings:
The flow chart that Fig. 1 shows the optimization method of terminal device power consumption state according to an embodiment of the invention;
Fig. 2 shows the displaying interface schematic diagram of power consumption state provided in an embodiment of the present invention;
Fig. 3 shows the displaying interface schematic diagram of optimization process provided in an embodiment of the present invention;
Fig. 4 shows the displaying interface schematic diagram of the power consumption state after optimization processing provided in an embodiment of the present invention;
The flow chart that Fig. 5 shows the optimization method of terminal device power consumption state in accordance with another embodiment of the present invention;
Fig. 6 shows that the first power consumption state provided in an embodiment of the present invention and the displaying interface of the first pot life are illustrated Figure;
Fig. 7 shows power consumption optimization interface schematic diagram provided in an embodiment of the present invention;
Fig. 8 shows power consumption seniority among brothers and sisters interface schematic diagram provided in an embodiment of the present invention;
Fig. 9 shows the displaying interface schematic diagram of optimum results provided in an embodiment of the present invention;
Figure 10 shows the structured flowchart of the optimization device of terminal device power consumption state according to an embodiment of the invention;
Figure 11 shows the structural frames of the optimization device of terminal device power consumption state in accordance with another embodiment of the present invention Figure.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should not be by embodiments set forth here Limited.On the contrary, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
The flow chart that Fig. 1 shows the optimization method of the power consumption state of terminal device according to an embodiment of the invention, As shown in figure 1, the method comprises the steps:
Step S110, the status information of every power consumption service in detection terminal equipment, according to the state of every power consumption service Information determines the first power consumption state of simultaneously displaying terminal equipment.
In the embodiment of the present invention, terminal device include but is not limited to smart mobile phone, panel computer, notebook computer and PDA (personal digital assistant).The method that the present invention is provided is implemented in terminal device, is specifically capable of achieving an application for terminal Program, such as a kind of power consumption optimization application.
Alternatively, the power consumption application program that the power consumption service in terminal device is run in including system, power consumption herein should It is application program of the power consumption higher than predetermined threshold value with program.Specifically, power consumption application program includes the application journey of user installation Application program that sequence (such as browser, map software, MSN etc.) and system are carried (clock that carries such as system, Photograph album, phonetic order etc.).The startup of these application programs can expend certain electricity, and apply journey using these in user Sequence is finished after exiting, and system can't close application program immediately, and can retain some processes, in order to next quick startup. As the process for retaining increases, more internal memories are taken, can also increase electric quantity consumption.
Alternatively, screen intensity and screen locking time control of the power consumption service also including system.When screen intensity is improper or Terminal can be caused during screen locking overlong time to expend excessive electricity.For example, under conditions of dark, relatively low screen intensity It is sufficiently used for showing, and higher brightness causes the unnecessary consumption of electricity.
Alternatively, hardware state of the power consumption service also including terminal device.Here hardware state can be the frequency modulation of CPU etc. State, for example, CPU be operated under frequency modulation state or non-frequency modulation state under.
Alternatively, power consumption service also includes some system services, such as bluetooth service, Wi-Fi services etc..If currently without Wi-Fi network does not carry out the data transfer of bluetooth, Wi-Fi, and the unlatching of corresponding with service can consume more electricity.Except this it Outward, system service also includes data network service, such as GPRS network service, 3G network service etc.;Tactile feedback is serviced, for example Keypad tone, button vibrations etc.;And intelligent synchronization service, the automatic synchronization of such as address list, or system account etc..Above-mentioned service exists Running background, can all take certain system resource, cause the consumption of electricity.
In the present embodiment, the application of the inventive method is performed by calling the interface that terminal device operating system is provided, inspection The status information of above-mentioned every power consumption service is surveyed, corresponding power consumption state is obtained with this.For example, for power consumption application program, adjust With the process list in ActivityManager interface polls systems, and then therefrom find out power consumption application program.
Wherein, for power consumption application program and system service, the status information of power consumption service includes power consumption application program Unlatching quantity (i.e. power consumption application information) or system service unlatching quantity (i.e. system service information);To screen intensity With the screen locking time, the status information of power consumption service includes screen brightness value (screen intensity information), and screen locking duration (believe by the screen locking time Breath) etc.;To hardware state, the status information of power consumption service includes the frequency modulation status information (hardware status information) of CPU.
In the embodiment of the present invention, it is that each above-mentioned power consumption service pre-sets score value logic, for example, according to each consumption The power consumption ratio setting of electricity service.For example, it is 100 points to arrange total score;Wherein, through statistics, power consumption application program and screen Brightness is maximum to terminal device electric quantity consumption, can be respectively provided with score range for 0-25 point;Next to that when system service and screen locking Between, the score value for taking respectively is 0-15 point, and hardware effort state takes 10 points, respectively to every power consumption in above-mentioned score range Service scoring, obtains the first scoring of every power consumption service.
Specifically, for power consumption application program, power consumption application program is determined according to the unlatching quantity of power consumption application program First scoring.When increasing with the unlatching quantity of power consumption application program, the first scoring is presented reduction trend, for example, when power consumption application When program is less than 5, the first scoring of power consumption application program is 25 points, and when power consumption application program is more than 5, is often increased 2 power consumption application programs, the first scoring reduce by 1 point, minimum to be divided into 10 points.The first scoring to system service is also to take with system The unlatching quantity of business increases and reduces, and repeats no more.
For the screen locking time, first scoring of screen locking time is determined according to the length of screen locking time.Concrete score value logic can To be set to:When the screen locking time is below 15 seconds, first scoring of screen locking time is 15 points;When increasing the screen locking time, screen locking First scoring of time is reduced.
For screen intensity, the first scoring of screen intensity is determined according to the size of screen intensity.Concrete score value logic can To be set to:Screen brightness value be less than 25% or screen intensity for it is automatic when, the first scoring of screen intensity is for 15 points;Work as screen When brightness value is raised, the first scoring of screen intensity is reduced.
For hardware state, the first scoring of hardware state is determined according to the working method of hardware.Concrete score value logic can To be set to:When CPU is operated under frequency modulation state, the first scoring of hardware state is 10 points;CPU is operated under non-frequency modulation state When, the first scoring of hardware state is 5 points.
The sum of the first scoring of above-mentioned every power consumption service is calculated as the first overall score.Determined according to the first overall score First power consumption state.For example, when the first general comment is divided in the range of 90-100 point, show that power consumption state is " ultimate attainment power saving ", when When first overall score is in the range of 60-90 divides, show that power consumption state is " comparing power saving ", when the first overall score is below 60 points When, it is shown as " very power consumption ".
It should be noted that the above-mentioned score value logic for being related to concrete numerical value is only the specific example that the present invention is given, do not make For limitation of the present invention.
Fig. 2 shows the displaying interface schematic diagram of power consumption state provided in an embodiment of the present invention.Specifically, user clicks on consumption After electrically optimized application, using S110 the step of startup, the execution embodiment of the present invention, the first current power consumption state is shown.Such as In displaying interface shown in Fig. 2, it is shown that the first power consumption state is very power consumption, while also show dump energy for 65%. According to the first power consumption status information and dump energy, make user understand current electricity consumption condition, estimate use time, so as to using Mode is made adjustment.
Step S120, the optimization processing instruction of receive user triggering, according to optimization processing instruction and every power consumption service Status information is optimized process to one or more in every power consumption service.
Displaying interface shown in Fig. 2 in addition to the first power consumption state of displaying terminal equipment is also provided with grasping for user User's triggering interface of work, for the optimization processing instruction of receive user triggering, specifically, is shown as " clicking on excellent in fig. 2 Change " control.After user clicks on the control, using into the optimization processing stage.Control is specially automatic touching " to click on optimization " in Fig. 2 Interface is sent out, after user clicks on, is processed using Automatic Optimal is performed.Fig. 3 shows optimization process provided in an embodiment of the present invention Show interface schematic diagram, Fig. 3 illustrate only part optimum results, including the tune of screen locking time and screen intensity as an example Icon (square frame APP1-APP5 represents the icon of power consumption application program in Fig. 3) of power consumption application program of whole and closing etc..
Specifically, according to the testing result in step S110, optimization processing includes one or more of following processing mode Combination:
(1) if running background has power consumption application program of multiple power consumption higher than predetermined threshold value, close one of those Or multiple power consumption application programs;
(2) if screen intensity is too high, optimize screen intensity, for example, screen intensity is set to into self-regulation mode or is incited somebody to action Screen brightness value is adjusted to specify numerical value, and such as 25%;
(3) if screen locking overlong time, shorten the screen locking time, for example, be reduced to less than 15 seconds;
(4) start intelligent sleep for electricity saving state, in this case, after screen locking in a period of time, for example, after 1 minute, backstage Application program is automatically into resting state;
(5) close intelligent synchronization service.
Above-mentioned 5 kinds of optimization processing modes are to receive user by triggering interface automatically (such as " clicking on optimization " control in Fig. 2 Part) trigger optimization processing instruction and optionally perform, the present invention is not limited only to this, the embodiment of the present invention may also provide one or Multiple manual triggering interfaces (for optimizing the second specific items power consumption service), as shown in figure 3, " optimization of CPU frequency modulation " and " depth province Electricity " is manually triggering interface, if receiving optimization processings instruction of the user by these triggering interfaces manually, application it is excellent Change processing mode may also include:The working method optimized hardware, and/or, close the optimization processings such as one or more system service Mode.
Step S130, the status information that the every power consumption after inspection optimization process is serviced, and according to optimization processing after it is each The status information of item power consumption service determines the second power consumption state of simultaneously displaying terminal equipment.
After execution step S120 is optimized to respective services, the status information of every power consumption service is detected again, really The second power consumption state after fixed optimization.This is identical with the determination mode of the first power consumption state in step S110, is not repeated herein.
Fig. 4 shows the displaying interface schematic diagram of the power consumption state after optimization processing provided in an embodiment of the present invention, such as Fig. 4 Shown, the power consumption state after optimization processing is " comparing power saving ".User can also be provided triggering interface in the displaying interface, such as " continuing optimization ", user can select to continue optimization according to actual optimization situation.
According to the method that the above embodiment of the present invention is provided, the status information of every power consumption service in detection terminal equipment, The power consumption state of terminal device the displaying in interface are determined according to the status information of every power consumption service, to notify that user is current Power consumption state, judge whether to the optimization of power consumption state for user, according to user triggering optimization processing instruction, to items Power consumption service is optimized, and feeds back to the power consumption state after user optimization.According to the program, can work as to user's displaying terminal equipment Front power consumption state, makes user according to optimization and the occupation mode of power consumption condition selecting terminal device, it is to avoid electricity exhausts in advance, Extend the use time of dump energy.
The flow chart that Fig. 5 shows the optimization method of terminal device power consumption state in accordance with another embodiment of the present invention, As shown in figure 5, the method comprises the steps:
Step S510, the status information of every power consumption service in detection terminal equipment.
In the embodiment of the present invention, the status information of every power consumption service includes in the status information of following power consumption service one Item is multinomial:Power consumption application information, screen intensity information, screen locking temporal information, hardware status information and system service Information.
Wherein power consumption application information is the unlatching quantity of power consumption application program.Specifically, power consumption application program can be with It is background application of the power consumption higher than predetermined threshold value;Or, the backstage more than threshold value such as CPU usage, memory usage Application program;Or, power consumption is installed to the application program in terminal device and is ranked, application program in the top is made For power consumption application program.Size (also referred to as screen brightness value) of the screen intensity information for screen intensity.Screen locking temporal information is lock The length of screen time.Working method of the hardware status information for hardware.Unlatching quantity of the system service information for system service.
Above-described embodiment step can be referred to about every power consumption service and the introduction of the status information of every power consumption service The description of S110, will not be described here.
Step S520, according to the score value logic for pre-setting, determines respectively respectively according to the status information of every power consumption service First scoring of item power consumption service.
In the present embodiment, it is that each above-mentioned power consumption service pre-sets score value logic, for example, is taken according to each power consumption The power consumption ratio setting of business.For example, it is 100 points to arrange total score;Wherein, through statistics, power consumption application program and screen intensity It is maximum to terminal device electric quantity consumption, score range can be respectively provided with for 0-25 point;Next to that system service and screen locking time, point The score value not taken is 0-15 point, and hardware effort state takes 10 points, respectively to every power consumption service in above-mentioned score range Scoring, obtains the first scoring of every power consumption service.
Specifically, to power consumption application program, the of power consumption application program is determined according to the unlatching quantity of power consumption application program One scoring.When increasing with the quantity of power consumption application program, the first scoring is presented reduction trend, for example, when power consumption application program is 5 When individual following, the first scoring of power consumption application program is 25 points, and when power consumption application program is more than 5, often increases by 2 power consumptions Application program, the first scoring reduce by 1 point, minimum to be divided into 10 points.The first scoring to system service is also opening with system service Opening quantity increases and reduces, and repeats no more.Identical weight is provided with for each power consumption application program in this example, only according to consumption The quantity of electric application program come determine power consumption application program first scoring.Those skilled in the art can be with according to every power consumption Application program or the power consumption of system service, enter number of passes etc., are that each power consumption application program or system service arrange different power Weight, determines the first scoring of power consumption service with this.
For the screen locking time, first scoring of screen locking time is determined according to the length of screen locking time.Concrete score value logic can To be set to:The screen locking time, first scoring of screen locking time was 15 points in below 15s;When increasing the screen locking time, during screen locking Between first scoring reduce.For example in 15s-30s, the first scoring is 10 points, is 5 points more than 30s.
For screen intensity, the first scoring of screen intensity is determined according to the size of screen intensity.Concrete score value logic can To be set to:Screen brightness value be less than 25% or screen intensity for it is automatic when, the first scoring of screen intensity is for 15 points;Work as screen When brightness value is raised, the first scoring of screen intensity is reduced.
For hardware state, the first scoring of hardware state is determined according to the working method of hardware.Concrete score value logic can To be set to:When CPU is operated under frequency modulation state, the first scoring of hardware state is 10 points;CPU is operated under non-frequency modulation state When, the first scoring of hardware state is 5 points.
Step S530, the first scoring sum for calculating every power consumption service obtain the first general comment of all power consumption services Point.
Step S540, determines the first power consumption state according to the first overall score of all power consumption services.
Also include the corresponding relation of power consumption state and overall score scope in the score value logic for pre-setting.For example, when first When general comment is divided in the range of 90-100 point, determine that power consumption state is " ultimate attainment power saving ", when the first overall score is in the range of 60-90 point When, determine that power consumption state is " comparing power saving ", when the first overall score is below 60 points, be defined as " very power consumption ".
When the first of step S550, the status information serviced according to every power consumption and dump energy calculating dump energy can use Between.
Specifically, by taking android system as an example, there is a BatteryManager (battery management function), its meeting in it Send sticky (viscosity) type system broadcasts, include in its function return value intent current battery electric quantity state, The various information such as charged state, therefore application programming interfaces registration monitoring module can be monitored by the battery electric quantity to system, Carry out detecting system current battery charge.
Alternatively, the first pot life of dump energy can be calculated in the following manner:It is total electricity of terminal device in advance Amount arranges some electricity intervals, and the initial electricity according to terminal device in each time period counted under power consumption state and termination electricity Amount, obtains the interval remaining use time of the electricity that is correspondingly arranged;So as to the current electric quantity according to terminal device and the electricity for arranging The interval relation of amount, with reference to the interval corresponding remaining use time of electricity, obtains the first pot life.
Step S560, shows the first power consumption state and the first pot life in interface is shown.
Fig. 6 shows that the first power consumption state provided in an embodiment of the present invention and the displaying interface of the first pot life are illustrated Figure.As shown in fig. 6, the first power consumption state of present terminal equipment is " comparing power saving ", the first pot life of dump energy is " when 15 22 points ".In addition to showing the first power consumption state and the first pot life, it is also provided with grasping for user in showing interface User's triggering interface of work, for the optimization processing instruction of receive user triggering.Using the operation according to user, to every power consumption Service is optimized.
Step S570, receive user are showing the optimization processing instruction of interface triggering.
Specifically, touch-control of the user to " clicking on optimization " control shown in Fig. 6 is detected, optimization processing instruction is received.Should " clicking on optimization " control is a triggering interface automatically.
Above-mentioned optimization method also can be in backstage automatic running, for example, when the application for performing the inventive method detects residue Electricity be less than 20% when, or the CPU usage under screen lock state, memory usage it is too high when, or terminal start game when, automatically Produce optimization processing instruction.
Step S580, according to the status information of optimization processing instruction and every power consumption service in power consumption service or It is multinomial to be optimized process.
Specifically, optimization processing includes one or more in following processing mode of combination:Close one or more consumptions Electric application program, starts intelligent sleep for electricity saving state, optimizes screen intensity, shorten the screen locking time, closes intelligent synchronization service etc.. Description about this several optimization processing mode can be referred to described in upper embodiment step S120.
Further, power consumption application program includes some application programs that installed user program and system are carried.The present invention It is in embodiment, optional to above-mentioned two classes power consumption application program to be optimized in different ways.Wherein, to user installation journey Sequence, for example, Baidu map, UC browsers etc., it is little with mobile system type and mobile device model relation.The present invention is to this kind of Power consumption application program provides identical Optimizing Suggestions value, for example, it is proposed that close or advise to retain, with identical on different terminals Method optimizing.
Carry application program to system, different type of machines to carry application program different, and the application program that these carry can Can be important, user after being closed, may be affected to use.Perform the inventive method application program by the model of mobile terminal, System type etc. is uploaded to high in the clouds, preserve in cloud database the present invention power consumption application program provider run out it is every Optimizing Suggestions value or optimisation strategy that the system in the terminal of model carries application program are planted, specifically, is protected in cloud database Deposit the installation kit title that closable system carries application program, such as apk titles, and corresponding Optimizing Suggestions value.Or, receive The optimisation strategy to the terminal models that high in the clouds pushes, for example, the recommended value of the 3 exclusive optimisation strategies of Samsung Galaxy of push And be buffered in locally, after application program inquiry local cache, power consumption application program is optimized.
Optimization to power consumption application program also includes forbidding the self-starting of power consumption application program, and this can also pass through above-mentioned The mode of high in the clouds inquiry is carried out, beyond the clouds in database to every kind of terminal models, preserve in the terminal can self-starting application journey The bag title of sequence and corresponding Optimizing Suggestions value, push in terminal device, for answering for the inventive method is performed in terminal device Used in locally carrying out inquiring about corresponding Optimizing Suggestions value, power consumption application program is optimized according to Optimizing Suggestions value.
Further, in the embodiment of the present invention, show that interface is also provided with user's triggering of at least one battery saving mode and connects Mouthful, the optimization processing instruction of interface user triggering is triggered by the user of at least one battery saving mode, according to corresponding Battery saving mode is optimized process to one or more in every power consumption service.As shown in fig. 6, showing that the bottom at interface provides User's triggering interface that battery saving mode is selected, present mode is " balance power saving " pattern." balance power saving " pattern of being somebody's turn to do is corresponded to A kind of optimal way of preset power consumption service, for example, under this optimal way, will close tactile feedback service and intelligent synchronization Service, and retention data network service, Wi-Fi service and bluetooth service.User's triggering interface quilt of " balance power saving " pattern of being somebody's turn to do After triggering, there is drop-down menu, there is provided " balanced mode ", the battery saving mode such as " limit mode " is selected for user, as shown in Figure 7. User can also carry out personalized customization to " balanced mode " and " limit mode ".
As an example, the optimization situation of every system service in balanced mode and limit mode is indicated under:
The optimization situation of 1. two kinds of battery saving modes of table illustrates table
Balanced mode Limit mode
Brightness Automatically 25%
Screen locking time-out 30s 15s
Vibrations It is always on Squelch type is opened
Wi-Fi Open Close
Data network Open Close
Bluetooth Close Close
It is synchronous Close Close
Tactile feedback Open Close
Above two battery saving mode can also be automatically switched, for example, when dump energy is less than 20%, or at night Period, such as 23:00-07:Between 00, limit mode is automatically switched to.
May make troubles for user if triggering interface by user and carrying out Automatic Optimal to whole power consumption services.Example Such as, the tactile feedback service of system is closed after Automatic Optimal, and user is to need the service.Therefore, further, may be used also Trigger manually interface directly in the displaying interface of the first power consumption state that shows to provide and show.Specifically, triggering connects automatically Mouth is included but are not limited to for optimizing the power consumption service of the first specific items:One or more power consumption application programs are closed, is started Intelligent sleep for electricity saving state, optimizes screen intensity, shortens the screen locking time, closes intelligent synchronization service etc..Triggering interface is used manually In the second specific items power consumption service is optimized, include but are not limited to:The working method optimized hardware, and/or, close one or many Item system service.Wherein, the working method optimized hardware is specially:If CPU working conditions are non-frequency modulation working method, will CPU working conditions are set to frequency modulation working method.Close one or more system service include bluetooth service, Wi-Fi service, One or more in the service of data network service, tactile feedback service and intelligent synchronization.
Additionally, the method for the present embodiment also includes:Total power consumption percentage of each power consumption application program is counted, according to total consumption Electric percentage is ranked to power consumption application program.In the displaying interface that the first power consumption state is shown shown in Fig. 6, additionally provide User's triggering interface at power consumption application program seniority among brothers and sisters interface, " power consumption seniority among brothers and sisters " option in such as Fig. 6.According to user to power consumption application The user at program seniority among brothers and sisters interface triggers the triggering of interface, shows power consumption application program seniority among brothers and sisters interface.Fig. 8 shows enforcement of the present invention The power consumption seniority among brothers and sisters interface schematic diagram that example is provided.Power consumption application program seniority among brothers and sisters shows from top to down according to total power consumption percentage in interface Each power consumption application program, and be provided with for each power consumption application program forbid from open option, recover from open option and Unloading option.
By taking android system as an example, application program can directly invoke the battery status query interface of system and check each application The power consumption information of program.In the android system of higher-version, android system is no longer carried to third-party application program Root authority for calling above-mentioned interface.In this case, the invention provides a kind of method of method acquisition power consumption information.Tool Body ground, performs one root process of application program launching of the inventive method, services reading system by battertystats and uses In the file of record battery information:/ data/system/batterystats.bin, this is the binary system text of a serializing Part, wherein record has CPU, the various sensors (such as GPS sensor, gravity sensor etc.) in mobile phone, the use of Wi-Fi equipment Time, wake-up times etc..By a power consumption message file under the data write application catalog for reading.Application program is learnt After above-mentioned process terminates, power consumption message file is read, unserializing is carried out, obtain the power consumption seniority among brothers and sisters of each application program.
Alternatively, present invention also offers another kind of method for obtaining power consumption seniority among brothers and sisters.Specifically, current process is obtained first List, the process to each the power consumption application program in process list, obtain the power consumption application program process to CPU and The occupancy and/or holding time of the system resources such as internal memory.The more processes of occupancy and/or holding time to system resource More electricity are expended, and then obtains a power consumption seniority among brothers and sisters.Further, can also take for CPU and EMS memory occupation situation sets Weight is put, the weight that CPU takes is 8, and EMS memory occupation weight is 2, then calculates the power consumption percentage of each process.For example, one answer With the CPU usage 10% of program, memory usage 5%, power consumption percentage is:10% × 0.8+5% × 0.2=9%.As Shown in Fig. 8, the total power consumption percentage of each power consumption application program is shown in seniority among brothers and sisters interface.For user, this display Mode is more directly perceived.
When performing the application program launching of the inventive method, said process is performed automatically, obtain power consumption seniority among brothers and sisters, or, User performs said process after clicking " power consumption seniority among brothers and sisters " space.
According to the status information of the power consumption service after optimization, step S590, determines that the second of every power consumption service comments respectively Point.
Step S590 comprise the following steps in one or more:Power consumption is determined according to the unlatching quantity of power consumption application program Second scoring of application program;Second scoring of screen intensity is determined according to the size of screen intensity;According to the length of screen locking time Short the second scoring for determining the screen locking time;Second scoring of hardware state is determined according to the working method of hardware;Taken according to system The unlatching quantity of business determines the second scoring of system service.
Step S5100, the second scoring sum for calculating every power consumption service obtain the second general comment of all power consumption services Point.
Step S5110, determines the second power consumption state according to the second overall score of all power consumption services.
The specific implementation process of step S590-S5110 is similar with step S510-S540, and here is omitted.
Step S5120, calculates the power consumption according to each optimised power consumption service and corresponding optimization time coefficient and takes First time delay ratio of business.
A kind of method for quickly obtaining effect of optimization is embodiments provided, according to the first pot life and optimizing Journey is instantly available the second pot life.
Specifically, the power consumption service in advance for each arranges optimization time coefficient, and the optimization time coefficient can be by statistics side Formula draws, for example, is arranged according to total power consumption percentage of every power consumption service.Optimization time coefficient shows as a percentage Than or proportionality coefficient, represent the impact of optimised power consumption service to the first current pot life.
As an example, in the embodiment of the present invention, it is that to arrange optimization time coefficient be 0.3% for each power consumption application program, is It is 3% that screen locking sleep for electricity saving arranges optimization time coefficient, when being that screen intensity optimization is respectively provided with optimization with screen locking is time-optimized Between coefficient 1%, be that the service such as bluetooth, Wi-Fi arranges time-optimized coefficient 0.5%.
Step S5130, calculates the first time delay ratio sum of all power consumption services as the second time delay ratio.
If in the optimization process of step S580, closing 10 power consumption application programs, while have adjusted screen intensity and lock The screen time, bluetooth and Wi-Fi services are closed, the calculation of the second time delay ratio is:0.3% × 10+1% × 2+0.5% × 2=6%.
Step S5140, according to the second pot life after the second time delay ratio and the first pot life calculation optimization.
If the first pot life is 15 hours, then the second pot life is 15 × (1+6%)=15.9, i.e., 15 hours 54 Point, second the first pot life of serviceability ratio extends 54 minutes.
Step S5150, shows optimum results in interface is shown.
Fig. 9 shows the displaying interface schematic diagram of optimum results provided in an embodiment of the present invention, wherein showing that second can use Time is " when 19 06 point ", 36 points of standby 4 hours of coextensive length.
According to the method that the above embodiment of the present invention is provided, the score value logic of power consumption service is pre-set, detection terminal sets The status information of standby middle every power consumption service, the power consumption state that the status information serviced according to every power consumption determines terminal device is simultaneously In interface show, with the power consumption state for notifying user current, judge whether to the optimization of power consumption state for user, according to The optimization processing instruction of family triggering, is optimized to every power consumption service, feeds back to the power consumption state after user optimization.According to this Scheme, can make user according to the optimization of power consumption condition selecting terminal device to the current power consumption state of user's displaying terminal equipment And occupation mode, it is to avoid electricity exhausts in advance, extends the use time of dump energy.Also, can be closed by inquiry beyond the clouds Power consumption application program, it is ensured that optimization process does not affect the normal use of terminal device.Additionally, application provides touching manually for optimization The triggering interface of interface and various battery saving modes is sent out, user can select different degrees of optimization processing mode according to actual needs, Thus meet the demand of user individual.Second pot life is calculated according to optimization process, processing speed is fast, available by first Time and the contrast of the second pot life, allow users to intuitively learn the effect of optimization.
Figure 10 shows the structured flowchart of the optimization device of terminal device power consumption state according to an embodiment of the invention, As shown in Figure 10, the device includes:
Detection module 1010, is adapted to detect for the status information of every power consumption service in terminal device.
Wherein, the status information of every power consumption service includes one or more in the status information of following power consumption service: Power consumption application information, screen intensity information, screen locking temporal information, hardware status information and system service information.
Specifically, power consumption application program is application program of the power consumption higher than predetermined threshold value.Hardware state includes that terminal sets Standby CPU frequency modulation states.The working method of hardware includes CPU frequency modulation working method and non-frequency modulation working method.System service bag Include one or more in the service of bluetooth service, Wi-Fi services, data network service, tactile feedback service and intelligent synchronization.
State determining module 1020, is suitable to the first power consumption of terminal device is determined according to the status information of every power consumption service State;And according to optimization processing after the status information of every power consumption service determine the second power consumption state of terminal device.
State determining module 1020 is further adapted for:According to the score value logic for pre-setting, taken according to every power consumption The status information of business determines the first scoring of every power consumption service respectively;The the first scoring sum for calculating every power consumption service is obtained First overall score of all power consumption services;First power consumption state is determined according to the first overall score of all power consumption services;With And according to the score value logic for pre-setting, according to optimization processing after the status information of every power consumption service determine every consumption respectively Second scoring of electricity service;The the second scoring sum for calculating every power consumption service obtains the second general comment of all power consumption services Point;The second power consumption state is determined according to the second overall score of all power consumption services.
Specifically, state determining module 1020 is suitable to:Power consumption application journey is determined according to the unlatching quantity of power consumption application program First scoring or the second scoring of sequence;First scoring or the second scoring of screen intensity are determined according to the size of screen intensity;Root First scoring or the second scoring of screen locking time are determined according to the length of screen locking time;Hardware shape is determined according to the working method of hardware First scoring or the second scoring of state;First scoring of system service is determined according to the unlatching quantity of system service or second is commented Point.
Interactive module 1030, is suitable to show the first power consumption state and the second power consumption state, and receive user triggering is excellent Change process instruction.
Specifically, interactive module 1030 provides user's triggering interface of optimization processing instruction in interface is shown, using use Family triggering interface optimization processing instruction.Wherein, user's triggering interface includes the automatic triggering of the first specific items power consumption service Interface and the manual triggering interface of one or more the second specific items power consumption services.Interactive module 1030 is further adapted for:Connect Optimization processing instruction of the user by triggering interface triggering automatically is received, and/or receive user passes through one or more manual triggerings The optimization processing instruction of interface triggering.
Optimization module 1040, is suitable to take every power consumption according to the status information of optimization processing instruction and every power consumption service One or more in business is optimized process.
Specifically, referred to by the optimization processing of triggering interface triggering automatically in response to the user that interactive module 1030 is received Order, optimization module 1040 are further adapted for:Close one or more power consumption application programs;And/or, start intelligent sleep for electricity saving shape State;And/or, optimize screen intensity;And/or, shorten the screen locking time;And/or, close intelligent synchronization service;In response to interaction mould The user that block 1030 is received manually triggers the optimization processing instruction of interface triggering, and optimization module 1040 is further adapted for:It is excellent Change the working method of hardware;And/or, close one or more system service.
Figure 11 shows the structural frames of the optimization device of terminal device power consumption state in accordance with another embodiment of the present invention Figure, as shown in figure 11, device includes:
Detection module 1110, is adapted to detect for the status information of every power consumption service in terminal device.
Wherein, the status information of every power consumption service includes one or more in the status information of following power consumption service: Power consumption application information, screen intensity information, screen locking temporal information, hardware status information and system service information.
Specifically, power consumption application program is application program of the power consumption higher than predetermined threshold value.Hardware state includes that terminal sets Standby CPU frequency modulation states.The working method of hardware includes CPU frequency modulation working method and non-frequency modulation working method.System service bag Include one or more in the service of bluetooth service, Wi-Fi services, data network service, tactile feedback service and intelligent synchronization.
State determining module 1120, is suitable to the first power consumption of terminal device is determined according to the status information of every power consumption service State;And according to optimization processing after the status information of every power consumption service determine the second power consumption state of terminal device.
State determining module 1120 is further adapted for:According to the score value logic for pre-setting, taken according to every power consumption The status information of business determines the first scoring of every power consumption service respectively;The the first scoring sum for calculating every power consumption service is obtained First overall score of all power consumption services;First power consumption state is determined according to the first overall score of all power consumption services;With And according to the score value logic for pre-setting, according to optimization processing after the status information of every power consumption service determine every consumption respectively Second scoring of electricity service;The the second scoring sum for calculating every power consumption service obtains the second general comment of all power consumption services Point;The second power consumption state is determined according to the second overall score of all power consumption services.
Specifically, state determining module 1120 is suitable to:Power consumption application journey is determined according to the unlatching quantity of power consumption application program First scoring or the second scoring of sequence;First scoring or the second scoring of screen intensity are determined according to the size of screen intensity;Root First scoring or the second scoring of screen locking time are determined according to the length of screen locking time;Hardware shape is determined according to the working method of hardware First scoring or the second scoring of state;First scoring of system service is determined according to the unlatching quantity of system service or second is commented Point.
Interactive module 1130, is suitable to show the first power consumption state and the second power consumption state, and receive user triggering is excellent Change process instruction.
Specifically, interactive module 1130 provides user's triggering interface of optimization processing instruction in interface is shown, using use Family triggering interface optimization processing instruction.Wherein, user's triggering interface includes the automatic triggering of the first specific items power consumption service Interface and the manual triggering interface of one or more the second specific items power consumption services.Interactive module 1130 is further adapted for:Connect Optimization processing instruction of the user by triggering interface triggering automatically is received, and/or receive user passes through one or more manual triggerings The optimization processing instruction of interface triggering.
Optimization module 1140, is suitable to take every power consumption according to the status information of optimization processing instruction and every power consumption service One or more in business is optimized process.
Specifically, referred to by the optimization processing of triggering interface triggering automatically in response to the user that interactive module 1130 is received Order, optimization module 1140 are further adapted for:Close one or more power consumption application programs;And/or, start intelligent sleep for electricity saving shape State;And/or, optimize screen intensity;And/or, shorten the screen locking time;And/or, close intelligent synchronization service;In response to interaction mould The user that block 1130 is received manually triggers the optimization processing instruction of interface triggering, and optimization module 1140 is further adapted for:It is excellent Change the working method of hardware;And/or, close one or more system service.
Time Calculation module 1150, is suitable to calculate dump energy according to the status information and dump energy of every power consumption service The first pot life;Interactive interface 1130 is further adapted for:The first pot life is shown, specifically, is showing the first power consumption The first pot life is shown in the interface of state.
Alternatively, Time Calculation module 1150 is further adapted for:In 1140 pairs of every power consumption services of optimization module one Or it is multinomial be optimized process after, this is calculated according to each optimised power consumption service and corresponding optimization time coefficient First time delay ratio of power consumption service;The first time delay ratio sum of all power consumption services is calculated as the second time delay ratio; According to the second pot life after the second time delay ratio and the first pot life calculation optimization.
Statistical module 1160, is suitable to count total power consumption percentage of each power consumption application program, and according to total power consumption percentage Compare power consumption application program to be ranked;Interactive module 1130 is further adapted for:In the first power consumption state of displaying terminal equipment Or the user's triggering for showing offer power consumption application program seniority among brothers and sisters interface in interface of the second power consumption state of displaying terminal equipment connects Mouthful;The user that interface is ranked to power consumption application program according to user triggers the triggering of interface, shows power consumption application program seniority among brothers and sisters circle Face, wherein, power consumption application program seniority among brothers and sisters shows each power consumption application program from top to down according to total power consumption percentage in interface, and And be provided with for each power consumption application program forbid from open option, recover from open option and unloading option.
Alternatively, at least one battery saving mode is also provided with the displaying interface of the first power consumption state of displaying terminal equipment User triggering interface;Interactive module 1130 is further adapted for:Interface is triggered by the user of at least one battery saving mode The optimization processing instruction of user's triggering;Optimization module 1140 is further adapted for:Every power consumption is taken according to corresponding battery saving mode One or more in business is optimized process.
According to the device that the above embodiment of the present invention is provided, the score value logic of power consumption service is pre-set, detection terminal sets The status information of standby middle every power consumption service, the power consumption state that the status information serviced according to every power consumption determines terminal device is simultaneously In interface show, with the power consumption state for notifying user current, judge whether to the optimization of power consumption state for user, according to The optimization processing instruction of family triggering, is optimized to every power consumption service, feeds back to the power consumption state after user optimization.According to this Scheme, can make user according to the optimization of power consumption condition selecting terminal device to the current power consumption state of user's displaying terminal equipment And occupation mode, it is to avoid electricity exhausts in advance, extends the use time of dump energy.Also, can be closed by inquiry beyond the clouds Power consumption application program, it is ensured that optimization process does not affect the normal use of terminal device.Additionally, application provides touching manually for optimization The triggering interface of interface and various battery saving modes is sent out, user can select different degrees of optimization processing mode according to actual needs, Thus meet the demand of user individual.Second pot life is calculated according to optimization process, processing speed is fast, available by first Time and the contrast of the second pot life, allow users to intuitively learn the effect of optimization.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together based on teaching in this.As described above, construct required by this kind of system Structure be obvious.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to use it is various Programming language realizes the content of invention described herein, and the description done to language-specific above is to disclose this Bright preferred forms.
In specification mentioned herein, a large amount of details are illustrated.It is to be appreciated, however, that the enforcement of the present invention Example can be put into practice in the case where not having these details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand one or more in each inventive aspect, exist Above to, in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes In example, figure or descriptions thereof.However, should the method for the disclosure be construed to reflect following intention:I.e. required guarantor The more features of feature is expressly recited in each claim by the application claims ratio of shield.More precisely, such as following Claims it is reflected as, inventive aspect is less than all features of single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as the separate embodiments of the present invention.
Those skilled in the art are appreciated that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more different from embodiment equipment.Can be the module or list in embodiment Unit or component are combined into a module or unit or component, and can be divided in addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit is excluded each other, can adopt any Combine to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (includes adjoint power Profit is required, summary and accompanying drawing) disclosed in each feature can it is identical by offers, be equal to or the alternative features of similar purpose carry out generation Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments In some included features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment required for protection appoint One of meaning can in any combination mode using.
The present invention all parts embodiment can be realized with hardware, or with one or more processor operation Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor (DSP) are realizing the optimization of terminal device power consumption state according to embodiments of the present invention The some or all functions of some or all parts in device.The present invention is also implemented as being retouched for performing here Some or all equipment of the method stated or program of device (for example, computer program and computer program). Such program for realizing the present invention can be stored on a computer-readable medium, or can have one or more signal Form.Such signal can be downloaded from internet website and be obtained, or on carrier signal provide, or with it is any its He provides form.
It should be noted that above-described embodiment the present invention will be described rather than limits the invention, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not Element listed in the claims or step.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and be run after fame Claim.
The invention discloses:
A1, a kind of optimization method of terminal device power consumption state, including:
The status information of every power consumption service in detection terminal equipment, it is true according to the status information of every power consumption service First power consumption state of fixed and displaying terminal equipment;
The optimization processing instruction of receive user triggering, according to optimization processing instruction and the state letter of every power consumption service Cease and process is optimized to one or more in every power consumption service;
The status information that every power consumption after inspection optimization process is serviced, and according to the optimization processing after every power consumption The status information of service determines the second power consumption state of simultaneously displaying terminal equipment.
A2, the method according to A1, the first power consumption state of the displaying terminal equipment are specially:In interface is shown Show the first power consumption state of the terminal device, and the user of the optimization processing instruction is provided in the displaying interface and touch Send out interface.
A3, the method according to A2, user's triggering interface include:The automatic triggering of the first specific items power consumption service Interface and the manual triggering interface of one or more the second specific items power consumption services.
A4, the method according to any one of A1-A3, the status information of every power consumption service include following power consumption clothes One or more in the status information of business:Power consumption application information, screen intensity information, screen locking temporal information, hardware shape State information and system service information.
A5, the method according to A4, the status information according to every power consumption service determine terminal device First power consumption state is further included:
According to the score value logic for pre-setting, every power consumption is determined respectively according to the status information of every power consumption service First scoring of service;
The the first scoring sum for calculating every power consumption service obtains the first overall score of all power consumption services;
The first power consumption state is determined according to the first overall score of all power consumption services;
It is described according to optimization processing after the status information of every power consumption service determine the second power consumption state of terminal device Further include:
According to the score value logic for pre-setting, according to optimization processing after the status information of every power consumption service determine respectively Second scoring of every power consumption service;
The the second scoring sum for calculating every power consumption service obtains the second overall score of all power consumption services;
The second power consumption state is determined according to the second overall score of all power consumption services.
A6, the method according to A5, determine every power consumption clothes respectively according to the status information of every power consumption service One or more during the first of business scores or the second scoring is comprised the following steps:
First scoring or the second scoring of power consumption application program are determined according to the unlatching quantity of the power consumption application program;
First scoring or the second scoring of screen intensity are determined according to the size of screen intensity;
First scoring or the second scoring of screen locking time are determined according to the length of screen locking time;
First scoring or the second scoring of hardware state are determined according to the working method of hardware;
First scoring or the second scoring of system service are determined according to the unlatching quantity of system service.
A7, the method according to A6, the power consumption application program are application program of the power consumption higher than predetermined threshold value;Institute Stating hardware state includes the CPU frequency modulation states of terminal device;The working method of the hardware includes CPU frequency modulation working method and non- Frequency modulation working method;The system service include bluetooth service, Wi-Fi services, data network service, tactile feedback service and One or more in intelligent synchronization service.
A8, the method according to A3, the optimization processing instruction of the receive user triggering include:Receive user is by certainly The optimization processing instruction of dynamic triggering interface triggering;
The status information according to optimization processing instruction and every power consumption service is in every power consumption service Be optimized process one or more and further include:
Close one or more power consumption application programs;
And/or, start intelligent sleep for electricity saving state;
And/or, optimize screen intensity;
And/or, shorten the screen locking time;
And/or, close intelligent synchronization service.
A9, the method according to A3, the optimization processing instruction of the receive user triggering include:Receive user passes through one The optimization processing instruction that individual or multiple manual triggering interfaces are triggered;
The status information according to optimization processing instruction and every power consumption service is in every power consumption service Be optimized process one or more and further include:
The working method optimized hardware;
And/or, close one or more system service.
A10, the method according to any one of A1-A9, before the optimization processing instruction of receive user triggering, institute Stating method also includes:The dump energy is calculated and be shown according to the status information and dump energy of every power consumption service First pot life.
A11, the method according to A10, each power consumption service is with default optimization time coefficient;
After one or more in the service to every power consumption is optimized process, methods described also includes:
The first of the power consumption service is calculated according to each optimised power consumption service and corresponding optimization time coefficient to prolong When ratio;
The first time delay ratio sum of all power consumption services is calculated as the second time delay ratio;
According to the second pot life after the second time delay ratio and the first pot life calculation optimization.
A12, the method according to A1, methods described also include:Count total power consumption percentage of each power consumption application program Than, and the power consumption application program is ranked according to total power consumption percentage;
First power consumption state of the displaying terminal equipment is further included:
In displaying circle of the second power consumption state of the first power consumption state or displaying terminal equipment of the displaying terminal equipment User's triggering interface at power consumption application program seniority among brothers and sisters interface is provided in face;
The user that interface is ranked to the power consumption application program according to user triggers the triggering of interface, shows that the power consumption should Interface is ranked with program, wherein showing each from top to down according to total power consumption percentage in power consumption application program seniority among brothers and sisters interface Power consumption application program, and be provided with for each power consumption application program and forbid from opening option, recover from opening option and unloading Option.
A13, the method according to A2, also provide in the displaying interface of the first power consumption state of the displaying terminal equipment There is user's triggering interface of at least one battery saving mode;
The optimization processing instruction of the receive user triggering, according to optimization processing instruction and the shape of every power consumption service State information is optimized process to one or more in every power consumption service and is specially:By at least one power saving The optimization processing instruction of user's triggering interface user's triggering of pattern, according to corresponding battery saving mode to every power consumption One or more in service is optimized process.
B14, a kind of optimization device of terminal device power consumption state, including:
Detection module, is adapted to detect for the status information of every power consumption service in terminal device;
State determining module, is suitable to the first power consumption of terminal device is determined according to the status information of every power consumption service State;And according to optimization processing after the status information of every power consumption service determine the second power consumption state of terminal device;
Interactive module, is suitable to show the first power consumption state and the second power consumption state, and receive user triggering Optimization processing instruction;
Optimization module, is suitable to according to optimization processing instruction with the status information of every power consumption service to every consumption One or more in electricity service is optimized process.
B15, the device according to B14, the detection module are further adapted for:Show the terminal in interface is shown First power consumption state of equipment;
The interactive module is further adapted for:User's triggering that the optimization processing instruction is provided in interface is shown connects Mouthful.
B16, the device according to B15, user's triggering interface include:The automatic of first specific items power consumption service touches Send out the manual triggering interface of interface and one or more the second specific items power consumption services.
B17, the device according to any one of B14-B16, the status information of every power consumption service include following consumption One or more in the status information of electricity service:It is power consumption application information, screen intensity information, screen locking temporal information, hard Part status information and system service information.
B18, the device according to B17, the state determining module are further adapted for:
According to the score value logic for pre-setting, every power consumption is determined respectively according to the status information of every power consumption service First scoring of service;
The the first scoring sum for calculating every power consumption service obtains the first overall score of all power consumption services;
The first power consumption state is determined according to the first overall score of all power consumption services;And
According to the score value logic for pre-setting, according to optimization processing after the status information of every power consumption service determine respectively Second scoring of every power consumption service;
The the second scoring sum for calculating every power consumption service obtains the second overall score of all power consumption services;
The second power consumption state is determined according to the second overall score of all power consumption services.
B19, the device according to B18, the state determining module are further adapted for:
First scoring or the second scoring of power consumption application program are determined according to the unlatching quantity of the power consumption application program;
First scoring or the second scoring of screen intensity are determined according to the size of screen intensity;
First scoring or the second scoring of screen locking time are determined according to the length of screen locking time;
First scoring or the second scoring of hardware state are determined according to the working method of hardware;
First scoring or the second scoring of system service are determined according to the unlatching quantity of system service.
B20, the device according to B19, the power consumption application program are application program of the power consumption higher than predetermined threshold value; The hardware state includes the CPU frequency modulation states of terminal device;The working method of the hardware include CPU frequency modulation working method and Non- frequency modulation working method;The system service include bluetooth service, Wi-Fi services, data network service, tactile feedback service, And one or more in intelligent synchronization service.
B21, the device according to B16, wherein, the interactive module is further adapted for:Receive user is by touching automatically Send out the optimization processing instruction of interface triggering;
The optimization module is further adapted for:
Close one or more power consumption application programs;
And/or, start intelligent sleep for electricity saving state;
And/or, optimize screen intensity;
And/or, shorten the screen locking time;
And/or, close intelligent synchronization service.
B22, the device according to B16, the interactive module are further adapted for:Receive user passes through one or more hands The optimization processing instruction of dynamic triggering interface triggering;
The optimization module is further adapted for:The working method optimized hardware;And/or, close one or more system clothes Business.
B23, the device according to any one of B14-B22, described device also include:
Time Calculation module, is suitable to calculate the residue according to the status information and dump energy of every power consumption service First pot life of electricity;
The interactive interface is further adapted for:Show first pot life.
B24, the device according to B23, each power consumption service is with default optimization time coefficient;
The Time Calculation module is further adapted for:In the optimization module to one or more in every power consumption service After being optimized process, the power consumption service is calculated according to each optimised power consumption service and corresponding optimization time coefficient The first time delay ratio;The first time delay ratio sum of all power consumption services is calculated as the second time delay ratio;According to described The second pot life after second time delay ratio and the first pot life calculation optimization.
B25, the device according to B15, described device also include:Statistical module, is suitable to count each power consumption application journey Total power consumption percentage of sequence, and the power consumption application program is ranked according to total power consumption percentage;
The interactive module is further adapted for:
In displaying circle of the second power consumption state of the first power consumption state or displaying terminal equipment of the displaying terminal equipment User's triggering interface at power consumption application program seniority among brothers and sisters interface is provided in face;
The user that interface is ranked to the power consumption application program according to user triggers the triggering of interface, shows that the power consumption should Interface is ranked with program, wherein, show from top to down respectively according to total power consumption percentage in the power consumption application program seniority among brothers and sisters interface Individual power consumption application program, and be provided with for each power consumption application program and forbid from opening option, recover from opening option and unload Carry option.
B26, the device according to B16, also carry in the displaying interface of the first power consumption state of the displaying terminal equipment It is provided with user's triggering interface of at least one battery saving mode;
The interactive module is further adapted for:Interface user is triggered by the user of at least one battery saving mode The optimization processing instruction of triggering;
The optimization module is further adapted for:According to corresponding battery saving mode in the every power consumption service or It is multinomial to be optimized process.

Claims (24)

1. a kind of optimization method of terminal device power consumption state, including:
The status information of every power consumption service in detection terminal equipment, determines simultaneously according to the status information of every power consumption service First power consumption state of displaying terminal equipment;
The first of the dump energy is calculated and be shown according to the status information and dump energy of every power consumption service to can use Time;
The optimization processing instruction of receive user triggering, according to optimization processing instruction and the status information pair of every power consumption service One or more in every power consumption service is optimized process;
The status information that every power consumption after inspection optimization process is serviced, and according to the optimization processing after every power consumption service Status information determine and displaying terminal equipment the second power consumption state.
2. method according to claim 1, the first power consumption state of the displaying terminal equipment are specially:Showing interface Middle the first power consumption state for showing the terminal device, and the user of the optimization processing instruction is provided in the displaying interface Triggering interface.
3. method according to claim 2, user's triggering interface include:The automatic of first specific items power consumption service touches Send out the manual triggering interface of interface and one or more the second specific items power consumption services.
4. the method according to any one of claim 1-3, the status information of every power consumption service include following power consumption One or more in the status information of service:Power consumption application information, screen intensity information, screen locking temporal information, hardware Status information and system service information.
5. method according to claim 4, the status information according to every power consumption service determine terminal device The first power consumption state further include:
According to the score value logic for pre-setting, every power consumption service is determined respectively according to the status information of every power consumption service First scoring;
The the first scoring sum for calculating every power consumption service obtains the first overall score of all power consumption services;
The first power consumption state is determined according to the first overall score of all power consumption services;
It is described according to optimization processing after the status information of every power consumption service determine that the second power consumption state of terminal device enters one Step includes:
According to the score value logic for pre-setting, according to optimization processing after the status information of every power consumption service determine items respectively Second scoring of power consumption service;
The the second scoring sum for calculating every power consumption service obtains the second overall score of all power consumption services;
The second power consumption state is determined according to the second overall score of all power consumption services.
6. method according to claim 5, determines every power consumption respectively according to the status information of every power consumption service One or more during the first of service scores or the second scoring is comprised the following steps:
First scoring or the second scoring of power consumption application program are determined according to the unlatching quantity of the power consumption application program;
First scoring or the second scoring of screen intensity are determined according to the size of screen intensity;
First scoring or the second scoring of screen locking time are determined according to the length of screen locking time;
First scoring or the second scoring of hardware state are determined according to the working method of hardware;
First scoring or the second scoring of system service are determined according to the unlatching quantity of system service.
7. method according to claim 6, the power consumption application program are application program of the power consumption higher than predetermined threshold value; The hardware state includes the CPU frequency modulation states of terminal device;The working method of the hardware include CPU frequency modulation working method and Non- frequency modulation working method;The system service include bluetooth service, Wi-Fi services, data network service, tactile feedback service, And one or more in intelligent synchronization service.
8. method according to claim 3, the optimization processing instruction of the receive user triggering include:Receive user passes through Automatically the optimization processing instruction of triggering interface triggering;
The status information according to optimization processing instruction and every power consumption service is in every power consumption service Or multinomial be optimized process and further include:
Close one or more power consumption application programs;
And/or, start intelligent sleep for electricity saving state;
And/or, optimize screen intensity;
And/or, shorten the screen locking time;
And/or, close intelligent synchronization service.
9. method according to claim 3, the optimization processing instruction of the receive user triggering include:Receive user passes through One or more trigger the optimization processing instruction of interface triggering manually;
The status information according to optimization processing instruction and every power consumption service is in every power consumption service Or multinomial be optimized process and further include:
The working method optimized hardware;
And/or, close one or more system service.
10. method according to claim 1, each power consumption service is with default optimization time coefficient;
After one or more in the service to every power consumption is optimized process, methods described also includes:
First time delay ratio of the power consumption service is calculated according to each optimised power consumption service and corresponding optimization time coefficient Example;
The first time delay ratio sum of all power consumption services is calculated as the second time delay ratio;
According to the second pot life after the second time delay ratio and the first pot life calculation optimization.
11. methods according to claim 1, methods described also include:Count total power consumption hundred of each power consumption application program Divide ratio, and the power consumption application program is ranked according to total power consumption percentage;
First power consumption state of the displaying terminal equipment is further included:
In the displaying interface of the second power consumption state of the first power consumption state or displaying terminal equipment of the displaying terminal equipment User's triggering interface at power consumption application program seniority among brothers and sisters interface is provided;
The user that interface is ranked to the power consumption application program according to user triggers the triggering of interface, shows the power consumption application journey Sequence ranks interface, wherein showing each power consumption from top to down according to total power consumption percentage in power consumption application program seniority among brothers and sisters interface Application program, and be provided with for each power consumption application program forbid from open option, recover from open option and unloading option.
12. methods according to claim 2, also carry in the displaying interface of the first power consumption state of the displaying terminal equipment It is provided with user's triggering interface of at least one battery saving mode;
The optimization processing instruction of the receive user triggering, according to optimization processing instruction and the state letter of every power consumption service Breath is optimized process to one or more in every power consumption service and is specially:By at least one battery saving mode User's triggering interface user triggering optimization processing instruction, according to corresponding battery saving mode to every power consumption service In be optimized process one or more.
A kind of 13. optimization devices of terminal device power consumption state, including:
Detection module, is adapted to detect for the status information of every power consumption service in terminal device;
State determining module, is suitable to the first power consumption shape of terminal device is determined according to the status information of every power consumption service State;And according to optimization processing after the status information of every power consumption service determine the second power consumption state of terminal device;
Time Calculation module, is suitable to calculate the dump energy according to the status information and dump energy of every power consumption service The first pot life;
Interactive module, is suitable to show the first power consumption state and the second power consumption state, at the optimization of receive user triggering Reason is instructed and shows first pot life;
Optimization module, is suitable to take every power consumption according to the status information of optimization processing instruction and every power consumption service One or more in business is optimized process.
14. devices according to claim 13, the detection module are further adapted for:Show the end in interface is shown First power consumption state of end equipment;
The interactive module is further adapted for:User's triggering interface of the optimization processing instruction is provided in interface is shown.
15. devices according to claim 14, user's triggering interface include:It is automatic that first specific items power consumption is serviced Triggering interface and the manual triggering interface of one or more the second specific items power consumption services.
16. devices according to any one of claim 13-14, the status information of every power consumption service include following consumption One or more in the status information of electricity service:It is power consumption application information, screen intensity information, screen locking temporal information, hard Part status information and system service information.
17. devices according to claim 16, the state determining module are further adapted for:
According to the score value logic for pre-setting, every power consumption service is determined respectively according to the status information of every power consumption service First scoring;
The the first scoring sum for calculating every power consumption service obtains the first overall score of all power consumption services;
The first power consumption state is determined according to the first overall score of all power consumption services;And
According to the score value logic for pre-setting, according to optimization processing after the status information of every power consumption service determine items respectively Second scoring of power consumption service;
The the second scoring sum for calculating every power consumption service obtains the second overall score of all power consumption services;
The second power consumption state is determined according to the second overall score of all power consumption services.
18. devices according to claim 17, the state determining module are further adapted for:
First scoring or the second scoring of power consumption application program are determined according to the unlatching quantity of the power consumption application program;
First scoring or the second scoring of screen intensity are determined according to the size of screen intensity;
First scoring or the second scoring of screen locking time are determined according to the length of screen locking time;
First scoring or the second scoring of hardware state are determined according to the working method of hardware;
First scoring or the second scoring of system service are determined according to the unlatching quantity of system service.
19. devices according to claim 18, the power consumption application program are application journey of the power consumption higher than predetermined threshold value Sequence;The hardware state includes the CPU frequency modulation states of terminal device;The working method of the hardware includes CPU frequency modulation work side Formula and non-frequency modulation working method;The system service includes bluetooth service, Wi-Fi services, data network service, tactile feedback clothes Business, and intelligent synchronization service in one or more.
20. devices according to claim 15, wherein, the interactive module is further adapted for:Receive user is by automatic The optimization processing instruction of triggering interface triggering;
The optimization module is further adapted for:
Close one or more power consumption application programs;
And/or, start intelligent sleep for electricity saving state;
And/or, optimize screen intensity;
And/or, shorten the screen locking time;
And/or, close intelligent synchronization service.
21. devices according to claim 15, the interactive module are further adapted for:Receive user passes through one or more The optimization processing instruction of triggering interface triggering manually;
The optimization module is further adapted for:The working method optimized hardware;And/or, close one or more system service.
22. devices according to claim 13, each power consumption service is with default optimization time coefficient;
The Time Calculation module is further adapted for:One or more in every power consumption service is carried out in the optimization module After optimization processing, the of power consumption service is calculated according to each optimised power consumption service and corresponding optimization time coefficient One time delay ratio;The first time delay ratio sum of all power consumption services is calculated as the second time delay ratio;According to described second The second pot life after time delay ratio and the first pot life calculation optimization.
23. devices according to claim 14, described device also include:Statistical module, is suitable to count each power consumption application Total power consumption percentage of program, and the power consumption application program is ranked according to total power consumption percentage;
The interactive module is further adapted for:
In the displaying interface of the second power consumption state of the first power consumption state or displaying terminal equipment of the displaying terminal equipment User's triggering interface at power consumption application program seniority among brothers and sisters interface is provided;
The user that interface is ranked to the power consumption application program according to user triggers the triggering of interface, shows the power consumption application journey Sequence ranks interface, wherein, show each consumption from top to down according to total power consumption percentage in the power consumption application program seniority among brothers and sisters interface Electric application program, and be provided with for each power consumption application program forbid from open option, recover from open option and unloading choosing .
24. devices according to claim 15, in the displaying interface of the first power consumption state of the displaying terminal equipment also It is provided with user's triggering interface of at least one battery saving mode;
The interactive module is further adapted for:Interface user triggering is triggered by the user of at least one battery saving mode Optimization processing instruction;
The optimization module is further adapted for:According to corresponding battery saving mode to one or more in every power consumption service It is optimized process.
CN201410844193.9A 2014-12-30 2014-12-30 The optimization method and device of terminal device power consumption state Active CN104484031B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410844193.9A CN104484031B (en) 2014-12-30 2014-12-30 The optimization method and device of terminal device power consumption state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410844193.9A CN104484031B (en) 2014-12-30 2014-12-30 The optimization method and device of terminal device power consumption state

Publications (2)

Publication Number Publication Date
CN104484031A CN104484031A (en) 2015-04-01
CN104484031B true CN104484031B (en) 2017-04-05

Family

ID=52758585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410844193.9A Active CN104484031B (en) 2014-12-30 2014-12-30 The optimization method and device of terminal device power consumption state

Country Status (1)

Country Link
CN (1) CN104484031B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2537855B (en) * 2015-04-28 2018-10-24 Advanced Risc Mach Ltd Controlling transitions of devices between normal state and quiescent state
CN104820487B (en) * 2015-05-19 2018-09-21 深圳天珑无线科技有限公司 The processing method and processing device and mobile terminal of running unit
CN105867578A (en) * 2015-12-07 2016-08-17 乐视移动智能信息技术(北京)有限公司 Monitoring method and apparatus of power-consuming application, and user terminal
CN105573471A (en) * 2015-12-15 2016-05-11 小米科技有限责任公司 Information processing method and device
CN105630332B (en) * 2015-12-28 2019-07-26 联想(北京)有限公司 A kind of information processing method and electronic equipment
WO2017128067A1 (en) * 2016-01-26 2017-08-03 陈学良 Method and system for detecting power consumption of mobile phone application programs
CN106022108B (en) * 2016-05-17 2019-07-02 Oppo广东移动通信有限公司 A kind of synchronization management method and terminal device
CN106020429A (en) * 2016-06-02 2016-10-12 北京金山安全软件有限公司 Power saving mode starting method and device and terminal equipment
CN106292998A (en) * 2016-07-28 2017-01-04 宇龙计算机通信科技(深圳)有限公司 The management method of a kind of running background program and terminal
CN106527665A (en) * 2016-11-11 2017-03-22 深圳天珑无线科技有限公司 Power consumption control method and apparatus
CN108574977A (en) * 2017-03-07 2018-09-25 上海传英信息技术有限公司 A kind of economize on electricity assistant devices
US20180262991A1 (en) * 2017-03-10 2018-09-13 Futurewei Technologies, Inc. Optimization of energy management of mobile devices based on specific user and device metrics uploaded to cloud
CN107197103B (en) * 2017-07-06 2020-07-31 三星电子(中国)研发中心 Power-saving operation control method and device for intelligent terminal
CN107943269B (en) * 2017-11-21 2021-01-01 Oppo广东移动通信有限公司 Scheduling job control method, device, terminal equipment and storage medium
CN107944707B (en) * 2017-11-28 2021-08-13 广东华仝九方科技有限公司 Deduction calculation method for terminal adaptability
CN111385859A (en) * 2020-02-28 2020-07-07 北京九州云动科技有限公司 Terminal power consumption detection optimization method and device
CN114828175A (en) * 2022-03-29 2022-07-29 深圳绿米联创科技有限公司 Target equipment control method, device and system and electronic equipment
CN116822340B (en) * 2023-06-12 2024-05-28 中科软件测评(广州)有限公司 Terminal electric quantity optimization method based on software energy consumption

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5279199B2 (en) * 2007-05-23 2013-09-04 キヤノン株式会社 Charging apparatus and charging control method
CN102591766B (en) * 2011-12-31 2015-12-09 惠州Tcl移动通信有限公司 Mobile device and the prompting of program power consumption disposal route, system
CN103677214B (en) * 2013-12-31 2016-06-01 北京金山网络科技有限公司 For the power consumption control method of mobile terminal, device and mobile terminal
CN104168392A (en) * 2014-09-09 2014-11-26 北京奇虎科技有限公司 Mobile terminal and charging/residual use time display method and device thereof

Also Published As

Publication number Publication date
CN104484031A (en) 2015-04-01

Similar Documents

Publication Publication Date Title
CN104484031B (en) The optimization method and device of terminal device power consumption state
CN107220076B (en) A kind of method for recovering internal storage and device
EP3502880B1 (en) Method for preloading application, storage medium, and terminal device
Ferreira et al. Revisiting human-battery interaction with an interactive battery interface
CN106250163B (en) A kind of application control method and device
CN105895979B (en) Terminal charging method and terminal
CN109947495A (en) Application program preloads method, apparatus, storage medium and mobile terminal
CN110008008A (en) Applied program processing method and device, electronic equipment, computer readable storage medium
CN106557407A (en) A kind of monitoring method and device of apparatus of load
CN104932963B (en) The method and device of management terminal
CN108804294A (en) Method, apparatus, equipment and the computer readable storage medium that electricity is reminded
CN107889203A (en) A kind of electricity saving method, device, computer installation and computer-readable recording medium
CN107402808B (en) Process management method, device, storage medium and electronic equipment
CN110418207A (en) Information processing method, device and storage medium
CN107566624A (en) A kind of power consumption of terminal and the display methods of temperature and terminal
CN104849664A (en) Method for determining residual use duration of terminal, and terminal
WO2016179764A1 (en) Setting information configuration method, terminal and server
US20150301677A1 (en) Device management system and method
CN110140117B (en) Terminal automatically cleans personal files of users based on user habits
CN105847446A (en) Network data obtaining method, device and system
CN107704317A (en) Smart machine and its application management method and the device with store function
CN108234758B (en) Application display method and device, storage medium and electronic equipment
CN107870809B (en) Application closing method and device, storage medium and electronic equipment
CN106815079A (en) The method and mobile terminal of a kind of popular application control
CN109992360A (en) Process handling method and device, electronic equipment, computer readable storage medium

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220726

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.