Method, device, equipment and readable medium for power-on protection of data center equipment

文档序号:1888529 发布日期:2021-11-26 浏览:15次 中文

阅读说明:本技术 数据中心设备上电保护的方法、装置、设备及可读介质 (Method, device, equipment and readable medium for power-on protection of data center equipment ) 是由 陈春风 于 2021-07-30 设计创作,主要内容包括:本发明提供了一种数据中心设备上电保护的方法、装置、设备及可读介质,该方法包括:获取数据中心中各个机房内各设备的资源信息,并根据资源信息的大小将各个机房中的设备加入缓存队列;响应于接收到数据中心电源操作指令,计算各个机房的剩余安全电流值;基于计算得到的剩余安全电流值,在各个缓存队列中选择设备进行启动;响应于设备启动,监控机房的当前电流值并更新剩余安全电流值,并基于更新的剩余安全电流值在各个缓存队列中选择设备进行启动,重复该步骤直到各个机房的设备全部启动。通过使用本发明的方案,能够解决批量电源上电导致机房机柜瞬时电流过大的问题,能够保证业务系统的稳定运行。(The invention provides a method, a device, equipment and a readable medium for power-on protection of data center equipment, wherein the method comprises the following steps: acquiring resource information of each device in each machine room in the data center, and adding the devices in each machine room into a cache queue according to the size of the resource information; responding to the received power supply operation instruction of the data center, and calculating the residual safe current value of each machine room; based on the calculated residual safe current value, selecting equipment in each cache queue to start; and responding to the starting of the equipment, monitoring the current value of the machine room, updating the residual safe current value, selecting the equipment in each cache queue for starting based on the updated residual safe current value, and repeating the step until all the equipment in each machine room are started. By using the scheme of the invention, the problem of overlarge instantaneous current of the machine room cabinet caused by electrifying the batch power supplies can be solved, and the stable operation of a service system can be ensured.)

1. A method for power-on protection of data center equipment is characterized by comprising the following steps:

acquiring resource information of each device in each machine room in the data center, and adding the devices in each machine room into a cache queue according to the size of the resource information;

responding to the received power supply operation instruction of the data center, and calculating the residual safe current value of each machine room;

based on the calculated residual safe current value, selecting equipment in each cache queue to start;

and responding to the starting of the equipment, monitoring the current value of the machine room, updating the residual safe current value, selecting the equipment in each cache queue for starting based on the updated residual safe current value, and repeating the step until all the equipment in each machine room are started.

2. The method of claim 1, wherein the resource information comprises room location information, room voltage, maximum safe current information, cabinet current, voltage information, device boot up transient current, device operating current, device safe operating voltage.

3. The method of claim 2, wherein adding the devices in each room to the buffer queue according to the size of the resource information comprises:

and establishing a cache queue in each machine room, and adding the names of the equipment into the cache queue according to the sequence from small to large of the instant current when the equipment is started.

4. The method of claim 1, wherein calculating the remaining safe amperage for each machine room in response to receiving the data center power operation command comprises:

monitoring the current real-time current value of each machine room;

and subtracting the current real-time current value from the maximum safe current value of the machine room to obtain a residual safe current value.

5. The method of claim 1, wherein selecting devices in each buffer queue to boot based on the calculated remaining safe current value comprises:

continuously slowing down the starting instantaneous current value of the equipment stored in the queue by using the residual safe current value until the obtained difference value is less than 0;

and starting a plurality of devices with the obtained difference value larger than 0 at the same time.

6. An apparatus for power-on protection of data center equipment, the apparatus comprising:

the management module is configured to acquire resource information of each device in each machine room in the data center and add the devices in each machine room into a cache queue according to the size of the resource information;

the computing module is configured to respond to the received data center power supply operation instruction and compute the residual safe current value of each machine room;

the execution module is configured to select equipment in each cache queue for starting based on the calculated residual safe current value;

and the monitoring module is configured to respond to the starting of the equipment, monitor the current value of the machine room, update the residual safe current value, select the equipment in each cache queue to start based on the updated residual safe current value, and repeat the step until all the equipment in each machine room is started.

7. The method of claim 6, wherein the management module is further configured to:

and establishing a cache queue in each machine room, and adding the names of the equipment into the cache queue according to the sequence from small to large of the instant current when the equipment is started.

8. The method of claim 6, wherein the execution module is further configured to:

continuously slowing down the starting instantaneous current value of the equipment stored in the queue by using the residual safe current value until the obtained difference value is less than 0;

and starting a plurality of devices with the obtained difference value larger than 0 at the same time.

9. A computer device, comprising:

at least one processor; and

a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method of any one of claims 1 to 5.

10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.

Technical Field

The field relates to the field of computers, and more particularly to a method, an apparatus, a device and a readable medium for power-on protection of data center equipment.

Background

With the high-speed development of information technology, data centers are bigger and bigger, and the equipment of data centers is more and more, because of the limitation of consumer, the power consumption protection equipment rating of computer lab is limited, can't keep up with the speed that equipment increases, and power consumption protection also can't be completely according to enduring power consumption protection equipment. Along with the increase of equipment, the operation and maintenance mode of the equipment is also changed from manual operation to automatic operation and maintenance, the automation is basically batch processing operation, the condition that instantaneous current is too large easily occurs if batch power supply electrifying operation is not controlled, the instantaneous current is too large, the electricity utilization protector of the machine room can be burnt out, the power failure of the whole machine room is caused, the reduction of the finishing voltage of the machine room can be caused, the abnormal operation of the equipment of the machine room is caused, and the stable operation of a service system is influenced.

Disclosure of Invention

In view of this, embodiments of the present invention provide a method, an apparatus, a device, and a readable medium for power-on protection of data center equipment, and by using the technical solution of the present invention, a problem of excessive instantaneous current of a machine room cabinet caused by power-on of a batch power supply can be solved, and stable operation of a service system can be ensured.

In view of the above, an aspect of the embodiments of the present invention provides a method for power-on protection of data center equipment, including the following steps:

acquiring resource information of each device in each machine room in the data center, and adding the devices in each machine room into a cache queue according to the size of the resource information;

responding to the received power supply operation instruction of the data center, and calculating the residual safe current value of each machine room;

based on the calculated residual safe current value, selecting equipment in each cache queue to start;

and responding to the starting of the equipment, monitoring the current value of the machine room, updating the residual safe current value, selecting the equipment in each cache queue for starting based on the updated residual safe current value, and repeating the step until all the equipment in each machine room are started.

According to one embodiment of the invention, the resource information comprises machine room position information, machine room voltage, maximum safe current information, cabinet current, voltage information, equipment startup instantaneous current, equipment running current and equipment safe running voltage.

According to an embodiment of the present invention, adding the devices in each room into the cache queue according to the size of the resource information includes:

and establishing a cache queue in each machine room, and adding the names of the equipment into the cache queue according to the sequence from small to large of the instant current when the equipment is started.

According to one embodiment of the invention, in response to receiving the data center power supply operation instruction, calculating the remaining safe current value of each machine room comprises:

monitoring the current real-time current value of each machine room;

and subtracting the current real-time current value from the maximum safe current value of the machine room to obtain a residual safe current value.

According to an embodiment of the present invention, selecting a device in each buffer queue to start up based on the calculated remaining safe current value includes:

continuously slowing down the starting instantaneous current value of the equipment stored in the queue by using the residual safe current value until the obtained difference value is less than 0;

and starting a plurality of devices with the obtained difference value larger than 0 at the same time.

In another aspect of the embodiments of the present invention, there is also provided an apparatus for power-on protection of data center equipment, where the apparatus includes:

the management module is configured to acquire resource information of each device in each machine room in the data center and add the devices in each machine room into the cache queue according to the size of the resource information;

the computing module is configured to respond to the received data center power supply operation instruction and compute the residual safe current value of each machine room;

the execution module is configured to select equipment in each cache queue for starting based on the calculated residual safe current value;

and the monitoring module is configured to respond to the starting of the equipment, monitor the current value of the machine room, update the residual safe current value, select the equipment in each cache queue to start based on the updated residual safe current value, and repeat the step until all the equipment in each machine room is started.

According to one embodiment of the invention, the management module is further configured to:

and establishing a cache queue in each machine room, and adding the names of the equipment into the cache queue according to the sequence from small to large of the instant current when the equipment is started.

According to one embodiment of the invention, the execution module is further configured to:

continuously slowing down the starting instantaneous current value of the equipment stored in the queue by using the residual safe current value until the obtained difference value is less than 0;

and starting a plurality of devices with the obtained difference value larger than 0 at the same time.

In another aspect of an embodiment of the present invention, there is also provided a computer apparatus including:

at least one processor; and

a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of any of the methods described above.

In another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium storing a computer program, which when executed by a processor implements the steps of any one of the above-mentioned methods.

The invention has the following beneficial technical effects: according to the method for power-on protection of the data center equipment, resource information of each equipment in each machine room in the data center is obtained, and the equipment in each machine room is added into a cache queue according to the size of the resource information; responding to the received power supply operation instruction of the data center, and calculating the residual safe current value of each machine room; based on the calculated residual safe current value, selecting equipment in each cache queue to start; the method comprises the steps of responding to equipment starting, monitoring the current value of the machine room, updating the residual safe current value, selecting equipment in each cache queue to start based on the updated residual safe current value, repeating the steps until all the equipment of each machine room are started, solving the problem of overlarge instantaneous current of a machine room cabinet caused by power-on of a batch power supply, and ensuring stable operation of a service system.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.

FIG. 1 is a schematic flow chart diagram of a method of power-on protection for data center equipment according to one embodiment of the present invention;

FIG. 2 is a schematic diagram of an apparatus for power-on protection of data center equipment according to an embodiment of the present invention;

FIG. 3 is a schematic diagram of a computer device according to one embodiment of the present invention;

fig. 4 is a schematic diagram of a computer-readable storage medium according to an embodiment of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.

In view of the foregoing, a first aspect of the embodiments of the present invention provides an embodiment of a method for power-on protection of data center equipment. Fig. 1 shows a schematic flow diagram of the method.

As shown in fig. 1, the method may include the steps of:

s1, resource information of each device in each machine room in the data center is obtained, and the devices in each machine room are added into the cache queue according to the size of the resource information.

The resource information comprises machine room information, machine cabinet information and equipment information, wherein the machine room information mainly comprises position information, machine room voltage and maximum safe current information, the machine cabinet information mainly comprises machine cabinet current and voltage information, and the equipment information mainly comprises equipment starting instantaneous current, equipment running current and equipment safe running voltage. And establishing a buffer queue in each machine room by taking each machine room as a unit, and sequencing the buffer queues in a sequence from small to large according to the magnitude of the instant current of the equipment during starting.

S2 calculates the remaining safe current value of each machine room in response to receiving the data center power supply operation command.

The maximum safe current value of each machine room can be obtained according to the resource information, the current real-time current value of each machine room can be monitored through a current monitoring module, the maximum safe current value of the machine room is used for subtracting the current real-time current value to obtain a residual safe current value, and if the instantaneous current value of the next started equipment is greater than the safe current value, the machine room power utilization protector can be burnt out, so that the whole machine room is powered off.

S3 selects a device in each buffer queue to start up based on the calculated remaining safe current value.

And continuously slowing down the starting instantaneous current values of the devices stored in the queue by using the calculated residual safe current values until the obtained difference value is less than 0, and simultaneously starting a plurality of devices of which the obtained difference values are more than 0. For example, the remaining safe current value is used to subtract the starting instantaneous current value of the first device in the cache queue to obtain a first difference value, if the first difference value is greater than 0, the starting instantaneous current value of the second device is subtracted by the first difference value to obtain a second difference value, if the second difference value is greater than 0, the starting instantaneous current value of the third device is subtracted by the second difference value to obtain a third difference value, if the third difference value is less than 0, the first device and the second device are started at the same time, and the rest devices wait in the cache queue.

And S4, responding to the equipment starting, monitoring the current value of the machine room, updating the residual safe current value, selecting equipment in each cache queue for starting based on the updated residual safe current value, and repeating the step until all the equipment in each machine room are started.

And after the equipment is started, monitoring the real-time current value of the machine room, simultaneously recalculating the residual safe current value, continuously slowing down the starting instantaneous current value of the residual waiting equipment in the storage queue by using the recalculated residual safe current value until the obtained difference value is less than 0, and stopping monitoring the current and calculating until all the equipment in each machine room is started.

By the technical scheme, the problem that instantaneous current of the machine room cabinet is overlarge due to the fact that batch power supplies are electrified can be solved, and stable operation of a service system can be guaranteed.

In a preferred embodiment of the present invention, the resource information includes machine room location information, machine room voltage, maximum safe current information, cabinet current, voltage information, device startup instantaneous current, device operating current, and device safe operating voltage.

In a preferred embodiment of the present invention, adding the devices in each room into the cache queue according to the size of the resource information includes:

and establishing a cache queue in each machine room, and adding the names of the equipment into the cache queue according to the sequence from small to large of the instant current when the equipment is started.

In a preferred embodiment of the present invention, in response to receiving the data center power supply operation command, calculating the remaining safe current value of each machine room includes:

monitoring the current real-time current value of each machine room;

and subtracting the current real-time current value from the maximum safe current value of the machine room to obtain a residual safe current value.

In a preferred embodiment of the present invention, selecting a device in each buffer queue to start up based on the calculated remaining safe current value includes:

continuously slowing down the starting instantaneous current value of the equipment stored in the queue by using the residual safe current value until the obtained difference value is less than 0;

and starting a plurality of devices with the obtained difference value larger than 0 at the same time.

By the technical scheme, the problem that instantaneous current of the machine room cabinet is overlarge due to the fact that batch power supplies are electrified can be solved, and stable operation of a service system can be guaranteed.

It should be noted that, as will be understood by those skilled in the art, all or part of the processes in the methods of the above embodiments may be implemented by instructing relevant hardware through a computer program, and the above programs may be stored in a computer-readable storage medium, and when executed, the programs may include the processes of the embodiments of the methods as described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.

Furthermore, the method disclosed according to an embodiment of the present invention may also be implemented as a computer program executed by a CPU, and the computer program may be stored in a computer-readable storage medium. The computer program, when executed by the CPU, performs the above-described functions defined in the method disclosed in the embodiments of the present invention.

In view of the above object, according to a second aspect of the embodiments of the present invention, an apparatus for power protection on data center equipment is provided, as shown in fig. 2, the apparatus 200 includes:

the management module is configured to acquire resource information of each device in each machine room in the data center and add the devices in each machine room into the cache queue according to the size of the resource information;

the computing module is configured to respond to the received data center power supply operation instruction and compute the residual safe current value of each machine room;

the execution module is configured to select equipment in each cache queue for starting based on the calculated residual safe current value;

and the monitoring module is configured to respond to the starting of the equipment, monitor the current value of the machine room, update the residual safe current value, select the equipment in each cache queue to start based on the updated residual safe current value, and repeat the step until all the equipment in each machine room is started.

In a preferred embodiment of the present invention, the resource information includes machine room location information, machine room voltage, maximum safe current information, cabinet current, voltage information, device startup instantaneous current, device operating current, and device safe operating voltage.

In a preferred embodiment of the present invention, the management module is further configured to:

and establishing a cache queue in each machine room, and adding the names of the equipment into the cache queue according to the sequence from small to large of the instant current when the equipment is started.

In a preferred embodiment of the invention, the calculation module is further configured to:

monitoring the current real-time current value of each machine room;

and subtracting the current real-time current value from the maximum safe current value of the machine room to obtain a residual safe current value.

In a preferred embodiment of the present invention, the execution module is further configured to:

continuously slowing down the starting instantaneous current value of the equipment stored in the queue by using the residual safe current value until the obtained difference value is less than 0;

and starting a plurality of devices with the obtained difference value larger than 0 at the same time.

In view of the above object, a third aspect of the embodiments of the present invention provides a computer device. Fig. 3 is a schematic diagram of an embodiment of a computer device provided by the present invention. As shown in fig. 3, an embodiment of the present invention includes the following means: at least one processor S21; and a memory S22, the memory S22 storing computer instructions S23 executable on the processor, the instructions when executed by the processor implementing the method of:

acquiring resource information of each device in each machine room in the data center, and adding the devices in each machine room into a cache queue according to the size of the resource information;

responding to the received power supply operation instruction of the data center, and calculating the residual safe current value of each machine room;

based on the calculated residual safe current value, selecting equipment in each cache queue to start;

and responding to the starting of the equipment, monitoring the current value of the machine room, updating the residual safe current value, selecting the equipment in each cache queue for starting based on the updated residual safe current value, and repeating the step until all the equipment in each machine room are started.

In a preferred embodiment of the present invention, the resource information includes machine room location information, machine room voltage, maximum safe current information, cabinet current, voltage information, device startup instantaneous current, device operating current, and device safe operating voltage.

In a preferred embodiment of the present invention, adding the devices in each room into the cache queue according to the size of the resource information includes:

and establishing a cache queue in each machine room, and adding the names of the equipment into the cache queue according to the sequence from small to large of the instant current when the equipment is started.

In a preferred embodiment of the present invention, in response to receiving the data center power supply operation command, calculating the remaining safe current value of each machine room includes:

monitoring the current real-time current value of each machine room;

and subtracting the current real-time current value from the maximum safe current value of the machine room to obtain a residual safe current value.

In a preferred embodiment of the present invention, selecting a device in each buffer queue to start up based on the calculated remaining safe current value includes:

continuously slowing down the starting instantaneous current value of the equipment stored in the queue by using the residual safe current value until the obtained difference value is less than 0;

and starting a plurality of devices with the obtained difference value larger than 0 at the same time.

In view of the above object, a fourth aspect of the embodiments of the present invention proposes a computer-readable storage medium. FIG. 4 is a schematic diagram illustrating an embodiment of a computer-readable storage medium provided by the present invention. As shown in fig. 4, the computer readable storage medium S31 stores a computer program S32 that when executed by a processor performs the method of:

acquiring resource information of each device in each machine room in the data center, and adding the devices in each machine room into a cache queue according to the size of the resource information;

responding to the received power supply operation instruction of the data center, and calculating the residual safe current value of each machine room;

based on the calculated residual safe current value, selecting equipment in each cache queue to start;

and responding to the starting of the equipment, monitoring the current value of the machine room, updating the residual safe current value, selecting the equipment in each cache queue for starting based on the updated residual safe current value, and repeating the step until all the equipment in each machine room are started.

In a preferred embodiment of the present invention, the resource information includes machine room location information, machine room voltage, maximum safe current information, cabinet current, voltage information, device startup instantaneous current, device operating current, and device safe operating voltage.

In a preferred embodiment of the present invention, adding the devices in each room into the cache queue according to the size of the resource information includes:

and establishing a cache queue in each machine room, and adding the names of the equipment into the cache queue according to the sequence from small to large of the instant current when the equipment is started.

In a preferred embodiment of the present invention, in response to receiving the data center power supply operation command, calculating the remaining safe current value of each machine room includes:

monitoring the current real-time current value of each machine room;

and subtracting the current real-time current value from the maximum safe current value of the machine room to obtain a residual safe current value.

In a preferred embodiment of the present invention, selecting a device in each buffer queue to start up based on the calculated remaining safe current value includes:

continuously slowing down the starting instantaneous current value of the equipment stored in the queue by using the residual safe current value until the obtained difference value is less than 0;

and starting a plurality of devices with the obtained difference value larger than 0 at the same time.

Furthermore, the methods disclosed according to embodiments of the present invention may also be implemented as a computer program executed by a processor, which may be stored in a computer-readable storage medium. Which when executed by a processor performs the above-described functions defined in the methods disclosed in embodiments of the invention.

Further, the above method steps and system elements may also be implemented using a controller and a computer readable storage medium for storing a computer program for causing the controller to implement the functions of the above steps or elements.

Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.

In one or more exemplary designs, the functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk, blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.

The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.

It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.

The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.

It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.

Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种温度调节方法、装置及系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!