CN110427085B - Electronic equipment power supply method and device and electronic equipment - Google Patents
Electronic equipment power supply method and device and electronic equipment Download PDFInfo
- Publication number
- CN110427085B CN110427085B CN201910689547.XA CN201910689547A CN110427085B CN 110427085 B CN110427085 B CN 110427085B CN 201910689547 A CN201910689547 A CN 201910689547A CN 110427085 B CN110427085 B CN 110427085B
- Authority
- CN
- China
- Prior art keywords
- power consumption
- mobile processor
- power supply
- battery
- target application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/20—Cooling means
- G06F1/206—Cooling means comprising thermal management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/263—Arrangements for using multiple switchable power supplies, e.g. battery and AC
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Power Engineering (AREA)
- Power Sources (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Secondary Cells (AREA)
Abstract
The application provides a method and a device for supplying power to electronic equipment and the electronic equipment, wherein when the electronic equipment runs at least two applications, the total power consumption values corresponding to the at least two applications are obtained; determining a target application according to the magnitude of the total power consumption value corresponding to each of the at least two applications; acquiring processing power consumption information corresponding to a target application, wherein the processing power consumption information is the power consumption information of a mobile processor corresponding to the target application; determining a target power supply battery corresponding to the mobile processor from candidate power supply batteries according to the processing power consumption information, wherein the candidate power supply batteries comprise: lithium batteries and graphene batteries. According to the method, the target application corresponding to the maximum power consumption value is obtained according to the total power consumption values of at least two applications, and the two batteries are distributed to the mobile processor corresponding to the target application for power supply according to the processing power consumption information of the target application, so that the power supply current of a single mobile processor can be reduced, the heat productivity of electronic equipment is reduced, the temperature of the electronic equipment is reduced, and the service life of the batteries is prolonged.
Description
Technical Field
The present disclosure relates to the field of battery power supply, and in particular, to a method and an apparatus for supplying power to an electronic device, and a computer-readable storage medium.
Background
With the development of graphene technology, a graphene battery technology appears, and the graphene battery is a new energy battery developed by utilizing the characteristic that lithium ions rapidly shuttle in a large quantity between the surface of graphene and an electrode, and has the characteristics of high conductivity, high strength, ultra-light weight and the like;
the lithium battery is mostly adopted to supply power in the existing electronic equipment, and when the lithium battery is adopted to supply power to the electronic equipment, because the use frequency of application programs in the electronic equipment is very high, if a plurality of applications are started simultaneously, the electronic equipment can work under high load, the temperature of the electronic equipment is increased, and the service life of the battery is further shortened.
The mobile phone CPU basically runs when using various functions of the mobile phone at ordinary times, the CPU starts running from the moment when a user lights a mobile phone screen, the user clicks a sliding screen, opens an APP, takes a picture, listens to a song and a video, makes a call and sends a short message, and the CPU supports the operation of the user in silently running.
GPUs generally do not operate actively, and use a mode of operation on demand. That is to say, when the pressure of the CPU is too high, or the mobile phone needs to render a complex image and process 3D data, the GPU will actively intervene, and the UI and transition special effects on the mobile phone are rendered by the GPU, but the CPU can do the same, and the GPU plays an additional role.
Disclosure of Invention
The embodiment of the application provides a method and a device for supplying power to electronic equipment, the electronic equipment and a computer readable storage medium, which can reduce the temperature of the electronic equipment and prolong the service life of a battery.
A method of powering an electronic device, the electronic device comprising a lithium battery and a graphene battery, the method comprising:
when the electronic equipment runs at least two applications, acquiring total power consumption values corresponding to the at least two applications respectively;
determining a target application according to the magnitude of the total power consumption value corresponding to each of the at least two applications;
acquiring processing power consumption information corresponding to the target application, wherein the processing power consumption information is power consumption information of a mobile processor corresponding to the target application;
determining a target power supply battery corresponding to the mobile processor from candidate power supply batteries according to the processing power consumption information, wherein the candidate power supply batteries comprise: the lithium battery and the graphene battery.
A power supply device of an electronic apparatus provided with a lithium battery and a graphene battery, the device comprising:
the electronic equipment comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring total power consumption values corresponding to at least two applications when the electronic equipment runs the at least two applications;
the first determining module is used for determining a target application according to the size of the total power consumption value corresponding to each of the at least two applications;
a second obtaining module, configured to obtain processing power consumption information corresponding to the target application, where the processing power consumption information is power consumption information of a mobile processor corresponding to the target application;
a second determining module, configured to determine, according to the processing power consumption information, a target power supply battery corresponding to the mobile processor from candidate power supply batteries, where the candidate power supply batteries include: the lithium battery and the graphene battery.
An electronic device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of the electronic device power supply method.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method.
The method and the device for supplying power to the electronic equipment, the electronic equipment and the computer-readable storage medium enable the electronic equipment to comprise the lithium battery and the graphene battery, and the method comprises the following steps: when the electronic equipment runs at least two applications, acquiring total power consumption values corresponding to the at least two applications respectively; determining a target application according to the magnitude of the total power consumption value corresponding to each of the at least two applications; acquiring processing power consumption information corresponding to the target application, wherein the processing power consumption information is power consumption information of a mobile processor corresponding to the target application; determining a target power supply battery corresponding to the mobile processor from candidate power supply batteries according to the processing power consumption information, wherein the candidate power supply batteries comprise: the lithium battery and the graphene battery. According to the method, the target application corresponding to the maximum power consumption value is obtained according to the total power consumption values of at least two applications, and the two batteries are distributed to the mobile processor corresponding to the target application for power supply according to the processing power consumption information of the target application, so that the power supply current of a single mobile processor can be reduced, the heat productivity of electronic equipment is reduced, the temperature of the electronic equipment is reduced, and the service life of the batteries is prolonged.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram illustrating an exemplary application of a method for powering an electronic device;
FIG. 2 is a flow diagram of a method for powering an electronic device in one embodiment;
FIG. 3 is a flow diagram that illustrates determining a target power supply battery for a mobile processor from candidate power supply batteries based on processing power consumption information, according to an embodiment;
FIG. 4 is a flow diagram that illustrates determining a first mobile processor and a second mobile processor from among various mobile processors based on processing power consumption information corresponding to a target application, under an embodiment;
FIG. 5 is a flow chart of a method for powering an electronic device in accordance with yet another embodiment of the present application;
FIG. 6 is a flow chart of a method for powering an electronic device in accordance with yet another embodiment of the present application;
FIG. 7 is a block diagram of a power supply apparatus of an electronic device according to an embodiment;
fig. 8 is a schematic diagram of an internal structure of an electronic device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first mobile processor may be referred to as a second mobile processor, and similarly, a second mobile processor may be referred to as a first mobile processor, without departing from the scope of the present application. The first mobile processor and the second mobile processor are both mobile processors, but they are not the same mobile processor.
Fig. 1 is a schematic application environment diagram of a method for supplying power to an electronic device in an embodiment. As shown in fig. 1, the application environment includes an electronic device 110. When the electronic device 110 runs at least two applications, acquiring respective corresponding total power consumption values of the at least two applications; determining a target application according to the magnitude of the total power consumption value corresponding to each of the at least two applications; acquiring processing power consumption information corresponding to a target application, wherein the processing power consumption information is the power consumption information of a mobile processor corresponding to the target application; determining a target power supply battery corresponding to the mobile processor from candidate power supply batteries according to the processing power consumption information, wherein the candidate power supply batteries comprise: lithium batteries and graphene batteries. It is to be understood that the electronic device may not be limited to various mobile phones, computers, portable devices, and the like.
FIG. 2 is a flow diagram of a method for powering an electronic device in one embodiment. The method for supplying power to the electronic device in this embodiment is described by taking the terminal operating in fig. 1 as an example. As shown in fig. 2, the method for supplying power to the electronic device includes: step 202 to step 208.
Wherein, the total power consumption value can be calculated according to the average power consumption of each application in a unit time in the running state. The at least two applications may be any applications on the electronic device, and may be applications in a preset list, where the preset list lists applications in which the total power consumption value exceeds the power consumption threshold, and the power consumption threshold may be defined by an engineer according to actual needs. That is, applications with larger total power consumption values, such as social software, video software, game software, and the like, are listed in the list.
Specifically, when the electronic device runs at least two applications, the average power consumption of each application in the at least two applications in the running state within a unit time is obtained, and the total power consumption value corresponding to each application is calculated according to the average power consumption of each application.
And 204, determining a target application according to the size of the total power consumption value corresponding to each of the at least two applications.
Specifically, the total power consumption value corresponding to each application is calculated according to the average power consumption of each application. Each application in the at least two applications corresponds to a total power consumption value, a target application is determined according to the total power consumption value of each application, and the application with the maximum total power consumption value can be selected as the target application. For example, the electronic device runs three applications, such as WeChat, Aiqiyi video and Baidu cloud disk, the total power consumption value corresponding to the Aiqiyi video is W1, the total power consumption value corresponding to the WeChat is W2, the total power consumption value corresponding to the Baidu cloud disk is W3, and the total power consumption values corresponding to the three applications are: w1> W2> W3, the application corresponding to the maximum total power consumption value, that is, the arcade video corresponding to W1, may be selected as the target application, and the application with the second largest value may also be selected as the target application according to the size of the total power consumption value, which is not described herein.
And step 206, acquiring processing power consumption information corresponding to the target application, wherein the processing power consumption information is the power consumption information of the mobile processor corresponding to the target application.
Wherein, processing the power consumption information refers to the power consumption information of a mobile processor corresponding to the target application when the electronic device runs the target application, and the mobile processor is specifically for the mobile terminal, for example: the mobile processor is different from a desktop CPU in that the mobile processor generally has lower normal working voltage, smaller core, much lower calorific value than the desktop CPU, can stably operate at higher temperature and has lower energy consumption.
Specifically, the target application is determined according to the total power consumption value of each application, and then the power consumption of the mobile processor corresponding to the target application is obtained when the electronic device runs the target application. The mobile processor corresponding to the target application can be single or multiple. And when the mobile processor corresponding to the target application is multiple, acquiring the power consumption value of each mobile processor corresponding to the running target application.
The graphene battery is a honeycomb-shaped planar thin film formed by carbon atoms in an sp2 hybridization mode, and is a two-dimensional material with the thickness of only one atomic layer. The novel energy battery utilizes the characteristic that lithium ions rapidly shuttle in large quantities between the graphene surface and the electrode. The graphene battery has the characteristics of strong power supply, large capacity, long service life, high conductivity, high strength, ultra-light weight and the like. The lithium ion in the lithium ion battery refers to an energy storage substance in the battery, and battery reaction occurs in the charging and discharging process, and the lithium ion battery is a battery which uses lithium metal or lithium alloy as a negative electrode material and uses a non-aqueous electrolyte solution.
Specifically, the target power supply battery is determined from the candidate power supply batteries according to the processing power consumption information corresponding to the target application, and the number of the mobile processors may be one or more. When the mobile processor may be plural, the processing power consumption information may include power consumption values corresponding to the respective mobile processors. The candidate power supply battery includes: lithium batteries and graphene batteries, the target power supply battery is used for supplying power to the mobile processor. And determining a target power supply battery from the candidate power supply batteries according to the processing power consumption information corresponding to the target application to supply power to the mobile processor corresponding to the processing power consumption information. When the mobile processor is single, selecting a lithium battery or a graphene battery from candidate power supply batteries to supply power to the mobile processor. When the mobile processors are multiple, the target power supply batteries can also be multiple, and the power supply of the target power supply batteries corresponding to the mobile processors is distributed to the mobile processors according to the power consumption information of the mobile processors.
According to the method for supplying power to the electronic equipment, when the electronic equipment runs at least two applications, the total power consumption value corresponding to each of the at least two applications is obtained. And determining the target application according to the size of the total power consumption value corresponding to each of the at least two applications. And acquiring processing power consumption information corresponding to the target application, wherein the processing power consumption information is the power consumption information of the mobile processor corresponding to the target application. Determining a target power supply battery corresponding to the mobile processor from candidate power supply batteries according to the processing power consumption information, wherein the candidate power supply batteries comprise: lithium batteries and graphene batteries. According to the method, the target application corresponding to the maximum power consumption value is obtained according to the total power consumption values of at least two applications, and the two batteries are distributed to the mobile processor corresponding to the target application for power supply according to the processing power consumption information of the target application, so that the power supply current of a single mobile processor can be reduced, the heat productivity of electronic equipment is reduced, the temperature of the electronic equipment is reduced, and the service life of the batteries is prolonged.
Fig. 3 is a flowchart for determining a target power supply battery corresponding to a mobile processor from candidate power supply batteries according to processing power consumption information in an embodiment, an electronic device includes two mobile processors, and the method includes steps 302 to 304.
Specifically, the electronic device includes two mobile processors, and the processing power consumption information corresponding to the target application includes: first processing power consumption information corresponding to the first mobile processor and second processing power consumption information corresponding to the second mobile processor. And determining a first mobile processor and a second mobile processor according to power consumption estimated values corresponding to the first processing power consumption information and the second processing power consumption information respectively, wherein the power consumption of the first mobile processor exceeds the power consumption of the second mobile processor.
And 304, supplying power to the first mobile processor by using the graphene battery, and supplying power to the second mobile processor by using the lithium battery.
Specifically, the power consumption of the first mobile processor exceeds that of the second mobile processor to control the graphene battery to be connected with the first mobile processor, and the first mobile processor with the larger power consumption of the graphene battery is used for supplying power. And controlling the lithium battery to be connected with the second mobile processor, and supplying power to the second mobile processor with lower power consumption by utilizing the lithium battery.
Fig. 4 is a flowchart illustrating determining a first mobile processor and a second mobile processor from each mobile processor according to processing power consumption information corresponding to a target application in an embodiment, where the mobile processor includes: the mobile processor generally includes a Central Processing Unit (CPU) and/or a Graphics Processing Unit (GPU), the CPU performs general-purpose computing functions, and the GPU performs 2D and 3D Graphics drawing, operation, and display functions. The GPU chip is generally next to the CPU chip, the GPU being the "brain" of the display card, which determines the grade and most of the performance of the display card, the GPU being a highly integrated chip containing all the elements necessary for graphics processing. And data exchange is carried out between the GPU and the CPU through the RAM memory. The processing power consumption information of the target application may include a CPU power consumption value and/or a GPU power consumption value. The CPU power consumption value refers to a power consumption value for executing an operation corresponding to the target application, and the GPU power consumption value refers to a power consumption value for executing an operation corresponding to the target application. The method includes steps 402 through 406.
And 402, acquiring a CPU working parameter corresponding to the target application, and calculating a CPU power consumption value corresponding to the target application according to the CPU working parameter.
The CPU operating parameters corresponding to the target application may include: when the target application is operated, the mobile processor CPU corresponding to the target application: CPU core number, CPU operating frequency, CPU load rate, CPU temperature, etc. The CPU power consumption value corresponding to the target application refers to the power consumption of the CPU when the target application is correspondingly operated.
Specifically, data such as the number of CPU cores, the CPU working frequency, the CPU temperature, the CPU load rate and the like related to running the target application recorded in the CPU are obtained, and the CPU power consumption value corresponding to the target application is obtained according to the CPU working parameter reason corresponding to the target application and the CPU power consumption estimation model.
And step 404, acquiring GPU working parameters corresponding to the target application, and calculating a GPU power consumption value corresponding to the target application according to the GPU working parameters.
The GPU working parameters corresponding to the target application comprise: when the target application is operated, the GPU of the mobile processor corresponding to the target application is as follows: GPU frame rate, GPU resolution, GPU operating frequency, GPU temperature and the like.
Specifically, data such as the number of cores of the GPU, the operating frequency of the GPU, the temperature of the GPU, the load factor of the GPU, and the like, which are recorded in the GPU and involved in running the target application, are obtained, and a GPU power consumption value corresponding to the target application is obtained according to the GPU operating parameter reason corresponding to the target application and the GPU power consumption estimation model.
And 406, determining a first mobile processor and a second mobile processor according to the CPU power consumption value and the GPU power consumption value corresponding to the target application.
Specifically, the target power supply battery is determined from candidate power supply batteries according to processing power consumption information corresponding to the target application, the mobile processor mainly comprises a CPU and/or a GPU, the processing power consumption information may include a CPU power consumption value and/or a GPU power consumption value, and the candidate power supply batteries include: lithium batteries and graphene batteries. And determining a target power supply battery from the candidate power supply batteries according to the processing power consumption information corresponding to the target application to supply power for the mobile processor. Namely, the two mobile processors are allocated with the corresponding target power supply batteries for power supply according to the power consumption information of the two mobile processors. For example, when the processing power consumption information includes a CPU power consumption value and a GPU power consumption value, and the CPU power consumption value is greater than the GPU power consumption value, the graphene battery may be used to supply power to the CPU, and the lithium battery supplies power to the GPU.
Fig. 5 is a flowchart of a method for powering an electronic device according to another embodiment of the present application, where the method for powering the electronic device further includes: step 502 to step 506.
Specifically, the remaining capacity of the graphene is detected, and the remaining capacity may be a remaining proportion, such as a numerical value of 3%, 5%, 10%, 15%, or 20%, or may be a remaining capacity value, such as a total capacity of 5000mA, and a remaining capacity numerical value of 300mA, 500mA, 800mA, or 1000 mA. And recording the obtained residual capacity of the graphene battery as a first capacity value. The remaining capacity ratio, the total capacity and the remaining capacity of the graphene battery are all listed for illustration, and the values are not limited to the values.
And step 504, detecting the residual electric quantity of the lithium battery and acquiring a second electric quantity value.
Specifically, the remaining capacity of the lithium battery is detected, and the remaining capacity may be a remaining proportion, such as a numerical value of 3%, 5%, 10%, 15%, or 20%, or may be a remaining capacity value, such as a total capacity of 5000mA, a remaining capacity value of 300mA, 500mA, 800mA, or 1000mA, or the like. And recording the obtained residual electric quantity of the lithium battery as a second electric quantity value. It should be noted that, the above-mentioned remaining capacity ratio, total capacity and remaining capacity of the lithium battery are all used for illustration, and the value is not limited thereto.
Specifically, the candidate power supply battery comprises a graphene battery and a lithium battery, and the power supply relation of the candidate power supply battery to the mobile processor is determined according to the obtained first electric quantity value of the graphene battery and the second electric quantity value of the lithium battery. For example, when the first electric quantity value is greater than the second electric quantity value, the graphene battery corresponding to the first electric quantity value is preferentially selected to supply power to the mobile processor; when the second electric quantity value is far larger than the first electric quantity value, the lithium battery corresponding to the second electric quantity value can be preferably selected to supply power to the mobile processor.
In one embodiment, the mobile processor includes two, and determining a target power supply battery corresponding to the mobile processor from candidate power supply batteries according to the remaining capacity of the graphene battery and the remaining capacity of the lithium battery includes: when the difference value between the second electric quantity value and the first electric quantity value is larger than the difference threshold value, the lithium battery is used for supplying power to the first mobile processor, the graphene battery is used for supplying power to the second mobile processor, and the power consumption of the first mobile processor exceeds that of the second mobile processor.
Specifically, when the difference between the second electric quantity value and the first electric quantity value is greater than the difference threshold, that is, the second electric quantity value is much greater than the first electric quantity value, the difference threshold may be set by an engineer according to actual requirements, which is not limited herein. Although the power supply performance of the graphene battery is due to the lithium battery, the electric quantity of the graphene battery is lower than that of the lithium ion battery, for example, the remaining electric quantity of the graphene battery is 5% and the remaining electric quantity of the lithium ion battery is 50%, the lithium battery corresponding to the second electric quantity value can be preferably selected to supply power to the mobile processor, while the power consumption of the first mobile processor exceeds that of the second mobile processor, at this time, the lithium battery can be selected to supply power to the first mobile processor, and the graphene battery is used to supply power to the second mobile processor.
In one embodiment, the mobile processor includes one, and determining a target power supply battery corresponding to the mobile processor from candidate power supply batteries according to the remaining capacity of the graphene battery and the remaining capacity of the lithium battery includes: and when the residual electric quantity of the graphene battery is greater than the electric quantity threshold value, the graphene battery is utilized to supply power for the mobile processor. And when the residual electric quantity of the graphene battery is less than or equal to the electric quantity threshold value, the lithium battery is used for supplying power to the mobile processor.
Specifically, when the remaining capacity of the graphene battery is greater than the capacity threshold, that is, the capacity of the graphene battery is very low, the capacity threshold may be set by an engineer according to actual requirements, and the setting is not limited herein. Although the power supply performance of the graphene battery is due to the lithium battery, the remaining capacity of the graphene battery is low, for example, the remaining capacity of the graphene battery is less than 10% or less than 20%, and the lithium battery is preferentially used for supplying power to a single mobile processor. When the residual capacity of the graphene battery is larger than the capacity threshold, the graphene battery is used for supplying power to the mobile processor and supplying power to the single mobile processor.
Fig. 6 is a flow chart of a method for powering an electronic device running an application in yet another embodiment of the present application, the method further comprising: step 602 to step 606.
Specifically, when the electronic device runs an application alone, the processing power consumption information of the application is correspondingly obtained, and if the mobile processor mainly includes the first mobile processor and/or the second mobile processor, the corresponding processing power consumption information may include the power consumption information of the first mobile processor and the power consumption information of the second mobile processor, such as a CPU power consumption value and/or a GPU power consumption value.
And step 604, determining a first mobile processor and a second mobile processor corresponding to the application according to the processing power consumption information corresponding to the application.
Specifically, the electronic device includes two mobile processors, and the processing power consumption information corresponding to the target application includes: first processing power consumption information corresponding to the first mobile processor and second processing power consumption information corresponding to the second mobile processor. And determining a first mobile processor and a second mobile processor according to power consumption estimated values corresponding to the first processing power consumption information and the second processing power consumption information respectively, wherein the power consumption of the first mobile processor exceeds the power consumption of the second mobile processor.
And 606, supplying power to a first mobile processor corresponding to the application by using the graphene battery, and supplying power to a second mobile processor corresponding to the application by using the lithium battery.
Specifically, the candidate power supply battery includes: lithium batteries and graphene batteries. When the mobile processor is single, selecting a lithium battery or a graphene battery from candidate power supply batteries to supply power to the mobile processor. When the mobile processors are multiple, the target power supply batteries can also be multiple, and the power supply of the target power supply batteries corresponding to the mobile processors is distributed to the mobile processors according to the power consumption information of the mobile processors. And if the power consumption corresponding to the first mobile processor is larger than that corresponding to the second mobile processor, the graphene battery is used for supplying power to the first mobile processor, and the lithium battery is used for supplying power to the second mobile processor.
It should be understood that although the various steps in the flow charts of fig. 2-6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-6 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
Fig. 7 is a block diagram of a power supply device of an electronic apparatus according to an embodiment. Electronic equipment is provided with lithium cell and graphite alkene battery, and the device includes: a first acquisition module 702, a first determination module 704, a second acquisition module 706, and a second determination module 708.
A first obtaining module 702, configured to obtain, when the electronic device runs at least two applications, a total power consumption value corresponding to each of the at least two applications.
Wherein, the total power consumption value can be calculated according to the average power consumption of each application in a unit time in the running state. The at least two applications may be any applications on the electronic device, and may be applications in a preset list, where the preset list lists applications in which the total power consumption value exceeds the power consumption threshold, and the power consumption threshold may be defined by an engineer according to actual needs. That is, applications with larger total power consumption values, such as social software, video software, game software, and the like, are listed in the list.
Specifically, when the electronic device runs at least two applications, the first obtaining module 702 obtains an average power consumption of each application in the at least two applications in a unit time in a running state, and calculates a total power consumption value corresponding to each application according to the average power consumption of each application.
A first determining module 704, configured to determine a target application according to a size of a total power consumption value corresponding to each of at least two applications.
Specifically, the first determining module 704 calculates a total power consumption value corresponding to each application according to the average power consumption of each application. Each application in the at least two applications corresponds to a total power consumption value, a target application is determined according to the total power consumption value of each application, and the application with the maximum total power consumption value can be selected as the target application. For example, the electronic device runs three applications, such as WeChat, Aiqiyi video and Baidu cloud disk, the total power consumption value corresponding to the Aiqiyi video is W1, the total power consumption value corresponding to the WeChat is W2, the total power consumption value corresponding to the Baidu cloud disk is W3, and the total power consumption values corresponding to the three applications are: w1> W2> W3, the application corresponding to the maximum total power consumption value, that is, the arcade video corresponding to W1, may be selected as the target application, and the application with the second largest value may also be selected as the target application according to the size of the total power consumption value, which is not described herein.
The second obtaining module 706 is configured to obtain processing power consumption information corresponding to the target application, where the processing power consumption information is power consumption information of a mobile processor corresponding to the target application.
Wherein, processing the power consumption information refers to the power consumption information of a mobile processor corresponding to the target application when the electronic device runs the target application, and the mobile processor is specifically for the mobile terminal, for example: the mobile processor is different from a desktop CPU in that the mobile processor generally has lower normal working voltage, smaller core, much lower calorific value than the desktop CPU, can stably operate at higher temperature and has lower energy consumption.
Specifically, the second obtaining module 706 determines the target application according to the total power consumption value of each application, and then obtains the power consumption of the mobile processor corresponding to the target application when the electronic device runs the target application. The mobile processor corresponding to the target application can be single or multiple. And when the mobile processor corresponding to the target application is multiple, acquiring the power consumption value of each mobile processor corresponding to the running target application.
A second determining module 708, configured to determine, according to the processing power consumption information, a target power supply battery corresponding to the mobile processor from candidate power supply batteries, where the candidate power supply batteries include: lithium batteries and graphene batteries.
The graphene battery is a honeycomb-shaped planar thin film formed by carbon atoms in an sp2 hybridization mode, and is a two-dimensional material with the thickness of only one atomic layer. The novel energy battery utilizes the characteristic that lithium ions rapidly shuttle in large quantities between the graphene surface and the electrode. The graphene battery has the characteristics of strong power supply, large capacity, long service life, high conductivity, high strength, ultra-light weight and the like. The lithium ion in the lithium ion battery refers to an energy storage substance in the battery, and battery reaction occurs in the charging and discharging process, and the lithium ion battery is a battery which uses lithium metal or lithium alloy as a negative electrode material and uses a non-aqueous electrolyte solution.
Specifically, the second determining module 708 determines the target power supply battery from the candidate power supply batteries according to the processing power consumption information corresponding to the target application, and the mobile processor may be one or more. When the mobile processor may be plural, the processing power consumption information may include power consumption values corresponding to the respective mobile processors. The candidate power supply battery includes: lithium batteries and graphene batteries, the target power supply battery is used for supplying power to the mobile processor. And determining a target power supply battery from the candidate power supply batteries according to the processing power consumption information corresponding to the target application to supply power to the mobile processor corresponding to the processing power consumption information. When the mobile processor is single, selecting a lithium battery or a graphene battery from candidate power supply batteries to supply power to the mobile processor. When the mobile processors are multiple, the target power supply batteries can also be multiple, and the power supply of the target power supply batteries corresponding to the mobile processors is distributed to the mobile processors according to the power consumption information of the mobile processors.
The application provides a power supply unit of electronic equipment includes: a first obtaining module 702, configured to obtain, when the electronic device runs at least two applications, a total power consumption value corresponding to each of the at least two applications; a first determining module 704, configured to determine a target application according to a size of a total power consumption value corresponding to each of at least two applications; a second obtaining module 706, configured to obtain processing power consumption information corresponding to the target application, where the processing power consumption information is power consumption information of a mobile processor corresponding to the target application; a second determining module 708, configured to determine, according to the processing power consumption information, a target power supply battery corresponding to the mobile processor from candidate power supply batteries, where the candidate power supply batteries include: lithium batteries and graphene batteries. The device obtains the target application corresponding to the maximum power consumption value according to the total power consumption values of at least two applications, and distributes the two batteries to the mobile processor corresponding to the target application for power supply according to the processing power consumption information of the target application, so that the power supply current of a single mobile processor can be reduced, the heat productivity of electronic equipment is reduced, the temperature of the electronic equipment is reduced, and the service life of the batteries is prolonged.
In one embodiment, the second determining module 708 is configured to determine a first mobile processor and a second mobile processor from the mobile processors according to the processing power consumption information corresponding to the target application, where the power consumption of the first mobile processor exceeds the power consumption of the second mobile processor; the graphene battery is used for supplying power for the first mobile processor, and the lithium battery is used for supplying power for the second mobile processor.
In one embodiment, a mobile processor includes: the second determining module 708 is further configured to obtain a CPU working parameter corresponding to the target application, and calculate a CPU power consumption value corresponding to the target application according to the CPU working parameter; acquiring GPU working parameters corresponding to the target application, and calculating a GPU power consumption value corresponding to the target application according to the GPU working parameters; and determining a first mobile processor and a second mobile processor according to the CPU power consumption value and the GPU power consumption value corresponding to the target application.
In one embodiment, the device further comprises a third determining module, wherein the third determining module is used for detecting the remaining capacity of the graphene battery and acquiring a first capacity value; detecting the residual electric quantity of the lithium battery and acquiring a second electric quantity value; and determining a target power supply battery corresponding to the mobile processor from the candidate power supply batteries according to the first electric quantity value and the second electric quantity value.
In one embodiment, the mobile processors include two mobile processors, and the third determining module is further configured to, when a difference between the second electric quantity value and the first electric quantity value is greater than a difference threshold value, power the first mobile processor using a lithium battery, and power the second mobile processor using a graphene battery, where power consumption of the first mobile processor exceeds power consumption of the second mobile processor.
In one embodiment, the mobile processor comprises a third determining module, and the third determining module is further configured to utilize the graphene battery to supply power to the mobile processor when the remaining capacity of the graphene battery is greater than a capacity threshold; and when the residual electric quantity of the graphene battery is larger than or equal to the electric quantity threshold value, the lithium battery is used for supplying power to the mobile processor.
In one embodiment, the device further comprises a single application power supply module for acquiring processing power consumption information corresponding to the application; determining a first mobile processor and a second mobile processor corresponding to the application according to the processing power consumption information corresponding to the application; the method comprises the steps of utilizing a graphene battery to supply power for a first mobile processor corresponding to an application, and utilizing a lithium battery to supply power for a second mobile processor corresponding to the application.
The division of each module in the power supply device of the electronic device is only used for illustration, and in other embodiments, the power supply device of the electronic device may be divided into different modules as needed to complete all or part of the functions of the power supply device of the electronic device.
For specific definition of the power supply device of the electronic device, reference may be made to the above definition of the method for supplying power to the electronic device, and details are not described here. The modules in the power supply device of the electronic equipment can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Fig. 8 is a schematic diagram of an internal structure of an electronic device in one embodiment. As shown in fig. 8, the electronic device includes a processor and a memory connected by a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole electronic equipment. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by a processor to implement a method for powering an electronic device provided in the following embodiments. The internal memory provides a cached execution environment for the operating system computer programs in the non-volatile storage medium. The electronic device may be a mobile phone, a tablet computer, or a personal digital assistant or a wearable device, etc.
The implementation of each module in the power supply device of the electronic device provided in the embodiment of the present application may be in the form of a computer program. The computer program may be run on a terminal or a server. The program modules constituted by the computer program may be stored on the memory of the terminal or the server. Which when executed by a processor, performs the steps of the method described in the embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of the electronic device power supply method. A computer program product containing instructions which, when run on a computer, cause the computer to perform a method of powering an electronic device.
Any reference to memory, storage, database, or other medium used by embodiments of the present application may include non-volatile and/or volatile memory. Suitable non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A method for supplying power to an electronic device, wherein the electronic device comprises a lithium battery and a graphene battery, and the method comprises the following steps:
when the electronic equipment runs at least two applications, acquiring total power consumption values corresponding to the at least two applications respectively;
determining a target application according to the magnitude of the total power consumption value corresponding to each of the at least two applications;
acquiring processing power consumption information corresponding to the target application, wherein the processing power consumption information is power consumption information of a mobile processor corresponding to the target application;
determining a target power supply battery corresponding to the mobile processor from candidate power supply batteries according to the processing power consumption information, wherein the candidate power supply batteries comprise: the lithium battery and the graphene battery.
2. The method of claim 1, wherein the mobile processors include two, and wherein determining the target power supply battery corresponding to the mobile processor from the candidate power supply batteries according to the processing power consumption information comprises:
determining a first mobile processor and a second mobile processor from each mobile processor according to processing power consumption information corresponding to the target application, wherein the power consumption of the first mobile processor exceeds the power consumption of the second mobile processor;
and the graphene battery is utilized to supply power for the first mobile processor, and the lithium battery is utilized to supply power for the second mobile processor.
3. The method of claim 2, wherein the mobile processor comprises: the method comprises the following steps that a GPU and a CPU are determined from each mobile processor according to processing power consumption information corresponding to the target application, and the method comprises the following steps:
acquiring CPU working parameters corresponding to the target application, and calculating a CPU power consumption value corresponding to the target application according to the CPU working parameters;
acquiring GPU working parameters corresponding to the target application, and calculating a GPU power consumption value corresponding to the target application according to the GPU working parameters;
and determining the first mobile processor and the second mobile processor according to the CPU power consumption value and the GPU power consumption value corresponding to the target application.
4. The method of claim 1, further comprising:
detecting the residual electric quantity of the graphene battery to obtain a first electric quantity value;
detecting the residual electric quantity of the lithium battery and acquiring a second electric quantity value;
and determining a target power supply battery corresponding to the mobile processor from candidate power supply batteries according to the first electric quantity value and the second electric quantity value.
5. The method of claim 4, wherein the mobile processor comprises two, and the determining the target power supply battery corresponding to the mobile processor from the candidate power supply batteries according to the magnitudes of the first and second power supply values comprises:
when the difference value between the second electric quantity value and the first electric quantity value is larger than the difference threshold value, the lithium battery is utilized to supply power to the first mobile processor, the graphene battery is utilized to supply power to the second mobile processor, and the power consumption of the first mobile processor exceeds that of the second mobile processor.
6. The method of claim 4, wherein the mobile processor comprises a processor, and wherein determining the target power supply battery corresponding to the mobile processor from the candidate power supply batteries according to the magnitudes of the first and second power supply values comprises:
when the residual electric quantity of the graphene battery is larger than an electric quantity threshold value, the graphene battery is utilized to supply power to the mobile processor;
and when the residual electric quantity of the graphene battery is less than or equal to an electric quantity threshold value, the lithium battery is utilized to supply power to the mobile processor.
7. The method of claim 1, wherein the electronic device runs an application, the method further comprising:
acquiring processing power consumption information corresponding to the application;
determining a first mobile processor and a second mobile processor corresponding to the application according to the processing power consumption information corresponding to the application;
and the graphene battery is used for supplying power to a first mobile processor corresponding to the application, and the lithium battery is used for supplying power to a second mobile processor corresponding to the application.
8. The utility model provides a power supply unit of electronic equipment which characterized in that, electronic equipment is provided with lithium cell and graphite alkene battery, the device includes:
the electronic equipment comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring total power consumption values corresponding to at least two applications when the electronic equipment runs the at least two applications;
the first determining module is used for determining a target application according to the size of the total power consumption value corresponding to each of the at least two applications;
a second obtaining module, configured to obtain processing power consumption information corresponding to the target application, where the processing power consumption information is power consumption information of a mobile processor corresponding to the target application;
a second determining module, configured to determine, according to the processing power consumption information, a target power supply battery corresponding to the mobile processor from candidate power supply batteries, where the candidate power supply batteries include: the lithium battery and the graphene battery.
9. An electronic device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of the method of powering an electronic device according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910689547.XA CN110427085B (en) | 2019-07-29 | 2019-07-29 | Electronic equipment power supply method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910689547.XA CN110427085B (en) | 2019-07-29 | 2019-07-29 | Electronic equipment power supply method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110427085A CN110427085A (en) | 2019-11-08 |
CN110427085B true CN110427085B (en) | 2021-01-12 |
Family
ID=68412892
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910689547.XA Active CN110427085B (en) | 2019-07-29 | 2019-07-29 | Electronic equipment power supply method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110427085B (en) |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1633193A (en) * | 2004-12-24 | 2005-06-29 | 刘宝忠 | Dual charging cell power supply apparatus for mobile communication terminal |
CN101378558A (en) * | 2007-08-28 | 2009-03-04 | 希姆通信息技术(上海)有限公司 | Mobile telephone set for intelligent double-battery electric power system |
CN101515962A (en) * | 2008-02-20 | 2009-08-26 | 联想(北京)有限公司 | Electronic equipment and using method thereof |
CN202309150U (en) * | 2011-11-01 | 2012-07-04 | 宁波大红鹰学院 | Power supply device of cellphone with double cells |
CN105446447B (en) * | 2014-07-28 | 2019-01-15 | 联想(北京)有限公司 | A kind of electronic equipment |
CN105589544A (en) * | 2014-10-20 | 2016-05-18 | 中兴通讯股份有限公司 | Method, device and terminal reducing central processor energy consumption |
KR102691293B1 (en) * | 2016-07-29 | 2024-08-05 | 삼성전자 주식회사 | Method and apparatus for reducing power consumption of electronic device |
-
2019
- 2019-07-29 CN CN201910689547.XA patent/CN110427085B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN110427085A (en) | 2019-11-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Akolkar | Mathematical model of the dendritic growth during lithium electrodeposition | |
CN111384757B (en) | Charging method, device, equipment and storage medium | |
Zhao et al. | An investigation on the significance of reversible heat to the thermal behavior of lithium ion battery through simulations | |
CN104487912B (en) | The virtual electrochemical cell between one group of personal mobile device | |
Gu et al. | Modeling discharge and charge characteristics of nickel–metal hydride batteries | |
Kim et al. | A mathematical model of oxide/carbon composite electrode for supercapacitors | |
CN110429684B (en) | Charging control method and device, electronic equipment and computer readable storage medium | |
CN110350626B (en) | Charging control method and device, electronic equipment and computer readable storage medium | |
CN114463144A (en) | Carbon metering method, device, ammeter, server, storage medium and product | |
Li et al. | Highly efficient li-air battery using ultra-thin air electrode | |
CN102447273A (en) | Terminal and power supply method thereof | |
CN110427085B (en) | Electronic equipment power supply method and device and electronic equipment | |
CN115237244A (en) | Control method and device of graphic processing unit, terminal equipment and storage medium | |
Sui et al. | Citric acid etched zinc anode surface to improve the stability of aqueous zinc-ion battery | |
Gao et al. | Study on Lithium-Ion Battery Degradation Caused by Side Reactions in Fast-Charging Process | |
CN117234712A (en) | Computing power resource deployment method, computing power resource deployment device, computer equipment and storage medium | |
CN117394330A (en) | Energy scheduling method, device, equipment and medium based on power distribution network energy storage | |
CN114243681B (en) | Power utilization regulation and control method, device, equipment and storage medium of power system | |
CN118351985A (en) | Battery three-dimensional electrochemical model construction method and calculation method | |
CN115207421A (en) | Energy supply method and device for battery system, electronic equipment and storage medium | |
CN110601292B (en) | Battery management method, device, storage medium and electronic equipment | |
CN117007991A (en) | Method for determining battery state of charge | |
CN117410530B (en) | Power control method, device, equipment and medium of fuel cell engine | |
CN110515444B (en) | Control method of mobile terminal, mobile terminal and device with storage function | |
CN110311447A (en) | Charge control method, device, terminal and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |