CN105786671B - A kind of detection generates the method, apparatus and calculating equipment of power consumption application - Google Patents
A kind of detection generates the method, apparatus and calculating equipment of power consumption application Download PDFInfo
- Publication number
- CN105786671B CN105786671B CN201610107555.5A CN201610107555A CN105786671B CN 105786671 B CN105786671 B CN 105786671B CN 201610107555 A CN201610107555 A CN 201610107555A CN 105786671 B CN105786671 B CN 105786671B
- Authority
- CN
- China
- Prior art keywords
- power consumption
- log
- consumption test
- test log
- application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3058—Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
- G06F11/3062—Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations where the monitored property is the power consumption
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
- G06F11/3476—Data logging
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses the method that detection generates power consumption application, this method executes in calculating equipment, this method comprises: obtaining the complete test script of running of mobile terminal enters the power consumption test log recorded after suspend mode;In the first power consumption test log, by search for the first keyword determine mobile terminal whether in suspend mode by Wake on LAN, if mobile terminal in suspend mode by Wake on LAN, record the Wake on LAN time;In the second power consumption test log, the IP address information of transmission data is determined according to the Wake on LAN time;In third power consumption test log, the Process identifier of application is determined according to IP address information;In the 4th power consumption test log, determine mobile terminal from suspend mode by the information of the application of generation power consumption when Wake on LAN according to Process identifier.The device of power consumption application is generated the invention also discloses corresponding detection and the calculating equipment of the device of power consumption application is generated comprising the detection.
Description
Technical field
The method, apparatus of power consumption application is generated the present invention relates to a kind of detection and calculates equipment.
Background technique
Universal with smart phone, the loss situation of power is increasingly taken seriously when cell phone standby, and generates power
The main reason for loss, is exactly: when cell phone standby, in mobile phone application generate CPU wake up and RTC wake up, cause smart phone without
Method enters dormant state, so that problem is lost in emergent power.Power problems not only will affect using electricity, battery life, also
The problems such as may cause mobile phone overheat.Currently, the test of power consumption generally passes through electric current instrument in the monitoring of the end PC when to cell phone standby
Current conditions are then convert into theoretic service time of battery, obtain the whether excessively high conclusion of power consumption.But the test side
Method only judges whether power is excessively high from current value and service time of battery, can not fundamentally not detect and to generate cell phone standby function
The reason of consumption.
Summary of the invention
For this purpose, the present invention provide it is a kind of detection generate power consumption application method, apparatus and calculate equipment, with try hard to solve or
Person at least alleviate above there are the problem of.
According to an aspect of the present invention, a kind of method that detection generates power consumption application is provided, this method is calculating equipment
Middle execution, this method comprises: obtaining the complete test script of running of mobile terminal enters the power consumption test log recorded after suspend mode,
Power consumption test log includes at least the first power consumption test log, the second power consumption test log, third power consumption test log and the 4th
Power consumption test log;In the first power consumption test log, determine mobile terminal whether in suspend mode mould by searching for the first keyword
Formula by Wake on LAN, if mobile terminal in suspend mode by Wake on LAN, record the Wake on LAN time;It is surveyed in the second power consumption
It tries in log, the IP address information of transmission data is determined according to the Wake on LAN time;In third power consumption test log, according to IP
Address information determines the Process identifier of application;In the 4th power consumption test log, mobile terminal is determined according to Process identifier
The information of the application of power consumption is generated when Wake on LAN from suspend mode.
Optionally, in the method that detection according to the present invention generates power consumption application, further includes: in third power consumption test day
The information of the application of power consumption is generated when determining that mobile terminal is waken up from suspend mode by RTC by searching for the second keyword in will.
Optionally, in the method that detection according to the present invention generates power consumption application, IP address information includes source address letter
Breath and destination address information.
Optionally, in the method that detection according to the present invention generates power consumption application, the first power consumption test log is at least wrapped
Include kernel log, the second power consumption test log includes at least net log, third power consumption test log includes at least main log
Events log is included at least with the 4th power consumption test log.
Optionally, in the method that detection according to the present invention generates power consumption application, the information of application includes using packet
The title of title and application process.
According to an aspect of the present invention, a kind of device of detection generation power consumption application is provided, which resides in calculating
In equipment, which includes: log acquisition module, suitable for obtaining record when the complete test script of running of mobile terminal enters suspend mode
The power consumption test log of system, power consumption test log include at least the first power consumption test log, the second power consumption test log, third function
Consume test log and the 4th power consumption test log;Wakeup time logging modle is suitable in the first power consumption test log, by searching
The first keyword of rope determine mobile terminal whether in suspend mode by Wake on LAN, if mobile terminal is in suspend mode by network
It wakes up, then records the Wake on LAN time;Address information obtains module, is suitable in the second power consumption test log, is called out according to network
The IP address information for time determining transmission data of waking up;Process identifier determining module is suitable for the root in third power consumption test log
The Process identifier of application is determined according to IP address information;Using determining module, be suitable in the 4th power consumption test log, according into
Journey identifier determines that mobile terminal is generated the information of the application of power consumption from suspend mode when Wake on LAN.
Optionally, in the device that detection according to the present invention generates power consumption application, it is further adapted for using determining module: the
Power consumption is generated when determining that mobile terminal is waken up from suspend mode by RTC by searching for the second keyword in three power consumption test logs
The information of application.
Optionally, in the device that detection according to the present invention generates power consumption application, IP address information includes source address letter
Breath and destination address information.
Optionally, in the device that detection according to the present invention generates power consumption application, the first power consumption test log is at least wrapped
Include kernel log, the second power consumption test log includes at least net log, third power consumption test log includes at least main log
Events log is included at least with the 4th power consumption test log.
Optionally, in the device that detection according to the present invention generates power consumption application, the information of application includes using packet
The title of title and application process.
According to an aspect of the present invention, a kind of calculating equipment is provided, including as the detection in power generates power consumption application
Device.
Technical method according to the present invention, waken up by RTC of the test application after the operating system suspend mode of mobile terminal,
The frequency of network communication can detecte out using existing some applications for influencing standby power consumption of mobile phone.
Detailed description of the invention
To the accomplishment of the foregoing and related purposes, certain illustrative sides are described herein in conjunction with following description and drawings
Face, these aspects indicate the various modes that can practice principles disclosed herein, and all aspects and its equivalent aspect
It is intended to fall in the range of theme claimed.Read following detailed description in conjunction with the accompanying drawings, the disclosure it is above-mentioned
And other purposes, feature and advantage will be apparent.Throughout the disclosure, identical appended drawing reference generally refers to identical
Component or element.
Fig. 1 shows the structural frames that detection according to the present invention generates the Example Computing Device 100 for the device that power consumption is applied
Figure;
Fig. 2 shows the structure charts that detection according to an embodiment of the invention generates the device 200 of power consumption application;
Fig. 3 shows the schematic diagram of determining Wake on LAN time according to an embodiment of the invention;
Fig. 4 shows the schematic diagram of determining IP address information according to an embodiment of the invention;
Fig. 5 shows the schematic diagram of determining Process identifier according to an embodiment of the invention;
Fig. 6 shows the schematic diagram of the information of the determining application for generating power consumption according to an embodiment of the invention;And
Fig. 7 shows the flow chart that detection according to an embodiment of the invention generates the method 700 of power consumption application.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
The device that detection of the invention generates power consumption application, which resides in, to be calculated in equipment, and Fig. 1 is arranged as realizing according to this hair
Bright detection generates the block diagram of the Example Computing Device 100 of the device of power consumption application.In basic configuration 102, equipment is calculated
100 typically comprise system storage 106 and one or more processor 104.Memory bus 108 can be used for handling
Communication between device 104 and system storage 106.
Depending on desired configuration, processor 104 can be any kind of processing, including but not limited to: microprocessor
((μ P), microcontroller (μ C), digital information processor (DSP) or any combination of them.Processor 104 may include all
Cache, processor core such as one or more rank of on-chip cache 110 and second level cache 112 etc
114 and register 116.Exemplary processor core 114 may include arithmetic and logical unit (ALU), floating-point unit (FPU),
Digital signal processing core (DSP core) or any combination of them.Exemplary Memory Controller 118 can be with processor
104 are used together, or in some implementations, and Memory Controller 118 can be an interior section of processor 104.
Depending on desired configuration, system storage 106 can be any type of memory, including but not limited to: easily
The property lost memory (RAM), nonvolatile memory (ROM, flash memory etc.) or any combination of them.System storage
Device 106 may include operating system 120, one or more is using 122 and program data 124.Using 122 may include by
It is configured to the device 200 that detection generates power consumption application.Program data 124 may include that can be used for test data as described here
And test resource.In some embodiments, application 122 may be arranged to carry out using program data 124 on an operating system
Operation.
Calculating equipment 100 can also include facilitating from various interface equipments (for example, output equipment 142, Peripheral Interface
144 and communication equipment 146) to basic configuration 102 via the communication of bus/interface controller 130 interface bus 140.Example
Output equipment 142 include graphics processing unit 148 and audio treatment unit 150.They can be configured as facilitate via
One or more port A/V 152 is communicated with the various external equipments of such as display or loudspeaker etc.Outside example
If interface 144 may include serial interface controller 154 and parallel interface controller 156, they, which can be configured as, facilitates
Via one or more port I/O 158 and such as input equipment (for example, keyboard, mouse, pen, voice-input device, touch
Input equipment) or the external equipment of other peripheral hardwares (such as printer, scanner etc.) etc communicated.Exemplary communication is set
Standby 146 may include network controller 160, can be arranged to convenient for via one or more communication port 164 and one
A or multiple other calculate communication of the equipment 162 by network communication link.
Network communication link can be an example of communication media.Communication media can be usually presented as in such as carrier wave
Or computer readable instructions, data structure, program module in the modulated data signal of other transmission mechanisms etc, and can
To include any information delivery media." modulated data signal " can such signal, one in its data set or more
It is a or it change can the mode of encoded information in the signal carry out.As unrestricted example, communication media can be with
Wired medium including such as cable network or private line network etc, and it is such as sound, radio frequency (RF), microwave, infrared
(IR) the various wireless mediums or including other wireless mediums.Term computer-readable medium used herein may include depositing
Both storage media and communication media.
Calculating equipment 100 can be implemented as a part of portable (or mobile) electronic equipment of small size, these electronics are set
It is standby to can be such as bee wireless network browsing apparatus, application specific equipment or may include that the mixing of any of the above function is set
It is standby.Calculate equipment 100 be also implemented as include desktop computer and notebook computer configuration personal computer.
Fig. 2 shows the schematic diagrames that detection according to an embodiment of the invention generates the device 200 of power consumption application.Such as figure
Shown in 2, which, which resides in, is calculated in equipment, and the device 200 that the detection generates power consumption application includes log acquisition module
210, wakeup time logging modle 220, address information obtain module 230, Process identifier determining module 240 and application and determine mould
Block 250.
The present invention is connect by calculating equipment with mobile terminal to be tested, generates Wake on LAN when testing mobile terminal sleep
The application waken up with RTC.Before mobile terminal for example tested by mobile phone, the test of detection mobile terminal power consumption is preset
Script completes the test to mobile terminal, and standby communication terminals is waited to enter suspend mode.After mobile terminal enters suspend mode,
Unlatching LOG recording tool, such as Mtklogger, Logcat etc., power consumption test log, i.e. LOG when recording mobile terminal sleep,
It is analyzed to calculate equipment to LOG.
It calculates the log acquisition module 210 in equipment and records tool in the complete test foot of running of mobile terminal for obtaining LOG
This enters the power consumption test log recorded when suspend mode.Wherein, power consumption test log include the first power consumption test log (such as
Kernel_Log), the second power consumption test log (such as net_Log), third power consumption test log (such as main_Log) and the 4th function
It consumes test log (such as events_Log).
Wakeup time logging modle 220 is by searching for the first keyword in the first power consumption test log such as kernel_Log
Determine mobile terminal whether in suspend mode by Wake on LAN.For example, inputting the first keyword in kernel_Log
" suspend exit | suspend entry | wake up by ", search result is as shown in Figure 3.It is checked in search result
Whether the keywords such as " CLDMA_MD " or " MD32_SPM " are had after " wake up by ".If viewing above-mentioned " CLDMA_
MD " or " MD32_SPM " keyword, then illustrate that there are Wake on LAN in mobile terminal.Wake on LAN is that mobile terminal is in not
Sleep mode, when the system of mobile terminal generates flow, mobile terminal can automatically terminate suspend mode, and also referred to as modem wakes up.This
When, it checks the time point of suspend exit, suspend refers to that other peripheral modules in addition to power management and cpu are equal
It does not work, only the state of memory holding self-refresh.For example, the time viewed are as follows: 03:29:12.063961462UTC, by
Be the Coordinated Universal Time(UTC) in UTC, need the time conversion into Beijing time, i.e. ,+8 hours time viewed, obtain when
Between be 11:29:12.
After determining the Wake on LAN time, address information obtains module 230 in the second power consumption test log such as net_Log
In, the Wake on LAN time obtained according to wakeup time determining module 220 determines the IP address letter that data are transmitted in mobile terminal
Breath.Above-mentioned IP address information generally comprises source address information and destination address information.Such as, if it is determined that the Wake on LAN time
For 11:29:12, with reference to the data that Fig. 4 is retrieved according to the above-mentioned time, and the corresponding above-mentioned time records source address information Src:
10.30.71.162 with destination address information Dst:202.108.23.236.
After determining IP address information, Process identifier determining module 240 is in third power consumption test log such as main_Log
In, according to the corresponding Process identifier of IP address information search address above mentioned determined in address data obtaining module 230.Process
Identifier is also known as PID, is that the kernel of most of operating systems is used for a numerical value of unique identification process.As shown in figure 5, above-mentioned
The corresponding Process identifier PID of Src and Dst is respectively as follows: 5392,5318,5539.
It is surveyed according to the Process identifier that Process identifier determining module 240 determines in the 4th power consumption using determining module 250
Try the information for the application for determining that mobile terminal is generated power consumption from suspend mode when Wake on LAN in log such as events_Log.It answers
Information generally comprises the title of title and application process using packet.For example, searching for PID difference in events_Log
Are as follows: 5392,5318,5539, as shown in fig. 6, the packet name finally found are as follows: com.***.browser.apps,
Com.***.browser.apps:remote, com.***.browser.apps.BrowserActivity etc..
Using determining module 250 the second keyword can also be searched for such as in third power consumption test log such as main_Log
Type 0/type 2 is so that it is determined that generate the information of the application of power consumption when mobile terminal is waken up from suspend mode by RTC.For example,
Search type 0/type 2 obtains following two records:
AlarmManager:Alarm triggering:Alarm{419f8eb0type 0com.sina.weibo}
AlarmManager:Alarm at trigger:Alarm{41be4150type
2com.lenovo.lsf.device}
The title of packet that is applied according to above-mentioned record and the title of application process, so that it is determined that generating answering for RTC wake-up
With.
Technical method according to the present invention, waken up by RTC of the test application after the operating system suspend mode of mobile terminal,
The frequency of network communication can detecte out using existing some applications for influencing standby power consumption of mobile phone.
Fig. 7 shows the process that detection according to an illustrative embodiment of the invention generates the method 700 of power consumption application
Figure.As shown in fig. 7, present implementation is suitable for executing in calculating equipment, this method starts from step S710.
In step S710, obtains the complete test script of running of mobile terminal and enter the power consumption test day recorded after suspend mode
Will.
According to a kind of embodiment, power consumption test log includes at least the first power consumption test log, the second power consumption test day
Will, third power consumption test log and the 4th power consumption test log.First power consumption test log includes at least kernel log, second
Power consumption test log includes at least net log, third power consumption test log includes at least main log and the 4th power consumption test day
Will includes at least events log.
Then, in step S720, in the first power consumption test log, mobile terminal is determined by searching for the first keyword
Whether in suspend mode by Wake on LAN, if mobile terminal in suspend mode by Wake on LAN, record the Wake on LAN time.
Then, in step S730, in the second power consumption test log, when according to the Wake on LAN recorded in step S720
Between determine transmission data IP address information.Wherein, IP address information generally comprises source address information and destination address information.
Then, in step S740, in third power consumption test log, according to the IP address information determined in step S730
Determine the Process identifier of application.
According to a kind of embodiment, in third power consumption test log by search for the second keyword determine mobile terminal from
The information of the application of power consumption is generated when suspend mode is waken up by RTC.
Then, in step S750, in the 4th power consumption test log, mobile terminal is determined according to the Process identifier
The information of the application of power consumption is generated when Wake on LAN from suspend mode.Wherein, the information of application include using packet title and
The title of application process.
According to the technique and scheme of the present invention, RTC by test application after the operating system suspend mode of mobile terminal wake up,
The frequency of network communication can detecte out using existing some applications for influencing standby power consumption of mobile phone.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, knot is not been shown in detail
Structure and technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims than feature more features expressly recited in each claim.More precisely, as following
As claims reflect, inventive aspect is all features less than single embodiment disclosed above.Therefore, it abides by
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
As a separate embodiment of the present invention.
Those skilled in the art should understand that the module of the equipment in example disclosed herein or unit or groups
Part can be arranged in equipment as depicted in this embodiment, or alternatively can be positioned at and the equipment in the example
In different one or more equipment.Module in aforementioned exemplary can be combined into a module or furthermore be segmented into multiple
Submodule.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
Meaning one of can in any combination mode come using.
In addition, be described as herein can be by the processor of computer system or by executing by some in the embodiment
The combination of method or method element that other devices of the function are implemented.Therefore, have for implementing the method or method
The processor of the necessary instruction of element forms the device for implementing this method or method element.In addition, Installation practice
Element described in this is the example of following device: the device be used for implement as in order to implement the purpose of the invention element performed by
Function.
As used in this, unless specifically stated, come using ordinal number " first ", " second ", " third " etc.
Description plain objects, which are merely representative of, is related to the different instances of similar object, and is not intended to imply that the object being described in this way must
Must have the time it is upper, spatially, sequence aspect or given sequence in any other manner.
Although the embodiment according to limited quantity describes the present invention, above description, the art are benefited from
It is interior it is clear for the skilled person that in the scope of the present invention thus described, it can be envisaged that other embodiments.Additionally, it should be noted that
Language used in this specification primarily to readable and introduction purpose and select, rather than in order to explain or limit
Determine subject of the present invention and selects.Therefore, without departing from the scope and spirit of the appended claims, for this
Many modifications and changes are obvious for the those of ordinary skill of technical field.For the scope of the present invention, to this
Invent done disclosure be it is illustrative and not restrictive, it is intended that the scope of the present invention be defined by the claims appended hereto.
Claims (9)
1. a kind of method that detection generates power consumption application, this method execute in calculating equipment, this method comprises:
It obtains the complete test script of running of mobile terminal and enters the power consumption test log recorded after suspend mode, the power consumption test day
Will includes at least the first power consumption test log, the second power consumption test log, third power consumption test log and the 4th power consumption test day
Will;
In the first power consumption test log, determine whether mobile terminal is called out by network in suspend mode by searching for the first keyword
Wake up, if mobile terminal in suspend mode by Wake on LAN, record the Wake on LAN time;
In the second power consumption test log, the IP address information of transmission data is determined according to the Wake on LAN time;
In third power consumption test log, the Process identifier of application is determined according to the IP address information;
In the 4th power consumption test log, when determining mobile terminal from suspend mode by Wake on LAN according to the Process identifier
The information of the application of power consumption is generated, wherein the information of the application includes the title of the title and application process using packet.
2. the method as described in claim 1, further includes:
Determine that mobile terminal is waken up from suspend mode by RTC by searching for the second keyword in the third power consumption test log
When generate power consumption application information.
3. the method as described in claim 1, wherein the IP address information includes source address information and destination address information.
4. method as stated in claim 1 or 2, wherein the first power consumption test log include at least kernel log,
Second power consumption test log includes at least net log, third power consumption test log includes at least main log and the 4th power consumption is surveyed
It tries log and includes at least events log.
5. a kind of detection generates the device of power consumption application, which, which resides in, is calculated in equipment, which includes:
Log acquisition module, suitable for obtaining the power consumption test day recorded when the complete test script of running of mobile terminal enters suspend mode
Will, the power consumption test log include at least the first power consumption test log, the second power consumption test log, third power consumption test log
With the 4th power consumption test log;
Wakeup time logging modle is suitable in the first power consumption test log, determines mobile terminal by searching for the first keyword
Whether in suspend mode by Wake on LAN, if mobile terminal in suspend mode by Wake on LAN, record the Wake on LAN time;
Address information obtains module, is suitable in the second power consumption test log, determines transmission number according to the Wake on LAN time
According to IP address information;
Process identifier determining module is suitable in third power consumption test log, determines application according to the IP address information
Process identifier;
Using determining module, it is suitable in the 4th power consumption test log, determines mobile terminal from not according to the Process identifier
Sleep mode is generated the information of the application of power consumption when Wake on LAN, wherein the information of the application includes the title using packet and answers
With the title of process.
6. device as claimed in claim 5, wherein the application determining module is further adapted for:
Determine that mobile terminal is waken up from suspend mode by RTC by searching for the second keyword in the third power consumption test log
When generate power consumption application information.
7. device as claimed in claim 5, wherein the IP address information includes source address information and destination address information.
8. the device as described in claim 5 or 6, wherein the first power consumption test log include at least kernel log,
Second power consumption test log includes at least net log, third power consumption test log includes at least main log and the 4th power consumption is surveyed
It tries log and includes at least events log.
9. a kind of calculating equipment generates the device of power consumption application including the detection as described in any one of claim 5-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610107555.5A CN105786671B (en) | 2016-02-26 | 2016-02-26 | A kind of detection generates the method, apparatus and calculating equipment of power consumption application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610107555.5A CN105786671B (en) | 2016-02-26 | 2016-02-26 | A kind of detection generates the method, apparatus and calculating equipment of power consumption application |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105786671A CN105786671A (en) | 2016-07-20 |
CN105786671B true CN105786671B (en) | 2019-01-22 |
Family
ID=56403657
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610107555.5A Active CN105786671B (en) | 2016-02-26 | 2016-02-26 | A kind of detection generates the method, apparatus and calculating equipment of power consumption application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105786671B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106502860B (en) * | 2016-10-14 | 2019-05-21 | 青岛海信移动通信技术股份有限公司 | A kind of method and device obtaining power consumption information |
WO2020093284A1 (en) * | 2018-11-07 | 2020-05-14 | 深圳市欢太科技有限公司 | Application information processing method, computer-readable storage medium and electronic device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104268059A (en) * | 2014-09-30 | 2015-01-07 | 上海斐讯数据通信技术有限公司 | Application search method and system of intelligent mobile terminal |
CN104503881A (en) * | 2014-12-19 | 2015-04-08 | 广东欧珀移动通信有限公司 | Handheld device power consumption detecting method and device and handheld device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101212497B1 (en) * | 2012-05-02 | 2012-12-14 | 주식회사 팀스톤 | Method of monitoring resource and apparatus performing the same |
-
2016
- 2016-02-26 CN CN201610107555.5A patent/CN105786671B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104268059A (en) * | 2014-09-30 | 2015-01-07 | 上海斐讯数据通信技术有限公司 | Application search method and system of intelligent mobile terminal |
CN104503881A (en) * | 2014-12-19 | 2015-04-08 | 广东欧珀移动通信有限公司 | Handheld device power consumption detecting method and device and handheld device |
Also Published As
Publication number | Publication date |
---|---|
CN105786671A (en) | 2016-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107360327B (en) | Speech recognition method, apparatus and storage medium | |
Henkel et al. | Ultra-low power and dependability for IoT devices (Invited paper for IoT technologies) | |
KR101388319B1 (en) | Method and device for managing security events | |
US20120180126A1 (en) | Probable Computing Attack Detector | |
CN103914342A (en) | Electronic equipment process control method, system and electronic equipment | |
CN103150238A (en) | Service request processing method, simulation performance test method and simulation performance test device | |
CN104932963B (en) | The method and device of management terminal | |
CN111465927A (en) | System and method for power mode selection in a computing device | |
Oletic et al. | System‐Level Power Consumption Analysis of the Wearable Asthmatic Wheeze Quantification | |
CN105786671B (en) | A kind of detection generates the method, apparatus and calculating equipment of power consumption application | |
Liaqat et al. | Sidewinder: An energy efficient and developer friendly heterogeneous architecture for continuous mobile sensing | |
CN112463533A (en) | Log data analysis method and device, electronic device and storage medium | |
CN114661527A (en) | Data backup method and device, electronic equipment and storage medium | |
Obeid et al. | A survey on efficient power consumption in adaptive wireless sensor networks | |
CN203069733U (en) | A vibration-detection-based partial discharging point positioning device used for GIS tests | |
CN102404162A (en) | Test system and method for network wakeup function of computer | |
McIntire et al. | Energy-efficient sensing with the low power, energy aware processing (LEAP) architecture | |
TWI656441B (en) | Standby abnormal power consumption detecting system and method | |
Rattagan et al. | Clustering and symbolic regression for power consumption estimation on smartphone hardware subsystems | |
Tu et al. | DeepEn2023: Energy Datasets for Edge Artificial Intelligence | |
US9635160B2 (en) | Coupling mobile devices for tetherless charging or communication | |
CN107113539B (en) | Device agnostic power monitoring and profiling system | |
Kallimani et al. | Investigation of power consumption in microcontroller based systems | |
Paturel et al. | SmolPhone: a smartphone with energy limits | |
CN116185159B (en) | Switch awakening method and device based on low-power-consumption control technology |
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 |