WO2012163050A1 - Method and device for reducing power consumption of chip - Google Patents

Method and device for reducing power consumption of chip Download PDF

Info

Publication number
WO2012163050A1
WO2012163050A1 PCT/CN2011/082151 CN2011082151W WO2012163050A1 WO 2012163050 A1 WO2012163050 A1 WO 2012163050A1 CN 2011082151 W CN2011082151 W CN 2011082151W WO 2012163050 A1 WO2012163050 A1 WO 2012163050A1
Authority
WO
WIPO (PCT)
Prior art keywords
processing unit
unit time
unit
logic module
processing
Prior art date
Application number
PCT/CN2011/082151
Other languages
French (fr)
Chinese (zh)
Inventor
朱元好
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2011/082151 priority Critical patent/WO2012163050A1/en
Priority to CN201180003004.XA priority patent/CN102511188B/en
Publication of WO2012163050A1 publication Critical patent/WO2012163050A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3296Power saving characterised by the action undertaken by lowering the supply or operating voltage
    • CCHEMISTRY; METALLURGY
    • C02TREATMENT OF WATER, WASTE WATER, SEWAGE, OR SLUDGE
    • C02FTREATMENT OF WATER, WASTE WATER, SEWAGE, OR SLUDGE
    • C02F3/00Biological treatment of water, waste water, or sewage
    • C02F3/006Regulation methods for biological treatment
    • CCHEMISTRY; METALLURGY
    • C02TREATMENT OF WATER, WASTE WATER, SEWAGE, OR SLUDGE
    • C02FTREATMENT OF WATER, WASTE WATER, SEWAGE, OR SLUDGE
    • C02F3/00Biological treatment of water, waste water, or sewage
    • C02F3/02Aerobic processes
    • C02F3/08Aerobic processes using moving contact bodies
    • C02F3/085Fluidized beds
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • CCHEMISTRY; METALLURGY
    • C02TREATMENT OF WATER, WASTE WATER, SEWAGE, OR SLUDGE
    • C02FTREATMENT OF WATER, WASTE WATER, SEWAGE, OR SLUDGE
    • C02F2303/00Specific treatment goals
    • C02F2303/10Energy recovery
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management
    • 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
    • Y02WCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO WASTEWATER TREATMENT OR WASTE MANAGEMENT
    • Y02W10/00Technologies for wastewater treatment
    • Y02W10/10Biological treatment of water, waste water, or sewage
    • 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
    • Y02WCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO WASTEWATER TREATMENT OR WASTE MANAGEMENT
    • Y02W10/00Technologies for wastewater treatment
    • Y02W10/30Wastewater or sewage treatment systems using renewable energies

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and device for reducing power consumption of a chip. Background technique
  • the performance of the chip affects the quality of the general message; the performance of the chip is affected by its own temperature.
  • the temperature of the chip itself is determined by the ambient temperature on the one hand and the power consumption of the chip itself on the other hand.
  • the power consumption of the chip reduces the temperature of the chip to achieve the purpose of improving the performance of the chip.
  • DVFS Dynamic Voltage and Frequency Scaling
  • DVFS Dynamic Voltage and Frequency Scaling
  • embodiments of the present invention provide a method and device for reducing power consumption of a chip.
  • the technical solution provided by the embodiment of the present invention is as follows:
  • a method of reducing power consumption of a chip comprising:
  • the second unit time is a unit time after the first unit time;
  • An apparatus for reducing power consumption of a chip where the apparatus includes: a receiving module, configured to receive, in a first unit time, a configuration parameter of a logic module that is required to be processed by a chip in a second unit time, where the configuration parameter includes at least the a number of data blocks included in the logic module and a length of the data block, where the second unit time is a unit time after the first unit time;
  • a determining module configured to determine, according to configuration parameters of the logic module corresponding to the processing unit included in the chip, a voltage required by the processing unit in the second unit time;
  • a supply module configured to supply a voltage required by the processing unit to the processing unit in the second unit time.
  • the configuration parameter of the logic module required to be processed by the chip in the second unit time is received in the first unit time, and the configuration parameter of the logic module corresponding to the processing unit included in the chip can be accurately determined.
  • the voltage required by the processing unit in two unit time is supplied to the processing unit for the voltage required by the processing unit in the second unit time. In this way, waste of power consumption of the chip and loss of performance can be avoided.
  • FIG. 1 is a flowchart of a method for reducing power consumption of a chip according to Embodiment 1 of the present invention
  • FIG. 2 is a flow chart of a method for reducing power consumption of a chip according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic structural diagram of a second protocol processing layer according to Embodiment 2 of the present invention.
  • FIG. 4 is a schematic diagram of a device for reducing power consumption of a chip according to Embodiment 3 of the present invention.
  • FIG. 5 is a schematic diagram of a second device for reducing power consumption of a chip according to Embodiment 3 of the present invention.
  • FIG. 6 is a schematic diagram of a third device for reducing power consumption of a chip according to Embodiment 3 of the present invention.
  • FIG. 7 is a schematic diagram of a fourth device for reducing power consumption of a chip according to Embodiment 3 of the present invention.
  • FIG. 8 is a schematic diagram of a fifth device for reducing power consumption of a chip according to Embodiment 3 of the present invention. detailed description
  • an embodiment of the present invention provides a method for reducing power consumption of a chip, including:
  • Step 101 Receive, in a first unit time, a configuration parameter of a logic module that is processed by a chip in a second unit time, where the configuration parameter includes at least a number of data blocks included in the logic module and a length of the data block, Two unit time is Unit time after the first unit time;
  • Step 102 Determine, according to a configuration parameter of a logic module corresponding to the processing unit included in the chip, a voltage required by the processing unit in a second unit time;
  • Step 103 Supply the processing unit with the voltage required by the processing unit at the second unit time.
  • the above step 102 may include:
  • the above (1) may include:
  • (1-1) calculating, according to configuration parameters of the logic module corresponding to the processing unit, a processing amount of the logic module corresponding to the processing unit;
  • the above (2) may include:
  • the method may further include:
  • the frequency of the processing unit is adjusted to the frequency required by the processing unit.
  • the configuration parameter of the logic module required to be processed by the chip in the second unit time is received in the first unit time, and the configuration parameter of the logic module corresponding to the processing unit included in the chip can be accurately determined.
  • the voltage required by the processing unit in two unit time is supplied to the processing unit for the voltage required by the processing unit in the second unit time. In this way, waste of power consumption of the chip and loss of performance can be avoided.
  • Embodiments of the present invention provide a method for reducing power consumption of a chip.
  • the first protocol layer sends the program in the first protocol layer to the second protocol layer
  • the chip in the second protocol layer receives the program and processes the program
  • the chip in the second protocol layer can be used to reduce the power consumption of the device to improve its performance. See Figure 2, the method includes:
  • Step 201 Receive, in a first unit time, a configuration parameter of a logic module that is processed by a chip in a second unit time, and the configuration parameter includes at least a number of data blocks included in the logic module and a length of the data block, and second The unit time is the unit time after the first unit time;
  • any program in the first protocol layer is assumed to be a first program, and the entire first program may be divided into one or more logic modules according to functions of each program segment in the first program, and the logic module includes one or more a data block;
  • any other program in the first protocol layer assuming a second program, the structure of the second program is the same as the first program, that is, the number and type of the logic modules included in the second program are respectively the first program
  • the number of logical modules included is the same as the type, but the number of data blocks and the length of the data block included in the logical module of the same type in the first program and the second program are not necessarily the same.
  • any one of the chips in the second protocol layer includes one or more processing units, and one or more logic modules in the processing unit corresponding to the chip included in the chip in the second protocol layer may be configured in advance, and the second protocol layer A processing unit included in any of the chips is used to process data blocks included in its corresponding logic module.
  • the first protocol layer sends the data block included in the logic module to be processed in the first unit time to the second protocol layer in the first unit time, and the chip in the second protocol layer receives the logic module sent by the first protocol layer. Included data block, the data block included in the logic module is mapped into a processing unit corresponding to the logic module, and the data block included in the logic module is processed by the processing unit; and the first protocol layer is still in the first unit time Transmitting, by the second protocol layer, the configuration parameter of the logic module to be processed in the second unit time, the chip in the second protocol layer receiving the configuration parameter of the logic module, and preparing resources according to the configuration parameter of the logic module, the resource is used by the resource Processing the data block included in the logic module sent by the first protocol layer in the second unit time.
  • the first protocol layer may be a data link layer
  • the second protocol layer may be a physical layer
  • the chips in the second protocol layer perform baseband processing on a program in the first protocol layer; see FIG. 3, in the first protocol layer
  • the first program is divided into logic modules including CRC (Cyclic Redundancy Check), segmentation, FEC (Forward Error Correction), rate matching, scrambling and modulation;
  • the layer includes a first chip and a second chip, and the processing unit in the first chip includes a Home Access Center (HAC), a first processing core, and a second processing core, and the processing unit in the second chip includes a third
  • the processing core and the fourth processing core may be configured in advance that the first processing core corresponds to the logic module included in the first program as a CRC and a segment, the HAC corresponding to the first program includes a logic module, and the second processing core corresponds to the first program.
  • the logic module is rate matching
  • the third processing core corresponds to the logic module included in the first program is scrambling
  • the fourth processing core corresponds to the logic module included in the first program is modulation
  • a processing core is configured to process the CRC and the segmentation two logic modules included in the first program
  • the HAC is configured to process the logic module included in the first program to be FEC
  • the second processing core is configured to process the logic module included in the first program as rate matching a third processing core for processing a logic module included in the first program
  • the block is scrambled
  • the fourth processing core is used to process the logic module included in the first program as modulation.
  • the first protocol layer requires that the logic module processed by the chip of the second protocol layer in the second unit time includes CRC, segmentation, FEC, rate matching, scrambling and modulation
  • the first protocol layer is in the first unit time. Transmitting the configuration parameters of the logic module CRC, the segmentation configuration parameters, the FEC configuration parameters, the rate matching configuration parameters, the scrambled configuration parameters, and the modulated configuration parameters of the logic module to be processed in the second unit time to the second protocol layer chip.
  • the configuration parameter of the CRC includes at least the number of data blocks included in the CRC, the length of the data block, and the number of CRC bits
  • the configuration parameter of the segment includes at least the number of data blocks and the data block included in the segment.
  • the length of the FEC configuration parameter includes at least the number of data blocks included in the FEC, the length of the data block, and the FEC encoding mode
  • the configuration parameters of the rate matching include at least the number of data blocks included in the speed matching and the length of the data block
  • the disturbed configuration parameter includes at least the number of data blocks included in the scrambling and the length of the data block
  • the modulated configuration parameters include at least the number of data blocks included in the modulation and the length of the data block.
  • one unit time may be one or more TTIs (Transmission Time Intervals).
  • the first unit time may be the current unit time
  • the second unit time may be the first unit time, the second unit time, or the third unit time after the first unit time.
  • Step 202 Calculate, according to a configuration parameter of the logic module, a processing quantity of the logic module according to any logic module that needs to be processed in the second unit time;
  • the processing amount of the logic module is calculated according to the number of data blocks included in the logic module and the length of the data block; for any other logic module, the calculation method of the logic module is calculated according to the same calculation method as the logic module. Processing volume.
  • the number of data blocks included in the logic module and the length of the data block may be multiplied to obtain a processing amount of the logic module.
  • the logic module CRC needs to calculate the processing amount of the logic module CRC according to the number of data blocks included in the logic module CRC, the length of the data block, and the number of CRC bits.
  • the processing amount of the logic module FEC is calculated according to the number of data blocks included in the logic module FEC, the length of the data block, and the FEC encoding mode.
  • the processing amount of the CRC is calculated as Cl
  • the processing amount C2 of the segment is calculated according to the configuration parameter of the segment
  • the processing amount C3 of the FEC is calculated according to the configuration parameter of the FEC
  • the configuration parameter according to the rate matching is configured.
  • the processing amount of the rate matching is calculated as C4
  • the processing amount of the scrambling is calculated as C5 according to the scrambled configuration parameter
  • the processing amount of the modulation is calculated as C6 according to the modulated configuration parameter.
  • Step 203 Calculate, according to the delay indicator of the processing unit and the processing amount of the logic module corresponding to the processing unit, the frequency required by the processing unit in the second unit time, for any processing unit included in the chip; Specifically, the delay indicator corresponding to the processing unit is obtained, and the processing unit is calculated in the second unit time according to the delay indicator of the processing unit and the processing amount of the logic module corresponding to the processing unit according to the following formula (1). Required frequency; c
  • T where, in equation (1), F is the frequency required by the processing unit in the second unit time, C is the processing amount of the logic module corresponding to the processing unit, and T is the delay indicator of the processing unit.
  • each processing unit in the chip may be set in advance to correspond to a delay indicator; after the data is input to the processing unit, the processing unit is after the time delay indicator corresponding to the processing unit Output the processing result of this data.
  • the delay indicator corresponding to the first processing core may be set to be T1, the delay indicator corresponding to the HAC is ⁇ 2, the delay indicator corresponding to the second processing core is ⁇ 3, and the delay corresponding to the third processing core is The delay indicator corresponding to the indicator ⁇ 4 and the fourth processing core is ⁇ 5, wherein after the data is input to the first processing core, after the T1 time, the first processing core outputs the result of processing the data, and the delay index of the HAC is ⁇ 2
  • the meaning of the delay indicator ⁇ 3 of the second processing core, the delay indicator ⁇ 4 of the third processing core, and the delay indicator ⁇ 5 of the fourth processing core are similar, and will not be explained one by one.
  • the delay indicator T1 of the first processing core is obtained, according to the processing quantity C1 of the logic module CRC corresponding to the first processing core, the processing quantity C2 of the segment, and the delay indicator T1 of the first processing core, and according to the following formula (1-1) calculating the frequency F1 required for the first processing core in the second unit time;
  • T1 obtains the delay indicator T2 corresponding to the HAC, according to the processing amount C3 of the logic module FEC corresponding to the HAC and the delay indicator ⁇ 2 of the HAC, and calculates the required HAC in the second unit time according to the following formula (1-2) Frequency F2;
  • T4 obtains a delay indicator ⁇ 5 corresponding to the fourth processing core, and calculates a processing amount C6 modulated by the logic module corresponding to the fourth processing core and a delay indicator ⁇ 5 of the fourth processing core, and is calculated according to the following formula (1-5) The frequency F5 required for processing the core in the second unit time;
  • Step 204 Obtain a voltage required by the processing unit in a second unit time according to a frequency required by the processing unit in the second unit time;
  • the frequency range corresponding to the processing unit is determined according to the frequency required by the processing unit in the second unit time, and the corresponding frequency range of the processing unit is obtained according to the corresponding relationship between the stored frequency range and the voltage.
  • the voltage required by the processing unit in the second unit time is determined according to the frequency required by the processing unit in the second unit time.
  • the correspondence between the frequency range and the voltage can be set in advance.
  • the correspondence between the frequency range and the voltage as shown in Table 1 can be set in advance.
  • the frequency range corresponding to the first processing core is determined to be 301Mh-400Mh according to the frequency F1 required by the first processing core in the second unit time, and the frequency range shown in Table 1 is determined according to the determined frequency range 301Mh-400Mh.
  • the voltage required to acquire the first processing core in the second unit time is 0.9V; and the frequency range corresponding to the HAC is determined to be 0-300Mh according to the frequency F2 required by the HAC in the second unit time, According to the determined frequency range 0-300Mh, from the corresponding relationship between the frequency range and the voltage as shown in Table 1, the voltage required to obtain the HAC in the second unit time is 0.8V; according to the second processing in the second unit time
  • the frequency F3 required by the core determines that the frequency range corresponding to the second processing core is 0Mh-300Mh, and obtains the second unit according to the determined frequency range 0Mh-300Mh from the corresponding relationship between the frequency range and the voltage as shown in Table 1.
  • the voltage required for the second processing core is 0.8V; the frequency range corresponding to the third processing core is determined to be 401Mh-500Mh according to the frequency F4 required for the third processing core in the second unit time, according to the determined frequency range. 401Mh-500M h from the correspondence between the frequency range and the voltage as shown in Table 1, obtaining the voltage required for the third processing core in the second unit time is IV; and, according to the fourth processing core required in the second unit time Frequency F5 determines the fourth The frequency range corresponding to the processing core is 301Mh-400Mh, and the voltage required for the fourth processing core in the second unit time is obtained from the corresponding relationship between the frequency range and the voltage as shown in Table 1 according to the determined frequency range 301Mh-400Mh. It is 0.9V.
  • the first protocol layer sends the configuration parameter of the logic module to be processed in the second unit time to the second protocol layer in the first unit time, so that the second unit layer needs to be processed according to the second unit time.
  • the configuration parameter of the logic module can accurately calculate the processing amount of the logic module to be processed in the second unit time, so that the frequency required by the processing unit corresponding to each logic module in the second unit time can be accurately calculated. And according to the frequency required by the processing unit in the second unit time, the voltage required by the processing unit in the second unit time is accurately obtained, so that loss of chip performance and waste of power consumption can be avoided.
  • Step 205 Supply the processing unit with the voltage required by the processing unit in the second unit time.
  • the voltage required by the processing unit in the second unit time may be notified to the power management module, so that the power management module supplies the processing unit with the voltage required by the processing unit in the second unit time, thus reducing the second The power consumption of the chip within the protocol layer.
  • the frequency of the processing unit can also be adjusted to the frequency required by the processing unit in the second unit time.
  • the steps of the above steps 203-205 are performed to obtain the voltage required by the processing unit in the second unit time, and the processing unit is supplied to the processing unit in the second unit time. The voltage required.
  • the first protocol layer sends the data block included in the logic module to be processed to the second protocol layer in the second unit time, and the second protocol layer maps the data block included in the logic module to the processing unit corresponding to the logic module. Then, the processing unit processes the data blocks included in the logic module mapped to itself.
  • a voltage of 0.9V is supplied to the first processing core in the second unit time, according to the voltage required for the HAC in the second unit time.
  • 0.8V supplying 0.8V voltage to the HAC in the second unit time, supplying 0.8V voltage to the second processing core according to the voltage required for the second processing core in the second unit time is 0.8V
  • the voltage required for the third processing core in the second unit time is IV
  • the voltage of the IV is supplied to the third processing core in the second unit time
  • the voltage required for the fourth processing core in the second unit time is 0.9V
  • a voltage of 0.9V is supplied to the fourth processing core in the second unit time.
  • the first protocol layer sends the data block included in the logic module CRC, the data block included in the segment, the data block included in the FEC, the data block included in the rate matching, the data block included in the scrambling, and the modulation
  • the included data block is sent to the second protocol layer; the second protocol layer maps the data block included in the CRC and the data block included in the segment to the first processing core, maps the data block included in the FEC to the HAC, and matches the rate to the included data.
  • Block mapping to the second processing core including scrambling
  • the data block is mapped to the third processing core, and the data block included in the modulation is mapped to the fourth processing core; then the first processing core performs baseband processing on the data block included in the CRC and the data block included in the segment, and the data included in the FEC by the HAC
  • the block performs baseband processing
  • the second processing check performs baseband processing on the data block included in the rate matching
  • the third processing core performs baseband processing on the data block included in the scrambling
  • the fourth processing check performs baseband processing on the data block included in the modulation.
  • the method in the second protocol layer includes a control processing core (CTR Core, Control Core), and the main body of the method in this embodiment may be the control processing core.
  • CTR Core Control Core
  • the main body of the method in this embodiment may be the control processing core.
  • the method provided in this embodiment may also be applied.
  • LTE Long Term Evolution
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • WiMAX Worldwide Interoperability for Microwave Access, Global Microwave Interconnect
  • GSM Global System of Mobile communication
  • the configuration parameters of the logic module that are processed by the processing unit included in the chip in the second unit time are received in the first unit time, and the second unit time is accurately calculated according to the configuration parameter of each logic module.
  • the first protocol layer sends the processing amount of each logic module to be processed, and accurately calculates the processing unit in the second unit time according to the processing amount of the logic module corresponding to the processing unit and the delay indicator of the processing unit. The required frequency, and accurately obtaining the voltage required by the processing unit in the second unit time according to the frequency required by the processing unit in the second unit time, thus avoiding loss of chip performance and work Waste of consumption.
  • an embodiment of the present invention provides a device for reducing power consumption of a chip, including:
  • the receiving module 301 is configured to receive, in the first unit time, a configuration parameter of a logic module that is processed by the chip in the second unit time, where the configuration parameter includes at least a number of data blocks included in the logic module and a length of the data block.
  • the second unit time is the unit time after the first unit time;
  • the determining module 302 is configured to determine, according to configuration parameters of the logic module corresponding to the processing unit included in the chip, a voltage required by the processing unit in the second unit time;
  • the supply module 303 is configured to supply the processing unit with a voltage required by the processing unit at a second unit time.
  • the first unit time may be the current unit time
  • the second unit time may be the first unit time, the second unit time or the third unit time after the first unit time.
  • one unit time can be one or more TTI (Transmission Time Interval).
  • the receiving module 301 can receive, in the first unit time, the configuration parameter of the logic module that the chip of the second protocol layer sent by the first protocol layer needs to process in the second unit time;
  • the program in the first protocol layer includes One or more logic a module, the chip in the second protocol layer includes one or more processing units, and the processing unit included in the chip corresponds to a logic module included in the program in the first protocol layer;
  • the second unit time the first protocol layer is sent in
  • the logic module that is processed by the chip of the second protocol layer in the second unit time includes a data block, and the processing unit included in the chip processes the data block included in the corresponding logic module.
  • the determining module 302 can include:
  • the first obtaining unit 3021 is configured to acquire, according to a configuration parameter of the logic module corresponding to the processing unit, a frequency required by the processing unit in the second unit time;
  • the second obtaining unit 3022 is configured to obtain a voltage required by the processing unit in the second unit time according to a frequency required by the processing unit in the second unit time.
  • the first obtaining unit may specifically include:
  • a first calculating sub-unit a configured to calculate a processing amount of the logic module corresponding to the processing unit according to a configuration parameter of the logic module corresponding to the processing unit;
  • the second calculating subunit b is configured to calculate a frequency required by the processing unit in the second unit time according to the processing amount of the logic module corresponding to the processing unit and the delay indicator of the processing unit.
  • the first calculating sub-unit a may multiply the number of data blocks included in the logic module by the length of the data block to obtain the processing amount of the logic module.
  • the second calculating sub-unit b can calculate the required processing unit in the second unit time according to the processing quantity C of the logic module corresponding to the processing unit and the delay index T of the processing unit according to the following formula (2) Frequency
  • the second acquisition unit includes:
  • Determining a sub-unit c configured to determine a frequency range corresponding to the processing unit according to a frequency required by the processing unit in a second unit time
  • the obtaining sub-unit d is configured to obtain, according to the frequency range corresponding to the processing unit, the voltage required by the processing unit in the second unit time from the corresponding relationship between the stored frequency range and the voltage.
  • the supply module 303 can notify the power management module of the voltage required by the processing unit in the second unit time, so that the power management module supplies the processing unit to the processing unit in the second unit time. The voltage required.
  • the device may further include:
  • the adjusting module 304 is configured to adjust the frequency of the processing unit to a frequency required by the processing unit in the second unit time.
  • the device provided in this embodiment may be a chip for baseband processing in a communication device such as a base station or a base station control device, or a communication device such as a base station and a base station control device including a chip for baseband processing.
  • the configuration parameter of the logic module required to be processed by the chip in the second unit time is received in the first unit time, and the configuration parameter of the logic module corresponding to the processing unit included in the chip can be accurately determined.
  • the voltage required by the processing unit in two unit time is supplied to the processing unit for the voltage required by the processing unit in the second unit time. In this way, waste of power consumption of the chip and loss of performance can be avoided.
  • the device for reducing the power consumption of the chip provided by the foregoing embodiment is only illustrated by the division of the foregoing functional modules when reducing the power consumption of the chip. In actual applications, the foregoing functions may be allocated according to requirements.
  • the foregoing embodiment provides a method for reducing the power consumption of the chip and the method for reducing the power consumption of the chip.
  • the specific implementation process is described in detail in the method embodiment, and details are not described herein again. It can be understood in the art that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium to which it is obtained may be a read only memory, a magnetic disk or an optical disk or the like.

Abstract

The present invention relates to the field of communications. Provided in embodiments of the present invention is a method for reducing the power consumption of a chip. The method comprises: receiving within a first unit time a configuration parameter of a logic module that the chip needs to process within a second unit time, the configuration parameter comprising at least the count of data blocks comprised in the logic module and the length of the data blocks, while the second unit time is the unit time subsequent to the first unit time; determining, on the basis of the configuration parameter of the logic module corresponding to a processor unit comprised by the chip, a voltage required within the second unit time by the processor unit; supplying within the second unit time the voltage required by the processor unit to the processor unit. A device comprising: a receiver module, a determination module, and a supply module. The present invention prevents power consumption wastage and performance loss for the chip.

Description

一种降低芯片功耗的方法及设备 技术领域  Method and device for reducing power consumption of chip
本发明涉及通信领域, 特别涉及一种降低芯片功耗的方法及设备。 背景技术  The present invention relates to the field of communications, and in particular, to a method and device for reducing power consumption of a chip. Background technique
在通信领域中, 芯片性能影响通说信的质量; 芯片的性能受自身的温度的影响, 芯片本身 的温度一方面由环境温度决定, 另一方面由芯片自身的功耗决定; 目前常常采用降低芯片的 功耗来降低芯片的温度, 以达到提高芯片性能的目的。  In the field of communication, the performance of the chip affects the quality of the general message; the performance of the chip is affected by its own temperature. The temperature of the chip itself is determined by the ambient temperature on the one hand and the power consumption of the chip itself on the other hand. The power consumption of the chip reduces the temperature of the chip to achieve the purpose of improving the performance of the chip.
目前 DVFS ( Dynamic Voltage and Frequency Scaling, 动态电压和频率缩放) 技术提供了 一种降低芯片的功耗的方法, 具体为: 根据当前单位书时间内芯片的负载预测当前单位时间最 近的下一个单位时间内芯片所需要的性能,并计算出在下一个单位时间内芯片所需要的电压, 并通知电源管理模块在下一个单位时间内调整供给芯片的电压, 如此通过动态调整供给芯片 的电压来降低芯片的功耗。  At present, DVFS (Dynamic Voltage and Frequency Scaling) technology provides a method for reducing the power consumption of the chip, specifically: predicting the next unit time of the current unit time according to the load of the chip in the current unit book time. The required performance of the chip, and calculate the voltage required by the chip in the next unit time, and inform the power management module to adjust the voltage supplied to the chip in the next unit time, thus reducing the power of the chip by dynamically adjusting the voltage supplied to the chip. Consumption.
在实现本发明的过程中, 发明人发现现有技术至少存在以下问题:  In the process of implementing the present invention, the inventors have found that the prior art has at least the following problems:
根据当前单位时间内芯片的负载预测出的下一个单位时间内芯片所需要的性能存在较大 的不准确性, 如果预测的性能大于芯片实际所需性能, 则造成芯片的功耗的浪费; 如果预测 的性能小于芯片实际所需性能, 则会造成芯片的性能的损失。 发明内容  According to the load of the chip in the current unit time, there is a large inaccuracy in the performance required by the chip in the next unit time. If the predicted performance is greater than the actual required performance of the chip, the power consumption of the chip is wasted; The predicted performance is less than the actual performance required by the chip, which can result in a loss of performance of the chip. Summary of the invention
为了避免芯片功耗的浪费和性能的损失, 本发明实施例提供了一种降低芯片功耗的方法 及设备。 本发明实施例提供的技术方案如下:  In order to avoid waste of power consumption and loss of performance of the chip, embodiments of the present invention provide a method and device for reducing power consumption of a chip. The technical solution provided by the embodiment of the present invention is as follows:
一种降低芯片功耗的方法, 所述方法包括:  A method of reducing power consumption of a chip, the method comprising:
在第一单位时间内接收第二单位时间内芯片所需处理的逻辑模块的配置参数, 所述配置 参数至少包括所述逻辑模块包括的数据块的个数和所述数据块的长度, 所述第二单位时间为 所述第一单位时间之后的单位时间;  Receiving, in the first unit time, a configuration parameter of a logic module that is required to be processed by the chip in the second unit time, where the configuration parameter includes at least a number of data blocks included in the logic module and a length of the data block, The second unit time is a unit time after the first unit time;
根据所述芯片包括的处理单元对应的逻辑模块的配置参数确定在所述第二单位时间内所 述处理单元所需的电压;  Determining, according to configuration parameters of the logic module corresponding to the processing unit included in the chip, a voltage required by the processing unit in the second unit time;
在所述第二单位时间向所述处理单元供给所述处理单元所需的电压。 一种降低芯片功耗的设备, 所述设备包括- 接收模块, 用于在第一单位时间内接收第二单位时间内芯片所需处理的逻辑模块的配置 参数, 所述配置参数至少包括所述逻辑模块包括的数据块的个数和所述数据块的长度, 所述 第二单位时间为所述第一单位时间之后的单位时间; The voltage required by the processing unit is supplied to the processing unit at the second unit time. An apparatus for reducing power consumption of a chip, where the apparatus includes: a receiving module, configured to receive, in a first unit time, a configuration parameter of a logic module that is required to be processed by a chip in a second unit time, where the configuration parameter includes at least the a number of data blocks included in the logic module and a length of the data block, where the second unit time is a unit time after the first unit time;
确定模块, 用于根据所述芯片包括的处理单元对应的逻辑模块的配置参数确定在所述第 二单位时间内所述处理单元所需的电压;  a determining module, configured to determine, according to configuration parameters of the logic module corresponding to the processing unit included in the chip, a voltage required by the processing unit in the second unit time;
供给模块, 用于在所述第二单位时间内向所述处理单元供给所述处理单元所需的电压。 在本发明实施例中, 在第一单位时间内接收第二单位时间内芯片所需处理的逻辑模块的 配置参数, 根据芯片包括的处理单元对应的逻辑模块的配置参数能够准确地确定出在第二单 位时间内该处理单元所需的电压, 在第二单位时间内向该处理单元供给该处理单元所需的电 压。 如此, 能够避免芯片功耗的浪费和性能的损失。 附图说明  And a supply module, configured to supply a voltage required by the processing unit to the processing unit in the second unit time. In the embodiment of the present invention, the configuration parameter of the logic module required to be processed by the chip in the second unit time is received in the first unit time, and the configuration parameter of the logic module corresponding to the processing unit included in the chip can be accurately determined. The voltage required by the processing unit in two unit time is supplied to the processing unit for the voltage required by the processing unit in the second unit time. In this way, waste of power consumption of the chip and loss of performance can be avoided. DRAWINGS
图 1是本发明实施例 1提供的一种降低芯片功耗的方法流程图;  1 is a flowchart of a method for reducing power consumption of a chip according to Embodiment 1 of the present invention;
图 2是本发明实施例 2提供的一种降低芯片功耗的方法流程图;  2 is a flow chart of a method for reducing power consumption of a chip according to Embodiment 2 of the present invention;
图 3是本发明实施例 2提供的第二协议处理层的结构示意图;  3 is a schematic structural diagram of a second protocol processing layer according to Embodiment 2 of the present invention;
图 4是本发明实施例 3提供的第一种降低芯片功耗的设备示意图;  4 is a schematic diagram of a device for reducing power consumption of a chip according to Embodiment 3 of the present invention;
图 5是本发明实施例 3提供的第二种降低芯片功耗的设备示意图;  FIG. 5 is a schematic diagram of a second device for reducing power consumption of a chip according to Embodiment 3 of the present invention; FIG.
图 6是本发明实施例 3提供的第三种降低芯片功耗的设备示意图;  6 is a schematic diagram of a third device for reducing power consumption of a chip according to Embodiment 3 of the present invention;
图 7是本发明实施例 3提供的第四种降低芯片功耗的设备示意图;  7 is a schematic diagram of a fourth device for reducing power consumption of a chip according to Embodiment 3 of the present invention;
图 8是本发明实施例 3提供的第五种降低芯片功耗的设备示意图。 具体实施方式  FIG. 8 is a schematic diagram of a fifth device for reducing power consumption of a chip according to Embodiment 3 of the present invention. detailed description
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明实施方式作进 一步地详细描述。 实施例 1  In order to make the objects, the technical solutions and the advantages of the present invention more apparent, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings. Example 1
如图 1所示, 本发明实施例提供了一种降低芯片功耗的方法, 包括:  As shown in FIG. 1 , an embodiment of the present invention provides a method for reducing power consumption of a chip, including:
步骤 101 : 在第一单位时间内接收第二单位时间内芯片所需处理的逻辑模块的配置参数, 该配置参数至少包括该逻辑模块包括的数据块的个数和所述数据块的长度, 第二单位时间为 第一单位时间之后的单位时间; Step 101: Receive, in a first unit time, a configuration parameter of a logic module that is processed by a chip in a second unit time, where the configuration parameter includes at least a number of data blocks included in the logic module and a length of the data block, Two unit time is Unit time after the first unit time;
步骤 102: 根据芯片包括的处理单元对应的逻辑模块的配置参数确定在第二单位时间内 该处理单元所需的电压;  Step 102: Determine, according to a configuration parameter of a logic module corresponding to the processing unit included in the chip, a voltage required by the processing unit in a second unit time;
步骤 103: 在第二单位时间向该处理单元供给该处理单元所需的电压。  Step 103: Supply the processing unit with the voltage required by the processing unit at the second unit time.
其中, 上述步骤 102可以包括:  The above step 102 may include:
( 1 ): 根据该处理单元对应的逻辑模块的配置参数获取在第二单位时间内该处理单元所 需的频率;  (1): acquiring, according to a configuration parameter of the logic module corresponding to the processing unit, a frequency required by the processing unit in a second unit time;
( 2): 根据在第二单位时间内该处理单元所需的频率, 获取在第二单位时间内该处理单 元所需的电压。  (2): Acquire the voltage required for the processing unit in the second unit time according to the frequency required by the processing unit in the second unit time.
进一步地, 上述 (1 ) 可以包括:  Further, the above (1) may include:
( 1-1 ): 根据该处理单元对应的逻辑模块的配置参数计算出该处理单元对应的逻辑模块 的处理量;  (1-1): calculating, according to configuration parameters of the logic module corresponding to the processing unit, a processing amount of the logic module corresponding to the processing unit;
( 1-2): 根据该处理单元对应的逻辑模块的处理量和该处理单元的延时指标, 计算出在 第二单位时间内该处理单元所需的频率。  (1-2): Calculate the frequency required by the processing unit in the second unit time according to the processing amount of the logic module corresponding to the processing unit and the delay indicator of the processing unit.
进一步地, 上述 (2) 可以包括:  Further, the above (2) may include:
( 2-1 ): 根据在第二单位时间内该处理单元所需的频率, 确定出该处理单元对应的频率 范围;  (2-1): determining a frequency range corresponding to the processing unit according to a frequency required by the processing unit in the second unit time;
( 2-2): 根据该处理单元对应的频率范围, 从存储的频率范围与电压的对应关系中获取 在第二单位时间内该处理单元所需的电压。  (2-2): According to the frequency range corresponding to the processing unit, the voltage required for the processing unit in the second unit time is obtained from the correspondence relationship between the stored frequency range and the voltage.
进一步地, 在上述 (1 ) 后, 还可以包括:  Further, after (1) above, the method may further include:
在第二单位时间内, 将该处理单元的频率调整为该处理单元所需的频率。  In the second unit time, the frequency of the processing unit is adjusted to the frequency required by the processing unit.
在本发明实施例中, 在第一单位时间内接收第二单位时间内芯片所需处理的逻辑模块的 配置参数, 根据芯片包括的处理单元对应的逻辑模块的配置参数能够准确地确定出在第二单 位时间内该处理单元所需的电压, 在第二单位时间内向该处理单元供给该处理单元所需的电 压。 如此, 能够避免芯片功耗的浪费和性能的损失。 实施例 2  In the embodiment of the present invention, the configuration parameter of the logic module required to be processed by the chip in the second unit time is received in the first unit time, and the configuration parameter of the logic module corresponding to the processing unit included in the chip can be accurately determined. The voltage required by the processing unit in two unit time is supplied to the processing unit for the voltage required by the processing unit in the second unit time. In this way, waste of power consumption of the chip and loss of performance can be avoided. Example 2
本发明实施例提供了一种降低芯片功耗的方法。 在本实施例中, 第一协议层将第一协议 层内的程序发送给第二协议层, 第二协议层内的芯片接收该程序并对该程序进行处理, 且第 二协议层内的芯片可以通过本实施例提供的方法来降低自身的功耗, 以提高自身的性能, 参 见图 2, 该方法包括: Embodiments of the present invention provide a method for reducing power consumption of a chip. In this embodiment, the first protocol layer sends the program in the first protocol layer to the second protocol layer, and the chip in the second protocol layer receives the program and processes the program, and the chip in the second protocol layer The method provided in this embodiment can be used to reduce the power consumption of the device to improve its performance. See Figure 2, the method includes:
步骤 201 : 在第一单位时间内接收第二单位时间内芯片所需处理的逻辑模块的配置参数, 且该配置参数至少包括该逻辑模块包括的数据块的个数和数据块的长度, 第二单位时间为第 一单位时间之后的单位时间;  Step 201: Receive, in a first unit time, a configuration parameter of a logic module that is processed by a chip in a second unit time, and the configuration parameter includes at least a number of data blocks included in the logic module and a length of the data block, and second The unit time is the unit time after the first unit time;
其中, 第一协议层内的任一个程序, 假设为第一程序, 按照第一程序内各程序段的功能 可以将整个第一程序划分成一个或多个逻辑模块, 逻辑模块包括一个或多个数据块; 第一协 议层内的其他任一个程序, 假设为第二程序, 第二程序的结构与第一程序相同, 即第二程序 包括的逻辑模块的个数和类型都分别与第一程序包括的逻辑模块的个数和类型相同, 但第一 程序和第二程序内相同类型的逻辑模块包括的数据块的个数和数据块的长度不一定相同。  Wherein, any program in the first protocol layer is assumed to be a first program, and the entire first program may be divided into one or more logic modules according to functions of each program segment in the first program, and the logic module includes one or more a data block; any other program in the first protocol layer, assuming a second program, the structure of the second program is the same as the first program, that is, the number and type of the logic modules included in the second program are respectively the first program The number of logical modules included is the same as the type, but the number of data blocks and the length of the data block included in the logical module of the same type in the first program and the second program are not necessarily the same.
其中, 第二协议层内的任一个芯片内包括一个或多个处理单元, 可以事先配置第二协议 层内的芯片包括的处理单元对应程序中的一个或多个逻辑模块, 第二协议层内的任一个芯片 内包括的处理单元用于处理其对应逻辑模块包括的数据块。  Wherein, any one of the chips in the second protocol layer includes one or more processing units, and one or more logic modules in the processing unit corresponding to the chip included in the chip in the second protocol layer may be configured in advance, and the second protocol layer A processing unit included in any of the chips is used to process data blocks included in its corresponding logic module.
其中, 第一协议层在第一单位时间内发送第一单位时间内所需处理的逻辑模块包括的数 据块给第二协议层, 第二协议层内的芯片接收第一协议层发送的逻辑模块包括的数据块, 将 该逻辑模块包括的数据块映射到该逻辑模块对应的处理单元中并通过该处理单元对该逻辑模 块包括的数据块进行处理; 同时第一协议层还在第一单位时间内发送第二单位时间内所需处 理的逻辑模块的配置参数给第二协议层, 第二协议层内的芯片接收该逻辑模块的配置参数并 根据该逻辑模块的配置参数准备资源, 该资源用于在第二单位时间内处理第一协议层发送的 该逻辑模块包括的数据块。  The first protocol layer sends the data block included in the logic module to be processed in the first unit time to the second protocol layer in the first unit time, and the chip in the second protocol layer receives the logic module sent by the first protocol layer. Included data block, the data block included in the logic module is mapped into a processing unit corresponding to the logic module, and the data block included in the logic module is processed by the processing unit; and the first protocol layer is still in the first unit time Transmitting, by the second protocol layer, the configuration parameter of the logic module to be processed in the second unit time, the chip in the second protocol layer receiving the configuration parameter of the logic module, and preparing resources according to the configuration parameter of the logic module, the resource is used by the resource Processing the data block included in the logic module sent by the first protocol layer in the second unit time.
假设, 第一协议层可以为数据链路层, 第二协议层可以为物理层, 第二协议层内的芯片 对第一协议层内的程序进行基带处理; 参见图 3, 第一协议层内的第一程序被划分的逻辑模 块包括 CRC ( Cyclic Redundancy Check, 循环冗余校验码)、 分段、 FEC ( Forward Error Correction, 前向纠错)、 速率匹配、 加扰和调制; 第二协议层包括第一芯片和第二芯片, 第 一芯片内的处理单元包括 HAC (Home Access Center, 主接入中心)、 第一处理核和第二处理 核, 第二芯片内的处理单元包括第三处理核和第四处理核, 可以事先设置第一处理核对应第 一程序包括的逻辑模块为 CRC和分段, HAC对应第一程序包括的逻辑模块为 FEC, 第二处 理核对应第一程序包括的逻辑模块为速率匹配, 第三处理核对应第一程序包括的逻辑模块为 加扰, 第四处理核对应第一程序包括的逻辑模块为调制, 即第一处理核用于处理第一程序包 括的 CRC和分段两逻辑模块, HAC用于处理第一程序包括的逻辑模块为 FEC, 第二处理核 用于处理第一程序包括的逻辑模块为速率匹配, 第三处理核用于处理第一程序包括的逻辑模 块为加扰, 第四处理核用于处理第一程序包括的逻辑模块为调制。 It is assumed that the first protocol layer may be a data link layer, the second protocol layer may be a physical layer, and the chips in the second protocol layer perform baseband processing on a program in the first protocol layer; see FIG. 3, in the first protocol layer The first program is divided into logic modules including CRC (Cyclic Redundancy Check), segmentation, FEC (Forward Error Correction), rate matching, scrambling and modulation; The layer includes a first chip and a second chip, and the processing unit in the first chip includes a Home Access Center (HAC), a first processing core, and a second processing core, and the processing unit in the second chip includes a third The processing core and the fourth processing core may be configured in advance that the first processing core corresponds to the logic module included in the first program as a CRC and a segment, the HAC corresponding to the first program includes a logic module, and the second processing core corresponds to the first program. The logic module is rate matching, the third processing core corresponds to the logic module included in the first program is scrambling, and the fourth processing core corresponds to the logic module included in the first program is modulation, that is, A processing core is configured to process the CRC and the segmentation two logic modules included in the first program, the HAC is configured to process the logic module included in the first program to be FEC, and the second processing core is configured to process the logic module included in the first program as rate matching a third processing core for processing a logic module included in the first program The block is scrambled, and the fourth processing core is used to process the logic module included in the first program as modulation.
假设, 第一协议层需要第二协议层的芯片在第二单位时间内处理的逻辑模块包括 CRC、 分段、 FEC、 速率匹配、 加扰和调制, 则第一协议层在第一单位时间内发送第二单位时间内 所需处理的逻辑模块 CRC的配置参数、分段的配置参数、 FEC的配置参数、速率匹配的配置 参数、 加扰的配置参数和调制的配置参数给第二协议层的芯片。  Assume that the first protocol layer requires that the logic module processed by the chip of the second protocol layer in the second unit time includes CRC, segmentation, FEC, rate matching, scrambling and modulation, then the first protocol layer is in the first unit time. Transmitting the configuration parameters of the logic module CRC, the segmentation configuration parameters, the FEC configuration parameters, the rate matching configuration parameters, the scrambled configuration parameters, and the modulated configuration parameters of the logic module to be processed in the second unit time to the second protocol layer chip.
其中, 需要说明的是: CRC的配置参数至少包括 CRC包括的数据块的个数、 数据块的 长度和 CRC位数; 分段的配置参数至少包括分段包括的数据块的个数和数据块的长度; FEC 的配置参数至少包括 FEC包括的数据块的个数、 数据块的长度和 FEC编码方式; 速率匹配 的配置参数至少包括速度匹配包括的数据块的个数和数据块的长度; 加扰的配置参数至少包 括加扰包括的数据块的个数和数据块的长度; 以及, 调制的配置参数至少包括调制包括的数 据块的个数和数据块的长度。  It should be noted that: the configuration parameter of the CRC includes at least the number of data blocks included in the CRC, the length of the data block, and the number of CRC bits; the configuration parameter of the segment includes at least the number of data blocks and the data block included in the segment. The length of the FEC configuration parameter includes at least the number of data blocks included in the FEC, the length of the data block, and the FEC encoding mode; the configuration parameters of the rate matching include at least the number of data blocks included in the speed matching and the length of the data block; The disturbed configuration parameter includes at least the number of data blocks included in the scrambling and the length of the data block; and, the modulated configuration parameters include at least the number of data blocks included in the modulation and the length of the data block.
其中, 在通信领域中, 一个单位时间可以为一个或多个 TTI (Transmission Time Interval, 传输时间间隔)。第一单位时间可以为当前的单位时间, 第二单位时间可以为第一单位时间之 后的第一个单位时间、 第二个单位时间或第三个单位时间等。  In the communication field, one unit time may be one or more TTIs (Transmission Time Intervals). The first unit time may be the current unit time, and the second unit time may be the first unit time, the second unit time, or the third unit time after the first unit time.
步骤 202: 针对第二单位时间内所需处理的任一个逻辑模块, 根据该逻辑模块的配置参 数计算出该逻辑模块的处理量;  Step 202: Calculate, according to a configuration parameter of the logic module, a processing quantity of the logic module according to any logic module that needs to be processed in the second unit time;
具体地, 根据该逻辑模块包括的数据块的个数和数据块的长度计算出该逻辑模块的处理 量; 对于其他的任一逻辑模块, 按与该逻辑模块相同的计算方法计算该逻辑模块的处理量。  Specifically, the processing amount of the logic module is calculated according to the number of data blocks included in the logic module and the length of the data block; for any other logic module, the calculation method of the logic module is calculated according to the same calculation method as the logic module. Processing volume.
其中, 可以将该逻辑模块包括的数据块的个数与数据块的长度做乘法运算得到该逻辑模 块的处理量。  The number of data blocks included in the logic module and the length of the data block may be multiplied to obtain a processing amount of the logic module.
其中, 需要说明的是: 对于逻辑模块 CRC, 则需要根据逻辑模块 CRC包括的数据块的 个数、 数据块的长度和 CRC位数计算出逻辑模块 CRC的处理量; 对于逻辑模块 FEC, 则需 要根据逻辑模块 FEC包括的数据块的个数、 数据块的长度和 FEC编码方式计算出逻辑模块 FEC的处理量。  The logic module CRC needs to calculate the processing amount of the logic module CRC according to the number of data blocks included in the logic module CRC, the length of the data block, and the number of CRC bits. For the logic module FEC, The processing amount of the logic module FEC is calculated according to the number of data blocks included in the logic module FEC, the length of the data block, and the FEC encoding mode.
例如, 根据 CRC的配置参数计算出 CRC的处理量为 Cl, 根据分段的配置参数计算出分 段的处理量 C2, 根据 FEC的配置参数计算出 FEC的处理量 C3, 根据速率匹配的配置参数计 算出速率匹配的处理量为 C4, 根据加扰的配置参数计算出加扰的处理量为 C5, 以及, 根据 调制的配置参数计算出调制的处理量为 C6。  For example, according to the configuration parameter of the CRC, the processing amount of the CRC is calculated as Cl, the processing amount C2 of the segment is calculated according to the configuration parameter of the segment, and the processing amount C3 of the FEC is calculated according to the configuration parameter of the FEC, and the configuration parameter according to the rate matching is configured. The processing amount of the rate matching is calculated as C4, the processing amount of the scrambling is calculated as C5 according to the scrambled configuration parameter, and the processing amount of the modulation is calculated as C6 according to the modulated configuration parameter.
步骤 203: 针对芯片中包括的任一个处理单元, 根据该处理单元的延时指标和该处理单 元对应的逻辑模块的处理量, 计算出在第二单位时间内该处理单元所需的频率; 具体地, 获取该处理单元对应的延时指标, 根据该处理单元的延时指标和该处理单元对 应的逻辑模块的处理量按如下公式 (1 ) 计算出在第二单位时间内该处理单元所需的频率; c Step 203: Calculate, according to the delay indicator of the processing unit and the processing amount of the logic module corresponding to the processing unit, the frequency required by the processing unit in the second unit time, for any processing unit included in the chip; Specifically, the delay indicator corresponding to the processing unit is obtained, and the processing unit is calculated in the second unit time according to the delay indicator of the processing unit and the processing amount of the logic module corresponding to the processing unit according to the following formula (1). Required frequency; c
…… (1 );  …… (1 );
T 其中, 在公式 (1 ) 中, F为处理单元在第二单位时间内所需的频率, C为处理单元对应 的逻辑模块的处理量, T为处理单元的延时指标。  T where, in equation (1), F is the frequency required by the processing unit in the second unit time, C is the processing amount of the logic module corresponding to the processing unit, and T is the delay indicator of the processing unit.
其中, 对于第二协议层的芯片, 可以事先设置芯片内的每个处理单元对应一个延时指标; 当将数据输入到处理单元后, 经过该处理单元对应的延时指标的时间后该处理单元输出该数 据的处理结果。  Wherein, for the chip of the second protocol layer, each processing unit in the chip may be set in advance to correspond to a delay indicator; after the data is input to the processing unit, the processing unit is after the time delay indicator corresponding to the processing unit Output the processing result of this data.
在本实施例中, 可以事先设置第一处理核对应的延时指标为 Tl、 HAC对应的延时指标 为 Τ2、 第二处理核对应的延时指标为 Τ3、 第三处理核对应的延时指标为 Τ4以及第四处理核 对应的延时指标为 Τ5, 其中, 当将数据输入到第一处理核后, 经过 T1时间后第一处理核输 出处理该数据的结果, HAC的延时指标 Τ2、 第二处理核的延时指标 Τ3、 第三处理核的延时 指标 Τ4以及第四处理核的延时指标 Τ5的含义类似, 不再一一说明。  In this embodiment, the delay indicator corresponding to the first processing core may be set to be T1, the delay indicator corresponding to the HAC is Τ2, the delay indicator corresponding to the second processing core is Τ3, and the delay corresponding to the third processing core is The delay indicator corresponding to the indicator Τ4 and the fourth processing core is Τ5, wherein after the data is input to the first processing core, after the T1 time, the first processing core outputs the result of processing the data, and the delay index of the HAC is Τ2 The meaning of the delay indicator Τ3 of the second processing core, the delay indicator Τ4 of the third processing core, and the delay indicator Τ5 of the fourth processing core are similar, and will not be explained one by one.
例如, 获取第一处理核的延时指标 Tl, 根据第一处理核对应的逻辑模块 CRC的处理量 C1和分段的处理量 C2以及第一处理核的延时指标 Tl, 并按如下的公式 (1-1 ) 计算出在第 二单位时间内第一处理核所需的频率 F1 ;  For example, the delay indicator T1 of the first processing core is obtained, according to the processing quantity C1 of the logic module CRC corresponding to the first processing core, the processing quantity C2 of the segment, and the delay indicator T1 of the first processing core, and according to the following formula (1-1) calculating the frequency F1 required for the first processing core in the second unit time;
F 1 = ^ ...... ( 1-1 ) F 1 = ^ ...... ( 1-1 )
T1 获取 HAC对应的延时指标 T2, 根据 HAC对应的逻辑模块 FEC的处理量 C3和 HAC的 延时指标 Τ2, 并按如下的公式 (1-2) 计算出在第二单位时间内 HAC所需的频率 F2;  T1 obtains the delay indicator T2 corresponding to the HAC, according to the processing amount C3 of the logic module FEC corresponding to the HAC and the delay indicator Τ2 of the HAC, and calculates the required HAC in the second unit time according to the following formula (1-2) Frequency F2;
C3  C3
F2 -— ······ ( 1-2)  F2 -—······· ( 1-2)
Τ2 获取第二处理核对应的延时指标 Τ3,根据第二处理核对应的逻辑模块速率匹配的处理量 Τ2 Obtain a delay indicator corresponding to the second processing core Τ3, according to the processing amount of the logic module corresponding to the second processing core
C4和第二处理核的延时指标 Τ3, 并按如下的公式 (1-3 ) 计算出在第二单位时间内第二处理 核所需的频率 F3; C4 and the second processing core delay indicator Τ3, and calculate the frequency F3 required for the second processing core in the second unit time according to the following formula (1-3);
C4  C4
F3 -— ······ ( 1-3 )  F3 -—······· ( 1-3 )
Τ3 获取第三处理核对应的延时指标 Τ4, 根据第三处理核对应的逻辑模块加扰的处理量 C5 和第三处理核的延时指标 Τ4, 并按如下的公式 (1-4) 计算出在第二单位时间内第三处理核 所需的频率 F4; F4 -— ······ ( 1-4) Τ3 obtaining the delay indicator Τ4 corresponding to the third processing core, according to the processing amount C5 of the logical module scrambling corresponding to the third processing core and the delay indicator Τ4 of the third processing core, and calculating according to the following formula (1-4) The frequency F4 required for the third processing core in the second unit time; F4 -—······· (1-4)
T4 获取第四处理核对应的延时指标 Τ5, 根据第四处理核对应的逻辑模块调制的处理量 C6 和第四处理核的延时指标 Τ5, 并按如下的公式 (1-5 ) 计算出在第二单位时间内第四处理核 所需的频率 F5;  T4 obtains a delay indicator Τ5 corresponding to the fourth processing core, and calculates a processing amount C6 modulated by the logic module corresponding to the fourth processing core and a delay indicator Τ5 of the fourth processing core, and is calculated according to the following formula (1-5) The frequency F5 required for processing the core in the second unit time;
F5 ^ ...... ( 1-5 )。  F5 ^ ...... (1-5).
T5 步骤 204: 根据在第二单位时间内该处理单元所需的频率, 获取在第二单位时间内该处 理单元所需的电压;  T5 Step 204: Obtain a voltage required by the processing unit in a second unit time according to a frequency required by the processing unit in the second unit time;
具体地, 根据在第二单位时间内该处理单元所需的频率, 确定出该处理单元对应的频率 范围, 根据该处理单元对应的频率范围, 从已存储的频率范围与电压的对应关系中获取在第 二单位时间内该处理单元所需要的电压。  Specifically, the frequency range corresponding to the processing unit is determined according to the frequency required by the processing unit in the second unit time, and the corresponding frequency range of the processing unit is obtained according to the corresponding relationship between the stored frequency range and the voltage. The voltage required by the processing unit in the second unit time.
其中, 可以事先设置频率范围与电压的对应关系, 例如, 可以事先设置如表 1所示的频 率范围与电压的对应关系。  In this case, the correspondence between the frequency range and the voltage can be set in advance. For example, the correspondence between the frequency range and the voltage as shown in Table 1 can be set in advance.
表 1  Table 1
Figure imgf000008_0001
例如,根据在第二单位时间内第一处理核所需的频率 F1确定出第一处理核对应的频率范 围为 301Mh-400Mh, 根据确定的频率范围 301Mh-400Mh从如表 1所示的频率范围与电压的 对应关系中, 获取在第二单位时间内第一处理核所需的电压为 0.9V; 根据在第二单位时间内 HAC所需的频率 F2确定 HAC对应的频率范围为 0-300Mh, 根据确定的频率范围 0-300Mh 从如表 1所示的频率范围与电压的对应关系中, 获取在第二单位时间内 HAC所需的电压为 0.8V;根据在第二单位时间内第二处理核所需的频率 F3确定出第二处理核对应的频率范围为 0Mh-300Mh, 根据确定的频率范围 0Mh-300Mh从如表 1所示的频率范围与电压的对应关系 中, 获取在第二单位时间内第二处理核所需的电压为 0.8V; 根据在第二单位时间内第三处理 核所需的频率 F4确定出第三处理核对应的频率范围为 401Mh-500Mh, 根据确定的频率范围 401Mh-500Mh从如表 1所示的频率范围与电压的对应关系中, 获取在第二单位时间内第三处 理核所需的电压为 IV; 以及, 根据在第二单位时间内第四处理核所需的频率 F5确定出第四 处理核对应的频率范围为 301Mh-400Mh, 根据确定的频率范围 301Mh-400Mh从如表 1所示 的频率范围与电压的对应关系中, 获取在第二单位时间内第四处理核所需的电压为 0.9V。
Figure imgf000008_0001
For example, the frequency range corresponding to the first processing core is determined to be 301Mh-400Mh according to the frequency F1 required by the first processing core in the second unit time, and the frequency range shown in Table 1 is determined according to the determined frequency range 301Mh-400Mh. In the corresponding relationship with the voltage, the voltage required to acquire the first processing core in the second unit time is 0.9V; and the frequency range corresponding to the HAC is determined to be 0-300Mh according to the frequency F2 required by the HAC in the second unit time, According to the determined frequency range 0-300Mh, from the corresponding relationship between the frequency range and the voltage as shown in Table 1, the voltage required to obtain the HAC in the second unit time is 0.8V; according to the second processing in the second unit time The frequency F3 required by the core determines that the frequency range corresponding to the second processing core is 0Mh-300Mh, and obtains the second unit according to the determined frequency range 0Mh-300Mh from the corresponding relationship between the frequency range and the voltage as shown in Table 1. The voltage required for the second processing core is 0.8V; the frequency range corresponding to the third processing core is determined to be 401Mh-500Mh according to the frequency F4 required for the third processing core in the second unit time, according to the determined frequency range. 401Mh-500M h from the correspondence between the frequency range and the voltage as shown in Table 1, obtaining the voltage required for the third processing core in the second unit time is IV; and, according to the fourth processing core required in the second unit time Frequency F5 determines the fourth The frequency range corresponding to the processing core is 301Mh-400Mh, and the voltage required for the fourth processing core in the second unit time is obtained from the corresponding relationship between the frequency range and the voltage as shown in Table 1 according to the determined frequency range 301Mh-400Mh. It is 0.9V.
其中, 在本实施例中, 第一协议层在第一单位时间内发送第二单位时间内所需要处理的 逻辑模块的配置参数给第二协议层, 如此根据第二单位时间内所需要处理的逻辑模块的配置 参数可以准确地计算出第二单位时间内所需处理的逻辑模块的处理量, 从而能够准确地计算 出在第二单位时间内每个逻辑模块对应的处理单元所需的频率, 并根据在第二单位时间内该 处理单元所需的频率, 准确地获取到在第二单位时间内该处理单元所需的电压, 如此能够避 免造成芯片性能的损失和功耗的浪费。  In this embodiment, the first protocol layer sends the configuration parameter of the logic module to be processed in the second unit time to the second protocol layer in the first unit time, so that the second unit layer needs to be processed according to the second unit time. The configuration parameter of the logic module can accurately calculate the processing amount of the logic module to be processed in the second unit time, so that the frequency required by the processing unit corresponding to each logic module in the second unit time can be accurately calculated. And according to the frequency required by the processing unit in the second unit time, the voltage required by the processing unit in the second unit time is accurately obtained, so that loss of chip performance and waste of power consumption can be avoided.
步骤 205: 在第二单位时间内向该处理单元供给该处理单元所需的电压。  Step 205: Supply the processing unit with the voltage required by the processing unit in the second unit time.
具体地, 可以将在第二单位时间内该处理单元所需的电压通知给电源管理模块, 使得电 源管理模块在第二单位时间内向该处理单元供给该处理单元所需的电压, 如此降低第二协议 层内的芯片的功耗。  Specifically, the voltage required by the processing unit in the second unit time may be notified to the power management module, so that the power management module supplies the processing unit with the voltage required by the processing unit in the second unit time, thus reducing the second The power consumption of the chip within the protocol layer.
进一步地, 还可以在第二单位时间内, 将该处理单元的频率调整为该处理单元所需的频 率。  Further, the frequency of the processing unit can also be adjusted to the frequency required by the processing unit in the second unit time.
其中, 对于芯片包括的其他任一处理单元, 执行上述步骤 203-205 的步骤得到该处理单 元在第二单位时间内所需的电压, 并在第二单位时间内向该处理单元供给该处理单元所需的 电压。  Wherein, for any other processing unit included in the chip, the steps of the above steps 203-205 are performed to obtain the voltage required by the processing unit in the second unit time, and the processing unit is supplied to the processing unit in the second unit time. The voltage required.
其中, 在第二单位时间内第一协议层发送所需要处理的逻辑模块包括的数据块给第二协 议层, 第二协议层将该逻辑模块包括的数据块映射到该逻辑模块对应的处理单元, 然后该处 理单元再对映射到自身的逻辑模块包括的数据块进行处理。  The first protocol layer sends the data block included in the logic module to be processed to the second protocol layer in the second unit time, and the second protocol layer maps the data block included in the logic module to the processing unit corresponding to the logic module. Then, the processing unit processes the data blocks included in the logic module mapped to itself.
例如, 根据在第二单位时间内第一处理核所需的电压为 0.9V, 在第二单位时间内向第一 处理核供给 0.9V的电压, 根据在第二单位时间内 HAC所需的电压为 0.8V, 在第二单位时间 内向 HAC供给 0.8V的电压, 根据在第二单位时间内第二处理核所需的电压为 0.8V, 在第二 单位时间内向第二处理核供给 0.8V的电压,根据在第二单位时间内第三处理核所需的电压为 IV, 在第二单位时间内向第三处理核供给 IV的电压, 根据在第二单位时间内第四处理核所 需的电压为 0.9V, 在第二单位时间内向第四处理核供给 0.9V的电压。  For example, according to the voltage required for the first processing core in the second unit time is 0.9V, a voltage of 0.9V is supplied to the first processing core in the second unit time, according to the voltage required for the HAC in the second unit time. 0.8V, supplying 0.8V voltage to the HAC in the second unit time, supplying 0.8V voltage to the second processing core according to the voltage required for the second processing core in the second unit time is 0.8V According to the voltage required for the third processing core in the second unit time is IV, the voltage of the IV is supplied to the third processing core in the second unit time, and the voltage required for the fourth processing core in the second unit time is 0.9V, a voltage of 0.9V is supplied to the fourth processing core in the second unit time.
其中, 在第二单位时间内, 第一协议层发送逻辑模块 CRC包括的数据块、 分段包括的数 据块、 FEC包括的数据块、 速率匹配包括的数据块、 加扰包括的数据块和调制包括的数据块 给第二协议层; 第二协议层将 CRC包括的数据块和分段包括的数据块映射到第一处理核, 将 FEC包括的数据块映射到 HAC, 将速率匹配包括的数据块映射到第二处理核、将加扰包括的 数据块映射到第三处理核, 以及, 将调制包括的数据块映射第四处理核; 然后第一处理核对 CRC包括的数据块和分段包括的数据块进行基带处理, HAC对 FEC包括的数据块进行基带 处理, 第二处理核对速率匹配包括的数据块进行基带处理, 第三处理核对加扰包括的数据块 进行基带处理, 第四处理核对调制包括的数据块进行基带处理。 Wherein, in the second unit time, the first protocol layer sends the data block included in the logic module CRC, the data block included in the segment, the data block included in the FEC, the data block included in the rate matching, the data block included in the scrambling, and the modulation The included data block is sent to the second protocol layer; the second protocol layer maps the data block included in the CRC and the data block included in the segment to the first processing core, maps the data block included in the FEC to the HAC, and matches the rate to the included data. Block mapping to the second processing core, including scrambling The data block is mapped to the third processing core, and the data block included in the modulation is mapped to the fourth processing core; then the first processing core performs baseband processing on the data block included in the CRC and the data block included in the segment, and the data included in the FEC by the HAC The block performs baseband processing, the second processing check performs baseband processing on the data block included in the rate matching, the third processing core performs baseband processing on the data block included in the scrambling, and the fourth processing check performs baseband processing on the data block included in the modulation.
其中, 第二协议层内的芯片内包括一个控制处理核 (CTR Core, Control Core), 且本实 施例的方法执行的主体可以为该控制处理核; 另外, 本实施例提供的方法还可以应用于 LTE (Long Term Evolution, 长期演进) 网络、 CDMA (Code Division Multiple Access, 码分多址) 网络、 WCDMA (Wideband Code Division Multiple Access, 宽带码分多址) 网络、 WiMAX (Worldwide Interoperability for Microwave Access,全球微波互联接入)网络和 /或 GSM( Global System of Mobile communication, 全球移动通讯系统) 网络包含的上下行处理中。  The method in the second protocol layer includes a control processing core (CTR Core, Control Core), and the main body of the method in this embodiment may be the control processing core. In addition, the method provided in this embodiment may also be applied. LTE (Long Term Evolution) network, CDMA (Code Division Multiple Access) network, WCDMA (Wideband Code Division Multiple Access) network, WiMAX (Worldwide Interoperability for Microwave Access, Global Microwave Interconnect) networks and/or GSM (Global System of Mobile communication) networks include upstream and downstream processing.
在本发明实施例中, 在第一单位时间内接收第二单位时间内芯片包括的处理单元所需要 处理的逻辑模块的配置参数, 根据每个逻辑模块的配置参数准确地计算出第二单位时间内第 一协议层发送所需要处理的每个逻辑模块的处理量, 根据该处理单元对应的逻辑模块的处理 量和该处理单元的延时指标准确地计算出在第二单位时间内该处理单元所需的频率, 并根据 在第二单位时间内该处理单元所需的频率, 准确地获取到在第二单位时间内该处理单元所需 的电压, 如此, 能够避免造成芯片性能的损失和功耗的浪费。 实施例 3  In the embodiment of the present invention, the configuration parameters of the logic module that are processed by the processing unit included in the chip in the second unit time are received in the first unit time, and the second unit time is accurately calculated according to the configuration parameter of each logic module. The first protocol layer sends the processing amount of each logic module to be processed, and accurately calculates the processing unit in the second unit time according to the processing amount of the logic module corresponding to the processing unit and the delay indicator of the processing unit The required frequency, and accurately obtaining the voltage required by the processing unit in the second unit time according to the frequency required by the processing unit in the second unit time, thus avoiding loss of chip performance and work Waste of consumption. Example 3
如图 4所示, 本发明实施例提供了一种降低芯片功耗的设备, 包括:  As shown in FIG. 4, an embodiment of the present invention provides a device for reducing power consumption of a chip, including:
接收模块 301, 用于在第一单位时间内接收第二单位时间内芯片所需处理的逻辑模块的 配置参数, 该配置参数至少包括该逻辑模块包括的数据块的个数和数据块的长度, 第二单位 时间为第一单位时间之后的单位时间;  The receiving module 301 is configured to receive, in the first unit time, a configuration parameter of a logic module that is processed by the chip in the second unit time, where the configuration parameter includes at least a number of data blocks included in the logic module and a length of the data block. The second unit time is the unit time after the first unit time;
确定模块 302, 用于根据芯片包括的处理单元对应的逻辑模块的配置参数确定在第二单 位时间内该处理单元所需的电压;  The determining module 302 is configured to determine, according to configuration parameters of the logic module corresponding to the processing unit included in the chip, a voltage required by the processing unit in the second unit time;
供给模块 303, 用于在第二单位时间向该处理单元供给该处理单元所需的电压。  The supply module 303 is configured to supply the processing unit with a voltage required by the processing unit at a second unit time.
其中, 第一单位时间可以为当前的单位时间, 第二单位时间可以为第一单位时间之后的 第一个单位时间、 第二个单位时间或第三个单位时间等。 另外, 一个单位时间可以为一个或 多个 TTI ( Transmission Time Interval, 传输时间间隔)。  The first unit time may be the current unit time, and the second unit time may be the first unit time, the second unit time or the third unit time after the first unit time. In addition, one unit time can be one or more TTI (Transmission Time Interval).
其中, 在第一单位时间内, 接收模块 301可以接收第一协议层发送的第二协议层的芯片 在第二单位时间内所需处理的逻辑模块的配置参数; 第一协议层内的程序包括一个或多个逻 辑模块, 第二协议层内的芯片包括一个或多个处理单元, 且芯片包括的处理单元对应第一协 议层内的程序包括的逻辑模块; 在第二单位时间内, 第一协议层发送在第二单位时间内第二 协议层的芯片所需处理的逻辑模块包括的数据块, 且芯片包括的处理单元对其对应的逻辑模 块包括的数据块进行处理。 The receiving module 301 can receive, in the first unit time, the configuration parameter of the logic module that the chip of the second protocol layer sent by the first protocol layer needs to process in the second unit time; the program in the first protocol layer includes One or more logic a module, the chip in the second protocol layer includes one or more processing units, and the processing unit included in the chip corresponds to a logic module included in the program in the first protocol layer; in the second unit time, the first protocol layer is sent in The logic module that is processed by the chip of the second protocol layer in the second unit time includes a data block, and the processing unit included in the chip processes the data block included in the corresponding logic module.
其中, 参见图 5, 确定模块 302可以包括:  Wherein, referring to FIG. 5, the determining module 302 can include:
第一获取单元 3021, 用于根据该处理单元对应的逻辑模块的配置参数获取在第二单位时 间内该处理单元所需的频率;  The first obtaining unit 3021 is configured to acquire, according to a configuration parameter of the logic module corresponding to the processing unit, a frequency required by the processing unit in the second unit time;
第二获取单元 3022, 用于根据在第二单位时间内该处理单元所需的频率, 获取在第二单 位时间内该处理单元所需的电压。  The second obtaining unit 3022 is configured to obtain a voltage required by the processing unit in the second unit time according to a frequency required by the processing unit in the second unit time.
其中, 参见图 6, 第一获取单元可以具体包括:  The first obtaining unit may specifically include:
第一计算子单元 a, 用于根据该处理单元对应的逻辑模块的配置参数计算出该处理单元 对应的逻辑模块的处理量;  a first calculating sub-unit a, configured to calculate a processing amount of the logic module corresponding to the processing unit according to a configuration parameter of the logic module corresponding to the processing unit;
第二计算子单元 b, 用于根据该处理单元对应的逻辑模块的处理量和该处理单元的延时 指标, 计算出在第二单位时间内该处理单元所需的频率。  The second calculating subunit b is configured to calculate a frequency required by the processing unit in the second unit time according to the processing amount of the logic module corresponding to the processing unit and the delay indicator of the processing unit.
其中, 第一计算子单元 a可以将该逻辑模块包括的数据块的个数与数据块的长度做乘法 运算, 得到该逻辑模块的处理量。  The first calculating sub-unit a may multiply the number of data blocks included in the logic module by the length of the data block to obtain the processing amount of the logic module.
其中, 第二计算子单元 b可以根据该处理单元对应的逻辑模块的处理量 C和该处理单元 的延时指标 T按如下公式 (2) 计算出在第二单位时间内该处理单元所需的频率;  The second calculating sub-unit b can calculate the required processing unit in the second unit time according to the processing quantity C of the logic module corresponding to the processing unit and the delay index T of the processing unit according to the following formula (2) Frequency
…… (2)。  …… (2).
T 其中, 参见图 7, 第二获取单元包括:  T, see Figure 7, the second acquisition unit includes:
确定子单元 c, 用于根据在第二单位时间内该处理单元所需的频率, 确定出该处理单元 对应的频率范围;  Determining a sub-unit c, configured to determine a frequency range corresponding to the processing unit according to a frequency required by the processing unit in a second unit time;
获取子单元 d, 用于根据该处理单元对应的频率范围, 从已存储的频率范围与电压的对 应关系中获取在第二单位时间内该处理单元所需的电压。  The obtaining sub-unit d is configured to obtain, according to the frequency range corresponding to the processing unit, the voltage required by the processing unit in the second unit time from the corresponding relationship between the stored frequency range and the voltage.
其中, 在本实施例中, 供给模块 303可以将在第二单位时间内该处理单元所需的电压通 知给电源管理模块, 使得电源管理模块在第二单位时间内该处理单元供给该处理单元所需的 电压。  In this embodiment, the supply module 303 can notify the power management module of the voltage required by the processing unit in the second unit time, so that the power management module supplies the processing unit to the processing unit in the second unit time. The voltage required.
进一步地, 参见图 8, 该设备还可以包括:  Further, referring to FIG. 8, the device may further include:
调整模块 304, 用于在所述第二单位时间内, 将处理单元的频率调整为处理单元所需的 频率。 其中, 本实施例提供的设备可以为基站、 基站控制设备等通信设备内的用于基带处理的 芯片, 或者是包括基带处理的芯片的基站、 基站控制设备等通信设备。 The adjusting module 304 is configured to adjust the frequency of the processing unit to a frequency required by the processing unit in the second unit time. The device provided in this embodiment may be a chip for baseband processing in a communication device such as a base station or a base station control device, or a communication device such as a base station and a base station control device including a chip for baseband processing.
在本发明实施例中, 在第一单位时间内接收第二单位时间内芯片所需处理的逻辑模块的 配置参数, 根据芯片包括的处理单元对应的逻辑模块的配置参数能够准确地确定出在第二单 位时间内该处理单元所需的电压, 在第二单位时间内向该处理单元供给该处理单元所需的电 压。 如此, 能够避免芯片功耗的浪费和性能的损失。 需要说明的是: 上述实施例提供的一种降低芯片功耗的设备在降低芯片的功耗时, 仅以 上述各功能模块的划分进行举例说明, 实际应用中, 可以根据需要而将上述功能分配由不同 的功能模块完成, 即将设备的内部结构划分成不同的功能模块, 以完成以上描述的全部或者 部分功能。 另外, 上述实施例提供降低芯片功耗的设备与降低芯片功耗的方法实施例属于同 一构思, 其具体实现过程详见方法实施例, 这里不再赘述。 本领域普通可以可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成, 也可 以通过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机可读存储介质中, 上 述提到的存储介质可以是只读存储器, 磁盘或光盘等。 以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的精神和原则之 内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。  In the embodiment of the present invention, the configuration parameter of the logic module required to be processed by the chip in the second unit time is received in the first unit time, and the configuration parameter of the logic module corresponding to the processing unit included in the chip can be accurately determined. The voltage required by the processing unit in two unit time is supplied to the processing unit for the voltage required by the processing unit in the second unit time. In this way, waste of power consumption of the chip and loss of performance can be avoided. It should be noted that: the device for reducing the power consumption of the chip provided by the foregoing embodiment is only illustrated by the division of the foregoing functional modules when reducing the power consumption of the chip. In actual applications, the foregoing functions may be allocated according to requirements. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the foregoing embodiment provides a method for reducing the power consumption of the chip and the method for reducing the power consumption of the chip. The specific implementation process is described in detail in the method embodiment, and details are not described herein again. It can be understood in the art that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium. The storage medium to which it is obtained may be a read only memory, a magnetic disk or an optical disk or the like. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.

Claims

权 利 要 求 书 Claim
1、 一种降低芯片功耗的方法, 其特征在于, 所述方法包括:  A method for reducing power consumption of a chip, the method comprising:
在第一单位时间内接收第二单位时间内芯片所需处理的逻辑模块的配置参数, 所述配置 参数至少包括所述逻辑模块包括的数据块的个数和所述数据块的长度, 所述第二单位时间为 所述第一单位时间之后的单位时间;  Receiving, in the first unit time, a configuration parameter of a logic module that is required to be processed by the chip in the second unit time, where the configuration parameter includes at least a number of data blocks included in the logic module and a length of the data block, The second unit time is a unit time after the first unit time;
根据所述芯片包括的处理单元对应的逻辑模块的配置参数确定在所述第二单位时间内所 述处理单元所需的电压;  Determining, according to configuration parameters of the logic module corresponding to the processing unit included in the chip, a voltage required by the processing unit in the second unit time;
在所述第二单位时间向所述处理单元供给所述处理单元所需的电压。  The voltage required by the processing unit is supplied to the processing unit at the second unit time.
2、 如权利要求 1所述的方法, 其特征在于, 根据所述芯片包括的处理单元对应的逻辑模 块的配置参数确定在所述第二单位时间内所述处理单元所需的电压, 包括: The method according to claim 1, wherein determining the voltage required by the processing unit in the second unit time according to a configuration parameter of a logic module corresponding to the processing unit included in the chip comprises:
根据所述处理单元对应的逻辑模块的配置参数获取在所述第二单位时间内所述处理单元 所需的频率;  Acquiring, according to configuration parameters of the logic module corresponding to the processing unit, a frequency required by the processing unit in the second unit time;
根据在所述第二单位时间内所述处理单元所需的频率, 获取在所述第二单位时间内所述 处理单元所需的电压。  The voltage required by the processing unit during the second unit time is obtained based on the frequency required by the processing unit during the second unit time.
3、 如权利要求 2所述的方法, 其特征在于, 根据所述芯片包括的处理单元对应的逻辑模 块的配置参数确定在所述第二单位时间内所述处理单元所需的频率, 包括: The method according to claim 2, wherein determining the frequency required by the processing unit in the second unit time according to the configuration parameter of the logic module corresponding to the processing unit included in the chip comprises:
根据所述处理单元对应的逻辑模块的配置参数计算出所述处理单元对应的逻辑模块的处 理量;  Calculating a processing quantity of the logic module corresponding to the processing unit according to a configuration parameter of the logic module corresponding to the processing unit;
根据所述处理单元对应的逻辑模块的处理量和所述处理单元的延时指标, 计算出在所述 第二单位时间内所述处理单元所需的频率。  Calculating a frequency required by the processing unit in the second unit time according to a processing amount of the logic module corresponding to the processing unit and a delay indicator of the processing unit.
4、 如权利要求 2或 3所述的方法, 其特征在于, 根据在所述第二单位时间内所述处理单 元所需的频率, 获取在所述第二单位时间内所述处理单元所需的电压, 包括: The method according to claim 2 or 3, wherein, according to the frequency required by the processing unit in the second unit time, obtaining the processing unit required in the second unit time The voltage, including:
根据在所述第二单位时间内所述处理单元所需的频率, 确定出所述处理单元对应的频率 范围;  Determining, according to a frequency required by the processing unit in the second unit time, a frequency range corresponding to the processing unit;
根据所述处理单元对应的频率范围, 从存储的频率范围与电压的对应关系中获取在所述 第二单位时间内所述处理单元所需的电压。 And obtaining, according to a frequency range corresponding to the processing unit, a voltage required by the processing unit in the second unit time from a corresponding relationship between the stored frequency range and the voltage.
5、 如权利要求 3所述的方法, 其特征在于, 所述计算出在所述第二单位时间内所述处理 单元所需的频率之后, 还包括: The method according to claim 3, wherein after the calculating the frequency required by the processing unit in the second unit time, the method further includes:
在所述第二单位时间内, 将所述处理单元的频率调整为所述处理单元所需的频率。  In the second unit time, the frequency of the processing unit is adjusted to the frequency required by the processing unit.
6、 一种降低芯片功耗的设备, 其特征在于, 所述设备包括- 接收模块, 用于在第一单位时间内接收第二单位时间内芯片所需处理的逻辑模块的配置 参数, 所述配置参数至少包括所述逻辑模块包括的数据块的个数和所述数据块的长度, 所述 第二单位时间为所述第一单位时间之后的单位时间; A device for reducing power consumption of a chip, the device comprising: a receiving module, configured to receive, in a first unit time, a configuration parameter of a logic module required to be processed by a chip in a second unit time, The configuration parameter includes at least a number of data blocks included in the logic module and a length of the data block, where the second unit time is a unit time after the first unit time;
确定模块, 用于根据所述芯片包括的处理单元对应的逻辑模块的配置参数确定在所述第 二单位时间内所述处理单元所需的电压;  a determining module, configured to determine, according to configuration parameters of the logic module corresponding to the processing unit included in the chip, a voltage required by the processing unit in the second unit time;
供给模块, 用于在所述第二单位时间内向所述处理单元供给所述处理单元所需的电压。  And a supply module, configured to supply a voltage required by the processing unit to the processing unit in the second unit time.
7、 如权利要求 6所述的设备, 其特征在于, 所述确定模块包括: The device of claim 6, wherein the determining module comprises:
第一获取单元, 用于根据所述处理单元对应的逻辑模块的配置参数获取在所述第二单位 时间内所述处理单元所需的频率;  a first acquiring unit, configured to acquire, according to a configuration parameter of the logic module corresponding to the processing unit, a frequency required by the processing unit in the second unit time;
第二获取单元, 用于根据在所述第二单位时间内所述处理单元所需的频率, 获取在所述 第二单位时间内所述处理单元所需的电压。  And a second acquiring unit, configured to acquire, according to a frequency required by the processing unit in the second unit time, a voltage required by the processing unit in the second unit time.
8、 如权利要求 7所述的设备, 其特征在于, 所述第一获取单元包括: The device of claim 7, wherein the first obtaining unit comprises:
第一计算子单元, 用于根据所述处理单元对应的逻辑模块的配置参数计算出所述处理单 元对应的逻辑模块的处理量;  a first calculation subunit, configured to calculate, according to configuration parameters of the logic module corresponding to the processing unit, a processing amount of the logic module corresponding to the processing unit;
第二计算子单元, 用于根据所述处理单元对应的逻辑模块的处理量和所述处理单元的延 时指标, 计算出在所述第二单位时间内所述处理单元所需的频率。  And a second calculating subunit, configured to calculate, according to a processing amount of the logic module corresponding to the processing unit and a delay indicator of the processing unit, a frequency required by the processing unit in the second unit time.
9、 如权利要求 7或 8所述的设备, 其特征在于, 所述第二获取单元包括: The device according to claim 7 or 8, wherein the second obtaining unit comprises:
确定子单元, 用于根据在所述第二单位时间内所述处理单元所需的频率, 确定出所述处 理单元对应的频率范围;  Determining a subunit, configured to determine a frequency range corresponding to the processing unit according to a frequency required by the processing unit in the second unit time;
获取子单元, 用于根据所述处理单元对应的频率范围, 从存储的频率范围与电压的对应 关系中获取在所述第二单位时间内所述处理单元所需的电压。 And a obtaining sub-unit, configured to acquire, according to a frequency range corresponding to the processing unit, a voltage required by the processing unit in the second unit time from a correspondence between a stored frequency range and a voltage.
10、 如权利要求 8所述的设备, 其特征在于, 所述设备还包括: The device of claim 8, wherein the device further comprises:
调整模块, 用于在所述第二单位时间内, 将所述处理单元的频率调整为所述处理单元所 需的频率。  And an adjustment module, configured to adjust a frequency of the processing unit to a frequency required by the processing unit in the second unit time.
PCT/CN2011/082151 2011-11-14 2011-11-14 Method and device for reducing power consumption of chip WO2012163050A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2011/082151 WO2012163050A1 (en) 2011-11-14 2011-11-14 Method and device for reducing power consumption of chip
CN201180003004.XA CN102511188B (en) 2011-11-14 2011-11-14 Method and device for reducing chip consumption

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/082151 WO2012163050A1 (en) 2011-11-14 2011-11-14 Method and device for reducing power consumption of chip

Publications (1)

Publication Number Publication Date
WO2012163050A1 true WO2012163050A1 (en) 2012-12-06

Family

ID=46222802

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/082151 WO2012163050A1 (en) 2011-11-14 2011-11-14 Method and device for reducing power consumption of chip

Country Status (2)

Country Link
CN (1) CN102511188B (en)
WO (1) WO2012163050A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106502361A (en) * 2016-10-19 2017-03-15 盛科网络(苏州)有限公司 The regulating power consumption method of chip, apparatus and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1945498A (en) * 2006-10-12 2007-04-11 浙江大学 Low power consumption real time task parameter model dispatching method facing embedded system
CN1991687A (en) * 2005-12-29 2007-07-04 联想(北京)有限公司 Method for saving power consumption of processing unit
CN100594467C (en) * 2006-06-06 2010-03-17 英特尔公司 Predict computing platform memory power utilization

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8364997B2 (en) * 2009-12-22 2013-01-29 Intel Corporation Virtual-CPU based frequency and voltage scaling

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1991687A (en) * 2005-12-29 2007-07-04 联想(北京)有限公司 Method for saving power consumption of processing unit
CN100594467C (en) * 2006-06-06 2010-03-17 英特尔公司 Predict computing platform memory power utilization
CN1945498A (en) * 2006-10-12 2007-04-11 浙江大学 Low power consumption real time task parameter model dispatching method facing embedded system

Also Published As

Publication number Publication date
CN102511188B (en) 2014-06-04
CN102511188A (en) 2012-06-20

Similar Documents

Publication Publication Date Title
US11026191B2 (en) Service transmission method, device, and system
WO2019184700A1 (en) Method and device for determining transmission mode
WO2017193996A1 (en) Pilot frequency transmission method for uplink shared channel, and related device
CN110602769B (en) Data processing method, user equipment and network side equipment
JP6617838B2 (en) Method and apparatus for reducing transmission loss rate
EP3836639B1 (en) Synchronization cycle determination methods and devices
WO2018059320A1 (en) Signal sending method and device
WO2018010488A1 (en) Transmission power determination method, terminal, network device and system
WO2021027868A1 (en) Channel state information processing method and apparatus, and channel state information receiving method and apparatus
WO2017166078A1 (en) Method and device for determining bit block size
WO2016161606A1 (en) Message transmitting/receiving method, coverage enhancement level determination/acquisition method and related device
US20170048899A1 (en) Connection identifier for high-efficiency wireless networks
EP3140970B1 (en) Techniques for using a modulation and coding scheme for downlink transmissions
WO2012163050A1 (en) Method and device for reducing power consumption of chip
WO2020199032A1 (en) Communication method and device
WO2020087528A1 (en) Wireless communication method, terminal device and network device
WO2016179806A1 (en) Power control method, terminal and base station
WO2018201903A1 (en) Data transmission method, terminal, and base station
WO2020221207A1 (en) Method for determining attributes of symbols, node, and storage medium
CN114828251A (en) Resource allocation method, terminal and network side equipment
WO2015168930A1 (en) Method for controlling power of carrier signal, user equipment and base station
CN112543506B (en) Resource determination method and device
WO2020134610A1 (en) Data scheduling method and apparatus
WO2019157685A1 (en) Transmission method and device for physical uplink shared channel (pusch)
CN110519028A (en) Processing method and equipment

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180003004.X

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11866509

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11866509

Country of ref document: EP

Kind code of ref document: A1