WO2018152990A1 - Procédé permettant de déterminer la consommation d'énergie de composant de dispositif électronique, dispositif électronique et support de stockage - Google Patents
Procédé permettant de déterminer la consommation d'énergie de composant de dispositif électronique, dispositif électronique et support de stockage Download PDFInfo
- Publication number
- WO2018152990A1 WO2018152990A1 PCT/CN2017/089169 CN2017089169W WO2018152990A1 WO 2018152990 A1 WO2018152990 A1 WO 2018152990A1 CN 2017089169 W CN2017089169 W CN 2017089169W WO 2018152990 A1 WO2018152990 A1 WO 2018152990A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- power
- electronic device
- average
- determining
- devices
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 230000003595 spectral effect Effects 0.000 claims description 106
- 238000010606 normalization Methods 0.000 claims description 20
- 238000001228 spectrum Methods 0.000 claims description 14
- 239000000758 substrate Substances 0.000 claims description 3
- 238000012545 processing Methods 0.000 description 19
- 230000006870 function Effects 0.000 description 17
- 238000004891 communication Methods 0.000 description 9
- 238000004590 computer program Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 6
- 238000001514 detection method Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 238000005070 sampling Methods 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 241000699666 Mus <mouse, genus> Species 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 230000020169 heat generation Effects 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 230000000007 visual effect Effects 0.000 description 3
- 241000699670 Mus sp. Species 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007257 malfunction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 238000001612 separation test Methods 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 238000002329 infrared spectrum Methods 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000010223 real-time analysis Methods 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003238 somatosensory effect Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 238000001429 visible spectrum Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
Definitions
- the present application relates to the field of terminal technologies, and in particular, to a method, an electronic device, and a storage medium for determining power consumption of a device of an electronic device.
- the existing method for determining the power consumption of each device in the electronic device is that the controller in each device can estimate the current power consumption of the device according to the current clock frequency and the operation mode, and the electronic device can read the device through the software interface. Power consumption.
- this method is only applicable to some devices with controllers, and is not applicable to some devices with controllers (such as RF circuits, displays, etc.) and devices without controllers.
- Embodiments of the present application provide a method, an electronic device, and a storage medium for determining power consumption of a device of an electronic device, to accurately determine power consumption of each device in the electronic device.
- the power model determines the average power of each device in each usage scenario of the device to determine the power consumption of the device for a set period of time.
- the power consumption of each device determined by the method can accurately reflect the current power consumption of the device, which is related to the prior art. Than, you can improve the accuracy of the results. After accurately determining the power consumption of each device, the user can be reminded to perform corresponding processing or automatically perform corresponding processing when a certain device consumes a large amount of power, thereby reducing the power consumption of the terminal device.
- determining a power curve of the electronic device within a set duration includes: determining a first spectral feature of the power of the electronic device within the set duration and the electronic device a first average power within the set duration; determining m power models of the N devices in the electronic device, respectively, comprising: determining m second spectral features of the N devices and m first the average power of two, said m second frequency spectrum m second feature and the one-average power, wherein said m second frequency spectrum of the N devices in each device, respectively, using m i th The spectral characteristics of the power in the scene, the m second average powers being an average of the powers of each of the N devices in the M i use scenarios.
- the m second spectral features are in one-to-one correspondence with the m second average powers, and the m second spectral features are spectral features of the power of each of the N devices in the M i use scenarios, m
- the second average power is the average of the power of each of the N devices in the M i use scenarios.
- the power curve of the terminal device within the set duration may be characterized by the first spectral feature and the first average power; the m power models may be respectively composed of m second spectral features and one m second spectral features A corresponding m second average power is characterized.
- the spectral characteristics can be determined by performing Fourier transform or wavelet transform on the time domain signal.
- the first spectral feature can be obtained by performing Fourier transform or wavelet transform on the power of the terminal device within the set duration
- m second can be obtained by performing Fourier transform or wavelet transform on the m power models respectively. Spectrum characteristics.
- determining, according to the power curve of the electronic device within the set duration and the m power models, determining power consumption of each device during the set duration including: Determining, by the first spectral feature, the first average power, the m second spectral features, and the m second average powers, m power coefficients of the N devices, the m power coefficients Each of the power coefficients is used to indicate a ratio of an average power of the device in the usage scenario to a second average power over the set duration; according to the m power coefficients and the m second average powers Determining m average powers of the N devices; for each device: adding powers of the devices in the M i usage scenarios of the m average powers respectively, to obtain the device in the setting Average power over time.
- each of the m power coefficients is used to indicate the ratio of the average power of the device in the usage scenario to the second average power over a set duration, m power coefficients are respectively associated with m
- the second average power is multiplied to obtain m average powers.
- the average power of each of the obtained m average powers represents the average power of a certain device in a certain usage scenario.
- the average power of a device in all its usage scenarios is added to obtain the device.
- determining, according to the first spectral feature, the first average power, the m second spectral features, and the m second average powers, m of the N devices And determining, according to the first spectral feature and the m second spectral features, a proportion of each of the second spectral features in the first spectral feature; And determining, by the first average power and the m second average powers, a normalization coefficient; multiplying the ratio and the normalization coefficient to obtain the power coefficient.
- the first spectral feature and the m second spectral features are represented by the same group of bases.
- each second spectral feature is determined in the first spectral feature according to the first spectral feature and the m second spectral features. It is easier to calculate and implement when it is accounted for.
- the ratio is solved as follows:
- F is the first spectral feature
- F i is the m second spectral features
- f j is a base of the first spectral feature and the m second spectral features, b j and a ij respectively
- the coefficient of the first spectral feature and the m second spectral features under the substrate, x i is the ratio.
- the normalization coefficient is solved in the following manner:
- P is the first average power
- P i is the m second average powers
- k is the normalization coefficient
- an electronic device comprising: one or more processors; a memory; a plurality of applications; and one or more programs, wherein the one or more programs are stored in the memory,
- the one or more programs include instructions that, when executed by the electronic device, cause the electronic device to implement the various steps of the first aspect and the first aspect described above.
- the implementation of the electronic device to solve the problem and the beneficial effects, refer to the first aspect and the possible implementation manners of the first aspect and the beneficial effects. Therefore, the implementation of the electronic device can refer to the first aspect and the foregoing The implementation of possible implementations on the one hand is not repeated here.
- a computer readable storage medium comprising instructions, wherein when the instructions are run on an electronic device, the electronic device is caused to perform any of the first aspect and the first aspect described above Methods. Based on the same inventive concept, the repetition will not be described again.
- the principles and benefits of the electronic device can be solved by referring to the first aspect and the possible implementation manners of the first aspect and the beneficial effects. Therefore, the implementation of the electronic device can be referred to the above. The implementation of the various possible implementations of the first aspect and the repetitive aspects will not be described again.
- FIG. 1 is a schematic flowchart of a method for determining power consumption of a device of an electronic device according to an embodiment of the present disclosure
- FIG. 2 is a block diagram showing a partial structure of a mobile phone 100 according to an embodiment of the present invention
- FIG. 3 is an electronic device according to an embodiment of the present application.
- the method for determining the power consumption of each device in the electronic device is: for a device with a controller in the electronic device, the controller generally presets a power consumption model, and the controller can be based on the current clock frequency and the operation mode. Estimating the current power consumption of the device, the electronic device can read the power consumption of the device through a software interface; for the electronic device without a controller The device needs to be determined by the separation test method, that is, a device is separately powered and the power consumption data is sampled.
- embodiments of the present application provide a method, an electronic device, and a storage medium for determining power consumption of a device of an electronic device, to accurately determine power consumption of each device in the electronic device.
- the method and the electronic device are based on the same inventive concept. Since the principles of the method and the electronic device are similar, the implementation of the electronic device and the method can be referred to each other, and the repeated description is not repeated.
- the electronic device includes but is not limited to a smart phone, a smart watch, a tablet computer, a virtual reality (VR) device, an augmented reality (AR) device, a personal computer, a handheld computer, and a personal number.
- VR virtual reality
- AR augmented reality
- the electronic device includes but is not limited to a smart phone, a smart watch, a tablet computer, a virtual reality (VR) device, an augmented reality (AR) device, a personal computer, a handheld computer, and a personal number.
- VR virtual reality
- AR augmented reality
- FIG. 1 is a schematic flowchart of a method for determining power consumption of a device of an electronic device according to an embodiment of the present application. The method comprises the following steps:
- S101 Determine a frequency domain characteristic of the power of the electronic device within a set duration, and determine m power models of the N devices in the electronic device, respectively.
- the N devices in the electronic device include, but are not limited to, a display, a Global Positioning System (GPS), a radio frequency circuit, a camera, an audio circuit, and the like; the usage scenario may be a call scene, a webpage scene, or a screen scene. , game scenes, etc.
- Device 2 in N devices corresponds to M 2 usage scenarios
- device 3 in N devices corresponds to M 3 usage scenarios... and so on. Therefore, the m power models represent the power models of each device in at least one usage scenario of the device, and one of the m power models can be used to indicate the frequency domain characteristics of a certain device in a certain usage scenario. .
- N devices are two devices: display screen and GPS.
- the display screen corresponds to three usage scenarios of call, interest screen and game.
- GPS uses map navigation and unused map navigation.
- the m power models are respectively the power model of the display screen in the call scene, the power model of the display screen in the interest screen scene, the power model of the display screen in the game scene, the power model of the GPS using the map navigation scene, and The five power models of the power model of GPS under the map navigation scene are not used.
- the respective usage scenarios of the different devices in the electronic device may be completely different, may be identical, or may be partially the same, which is not limited in the embodiment of the present application.
- the respective usage scenarios can be as follows:
- Device 1 corresponds to three usage scenarios A, B, and C, and device 2 corresponds to four usage scenarios of D, E, F, and G.
- Device 1 corresponds to three usage scenarios of A, B, and C
- device 2 corresponds to three usage scenarios of A, B, and C.
- Device 1 corresponds to three usage scenarios of A, B, and C, and device 2 corresponds to two usage scenarios of C and D.
- the number of the usage scenarios of the different devices in the electronic device may be the same or different, which is not limited in the embodiment of the present application.
- the device 1 and the device 2 are still taken as an example.
- the number of usage scenarios of the device 1 is 2, the number of usage scenarios corresponding to the device 2 may be 2 or not 2.
- the power curve of the electronic device during the set time period can be obtained by performing AD sampling on the power data of the electronic device within a set time period, that is, the power curve of the electronic device within the set time period and the collected power data. Time related. Assuming that the set duration is 5 minutes, the power curve of the electronic device during the period from 18:00 to 18:05 is different from the power curve of the electronic device during the period of 18:05 to 18:10. Accordingly, the power model is an inherent feature of the power of a device in a certain usage scenario, regardless of the time of AD sampling.
- S102 Determine power consumption of each device for a set duration according to a power curve of the electronic device within a set duration and m power models.
- the average power corresponding to each power model can be determined, and the average power corresponding to each power model represents a device in a use scenario. Average power. Then, for a device in an electronic device, the average power of the device for a set period of time is equal to the sum of the average power of the device in each usage scenario of the device, and the power consumption of the device for a set period of time. Equal to the integration of the average power of the device over the set duration to the set duration.
- the power curve of the electronic device during the set duration may be characterized by the first spectral feature and the first average power; the m power models may be respectively composed of m second spectral features and one of the m second spectral features A corresponding m second average power is characterized.
- the spectral features may indicate the frequency components that make up the signal and the size of each frequency component.
- the spectral characteristics can be determined by performing Fourier transform or wavelet transform on the time domain signal.
- the first spectral feature can be obtained by performing Fourier transform or wavelet transform on the power of the electronic device within a set duration
- m second can be obtained by performing Fourier transform or wavelet transform on the m power models respectively. Spectrum characteristics.
- the Fourier transform of the original signal can be used to fit the original signal with the sum of trigonometric functions of different frequencies, and the principle of wavelet transform is similar to the Fourier transform, except that the base of the wavelet transform is not a trigonometric function, but A set of wavelet bases.
- the wavelet base needs to satisfy the following two conditions: 1.
- the mean value of the wavelet base is 0; 2.
- the wavelet base has localized features in both the time domain and the frequency domain (ie, does not spread to the entire coordinate axis).
- the wavelet transform can be used to represent the original signal as a linear combination of a set of wavelet bases, allowing multi-scale analysis of the original signal.
- the power consumption of each device in the set duration may be further determined in S102 by: according to the first spectrum a feature, a first average power, m second spectral features, and m second average powers, determining m power coefficients of the N devices, each of the m power coefficients being used to indicate that within the set time period The ratio of the average power of the device in the usage scenario to the second average power; determining m average powers of the N devices based on the m power coefficients and the m second average powers; then, performing the following operations for each device: m in an average power in the average power of the device, respectively, under a usage scenarios m i is added to obtain the average power of the device within the set duration.
- N devices in the electronic device are device 1 and device 2
- device 1 corresponds to three usage scenarios of A, B, and C
- device 2 corresponds to two usage scenarios of B and D.
- the m power models are the power model of the device 1 under the use scenario A, the power model of the device 1 under the use scenario B, the power model of the device 1 under the use scenario C, and the power model of the device 2 under the use scenario B.
- the power model of the device 2 in the use scenario D the first spectrum feature is F, the first average power is P, the m second spectrum features are F1 to F5, and the m second average powers are respectively P1 to P5.
- five power coefficients a1, a2, a3, a4, and a5 can be determined according to F, P, F1 to F5, and P1 to P5.
- a1 is used to indicate the ratio of the average power of the device 1 under the use scenario A to A1
- a2 is used to indicate the ratio of the average power of the device 1 under the use scenario B to A2
- a3 is used to indicate that the device 1 is in use scenario C.
- a4 is used to indicate the ratio of the average power of device 2 under use scenario B to A4
- a5 is used to indicate the ratio of the average power of device 2 to scene A using scene D.
- Five average power values q1, q2, q3, q4, and q5 can be determined based on the above five power coefficients and A1 to A5.
- q1 is the average power of the device 1 under the use scenario A within the set duration
- q2 is the average power of the device 1 under the use scenario B within the set duration
- q3 is the set duration of the device 1 under the use scenario C
- the average power q4 is the average power of the device 2 under the use scenario B within the set duration
- q5 is the average power of the device 2 under the use scenario D for the set duration.
- the power consumption of the device 1 for the set duration can be obtained, and the sum of q4 and q5 can be integrated for the set duration to obtain the work of the device 2 for the set duration. Consumption.
- each of the m power coefficients is used to indicate the ratio of the average power of the device in the use scenario to the second average power within a set duration
- the m power coefficients are respectively associated with m
- the second average power is multiplied to obtain m average powers.
- the average power of each of the obtained m average powers represents the average power of a certain device in a certain usage scenario.
- the average power of a device in all its usage scenarios is added to obtain the device.
- a specific implementation manner of determining the m power coefficients may be: determining, according to the first spectral feature and the m second spectral features, a proportion of each second spectral feature in the first spectral feature; The m proportions, the first average power, and the m second average powers determine a normalization coefficient; and the m ratios are respectively multiplied by the normalization coefficients to obtain the m power coefficients.
- each of the m second spectral features represents a spectral characteristic of the power of a certain device in a certain usage scenario
- the duration of the device going through the usage scenario may be only a part of the set duration.
- the time period therefore, the power consumption of the device for a set period of time cannot be directly integrated by the second average power for the set duration. Therefore, the proportion of each of the second second spectral features in the first spectral feature may be determined first, thereby determining the return according to the m ratio, the first average power, and the m second average powers.
- a coefficient of multiplication multiplying the above m proportions and the normalization coefficient to obtain m power coefficients.
- the power factor of a device in a certain usage scenario indicates the ratio of the average power of the device in the usage scenario to the second average power over a set period of time.
- the normalization coefficient is a fixed value within the set duration. That is to say, the normalization coefficient changes when the power consumption of each device in the electronic device is determined to be determined in different time periods.
- both the first spectral feature and the second spectral feature can be obtained by Fourier transform or wavelet transform.
- the first spectral feature and the m second spectral features may use the same set of base tables. Show.
- the first spectral feature and the m second spectral features are expressed based on the same set of bases, it is easier to calculate and implement when determining the above ratio based on the first spectral feature and the m second spectral features.
- each second spectral feature is in the first spectral feature.
- the ratio can be solved as follows:
- F is the first spectral feature
- F i is m second spectral features
- b j and a ij are coefficients of the first spectral feature and m second spectral features respectively under the base
- x i is the ratio
- P is the first average power
- P i is m second average power
- k is a normalization coefficient
- the m power models are used to indicate the frequency domain characteristics of the power of each of the N devices in the M i use scenarios.
- the power curve of the device over a set period of time and the m power models determine the average power of each device in each usage scenario of the device to determine the power consumption of the device for a set period of time.
- the power consumption of each device determined by the method can accurately reflect the current power consumption of the device, and Compared with technology, the accuracy of the results can be improved.
- the user After accurately determining the power consumption of each device, the user can be reminded to perform corresponding processing or automatically perform corresponding processing when the power consumption of a certain device is large, thereby reducing the power consumption of the electronic device.
- the triggering conditions for performing the method shown in FIG. 1 include but are not limited to:
- the electronic device is seriously heated: when the electronic device is hot, the user triggers or the electronic device automatically triggers the method shown in Figure 1 to detect the power consumption of each device in the electronic device, thereby alerting the user when the power consumption of a device is large. Perform corresponding processing or automatically perform corresponding processing (such as performing power reduction operation or shutdown operation), thereby reducing power consumption of electronic devices, reducing heat generation of electronic devices, and avoiding malfunction of electronic devices due to abnormal power consumption of a certain device. .
- the power consumption of each device in the electronic device is determined by performing the method shown in FIG. 1 on a central processing unit (CPU) or a liquid crystal display (LCD).
- CPU central processing unit
- LCD liquid crystal display
- the user may be prompted to perform a frequency reduction operation on the CPU or the LCD, or automatically turn off the GPS when the power consumption data of the GPS is abnormal, thereby avoiding the power consumption abnormality of the GPS and causing the electronic device to malfunction.
- the usage scene of the electronic device changes: for example, the electronic device is switched from the standby scene to the call scene, and the game scene is switched to the camera scene.
- the power consumption of each device in the electronic device may also change.
- the power consumption of each device in the electronic device may be determined by performing the method shown in FIG. The power consumption of each device in the device changes, and the devices with abnormal power consumption are processed accordingly.
- the method shown in FIG. 1 can also be applied to the development process of electronic devices, such as real-time analysis of the power consumption of each device during the development of electronic devices, thereby helping developers to optimize the energy consumption of electronic devices.
- the present application also provides a method for determining power consumption of a device of an electronic device, which may be regarded as a specific example of the method shown in FIG. 1.
- the method comprises the following steps:
- the wavelet bases f 1 , f 2 ... f n are a family of functions, and the mean of this family of functions is 0 and exhibits localized features in both the time domain and the frequency domain.
- wavelet bases f 1 , f 2 . . . f n are not limited in the embodiment of the present application, and may be, for example, a Haar Wavelet.
- F 1 to F m are specific examples of m second characteristic spectra in the method shown in FIG. 1
- P 1 to P m are specific examples of m second average powers in the method shown in FIG. 1 .
- F is a specific example of the first characteristic spectrum in the method shown in FIG. 1
- P is a specific example of the first average power in the method shown in FIG. 1.
- step 10 By performing step 10 on all devices in the electronic device, the power consumption of each device in the electronic device for a set period of time can be obtained.
- the embodiment of the present invention further provides an electronic device.
- the electronic device may be a portable electronic device such as a mobile phone, or may be a tablet, a PDA (Personal Digital Assistant), or a POS (Point of Sales, sales terminal, communication computer with headset interface, etc.
- the embodiment of the present invention exemplifies a mobile phone as an example.
- FIG. 2 is a block diagram of a partial structure of a mobile phone 100 according to an embodiment of the present invention.
- the mobile phone 100 can include a display screen 140, a memory 120, a processor 180, an antenna 104, a radio frequency circuit 110, a positioning module 195, a sensor 150, other input devices 130, an I/O subsystem 170, and an audio circuit 160. , power supply 190, headphone interface 200 and other components.
- Field The skilled person can understand that the structure of the mobile phone shown in FIG. 2 does not constitute a limitation on the mobile phone, and may include more or less components than those illustrated, or combine some components, or split some components, or different. Assembly of parts.
- the display screen 140 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone 100, and can also accept user input.
- the specific display screen 140 may include a display panel 141 and a touch panel 142.
- the display panel 141 can be configured by using an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
- the touch panel 142 also referred to as a touch screen, a touch sensitive screen, etc., can collect contact or non-contact operations on or near the user (such as the user using any suitable object such as a finger, a stylus, or the like on or near the touch panel 142).
- the operation in the vicinity of the touch panel 142 may also include a somatosensory operation; the operation includes a single-point control operation, a multi-point control operation, and the like, and drives the corresponding connected electronic device according to a preset program.
- the touch panel 142 can include two parts: a touch detection electronic device and a touch controller. Wherein, the touch detection electronic device detects the touch orientation and posture of the user, and detects a signal brought by the touch operation, and transmits a signal to the touch controller; the touch controller receives the touch information from the touch detection electronic device, and converts it into a processing. The information that the device can process is sent to the processor 180 and can receive commands from the processor 180 and execute them.
- the touch panel 142 can be implemented by using various types such as resistive, capacitive, infrared, and surface acoustic waves, and the touch panel 142 can be implemented by any technology developed in the future.
- the touch panel 142 can cover the display panel 141, and the user can display the content according to the display panel 141 (the display content includes, but is not limited to, a soft keyboard, a virtual mouse, a virtual button, an icon, etc.) on the display panel 141. Operation is performed on or near the covered touch panel 142.
- the touch panel 142 After detecting the operation thereon or nearby, the touch panel 142 transmits to the processor 180 through the I/O subsystem 170 to determine user input, and then the processor 180 according to the user The input provides a corresponding visual output on display panel 141 via I/O subsystem 170.
- the touch panel 142 and the display panel 141 can function as two independent components to implement the input and input functions of the mobile phone 100. However, in some embodiments, the touch panel 142 can be integrated with the display panel 141 to implement the input of the mobile phone 100. And output function.
- the handset 100 can also include a memory 120 for storing computer executable program code, the program code including instructions.
- the processor 180 executes various functional applications and data processing of the mobile phone 100 by executing instructions stored in the memory 120.
- the memory 120 may mainly include a storage program area and a storage data area.
- the storage program area can store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.).
- the storage data area can store data (such as audio data, phone book, etc.) created according to the use of the mobile phone 100.
- memory 120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
- the handset 100 can also include a processor 180.
- the processor 180 is a control center of the mobile phone 100. Connect the various parts of the entire phone with a variety of interfaces and lines. The various functions and processing data of the handset 100 are performed by running or executing software programs and/or modules stored in the memory 120, as well as recalling data stored in the memory 120, thereby providing overall monitoring of the handset.
- processor 180 may include one or more processing units.
- the processor 180 can integrate an application processor, a modem processor, a baseband module, a power management chip, a memory, a codec, and the like. Among them, the application processor mainly deals with operating systems, user interfaces, applications, and the like.
- the modem processor primarily handles wireless communications.
- the above modem processor may not be integrated into the processor 180.
- the Internet Protocol, Wireless Local Area Network Protocol (e.g., IEEE 702.11), 3G, 4G, 5G communication protocols, etc., can be implemented using the processor 180 and the memory 120.
- the handset 100 can also include an antenna 104 for transmitting and receiving radio frequency signals.
- the antenna 104 can be located anywhere in the handset 100.
- the position of the antenna illustrated in the embodiment of the present invention is merely an exemplary illustration.
- Cell phone 100 can have one or more antennas. Each antenna in handset 100 can be used to cover a single or multiple communication bands.
- the handset 100 also includes a radio frequency circuit 110. Used to receive and send signals during sending or receiving information or during a call. For example, after receiving the downlink information of the base station, it is sent to the processor 180 for processing. In addition, the uplink data is transmitted to the base station.
- the radio frequency circuit 110 includes at least one power amplifier 109, a transceiver 108, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like.
- the radio frequency circuit 110 can also communicate with the network and other devices through wireless communication.
- the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
- the handset 100 can also include a power amplifier 109 for amplifying the radio frequency signals to be transmitted by the handset 100.
- Power amplifier 109 can be implemented using one or more gain stages in one or more integrated circuits, as shown in FIG. It will be appreciated that there may be a plurality of power amplifiers 109, each associated with a communication band or a group of communication bands. To simplify the description, FIG. 2 is schematically illustrated by a single power amplifier 109 symbol.
- the mobile phone 100 may further include a positioning module 195.
- the positioning module is configured to detect the position, orientation, and the like of the mobile phone 100. Detection of the location or orientation of the handset 100 can be performed using various positioning services, such as Global Positioning System (GPS), Assisted GPS (A-GPS), cellular based on registered cellular telephones. Telephone base station triangulation or trilateration, Galileo positioning system, or other positioning or location services or technologies.
- Various hardware, software, and combinations thereof can be used to detect the location or orientation of the handset 100, such as GPS units, accelerometers, and other orientation and motion detection services or technologies in the handset 100.
- the handset 100 can also include a sensor 150, which can include a proximity sensor, an ambient light sensor, an accelerometer sensor, and the like.
- the ambient light sensor can adjust the brightness of the display panel 141 according to the brightness of the ambient light
- the proximity sensor can close the display panel 141 and/or the backlight when the mobile phone 100 moves to the ear.
- Proximity sensors can include, for example, light emitting diodes (LEDs) and associated photodetectors, such as photodiodes.
- the light emitting diode may be an infrared light emitting diode that emits infrared light through the light emitting diode.
- Photodiodes are used to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object in the vicinity of the mobile phone 100. When insufficient reflected light is detected, it can be determined that there is no object near the mobile phone 100.
- the ambient light sensor can be a photodiode or other light sensor capable of detecting incoming light.
- Ambient light sensors can operate in the visible and/or infrared spectrum. When the ambient light sensor is not obscured by the object, the ambient light sensor will typically receive more light 13 than when the ambient light sensor is blocked by the object, so ambient light sensors can be used to generate proximity data. This data can be used alone or in combination with proximity data from other sensors so that the handset 100 can more accurately determine if there are objects near the handset.
- Accelerometer sensors detect the magnitude of acceleration in all directions (typically three axes). The magnitude and direction of gravity can be detected when the handset 100 is stationary.
- the accelerometer sensor can be used to identify the gesture of the phone (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap). Can use plus
- the speedometer determines if the handset 100 is in motion (possibly held by the user), or if the handset 100 is being held by the user such that its left or right edge is facing down, or if the handset 100 is being placed horizontally on the desktop. If it is determined that the handset 100 is horizontal and stationary, it can be determined that the handset 100 is less likely to be held. This data can be combined with data from proximity sensors and other data to assist in determining whether the readings obtained from other sensors in the handset 100 are accurate.
- the mobile phone 100 can process signals from a plurality of sensor devices (eg, proximity sensors, ambient light sensors, etc.) in parallel, determine whether there is an object in the vicinity of the mobile phone 100, and improve the accuracy of determining the distance between the mobile phone 100 and the object.
- sensor devices eg, proximity sensors, ambient light sensors, etc.
- sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like that can be configured in the mobile phone 100 will not be described herein.
- Other input devices 130 can be used to receive input numeric or character information, as well as generate key signal inputs related to user settings and function controls of the handset 100.
- other input devices 130 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and light mice (the light mouse is not sensitive to display visual output).
- function keys such as volume control buttons, switch buttons, etc.
- trackballs mice, joysticks, and light mice (the light mouse is not sensitive to display visual output).
- Other input devices 130 are coupled to other input device controllers 171 of I/O subsystem 170 for signal interaction with processor 180 under the control of other device input controllers 171.
- the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the handset 100.
- the audio circuit 160 can transmit the converted audio data to the speaker 161 for conversion to the sound signal output by the speaker 161.
- the microphone 162 converts the collected sound signal into a signal, which is received by the audio circuit 160 and then converted into audio data, and then the audio data is output to the radio frequency circuit 110 for transmission to, for example, another mobile phone, or the audio data is output to the memory. 120 for further processing.
- the user can insert the earphone into the earphone interface 200, and the pin of the earphone interface 200 is connected with the earphone, and the microphone of the earphone and the left and right channel earpieces can provide an audio interface between the user and the mobile phone 100.
- the audio circuit 160 can transmit the converted audio data signal to the left and right channel earpieces of the earphone for conversion to a sound signal output.
- the microphone of the earphone converts the collected sound signal into an electrical signal, and the electrical signal is transmitted to the audio circuit 160 through the headphone interface, and then converted into audio data for further processing.
- the I/O subsystem 170 is used to control external devices for input and output, and may include other device input controllers 171, sensor controllers 172, and display controllers 173.
- one or more other input control device controllers 171 receive signals from other input devices 130 and/or send signals to other input devices 130.
- Other input devices 130 may include physical buttons (press buttons, rocker buttons, etc.) , dial, slide switch, joystick, click wheel, light mouse (light mouse is a touch-sensitive surface that does not display visual output, or an extension of a touch-sensitive surface formed by a touch screen). It is worth noting that other input control device controllers 171 can be connected to any one or more of the above devices.
- Display controller 173 in I/O subsystem 170 receives signals from display 140 and/or transmits signals to display 140. After the display 140 detects the user input, the display controller 173 converts the detected user input into an interaction with the user interface object displayed on the display screen 140, ie, implements human-computer interaction. Sensor controller 172 can receive signals from one or more sensors 150 and/or send signals to one or more sensors 150.
- the handset 100 also includes a power source 190 (such as a battery) that powers the various components.
- a power source 190 such as a battery
- the power source can be logically coupled to the processor 180 through the power management system to manage functions such as charging, discharging, and power consumption through the power management system.
- the mobile phone 100 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
- An embodiment of the present invention further provides an electronic device, as shown in FIG. 3;
- Figure 3 is an electronic device according to an embodiment of the present application, including a first determining unit 301, a second determining unit 302, and a third determining unit 303;
- the first determining unit 301 is configured to determine a power curve of the electronic device within a set duration; based on the same inventive concept, the first determining unit determines an implementation manner of the power curve of the electronic device within a set duration: The relevant descriptions in the examples, repetitions, will not be described again.
- the third determining unit 303 is configured to determine, according to the power curve of the electronic device within the set duration and the m power models, power consumption of each device within the set duration. Based on the same inventive concept, the third determining unit determines the power consumption of each device in the set duration. For details, refer to the related description in the method embodiment, and the details are not repeated.
- embodiments of the present application can be provided as a method, system, or computer program product.
- the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
- the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction electronics.
- the instruction electronics implements the functions specified in one or more blocks of the flow or in a flow or block diagram of the flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Sources (AREA)
- Telephone Function (AREA)
Abstract
L'invention concerne un procédé permettant de déterminer la consommation d'énergie de composant d'un dispositif électronique et un dispositif électronique, consistant à : déterminer une courbe de puissance d'un dispositif électronique dans une durée définie, et déterminer m modèles de puissance de N composants dans le dispositif électronique, respectivement ; en fonction de la courbe de puissance du dispositif électronique dans la durée définie et des m modèles de puissance, déterminer la consommation d'énergie de chaque composant dans la durée définie. La précision de détermination de la consommation d'énergie d'un composant peut être améliorée.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201780005507.8A CN108886548B (zh) | 2017-02-24 | 2017-06-20 | 一种确定电子设备的器件功耗的方法、电子设备以及存储介质 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710104536 | 2017-02-24 | ||
CN201710104536.1 | 2017-02-24 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018152990A1 true WO2018152990A1 (fr) | 2018-08-30 |
Family
ID=63253471
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/089169 WO2018152990A1 (fr) | 2017-02-24 | 2017-06-20 | Procédé permettant de déterminer la consommation d'énergie de composant de dispositif électronique, dispositif électronique et support de stockage |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108886548B (fr) |
WO (1) | WO2018152990A1 (fr) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116594476A (zh) * | 2023-06-12 | 2023-08-15 | 深圳市创通新科科技有限公司 | 一种笔记本电脑供电控制方法及系统 |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111026571B (zh) * | 2019-11-11 | 2023-09-08 | 北京字节跳动网络技术有限公司 | 处理器降频处理方法、装置及电子设备 |
CN112162625B (zh) * | 2020-09-25 | 2024-10-25 | 上海闻泰信息技术有限公司 | 电子设备的功耗控制方法、装置、存储介质和终端 |
CN114449622B (zh) * | 2020-10-30 | 2024-08-27 | 华为技术有限公司 | 一种用于计算Wi-Fi耗电量的方法及电子设备 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110237201A1 (en) * | 2010-01-11 | 2011-09-29 | Coronis Sas | Method and system of power management for electronic devices |
US8689021B1 (en) * | 2010-09-10 | 2014-04-01 | Marvell International Ltd. | System and method for selecting a power management configuration in a multi-core environment according to various operating conditions such as voltage, frequency, power mode, and utilization factor varied on a per-core basis |
CN104767855A (zh) * | 2015-04-02 | 2015-07-08 | 工业和信息化部电信研究院 | 一种基于恒温箱的手机功耗检测实验系统及其检测方法 |
CN105188071A (zh) * | 2014-06-23 | 2015-12-23 | 中国移动通信集团公司 | 一种测试终端功耗的方法、设备和系统 |
-
2017
- 2017-06-20 WO PCT/CN2017/089169 patent/WO2018152990A1/fr active Application Filing
- 2017-06-20 CN CN201780005507.8A patent/CN108886548B/zh active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110237201A1 (en) * | 2010-01-11 | 2011-09-29 | Coronis Sas | Method and system of power management for electronic devices |
US8689021B1 (en) * | 2010-09-10 | 2014-04-01 | Marvell International Ltd. | System and method for selecting a power management configuration in a multi-core environment according to various operating conditions such as voltage, frequency, power mode, and utilization factor varied on a per-core basis |
CN105188071A (zh) * | 2014-06-23 | 2015-12-23 | 中国移动通信集团公司 | 一种测试终端功耗的方法、设备和系统 |
CN104767855A (zh) * | 2015-04-02 | 2015-07-08 | 工业和信息化部电信研究院 | 一种基于恒温箱的手机功耗检测实验系统及其检测方法 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116594476A (zh) * | 2023-06-12 | 2023-08-15 | 深圳市创通新科科技有限公司 | 一种笔记本电脑供电控制方法及系统 |
CN116594476B (zh) * | 2023-06-12 | 2024-03-15 | 深圳市创通新科科技有限公司 | 一种笔记本电脑供电控制方法及系统 |
Also Published As
Publication number | Publication date |
---|---|
CN108886548A (zh) | 2018-11-23 |
CN108886548B (zh) | 2020-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108430101B (zh) | 天线关闭方法、装置、存储介质和电子设备 | |
CN107943345B (zh) | 接近传感器的校准方法、装置、存储介质和电子设备 | |
CN109271014B (zh) | 一种调整屏幕亮度的方法及设备 | |
WO2016169465A1 (fr) | Procédé, appareil et système d'affichage d'informations sur un écran | |
CN107102864A (zh) | 一种熄屏控制方法、装置、存储介质和终端 | |
WO2018027551A1 (fr) | Procédé d'affichage de message, terminal utilisateur et interface utilisateur graphique | |
WO2018166204A1 (fr) | Procédé de commande de module de reconnaissance d'empreintes digitales, terminal mobile et support de stockage | |
WO2018152990A1 (fr) | Procédé permettant de déterminer la consommation d'énergie de composant de dispositif électronique, dispositif électronique et support de stockage | |
CN106487984B (zh) | 一种调整音量的方法和装置 | |
WO2018120240A1 (fr) | Appareil et procédé de réglage de paramètre de rayonnement à ondes électromagnétiques, et support de stockage | |
CN106708530A (zh) | 一种信息处理方法、及终端设备 | |
EP3809253A1 (fr) | Procédé et appareil de sortie d'écran partagé, support d'enregistrement et dispositif électronique | |
CN107066090B (zh) | 一种控制指纹识别模组的方法及移动终端 | |
CN108418969A (zh) | 天线馈点的切换方法、装置、存储介质和电子设备 | |
CN106777383B (zh) | 文件排序方法及智能终端 | |
WO2018039914A1 (fr) | Procédé de copie de données et terminal utilisateur | |
CN111651030B (zh) | 传感器检测方法、装置、存储介质及移动终端 | |
WO2018137308A1 (fr) | Dispositif et procédé de paiement mobile et support d'informations | |
CN106648460B (zh) | 计步数据过滤方法及智能终端 | |
CN106709856B (zh) | 一种图形渲染方法及相关设备 | |
CN110908586B (zh) | 一种键盘的显示方法、装置及终端设备 | |
WO2018214745A1 (fr) | Procédé de commande d'application et produit associé | |
CN111596827B (zh) | 图标显示控制方法、装置、存储介质及移动终端 | |
CN110851014B (zh) | 触摸识别方法、装置、存储介质及终端设备 | |
CN110277097B (zh) | 数据处理方法及相关设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17898068 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17898068 Country of ref document: EP Kind code of ref document: A1 |