Power monitoring method and equipment for cabinet cluster, medium and product

By acquiring the branch signal table and the corresponding relationship table, the cabinet mapping relationship is determined, and the branch power is acquired in real time. This solves the problem of low efficiency and accuracy of cabinet cluster power monitoring, and achieves efficient and accurate power management.

CN120993033APending Publication Date: 2025-11-21INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511196912.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-26
Publication Date
2025-11-21

AI Technical Summary

Technical Problem

Existing methods for monitoring the power of server rack clusters have low detection efficiency and low accuracy, leading to equipment security threats and resource waste.

Method used

By acquiring the branch signal table and the corresponding relationship table, the cabinet mapping relationship is determined, the branch power is acquired in real time, and the real-time power of the computer cabinet cluster is calculated, thereby improving monitoring efficiency and accuracy.

Benefits of technology

This improved the accuracy of power monitoring for server rack clusters, reduced equipment security threats and resource waste, and increased the efficiency of power management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120993033A_ABST
    Figure CN120993033A_ABST
Patent Text Reader

Abstract

The invention discloses a power monitoring method, device and equipment for a cabinet cluster, a medium and a product. The method comprises the following steps: acquiring a branch signal table matched with a target cabinet cluster and a corresponding relation table, wherein the target cabinet cluster is composed of at least one target cabinet; obtaining at least one cabinet mapping relation matched with the target cabinet cluster based on the corresponding relation table; determining each target branch according to the mapping relation of each cabinet, and obtaining the real-time power of each target branch in real time according to the branch signal table; and calculating the cabinet real-time power of each target cabinet in the target cabinet cluster based on the mapping relation of each cabinet and the real-time power of each target branch. Through the technical scheme of the invention, the power monitoring of the cabinet cluster can be realized, and the efficiency of the power monitoring work of the cabinets is improved while the accuracy of the monitoring result is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power monitoring, and in particular to a method, apparatus, equipment, medium and product for power monitoring of a cabinet cluster. Background Technology

[0002] With the acceleration of digitalization and the continuous expansion of data center operations, the power management of server rack clusters, as a key component of data centers, is becoming increasingly prominent. Uneven distribution of data center space and power among server rack clusters is gradually emerging, making the precise selection of suitable locations for equipment when mounting it within the rack cluster crucial.

[0003] In many data centers, infrastructure management and server equipment maintenance departments operate independently, hindering information flow. Server equipment maintenance personnel often struggle to accurately track the power usage details of each rack within a server cluster. This can lead to power overload in some racks, threatening equipment safety and data center stability, while other racks underutilize power, resulting in resource waste. Currently, before rack equipment is installed, the average power consumption of devices within a single rack is typically estimated manually to determine if it exceeds the rack's rated power. However, equipment power fluctuates frequently, and during peak business hours, actual power often far exceeds the estimated value, leading to significant deviations in monitoring results. This manual estimation method is extremely inefficient for the large scale of server clusters, consuming substantial manpower and time, and is susceptible to subjective biases, making it difficult to guarantee accuracy and reliability.

[0004] In summary, existing power monitoring methods for server rack clusters suffer from both low detection efficiency and low accuracy of monitoring results. Summary of the Invention

[0005] This invention provides a method, device, equipment, medium, and product for power monitoring of server rack clusters, which can solve the problems of low detection efficiency and low accuracy of monitoring results in existing server rack power monitoring methods.

[0006] In a first aspect, embodiments of the present invention provide a power monitoring method for a rack cluster, the method comprising:

[0007] Obtain the branch signal table and corresponding relationship table that match the target cabinet cluster, wherein the target cabinet cluster consists of at least one target cabinet;

[0008] Based on the correspondence table, at least one rack mapping relationship matching the target rack cluster is obtained;

[0009] Each target branch is determined according to the mapping relationship of each cabinet, and the real-time power of each target branch is obtained in real time according to the branch signal table.

[0010] The real-time power of each target rack in the target rack cluster is calculated based on the mapping relationship between each rack and the real-time power of each target branch.

[0011] Secondly, embodiments of the present invention provide a power monitoring device for a rack cluster, the device comprising:

[0012] The information acquisition module is used to acquire the branch signal table and the corresponding relationship table that match the target cabinet cluster, wherein the target cabinet cluster consists of at least one target cabinet;

[0013] The mapping acquisition module is used to obtain at least one rack mapping relationship that matches the target rack cluster based on the correspondence table;

[0014] The power determination module is used to determine each target branch according to the mapping relationship of each cabinet, and to obtain the real-time power of each target branch in real time according to the branch signal table.

[0015] The power calculation module is used to calculate the real-time power of each target rack in the target rack cluster based on the mapping relationship between each rack and the real-time power of each target branch.

[0016] Thirdly, embodiments of the present invention provide an electronic device, the electronic device comprising:

[0017] At least one processor; and

[0018] A memory communicatively connected to the at least one processor; wherein,

[0019] The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform a power monitoring method for a rack cluster as described in any embodiment of the present invention.

[0020] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing computer instructions, which are used to cause a processor to execute and implement a power monitoring method for a rack cluster as described in any embodiment of the present invention.

[0021] Fifthly, embodiments of the present invention provide a computer program product, the computer program product including a computer program, which, when executed by a processor, implements a power monitoring method for a rack cluster as described in any embodiment of the present invention.

[0022] The technical solution of this invention obtains a branch signal table and a corresponding relationship table that match the target rack cluster. Then, based on the corresponding relationship table, it obtains at least one rack mapping relationship that matches the target rack cluster. Next, it determines each target branch according to each rack mapping relationship and obtains the real-time power of each target branch according to the branch signal table. Finally, it calculates the real-time power of each target rack in the target rack cluster based on each rack mapping relationship and the real-time power of each target branch. This solves the problem of low detection efficiency and low accuracy of monitoring results in existing rack power monitoring methods, realizes rack cluster power monitoring, and improves the efficiency of rack power monitoring while ensuring the accuracy of monitoring results.

[0023] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0024] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0025] Figure 1 This is a flowchart of a power monitoring method for a rack cluster according to Embodiment 1 of the present invention;

[0026] Figure 2 This is a flowchart of a power monitoring method for a rack cluster according to Embodiment 2 of the present invention;

[0027] Figure 3 This is a schematic diagram of the structure of a power monitoring device for a cabinet cluster according to Embodiment 3 of the present invention;

[0028] Figure 4 This is a schematic diagram of the structure of an electronic device that implements a power monitoring method for a cabinet cluster according to an embodiment of the present invention. Detailed Implementation

[0029] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0030] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, any variations of the terms "comprising" and "having" are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0031] Example 1

[0032] Figure 1 This is a flowchart of a power monitoring method for a rack cluster provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation of power monitoring of racks in a rack cluster. The method can be executed by a power monitoring device for a rack cluster. The power monitoring device for a rack cluster can be implemented in hardware and / or software. The power monitoring device for a rack cluster can be configured in a terminal or server with rack cluster power monitoring function.

[0033] like Figure 1 As shown, the method includes:

[0034] S110. Obtain the branch signal table and corresponding relationship table that match the target cabinet cluster.

[0035] The target rack cluster consists of at least one target rack; further, the target rack cluster is a collection of one or more racks that require power monitoring and management. For example, the cluster consisting of five racks, A01 to A05, in the J6505 computer room of a data center is a target rack cluster.

[0036] The correspondence table includes at least one mapping relationship, which represents the matching relationship between a rack number and at least one branch number; and the rack mapping relationship includes the rack number of the target rack and the branch number of at least one branch that is connected to the target rack.

[0037] Specifically, the branch signal table is a table that records information about each branch in the distribution cabinet, including at least one branch number and a signal source matching that branch number. The branch number is used to uniquely identify the branch in the distribution cabinet, such as branch 01, branch 02, branch 03, etc. Furthermore, the signal source is used to identify the source of the power signal for each branch. For example, if the branch signal table shows the signal source for branch 02 as "J6505-RPP-C-01", it indicates that the power signal for branch 01 originates from "J6505-RPP-C-01".

[0038] It should be noted that "A01 to A05", "Branch 01, Branch 02, Branch 03" and "J6505-RPP-C-01" in the above steps are only one naming format for cabinet number, branch number and signal source. In other implementation scenarios of this embodiment, the above naming format can be in English, Chinese or numbers, as long as it can uniquely identify the corresponding cabinet, branch or signal source. This embodiment does not impose any restrictions on this.

[0039] Furthermore, the correspondence table is a table used to associate cabinets and distribution cabinet branches, containing at least one mapping relationship. This mapping relationship refers to a record used to represent the matching relationship between a cabinet number and at least one branch number, indicating which cabinet is connected to which branches. The cabinet number is a number used to uniquely identify the cabinet, and the cabinet mapping relationship specifically includes the cabinet number of the target cabinet and the branch number of at least one branch connected to that target cabinet. For example, according to the correspondence table, if the cabinet with cabinet number A26 is connected to branches with branch numbers 01 and 02, then A26 - branch 01 / branch 02 constitutes a mapping relationship.

[0040] S120. Based on the correspondence table, obtain at least one rack mapping relationship that matches the target rack cluster.

[0041] Based on the above steps, at least one rack mapping relationship matching the target rack cluster is obtained based on the correspondence table, including: obtaining the rack number of each target rack in the target rack cluster; and finding the mapping relationship matching each rack number in the correspondence table as the rack mapping relationship for extraction.

[0042] For example, if the target rack cluster includes rack A26, first obtain its rack number "A26"; then search the corresponding relationship table to find that rack A26 is associated with branch numbers such as branch 01 and branch 02. Therefore, "A26-branch 01 / branch 02" is the rack mapping relationship matching rack A26. Similarly, if the target rack cluster also includes rack B25, the rack mapping relationship between rack B25 and branch 05, branch 06, etc., can be extracted from the corresponding relationship table using the same steps.

[0043] It should be noted that the above is only one specific implementation scenario of this embodiment. This embodiment does not limit the specific content of the cabinet numbering format, branch numbering format and cabinet mapping relationship.

[0044] S130. Determine each target branch according to the mapping relationship of each cabinet, and obtain the real-time power of each target branch in real time according to the branch signal table.

[0045] Based on the above steps, each target branch is determined according to the mapping relationship of each cabinet, and the real-time power of each target branch is obtained in real time according to the branch signal table. This includes: obtaining the branch number in each cabinet mapping relationship, and determining the branch whose branch number is located in the branch signal table as the target branch; searching for a signal source matching the target branch in the branch signal table according to the branch number of the target branch; wherein, the branch signal table contains at least one branch number and a signal source matching the branch number; and accessing the signal source by calling a preset data management interface to obtain the real-time power matching the target branch.

[0046] The preset data management interface refers to a pre-set interface for connecting to the data management system. In this embodiment, the data management interface can be used to obtain power data from the data center infrastructure management system. Furthermore, the real-time power refers to the active power value of the branch at the current moment.

[0047] For example, if the target rack cluster includes rack A26, its rack mapping relationship is "A26 is associated with tributary 01 (number 78) and tributary 02 (number 79)". First, tributary numbers 78 and 79 are obtained from this mapping relationship. Since these two numbers exist in the tributary signal table, tributary 01 and tributary 02 are determined to be the target tributaries. Next, the signal source of both tributaries is found to be "J6505-RPP-C-01" in the tributary signal table. Finally, the DCIM interface is called to access the signal source, and the real-time power of tributary 01 (e.g., 2344.0W) and the real-time power of tributary 02 (e.g., 2283.0W) can be obtained.

[0048] S140. Based on the mapping relationship between each rack and the real-time power of each target branch, the real-time power of each target rack in the target rack cluster is calculated.

[0049] Optionally, after calculating the real-time power of each target cabinet in the target cabinet cluster based on the mapping relationship of each cabinet and the real-time power of each target branch, the method further includes: obtaining the current time and obtaining the target timestamp based on the current time; binding the target timestamp with the real-time power of each target cabinet to obtain a historical power set; and sending the historical power set to a pre-set storage module for storage.

[0050] The current time can be a specific date and time, such as 2024-01-11 14:30:00. The target timestamp is a numerical or character identifier that can be recognized by the system and converted from the current time. Furthermore, the historical power set is a collection of real-time power values ​​of each rack bound to a timestamp, such as a record containing "timestamp 1704959400: A26 rack 4627.0W, B25 rack 3500.0W". Furthermore, the storage module is a pre-configured system or device for storing data, and the historical power set can be stored in this database for subsequent queries.

[0051] Optionally, after sending the historical power set to a pre-set storage module for storage, the method further includes: obtaining a target time window and a power balance threshold in response to a user's setting operation; based on the target time window and the target timestamp of each historical power set, obtaining at least one historical power set matching the target time window from the storage module as each target power set; extracting the real-time power of the rack with the largest value as the maximum power value and the real-time power of the rack with the smallest value as the minimum power value from the real-time power of each rack in each target power set; calculating a window balance value matching the target time window based on the formula: window balance value = (maximum power value - minimum power value) ÷ maximum power value; and generating an imbalance alarm message to alert the user after determining that the window balance value is greater than the preset power balance threshold.

[0052] The target time window is a user-defined time range for analysis, such as "2024-01-10 00:00:00 to 2024-01-10 23:59:59". Furthermore, the power balance threshold is a user-defined critical value used to determine whether the rack power distribution is balanced. The target power set is the historical power set of the storage modules whose timestamps fall within the target time window. The maximum and minimum power values ​​are the extreme values ​​of the real-time power of each rack extracted from the target power set. For example, in the target power set, the maximum power of rack A03 is 2645.0W, and the minimum power of rack A13 is 1949.0W. The window balance value is used to measure the degree of balance in rack power distribution within the target time window. For example, based on the above data, the calculation yields (2645.0-1949.0)÷2645.0≈26.3%. If the power balance threshold is set to 20%, and the balance value in this window is greater than the threshold, an imbalance alarm message will be generated, prompting the user that the power distribution in the cabinet is uneven and needs to be adjusted.

[0053] The technical solution of this invention obtains a branch signal table and a corresponding relationship table that match the target rack cluster. Then, based on the corresponding relationship table, it obtains at least one rack mapping relationship that matches the target rack cluster. Next, it determines each target branch according to each rack mapping relationship and obtains the real-time power of each target branch according to the branch signal table. Finally, it calculates the real-time power of each target rack in the target rack cluster based on each rack mapping relationship and the real-time power of each target branch. This achieves power monitoring of the rack cluster, improving the efficiency of rack power monitoring while ensuring the accuracy of the monitoring results.

[0054] Example 2

[0055] Figure 2 This is a flowchart of a power monitoring method for a rack cluster provided in Embodiment 2 of the present invention. This embodiment is a refinement based on the above embodiment. Specifically, this embodiment refines the method for calculating the real-time power of each target rack in the target rack cluster based on the mapping relationship of each rack and the real-time power of each target branch.

[0056] like Figure 2 As shown, the method includes:

[0057] S210. Obtain the branch signal table and corresponding relationship table that match the target cabinet cluster.

[0058] The target cabinet cluster consists of at least one target cabinet.

[0059] S220. Based on the correspondence table, obtain at least one rack mapping relationship that matches the target rack cluster.

[0060] S230. Determine each target branch according to the mapping relationship of each cabinet, and obtain the real-time power of each target branch in real time according to the branch signal table.

[0061] S240. Based on the rack number of each target rack, find the target mapping relationship that matches each target rack in the rack mapping relationship.

[0062] For example, if the cabinet number of the target cabinet is "A26", then the association record containing the number "A26" is searched in the cabinet mapping relationship. The "association of A26 with branch 01 and branch 02" found is the target mapping relationship that matches the target cabinet.

[0063] S250. Based on the branch numbers in the target mapping relationship, find the real-time power of each target that matches each target cabinet in the real-time power of each target branch.

[0064] S260. Sum the real-time power of each target cabinet matched with each target cabinet to obtain the real-time power of each cabinet matched with each target cabinet.

[0065] The summation operation involves adding the real-time power of all targets belonging to the same target rack. Furthermore, the rack's real-time power is the result of this summation operation, representing the total power of the target rack at the current moment. For example, if the real-time power of each target in rack A26 is 2344.0W for branch 01 and 2283.0W for branch 02, summing these two powers (2344.0W + 2283.0W = 4627.0W) gives the rack's real-time power of rack A26.

[0066] The technical solution of this invention involves acquiring a branch signal table and a corresponding relationship table that match the target rack cluster. Then, based on the corresponding relationship table, at least one rack mapping relationship matching the target rack cluster is obtained. Next, each target branch is determined according to its rack mapping relationship, and the real-time power of each target branch is acquired in real time according to the branch signal table. Then, based on the rack number of each target rack, a target mapping relationship matching each target rack is searched in the rack mapping relationship. Based on the branch number in each target mapping relationship, the real-time power of each target branch matching each target rack is found in the real-time power of each target branch. Finally, the real-time power of each target rack matching each target rack is summed to obtain the real-time power of each rack matching each target rack. This achieves power monitoring of the rack cluster, improving the efficiency of rack power monitoring while ensuring the accuracy of the monitoring results.

[0067] Example 3

[0068] Figure 3 This is a schematic diagram of the structure of a power monitoring device for a server rack cluster provided in Embodiment 3 of the present invention. Figure 3 As shown, the device includes:

[0069] The information acquisition module 310 is used to acquire the branch signal table and the corresponding relationship table that match the target cabinet cluster, wherein the target cabinet cluster consists of at least one target cabinet;

[0070] The mapping acquisition module 320 is used to obtain at least one rack mapping relationship that matches the target rack cluster based on the correspondence table;

[0071] The power determination module 330 is used to determine each target branch according to the mapping relationship of each cabinet, and to obtain the real-time power of each target branch in real time according to the branch signal table.

[0072] The power calculation module 340 is used to calculate the real-time power of each target cabinet in the target cabinet cluster based on the mapping relationship of each cabinet and the real-time power of each target branch.

[0073] The technical solution of this invention obtains a branch signal table and a corresponding relationship table that match the target rack cluster. Then, based on the corresponding relationship table, it obtains at least one rack mapping relationship that matches the target rack cluster. Next, it determines each target branch according to each rack mapping relationship and obtains the real-time power of each target branch according to the branch signal table. Finally, it calculates the real-time power of each target rack in the target rack cluster based on each rack mapping relationship and the real-time power of each target branch. This achieves power monitoring of the rack cluster, improving the efficiency of rack power monitoring while ensuring the accuracy of the monitoring results.

[0074] Based on the above embodiments, the mapping acquisition module 320 includes:

[0075] The number acquisition unit is used to acquire the rack number of each target rack in the target rack cluster;

[0076] The mapping relationship extraction unit is used to find the mapping relationship that matches each rack number in the corresponding relationship table and extract it as the rack mapping relationship.

[0077] Based on the above embodiments, the power determination module 330 includes:

[0078] The target branch determination unit is used to obtain the branch number in the mapping relationship of each cabinet respectively, and determine the branch whose branch number is located in the branch signal table as the target branch;

[0079] A signal source lookup unit is configured to search for a signal source matching the target branch in the branch signal table according to the branch number of the target branch; wherein the branch signal table contains at least one branch number and a signal source matching the branch number;

[0080] The signal source access unit is used to call a preset data management interface to access the signal source in order to obtain the real-time power that matches the target branch.

[0081] Based on the above embodiments, the power calculation module 340 includes:

[0082] The target mapping relationship lookup unit is used to find the target mapping relationship that matches each target cabinet in the cabinet mapping relationship based on the cabinet number of each target cabinet;

[0083] The power lookup unit is used to find the real-time power of each target that matches each target cabinet based on the branch number in each target mapping relationship.

[0084] The summation unit is used to sum the real-time power of each target rack matched with each target rack to obtain the real-time power of each rack matched with each target rack.

[0085] Based on the above embodiments, the power calculation module 340 is further configured to: calculate the real-time power of each target cabinet in the target cabinet cluster based on the mapping relationship of each cabinet and the real-time power of each target branch, obtain the current time, and obtain the target timestamp based on the current time; bind the target timestamp with the real-time power of each target cabinet to obtain a historical power set; and send the historical power set to a pre-set storage module for storage.

[0086] Based on the above embodiments, the power calculation module 340 is further configured to: send the historical power set to a pre-set storage module for storage, and then, in response to a user's setting operation, obtain a target time window and a power balance threshold; based on the target time window and the target timestamp of each historical power set, obtain at least one historical power set matching the target time window from the storage module as each target power set; extract the real-time power of the cabinet with the largest value as the maximum power value and extract the real-time power of the cabinet with the smallest value as the minimum power value from the real-time power of each cabinet in each target power set; calculate the window balance value matching the target time window based on the formula: window balance value = (maximum power value - minimum power value) ÷ maximum power value; and generate an imbalance alarm message to prompt the user after determining that the window balance value is greater than the preset power balance threshold.

[0087] The power monitoring device for a rack cluster provided in this embodiment of the invention can execute the power monitoring method for a rack cluster provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method.

[0088] Example 4

[0089] Figure 4 A schematic diagram of an electronic device 10 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0090] like Figure 4 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory 12 and an access memory 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the read-only memory 12 or loaded from the storage unit 18 into the access memory 13. The access memory 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, read-only memory 12, and access memory 13 are interconnected via a bus 14. An input / output interface 15 is also connected to the bus 14.

[0091] Multiple components in electronic device 10 are connected to input / output interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of monitors, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0092] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, central processing units, graphics processing units, various special-purpose artificial intelligence computing chips, various processors running machine learning model algorithms, digital signal processors, and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as a power monitoring method for a rack cluster.

[0093] Accordingly, the method includes:

[0094] Obtain the branch signal table and corresponding relationship table that match the target cabinet cluster, wherein the target cabinet cluster consists of at least one target cabinet;

[0095] Based on the correspondence table, at least one rack mapping relationship matching the target rack cluster is obtained;

[0096] Each target branch is determined according to the mapping relationship of each cabinet, and the real-time power of each target branch is obtained in real time according to the branch signal table.

[0097] The real-time power of each target rack in the target rack cluster is calculated based on the mapping relationship between each rack and the real-time power of each target branch.

[0098] In some embodiments, a power monitoring method for a rack cluster can be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 10 via read-only memory 12 and / or communication unit 19. When the computer program is loaded into access memory 13 and executed by processor 11, one or more steps of the power monitoring method for a rack cluster described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to perform a power monitoring method for a rack cluster by any other suitable means (e.g., by means of firmware).

[0099] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays, application-specific integrated circuits (ASICs), application-specific standard products (ASICs), systems-on-a-chip (SoCs), payload programmable logic devices, computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0100] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0101] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory, read-only memory, erasable programmable read-only memory, optical fibers, portable compact disk read-only memory, optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0102] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a cathode ray tube or liquid crystal display) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0103] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0104] A computing system can include clients and servers. Clients and servers are generally geographically separated and typically interact via communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product within the cloud computing service system to address the shortcomings of traditional physical hosts, such as high management difficulty and weak business scalability.

[0105] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and no limitation is imposed herein.

Claims

1. A power monitoring method for a rack cluster, characterized in that, include: Obtain the branch signal table and corresponding relationship table that match the target cabinet cluster, wherein the target cabinet cluster consists of at least one target cabinet; Based on the correspondence table, at least one rack mapping relationship matching the target rack cluster is obtained; Each target branch is determined according to the mapping relationship of each cabinet, and the real-time power of each target branch is obtained in real time according to the branch signal table. The real-time power of each target rack in the target rack cluster is calculated based on the mapping relationship between each rack and the real-time power of each target branch.

2. The method according to claim 1, characterized in that, The correspondence table includes at least one mapping relationship, which is used to represent the matching relationship between the cabinet number and at least one branch number; Furthermore, the rack mapping relationship includes: the rack number of the target rack and the branch number of at least one branch that is connected to the target rack.

3. The method according to any one of claims 1-2, characterized in that, Based on the correspondence table, at least one rack mapping relationship matching the target rack cluster is obtained, including: Obtain the rack number of each target rack in the target rack cluster; The mapping relationship is extracted by finding the mapping relationship that matches each rack number in the corresponding relationship table.

4. The method according to any one of claims 1-2, characterized in that, Each target branch is determined based on the mapping relationship of each cabinet, and the real-time power of each target branch is obtained in real time according to the branch signal table, including: Obtain the branch number in the mapping relationship of each cabinet, and determine the branch whose branch number is located in the branch signal table as the target branch; The branch signal table is searched for a signal source that matches the target branch according to the branch number of the target branch; wherein the branch signal table contains at least one branch number and a signal source that matches the branch number; The signal source is accessed by calling a preset data management interface to obtain the real-time power that matches the target branch.

5. The method according to claim 1, characterized in that, Based on the mapping relationship between each rack and the real-time power calculation of each target branch, the real-time power of each target rack in the target rack cluster is obtained, including: Based on the rack number of each target rack, find the target mapping relationship that matches each target rack in the rack mapping relationship; Based on the branch numbers in the target mapping relationship, the real-time power of each target that matches each target cabinet is found in the real-time power of each target branch. The real-time power of each target rack matched with each target rack is summed to obtain the real-time power of each rack matched with each target rack.

6. The method according to claim 1, characterized in that, After calculating the real-time power of each target rack in the target rack cluster based on the rack mapping relationship and the real-time power of each target branch, the following is also included: Get the current time and obtain the target timestamp based on the current time; The target timestamp is bound to the real-time power of each target cabinet to obtain a historical power set; The historical power set is sent to a pre-configured storage module for storage.

7. The method according to claim 6, characterized in that, After sending the historical power set to a pre-configured storage module for storage, the method further includes: The system retrieves the target time window and power balance threshold in response to user-defined actions. Based on the target time window and the target timestamp of each historical power set, at least one historical power set that matches the target time window is obtained from the storage module as each target power set; Among the real-time power of each cabinet in each target power set, the real-time power of the cabinet with the largest value is extracted as the maximum power value, and the real-time power of the cabinet with the smallest value is extracted as the minimum power value. Based on the formula: Window balance value = (maximum power value - minimum power value) ÷ maximum power value, the window balance value matching the target time window is calculated; After determining that the window balance value is greater than the preset power balance threshold, an imbalance alarm message is generated to notify the user.

8. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform a power monitoring method for a rack cluster according to any one of claims 1-7.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the power monitoring method for a rack cluster according to any one of claims 1-7.

10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements a power monitoring method for a rack cluster according to any one of claims 1-7.