A power state monitoring method and device, electronic equipment and storage medium

By acquiring server device information and power information, performing current comparison analysis and predictive model processing, the problem of inaccurate power status monitoring in existing technologies is solved, and automated and accurate power fault prediction is achieved.

CN115328740BActive Publication Date: 2026-05-12CHINA CONSTRUCTION BANK
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA CONSTRUCTION BANK
Filing Date
2022-09-06
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

Existing technologies cannot effectively guarantee the accuracy of power status monitoring, rely on manual analysis which is not very accurate, and cannot detect power anomalies in a timely manner.

Method used

By acquiring device information and information collection scripts from the target server, power information is collected, circuit current comparison analysis is performed, a prediction model is used to determine power supply anomalies, and feature information is extracted for fault prediction.

Benefits of technology

It enables automated and accurate power status monitoring, timely detection of power anomalies, and improves the accuracy of monitoring results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115328740B_ABST
    Figure CN115328740B_ABST
Patent Text Reader

Abstract

The application discloses a power state monitoring method and device, electronic equipment and a storage medium. The method comprises the following steps: obtaining device information of each target server and corresponding information collection script information; collecting power information of each target server in a preset time period based on the device information of each target server and the corresponding information collection script information; comparing and analyzing circuit currents of each power in the power information of each target server respectively, and obtaining comparison and analysis results of the target server; judging whether the power of the target server is abnormal based on the comparison and analysis results of the target server; if it is judged that the power is abnormal, extracting target feature information of the target server from the power information of the target server; inputting the target feature information of the target server into a pre-trained prediction model to obtain a power failure prediction result of the target server; and feeding back the power failure prediction result of the target server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of equipment status monitoring technology, and in particular to a power status monitoring method and device, electronic equipment, and storage medium. Background Technology

[0002] Among the various components of a server, the power supply plays a crucial role in providing energy to all the components. Data centers, with tens of thousands of servers, typically require 24 / 7 uninterrupted operation, thus placing even higher demands on the power supply. If a server power supply failure affects the system's power supply, it will cause an abnormal power outage. The inability to operate the system will impact data integrity, resulting in significant losses. Therefore, effective monitoring of the power supply's operating status is essential for timely maintenance.

[0003] Currently, power status monitoring primarily involves collecting server power consumption data and providing it to maintenance personnel in the form of charts or similar formats. Maintenance personnel then use this data to monitor for any power supply anomalies and to determine if any anomalies are likely to occur. Alternatively, several characteristic information about the server's CPU can be collected, and classification algorithms can be used to determine the CPU's health status, thereby analyzing the power supply's condition.

[0004] However, monitoring based on collected data by maintenance personnel is not only unable to detect power supply anomalies in a timely manner, but also heavily reliant on individual skill levels, thus compromising monitoring accuracy. Analyzing CPU status using a few CPU characteristic parameters is inherently inaccurate and requires further analysis of the power supply status, further compromising monitoring accuracy. Summary of the Invention

[0005] In view of the shortcomings of the prior art, this application provides a power status monitoring method and device, electronic device and storage medium to solve the problem that the prior art cannot effectively guarantee the accuracy of monitoring results.

[0006] To achieve the above objectives, this application provides the following technical solution:

[0007] The first aspect of this application provides a power state monitoring method, including:

[0008] Obtain the device information of each target server and the information collection script information corresponding to each target server;

[0009] Based on the device information of each target server and the information collection script information corresponding to each target server, the power information of each target server is collected within a preset time period.

[0010] For each of the target servers, the circuit current of each power supply in the power information of the target server is compared and analyzed to obtain the comparison and analysis results of the target server.

[0011] Based on the comparative analysis results of the target server, determine whether there is any abnormality in the power supply of the target server;

[0012] If it is determined that the power supply of the target server is abnormal, the target feature information of the target server is extracted from the power supply information of the target server.

[0013] The target feature information of the target server is input into a pre-trained prediction model, and the target feature information of the target server is processed by the prediction model to obtain the power failure prediction result of the target server.

[0014] Feedback is provided on the power failure prediction results for the target server.

[0015] Optionally, in the above power status monitoring method, acquiring the device information of each target server and the information acquisition script information corresponding to each target server includes:

[0016] When initiating a batch collection task for each of the target servers, the device information of each target server is obtained from the backend task configuration table according to the identifier of the batch collection task.

[0017] Based on the server model in the device information of each target server, the information collection script information corresponding to each target server is matched from the backend task configuration table.

[0018] Optionally, in the above power status monitoring method, the step of comparing and analyzing the circuit current of each power supply of the target server in the power information of each target server to obtain the comparison and analysis result of the target server includes:

[0019] For each of the target servers, the current variance corresponding to each power supply is calculated using the circuit current of each power supply in the power supply information of the target server.

[0020] Calculate the difference in current variance corresponding to each of the power sources to obtain the current deviation difference;

[0021] Correlation analysis is performed on the circuit currents of each power supply of the target server in the power information of the target server to obtain the degree of correlation between each power supply;

[0022] The current deviation difference and the correlation between the various power sources are determined as the comparative analysis results.

[0023] Optionally, in the above power status monitoring method, determining whether the power supply of the target server is abnormal based on the comparative analysis results of the target server includes:

[0024] Determine whether the current deviation difference in the comparative analysis result of the target server is greater than a preset difference, or whether there is any correlation between any two power sources in the comparative analysis result of the target server that is less than a preset threshold.

[0025] If it is determined that the current deviation difference in the comparative analysis results of the target server is greater than a preset difference, or if the correlation between any two power supplies in the comparative analysis results of the target server is less than a preset threshold, then it is determined that the power supply of the target server is abnormal.

[0026] Optionally, in the above power status monitoring method, after feeding back the power failure prediction result of the target server, the method further includes:

[0027] If the power failure prediction result of the target server indicates that the power supply of the target server has a significant risk of failure, then a risk warning will be issued for the target server.

[0028] A second aspect of this application provides a power status monitoring device, comprising:

[0029] An information acquisition unit is used to acquire device information of each target server and information collection script information corresponding to each target server.

[0030] An information acquisition unit is used to acquire power information of each target server within a preset time period based on the device information of each target server and the information acquisition script information corresponding to each target server.

[0031] The analysis unit is used to compare and analyze the circuit current of each power supply of the target server in the power information of each target server, and obtain the comparison and analysis results of the target server.

[0032] The judgment unit is used to determine whether the power supply of the target server is abnormal based on the comparative analysis results of the target server;

[0033] The feature extraction unit is used to extract the target feature information of the target server from the power information of the target server when it is determined that there is an abnormality in the power supply of the target server.

[0034] The prediction unit is used to input the target feature information of the target server into a pre-trained prediction model, and process the target feature information of the target server through the prediction model to obtain the power failure prediction result of the target server.

[0035] The feedback unit is used to provide feedback on the power failure prediction results of the target server.

[0036] Optionally, in the above-described power status monitoring device, the information acquisition unit includes:

[0037] The device information acquisition unit is used to acquire device information of each target server from the backend task configuration table according to the identifier of the batch acquisition task when initiating a batch acquisition task for each target server.

[0038] The matching unit is used to match the information collection script information corresponding to each target server from the backend task configuration table based on the server model in the device information of each target server.

[0039] Optionally, in the above-described power status monitoring device, the analysis unit includes:

[0040] The variance analysis unit is used to calculate the current variance of each of the target servers by using the circuit current of each power supply of the target server in the power supply information of the target server.

[0041] The difference calculation unit is used to calculate the difference in current variance corresponding to each of the power sources to obtain the current deviation difference.

[0042] A correlation degree determination unit is used to perform correlation analysis on the circuit current of each power supply of the target server in the power information of the target server, and obtain the correlation degree between each power supply.

[0043] The analysis result determination unit is used to determine the current deviation difference and the correlation between the various power sources as the comparative analysis result.

[0044] Optionally, in the above-described power status monitoring device, the judgment unit is used to:

[0045] The judgment subunit is used to determine whether the current deviation difference in the comparative analysis result of the target server is greater than a preset difference, or whether there is any correlation between any two power supplies in the comparative analysis result of the target server that is less than a preset threshold. If it is determined that the current deviation difference in the comparative analysis result of the target server is greater than the preset difference, or that there is any correlation between any two power supplies in the comparative analysis result of the target server that is less than the preset threshold, then it is determined that the power supply of the target server is abnormal.

[0046] Optionally, the power status monitoring device described above further includes:

[0047] If the power failure prediction result of the target server indicates that the power supply of the target server has a significant risk of failure, then a risk warning will be issued for the target server.

[0048] A third aspect of this application provides an electronic device, comprising:

[0049] Memory and processor;

[0050] The memory is used to store programs;

[0051] The processor is used to execute the program, which, when executed, is specifically used to implement the power status monitoring method as described in any of the above.

[0052] The fourth aspect of this application provides a computer storage medium for storing a computer program, which, when executed, implements the power status monitoring method as described in any of the preceding claims.

[0053] This application provides a power status monitoring method. It acquires device information and corresponding data acquisition scripts for each target server, and based on these information, collects power information for each target server within a preset time period. Then, for each target server, it compares and analyzes the circuit currents of each power supply within the power information, obtaining the comparison analysis results. Based on these results, it determines whether the target server's power supply is abnormal. If an abnormality is detected, it extracts target feature information from the target server's power information and inputs this information into a pre-trained prediction model. The prediction model processes the target feature information to obtain a power failure prediction result, which is then fed back. This achieves a complete automatic power monitoring method, and through comparative analysis and the prediction model, effectively ensures the accuracy of the results. Attached Figure Description

[0054] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0055] Figure 1 A flowchart of a power state monitoring method provided in an embodiment of this application;

[0056] Figure 2 A flowchart illustrating a method for obtaining device information and information collection script information, provided in an embodiment of this application;

[0057] Figure 3 A flowchart illustrating a power information analysis method provided in this application embodiment;

[0058] Figure 4 A flowchart illustrating a method for determining whether a power supply is abnormal, provided in an embodiment of this application;

[0059] Figure 5 A schematic diagram of the architecture of a power status monitoring device provided in an embodiment of this application;

[0060] Figure 6 This is a schematic diagram of the architecture of an electronic device provided in an embodiment of this application. Detailed Implementation

[0061] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0062] In this application, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0063] This application provides a power status monitoring method, such as... Figure 1 As shown, it includes the following steps:

[0064] S101. Obtain the device information of each target server and the information collection script information corresponding to each target server.

[0065] The target server refers to the server that needs to be monitored.

[0066] It should be noted that different servers have different models, locations, etc., so the methods used to collect information from them will also differ. Therefore, it is necessary to obtain the device information of each target server. Optionally, the device information may include, but is not limited to, manufacturer, model, serial number, management port IP, purpose, and physical location.

[0067] The information collection script information corresponding to the target server mainly includes various script information for the management interface tools of the server of the target server type. It can be understood as the specific operation method information for collecting information. For example, taking the Huawei RH5288H server as an example, using the Redfish interface to query the power module status, it supports remote collection. The operation method to obtain the server power information in the Linux environment is: " / redfish / v1 / Chassis / Chassis_id / Power".

[0068] Alternatively, in another embodiment of this application, one implementation of step S101 is as follows: Figure 2 As shown, it includes the following steps:

[0069] S201. When initiating a batch collection task for each target server, obtain the device information of each target server from the backend task configuration table according to the identifier of the batch collection task.

[0070] It should be noted that, in this embodiment, batch data collection tasks are pre-configured, and device information for each target server is obtained from the server information database and saved to the backend task configuration table. Similarly, data collection scripts for each type of server are pre-obtained from the script library and stored in the backend task configuration table for use when executing data collection tasks.

[0071] When a batch collection task is initiated, the identifier of the batch collection task is passed to the backend process. Based on the task identifier, the device information of each target server is obtained from the backend task configuration table, and step S202 is executed to automatically match the corresponding information collection script information.

[0072] S202. Based on the server model in the device information of each target server, match the information collection script information corresponding to each target server from the backend task configuration table.

[0073] S102. Based on the device information of each target server and the information collection script information corresponding to each target server, collect the power information of each target server within a preset time period.

[0074] Specifically, it can collect power information at various time points within a preset time period.

[0075] Optionally, the power information may include its basic information and specific operating data, such as power resource ID, power resource name, power control information, voltage sensor list, power module list, power redundancy group list, and power data list and current data list including specific operating data.

[0076] S103. For each target server, compare and analyze the circuit current of each power supply in the power information of the target server to obtain the comparison and analysis results of the target server.

[0077] It should be noted that servers are typically equipped with multiple power supplies, usually two. One power supply is plugged into PDU A, and the other into PDU B. Under normal circumstances, the circuit current of each power supply is relatively balanced. Therefore, by analyzing the circuit current of the power supplies, a preliminary analysis can be made to determine if there are any abnormalities. In other words, the current analysis results of circuits A and B can reflect whether the power supply is malfunctioning.

[0078] In this embodiment of the application, since the power supplies of each target server do not affect each other, each target server is processed separately, that is, steps S103 to S107 are executed on each target server respectively.

[0079] Optionally, in another embodiment of this application, one specific implementation of step S103 is as follows: Figure 3 As shown, it includes the following steps:

[0080] S301. For each target server, use the circuit current of each power supply in the power information of the target server to calculate the current variance of each power supply.

[0081] It should be noted that in the embodiments of this application, the circuit power supply of each power supply is used as a set of sample data, and its deviation from the overall data is calculated, that is, the current variance corresponding to each power supply is calculated, so as to analyze whether the current of each circuit is balanced through the current variance.

[0082] S302. Calculate the difference in current variance corresponding to each power source to obtain the current deviation difference.

[0083] S303. Perform correlation analysis on the circuit current of each power supply of the target server in the power information of the target server to obtain the degree of correlation between each power supply.

[0084] To ensure the accuracy of the analysis results, this embodiment employs not only analysis of variance but also correlation analysis. Therefore, correlation analysis is performed on the circuit currents of each power supply in the target server's power information to obtain the degree of correlation between the power supplies. Specifically, this can involve analyzing the correlation between the currents of circuit A and circuit B.

[0085] S304. The current deviation difference and the correlation between each power supply are determined as the comparative analysis results.

[0086] S104. Based on the comparative analysis results of the target server, determine whether there is any abnormality in the power supply of the target server.

[0087] Specifically, under normal circumstances, the circuit currents of each power supply are relatively consistent. Therefore, by comparing and analyzing the results, it can be determined whether there is an abnormality in the power supply of the target server. If it is determined that the power supply of the target server is abnormal, in order to determine the accuracy of the monitoring results, this embodiment of the application further analyzes the data using a model. Therefore, step S105 will be executed at this time.

[0088] If it is determined that the target server's power supply is not abnormal, it can also be reported that the target server's power supply is normal.

[0089] Optionally, in step S103, the following method is adopted: Figure 3 In the illustrated implementation, a specific implementation of step S104 is as follows: Figure 4 As shown, it includes:

[0090] S401. Determine whether the current deviation difference in the comparative analysis results of the target server is greater than the preset difference, or whether there is any correlation between any two power supplies in the comparative analysis results of the target server that is less than the preset threshold.

[0091] If the current deviation difference in the comparative analysis results of the target server is greater than the preset difference, it indicates that the current deviation of each path is too large. If the correlation between any two power supplies in the comparative analysis results of the target server is less than the preset threshold, it also indicates that the deviation between these two power supplies is relatively large. Therefore, if the current deviation difference in the comparative analysis results of the target server is greater than the preset difference, or the correlation between any two power supplies in the comparative analysis results of the target server is less than the preset threshold, then step S402 is executed.

[0092] S402. It has been determined that there is an abnormality in the power supply of the target server.

[0093] It should be noted that when step S402 is executed, it is determined that there is an abnormality in the power supply of the target server, so step S105 is executed at this time.

[0094] S105. Extract the target feature information of the target server from the power information of the target server.

[0095] Among them, target feature information refers to specified information that can reflect the operating status of the power supply, such as power and current.

[0096] S106. Input the target feature information of the target server into the pre-trained prediction model, and process the target feature information of the target server through the prediction model to obtain the power failure prediction result of the target server.

[0097] It should be noted that, in order to ensure the accuracy of the monitoring results and to obtain results with smaller granularity, the pre-trained prediction model is used to further detect the data in this embodiment.

[0098] Optionally, a separate fault power supply database can be constructed to store the relevant characteristics of the server with power supply failure and the power consumption data near the failure point. This data can then be combined with the server under test, i.e., the sample server, and used as a training set for the model. This allows for better learning of the relevant characteristics of the fault power supply and improves the accuracy of power supply failure prediction.

[0099] S107. Feedback the power failure prediction results for the target server.

[0100] Optionally, in another embodiment of this application, after performing step S107, the method may further include:

[0101] If the power failure prediction result of the target server indicates that there is a significant risk of power failure, then a risk warning will be issued for the target server.

[0102] Specifically, this could involve formatting preventative power supply replacement prompts to assist maintenance personnel in making decisions.

[0103] This application provides a power status monitoring method. It acquires device information and corresponding data collection scripts for each target server, and collects power information for each target server within a preset time period based on these information. Then, for each target server, it compares and analyzes the circuit currents of each power supply within the power information, obtaining comparison analysis results. Based on these results, it determines whether the target server's power supply is abnormal. If an abnormality is detected, it extracts target feature information from the target server's power information and inputs this information into a pre-trained prediction model. The prediction model processes the target feature information to obtain a power failure prediction result, which is then fed back. This provides a complete automatic power monitoring method, and the accuracy of the results is effectively ensured through comparative analysis and the prediction model.

[0104] It should be noted that the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0105] Although the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous.

[0106] Another embodiment of this application provides a power status monitoring device, such as... Figure 5 As shown, it includes:

[0107] The information acquisition unit 501 is used to acquire the device information of each target server and the information collection script information corresponding to each target server.

[0108] The information acquisition unit 502 is used to collect the power information of each target server within a preset time period based on the device information of each target server and the information acquisition script information corresponding to each target server.

[0109] Analysis unit 503 is used to compare and analyze the circuit current of each power supply of the target server in the power information of each target server, and obtain the comparison and analysis results of the target server.

[0110] The judgment unit 504 is used to determine whether there is an abnormality in the power supply of the target server based on the comparative analysis results of the target server.

[0111] The feature extraction unit 505 is used to extract target feature information of the target server from the power information of the target server when it is determined that there is an abnormality in the power supply of the target server.

[0112] The prediction unit 506 is used to input the target feature information of the target server into the pre-trained prediction model, and process the target feature information of the target server through the prediction model to obtain the power failure prediction result of the target server.

[0113] Feedback unit 507 is used to provide feedback on the power failure prediction results of the target server.

[0114] Optionally, in another embodiment of the power status monitoring device provided in this application, the information acquisition unit includes:

[0115] The device information acquisition unit is used to obtain the device information of each target server from the backend task configuration table based on the identifier of the batch acquisition task when initiating batch acquisition tasks for each target server.

[0116] The matching unit is used to match the information collection script information corresponding to each target server from the backend task configuration table based on the server model in the device information of each target server.

[0117] Optionally, in another embodiment of the power status monitoring device provided in this application, the analysis unit includes:

[0118] The variance analysis unit is used to calculate the current variance of each power supply for each target server by using the circuit current of each power supply in the power supply information of the target server.

[0119] The difference calculation unit is used to calculate the difference in current variance corresponding to each power source, and obtain the current deviation difference.

[0120] The correlation determination unit is used to perform correlation analysis on the circuit currents of each power supply of the target server in the power information of the target server, and to obtain the correlation between each power supply.

[0121] The analysis result determination unit is used to determine the current deviation difference and the correlation between various power sources as the comparative analysis results.

[0122] Optionally, in another embodiment of the power status monitoring device provided in this application, the determination unit is used for:

[0123] The judgment sub-unit is used to determine whether the current deviation difference in the comparative analysis results of the target server is greater than a preset difference, or whether there is any correlation between any two power sources in the comparative analysis results of the target server that is less than a preset threshold.

[0124] If the current deviation difference in the comparative analysis results of the target server is found to be greater than the preset difference, or if the correlation between any two power supplies in the comparative analysis results of the target server is less than the preset threshold, then it is determined that the power supply of the target server is abnormal.

[0125] Optionally, in another embodiment of the power status monitoring device provided in this application, the device further includes:

[0126] If the power failure prediction result of the target server indicates that there is a significant risk of power failure, then a risk warning will be issued for the target server.

[0127] It should be noted that the specific working process of each unit provided in the above embodiments of this application can be referred to the specific implementation of each step in the above method embodiments, and will not be repeated here.

[0128] Another embodiment of this application provides an electronic device, such as... Figure 6 As shown, it includes:

[0129] Memory 601 and processor 602.

[0130] The memory 601 is used to store the program.

[0131] The processor 602 is used to execute the program stored in the memory 601. When the program is executed, it is specifically used to implement the power state monitoring method provided in any of the above embodiments.

[0132] Another embodiment of this application provides a computer storage medium for storing a computer program, which, when executed, implements the power status monitoring method provided in any of the above embodiments.

[0133] Computer storage media, including both permanent and non-permanent, removable and non-removable media, can store information using any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0134] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0135] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A power supply status monitoring method, characterized in that, include: Obtain the device information of each target server and the information collection script information corresponding to each target server; Based on the device information of each target server and the information collection script information corresponding to each target server, the power information of each target server is collected within a preset time period. For each of the target servers, the circuit current of each power supply in the power information of the target server is compared and analyzed to obtain the comparison and analysis results of the target server. Based on the comparative analysis results of the target server, determine whether there is any abnormality in the power supply of the target server; If it is determined that the power supply of the target server is abnormal, the target feature information of the target server is extracted from the power supply information of the target server. The target feature information of the target server is input into a pre-trained prediction model, and the target feature information of the target server is processed by the prediction model to obtain the power failure prediction result of the target server. Feedback on the power failure prediction results of the target server; Specifically, the step of comparing and analyzing the circuit current of each power supply of the target server in the power information of each target server to obtain the comparison and analysis results of the target server includes: For each of the target servers, the current variance corresponding to each power supply is calculated using the circuit current of each power supply in the power supply information of the target server. Calculate the difference in current variance corresponding to each of the power sources to obtain the current deviation difference; Correlation analysis is performed on the circuit currents of each power supply of the target server in the power information of the target server to obtain the degree of correlation between each power supply; The current deviation difference and the correlation between the various power sources are determined as the comparative analysis results.

2. The method according to claim 1, characterized in that, The acquisition of device information for each target server and information collection script information corresponding to each target server includes: When initiating a batch collection task for each of the target servers, the device information of each target server is obtained from the backend task configuration table according to the identifier of the batch collection task. Based on the server model in the device information of each target server, the information collection script information corresponding to each target server is matched from the backend task configuration table.

3. The method according to claim 1, characterized in that, The determination of whether the power supply of the target server is abnormal based on the comparative analysis results of the target server includes: Determine whether the current deviation difference in the comparative analysis result of the target server is greater than a preset difference, or whether there is any correlation between any two power sources in the comparative analysis result of the target server that is less than a preset threshold. If it is determined that the current deviation difference in the comparative analysis results of the target server is greater than a preset difference, or if the correlation between any two power supplies in the comparative analysis results of the target server is less than a preset threshold, then it is determined that the power supply of the target server is abnormal.

4. The method according to claim 1, characterized in that, After feeding back the power failure prediction result of the target server, the method further includes: If the power failure prediction result of the target server indicates that there is a risk of power failure in the target server, then a risk warning will be issued for the target server.

5. A power supply status monitoring device, characterized in that, include: An information acquisition unit is used to acquire device information of each target server and information collection script information corresponding to each target server. An information acquisition unit is used to acquire power information of each target server within a preset time period based on the device information of each target server and the information acquisition script information corresponding to each target server. The analysis unit is used to compare and analyze the circuit current of each power supply of the target server in the power information of each target server, and obtain the comparison and analysis results of the target server. The judgment unit is used to determine whether there is an abnormality in the power supply of the target server based on the comparative analysis results of the target server; The feature extraction unit is used to extract the target feature information of the target server from the power information of the target server when it is determined that there is an abnormality in the power supply of the target server. The prediction unit is used to input the target feature information of the target server into a pre-trained prediction model, and process the target feature information of the target server through the prediction model to obtain the power failure prediction result of the target server. A feedback unit is used to provide feedback on the power failure prediction results of the target server; The analysis unit includes: The variance analysis unit is used to calculate the current variance of each of the target servers by using the circuit current of each power supply of the target server in the power supply information of the target server. The difference calculation unit is used to calculate the difference in current variance corresponding to each of the power sources to obtain the current deviation difference. A correlation degree determination unit is used to perform correlation analysis on the circuit current of each power supply of the target server in the power information of the target server, and obtain the correlation degree between each power supply. The analysis result determination unit is used to determine the current deviation difference and the correlation between the various power sources as the comparative analysis result.

6. The apparatus according to claim 5, characterized in that, The information acquisition unit includes: The device information acquisition unit is used to acquire device information of each target server from the backend task configuration table according to the identifier of the batch acquisition task when initiating a batch acquisition task for each target server. The matching unit is used to match the information collection script information corresponding to each target server from the backend task configuration table based on the server model in the device information of each target server.

7. An electronic device, characterized in that, include: Memory and processor; The memory is used to store programs; The processor is used to execute the program, which, when executed, is specifically used to implement the power status monitoring method as described in any one of claims 1 to 4.

8. A computer storage medium, characterized in that, Used to store a computer program, which, when executed, is used to implement the power status monitoring method as described in any one of claims 1 to 4.