CN105357313A - Power consumption control method, system, and frame management controller - Google Patents

Power consumption control method, system, and frame management controller Download PDF

Info

Publication number
CN105357313A
CN105357313A CN201510862547.7A CN201510862547A CN105357313A CN 105357313 A CN105357313 A CN 105357313A CN 201510862547 A CN201510862547 A CN 201510862547A CN 105357313 A CN105357313 A CN 105357313A
Authority
CN
China
Prior art keywords
node
power consumption
power module
maximum output
electricity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510862547.7A
Other languages
Chinese (zh)
Inventor
巩祥文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201510862547.7A priority Critical patent/CN105357313A/en
Publication of CN105357313A publication Critical patent/CN105357313A/en
Pending legal-status Critical Current

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/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3212Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The invention provides a power consumption control method, a system, and a frame management controller. The power consumption control method comprises steps of setting a standard parameter and obtaining a weight value corresponding to each node, obtaining a first power value corresponding to each node, calculating a total power consumption value of all nodes, obtaining maximum output electric quantity of the power supply module, determining whether the maximum output electric quantity of the power supply module meets the difference allowance, if yes, indicating the node middle plate to control the power supply module to transmit electric quantity to each node output by an indication node middle plate, wherein the maximum electric quantity transmitted to each node is not greater than the corresponding first power consumption, if not, calculating a second power consumption value corresponding to each node according to the weight value corresponding to each node and the maximum output electric quantity of the power supply module, and indicating node middle panel to control the power supply module to correspondingly output electric quantity of the second power consumption to each node. The invention performs a limit on the power consumption value of each node and saves the electric power resource.

Description

Power consumption control method and system, Shelf Management Controller
Technical field
The present invention relates to server technology field, particularly a kind of power consumption control method and system, Shelf Management Controller.
Background technology
Along with the fast development of cloud computing, the application being processed large data by whole machine cabinet server is also more and more extensive, is managed in whole machine cabinet server by Shelf Management Controller to each node in whole machine cabinet server.
At present, centrally connected power supply is carried out by the whole nodes in electric power source pair of module whole machine cabinet server in whole machine cabinet server; Each node is all to having nominal power consumption, namely maximum power consumption when present node normally works, when configuring whole machine cabinet server, namely by Shelf Management Controller, power module being managed, exporting the electricity of corresponding nominal power consumption to make power module respectively to the node of correspondence.
But, in technique scheme, nominal power consumption due to each node is the maximum electricity that this node may be used in course of normal operation, corresponding node may not need this maximum electricity normally to work, such as, the nominal power consumption that a server node in whole machine cabinet server is corresponding is 402W, but this server can normally work when 300W electricity; Visible, when powering to whole machine cabinet according to the nominal power consumption of each node, there is the situation of wastes power resource in whole machine cabinet server.
Summary of the invention
In view of this, the invention provides a kind of power consumption control method and system, Shelf Management Controller, can conservation of power resource.
First aspect, the invention provides a kind of power consumption control method, comprising:
S0: pre-set canonical parameter and obtain each node weighted value corresponding respectively;
S1: obtain and arrange instruction, arranges instruction and carries the first corresponding respectively power consumption number of each node;
S2: first power consumption number corresponding respectively according to each node calculates the permit notification of whole node;
S3: the maximum output electricity obtaining power module;
S4: judge whether the maximum output electricity of power module meets gap and allow according to canonical parameter and permit notification;
S5: when judged result is for being, in node, plate sends the first control command, and in the first control command instructs node, plate controls power module is not more than correspondence the first power consumption number respectively to the maximum electricity that each node exports;
S6: otherwise the weighted value corresponding respectively according to each node and the maximum output electricity of power module calculate the second corresponding respectively power consumption number of each node; In node, plate sends the second control command, and in the second control command instructs node, plate controls power module exports corresponding second power consumption number electricity respectively to each node.
Further, the weighted value that each node of described acquisition is corresponding respectively, comprising:
Obtain the nominal power that each node is corresponding respectively;
The nominal power corresponding respectively according to each node calculates each node weighted value corresponding respectively.
Further,
The weighted value that each node described is corresponding is respectively obtained by following formulae discovery:
M=W/(W 1+W 2......W n-1+W n);
Wherein, M is for characterizing weighted value corresponding to present node, and W is for characterizing nominal power corresponding to present node, W 1+ W 2... W n-1+ W nfor characterize nominal power corresponding to whole node and;
The second power consumption number that each node described is corresponding is respectively obtained by following formulae discovery:
N=W C*M;
Wherein, W cfor characterizing the maximum output electricity of power module, N is for characterizing the second power consumption number corresponding to present node.
Further,
Described canonical parameter comprises: electricity gap allows parameter or range differences apart from allowing parameter;
Described according to canonical parameter and permit notification judge the maximum output electricity of power module whether meet gap allow, comprising:
Judge whether the difference of the maximum output electricity of permit notification and power module is less than electricity gap and allows parameter;
Or,
By the range differences of the maximum output electricity of following formulae discovery permit notification and power module apart from reference value:
X=1-W C/(C 1+C 2……+C n-1+C n);
Wherein, described X is used for characterization range gap reference value, and Wc is for characterizing the maximum output electricity of power module, C 1+ C 2+ C n-1+ C nfor characterize the first respectively corresponding power consumption number of each node and;
Whether determination range gap reference value is less than gap allows parameter.
Further,
Also comprise: pre-set heartbeat monitor unit, described heartbeat monitor unit is for generation of heartbeat monitor signal;
The maximum output electricity of described acquisition power module, comprise: send heartbeat monitor instruction according to heartbeat monitor signal to plate in node, and the maximum output electricity of the power module that in receiving node, buttress sends according to heartbeat monitor instruction, wherein, heartbeat monitor instruction is used to indicate plate in node and obtains the maximum output electricity of power module.
Second aspect, the invention provides a kind of Shelf Management Controller, comprising:
Setting unit, for arranging canonical parameter;
Acquiring unit, arranges instruction for obtaining, and arranges instruction and carries the first corresponding respectively power consumption number of each node; Obtain the maximum output electricity of power module;
Computing unit, calculates the permit notification of whole node for the first power consumption number corresponding respectively according to each node; And when the judged result of judging unit is no, the weighted value corresponding respectively according to each node and the maximum output electricity of power module calculate the second corresponding respectively power consumption number of each node;
Judging unit, for judging according to canonical parameter and permit notification whether the maximum output electricity of power module meets gap and allow;
Processing unit, for when the judged result of judging unit is for being, in node, plate sends the first control command, and in the first control command instructs node, plate controls power module is not more than correspondence the first power consumption number respectively to the maximum electricity that each node exports; And when the judged result of judging unit is no, in node, plate sends the second control command, in the second control command instructs node, plate controls power module exports corresponding second power consumption number electricity respectively to each node.
Further,
Described acquiring unit comprises: obtain subelement, for obtaining each node nominal power corresponding respectively; Computation subunit, calculates each node weighted value corresponding respectively for the nominal power corresponding respectively according to each node;
And/or,
Described judging unit, whether the difference for the maximum output electricity judging permit notification and power module is less than electricity gap allows parameter; Or, utilize computing unit by the range differences of the maximum output electricity of following formulae discovery permit notification and power module apart from reference value:
X=1-W C/(C 1+C 2……+C n-1+C n);
Wherein, described X is used for characterization range gap reference value, and Wc is for characterizing the maximum output electricity of power module, C 1+ C 2+ C n-1+ C nfor characterize the first respectively corresponding power consumption number of each node and;
Whether described judging unit, be less than gap for determination range gap reference value and allow parameter.
Further,
Described setting unit, is further used for arranging heartbeat monitor unit;
Described heartbeat monitor unit, for generation of heartbeat monitor signal;
Described acquiring unit, for sending heartbeat monitor instruction according to heartbeat monitor signal to plate in node, and the maximum output electricity of the power module that in receiving node, buttress sends according to heartbeat monitor instruction, wherein, heartbeat monitor instruction is used to indicate plate in node and obtains the maximum output electricity of power module.
The third aspect, the invention provides a kind of power consumption control system, comprising: control device, as plate, power module and at least one node in the Shelf Management Controller as described in arbitrary in above-mentioned second aspect, node;
Wherein, Shelf Management Controller distinguishes plate in connection control device and node, and in node, plate connects power module and each node respectively;
Control device, arranges instruction for sending to Shelf Management Controller, arranges instruction and carries the first corresponding respectively power consumption number of each node;
Plate in node, for obtaining the maximum output electricity of Power Monitoring Unit, and is sent to Shelf Management Controller by maximum output electricity; The first control command that rack Management Controller sends, controls power module according to the first control command and is not more than the first corresponding power consumption number respectively to the maximum electricity that each node exports; Or the second control command that rack Management Controller sends, controls power module exports corresponding second power consumption number electricity respectively to each node.
Further,
Plate in described node, for the heartbeat monitor instruction that rack Management Controller sends, obtains the maximum output electricity of power module, and the maximum output electricity of power module is sent to Shelf Management Controller according to heartbeat monitor instruction.
The invention provides a kind of power consumption control method and system, Shelf Management Controller; By pre-setting canonical parameter, obtain and instruction is set accordingly to obtain the first corresponding respectively power consumption number of each node, and, by obtaining the maximum output electricity of power module, when the maximum output electricity of power module meets gap permission, then control power module by buttress in the first control command instructs node according to the first power consumption number and export corresponding electricity respectively to each node; When the output electricity of power module does not meet gap permission, then corresponding respectively according to each node weighted value calculates the second power consumption number corresponding to each node, controls the electricity of power module respectively to corresponding second power consumption number of each node output by plate in the second control command instructs node; Visible, in technical scheme provided by the invention, achieve and control power consumption number corresponding to each node according to the maximum output electricity of power module, can conservation of power resource.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of a kind of power consumption control method that one embodiment of the invention provides;
Fig. 2 is the flow chart of the another kind of power consumption control method that one embodiment of the invention provides;
Fig. 3 is a kind of Shelf Management Controller that one embodiment of the invention provides;
Fig. 4 is a kind of power consumption control system that one embodiment of the invention provides.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly; below in conjunction with the accompanying drawing in the embodiment of the present invention; technical scheme in the embodiment of the present invention is clearly and completely described; obviously; described embodiment is the present invention's part embodiment, instead of whole embodiments, based on the embodiment in the present invention; the every other embodiment that those of ordinary skill in the art obtain under the prerequisite not making creative work, all belongs to the scope of protection of the invention.
As shown in Figure 1, embodiments provide a kind of power consumption control method, the method can comprise the following steps:
S0: pre-set canonical parameter and obtain each node weighted value corresponding respectively;
S1: obtain and arrange instruction, arranges instruction and carries the first corresponding respectively power consumption number of each node;
S2: first power consumption number corresponding respectively according to each node calculates the permit notification of whole node;
S3: the maximum output electricity obtaining power module;
S4: judge whether the maximum output electricity of power module meets gap and allow according to canonical parameter and permit notification;
S5: when judged result is for being, in node, plate sends the first control command, and in the first control command instructs node, plate controls power module is not more than correspondence the first power consumption number respectively to the maximum electricity that each node exports;
S6: otherwise the weighted value corresponding respectively according to each node and the maximum output electricity of power module calculate the second corresponding respectively power consumption number of each node; In node, plate sends the second control command, and in the second control command instructs node, plate controls power module exports corresponding second power consumption number electricity respectively to each node.
By pre-setting canonical parameter, obtain and instruction is set accordingly to obtain the first corresponding respectively power consumption number of each node, and, by obtaining the maximum output electricity of power module, when the maximum output electricity of power module meets gap permission, then control power module by buttress in the first control command instructs node according to the first power consumption number and export corresponding electricity respectively to each node; When the output electricity of power module does not meet gap permission, then corresponding respectively according to each node weighted value calculates the second power consumption number corresponding to each node, controls the electricity of power module respectively to corresponding second power consumption number of each node output by plate in the second control command instructs node; Visible, in technical scheme provided by the invention, achieve and control power consumption number corresponding to each node according to the maximum output electricity of power module, can conservation of power resource.
Particularly, in one embodiment of the invention, described power consumption control method can be applicable in several Management Controllers of whole machine cabinet server; During in order to prevent the output electricity of power module too small, cause the part important node of whole machine cabinet server internal cannot work because electricity is not enough, by obtaining the weighted value of each node of whole machine cabinet server internal in advance, when the output electricity of power module is not enough, can come, to the electricity of corresponding second power consumption number of each peer distribution, to ensure that each node all can normally work as much as possible by the weighted value corresponding respectively according to each node.
Accordingly, in one embodiment of the invention, by obtaining, instruction is set to obtain the first power consumption number corresponding to each node, need not according to the electricity of the nominal power of each node difference correspondence in whole machine cabinet server to the corresponding nominal power of each peer distribution, the maximum power dissipation value realized for each node limits, and then realizes the actual output electricity saving power module; Further, in one mode in the cards, can in whole machine cabinet server expanding node, utilize and support that expanding node works accordingly by arranging the first power consumption number to save electricity out; For example, the nominal power consumption of a server node can comprise 408W, and the first power consumption number of corresponding current server node comprises 300W, and power consumption number corresponding to each fan node comprises 54W; At this moment, when whole machine cabinet server space allows, saving 108W electricity out can be utilized in whole machine cabinet server to expand two fan nodes, the fan hot property of whole machine cabinet server can be improved by two fan nodes of expansion, and then improve the operating efficiency of whole machine cabinet server.
Further, because each node in whole machine cabinet server is all configured with corresponding nominal power when Default Value, the i.e. corresponding node maximum power dissipation value that may reach when normal work, therefore, each node nominal power corresponding respectively can be utilized to determine the weighted value that each node is corresponding respectively; Particularly, in a preferred embodiment of the invention, the weighted value that each node of described acquisition is corresponding respectively, comprising:
Obtain the nominal power that each node is corresponding respectively;
The nominal power corresponding respectively according to each node calculates each node weighted value corresponding respectively.
Particularly, in one embodiment of the invention, the weighted value that each node described is corresponding is respectively calculated by following formula (1):
M=W/(W 1+W 2......W n-1+W n);(1)
Wherein, M is for characterizing weighted value corresponding to present node, and W is for characterizing nominal power corresponding to present node, W 1+ W 2... W n-1+ W nfor characterize nominal power corresponding to whole node and;
The second power consumption number that each node described is corresponding is respectively calculated by following formula (2):
N=W C*M;(2)
Wherein, W cfor characterizing the maximum output electricity of power module, N is for characterizing the second power consumption number corresponding to present node.
Further, in order to judge whether the maximum output electricity of power module meets gap and allow, and in a preferred embodiment of the invention, described canonical parameter comprises accurately: electricity gap allows parameter or range differences apart from allowing parameter;
Described according to canonical parameter and permit notification judge the maximum output electricity of power module whether meet gap allow, comprising:
Judge whether the difference of described permit notification and described maximum output electricity is less than electricity gap and allows parameter;
Or,
The range differences of the maximum output electricity of permit notification and power module is calculated apart from reference value by following formula (3):
X=1-W C/(C 1+C 2……+C n-1+C n);(3)
Wherein, described X is used for characterization range gap reference value, and Wc is for characterizing the maximum output electricity of power module, C 1+ C 2+ C n-1+ C nfor characterize the first respectively corresponding power consumption number of each node and;
Whether determination range gap reference value is less than gap allows parameter.
In one embodiment of the invention, canonical parameter can comprise electricity gap and allow parameter or range differences apart from allowing parameter; When the permit notification of the whole node of whole machine cabinet server is higher, because the radix of the maximum output electricity of permit notification and power module is all relatively large, at this moment, scope of application gap allows parameter to have higher accuracy as canonical parameter; When the permit notification of the whole node of whole machine cabinet server is less, because the technology of the maximum output electricity of permit notification and power module is all relatively little, at this moment, power consumption gap is made to allow parameter to have higher accuracy as canonical parameter.
The explanation of value, the type of canonical parameter and the concrete reference value of canonical parameter rationally can be arranged in conjunction with actual demand by user.
Further, in order to realize monitoring in real time the maximum output current of power module, avoiding whole machine cabinet server to occur in the course of the work, the maximum output current of power module is too small and cause the part important node in whole machine cabinet server normally to work, in a preferred embodiment of the invention, also comprise: pre-set heartbeat monitor unit, described heartbeat monitor unit is for generation of heartbeat monitor signal;
The maximum output electricity of described acquisition power module, comprise: send heartbeat monitor instruction according to heartbeat monitor signal to plate in node, and the maximum output electricity of the power module that in receiving node, buttress sends according to heartbeat monitor instruction, wherein, heartbeat monitor instruction is used to indicate plate in node and obtains the maximum output electricity of power module.
In one embodiment of the invention, periodically producing heartbeat signal by arranging heartbeat monitor unit, obtaining the maximum output current of power module according to heartbeat signal, to realize monitoring the maximum output electricity of power module; The explanation of value, the cycle that heartbeat monitor unit produces heartbeat signal can rationally be arranged according to the actual requirements; For example, when the input voltage of power module is comparatively stablized, relatively long heartbeat signal can be set and produce the cycle, such as the heartbeat signal cycle of producing is set to 5 minutes.
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with drawings and the specific embodiments, the present invention is described in further detail.
As shown in Figure 2, embodiments provide another kind of power consumption control method, with by carrying out data interaction between control device and Shelf Management Controller to realize carrying out power consumption control to each node in whole machine cabinet server on Shelf Management Controller; The method can comprise the following steps:
Step 201, pre-sets canonical parameter and heartbeat monitor unit.
In one embodiment of the invention, the type of canonical parameter can rationally be arranged by the permit notification corresponding according to whole machine cabinet server, when the permit notification of whole machine cabinet server is relatively low, such as, when permit notification is not more than 1KW, canonical parameter type can be set to electricity gap and allow parameter, electricity gap allows parameter to comprise 100W; When the permit notification of whole machine cabinet server is greater than 1KW, the type of canonical parameter can be set to range differences apart from allowing parameter, such as 2%.
The explanation of value, above-mentioned parameter type and parameter value are and illustrate, when listening the embodiment of the present invention to carry out power consumption control, rationally can arrange in conjunction with actual demand.
Step 202, configuration control device, is connected control device with Shelf Management Controller.
In one embodiment of the invention, power consumption control method depends on Shelf Management Controller, in order to realize utilizing Shelf Management Controller to carry out power consumption control to each node in the whole machine cabinet period of service, need to carry out corresponding configuration to the control device be connected to Shelf Management Controller; In one mode in the cards, control device can be dependent on linux operating system (such as, redhat6.4), the ipmi interface of control device connection frame Management Controller, and the IP address of Shelf Management Controller and the IP address of control device are arranged on the same network segment, for example, the IP address of the IP address of Shelf Management Controller and control device can corresponding 192.168.1.251; Then, ipmitool instrument can be installed in control device, and then the control device being configured with ipmitool instrument can be communicated with between Shelf Management Controller.
Step 203, obtains the nominal power of each node.
In one embodiment of the invention, the nominal power of whole machine cabinet server can be provided by the whole machine cabinet manufacturer server of correspondence, and the nominal power that each node is corresponding is the maximum electricity that present node may be used when normal work; Here nominal power corresponding to each node in Shelf Management Controller transmission whole machine cabinet server in control device can be passed through by staff.
Step 204, calculates the weighted value that each node is corresponding respectively.
In one embodiment of the invention, the weighted value that each node is corresponding respectively calculates by the formula (1) described in above-described embodiment.
The explanation of value, in situation in the cards, the weighted value of each node corresponding by the weighted value of control device each node self-defined, then can also be sent to Shelf Management Controller by user; In one mode in the cards, when whole machine cabinet server comprises as lower node: when server, switch, fan, server and switch whole machine cabinet server just can be made to realize corresponding business owing to must maintain normal work, and fan quits work at short notice and may can't have influence on server and normally perform corresponding business, therefore, possess higher weighted value by the self-defined server node of control device and telephone net node, and fan possesses lower weighted value; And for example, identical server node, the higher server node of load can possess higher weighted value, and the lower server node of load may correspond to lower weighted value.
Step 205, what Shelf Management Controller receiving control device sent arranges instruction, arranges instruction and carries the first corresponding respectively power consumption number of each node.
In one embodiment of the invention, in order to realize save power, the first power consumption number by control device each node self-defined is maximum power dissipation value, electricity required when the corresponding present node of the first power consumption number normally works; For example, the nominal power consumption that server node is corresponding can comprise 408W, but when 300W electricity, this server node can ensure that it normally works, and at this moment, the first power consumption number arranging current server node that instruction carries corresponding can comprise 300W; Visible current server node can the electricity of surplus 108W.
Step 206, first power consumption number corresponding respectively according to each node calculates the total power consumption of whole node.
Step 207, sends heartbeat monitor instruction according to the heartbeat signal that heartbeat unit produces to plate in node, and in receiving node, the maximum work output of the power module that buttress sends according to current heartbeat monitored instruction consumes.
In one embodiment of the invention, in order to cause the part important node in whole machine cabinet server normally to work when preventing the output electricity of power module too low, by arranging heartbeat monitor unit, to realize periodically monitoring power module, namely periodically obtain the maximum output electricity that electric power source pair of module answers current heartbeat pilot signal; To take appropriate measures to prevent the part important node in whole machine cabinet server from cannot normally work because electricity is not enough when power module output electricity is too low.
The explanation of value, when the input voltage of power module is comparatively stablized, can arrange longer heart beat cycle, such as, the cycle that heartbeat monitor unit produces heartbeat signal is set to 5 minutes.
According to the canonical parameter pre-set, step 208, judges whether the peak power output of power module meets gap and allow, and when judged result is for being, performs step 209; Otherwise, perform step 210.
In one embodiment of the invention, as described in step 201, the type of canonical parameter can comprise electricity gap and allow parameter and range differences apart from any one parameter type allowed in parameter; When canonical parameter type is electricity gap permission parameter, whether the difference of the permit notification namely calculated in determining step 206 and the maximum output electricity of power module is less than electricity gap allows parameter; When the type of canonical parameter is range differences distance permission parameter, calculate the range differences of the maximum output electricity of permit notification and power module by above-mentioned formula (3) apart from reference value, and then judge whether this range differences is less than corresponding range differences apart from allowing parameter apart from reference value.
Step 209, in node, plate sends the first control command, and the first control command instructs node legal copy controls power module and is not more than the first corresponding power consumption number respectively to the maximum electricity that each node exports.
In one embodiment of the invention, when judged result is for being, illustrate that power module possesses enough electricity, corresponding electricity can be exported according to the first power consumption number that each node is corresponding respectively respectively to each node, namely can ensure that each node normally works; Therefore, by sending the first corresponding control command to plate in node, utilizing plate in node to limit the spendable maximum electricity of each node, reaching the effect limiting each node maximum power dissipation value, and then conservation of power resource.
Step 210, the weighted value corresponding respectively according to each node and the maximum output electricity of power module calculate the second corresponding respectively power consumption number of each node.
In one embodiment of the invention, when judged result is no, illustrate that the maximum output electricity of power module is lower, can not ensure that each node all can obtain corresponding electricity to ensure that each node all can normally work; At this moment, under the prerequisite that power module maximum output electricity is certain, can come to electricity corresponding to each peer distribution by the weighted value corresponding respectively according to each node, in one mode in the cards, calculate the second corresponding respectively power consumption number of each node by the formula (2) described in above-described embodiment, namely each node can be assigned to the electricity of corresponding second power consumption number.
Step 211, in node, plate sends the second control command, and in the second control command instructs node, plate controls power module exports corresponding second power consumption number electricity respectively to each node.
In one embodiment of the invention, under the prerequisite that the maximum output electricity of power module is certain, the weighted value corresponding according to each node carries out power energy allocation, ensures that the important node in whole machine cabinet server can normally work as much as possible; For example, fan node in whole machine cabinet server due to the impact that whether can normally work on whole machine cabinet server less, be configured with less weighted value, the electricity distributed for fan is also less, even if fan because of electricity cannot normally work very little time, other functional nodes of server still can normally work; Accordingly, server node and weighted value corresponding to telephone net node higher, higher electricity can be distributed and can carry out work normally with Deterministic service device node and interchanger node.
As shown in Figure 3, the invention provides a kind of Shelf Management Controller 30 of function, comprising:
Setting unit 301, for arranging canonical parameter;
Acquiring unit 302, arranges instruction for obtaining, and arranges instruction and carries the first corresponding respectively power consumption number of each node; Obtain the maximum output electricity of power module;
Computing unit 303, calculates the permit notification of whole node for the first power consumption number corresponding respectively according to each node; And when the judged result of judging unit 304 is no, the weighted value corresponding respectively according to each node and the maximum output electricity of power module calculate the second corresponding respectively power consumption number of each node;
Judging unit 304, for judging according to canonical parameter and permit notification whether the maximum output electricity of power module meets gap and allow;
Processing unit 305, for when the judged result of judging unit 304 is for being, in node, plate sends the first control command, and in the first control command instructs node, plate controls power module is not more than correspondence the first power consumption number respectively to the maximum electricity that each node exports; And when the judged result of judging unit 304 is no, in node, plate sends the second control command, in the second control command instructs node, plate controls power module exports corresponding second power consumption number electricity respectively to each node.
Further, in order to realize for the corresponding weighted value of different Joint Enterprise, in a preferred embodiment of the invention, described acquiring unit 302 comprises: obtain subelement (attached not shown), for obtaining each node nominal power corresponding respectively; Computation subunit (attached not shown), calculates each node weighted value corresponding respectively for the nominal power corresponding respectively according to each node;
And/or,
Described judging unit 304, whether the difference for the maximum output electricity judging permit notification and power module is less than electricity gap allows parameter; Or, utilize computing unit 303 to be calculated the range differences of the maximum output electricity of permit notification and power module by following formula (3) apart from reference value:
X=1-W C/(C 1+C 2……+C n-1+C n);(3)
Wherein, described X is used for characterization range gap reference value, and Wc is for characterizing the maximum output electricity of power module, C 1+ C 2+ C n-1+ C nfor characterize the first respectively corresponding power consumption number of each node and;
Whether described judging unit 304, be less than gap for determination range gap reference value and allow parameter.
Further, in order to realize monitoring the maximum output electricity of power module, the part important node cisco unity malfunction in whole machine cabinet server is caused when avoiding the output electricity of power module too small, in a preferred embodiment of the invention, described setting unit 301, is further used for arranging heartbeat monitor unit (attached not shown);
Described heartbeat monitor unit, for generation of heartbeat monitor signal;
Described acquiring unit 302, for sending heartbeat monitor instruction according to heartbeat monitor signal to plate in node, and the maximum output electricity of the power module that in receiving node, buttress sends according to heartbeat monitor instruction, wherein, heartbeat monitor instruction is used to indicate plate in node and obtains the maximum output electricity of power module.
As shown in Figure 4, the invention provides a kind of power consumption control system, control device 401, as arbitrary in above-described embodiment as described in Shelf Management Controller 30, plate 402, power module 403 and at least one node 404 in node;
Wherein, Shelf Management Controller 30 distinguishes plate 402 in connection control device 401 and node, and in node, plate 402 connects power module 403 and each node 404 respectively;
Control device 401, arranges instruction for sending to Shelf Management Controller 30, arranges instruction and carries the first corresponding respectively power consumption number of each node 404;
Plate 402 in node, for obtaining the maximum output electricity of Power Monitoring Unit 403, and is sent to Shelf Management Controller 30 by maximum output electricity; The first control command that rack Management Controller 30 sends, controls power module 403 according to the first control command and is not more than the first corresponding power consumption number respectively to the maximum electricity that each node 404 exports; Or the second control command that rack Management Controller 30 sends, controls power module 403 exports corresponding second power consumption number electricity respectively to each node 404.
Further, in order to realize monitoring the maximum output electricity of power module, and the part important node cisco unity malfunction causing in whole machine cabinet server when preventing the maximum output electricity of power module too small, in a preferred embodiment of the invention, plate 402 in described node, for the heartbeat monitor instruction that rack Management Controller 30 sends, obtain the maximum output electricity of power module 403 according to heartbeat monitor instruction, and the maximum output electricity of power module 403 is sent to Shelf Management Controller 30.
The content such as information interaction, implementation between each unit in said apparatus, due to the inventive method embodiment based on same design, particular content can see in the inventive method embodiment describe, repeat no more herein.
Each embodiment of the present invention at least has following beneficial effect:
1, by pre-setting canonical parameter, obtain and instruction is set accordingly to obtain the first corresponding respectively power consumption number of each node, and, by obtaining the maximum output electricity of power module, when the maximum output electricity of power module meets gap permission, then control power module by buttress in the first control command instructs node according to the first power consumption number and export corresponding electricity respectively to each node; When the output electricity of power module does not meet gap permission, then corresponding respectively according to each node weighted value calculates the second power consumption number corresponding to each node, controls the electricity of power module respectively to corresponding second power consumption number of each node output by plate in the second control command instructs node; Visible, in technical scheme provided by the invention, achieve and control power consumption number corresponding to each node according to the maximum output electricity of power module, can conservation of power resource.
2, monitor by arranging the maximum output electricity of heartbeat monitor to power module, when the output electricity of power module is too small, according to weighted value corresponding to each each node to electricity corresponding to each peer distribution, when power module maximum output electricity can be prevented too small, the part important node in whole machine cabinet server is caused cannot normally to work because electricity is too small.
3, data interaction is carried out by control device and Shelf Management Controller, realize being limited by the power consumption number that Shelf Management Controller is corresponding to each node, under the prerequisite that whole machine cabinet server internal space allows, corresponding node can be expanded in whole machine cabinet server, such as fan node, the electricity saved is utilized to power to make expanding node can carry out working with the performance improving server accordingly to the node expanded out, such as, improved the radiating effect of server by expansion fan node in whole machine cabinet server, and then improve the overall performance of whole machine cabinet server.
It should be noted that, in this article, the relational terms of such as first and second and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element " being comprised a 〃 〃 〃 〃 〃 〃 " limited by statement, and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical factor.
Finally it should be noted that: the foregoing is only preferred embodiment of the present invention, only for illustration of technical scheme of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (10)

1. a power consumption control method, is characterized in that, comprising: pre-set canonical parameter and obtain each node weighted value corresponding respectively; Also comprise:
Acquisition arranges instruction, arranges instruction and carries the first corresponding respectively power consumption number of each node;
First power consumption number corresponding respectively according to each node calculates the permit notification of whole node;
Obtain the maximum output electricity of power module;
Judge whether the maximum output electricity of power module meets gap and allow according to canonical parameter and permit notification;
When judged result is for being, in node, plate sends the first control command, and in the first control command instructs node, plate controls power module is not more than correspondence the first power consumption number respectively to the maximum electricity that each node exports;
Otherwise the weighted value corresponding respectively according to each node and the maximum output electricity of power module calculate the second corresponding respectively power consumption number of each node; In node, plate sends the second control command, and in the second control command instructs node, plate controls power module exports corresponding second power consumption number electricity respectively to each node.
2. power consumption control method according to claim 1, is characterized in that, the weighted value that each node of described acquisition is corresponding respectively, comprising:
Obtain the nominal power that each node is corresponding respectively;
The nominal power corresponding respectively according to each node calculates each node weighted value corresponding respectively.
3. power consumption control method according to claim 2, is characterized in that,
The weighted value that each node described is corresponding is respectively obtained by following formulae discovery:
M=W/(W 1+W 2......W n-1+W n);
Wherein, M is for characterizing weighted value corresponding to present node, and W is for characterizing nominal power corresponding to present node, W 1+ W 2... W n-1+ W nfor characterize nominal power corresponding to whole node and;
The second power consumption number that each node described is corresponding is respectively obtained by following formulae discovery:
N=W C*M;
Wherein, W cfor characterizing the maximum output electricity of power module, N is for characterizing the second power consumption number corresponding to present node.
4. power consumption control method according to claim 1, is characterized in that, described canonical parameter comprises: electricity gap allows parameter or range differences apart from allowing parameter;
Described according to canonical parameter and permit notification judge the maximum output electricity of power module whether meet gap allow, comprising:
Judge whether the difference of the maximum output electricity of permit notification and power module is less than electricity gap and allows parameter;
Or,
By the range differences of the maximum output electricity of following formulae discovery permit notification and power module apart from reference value:
X=1-W C/(C 1+C 2……+C n-1+C n);
Wherein, described X is used for characterization range gap reference value, and Wc is for characterizing the maximum output electricity of power module, C 1+ C 2+ C n-1+ C nfor characterize the first respectively corresponding power consumption number of each node and;
Whether determination range gap reference value is less than gap allows parameter.
5. power consumption control method according to claim 1, is characterized in that, also comprises: pre-set heartbeat monitor unit, and described heartbeat monitor unit is for generation of heartbeat monitor signal;
The maximum output electricity of described acquisition power module, comprise: send heartbeat monitor instruction according to heartbeat monitor signal to plate in node, and the maximum output electricity of the power module that in receiving node, buttress sends according to heartbeat monitor instruction, wherein, heartbeat monitor instruction is used to indicate plate in node and obtains the maximum output electricity of power module.
6. a Shelf Management Controller, is characterized in that, comprising:
Setting unit, for arranging canonical parameter;
Acquiring unit, arranges instruction for obtaining, and arranges instruction and carries the first corresponding respectively power consumption number of each node; Obtain the maximum output electricity of power module;
Computing unit, calculates the permit notification of whole node for the first power consumption number corresponding respectively according to each node; And when the judged result of judging unit is no, the weighted value corresponding respectively according to each node and the maximum output electricity of power module calculate the second corresponding respectively power consumption number of each node;
Judging unit, for judging according to canonical parameter and permit notification whether the maximum output electricity of power module meets gap and allow;
Processing unit, for when the judged result of judging unit is for being, in node, plate sends the first control command, and in the first control command instructs node, plate controls power module is not more than correspondence the first power consumption number respectively to the maximum electricity that each node exports; And when the judged result of judging unit is no, in node, plate sends the second control command, in the second control command instructs node, plate controls power module exports corresponding second power consumption number electricity respectively to each node.
7. Shelf Management Controller according to claim 6, is characterized in that,
Described acquiring unit comprises: obtain subelement, for obtaining each node nominal power corresponding respectively; Computation subunit, calculates each node weighted value corresponding respectively for the nominal power corresponding respectively according to each node;
And/or,
Described judging unit, whether the difference for the maximum output electricity judging permit notification and power module is less than electricity gap allows parameter; Or, utilize computing unit by the range differences of the maximum output electricity of following formulae discovery permit notification and power module apart from reference value:
X=1-W C/(C 1+C 2……+C n-1+C n);
Wherein, described X is used for characterization range gap reference value, and Wc is for characterizing the maximum output electricity of power module, C 1+ C 2+ C n-1+ C nfor characterize the first respectively corresponding power consumption number of each node and;
Whether described judging unit, be less than gap for determination range gap reference value and allow parameter.
8. Shelf Management Controller according to claim 6, is characterized in that,
Described setting unit, is further used for arranging heartbeat monitor unit;
Described heartbeat monitor unit, for generation of heartbeat monitor signal;
Described acquiring unit, for sending heartbeat monitor instruction according to heartbeat monitor signal to plate in node, and the maximum output electricity of the power module that in receiving node, buttress sends according to heartbeat monitor instruction, wherein, heartbeat monitor instruction is used to indicate plate in node and obtains the maximum output electricity of power module.
9. a power consumption control system, is characterized in that, comprising: control device, as plate, power module and at least one node in the Shelf Management Controller as described in arbitrary in the claims 6 to 8, node;
Wherein, Shelf Management Controller distinguishes plate in connection control device and node, and in node, plate connects power module and each node respectively;
Control device, arranges instruction for sending to Shelf Management Controller, arranges instruction and carries the first corresponding respectively power consumption number of each node;
Plate in node, for obtaining the maximum output electricity of Power Monitoring Unit, and is sent to Shelf Management Controller by maximum output electricity; The first control command that rack Management Controller sends, controls power module according to the first control command and is not more than the first corresponding power consumption number respectively to the maximum electricity that each node exports; Or the second control command that rack Management Controller sends, controls power module exports corresponding second power consumption number electricity respectively to each node.
10. power consumption control system according to claim 9, is characterized in that,
Plate in described node, for the heartbeat monitor instruction that rack Management Controller sends, obtains the maximum output electricity of power module, and the maximum output electricity of power module is sent to Shelf Management Controller according to heartbeat monitor instruction.
CN201510862547.7A 2015-11-30 2015-11-30 Power consumption control method, system, and frame management controller Pending CN105357313A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510862547.7A CN105357313A (en) 2015-11-30 2015-11-30 Power consumption control method, system, and frame management controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510862547.7A CN105357313A (en) 2015-11-30 2015-11-30 Power consumption control method, system, and frame management controller

Publications (1)

Publication Number Publication Date
CN105357313A true CN105357313A (en) 2016-02-24

Family

ID=55333172

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510862547.7A Pending CN105357313A (en) 2015-11-30 2015-11-30 Power consumption control method, system, and frame management controller

Country Status (1)

Country Link
CN (1) CN105357313A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106527663A (en) * 2016-10-28 2017-03-22 迈普通信技术股份有限公司 Communication device and power supply management method thereof
CN107729150A (en) * 2017-10-17 2018-02-23 山东衡昊信息技术有限公司 A kind of addressing method of isomeric group safety supervision equipment least energy consumption node
WO2018040360A1 (en) * 2016-08-30 2018-03-08 浪潮电子信息产业股份有限公司 Method and device for limiting power consumption of whole cabinet
CN109376051A (en) * 2018-09-03 2019-02-22 深圳壹账通智能科技有限公司 Detect the method and terminal device of mobile device application program power consumption
CN109917900A (en) * 2017-12-07 2019-06-21 技嘉科技股份有限公司 Power supply managing method and computer system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018040360A1 (en) * 2016-08-30 2018-03-08 浪潮电子信息产业股份有限公司 Method and device for limiting power consumption of whole cabinet
US10890960B2 (en) 2016-08-30 2021-01-12 Inspur Electronic Information Industry Co., Ltd Method and apparatus for limiting rack power consumption
CN106527663A (en) * 2016-10-28 2017-03-22 迈普通信技术股份有限公司 Communication device and power supply management method thereof
CN106527663B (en) * 2016-10-28 2019-03-15 迈普通信技术股份有限公司 A kind of communication equipment and its method for managing power supply
CN107729150A (en) * 2017-10-17 2018-02-23 山东衡昊信息技术有限公司 A kind of addressing method of isomeric group safety supervision equipment least energy consumption node
CN109917900A (en) * 2017-12-07 2019-06-21 技嘉科技股份有限公司 Power supply managing method and computer system
CN109376051A (en) * 2018-09-03 2019-02-22 深圳壹账通智能科技有限公司 Detect the method and terminal device of mobile device application program power consumption

Similar Documents

Publication Publication Date Title
CN105357313A (en) Power consumption control method, system, and frame management controller
CN104104543B (en) Server managing system and method based on SNMP and IPMI protocol
Guo et al. Electricity cost saving strategy in data centers by using energy storage
JP6029270B2 (en) High performance micro grid
CN103809724A (en) Equipment cabinet and power source control method thereof
AU2020363627A1 (en) Metering and communications for distributed energy resource devices
CN106774752A (en) A kind of Rack servers spare fans control method
Parello et al. Energy management framework
CN104993479A (en) Power supply method and power supply system of data center, and IT cabinet
CN103135732A (en) Server cabinet system
JP2019524043A (en) Utility meter for using distributed generators
CN103809723A (en) Equipment cabinet and power source control method thereof
McClurg et al. Re-thinking data center power delivery: Regulating series-connected voltage domains in software
CN204903643U (en) Data center PUE monitoring devices
TW201902073A (en) Server system, server device and power supply recovery method therefor
CN106885988A (en) A kind of generating set test system
CN104506342A (en) Rack-mounted server system
KR102081218B1 (en) Digital twin device
CN109254882A (en) A kind of implementation method of blade server distribution SMC management
CN105217389A (en) The method and system of elevator spare part telemanagement
CN103218281A (en) Blade server monitoring system
CN204030624U (en) A kind of grid-connected anti-backflow device
CN103049050B (en) A kind of capacity expansion configuration method administrating system of blade server
JP7307202B2 (en) Power outage and recovery detection of multimeter nodes in mesh networks
CN107528698A (en) Optical network device service board, optical network device and its method for controlling power supply

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160224

WD01 Invention patent application deemed withdrawn after publication