CN114222980A - Power consumption log processing method, device, electronic equipment and storage medium - Google Patents
Power consumption log processing method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN114222980A CN114222980A CN201980099279.4A CN201980099279A CN114222980A CN 114222980 A CN114222980 A CN 114222980A CN 201980099279 A CN201980099279 A CN 201980099279A CN 114222980 A CN114222980 A CN 114222980A
- Authority
- CN
- China
- Prior art keywords
- power consumption
- graphics processor
- load information
- information
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
Abstract
The application discloses a power consumption log processing method and device, electronic equipment and a storage medium, and relates to the technical field of electronic equipment. The method is applied to an electronic device, the electronic device comprises a graphics processor and a battery, and the method comprises the following steps: the method comprises the steps of obtaining load information of a graphic processor, obtaining power consumption statistical information of a battery, generating a current power consumption log based on the load information of the graphic processor and the power consumption statistical information of the battery, and storing the current power consumption log. The power consumption log processing method, the power consumption log processing device, the electronic device and the storage medium provided by the embodiment of the application record the load information of the graphics processor in the power consumption log by acquiring the load information of the graphics processor and generating the current power consumption log based on the load information of the graphics processor, so that important bases are provided for scene power consumption analysis and judgment.
Description
The present disclosure relates to the field of electronic device technologies, and in particular, to a method and an apparatus for processing a power consumption log, an electronic device, and a storage medium.
With the development of science and technology, electronic equipment is more and more widely used and has more and more functions, and the electronic equipment becomes one of the necessary things in daily life of people. Currently, electronic devices can be used to record log information during operation.
Disclosure of Invention
In view of the above problems, the present application provides a power consumption log processing method, apparatus, electronic device, and storage medium to solve the above problems.
In a first aspect, an embodiment of the present application provides a power consumption log processing method, which is applied to an electronic device, where the electronic device includes a graphics processor and a battery, and the method includes: acquiring load information of the graphics processor and acquiring power consumption statistical information of the battery; generating a current power consumption log based on the load information of the graphics processor and the power consumption statistical information of the battery; and storing the current power consumption log.
In a second aspect, an embodiment of the present application provides an apparatus for processing a power consumption log, which is applied to an electronic device, where the electronic device includes a graphics processor and a battery, and the apparatus includes: the information acquisition module is used for acquiring the load information of the graphics processor and acquiring the power consumption statistical information of the battery; the log generation module is used for generating a current power consumption log based on the load information of the graphics processor and the power consumption statistical information of the battery; and the log storage module is used for storing the current power consumption log.
In a third aspect, an embodiment of the present application provides an electronic device, including a graphics processor, a battery, a memory, and a processor, where the graphics processor, the battery, and the memory are coupled to the processor, and the memory stores instructions that, when executed by the processor, the processor performs the above method.
In a fourth aspect, the present application provides a computer-readable storage medium, in which a program code is stored, and the program code can be called by a processor to execute the above method.
The power consumption log processing method, the power consumption log processing device, the electronic device and the storage medium, which are provided by the embodiment of the application, are used for acquiring load information of a graphic processor, acquiring power consumption statistical information of a battery, generating a current power consumption log based on the load information of the graphic processor and the power consumption statistical information of the battery, and storing the current power consumption log, so that important basis is provided for scene power consumption analysis and judgment by acquiring the load information of the graphic processor and generating the current power consumption log based on the load information of the graphic processor to record the load information of the graphic processor in the power consumption log.
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 is a flowchart illustrating a power consumption log processing method according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a power consumption log processing method according to another embodiment of the present application;
fig. 3 is a flowchart illustrating an embodiment of step S210 of the electricity consumption log processing method illustrated in fig. 2 of the present application;
fig. 4 is a flowchart illustrating still another embodiment of step S210 of the electricity consumption log processing method illustrated in fig. 2 of the present application;
fig. 5 is a flowchart illustrating a power consumption log processing method according to still another embodiment of the present application;
fig. 6 is a flowchart illustrating an embodiment of step S360 of the electricity consumption log processing method illustrated in fig. 5 of the present application;
fig. 7 is a flowchart illustrating still another embodiment of step S360 of the electricity consumption log processing method illustrated in fig. 5 of the present application;
fig. 8 is a flowchart illustrating still another embodiment of step S360 of the electricity consumption log processing method illustrated in fig. 5 of the present application;
fig. 9 is a flowchart illustrating a power consumption log processing method according to another embodiment of the present application;
FIG. 10 is a schematic interface diagram of an electronic device provided by an embodiment of the present application;
fig. 11 is a flowchart illustrating step S440 of the electricity consumption log processing method illustrated in fig. 9 of the present application;
fig. 12 is a block diagram illustrating a module of an electricity consumption log processing apparatus according to an embodiment of the present application;
fig. 13 is a block diagram of an electronic device for executing a power consumption log processing method according to an embodiment of the present application;
fig. 14 shows a storage unit for storing or carrying a program code implementing the power consumption log processing method according to the embodiment of the present application.
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.
At present, the power consumption log of the electronic device does not record the load information of the graphics processor, which has a certain bottleneck in analyzing the problems of power consumption, heat generation and the like of the electronic device. In addition, due to the difference of the application software, the operation dependency of the application software on the graphics processor may be different in the running process, and even the application software is individually adapted on different electronic devices. Under the circumstances, it is necessary and important to record the load information of the graphics processor in the power consumption log, and in view of the above problems, the inventors have found through long-term research and proposed a power consumption log processing method, an apparatus, an electronic device, and a storage medium according to embodiments of the present application, which record the load information of the graphics processor in the power consumption log by acquiring the load information of the graphics processor and generating a current power consumption log based on the load information of the graphics processor, thereby providing important bases for scene power consumption analysis and judgment. A specific power consumption log processing method is described in detail in the following embodiments.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a power consumption log processing method according to an embodiment of the present application. The power consumption log processing method is used for recording the load information of the graphics processor in the power consumption log by acquiring the load information of the graphics processor and generating the current power consumption log based on the load information of the graphics processor, and provides important basis for scene power consumption analysis and judgment. In a specific embodiment, the electricity consumption log processing method is applied to an electricity consumption log processing apparatus 200 as shown in fig. 12 and an electronic device 100 (fig. 13) provided with the electricity consumption log processing apparatus 200. The specific process of the present embodiment will be described below by taking an electronic device as an example, and it is understood that the electronic device applied in the present embodiment may be a smart phone, a tablet computer, a wearable electronic device, and the like, which is not limited herein. As will be described in detail with respect to the flow shown in fig. 1, where the electronic device includes a graphics processor and a battery, the power consumption log processing method may specifically include the following steps:
step S110: and acquiring load information of the graphics processor and acquiring power consumption statistical information of the battery.
The Graphics Processing Unit (GPU) is also called a display core, a visual processor, and a display chip, and is a processor dedicated to image and Graphics related operations on a personal computer, a workstation, a game machine, and some mobile devices (e.g., a tablet computer, a smart phone, etc.). In this embodiment, the graphics processor is a processor for performing operations related to images and graphics on an electronic device. It can be understood that, during the operation of the image and graphic correlation operation, the graphic processor generates load information on the graphic processor, and the data amount of the image and graphic processed by the graphic processor is positively correlated with the load information generated on the graphic processor, i.e. the larger the data amount of the image and graphic processed by the graphic processor, the larger the load information generated on the graphic processor; the smaller the amount of data of images and graphics processed by the graphics processor, the smaller the load information generated on the graphics processor.
In some embodiments, load information for a graphics processor may be obtained. Taking an Android (Android) system as an example, as one mode, an electronic device loaded with the Android system may obtain information of a graphics processor through OpenGL, and determine load information of the graphics processor based on the obtained information of the graphics processor. As another mode, the electronic device loaded with the Android system may further obtain load information of the graphics processor on the soc through the gpu freq. Of course, in this embodiment, the load information of the graphics processor may also be obtained in other more manners, which is not limited herein.
In some embodiments, power consumption statistics of the battery may be obtained. Taking the Android system as an example, the electronic device loaded with the Android system can acquire the power consumption statistical information of the battery through the battery stats service module. The battery status service has a main function of collecting power consumption of each module and each application software in the system of the electronic device, and the battery status service may count the whole power consumption statistics information of the battery, or may count the power consumption statistics information of each part in different categories, for example, the battery status service may count the power consumption statistics information of each module in different categories, count the power consumption statistics information of each application software, and the like, which is not limited herein.
Step S120: and generating a current power consumption log based on the load information of the graphic processor and the power consumption statistical information of the battery.
In some embodiments, the electronic device may generate the current power consumption log based on the load information of the graphics processor and the power consumption statistical information of the battery after acquiring the load information of the graphics processor and the power consumption statistical information of the battery. As a way, after acquiring load information of the graphics processor, the electronic device may push the load information of the graphics processor to a battery stats service, and after acquiring power consumption statistics information of the battery and receiving the load information of the graphics processor, the battery stats service may directly save the power consumption statistics information of the battery and the load information of the graphics processor as a power consumption log file as a current power consumption log. As another mode, after obtaining the load information of the graphics processor, the electronic device may push the load information of the graphics processor to a battery status service, where the battery status service stores the load information of the graphics processor as a first power consumption log file, and after obtaining the power consumption statistical information of the battery through the battery status service, the electronic device stores the power consumption statistical information of the battery as a second power consumption log file, and then integrates the first power consumption log file and the second power consumption log file to obtain the current power consumption log.
Of course, in this embodiment, the current power consumption log may also be generated based on the load information of the graphics processor and the power consumption statistical information of the battery in other more manners, which is not described herein again.
Step S130: and storing the current power consumption log.
In some embodiments, after the electronic device generates the current power consumption log, the current power consumption log may be stored, so that the detailed load information and power consumption conditions of the graphics processor of the system at different stages and in different scenes may be conveniently and accurately obtained. Of course, in some embodiments, after the electronic device stores the power consumption log, the power consumption log may be further output and displayed, where the electronic device may display the current power consumption log in a text form, may display the current power consumption log in a voice form, may display the current power consumption log in a web page form, may display the current power consumption log in a form of sending the current power consumption log to another electronic device, and the like, which is not limited herein.
According to the power consumption log processing method provided by one embodiment of the application, the load information of the graphics processor is acquired, the power consumption statistical information of the battery is acquired, the current power consumption log is generated based on the load information of the graphics processor and the power consumption statistical information of the battery, and the current power consumption log is stored, so that the load information of the graphics processor is recorded in the power consumption log by acquiring the load information of the graphics processor and generating the current power consumption log based on the load information of the graphics processor, and important bases are provided for scene power consumption analysis and judgment.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a power consumption log processing method according to another embodiment of the present application. The method is applied to the electronic device, where the electronic device includes a graphics processor and a battery, and as will be described in detail with reference to the flow shown in fig. 2, the power consumption log processing method may specifically include the following steps:
step S210: and acquiring the load information of the graphics processor through a power native decoder module.
In some embodiments, the electronic device may obtain load information of the graphics processor through a power native decoder module.
Referring to fig. 3, fig. 3 is a flowchart illustrating an embodiment of step S210 of the power consumption log processing method illustrated in fig. 2 according to the present application. As will be explained in detail with respect to the flow shown in fig. 3, the method may specifically include the following steps:
step S211A: and acquiring the state information of the graphics processor from the gpu freq driver module through a status check module.
In some embodiments, the electronic device may obtain state information of the graphics processor from the gpu freq driver module through the status check module, wherein the state information of the graphics processor may include entering an idle state, exiting the idle state, and load information changes. When the load information of the graphic processor is in a dial state, the graphic processor is characterized not to process images or graphics, and the load information is not generated; when the load information of the graphic processor is in an idle state, representing the graphic processor to process the image or the graphic; when the load information of the graphic processor changes, the graphic processor is characterized to process images or graphics with different data volumes. Therefore, in this embodiment, the state information of the graphics processor obtained from the gpu frequency driver module by the status check module may include whether the graphics processor enters an idle state, whether the graphics processor exits the idle state, and whether the load information of the graphics processor changes.
Step S212A: and uploading the state information of the graphics processor to the power native decoder module through the status check module.
Further, after the status check module obtains the state information of the graphics processor, the status check module may upload the state information of the graphics processor to the power native decoder module. Specifically, the status check module may upload the state information of the graphics processor to the power native decoder module through the status check module, and the power native decoder module acquires the status event sent by the status check module through a net link.
Step S213A: and when the graphics processor exits the idle state, calling a sysfs interface through the power native decoder module to acquire the load information of the graphics processor from the gpu freq driver module.
In some embodiments, the electronic device is preset with a specified condition for use as a criterion for the status information of the graphics processor. Therefore, in this embodiment, after the power native decoder module obtains the state information of the graphics processor, the state information of the graphics processor may be compared with the specified condition to determine whether the state information of the graphics processor satisfies the specified condition, and when the determination result indicates that the state information of the graphics processor satisfies the specified condition, the power native decoder module may obtain the load information of the graphics processor; when the state information of the graphics processor represented by the judgment result does not meet the specified condition, the state information of the graphics processor can be detected again, or when the state information of the graphics processor represented by the judgment result does not meet the specified condition, the state information of the graphics processor can be detected again after a preset time interval.
In this embodiment, the preset condition may include that the graphics processor exits from an idle state (exits from an idle state), where when the graphics processor exits from the idle state, it indicates that load information is generated on the graphics processor, and therefore, when the graphics processor exits from the idle state, the load information of the graphics processor may be obtained through the power native decoder module. In some embodiments, when the state information of the graphics processor is acquired by the power native decoder module, it may be determined whether the state information of the graphics processor is in an idle exit state, and when the state information of the graphics processor is in the idle exit state, the load information of the graphics processor may be acquired by the power native decoder module.
Further, the power native decoder module may analyze the state information of the graphics processor after receiving the state information of the graphics processor uploaded by the status check module, and may call the sysfs interface to obtain the load information of the graphics processor from the gpu freq driver module when the analysis result indicates that the graphics processor exits the idle state. In this embodiment, the gpu freq driver module includes a gpu load module, and the gpu load module is configured to support statistics of load information of a graphics processor, so that the electronic device may count the load information of the graphics processor through the gpu load module. In some embodiments, the gpu load module may be configured to count the load information of the graphics processor at preset time intervals, and accordingly, the power native decoder module may call the sysfs interface at preset time intervals (keeping the same frequency as the gpu load module) to obtain the load information of the graphics processor from the gpu freq driver module, for example, the gpu load module may be configured to count the load information of the graphics processor at 1s time intervals, and the power native decoder module may call the syss interface at 1s time intervals to obtain the load information of the graphics processor from the gpu freq driver module.
Referring to fig. 4, fig. 4 is a flowchart illustrating a step S210 of the power consumption log processing method illustrated in fig. 2 according to another embodiment of the present application. As will be explained in detail with respect to the flow shown in fig. 4, the method may specifically include the following steps:
step S211B: when the graphics processor exits the idle state or the load information of the graphics processor is updated, the load information of the graphics processor is acquired from a gpu freq driver module through a status check module.
In some embodiments, the electronic device may obtain, by the status check module, status information of the graphics processor from the gpu freq driver module, and obtain, by the status check module, load information of the graphics processor from the gpu freq driver module when the status information of the graphics processor is an exit idle state or a load information update (change) of the graphics processor. That is, in this embodiment, when the detection judgment for determining the state information of the graphics processor is performed by the status check module, and when the judgment result indicates that the state information of the graphics processor is exiting the idle state or the load information of the graphics processor is updated (changed), the load information of the graphics processor is acquired from the gpu freq driver module.
Step S212B: and uploading the load information of the graphics processor to the power native decoder module through the status check module.
Further, after the status check module obtains the load information of the graphics processor, the status check module may upload the load information of the graphics processor to the power native decoder module. Specifically, the status check module may upload load information of the graphics processor to the power native decoder module through the uevent module, and the power native decoder module may obtain the uevent event sent by the status check module through a net link, so as to directly obtain the load information of the graphics processor. In this embodiment, the gpu freq driver module includes a gpu load module, and the gpu load module is configured to support statistics of load information of the graphics processor, so that the electronic device may count the load information of the graphics processor through the gpu load module.
Step S220: and receiving the load information of the graphics processor uploaded by the power native decoder module through a system power service module.
Further, after the power native hardware module obtains the load information of the graphics processor, the load information of the graphics processor can be uploaded to the system power service module.
Step S230: and acquiring the power consumption statistical information of the battery through a battery stats service module.
For detailed description of step S230, please refer to step S110, which is not described herein again.
Step S240: and sending the load information of the graphics processor to the battery states service module through the system power service module.
Further, the system power service module can send the load information of the graphics processor to the battery states service module after receiving the load information of the graphics processor uploaded by the power native decoder module.
Step S250: and processing the load information of the graphics processor and the power consumption statistical information of the battery through the battery stats service module to generate the current power consumption log.
Step S260: and storing the current power consumption log.
For the detailed description of steps S250 to S260, refer to steps S120 to S130, which are not described herein again.
Step S270: and converting the current power consumption log into webpage information, and displaying the current power consumption log in a webpage interface mode.
In some embodiments, the electronic device may convert the current power consumption log into web page information and display the current power consumption log in a form of a web page, or the electronic device may export the current power consumption log and send the current power consumption log to the PC, so that the current power consumption log is converted into the web page information and displayed in a form of a web page by the PC, which is not limited herein. In this embodiment, when the load information of the graphic processor is displayed in the form of a web interface, the load information may be displayed as a two-dimensional curve formed by using time as an abscissa and using the load information as a coordinate system.
In another embodiment of the power consumption log processing method, state information of a graphics processor is detected, when the state information of the graphics processor meets a specified condition, load information of the graphics processor is acquired through a power native decoder module, and the load information of the graphics processor uploaded by the power native decoder module is received through a system power service module. And acquiring the power consumption statistical information of the battery through a battery stats service module. And sending the load information of the graphics processor to a battery stats service module through the system power service module, processing the load information of the graphics processor and the power consumption statistical information of the battery through the battery stats service module, and generating and storing a current power consumption log. And converting the current power consumption log into webpage information, and displaying the current power consumption log in a webpage interface mode. Compared with the power consumption log processing method shown in fig. 1, in the embodiment, load information of the graphics processor is further obtained through the gpu freq, and the power consumption log is converted into webpage information to be displayed, so that load expression of the graphics processor of the system in different stages and different scenes can be conveniently and accurately checked.
Referring to fig. 5, fig. 5 is a flowchart illustrating a power consumption log processing method according to still another embodiment of the present application. The method is applied to the electronic device, where the electronic device includes a graphics processor and a battery, and as will be described in detail with reference to the flow shown in fig. 5, the power consumption log processing method may specifically include the following steps:
step S310: and acquiring load information of the graphics processor and acquiring power consumption statistical information of the battery.
Step S320: and generating a current power consumption log based on the load information of the graphic processor and the power consumption statistical information of the battery.
Step S330: and storing the current power consumption log.
Step S340: and converting the current power consumption log into webpage information, and displaying the current power consumption log in a webpage interface mode.
For detailed description of steps S310 to S340, please refer to steps S210 to S270, which are not described herein again.
Step S350: and analyzing the load information of the graphic processor and the power consumption statistical information of the battery based on the current power consumption log to obtain an analysis result.
In some embodiments, after obtaining the current power consumption log, the load information of the graphics processor and the power consumption statistical information of the battery may be analyzed based on the current power consumption log to obtain an analysis result. Specifically, the load condition of the graphics processor at different times may be analyzed based on the load information of the graphics processor in the current power consumption log, the power consumption condition of the battery at different times may be analyzed based on the power consumption statistical information of the battery in the current power consumption log, and the relationship between the load information of the graphics processor and the power consumption statistical information of the battery at the same time may be analyzed based on the load information of the graphics processor and the power consumption statistical information of the battery in the current power consumption log, which is not limited herein.
Step S360: and when the analysis result represents that the load information of the graphics processor at the same time is larger than a first threshold and the power consumption statistical information of the battery is larger than a second threshold, reducing the load information of the graphics processor according to a preset rule.
In some embodiments, the electronic device is preset with a first threshold and a second threshold, the first threshold is used as a judgment basis for the load information of the graphics processor, and the second threshold is used as a judgment basis for the power consumption statistical information of the battery. Therefore, in this embodiment, when obtaining the load information of the graphics processor at different times based on the current power consumption log, the load information of the graphics processor at different times may be respectively compared with the first threshold to respectively determine whether the load information of the graphics processor at different times is greater than the first threshold, where when the load information of the graphics processor is greater than the first threshold, the load information representing the graphics processor is too large. In addition, when the power consumption statistical information of the battery at different times is obtained based on the current power consumption log, the power consumption statistical information of the battery at different times can be respectively compared with the second threshold value to respectively judge whether the power consumption statistical information of the battery at different times is greater than the second threshold value, wherein when the power consumption statistical information of the battery is greater than the second threshold value, the power consumption of the battery is represented to be too large.
In this embodiment, when the judgment result indicates that the load information of the graphics processor at the same time is greater than the first threshold and the power consumption statistical information of the battery is greater than the second threshold, the load information of the graphics processor at the time is represented as being too large and the power consumption of the battery is represented as being too large, so that the power consumption of the battery caused by the too large load of the graphics processor can be considered as being too large, and the load information of the graphics processor can be reduced according to a preset rule, so as to achieve the purpose of adjusting the power consumption of the battery.
Referring to fig. 6, fig. 6 is a flowchart illustrating an embodiment of step S360 of the power consumption log processing method illustrated in fig. 5. As will be explained in detail with respect to the flow shown in fig. 6, the method may specifically include the following steps:
step S361A: and acquiring a first file to be processed by the graphics processor.
In some embodiments, the electronic device may acquire a file that needs to be processed by the graphics processor as a first file to be processed. For example, if there is a 500M video file currently needing to be processed by the graphics processor, the 500M video file may be used as the first file to be processed, if the 500M video file has already processed 200M, the remaining 300M video file may be used as the first file to be processed, if the 300M video file has already processed 150M, the remaining 150M video file may be used as the first file to be processed, and so on, which is not described herein again.
Step S362A: and converting the first file to be processed into the file to be processed by a central processing unit of the electronic equipment after the first file to be processed is processed by the graphic processor.
Further, the electronic device further includes a Central Processing Unit (CPU). After determining the first file to be processed, which needs to be processed by the graphics processor, the first file to be processed may be converted from being processed by the graphics processor to being processed by the central processing unit, thereby reducing the power consumption of the battery by reducing the load information of the graphics processor.
In some embodiments, the electronic device may further obtain load information of the central processing unit, and determine whether the load information of the central processing unit satisfies a specified condition, when the load information of the central processing unit satisfies the specified condition, the first file to be processed may be converted from being processed by the graphics processing unit to being processed by the central processing unit, and when the load information of the central processing unit does not satisfy the specified condition, a part of the first file to be processed may be converted from being processed by the graphics processing unit to being processed by the central processing unit. For example, the specified condition may be a third threshold value, and when the load information of the central processing unit is less than the third threshold value, it may be determined that the load information of the central processing unit satisfies the specified condition, and when the load information of the central processing unit is not less than the third threshold value, it may be determined that the load information of the central processing unit does not satisfy the specified condition.
Referring to fig. 7, fig. 7 is a flowchart illustrating a step S360 of the power consumption log processing method illustrated in fig. 5 according to another embodiment of the present application. As will be explained in detail with respect to the flow shown in fig. 7, the method may specifically include the following steps:
step S361B: and acquiring a second file to be processed by the graphics processor.
In some embodiments, the electronic device may obtain a file that needs to be processed by the graphics processor as the second file to be processed. For example, if there are 400M picture files currently needing to be processed by the graphics processor, the 400M picture files may be used as the second file to be processed.
Step S362B: and acquiring the resolution of the second file to be processed, and judging whether the resolution is greater than a specified resolution.
Further, the electronic device may be preset with a specified resolution, which is used as a criterion for determining the resolution of the second file to be processed. Therefore, in this embodiment, after acquiring the second file to be processed, the electronic device may acquire the resolution of the second file to be processed, and compare the resolution of the second file to be processed with the specified resolution to determine whether the resolution of the second file to be processed is greater than the specified resolution.
Step S363B: and when the resolution is greater than the specified resolution, reducing the resolution of the second file to be processed to obtain a third file to be processed.
When the determination result indicates that the resolution of the second file to be processed is greater than the specified resolution, it may be considered that the resolution of the second file to be processed still does not cause a large influence on the display of the second file to be processed after being reduced, and when the determination result indicates that the resolution of the second file to be processed is not greater than the specified resolution, it may be considered that the resolution of the second file to be processed may cause a large influence on the display of the second file to be processed after being reduced. Therefore, in this embodiment, when the determination result indicates that the resolution of the second file to be processed is greater than the specified resolution, the resolution of the second file to be processed may be reduced, and a third file to be processed may be obtained.
Step S364B: and processing the third file to be processed by the graphics processor.
Further, when the third file to be processed is obtained, the third file to be processed may be processed by the graphics processor. It can be understood that, since the resolution of the second file to be processed is higher than that of the third file to be processed, the data amount of the second file to be processed is larger than that of the second file to be processed, so that the data amount processed by the graphics processor for processing the third file to be processed is less than that of the second file to be processed by the graphics processor, and thus the load information of the graphics processor can be reduced, and the power consumption of the battery can be reduced.
Referring to fig. 8, fig. 8 is a flowchart illustrating a step S360 of the power consumption log processing method illustrated in fig. 5 according to another embodiment of the present application. As will be explained in detail with respect to the flow shown in fig. 8, the method may specifically include the following steps:
step S361C: reducing a frame rate of the graphics processor.
In some embodiments, the frame rate of the graphics processor may be reduced, thereby reducing the load information of the graphics processor to reduce the power consumption of the battery.
Step S362C: reducing the frequency of the graphics processor.
In some embodiments, the frequency of the graphics processor may be reduced, thereby reducing the load information of the graphics processor to reduce the power consumption of the battery.
In another embodiment of the power consumption log processing method provided by the present application, load information of a graphics processor is obtained, power consumption statistical information of a battery is obtained, a current power consumption log is generated and stored based on the load information of the graphics processor and the power consumption statistical information of the battery, the current power consumption log is converted into webpage information, and the current power consumption log is displayed in a form of a webpage interface. And when the analysis result represents that the load information of the graphics processor at the same time is larger than a first threshold and the power consumption statistical information of the battery is larger than a second threshold, reducing the load information of the graphics processor according to a preset rule. Compared with the power consumption log processing method shown in fig. 1, the embodiment also converts the power consumption log into the webpage information for displaying, so that the load expression of the graphics processor of the system at different stages and under different scenes can be conveniently and accurately checked. In addition, the embodiment also reduces the load information of the graphics processor when the load information of the graphics processor and the power consumption statistical information of the battery are both large, so as to achieve the purpose of reducing the power consumption of the electronic equipment.
Referring to fig. 9, fig. 9 is a flowchart illustrating a power consumption log processing method according to another embodiment of the present application. The method is applied to the electronic device, where the electronic device includes a graphics processor and a battery, and as will be described in detail with reference to the flow shown in fig. 9, the power consumption log processing method may specifically include the following steps:
step S410: and when the trigger operation acted on the first control is detected, acquiring the load information of the graphic processor and acquiring the power consumption statistical information of the battery.
In some embodiments, the electronic device further includes a touch screen, and a display interface of the touch screen includes a first control, and the first control is used for starting a function of recording load information of the graphics processor in the power consumption log. Therefore, in this embodiment, when a trigger operation acting on the first control is detected, the load information of the graphics processing and the power consumption statistical information of the battery can be acquired in response to the trigger operation.
In some embodiments, the first control may be triggered by sequentially triggering a "setting" control- "battery" control- "log" control- "gpu load" control in the display interface of the touch screen. As shown in fig. 10, the "gpu load" control shown in fig. 10 is the first control.
Step S420: and generating a current power consumption log based on the load information of the graphic processor and the power consumption statistical information of the battery.
For detailed description of step S420, please refer to step S120, which is not described herein.
Step S430: when a trigger operation acting on the second control is detected, clearing load information of the graphics processor in the current power consumption log.
In some embodiments, the display interface of the electronic device further includes a second control, and the second control is used for starting a function of clearing the load information of the graphics processor in the power consumption log. Therefore, when the user needs to clear the load information of the graphics processor in the power consumption log, the load information of the graphics processor can be cleared in the power consumption log in a manner of touching the second control.
In some embodiments, the first control may be triggered by sequentially triggering a "set" control- "battery" control- "log" control- "reset" control in the display interface of the touch screen. As shown in fig. 10, the "reset" control shown in fig. 10 is the second control.
Step S440: when a trigger operation acting on the third control element is detected, the current power consumption log is derived and saved.
In some embodiments, the display interface of the electronic device further includes a third control, and the second control is used for starting the function of exporting the power consumption log. Therefore, when the user needs to export the current power consumption log, the current power consumption log can be exported by touching the third control, and therefore, in this embodiment, when a trigger operation acting on the third control is detected, the current power consumption log can be exported and saved in response to the trigger operation.
In some embodiments, the third control may be triggered by sequentially triggering the "set" control- "battery" control- "log export" control in the display interface of the touch screen. As shown in fig. 10, the "log export" control shown in fig. 10 is a third control.
Referring to fig. 11, fig. 11 is a flowchart illustrating a step S440 of the power consumption log processing method illustrated in fig. 9 according to the present application. As will be described in detail with respect to the flow shown in fig. 11, the method may specifically include the following steps:
step S441: and when the trigger operation acted on the third control element is detected, outputting prompt information, wherein the prompt information is used for prompting whether to save the current power consumption log or not.
Step S442: and when instruction information indicating that the current power consumption log is saved is received, exporting the current power consumption log and saving.
As one mode, when a trigger operation acting on the third control element is detected, a file name (the current system time in a default case of the file name) prompting the current power consumption log to be saved may be popped up, and when instruction information instructing to save, which is triggered by a user, is received, the current power consumption log is exported and saved.
Step S450: and converting the current power consumption log into webpage information, and displaying the current power consumption log in a webpage interface mode.
For detailed description of step S450, please refer to step S270, which is not described herein again.
In another embodiment of the power consumption log processing method according to the present invention, when a trigger operation acting on the first control is detected, load information of the graphics processor is obtained, power consumption statistical information of the battery is obtained, and a current power consumption log is generated based on the load information of the graphics processor and the power consumption statistical information of the battery. When a trigger operation acting on the second control is detected, the load information of the graphics processor is cleared in the current power consumption log. When the trigger operation acting on the third control element is detected, the current power consumption log is exported and stored, the current power consumption log is converted into webpage information, and the current power consumption log is displayed in a webpage interface mode. Compared with the power consumption log processing method shown in fig. 1, the embodiment also realizes the operations of generating, clearing, exporting and the like of the power consumption log based on the trigger operations for different controls, so as to improve the user experience.
Referring to fig. 12, fig. 12 is a block diagram illustrating a power consumption log processing apparatus 200 according to an embodiment of the present application. The power consumption log processing apparatus 200 is applied to the above-described electronic device including a graphic processor and a battery. As will be explained below with reference to the block diagram shown in fig. 12, the electricity consumption log processing apparatus 200 includes: an information obtaining module 210, a log generating module 220 and a log storing module 230, wherein:
the information obtaining module 210 is configured to obtain load information of the graphics processor, and obtain power consumption statistics information of the battery. Further, the electronic device further includes a touch screen, a display interface of the touch screen includes a first control, the first control is used to control to start a function of recording load information of the graphics processor in the power consumption log, and the information obtaining module 210 includes: an information acquisition submodule, wherein:
and the information recording submodule is used for acquiring the load information of the graphic processor and acquiring the power consumption statistical information of the battery when the trigger operation acted on the first control is detected.
Further, the display interface of the touch screen further includes a second control, where the second control is configured to start a function of clearing load information of the graphics processor in the power consumption log, and the information obtaining module 210 includes: an information removal submodule, wherein:
and the information clearing submodule is used for clearing the load information of the graphics processor in the current power consumption log when the triggering operation acting on the second control is detected.
Further, a third control is further included in the display interface of the touch screen, and the third control is configured to start a function of deriving the power consumption log, where the information obtaining module 210 includes: an information derivation sub-module, wherein:
and the information derivation submodule is used for deriving and saving the current power consumption log when a trigger operation acting on the third control element is detected. Further, the information derivation sub-module includes: a prompt information output unit and an information derivation unit, wherein:
and the prompt information output unit is used for outputting prompt information when the trigger operation acted on the third control element is detected, and the prompt information is used for prompting and selecting whether to save the current power consumption log.
An information deriving unit configured to derive and save the current power consumption log when instruction information instructing to save the current power consumption log is received.
Further, the information obtaining module 210 includes: the power consumption statistical information acquisition system comprises a state information detection submodule, a load information acquisition submodule, a load information uploading submodule and a power consumption statistical information acquisition submodule, wherein:
and the state information detection submodule is used for detecting the state information of the graphics processor.
And the load information acquisition submodule is used for acquiring the load information of the graphics processor through the power native decoder module when the state information of the graphics processor meets the specified condition.
Further, the load information obtaining sub-module includes: a first load information acquisition unit, wherein:
and the first load information acquisition unit is used for acquiring the load information of the graphics processor through the power native decoder module when the graphics processor exits an idle state or the load information of the graphics processor is updated.
Further, the load information obtaining sub-module includes: state information acquisition unit, state information upload unit and second load information acquisition unit, wherein:
and the state information acquisition unit is used for acquiring the state information of the graphics processor from the gpu freq driver module through the status check module when the state information of the graphics processor meets the specified condition.
And the state information uploading unit is used for uploading the state information of the graphics processor to the power native decoder module through the status check module.
And the second load information acquisition unit is used for calling a sysfs interface through the power native decoder module to acquire the load information of the graphic processor from the gpu freq driver module.
Further, the load information obtaining sub-module includes: a third load information obtaining unit and a load information uploading unit, wherein:
a third load information obtaining unit, configured to obtain, by a status check module, load information of the graphics processor from a gpu freq driver module when the state information of the graphics processor satisfies the specified condition.
And the load information uploading unit is used for uploading the load information of the graphics processor to the power native decoder module through the status check module.
And the load information uploading sub-module is used for receiving the load information of the graphics processor uploaded by the power native decoder module through a system power service module.
And the power consumption statistical information acquisition submodule is used for acquiring the power consumption statistical information of the battery through the battery stats service module.
Further, the gpu freq driver module includes a gpu load module, and the information obtaining module 220 further includes: a load information statistics submodule, wherein:
and the load information counting submodule is used for counting the load information of the graphic processor according to a preset time interval through the gpu load module.
A log generating module 220, configured to generate a current power consumption log based on the load information of the graphics processor and the power consumption statistical information of the battery. Further, the log generating module 220 includes: the system comprises a load information sending submodule and a log generating submodule, wherein:
and the load information sending submodule is used for sending the load information of the graphics processor to the battery stats service module through the system power service module.
And the log generation submodule is used for processing the load information of the graphics processor and the power consumption statistical information of the battery through the battery stats service module to generate the current power consumption log.
A log storage module 230, configured to store the current power consumption log.
Further, the electricity consumption log processing apparatus 200 further includes: a log presentation module, wherein:
and the log display module is used for converting the current power consumption log into webpage information and displaying the current power consumption log in a webpage interface mode.
Further, the electricity consumption log processing apparatus 200 further includes: an analysis result obtaining submodule and a load information reducing submodule, wherein:
and the analysis result obtaining submodule is used for analyzing the load information of the graphics processor and the power consumption statistical information of the battery based on the current power consumption log to obtain an analysis result.
And the load information reduction submodule is used for reducing the load information of the graphics processor according to a preset rule when the analysis result represents that the load information of the graphics processor at the same time is larger than a first threshold and the power consumption statistical information of the battery is larger than a second threshold.
Further, the load information reduction sub-module includes: the file processing device comprises a first file to be processed acquiring unit and a processing conversion unit, wherein:
and the first file to be processed acquiring unit is used for acquiring the first file to be processed by the graphics processor.
And the processing conversion unit is used for converting the first file to be processed into the file to be processed by a central processing unit of the electronic equipment.
Further, the load information reduction sub-module includes: a second file to be processed acquiring unit, a resolution judging unit, a third file to be processed acquiring unit and a third file to be processed processing unit, wherein:
and the second file to be processed acquiring unit is used for acquiring a second file to be processed by the graphics processor.
And the resolution judging unit is used for acquiring the resolution of the second file to be processed and judging whether the resolution is greater than the specified resolution.
And the third file to be processed acquiring unit is used for reducing the resolution of the second file to be processed to acquire a third file to be processed when the resolution is greater than the specified resolution.
And the third file to be processed processing unit is used for processing the third file to be processed through the graphics processor.
Further, the load information reduction sub-module includes: a frame rate reduction unit and a frequency reduction unit, wherein:
a frame rate reduction unit for reducing a frame rate of the graphics processor.
A frequency reduction unit to reduce a frequency of the graphics processor.
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.
Referring to fig. 13, a block diagram of an electronic device 100 according to an embodiment of the present disclosure is shown. The electronic device 100 may be a smart phone, a tablet computer, an electronic book, 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 graphics processor 130, a battery 140, 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 programs configured to perform the methods as described in the aforementioned method embodiments.
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. 14, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 300 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 300 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 300 includes a non-volatile computer-readable storage medium. The computer readable storage medium 300 has storage space for program code 310 for performing 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 310 may be compressed, for example, in a suitable form.
To sum up, the power consumption log processing method, device, electronic device, and storage medium according to the embodiments of the present application obtain load information of a graphics processor, obtain power consumption statistical information of a battery, generate a current power consumption log based on the load information of the graphics processor and the power consumption statistical information of the battery, and store the current power consumption log, so that the current power consumption log is generated by obtaining the load information of the graphics processor and based on the load information of the graphics processor, so as to record the load information of the graphics processor in the power consumption log, thereby providing an important basis for scene power consumption analysis and judgment.
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)
- A power consumption log processing method applied to an electronic device including a graphics processor and a battery, the method comprising:acquiring load information of the graphics processor and acquiring power consumption statistical information of the battery;generating a current power consumption log based on the load information of the graphics processor and the power consumption statistical information of the battery;and storing the current power consumption log.
- The method according to claim 1, wherein the electronic device further comprises a touch screen, and a display interface of the touch screen includes a first control, and the first control is configured to start a function of recording load information of a graphics processor in a power consumption log, and the acquiring the load information of the graphics processor and the power consumption statistical information of the battery include:and when the trigger operation acted on the first control is detected, acquiring the load information of the graphic processor and acquiring the power consumption statistical information of the battery.
- The method according to claim 2, further comprising a second control in the display interface of the touch screen, the second control being configured to start a function of clearing load information of a graphics processor from a power consumption log, and after generating the current power consumption log based on the load information of the graphics processor and the power consumption statistical information of the battery, further comprising:when a trigger operation acting on the second control is detected, clearing load information of the graphics processor in the current power consumption log.
- The method according to claim 2 or 3, wherein a third control is further included in the display interface of the touch screen, the third control is configured to turn on a function of deriving a power consumption log, and after generating the current power consumption log based on the load information of the graphics processor and the power consumption statistical information of the battery, the method further includes:when a trigger operation acting on the third control element is detected, the current power consumption log is derived and saved.
- The method of claim 4, wherein said deriving and saving said current power consumption log when a trigger operation on said third control is detected comprises:when the trigger operation acted on the third control element is detected, outputting prompt information, wherein the prompt information is used for prompting whether to save the current power consumption log or not;and when instruction information indicating that the current power consumption log is saved is received, exporting the current power consumption log and saving.
- The method according to any one of claims 1 to 5, wherein after storing the current consumption log, further comprising:and converting the current power consumption log into webpage information, and displaying the current power consumption log in a webpage interface mode.
- The method according to any one of claims 1-6, wherein the obtaining load information of the graphics processor comprises:acquiring load information of the graphics processor through a power native decoder module;and receiving the load information of the graphics processor uploaded by the power native decoder module through a system power service module.
- The method of claim 7, wherein the obtaining power consumption statistics of the battery comprises:and acquiring the power consumption statistical information of the battery through a battery stats service module.
- The method of claim 8, wherein generating a current power consumption log based on the load information of the graphics processor and the power consumption statistics of the battery comprises:sending the load information of the graphics processor to the battery states service module through the system power service module;and processing the load information of the graphics processor and the power consumption statistical information of the battery through the battery stats service module to generate the current power consumption log.
- The method according to any one of claims 7-9, wherein the obtaining load information of the graphics processor through a power native decoder module comprises:and when the graphics processor exits the idle state or the load information of the graphics processor is updated, acquiring the load information of the graphics processor through the power native decoder module.
- The method according to any one of claims 7-10, wherein the obtaining load information of the graphics processor through a power native decoder module comprises:acquiring the state information of the graphics processor from a gpu freq driver module through a status check module;uploading the state information of the graphics processor to the power native decoder module through the status check module;and when the graphics processor exits the idle state, calling a sysfs interface through the power native decoder module to acquire the load information of the graphics processor from the gpu freq driver module.
- The method according to any one of claims 7-10, wherein the obtaining load information of the graphics processor through a power native decoder module comprises:when the graphics processor exits an idle state or the load information of the graphics processor is updated, acquiring the load information of the graphics processor from a gpu freq driver module through a status check module;and uploading the load information of the graphics processor to the power native decoder module through the status check module.
- The method as claimed in claim 11 or 12, wherein the gpu freq driver module comprises a gpu load module, the method further comprising:and counting the load information of the graphics processor according to a preset time interval through the gpu load module.
- The method according to any of claims 1-13, wherein after storing the current consumption log, further comprising:analyzing the load information of the graphic processor and the power consumption statistical information of the battery based on the current power consumption log to obtain an analysis result;and when the analysis result represents that the load information of the graphics processor at the same time is larger than a first threshold and the power consumption statistical information of the battery is larger than a second threshold, reducing the load information of the graphics processor according to a preset rule.
- The method according to claim 14, wherein the reducing the load information of the graphics processor according to the preset rule comprises:acquiring a first file to be processed by the graphics processor;and converting the first file to be processed into the file to be processed by a central processing unit of the electronic equipment after the first file to be processed is processed by the graphic processor.
- The method according to claim 14, wherein the reducing the load information of the graphics processor according to the preset rule comprises:acquiring a second file to be processed by the graphics processor;acquiring the resolution of the second file to be processed, and judging whether the resolution is greater than a specified resolution or not;when the resolution is larger than the specified resolution, reducing the resolution of the second file to be processed to obtain a third file to be processed;and processing the third file to be processed by the graphics processor.
- The method according to claim 14, wherein the reducing the load information of the graphics processor according to the preset rule comprises:reducing a frame rate of the graphics processor; orReducing the frequency of the graphics processor.
- A power consumption log processing apparatus applied to an electronic device including a graphic processor and a battery, the apparatus comprising:the information acquisition module is used for acquiring the load information of the graphics processor and acquiring the power consumption statistical information of the battery;the log generation module is used for generating a current power consumption log based on the load information of the graphics processor and the power consumption statistical information of the battery;and the log storage module is used for storing the current power consumption log.
- An electronic device comprising a graphics processor, a battery, a memory, and a processor, the graphics processor, the battery, and the memory coupled to the processor, the memory storing instructions that, when executed by the processor, the processor performs the method of any of claims 1-17.
- 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.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2019/112341 WO2021077263A1 (en) | 2019-10-21 | 2019-10-21 | Power consumption log processing method and apparatus, electronic device, and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114222980A true CN114222980A (en) | 2022-03-22 |
Family
ID=75619516
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201980099279.4A Pending CN114222980A (en) | 2019-10-21 | 2019-10-21 | Power consumption log processing method, device, electronic equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114222980A (en) |
WO (1) | WO2021077263A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113556402B (en) * | 2021-07-29 | 2024-03-19 | 北京百度网讯科技有限公司 | Data downloading scheduling method and device and electronic equipment |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090234603A1 (en) * | 2008-03-17 | 2009-09-17 | Anritsu Company | System and method for accelerating an electrical measurement instrument using a graphical processing unit |
CN101281639B (en) * | 2008-05-30 | 2010-06-09 | 华硕电脑股份有限公司 | Method for controlling pattern processor operating mode as well as pattern processor |
CN102438230B (en) * | 2011-08-18 | 2014-08-20 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and data service processing method |
US10090864B2 (en) * | 2014-09-22 | 2018-10-02 | Samsung Display Co., Ltd. | System and method for decoding variable length codes |
CN107291603A (en) * | 2017-06-22 | 2017-10-24 | 广东欧珀移动通信有限公司 | Power consumption daily record analytic method, device, mobile terminal and readable storage medium storing program for executing |
CN109688462B (en) * | 2018-11-27 | 2021-06-15 | Oppo广东移动通信有限公司 | Method and device for reducing power consumption of equipment, electronic equipment and storage medium |
CN109688207B (en) * | 2018-12-11 | 2022-06-03 | 北京云中融信网络科技有限公司 | Log transmission method and device and server |
-
2019
- 2019-10-21 CN CN201980099279.4A patent/CN114222980A/en active Pending
- 2019-10-21 WO PCT/CN2019/112341 patent/WO2021077263A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2021077263A1 (en) | 2021-04-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107273130B (en) | Method, device and terminal for accelerating interface drawing | |
US10834424B2 (en) | Method and device for compressing image, and electronic device | |
CN106510720B (en) | User state prompting method and device | |
CN110876180B (en) | Power consumption processing method and device, electronic equipment and computer readable medium | |
CN110392298B (en) | Volume adjusting method, device, equipment and medium | |
WO2020156151A1 (en) | Communication control method and apparatus, and mobile terminal and storage medium | |
WO2021057665A1 (en) | Data storage method and apparatus, mobile terminal, and storage medium | |
CN114175748B (en) | Communication frequency adjusting method, device, electronic equipment and storage medium | |
CN112840663B (en) | Video encoding method, video encoding device, electronic equipment and storage medium | |
CN111124173A (en) | Working state switching method and device of touch screen, mobile terminal and storage medium | |
CN112530205A (en) | Airport parking apron airplane state detection method and device | |
CN110830653B (en) | Sensor control method, sensor control device, mobile terminal and storage medium | |
CN110599581B (en) | Image model data processing method and device and electronic equipment | |
CN111464760A (en) | Dynamic image generation method and device and terminal equipment | |
CN111273769A (en) | Equipment control method and device, electronic equipment and storage medium | |
CN109062648B (en) | Information processing method and device, mobile terminal and storage medium | |
CN114222980A (en) | Power consumption log processing method, device, electronic equipment and storage medium | |
CN106445353A (en) | Display method and device of super-large pictures and electronic equipment | |
CN111459682B (en) | Frequency adjustment method, device, electronic equipment and storage medium | |
CN112887717B (en) | Intelligent terminal video coding optimization method, device, equipment and storage medium | |
CN112672405B (en) | Power consumption calculation method, device, storage medium, electronic equipment and server | |
WO2021129489A1 (en) | Application precompiling method and apparatus, electronic device, and storage medium | |
US8922491B2 (en) | Method and apparatus enabling keystroke acceleration | |
CN109656645A (en) | Presentation time determines the determination method and device of method and page rendering deadline | |
CN105573705A (en) | Display control method and terminal |
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 |