CN-121051048-B - Multipath server, system power consumption monitoring method, device and storage medium
Abstract
The application discloses a multipath server, a system power consumption monitoring method, equipment and a storage medium, which relate to the field of servers and comprise at least two single-path main boards, a switching module and a plurality of power units, wherein the switching module comprises a vertical power board and at least two horizontal switching boards, the vertical power board is provided with a plurality of power unit interfaces and at least two switching connectors, one end of the horizontal switching board is matched with the switching connector of the vertical power board, the other end of the horizontal switching board is matched with the power unit connector of the single-path main board, so that the plurality of power units can stably supply power to the multipath server formed by the at least two single-path main boards through the vertical power board and the horizontal switching boards.
Inventors
- HUAN WEIWEI
Assignees
- 苏州元脑智能科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20251030
Claims (17)
- 1. The multipath server is characterized by comprising at least two single-path mainboards, a switching module and a plurality of power supply units; the power supply unit connector is arranged on the single-path main board and is configured to be selectively connected with a plurality of power supply units through the switching module; The switching module comprises a vertical power panel and at least two horizontal switching boards, wherein a plurality of power unit interfaces and at least two switching connectors are arranged on the vertical power panel, the power unit interfaces are used for connecting the plurality of power units, and the switching connectors are used for connecting the horizontal switching boards; One end of the horizontal adapter plate is provided with a first connection interface matched with the switching connector on the vertical power panel, and the other end of the horizontal adapter plate is provided with a second connection interface matched with the power unit connector of the single-way main board, so that the horizontal adapter plate is detachably connected with the single-way main board through the second connection interface; The at least two single-path mainboards are arranged in an up-down lamination structure; the processors of the at least two single-way mainboards are divided into a main processor and at least one slave processor; The processors on each layer of the single-path main board are in communication connection through cables; The system power consumption conversion circuit is also arranged on the single-way main board; the system power consumption conversion circuit is used for collecting system voltage and system total current and calculating total power consumption data of the multipath server based on the system voltage and the system total current; the single-path main board is also provided with a voltage regulation controller; the voltage regulation controller is respectively connected with the system power consumption conversion circuit and the processor on the one-way main board, and is communicated with the processor through a serial voltage identification protocol so as to transmit the total power consumption data to the processor; And after receiving the total power consumption data, the processor is further used for caching the total power consumption data of the last three times so as to read the cached total power consumption data through a new main processor when the main processor fails, thereby completing global total power consumption recalculation.
- 2. The multi-path server according to claim 1, wherein the plurality of power supply units supply power to the single-path main board through the vertical power supply board and at least two of the horizontal patch panels; The connection interface of each horizontal adapter plate is correspondingly connected with one adapter connector of the vertical power panel, and the connection interface of each horizontal adapter plate is correspondingly connected with the power unit connector of one single-path main board.
- 3. The multi-path server according to claim 1, wherein the connection interface of the horizontal patch panel is configured as a gold finger that mates with a power unit connector of the single-path motherboard to form a detachable connection of the horizontal patch panel with the power unit connector of the single-path motherboard by the gold finger.
- 4. The multiplex server of claim 1, wherein the master processor and the slave processor are configured in a master-slave relationship by any one of a hardware jumper, a basic input output system, and a baseboard management controller.
- 5. The multiplex server of claim 1, wherein the processor is configured to receive total power consumption data for the multiplex server.
- 6. The multi-path server according to claim 1, wherein the system power consumption conversion circuit is further configured to receive a power ready signal output through the power unit connector or the switching module, and correct a calculation result of the total power consumption data in combination with the power ready signal, the system voltage, and the total system current.
- 7. The multi-path server of claim 5, wherein the main processor is configured to trigger all processors in the multi-path server to simultaneously down-convert when total power consumption data of the multi-path server is greater than or equal to a preset threshold.
- 8. A method for monitoring system power consumption, the method being applied to a main processor in a multi-path server, the method comprising: for each of at least two single-way mainboards, acquiring power level information and power ready signals of all power supply units connected to the single-way mainboards; Determining the total number of the online power supply units of the multi-path server according to the power level information of all the power supply units connected to the single-path main board and the power supply ready signals thereof, and combining the power level information to calculate and obtain the total power consumption data of the multi-path server; When the total power consumption data exceeds a preset threshold, generating a frequency-reducing instruction and transmitting the frequency-reducing instruction to all processors in the multipath server, and triggering the simultaneous frequency reduction of all the processors; The multipath server comprises at least two single-path mainboards, a switching module and a plurality of power supply units; the power supply unit connector is arranged on the single-path main board and is configured to be selectively connected with a plurality of power supply units through the switching module; The switching module comprises a vertical power panel and at least two horizontal switching boards, wherein a plurality of power unit interfaces and at least two switching connectors are arranged on the vertical power panel, the power unit interfaces are used for connecting the plurality of power units, and the switching connectors are used for connecting the horizontal switching boards; One end of the horizontal adapter plate is provided with a first connection interface matched with the switching connector on the vertical power panel, and the other end of the horizontal adapter plate is provided with a second connection interface matched with the power unit connector of the single-way main board, so that the horizontal adapter plate is detachably connected with the single-way main board through the second connection interface; The at least two single-path mainboards are arranged in an up-down lamination structure; the processors of the at least two single-way mainboards are divided into a main processor and at least one slave processor; The processors on each layer of the single-path main board are in communication connection through cables; The system power consumption conversion circuit is also arranged on the single-way main board; the system power consumption conversion circuit is used for collecting system voltage and system total current and calculating total power consumption data of the multipath server based on the system voltage and the system total current; the single-path main board is also provided with a voltage regulation controller; the voltage regulation controller is respectively connected with the system power consumption conversion circuit and the processor on the one-way main board, and is communicated with the processor through a serial voltage identification protocol so as to transmit the total power consumption data to the processor; and the processor is also used for caching the historical data of the last three times after receiving the total power consumption data so as to read the cached historical data through a new main processor when the main processor fails, thereby completing global total power consumption recalculation.
- 9. The system power consumption monitoring method according to claim 8, wherein the acquiring power level information of all power supply units connected to the one-way motherboard and power supply ready signals thereof includes: Reading the power level information corresponding to each power supply unit based on a baseboard management controller of each single-path mainboard; And receiving power ready signals triggered by all the power units through a signal path of the switching module, so that each processor can acquire the power level information and the power ready signals of all the power units in the multipath server.
- 10. The system power consumption monitoring method according to claim 8, wherein the determining the total number of the online power supply units of the multi-path server according to the power level information of all the power supply units connected to the single-path motherboard and the power ready signal thereof comprises: and carrying out de-duplication and validity verification on the power ready signal of each single-path mainboard, and counting the number of valid signals to determine the total number of the online power supply units.
- 11. The method for monitoring system power consumption according to claim 8, wherein the calculating, in combination with the power level information, total power consumption data of the multiple servers includes: and calculating the total power consumption data based on the power level information of all the power supply units, the total number of the online power supply units, the acquired system voltage and the total system current.
- 12. The system power consumption monitoring method according to claim 8, wherein when the total power consumption data exceeds a preset threshold, generating a down-conversion instruction and issuing the down-conversion instruction to all processors in the multi-path server, including: when the total power consumption data exceeds a preset threshold value, a preset target frequency and a frequency-reducing operation execution time stamp are obtained, and the frequency-reducing instruction is generated based on the preset target frequency and the frequency-reducing operation execution time stamp so as to be transmitted to all processors in the multipath server in parallel.
- 13. The system power consumption monitoring method of claim 8, wherein the method further comprises: when the power ready signal of one power supply unit is interrupted, a corresponding power supply abnormality notification is generated and sent to the main processor so as to trigger recalculation of total power consumption data and deduct the power contribution of the power supply unit from the new total power consumption data.
- 14. The system power consumption monitoring method of claim 8, wherein the method further comprises: communication is maintained between the master processor and at least one slave processor through a heartbeat detection mechanism, and a new master processor is determined from at least one of the slave processors when the master processor fails.
- 15. An electronic device, comprising: A memory for storing a computer program; A processor for implementing the steps of the system power consumption monitoring method according to any one of claims 8 to 14 when executing the computer program.
- 16. A computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, wherein the computer program, when executed by a processor, implements the steps of the system power consumption monitoring method according to any of claims 8 to 14.
- 17. A computer program product comprising a computer program which, when executed by a processor, implements the steps of the system power consumption monitoring method of any of claims 8 to 14.
Description
Multipath server, system power consumption monitoring method, device and storage medium Technical Field The present application relates to the field of servers, and in particular, to a multipath server, a system power consumption monitoring method, a device, and a storage medium. Background Currently, independent hardware architecture is commonly adopted for a single-path system and a multi-path system (such as two paths) in the server market. The single-path main board cannot be flexibly combined into a multi-path system to improve the performance, and the special multi-path main board cannot be separated into single-path equipment for independent use. The stiff design leads to high purchase cost of users and low equipment utilization rate, and research and development are required to be repeated for different specifications, so that the period is long and the cost is high. Therefore, a server solution that can be flexibly configured is needed. Disclosure of Invention The application provides a multipath server, a system power consumption monitoring method, equipment and a storage medium, which at least solve the problem that the server cannot be flexibly configured in the related technology. The application provides a multipath server, which comprises at least two single-path mainboards, a switching module and a plurality of power supply units, wherein the switching module is connected with the single-path mainboards; the power supply unit connector is arranged on the single-path main board and is configured to be selectively connected with a plurality of power supply units through the switching module; The switching module comprises a vertical power panel and at least two horizontal switching boards, wherein a plurality of power unit interfaces and at least two switching connectors are arranged on the vertical power panel, the power unit interfaces are used for connecting the plurality of power units, and the switching connectors are used for connecting the horizontal switching boards; one end of the horizontal adapter plate is provided with a first connection interface matched with the switching connector on the vertical power panel, and the other end of the horizontal adapter plate is provided with a second connection interface matched with the power unit connector of the single-way main board, so that the horizontal adapter plate is detachably connected with the single-way main board through the second connection interface. The application also provides a system power consumption monitoring method which is applied to the main processing of the multipath server, and the method comprises the following steps: for each of at least two single-way mainboards, acquiring power level information and power ready signals of all power supply units connected to the single-way mainboards; Determining the total number of the online power supply units of the multi-path server according to the power level information of all the power supply units connected to the single-path main board and the power supply ready signals thereof, and combining the power level information to calculate and obtain the total power consumption data of the multi-path server; And when the total power consumption data exceeds a preset threshold value, generating a frequency-reducing instruction and sending the frequency-reducing instruction to all processors in the multipath server, and triggering the simultaneous frequency reduction of all the processors. The application also provides electronic equipment, which comprises a memory and a processor, wherein the memory is used for storing a computer program, and the processor is used for realizing the steps of any system power consumption monitoring method when executing the computer program. The application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is executed by a processor to realize the steps of any system power consumption monitoring method. The application also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of any of the above methods for monitoring system power consumption. The multipath server comprises at least two single-path main boards, a switching module and a plurality of power units, wherein the switching module comprises a vertical power board and at least two horizontal switching boards, the vertical power board is provided with a plurality of power unit interfaces and at least two switching connectors, one end of each horizontal switching board is matched with the switching connector of the vertical power board, the other end of each horizontal switching board is matched with the power unit connector of the corresponding single-path main board, so that the plurality of power units can stably supply power to the multipath server formed by the at least two single-path main boards through the vertical