CN114595546A - Power consumption model modeling method, power consumption calculation method, device, medium and equipment - Google Patents

Power consumption model modeling method, power consumption calculation method, device, medium and equipment Download PDF

Info

Publication number
CN114595546A
CN114595546A CN202011414990.5A CN202011414990A CN114595546A CN 114595546 A CN114595546 A CN 114595546A CN 202011414990 A CN202011414990 A CN 202011414990A CN 114595546 A CN114595546 A CN 114595546A
Authority
CN
China
Prior art keywords
power consumption
hardware module
module
power
radio frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011414990.5A
Other languages
Chinese (zh)
Inventor
冯红旗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202011414990.5A priority Critical patent/CN114595546A/en
Publication of CN114595546A publication Critical patent/CN114595546A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/06Power analysis or power optimisation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a power consumption model modeling method, a power consumption calculation device, a storage medium and electronic equipment, wherein the power consumption model modeling method comprises the following steps: determining a power consumption impact factor of at least one hardware module; acquiring the power consumption of at least one hardware module; and determining a functional relation between the power consumption of the at least one hardware module and the power consumption influence factor so as to establish a power consumption model of the at least one hardware module. According to the power consumption model modeling method provided by the embodiment of the application, the electronic equipment can accurately calculate the power consumption of each hardware module according to the parameter value of the power consumption influence factor of each hardware module, so that the power consumption of the communication module is obtained, and a foundation is established for solving various problems caused by high power consumption of the communication module of the electronic equipment.

Description

Power consumption model modeling method, power consumption calculation method, device, medium and equipment
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a power consumption model modeling method, a power consumption calculation device, a storage medium, and an electronic device.
Background
In today's society, electronic devices such as smartphones are used more and more frequently and time-wise in the daily lives of users. With the 5G (5th generation mobile networks) communication era, communication module architectures of electronic devices such as smart phones are more and more complex, the power consumption is higher and higher, and various problems caused by the power consumption are more prominent.
Therefore, in order to solve various problems of the electronic device due to high power consumption of the communication module, it is first necessary to obtain power consumption of the communication module of the electronic device.
Disclosure of Invention
The embodiment of the application provides a power consumption model modeling method, a power consumption calculation device, a storage medium and electronic equipment, which can accurately calculate the power consumption of a communication module of the electronic equipment and establish a foundation for solving various problems of the electronic equipment caused by high power consumption of the communication module.
The embodiment of the application provides a power consumption model modeling method applied to electronic equipment, wherein the electronic equipment comprises at least one hardware module, and the power consumption model modeling method comprises the following steps:
determining a power consumption impact factor of the at least one hardware module;
acquiring the power consumption of the at least one hardware module; and
and determining a functional relation between the power consumption of the at least one hardware module and the power consumption influence factor so as to establish a power consumption model of the at least one hardware module.
An embodiment of the present application further provides a power consumption calculation method for an electronic device, where the electronic device includes at least one hardware module, and the power consumption calculation method includes:
acquiring a power consumption influence factor of the at least one hardware module;
acquiring a preset power consumption model of the at least one hardware module, wherein the power consumption model indicates the corresponding relation between the power consumption influence factors and the power consumption;
and determining the power consumption of the at least one hardware module according to the power consumption influence factor and the power consumption model.
An embodiment of the present application further provides a power consumption calculating apparatus applied to an electronic device, where the electronic device includes at least one hardware module, and the power consumption calculating apparatus includes:
the parameter value acquisition module is used for acquiring the power consumption influence factor of the at least one hardware module;
the power consumption model acquisition module is used for acquiring a preset power consumption model of the at least one hardware module, and the power consumption model indicates the corresponding relation between the power consumption influence factor and the power consumption;
and the calculation module is used for determining the power consumption of the at least one hardware module according to the power consumption influence factor and the power consumption model.
An embodiment of the present application further provides a storage medium, where a computer program is stored, and when the computer program runs on a computer, the computer is enabled to execute the power consumption calculation method.
The embodiment of the application also provides an electronic device, which comprises a processor and a memory, wherein a computer program is stored in the memory, and the processor is used for executing the power consumption calculation method by calling the computer program stored in the memory.
In the power consumption model modeling method provided by the embodiment of the application, the communication module is divided into the plurality of hardware modules, and the power consumption model modeling is performed on different hardware modules according to the corresponding power consumption influence factors, so that the electronic equipment can accurately calculate the power consumption of each hardware module according to the parameter values of the power consumption influence factors of each hardware module, the power consumption of the communication module is obtained, and a foundation is established for solving various problems caused by high power consumption of the communication module.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic view of a communication scenario between an electronic device and a base station according to an embodiment of the present application.
Fig. 2 is a first structural schematic diagram of an electronic device according to an embodiment of the present application.
Fig. 3 is a schematic flow chart of a power consumption model modeling method according to an embodiment of the present application.
Fig. 4 is a schematic flow chart of a power consumption calculation method according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a power consumption calculating device according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a second electronic device according to an embodiment of the present application.
Detailed Description
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. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present application.
Referring to fig. 1, fig. 1 is a schematic view of a scenario in which an electronic device 100 communicates with a base station 200 according to an embodiment of the present disclosure.
The electronic device 100 may be a device capable of wireless communication with a base station, such as a smart phone, a tablet computer, an electronic watch, and the like. The electronic device 100 comprises a communication module 10. The communication module 10 may be used to transmit and receive wireless signals for wireless communication with the base station 200. The wireless signals transmitted and received by the communication module 10 may include, but are not limited to, various types of wireless signals such as 2G (the 2th generation mobile communication technology, second generation wireless communication technology), 3G (the 3th generation mobile communication technology, third generation wireless communication technology), 4G (the 4th generation mobile communication technology, fourth generation wireless communication technology), 5G, and so on. It is to be understood that the base station 200 may be a base station set up by a communication carrier for transmitting wireless signals.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present disclosure.
The communication module 10 of the electronic device 100 comprises a plurality of hardware modules, i.e. the electronic device 100 comprises at least one hardware module. The plurality of hardware modules cooperate with each other to realize the wireless communication function of the communication module 10. For example, in some embodiments, the communication module 10 includes a plurality of hardware modules, such as a radio frequency transceiver chip 11, a modem 12, a receiving module 13, and a radio frequency power amplifier 14.
The modem 12 is electrically connected to the rf transceiver chip 11, the receiving module 13, and the rf power amplifier 14. The radio frequency transceiver chip 11 is used for processing wireless signals transmitted to the outside by the communication module 10 and wireless signals received from the outside. The modem 12 is used to modulate wireless signals transmitted to the outside by the communication module 10 and to demodulate wireless signals received from the outside. The receiving module 13 is used for receiving wireless signals from the outside. The rf power amplifier 14 is used for power amplifying a wireless signal transmitted from the communication module 10 to the outside.
As can be understood, when the communication module 10 transmits a wireless signal to the outside, the transmitted signal is first processed by the radio frequency transceiver chip 11, the processed signal is transmitted to the modem 12 for modulation, and the modulated signal is transmitted to the radio frequency power amplifier 14 for power amplification and then transmitted to the outside; when the communication module 10 receives a wireless signal from the outside, the wireless signal received by the receiving module 13 is transmitted to the modem 12 for demodulation, and the demodulated signal is transmitted to the rf transceiver chip 11 for processing.
The embodiment of the application provides a power consumption model modeling method. The power consumption model modeling method can be applied to the electronic device 100 to realize power consumption model modeling of the communication module 10 of the electronic device 100, and the power consumption model can be used for calculating the power consumption of the communication module 10. Referring to fig. 3, fig. 3 is a schematic flowchart of a power consumption model modeling method provided in an embodiment of the present application. The power consumption model modeling method comprises the following steps:
the power consumption impact factor for each hardware module is determined 310.
It can be understood that, when modeling the power consumption model of the communication module 10 of the electronic device 100, the communication module 10 may be split into a plurality of hardware modules from the perspective of the hardware module of the communication module 10, and each hardware module may be modeled with the power consumption model. Therefore, it is necessary to first determine the power consumption impact factor of each hardware module. That is, a power consumption impact factor for at least one hardware module is determined. The power consumption influence factor refers to a factor influencing the power consumption of the hardware module.
The power consumption of each hardware module can be tested for multiple times in an experimental mode so as to determine the power consumption influence factor of each hardware module. For example, for hardware modules such as a radio frequency transceiver chip, a modem, a receiving module, and a radio frequency power amplifier, power consumption tests can be performed on each hardware module for multiple times. Thus, it can be determined that: the power consumption of the radio frequency transceiver chip is basically a fixed value, and the fluctuation is small, so the power consumption influence factor of the radio frequency transceiver chip can be set to be a constant, such as 1; the power consumption impact factor of the modem comprises the working protocol state, and the protocol state can comprise a call state, a data transmission state, an idle state, a sleep state and the like; the power consumption influence factor of the receiving module comprises cell power, wherein the cell power is the power of a communication cell where the electronic equipment is located; the power consumption influence factors of the radio frequency power amplifier comprise an operating frequency band and a transmitting power.
And 320, acquiring a plurality of power consumption data of each hardware module, wherein the power consumption data comprises parameter values of power consumption influence factors and power consumption of the corresponding hardware module.
After the power consumption influence factor of each hardware module is determined, a plurality of power consumption data of each hardware module can be respectively obtained. That is, the power consumption of at least one hardware module is obtained. The power consumption data includes parameter values of power consumption influence factors and power consumption of corresponding hardware modules, for example, the power consumption data of the radio frequency power amplifier may include an operating frequency band, transmission power, and power consumption of the radio frequency power amplifier corresponding to different operating frequency bands and transmission power.
And performing multiple power consumption tests on each hardware module in an experimental mode to acquire multiple power consumption data of each hardware module. For example, in some embodiments, obtaining the plurality of power consumption data for each hardware module comprises: and changing the parameter value of the power consumption influence factor of each hardware module, and acquiring the power consumption of each hardware module when the hardware module works in the parameter value of the power consumption influence factor so as to obtain a plurality of power consumption data of each hardware module. That is, the size of the power consumption impact factor of at least one hardware module is changed, and the power consumption of the at least one hardware module when operating in the changed power consumption impact factor is obtained. It can be understood that, when the power consumption influence factors of the hardware module are multiple, the parameter value of one of the power consumption influence factors can be changed in each experiment during the experiment test, and the parameter values of multiple power consumption influence factors can also be changed simultaneously.
In some embodiments, for the radio frequency power amplifier, the power consumption influence factor of the radio frequency power amplifier includes an operating frequency band and a transmission power, so that the operating frequency band and the transmission power of the radio frequency power amplifier can be changed in each experiment, the radio frequency power amplifier is enabled to operate in different operating frequency bands and transmission powers respectively, and power consumption of the radio frequency power amplifier when operating in different operating frequency bands and transmission powers is obtained, so as to obtain a plurality of power consumption data of the radio frequency power amplifier. The power consumption data of the rf power amplifier may include an operating frequency band, a transmission power, and power consumption of the rf power amplifier corresponding to different operating frequency bands and transmission powers.
It can be understood that, when the working frequency band and the transmission power of the radio frequency power amplifier are changed, only the working frequency band or the transmission power may be changed in each experiment, or the working frequency band and the transmission power may be changed at the same time.
In some embodiments, for the receiving module, the power consumption influencing factor of the receiving module includes cell power, so that different cell powers can be simulated in each experiment, the receiving module is enabled to work in different cell powers respectively, and power consumption of the receiving module when working in different cell powers is obtained, so as to obtain a plurality of power consumption data of the receiving module. The power consumption data of the receiving module may include cell power and power consumption of the receiving module corresponding to different cell powers.
In some embodiments, for a modem, the power consumption impact factor for the modem includes the protocol state of operation. Experimental tests show that the power consumption of the modem in different protocol states is substantially constant, for example, the power consumption of the modem in a call state, a data transmission state, an idle state, and a sleep state is substantially constant. Therefore, a plurality of power consumption data of the modem can be obtained only by simulating different protocol states through experiments and testing the power consumption of the modem in different protocol states. Wherein the power consumption data of the modem may include protocol states and power consumption corresponding to different protocol states.
In some embodiments, for the radio frequency transceiver chip, since the power consumption of the radio frequency transceiver chip is substantially a constant value, that is, the power consumption influence factor of the radio frequency transceiver chip is a constant, a plurality of power consumption data of the radio frequency transceiver chip can be obtained only by measuring the power consumption of the radio frequency transceiver chip. The power consumption data of the rf transceiver chip may include power consumption and a constant (parameter value of power consumption influence factor), where the constant may be 1, for example. The plurality of power consumption data of the radio frequency transceiver chip may be the same data.
And 330, determining a functional relationship between the power consumption of each hardware module and the corresponding power consumption influence factor according to the plurality of power consumption data of each hardware module.
After the plurality of power consumption data of each hardware module are obtained, the functional relation between the power consumption of each hardware module and the corresponding power consumption influence factor can be determined according to the plurality of power consumption data of each hardware module.
For example, according to a plurality of power consumption data of the radio frequency power amplifier, a functional relation between the power consumption of the radio frequency power amplifier and the working frequency band and the transmitting power can be determined; determining a functional relation between the power consumption of the receiving module and the cell power according to the plurality of power consumption data of the receiving module; determining a functional relation between the power consumption of the modem and the protocol states according to a plurality of power consumption data of the modem, wherein the power consumption corresponding to different protocol states in the functional relation is a constant; according to the plurality of power consumption data of the radio frequency transceiver chip, a functional relation between the power consumption of the radio frequency transceiver chip and a power consumption influence factor (constant) can be determined, and in the functional relation, the power consumption is constant.
340, establishing a power consumption model of each hardware module according to the functional relation between the power consumption of each hardware module and the corresponding power consumption influence factor.
After the functional relationship between the power consumption of each hardware module and the corresponding power consumption influence factor is obtained, a power consumption model of each hardware module can be established according to the functional relationship between the power consumption of each hardware module and the corresponding power consumption influence factor. That is, a functional relationship between the power consumption of the at least one hardware module and the power consumption impact factor is determined to establish a power consumption model of the at least one hardware module. The power consumption model of each hardware module can reflect the power consumption of the hardware module under different power consumption influence factor parameter values.
Therefore, in practical application, the electronic device can accurately calculate the power consumption of each hardware module according to the corresponding power consumption model as long as the electronic device obtains the parameter value of the power consumption influence factor of each hardware module, so as to obtain the power consumption of the communication module.
In the power consumption model modeling method provided by the embodiment of the application, the communication module of the electronic device is split into the plurality of hardware modules, and the power consumption model modeling is performed on different hardware modules according to the corresponding power consumption influence factors, so that the electronic device can accurately calculate the power consumption of each hardware module according to the parameter values of the power consumption influence factors of each hardware module, the power consumption of the communication module is obtained, and a foundation is established for solving various problems caused by high power consumption of the communication module of the electronic device.
The embodiment of the application also provides a power consumption calculation method. The power consumption calculation method may be applied to the electronic device 100 to calculate the power consumption of the communication module 10 of the electronic device 100. Referring to fig. 4, fig. 4 is a schematic flowchart of a power consumption calculation method according to an embodiment of the present application. The power consumption calculation method comprises the following steps:
and 410, acquiring parameter values of the power consumption influence factors of each hardware module.
It can be understood that in the daily use of the electronic device, the electronic device can obtain the parameter value of the power consumption influence factor of each hardware module.
For example, for a radio frequency power amplifier, an electronic device may obtain an operating frequency band and a transmission power of the radio frequency power amplifier; for the receiving module, the electronic equipment can obtain the cell power of the cell where the electronic equipment is located; for the modem, the electronic device may obtain a protocol state in which the modem operates, such as a call state, a data transmission state, an idle state, a sleep state, and the like; for the radio frequency transceiver chip, the electronic device may obtain a correspondingly set constant (parameter value of the power consumption impact factor).
And 420, acquiring a preset power consumption model of each hardware module.
It can be understood that the electronic device may further obtain a preset power consumption model of each hardware module. The power consumption model of each hardware module can be a power consumption model established according to the power consumption model modeling method, and the power consumption model indicates the corresponding relation between the power consumption influence factor and the power consumption of the hardware module. The power consumption model of each hardware module can be stored in the electronic device after being established, namely the preset power consumption model of each hardware module.
430, calculating the power consumption of each hardware module according to the parameter value of the power consumption influence factor of each hardware module and the power consumption model of each hardware module.
After the electronic device obtains the parameter value of the power consumption influence factor of each hardware module and the preset power consumption model of each hardware module, the electronic device can calculate the power consumption of each hardware module according to the parameter value of the power consumption influence factor of each hardware module and the power consumption model of each hardware module. That is, the power consumption of at least one hardware module is determined according to the power consumption influence factor and the power consumption model.
For example, for a radio frequency power amplifier, the electronic device may calculate the power consumption of the radio frequency power amplifier according to the operating frequency band of the radio frequency power amplifier, the transmission power, and a power consumption model of the radio frequency power amplifier. For the receiving module, the electronic device may calculate the power consumption of the receiving module according to the cell power of the cell in which the electronic device is located and the power consumption model of the receiving module. For a modem, the electronic device may calculate a power consumption of the modem based on a protocol state of the modem and a power consumption model of the modem. For the radio frequency transceiver chip, the electronic device may calculate the power consumption of the radio frequency transceiver chip according to a constant (a parameter value of a power consumption influence factor) corresponding to the radio frequency transceiver chip and a power consumption model of the radio frequency transceiver chip.
The power consumption of the communication module is calculated 440 according to the power consumption of each hardware module.
After the electronic device calculates the power consumption of each hardware module, the power consumption of the communication module can be calculated according to the power consumption of each hardware module, for example, the power consumption of each hardware module can be accumulated to obtain the overall power consumption of the communication module. For example, in some embodiments, the electronic device may add up the power consumption of the rf power amplifier, the power consumption of the receiving module, the power consumption of the rf transceiver chip, and the power consumption of the modem to obtain the power consumption of the communication module.
It should be noted that, in the embodiment of the present application, the instantaneous power consumption (i.e., the real-time power consumption) of each hardware module can be calculated by calculating the power consumption of each hardware module; the power consumption of each hardware module over a period of time, such as an hour, may also be calculated. Correspondingly, when the power consumption of the communication module is calculated according to the power consumption of each hardware module, the calculated power consumption can be the instantaneous power consumption (also called real-time power consumption) of the communication module, and can also be the power consumption of the communication module within a period of time.
In particular implementation, the present application is not limited by the execution sequence of the described steps, and some steps may be performed in other sequences or simultaneously without conflict.
According to the power consumption calculation method provided by the embodiment of the application, the electronic equipment can accurately calculate the power consumption of each hardware module according to the parameter value of the power consumption influence factor of each hardware module and the power consumption model of each hardware module, so that the power consumption of the communication module is obtained, and a foundation is established for solving various problems caused by high power consumption of the communication module of the electronic equipment.
The embodiment of the application also provides a power consumption calculating device. The power consumption calculation means may be applied to the electronic device 100 to calculate the power consumption of the communication module 10 of the electronic device 100. Referring to fig. 5, fig. 5 is a schematic structural diagram of a power consumption calculating apparatus 500 according to an embodiment of the present application.
Among them, the power consumption calculation apparatus 500 includes: a parameter value acquisition module 510, a power consumption model acquisition module 520, and a calculation module 530.
A parameter value obtaining module 510, configured to obtain a parameter value of a power consumption impact factor of each hardware module;
a power consumption model obtaining module 520, configured to obtain a preset power consumption model of each hardware module;
the calculating module 530 is configured to calculate the power consumption of each hardware module according to the parameter value of the power consumption impact factor of each hardware module and the power consumption model of each hardware module.
In some embodiments, the calculating module 530 is further configured to calculate the power consumption of the communication module according to the power consumption of each hardware module.
It can be understood that, for the specific implementation of each module, reference may be made to the description in the power consumption calculation method, and details are not described here again.
The power consumption calculation device provided by the embodiment of the application can accurately calculate the power consumption of each hardware module according to the parameter value of the power consumption influence factor of each hardware module and the power consumption model of each hardware module, thereby obtaining the power consumption of the communication module and establishing a foundation for solving various problems of electronic equipment caused by high power consumption of the communication module.
The embodiment of the application also provides an electronic device, which can be a device capable of performing wireless communication with a base station, such as a smart phone, a tablet computer, an electronic watch, and the like. Referring to fig. 6, fig. 6 is a schematic structural diagram of a second electronic device 100 according to an embodiment of the present disclosure.
The electronic device 100 comprises a communication module 10, a processor 20 and a memory 30. The communication module 10 includes a plurality of hardware modules, and the specific implementation of the communication module 10 may refer to the description in the foregoing embodiments, which is not described herein again. The processor 20 is a control center of the electronic device 100, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or calling a computer program stored in the memory 30 and calling data stored in the memory 30, thereby performing overall monitoring of the electronic device.
The memory 30 may be used to store computer programs and data. The memory 30 stores a computer program having instructions embodied therein that are executable in the processor. The computer program may constitute various functional modules. The processor 20 executes various functional applications and data processing by calling a computer program stored in the memory 30.
In the present embodiment, the processor 20 in the electronic device 100 loads instructions corresponding to processes of one or more computer programs into the memory 30 according to the following steps, and the processor 20 runs the computer programs stored in the memory 30, so as to execute the following steps:
acquiring a parameter value of a power consumption influence factor of each hardware module;
acquiring a preset power consumption model of each hardware module;
calculating the power consumption of each hardware module according to the parameter value of the power consumption influence factor of each hardware module and the power consumption model of each hardware module;
and calculating the power consumption of the communication module according to the power consumption of each hardware module.
In some embodiments, the plurality of hardware modules of the communication module 10 includes a radio frequency power amplifier, and the power consumption influence factor of the radio frequency power amplifier includes an operating frequency band and a transmission power. Calculating the power consumption of each hardware module according to the parameter value of the power consumption influence factor of each hardware module and the power consumption model of each hardware module, and the processor 20 executes the following steps: and calculating the power consumption of the radio frequency power amplifier according to the working frequency band and the transmitting power of the radio frequency power amplifier and the power consumption model of the radio frequency power amplifier.
In some embodiments, the plurality of hardware modules of the communication module 10 comprises a receive module, and the power consumption impact factor of the receive module comprises cell power. Calculating the power consumption of each hardware module according to the parameter value of the power consumption influence factor of each hardware module and the power consumption model of each hardware module, and the processor 20 executes the following steps: and calculating the power consumption of the receiving module according to the cell power of the cell in which the electronic equipment is positioned and the power consumption model of the receiving module.
In some embodiments, the plurality of hardware modules of the communication module 10 includes a radio frequency power amplifier, a receiving module, a radio frequency transceiver chip, and a modem. When calculating the power consumption of the communication module according to the power consumption of each hardware module, the processor 20 performs the following steps: and accumulating the power consumption of the radio frequency power amplifier, the power consumption of the receiving module, the power consumption of the radio frequency transceiver chip and the power consumption of the modem to obtain the power consumption of the communication module.
It is understood that, although not shown in fig. 6, the electronic device 100 may further include a display screen, a camera, a bluetooth module, a power supply, and the like, which are not described herein again.
The electronic equipment provided by the embodiment of the application can accurately calculate the power consumption of each hardware module according to the parameter value of the power consumption influence factor of each hardware module and the power consumption model of each hardware module, thereby obtaining the power consumption of the communication module and establishing a foundation for solving various problems caused by high power consumption of the communication module.
An embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer executes the power consumption calculation method according to any one of the above embodiments.
It should be noted that, all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, which may be stored in a computer-readable storage medium, which may include, but is not limited to: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The power consumption model modeling method, the power consumption calculation device, the storage medium and the electronic device provided by the embodiment of the application are described in detail above. The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (11)

1. A power consumption model modeling method applied to electronic equipment, wherein the electronic equipment comprises at least one hardware module, is characterized by comprising the following steps:
determining a power consumption impact factor of the at least one hardware module;
acquiring the power consumption of the at least one hardware module; and
and determining a functional relation between the power consumption of the at least one hardware module and the power consumption influence factor so as to establish a power consumption model of the at least one hardware module.
2. The power consumption modeling method of claim 1, wherein the obtaining the power consumption of the at least one hardware module comprises:
changing the size of the power consumption influence factor of the at least one hardware module;
and acquiring the power consumption of the at least one hardware module when the hardware module works in the changed power consumption influence factor.
3. The power consumption modeling method of claim 2, wherein the at least one hardware module comprises a radio frequency power amplifier, and the power consumption impact factor of the radio frequency power amplifier comprises an operating frequency band and a transmission power;
the changing the size of the power consumption influence factor of the at least one hardware module comprises: changing the working frequency band and the transmitting power of the radio frequency power amplifier so that the radio frequency power amplifier works in different working frequency bands and different transmitting powers respectively;
the obtaining of the power consumption of the at least one hardware module when operating in the changed power consumption impact factor includes: and acquiring the power consumption of the radio frequency power amplifier when the radio frequency power amplifier works in the different working frequency bands and the different transmitting powers.
4. The power consumption model modeling method of claim 2, wherein the at least one hardware module comprises a receive module, and wherein a power consumption impact factor of the receive module comprises cell power;
the changing the size of the power consumption influence factor of the at least one hardware module comprises: simulating different cell powers so as to enable the receiving modules to work at different cell powers respectively;
the obtaining of the power consumption of the at least one hardware module when operating in the changed power consumption impact factor includes: and acquiring the power consumption of the receiving module when the receiving module works at different cell powers.
5. A power consumption calculation method for an electronic device, the electronic device including at least one hardware module, the power consumption calculation method comprising:
acquiring a power consumption influence factor of the at least one hardware module;
acquiring a preset power consumption model of the at least one hardware module, wherein the power consumption model indicates the corresponding relation between the power consumption influence factors and the power consumption;
and determining the power consumption of the at least one hardware module according to the power consumption influence factor and the power consumption model.
6. The power consumption calculation method according to claim 5, wherein the at least one hardware module comprises a radio frequency power amplifier, and the power consumption influence factor of the radio frequency power amplifier comprises an operating frequency band and a transmission power;
the determining the power consumption of the at least one hardware module according to the power consumption influence factor and the power consumption model includes: and determining the power consumption of the radio frequency power amplifier according to the working frequency band and the transmitting power of the radio frequency power amplifier and the power consumption model of the radio frequency power amplifier.
7. The power consumption calculation method of claim 5, wherein the at least one hardware module comprises a receive module, and wherein a power consumption impact factor of the receive module comprises cell power;
the determining the power consumption of the at least one hardware module according to the power consumption influence factor and the power consumption model includes: and determining the power consumption of the receiving module according to the cell power of the cell in which the electronic equipment is positioned and the power consumption model of the receiving module.
8. The power consumption calculation method according to any one of claims 5 to 7, wherein the electronic device includes a communication module, the at least one hardware module is a hardware module of the communication module, the at least one hardware module includes a radio frequency power amplifier, a receiving module, a radio frequency transceiver chip, and a modem, and after determining the power consumption of the at least one hardware module according to the power consumption influence factor and the power consumption model, the method further includes:
and accumulating the power consumption of the radio frequency power amplifier, the power consumption of the receiving module, the power consumption of the radio frequency transceiver chip and the power consumption of the modem to obtain the power consumption of the communication module.
9. A power consumption calculation apparatus applied to an electronic device including at least one hardware module, the power consumption calculation apparatus comprising:
the parameter value acquisition module is used for acquiring the power consumption influence factor of the at least one hardware module;
the power consumption model acquisition module is used for acquiring a preset power consumption model of the at least one hardware module, and the power consumption model indicates the corresponding relation between the power consumption influence factor and the power consumption;
and the calculation module is used for determining the power consumption of the at least one hardware module according to the power consumption influence factor and the power consumption model.
10. A storage medium having stored therein a computer program that, when run on a computer, causes the computer to execute the power consumption calculation method according to any one of claims 5 to 8.
11. An electronic device, characterized in that the electronic device comprises a processor and a memory, wherein a computer program is stored in the memory, and the processor is configured to execute the power consumption calculation method according to any one of claims 5 to 8 by calling the computer program stored in the memory.
CN202011414990.5A 2020-12-03 2020-12-03 Power consumption model modeling method, power consumption calculation method, device, medium and equipment Pending CN114595546A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011414990.5A CN114595546A (en) 2020-12-03 2020-12-03 Power consumption model modeling method, power consumption calculation method, device, medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011414990.5A CN114595546A (en) 2020-12-03 2020-12-03 Power consumption model modeling method, power consumption calculation method, device, medium and equipment

Publications (1)

Publication Number Publication Date
CN114595546A true CN114595546A (en) 2022-06-07

Family

ID=81812129

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011414990.5A Pending CN114595546A (en) 2020-12-03 2020-12-03 Power consumption model modeling method, power consumption calculation method, device, medium and equipment

Country Status (1)

Country Link
CN (1) CN114595546A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116795628A (en) * 2023-05-24 2023-09-22 荣耀终端有限公司 Power consumption processing method of terminal equipment, terminal equipment and readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116795628A (en) * 2023-05-24 2023-09-22 荣耀终端有限公司 Power consumption processing method of terminal equipment, terminal equipment and readable storage medium
CN116795628B (en) * 2023-05-24 2024-05-14 荣耀终端有限公司 Power consumption processing method of terminal equipment, terminal equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN107277912B (en) Radio frequency interference processing method, device, storage medium and terminal
CN105577293B (en) A kind of test method of bluetooth equipment, apparatus and system
CN105794125B (en) The devices, systems, and methods of Bluetooth communication
CN112333057B (en) Intelligent household equipment distribution network testing method and device, executive machine and storage medium
CN106294108B (en) Application program testing method and device
KR20190066810A (en) Electronic device for controlling clock frequency and operating method thereof
CN108770055B (en) Transmission power adjusting method and device and electronic device
CN107295621B (en) Control method, device, storage medium and the electronic equipment of transmission power
CN110677842B (en) Network searching method, device, terminal equipment and storage medium
CN114595546A (en) Power consumption model modeling method, power consumption calculation method, device, medium and equipment
CN113286335B (en) Frequency point switching method and device, storage medium and access point
CN110831026B (en) Method and device for measuring measurement value of synchronization signal block and terminal
CN114598402B (en) Method for determining power consumption of radio frequency power amplifier of electronic device
CN115114141A (en) Method, device and equipment for testing performance of application program and storage medium
CN209184612U (en) A kind of detector and detection system
CN108039920B (en) Board-level radio frequency performance test method of BLE equipment
CN113824613B (en) Network reliability test method, test system and storage medium
CN110849407B (en) Sensor testing method and device, storage medium and electronic equipment
CN110932802B (en) Interference test method, device, terminal and storage medium
CN110932803B (en) Interference intensity acquisition method, device, terminal and storage medium
CN112740739B (en) Interference processing method and device, storage medium and electronic equipment
CN114448527A (en) Wireless radio frequency interference test method and system for terminal
US8644183B2 (en) Systems and methods for memory-efficient storage and extraction of maximum power reduction (MPR) values in two-carrier wireless data systems
CN111147319A (en) Detection method, detector, computer storage medium and detection system
CN211375073U (en) Detection apparatus for positioning 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