CN114222978A - Power consumption information processing method and device, electronic equipment and storage medium - Google Patents

Power consumption information processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114222978A
CN114222978A CN201980099288.3A CN201980099288A CN114222978A CN 114222978 A CN114222978 A CN 114222978A CN 201980099288 A CN201980099288 A CN 201980099288A CN 114222978 A CN114222978 A CN 114222978A
Authority
CN
China
Prior art keywords
power consumption
information
temperature
log
battery
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201980099288.3A
Other languages
Chinese (zh)
Inventor
曾云清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd, Shenzhen Huantai Technology Co Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of CN114222978A publication Critical patent/CN114222978A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

The application discloses a processing method and device of power consumption information, electronic equipment and a storage medium, which are applied to electronic equipment, wherein the electronic equipment comprises a mainboard and a battery, the electronic equipment comprises the mainboard and the battery, and the processing method of the power consumption information comprises the following steps: acquiring power consumption information of the battery power consumption; acquiring temperature information of the mainboard; and generating a power consumption log for display according to the power consumption information and the temperature information. The method can acquire the temperature information of the mainboard through the power consumption log.

Description

Power consumption information processing method and device, electronic equipment and storage medium Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for processing power consumption information, an electronic device, and a storage medium.
Background
With the increasing development of the information age, the frequency of using electronic devices such as mobile terminals and notebooks by users is gradually increased, resulting in the gradually prolonged service life of the electronic devices. In the use process of the electronic equipment, along with the increase of applications, the use time is gradually increased, so that the electronic equipment can slowly generate heat. Since the increase of the heat generation amount of the electronic device seriously affects the performance of the electronic device, it is very important to monitor the heat generation condition of the electronic device.
Disclosure of Invention
In view of the foregoing, the present application provides a method and an apparatus for processing power consumption information, an electronic device, and a storage medium.
In a first aspect, an embodiment of the present application provides a method for processing power consumption information, which is applied to an electronic device, where the electronic device includes a motherboard and a battery, and the method includes: acquiring power consumption information of the battery power consumption; acquiring temperature information of the mainboard; and generating a power consumption log for display according to the power consumption information and the temperature information.
In a second aspect, an embodiment of the present application provides a processing apparatus for power consumption information, which is applied to an electronic device, where the electronic device includes a motherboard and a battery, and the apparatus includes: the system comprises a power consumption acquisition module, a temperature acquisition module and a log generation module, wherein the power consumption acquisition module is used for acquiring power consumption information of the battery; the temperature acquisition module is used for acquiring the temperature information of the mainboard; and the log generation module is used for generating a power consumption log for display according to the power consumption information and the temperature information.
In a third aspect, an embodiment of the present application provides an electronic device, including: one or more processors; a memory; one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more application programs being configured to perform the method of processing power consumption information provided by the first aspect described above.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code may be called by a processor to execute the processing method for power consumption information provided in the first aspect.
According to the scheme, the power consumption information of the battery is acquired, the temperature information of the main board is acquired, and the power consumption log used for displaying is generated according to the power consumption information and the temperature information, so that the temperature information of the main board is integrated into the power consumption log of the battery, the heating state of the electronic equipment can be directly obtained from the power consumption log, and the user can check and analyze the state of the electronic equipment conveniently.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 shows a flowchart of a processing method of power consumption information according to an embodiment of the present application.
Fig. 2 shows a flowchart of a processing method of power consumption information according to another embodiment of the present application.
Fig. 3 shows a flowchart of a processing method of power consumption information according to still another embodiment of the present application.
Fig. 4 shows a software framework flowchart of a power consumption information processing method.
Fig. 5 shows a flowchart of a processing method of power consumption information according to still another embodiment of the present application.
Fig. 6 is a software framework flowchart illustrating another power consumption information processing method.
Fig. 7 shows a block diagram of a processing device for power consumption information according to an embodiment of the present application.
Fig. 8 is a block diagram of an electronic device for executing a processing method of power consumption information according to an embodiment of the present application.
Fig. 9 is a storage unit for storing or carrying program codes for implementing a processing method of power consumption information according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
Along with the use of electronic equipment such as mobile terminals and notebooks becoming more and more extensive, the use experience of electronic equipment receives more and more attention from people. If the electronic device generates heat seriously during the use process, the use experience of the user on the use experience is reduced. Therefore, the heating condition of the electronic device needs to be monitored for subsequent analysis and optimization.
In the conventional technology, the heat generation condition of the electronic device is usually determined according to the temperature of the battery, and the electronic device is determined to generate heat seriously if the temperature of the battery is too high.
However, the inventor has found through measurement and verification that a certain deviation exists between the battery temperature and the shell temperature of the electronic device in some scenes, which cannot truly reflect the actual feeling of the user, and cannot truly express the actual heating condition of the electronic device.
In view of the above problems, the inventor proposes a method, an apparatus, an electronic device, and a storage medium for processing power consumption information, according to an embodiment of the present application, to generate a power consumption log for presentation according to the power consumption information and temperature information by acquiring power consumption information of a battery and acquiring temperature information of a motherboard. Therefore, the heating condition of the electronic equipment can be accurately determined through the temperature of the mainboard, and meanwhile, the temperature information of the mainboard is integrated into the power consumption log of the battery, so that the heating state of the electronic equipment can be directly obtained from the power consumption log, the power consumption log can be conveniently checked and analyzed, and the state of the electronic equipment can be known. A specific method of processing the power consumption information will be described in detail in the following embodiments.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a processing method of power consumption information according to an embodiment of the present application. The processing method of the power consumption information is used for obtaining the heating state of the electronic equipment from the power consumption log. In a specific embodiment, the processing method of the power consumption information is applied to the processing apparatus 400 of the power consumption information shown in fig. 7 and the electronic device 100 (fig. 8) configured with the processing apparatus 400 of the power consumption information. The electronic device comprises a mainboard and a battery. The following will describe a specific flow of the present embodiment by taking an electronic device as an example, and it is understood that the electronic device applied in the present embodiment may be a mobile terminal, a notebook, and the like, and is not limited herein. As will be described in detail with respect to the flow shown in fig. 1, the method for processing power consumption information may specifically include the following steps:
step S110: and acquiring power consumption information of the battery power consumption.
In the embodiment of the application, the electronic device can monitor the power consumption of the battery so as to acquire the power consumption information of the battery in real time. The power consumption information may originate from a plurality of different power consumption sources. The power source may be a hardware module such as a display screen, bluetooth, and radio frequency, or may be an application program (such as a game and a video application) on a software level, which is not limited herein. The power consumption information may be different types of information. For example, the running time of a certain application (e.g. the screen-on time) may be used, or the power consumption value of a certain application (e.g. the screen-on power consumption value) may be used, which is not limited herein. Since the power consumption information changes with time, the power consumption information of the battery needs to be updated continuously so that the power consumption information can be matched with the latest state of the battery, and corresponding processing (such as entering a power saving mode) can be performed according to the latest power consumption information. Of course, the above power consumption information is merely an example, and does not represent a limitation on specific power consumption information.
In some embodiments, the electronic device may acquire power consumption information to be updated corresponding to a plurality of different power consumption sources periodically or aperiodically. For example, the electronic apparatus may acquire the power consumption information to be updated from the plurality of power consumption sources at preset intervals, and for example, the electronic apparatus may acquire the power consumption information to be updated from the plurality of power consumption sources in real time. In other embodiments, the electronic device may also directly obtain information about power consumption of the battery by the plurality of power consumption sources at the current time according to an instruction input by the user.
Step S120: and acquiring the temperature information of the mainboard.
In the embodiment of the application, for the heating condition of the electronic device actually sensed by the user, the electronic device can acquire the temperature information of the mainboard of the electronic device, so that the heating condition of the electronic device can be more accurately determined through the temperature information of the mainboard. The main board may be understood as a center or main circuit board of the electronic device.
In some embodiments, a temperature sensor may be disposed on a motherboard of the electronic device, and the electronic device may obtain temperature information sensed by the temperature sensor as temperature information of the motherboard. It should be noted that the type of the temperature sensor is not limited in the embodiment of the present application. For example, it may be an NTC (Negative Temperature Coefficient) Temperature sensor.
Step S130: and generating a power consumption log for display according to the power consumption information and the temperature information.
In the embodiment of the application, after obtaining the power consumption information and the temperature information, the electronic device may generate a power consumption log for presentation according to the power consumption information and the temperature information. That is, after obtaining the power consumption information and the temperature information of the motherboard, the electronic device may record the temperature information and the power consumption information in the form of a log to obtain a power consumption log. Therefore, related personnel can analyze the power consumption of the electronic equipment and the temperature of the mainboard according to the power consumption log.
In some embodiments, when the electronic device acquires only the power consumption information, the power consumption information may be recorded in a log form to obtain a power consumption log. When the electronic device acquires only the temperature information, the power consumption information may be recorded in the form of a log to obtain a power consumption log. As an embodiment, the information of the power consumption log record may be determined according to the user's demand. For example, when the user does not need to know the motherboard temperature, the electronic apparatus may record only the power consumption information into the power consumption log.
In some embodiments, the generated electricity consumption log may determine whether to perform the display according to the requirement of the user, or may determine specific information to be displayed according to the requirement of the user. For example, when an inquiry command for temperature information is detected, the temperature information in the power consumption log may be displayed.
According to the power consumption information processing method, the power consumption information of the battery is acquired, the temperature information of the mainboard is acquired, and the power consumption log for displaying is generated according to the power consumption information and the temperature information, so that the temperature information of the mainboard is integrated into the power consumption log of the battery, the heating state of the electronic equipment can be directly obtained from the power consumption log, the log does not need to be additionally established for recording, the development time of a worker for a software program is shortened, and the convenience, rapidness and comprehensiveness of information acquisition are improved. In addition, the temperature information of the mainboard is recorded in real time through the power consumption log, so that important data support and optimization directions can be provided for power consumption analysis and judgment of market terminal users, and a foundation is laid for improvement of power consumption.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a processing method of power consumption information according to another embodiment of the present application. As will be described in detail with respect to the flow shown in fig. 2, the method for processing power consumption information may specifically include the following steps:
step S210: the method comprises the steps of displaying a setting interface of the power consumption log, wherein the setting interface comprises a first control, the first control is used for starting or closing a specified function, and the specified function is used for recording temperature information of a mainboard in the power consumption log.
In some embodiments, the electronic device does not record the temperature information of the motherboard in the power consumption log in a normal case, and when the user needs the power consumption log of the electronic device to record the temperature information of the motherboard, the recording of the temperature of the motherboard by the electronic device can be actively triggered. As an embodiment, the electronic device may display a setting interface with a power consumption log, and the user may select at least one function of the power consumption log required by the user according to the setting interface, for example, recording the temperature of the motherboard.
Specifically, the setting interface may include a first control, where the first control may be configured to turn on or turn off a specific function, and the specific function is configured to record temperature information of the motherboard in the power consumption log. Therefore, the user can determine whether to start the specified function on the setting interface of the power consumption log according to the self requirement. The first control refers to a control that can be triggered by touch operation, and may be a text control, a picture control, or a button control, which is not limited herein. The electronic equipment can determine whether to start or close the specified function according to the touch operation of the user on the first control. For example, the electronic device may determine to open the specified function according to a first click operation of the user on the first control, and may determine to close the specified function according to a second click operation of the user on the first control.
In some embodiments, the first control may be set in the setting interface according to the following path: the method comprises the steps of setting a temperature of a battery, setting a temperature of a log, setting a temperature of a ntc, wherein the temperature of ntc is the name of a control of a first control, and enabling a user to perform touch operations such as clicking and selecting the control of ntc temperature, so that the specified function is turned on or turned off. It should be noted that the names of the above-mentioned controls are only examples, and are not limited in this application.
Step S220: and when the opening operation of the first control is detected, controlling the specified function to be opened.
In this embodiment of the application, the electronic device may control the specified function to be started when detecting a start operation of the first control by a user, that is, record temperature information of the motherboard and record the temperature information into the power consumption log. When the closing operation of the first control is detected, the electronic equipment can control the specified function to be closed, namely, the recording of the temperature information of the mainboard is stopped.
In some embodiments, the distinction between the opening operation and the closing operation of the first control may be performed according to the number of clicks of the first control, or according to the left-right sliding direction of the first control, which is not limited herein.
In some embodiments, the electronic device may also control the specified function to be turned on when the specified command line is acquired. The specified command line may be an input command for managing an operating system operated by the electronic device, and may be input by a user. The content of the designated command line can be set reasonably according to the specific application environment, and the specific content of the designated command line is not limited in the embodiment of the present application. For example, in an electronic device loaded with a Linux system, the specified command line may be an "adb shell dumpsys battterystits-enable-ntc" command, where ntc is a temperature sensor.
Step S230: and acquiring power consumption information of the battery power consumption.
Step S240: and when the specified function is detected to be started, acquiring the temperature information of the mainboard.
Step S250: and generating a power consumption log for display according to the power consumption information and the temperature information.
In the embodiment of the present application, step S230, step S240, and step S250 may refer to the contents of the foregoing embodiments, and are not described herein again.
In some embodiments, when a user needs to view the electricity consumption log, the electricity consumption log may be exported. Specifically, the setting interface may further include a second control, where the second control is configured to derive the power consumption log, and after the power consumption log for displaying is generated according to the power consumption information and the temperature information, the method for processing the power consumption information may further include: and when the triggering operation of the second control is detected, exporting the electricity consumption log and storing the electricity consumption log. Wherein the trigger operation may be a click operation on the second control.
In some embodiments, the second control may be set in the setting interface according to the following path: "set" - > "battery" - > "log export," where "log export" is the control name of the second control. It should be noted that the names of the above-mentioned controls are only examples, and are not limited in this application. Taking Linux system as an example, in an electronic device loaded with Linux system, when a user clicks a "log export" control, the electronic device executes a "dumpsys bytes" command to obtain a power consumption log. Meanwhile, the electronic equipment can export the power consumption log in a default file format and store the power consumption log in a preset storage path or a designated storage path, so that a user can check the power consumption log from the corresponding storage path, and can analyze the power consumption log on the local or other equipment of the electronic equipment so as to analyze the power consumption of the electronic equipment, the temperature of the mainboard and the like on the basis of the power consumption log. For example, when the electronic device is a mobile terminal, the other device may be a PC (Personal Computer) terminal, and the user may copy the power consumption log file stored in the mobile terminal to the PC terminal and perform processing (generating a web file) using a tool "log analysis" of the PC terminal.
In some embodiments, before exporting the power consumption log, the electronic device may prompt the user with a file name of the log file. The file name is the current system time in the default condition, so that the power consumption log corresponding to the time period needing to be checked can be determined directly according to the file name. For example, a log file with a file name of 20170504221015.txt is stored for 10 minutes 15 seconds at the corresponding current system time of 2017, 5, 4, 22 o 'clock and 4 o' clock. The user may also change the file name, which is not limited herein.
In some embodiments, the electronic device may also derive a corresponding power consumption log according to a user-selected time period range. Specifically, the deriving and storing the electricity consumption log may include: acquiring a viewing time period of the power consumption log; acquiring all power consumption logs corresponding to the checking time period; and exporting all the electricity consumption logs and storing the all the electricity consumption logs.
In one mode, the electronic device may display a time selection option before exporting the power consumption log. The electronic equipment can determine the viewing time period of the power consumption logs according to the viewing starting time and the viewing ending time specifically selected by the user, and then acquire all the power consumption logs corresponding to the viewing time period and export the power consumption logs. Therefore, the user can check the corresponding temperature and power consumption information of the mainboard in the required time period.
In some embodiments, after the deriving and storing the electricity consumption log, the processing method of the electricity consumption information may further include: and generating webpage information corresponding to the power consumption log, and displaying the webpage information in a webpage interface mode. Therefore, the mainboard temperature information in the power consumption log can be displayed in the shape of a webpage interface. In some embodiments, the file format corresponding to the web page information may be various, for example, a web page file in a format of htm, html, asp, php, and the like, and is not limited herein.
In some embodiments, the web page information may include a temperature variation curve of the motherboard, so that the temperature condition (such as temperature level, trend, etc.) of the motherboard of the electronic device may be expressed in the form of a curve. Therefore, before the generating the web page information corresponding to the electricity consumption log and displaying the web page information in a form of a web interface, the method for processing the electricity consumption information may further include:
acquiring a plurality of timestamps in the power consumption log, wherein the timestamps are corresponding time nodes when the temperature information is acquired; generating a temperature state curve of the mainboard according to the plurality of timestamps and the temperature information corresponding to the plurality of timestamps, wherein the temperature state curve is used for representing a state change track of the temperature of the mainboard; the generating of the webpage information corresponding to the power consumption log and the displaying of the webpage information in a form of a webpage interface include: and generating webpage information corresponding to the temperature state curve, and displaying the temperature state curve in a webpage interface mode. Therefore, the detailed mainboard temperature performance of the electronic equipment in different stages and different scenes can be conveniently and accurately checked.
As one mode, after acquiring timestamps corresponding to a plurality of temperature information in the power consumption log, the electronic device may arrange the timestamps in a time sequence on a time axis, and connect each temperature information corresponding to each timestamp with a line, thereby generating a temperature state curve of the motherboard. The line type may be various, such as a broken line, a rounded curve, a broken line, a solid line, etc. After the electronic equipment generates the temperature state curve, webpage information corresponding to the temperature state curve can be generated, and the temperature state curve is visually displayed in a webpage interface mode. Further, the generated webpage information can be shared through a hyperlink.
In some embodiments, the electronic device may also send the power consumption log to other devices, and the other devices analyze the temperature of the motherboard. Specifically, after the exporting of the electricity consumption log and the storing of the electricity consumption log, the method for processing electricity consumption information may further include: and sending the power consumption log to terminal equipment, wherein the terminal equipment is used for generating webpage information according to the power consumption log, and the webpage information is used for displaying the power consumption log in a webpage interface mode by the terminal equipment. The terminal device may be a PC or other devices capable of performing log analysis.
In some embodiments, the electronic device may further delete the power consumption log according to an instruction input by a user. As a mode, the setting interface may further include a third control, where the third control is configured to trigger a function of clearing the power consumption log, and after the power consumption log for display is generated according to the power consumption information and the temperature information, the method further includes: and when the triggering operation of the third control is detected, clearing the generated power consumption log. Therefore, the historical information of the power consumption log can be cleared according to the requirements of the user, so that the occupation of the temperature information and the power consumption information on the storage space is reduced.
In some embodiments, the third control element may be arranged in the setting interface according to the following path: "set" - > "battery" - > "log" - > "reset", where "reset" is the control name of the third control. It should be noted that the names of the above-mentioned controls are only examples, and are not limited in this application. Further, when the user clicks the "reset" control, the electronic device may also empty all power consumption logs of the history.
In the embodiment of the present application, the manner from step 210 to step 250 may also be applied to other embodiments.
In the embodiment of the application, a setting interface for displaying the power consumption log comprises a first control for starting or closing a specified function, the specified function is used for recording the temperature information of the mainboard in the power consumption log, then when the starting operation of the first control is detected, the specified function can be controlled to be started, and when the specified function is detected to be started, the temperature information of the mainboard can be obtained. And generating a power consumption log for display according to the power consumption information and the temperature information. Therefore, the function of recording the temperature of the main board by starting logs is realized only when a user needs to record the temperature information of the main board. Furthermore, the power consumption log of a certain time period can be derived, and the mainboard temperature query of a specified time period is realized. And the temperature state curve of the mainboard can be generated, and the detailed temperature performance of the mainboard of the electronic equipment at different stages and under different scenes can be conveniently and accurately checked.
Referring to fig. 3, fig. 3 is a flowchart illustrating a processing method of power consumption information according to another embodiment of the present application. As will be described in detail with respect to the flow shown in fig. 3, the method for processing power consumption information may specifically include the following steps:
step S310: and acquiring power consumption information of the battery power consumption.
In the embodiment of the present application, the step S310 may refer to the contents of the foregoing embodiments, and is not described herein again.
In some embodiments, when the electronic device runs an operating system of Linux, the electronic device may obtain power consumption information of the battery power consumption through a battery stats service module. The main function of the battery stations service module is to collect the power consumption of each module and application process in the system.
Step S320: and acquiring the temperature information of the mainboard.
In the embodiment of the present application, step S320 may refer to the contents of the foregoing embodiments, and is not described herein again.
In this embodiment, the electronic device may include a temperature sensor, and the temperature sensor may be disposed on the motherboard and away from a heat source of the motherboard to obtain a relatively accurate temperature of the motherboard. The electronic equipment can use the temperature information sensed by the temperature sensor as the temperature information of the mainboard.
In some embodiments, the heat source may be any component on the motherboard that can generate heat, such as a high voltage capacitor, a switch tube, a battery, a chip, a central processing unit, and the like, which is not limited herein. In other embodiments, the heat source may also be selected heat-prone components on the motherboard.
In some embodiments, when the electronic device runs an operating system with Linux, before the acquiring the temperature information of the motherboard, the processing method of the power consumption information may further include: the temperature sensor is controlled to be turned on by a thermal frame module.
Specifically, when the electronic device runs an operating system of Linux, the electronic device has a thermal frame module. The thermal frame module is used for resource integration and function realization of the whole temperature control requirement, and also comprises a drive of temperature sensors on various bottom layers, such as the temperature sensor arranged on the mainboard and used for detecting the temperature of the mainboard. Therefore, the electronic equipment can control the temperature sensor to be started through the thermal frame module to detect the temperature information.
It should be noted that, the temperature sensor on the motherboard is located in the thermal frame module by the identity of the thermal zone (temperature control management interval), and the thermal zone bottom layer may read the actual temperature value by adc (Analog-to-Digital Converter). For the linux user mode, the temperature information of the mainboard can be obtained through a corresponding interface of the thermal frame.
In some embodiments, when the electronic device runs an operating system of Linux, the electronic device may also obtain the temperature information of the motherboard through the battery states service module.
As a manner, the electronic device may separately establish a local daemon module capable of executing in the background to periodically obtain the temperature information of the motherboard and upload the temperature information to the batting states service module, so that the electronic device may obtain the temperature information of the motherboard through the batting states service module.
Referring to fig. 4, fig. 4 is a schematic diagram illustrating a software framework flow of a power consumption information processing method. Assuming that the temperature sensor in fig. 4 is an NTC temperature sensor, the corresponding temperature control management interval is an NTC _ thermal _ zone (NTC temperature control management interval) module. Specifically, the obtaining of the temperature information of the motherboard by the battery stations service module may include:
reading temperature information of a mainboard detected by a temperature control management interval module from a sysfs interface every preset time through a power native daemon module; receiving the temperature information uploaded by the power native daemon module through a syetem power service module; receiving the temperature information uploaded by the syetem power service module through the battery stats service module.
The power passive daemon module has the main functions of downwards and periodically reading temperature information of a mainboard detected by the temperature control management interval module through the sysfs interface and upwards transmitting the temperature information to the system power service module. The reading period of the power passive daemon module may be configured in advance, and a specific period value may be set reasonably by a relevant person according to a specific application environment, which is not limited herein. For example, the period value may be set to 3 seconds.
The main function of the syetem power service module is to receive the temperature information uploaded by the power native daemon module and finally push the information to the battery stats service module.
The main function of the battterystats service module is to receive temperature information uploaded by the system power service module. Therefore, the electronic equipment can acquire the temperature information of the mainboard through the battery stations service module.
Step S330: and generating a power consumption log for display according to the power consumption information and the temperature information.
In the embodiment of the present application, step S330 may refer to the contents of the foregoing embodiments, and is not described herein again.
In some embodiments, when the electronic device runs an operating system of Linux, the electronic device may integrate the power consumption information and the temperature information of the motherboard through the battery stats service module, so as to obtain the power consumption log for display. Specifically, because the native Battery status service module of the Android system has some interfaces, the power consumption information and the temperature information of the motherboard can be recorded and stored through the interfaces, so that when the Android system is used later, the power consumption information and the temperature information can be directly acquired according to a format agreed during storage.
In some embodiments, after the generating of the power consumption log for presentation according to the power consumption information and the temperature information, the processing method of the power consumption information may further include:
processing and analyzing the power consumption information and the temperature information according to the power consumption log to obtain a processing and analyzing result; and if the power consumption speed is determined to be greater than the speed threshold and the temperature of the mainboard is determined to be greater than the temperature threshold based on the processing and analyzing result, cleaning the target process in the background.
In some embodiments, the processing and analyzing of the power consumption information and the temperature information may be to analyze average power consumption and total power consumption of each module and each application program operated by the electronic device, may also be to analyze a temperature trend of the motherboard, and may also be to compare and analyze a temperature of the motherboard and a temperature of a battery, which is not limited herein. After the electronic device obtains the processing and analyzing result, the power consumption speed and the temperature of the main board can be determined based on the processing and analyzing result. Then, the electronic device can clear the target process in the background when the power consumption speed is greater than the speed threshold and the temperature of the main board is greater than the temperature threshold, so that the power consumption of the unnecessary application process is reduced, and the service life of the electronic device is prolonged. In some embodiments, the cleaning of the target process in the background may be to close all applications in the background, or to close applications outside the white list in the background.
The power consumption speed can be related to the power consumption of the battery per unit time, and the electronic device can acquire the power consumption speed in various ways. As an aspect, the electronic device may obtain the power consumption amounts per unit time according to the change values of the battery power amounts in the plurality of power consumption logs corresponding to a certain time period and the corresponding time change intervals, and use an average value of the power consumption amounts per unit time as the power consumption speed.
The speed threshold is the minimum power consumption speed which needs to be met by the power consumption speed when the electronic equipment automatically cleans the background target process. When the power consumption speed is greater than the speed threshold, it can be considered that the current running process is more, and a larger power consumption is generated. The temperature threshold is the lowest value that the temperature of the mainboard needs to meet when the electronic equipment automatically cleans the background target process. When the temperature of the motherboard is higher than the temperature threshold, it can be considered that the running process of the electronic device is more, and a larger amount of heat is generated. In some embodiments, the speed threshold and the temperature threshold may be pre-stored in the electronic device, and may be set by a user.
In some embodiments, when the power of the battery is too low, the detection of the temperature of the motherboard may be stopped in order to save power consumption. Therefore, the power consumption information further includes a remaining power of the battery, and the processing method of the power consumption information may further include: and when the residual electric quantity is smaller than the electric quantity threshold value, controlling the temperature sensor to be closed. The electric quantity threshold value can be the lowest electric quantity which needs to be met by the battery when the temperature sensor is in the working state. The electric quantity threshold value can be set by a user and can be prestored in the electronic equipment.
It should be noted that the methods in step S310 and step S330 in the embodiment of the present application may also be applied to other embodiments.
In the embodiment of the application, through a constructed power native daemon module, temperature information of a mainboard detected by a temperature control management interval module can be read from a sysfs interface at preset time intervals, then the power native daemon module uploads the temperature information to a syetem power service module, and the syetem power service module uploads the temperature information to a battery status service module, so that electronic equipment can integrate the power consumption information and the temperature information through the battery status service module to generate a power consumption log for display, and automatic monitoring of the temperature information of the mainboard is achieved.
Referring to fig. 5, fig. 5 is a flowchart illustrating a processing method of power consumption information according to still another embodiment of the present application. As will be described in detail with respect to the flow shown in fig. 5, the method for processing power consumption information may specifically include the following steps:
step S410: and acquiring power consumption information of the battery power consumption.
In the embodiment of the present application, step S410 may refer to the contents of the foregoing embodiments, and is not described herein again.
Step S420: and when the state parameter of the battery is detected to be changed, acquiring the temperature information of the mainboard.
In some embodiments, the electronic device may obtain the temperature information of the motherboard only when the state parameter of the battery changes and the power consumption information needs to be updated. Due to the heat conduction reason, the temperature of the mainboard often changes with the change of the battery temperature, and the battery temperature also often changes with the change of the mainboard temperature. Since the native android system is already well received and recorded for the battery temperature change, the temperature of the mainboard can be read, and a thread does not need to be additionally established to independently acquire the temperature of the mainboard. Therefore, the mainboard temperature is not required to be obtained in real time, and is only obtained when the state parameter of the battery is updated so as to update the mainboard temperature, and the resource occupation of a Central Processing Unit (CPU) when the mainboard temperature is obtained in real time is reduced. For example, when the CPU is in idle, the temperature information and the state parameter of the battery are updated together, so that the idle can be prevented from being exited for multiple times, and the CPU overhead is increased. The state parameter of the battery may be a temperature change, a charge change, a charging non-charging state, or the like.
In some embodiments, when the electronic device runs an operating system of Linux, the electronic device may also obtain the temperature information of the motherboard through the battery states service module.
As a mode, when the electronic device runs an operating system of Linux, the electronic device may obtain temperature information of the motherboard through an original health module. Specifically, when the health module detects that the state parameter of the battery changes, the temperature information of the motherboard is acquired through the health module, so that when the health module sends the updated state parameter of the battery to the upper layer, the temperature information of the motherboard can also be sent to the upper layer for updating.
In the conventional technology, the primary function of the health module is to monitor battery events from the bottom layer downwards and transmit data information of the battery to the battery Service module upwards. And then the battery service module pushes the data information of the battery to the battery stats service module. The Battery Service module has the main functions of calculating the information such as Battery capacity display, residual capacity, capacity level and the like according to the transmitted data information of the Battery. Therefore, the health module sends the battery update information to the battery Service module when detecting that the state parameter of the battery changes. Therefore, the electronic device can obtain the temperature information of the mainboard by means of the healthd module at this time, send the temperature information and the update information of the Battery to the Battery Service module together, and then the Battery Service module pushes the temperature information and the update information of the Battery to the Battery stage Service module, so that the electronic device can also obtain the temperature information of the mainboard by means of the Battery stage Service module.
Specifically, referring to fig. 6, fig. 6 is a schematic software framework flowchart illustrating another power consumption information processing method. Assuming that the temperature sensor in fig. 6 is an NTC temperature sensor, the corresponding temperature control management interval is an NTC _ thermal _ zone (NTC temperature control management interval) module. The electronic equipment reads temperature information of a mainboard detected by a temperature control management interval module from a sysfs interface through a health module, then the health module uploads the temperature information to a battery service module, and the battery service module pushes the temperature information to the battery states service module after receiving the temperature information uploaded by the health module, so that the electronic equipment can receive the temperature information uploaded by the battery service module through the battery states service module.
Step S430: and generating a power consumption log for display according to the power consumption information and the temperature information.
In the embodiment of the present application, the step S430 may refer to the contents of the foregoing embodiments, and is not described herein again.
In some embodiments, when the electronic device runs an operating system of Linux, the electronic device may integrate the power consumption information and the temperature information of the motherboard through the battery stats service module, so as to obtain the power consumption log for display.
It should be noted that the manners in step S410 and step S430 in the embodiment of the present application may also be applied to other embodiments.
According to the power consumption information processing method provided by the embodiment of the application, when the health module detects that the state parameter of the battery changes and the state parameter of the battery needs to be updated to the upper layer, the temperature information of the mainboard detected by the temperature control management interval module is read from the sysfs interface through the health module, then the temperature information and the updated state parameter of the battery are uploaded to the battery service module through the health module, and the temperature information is uploaded to the battery status service module through the battery status service module, so that the electronic equipment can integrate the power consumption information and the temperature information through the battery status service module to generate a power consumption log for displaying, the temperature of the mainboard is updated only when the state parameter of the battery changes, and the resource occupation of a CPU is reduced.
Referring to fig. 7, a block diagram of a power consumption information processing apparatus 400 according to an embodiment of the present disclosure is shown. The processing apparatus 400 applied to an electronic device including a motherboard and a battery includes: the system comprises a power consumption acquisition module 410, a temperature acquisition module 420 and a log generation module 430, wherein the power consumption acquisition module 410 is used for acquiring power consumption information of the battery; the temperature obtaining module 420 is configured to obtain temperature information of the motherboard; the log generating module 430 is configured to generate a power consumption log for display according to the power consumption information and the temperature information.
In some embodiments, the processing device 400 for power consumption information may further include: the device comprises an interface display module and a temperature opening module. The interface display module is used for displaying a setting interface of the power consumption log, the setting interface comprises a first control, the first control is used for starting or closing a specified function, and the specified function is used for recording temperature information of the mainboard in the power consumption log; and the temperature starting module is used for controlling the starting of the specified function when the starting operation of the first control is detected.
In some embodiments, the temperature acquisition module 420 may be specifically configured to: and when the specified function is detected to be started, acquiring the temperature information of the mainboard.
In some embodiments, the setting interface may further include a second control configured to derive the power consumption log, and the processing apparatus 400 of the power consumption information may further include: and a log export module. And the log export module is used for exporting the power consumption log and storing the power consumption log when the triggering operation of the second control is detected.
In this embodiment, the log export module may be specifically configured to: acquiring a viewing time period of the power consumption log; acquiring all power consumption logs corresponding to the checking time period; and exporting all the electricity consumption logs and storing the all the electricity consumption logs.
In some embodiments, the processing device 400 for power consumption information may further include: and a webpage generation module. And the webpage generating module is used for generating webpage information corresponding to the power consumption log and displaying the webpage information in a webpage interface mode.
In this embodiment, the processing apparatus 400 for processing power consumption information may further include: the device comprises a time acquisition module and a curve generation module. The time acquisition module is used for acquiring a plurality of timestamps in the power consumption log, wherein the timestamps are corresponding time nodes when the temperature information is acquired; the curve generating module is used for generating a temperature state curve of the mainboard according to the plurality of timestamps and the temperature information corresponding to the plurality of timestamps, and the temperature state curve is used for representing a state change track of the temperature of the mainboard. The web page generation module may be specifically configured to: and generating webpage information corresponding to the temperature state curve, and displaying the temperature state curve in a webpage interface mode.
In some embodiments, the processing device 400 for power consumption information may further include: and a log sending module. The log sending module is used for sending the power consumption log to the terminal equipment, the terminal equipment is used for generating webpage information according to the power consumption log, and the webpage information is used for displaying the power consumption log in a webpage interface mode by the terminal equipment.
In some embodiments, the setting interface may further include a third control, the third control is configured to trigger a function of clearing the power consumption log, and the apparatus 400 for processing power consumption information may further include: and a log clearing module. And the log clearing module is used for clearing the generated power consumption log when the triggering operation of the third control is detected.
In some embodiments, the temperature acquisition module 420 may be specifically configured to: and when the state parameter of the battery is detected to be changed, acquiring the temperature information of the mainboard.
In some embodiments, the electronic device may further include a temperature sensor disposed on the motherboard and away from a heat source of the motherboard, and the temperature obtaining module 420 may be specifically configured to: and acquiring temperature information detected by the temperature sensor as the temperature information of the mainboard.
In this embodiment, the processing apparatus 400 for processing power consumption information may further include: the sensor turns on the module. The sensor opening module is used for controlling the temperature sensor to be opened through a thermal frame module.
In this embodiment, the power consumption information may include a remaining power of the battery, and the processing device 400 of the power consumption information may further include: the sensor shuts down the module. And the sensor closing module is used for controlling the temperature sensor to be closed when the residual electric quantity is smaller than the electric quantity threshold value.
In some embodiments, the power consumption obtaining module 410 may be specifically configured to: and acquiring power consumption information of the battery power consumption through a battery stats service module. The temperature obtaining module 420 may be specifically configured to obtain the temperature information of the motherboard through the battery stands service module.
In this embodiment, the power consumption obtaining module 410 obtains the power consumption information of the battery power consumption through a battery stats service module, where the power consumption information may include: reading temperature information of a mainboard detected by a temperature control management interval module from a sysfs interface every preset time through a power native daemon module; receiving the temperature information uploaded by the power native daemon module through a syetem power service module; receiving the temperature information uploaded by the syetem power service module through the battery stats service module.
In this embodiment, the log generation module 430 may specifically be configured to: and integrating the power consumption information and the temperature information through the battery stats service module to obtain a power consumption log for display.
In some embodiments, the processing device 400 for power consumption information may further include: the system comprises an analysis processing module and a process cleaning module. The analysis processing module is used for processing and analyzing the power consumption information and the temperature information according to the power consumption log to obtain a processing and analyzing result; and the process cleaning module is used for cleaning the target process in the background if the power consumption speed is determined to be greater than the speed threshold and the temperature of the mainboard is determined to be greater than the temperature threshold based on the processing and analyzing result.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
To sum up, the scheme that this application provided is through acquireing the power consumptive power consumption information of battery to and the temperature information who acquires the mainboard, in order to according to power consumption information and temperature information generates the power consumptive log that is used for the show, thereby realizes integrating the temperature information of mainboard to the power consumptive log of battery, makes can directly obtain electronic equipment's the state of generating heat from power consumptive log, and need not to build in addition the log and record, has reduced the staff and to the development time of software program, has also promoted the convenience, rapidity and the comprehensiveness that information acquisition. In addition, the temperature information of the mainboard is recorded in real time through the power consumption log, so that important data support and optimization directions can be provided for power consumption analysis and judgment of market terminal users, and a foundation is laid for improvement of power consumption.
Referring to fig. 8, a block diagram of an electronic device according to an embodiment of the present disclosure is shown. The electronic device 100 may be a notebook, a PC computer, a mobile terminal, or other electronic devices capable of running an application. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, a battery (not shown), a motherboard (not shown), and one or more applications, wherein the one or more applications may be stored in the memory 120 and configured to be executed by the one or more processors 110, the one or more applications configured to perform the methods as described in the foregoing method embodiments.
Processor 110 may include one or more processing cores. The processor 110 connects various parts within the overall electronic device 100 using various interfaces and lines, and performs various functions of the electronic device 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120 and calling data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a communication chip.
The Memory 120 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 120 may be used to store instructions, programs, code sets, or instruction sets. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The storage data area may also store data created by the terminal 100 in use, such as a phonebook, audio-video data, chat log data, and the like.
Referring to fig. 9, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 800 has stored therein a program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 800 includes a non-volatile computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 to perform any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 810 may be compressed, for example, in a suitable form.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (20)

  1. A method for processing power consumption information is applied to an electronic device, wherein the electronic device comprises a mainboard and a battery, and the method comprises the following steps:
    acquiring power consumption information of the battery power consumption;
    acquiring temperature information of the mainboard;
    and generating a power consumption log for display according to the power consumption information and the temperature information.
  2. The method of claim 1, wherein prior to said obtaining power consumption information for said battery power consumption, said method further comprises:
    the method comprises the steps that a setting interface of the power consumption log is displayed, the setting interface comprises a first control, the first control is used for starting or closing a specified function, and the specified function is used for recording temperature information of a main board in the power consumption log;
    and when the opening operation of the first control is detected, controlling the specified function to be opened.
  3. The method of claim 2, wherein the obtaining temperature information of the motherboard comprises:
    and when the specified function is detected to be started, acquiring the temperature information of the mainboard.
  4. The method according to claim 2 or 3, wherein the setting interface further comprises a second control for exporting the electricity consumption log, and after the electricity consumption log is generated for presentation according to the electricity consumption information and the temperature information, the method further comprises:
    and when the triggering operation of the second control is detected, exporting the electricity consumption log and storing the electricity consumption log.
  5. The method of claim 4, wherein exporting the electricity consumption log and storing the electricity consumption log comprises:
    acquiring a viewing time period of the power consumption log;
    acquiring all power consumption logs corresponding to the checking time period;
    and exporting all the electricity consumption logs and storing the all the electricity consumption logs.
  6. The method according to claim 4 or 5, wherein after said exporting and storing said electricity consumption log, said method further comprises:
    and generating webpage information corresponding to the power consumption log, and displaying the webpage information in a webpage interface mode.
  7. The method according to claim 6, wherein before the generating of the web page information corresponding to the electricity consumption log and the displaying of the web page information in the form of a web interface, the method further comprises:
    acquiring a plurality of timestamps in the power consumption log, wherein the timestamps are corresponding time nodes when the temperature information is acquired;
    generating a temperature state curve of the mainboard according to the plurality of timestamps and the temperature information corresponding to the plurality of timestamps, wherein the temperature state curve is used for representing a state change track of the temperature of the mainboard;
    the generating of the webpage information corresponding to the power consumption log and the displaying of the webpage information in a form of a webpage interface include:
    and generating webpage information corresponding to the temperature state curve, and displaying the temperature state curve in a webpage interface mode.
  8. The method according to any of claims 4-7, wherein after said deriving and storing said electricity consumption log, said method further comprises:
    and sending the power consumption log to terminal equipment, wherein the terminal equipment is used for generating webpage information according to the power consumption log, and the webpage information is used for displaying the power consumption log in a webpage interface mode by the terminal equipment.
  9. The method according to any one of claims 2-8, wherein the setting interface further comprises a third control for triggering a function of clearing a power consumption log, and after the generating of the power consumption log for presentation according to the power consumption information and the temperature information, the method further comprises:
    and when the triggering operation of the third control is detected, clearing the generated power consumption log.
  10. The method according to any one of claims 1 to 9, wherein the acquiring temperature information of the motherboard comprises:
    and when the state parameter of the battery is detected to be changed, acquiring the temperature information of the mainboard.
  11. The method according to any one of claims 1-10, wherein the electronic device further comprises a temperature sensor disposed on the motherboard and away from a heat source of the motherboard, and the obtaining the temperature information of the motherboard comprises:
    and acquiring temperature information detected by the temperature sensor as the temperature information of the mainboard.
  12. The method of claim 11, wherein prior to obtaining temperature information detected by the temperature sensor, the method further comprises:
    the temperature sensor is controlled to be turned on by a thermal frame module.
  13. The method according to claim 11 or 12, wherein the power consumption information includes a remaining power of the battery, the method further comprising:
    and when the residual electric quantity is smaller than the electric quantity threshold value, controlling the temperature sensor to be closed.
  14. The method according to any one of claims 1 to 13, wherein the obtaining of the power consumption information of the battery power consumption comprises:
    acquiring power consumption information of the battery power consumption through a battery stats service module;
    the acquiring of the temperature information of the motherboard includes:
    and acquiring the temperature information of the mainboard through the battery stations service module.
  15. The method according to claim 14, wherein the obtaining the temperature information of the motherboard by the battery stands service module comprises:
    reading temperature information of a mainboard detected by a temperature control management interval module from a sysfs interface every preset time through a power native daemon module;
    receiving the temperature information uploaded by the power native daemon module through a syetem power service module;
    receiving the temperature information uploaded by the syetem power service module through the battery stats service module.
  16. The method according to claim 14 or 15, wherein the generating a power consumption log for presentation according to the power consumption information and the temperature information comprises:
    and integrating the power consumption information and the temperature information through the battery stats service module to obtain a power consumption log for display.
  17. The method according to any one of claims 1-16, wherein after generating the electricity consumption log for presentation according to the electricity consumption information and the temperature information, the method further comprises:
    processing and analyzing the power consumption information and the temperature information according to the power consumption log to obtain a processing and analyzing result;
    and if the power consumption speed is determined to be greater than the speed threshold and the temperature of the mainboard is determined to be greater than the temperature threshold based on the processing and analyzing result, cleaning the target process in the background.
  18. An apparatus for processing power consumption information, applied to an electronic device, the electronic device including a main board and a battery, the apparatus comprising: a power consumption obtaining module, a temperature obtaining module and a log generating module, wherein,
    the power consumption acquisition module is used for acquiring power consumption information of the battery;
    the temperature acquisition module is used for acquiring the temperature information of the mainboard;
    and the log generation module is used for generating a power consumption log for display according to the power consumption information and the temperature information.
  19. An electronic device, comprising:
    one or more processors;
    a memory;
    one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to perform the method of any of claims 1-17.
  20. A computer-readable storage medium having program code stored therein, the program code being invoked by a processor to perform the method of any one of claims 1 to 17.
CN201980099288.3A 2019-10-21 2019-10-21 Power consumption information processing method and device, electronic equipment and storage medium Pending CN114222978A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/112316 WO2021077260A1 (en) 2019-10-21 2019-10-21 Power consumption information processing method, device, electronic apparatus and storage medium

Publications (1)

Publication Number Publication Date
CN114222978A true CN114222978A (en) 2022-03-22

Family

ID=75619811

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201980099288.3A Pending CN114222978A (en) 2019-10-21 2019-10-21 Power consumption information processing method and device, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN114222978A (en)
WO (1) WO2021077260A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114706602A (en) * 2022-04-01 2022-07-05 珠海读书郎软件科技有限公司 Android-based method for updating parameters of touch screen through app

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11435914B2 (en) * 2020-03-30 2022-09-06 Western Digital Technologies, Inc. Dynamic ZNS open zone active limit

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098392B (en) * 2011-01-25 2014-03-19 中兴通讯股份有限公司 Energy-saving device and method for portable terminal
CN107959314A (en) * 2016-10-17 2018-04-24 中兴通讯股份有限公司 A kind of trickle charge method for electrically and intelligent terminal
CN107566624B (en) * 2017-08-25 2020-09-11 维沃移动通信有限公司 Display method for power consumption and temperature of terminal, terminal and computer readable storage medium
CN107797830A (en) * 2017-11-12 2018-03-13 佛山市百里洲科技有限公司 A kind of temperature controlled method of mobile terminal
CN108009068B (en) * 2017-11-30 2021-03-02 Oppo广东移动通信有限公司 Information recording method, information recording device and intelligent terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114706602A (en) * 2022-04-01 2022-07-05 珠海读书郎软件科技有限公司 Android-based method for updating parameters of touch screen through app
CN114706602B (en) * 2022-04-01 2023-03-24 珠海读书郎软件科技有限公司 Android-based method for updating parameters of touch screen through app

Also Published As

Publication number Publication date
WO2021077260A1 (en) 2021-04-29

Similar Documents

Publication Publication Date Title
CN108463832B (en) Electronic device and process execution method based on hardware diagnosis result
EP3502878B1 (en) Method for preloading application and terminal device
CN109947496B (en) Application program preloading method and device, storage medium and mobile terminal
CN111176960B (en) User operation behavior tracking method, device, equipment and storage medium
CN105227626B (en) Content pushing method and device and terminal
KR101477179B1 (en) Method And Mobile Terminal For Determining and Displaying Power Efficiency of Application
CN114302185B (en) Display device and information association method
US8208893B1 (en) Performance metrics processing for anticipating unavailability
US11082927B2 (en) Displaying use time remaining on fast charge devices
JPWO2019235645A1 (en) Battery management system and battery management method
CN109376056A (en) Abnormal log analysis method, device, storage medium, mobile terminal and server
CN108595231A (en) Application program preloads method, apparatus, storage medium and intelligent terminal
CN109542744A (en) Detect method, apparatus, storage medium and the terminal of terminal booting abnormal problem
CN107302633B (en) Application control method, device, storage medium and electronic equipment
CN106959386B (en) A kind of creepage detection method and mobile terminal
CN108804153A (en) Preloading method, apparatus, storage medium and the terminal of application program
KR20200015000A (en) Method for memory leak detection and electronic device thereof
CN114222978A (en) Power consumption information processing method and device, electronic equipment and storage medium
CN107544898A (en) Data capture method, device, equipment and storage medium
US20210036531A1 (en) Battery charging method
JPWO2019235646A1 (en) Electronic device with battery
CN108762844A (en) Application program preloads method, apparatus, storage medium and terminal
CN111222563A (en) Model training method, data acquisition method and related device
CN107734618B (en) Application program closing method and device, storage medium and electronic equipment
CN107341094B (en) Method and device for measuring time consumed by starting item

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination