WO2011113321A1 - Method and device for controlling energy consumption - Google Patents

Method and device for controlling energy consumption Download PDF

Info

Publication number
WO2011113321A1
WO2011113321A1 PCT/CN2011/071311 CN2011071311W WO2011113321A1 WO 2011113321 A1 WO2011113321 A1 WO 2011113321A1 CN 2011071311 W CN2011071311 W CN 2011071311W WO 2011113321 A1 WO2011113321 A1 WO 2011113321A1
Authority
WO
WIPO (PCT)
Prior art keywords
processor
action
current
load value
type
Prior art date
Application number
PCT/CN2011/071311
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 中兴通讯股份有限公司
Publication of WO2011113321A1 publication Critical patent/WO2011113321A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/0833Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability for reduction of network energy consumption

Definitions

  • the present invention relates to the field of communication equipment technologies, and in particular, to a power consumption control method and apparatus.
  • Network equipment such as base stations and base station controllers are huge in wireless communication networks, and the energy consumption is quite large.
  • telecom operators are paying more and more attention while expanding market share and business types to achieve revenue growth.
  • the technical problem to be solved by the present invention is to provide an energy consumption control method and device, which achieves the purpose of saving energy while ensuring that the current processing capability of the communication device can meet the business requirements.
  • an energy consumption control method of the present invention includes:
  • the functional component is a processor
  • the current load and processing capability of the processor are sampled to obtain the current load value of the processor and the current processing capability value.
  • Energy-saving actions include frequency reduction and de-nuclearization, and recovery actions include up-conversion and core-opening;
  • the steps of determining whether to save power or restore the processor according to the current load value of the functional component and the current processing capability value include:
  • the method also includes:
  • the lowest frequency is calculated to ensure that the processing power of the processor is greater than the current load of the processor; when the processor is operating at the lowest operating frequency, the calculation is guaranteed.
  • the processor When the processor has a closed core, it also calculates the number of cores that need to be opened in the case that the processing capability of the processor is greater than the current load of the processor; when the processor has no core that is turned off, the calculation is performed on the guaranteed processor.
  • the processing power is greater than the current load of the processor.
  • the energy saving or recovery action of the processor is also added to the first energy control action list, and the action is extracted from the first energy control action list. Extracted actions.
  • the method also includes:
  • the first energy consumption control policy rule includes:
  • the operating frequency of the processor is reduced to the next next operating frequency; for the up-converting action, the operating frequency of the processor is raised to the highest operating frequency of the processor; a core of the device;
  • Functional components include: processor and board;
  • the energy saving action is dormant, and the recovery action is wake up;
  • the current total load value of each processor type is also calculated, and whether the sleep and wake-up actions of the processor and the board are required to be determined according to the current total load value of each processor type is determined. If necessary, the captured sleep or wake-up action is performed.
  • the steps of the dormant action include: comparing a current total load value of a processor type with a current processing capability value of each processor of the type, selecting one or more dormant processors, if the current total load of the processor type The value is less than the total processing power of the processor type after the selected one or more processors are hibernated, and then the dormant action is taken for the selected one or more processors;
  • the step of determining whether to wake up the processor and the board according to the current total load value of each processor type includes:
  • the current total load value of a processor type is greater than the current total processing capacity of the board using the processor of the type
  • the current total load value of the processor type is the current value of the board using the processor of the type
  • the processing capability value is compared, and one or more wake-up boards are selected. If the current total load value of the processor type is less than the wake-up of the selected one or more boards, the total processing capacity of the processor type , then wake up the selected one or more boards.
  • the method also includes:
  • the second energy consumption control policy rule includes:
  • the wake-up processor is operated at the highest frequency and all cores are turned on;
  • An energy consumption control device includes: a connected scene judgment module and a policy execution module, wherein:
  • the scene judging module is configured to: after obtaining the current load value and the current processing capability value of the functional component, determine whether it is necessary to save energy or restore the function component according to the current load value of the functional component and the current processing capability value. If necessary, the learned energy saving or recovery action is sent to the policy execution module;
  • the policy execution module is set to: Perform the received action.
  • the device further includes a monitoring module, and the monitoring module is connected to the scene determination module;
  • the monitoring module is configured to: when the functional component is a processor, the current load and processing capability of the processor are sampled, and the current load value and the current processing capability value of the processor are obtained and sent to the scene determination module.
  • the device further includes a policy selection module, and the policy selection module is respectively connected to the scenario determination module and the policy execution module;
  • the policy selection module is configured to: select a policy from the first energy consumption control policy rule according to the energy saving or recovery action that is captured, and send the selected policy to the policy execution module;
  • the policy execution module is set to: execute the received policy
  • the first energy control strategy rules include:
  • the operating frequency of the processor is reduced to the next next operating frequency; for the up-converting action, the operating frequency of the processor is raised to the highest operating frequency of the processor; a core of the device;
  • Functional components include: processor and board;
  • the energy saving action is dormant, and the recovery action is wake up;
  • the scenario judging module is further configured to: after obtaining the current load value of the processor, calculate a current total load value of each processor type, and determine whether the processor and the board need to be retrieved according to the current total load value of each processor type. Sleep or wake-up action, if necessary, send the captured sleep or wake-up action to the policy execution module;
  • the policy selection module is configured to: select a policy from the second energy consumption control policy rule according to the captured action, and send the selected policy to the policy execution module.
  • the present invention can achieve the purpose of saving energy consumption while ensuring that the current processing capability of the communication device meets the current traffic demand while the configuration corresponding to the excess processing capability is properly closed.
  • FIG. 1 is a flow chart of a method for controlling energy consumption of a function board according to the present invention
  • FIG. 2 is a flowchart of a method for controlling energy consumption control of a single board according to the present invention
  • Figure 5 is a flow chart of an application example 3 of the present invention.
  • FIG. 6 is a schematic diagram of an energy consumption control device of the present invention.
  • the configuration of the above device includes a single board, a processor, a core, and the like.
  • the board includes one or more processors of the same type, and one processor includes one or more cores. In this embodiment, the boards and the processors are collectively referred to as functional components.
  • the current load of the processor in the device such as the base station and the base station controller is monitored, and according to a certain scenario judgment and policy selection, and then the policy is executed, the processor is down-converted, up-converted, and checked.
  • the action of powering off, powering on, and powering on the board to achieve energy saving.
  • FIG. 1 is a schematic diagram of a method for controlling energy consumption of a function board according to the embodiment, including:
  • the monitoring module on the function board periodically samples the current load and processing capability of each processor on the board, and sends the current load value and processing capability value of each processor obtained by the sample to Scene judgment module;
  • the monitoring module can save historical load data for the most recent period of time to predict the load change trend, and use load forecasting as an auxiliary basis to make the energy saving strategy more accurate. Save History
  • the length of the load data and the step size can be configured, such as saving every 10 minutes in the last 24 x 8 hours.
  • the forecasting method of the load change trend may be: for example, using the historical load data of last Saturday as the load forecast for each time period of the Saturday, or plotting the historical load data into a curve according to the two-dimensional coordinates of the time and the load size to represent the change trend.
  • the scene judgment module determines, according to the current load value of the processor and the current processing capability value, whether to need to save energy (such as frequency reduction and check) or recovery (up-frequency or core-up) according to the current load value of the processor and the current processing capability value.
  • the processor is not operating at the lowest operating frequency and also calculates the lowest frequency that is dropped if the processor's processing power is greater than the processor's current load.
  • the processor has been operating at the lowest operating frequency and also counts the number of cores that were shut down if the processor's processing power is greater than the processor's current load.
  • Processor open core The current load of the processor is greater than the current processing capacity of the processor and the processor has a core that is turned off, and the calculation needs to be turned on if the processing capability of the processor is greater than the current load of the processor.
  • the number of cores The number of cores.
  • Processor upsampling the processor whose current load is greater than the current processing power of the processor and the processor has no core that is turned off, and the calculation needs to be upgraded to ensure that the processing power of the processor is greater than the current load of the processor. Frequency of.
  • the scene judging module maintains a first energy consumption control action list, and after determining that the processor needs to perform the functions of down-clocking, up-clocking, de-nucleating, or core-opening, adding the action to the processor to the first energy consumption Control action list;
  • the policy selection module extracts an action from the first energy consumption control action list, and selects a policy from the first energy consumption control policy rule according to the extracted action and load prediction;
  • the processor down-conversion process is reduced to the next next operating frequency each time, and the up-conversion directly rises to the highest operating frequency.
  • the processor shutdown process shuts down one core at a time, and the core waking up all cores directly. This has a strong ability to adapt to the sudden occurrence of load spikes in the system.
  • the load trend curve can be drawn according to the two-dimensional coordinates of time and load to judge the change trend of the load.
  • the slope of the curve at a certain point of the load trend curve is greater than the specified threshold, the extracted energy can be discarded. action.
  • the strategy selection may not be performed.
  • the policy execution module executes the selected policy.
  • an action flag is maintained, for every N This action flag is turned on at the beginning of the T1 cycle.
  • a recovery action such as open core or up-conversion
  • this flag is turned off, and all subsequent energy-saving actions are ignored. Core and down frequency), until the next N * T1 cycle begins, then re-open this flag, where N is self-configurable.
  • the network management configuration can be used to control the power-saving function of any network device at any time period (such as for major holidays and major events), so that the device can maintain full processing capacity to cope with business storms that may occur at any time.
  • FIG. 2 is a schematic diagram of a method for controlling energy consumption of a function board of an upper layer of a control board of the upper layer according to the embodiment, including:
  • the monitoring module on the control board periodically samples the current load and processing capacity of the processor on the function board under it, and calculates the current total load of each processor type, which will be calculated.
  • the current total load of each processor type sent to the scene determination module;
  • the monitoring module can save historical load data of each processor type, and as an auxiliary basis, the energy saving strategy is more accurate.
  • the scene judging module on the control board determines whether it is necessary to take a sleep (power off) action or wake up (power on) action on the processor and the board according to the current load of each processor type at the beginning of each period T2. ;
  • the period T2 can be an integer multiple of the period T1, and the multiple is greater than 1, and there is no timing relationship between T1 and T2. Examples of the judgment conditions related to the period T2 are as follows:
  • Processor Sleep The current total load of a processor type is less than the total processing power of that processor type after one or more processors selected for sleep.
  • Board sleep The current total load of a processor type is less than the total processing capacity of the processor type after one or more boards selected for hibernation.
  • Processor wake-up The total current load of a processor type is greater than the current total processing power of the processor type and less than the total processing power of the processor type after waking up the selected one or more processors.
  • the total current load of a processor type is greater than the current total processing power of the processor type and less than the total processing power of the processor type after waking up the selected one or more boards.
  • the scene judgment module maintains a second energy consumption control action list, and adds a sleep or wake action of the processor or the board to the second energy consumption control action when determining that the processor or the board needs to sleep or wake up. List;
  • the dormant action of the one or more processors is added to the second energy control action list; for the sleep of one or more boards, the one or more The dormant action of the board is added to the second energy consumption control action list; for the wakeup of one or more processors, the wakeup action of the one or more processors is added to the second energy consumption control action list; The wake-up of one or more boards adds the wake-up action of the one or more boards to the second energy-control action list.
  • the policy selection module extracts an action from the second energy consumption control action list, and selects a policy from the second energy consumption control policy rule according to the extracted action and load prediction;
  • An example of the second energy control policy rule is as follows:
  • the wake-up processor When the processor wakes up, the wake-up processor is operated at the highest frequency and all its cores are turned on. When the board wakes up, all the processors on the board operate at the highest frequency and turn on all their cores.
  • the policy execution module of the control board executes the selected policy.
  • the processor type to which C belongs is to allow down-conversion, up-conversion, off-core, and core-opening.
  • the energy consumption control method on the board where the processor C is located is as follows:
  • the monitoring module monitors the current load of the processor C in real time
  • the scene determination module compares the current load of the processor C with its current processing capability, and determines an action of performing energy saving or recovery;
  • the processor C's down-converting action is added to the energy control action list.
  • processor C If processor C is already operating at the lowest operating frequency, calculate the number of cores that are turned off while ensuring that the processing power of the processor is greater than the current load of the processor, and add the check action of processor C to the energy consumption control. Action list.
  • the processor C If the current load is greater than the current processing capability, it is detected whether the processor C has a core that is turned off, and if there is a core that is turned off, the processor C's open core action is added to the energy consumption control action list; if there is no closed core Then, the up-converting action of processor C is added to the energy-consuming control action list.
  • the policy selection module selects an energy consumption control policy rule
  • the energy consumption control action list has an up-converting action, and according to the up-conversion action, the energy consumption control strategy rule that directly rises to the highest frequency is selected, and the processor C load prediction is combined to select whether to perform the energy control.
  • the policy rule if executed, notifies the policy execution module to increase the operating frequency of processor C to the highest.
  • the policy execution module executes the selected energy control policy rule.
  • H does not have Cl, C2, and C3 as the same type of processor, and its processor type TC allows actions such as sleep and wakeup.
  • the processing power of Cl, C2 and C3 is from small to large.
  • represents a processor of type TC.
  • the monitoring module monitors the current load of the processors Cl, C2, and C3 in real time, and calculates the current total load of the processor type TC;
  • the scene judgment module subtracts the current total processing capacity of the processor type TC from its current total processing capacity to obtain a DeltaTC, and selects a sleepy processor according to the DeltaTC;
  • DeltaTOO compare DeltaTC with the maximum processing power of processors CI, C2, and C3. For example, if DeltaTC is greater than the maximum processing power of C1 but less than the sum of the maximum processing power of C1 and C2, the wake-up actions for C1 and C2 will be performed. Add to the second energy control action list; if DeltaTC is greater than the sum of the maximum processing power of C1 and C2 but less than the sum of the maximum processing power of Cl, C2, and C3, the wake-up actions for Cl, C2, and C3 are added to the The second energy consumption control action list.
  • the policy selection module selects an energy consumption control policy rule
  • the second power consumption control action list has a processor wake-up action, and selects an energy consumption control policy rule that causes the processor to operate at the highest frequency and turns on all of its cores according to the wake-up action, and can be combined with the TC total load prediction to select whether to execute.
  • the energy control policy rule if executed, notifies the policy enforcement module to operate Ci at the highest frequency and turn on all of its cores.
  • the policy execution module executes the selected energy control policy rule.
  • Application example 3 Assume that B, B2, and B3 are the same type of board, and the board type TB to which it belongs can allow actions such as sleep and wakeup.
  • the processing power of Bl, B2 and B3 is from small to large.
  • Bi represents a board of type TB.
  • the type of the processor on the boards B1, B2, and B3 is TC.
  • the monitoring module monitors the current load of the processors on the boards Bl, B2, and B3 in real time, and calculates the current total load of the processor type TC;
  • the scene judging module subtracts the current total processing capacity of the processor type TC from the current total processing capacity to obtain a DeltaTC, and selects a sleeping board according to the DeltaTC;
  • the DeltaTC is compared with the maximum processing power of the boards B1, B2 and B3. For example, if DeltaTC is greater than the maximum processing capacity of B1 but less than the sum of the maximum processing power of B1 and B2, the wake-up actions for B1 and B2 will be performed. Add to the second energy control action list; if DeltaTC is greater than the sum of the maximum processing capabilities of B1 and B2 but less than the sum of the maximum processing capabilities of Bl, B2, and B3, the wakeup actions for Bl, B2, and B3 are added to the The second energy consumption control action list.
  • the policy selection module selects an energy consumption control policy rule
  • the second power consumption control action list has a board wake-up action, and according to the wake-up action, all the processors on the board are operated at the highest frequency and all the cores of the energy consumption control policy rules are opened, and the total load of the TC can be combined. Predict, choose whether to execute the energy control policy rule. If executed, notify the policy execution module to make all processors in Bi work at the highest frequency and turn on all its cores.
  • the policy execution module executes the selected energy control policy rule.
  • FIG. 6 is an energy consumption control device according to an embodiment of the present invention, including: a monitoring module, a scenario determining module, a policy selecting module, and a policy execution module, which are sequentially connected, wherein:
  • the monitoring module is configured to: when the functional component is a processor, the current load and the processing capability of the processor are obtained, and the current load value and the current processing capability value of the processor are obtained, and sent to the scenario determining module;
  • a scene determination module configured to obtain a current load value and a current processing capability value of the functional component After that, according to the current load value of the functional component and the current processing capability value, it is judged whether energy saving or recovery action needs to be taken for the functional component, and if necessary, the energy saving or recovery action taken is added to the first energy consumption control.
  • the action list is also used to calculate the current total load value of each processor type after obtaining the current load value of the processor, and determine whether the processor and the board need to be retrieved according to the current total load value of each processor type. Sleep or wake-up action, if necessary, add the sleep or wake-up action of the processor and the board to the second energy-control action list;
  • a policy selection module configured to extract an action from the first energy consumption control action list, select a policy from the first energy consumption control policy rule according to the extracted action, and send the selected policy to the policy execution module; Frequency action, reducing the operating frequency of the processor to the next next operating frequency; for the up-converting action, raising the operating frequency of the processor to the highest operating frequency of the processor; for the closing action, each time the processor is turned off A core; for the core open action, wake up all cores of the processor. And is further configured to extract an action from the second energy consumption control action list, select a policy from the second energy consumption control policy rule according to the extracted action, and send the selected policy to the policy execution module;
  • the present invention can achieve the goal of saving energy while ensuring that the current processing capability of the communication device meets the current traffic demand.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Sources (AREA)

Abstract

The present invention discloses a method and device for controlling energy consumption. The method includes: after getting the current load value and current processing capacity value of a functional component, deciding whether the action of energy saving or resuming needs to be taken on the functional component according to said current load value and current processing capacity value of the functional component, and if yes, performing the taken action. By timely closing the configuration corresponding to excessive processing capacity, the present invention can ensure that the current processing capacity of the communication equipment meets the requirements of the current traffic, and meanwhile achieves the purpose of energy consumption saving.

Description

一种能耗控制方法及装置  Energy consumption control method and device
技术领域 Technical field
本发明涉及通讯设备技术领域, 尤其涉及一种能耗控制方法及装置。  The present invention relates to the field of communication equipment technologies, and in particular, to a power consumption control method and apparatus.
背景技术 Background technique
基站和基站控制器等网络设备在无线通讯网络中数量庞大, 能耗相当巨 大, 随着电信行业逐渐进入微利时代, 电信运营商在扩大市场份额和业务种 类实现增收的同时, 也越来越重视节能等降低成本的环节。 降低基站和基站 控制器等网络设备的能耗是一项关键的节能措施。  Network equipment such as base stations and base station controllers are huge in wireless communication networks, and the energy consumption is quite large. As the telecommunications industry gradually enters the era of meager profit, telecom operators are paying more and more attention while expanding market share and business types to achieve revenue growth. Energy-saving and other aspects of cost reduction. Reducing the energy consumption of network equipment such as base stations and base station controllers is a key energy saving measure.
发明内容 Summary of the invention
本发明要解决的技术问题是提供一种能耗控制方法及装置, 实现在保证 通讯设备的当前处理能力能够满足业务需求的情况下达到节约能耗的目的。  The technical problem to be solved by the present invention is to provide an energy consumption control method and device, which achieves the purpose of saving energy while ensuring that the current processing capability of the communication device can meet the business requirements.
为解决上述技术问题, 本发明的一种能耗控制方法, 包括:  In order to solve the above technical problem, an energy consumption control method of the present invention includes:
在得到功能元器件的当前负荷值和当前处理能力值后 , 才艮据功能元器件 的当前负荷值和当前处理能力值判断是否需要对该功能元器件釆取节能或恢 复动作, 如果需要, 则执行所釆取的动作。  After obtaining the current load value of the functional component and the current processing capability value, it is determined whether the functional component needs to save energy or resume operation according to the current load value of the functional component and the current processing capability value, if necessary, Execute the action taken.
若功能元器件为处理器, 则对处理器的当前负荷和处理能力进行釆样, 得到处理器的当前负荷值和当前处理能力值。  If the functional component is a processor, the current load and processing capability of the processor are sampled to obtain the current load value of the processor and the current processing capability value.
节能动作包括降频和关核, 恢复动作包括升频和开核;  Energy-saving actions include frequency reduction and de-nuclearization, and recovery actions include up-conversion and core-opening;
根据功能元器件的当前负荷值和当前处理能力值判断是否对该处理器釆 取节能或恢复动作的步骤包括:  The steps of determining whether to save power or restore the processor according to the current load value of the functional component and the current processing capability value include:
判断处理器的当前负荷值是否小于该处理器的当前处理能力值, 如果小 于, 则检测处理器是否工作在最低工作频率, 如果未工作在最低工作频率, 则对该处理器釆取降频动作; 如果处理器已工作在最低工作频率, 则对该处 理器釆取关核动作; 如果处理器的当前负荷值大于该处理器的当前处理能力值, 则检测该处 理器是否有关闭的核, 如果有, 则对该处理器釆取开核动作; 否则, 对该处 理器釆取升频动作。 Determining whether the current load value of the processor is less than a current processing capability value of the processor, if it is less, detecting whether the processor is operating at a lowest operating frequency, and if not operating at the lowest operating frequency, then performing a frequency reduction action on the processor If the processor is operating at the lowest operating frequency, the processor is throttled; If the current load value of the processor is greater than the current processing capability value of the processor, detecting whether the processor has a closed core, and if so, extracting the core from the processor; otherwise, capturing the processor Upswing action.
该方法还包括:  The method also includes:
处理器未工作在最低工作频率时, 计算在保证处理器的处理能力大于该 处理器的当前负荷的情况下所降到的最低的频率; 处理器已工作在最低工作 频率时, 计算在保证处理器的处理能力大于该处理器的当前负荷的情况下所 关闭的核的个数;  When the processor is not operating at the lowest operating frequency, the lowest frequency is calculated to ensure that the processing power of the processor is greater than the current load of the processor; when the processor is operating at the lowest operating frequency, the calculation is guaranteed. The number of cores that are closed when the processing capacity of the processor is greater than the current load of the processor;
处理器有关闭的核时, 还计算在保证处理器的处理能力大于该处理器的 当前负荷的情况下所需开启的核的个数; 处理器无被关闭的核时, 计算在保 证处理器的处理能力大于该处理器的当前负荷的情况下所需提升到的频率。  When the processor has a closed core, it also calculates the number of cores that need to be opened in the case that the processing capability of the processor is greater than the current load of the processor; when the processor has no core that is turned off, the calculation is performed on the guaranteed processor. The processing power is greater than the current load of the processor.
在需要对处理器釆取节能或恢复动作时, 还将对该处理器的节能或恢复 动作加入到第一能耗控制动作列表中, 并从第一能耗控制动作列表中提取动 作, 执行所提取出的动作。  When the processor needs to save power or resume action, the energy saving or recovery action of the processor is also added to the first energy control action list, and the action is extracted from the first energy control action list. Extracted actions.
该方法还包括:  The method also includes:
根据所提取出的动作从第一能耗控制策略规则中选择并执行策略; 第一能耗控制策略规则包括:  Selecting and executing a policy from the first energy consumption control policy rule according to the extracted action; the first energy consumption control policy rule includes:
对于降频动作, 将处理器的工作频率降到相邻的下一个工作频率; 对于升频动作, 将处理器的工作频率升到处理器的最高工作频率; 对于关核动作, 每次关闭处理器的一个核;  For the down-converting action, the operating frequency of the processor is reduced to the next next operating frequency; for the up-converting action, the operating frequency of the processor is raised to the highest operating frequency of the processor; a core of the device;
对于开核动作, 唤醒处理器的全部核。  For the open core action, wake up all cores of the processor.
功能元器件包括: 处理器和单板;  Functional components include: processor and board;
节能动作为休眠, 恢复动作为唤醒;  The energy saving action is dormant, and the recovery action is wake up;
在得到处理器的当前负荷值后, 还计算各处理器类型的当前总负荷值, 根据该各处理器类型的当前总负荷值判断是否需要对处理器和单板釆取休眠 或唤醒动作, 如果需要, 则执行所釆取的休眠或唤醒动作。  After the current load value of the processor is obtained, the current total load value of each processor type is also calculated, and whether the sleep and wake-up actions of the processor and the board are required to be determined according to the current total load value of each processor type is determined. If necessary, the captured sleep or wake-up action is performed.
根据该各处理器类型的当前总负荷值判断是否需要对处理器和单板釆取 休眠动作的步骤包括: 将一处理器类型的当前总负荷值与该类型的各处理器的当前处理能力值 进行比较, 选择一个或多个休眠的处理器, 若该处理器类型的当前总负荷值 小于在对所选择的一个或多个处理器进行休眠后, 该处理器类型的总处理能 力, 则对所选择的一个或多个处理器釆取休眠动作; Determine whether the processor and the board need to be retrieved according to the current total load value of each processor type. The steps of the dormant action include: comparing a current total load value of a processor type with a current processing capability value of each processor of the type, selecting one or more dormant processors, if the current total load of the processor type The value is less than the total processing power of the processor type after the selected one or more processors are hibernated, and then the dormant action is taken for the selected one or more processors;
将一处理器类型的当前总负荷值与釆用该类型处理器的单板的当前处理 能力值进行比较, 选择一个或多个休眠的单板, 若该处理器类型的当前总负 荷值小于在对所选择的一个或多个单板进行休眠后, 该处理器类型的总处理 能力, 则对所选择的一个或多个单板釆取休眠动作。  Comparing the current total load value of a processor type with the current processing capability value of the board using the processor of the type, selecting one or more sleeping boards, if the current total load value of the processor type is less than After the selected one or more boards are dormant, the total processing capability of the processor type takes a dormant action on the selected one or more boards.
根据该各处理器类型的当前总负荷值判断是否需要对处理器和单板釆取 唤醒动作的步骤包括:  The step of determining whether to wake up the processor and the board according to the current total load value of each processor type includes:
在一处理器类型的当前总负荷值大于该处理器类型的当前总处理能力 时, 将该处理器类型的当前总负荷值与该类型的各处理器的当前处理能力值 进行比较, 选择一个或多个唤醒的处理器, 若该处理器类型的当前总负荷值 小于在对所选择的一个或多个处理器进行唤醒后, 该处理器类型的总处理能 力, 则对所选择的一个或多个处理器釆取唤醒动作;  When the current total load value of a processor type is greater than the current total processing capacity of the processor type, comparing the current total load value of the processor type with the current processing capability value of each processor of the type, selecting one or a plurality of wake-up processors, if the current total load value of the processor type is less than the total processing power of the processor type after waking up the selected one or more processors, then one or more selected ones The processor captures the wake-up action;
在一处理器类型的当前总负荷值大于该釆用该类型处理器的单板的当前 总处理能力时, 将该处理器类型的当前总负荷值与釆用该类型处理器的单板 的当前处理能力值进行比较, 选择一个或多个唤醒的单板, 若该处理器类型 的当前总负荷值小于在对所选择的一个或多个单板进行唤醒后, 该处理器类 型的总处理能力, 则对所选择的一个或多个单板釆取唤醒动作。  When the current total load value of a processor type is greater than the current total processing capacity of the board using the processor of the type, the current total load value of the processor type is the current value of the board using the processor of the type The processing capability value is compared, and one or more wake-up boards are selected. If the current total load value of the processor type is less than the wake-up of the selected one or more boards, the total processing capacity of the processor type , then wake up the selected one or more boards.
该方法还包括:  The method also includes:
根据所釆取的动作从第二能耗控制策略规则中选择并执行策略; 第二能耗控制策略规则包括:  Selecting and executing a policy from the second energy consumption control policy rule according to the action taken; the second energy consumption control policy rule includes:
对于处理器的唤醒动作, 使唤醒的处理器工作在最高频率并开启全部的 核;  For the wake-up action of the processor, the wake-up processor is operated at the highest frequency and all cores are turned on;
对于单板的唤醒动作, 使唤醒的单板上全部的处理器均工作在最高频率 并开启全部的核。 一种能耗控制装置, 包括: 相连接的场景判断模块和策略执行模块, 其 中: For the wake-up action of the board, all the processors on the wake-up board work at the highest frequency and turn on all the cores. An energy consumption control device includes: a connected scene judgment module and a policy execution module, wherein:
场景判断模块设置为: 在得到功能元器件的当前负荷值和当前处理能力 值后, 根据功能元器件的当前负荷值和当前处理能力值判断是否需要对该功 能元器件釆取节能或恢复动作, 如果需要, 则将所釆取的节能或恢复动作发 送给策略执行模块;  The scene judging module is configured to: after obtaining the current load value and the current processing capability value of the functional component, determine whether it is necessary to save energy or restore the function component according to the current load value of the functional component and the current processing capability value. If necessary, the learned energy saving or recovery action is sent to the policy execution module;
策略执行模块设置为: 执行接收到的动作。  The policy execution module is set to: Perform the received action.
该装置还包括监控模块 , 该监控模块与场景判断模块相连;  The device further includes a monitoring module, and the monitoring module is connected to the scene determination module;
监控模块设置为: 在功能元器件为处理器时, 对处理器的当前负荷和处 理能力进行釆样, 得到处理器的当前负荷值和当前处理能力值, 并发送给场 景判断模块。  The monitoring module is configured to: when the functional component is a processor, the current load and processing capability of the processor are sampled, and the current load value and the current processing capability value of the processor are obtained and sent to the scene determination module.
该装置还包括策略选择模块, 该策略选择模块分别与场景判断模块和策 略执行模块相连;  The device further includes a policy selection module, and the policy selection module is respectively connected to the scenario determination module and the policy execution module;
策略选择模块设置为: 根据所釆取的节能或恢复动作从第一能耗控制策 略规则中选择策略, 并将所选择的策略发送给策略执行模块;  The policy selection module is configured to: select a policy from the first energy consumption control policy rule according to the energy saving or recovery action that is captured, and send the selected policy to the policy execution module;
策略执行模块设置为: 执行所接收到的策略;  The policy execution module is set to: execute the received policy;
第一能耗控制策略规则包括:  The first energy control strategy rules include:
对于降频动作, 将处理器的工作频率降到相邻的下一个工作频率; 对于升频动作, 将处理器的工作频率升到处理器的最高工作频率; 对于关核动作, 每次关闭处理器的一个核;  For the down-converting action, the operating frequency of the processor is reduced to the next next operating frequency; for the up-converting action, the operating frequency of the processor is raised to the highest operating frequency of the processor; a core of the device;
对于开核动作, 唤醒处理器的全部核。  For the open core action, wake up all cores of the processor.
功能元器件包括: 处理器和单板;  Functional components include: processor and board;
节能动作为休眠, 恢复动作为唤醒;  The energy saving action is dormant, and the recovery action is wake up;
场景判断模块还设置为: 在得到处理器的当前负荷值后, 计算各处理器 类型的当前总负荷值, 根据该各处理器类型的当前总负荷值判断是否需要对 处理器和单板釆取休眠或唤醒动作, 如果需要, 则将所釆取的休眠或唤醒动 作发送给策略执行模块; 策略选择模块设置为: 根据所釆取的动作从第二能耗控制策略规则中选 择策略, 并将所选择的策略发送给策略执行模块。 The scenario judging module is further configured to: after obtaining the current load value of the processor, calculate a current total load value of each processor type, and determine whether the processor and the board need to be retrieved according to the current total load value of each processor type. Sleep or wake-up action, if necessary, send the captured sleep or wake-up action to the policy execution module; The policy selection module is configured to: select a policy from the second energy consumption control policy rule according to the captured action, and send the selected policy to the policy execution module.
综上所述, 本发明通过将过剩的处理能力所对应的配置适时地关闭, 可 以实现在保证通讯设备的当前处理能力满足当前业务量需求的同时, 达到节 约能耗的目的。  In summary, the present invention can achieve the purpose of saving energy consumption while ensuring that the current processing capability of the communication device meets the current traffic demand while the configuration corresponding to the excess processing capability is properly closed.
附图概述 BRIEF abstract
图 1为本发明中功能单板进行能耗控制的方法的流程图;  1 is a flow chart of a method for controlling energy consumption of a function board according to the present invention;
图 2为本发明中控制单板进行能耗控制的方法的流程图;  2 is a flowchart of a method for controlling energy consumption control of a single board according to the present invention;
图 3为本发明应用示例 1的流程图;  3 is a flow chart of an application example 1 of the present invention;
图 4为本发明应用示例 2的流程图;  4 is a flow chart of an application example 2 of the present invention;
图 5为本发明应用示例 3的流程图;  Figure 5 is a flow chart of an application example 3 of the present invention;
图 6为本发明的能耗控制装置示意图。  6 is a schematic diagram of an energy consumption control device of the present invention.
本发明的较佳实施方式 Preferred embodiment of the invention
考虑到无线通讯网络中的业务量是随时间波动的, 比如上午 10点到 12 点处于高峰, 晚上 2点到 4点处于低谷, 而通讯设备一般是按当地业务量在 高峰期的需求进行建设。 运行时也是将设备的所有配置都开启, 并使所有配 置都工作在最大处理能力状态。 这样在业务量不太高的时候, 就会造成设备 处理能力过剩, 如果能将设备运行中过剩的处理能力所对应的配置适时地关 闭, 就能够降低设备运行的能耗。 上述设备的配置包括单板、 处理器和核等。 其中, 一个单板包含一个或多个同类型的处理器, 一个处理器包含一个或多 个核, 本实施方式中将单板和处理器统称为功能元器件。  Considering that the traffic in the wireless communication network fluctuates with time, such as peaking from 10:00 to 12:00, and falling from 2 to 4 in the evening, the communication equipment is generally built according to the local traffic demand during peak hours. . The runtime also turns all configurations of the device on and allows all configurations to operate at maximum processing power. In this way, when the traffic volume is not too high, the device processing capacity is excessive. If the configuration corresponding to the excess processing capability of the device operation can be shut down in a timely manner, the energy consumption of the device operation can be reduced. The configuration of the above device includes a single board, a processor, a core, and the like. The board includes one or more processors of the same type, and one processor includes one or more cores. In this embodiment, the boards and the processors are collectively referred to as functional components.
本实施方式中通过对基站和基站控制器等设备中的处理器的当前负荷进 行监控, 并根据一定的场景判断和策略选择, 而后进行策略执行, 对处理器 进行降频、 升频、 关核、 开核、 休眠或唤醒等动作, 对单板进行下电和上电 等动作, 以达到节能的目的。  In this embodiment, the current load of the processor in the device such as the base station and the base station controller is monitored, and according to a certain scenario judgment and policy selection, and then the policy is executed, the processor is down-converted, up-converted, and checked. The action of powering off, powering on, and powering on the board to achieve energy saving.
下面结合附图对本发明的具体实施方式进行说明。 实施例 1 : Specific embodiments of the present invention will be described below with reference to the accompanying drawings. Example 1:
图 1所示为本实施方式中功能单板进行能耗控制的方法, 包括:  FIG. 1 is a schematic diagram of a method for controlling energy consumption of a function board according to the embodiment, including:
101:功能单板上的监控模块周期性地对该单板上的各处理器的当前负荷 和处理能力进行釆样, 并将釆样得到的各处理器的当前负荷值和处理能力值 发送给场景判断模块;  101: The monitoring module on the function board periodically samples the current load and processing capability of each processor on the board, and sends the current load value and processing capability value of each processor obtained by the sample to Scene judgment module;
监控模块可以对最近一段时间内的历史负荷数据进行保存, 用以进行负 荷变化趋势的预测, 将负荷预测作为辅助依据使节能策略更精准。 保存历史 负荷数据的时间段长度和步长可以配置, 如最近 24 x 8小时内, 每 10分钟保 存 1次。 负荷变化趋势的预测方法可以是: 比如用上周六的历史负荷数据作 为本周六各时段的负荷预测, 或将历史负荷数据按时间和负荷大小的二维坐 标绘制成曲线来表示变化趋势。  The monitoring module can save historical load data for the most recent period of time to predict the load change trend, and use load forecasting as an auxiliary basis to make the energy saving strategy more accurate. Save History The length of the load data and the step size can be configured, such as saving every 10 minutes in the last 24 x 8 hours. The forecasting method of the load change trend may be: for example, using the historical load data of last Saturday as the load forecast for each time period of the Saturday, or plotting the historical load data into a curve according to the two-dimensional coordinates of the time and the load size to represent the change trend.
102: 场景判断模块在每个周期 T1开始时, 根据处理器的当前负荷值和 当前处理能力值判断是否需要对处理器釆取节能 (如降频和关核)或恢复 (升 频或开核)动作;  102: The scene judgment module determines, according to the current load value of the processor and the current processing capability value, whether to need to save energy (such as frequency reduction and check) or recovery (up-frequency or core-up) according to the current load value of the processor and the current processing capability value. Action
周期 T1相关的判断条件举例如下:  Examples of the judgment conditions related to the period T1 are as follows:
处理器降频: 处理器未工作在最低工作频率, 还计算在保证处理器的处 理能力大于该处理器的当前负荷的情况下所降到的最低的频率。  Processor Down-Frequency: The processor is not operating at the lowest operating frequency and also calculates the lowest frequency that is dropped if the processor's processing power is greater than the processor's current load.
处理器关核: 处理器已工作在最低工作频率, 还计算在保证处理器的处 理能力大于该处理器的当前负荷的情况下所关闭的核的个数。  Processor Off: The processor has been operating at the lowest operating frequency and also counts the number of cores that were shut down if the processor's processing power is greater than the processor's current load.
处理器开核: 处理器当前负荷大于该处理器的当前处理能力且该处理器 有被关闭的核, 并计算在保证处理器的处理能力大于该处理器的当前负荷的 情况下所需开启的核的个数。  Processor open core: The current load of the processor is greater than the current processing capacity of the processor and the processor has a core that is turned off, and the calculation needs to be turned on if the processing capability of the processor is greater than the current load of the processor. The number of cores.
处理器升频: 处理器当前负荷大于该处理器的当前处理能力且该处理器 无被关闭的核, 并计算在保证处理器的处理能力大于该处理器的当前负荷的 情况下所需提升到的频率。  Processor upsampling: the processor whose current load is greater than the current processing power of the processor and the processor has no core that is turned off, and the calculation needs to be upgraded to ensure that the processing power of the processor is greater than the current load of the processor. Frequency of.
103: 场景判断模块维护第一能耗控制动作列表, 在判断需要对处理器釆 取降频、 升频、 关核或开核的动作后, 将对处理器的该动作加入到第一能耗 控制动作列表中; 104: 策略选择模块从第一能耗控制动作列表中提取动作, 根据所提取的 动作和负荷预测从第一能耗控制策略规则中选择策略; 103: The scene judging module maintains a first energy consumption control action list, and after determining that the processor needs to perform the functions of down-clocking, up-clocking, de-nucleating, or core-opening, adding the action to the processor to the first energy consumption Control action list; 104: The policy selection module extracts an action from the first energy consumption control action list, and selects a policy from the first energy consumption control policy rule according to the extracted action and load prediction;
能耗控制策略规则举例如下:  Examples of energy control policy rules are as follows:
处理器降频过程为每次降到相邻的下一个工作频率, 升频则直接升到最 高工作频率。 处理器关核过程为每次关闭一个核, 开核则直接唤醒所有核。 这样对系统突然出现的负荷尖峰的适应能力较强。  The processor down-conversion process is reduced to the next next operating frequency each time, and the up-conversion directly rises to the highest operating frequency. The processor shutdown process shuts down one core at a time, and the core waking up all cores directly. This has a strong ability to adapt to the sudden occurrence of load spikes in the system.
可以根据历史负荷数据, 按时间和负荷大小的二维坐标绘制成负荷趋势 曲线以判断负荷的变化趋势, 当负荷趋势曲线某点上曲线的斜率大于指定阔 值时, 则可放弃提取出的节能动作。  According to the historical load data, the load trend curve can be drawn according to the two-dimensional coordinates of time and load to judge the change trend of the load. When the slope of the curve at a certain point of the load trend curve is greater than the specified threshold, the extracted energy can be discarded. action.
设置能耗控制动作限制表, 对每种类型的处理器明确其是否允许降频、 升频、 关核和开核, 从第一能耗控制动作列表中提取出动作后, 若对应的处 理器不允许进行相应的动作, 则放弃所提取出的动作。  Set the energy control action limit table, and specify for each type of processor whether to allow down-frequency, up-conversion, check-off, and core-opening, after extracting the action from the first energy-control action list, if the corresponding processor If the corresponding action is not allowed, the extracted action is discarded.
若已计算所降到的最低的频率, 所关闭的核的个数, 所需开启的核的个 数和所需提升到的频率, 则也可以不进行策略选择。  If the lowest frequency dropped, the number of cores to be turned off, the number of cores to be turned on, and the frequency to be boosted have been calculated, the strategy selection may not be performed.
105: 策略执行模块执行所选择的策略。  105: The policy execution module executes the selected policy.
为了防止在短时间内反复地进行节能动作和恢复动作 (乒乓现象) , 如 对某处理器进行反复的降频、 升频、 关核和开核动作, 因此, 维护一个动作 标记, 每 N个 T1周期开始时将此动作标记打开, 在这 N个 T1周期内, 只要 有一个恢复动作 (如开核或升频)被执行, 则将此标记关闭, 并忽略之后所 有的节能动作 (如关核和降频) , 直到下一个 N *T1 周期开始, 再将此标记 重新打开, 其中 N可自行配置。  In order to prevent repeated energy-saving actions and recovery actions (ping-pong phenomenon) in a short period of time, such as repeated down-clocking, up-clocking, closing, and core-opening actions on a processor, an action flag is maintained, for every N This action flag is turned on at the beginning of the T1 cycle. During this N T1 cycle, as long as a recovery action (such as open core or up-conversion) is performed, this flag is turned off, and all subsequent energy-saving actions are ignored. Core and down frequency), until the next N * T1 cycle begins, then re-open this flag, where N is self-configurable.
另, 可以通过网管配置来控制在任何时间段(如对于重大节日和重大事 件等)上关闭任何网络设备的节能功能, 使设备保持全部处理能力以应对随 时可能发生的业务风暴。  In addition, the network management configuration can be used to control the power-saving function of any network device at any time period (such as for major holidays and major events), so that the device can maintain full processing capacity to cope with business storms that may occur at any time.
图 2所示为本实施方式中上一层的控制单板对其下的功能单板进行能耗 控制的方法, 包括:  FIG. 2 is a schematic diagram of a method for controlling energy consumption of a function board of an upper layer of a control board of the upper layer according to the embodiment, including:
201 :控制单板上的监控模块周期性地对其下的功能单板上的处理器的当 前负荷和处理能力进行釆样, 并计算各处理器类型的当前总负荷, 将计算得 到的各处理器类型的当前总负荷发送给场景判断模块; 201: The monitoring module on the control board periodically samples the current load and processing capacity of the processor on the function board under it, and calculates the current total load of each processor type, which will be calculated. The current total load of each processor type sent to the scene determination module;
监控模块可以保存各处理器类型的历史负荷数据, 作为辅助依据使节能 策略更精准。  The monitoring module can save historical load data of each processor type, and as an auxiliary basis, the energy saving strategy is more accurate.
202: 控制单板上的场景判断模块在每个周期 T2开始时, 根据各处理器 类型的当前负荷判断是否需要对处理器和单板釆取休眠(下电)动作或唤醒 (上电)动作;  202: The scene judging module on the control board determines whether it is necessary to take a sleep (power off) action or wake up (power on) action on the processor and the board according to the current load of each processor type at the beginning of each period T2. ;
周期 T2可以是周期 T1的整数倍, 数倍大于 1 , T1与 T2无时序关系。 周期 T2相关的判断条件举例如下:  The period T2 can be an integer multiple of the period T1, and the multiple is greater than 1, and there is no timing relationship between T1 and T2. Examples of the judgment conditions related to the period T2 are as follows:
处理器休眠: 某处理器类型的当前总负荷小于在休眠所选择的一个或多 个处理器后该处理器类型的总处理能力。  Processor Sleep: The current total load of a processor type is less than the total processing power of that processor type after one or more processors selected for sleep.
单板休眠: 某处理器类型的当前总负荷小于在休眠所选择的一个或多个 单板后该处理器类型的总处理能力。  Board sleep: The current total load of a processor type is less than the total processing capacity of the processor type after one or more boards selected for hibernation.
处理器唤醒: 某处理器类型的总当前负荷大于该处理器类型当前总的处 理能力, 且小于在唤醒所选择的一个或多个处理器后该处理器类型的总处理 能力。  Processor wake-up: The total current load of a processor type is greater than the current total processing power of the processor type and less than the total processing power of the processor type after waking up the selected one or more processors.
单板唤醒: 某处理器类型总的当前负荷大于该处理器类型当前总的处理 能力,且小于在唤醒所选择的一个或多个单板后该处理器类型的总处理能力。  Board wakeup: The total current load of a processor type is greater than the current total processing power of the processor type and less than the total processing power of the processor type after waking up the selected one or more boards.
203: 场景判断模块维护第二能耗控制动作列表, 在判断需要对处理器或 单板釆取休眠或唤醒时, 将对处理器或单板的休眠或唤醒动作加入到第二能 耗控制动作列表中;  203: The scene judgment module maintains a second energy consumption control action list, and adds a sleep or wake action of the processor or the board to the second energy consumption control action when determining that the processor or the board needs to sleep or wake up. List;
对于一个或多个处理器的休眠, 将对该一个或多个处理器的休眠动作加 入到第二能耗控制动作列表中; 对于一个或多个单板的休眠, 将对该一个或 多个单板的休眠动作加入到第二能耗控制动作列表中; 对于一个或多个处理 器的唤醒, 将对该一个或多个处理器的唤醒动作加入到第二能耗控制动作列 表中; 对于一个或多个单板的唤醒, 将对该一个或多个单板的唤醒动作加入 到第二能耗控制动作列表中。  For the sleep of one or more processors, the dormant action of the one or more processors is added to the second energy control action list; for the sleep of one or more boards, the one or more The dormant action of the board is added to the second energy consumption control action list; for the wakeup of one or more processors, the wakeup action of the one or more processors is added to the second energy consumption control action list; The wake-up of one or more boards adds the wake-up action of the one or more boards to the second energy-control action list.
204: 策略选择模块从第二能耗控制动作列表中提取动作, 根据所提取的 动作和负荷预测来从第二能耗控制策略规则中选择策略; 第二能耗控制策略规则举例如下: 204: The policy selection module extracts an action from the second energy consumption control action list, and selects a policy from the second energy consumption control policy rule according to the extracted action and load prediction; An example of the second energy control policy rule is as follows:
处理器唤醒时, 使唤醒的处理器工作在最高频率并开启其所有的核。 单 板唤醒时, 使单板上所有处理器都工作在最高频率并开启其所有的核。  When the processor wakes up, the wake-up processor is operated at the highest frequency and all its cores are turned on. When the board wakes up, all the processors on the board operate at the highest frequency and turn on all their cores.
设置节能动作限制表对每种类型的处理器记录是否允许休眠或唤醒。 对 每种类型的单板记录是否允许休眠或唤醒。  Set the energy-saving action limit table to record whether each type of processor records whether to allow hibernation or wake-up. Whether to allow hibernation or wake-up is allowed for each type of board record.
205: 控制单板的策略执行模块执行所选择的策略。  205: The policy execution module of the control board executes the selected policy.
应用示例 1 :  Application example 1 :
为使本发明的目的、 技术方案和优点更加清楚, 以下通过实施例对本发 明作进一步地详细描述。  In order to make the objects, the technical solutions and the advantages of the present invention more clear, the present invention will be further described in detail below by way of examples.
H没处理器 C所属的处理器类型允许降频、 升频、 关核和开核等动作。 处理器 C所在单板上的能耗控制方法如下:  H does not have a processor. The processor type to which C belongs is to allow down-conversion, up-conversion, off-core, and core-opening. The energy consumption control method on the board where the processor C is located is as follows:
301 : 监控模块实时地监控处理器 C的当前负荷;  301: The monitoring module monitors the current load of the processor C in real time;
302: 场景判断模块将处理器 C的当前负荷与其当前处理能力进行比较, 确定进行节能或恢复的动作;  302: The scene determination module compares the current load of the processor C with its current processing capability, and determines an action of performing energy saving or recovery;
如果当前负荷小于当前处理能力, 则检测处理器 C是否工作在最低工作 频率, 如未工作在最低工作频率, 则计算在保证处理器的处理能力大于该处 理器的当前负荷的情况下所降到的最低的频率, 将对处理器 C的降频动作加 入到能耗控制动作列表。  If the current load is less than the current processing capability, detecting whether the processor C is operating at the lowest operating frequency, and if not operating at the lowest operating frequency, the calculation is reduced to the case where the processing capability of the guaranteed processor is greater than the current load of the processor. The lowest frequency, the processor C's down-converting action is added to the energy control action list.
如果处理器 C已经工作在最低工作频率, 计算在保证处理器的处理能力 大于该处理器的当前负荷的情况下所关闭的核的个数, 将处理器 C的关核动 作加入到能耗控制动作列表。  If processor C is already operating at the lowest operating frequency, calculate the number of cores that are turned off while ensuring that the processing power of the processor is greater than the current load of the processor, and add the check action of processor C to the energy consumption control. Action list.
如果当前负荷大于当前处理能力, 则检测处理器 C是否有被关闭的核, 如有被关闭的核, 则将处理器 C的开核动作加入到能耗控制动作列表; 如果 没有被关闭的核, 则将处理器 C的升频动作加入到能耗控制动作列表。  If the current load is greater than the current processing capability, it is detected whether the processor C has a core that is turned off, and if there is a core that is turned off, the processor C's open core action is added to the energy consumption control action list; if there is no closed core Then, the up-converting action of processor C is added to the energy-consuming control action list.
303: 策略选择模块选择能耗控制策略规则;  303: The policy selection module selects an energy consumption control policy rule;
比如, 能耗控制动作列表中有升频动作, 根据升频动作选择直接升到最 高频率的能耗控制策略规则, 结合处理器 C负荷预测选择是否执行该能耗控 制策略规则, 如果执行, 则通知策略执行模块将处理器 C的工作频率升到最 高。 For example, the energy consumption control action list has an up-converting action, and according to the up-conversion action, the energy consumption control strategy rule that directly rises to the highest frequency is selected, and the processor C load prediction is combined to select whether to perform the energy control. The policy rule, if executed, notifies the policy execution module to increase the operating frequency of processor C to the highest.
304: 策略执行模块执行所选取的能耗控制策略规则。  304: The policy execution module executes the selected energy control policy rule.
应用示例 2:  Application example 2:
H没 Cl、 C2和 C3为同一类型的处理器, 且其所属的处理器类型 TC允 许休眠和唤醒等动作。 Cl、 C2和 C3的处理能力依次由小到大。 α代表类型 为 TC的某个处理器。  H does not have Cl, C2, and C3 as the same type of processor, and its processor type TC allows actions such as sleep and wakeup. The processing power of Cl, C2 and C3 is from small to large. α represents a processor of type TC.
401 : 监控模块实时地监控处理器 Cl、 C2和 C3的当前负荷, 并计算处 理器类型 TC的当前总负荷;  401: The monitoring module monitors the current load of the processors Cl, C2, and C3 in real time, and calculates the current total load of the processor type TC;
402: 场景判断模块将处理器类型 TC的当前总负荷减去其当前总处理能 力, 得到 DeltaTC, 根据 DeltaTC选择休眠的处理器;  402: The scene judgment module subtracts the current total processing capacity of the processor type TC from its current total processing capacity to obtain a DeltaTC, and selects a sleepy processor according to the DeltaTC;
如果 DeltaTCO, 则将 |DeltaTC|与处理器 CI、 C2和 C3的当前处理能力 进行比较, 比如 |DeltaTC|大于 C1的当前处理能力但小于 C1和 C2的当前处 理能力之和,则将对 C1的休眠动作加入到第二能耗控制动作列表;如 |DeltaTC| 大于 C1和 C2的当前处理能力之和但小于 Cl、 C2和 C3的当前处理能力之 和, 则将对 C1和 C2的休眠动作加入到第二能耗控制动作列表。  If DeltaTCO, compare |DeltaTC| with the current processing capabilities of processors CI, C2, and C3, such as |DeltaTC| is greater than the current processing power of C1 but less than the sum of current processing capabilities of C1 and C2, then The sleep action is added to the second energy control action list; if |DeltaTC| is greater than the sum of the current processing capabilities of C1 and C2 but less than the sum of the current processing capabilities of Cl, C2, and C3, the sleep actions of C1 and C2 are added. Go to the second energy control action list.
如果 DeltaTOO, 则将 DeltaTC与处理器 CI、 C2和 C3的最大处理能力 作比较, 比如 DeltaTC大于 C1的最大处理能力但小于 C1和 C2的最大处理 能力之和, 则将对 C1 和 C2 的唤醒动作加入到第二能耗控制动作列表; 如 DeltaTC大于 C1和 C2的最大处理能力之和但小于 Cl、 C2和 C3的最大处理 能力之和, 则将对 Cl、 C2和 C3的唤醒动作加入到第二能耗控制动作列表。  If DeltaTOO, compare DeltaTC with the maximum processing power of processors CI, C2, and C3. For example, if DeltaTC is greater than the maximum processing power of C1 but less than the sum of the maximum processing power of C1 and C2, the wake-up actions for C1 and C2 will be performed. Add to the second energy control action list; if DeltaTC is greater than the sum of the maximum processing power of C1 and C2 but less than the sum of the maximum processing power of Cl, C2, and C3, the wake-up actions for Cl, C2, and C3 are added to the The second energy consumption control action list.
403: 策略选择模块选择能耗控制策略规则;  403: The policy selection module selects an energy consumption control policy rule;
比如, 第二能耗控制动作列表中有处理器唤醒动作, 根据唤醒动作选择 使处理器工作在最高频率并开启其所有核的能耗控制策略规则,并可结合 TC 总负荷预测, 选择是否执行该能耗控制策略规则, 如果执行, 则通知策略执 行模块使 Ci工作在最高频率并开启其所有的核。  For example, the second power consumption control action list has a processor wake-up action, and selects an energy consumption control policy rule that causes the processor to operate at the highest frequency and turns on all of its cores according to the wake-up action, and can be combined with the TC total load prediction to select whether to execute. The energy control policy rule, if executed, notifies the policy enforcement module to operate Ci at the highest frequency and turn on all of its cores.
404: 策略执行模块执行所选取的能耗控制策略规则。  404: The policy execution module executes the selected energy control policy rule.
应用示例 3: 假设 Bl、 B2和 B3为同一类型的单板, 且其所属的单板类型 TB允许休 眠和唤醒等动作。 Bl、 B2和 B3的处理能力依次由小到大。 Bi代表类型为 TB 的某个单板。 单板 Bl、 B2和 B3上处理器的类型为 TC。 Application example 3: Assume that B, B2, and B3 are the same type of board, and the board type TB to which it belongs can allow actions such as sleep and wakeup. The processing power of Bl, B2 and B3 is from small to large. Bi represents a board of type TB. The type of the processor on the boards B1, B2, and B3 is TC.
501 : 监控模块实时地监控单板 Bl、 B2和 B3上处理器的当前负荷, 并 计算处理器类型 TC当前总负荷;  501: The monitoring module monitors the current load of the processors on the boards Bl, B2, and B3 in real time, and calculates the current total load of the processor type TC;
502:场景判断模块将处理器类型 TC当前总负荷减去其当前总处理能力, 得到 DeltaTC, 根据 DeltaTC选择休眠的单板;  502: The scene judging module subtracts the current total processing capacity of the processor type TC from the current total processing capacity to obtain a DeltaTC, and selects a sleeping board according to the DeltaTC;
如果 DeltaTCO, 则将 |DeltaTC|与单板 Bl、 B2和 B3的当前处理能力作 比较,比如 |DeltaTC|大于 B1的当前处理能力但小于 B1和 B2的当前处理能力 之和, 则将对 B1的休眠动作加入到第二能耗控制动作列表; 如 |DeltaTC|大于 B1和 B2的当前处理能力之和但小于 Bl、 B2和 B3的当前处理能力之和, 则 将对 B1和 B2的休眠动作加入到第二能耗控制动作列表。  If DeltaTCO, compare |DeltaTC| with the current processing power of boards B1, B2, and B3, such as |DeltaTC| is greater than the current processing power of B1 but less than the sum of the current processing capabilities of B1 and B2, then the pair of B1 The dormant action is added to the second energy control action list; if |DeltaTC| is greater than the sum of the current processing capabilities of B1 and B2 but less than the sum of the current processing capabilities of Bl, B2, and B3, the sleep actions of B1 and B2 are added. Go to the second energy control action list.
如果 DeltaTOO, 则将 DeltaTC与单板 Bl、 B2和 B3的最大处理能力作 比较, 比如 DeltaTC大于 B1的最大处理能力但小于 B1和 B2的最大处理能 力之和, 则将对 B1 和 B2 的唤醒动作加入到第二能耗控制动作列表; 如 DeltaTC大于 B1和 B2的最大处理能力之和但小于 Bl、 B2和 B3的最大处理 能力之和, 则将对 Bl、 B2和 B3的唤醒动作加入到第二能耗控制动作列表。  If DeltaTOO, the DeltaTC is compared with the maximum processing power of the boards B1, B2 and B3. For example, if DeltaTC is greater than the maximum processing capacity of B1 but less than the sum of the maximum processing power of B1 and B2, the wake-up actions for B1 and B2 will be performed. Add to the second energy control action list; if DeltaTC is greater than the sum of the maximum processing capabilities of B1 and B2 but less than the sum of the maximum processing capabilities of Bl, B2, and B3, the wakeup actions for Bl, B2, and B3 are added to the The second energy consumption control action list.
503: 策略选择模块选择能耗控制策略规则;  503: The policy selection module selects an energy consumption control policy rule;
比如, 第二能耗控制动作列表中有单板唤醒动作, 根据唤醒动作选择使 单板上所有处理器都工作在最高频率并开启其所有核的能耗控制策略规则, 并可结合 TC 总负荷预测, 选择是否执行该能耗控制策略规则, 如果执行, 则通知策略执行模块使 Bi中所有处理器都工作在最高频率并开启其所有核。  For example, the second power consumption control action list has a board wake-up action, and according to the wake-up action, all the processors on the board are operated at the highest frequency and all the cores of the energy consumption control policy rules are opened, and the total load of the TC can be combined. Predict, choose whether to execute the energy control policy rule. If executed, notify the policy execution module to make all processors in Bi work at the highest frequency and turn on all its cores.
504: 策略执行模块执行所选取的能耗控制策略规则。  504: The policy execution module executes the selected energy control policy rule.
图 6为本实施方式的能耗控制装置, 包括: 依次相连的监控模块、 场景 判断模块、 策略选择模块和策略执行模块, 其中:  6 is an energy consumption control device according to an embodiment of the present invention, including: a monitoring module, a scenario determining module, a policy selecting module, and a policy execution module, which are sequentially connected, wherein:
监控模块, 用于在功能元器件为处理器时, 对处理器的当前负荷和处理 能力进行釆样, 得到处理器的当前负荷值和当前处理能力值, 并发送给场景 判断模块;  The monitoring module is configured to: when the functional component is a processor, the current load and the processing capability of the processor are obtained, and the current load value and the current processing capability value of the processor are obtained, and sent to the scenario determining module;
场景判断模块, 用于在得到功能元器件的当前负荷值和当前处理能力值 后, 根据功能元器件的当前负荷值和当前处理能力值判断是否需要对该功能 元器件釆取节能或恢复动作, 如果需要, 则将所釆取的节能或恢复动作加入 到第一能耗控制动作列表中; 还用于在得到处理器的当前负荷值后, 计算各 处理器类型的当前总负荷值, 根据该各处理器类型的当前总负荷值判断是否 需要对处理器和单板釆取休眠或唤醒动作, 如果需要, 则将对处理器和单板 的休眠或唤醒动作加入到第二能耗控制动作列表中; a scene determination module, configured to obtain a current load value and a current processing capability value of the functional component After that, according to the current load value of the functional component and the current processing capability value, it is judged whether energy saving or recovery action needs to be taken for the functional component, and if necessary, the energy saving or recovery action taken is added to the first energy consumption control. The action list is also used to calculate the current total load value of each processor type after obtaining the current load value of the processor, and determine whether the processor and the board need to be retrieved according to the current total load value of each processor type. Sleep or wake-up action, if necessary, add the sleep or wake-up action of the processor and the board to the second energy-control action list;
策略选择模块, 用于从第一能耗控制动作列表中提取动作, 根据所提取 出的动作从第一能耗控制策略规则中选择策略, 并将所选择的策略发送给策 略执行模块; 对于降频动作, 将处理器的工作频率降到相邻的下一个工作频 率; 对于升频动作, 将处理器的工作频率升到处理器的最高工作频率; 对于 关核动作, 每次关闭处理器的一个核; 对于开核动作, 唤醒处理器的全部核。 还用于从第二能耗控制动作列表中提取动作, 根据所提取出的动作从第二能 耗控制策略规则中选择策略, 并将所选择的策略发送给策略执行模块;  a policy selection module, configured to extract an action from the first energy consumption control action list, select a policy from the first energy consumption control policy rule according to the extracted action, and send the selected policy to the policy execution module; Frequency action, reducing the operating frequency of the processor to the next next operating frequency; for the up-converting action, raising the operating frequency of the processor to the highest operating frequency of the processor; for the closing action, each time the processor is turned off A core; for the core open action, wake up all cores of the processor. And is further configured to extract an action from the second energy consumption control action list, select a policy from the second energy consumption control policy rule according to the extracted action, and send the selected policy to the policy execution module;
策略执行模块, 执行所接收到的策略;  a policy execution module that executes the received policy;
本实施方式能耗控制装置的各模块的其它功能请参考方法内容的描述。 以上实施方式仅用于说明本发明, 而非用于限定本发明。 如果不脱离本 发明的精神和范围的对本发明进行修改或者等同替换, 均应涵盖在本发明的 权利要求范围当中。  For other functions of each module of the energy consumption control device of this embodiment, please refer to the description of the method content. The above embodiments are merely illustrative of the invention and are not intended to limit the invention. Modifications or equivalents of the invention are intended to be included within the scope of the appended claims.
工业实用性 Industrial applicability
本发明通过将过剩的处理能力所对应的配置适时地关闭, 可以实现在保 证通讯设备的当前处理能力满足当前业务量需求的同时, 达到节约能耗的目 的。  By closing the configuration corresponding to the excess processing capability in a timely manner, the present invention can achieve the goal of saving energy while ensuring that the current processing capability of the communication device meets the current traffic demand.

Claims

权 利 要 求 书 Claim
1、 一种能耗控制方法, 包括:  1. A method of controlling energy consumption, comprising:
在得到功能元器件的当前负荷值和当前处理能力值后, 才艮据所述功能元 器件的当前负荷值和当前处理能力值判断是否需要对该功能元器件釆取节能 或恢复动作, 如果需要, 则执行所釆取的动作。  After obtaining the current load value and the current processing capability value of the functional component, it is determined whether the functional component needs to be energy-saving or resumed according to the current load value and the current processing capability value of the functional component, if needed , then perform the action taken.
2、 如权利要求 1所述的方法, 其中,  2. The method of claim 1 wherein
若所述功能元器件为处理器, 则对所述处理器的当前负荷和处理能力进 行釆样, 得到所述处理器的当前负荷值和当前处理能力值。  If the functional component is a processor, the current load and processing capability of the processor are sampled to obtain a current load value and a current processing capability value of the processor.
3、 如权利要求 2所述的方法, 其中,  3. The method of claim 2, wherein
所述节能动作包括降频和关核, 所述恢复动作包括升频和开核; 所述根据所述功能元器件的当前负荷值和当前处理能力值判断是否对该 处理器釆取节能或恢复动作的步骤包括:  The energy saving action includes frequency down and power off, the recovery action includes upsizing and opening the core; and determining, according to the current load value of the functional component and the current processing capability value, whether to save energy or recover the processor The steps of the action include:
判断所述处理器的当前负荷值是否小于该处理器的当前处理能力值, 如 果小于, 则检测所述处理器是否工作在最低工作频率, 如果未工作在最低工 作频率, 则对该处理器釆取降频动作; 如果所述处理器已工作在最低工作频 率, 则对该处理器釆取关核动作;  Determining whether the current load value of the processor is less than a current processing capability value of the processor, if not, detecting whether the processor is operating at a lowest operating frequency, and if not operating at a lowest operating frequency, Taking a frequency reduction action; if the processor is already operating at the lowest operating frequency, then the processor is throttled;
如果所述处理器的当前负荷值大于该处理器的当前处理能力值, 则检测 该处理器是否有关闭的核, 如果有, 则对该处理器釆取开核动作; 否则, 对 该处理器釆取升频动作。  If the current load value of the processor is greater than the current processing capability value of the processor, detecting whether the processor has a closed core, and if so, extracting the core from the processor; otherwise, the processor Take the upswing action.
4、 如权利要求 3所述的方法, 该方法还包括:  4. The method of claim 3, further comprising:
所述处理器未工作在最低工作频率时, 计算在保证处理器的处理能力大 于该处理器的当前负荷的情况下所降到的最低的频率; 所述处理器已工作在 最低工作频率时, 计算在保证所述处理器的处理能力大于该处理器的当前负 荷的情况下所关闭的核的个数;  When the processor is not operating at the lowest operating frequency, calculating the lowest frequency that is reduced if the processing capability of the processor is greater than the current load of the processor; when the processor is operating at the lowest operating frequency, Calculating the number of cores that are closed if the processing capability of the processor is greater than the current load of the processor;
所述处理器有关闭的核时, 计算在保证处理器的处理能力大于该处理器 的当前负荷的情况下所需开启的核的个数; 所述处理器无被关闭的核时, 计 算在保证处理器的处理能力大于该处理器的当前负荷的情况下所需提升到的 频率。 When the processor has a closed core, calculate the number of cores that need to be opened if the processing capability of the processor is greater than the current load of the processor; when the processor has no core that is turned off, the calculation is performed. Ensure that the processing power of the processor is greater than the current load of the processor. Frequency.
5、 如权利要求 1所述的方法, 其中,  5. The method of claim 1, wherein
在需要对所述处理器釆取节能或恢复动作时, 还将对该处理器的节能或 恢复动作加入到第一能耗控制动作列表中 , 并从所述第一能耗控制动作列表 中提取动作, 执行所提取出的动作。  When energy saving or recovery actions need to be taken for the processor, the energy saving or recovery action of the processor is also added to the first energy consumption control action list, and extracted from the first energy consumption control action list. Action, execute the extracted action.
6、 如权利要求 5所述的方法, 该方法还包括:  6. The method of claim 5, further comprising:
根据所提取出的动作从第一能耗控制策略规则中选择并执行策略; 所述第一能耗控制策略规则包括:  Selecting and executing a policy from the first energy consumption control policy rule according to the extracted action; the first energy consumption control policy rule includes:
对于降频动作, 将处理器的工作频率降到相邻的下一个工作频率; 对于升频动作, 将处理器的工作频率升到处理器的最高工作频率; 对于关核动作, 每次关闭处理器的一个核;  For the down-converting action, the operating frequency of the processor is reduced to the next next operating frequency; for the up-converting action, the operating frequency of the processor is raised to the highest operating frequency of the processor; a core of the device;
对于开核动作, 唤醒处理器的全部核。  For the open core action, wake up all cores of the processor.
7、 如权利要求 1所述的方法, 其中,  7. The method of claim 1, wherein
所述功能元器件包括: 处理器和单板;  The functional components include: a processor and a single board;
所述节能动作为休眠, 所述恢复动作为唤醒;  The energy saving action is sleep, and the recovery action is wakeup;
在得到所述处理器的当前负荷值后, 还计算各处理器类型的当前总负荷 值, 根据该各处理器类型的当前总负荷值判断是否需要对处理器和单板釆取 休眠或唤醒动作, 如果需要, 则执行所釆取的休眠或唤醒动作。  After the current load value of the processor is obtained, the current total load value of each processor type is also calculated, and whether the processor or the board needs to capture sleep or wake up according to the current total load value of each processor type is determined. If necessary, perform the captured sleep or wake-up action.
8、 如权利要求 7所述的方法, 其中, 所述根据该各处理器类型的当前总 负荷值判断是否需要对处理器和单板釆取休眠动作的步骤包括:  The method of claim 7, wherein the step of determining whether to perform a sleep action on the processor and the board according to the current total load value of the processor types comprises:
将一处理器类型的当前总负荷值与该类型的各处理器的当前处理能力值 进行比较, 选择一个或多个休眠的处理器, 若该处理器类型的当前总负荷值 小于在对所选择的一个或多个处理器进行休眠后, 该处理器类型的总处理能 力, 则对所选择的一个或多个处理器釆取休眠动作;  Comparing the current total load value of a processor type with the current processing capability value of each processor of the type, selecting one or more sleep processors, if the current total load value of the processor type is less than the selected one After the one or more processors are hibernating, the total processing capability of the processor type takes a sleep action on the selected one or more processors;
将一处理器类型的当前总负荷值与釆用该类型处理器的单板的当前处理 能力值进行比较, 选择一个或多个休眠的单板, 若该处理器类型的当前总负 荷值小于在对所选择的一个或多个单板进行休眠后, 该处理器类型的总处理 能力, 则对所选择的一个或多个单板釆取休眠动作。 Comparing the current total load value of a processor type with the current processing capability value of the board using the processor of the type, selecting one or more sleeping boards, if the current total load value of the processor type is less than Total processing of the processor type after sleeping on one or more selected boards Capabilities, which take a dormant action on one or more selected boards.
9、 如权利要求 8所述的方法, 其中, 所述根据该各处理器类型的当前总 负荷值判断是否需要对处理器和单板釆取唤醒动作的步骤包括:  The method of claim 8, wherein the step of determining whether a wake-up action is required for the processor and the board according to the current total load value of the processor types comprises:
在一处理器类型的当前总负荷值大于该处理器类型的当前总处理能力 时, 将该处理器类型的当前总负荷值与该类型的各处理器的当前处理能力值 进行比较, 选择一个或多个唤醒的处理器, 若该处理器类型的当前总负荷值 小于在对所选择的一个或多个处理器进行唤醒后 , 该处理器类型的总处理能 力, 则对所选择的一个或多个处理器釆取唤醒动作;  When the current total load value of a processor type is greater than the current total processing capacity of the processor type, comparing the current total load value of the processor type with the current processing capability value of each processor of the type, selecting one or a plurality of wake-up processors, if the current total load value of the processor type is less than the total processing power of the processor type after waking up the selected one or more processors, then one or more selected ones The processor captures the wake-up action;
在一处理器类型的当前总负荷值大于该釆用该类型处理器的单板的当前 总处理能力时, 将该处理器类型的当前总负荷值与釆用该类型处理器的单板 的当前处理能力值进行比较, 选择一个或多个唤醒的单板, 若该处理器类型 的当前总负荷值小于在对所选择的一个或多个单板进行唤醒后, 该处理器类 型的总处理能力, 则对所选择的一个或多个单板釆取唤醒动作。  When the current total load value of a processor type is greater than the current total processing capacity of the board using the processor of the type, the current total load value of the processor type is the current value of the board using the processor of the type The processing capability value is compared, and one or more wake-up boards are selected. If the current total load value of the processor type is less than the wake-up of the selected one or more boards, the total processing capacity of the processor type , then wake up the selected one or more boards.
10、 如权利要求 7所述的方法, 该方法还包括:  10. The method of claim 7, further comprising:
根据所釆取的动作从第二能耗控制策略规则中选择并执行策略; 所述第二能耗控制策略规则包括: 对于处理器的唤醒动作, 使唤醒的处理器工作在最高频率并开启全部的 核;  Selecting and executing a policy from the second energy consumption control policy rule according to the captured action; the second energy consumption control policy rule includes: for the wakeup action of the processor, causing the wakeup processor to operate at the highest frequency and turn on all Nuclear
对于单板的唤醒动作, 使唤醒的单板上全部的处理器均工作在最高频率 并开启全部的核。  For the wake-up action of the board, all the processors on the wake-up board work at the highest frequency and turn on all the cores.
11、 一种能耗控制装置, 包括: 相连接的场景判断模块和策略执行模块, 其中:  11. An energy consumption control device, comprising: a connected scene judgment module and a policy execution module, wherein:
所述场景判断模块设置为: 在得到功能元器件的当前负荷值和当前处理 能力值后, 根据所述功能元器件的当前负荷值和当前处理能力值判断是否需 要对该功能元器件釆取节能或恢复动作, 如果需要, 则将所釆取的节能或恢 复动作发送给所述策略执行模块;  The scene determination module is configured to: after obtaining the current load value and the current processing capability value of the functional component, determine whether the functional component needs to be energy-saving according to the current load value of the functional component and the current processing capability value. Or recovering the action, if necessary, sending the captured energy saving or recovery action to the policy execution module;
所述策略执行模块设置为: 执行接收到的动作。  The policy execution module is configured to: perform the received action.
12、 如权利要求 11所述的装置, 其中, 该装置还包括监控模块, 该监控 模块与所述场景判断模块相连; 所述监控模块设置为: 在所述功能元器件为处理器时, 对所述处理器的 当前负荷和处理能力进行釆样, 得到所述处理器的当前负荷值和当前处理能 力值, 并发送给所述场景判断模块。 12. The apparatus of claim 11, wherein the apparatus further comprises a monitoring module, the monitoring The module is connected to the scene judging module; the monitoring module is configured to: when the functional component is a processor, sample the current load and processing capability of the processor to obtain a current load of the processor. The value and the current processing capability value are sent to the scene determination module.
13、 如权利要求 11所述的装置, 其中, 该装置还包括策略选择模块, 该 策略选择模块分别与所述场景判断模块和策略执行模块相连;  The device of claim 11, further comprising a policy selection module, wherein the policy selection module is respectively connected to the scenario determination module and the policy execution module;
所述策略选择模块设置为: 根据所釆取的节能或恢复动作从第一能耗控 制策略规则中选择策略, 并将所选择的策略发送给所述策略执行模块;  The policy selection module is configured to: select a policy from the first energy consumption control policy rule according to the captured energy saving or recovery action, and send the selected policy to the policy execution module;
所述策略执行模块还设置为: 执行所接收到的策略;  The policy execution module is further configured to: execute the received policy;
所述第一能耗控制策略规则包括:  The first energy consumption control policy rule includes:
对于降频动作, 将处理器的工作频率降到相邻的下一个工作频率; 对于升频动作, 将处理器的工作频率升到处理器的最高工作频率; 对于关核动作, 每次关闭处理器的一个核;  For the down-converting action, the operating frequency of the processor is reduced to the next next operating frequency; for the up-converting action, the operating frequency of the processor is raised to the highest operating frequency of the processor; a core of the device;
对于开核动作, 唤醒处理器的全部核。  For the open core action, wake up all cores of the processor.
14、 如权利要求 11所述的装置, 其中,  14. The apparatus according to claim 11, wherein
所述功能元器件包括: 处理器和单板;  The functional components include: a processor and a single board;
所述节能动作为休眠, 所述恢复动作为唤醒;  The energy saving action is sleep, and the recovery action is wakeup;
所述场景判断模块还设置为: 在得到所述处理器的当前负荷值后, 计算 各处理器类型的当前总负荷值, 根据该各处理器类型的当前总负荷值判断是 否需要对处理器和单板釆取休眠或唤醒动作, 如果需要, 则将所釆取的休眠 或唤醒动作发送给所述策略执行模块;  The scenario determining module is further configured to: after obtaining the current load value of the processor, calculate a current total load value of each processor type, and determine whether the processor and the processor are needed according to the current total load value of each processor type. The board captures a sleep or wake-up action, and if necessary, sends the captured sleep or wake-up action to the policy execution module;
所述策略选择模块设置为: 根据所釆取的动作从第二能耗控制策略规则 中选择策略, 并将所选择的策略发送给所述策略执行模块。  The policy selection module is configured to: select a policy from the second energy consumption control policy rule according to the captured action, and send the selected policy to the policy execution module.
PCT/CN2011/071311 2010-03-19 2011-02-25 Method and device for controlling energy consumption WO2011113321A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 201010138942 CN102196538B (en) 2010-03-19 2010-03-19 Method and device for controlling energy consumption
CN201010138942.8 2010-03-19

Publications (1)

Publication Number Publication Date
WO2011113321A1 true WO2011113321A1 (en) 2011-09-22

Family

ID=44603748

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/071311 WO2011113321A1 (en) 2010-03-19 2011-02-25 Method and device for controlling energy consumption

Country Status (2)

Country Link
CN (1) CN102196538B (en)
WO (1) WO2011113321A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546999B (en) * 2012-01-20 2014-05-07 华为技术有限公司 Method, control device and system for reducing device power consumption based on business model
CN102665261A (en) * 2012-05-21 2012-09-12 大唐移动通信设备有限公司 Power-saving method and system for hardware service processing node plate
CN104901846A (en) * 2015-05-23 2015-09-09 巫立斌 Consumption-reducing system for PTN equipment
CN104811356A (en) * 2015-05-23 2015-07-29 巫立斌 Intelligent consumption reduction system for IP (Internet Protocol) equipment
CN106020987A (en) * 2016-05-31 2016-10-12 广东欧珀移动通信有限公司 Method and device for determining kernel running configurations in processor

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030084358A1 (en) * 2001-10-31 2003-05-01 Bresniker Kirk M. System and method for intelligent control of power consumption of distributed services during periods of reduced load
US20050107134A1 (en) * 2002-10-10 2005-05-19 Masaaki Morioka Communication terminal, power save processing method to be performed by the communication terminal, program for executing the method, and recording medium containing the program
CN101110701A (en) * 2007-08-02 2008-01-23 杭州华三通信技术有限公司 Energy-saving method, system and equipment for distributed system
CN101340313A (en) * 2008-08-12 2009-01-07 中兴通讯股份有限公司 Distributed system capable of implementing energy saving and consumption lowering, and control method for energy saving and consumption lowering
CN101436098A (en) * 2008-12-24 2009-05-20 华为技术有限公司 Method and apparatus for reducing power consumption of multiple-core symmetrical multiprocessing system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030084358A1 (en) * 2001-10-31 2003-05-01 Bresniker Kirk M. System and method for intelligent control of power consumption of distributed services during periods of reduced load
US20050107134A1 (en) * 2002-10-10 2005-05-19 Masaaki Morioka Communication terminal, power save processing method to be performed by the communication terminal, program for executing the method, and recording medium containing the program
CN101110701A (en) * 2007-08-02 2008-01-23 杭州华三通信技术有限公司 Energy-saving method, system and equipment for distributed system
CN101340313A (en) * 2008-08-12 2009-01-07 中兴通讯股份有限公司 Distributed system capable of implementing energy saving and consumption lowering, and control method for energy saving and consumption lowering
CN101436098A (en) * 2008-12-24 2009-05-20 华为技术有限公司 Method and apparatus for reducing power consumption of multiple-core symmetrical multiprocessing system

Also Published As

Publication number Publication date
CN102196538A (en) 2011-09-21
CN102196538B (en) 2013-09-11

Similar Documents

Publication Publication Date Title
CN103188277B (en) load energy consumption management system, method and server
US20110291748A1 (en) Power consumption reduction systems and methods
WO2016041468A1 (en) Wakeup method, device and terminal
WO2013091561A1 (en) Energy-saving method, device and communication terminal
WO2011113321A1 (en) Method and device for controlling energy consumption
WO2013170575A1 (en) Method, device, and central processor for hard drive power-saving control
WO2016115956A1 (en) Scheduling method and scheduling device for business system based on cloud computing
CN114727375B (en) Energy-saving control method, base station and system for deep dormancy of 5G base station
WO2016078268A1 (en) Energy saving method and device
CN105630132A (en) Power consumption control method and system as well as terminal
CN101340313B (en) Distributed system capable of implementing energy saving and consumption lowering, and control method for energy saving and consumption lowering
CN104125077A (en) Communication method and equipment for network terminal equipment
CN103701889A (en) Data center energy saving method on basis of cloud computing
CN101772140A (en) Self-adaption energy saving method and business system having self-adaption energy saving function
TW201513703A (en) Method of management of a wireless interface of a device and corresponding wireless device
CN111625080A (en) Server energy saving method and device, electronic equipment and storage medium
CN112954707A (en) Energy saving method and device for base station, base station and computer readable storage medium
CN102339118A (en) Terminal shutdown control method and system
CN105005504B (en) A kind of the single task mode implementation method and system of Android platform
CN109088737B (en) Oil engine energy saving method, related equipment and system
CN111914000B (en) Server power capping method and system based on power consumption prediction model
CN101604198B (en) Method for reducing power consumption of embedded system
CN102664742A (en) Power dynamic management method based on embedded server
KR100997647B1 (en) Method of centralized network power management and system thereof
CN204014084U (en) A kind of wireless network terminal equipment

Legal Events

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

Ref document number: 11755638

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: 11755638

Country of ref document: EP

Kind code of ref document: A1