WO2017173926A1 - Power allocation method and device - Google Patents

Power allocation method and device Download PDF

Info

Publication number
WO2017173926A1
WO2017173926A1 PCT/CN2017/077908 CN2017077908W WO2017173926A1 WO 2017173926 A1 WO2017173926 A1 WO 2017173926A1 CN 2017077908 W CN2017077908 W CN 2017077908W WO 2017173926 A1 WO2017173926 A1 WO 2017173926A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
service device
cabinet
processed
power distribution
Prior art date
Application number
PCT/CN2017/077908
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 WO2017173926A1 publication Critical patent/WO2017173926A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5094Allocation of resources, e.g. of the central processing unit [CPU] where the allocation takes into account power or heat criteria
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • This document relates to, but is not limited to, the field of communication technologies, and in particular, to an energy distribution method and apparatus.
  • the embodiments of the present invention provide an energy distribution method and device, which can prevent a server with a low operating frequency or a discarded service from affecting the operating efficiency of the data center.
  • An embodiment of the present invention provides an energy distribution method, including:
  • the one or more services are selected from the lowest priority service according to the preset service priority order. As a business to be processed;
  • the energy distribution method further includes: when the to-be-processed service device supports a preset high-priority service, the method further includes:
  • the first service device is a service device that supports the preset high-priority service
  • the cabinet power distribution socket corresponding to the to-be-processed service device is searched according to the second corresponding relationship, and the power supply of the found cabinet power distribution socket is closed;
  • the power supply of the cabinet power distribution socket corresponding to the to-be-processed service device is maintained.
  • the first correspondence is a correspondence between the sequence number of the service device and the service name of the service, and the first correspondence between the pre-established service and the service device is found, and the service corresponding to the to-be-processed service is found.
  • the energy distribution method further includes:
  • the second correspondence is a correspondence between the sequence number of the service device and the slot of the power distribution socket of the cabinet, and the second correspondence between the pre-established service device and the power distribution socket of the cabinet is searched for
  • the energy distribution method further includes: before the cabinet power distribution socket corresponding to the service device to be processed,
  • the U-bit information includes the U-number information of the service device and the physical location information in the cabinet, and each service device corresponds to a U-bit detector;
  • the U-bit information stored in the hardware asset server is invoked by a service asset management server to establish a binding relationship between the serial number of the service device and the U-bit information.
  • the energy distribution method further includes:
  • the method for determining whether the standby duration of the power supply system meets the planning duration includes:
  • the standby duration of the power supply system is compared with the planned duration. When the standby duration of the power supply system is less than the planned duration, it is determined that the standby duration of the power supply system does not meet the planned duration.
  • An embodiment of the present invention further provides an energy distribution device, including:
  • the module is configured to be powered by the battery backup emergency power system. If it is determined that the standby time of the power supply system does not meet the planned duration, the service priority is selected according to the preset service priority. One or more services as pending transactions;
  • the first search module is configured to: find the to-be-processed service device corresponding to the to-be-processed service according to the first correspondence between the pre-established service and the service device;
  • the first processing module is configured to search for the to-be-processed service device according to the second corresponding relationship between the pre-established service device and the power distribution socket of the cabinet, when the preset high-priority service is not supported by the to-be-processed service device. Corresponding cabinet power distribution sockets, and powering off the found cabinet power distribution sockets.
  • the energy distribution device further includes:
  • a determining module configured to determine, when the to-be-processed service device supports the preset high-priority service, whether the first service device other than the to-be-processed service device exists in the currently running service device, the first The service device is a service device supporting the preset high priority service;
  • the second processing module is configured to: when the first service device exists, search for a cabinet power distribution socket corresponding to the to-be-processed service device according to the second correspondence, and close the power supply of the found cabinet power distribution socket;
  • the third processing module is configured to maintain power supply of the cabinet power distribution socket corresponding to the to-be-processed service device when the first service device does not exist.
  • the first corresponding relationship in the first search module is a correspondence between a sequence number of the service device and a service name of the service, and the device further includes:
  • the first obtaining module is configured to acquire, before the first search module, the to-be-processed service device corresponding to the to-be-processed service, according to the first corresponding relationship between the pre-established service and the service device, The serial number and the name of the service supported by each business device;
  • the first establishing module is configured to establish the first correspondence between the serial number of each service device and the service name.
  • the second corresponding relationship in the first processing module is a correspondence between a sequence number of the service device and a slot of the power distribution socket of the cabinet, and the energy distribution device further includes:
  • the entry module is configured to: before the first processing module searches for the cabinet power distribution socket corresponding to the to-be-processed service device, according to the second correspondence between the pre-established service device and the cabinet power distribution socket, the U-bit of the service device
  • the information is input into the U-bit detector, wherein the U-bit information includes the U-number information of the service device and the physical location information in the cabinet, and each service device corresponds to a U-bit detector;
  • the receiving module is configured to receive, by using a hardware asset server, U-bit information of the service device that is sent by the U-bit detector and sent by the U-bit controller connected to the U-bit detector;
  • the second establishing module is configured to invoke the U-bit information stored in the hardware asset server by using a service asset management server, and establish a binding relationship between the serial number of the service device and the U-bit information;
  • the receiving and establishing module is configured to receive the slot information of the cabinet power distribution socket sent by the cabinet power distribution socket logic controller, and establish a binding relationship between the slot information of the cabinet power distribution socket and the U-bit information of the service device to form a service device.
  • the energy distribution device further includes: after the power supply system returns to normal, the energy distribution device further includes:
  • the second search module is configured to find a corresponding service according to the service device corresponding to the power distribution socket of the closed cabinet;
  • the cabinet power distribution socket corresponding to the service device.
  • the energy distribution device further includes:
  • the second obtaining module is configured to obtain, according to a preset service priority, the current power asset energy information, and the one or more services are selected as the to-be-processed service, and the service is selected from the lowest priority service. Power consumption information of the cabinet power distribution socket;
  • Determining a module configured to determine an alternate duration of the power supply system according to current power asset energy information and power usage information of the cabinet power distribution socket;
  • the comparison determining module is configured to compare the standby duration of the power supply system with the planned duration. When the standby duration of the power supply system is less than the planned duration, it is determined that the standby duration of the power supply system does not meet the planned duration.
  • the technical solution provided by the embodiment of the present invention includes: performing power supply by using a battery backup emergency power supply system, determining that the standby duration of the power supply system does not meet the planning duration, and selecting one or more services with low priority.
  • the service device to be processed corresponding to the service to be processed is found according to the first correspondence between the service and the service device, and when the to-be-processed service device corresponding to the service to be processed does not support the preset high priority service, The cabinet power distribution socket corresponding to the to-be-processed service device is found, and the power supply of the found cabinet power distribution socket is closed according to the second correspondence between the service device and the cabinet power distribution socket.
  • FIG. 1 is a schematic diagram of an energy distribution method according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of an energy distribution method according to Embodiment 2 of the present invention.
  • Embodiment 3 is a schematic diagram of an energy distribution method according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic diagram 1 of an energy distribution device according to an embodiment of the present invention.
  • FIG. 5 is a second schematic diagram of an energy distribution device according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram 1 of an energy distribution system according to an embodiment of the present invention.
  • FIG. 7 is a second schematic diagram of an energy distribution system according to an embodiment of the present invention.
  • the first embodiment of the present invention provides an energy distribution method, including:
  • step 101 when the battery backup power supply system is used for power supply, if it is determined that the standby time of the power supply system does not meet the planned duration, the service priority is selected according to the preset service priority, and one or the lowest priority service is selected. More than one business as a pending business;
  • Step 102 Find a to-be-processed service device corresponding to the to-be-processed service according to the first correspondence between the pre-established service and the service device.
  • Step 103 When the pre-established service device does not support the preset high-priority service, the device searches for the cabinet power distribution socket corresponding to the service device to be processed according to the second correspondence between the pre-established service device and the power distribution socket of the cabinet, and Turn off the power supply to the found cabinet power distribution socket.
  • the embodiment of the present invention can be applied to a service device in a data center to manage power supply of the service device.
  • the battery backup emergency power supply system In the case of commercial power interruption and firewood failure, the battery backup emergency power supply system is required for power supply, but the power supply duration of the battery backup emergency power supply system has a certain limit range. When using the battery backup emergency power supply system for power supply, it is necessary to judge. Whether the standby duration of the power supply system meets the planning time.
  • the planning period here is the length of time from the failure of the mains power supply system to the normal return of the mains supply system, or the length of time from the failure of the diesel power supply system to the return of the diesel power supply system.
  • the standby time of the power supply system is the length of time that the battery backup emergency power system can be used for the current business equipment.
  • the standby duration of the power supply system does not meet the planned duration.
  • one or more services are selected as the pending services starting from the lowest priority service according to the preset service priority. For example, the currently running services are ranked according to the order of priority: the first service, the second service, the third service, and the fourth service. If a service is selected as the pending service, the fourth is selected. If the service is selected as the pending service, the fourth service and the third service are selected.
  • the to-be-processed service device corresponding to the to-be-processed service needs to be found according to the first correspondence between the pre-established service and the service device.
  • the service device to be processed it is determined whether the preset high-priority service is supported on the service device to be processed.
  • the service device may be established according to the pre-established service device.
  • the cabinet corresponds to the power distribution socket of the cabinet, and searches for the power distribution socket of the cabinet corresponding to the service device to be processed, and shuts off the power supply of the power distribution socket of the cabinet.
  • the current service to be processed is the fourth service
  • the second service device and the third service device corresponding to the fourth service are found as the to-be-processed service device according to the first correspondence between the pre-established service and the service device.
  • the high-priority and low-priority services are pre-partitioned.
  • the related information of the service such as the service name and the service unique identifier (ID)
  • ID service unique identifier
  • Level business For example, the first service and the second service are divided into high priority services, and the third service and the fourth service are low priority services.
  • the service device to be processed can check whether there is related information of the high-priority service, and further determine whether the pre-processed service device runs on the preset service. High priority business.
  • the preset high-priority service is not running on the second service device and the third service device, and the The cabinet power distribution socket corresponding to the second service device and the cabinet power distribution socket corresponding to the third service device, and then powering off the corresponding cabinet power distribution socket.
  • the preset high priority service is not running on the second service device and the third service device, but the other low priority services except the fourth service are run, for example, the second service device and the third The third service is running on the service device.
  • the power supply socket of the cabinet corresponding to the second service device and the power distribution socket of the cabinet corresponding to the third service device can be powered off.
  • one or more services with low priority are selected as the to-be-processed service, according to the service and the service device.
  • the first corresponding relationship is used to find the to-be-processed service device corresponding to the service to be processed.
  • the service device and the cabinet power distribution socket are the first.
  • the second correspondence Find the power distribution socket of the cabinet corresponding to the service device to be processed, and shut off the power supply of the power distribution socket of the cabinet.
  • a second embodiment of the present invention provides an energy distribution method, including:
  • Step 201 When the battery backup power supply system is used for power supply, if it is determined that the standby duration of the power supply system does not meet the planned duration, the service priority is selected according to the preset service priority, and one or the lowest priority service is selected. More than one business as a pending business;
  • Step 202 Find a to-be-processed service device corresponding to the to-be-processed service according to the first correspondence between the pre-established service and the service device.
  • Step 203 When the service device to be processed supports the preset high-priority service, determine whether the first service device except the service device to be processed exists in the currently running service device, and the first service device supports the preset high.
  • Business equipment of priority business
  • Step 204 When the first service device exists, find the cabinet power distribution socket corresponding to the service device to be processed according to the second correspondence, and turn off the power supply of the found cabinet power distribution socket;
  • Step 205 When the first service device does not exist, the power supply of the cabinet power distribution socket corresponding to the service device to be processed is maintained.
  • the battery backup emergency power supply system In the case of commercial power interruption and firewood failure, the battery backup emergency power supply system is required for power supply.
  • the power supply duration of the battery backup emergency power supply system has a certain limitation range, and it is necessary to determine whether the standby time of the power supply system satisfies the planned duration.
  • the standby duration of the power supply system does not meet the planned duration.
  • one or more services are selected as the pending services starting from the lowest priority service according to the preset service priority.
  • the to-be-processed service device corresponding to the to-be-processed service needs to be found according to the first correspondence between the pre-established service and the service device.
  • the current service to be processed is the fourth service
  • the second service device and the third service device corresponding to the fourth service are found as the to-be-processed service device according to the first correspondence between the pre-established service and the service device.
  • the pre-levels are pre-divided.
  • the current service can be identified as a high-priority service or a low-priority service.
  • the first service and the second service are divided into high priority services, and the third service and the fourth service are low priority services.
  • the service device to be processed supports the preset high-priority service
  • Business equipment When the first service device exists, the cabinet power distribution socket corresponding to the to-be-processed service device is searched according to the second correspondence, and the power supply of the found cabinet power distribution socket is turned off.
  • the device needs to determine whether there are other service devices that can support the first service. If other service devices can support the first service, the cabinet power distribution socket corresponding to the second service device and the third service device can be found. The cabinet power distribution socket, and then power off the corresponding cabinet power distribution socket.
  • the power supply of the cabinet power distribution socket corresponding to the service device to be processed is maintained. For example, when there is no other service device that can support the first service, it is determined whether the second service device or the third service device runs the first service with high priority. When it is determined that the first service with the high priority is running on the second service device, the power supply of the cabinet power distribution socket corresponding to the second service device is maintained. Find the cabinet power distribution socket corresponding to the third service device, and then turn off the power supply of the cabinet power distribution socket corresponding to the third service device.
  • the fourth service cannot be operated due to the lack of the support of the third service device, and the operation of the first service of the high priority can be ensured because the cabinet power distribution socket corresponding to the second service device maintains normal power supply.
  • the power supply of the cabinet corresponding to the second service device and the power supply of the cabinet power distribution socket corresponding to the third service device are maintained.
  • the other service devices herein are the first service device.
  • the power supply of the battery backup power supply system is used to determine that the standby time of the power supply system does not meet the planned duration, and one or more services with a lower priority are selected as the to-be-processed service, according to the service and the service device.
  • a correspondence, finding and pending industry When the service device to be processed corresponding to the service to be processed supports the preset high priority service, it is determined whether there is a first priority of the high priority service other than the service device to be processed.
  • the service device when present, finds the power distribution socket of the cabinet corresponding to the service device to be processed according to the second correspondence between the service device and the power distribution socket of the cabinet, and turns off the power supply of the power distribution socket of the cabinet.
  • the power supply of the cabinet power distribution socket corresponding to the service device to be processed is maintained, thereby ensuring the operation of the high priority service.
  • the service device that runs the low-priority service is powered off, the power is saved, and the service device supporting the high-priority service is normally operated and the running time is long, thereby improving the user experience and improving the operation and maintenance efficiency of the service device. .
  • a third embodiment of the present invention provides an energy distribution method, including:
  • Step 301 When the battery backup power supply system is used for power supply, if it is determined that the standby time of the power supply system does not meet the planned duration, according to the preset service priority, the service with the lowest priority is selected. More than one business as a pending business;
  • Step 302 Obtain a sequence number of each service device and a service name supported by each service device, and establish a first correspondence between a sequence number of each service device and a service name.
  • Step 303 Find a to-be-processed service device corresponding to the to-be-processed service according to the first correspondence.
  • Step 304 Enter the U-bit information of the service device into the U-bit detector, where the U-bit information includes the U-number information of the service device and the physical location information in the cabinet, and each service device corresponds to a U-bit detector;
  • Step 305 Receive, by using a hardware asset server, U bit information of the service device that is sent by the U bit detector and transmitted by the U bit controller connected to the U bit detector.
  • Step 306 The U-bit information stored in the hardware asset server is invoked by a service asset management server to establish a binding relationship between the serial number of the service device and the U-bit information.
  • Step 307 Receive the slot information of the cabinet power distribution socket sent by the cabinet power distribution socket logic controller, and establish a binding relationship between the slot information of the cabinet power distribution socket and the U-bit information of the service device to form a serial number of the service device.
  • the second pair of slots with the cabinet power distribution socket Should be related;
  • Step 308 When the service device to be processed does not support the preset high-priority service, find the power distribution of the cabinet corresponding to the service device to be processed according to the second correspondence between the sequence number of the service device and the slot of the power distribution socket of the cabinet. Socket the socket and turn off the power supply to the cabinet power distribution socket on the corresponding slot.
  • the battery backup emergency power supply system needs to be used for power supply.
  • the power supply duration of the battery backup emergency power supply system has a certain limitation range, and it is necessary to determine whether the standby duration of the power supply system satisfies the planned duration. In the judgment, it is necessary to obtain the current power asset energy information and the power consumption information of the cabinet power distribution socket, determine the standby time of the power supply system according to the current power asset energy information and the power consumption information of the cabinet power distribution socket, and then the standby time of the power supply system and When the planned duration of the power supply system is less than the planned duration, it is determined that the standby duration of the power supply system does not meet the planned duration.
  • the standby duration of the power supply system does not meet the planned duration.
  • one or more services are selected as the pending services starting from the lowest priority service according to the preset service priority.
  • the sequence number of each service device and the different service names supported by each service device are obtained, and the first correspondence between the sequence number of each service device and the service name is established. Then, the service name of the service to be processed is obtained, and the service device corresponding to the service to be processed is found as the service device to be processed according to the first correspondence between the sequence number of the service device and the service name.
  • the current service device includes a first service device, a second service device, a third service device, and a fourth service device, where the sequence number of the first service device is 001, and the sequence number of the second service device is 002, and the third The serial number of the service device is 003 and the serial number of the fourth service device is 004.
  • serial number of each service device may be identified on the corresponding service device, for example, in a pasted form, and the label with the serial number recorded is pasted onto the service device.
  • the second service device supports the first service whose service name is WeChat
  • the third service device supports the service name as mobile phone.
  • the third business of the magazine, the business name on the fourth business device The fourth business for the mobile club.
  • the first correspondence between the serial number 001 and the WeChat, the first correspondence between the serial number 001 and the weather of the mobile phone, the first correspondence between the serial number 002 and the WeChat, the first correspondence between the serial number 003 and the mobile phone magazine, and the sequence are needed.
  • the order of the service priority from high to low is the first service, the second service, the third service, and the fourth service, and after determining that the fourth service mobile phone club is the pending service, according to the serial number of the service device and the service name.
  • the first corresponding relationship finds the fourth service device as the to-be-processed service device.
  • the U-bit information of the service device is obtained, where the U-bit information includes the U-number information of the service device and the physical location information in the cabinet, and the U-bit information is recorded into the U-bit detector, and each service device corresponds to a U-bit detector.
  • the capacity of the cabinet is 24 U
  • the current service equipment is 2 U
  • the U-bit information of the service device is: the U-number information is 2 U
  • the physical location information is the third U and the fourth U.
  • the binding relationship between the sequence number of the service device and the U-bit information may be established, for example, the sequence number of the current service device is 003, and the service device is configured.
  • the U-bit information is as follows: the U-number information is 2 U, and the physical location information is the third U and the fourth U.
  • the binding relationship between the sequence number 003 and the U-bit information can be established, and the U of the service device can be obtained according to the service device serial number. Bit information.
  • the second correspondence between the service device and the cabinet power distribution socket can be formed according to the relationship between the U-bit information of the service device and the slot information of the cabinet power distribution socket.
  • the device can search for the sequence number of the service device to be processed according to the second correspondence between the sequence number of the service device and the slot of the power distribution port of the cabinet.
  • the cabinet power supply corresponding to the service device to be processed allocates the slot of the socket and turns off the power supply of the cabinet power distribution socket of the corresponding slot.
  • the corresponding service is found according to the service device corresponding to the power distribution socket of the cabinet that is turned off; and the power supply corresponding to the service device is sequentially turned on according to the order of the priority of the service from high to low. Allocate sockets to ensure the normal operation of each business.
  • the corresponding service of the service device corresponding to the power distribution socket of the cabinet that is currently closed includes: the third service and the fourth service, and the priority of the third service is higher than the priority of the fourth service. Enable the cabinet power distribution socket corresponding to the service device that supports the third service, and then enable the cabinet power distribution socket corresponding to the service device that supports the fourth service.
  • the power supply of the battery backup power supply system is used to determine that the standby time of the power supply system does not meet the planned duration, and one or more services with a lower priority are selected as the to-be-processed service, according to the service and the service device.
  • a corresponding relationship is found, and the to-be-processed service device corresponding to the service to be processed is found.
  • the second is allocated according to the service device and the cabinet power distribution socket.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are configured to execute the energy distribution method.
  • An embodiment of the present invention further provides an energy distribution device, including: a memory and a processor; wherein
  • a processor is configured to execute program instructions in the memory
  • the one or more services are selected from the lowest priority service according to the preset service priority order. As a business to be processed;
  • the cabinet power distribution socket corresponding to the to-be-processed service device is searched for and closed according to the second correspondence between the pre-established service device and the power distribution socket of the cabinet. Find the power supply to the cabinet power distribution socket.
  • Embodiment 4 The following is an embodiment of an energy distribution device according to Embodiment 4 of the present invention.
  • the embodiment of the energy distribution device is the same as the method embodiment described above, and the details of the embodiment of the energy distribution device are not described in detail in the embodiments.
  • the energy distribution device includes:
  • the module 10 is configured to be configured to use the battery backup emergency power system to supply power. If it is determined that the standby time of the power supply system does not meet the planned duration, the service priority is selected according to the preset service priority. Out of one or more services as pending transactions;
  • the first search module 20 is configured to find a to-be-processed service device corresponding to the to-be-processed service according to the first correspondence between the pre-established service and the service device;
  • the first processing module 30 is configured to search for a cabinet corresponding to the service device to be processed according to the second correspondence between the pre-established service device and the power distribution socket of the cabinet when the service device to be processed does not support the preset high-priority service.
  • the power is assigned to the outlet and the power to the identified cabinet power distribution outlet is turned off.
  • the energy distribution device further includes:
  • the determining module 40 is configured to determine, when the to-be-processed service device supports the preset high-priority service, whether the first service device other than the to-be-processed service device exists in the currently running service device, and the first service device is a support pre- Business equipment for high priority services;
  • the second processing module 50 is configured to: when the first service device exists, according to the second correspondence Find the power distribution socket of the cabinet corresponding to the service device to be processed, and shut off the power supply of the power distribution socket of the cabinet that is found.
  • the third processing module 60 is configured to maintain power supply of the cabinet power distribution socket corresponding to the service device to be processed when the first service device does not exist.
  • the first corresponding relationship in the first search module 20 is a correspondence between a sequence number of the service device and a service name of the service, and the energy distribution device further includes:
  • the first obtaining module 70 is configured to acquire each service device before the first search module 20 searches for the to-be-processed service device corresponding to the to-be-processed service according to the first correspondence between the pre-established service and the service device.
  • the first establishing module 80 is configured to establish a first correspondence between the serial number of each service device and the service name.
  • the second corresponding relationship in the first processing module 30 is a correspondence between a sequence number of the service device and a slot of the power distribution socket of the cabinet.
  • the energy distribution device further includes:
  • the entry module 90 is configured to enter the U-bit information of the service device before the first processing module 30 searches for the cabinet power distribution socket corresponding to the service device to be processed according to the second correspondence between the pre-established service device and the cabinet power distribution socket.
  • the U-bit information includes the U-number information of the service device and the physical location information in the cabinet, and each service device corresponds to a U-bit detector;
  • the receiving module 100 is configured to receive, by using a hardware asset server, U-bit information of the service device that is sent by the U-bit detector and transmitted by the U-bit controller connected to the U-bit detector;
  • the second establishing module 110 is configured to use a service asset management server to invoke the U-bit information stored in the hardware asset server to establish a binding relationship between the serial number of the service device and the U-bit information.
  • the receiving and establishing module 120 is configured to receive the slot information of the cabinet power distribution socket sent by the cabinet power distribution socket logic controller, and establish a binding relationship between the slot information of the cabinet power distribution socket and the U-bit information of the service device to form a service. The second correspondence between the serial number of the device and the slot of the cabinet power distribution socket.
  • the energy distribution device further includes:
  • the second search module 130 is configured to allocate a service corresponding to the socket according to the power of the cabinet that is turned off. The device finds the corresponding service;
  • the module 140 is configured to enable the cabinet power distribution socket corresponding to the service device in sequence according to the order of the priority of the service.
  • the energy distribution device further comprises:
  • the second obtaining module 150 is configured to obtain, according to a preset service priority order, a current power asset energy information, and before selecting one or more services as the to-be-processed service, starting from the lowest priority service. Power consumption information of the cabinet power distribution socket;
  • the determining module 160 is configured to determine, according to the current power asset energy information and the power consumption information of the cabinet power distribution socket, the standby time of the power supply system;
  • the comparison determining module 170 is configured to compare the standby duration of the power supply system with the planned duration. When the standby duration of the power supply system is less than the planned duration, it is determined that the standby duration of the power supply system does not meet the planned duration.
  • the energy distribution device of the embodiment of the present invention uses the battery backup power supply system to supply power, and determines that the standby time of the power supply system does not meet the planned duration, and selects one or more services with low priority as the to-be-processed service.
  • the service device to be processed corresponding to the service to be processed is found.
  • the second power of the power distribution socket of the cabinet is found.
  • the power distribution socket of the cabinet corresponding to the service device to be processed is found, and the power supply of the power distribution socket of the cabinet is closed.
  • the energy distribution device provided by the embodiment of the present invention is a device applying the above method, and all embodiments of the foregoing method are all configured as the energy distribution device, and both can achieve the same or similar beneficial effects.
  • Embodiment 5 of the present invention further provides an energy distribution system, as shown in FIG. 6, comprising:
  • a U-bit detecting device for detecting U-bit information of a service device, a power distribution device, and a power supply and distribution device that supplies power to the service device;
  • a business asset management platform that is separately connected to the U-bit detection device, the power distribution device, and the power supply and distribution device and configured to regulate the distribution of asset energy on each service device.
  • the U-bit detecting device includes a U-bit detector A (capable of detecting in-position information of the service device and asset information such as the bound device model and physical space) having a communication interface and a detection tag, and has a communication interface.
  • the U-bit controller B wherein the U-bit controller B aggregates information of a plurality of U-bit detectors A, and the asset is entered into the device C, configured to input asset information to the U-bit detector A, and the hardware asset server D is configured to be stored. Information about hardware assets and physical space and other information data.
  • the power distribution device includes a logic controller E having a communication interface and a power distribution end F having a controllable electrical switch function, and the logic controller E can obtain slot information on the power distribution device, and each slot on the power distribution device Both have independent control of opening and closing functions.
  • the power distribution end F is the slot on the power distribution device.
  • the power supply and distribution equipment includes a high-voltage DC or uninterruptible power supply with a communication interface and an online battery. Through the information of the solidified battery unit, the backup current can be counted in real time according to the current current and voltage, and the current power supply system can be counted in real time. All status information.
  • the business asset management platform includes a business asset management server G having a communication interface, and a business asset management logic processor H connected to the business asset management server G.
  • the U-bit detection-based energy distribution system records the asset information or planning information of the service device into the U-bit detector A with the storage tag through the asset entry device C, and the U-bit controller B that aggregates the U-bit detector A information will The information is stored in the hardware asset server D through the switching device; the business asset management server G will call the hardware asset server D in real time through the switching device.
  • the logic controller E of the power distribution device and the information of the power distribution device are logically processed by the business asset management logic processor H, and the business asset management logic processor H can know the specific location of each service device in each cabinet. The current power consumption, the priority of the supported services and their services, and the current power supply system failure and backup power supply time.
  • the business asset management logic processor H logically processes each slot of the power distribution device to control the insertion. Whether the service equipment corresponding to the slot is powered off, in order to save power, and strive for valuable time for repairing and restoring power.
  • the energy distribution system of the embodiment of the invention, the U-bit detecting device, the power distribution device and the service is applied to the asset service optimized for the power supply backup time to implement the shutdown of the service equipment corresponding to the low priority service, and to save power for the normal operation of the service equipment supporting the high priority service.
  • the energy distribution system provided by the embodiment of the present invention is a system to which the foregoing method and device are applied, and all the embodiments of the foregoing method and device are properly configured as the system, and all of the same or similar beneficial effects can be achieved.
  • each module/unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, being executed by a processor and stored in a memory. Programs/instructions to implement their respective functions.
  • the invention is not limited to any specific form of combination of hardware and software.
  • the foregoing technical solution saves power consumption, prolongs the running time of high-priority services, and improves the operation and maintenance efficiency of service devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Computer And Data Communications (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

A method and a device for power allocation, comprising: when using a battery backup emergency power system to supply power, if a power supply system standby duration does not meet a planned duration, then selecting one or more services as services to be processed, starting from services with the lowest priority according to pre-determined service priority sorting; according to a first correspondence relationship between a service and service equipment, identifying service equipment to be processed corresponding to the service to be processed; when the service equipment to be processed is not supporting a pre-determined high priority service, identifying the rack power distribution plug corresponding to the service equipment to be processed, and switching off power supply to the identified rack power distribution plug. The embodiments of the present invention save power consumption, extend operating time of high-priority services, and increase service equipment operation and maintenance efficiency.

Description

一种能源分配方法及装置Energy distribution method and device 技术领域Technical field
本文涉及但不限于通信技术领域,尤其涉及一种能源分配方法及装置。This document relates to, but is not limited to, the field of communication technologies, and in particular, to an energy distribution method and apparatus.
背景技术Background technique
在云计算不断发展的背景下,建设高可靠性、高效管理性的数据中心成为近年来学术界和产业界关注的话题之一。In the context of the continuous development of cloud computing, building a data center with high reliability and high efficiency has become one of the topics of concern in the academic and industrial circles in recent years.
数据中心中存在大量的服务器且运行着大量的业务,一旦出现市电中断且柴发油机柴发故障时,电池后备应急电源系统成了唯一的能源。而数据中心中一直存在运行着频率低或废弃业务的服务器,这些服务器的存在严重影响其它服务器的业务运行时长。There are a large number of servers in the data center and a lot of services are running. When there is a mains interruption and the diesel engine fires out, the battery backup emergency power system becomes the only energy source. In the data center, there are always servers running low-frequency or obsolete services. The existence of these servers seriously affects the service running time of other servers.
发明概述Summary of invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种能源分配方法及装置,能够避免运行频率低或废弃业务的服务器影响数据中心的运行效率。The embodiments of the present invention provide an energy distribution method and device, which can prevent a server with a low operating frequency or a discarded service from affecting the operating efficiency of the data center.
本发明实施例提供一种能源分配方法,包括:An embodiment of the present invention provides an energy distribution method, including:
在采用电池后备应急电源系统进行供电时,若判断出供电系统的备用时长不满足规划时长,则按照预设的业务优先级的排序,从优先级最低的业务开始,选择出一个或一个以上业务作为待处理业务;When the battery backup power supply system is used for power supply, if it is determined that the standby time of the power supply system does not meet the planned duration, the one or more services are selected from the lowest priority service according to the preset service priority order. As a business to be processed;
根据预先建立的业务与业务设备的第一对应关系,查找到与所述待处理业务对应的待处理业务设备;Finding a to-be-processed service device corresponding to the to-be-processed service according to the first correspondence between the pre-established service and the service device;
当所述待处理业务设备上不支持预设的高优先级业务时,根据预先建立的业务设备与机柜电源分配插座的第二对应关系,查找所述待处理业务设备对应的机柜电源分配插座,并关闭查找到的机柜电源分配插座的供电。And searching for the cabinet power distribution socket corresponding to the to-be-processed service device according to the second corresponding relationship between the pre-established service device and the power distribution socket of the cabinet, if the preset high-priority service is not supported by the to-be-processed service device, And turn off the power supply of the found cabinet power distribution socket.
其中,当所述待处理业务设备支持预设的高优先级业务时,所述能源分配方法还包括: The energy distribution method further includes: when the to-be-processed service device supports a preset high-priority service, the method further includes:
判断当前运行的业务设备中是否存在除所述待处理业务设备外的第一业务设备,所述第一业务设备为支持所述预设的高优先级业务的业务设备;Determining whether there is a first service device other than the to-be-processed service device in the currently running service device, where the first service device is a service device that supports the preset high-priority service;
当存在所述第一业务设备时,根据所述第二对应关系查找所述待处理业务设备对应的机柜电源分配插座,并关闭查找到的机柜电源分配插座的供电;When the first service device exists, the cabinet power distribution socket corresponding to the to-be-processed service device is searched according to the second corresponding relationship, and the power supply of the found cabinet power distribution socket is closed;
当不存在所述第一业务设备时,则保持所述待处理业务设备对应的机柜电源分配插座的供电。When the first service device does not exist, the power supply of the cabinet power distribution socket corresponding to the to-be-processed service device is maintained.
其中,所述第一对应关系为业务设备的序列号码与业务的业务名称之间的对应关系,所述根据预先建立的业务与业务设备的第一对应关系,查找到与所述待处理业务对应的待处理业务设备之前,所述能源分配方法还包括:The first correspondence is a correspondence between the sequence number of the service device and the service name of the service, and the first correspondence between the pre-established service and the service device is found, and the service corresponding to the to-be-processed service is found. Before the service device to be processed, the energy distribution method further includes:
获取每一个业务设备的序列号码以及每一个业务设备所支持的业务名称;Obtain the serial number of each service device and the service name supported by each service device;
建立每一个业务设备的序列号码与业务名称的所述第一对应关系。Establishing the first correspondence between the serial number of each service device and the service name.
其中,所述第二对应关系为业务设备的序列号码与机柜电源分配插座的槽位之间的对应关系,所述根据预先建立的业务设备与机柜电源分配插座的第二对应关系,查找所述待处理业务设备对应的机柜电源分配插座之前,所述能源分配方法还包括:The second correspondence is a correspondence between the sequence number of the service device and the slot of the power distribution socket of the cabinet, and the second correspondence between the pre-established service device and the power distribution socket of the cabinet is searched for The energy distribution method further includes: before the cabinet power distribution socket corresponding to the service device to be processed,
将业务设备的U位信息录入U位检测器中,其中U位信息包括业务设备的U数信息及在机柜中的物理位置信息,每一业务设备对应一U位检测器;Entering the U-bit information of the service device into the U-bit detector, where the U-bit information includes the U-number information of the service device and the physical location information in the cabinet, and each service device corresponds to a U-bit detector;
通过一硬件资产服务器接收U位检测器发送的经与U位检测器连接的U位控制器转发的业务设备的U位信息;Receiving U-bit information of the service device forwarded by the U-bit controller connected to the U-bit detector sent by the U-bit detector by a hardware asset server;
通过一业务资产管理服务器调用所述硬件资产服务器内存储的U位信息,建立业务设备的序列号码与U位信息的绑定关系;The U-bit information stored in the hardware asset server is invoked by a service asset management server to establish a binding relationship between the serial number of the service device and the U-bit information.
接收一机柜电源分配插座逻辑控制器发送的机柜电源分配插座的槽位信息,建立机柜电源分配插座的槽位信息与业务设备的U位信息的绑定关系,形成业务设备的序列号码与机柜电源分配插座的槽位的所述第二对应关系。 Receive the slot information of the cabinet power distribution socket sent by the cabinet power distribution socket logic controller, and establish the binding relationship between the slot information of the cabinet power distribution socket and the U-bit information of the service device to form the serial number of the service device and the cabinet power supply. Distributing the second correspondence of the slots of the socket.
其中,当供电系统恢复正常之后,所述能源分配方法还包括:Wherein, after the power supply system returns to normal, the energy distribution method further includes:
根据被关闭的机柜电源分配插座对应的业务设备查找到相应的业务;Finding the corresponding service according to the service device corresponding to the power distribution socket of the cabinet that is turned off;
按照业务的优先级由高到低的排列顺序,依次开启业务设备对应的机柜电源分配插座。Open the cabinet power distribution socket corresponding to the service device in the order of the priority of the service.
其中,,所述判断供电系统的备用时长是否满足规划时长的方法包括:The method for determining whether the standby duration of the power supply system meets the planning duration includes:
获取当前电力资产能源信息以及机柜电源分配插座的用电信息;Obtaining current power asset energy information and power consumption information of the cabinet power distribution socket;
根据当前电力资产能源信息和机柜电源分配插座的用电信息确定供电系统的备用时长;Determining the standby duration of the power supply system according to the current power asset energy information and the power consumption information of the cabinet power distribution socket;
将供电系统的备用时长与规划时长进行比较,当供电系统的备用时长小于规划时长时,确定供电系统的备用时长不满足规划时长。The standby duration of the power supply system is compared with the planned duration. When the standby duration of the power supply system is less than the planned duration, it is determined that the standby duration of the power supply system does not meet the planned duration.
本发明实施例还提供一种能源分配装置,包括:An embodiment of the present invention further provides an energy distribution device, including:
选择模块,配置为在采用电池后备应急电源系统进行供电时,若判断出供电系统的备用时长不满足规划时长,则按照预设的业务优先级的排序,从优先级最低的业务开始,选择出一个或一个以上业务作为待处理业务;The module is configured to be powered by the battery backup emergency power system. If it is determined that the standby time of the power supply system does not meet the planned duration, the service priority is selected according to the preset service priority. One or more services as pending transactions;
第一查找模块,配置为根据预先建立的业务与业务设备的第一对应关系,查找到与所述待处理业务对应的待处理业务设备;The first search module is configured to: find the to-be-processed service device corresponding to the to-be-processed service according to the first correspondence between the pre-established service and the service device;
第一处理模块,配置为当所述待处理业务设备上不支持预设的高优先级业务时,根据预先建立的业务设备与机柜电源分配插座的第二对应关系,查找所述待处理业务设备对应的机柜电源分配插座,并关闭查找到的机柜电源分配插座的供电。The first processing module is configured to search for the to-be-processed service device according to the second corresponding relationship between the pre-established service device and the power distribution socket of the cabinet, when the preset high-priority service is not supported by the to-be-processed service device. Corresponding cabinet power distribution sockets, and powering off the found cabinet power distribution sockets.
其中,所述能源分配装置还包括:The energy distribution device further includes:
判断模块,配置为当所述待处理业务设备支持预设的高优先级业务时,判断当前运行的业务设备中,是否存在除所述待处理业务设备外的第一业务设备,所述第一业务设备为支持所述预设的高优先级业务的业务设备;a determining module, configured to determine, when the to-be-processed service device supports the preset high-priority service, whether the first service device other than the to-be-processed service device exists in the currently running service device, the first The service device is a service device supporting the preset high priority service;
第二处理模块,配置为当存在所述第一业务设备时,根据所述第二对应关系查找所述待处理业务设备对应的机柜电源分配插座,并关闭查找到的机柜电源分配插座的供电; The second processing module is configured to: when the first service device exists, search for a cabinet power distribution socket corresponding to the to-be-processed service device according to the second correspondence, and close the power supply of the found cabinet power distribution socket;
第三处理模块,配置为当不存在所述第一业务设备时,则保持所述待处理业务设备对应的机柜电源分配插座的供电。The third processing module is configured to maintain power supply of the cabinet power distribution socket corresponding to the to-be-processed service device when the first service device does not exist.
其中,所述第一查找模块中的所述第一对应关系为业务设备的序列号码与业务的业务名称之间的对应关系,所述装置还包括:The first corresponding relationship in the first search module is a correspondence between a sequence number of the service device and a service name of the service, and the device further includes:
第一获取模块,配置为在所述第一查找模块根据预先建立的业务与业务设备的第一对应关系,查找到与所述待处理业务对应的待处理业务设备之前,获取每一个业务设备的序列号码以及每一业务设备所支持的业务名称;The first obtaining module is configured to acquire, before the first search module, the to-be-processed service device corresponding to the to-be-processed service, according to the first corresponding relationship between the pre-established service and the service device, The serial number and the name of the service supported by each business device;
第一建立模块,配置为建立每一个业务设备的序列号码与业务名称的所述第一对应关系。The first establishing module is configured to establish the first correspondence between the serial number of each service device and the service name.
其中,所述第一处理模块中的所述第二对应关系为业务设备的序列号码与机柜电源分配插座的槽位之间的对应关系,所述能源分配装置还包括:The second corresponding relationship in the first processing module is a correspondence between a sequence number of the service device and a slot of the power distribution socket of the cabinet, and the energy distribution device further includes:
录入模块,配置为在所述第一处理模块根据预先建立的业务设备与机柜电源分配插座的第二对应关系,查找所述待处理业务设备对应的机柜电源分配插座之前,将业务设备的U位信息录入U位检测器中,其中U位信息包括业务设备的U数信息及在机柜中的物理位置信息,每一业务设备对应一U位检测器;The entry module is configured to: before the first processing module searches for the cabinet power distribution socket corresponding to the to-be-processed service device, according to the second correspondence between the pre-established service device and the cabinet power distribution socket, the U-bit of the service device The information is input into the U-bit detector, wherein the U-bit information includes the U-number information of the service device and the physical location information in the cabinet, and each service device corresponds to a U-bit detector;
接收模块,配置为通过一硬件资产服务器接收U位检测器发送的经与U位检测器连接的U位控制器转发的业务设备的U位信息;The receiving module is configured to receive, by using a hardware asset server, U-bit information of the service device that is sent by the U-bit detector and sent by the U-bit controller connected to the U-bit detector;
第二建立模块,配置为通过一业务资产管理服务器调用所述硬件资产服务器内存储的U位信息,建立业务设备的序列号码与U位信息的绑定关系;The second establishing module is configured to invoke the U-bit information stored in the hardware asset server by using a service asset management server, and establish a binding relationship between the serial number of the service device and the U-bit information;
接收建立模块,配置为接收一机柜电源分配插座逻辑控制器发送的机柜电源分配插座的槽位信息,建立机柜电源分配插座的槽位信息与业务设备的U位信息的绑定关系,形成业务设备的序列号码与机柜电源分配插座的槽位的所述第二对应关系。The receiving and establishing module is configured to receive the slot information of the cabinet power distribution socket sent by the cabinet power distribution socket logic controller, and establish a binding relationship between the slot information of the cabinet power distribution socket and the U-bit information of the service device to form a service device. The second correspondence between the serial number and the slot of the cabinet power distribution socket.
其中,当供电系统恢复正常之后,所述能源分配装置还包括:The energy distribution device further includes: after the power supply system returns to normal, the energy distribution device further includes:
第二查找模块,配置为根据被关闭的机柜电源分配插座对应的业务设备查找到相应的业务;The second search module is configured to find a corresponding service according to the service device corresponding to the power distribution socket of the closed cabinet;
开启模块,配置为按照业务的优先级由高到低的排列顺序,依次开启业 务设备对应的机柜电源分配插座。Enable the module, and configure it to open the industry according to the order of priority of the service from high to low. The cabinet power distribution socket corresponding to the service device.
其中,所述能源分配装置还包括:The energy distribution device further includes:
第二获取模块,配置为在所述选择模块按照预设的业务优先级的排序,从优先级最低的业务开始,选择出一个或一个以上业务作为待处理业务之前,获取当前电力资产能源信息以及机柜电源分配插座的用电信息;The second obtaining module is configured to obtain, according to a preset service priority, the current power asset energy information, and the one or more services are selected as the to-be-processed service, and the service is selected from the lowest priority service. Power consumption information of the cabinet power distribution socket;
确定模块,配置为根据当前电力资产能源信息和机柜电源分配插座的用电信息确定供电系统的备用时长;Determining a module, configured to determine an alternate duration of the power supply system according to current power asset energy information and power usage information of the cabinet power distribution socket;
比较确定模块,配置为将供电系统的备用时长与规划时长进行比较,当供电系统的备用时长小于规划时长时,确定供电系统的备用时长不满足规划时长。The comparison determining module is configured to compare the standby duration of the power supply system with the planned duration. When the standby duration of the power supply system is less than the planned duration, it is determined that the standby duration of the power supply system does not meet the planned duration.
与相关技术相比,本发明实施例提供的技术方案,包括:在采用电池后备应急电源系统进行供电且判断出供电系统的备用时长不满足规划时长,选择出一个或一个以上优先级低的业务作为待处理业务,根据业务与业务设备的第一对应关系,查找到与待处理业务对应的待处理业务设备,当待处理业务对应的待处理业务设备上不支持预设的高优先级业务时,根据业务设备与机柜电源分配插座的第二对应关系,查找到与待处理业务设备对应的机柜电源分配插座,并关闭查找到的机柜电源分配插座的供电。通过关闭运行低优先级业务的业务设备,节约了电能,延长了支持高优先级业务的业务设备的运行时长,提高了用户的体验性和业务设备的运维效率。Compared with the related art, the technical solution provided by the embodiment of the present invention includes: performing power supply by using a battery backup emergency power supply system, determining that the standby duration of the power supply system does not meet the planning duration, and selecting one or more services with low priority. As a service to be processed, the service device to be processed corresponding to the service to be processed is found according to the first correspondence between the service and the service device, and when the to-be-processed service device corresponding to the service to be processed does not support the preset high priority service, The cabinet power distribution socket corresponding to the to-be-processed service device is found, and the power supply of the found cabinet power distribution socket is closed according to the second correspondence between the service device and the cabinet power distribution socket. By turning off the service equipment of the low-priority service, the power consumption is saved, the service life of the service equipment supporting the high-priority service is extended, and the user experience and the operation and maintenance efficiency of the service equipment are improved.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例一能源分配方法示意图;1 is a schematic diagram of an energy distribution method according to an embodiment of the present invention;
图2为本发明实施例二能源分配方法示意图;2 is a schematic diagram of an energy distribution method according to Embodiment 2 of the present invention;
图3为本发明实施例三能源分配方法示意图;3 is a schematic diagram of an energy distribution method according to Embodiment 3 of the present invention;
图4为本发明实施例能源分配装置示意图一;4 is a schematic diagram 1 of an energy distribution device according to an embodiment of the present invention;
图5为本发明实施例能源分配装置示意图二;FIG. 5 is a second schematic diagram of an energy distribution device according to an embodiment of the present invention; FIG.
图6为本发明实施例能源分配系统示意图一; 6 is a schematic diagram 1 of an energy distribution system according to an embodiment of the present invention;
图7为本发明实施例能源分配系统示意图二。FIG. 7 is a second schematic diagram of an energy distribution system according to an embodiment of the present invention.
详述Detailed
下文中将结合附图对本申请的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
如图1所示,本发明实施例一提供一种能源分配方法,包括:As shown in FIG. 1, the first embodiment of the present invention provides an energy distribution method, including:
步骤101、在采用电池后备应急电源系统进行供电时,若判断出供电系统的备用时长不满足规划时长,则按照预设的业务优先级的排序,从优先级最低的业务开始,选择出一个或一个以上业务作为待处理业务;In step 101, when the battery backup power supply system is used for power supply, if it is determined that the standby time of the power supply system does not meet the planned duration, the service priority is selected according to the preset service priority, and one or the lowest priority service is selected. More than one business as a pending business;
步骤102、根据预先建立的业务与业务设备的第一对应关系,查找到与待处理业务对应的待处理业务设备;Step 102: Find a to-be-processed service device corresponding to the to-be-processed service according to the first correspondence between the pre-established service and the service device.
步骤103、当待处理业务设备上不支持预设的高优先级业务时,根据预先建立的业务设备与机柜电源分配插座的第二对应关系,查找待处理业务设备对应的机柜电源分配插座,并关闭查找到的机柜电源分配插座的供电。Step 103: When the pre-established service device does not support the preset high-priority service, the device searches for the cabinet power distribution socket corresponding to the service device to be processed according to the second correspondence between the pre-established service device and the power distribution socket of the cabinet, and Turn off the power supply to the found cabinet power distribution socket.
需要说明的是,本发明实施例可以应用于数据中心的业务设备,对业务设备的供电进行管理。It should be noted that the embodiment of the present invention can be applied to a service device in a data center to manage power supply of the service device.
在市电中断且柴发故障的情况下,需要采用电池后备应急电源系统进行供电,但是电池后备应急电源系统的供电时长具有一定的限制范围,在采用电池后备应急电源系统进行供电时,需要判断供电系统的备用时长是否满足规划时长。这里的规划时长为从市电供电系统故障到市电供电系统恢复正常的一段时间长度,或者为从柴发供电系统故障到柴发供电系统恢复正常的一段时间长度。供电系统的备用时长为电池后备应急电源系统可供当前的业务设备运行的时长。In the case of commercial power interruption and firewood failure, the battery backup emergency power supply system is required for power supply, but the power supply duration of the battery backup emergency power supply system has a certain limit range. When using the battery backup emergency power supply system for power supply, it is necessary to judge. Whether the standby duration of the power supply system meets the planning time. The planning period here is the length of time from the failure of the mains power supply system to the normal return of the mains supply system, or the length of time from the failure of the diesel power supply system to the return of the diesel power supply system. The standby time of the power supply system is the length of time that the battery backup emergency power system can be used for the current business equipment.
在供电系统的备用时长不满足规划时长,需要在运行的多个业务中,按照预设的业务优先级的排序,从优先级最低的业务开始,选择出一个或一个以上业务作为待处理业务。例如:当前运行的业务按照优先级由高到低的排序依次是:第一业务、第二业务、第三业务和第四业务,此时若选择一个业务作为待处理业务时,则选择第四业务,若选择两个业务作为待处理业务时,则选择第四业务和第三业务。 The standby duration of the power supply system does not meet the planned duration. In the multiple services that are running, one or more services are selected as the pending services starting from the lowest priority service according to the preset service priority. For example, the currently running services are ranked according to the order of priority: the first service, the second service, the third service, and the fourth service. If a service is selected as the pending service, the fourth is selected. If the service is selected as the pending service, the fourth service and the third service are selected.
在确定待处理业务后,需要根据预先建立的业务与业务设备的第一对应关系,查找到与待处理业务对应的待处理业务设备。在查找到待处理业务设备之后,需要判断待处理业务设备上是否支持预设的高优先级业务,当待处理业务设备上不支持预设的高优先级业务时,可以根据预先建立的业务设备与机柜电源分配插座的第二对应关系,查找与待处理业务设备对应的机柜电源分配插座,并关闭查找到的机柜电源分配插座的供电。After the service to be processed is determined, the to-be-processed service device corresponding to the to-be-processed service needs to be found according to the first correspondence between the pre-established service and the service device. After the service device to be processed is found, it is determined whether the preset high-priority service is supported on the service device to be processed. When the service device to be processed does not support the preset high-priority service, the service device may be established according to the pre-established service device. The cabinet corresponds to the power distribution socket of the cabinet, and searches for the power distribution socket of the cabinet corresponding to the service device to be processed, and shuts off the power supply of the power distribution socket of the cabinet.
例如:目前的待处理业务为第四业务,根据预先建立的业务与业务设备的第一对应关系,查找到与第四业务对应的第二业务设备和第三业务设备作为待处理业务设备。此时需要判断待处理业务设备上是否运行有预设的高优先级业务。需要说明的是,高优先级和低优先级业务都是预先划分完成的,根据该业务的相关信息,如业务名称、业务唯一标识(ID)可以识别出当前业务为高优先级业务还是低优先级业务。例如划分第一业务和第二业务为高优先级业务,第三业务和第四业务为低优先级业务。For example, the current service to be processed is the fourth service, and the second service device and the third service device corresponding to the fourth service are found as the to-be-processed service device according to the first correspondence between the pre-established service and the service device. At this time, it is necessary to determine whether a predetermined high priority service is running on the service device to be processed. It should be noted that the high-priority and low-priority services are pre-partitioned. According to the related information of the service, such as the service name and the service unique identifier (ID), whether the current service is a high priority service or a low priority can be identified. Level business. For example, the first service and the second service are divided into high priority services, and the third service and the fourth service are low priority services.
在判断待处理业务设备上是否运行有预设的高优先级业务时,可以在待处理业务设备查看是否存在高优先级业务的相关信息,进而来确定待处理业务设备上是否运行有预设的高优先级业务。When it is determined whether the pre-processed service device runs a preset high-priority service, the service device to be processed can check whether there is related information of the high-priority service, and further determine whether the pre-processed service device runs on the preset service. High priority business.
当第二业务设备和第三业务设备上不存在高优先级业务的相关信息时,确定第二业务设备和第三业务设备上没有运行预设的高优先级业务,此时可以查找到与第二业务设备对应的机柜电源分配插座和与第三业务设备对应的机柜电源分配插座,然后关闭相应的机柜电源分配插座的供电。When the information about the high-priority service does not exist on the second service device and the third service device, it is determined that the preset high-priority service is not running on the second service device and the third service device, and the The cabinet power distribution socket corresponding to the second service device and the cabinet power distribution socket corresponding to the third service device, and then powering off the corresponding cabinet power distribution socket.
需要说明的是,当第二业务设备和第三业务设备上没有运行预设的高优先级业务,但运行有除第四业务以外的其他低优先级业务时,例如第二业务设备和第三业务设备上运行有第三业务,此时仍然可以关闭第二业务设备对应的机柜电源分配插座和与第三业务设备对应的机柜电源分配插座的供电。It should be noted that when the preset high priority service is not running on the second service device and the third service device, but the other low priority services except the fourth service are run, for example, the second service device and the third The third service is running on the service device. At this time, the power supply socket of the cabinet corresponding to the second service device and the power distribution socket of the cabinet corresponding to the third service device can be powered off.
本发明实施例,通过在采用电池后备应急电源系统进行供电且判断出供电系统的备用时长不满足规划时长,选择出一个或一个以上优先级低的业务作为待处理业务,根据业务与业务设备的第一对应关系,查找到与待处理业务对应的待处理业务设备,当待处理业务对应的待处理业务设备上不支持预设的高优先级业务时,根据业务设备与机柜电源分配插座的第二对应关系, 查找到与待处理业务设备对应的机柜电源分配插座,并关闭查找到的机柜电源分配插座的供电。通过关闭运行低优先级业务的业务设备,节约电能,延长支持高优先级业务的业务设备的运行时长,提高用户的体验性,提高业务设备的运维效率。In the embodiment of the present invention, by using the battery backup emergency power supply system to supply power and determining that the standby duration of the power supply system does not meet the planned duration, one or more services with low priority are selected as the to-be-processed service, according to the service and the service device. The first corresponding relationship is used to find the to-be-processed service device corresponding to the service to be processed. When the service to be processed corresponding to the service to be processed does not support the preset high-priority service, the service device and the cabinet power distribution socket are the first. The second correspondence, Find the power distribution socket of the cabinet corresponding to the service device to be processed, and shut off the power supply of the power distribution socket of the cabinet. By turning off service devices that run low-priority services, you can save power, extend the running time of service devices that support high-priority services, improve user experience, and improve operation and maintenance efficiency of service devices.
实施例二Embodiment 2
如图2所示,本发明实施例二提供一种能源分配方法,包括:As shown in FIG. 2, a second embodiment of the present invention provides an energy distribution method, including:
步骤201、在采用电池后备应急电源系统进行供电时,若判断出供电系统的备用时长不满足规划时长,则按照预设的业务优先级的排序,从优先级最低的业务开始,选择出一个或一个以上业务作为待处理业务;Step 201: When the battery backup power supply system is used for power supply, if it is determined that the standby duration of the power supply system does not meet the planned duration, the service priority is selected according to the preset service priority, and one or the lowest priority service is selected. More than one business as a pending business;
步骤202、根据预先建立的业务与业务设备的第一对应关系,查找到与待处理业务对应的待处理业务设备;Step 202: Find a to-be-processed service device corresponding to the to-be-processed service according to the first correspondence between the pre-established service and the service device.
步骤203、当待处理业务设备支持预设的高优先级业务时,判断当前运行的业务设备中,是否存在除待处理业务设备外的第一业务设备,第一业务设备为支持预设的高优先级业务的业务设备;Step 203: When the service device to be processed supports the preset high-priority service, determine whether the first service device except the service device to be processed exists in the currently running service device, and the first service device supports the preset high. Business equipment of priority business;
步骤204、当存在第一业务设备时,根据第二对应关系查找待处理业务设备对应的机柜电源分配插座,并关闭查找到的机柜电源分配插座的供电;Step 204: When the first service device exists, find the cabinet power distribution socket corresponding to the service device to be processed according to the second correspondence, and turn off the power supply of the found cabinet power distribution socket;
步骤205、当不存在第一业务设备时,则保持待处理业务设备对应的机柜电源分配插座的供电。Step 205: When the first service device does not exist, the power supply of the cabinet power distribution socket corresponding to the service device to be processed is maintained.
在市电中断且柴发故障的情况下,需要采用电池后备应急电源系统进行供电,但是电池后备应急电源系统的供电时长具有一定的限制范围,需要判断供电系统的备用时长是否满足规划时长。在供电系统的备用时长不满足规划时长,需要在运行的多个业务中,按照预设的业务优先级的排序,从优先级最低的业务开始,选择出一个或一个以上业务作为待处理业务。In the case of commercial power interruption and firewood failure, the battery backup emergency power supply system is required for power supply. However, the power supply duration of the battery backup emergency power supply system has a certain limitation range, and it is necessary to determine whether the standby time of the power supply system satisfies the planned duration. The standby duration of the power supply system does not meet the planned duration. In the multiple services that are running, one or more services are selected as the pending services starting from the lowest priority service according to the preset service priority.
在确定待处理业务后,需要根据预先建立的业务与业务设备的第一对应关系,查找到与待处理业务对应的待处理业务设备。例如:目前的待处理业务为第四业务,根据预先建立的业务与业务设备的第一对应关系,查找到与第四业务对应的第二业务设备和第三业务设备作为待处理业务设备。此时需要判断待处理业务设备上是否运行有预设的高优先级业务。高优先级和低优 先级都是预先划分完成的,根据该业务的相关信息,如业务名称、业务ID可以识别出当前业务为高优先级业务还是低优先级业务。例如划分第一业务和第二业务为高优先级业务,第三业务和第四业务为低优先级业务。After the service to be processed is determined, the to-be-processed service device corresponding to the to-be-processed service needs to be found according to the first correspondence between the pre-established service and the service device. For example, the current service to be processed is the fourth service, and the second service device and the third service device corresponding to the fourth service are found as the to-be-processed service device according to the first correspondence between the pre-established service and the service device. At this time, it is necessary to determine whether a predetermined high priority service is running on the service device to be processed. High priority and low priority The pre-levels are pre-divided. According to the related information of the service, such as the service name and service ID, the current service can be identified as a high-priority service or a low-priority service. For example, the first service and the second service are divided into high priority services, and the third service and the fourth service are low priority services.
当待处理业务设备支持预设的高优先级业务时,判断当前运行的业务设备中,是否存在除待处理业务设备外的第一业务设备,第一业务设备为支持预设的高优先级业务的业务设备。当存在第一业务设备时,根据第二对应关系查找待处理业务设备对应的机柜电源分配插座,并关闭查找到的机柜电源分配插座的供电。When the service device to be processed supports the preset high-priority service, it is determined whether the first service device other than the service device to be processed exists in the currently running service device, and the first service device supports the preset high-priority service. Business equipment. When the first service device exists, the cabinet power distribution socket corresponding to the to-be-processed service device is searched according to the second correspondence, and the power supply of the found cabinet power distribution socket is turned off.
例如:在查找到与第四业务对应的第二业务设备和第三业务设备之后,且判断出第二业务设备和第三业务设备中的一个或者两个运行有高优先级的第一业务时,需要判断是否存在其他的业务设备可以支持第一业务,若存在其他的业务设备可以支持第一业务,则可以查找到与第二业务设备对应的机柜电源分配插座和与第三业务设备对应的机柜电源分配插座,然后关闭相应的机柜电源分配插座的供电。For example, after finding the second service device and the third service device corresponding to the fourth service, and determining that one or both of the second service device and the third service device are running the first service with high priority The device needs to determine whether there are other service devices that can support the first service. If other service devices can support the first service, the cabinet power distribution socket corresponding to the second service device and the third service device can be found. The cabinet power distribution socket, and then power off the corresponding cabinet power distribution socket.
当不存在第一业务设备时,则保持待处理业务设备对应的机柜电源分配插座的供电。例如当不存在其他的业务设备可以支持第一业务时,需要确定是第二业务设备还是第三业务设备上运行有高优先级的第一业务。当确定第二业务设备上运行有高优先级的第一业务时,保持与第二业务设备对应的机柜电源分配插座的供电。查找与第三业务设备对应的机柜电源分配插座,然后关闭与第三业务设备对应的机柜电源分配插座的供电。此时第四业务由于缺少了第三业务设备的支持,无法进行业务运行,且由于第二业务设备对应的机柜电源分配插座保持正常供电,可以保证高优先级的第一业务的运行。当确定第二业务设备和第三业务设备上均运行有高优先级的第一业务时,保持与第二业务设备对应的机柜电源分配插座和与第三业务设备对应的机柜电源分配插座的供电。需要说明的是,这里的其他的业务设备即为第一业务设备。When the first service device does not exist, the power supply of the cabinet power distribution socket corresponding to the service device to be processed is maintained. For example, when there is no other service device that can support the first service, it is determined whether the second service device or the third service device runs the first service with high priority. When it is determined that the first service with the high priority is running on the second service device, the power supply of the cabinet power distribution socket corresponding to the second service device is maintained. Find the cabinet power distribution socket corresponding to the third service device, and then turn off the power supply of the cabinet power distribution socket corresponding to the third service device. At this time, the fourth service cannot be operated due to the lack of the support of the third service device, and the operation of the first service of the high priority can be ensured because the cabinet power distribution socket corresponding to the second service device maintains normal power supply. When it is determined that the second service device and the third service device both run the first service with a high priority, the power supply of the cabinet corresponding to the second service device and the power supply of the cabinet power distribution socket corresponding to the third service device are maintained. . It should be noted that the other service devices herein are the first service device.
本发明实施例通过在采用电池后备应急电源系统进行供电且判断出供电系统的备用时长不满足规划时长,选择出一个或一个以上优先级低的业务作为待处理业务,根据业务与业务设备的第一对应关系,查找到与待处理业 务对应的待处理业务设备,当待处理业务对应的待处理业务设备上支持预设的高优先级业务时,判断是否存在除待处理业务设备外的支持预设的高优先级业务的第一业务设备,当存在时,根据业务设备与机柜电源分配插座的第二对应关系,查找到与待处理业务设备对应的机柜电源分配插座,并关闭查找到的机柜电源分配插座的供电。当不存在时,保持待处理业务设备对应的机柜电源分配插座的供电,进而保证高优先级业务的运行。本发明实施例通过关闭运行低优先级业务的业务设备,节约电能,保证支持高优先级业务的业务设备正常运行以及相应的运行时长,进而可以提高用户的体验性,提高业务设备的运维效率。In the embodiment of the present invention, the power supply of the battery backup power supply system is used to determine that the standby time of the power supply system does not meet the planned duration, and one or more services with a lower priority are selected as the to-be-processed service, according to the service and the service device. a correspondence, finding and pending industry When the service device to be processed corresponding to the service to be processed supports the preset high priority service, it is determined whether there is a first priority of the high priority service other than the service device to be processed. The service device, when present, finds the power distribution socket of the cabinet corresponding to the service device to be processed according to the second correspondence between the service device and the power distribution socket of the cabinet, and turns off the power supply of the power distribution socket of the cabinet. When it does not exist, the power supply of the cabinet power distribution socket corresponding to the service device to be processed is maintained, thereby ensuring the operation of the high priority service. In the embodiment of the present invention, the service device that runs the low-priority service is powered off, the power is saved, and the service device supporting the high-priority service is normally operated and the running time is long, thereby improving the user experience and improving the operation and maintenance efficiency of the service device. .
实施例三Embodiment 3
如图3所示,本发明实施例三提供一种能源分配方法,包括:As shown in FIG. 3, a third embodiment of the present invention provides an energy distribution method, including:
步骤301、在采用电池后备应急电源系统进行供电时,若判断出供电系统的备用时长不满足规划时长,则按照预设的业务优先级的排序,从优先级最低的业务开始,选择出一个或一个以上业务作为待处理业务;Step 301: When the battery backup power supply system is used for power supply, if it is determined that the standby time of the power supply system does not meet the planned duration, according to the preset service priority, the service with the lowest priority is selected. More than one business as a pending business;
步骤302、获取每一个业务设备的序列号码以及每一业务设备所支持的业务名称,建立每一个业务设备的序列号码与业务名称的第一对应关系;Step 302: Obtain a sequence number of each service device and a service name supported by each service device, and establish a first correspondence between a sequence number of each service device and a service name.
步骤303、根据第一对应关系,查找到与待处理业务对应的待处理业务设备;Step 303: Find a to-be-processed service device corresponding to the to-be-processed service according to the first correspondence.
步骤304、将业务设备的U位信息录入U位检测器中,其中U位信息包括业务设备的U数信息及在机柜中的物理位置信息,每一业务设备对应一U位检测器;Step 304: Enter the U-bit information of the service device into the U-bit detector, where the U-bit information includes the U-number information of the service device and the physical location information in the cabinet, and each service device corresponds to a U-bit detector;
步骤305、利用一硬件资产服务器接收U位检测器发送的经与U位检测器连接的U位控制器转发的业务设备的U位信息;Step 305: Receive, by using a hardware asset server, U bit information of the service device that is sent by the U bit detector and transmitted by the U bit controller connected to the U bit detector.
步骤306、利用一业务资产管理服务器调用硬件资产服务器内存储的U位信息,建立业务设备的序列号码与U位信息的绑定关系;Step 306: The U-bit information stored in the hardware asset server is invoked by a service asset management server to establish a binding relationship between the serial number of the service device and the U-bit information.
步骤307、接收一机柜电源分配插座逻辑控制器发送的机柜电源分配插座的槽位信息,建立机柜电源分配插座的槽位信息与业务设备的U位信息的绑定关系,形成业务设备的序列号码与机柜电源分配插座的槽位的第二对 应关系;Step 307: Receive the slot information of the cabinet power distribution socket sent by the cabinet power distribution socket logic controller, and establish a binding relationship between the slot information of the cabinet power distribution socket and the U-bit information of the service device to form a serial number of the service device. The second pair of slots with the cabinet power distribution socket Should be related;
步骤308、当待处理业务设备上不支持预设的高优先级业务时,根据业务设备的序列号码与机柜电源分配插座的槽位的第二对应关系,查找待处理业务设备对应的机柜电源分配插座的槽位,并关闭查找到的相应槽位上的机柜电源分配插座的供电。Step 308: When the service device to be processed does not support the preset high-priority service, find the power distribution of the cabinet corresponding to the service device to be processed according to the second correspondence between the sequence number of the service device and the slot of the power distribution socket of the cabinet. Socket the socket and turn off the power supply to the cabinet power distribution socket on the corresponding slot.
首先在市电中断且柴发故障的情况下,需要采用电池后备应急电源系统进行供电,但是电池后备应急电源系统的供电时长具有一定的限制范围,需要判断供电系统的备用时长是否满足规划时长。在判断时需要获取当前电力资产能源信息以及机柜电源分配插座的用电信息,根据当前电力资产能源信息和机柜电源分配插座的用电信息确定供电系统的备用时长,然后将供电系统的备用时长与规划时长进行比较,当供电系统的备用时长小于规划时长时,确定供电系统的备用时长不满足规划时长。Firstly, in the case of commercial power interruption and firewood failure, the battery backup emergency power supply system needs to be used for power supply. However, the power supply duration of the battery backup emergency power supply system has a certain limitation range, and it is necessary to determine whether the standby duration of the power supply system satisfies the planned duration. In the judgment, it is necessary to obtain the current power asset energy information and the power consumption information of the cabinet power distribution socket, determine the standby time of the power supply system according to the current power asset energy information and the power consumption information of the cabinet power distribution socket, and then the standby time of the power supply system and When the planned duration of the power supply system is less than the planned duration, it is determined that the standby duration of the power supply system does not meet the planned duration.
在供电系统的备用时长不满足规划时长,需要在运行的多个业务中,按照预设的业务优先级的排序,从优先级最低的业务开始,选择出一个或一个以上业务作为待处理业务。The standby duration of the power supply system does not meet the planned duration. In the multiple services that are running, one or more services are selected as the pending services starting from the lowest priority service according to the preset service priority.
获取每一个业务设备的序列号码以及每一业务设备所支持的不同的业务名称,建立每一个业务设备的序列号码与业务名称的第一对应关系。然后获取待处理业务的业务名称,根据业务设备的序列号码与业务名称的第一对应关系,查找到与待处理业务对应的业务设备作为待处理业务设备。The sequence number of each service device and the different service names supported by each service device are obtained, and the first correspondence between the sequence number of each service device and the service name is established. Then, the service name of the service to be processed is obtained, and the service device corresponding to the service to be processed is found as the service device to be processed according to the first correspondence between the sequence number of the service device and the service name.
例如:当前的业务设备包括第一业务设备、第二业务设备、第三业务设备和第四业务设备,其中第一业务设备的序列号码为001,第二业务设备的序列号码为002,第三业务设备的序列号码为003以及第四业务设备的序列号码为004。For example, the current service device includes a first service device, a second service device, a third service device, and a fourth service device, where the sequence number of the first service device is 001, and the sequence number of the second service device is 002, and the third The serial number of the service device is 003 and the serial number of the fourth service device is 004.
需要说明的是,每一个业务设备的序列号码可以标识在相应的业务设备上,例如采用粘贴的形式,将记录有序列号码的标签粘贴到业务设备上。It should be noted that the serial number of each service device may be identified on the corresponding service device, for example, in a pasted form, and the label with the serial number recorded is pasted onto the service device.
第一业务设备上支持业务名称为微信的第一业务和业务名称为手机天气的第二业务,第二业务设备上支持业务名称为微信的第一业务,第三业务设备上支持业务名称为手机杂志的第三业务,第四业务设备上支持业务名称 为手机俱乐部的第四业务。On the first service device, the first service whose service name is WeChat and the second service whose service name is mobile phone weather are supported, the second service device supports the first service whose service name is WeChat, and the third service device supports the service name as mobile phone. The third business of the magazine, the business name on the fourth business device The fourth business for the mobile club.
需要建立序列号码001与微信的第一对应关系,序列号码001与手机天气的第一对应关系;序列号码002与微信的第一对应关系;序列号码003与手机杂志的第一对应关系;以及序列号码004与手机俱乐部的第一对应关系。The first correspondence between the serial number 001 and the WeChat, the first correspondence between the serial number 001 and the weather of the mobile phone, the first correspondence between the serial number 002 and the WeChat, the first correspondence between the serial number 003 and the mobile phone magazine, and the sequence are needed. The first correspondence between the number 004 and the mobile phone club.
假定业务优先级由高到低的排序依次是第一业务、第二业务、第三业务和第四业务,确定第四业务手机俱乐部为待处理业务之后,根据业务设备的序列号码与业务名称的第一对应关系,查找到第四业务设备作为待处理业务设备。It is assumed that the order of the service priority from high to low is the first service, the second service, the third service, and the fourth service, and after determining that the fourth service mobile phone club is the pending service, according to the serial number of the service device and the service name. The first corresponding relationship finds the fourth service device as the to-be-processed service device.
获取业务设备的U位信息,其中U位信息包括业务设备的U数信息及在机柜中的物理位置信息,将U位信息录入U位检测器中,每一业务设备对应一U位检测器。假定机柜的容量为24U,当前一业务设备为2U,位于机柜的第三U和第四U上。此时业务设备的U位信息即为:U数信息为2U,物理位置信息为第三U和第四U。The U-bit information of the service device is obtained, where the U-bit information includes the U-number information of the service device and the physical location information in the cabinet, and the U-bit information is recorded into the U-bit detector, and each service device corresponds to a U-bit detector. Assume that the capacity of the cabinet is 24 U, and the current service equipment is 2 U, which is located on the third U and the fourth U of the cabinet. At this time, the U-bit information of the service device is: the U-number information is 2 U, and the physical location information is the third U and the fourth U.
然后利用一硬件资产服务器接收U位检测器发送的经与U位检测器连接的U位控制器转发的业务设备的U位信息,利用一与硬件资产服务器连接的业务资产管理服务器调用硬件资产服务器内存储的U位信息,建立业务设备的序列号码与U位信息的绑定关系。Then, using a hardware asset server, receiving U-bit information of the service device forwarded by the U-bit detector connected by the U-bit detector and transmitted by the U-bit detector, and calling the hardware asset server by using a business asset management server connected to the hardware asset server The U-bit information stored in the internal device establishes a binding relationship between the serial number of the service device and the U-bit information.
可选的,在获取当前业务设备的序列号码以及当前业务设备的U位信息之后,可以建立业务设备的序列号码与U位信息的绑定关系,例如当前业务设备的序列号码为003,业务设备的U位信息为:U数信息为2U,物理位置信息为第三U和第四U,则可以建立序列号码003与U位信息的绑定关系,根据业务设备序列号码可以获取业务设备的U位信息。Optionally, after obtaining the sequence number of the current service device and the U-bit information of the current service device, the binding relationship between the sequence number of the service device and the U-bit information may be established, for example, the sequence number of the current service device is 003, and the service device is configured. The U-bit information is as follows: the U-number information is 2 U, and the physical location information is the third U and the fourth U. The binding relationship between the sequence number 003 and the U-bit information can be established, and the U of the service device can be obtained according to the service device serial number. Bit information.
接收一机柜电源分配插座逻辑控制器发送的机柜电源分配插座的槽位信息,建立机柜电源分配插座的槽位信息与业务设备的U位信息的绑定关系,形成业务设备的序列号码与机柜电源分配插座的槽位的第二对应关系。Receive the slot information of the cabinet power distribution socket sent by the cabinet power distribution socket logic controller, and establish the binding relationship between the slot information of the cabinet power distribution socket and the U-bit information of the service device to form the serial number of the service device and the cabinet power supply. The second correspondence of the slots of the distribution socket.
根据业务设备的U位信息与机柜电源分配插座的槽位信息的关系,可以形成业务设备与机柜电源分配插座的第二对应关系。 The second correspondence between the service device and the cabinet power distribution socket can be formed according to the relationship between the U-bit information of the service device and the slot information of the cabinet power distribution socket.
当待处理业务设备上不支持预设的高优先级业务时,可以根据业务设备的序列号码与机柜电源分配插座的槽位的第二对应关系,在获取待处理业务设备的序列号码之后,查找与待处理业务设备对应的机柜电源分配插座的槽位,并关闭相应槽位的机柜电源分配插座的供电。If the service provider does not support the preset high-priority service, the device can search for the sequence number of the service device to be processed according to the second correspondence between the sequence number of the service device and the slot of the power distribution port of the cabinet. The cabinet power supply corresponding to the service device to be processed allocates the slot of the socket and turns off the power supply of the cabinet power distribution socket of the corresponding slot.
可选的,当供电系统恢复正常之后,根据被关闭的机柜电源分配插座对应的业务设备查找到相应的业务;按照业务的优先级由高到低的排列顺序,依次开启业务设备对应的机柜电源分配插座,保证每一个业务的正常运行。Optionally, after the power supply system returns to normal, the corresponding service is found according to the service device corresponding to the power distribution socket of the cabinet that is turned off; and the power supply corresponding to the service device is sequentially turned on according to the order of the priority of the service from high to low. Allocate sockets to ensure the normal operation of each business.
例如:当前被关闭的机柜电源分配插座对应的业务设备的对应业务包括:第三业务和第四业务,由于第三业务的优先级高于第四业务的优先级,在恢复业务时,需要首先开启支持第三业务的业务设备对应的机柜电源分配插座,然后开启支持第四业务的业务设备对应的机柜电源分配插座。For example, the corresponding service of the service device corresponding to the power distribution socket of the cabinet that is currently closed includes: the third service and the fourth service, and the priority of the third service is higher than the priority of the fourth service. Enable the cabinet power distribution socket corresponding to the service device that supports the third service, and then enable the cabinet power distribution socket corresponding to the service device that supports the fourth service.
本发明实施例通过在采用电池后备应急电源系统进行供电且判断出供电系统的备用时长不满足规划时长,选择出一个或一个以上优先级低的业务作为待处理业务,根据业务与业务设备的第一对应关系,查找到与待处理业务对应的待处理业务设备,当待处理业务对应的待处理业务设备上不支持预设的高优先级业务时,根据业务设备与机柜电源分配插座的第二对应关系,查找到与待处理业务设备对应的机柜电源分配插座,并关闭查找到的机柜电源分配插座的供电。通过关闭运行低优先级业务的业务设备,节约电能,延长支持高优先级业务的业务设备的运行时长,提高业务设备的运维效率。当供电系统恢复正常之后,根据业务的优先级依次开启相应的机柜电源分配插座,保证业务的正常运行。In the embodiment of the present invention, the power supply of the battery backup power supply system is used to determine that the standby time of the power supply system does not meet the planned duration, and one or more services with a lower priority are selected as the to-be-processed service, according to the service and the service device. A corresponding relationship is found, and the to-be-processed service device corresponding to the service to be processed is found. When the to-be-processed service device corresponding to the to-be-processed service does not support the preset high-priority service, the second is allocated according to the service device and the cabinet power distribution socket. Corresponding relationship, find the cabinet power distribution socket corresponding to the service device to be processed, and close the power supply of the found cabinet power distribution socket. By turning off service devices that run low-priority services, you can save power, extend the running time of service devices that support high-priority services, and improve the operation and maintenance efficiency of service devices. After the power supply system returns to normal, the corresponding cabinet power distribution sockets are sequentially turned on according to the priority of the service to ensure the normal operation of the service.
本发明实施例还提供一种计算机存储介质,计算机存储介质中存储有计算机可执行指令,计算机可执行指令配置为执行上述能源分配方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are configured to execute the energy distribution method.
本发明实施例还提供一种能源分配装置,包括:存储器和处理器;其中,An embodiment of the present invention further provides an energy distribution device, including: a memory and a processor; wherein
处理器被配置为执行所述存储器中的程序指令;A processor is configured to execute program instructions in the memory;
程序指令在处理器读取执行以下操作: Program instructions perform the following operations on the processor read:
在采用电池后备应急电源系统进行供电时,若判断出供电系统的备用时长不满足规划时长,则按照预设的业务优先级的排序,从优先级最低的业务开始,选择出一个或一个以上业务作为待处理业务;When the battery backup power supply system is used for power supply, if it is determined that the standby time of the power supply system does not meet the planned duration, the one or more services are selected from the lowest priority service according to the preset service priority order. As a business to be processed;
根据预先建立的业务与业务设备的第一对应关系,查找到与所述待处理业务对应的待处理业务设备;Finding a to-be-processed service device corresponding to the to-be-processed service according to the first correspondence between the pre-established service and the service device;
当待处理业务设备上不支持预设的高优先级业务时,根据预先建立的业务设备与机柜电源分配插座的第二对应关系,查找所述待处理业务设备对应的机柜电源分配插座,并关闭查找到的机柜电源分配插座的供电。If the preset high-priority service is not supported on the service device to be processed, the cabinet power distribution socket corresponding to the to-be-processed service device is searched for and closed according to the second correspondence between the pre-established service device and the power distribution socket of the cabinet. Find the power supply to the cabinet power distribution socket.
实施例四Embodiment 4
以下为本发明实施例四提供的一种能源分配装置的实施例。能源分配装置的实施例与上述的方法实施例属于同一构思,能源分配装置的实施例中未详尽描述的细节内容,可以参考上述方法实施例。The following is an embodiment of an energy distribution device according to Embodiment 4 of the present invention. The embodiment of the energy distribution device is the same as the method embodiment described above, and the details of the embodiment of the energy distribution device are not described in detail in the embodiments.
其中,如4图所示,能源分配装置包括:Among them, as shown in Figure 4, the energy distribution device includes:
选择模块10,配置为在采用电池后备应急电源系统进行供电时,若判断出供电系统的备用时长不满足规划时长,则按照预设的业务优先级的排序,从优先级最低的业务开始,选择出一个或一个以上业务作为待处理业务;The module 10 is configured to be configured to use the battery backup emergency power system to supply power. If it is determined that the standby time of the power supply system does not meet the planned duration, the service priority is selected according to the preset service priority. Out of one or more services as pending transactions;
第一查找模块20,配置为根据预先建立的业务与业务设备的第一对应关系,查找到与待处理业务对应的待处理业务设备;The first search module 20 is configured to find a to-be-processed service device corresponding to the to-be-processed service according to the first correspondence between the pre-established service and the service device;
第一处理模块30,配置为当待处理业务设备上不支持预设的高优先级业务时,根据预先建立的业务设备与机柜电源分配插座的第二对应关系,查找待处理业务设备对应的机柜电源分配插座,并关闭查找到的机柜电源分配插座的供电。The first processing module 30 is configured to search for a cabinet corresponding to the service device to be processed according to the second correspondence between the pre-established service device and the power distribution socket of the cabinet when the service device to be processed does not support the preset high-priority service. The power is assigned to the outlet and the power to the identified cabinet power distribution outlet is turned off.
其中,如图5所示,该能源分配装置还包括:Wherein, as shown in FIG. 5, the energy distribution device further includes:
判断模块40,配置为当待处理业务设备支持预设的高优先级业务时,判断当前运行的业务设备中,是否存在除待处理业务设备外的第一业务设备,第一业务设备为支持预设的高优先级业务的业务设备;The determining module 40 is configured to determine, when the to-be-processed service device supports the preset high-priority service, whether the first service device other than the to-be-processed service device exists in the currently running service device, and the first service device is a support pre- Business equipment for high priority services;
第二处理模块50,配置为当存在第一业务设备时,根据第二对应关系 查找待处理业务设备对应的机柜电源分配插座,并关闭查找到的机柜电源分配插座的供电;The second processing module 50 is configured to: when the first service device exists, according to the second correspondence Find the power distribution socket of the cabinet corresponding to the service device to be processed, and shut off the power supply of the power distribution socket of the cabinet that is found.
第三处理模块60,配置为当不存在第一业务设备时,则保持待处理业务设备对应的机柜电源分配插座的供电。The third processing module 60 is configured to maintain power supply of the cabinet power distribution socket corresponding to the service device to be processed when the first service device does not exist.
其中,第一查找模块20中的第一对应关系为业务设备的序列号码与业务的业务名称之间的对应关系,该能源分配装置还包括:The first corresponding relationship in the first search module 20 is a correspondence between a sequence number of the service device and a service name of the service, and the energy distribution device further includes:
第一获取模块70,配置为在第一查找模块20根据预先建立的业务与业务设备的第一对应关系,查找到与所述待处理业务对应的待处理业务设备之前,获取每一个业务设备的序列号码以及每一业务设备所支持的业务名称;The first obtaining module 70 is configured to acquire each service device before the first search module 20 searches for the to-be-processed service device corresponding to the to-be-processed service according to the first correspondence between the pre-established service and the service device. The serial number and the name of the service supported by each business device;
第一建立模块80,配置为建立每一个业务设备的序列号码与业务名称的第一对应关系。The first establishing module 80 is configured to establish a first correspondence between the serial number of each service device and the service name.
其中,第一处理模块30中的第二对应关系为业务设备的序列号码与机柜电源分配插座的槽位之间的对应关系,该能源分配装置还包括:The second corresponding relationship in the first processing module 30 is a correspondence between a sequence number of the service device and a slot of the power distribution socket of the cabinet. The energy distribution device further includes:
录入模块90,配置为在第一处理模块30根据预先建立的业务设备与机柜电源分配插座的第二对应关系,查找待处理业务设备对应的机柜电源分配插座之前,将业务设备的U位信息录入U位检测器中,其中U位信息包括业务设备的U数信息及在机柜中的物理位置信息,每一业务设备对应一U位检测器;The entry module 90 is configured to enter the U-bit information of the service device before the first processing module 30 searches for the cabinet power distribution socket corresponding to the service device to be processed according to the second correspondence between the pre-established service device and the cabinet power distribution socket. In the U-bit detector, the U-bit information includes the U-number information of the service device and the physical location information in the cabinet, and each service device corresponds to a U-bit detector;
接收模块100,配置为利用一硬件资产服务器接收U位检测器发送的经与U位检测器连接的U位控制器转发的业务设备的U位信息;The receiving module 100 is configured to receive, by using a hardware asset server, U-bit information of the service device that is sent by the U-bit detector and transmitted by the U-bit controller connected to the U-bit detector;
第二建立模块110,配置为利用一业务资产管理服务器调用硬件资产服务器内存储的U位信息,建立业务设备的序列号码与U位信息的绑定关系;The second establishing module 110 is configured to use a service asset management server to invoke the U-bit information stored in the hardware asset server to establish a binding relationship between the serial number of the service device and the U-bit information.
接收建立模块120,配置为接收一机柜电源分配插座逻辑控制器发送的机柜电源分配插座的槽位信息,建立机柜电源分配插座的槽位信息与业务设备的U位信息的绑定关系,形成业务设备的序列号码与机柜电源分配插座的槽位的第二对应关系。The receiving and establishing module 120 is configured to receive the slot information of the cabinet power distribution socket sent by the cabinet power distribution socket logic controller, and establish a binding relationship between the slot information of the cabinet power distribution socket and the U-bit information of the service device to form a service. The second correspondence between the serial number of the device and the slot of the cabinet power distribution socket.
其中,当供电系统恢复正常之后,该能源分配装置还包括:Wherein, after the power supply system returns to normal, the energy distribution device further includes:
第二查找模块130,配置为根据被关闭的机柜电源分配插座对应的业务 设备查找到相应的业务;The second search module 130 is configured to allocate a service corresponding to the socket according to the power of the cabinet that is turned off. The device finds the corresponding service;
开启模块140,配置为按照业务的优先级由高到低的排列顺序,依次开启业务设备对应的机柜电源分配插座。The module 140 is configured to enable the cabinet power distribution socket corresponding to the service device in sequence according to the order of the priority of the service.
其中,该能源分配装置还包括:Wherein, the energy distribution device further comprises:
第二获取模块150,配置为在选择模块10按照预设的业务优先级的排序,从优先级最低的业务开始,选择出一个或一个以上业务作为待处理业务之前,获取当前电力资产能源信息以及机柜电源分配插座的用电信息;The second obtaining module 150 is configured to obtain, according to a preset service priority order, a current power asset energy information, and before selecting one or more services as the to-be-processed service, starting from the lowest priority service. Power consumption information of the cabinet power distribution socket;
确定模块160,配置为根据当前电力资产能源信息和机柜电源分配插座的用电信息确定供电系统的备用时长;The determining module 160 is configured to determine, according to the current power asset energy information and the power consumption information of the cabinet power distribution socket, the standby time of the power supply system;
比较确定模块170,配置为将供电系统的备用时长与规划时长进行比较,当供电系统的备用时长小于规划时长时,确定供电系统的备用时长不满足规划时长。The comparison determining module 170 is configured to compare the standby duration of the power supply system with the planned duration. When the standby duration of the power supply system is less than the planned duration, it is determined that the standby duration of the power supply system does not meet the planned duration.
本发明实施例的能源分配装置,通过上述模块在采用电池后备应急电源系统进行供电且判断出供电系统的备用时长不满足规划时长,选择出一个或一个以上优先级低的业务作为待处理业务,根据业务与业务设备的第一对应关系,查找到与待处理业务对应的待处理业务设备,当待处理业务对应的待处理业务设备上不支持预设的高优先级业务时,根据业务设备与机柜电源分配插座的第二对应关系,查找到与待处理业务设备对应的机柜电源分配插座,并关闭查找到的机柜电源分配插座的供电。通过关闭运行低优先级业务的业务设备,节约电能,延长支持高优先级业务的业务设备的运行时长,提高用户的体验性,提高业务设备的运维效率。The energy distribution device of the embodiment of the present invention uses the battery backup power supply system to supply power, and determines that the standby time of the power supply system does not meet the planned duration, and selects one or more services with low priority as the to-be-processed service. According to the first correspondence between the service and the service device, the service device to be processed corresponding to the service to be processed is found. When the service device to be processed corresponding to the service to be processed does not support the preset high priority service, according to the service device and The second power of the power distribution socket of the cabinet is found. The power distribution socket of the cabinet corresponding to the service device to be processed is found, and the power supply of the power distribution socket of the cabinet is closed. By turning off service devices that run low-priority services, you can save power, extend the running time of service devices that support high-priority services, improve user experience, and improve operation and maintenance efficiency of service devices.
需要说明的是,本发明实施例提供的能源分配装置是应用上述方法的装置,则上述方法的所有实施例均适配置为该能源分配装置,且均能达到相同或相似的有益效果。It should be noted that the energy distribution device provided by the embodiment of the present invention is a device applying the above method, and all embodiments of the foregoing method are all configured as the energy distribution device, and both can achieve the same or similar beneficial effects.
实施例五Embodiment 5
本发明实施例五还提供一种能源分配系统,如图6所示,包括:Embodiment 5 of the present invention further provides an energy distribution system, as shown in FIG. 6, comprising:
检测业务设备U位信息的U位检测设备,电源分配设备,为业务设备提供电源的供配电设备;以及, a U-bit detecting device for detecting U-bit information of a service device, a power distribution device, and a power supply and distribution device that supplies power to the service device;
与U位检测设备、电源分配设备和供配电设备分别连接的、配置为调节资产能源在每一个业务设备上分配的业务资产管理平台。A business asset management platform that is separately connected to the U-bit detection device, the power distribution device, and the power supply and distribution device and configured to regulate the distribution of asset energy on each service device.
其中,如图7所示,U位检测设备包括具备通信接口及检测标签的U位检测器A(能够检测业务设备的在位信息及绑定设备型号和物理空间等资产信息),具备通信接口的U位控制器B,其中U位控制器B中汇聚多个U位检测器A的信息,资产录入设备C,配置为向U位检测器A录入资产信息,硬件资产服务器D,配置为存放硬件资产的信息及物理空间等信息数据。As shown in FIG. 7 , the U-bit detecting device includes a U-bit detector A (capable of detecting in-position information of the service device and asset information such as the bound device model and physical space) having a communication interface and a detection tag, and has a communication interface. The U-bit controller B, wherein the U-bit controller B aggregates information of a plurality of U-bit detectors A, and the asset is entered into the device C, configured to input asset information to the U-bit detector A, and the hardware asset server D is configured to be stored. Information about hardware assets and physical space and other information data.
电源分配设备包括具备通信接口的逻辑控制器E和具备可被控制的电气开关功能的电源分配末端F,逻辑控制器E可以获取电源分配设备上的槽位信息,电源分配设备上每一个插槽都具备独立的控制断开和闭合的功能。其中电源分配末端F即为电源分配设备上的插槽。The power distribution device includes a logic controller E having a communication interface and a power distribution end F having a controllable electrical switch function, and the logic controller E can obtain slot information on the power distribution device, and each slot on the power distribution device Both have independent control of opening and closing functions. The power distribution end F is the slot on the power distribution device.
供配电设备包括具备通信接口、且具备在线电池的高压直流或不间断电源,通过固化的电池单元的信息,根据当前的电流电压能够实时统计后备放电的时间,且能实时统计当前供电系统的全部状态信息。The power supply and distribution equipment includes a high-voltage DC or uninterruptible power supply with a communication interface and an online battery. Through the information of the solidified battery unit, the backup current can be counted in real time according to the current current and voltage, and the current power supply system can be counted in real time. All status information.
业务资产管理平台包括具备通信接口的业务资产管理服务器G、与业务资产管理服务器G连接的业务资产管理逻辑处理器H。The business asset management platform includes a business asset management server G having a communication interface, and a business asset management logic processor H connected to the business asset management server G.
基于U位检测的能源分配系统通过资产录入设备C将业务设备的资产信息或规划信息录入至带存储标签的U位检测器A中,汇聚了U位检测器A信息的U位控制器B将信息通过交换设备存储于硬件资产服务器D中;业务资产管理服务器G将通过交换设备,实时调用硬件资产服务器D。The U-bit detection-based energy distribution system records the asset information or planning information of the service device into the U-bit detector A with the storage tag through the asset entry device C, and the U-bit controller B that aggregates the U-bit detector A information will The information is stored in the hardware asset server D through the switching device; the business asset management server G will call the hardware asset server D in real time through the switching device.
电源分配设备的逻辑控制器E及供配电设备的信息,通过业务资产管理逻辑处理器H进行逻辑处理,业务资产管理逻辑处理器H可获知每一个机柜内的每一台业务设备的具体位置,当前功耗,所支持的业务及其业务的优先级及当前供电系统故障和后备的供电时间,业务资产管理逻辑处理器H将逻辑处理详细到电源分配设备的每一个插槽,进而控制插槽对应的业务设备是否断电,以用来节省电能,为抢修恢复供电争取宝贵时间。The logic controller E of the power distribution device and the information of the power distribution device are logically processed by the business asset management logic processor H, and the business asset management logic processor H can know the specific location of each service device in each cabinet. The current power consumption, the priority of the supported services and their services, and the current power supply system failure and backup power supply time. The business asset management logic processor H logically processes each slot of the power distribution device to control the insertion. Whether the service equipment corresponding to the slot is powered off, in order to save power, and strive for valuable time for repairing and restoring power.
本发明实施例能源分配系统,将U位检测设备、电源分配设备及业务 资产管理平台结合应用到为争取供电后备时间进行优化的资产业务中,实现低优先级的业务对应的业务设备的关断,进行节省电能以供支持高优先级业务的业务设备正常运转。The energy distribution system of the embodiment of the invention, the U-bit detecting device, the power distribution device and the service The asset management platform is applied to the asset service optimized for the power supply backup time to implement the shutdown of the service equipment corresponding to the low priority service, and to save power for the normal operation of the service equipment supporting the high priority service.
需要说明的是,本发明实施例提供的能源分配系统是应用上述方法和装置的系统,则上述方法、装置的所有实施例均适配置为该系统,且均能达到相同或相似的有益效果。It should be noted that the energy distribution system provided by the embodiment of the present invention is a system to which the foregoing method and device are applied, and all the embodiments of the foregoing method and device are properly configured as the system, and all of the same or similar beneficial effects can be achieved.
以上所述是本发明的可选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is an alternative embodiment of the present invention, and it should be noted that those skilled in the art can make several improvements and retouchings without departing from the principles of the present invention. It should also be considered as the scope of protection of the present invention.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的每个模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, being executed by a processor and stored in a memory. Programs/instructions to implement their respective functions. The invention is not limited to any specific form of combination of hardware and software.
虽然本申请所揭露的实施方式如上,但所述的内容仅为便于理解本申请而采用的实施方式,并非用以限定本申请,如本发明实施方式中的具体的实现方法。任何本申请所属领域内的技术人员,在不脱离本申请所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本申请的专利保护范围,仍须以所附的权利要求书所界定的范围为准。The embodiments disclosed in the present application are as described above, but the descriptions are only for the purpose of understanding the present application, and are not intended to limit the present application, such as the specific implementation method in the embodiments of the present invention. Any modifications and changes in the form and details of the embodiments may be made by those skilled in the art without departing from the spirit and scope of the disclosure. The scope defined by the appended claims shall prevail.
工业实用性Industrial applicability
上述技术方案节约了电能消耗,延长了高优先级业务的运行时长,提高了业务设备的运维效率。 The foregoing technical solution saves power consumption, prolongs the running time of high-priority services, and improves the operation and maintenance efficiency of service devices.

Claims (12)

  1. 一种能源分配方法,包括:An energy distribution method comprising:
    在采用电池后备应急电源系统进行供电时,若判断出供电系统的备用时长不满足规划时长,则按照预设的业务优先级的排序,从优先级最低的业务开始,选择出一个或一个以上业务作为待处理业务;When the battery backup power supply system is used for power supply, if it is determined that the standby time of the power supply system does not meet the planned duration, the one or more services are selected from the lowest priority service according to the preset service priority order. As a business to be processed;
    根据预先建立的业务与业务设备的第一对应关系,查找到与所述待处理业务对应的待处理业务设备;Finding a to-be-processed service device corresponding to the to-be-processed service according to the first correspondence between the pre-established service and the service device;
    当所述待处理业务设备上不支持预设的高优先级业务时,根据预先建立的业务设备与机柜电源分配插座的第二对应关系,查找所述待处理业务设备对应的机柜电源分配插座,并关闭查找到的机柜电源分配插座的供电。And searching for the cabinet power distribution socket corresponding to the to-be-processed service device according to the second corresponding relationship between the pre-established service device and the power distribution socket of the cabinet, if the preset high-priority service is not supported by the to-be-processed service device, And turn off the power supply of the found cabinet power distribution socket.
  2. 根据权利要求1所述的能源分配方法,当所述待处理业务设备支持预设的高优先级业务时,所述能源分配方法还包括:The energy distribution method according to claim 1, wherein when the to-be-processed service device supports a preset high-priority service, the energy distribution method further includes:
    判断当前运行的业务设备中是否存在除所述待处理业务设备外的第一业务设备,所述第一业务设备为支持所述预设的高优先级业务的业务设备;Determining whether there is a first service device other than the to-be-processed service device in the currently running service device, where the first service device is a service device that supports the preset high-priority service;
    当存在第一业务设备时,根据所述第二对应关系查找所述待处理业务设备对应的机柜电源分配插座,并关闭查找到的机柜电源分配插座的供电;When the first service device exists, the cabinet power distribution socket corresponding to the to-be-processed service device is searched according to the second corresponding relationship, and the power supply of the found cabinet power distribution socket is closed;
    当不存在所述第一业务设备时,则保持所述待处理业务设备对应的机柜电源分配插座的供电。When the first service device does not exist, the power supply of the cabinet power distribution socket corresponding to the to-be-processed service device is maintained.
  3. 根据权利要求1所述的能源分配方法,所述第一对应关系为业务设备的序列号码与业务的业务名称之间的对应关系,所述根据预先建立的业务与业务设备的第一对应关系,查找到与所述待处理业务对应的待处理业务设备之前,所述能源分配方法还包括:The energy distribution method according to claim 1, wherein the first correspondence is a correspondence between a sequence number of the service device and a service name of the service, and the first correspondence between the pre-established service and the service device is Before the service device to be processed corresponding to the to-be-processed service is found, the energy distribution method further includes:
    获取每一个业务设备的序列号码以及每一个业务设备所支持的业务名称;Obtain the serial number of each service device and the service name supported by each service device;
    建立每一个业务设备的序列号码与业务名称的所述第一对应关系。Establishing the first correspondence between the serial number of each service device and the service name.
  4. 根据权利要求3所述的能源分配方法,所述第二对应关系为业务设备的序列号码与机柜电源分配插座的槽位之间的对应关系,所述根据预先建 立的业务设备与机柜电源分配插座的第二对应关系,查找所述待处理业务设备对应的机柜电源分配插座之前,所述能源分配方法还包括:The energy distribution method according to claim 3, wherein the second correspondence is a correspondence between a sequence number of the service device and a slot of the power distribution socket of the cabinet, where the pre-built The energy distribution method further includes: before the firewall power distribution socket corresponding to the to-be-processed service device, the energy distribution method further includes:
    将业务设备的U位信息录入U位检测器中,其中,U位信息包括业务设备的U数信息及在机柜中的物理位置信息,每一业务设备对应一U位检测器;Entering the U-bit information of the service device into the U-bit detector, where the U-bit information includes the U-number information of the service device and the physical location information in the cabinet, and each service device corresponds to a U-bit detector;
    通过一硬件资产服务器接收U位检测器发送的经与U位检测器连接的U位控制器转发的业务设备的U位信息;Receiving U-bit information of the service device forwarded by the U-bit controller connected to the U-bit detector sent by the U-bit detector by a hardware asset server;
    通过一业务资产管理服务器调用所述硬件资产服务器内存储的U位信息,建立业务设备的序列号码与U位信息的绑定关系;The U-bit information stored in the hardware asset server is invoked by a service asset management server to establish a binding relationship between the serial number of the service device and the U-bit information.
    接收一机柜电源分配插座逻辑控制器发送的机柜电源分配插座的槽位信息,建立机柜电源分配插座的槽位信息与业务设备的U位信息的绑定关系,形成业务设备的序列号码与机柜电源分配插座的槽位的所述第二对应关系。Receive the slot information of the cabinet power distribution socket sent by the cabinet power distribution socket logic controller, and establish the binding relationship between the slot information of the cabinet power distribution socket and the U-bit information of the service device to form the serial number of the service device and the cabinet power supply. Distributing the second correspondence of the slots of the socket.
  5. 根据权利要求1所述的能源分配方法,当供电系统恢复正常之后,所述能源分配方法还包括:The energy distribution method according to claim 1, after the power supply system returns to normal, the energy distribution method further includes:
    根据被关闭的机柜电源分配插座对应的业务设备查找到相应的业务;Finding the corresponding service according to the service device corresponding to the power distribution socket of the cabinet that is turned off;
    按照业务的优先级由高到低的排列顺序,依次开启业务设备对应的机柜电源分配插座。Open the cabinet power distribution socket corresponding to the service device in the order of the priority of the service.
  6. 根据权利要求1所述的能源分配方法,所述判断供电系统的备用时长是否满足规划时长的方法包括:The energy distribution method according to claim 1, wherein the method for determining whether the standby duration of the power supply system meets the planning duration includes:
    获取当前电力资产能源信息以及机柜电源分配插座的用电信息;Obtaining current power asset energy information and power consumption information of the cabinet power distribution socket;
    根据当前电力资产能源信息和机柜电源分配插座的用电信息确定供电系统的备用时长;Determining the standby duration of the power supply system according to the current power asset energy information and the power consumption information of the cabinet power distribution socket;
    将供电系统的备用时长与规划时长进行比较,当供电系统的备用时长小于规划时长时,确定供电系统的备用时长不满足规划时长。The standby duration of the power supply system is compared with the planned duration. When the standby duration of the power supply system is less than the planned duration, it is determined that the standby duration of the power supply system does not meet the planned duration.
  7. 一种能源分配装置,包括:An energy distribution device comprising:
    选择模块,配置为在采用电池后备应急电源系统进行供电时,若判断出 供电系统的备用时长不满足规划时长,则按照预设的业务优先级的排序,从优先级最低的业务开始,选择出一个或一个以上业务作为待处理业务;Select a module that is configured to be powered when using a battery backup emergency power system If the standby duration of the power supply system does not meet the planned duration, the service with the lowest priority is selected according to the preset service priority, and one or more services are selected as the pending service.
    第一查找模块,配置为根据预先建立的业务与业务设备的第一对应关系,查找到与所述待处理业务对应的待处理业务设备;The first search module is configured to: find the to-be-processed service device corresponding to the to-be-processed service according to the first correspondence between the pre-established service and the service device;
    第一处理模块,配置为当所述待处理业务设备上不支持预设的高优先级业务时,根据预先建立的业务设备与机柜电源分配插座的第二对应关系,查找所述待处理业务设备对应的机柜电源分配插座,并关闭查找到的机柜电源分配插座的供电。The first processing module is configured to search for the to-be-processed service device according to the second corresponding relationship between the pre-established service device and the power distribution socket of the cabinet, when the preset high-priority service is not supported by the to-be-processed service device. Corresponding cabinet power distribution sockets, and powering off the found cabinet power distribution sockets.
  8. 根据权利要求7所述的能源分配装置,所述能源分配装置还包括:The energy distribution device of claim 7, the energy distribution device further comprising:
    判断模块,配置为当所述待处理业务设备支持预设的高优先级业务时,判断当前运行的业务设备中是否存在除所述待处理业务设备外的第一业务设备,所述第一业务设备为支持所述预设的高优先级业务的业务设备;a determining module, configured to determine, when the to-be-processed service device supports the preset high-priority service, whether the first service device other than the to-be-processed service device exists in the currently running service device, where the first service is The device is a service device supporting the preset high priority service;
    第二处理模块,配置为当存在所述第一业务设备时,根据所述第二对应关系查找所述待处理业务设备对应的机柜电源分配插座,并关闭查找到的机柜电源分配插座的供电;The second processing module is configured to: when the first service device exists, search for a cabinet power distribution socket corresponding to the to-be-processed service device according to the second correspondence, and close the power supply of the found cabinet power distribution socket;
    第三处理模块,配置为当不存在所述第一业务设备时,则保持所述待处理业务设备对应的机柜电源分配插座的供电。The third processing module is configured to maintain power supply of the cabinet power distribution socket corresponding to the to-be-processed service device when the first service device does not exist.
  9. 根据权利要求7所述的能源分配装置,所述第一对应关系为业务设备的序列号码与业务的业务名称之间的对应关系,所述能源分配装置还包括:The energy distribution device according to claim 7, wherein the first correspondence is a correspondence between a sequence number of the service device and a service name of the service, and the energy distribution device further includes:
    第一获取模块,配置为在所述第一查找模块根据预先建立的业务与业务设备的第一对应关系,查找到与所述待处理业务对应的待处理业务设备之前,获取每一个业务设备的序列号码以及每一业务设备所支持的业务名称;The first obtaining module is configured to acquire, before the first search module, the to-be-processed service device corresponding to the to-be-processed service, according to the first corresponding relationship between the pre-established service and the service device, The serial number and the name of the service supported by each business device;
    第一建立模块,配置为建立每一个业务设备的序列号码与业务名称的所述第一对应关系。The first establishing module is configured to establish the first correspondence between the serial number of each service device and the service name.
  10. 根据权利要求9所述的能源分配装置,所述第二对应关系为业务设备的序列号码与机柜电源分配插座的槽位之间的对应关系,所述能源分配装置还包括: The energy distribution device according to claim 9, wherein the second correspondence is a correspondence between a sequence number of the service device and a slot of the power distribution socket of the cabinet, and the energy distribution device further includes:
    录入模块,配置为在所述第一处理模块根据预先建立的业务设备与机柜电源分配插座的第二对应关系,查找所述待处理业务设备对应的机柜电源分配插座之前,将业务设备的U位信息录入U位检测器中,其中U位信息包括业务设备的U数信息及在机柜中的物理位置信息,每一业务设备对应一U位检测器;The entry module is configured to: before the first processing module searches for the cabinet power distribution socket corresponding to the to-be-processed service device, according to the second correspondence between the pre-established service device and the cabinet power distribution socket, the U-bit of the service device The information is input into the U-bit detector, wherein the U-bit information includes the U-number information of the service device and the physical location information in the cabinet, and each service device corresponds to a U-bit detector;
    接收模块,配置为通过一硬件资产服务器接收U位检测器发送的经与U位检测器连接的U位控制器转发的业务设备的U位信息;The receiving module is configured to receive, by using a hardware asset server, U-bit information of the service device that is sent by the U-bit detector and sent by the U-bit controller connected to the U-bit detector;
    第二建立模块,配置为通过一业务资产管理服务器调用所述硬件资产服务器内存储的U位信息,建立业务设备的序列号码与U位信息的绑定关系;The second establishing module is configured to invoke the U-bit information stored in the hardware asset server by using a service asset management server, and establish a binding relationship between the serial number of the service device and the U-bit information;
    接收建立模块,配置为接收一机柜电源分配插座逻辑控制器发送的机柜电源分配插座的槽位信息,建立机柜电源分配插座的槽位信息与业务设备的U位信息的绑定关系,形成业务设备的序列号码与机柜电源分配插座的槽位的所述第二对应关系。The receiving and establishing module is configured to receive the slot information of the cabinet power distribution socket sent by the cabinet power distribution socket logic controller, and establish a binding relationship between the slot information of the cabinet power distribution socket and the U-bit information of the service device to form a service device. The second correspondence between the serial number and the slot of the cabinet power distribution socket.
  11. 根据权利要求7所述的能源分配装置,当供电系统恢复正常之后,所述能源分配装置还包括:The energy distribution device of claim 7, after the power supply system returns to normal, the energy distribution device further comprises:
    第二查找模块,配置为根据被关闭的机柜电源分配插座对应的业务设备查找到相应的业务;The second search module is configured to find a corresponding service according to the service device corresponding to the power distribution socket of the closed cabinet;
    开启模块,配置为按照业务的优先级由高到低的排列顺序,依次开启业务设备对应的机柜电源分配插座。Enable the module to be configured to enable the cabinet power distribution socket corresponding to the service device in the order of the priority of the service.
  12. 根据权利要求7所述的能源分配装置,所述能源分配装置还包括:The energy distribution device of claim 7, the energy distribution device further comprising:
    第二获取模块,配置为在所述选择模块按照预设的业务优先级的排序,从优先级最低的业务开始,选择出一个或一个以上业务作为待处理业务之前,获取当前电力资产能源信息以及机柜电源分配插座的用电信息;The second obtaining module is configured to obtain, according to a preset service priority, the current power asset energy information, and the one or more services are selected as the to-be-processed service, and the service is selected from the lowest priority service. Power consumption information of the cabinet power distribution socket;
    确定模块,配置为根据当前电力资产能源信息和机柜电源分配插座的用电信息确定供电系统的备用时长;Determining a module, configured to determine an alternate duration of the power supply system according to current power asset energy information and power usage information of the cabinet power distribution socket;
    比较确定模块,配置为将供电系统的备用时长与规划时长进行比较,当供电系统的备用时长小于规划时长时,确定供电系统的备用时长不满足规划时长。 The comparison determining module is configured to compare the standby duration of the power supply system with the planned duration. When the standby duration of the power supply system is less than the planned duration, it is determined that the standby duration of the power supply system does not meet the planned duration.
PCT/CN2017/077908 2016-04-06 2017-03-23 Power allocation method and device WO2017173926A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610211158.2 2016-04-06
CN201610211158.2A CN107273203B (en) 2016-04-06 2016-04-06 Asset energy distribution method and device for data center business equipment

Publications (1)

Publication Number Publication Date
WO2017173926A1 true WO2017173926A1 (en) 2017-10-12

Family

ID=60000828

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/077908 WO2017173926A1 (en) 2016-04-06 2017-03-23 Power allocation method and device

Country Status (2)

Country Link
CN (1) CN107273203B (en)
WO (1) WO2017173926A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114221426A (en) * 2019-12-31 2022-03-22 华为数字能源技术有限公司 Control method and control device for power supply device in data center

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200379548A1 (en) * 2019-05-30 2020-12-03 Cisco Technology, Inc. Cloud-managed allocation of a network's power use to control runtime on backup battery

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080155284A1 (en) * 2006-12-25 2008-06-26 Fujitsu Limited Power consumption adjusting apparatus and processing method
CN101820348A (en) * 2010-03-09 2010-09-01 武汉烽火网络有限责任公司 Method and device for carrying out overload protection on equipment in POE system
CN101937264A (en) * 2010-08-27 2011-01-05 北京星网锐捷网络技术有限公司 Power supply power management method and device as well as modularizing equipment
CN104219062A (en) * 2014-08-20 2014-12-17 烽火通信科技股份有限公司 POE power scheduling management method based on ONU ports

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571441B (en) * 2012-01-18 2017-03-15 百度在线网络技术(北京)有限公司 Whole machine cabinet intelligent management, system and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080155284A1 (en) * 2006-12-25 2008-06-26 Fujitsu Limited Power consumption adjusting apparatus and processing method
CN101820348A (en) * 2010-03-09 2010-09-01 武汉烽火网络有限责任公司 Method and device for carrying out overload protection on equipment in POE system
CN101937264A (en) * 2010-08-27 2011-01-05 北京星网锐捷网络技术有限公司 Power supply power management method and device as well as modularizing equipment
CN104219062A (en) * 2014-08-20 2014-12-17 烽火通信科技股份有限公司 POE power scheduling management method based on ONU ports

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114221426A (en) * 2019-12-31 2022-03-22 华为数字能源技术有限公司 Control method and control device for power supply device in data center
EP4071966A4 (en) * 2019-12-31 2023-03-15 Huawei Digital Power Technologies Co., Ltd. Control method and control apparatus for data center power supply apparatus
US12086007B2 (en) 2019-12-31 2024-09-10 Huawei Digital Power Technologies Co., Ltd. Control method and control apparatus for power supply apparatus in data center

Also Published As

Publication number Publication date
CN107273203A (en) 2017-10-20
CN107273203B (en) 2021-02-23

Similar Documents

Publication Publication Date Title
US8487473B2 (en) Hierarchical power smoothing
TWI614601B (en) Discharging and charging method, non-transitory computer-readable storage medium, and system for discharging and charging a battery system
US8880907B2 (en) Method and system for determining physical location of equipment
US8006112B2 (en) System and method for managing blades after a power supply unit failure
US8952566B2 (en) Chassis slots accepting battery modules and other module types
US9891685B1 (en) Reconfigurable backup battery unit
US9389658B2 (en) Sequential power up of devices in a computing cluster based on device function
US9910471B1 (en) Reconfigurable array of backup battery units
US9479575B2 (en) Managing capacity on demand in a server cloud
US20100115509A1 (en) Power optimization via virtualization opportunity
US20160334850A1 (en) Hybrid control methods for uninterruptible power supplies
CN105450759A (en) System mirror image management method and device
TWI712876B (en) Computer system and computer-implemented method for managing power consumption of storage subsystem
US20180233947A1 (en) Device operating state modification with uninterruptible power source
US8065538B2 (en) Network element power management
CN108429335B (en) Power supply method and system
US9195299B2 (en) Sequential power up of devices in a computing cluster based on relative commonality
WO2017173926A1 (en) Power allocation method and device
US8745125B2 (en) Routing traffic after power failure
US9448608B1 (en) Switchable backup battery for layered datacenter components
US11696418B2 (en) Recommending IT equipment placement based on inferred hardware capabilities
CN102662702B (en) Equipment management system, device, substrate management devices and method
US20230307941A1 (en) Backup power allocation management
AU2008265754B2 (en) Method and system for determining physical location of network equipment
KR20200059435A (en) Method for setting Power Threshold based on BMC by estimating application importance of Virtual Machine

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 17778590

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17778590

Country of ref document: EP

Kind code of ref document: A1