CN104954528A - Detection method and apparatus of electricity consumption information of terminal equipment - Google Patents

Detection method and apparatus of electricity consumption information of terminal equipment Download PDF

Info

Publication number
CN104954528A
CN104954528A CN201410614821.4A CN201410614821A CN104954528A CN 104954528 A CN104954528 A CN 104954528A CN 201410614821 A CN201410614821 A CN 201410614821A CN 104954528 A CN104954528 A CN 104954528A
Authority
CN
China
Prior art keywords
power consumption
terminal equipment
total time
saving mode
battery saving
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410614821.4A
Other languages
Chinese (zh)
Other versions
CN104954528B (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.)
Shenzhen Tencent Computer Systems Co Ltd
Original Assignee
Shenzhen Tencent Computer Systems 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 Shenzhen Tencent Computer Systems Co Ltd filed Critical Shenzhen Tencent Computer Systems Co Ltd
Priority to CN201410614821.4A priority Critical patent/CN104954528B/en
Publication of CN104954528A publication Critical patent/CN104954528A/en
Application granted granted Critical
Publication of CN104954528B publication Critical patent/CN104954528B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a detection method and apparatus of electricity consumption information of terminal equipment. The method comprises that: step A, electricity consumption data of terminal equipment within one electricity consumption period are collected, wherein the electricity consumption period is a spacing interval between two continuous charging processes of the terminal equipment; step B, according to the electricity consumption data of the terminal equipment, an electricity consumption detection result of the terminal equipment within the electricity consumption period is determined; step C, the step A and the step B are executed circularly according to the predetermined number n of times for detection, thereby obtaining electricity consumption detection results of the terminal equipment within n electricity consumption periods; and step D, after one or multiple power-saving modes of the terminal equipment is or are set, the steps A, B, and C are executed and detection is carried out to obtain an electricity consumption detection result of the terminal equipment in any power-saving mode, thereby determining an optimum power-saving mode of the terminal equipment. According to the invention, a technical problem that whether the power-saving mode of the current terminal equipment is effective can not be quantized in the prior art can be solved.

Description

The detection method of the power consumption information of terminal equipment and device
Technical field
The present invention relates to computer internet field, in particular to a kind of detection method and device of power consumption information of terminal equipment.
Background technology
The terminal equipment of prior art needs to consume a large amount of electric energy in the course of the work, for the terminal equipment that self energy storage is less, can extend the power consumption time of self by opening battery saving mode.
For smart mobile phone, the application program that current smart mobile phone is installed gets more and more, cause smart mobile phone more and more power consumption, for the different use habits of the use smart mobile phone of different user, some users use the smart mobile phone just for one day being full of electric energy, what have may with two days, and even for phone, more or accustomed to using smart mobile phone sees the user of video, and the electric energy of smart mobile phone only can support that user uses half a day.At present, prior art provides some intelligent softwares and user can be helped in the process using smart mobile phone automatically to open battery saving mode, thus helps the user's power saving using smart mobile phone.
It should be noted that herein, prior art can provide the battery saving mode of various modes for terminal equipment, still for smart mobile phone, following any one or multiple battery saving mode can be adopted: open the machine battery saving mode, close network connection device, to processor CPU frequency reducing, turn down screen intensity, the technological means such as time opening offline mode.
Analyze known, although prior art can provide various battery saving mode for terminal equipment, thus help user's power saving of terminal equipment, but because the use habit of the different users of terminal equipment varies, therefore, cannot determine that whether current battery saving mode is effective to present terminal equipment, or successful.Still for smart mobile phone, the user of current smart mobile phone is if the user of frequent access websites, if the battery saving mode that now smart mobile phone adopts turns down screen intensity, then this battery saving mode is not the most effective battery saving mode.
It can thus be appreciated that, the power save scheme that prior art provides is judge based on experience value substantially, measurement that cannot be quantitative really can power saving for the battery saving mode of present terminal equipment, the electricity that the terminal equipment that namely cannot quantize to have employed current battery saving mode is saved, and the terminal equipment under current battery saving mode can.
The whether effective problem of battery saving mode of present terminal equipment cannot be quantized for above-mentioned prior art, not yet propose effective solution at present.
Summary of the invention
Embodiments provide a kind of detection method and device of power consumption information of terminal equipment, at least to solve the whether effective technical problem of battery saving mode that prior art cannot quantize present terminal equipment.
According to an aspect of the embodiment of the present invention, provide a kind of detection method of power consumption information of terminal equipment, comprise: steps A, the power consumption data of acquisition terminal equipment within a power consumption cycle, the power consumption cycle is the interval time of terminal equipment between twice continuous print charging; Step B, according to the power consumption testing result of power consumption data determination terminal equipment within a power consumption cycle of terminal equipment; Step C, circulates according to predetermined detection frequency n and performs steps A and step B, obtain the power consumption testing result of terminal equipment within n power consumption cycle; Step D, after terminal equipment being set to any one or multiple battery saving mode, performing steps A to step C, detects and obtain the power consumption testing result of terminal equipment under any one battery saving mode, thus determine the optimum battery saving mode of terminal equipment.
According to the another aspect of the embodiment of the present invention, additionally provide a kind of checkout gear of power consumption information of terminal equipment, comprise: acquisition module, for the power consumption data of acquisition terminal equipment within a power consumption cycle, the power consumption cycle is the interval time of terminal equipment between twice continuous print charging; Determination module, for the power consumption testing result of power consumption data determination terminal equipment within a power consumption cycle according to terminal equipment; Executive Module, for the function performing acquisition module and determination module that circulates according to predetermined detection frequency n, obtains the power consumption testing result of terminal equipment within n power consumption cycle; Detection module, for after terminal equipment being set to any one or multiple battery saving mode, perform the function of acquisition module to Executive Module, detect and obtain the power consumption testing result of terminal equipment under any one battery saving mode, thus determine the optimum battery saving mode of terminal equipment.
In embodiments of the present invention, adopt steps A, the power consumption data of acquisition terminal equipment within a power consumption cycle, the power consumption cycle is the interval time of terminal equipment between twice continuous print charging; Step B, according to the power consumption testing result of power consumption data determination terminal equipment within a power consumption cycle of terminal equipment; Step C, circulates according to predetermined detection frequency n and performs steps A and step B, obtain the power consumption testing result of terminal equipment within n power consumption cycle; Step D, after terminal equipment being set to any one or multiple battery saving mode, perform steps A to step C, detect and obtain the power consumption testing result of terminal equipment under any one battery saving mode, thus determine the mode of the optimum battery saving mode of terminal equipment, by acquisition module, for the power consumption data of acquisition terminal equipment within a power consumption cycle, the power consumption cycle is the interval time of terminal equipment between twice continuous print charging; Determination module, for the power consumption testing result of power consumption data determination terminal equipment within a power consumption cycle according to terminal equipment; Executive Module, for the function performing acquisition module and determination module that circulates according to predetermined detection frequency n, obtains the power consumption testing result of terminal equipment within n power consumption cycle; Detection module, for after terminal equipment being set to any one or multiple battery saving mode, perform the function of acquisition module to Executive Module, detect and obtain the power consumption testing result of terminal equipment under any one battery saving mode, thus determine the optimum battery saving mode of terminal equipment.Such scheme achieves after terminal equipment being set to any one or multiple battery saving mode, by the power consumption data in n the power consumption cycle of acquisition terminal equipment, analyze and obtain the power consumption testing result of this terminal equipment under often kind of battery saving mode, due to such scheme employing is carry out analytical calculation to the power consumption data collected in n power consumption cycle, the detection scheme of the principle of the large data of this utilization, be applied in and carry out under different battery saving mode in the scene of power consumption detection for terminal equipment, the optimum battery saving mode which kind of battery saving mode is this terminal equipment can be weighed accurately, and then can realize pushing optimum battery saving mode to terminal equipment, terminal equipment is worked under the most effective battery saving mode.The power save scheme that relatively prior art provides is the scheme judged based on experience value substantially, the quantitative that battery saving mode of measurement present terminal equipment can be realized the most effective, and then solve the whether effective technical problem of battery saving mode that prior art cannot quantize present terminal equipment
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is a kind of hardware block diagram running the terminal of the detection method of the power consumption information of terminal equipment of the embodiment of the present invention;
Fig. 2 is the flow chart of the detection method of the power consumption information of terminal equipment according to the embodiment of the present invention one;
Fig. 3 is the interaction figure of the detection method of the power consumption information of preferred terminal equipment according to the embodiment of the present invention one;
Fig. 4 is the structural representation of the checkout gear of the power consumption information of terminal equipment according to this law embodiment two;
Fig. 5 is the structural representation of the checkout gear of the power consumption information of a kind of optional terminal equipment according to this law embodiment two;
Fig. 6 is the structural representation of the checkout gear of the power consumption information of a kind of optional terminal equipment according to this law embodiment two;
Fig. 7 is the structural representation of the checkout gear of the power consumption information of a kind of optional terminal equipment according to this law embodiment two;
Fig. 8 is the structural representation of the checkout gear of the power consumption information of a kind of optional terminal equipment according to this law embodiment two; And
Fig. 9 is the structured flowchart of a kind of background server according to the embodiment of the present invention three.
Embodiment
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, term " first ", " second " etc. in specification of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged in the appropriate case, so as embodiments of the invention described herein can with except here diagram or describe those except order implement.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
The part explanation of nouns related to regard to the application is below as follows:
Battery saving mode: by arranging the electricity-saving characteristic of terminal equipment (such as, the opening time of screen intensity, CPU process frequency, offline mode or cycle etc.) realize reducing the speed that terminal equipment consumes electric energy, extend the power consumption time of present terminal equipment.
Embodiment 1
According to the embodiment of the present invention, provide a kind of embodiment of the method for detection method of power consumption information of terminal equipment, it should be noted that, can perform in the computer system of such as one group of computer executable instructions in the step shown in the flow chart of accompanying drawing, and, although show logical order in flow charts, in some cases, can be different from the step shown or described by order execution herein.
The embodiment of the method that the embodiment of the present application one provides can perform in mobile terminal, terminal or similar arithmetic unit.To run on computer terminals, Fig. 1 is a kind of hardware block diagram running the terminal of the detection method of the power consumption information of terminal equipment of the embodiment of the present invention.As shown in Figure 1, terminal 10 can comprise one or more (only illustrating one in figure) processor 102 (processor 102 can include but not limited to the processing unit of Micro-processor MCV or programmable logic device FPGA etc.), for storing the memory 104 of data and the transmitting device 106 for communication function.One of ordinary skill in the art will appreciate that, the structure shown in Fig. 1 is only signal, and it does not cause restriction to the structure of above-mentioned electronic installation.Such as, terminal 10 also can comprise than assembly more or less shown in Fig. 1, or has the configuration different from shown in Fig. 1.
Memory 104 can be used for the software program and the module that store application software, as the program command/module corresponding to the detection method of the power consumption information of the terminal equipment in the embodiment of the present invention, processor 102 is by running the software program and module that are stored in memory 104, thus perform the application of various function and data processing, namely realize the detection method of the power consumption information of above-mentioned terminal equipment.Memory 104 can comprise high speed random asccess memory, also can comprise nonvolatile memory, as one or more magnetic storage device, flash memory or other non-volatile solid state memories.In some instances, memory 104 can comprise the memory relative to the long-range setting of processor 102 further, and these remote memories can be connected to terminal 10 by network.The example of above-mentioned network includes but not limited to the Internet, intranet, local area network (LAN), mobile radio communication and combination thereof.
Transmitting device 106 for via a network reception or send data.The wireless network that the communication providers that above-mentioned network instantiation can comprise terminal 10 provides.In an example, transmitting device 106 comprises a network adapter (Network Interface Controller, NIC), and it to be connected with other network equipments by base station thus can to carry out communication with the Internet.In an example, transmitting device 106 can be radio frequency (Radio Frequency, RF) module, and it is for wirelessly carrying out communication with the Internet.
Under above-mentioned running environment, this application provides the detection method of the power consumption information of terminal equipment as shown in Figure 2.Fig. 2 is the flow chart of the detection method of the power consumption information of terminal equipment according to the embodiment of the present invention one.
As shown in Figure 2, the detection method of the power consumption information of this terminal equipment can comprise following implementation step:
Steps A, the power consumption data of acquisition terminal equipment within a power consumption cycle, the power consumption cycle is the interval time of terminal equipment between twice continuous print charging.
Composition graphs 1 is known, the power consumption data of acquisition terminal equipment local record can be carried out by terminal 10, terminal equipment in the application above-mentioned steps A can be smart mobile phone, can by installing the record client of power consumption data on smart mobile phone, an i.e. built-in service on smart mobile phone, record the power consumption data of this terminal equipment between twice continuous print charging, the interval time that smart mobile phone betides twice trickle charge refers to that the time interval of charging is carried out in this charging complete of smart mobile phone again to next time.
After the power consumption data of terminal device records this locality, the power consumption data of above-mentioned terminal device records can be gathered by the terminal 10 in Fig. 1, namely when there being network, above-mentioned power consumption data is reported to the terminal 10 with this terminal equipment with correspondence by terminal equipment, and this terminal 10 can be the server with process power consumption data.
Step B, according to the power consumption testing result of power consumption data determination terminal equipment within a power consumption cycle of terminal equipment.
The application above-mentioned steps B can realize analyzing power consumption data, obtain the power consumption testing result of terminal equipment within a power consumption cycle, namely after the power consumption data that terminal 10 reports up as the server smart mobile phone that receives user of process power consumption data, analytical calculation can be carried out to these power consumption data, generate the power consumption testing result of smart mobile phone within a power consumption cycle.
Step C, circulates according to predetermined detection frequency n and performs steps A and step B, obtain the power consumption testing result of terminal equipment within n power consumption cycle.
Because the power consumption testing result in the power consumption cycle accurately cannot know the power consumption rule of present terminal equipment, this power consumption rule is related to the use habit of the user using this terminal equipment, the many factors such as use scenes, concrete, same user uses the custom of smart mobile phone or frequency substantially to have certain rule, although duration or the use habit of use every day are not necessarily definitely identical, but the frequency used within a period of time or in one-period is substantially identical, therefore, terminal 10 can carry out the power consumption data (can perform one-time detection according to a power consumption cycle as the time interval) of timing acquiring terminal equipment according to the detection frequency n preset, and the power consumption data at every turn collected is performed to the analytical calculation of step B, the i.e. power consumption testing result of acquisition terminal equipment within n power consumption cycle, owing to adopting the detection mode of this large data, power consumption testing result can be made accurate.
Step D, after terminal equipment being set to any one or multiple battery saving mode, repeated execution of steps A, to step C, detects and obtains the power consumption testing result of terminal equipment under any one battery saving mode, thus determine the optimum battery saving mode of terminal equipment.
Based on the power consumption detection scheme that above-mentioned steps A to step C provides, the application above-mentioned steps D carries out power consumption detection for terminal equipment further under different battery saving mode, thus determine which kind of battery saving mode is the optimum battery saving mode of this terminal equipment, and then terminal 10 pushes optimum battery saving mode to the terminal equipment communicated with it can be realized, terminal equipment is worked under the most effective battery saving mode.
It should be noted that, before step D performs, described terminal equipment can be in the state without battery saving mode, or is in the state of any one battery saving mode herein.
The scheme that the above embodiments of the present application one provide, after terminal equipment being set to any one or multiple battery saving mode, by the power consumption data in n the power consumption cycle of acquisition terminal equipment, analyze and obtain the power consumption testing result of this terminal equipment under often kind of battery saving mode, due to such scheme employing is carry out analytical calculation to the power consumption data collected in n power consumption cycle, the detection scheme of the principle of the large data of this utilization, be applied in and carry out under different battery saving mode in the scene of power consumption detection for terminal equipment, the optimum battery saving mode which kind of battery saving mode is this terminal equipment can be weighed accurately, and then can realize pushing optimum battery saving mode to terminal equipment, terminal equipment is worked under the most effective battery saving mode.The power save scheme that relatively prior art provides is the scheme judged based on experience value substantially, the quantitative that battery saving mode of measurement present terminal equipment can be realized the most effective, and then solve the whether effective technical problem of battery saving mode that prior art cannot quantize present terminal equipment.
So that such scheme is applied in smart mobile phone, in a kind of embodiment of such scheme, the scheme that above-mentioned steps A to step D realizes can be applied on any one smart mobile phone of access terminal 10, namely after smart mobile phone is registered to terminal 10, terminal 10 can push acquisition instructions to corresponding smart mobile phone, gather the power consumption data that smart mobile phone records under any one battery saving mode, and the power consumption data of this smart mobile phone is analyzed, determine the power consumption testing result of smart mobile phone under different battery saving mode, thus realize carrying out analysis and resolution to the power consumption data of single smart mobile phone, the most effective battery saving mode of this smart mobile phone of measurement quantized.
It should be noted that herein, in the another kind of embodiment that the application provides, the scheme that above-mentioned steps A to step D realizes can be applied on m terminal equipment of access terminal 10.After m terminal equipment is registered to terminal 10, terminal 10 can push acquisition instructions to all terminal equipments, and namely terminal 10 can detect the power consumption condition of m terminal equipment.
It can thus be appreciated that, above-mentioned another kind of embodiment can realize, when detecting m terminal equipment, after the device parameter getting each terminal equipment, according to the device parameter of each terminal equipment, m terminal equipment can be divided at least two types, obtain at least two terminal equipment set, and according to the detection scheme that above-mentioned steps A to step D adopts, the power consumption data of all terminal equipments in any one terminal equipment set is detected as a power consumption data set, obtain the power consumption testing result corresponding to each terminal equipment set, thus determine the optimum battery saving mode of each terminal equipment set.
So that such scheme is applied in smart mobile phone, the device parameter of above-mentioned terminal equipment can be the type model of smart mobile phone, the m of a registration terminal equipment is classified according to different type models by terminal 10, and the detection scheme that the terminal equipment with same model model takes above-mentioned steps A to step D to provide is analyzed power consumption data, namely analytical calculation is carried out according to the power consumption data of type model to a class smart mobile phone, determine the most effective battery saving mode of smart mobile phone of some type models, thus further the terminal equipment of this type model is taked this most effective battery saving mode.
Based on each optional embodiment above-mentioned, the application above-mentioned steps B, the scheme according to the power consumption testing result of power consumption data determination terminal equipment within a power consumption cycle of terminal equipment can comprise following implementation process:
Step B1, obtain power consumption detection model, power consumption detection model comprises: the computation model of unit quantity of electricity mean consumption duration and the computation model of power consumption ratio.
Step B3, uses power consumption detection model to carry out power consumption check processing to power consumption data, generates the power consumption testing result of terminal equipment.
The application's above-mentioned power consumption detection model provides a kind of rule detected for power consumption, the power consumption testing result that computational analysis obtains terminal equipment is carried out by this rule, the application at least can provide the computation model of unit quantity of electricity mean consumption duration and the computation model of power consumption ratio, wherein, unit quantity of electricity mean consumption duration consumes the duration of unit quantity of electricity for the terminal equipment characterizing some terminal equipments or a certain type under a certain battery saving mode, the value consuming the duration required for unit quantity of electricity is larger, then illustrate that the power consumption of terminal equipment is more under this battery saving mode, more take electricity, otherwise, then represent terminal equipment power saving under this battery saving mode, power consumption ratio may be used for the terminal equipment invalid power consumption time and the ratio value without power consumption time under a certain battery saving mode that characterize some terminal equipments or a certain type, and this ratio value is more close to terminal equipment more power saving under 1 this battery saving mode of expression.
It should be noted that, in each embodiment that the application provides, power consumption data can at least comprise following parameter herein: bright screen total time, standby total time, screen not standby total time of going out, go out screen total time and power consumption total amount.
In a kind of preferred embodiment that the application provides, when the unit quantity of electricity that power consumption testing result is terminal equipment on average uses duration, the step B3 of above-described embodiment, use power consumption detection model to carry out power consumption check processing to power consumption data, the step generating the power consumption testing result of terminal equipment can be achieved by the following scheme:
Calculate the unit quantity of electricity of terminal equipment within a power consumption cycle by any one computing formula following and on average use duration T:
Formula one: wherein, t 1ifor bright screen total time, t 2ifor standby total time, t 3ifor going out screen not standby total time, S is power consumption total amount.
Formula two: wherein, t 1ifor bright screen total time, t 2ifor standby total time, S is power consumption total amount.
Formula three: wherein, t 1ifor bright screen total time, S is power consumption total amount.
It should be noted that herein, i in such scheme can represent the label of the terminal equipment of access above computer terminal 10, m represents the number of terminal equipment, still for smart mobile phone access server, when i=1, represent that the unit quantity of electricity under some battery saving modes calculating some terminal equipments on average uses duration T to some terminal equipments to its detection analysis under some battery saving modes, thus more that battery saving mode is optimum battery saving mode further; When i > 1, represent the terminal equipment of a certain style number they detection analyses under some battery saving modes, the unit quantity of electricity under some battery saving modes calculating the terminal equipment of a certain style number on average uses duration T, thus more that battery saving mode is optimum battery saving mode further.
Such as, to detect 100 smart mobile phones with identical mobile phone model, formula one can be adopted to carry out the unit quantity of electricity of these 100 smart mobile phones of computational analysis within a power consumption cycle and on average to use duration, need the bright screen total time of these 100 intelligent mobile phone terminals cumulative, standby total time in this process and go out screen not standby total time, and accumulation result and cumulative power consumption total amount are asked ratio, thus the duration that the unit quantity of electricity calculating current a certain mobile phone model can use.
In a kind of preferred embodiment that the application provides, when power consumption testing result is the power consumption ratio of terminal equipment, the step B3 of above-described embodiment, use power consumption detection model to carry out power consumption check processing to power consumption data, the step generating the power consumption testing result of terminal equipment can also be achieved by the following scheme:
The power consumption ratio μ of terminal equipment within a power consumption cycle is calculated by any one computing formula following:
Formula four: wherein, t 2ifor standby total time, t 4ifor going out screen total time.
Formula five: wherein, t 3ifor going out screen not standby total time, t 4ifor going out screen total time.
It should be noted that herein, i in such scheme can represent the label of the terminal equipment of access above computer terminal 10, m represents the number of terminal equipment, still for smart mobile phone access server, when i=1, to represent some terminal equipments its detection analysis under some battery saving modes, calculate the power consumption ratio μ under some battery saving modes of some terminal equipments, thus more that battery saving mode is optimum battery saving mode further; When i > 1, represent the terminal equipment of a certain style number they detection analyses under some battery saving modes, calculate the power consumption ratio μ under some battery saving modes of the terminal equipment of a certain style number, thus more that battery saving mode is optimum battery saving mode further.
Such as, to detect 100 smart mobile phones with identical mobile phone model, formula four can be adopted to carry out the power consumption ratio μ of these 100 smart mobile phones of computational analysis within a power consumption cycle, the standby total time of these 100 intelligent mobile phone terminals cumulative is needed in this process, and by accumulation result with cumulative go out to shield ask ratio total time, thus the duration that the unit quantity of electricity calculating current a certain mobile phone model can use.
Based on each optional and preferred embodiment above-mentioned, the step D that the application's such scheme realizes realizes obtaining the power consumption testing result of terminal equipment under any one battery saving mode, thus determine the step of the optimum battery saving mode of terminal equipment, can be achieved by the following scheme:
Step D1, can obtain the power consumption testing result of terminal equipment within n power consumption cycle under any one battery saving mode by the background server in Fig. 1.
Power consumption testing result in n the power consumption cycle in the application above-mentioned steps D1 can carry out matching, obtain a matched curve, can obtain the power consumption change curve of certain terminal equipment 1 under a certain battery saving mode, curve is more steady, illustrates that power consumption is also more stable.,
Step D3, averages to the power consumption testing result of terminal equipment within n cycle and calculates or mean square deviation calculating, determine the power consumption data of terminal equipment under any one battery saving mode.
The application above-mentioned steps D3 can realize the power consumption data calculating certain terminal equipment 1 according to the mean value of curve and the method for mean square deviation, for the duration that unit quantity of electricity uses, unit quantity of electricity uses the larger explanation of the mean value more power saving of duration, or the less explanation of mean square deviation of each point on curve and mean value is more stable.
Step D5, the power consumption data of comparison terminal equipment under any two battery saving modes, determines the optimum battery saving mode of terminal equipment.
Still for smart mobile phone, the scheme that above-mentioned steps D1 to step D5 provides, the power consumption change curve of terminal equipment under any one battery saving mode to a certain class mobile phone model can be realized, the use duration of institute's unit quantity of electricity under often kind of battery saving mode can be quantized, and determine optimum battery saving mode by the power consumption change curve under the different battery saving mode of comparison.
Below can composition graphs 3, to detect the power consumption data of a certain type smart mobile phone under different battery saving mode, determine that optimum battery saving mode is example, the scheme of the embodiment of the present application one is described in detail:
Step 1, a built-in service on each smart mobile phone, for recording user this smart mobile phone carry out this charging complete to next time recharge between a time interval length within power consumption data, power consumption data at least comprises: bright screen total time, standby total time, go out screen not standby total time, and total electricity of this power consumption cycle internal consumption.
Step 2, when there being network using the power consumption data of smart mobile phone record as information reporting to Fig. 1 shown in terminal 10, this terminal 10 is the background server for analyzing power consumption data, each smart mobile phone registered in advance to this background server.
Step 3, after server receives the power consumption data that user's smart mobile phone reports up, can classify according to the type of different smart mobile phones, and these power consumption data are carried out the analytical calculation of following step 4 and 5.
Step 4, the duration that the unit quantity of electricity calculating a certain type or some terminal equipments according to following computing formula can use: unit quantity of electricity on average use duration=(bright screen total time+standby total time+go out screen not standby total time)/(power consumption total amount).
It should be noted that herein, in step 4, also can adopt bright screen total time/power consumption total amount and standby total time/substitute screen total time of going out, when standby total time/screen total time of going out more close to 1, bright screen total time/value of power consumption total amount is larger, also illustrate and get over power saving.
Step 5, according to the computing formula of step 4, the unit quantity of electricity that can calculate each cycle on average uses duration, and is obtaining within the regular hour and observation unit's electricity on average uses the change curve of duration, and curve is more steady, illustrates that power consumption is also more stable.
It should be noted that herein, in step 5, can calculate according to the method for the mean value of curve and mean square deviation, the larger explanation of the duration mean value more power saving that unit quantity of electricity uses, the less explanation of mean square deviation of each point of curve and mean value is more stable.
Step 6, when to smart mobile phone increase or after revising some electricity-saving characteristic, change the battery saving mode of smart mobile phone, now again the scheme of step 1 to step 5 is performed to the smart mobile phone under often kind of battery saving mode, namely calculate to the method for step 5 change curve that unit quantity of electricity on average uses duration according to step 1 equally, if be worth larger explanation more power saving, if less explanation more takes electricity.Can determine that any battery saving mode is optimum battery saving mode by the power consumption data of intelligent mobile phone under different electricity-saving characteristic thus.
It can thus be appreciated that the application achieves and utilizes a kind of principle of large data to weigh mobile phone whether power saving, can economize how many electricity.Because same person uses the custom of smart mobile phone or frequency to be have certain rule substantially, although the duration that every day uses is not necessarily definitely identical, the frequency used within a period of time or in one-period is substantially identical.Such scheme can use consolidator counting user some make the essential information of power consumption, after each user charges from this to charge next time use electricity be to calculate, service time also can calculate, user's bright screen time how long, how long go out the screen time, how long stand-by time is, can detect and calculate.After these simple power consumption data are reported to server, how long the smart mobile phone that server can just calculate this smart mobile phone or this type according to these power consumption data can use.If the user data of magnanimity is come out and calculates the duration that same charge can use on some types.Before increasing power saving strategy and after power saving strategy, so just can verify the duration that unit quantity of electricity uses poor, just can be used for judging the quality of power saving strategy according to this difference, the time of unit quantity of electricity use is longer, illustrates that power saving effect is better.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that can add required general hardware platform by software according to the method for above-described embodiment and realize, hardware can certainly be passed through, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computer, server, or the network equipment etc.) perform method described in each embodiment of the present invention.
Embodiment 2
According to the embodiment of the present invention, additionally provide another kind of for implementing the device embodiment of said method embodiment, the device that the above embodiments of the present application provide can run on the terminal 10 shown in Fig. 1.
Fig. 4 is the structural representation of the checkout gear of the power consumption information of terminal equipment according to this law embodiment two.
As shown in Figure 4, the checkout gear of the power consumption information of this terminal equipment can comprise: acquisition module 40, determination module 42, Executive Module 44 and detection module 46.
Wherein, acquisition module 40, for the power consumption data of acquisition terminal equipment within a power consumption cycle, the power consumption cycle is the interval time of terminal equipment between twice continuous print charging; Determination module 42, for the power consumption testing result of power consumption data determination terminal equipment within a power consumption cycle according to terminal equipment; Executive Module 44, for the function performing acquisition module 40 and determination module 42 that circulates according to predetermined detection frequency n, obtains the power consumption testing result of terminal equipment within n power consumption cycle; Detection module 46, for after terminal equipment being set to any one or multiple battery saving mode, perform the function of acquisition module 40 to Executive Module 44, detect and obtain the power consumption testing result of terminal equipment under any one battery saving mode, thus determine the optimum battery saving mode of terminal equipment.
The scheme that the above embodiments of the present application two provide, after terminal equipment being set to any one or multiple battery saving mode, by the power consumption data in n the power consumption cycle of acquisition terminal equipment, analyze and obtain the power consumption testing result of this terminal equipment under often kind of battery saving mode, due to such scheme employing is carry out analytical calculation to the power consumption data collected in n power consumption cycle, the detection scheme of the principle of the large data of this utilization, be applied in and carry out under different battery saving mode in the scene of power consumption detection for terminal equipment, the optimum battery saving mode which kind of battery saving mode is this terminal equipment can be weighed accurately, and then can realize pushing optimum battery saving mode to terminal equipment, terminal equipment is worked under the most effective battery saving mode.The power save scheme that relatively prior art provides is the scheme judged based on experience value substantially, the quantitative that battery saving mode of measurement present terminal equipment can be realized the most effective, and then solve the whether effective technical problem of battery saving mode that prior art cannot quantize present terminal equipment.
So that such scheme is applied in smart mobile phone, in a kind of embodiment of such scheme, the scheme that above-mentioned acquisition module 40 to Executive Module 44 realizes can be applied on any one smart mobile phone of access terminal 10, namely after smart mobile phone is registered to terminal 10, terminal 10 can push acquisition instructions to corresponding smart mobile phone, gather the power consumption data that smart mobile phone records under any one battery saving mode, and the power consumption data of this smart mobile phone is analyzed, determine the power consumption testing result of smart mobile phone under different battery saving mode, thus realize carrying out analysis and resolution to the power consumption data of single smart mobile phone, the most effective battery saving mode of this smart mobile phone of measurement quantized.
It should be noted that herein, above-mentioned acquisition module 40, determination module 42, Executive Module 44 and detection module 46 correspond to steps A in embodiment one to step D, the example that four modules and corresponding step realize is identical with application scenarios, but is not limited to the content disclosed in above-described embodiment one.It should be noted that, above-mentioned module may operate in the terminal 10 that embodiment one provides as the part of device, can pass through software simulating, also can pass through hardware implementing.
Preferably, the application's said apparatus is also for when detecting m terminal equipment, obtain the device parameter of each terminal equipment, and according to the device parameter of each terminal equipment, m terminal equipment is divided at least two types, obtain at least two terminal equipment set, and according to the detection scheme that above-mentioned acquisition module to Executive Module adopts, the power consumption data of all terminal equipments in any one terminal equipment set is detected as a power consumption data set, obtain the power consumption testing result corresponding to each terminal equipment set, thus determine the optimum battery saving mode of each terminal equipment set.
It should be noted that herein, the function that said apparatus can also realize corresponds to the method step of the left and right battery saving mode for detecting m terminal equipment in embodiment one, the example that this module realizes with corresponding step is identical with application scenarios, but is not limited to the content disclosed in above-described embodiment one.It should be noted that, above-mentioned module may operate in the terminal 10 that embodiment one provides as the part of device, can pass through software simulating, also can pass through hardware implementing.
Preferably, as shown in Figure 5, above-mentioned determination module 42 can comprise: the first acquisition module 421 and generation module 423.
Wherein, the first acquisition module 421, for obtaining power consumption detection model, power consumption detection model comprises: the computation model of unit quantity of electricity mean consumption duration and the computation model of power consumption ratio; Generation module 423, for using power consumption detection model to carry out power consumption check processing to power consumption data, generates the power consumption testing result of terminal equipment.
It should be noted that herein, above-mentioned first acquisition module 421 and generation module 423 correspond to step B1 in embodiment one to step B3, the example that two modules and corresponding step realize is identical with application scenarios, but is not limited to the content disclosed in above-described embodiment one.It should be noted that, above-mentioned module may operate in the terminal 10 that embodiment one provides as the part of device, can pass through software simulating, also can pass through hardware implementing.
Preferably, in the above embodiments of the present application, power consumption data can at least comprise: bright screen total time, standby total time, screen not standby total time of going out, go out screen total time and power consumption total amount, wherein, when the unit quantity of electricity that power consumption testing result is terminal equipment on average uses duration, as shown in Figure 6, above-mentioned generation module 423 can be performed the computing formula provided by any one computing module following and calculates the unit quantity of electricity of terminal equipment within a power consumption cycle and on average use duration T:
total time, t 2ifor standby total time, t 3ifor going out screen not standby total time, S is power consumption total amount.
between, t 2ifor standby total time, S is power consumption total amount.
s is power consumption total amount.
It should be noted that herein, above-mentioned first computing module, the second computing module and the 3rd computing module correspond to the step that this three computing formula of formula one, formula two and formula three in embodiment one realize, the example that three modules and the step that corresponding formula realizes realize is identical with application scenarios, but is not limited to the content disclosed in above-described embodiment one.It should be noted that, above-mentioned module may operate in the terminal 10 that embodiment one provides as the part of device, can pass through software simulating, also can pass through hardware implementing.
Preferably, in the above embodiments of the present application, power consumption data at least can comprise: bright screen total time, standby total time, screen not standby total time of going out, go out screen total time and power consumption total amount, wherein, when power consumption testing result is the power consumption ratio of terminal equipment, as shown in Figure 7, above-mentioned generation module 423 can perform and calculate the power consumption ratio μ of terminal equipment within a power consumption cycle by any one computing formula following:
total time.
go out screen total time.
It should be noted that herein, the step that above-mentioned 4th computing module, the 5th computing module realize corresponding to the formula four in embodiment one, this two computing formula of formula five, the example that two modules and the step that corresponding formula realizes realize is identical with application scenarios, but is not limited to the content disclosed in above-described embodiment one.It should be noted that, above-mentioned module may operate in the terminal 10 that embodiment one provides as the part of device, can pass through software simulating, also can pass through hardware implementing.
Preferably, as shown in Figure 8, above-mentioned detection module 46 can comprise: the second acquisition module 461, the 6th computing module 463 and comparison module 465.
Wherein, the second acquisition module 461, for obtaining the power consumption testing result of terminal equipment within n power consumption cycle under any one battery saving mode; 6th computing module 463, for calculating or the mean square deviation calculating of averaging to the power consumption testing result of terminal equipment within n cycle, determines the power consumption data of terminal equipment under any one battery saving mode; Comparison module 465, for the power consumption data of comparison terminal equipment under any two battery saving modes, determines the optimum battery saving mode of terminal equipment.
It should be noted that herein, above-mentioned second acquisition module 461, the 6th computing module 463 and comparison module 465 correspond to step D1 in embodiment one to step D5, the example that three modules and corresponding step realize is identical with application scenarios, but is not limited to the content disclosed in above-described embodiment one.It should be noted that, above-mentioned module may operate in the terminal 10 that embodiment one provides as the part of device, can pass through software simulating, also can pass through hardware implementing.
It can thus be appreciated that the application's said apparatus embodiment achieves and utilizes a kind of principle of large data to weigh mobile phone whether power saving, can economize how many electricity.Because same person uses the custom of smart mobile phone or frequency to be have certain rule substantially, although the duration that every day uses is not necessarily definitely identical, the frequency used within a period of time or in one-period is substantially identical.Such scheme can use consolidator counting user some make the essential information of power consumption, after each user charges from this to charge next time use electricity be to calculate, service time also can calculate, user's bright screen time how long, how long go out the screen time, how long stand-by time is, can detect and calculate.After these simple power consumption data are reported to server, how long the smart mobile phone that server can just calculate this smart mobile phone or this type according to these power consumption data can use.If the user data of magnanimity is come out and calculates the duration that same charge can use on some types.Before increasing power saving strategy and after power saving strategy, so just can verify the duration that unit quantity of electricity uses poor, just can be used for judging the quality of power saving strategy according to this difference, the time of unit quantity of electricity use is longer, illustrates that power saving effect is better.
Embodiment 3
Embodiments of the invention can provide a kind of background server, and this background server can be any one background server in background server group.Alternatively, in the present embodiment, above-mentioned background server also can replace with the terminal equipment that other have processing capacity.
Alternatively, in the present embodiment, above-mentioned background server can be arranged at least one network equipment of multiple network equipments of computer network.
In the present embodiment, above-mentioned background server can the program code of following steps in the leak detection method of executive utility: steps A, the power consumption data of acquisition terminal equipment within a power consumption cycle, the power consumption cycle is the interval time of terminal equipment between twice continuous print charging; Step B, according to the power consumption testing result of power consumption data determination terminal equipment within a power consumption cycle of terminal equipment; Step C, circulates according to predetermined detection frequency n and performs steps A and step B, obtain the power consumption testing result of terminal equipment within n power consumption cycle; Step D, after terminal equipment being set to any one or multiple battery saving mode, performing steps A to step C, detects and obtain the power consumption testing result of terminal equipment under any one battery saving mode, thus determine the optimum battery saving mode of terminal equipment.
It should be noted that herein, any one background server in above-mentioned background server group can set up correspondence with the terminal equipment of front end (such as smart mobile phone), smart mobile phone can be installed the record client of power consumption data, an i.e. built-in service on smart mobile phone, records the power consumption data of this terminal equipment between twice continuous print charging.
Alternatively, Fig. 9 is the structured flowchart of a kind of background server according to the embodiment of the present invention.As shown in Figure 9, this background server A can comprise: one or more (only illustrating one in figure) processor 51, memory 53 and transmitting device 55.
Wherein, memory 53 can be used for storing software program and module, as the security flaw detection method in the embodiment of the present invention and program command/module corresponding to device, processor 51 is by running the software program and module that are stored in memory 53, thus perform the application of various function and data processing, namely realize the detection method that above-mentioned system vulnerability is attacked.Memory 53 can comprise high speed random asccess memory, can also comprise nonvolatile memory, as one or more magnetic storage device, flash memory or other non-volatile solid state memories.In some instances, memory 53 can comprise the memory relative to the long-range setting of processor 51 further, and these remote memories can be connected to background server A by network.The example of above-mentioned network includes but not limited to the Internet, intranet, local area network (LAN), mobile radio communication and combination thereof.
Above-mentioned transmitting device 55 for via a network reception or send data.Above-mentioned network instantiation can include spider lines and wireless network.In an example, transmitting device 55 comprises a network adapter (Network Interface Controller, NIC), and it to be connected with router by netting twine and other network equipments thus can to carry out communication with the Internet or local area network (LAN).In an example, transmitting device 55 is radio frequency (Radio Frequency, RF) module, and it is for wirelessly carrying out communication with the Internet.
Wherein, particularly, memory 53 is for storing information and the application program of deliberate action condition and default access user.
Processor 51 can call information and the application program of memory 53 storage by transmitting device, to perform following step: steps A, the power consumption data of acquisition terminal equipment within a power consumption cycle, the power consumption cycle is the interval time of terminal equipment between twice continuous print charging; Step B, according to the power consumption testing result of power consumption data determination terminal equipment within a power consumption cycle of terminal equipment; Step C, circulates according to predetermined detection frequency n and performs steps A and step B, obtain the power consumption testing result of terminal equipment within n power consumption cycle; Step D, after terminal equipment being set to any one or multiple battery saving mode, performing steps A to step C, detects and obtain the power consumption testing result of terminal equipment under any one battery saving mode, thus determine the optimum battery saving mode of terminal equipment.
Optionally, above-mentioned processor 51 can also perform the program code of following steps: when detecting m terminal equipment, obtain the device parameter of each terminal equipment, and according to the device parameter of each terminal equipment, m terminal equipment is divided at least two types, obtain at least two terminal equipment set, and according to the detection scheme that above-mentioned steps A to step D adopts, the power consumption data of all terminal equipments in any one terminal equipment set is detected as a power consumption data set, obtain the power consumption testing result corresponding to each terminal equipment set, thus determine the optimum battery saving mode of each terminal equipment set.
Optionally, above-mentioned processor 51 can also perform the program code of following steps: obtain power consumption detection model, power consumption detection model comprises: the computation model of unit quantity of electricity mean consumption duration and the computation model of power consumption ratio; Use power consumption detection model to carry out power consumption check processing to power consumption data, generate the power consumption testing result of terminal equipment.
Optionally, above-mentioned processor 51 can also perform the program code of following steps: power consumption data at least comprises: bright screen total time, standby total time, screen not standby total time of going out, go out screen total time and power consumption total amount, wherein, when the unit quantity of electricity that power consumption testing result is terminal equipment on average uses duration, use power consumption detection model to carry out power consumption check processing to power consumption data, the step generating the power consumption testing result of terminal equipment comprises: calculate terminal by any one computing formula following and establish for bright screen total time, S is power consumption total amount.
Optionally, above-mentioned processor 51 can also perform the program code of following steps: power consumption data at least comprises: bright screen total time, standby total time, screen not standby total time of going out, go out screen total time and power consumption total amount, wherein, when power consumption testing result is the power consumption ratio of terminal equipment, use power consumption detection model to carry out power consumption check processing to power consumption data, the power consumption generating terminal equipment detects knot for going out screen total time.
Optionally, above-mentioned processor 51 can also perform the program code of following steps: detect and obtain the power consumption testing result of terminal equipment under any one battery saving mode, thus determine that the step of the optimum battery saving mode of terminal equipment comprises: obtain the power consumption testing result of terminal equipment within n power consumption cycle under any one battery saving mode; The power consumption testing result of terminal equipment within n cycle is averaged and calculates or mean square deviation calculating, determine the power consumption data of terminal equipment under any one battery saving mode; The power consumption data of comparison terminal equipment under any two battery saving modes, determines the optimum battery saving mode of terminal equipment.
One of ordinary skill in the art will appreciate that, structure shown in Fig. 9 is only signal, background server also can be the terminal equipments such as smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer, applause computer and mobile internet device (Mobile Internet Devices, MID), PAD.Fig. 9 its restriction is not caused to the structure of above-mentioned electronic installation.Such as, background server 10 also can comprise than assembly (as network interface, display unit etc.) more or less shown in Fig. 9, or has the configuration different from shown in Fig. 9.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment can carry out the device-dependent hardware of command terminal by program to have come, this program can be stored in a computer-readable recording medium, storage medium can comprise: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc.
Embodiment 4
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium may be used for preserve above-described embodiment one based on social application software data recommendation method performed by program code.
Alternatively, in the present embodiment, above-mentioned storage medium can be arranged in any one server of computer network Computer terminal group.
Alternatively, in the present embodiment, storage medium is set to store the program code for performing following steps: steps A, the power consumption data of acquisition terminal equipment within a power consumption cycle, and the power consumption cycle is the interval time of terminal equipment between twice continuous print charging; Step B, according to the power consumption testing result of power consumption data determination terminal equipment within a power consumption cycle of terminal equipment; Step C, circulates according to predetermined detection frequency n and performs steps A and step B, obtain the power consumption testing result of terminal equipment within n power consumption cycle; Step D, after terminal equipment being set to any one or multiple battery saving mode, performing steps A to step C, detects and obtain the power consumption testing result of terminal equipment under any one battery saving mode, thus determine the optimum battery saving mode of terminal equipment.
Alternatively, storage medium is also set to store the program code for performing following steps: when detecting m terminal equipment, obtain the device parameter of each terminal equipment, and according to the device parameter of each terminal equipment, m terminal equipment is divided at least two types, obtain at least two terminal equipment set, and according to the detection scheme that above-mentioned steps A to step D adopts, the power consumption data of all terminal equipments in any one terminal equipment set is detected as a power consumption data set, obtain the power consumption testing result corresponding to each terminal equipment set, thus determine the optimum battery saving mode of each terminal equipment set.
Alternatively, storage medium is also set to store the program code for performing following steps: obtain power consumption detection model, power consumption detection model comprises: the computation model of unit quantity of electricity mean consumption duration and the computation model of power consumption ratio; Use power consumption detection model to carry out power consumption check processing to power consumption data, generate the power consumption testing result of terminal equipment.
Alternatively, storage medium is also set to store the program code for performing following steps: power consumption data at least comprises: bright screen total time, standby total time, screen not standby total time of going out, go out screen total time and power consumption total amount, wherein, when the unit quantity of electricity that power consumption testing result is terminal equipment on average uses duration, use power consumption detection model to carry out power consumption check processing to power consumption data, the step generating the power consumption testing result of terminal equipment comprises: calculated by any one computing formula following for bright screen total time, S is power consumption total amount.
Alternatively, storage medium is also set to store the program code for performing following steps: power consumption data at least comprises: bright screen total time, standby total time, screen not standby total time of going out, go out screen total time and power consumption total amount, wherein, when power consumption testing result is the power consumption ratio of terminal equipment, use power consumption detection model to carry out power consumption check processing to power consumption data, generate the power consumption inspection of terminal equipment time, t 4ifor going out screen total time.
Alternatively, storage medium is also set to store program code for performing following steps: detect and obtain the power consumption testing result of terminal equipment under any one battery saving mode, thus determine that the step of the optimum battery saving mode of terminal equipment comprises: obtain the power consumption testing result of terminal equipment within n power consumption cycle under any one battery saving mode; The power consumption testing result of terminal equipment within n cycle is averaged and calculates or mean square deviation calculating, determine the power consumption data of terminal equipment under any one battery saving mode; The power consumption data of comparison terminal equipment under any two battery saving modes, determines the optimum battery saving mode of terminal equipment.
Alternatively, in the present embodiment, above-mentioned storage medium can include but not limited to: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
Alternatively, the concrete example in the present embodiment can with reference to the example described in above-described embodiment 2 and embodiment 4, and the present embodiment does not repeat them here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
If the integrated unit in above-described embodiment using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in the storage medium that above computer can read.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in storage medium, comprises all or part of step of some instructions in order to make one or more computer equipment (can be personal computer, server or the network equipment etc.) perform method described in each embodiment of the present invention.
In the above embodiment of the present invention, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
In several embodiments that the application provides, should be understood that, disclosed client, the mode by other realizes.Wherein, device embodiment described above is only schematic, the such as division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of unit or module or communication connection can be electrical or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (12)

1. a detection method for the power consumption information of terminal equipment, is characterized in that, comprising:
Steps A, the power consumption data of acquisition terminal equipment within a power consumption cycle, the described power consumption cycle is the interval time of described terminal equipment between twice continuous print charging;
Step B, determines the power consumption testing result of described terminal equipment within a described power consumption cycle according to the power consumption data of described terminal equipment;
Step C, circulates according to predetermined detection frequency n and performs described steps A and described step B, obtain the power consumption testing result of described terminal equipment within n power consumption cycle;
Step D, after described terminal equipment is set to any one or multiple battery saving mode, perform described steps A to step C, detect and obtain the power consumption testing result of described terminal equipment under any one battery saving mode, thus determine the optimum battery saving mode of described terminal equipment.
2. method according to claim 1, it is characterized in that, when detecting m terminal equipment, obtain the device parameter of described each terminal equipment, and according to the device parameter of described each terminal equipment, a described m terminal equipment is divided at least two types, obtain at least two terminal equipment set, and according to the detection scheme that above-mentioned steps A to step D adopts, the power consumption data of all terminal equipments in any one terminal equipment set is detected as a power consumption data set, obtain the power consumption testing result corresponding to each terminal equipment set, thus determine the optimum battery saving mode of described each terminal equipment set.
3. method according to claim 1, is characterized in that, determines that the step of the power consumption testing result of described terminal equipment within a described power consumption cycle comprises according to the power consumption data of described terminal equipment:
Obtain power consumption detection model, described power consumption detection model comprises: the computation model of unit quantity of electricity mean consumption duration and the computation model of power consumption ratio;
Use described power consumption detection model to carry out power consumption check processing to described power consumption data, generate the described power consumption testing result of described terminal equipment.
4. method according to claim 3, it is characterized in that, described power consumption data at least comprises: bright screen total time, standby total time, screen not standby total time of going out, go out screen total time and power consumption total amount, wherein, when the unit quantity of electricity that described power consumption testing result is described terminal equipment on average uses duration, use described power consumption detection model to carry out power consumption check processing to described power consumption data, the step generating the described power consumption testing result of described terminal equipment comprises:
Calculate the described unit quantity of electricity of described terminal equipment within a described power consumption cycle by any one computing formula following and on average use duration T:
Formula one: wherein, t 1ifor bright screen total time, t 2ifor standby total time, t 3ifor going out screen not standby total time, S is power consumption total amount;
Formula two: wherein, t 1ifor bright screen total time, t 2ifor standby total time, S is power consumption total amount;
Formula three: wherein, t 1ifor bright screen total time, S is power consumption total amount.
5. method according to claim 3, it is characterized in that, described power consumption data at least comprises: bright screen total time, standby total time, screen not standby total time of going out, go out screen total time and power consumption total amount, wherein, when described power consumption testing result is the power consumption ratio of described terminal equipment, use described power consumption detection model to carry out power consumption check processing to described power consumption data, the step generating the described power consumption testing result of described terminal equipment comprises:
The described power consumption ratio μ of described terminal equipment within a described power consumption cycle is calculated by any one computing formula following:
Formula four: wherein, t 2ifor standby total time, t 4ifor going out screen total time;
Formula five: wherein, t 3ifor going out screen not standby total time, t 4ifor going out screen total time.
6. the method according to claim 4 or 5, is characterized in that, detects and obtains the power consumption testing result of described terminal equipment under any one battery saving mode, thus determine that the step of the optimum battery saving mode of described terminal equipment comprises:
The power consumption testing result of described terminal equipment within n power consumption cycle under obtaining any one battery saving mode;
The power consumption testing result of described terminal equipment within a described n cycle is averaged and calculates or mean square deviation calculating, determine the power consumption data of described terminal equipment under any one battery saving mode described;
The power consumption data of more described terminal equipment under any two battery saving modes, determines the optimum battery saving mode of described terminal equipment.
7. a checkout gear for the power consumption information of terminal equipment, is characterized in that, comprising:
Acquisition module, for the power consumption data of acquisition terminal equipment within a power consumption cycle, the described power consumption cycle is the interval time of described terminal equipment between twice continuous print charging;
Determination module, for determining the power consumption testing result of described terminal equipment within a described power consumption cycle according to the power consumption data of described terminal equipment;
Executive Module, for the function performing described acquisition module and described determination module that circulates according to predetermined detection frequency n, obtains the power consumption testing result of described terminal equipment within n power consumption cycle;
Detection module, for after described terminal equipment is set to any one or multiple battery saving mode, perform the function of described acquisition module to described Executive Module, detect and obtain the power consumption testing result of described terminal equipment under any one battery saving mode, thus determine the optimum battery saving mode of described terminal equipment.
8. device according to claim 7, it is characterized in that, described device is also for when detecting m terminal equipment, obtain the device parameter of described each terminal equipment, and according to the device parameter of described each terminal equipment, a described m terminal equipment is divided at least two types, obtain at least two terminal equipment set, and according to the detection scheme that above-mentioned acquisition module adopts to described Executive Module, the power consumption data of all terminal equipments in any one terminal equipment set is detected as a power consumption data set, obtain the power consumption testing result corresponding to each terminal equipment set, thus determine the optimum battery saving mode of described each terminal equipment set.
9. device according to claim 7, is characterized in that, described determination module comprises:
First acquisition module, for obtaining power consumption detection model, described power consumption detection model comprises: the computation model of unit quantity of electricity mean consumption duration and the computation model of power consumption ratio;
Generation module, for using described power consumption detection model to carry out power consumption check processing to described power consumption data, generates the described power consumption testing result of described terminal equipment.
10. device according to claim 9, it is characterized in that, described power consumption data at least comprises: bright screen total time, standby total time, screen not standby total time of going out, go out screen total time and power consumption total amount, wherein, when the unit quantity of electricity that described power consumption testing result is described terminal equipment on average uses duration, described generation module comprises:
The computing formula provided by any one computing module following is calculated the described unit quantity of electricity of described terminal equipment within a described power consumption cycle and on average uses duration T:
First computing module, on average uses duration T for being calculated the described unit quantity of electricity of described terminal equipment within a described power consumption cycle by following formula one: wherein, t 1ifor bright screen total time, t 2ifor standby total time, t 3ifor going out screen not standby total time, S is power consumption total amount;
Second computing module, on average uses duration T for being calculated the described unit quantity of electricity of described terminal equipment within a described power consumption cycle by following formula two: wherein, t 1ifor bright screen total time, t 2ifor standby total time, S is power consumption total amount;
3rd computing module, on average uses duration T for being calculated the described unit quantity of electricity of described terminal equipment within a described power consumption cycle by following formula three: wherein, t 1ifor bright screen total time, S is power consumption total amount.
11. devices according to claim 9, it is characterized in that, described power consumption data at least comprises: bright screen total time, standby total time, screen not standby total time of going out, go out screen total time and power consumption total amount, wherein, when described power consumption testing result is the power consumption ratio of described terminal equipment, described generation module comprises:
The described power consumption ratio μ of described terminal equipment within a described power consumption cycle is calculated by any one computing formula following:
4th computing module, for being calculated the described power consumption ratio μ of described terminal equipment within a described power consumption cycle by following formula four: wherein, t 2ifor standby total time, t 4ifor going out screen total time;
5th computing module, for being calculated the described power consumption ratio μ of described terminal equipment within a described power consumption cycle by following formula five: wherein, t 3ifor going out screen not standby total time, t 4ifor going out screen total time.
12. devices according to claim 10 or 11, it is characterized in that, described detection module comprises:
Second acquisition module, for the power consumption testing result of described terminal equipment within n power consumption cycle under obtaining any one battery saving mode;
6th computing module, for calculating or the mean square deviation calculating of averaging to the power consumption testing result of described terminal equipment within a described n cycle, determines the power consumption data of described terminal equipment under any one battery saving mode described;
Comparison module, for the power consumption data of more described terminal equipment under any two battery saving modes, determines the optimum battery saving mode of described terminal equipment.
CN201410614821.4A 2014-11-04 2014-11-04 The detection method and device of the power consumption information of terminal device Active CN104954528B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410614821.4A CN104954528B (en) 2014-11-04 2014-11-04 The detection method and device of the power consumption information of terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410614821.4A CN104954528B (en) 2014-11-04 2014-11-04 The detection method and device of the power consumption information of terminal device

Publications (2)

Publication Number Publication Date
CN104954528A true CN104954528A (en) 2015-09-30
CN104954528B CN104954528B (en) 2018-01-02

Family

ID=54168868

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410614821.4A Active CN104954528B (en) 2014-11-04 2014-11-04 The detection method and device of the power consumption information of terminal device

Country Status (1)

Country Link
CN (1) CN104954528B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105702232A (en) * 2016-04-26 2016-06-22 广东欧珀移动通信有限公司 Brightness processing method and system
CN111657777A (en) * 2019-03-08 2020-09-15 爱信精机株式会社 Toilet device
CN111796654A (en) * 2019-04-09 2020-10-20 Oppo广东移动通信有限公司 Power saving processing method and device, storage medium and electronic equipment
CN111813212A (en) * 2020-07-01 2020-10-23 深圳传音控股股份有限公司 Terminal power saving method, terminal and readable storage medium
CN112334875A (en) * 2018-11-30 2021-02-05 华为技术有限公司 Power consumption prediction method and device
CN113837437A (en) * 2021-08-19 2021-12-24 杭州逗酷软件科技有限公司 Terminal power consumption data processing method and device, storage medium and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070188468A1 (en) * 2006-02-13 2007-08-16 Research In Motion Limited Power saving system for a wireless handheld communication device
CN101030097A (en) * 2006-06-13 2007-09-05 威盛电子股份有限公司 Method and chip set for reducing computer system power consumption under working condition
CN101335937A (en) * 2007-06-26 2008-12-31 英华达(上海)电子有限公司 Method and apparatus for adjusting energy consumption of mobile equipment
CN103677214A (en) * 2013-12-31 2014-03-26 北京金山网络科技有限公司 Electricity consumption control method and device used for mobile terminal and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070188468A1 (en) * 2006-02-13 2007-08-16 Research In Motion Limited Power saving system for a wireless handheld communication device
CN101030097A (en) * 2006-06-13 2007-09-05 威盛电子股份有限公司 Method and chip set for reducing computer system power consumption under working condition
CN101335937A (en) * 2007-06-26 2008-12-31 英华达(上海)电子有限公司 Method and apparatus for adjusting energy consumption of mobile equipment
CN103677214A (en) * 2013-12-31 2014-03-26 北京金山网络科技有限公司 Electricity consumption control method and device used for mobile terminal and mobile terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LBHFK01: "简简单单设置手机就可以更省电,详细对比测试", 《智友论坛>智友论坛>华为手机论坛>华为手机论坛>U8860论坛》 *
中国新通信: "省电类Android手机应用软件对比评测", 《中国新通信》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105702232A (en) * 2016-04-26 2016-06-22 广东欧珀移动通信有限公司 Brightness processing method and system
CN105702232B (en) * 2016-04-26 2018-05-04 广东欧珀移动通信有限公司 Brightness processed method and system
CN112334875A (en) * 2018-11-30 2021-02-05 华为技术有限公司 Power consumption prediction method and device
CN111657777A (en) * 2019-03-08 2020-09-15 爱信精机株式会社 Toilet device
CN111796654A (en) * 2019-04-09 2020-10-20 Oppo广东移动通信有限公司 Power saving processing method and device, storage medium and electronic equipment
CN111796654B (en) * 2019-04-09 2022-05-31 Oppo广东移动通信有限公司 Power saving processing method and device, storage medium and electronic equipment
CN111813212A (en) * 2020-07-01 2020-10-23 深圳传音控股股份有限公司 Terminal power saving method, terminal and readable storage medium
CN113837437A (en) * 2021-08-19 2021-12-24 杭州逗酷软件科技有限公司 Terminal power consumption data processing method and device, storage medium and terminal

Also Published As

Publication number Publication date
CN104954528B (en) 2018-01-02

Similar Documents

Publication Publication Date Title
CN104954528A (en) Detection method and apparatus of electricity consumption information of terminal equipment
US9286568B2 (en) Battery drain analysis and prediction for wireless devices
Xu et al. V-edge: Fast self-constructive power modeling of smartphones based on battery voltage dynamics
US9754329B2 (en) Management system, smart meter, server, operation method and management method
CN102313839B (en) Apparatus and method for energy management of electric devices
Moldovan et al. Energy-aware mobile learning: Opportunities and challenges
CN105144118A (en) Application testing and analysis
CN104967629A (en) Network attack detection method and apparatus
CN109920192A (en) Fire alarm method, system and computer readable storage medium
CN103336493A (en) An energy management system
CN104037885A (en) Portable power source, working condition monitoring system of portable power source and monitoring management method of portable power source
CN111352733A (en) Capacity expansion and reduction state prediction method and device
CN108072858B (en) Electric energy meter quality management method and system and terminal equipment
CN114839433A (en) Electricity stealing behavior determining method and device and electronic equipment
CN111179108A (en) Method and device for predicting power consumption
Neto et al. Building energy consumption models based on smartphone user’s usage patterns
CN115549313A (en) Electricity utilization monitoring method and system based on artificial intelligence
CN114977176A (en) Power load decomposition method, device, equipment and storage medium
CN114167132A (en) Power consumption detection method and device of wireless terminal, electronic equipment and storage medium
Abdurohman et al. Integrated lighting enabler system using M2M platforms for enhancing energy efficiency
CN111800807A (en) Method and device for alarming number of base station users
CN113055423B (en) Policy pushing method, policy execution method, device, equipment and medium
CN105549717A (en) Method and device for optimizing power consumption of application program and electronic equipment
CN103428320B (en) Smart cell phone power dissipation estimation method based on model fitting
CN109995549A (en) A kind of method and device for assessing Flow Value

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