CN111736685A - Batch power-on method, system, terminal and storage medium for IT hardware equipment - Google Patents

Batch power-on method, system, terminal and storage medium for IT hardware equipment Download PDF

Info

Publication number
CN111736685A
CN111736685A CN202010536594.3A CN202010536594A CN111736685A CN 111736685 A CN111736685 A CN 111736685A CN 202010536594 A CN202010536594 A CN 202010536594A CN 111736685 A CN111736685 A CN 111736685A
Authority
CN
China
Prior art keywords
current
power
value
batch
hardware
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010536594.3A
Other languages
Chinese (zh)
Inventor
贾伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202010536594.3A priority Critical patent/CN111736685A/en
Publication of CN111736685A publication Critical patent/CN111736685A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
    • G06F1/305Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations in the event of power-supply fluctuations

Abstract

The invention provides a batch electrifying method, a system, a terminal and a storage medium of IT hardware equipment, which can analyze the minimum electrifying starting batch met by each IT hardware equipment of a data center/machine room based on the calculated current value of the current flowing in each IT hardware equipment, the preset maximum total current value born by a parallel circuit formed by each IT hardware equipment and the prestored current stable value corresponding to each IT hardware equipment, divide the IT hardware equipment belonging to the same batch into the same electrifying group respectively to obtain a corresponding number of electrifying groups, and then electrify according to the obtained electrifying groups. The invention can avoid manual power-on, also can consider the problem of the maximum current borne by the parallel circuit formed by the IT hardware equipment, is beneficial to increasing the safety of batch power-on, can ensure that the power-on batch is minimum, and is further beneficial to accelerating the power-on starting of the IT hardware equipment in the data center/machine room.

Description

Batch power-on method, system, terminal and storage medium for IT hardware equipment
Technical Field
The invention relates to the field of IT hardware equipment power-on, in particular to a batch power-on method, a batch power-on system, a batch power-on terminal and a storage medium of IT hardware equipment.
Background
With the development of data centers, many enterprises have built their own data centers as data centers for enterprise data transmission, calculation and storage centers. Data centers typically integrate a variety of IT hardware devices, such as network devices, security devices, servers, and storage devices. The number of IT hardware devices (actually, servers) in a machine room (an enterprise laboratory machine room, a school machine room, etc.) is often large.
The IT hardware equipment of the data center and the IT hardware equipment in the machine room can work after being electrified. For a data center and a computer room, a common power-on scheme at present is to manually power on one by one or write scripts in batch according to experience quantity that power can be simultaneously powered on each time to perform power-on and power-on operations. However, the IT hardware devices of the data center are connected in parallel (forming a parallel circuit), and the IT hardware devices of the computer room are also connected in parallel (forming a parallel circuit), so that the power-on scheme has relatively great risk potential. For example, the whole or part of the IT hardware devices (some IT hardware devices are in a power-on state) of the data center are powered on and powered on in batch, and according to the parallel current principle, with the increase of the power-on number of the IT hardware devices of the data center, the total current of the parallel circuit formed by the IT hardware devices is accumulated, so that the fuse of the whole parallel circuit is easily blown, the power-on of the device is affected, and even the damage of the IT hardware devices may be caused.
Therefore, the invention provides a batch power-on method, a batch power-on system, a batch power-on terminal and a storage medium for IT hardware equipment, which are used for solving the problems.
Disclosure of Invention
In view of the above disadvantages of the prior art, the present invention provides a batch power-on method, system, terminal and storage medium for IT hardware devices, which are used to avoid the use of manual power-on mode and to increase the safety of batch power-on.
In a first aspect, the present invention provides a batch power-on method for IT hardware devices, which is applied to a data center/computer room, and the batch power-on method includes the steps of:
capturing the current power of each IT hardware device of the data center/machine room;
correspondingly calculating the current value of the current flowing into each IT hardware device based on the captured current power;
analyzing the minimum power-on starting batch satisfied by each IT hardware device based on the calculated current value flowing into each IT hardware device, the preset maximum total current value born by a parallel circuit formed by each IT hardware device and the prestored current stable value corresponding to each IT hardware device, and dividing the IT hardware devices belonging to the same batch into the same power-on group to obtain the corresponding number of power-on groups; the current stable value is a stable value with a large probability trend calculated based on sampling data of current flowing into the IT hardware equipment in a starting state after the IT hardware equipment is powered on last time;
and powering up in sequence according to the obtained power-up groups.
Further, the minimum power-on starting batch satisfied by each IT hardware device is analyzed based on the calculated current value flowing into each IT hardware device, the preset maximum total current value that can be borne by the parallel circuit formed by each IT hardware device, and the prestored current stable value corresponding to each IT hardware device, and the method comprises the following steps:
step s1, finding out all combinations of the calculated current values currently flowing into the IT hardware devices, and calculating the sum of each combination;
step s2, finding out the combination with the sum value closest to the maximum current total value according to the calculated sum value of each combination, wherein the IT hardware devices in the currently found combination belong to the same power-on starting batch;
step s3, finding out all combinations of values which do not belong to any power-on starting batch currently in the calculated values of the current flowing into the IT hardware equipment, and calculating the sum of each combination;
step s4, finding out the combination with the closest difference value obtained by subtracting the current stable value corresponding to each IT hardware device in the last power-on starting batch from the sum value of each combination calculated in the step s3, wherein the IT hardware devices in the currently found combination belong to the same power-on starting batch;
and step s5, continuing to execute step s3 until there is no value which does not belong to any power-on starting batch in the calculated values of the current flowing into each IT hardware device.
Further, the batch power-on method comprises the following steps:
sampling current flowing into each IT hardware device within a preset first time period T1 after the IT hardware device is powered on;
and for each IT hardware device, calculating and storing a corresponding current stable value in the current starting state based on the data obtained by sampling.
Further, each of the current stabilization values is a stable value of an approximate probability trend calculated by using a poisson distribution formula.
In a second aspect, the present invention provides a batch power-on system for IT hardware devices, which is applied to a data center/computer room, and includes:
the current power capturing module is used for capturing the current power of each IT hardware device of the data center/computer room;
the current value calculation module is used for correspondingly calculating the current value of current flowing into each IT hardware device based on the current power captured by the current power capture module;
a power-on group acquisition module, configured to analyze a minimum power-on start-up batch that is satisfied by each IT hardware device based on the calculated current value flowing into each IT hardware device, a preset maximum total current value that can be borne by a parallel circuit formed by each IT hardware device, and a prestored current stabilization value that corresponds to each IT hardware device, and divide the IT hardware devices belonging to the same batch into the same power-on group, so as to obtain a corresponding number of power-on groups; the current stable value is a stable value with a large probability trend calculated based on sampling data of current flowing into the IT hardware equipment in a starting state after the IT hardware equipment is powered on last time;
and the power-on module is used for sequentially powering on the power-on packets obtained in the power-on packet acquisition module.
Further, the power-on packet obtaining module analyzes the minimum power-on start-up batch that each IT hardware device satisfies based on the calculated current value currently flowing into each IT hardware device, based on a preset maximum total current value that a parallel circuit formed by each IT hardware device can bear, and based on a prestored current stable value that each IT hardware device corresponds to, and the adopted implementation method includes:
step s1, finding out all combinations of the calculated current values currently flowing into the IT hardware devices, and calculating the sum of each combination;
step s2, finding out the combination with the sum value closest to the maximum current total value according to the calculated sum value of each combination, wherein the IT hardware devices in the currently found combination belong to the same power-on starting batch;
step s3, finding out all combinations of values which do not belong to any power-on starting batch in the calculated values of the current flowing into the IT hardware equipment, and calculating the sum of each combination;
step s4, finding out the combination with the closest difference value obtained by subtracting the current stable value corresponding to each IT hardware device in the last power-on starting batch from the sum value of each combination calculated in the step s3, wherein the IT hardware devices in the currently found combination belong to the same power-on starting batch;
and step s5, continuing to execute step s3 until there is no value which does not belong to any power-on starting batch in the calculated values of the current flowing into each IT hardware device.
Further, the batch power-on system of the IT hardware devices further includes a current stabilization value calculation module for calculating a current stabilization value of each of the IT hardware devices, and the method for calculating the current stabilization value of each of the IT hardware devices by the current stabilization value calculation module specifically includes the steps of:
sampling current flowing into each IT hardware device within a preset first time period T1 after the IT hardware device is powered on;
and for each IT hardware device, calculating and storing a corresponding current stable value in the current starting state based on the data obtained by sampling.
Further, the batch power-on system further comprises:
and the maximum current total value recording module is used for setting and resetting the maximum current total value.
In a third aspect, a terminal is provided, including:
a processor;
a memory for storing instructions for execution by the processor;
wherein the processor is configured to perform the batch power-up method of the above aspects.
In a fourth aspect, a computer storage medium is provided, having instructions stored therein, which when executed on a computer, cause the computer to perform the batch power-on method of the above aspects.
The beneficial effect of the invention is that,
the method, the system, the terminal and the storage medium for electrifying the IT hardware equipment in batches provided by the invention can analyze the minimum electrifying starting batch met by the IT hardware equipment in a data center/machine room based on the calculated current value currently flowing into the IT hardware equipment, the preset maximum total current value born by a parallel circuit formed by the IT hardware equipment and the prestored current stable value corresponding to the IT hardware equipment, divide the IT hardware equipment belonging to the same batch into the same electrifying group to obtain the corresponding number of electrifying groups, and then electrify the IT hardware equipment in sequence according to the obtained electrifying groups, thereby avoiding the use of a manual electrifying mode, taking the problem of the maximum current born by the parallel circuit formed by the IT hardware equipment into consideration, and increasing the safety of batch electrifying to a certain extent (for example, being beneficial to avoiding the damage of the IT hardware equipment, improving the safety of batch electrifying, Which is helpful to avoid or reduce the fusing of the fuse of the whole parallel circuit), and can minimize the power-on batch, thereby being helpful to accelerate the power-on and startup of each IT hardware device in the data center/machine room.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram of a batch power-up method of one embodiment of the present invention.
FIG. 2 is a schematic block diagram of a batch power-up system of one embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
FIG. 1 is a schematic flow chart diagram of a batch power-up method of one embodiment of the present invention.
As shown in fig. 1, the method 100 is applied to a data center/computer room, and specifically includes:
step 110, capturing the current power of each IT hardware device of the data center/machine room;
step 120, correspondingly calculating the current value flowing into each IT hardware device based on the captured current power;
step 130, analyzing the minimum power-on starting batch satisfied by each IT hardware device based on the calculated current value currently flowing into each IT hardware device, the preset maximum total current value born by the parallel circuit formed by each IT hardware device, and the prestored current stable value corresponding to each IT hardware device, and dividing the IT hardware devices belonging to the same batch into the same power-on group to obtain a corresponding number of power-on groups; the current stable value is a stable value with a large probability trend calculated based on sampling data of current flowing into the IT hardware equipment in a starting state after the IT hardware equipment is powered on last time;
and step 140, sequentially powering up according to the obtained power-up groups.
Optionally, as an embodiment of the present invention, in the step 130, based on the calculated current value currently flowing into each IT hardware device, based on a preset maximum total current value that can be borne by a parallel circuit formed by each IT hardware device, and based on a prestored current stable value corresponding to each IT hardware device, a minimum power-on and power-on batch that each IT hardware device satisfies is analyzed, where the adopted implementation method includes the steps of:
step s1, finding out all combinations of the calculated current values currently flowing into the IT hardware devices, and calculating the sum of each combination;
step s2, finding out the combination with the sum value closest to the maximum current total value according to the calculated sum value of each combination, wherein the IT hardware devices in the currently found combination belong to the same power-on starting batch;
step s3, finding out all combinations of values which do not belong to any power-on starting batch in the calculated values of the current flowing into the IT hardware equipment, and calculating the sum of each combination;
step s4, finding out the combination with the closest difference value obtained by subtracting the current stable value corresponding to each IT hardware device in the last power-on starting batch from the sum value of each combination calculated in the step s3, wherein the IT hardware devices in the currently found combination belong to the same power-on starting batch;
and step s5, continuing to execute step s3 until there is no value which does not belong to any power-on starting batch in the calculated values of the current flowing into each IT hardware device. So far, all power-on batches are obtained.
Optionally, as an embodiment of the present invention, the batch power-up method 100 further includes the steps of:
sampling current flowing into each IT hardware device within a preset first time period T1 after the IT hardware device is powered on;
and for each IT hardware device, calculating and storing a corresponding current stable value in the current starting state based on the data obtained by sampling.
Optionally, as an embodiment of the present invention, each current stable value involved in the present invention is a stable value of an approximate probability trend calculated by using a poisson distribution formula.
In order to facilitate understanding of the present invention, the batch power-on method provided by the present invention is further described below with reference to the principle of the batch power-on method of the present invention and the process of performing batch power-on each server in the computer room in the embodiment.
Specifically, the batch power-on method includes:
step P1: and capturing the current power of each server in the machine room.
In this embodiment, there are 20 servers in the computer room, and the 20 servers are arranged in parallel.
In this step P1, IPMI commands are used to capture the current power of each server in the computer room.
Step P2: the current value corresponds to the current value of the current flowing into each server (20 servers) in the computer room, that is, the current value, based on the current power captured in step P1.
The current flowing into each server in the computer room before power-on and power-on is calculated through the step P2, and data is saved.
Step P3: analyzing the minimum power-on starting batch satisfied by each server based on the current value currently flowing into each server calculated in the step P2, the maximum total current value born by the parallel circuit formed by each server preset, and the respective corresponding current stable value in each server stored in advance, and dividing the servers belonging to the same batch into the same power-on group to obtain the corresponding number of power-on groups.
Specifically, the minimum power-on startup batch that each server satisfies is analyzed based on the current value currently flowing into each server calculated in step P2, based on the preset maximum total current value that can be borne by the parallel circuit formed by each server, and based on the prestored current stability value corresponding to each server, and the adopted implementation method includes the steps of:
step P31: finding out all combinations of the values of the current currently flowing in the servers calculated in step P2, and calculating the sum of each combination; then step P32 is executed;
step P32: finding out a combination with the sum value closest to the maximum current total value according to the sum value of each combination calculated in the step P31, wherein the servers in the currently found combination belong to the same power-on starting batch;
step P33: finding out all combinations of values which do not belong to any power-on starting batch currently in the current values of the servers calculated in the step P2, and calculating the sum of each combination;
step P34: according to the sum of each combination calculated in the step P33, finding out the combination with the closest difference obtained by subtracting the current stable value corresponding to each server in the last power-on starting batch from the sum of the maximum current and the current stable value, wherein the servers in the currently found combination belong to the same power-on starting batch; then step P35 is executed;
step P35: the step P33 is continuously executed until there is no value of the calculated current flowing into each server that does not belong to any power-on startup batch.
Step P4: and powering up in sequence according to the obtained power-up groups.
For example, there are three power-up packets, i.e., power-up packet 1, power-up packet 2, and power-up packet 3, and power-up packet 1, power-up packet 2, and power-up packet 3 may be sequentially powered up.
In specific implementation, a power-on starting instruction is issued to each IT hardware device in the same power-on group through multiple threads. For example, for one power-on packet in this embodiment, a multithread is used to issue a power-on start-up instruction to each server in the packet, and specifically, the power-on start-up instruction issued to a server whose ip address is 192.168.100.100 may be referred to:
IPMI –I lanplus –H 192.168.100.100 -U user –P password power on
in the present embodiment, when the execution of step P4 is completed, the execution of step P5 is resumed. Step P5:
for each of the servers (20), sampling the current flowing into the server within a first time period T1 (for example, 30 minutes) preset after the server is powered on;
and for each server, respectively calculating (calculating by a Poisson distribution formula) a corresponding current stable value in the current starting state of the server based on the sampled data, and storing the current stable value.
And the stored current stable value is used for powering on and starting up the servers in the machine room in the next batch.
FIG. 2 is an embodiment of a batch power-on system for IT hardware devices in accordance with the present invention. The batch power-on system of the IT hardware equipment is applied to a data center/computer room.
As shown in fig. 2, the batch power-on system includes:
a current power capturing module 201, configured to capture current power of each IT hardware device in the data center/computer room;
a current value calculating module 202, configured to correspondingly calculate a current value of a current flowing into each IT hardware device based on the current power captured by the current power capturing module 201;
a power-on group obtaining module 203, configured to analyze a minimum power-on start-up batch that is satisfied by each IT hardware device based on the current value currently flowing into each IT hardware device calculated by the current value calculating module 202, a maximum total current value that can be borne by a parallel circuit formed by each preset IT hardware device, and a current stability value that is stored in advance and corresponds to each IT hardware device, and divide the IT hardware devices belonging to the same batch into the same power-on group, so as to obtain a corresponding number of power-on groups; the current stable value is a stable value with a large probability trend calculated based on sampling data of current flowing into the IT hardware equipment in a starting state after the IT hardware equipment is powered on last time;
and a power-on module 204, configured to power on the power-on packets obtained in the power-on packet obtaining module 203 in sequence.
Optionally, as an embodiment of the present invention, the power-on packet obtaining module 203 analyzes the minimum power-on startup batch that each IT hardware device satisfies based on the current value currently flowing into each IT hardware device calculated by the current value calculating module 202, the preset maximum total current value that can be borne by the parallel circuit formed by each IT hardware device, and the prestored current stable value that each IT hardware device corresponds to, and the implemented method includes:
step s1, finding out all combinations of the calculated current values currently flowing into the IT hardware devices, and calculating the sum of each combination;
step s2, finding out the combination with the sum value closest to the maximum current total value according to the calculated sum value of each combination, wherein the IT hardware devices in the currently found combination belong to the same power-on starting batch;
step s3, finding out all combinations of values which do not belong to any power-on starting batch currently in the calculated values of the current flowing into the IT hardware equipment, and calculating the sum of each combination;
step s4, finding out the combination with the closest difference value obtained by subtracting the current stable value corresponding to each IT hardware device in the last power-on starting batch from the sum value of each combination calculated in the step s3, wherein the IT hardware devices in the currently found combination belong to the same power-on starting batch;
and step s5, continuing to execute step s3 until there is no value which does not belong to any power-on starting batch in the calculated values of the current flowing into each IT hardware device.
Optionally, as an embodiment of the present invention, the batch power-on system of the IT hardware devices further includes a current stabilization value calculation module for calculating a current stabilization value of each IT hardware device, and the method for calculating the current stabilization value of each IT hardware device by the current stabilization value calculation module specifically includes:
sampling current flowing into each IT hardware device within a preset first time period T1 after the IT hardware device is powered on;
and for each IT hardware device, calculating and storing a corresponding current stable value in the current starting state based on the data obtained by sampling.
Optionally, as an embodiment of the present invention, the batch power-on system further includes:
and the maximum current total value recording module is used for setting and resetting the maximum current total value.
Each current stabilization value in the present embodiment is a steady value of a rough trend calculated by using a poisson distribution formula.
Fig. 3 is a schematic structural diagram of a terminal 300 according to an embodiment of the present invention, where the terminal 300 may be used to execute the batch power-on method 100 according to the embodiment of the present invention.
Among them, the terminal 300 may include: a processor 310, a memory 320, and a communication unit 330. The components communicate via one or more buses, and those skilled in the art will appreciate that the architecture of the servers shown in the figures is not intended to be limiting, and may be a bus architecture, a star architecture, a combination of more or less components than those shown, or a different arrangement of components.
The memory 320 may be used for storing instructions executed by the processor 310, and the memory 320 may be implemented by any type of volatile or non-volatile storage terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The executable instructions in memory 320, when executed by processor 310, enable terminal 300 to perform some or all of the steps in the method embodiments described below.
The processor 310 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by operating or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory. The processor may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the processor 310 may include only a Central Processing Unit (CPU). In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
A communication unit 330, configured to establish a communication channel so that the storage terminal can communicate with other terminals. And receiving user data sent by other terminals or sending the user data to other terminals.
The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include some or all of the steps in the embodiments provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
The same and similar parts in the various embodiments in this specification may be referred to each other. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and the relevant points can be referred to the description in the method embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed system, terminal and method can be implemented in other manners. For example, the system embodiments described above are merely illustrative, and for example, the division of modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented.
Although the present invention has been described in detail by referring to the drawings in connection with the preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A batch power-on method of IT hardware equipment is applied to a data center/computer room and is characterized by comprising the following steps:
capturing the current power of each IT hardware device of the data center/machine room;
correspondingly calculating the current value of the current flowing into each IT hardware device based on the captured current power;
analyzing the minimum power-on starting batch satisfied by each IT hardware device based on the calculated current value flowing into each IT hardware device, the preset maximum total current value born by a parallel circuit formed by each IT hardware device and the prestored current stable value corresponding to each IT hardware device, and dividing the IT hardware devices belonging to the same batch into the same power-on group to obtain the corresponding number of power-on groups; the current stable value is a stable value with a large probability trend calculated based on sampling data of current flowing into the IT hardware equipment in a starting state after the IT hardware equipment is powered on last time;
and powering up in sequence according to the obtained power-up groups.
2. The method of claim 1, further comprising the step of analyzing a minimum power-on starting batch satisfied by each IT hardware device based on the calculated current value currently flowing into each IT hardware device, a preset maximum total current value that a parallel circuit formed by the IT hardware devices can bear, and a prestored current stabilization value corresponding to each IT hardware device, wherein the method comprises the steps of:
step s1, finding out all combinations of the calculated current values currently flowing into the IT hardware devices, and calculating the sum of each combination;
step s2, finding out the combination with the sum value closest to the maximum current total value according to the calculated sum value of each combination, wherein the IT hardware devices in the currently found combination belong to the same power-on starting batch;
step s3, finding out all combinations of values which do not belong to any power-on starting batch currently in the calculated values of the current flowing into the IT hardware equipment, and calculating the sum of each combination;
step s4, finding out the combination with the closest difference value obtained by subtracting the current stable value corresponding to each IT hardware device in the last power-on starting batch from the sum value of each combination calculated in the step s3, wherein the IT hardware devices in the currently found combination belong to the same power-on starting batch;
and step s5, continuing to execute step s3 until there is no value which does not belong to any power-on starting batch in the calculated values of the current flowing into each IT hardware device.
3. The method of claim 1, further comprising the steps of:
sampling current flowing into each IT hardware device within a preset first time period T1 after the IT hardware device is powered on;
and for each IT hardware device, calculating and storing a corresponding current stable value in the current starting state based on the data obtained by sampling.
4. The method of claim 1, 2 or 3, wherein each of the stable current values is a stable value of a large probability trend calculated by using a Poisson distribution formula.
5. A batch electrification system of IT hardware equipment is applied to a data center/machine room and is characterized by comprising:
the current power capturing module is used for capturing the current power of each IT hardware device of the data center/computer room;
the current value calculation module is used for correspondingly calculating the current value of current flowing into each IT hardware device based on the current power captured by the current power capture module;
a power-on group acquisition module, configured to analyze a minimum power-on start-up batch that is satisfied by each IT hardware device based on the calculated current value flowing into each IT hardware device, a preset maximum total current value that can be borne by a parallel circuit formed by each IT hardware device, and a prestored current stabilization value that corresponds to each IT hardware device, and divide the IT hardware devices belonging to the same batch into the same power-on group, so as to obtain a corresponding number of power-on groups; the current stable value is a stable value with a large probability trend calculated based on sampling data of current flowing into the IT hardware equipment in a starting state after the IT hardware equipment is powered on last time;
and the power-on module is used for sequentially powering on the power-on packets obtained in the power-on packet acquisition module.
6. The system of claim 5, further comprising the power-on group acquisition module configured to analyze a minimum power-on start batch that the IT hardware devices satisfy based on the calculated current value flowing into the IT hardware devices, a preset maximum total current value that a parallel circuit formed by the IT hardware devices can withstand, and a prestored current stability value corresponding to each IT hardware device, wherein the implementation method comprises:
step s1, finding out all combinations of the calculated current values currently flowing into the IT hardware devices, and calculating the sum of each combination;
step s2, finding out the combination with the sum value closest to the maximum current total value according to the calculated sum value of each combination, wherein the IT hardware devices in the currently found combination belong to the same power-on starting batch;
step s3, finding out all combinations of values which do not belong to any power-on starting batch in the calculated values of the current flowing into the IT hardware equipment, and calculating the sum of each combination;
step s4, finding out the combination with the closest difference value obtained by subtracting the current stable value corresponding to each IT hardware device in the last power-on starting batch from the sum value of each combination calculated in the step s3, wherein the IT hardware devices in the currently found combination belong to the same power-on starting batch;
and step s5, continuing to execute step s3 until there is no value which does not belong to any power-on starting batch in the calculated values of the current flowing into each IT hardware device.
7. The batch power-on system of the IT hardware devices of claim 5, further comprising a current stabilization value calculation module for calculating a current stabilization value of each of the IT hardware devices, wherein the method for calculating the current stabilization value of each of the IT hardware devices by the current stabilization value calculation module specifically comprises the steps of:
sampling current flowing into each IT hardware device within a preset first time period T1 after the IT hardware device is powered on;
and for each IT hardware device, calculating and storing a corresponding current stable value in the current starting state based on the data obtained by sampling.
8. The batch power-on system of IT hardware devices of claim 5, further comprising:
and the maximum current total value recording module is used for setting and resetting the maximum current total value.
9. A terminal, comprising:
a processor;
a memory for storing instructions for execution by the processor;
wherein the processor is configured to perform the batch power-up method of any one of claims 1-4.
10. A computer-readable storage medium storing a computer program, wherein the program, when executed by a processor, implements the batch power-up method of any one of claims 1-4.
CN202010536594.3A 2020-06-12 2020-06-12 Batch power-on method, system, terminal and storage medium for IT hardware equipment Pending CN111736685A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010536594.3A CN111736685A (en) 2020-06-12 2020-06-12 Batch power-on method, system, terminal and storage medium for IT hardware equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010536594.3A CN111736685A (en) 2020-06-12 2020-06-12 Batch power-on method, system, terminal and storage medium for IT hardware equipment

Publications (1)

Publication Number Publication Date
CN111736685A true CN111736685A (en) 2020-10-02

Family

ID=72648963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010536594.3A Pending CN111736685A (en) 2020-06-12 2020-06-12 Batch power-on method, system, terminal and storage medium for IT hardware equipment

Country Status (1)

Country Link
CN (1) CN111736685A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130097413A1 (en) * 2011-10-18 2013-04-18 Hon Hai Precision Industry Co., Ltd. Computing device and method for controlling a startup current of a storage system
CN110147157A (en) * 2019-05-23 2019-08-20 苏州浪潮智能科技有限公司 A kind of starting method, system and the associated component of storage server
CN110399028A (en) * 2019-06-28 2019-11-01 苏州浪潮智能科技有限公司 Method, equipment and the medium for preventing surge from occurring when a kind of power supply batch operation
CN110442222A (en) * 2019-07-08 2019-11-12 新华三技术有限公司成都分公司 Hard disk electrification control method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130097413A1 (en) * 2011-10-18 2013-04-18 Hon Hai Precision Industry Co., Ltd. Computing device and method for controlling a startup current of a storage system
CN110147157A (en) * 2019-05-23 2019-08-20 苏州浪潮智能科技有限公司 A kind of starting method, system and the associated component of storage server
CN110399028A (en) * 2019-06-28 2019-11-01 苏州浪潮智能科技有限公司 Method, equipment and the medium for preventing surge from occurring when a kind of power supply batch operation
CN110442222A (en) * 2019-07-08 2019-11-12 新华三技术有限公司成都分公司 Hard disk electrification control method and device

Similar Documents

Publication Publication Date Title
CN110727556A (en) BMC health state monitoring method, system, terminal and storage medium
CN110557299A (en) network transmission function batch test method, system, terminal and storage medium
CN109788052B (en) Server configuration remote query method, device, terminal and storage medium
CN111966551A (en) Method, system, terminal and storage medium for verifying remote command execution result
CN110554917A (en) method, system, terminal and storage medium for efficiently traversing large data volume set
CN110569154A (en) Chip interface function testing method, system, terminal and storage medium
CN113076231A (en) Server application scene setting method, system, terminal and storage medium
CN112003730A (en) Method, system, terminal and storage medium for rapid cluster deployment
CN111736685A (en) Batch power-on method, system, terminal and storage medium for IT hardware equipment
CN112463195B (en) Method, system, terminal and storage medium for cluster grouping online upgrade
CN111124772A (en) Cloud platform storage performance testing method, system, terminal and storage medium
CN116450165A (en) Method, system, terminal and storage medium for quickly building environment and deploying program
CN113111378B (en) Terminal, storage medium, annotation method and system, and pre-verification method and system
CN109257256A (en) Apparatus monitoring method, device, computer equipment and storage medium
CN114390114A (en) Method, system, terminal and storage medium for scanning user data packet protocol port
CN112463504B (en) Double-control storage product testing method, system, terminal and storage medium
CN114911589A (en) Cross-data-platform fusion computing method, system, terminal and storage medium
CN110703988B (en) Storage pool creating method, system, terminal and storage medium for distributed storage
CN111143193B (en) Big data service testing method, system, terminal and storage medium based on RobotFramework
CN109450682B (en) IB network card communication configuration method and device, terminal and storage medium
CN113760450A (en) Automatic safety management method and device for private cloud virtual machine, terminal and storage medium
CN109039907B (en) Method, device, equipment and storage medium for determining optimal path of network data traffic
CN109445910B (en) Virtual machine VLAN management method, device, terminal and storage medium
CN111752677A (en) Cloud resource configuration method, system, terminal and storage medium
CN112492061A (en) IP address modification method, device and equipment of BMC (baseboard management controller) and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201002