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

CN115202958BActive Publication Date: 2026-10-27TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202110410600.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-13
Publication Date
2026-10-27
Estimated Expiration
2041-04-13

AI Technical Summary

Technical Problem

[0002]服务器机房的基础设施包括机房电力设施,相关技术中,对于机房电力的监控只能通过运营商的监控平台来进行,而这种监控方式无法快速感知机房电力异常的发生,从而对在该机房中服务器上执行的业务带来很大的安全隐患

Benefits of technology

[0046]本发明实施例通过获取目标服务器集群中服务器的电源故障告警报文,提取电源故障告警报文中的服务器标识信息和电源组件告警信息,在电源组件告警信息与预置电源告警策略相匹配时确定该服务器标识信息对应的服务器产生了预设告警类型的告警,并获取第一预设时间段内的告警服务器的部署位置信息,根据该部署位置信息确定位于同一部署单元的告警服务器的数量,进而在该数量超过预设数量阈值时确定该部署单元电力异常,从而实现了从服务器端快速感知部署单元的电力异常情况,提高了对于机房电力异常的监控效率,避免了机房电力异常对在该机房中服务器上执行的业务带来的安全隐患。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115202958B_ABST
    Figure CN115202958B_ABST
Patent Text Reader

Abstract

The application discloses a power abnormality monitoring method and device, electronic equipment and a storage medium. The method comprises the following steps: obtaining a power failure alarm message of a server in a target server cluster; extracting server identification information and power component alarm information in the power failure alarm message; when the power component alarm information matches a preset power alarm strategy, determining that the server corresponding to the server identification information generates an alarm of a preset alarm type; the preset power alarm strategy represents preset power component alarm information corresponding to the alarm of the preset alarm type; obtaining deployment location information of an alarm server in a first preset time period; determining the number of alarm servers located in the same deployment unit according to the deployment location information; when the number exceeds a preset number threshold, determining that the deployment unit has a power abnormality. The application quickly senses the power abnormality of the deployment unit from the server end, and improves the monitoring efficiency of the power abnormality of the computer room.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and in particular to a method, device, electronic device, and storage medium for monitoring power anomalies. Background Technology

[0002] The infrastructure of a server room includes its power facilities. In related technologies, monitoring of the power in a server room can only be done through the operator's monitoring platform. However, this monitoring method cannot quickly detect abnormal power conditions, which poses a significant security risk to the services running on the servers in that server room. Summary of the Invention

[0003] To address the problems of existing technologies, embodiments of the present invention provide a power anomaly monitoring method, apparatus, electronic device, and storage medium. The technical solution is as follows:

[0004] On the one hand, a method for monitoring power anomalies is provided, the method comprising:

[0005] Retrieve power failure alarm messages from servers in the target server cluster;

[0006] Extract the server identification information and power component alarm information from the power failure alarm message; the power component alarm information represents the alarm type of the target power component, and the target power component is the power component of the server corresponding to the server identification information;

[0007] When the power component alarm information matches the preset power alarm policy, it is determined that the server corresponding to the server identification information has generated an alarm of a preset alarm type; the preset power alarm policy represents the preset power component alarm information corresponding to the generation of the preset alarm type.

[0008] Obtain the deployment location information of the alarm server within a first preset time period; the alarm server is the server that generates the preset alarm type within the first preset time period.

[0009] Based on the deployment location information, determine the number of alarm servers located in the same deployment unit;

[0010] When the number of alarm servers located in the same deployment unit exceeds a preset threshold, the deployment unit is determined to have a power abnormality.

[0011] On the other hand, a power anomaly monitoring device is provided, the device comprising:

[0012] The message acquisition module is used to acquire power failure alarm messages from servers in the target server cluster.

[0013] The alarm information extraction module is used to extract the server identification information and power component alarm information from the power failure alarm message; the power component alarm information represents the alarm type of the target power component, and the target power component is the power component of the server corresponding to the server identification information.

[0014] An alarm determination module is used to determine, when the power component alarm information matches a preset power alarm policy, that the server corresponding to the server identification information has generated an alarm of a preset alarm type; the preset power alarm policy represents the preset power component alarm information corresponding to the generation of the preset alarm type.

[0015] The deployment location acquisition module is used to acquire the deployment location information of the alarm server within a first preset time period; the alarm server is the server that generates the preset alarm type within the first preset time period.

[0016] The quantity determination module is used to determine the number of alarm servers located in the same deployment unit based on the deployment location information.

[0017] The power anomaly determination module is used to determine that the deployment unit is experiencing a power anomaly when the number of alarm servers located in the same deployment unit exceeds a preset number threshold.

[0018] In one exemplary embodiment, the message acquisition module includes:

[0019] The first acquisition module is used to acquire fault alarm messages of servers in the target server cluster; the fault alarm messages are messages based on the Simple Network Management Protocol Trap Format.

[0020] The parsing module is used to parse the fault alarm message. When a target field exists in the fault alarm message, the fault alarm message is determined to be a power fault alarm message. The target field includes a field indicating power component alarm information.

[0021] In one exemplary embodiment, the device further includes:

[0022] The work order information generation module is used to generate power abnormality work order information corresponding to the deployment unit and send the power abnormality work order information to the operation and maintenance system.

[0023] The first determining module is used to determine the basic information corresponding to each server in the deployment unit; the basic information includes service and deployment location information.

[0024] The list generation module is used to generate a list of affected servers based on the power anomaly work order information and the deployment location information of each server in the deployment unit.

[0025] The first sending module is used to send a power outage notification to the service based on the list of affected servers.

[0026] In one exemplary embodiment, the first sending module includes:

[0027] The second acquisition module is used to acquire the security level configuration information of the service.

[0028] The second determining module is used to determine the notification method corresponding to the service based on the security level configuration information.

[0029] The sending submodule is used to send a power anomaly notification to the service in the notification method corresponding to the service, based on the list of affected servers.

[0030] In one exemplary embodiment, the apparatus further includes:

[0031] The power parameter acquisition module is used to collect power parameter information of each server in the deployment unit in response to the power restoration detection command;

[0032] The third determining module is used to determine the number of servers in the deployment unit whose power components are in normal condition based on the power parameter information.

[0033] An anomaly resolution module is used to determine that the power anomaly of the deployment unit has been resolved when the ratio of the number of servers with normal power components in the deployment unit to the total number of servers in the deployment unit exceeds a preset ratio threshold.

[0034] The second sending module is used to send a notification to the operation and maintenance system and the service that the power abnormality of the deployment unit has been resolved.

[0035] In one exemplary embodiment, the apparatus further includes:

[0036] The judgment module is used to determine, after a second preset time period, whether there is a server in the deployment unit whose power supply component is in an abnormal state.

[0037] The fourth determining module is used to determine that the power supply component corresponding to the server whose power supply component is in an abnormal state has a physical fault when the result of the determination module is that it exists.

[0038] The third sending module is used to send a notification to the operation and maintenance system that the server has a power supply failure because the power supply component is in an abnormal state.

[0039] In one exemplary embodiment, the power parameter acquisition module includes:

[0040] The instruction sending module is used to send sensor data acquisition instructions to each server in the deployment unit in response to power restoration detection instructions;

[0041] The data receiving module is used to receive sensor data sent by each server in the deployment unit;

[0042] The power parameter information extraction module is used to extract power parameter information from the sensor data.

[0043] On the other hand, an electronic device is provided, including a processor and a memory, wherein the memory stores at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement the above-described power anomaly monitoring method.

[0044] On the other hand, a computer-readable storage medium is provided, wherein at least one instruction or at least one program is stored therein, the at least one instruction or the at least one program being loaded and executed by a processor to implement the power anomaly monitoring method as described above.

[0045] On the other hand, a computer program product or computer program is provided, which includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the power anomaly monitoring method provided in the above aspects.

[0046] This invention, through obtaining power failure alarm messages from servers in a target server cluster, extracts server identification information and power component alarm information from these messages. When the power component alarm information matches a preset power alarm policy, it determines that the server corresponding to the server identification information has generated an alarm of a preset alarm type. It also obtains the deployment location information of the alarm servers within a first preset time period, determines the number of alarm servers located in the same deployment unit based on this location information, and then determines that the deployment unit has a power anomaly when this number exceeds a preset threshold. This enables rapid detection of power anomalies in deployment units from the server side, improving the monitoring efficiency of power anomalies in the data center and avoiding security risks to services executed on servers in the data center caused by power anomalies. Attached Figure Description

[0047] 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.

[0048] Figure 1 This is a schematic diagram of the architecture of a power anomaly monitoring method provided in an embodiment of the present invention;

[0049] Figure 2 This is an example of a preset power alarm strategy provided in an embodiment of the present invention;

[0050] Figure 3 This is a flowchart illustrating a power anomaly monitoring method provided in an embodiment of the present invention;

[0051] Figure 4 This is a flowchart illustrating another power anomaly monitoring method provided in an embodiment of the present invention;

[0052] Figure 5 This is an example of power abnormality work order information provided in an embodiment of the present invention;

[0053] Figure 6 This is an example of an affected server list provided in an embodiment of the present invention;

[0054] Figure 7 This is a flowchart illustrating another power anomaly monitoring method provided in an embodiment of the present invention;

[0055] Figure 8 This is a flowchart illustrating another power anomaly monitoring method provided in an embodiment of the present invention;

[0056] Figure 9 This is a structural block diagram of a power anomaly monitoring device provided in an embodiment of the present invention;

[0057] Figure 10 This is a hardware structure block diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0058] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. 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 are within the scope of protection of the present invention.

[0059] 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, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or server 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 devices.

[0060] Please see Figure 1 The diagram shows the architecture of a power anomaly monitoring method provided in an embodiment of the present invention, including a server room 110, a power anomaly monitoring system 120, an operation and maintenance system 130, and a business system 140, wherein:

[0061] The servers deployed in server room 110 can form a server cluster, such as Figure 1 As shown, server room 110 may include room management units located on different floors. Each room management unit may include one or more server racks, and each server rack may be deployed with one or more servers.

[0062] The power anomaly monitoring system 120 may include multiple nodes that cooperate to monitor power anomalies in the server room 110. Each node refers to an independent server process, distinguishable by IP address and port. Nodes can be deployed on one or more servers; generally, one node is deployed independently on one physical server to achieve high availability. Specifically, for example... Figure 1 As shown, the power anomaly monitoring system 120 may include a raw data acquisition node 121, a data parsing node 122, a power alarm strategy matching node 123, a computer room power alarm strategy matching node 124, a computer room power anomaly work order creation node 125, and a computer room power anomaly processing flow node 126.

[0063] The raw data acquisition node 121 can acquire power failure alarm messages of the server cluster in the server room 110 and send the power failure alarm messages to the data parsing node 122. The data parsing node 122 extracts the server identification information and power component alarm information from the power failure alarm messages. The power component alarm information represents the alarm type of the target power component, which is the power component of the server corresponding to the aforementioned server identification information.

[0064] The power alarm policy matching node 123 maintains a preset power alarm policy. This preset power alarm policy represents the preset power component alarm information corresponding to the generation of an alarm of a preset alarm type. For example, the preset alarm type may be the loss of external input power. The power alarm policy matching node 123 can match the power component alarm information extracted by the data parsing node 122 with the preset power component alarm information in the preset power alarm policy. If a matching preset power component alarm information exists, it can be determined that the server corresponding to the above server identification information has generated an alarm of the preset alarm type. Thus, a corresponding power alarm log can be generated and reported to the data center power alarm policy matching node 124.

[0065] In a specific application scenario, the raw data acquisition node 121 can acquire fault alarm messages based on Simple Network Management Protocol (SNMP) trap format (TRAP) reported by servers in the server cluster. SNMP trap format messages are trap messages reported by the manager (agent) according to the SNMP protocol, used to proactively notify of device failures or changes. It should be noted that the fault alarm messages acquired by the raw data acquisition node 121 are full fault alarm messages, that is, fault alarm messages from all components of the server. The raw data acquisition node 121 sends the fault alarm messages to the data parsing node 122. The data parsing node 122 parses the fault alarm messages and determines whether a target field exists in the fault alarm message. If it exists, the fault alarm message is determined to be a power failure alarm message, where the target field includes a field indicating power component alarm information. For example, consider the following SNMPTRAP message:

[0066] trap: <unknown>UDP:[9.114.199.213]:58811->[9.114.0.5]

[0067] DISMAN-EVENT-MIB::sysUpTimeInstance=

[0068] SNMPv2-MIB::SnmptrapOID.0=SNMPv2-SMI::enterprises.47231.1.1.0.552708

[0069] SNMPv2-SMI::enterprises.22238.1.1.1="PSU2_Status"

[0070] SNMPv2-SMI::enterprises.22238.1.1.2="Power Supply input lost or out-of-range Asserted"=

[0071] SNMPv2-SMI::enterprises.22238.1.1.3="unspecified"

[0072] SNMPv2-SMI::enterprises.22238.1.1.4="TEN950P22Z"

[0073] SNMP-COMMUNITY-MIB::SnmptrapAddress.0=9.114.199.213

[0074] SNMP-COMMUNITY-MIB::SnmptrapCommunity.0="Public"

[0075] SNMPv2-MIB::SnmptrapEnterprise.0=SNMPv2-SMI::enterprises.47231.1.1。

[0076] The fields related to power supply component alarms are 1.1.1, 1.1.2, and 1.1.4. These three fields define sensor information, alarm description information, and server serial number, respectively. Combining these three fields allows identification of which power supply component on which server generated the alarm. Specifically, field 1.1.1 provides alarm sensor information, indicating which power supply unit (PSU) triggered the alarm; field 1.1.2 provides alarm description information, indicating the type of alarm for that power supply component; and field 1.1.4 provides the server serial number, indicating the specific server. Therefore, when the fault alarm message is an SNMPTRAP message, the target fields indicating the power supply component alarm information can include fields 1.1.1 and 1.1.2, while the server identification information can be obtained from field 1.1.4.

[0077] The preset power alarm policies maintained in the power alarm policy matching node 123 can be a policy table. Each row in this policy table represents a power alarm sub-policy. Each power alarm sub-policy includes a preset alarm type, preset sensor information (Sensor), and preset alarm description information (Description) corresponding to that preset alarm type, such as... Figure 2 The illustration shows an example of a preset power alarm strategy provided in this embodiment of the invention. When matching power component alarm information with preset power component alarm information in the preset power alarm strategy, the above-mentioned 1.1.1 field can be matched with preset sensor information by keywords, and the above-mentioned 1.1.2 field can be matched with preset alarm description information by keywords. If an asterisk (*) is encountered during the keyword matching process, it indicates that fuzzy matching is sufficient. If the 1.1.1 field and the 1.1.2 field match the preset sensor information and the preset alarm description information in a certain power alarm sub-strategy at the same time, it indicates that the power component alarm information matches the preset power alarm strategy.

[0078] The data center power alarm policy matching node 124 can statistically determine how many servers generated preset alarm types, such as external power input loss alarms, within a specific time period based on the power alarm logs reported by the power alarm policy matching node 123. It also obtains the deployment location information of each alarm server by associating it with the server's basic environment data. This deployment location information may include data center location information, rack location information, etc. Based on the deployment location information of the alarm servers, the data center power alarm policy matching node 124 can determine the number of alarm servers located in the same deployment unit. Furthermore, by comparing the number of alarm servers with a preset threshold, it can determine whether a power anomaly has occurred in that deployment unit. Specifically, if the number of alarm servers exceeds the preset threshold, a power anomaly is determined for that deployment unit.

[0079] The deployment unit can be a rack, a data center management unit, a floor, or even the entire server room. The preset quantity threshold corresponds to the deployment unit; different types of deployment units have different preset quantity thresholds. Generally, the more servers a deployment unit covers, the higher its preset quantity threshold. The specific value of this preset quantity threshold can be set based on practical experience. For example, when the deployment unit is a rack, the preset quantity threshold can be 5; when the deployment unit is a data center management unit, the preset quantity threshold can be 20. Furthermore, the monitoring period can also be adjusted according to the number of servers covered by the deployment unit. Generally, the more servers a deployment unit covers, the longer its corresponding period. For example, when the deployment unit is a rack, the period can be 1 minute; when the deployment unit is a data center management unit, the period can be 3 minutes.

[0080] After determining that the power is abnormal in the deployment unit, the data center power alarm policy matching node 124 can automatically create the power abnormality work order information corresponding to the deployment unit by the data center power abnormality work order creation node 125. The power abnormality work order information may include fault description, handling description and other information.

[0081] The data center power anomaly handling process node 126 can send the aforementioned power anomaly work order information to the operation and maintenance system 130, which will then conduct on-site confirmation to determine whether the power anomaly is a normal power change, such as diesel generator testing, mains power switching, or infrastructure maintenance. Furthermore, since all servers in the deployment unit are affected, the data center power anomaly handling process node 126 can also notify the business system 140 of the deployment unit's power anomaly status based on the services involved in each server. This allows the relevant services in the business system 140 to determine whether migration and backup are necessary based on the importance level and redundancy of the upper-layer applications. Moreover, the data center power anomaly handling process node 126 can also perform real-time power recovery monitoring of the affected servers to promptly perceive the power recovery status of the deployment unit and notify both the operation and maintenance system 130 and the business system 140 of the deployment unit's power recovery status.

[0082] The power anomaly monitoring method of this invention can be implemented based on cloud technology. Cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network or local area network to realize data computation, storage, processing, and sharing.

[0083] Cloud computing is a computing model that distributes computing tasks across a resource pool composed of a large number of computers, enabling various application systems to obtain computing power, storage space, and information services as needed. The network providing these resources is called the "cloud." From the user's perspective, the resources in the "cloud" are infinitely scalable, readily available, on-demand, expandable, and pay-as-you-go. As a provider of fundamental cloud computing capabilities, a cloud resource pool (referred to as a cloud platform, generally called an IaaS (Infrastructure as a Service) platform) is established. Various types of virtual resources are deployed within this pool for external customers to choose from. The cloud resource pool mainly includes: computing devices (virtualized machines containing operating systems), storage devices, and network devices. Logically, a PaaS (Platform as a Service) layer can be deployed on top of the IaaS layer, and a SaaS (Software as a Service) layer can be deployed on top of the PaaS layer. Alternatively, SaaS can be directly deployed on top of IaaS. PaaS is a platform for running software, such as databases and web containers. SaaS refers to various types of business software, such as web portals and bulk SMS senders. Generally, SaaS and PaaS are upper layers compared to IaaS.

[0084] It should be noted that the server in the embodiments of the present invention can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.

[0085] In one possible implementation, the servers and nodes involved in this invention can all be node devices in a blockchain system, capable of sharing acquired and generated information with other node devices in the blockchain system, thus realizing information sharing among multiple node devices. Multiple node devices in the blockchain system can be configured with the same blockchain, which consists of multiple blocks, and adjacent blocks are related, ensuring that any data tampering in any block can be detected by the next block, thereby preventing data tampering in the blockchain and ensuring the security and reliability of the data in the blockchain.

[0086] Please see Figure 3 The diagram shown is a flowchart of a power anomaly monitoring method provided by an embodiment of the present invention. This method can be applied to... Figure 1 The power anomaly monitoring system in the example. It should be noted that this specification provides the operational steps of the methods described in the embodiments or flowcharts, but based on conventional or non-inventive labor, more or fewer operational steps may be included. The order of steps listed in the embodiments is merely one possible execution order among many, and does not represent the only execution order. In actual system or product execution, the methods shown in the embodiments or drawings can be executed sequentially or in parallel (e.g., in a parallel processor or multi-threaded processing environment). Specifically, as shown... Figure 3 As shown, the method may include:

[0087] S301, retrieve power failure alarm messages from servers in the target server cluster.

[0088] The target server cluster refers to the servers within the monitored server room. A power failure alarm message is a message sent by the server when its power supply components fail; this alarm message includes server identification information and power supply component alarm information.

[0089] S303, extract the server identification information and power component alarm information from the power failure alarm message.

[0090] The power component alarm information represents the alarm type of the target power component, and the target power component is the power component of the server corresponding to the server identification information.

[0091] S305, when the power component alarm information matches the preset power alarm policy, it is determined that the server corresponding to the server identification information has generated an alarm of the preset alarm type.

[0092] The preset power alarm strategy represents the preset power component alarm information corresponding to the generation of the preset alarm type. For example, the preset alarm type may be an external input power loss alarm.

[0093] S307, Obtain the deployment location information of the alarm server within the first preset time period.

[0094] The alarm server is the server that generates the preset alarm type within the first preset time period. Specifically, the deployment location information of each alarm server can be obtained by associating the basic environment information of the alarm servers. This deployment location information may include data center location information, rack location information, etc.

[0095] S309, Based on the deployment location information, determine the number of alarm servers located in the same deployment unit.

[0096] S311, when the number of alarm servers located in the same deployment unit exceeds a preset number threshold, it is determined that the deployment unit has a power abnormality.

[0097] The deployment unit can be a rack, a data center management unit, a floor, or even the entire server room. The preset quantity threshold corresponds to the deployment unit. Different types of deployment units have different preset quantity thresholds. Generally, the more servers a deployment unit covers, the larger its corresponding preset quantity threshold will be. The specific value of the preset quantity threshold can be set based on actual experience. For example, when the deployment unit is a rack, the preset quantity threshold can be 5, and when the deployment unit is a data center management unit, the preset quantity threshold can be 20.

[0098] In addition, the aforementioned first preset time period can be the periodic time period of monitoring. The first preset time period can also be adjusted according to the number of servers covered by the deployment unit. Generally, the more servers covered by the deployment unit, the longer the corresponding periodic time period will be. For example, when the deployment unit is a rack, the periodic time period can be 1 minute, and when the deployment unit is a data center management unit, the periodic time period can be 3 minutes.

[0099] In practical applications, to improve the accuracy of determining power anomalies in deployment units, when determining the number of alarm servers located in the same deployment unit based on deployment location information, the operational status information of each alarm server can also be obtained. Based on this operational status information, the number of alarm servers in non-operational status is determined, and then the number of alarm servers in non-operational status is removed from the number of alarm servers. In step S311, the number after removal is compared with a preset number threshold. If the number after removal exceeds the preset number threshold, the deployment unit is determined to have a power anomaly, thus avoiding invalid alarms caused by on-site maintenance.

[0100] In one exemplary implementation, step S301 above may include the following steps when obtaining power failure alarm messages from servers in the target server cluster:

[0101] Retrieve fault alarm messages from servers in the target server cluster. These fault alarm messages are based on the Simple Network Management Protocol (SMLP) trap format.

[0102] The fault alarm message is parsed. If a target field exists in the fault alarm message, the fault alarm message is determined to be a power supply fault alarm message. The target field includes a field indicating power supply component alarm information. In practical applications, the target field may include a first field defining sensor information and a second field defining alarm description information. That is, the power supply component alarm information includes sensor information and alarm description information, wherein the sensor information indicates the target power supply component information, and the alarm description information indicates the type of alarm generated by the target power supply component.

[0103] Correspondingly, the preset power alarm strategy can be a strategy table, where each row represents a power alarm sub-strategy. Each power alarm sub-strategy includes an alarm of a preset alarm type, as well as preset sensor information and preset alarm description information corresponding to that preset alarm type. The preset sensor information indicates power component information, and the identifier of the power component can be obfuscated using a preset character such as "*". The preset alarm description information indicates the alarm type generated by the power component, and similarly, the identifier of the power component can be obfuscated using a preset character such as "*". Therefore, when implementing step S305, the first field can be matched with the preset sensor information by keywords, and the second field can be matched with the preset alarm description information by keywords. If "*" is encountered during keyword matching, fuzzy matching can be performed here. If the first field and the second field simultaneously match the preset sensor information and preset alarm description information in a certain power alarm sub-strategy, it indicates that the power component alarm information matches the preset power alarm strategy.

[0104] As can be seen from the above technical solutions of the embodiments of the present invention, the embodiments of the present invention enable rapid detection of power anomalies in deployment units from the server side, improve the detection speed of power anomalies in the data center, and avoid security risks to services executed on servers in the data center caused by power anomalies in the data center.

[0105] In one exemplary implementation, such as Figure 4 A flowchart illustrating another power anomaly monitoring method is provided. After determining the power anomaly of the deployment unit in step S311 above, the method may further include:

[0106] S401, Generate power anomaly work order information corresponding to the deployment unit.

[0107] For example, such as Figure 5 As shown, the power anomaly work order information may include a fault description, which indicates the deployment unit with the power anomaly and the number of alarm servers in that deployment unit. After generating the power anomaly work order information corresponding to the deployment unit, steps S403 and S405 to S409 can be executed respectively.

[0108] S403, the power anomaly work order information is sent to the operation and maintenance system.

[0109] Specifically, by sending power anomaly work order information to the operation and maintenance system, the system can promptly determine on-site whether the power anomaly is a normal power change, such as diesel generator testing, mains power switching, or infrastructure maintenance, and carry out timely repairs.

[0110] S405, determine the basic information corresponding to each server in the deployment unit.

[0111] The basic information includes business and deployment location information. Specifically, after determining that a deployment unit has a power outage, it can be determined that all servers in that deployment unit are affected. At this point, for each affected server, the business and deployment location information of each server is determined.

[0112] S407, Based on the power anomaly work order information and the deployment location information of each server in the deployment unit, generate a list of affected servers.

[0113] like Figure 6 The image shows an example of a generated list of affected servers, which may include the model, operating status (including active and inactive), deployment location information, fault description, and handling instructions for each server in the deployment unit experiencing power failure.

[0114] S409, based on the list of affected servers, send a power outage notification to the service.

[0115] For example, based on the services provided by each server in the deployment unit, the security level configuration information of each service can be obtained. This security level configuration information indicates the machine security level required by the service. The notification method corresponding to each service can be determined based on the security level configuration information. Then, based on the list of affected servers, a power outage notification can be sent to the corresponding service using the notification method corresponding to each service. The notification method can include instant messaging methods such as telephone, email, or WeChat. Different security level configurations correspond to different notification methods, and the higher the security level, the more timely the notification method. For example, in descending order of security level, the notification methods are telephone, email, and WeChat.

[0116] After determining that the deployment unit has a power anomaly, this embodiment of the invention sends a power anomaly notification to the relevant services based on the list of affected servers. This not only greatly shortens the time from the data center power anomaly alarm to the services, but also allows the services to know the scope of the affected servers in a timely manner, which helps the services to make a more reasonable and timely determination as to whether migration and backup are needed.

[0117] In one exemplary implementation, such as Figure 7 A flowchart illustrating another power anomaly monitoring method is provided. After generating the power anomaly work order information corresponding to the deployment unit, the method may further include:

[0118] S701, in response to the power restoration detection command, collects the power parameter information of each server in the deployment unit.

[0119] The power restoration detection command can be triggered manually or by setting a power restoration detection cycle. Once a power anomaly is detected in the deployment unit, a power restoration detection command is issued based on this cycle. Understandably, a shorter power restoration detection cycle allows for more timely power restoration detection of the deployment unit. For example, this cycle can be set to less than one minute, such as 20 seconds or 30 seconds.

[0120] All servers in the deployment unit are affected servers. In this embodiment of the invention, the power parameter information of the affected servers is collected, and power restoration detection is performed on the affected servers.

[0121] The data acquisition method can be either active or passive. In active acquisition, in response to a power restoration detection command, a sensor data acquisition command can be sent to each server in the deployment unit; sensor data sent by each server in the deployment unit can be received; and power parameter information can be extracted from the sensor data. The sensor data is the SDR (Sensor Data Record), which records the current value of the server's sensor. Power parameter information for the corresponding server can be extracted from the SDR data. In passive acquisition, in response to a power restoration detection command, the SDR data sent by the server's sensors is acquired according to an existing period, such as 1 minute. To monitor the power restoration status of the deployment unit in a timely manner, this embodiment of the invention preferably uses an active acquisition method to collect the power parameter information of each server in the deployment unit.

[0122] S703, Based on the power parameter information, determine the number of servers in the deployment unit whose power components are in normal condition.

[0123] S705, determine whether the ratio of the number of servers in the deployment unit with power components in normal condition to the total number of servers in the deployment unit exceeds a preset ratio threshold. If it exceeds the threshold, proceed to step S707; otherwise, proceed to step S709.

[0124] S707, confirm that the power abnormality of the deployment unit has been resolved.

[0125] The preset percentage threshold can be set according to actual needs. For example, it can be set to 80%, which means that when more than 80% of the servers in the deployment unit have power components in normal condition, it can be determined that the power of the deployment unit has been restored, i.e., the power abnormality has been resolved.

[0126] S709, return to steps S707 through S705.

[0127] In practical applications, after confirming that the power anomaly of the deployment unit has been resolved, a notification of the power anomaly resolution can be sent to the operation and maintenance system and services. Based on this, after step S707, the method may further include:

[0128] S711, send a notification to the operation and maintenance system and the service that the power abnormality of the deployment unit has been resolved.

[0129] This invention enables timely perception of the power restoration status of deployment units experiencing power anomalies from the server side, and can promptly notify relevant business processes in the operation and maintenance system and business system of the power restoration status online. This allows relevant business processes to migrate or back up in a timely manner according to the actual situation, improving the monitoring efficiency of power anomalies in the data center and facilitating timely power restoration, thus avoiding losses to business processes caused by power anomalies.

[0130] To eliminate power component failures caused by power switching, in one exemplary implementation, such as... Figure 8 A flowchart illustrating another power anomaly monitoring method is provided. After step S707 determines that the power anomaly of the deployment unit has been resolved, the method may further include:

[0131] S713, after the second preset time period, determine whether there is a server in the deployment unit whose power supply component is in an abnormal state.

[0132] The second preset time period can be set according to actual needs, for example, it can be set to 10 minutes. After the second preset time period is resolved when the power abnormality of the deployment unit is resolved, it is determined whether there are any servers in the deployment unit whose power components are in an abnormal state. If there are, step S715 can be executed; otherwise, if there are no, it indicates that the power of all servers in the deployment unit, i.e. the affected servers, has been restored.

[0133] S715, the power supply component corresponding to the server whose power supply component is in an abnormal state has a physical fault.

[0134] S717, a notification is sent to the operation and maintenance system that the server with the power supply component in an abnormal state has a power supply failure.

[0135] In this way, the operation and maintenance system can promptly repair servers with faulty power supply components, avoiding the risk of dual-path power failure.

[0136] The embodiments of the present invention, through the above technical solutions, can promptly detect potential power outages and power supply failures caused by power switching on the server side, thereby promoting timely repairs and avoiding the risk of dual-path power outages.

[0137] Corresponding to the power anomaly monitoring methods provided in the above embodiments, this embodiment of the invention also provides a power anomaly monitoring device. Since the power anomaly monitoring device provided in this embodiment corresponds to the power anomaly monitoring methods provided in the above embodiments, the implementation methods of the aforementioned power anomaly monitoring methods are also applicable to the power anomaly monitoring device provided in this embodiment, and will not be described in detail in this embodiment.

[0138] Please see Figure 9 The diagram shows a structural schematic of a power anomaly monitoring device provided in an embodiment of the present invention. This power anomaly monitoring device 900 has the function of implementing the power anomaly monitoring method described in the above-described method embodiments. This function can be implemented by hardware or by hardware executing corresponding software. Figure 9 As shown, the power anomaly monitoring device 900 may include:

[0139] The message acquisition module 910 is used to acquire power failure alarm messages from servers in the target server cluster;

[0140] The alarm information extraction module 920 is used to extract the server identification information and power component alarm information from the power failure alarm message; the power component alarm information represents the alarm type of the target power component, and the target power component is the power component of the server corresponding to the server identification information.

[0141] The alarm determination module 930 is used to determine, when the power component alarm information matches the preset power alarm policy, that the server corresponding to the server identification information has generated an alarm of a preset alarm type; the preset power alarm policy represents the preset power component alarm information corresponding to the generation of the preset alarm type.

[0142] The deployment location acquisition module 940 is used to acquire the deployment location information of the alarm server within a first preset time period; the alarm server is the server that generates the preset alarm type within the first preset time period.

[0143] The quantity determination module 950 is used to determine the number of alarm servers located in the same deployment unit based on the deployment location information.

[0144] The power anomaly determination module 960 is used to determine that the deployment unit has a power anomaly when the number of alarm servers located in the same deployment unit exceeds a preset number threshold.

[0145] In one exemplary embodiment, the message acquisition module 910 may include:

[0146] The first acquisition module is used to acquire fault alarm messages of servers in the target server cluster; the fault alarm messages are messages based on the Simple Network Management Protocol Trap Format.

[0147] The parsing module is used to parse the fault alarm message. When a target field exists in the fault alarm message, the fault alarm message is determined to be a power fault alarm message. The target field includes a field indicating power component alarm information.

[0148] In one exemplary embodiment, the device 900 may further include:

[0149] The work order information generation module is used to generate power abnormality work order information corresponding to the deployment unit and send the power abnormality work order information to the operation and maintenance system.

[0150] The first determining module is used to determine the basic information corresponding to each server in the deployment unit; the basic information includes service and deployment location information.

[0151] The list generation module is used to generate a list of affected servers based on the power anomaly work order information and the deployment location information of each server in the deployment unit.

[0152] The first sending module is used to send a power outage notification to the service based on the list of affected servers.

[0153] In one exemplary embodiment, the first sending module includes:

[0154] The second acquisition module is used to acquire the security level configuration information of the service.

[0155] The second determining module is used to determine the notification method corresponding to the service based on the security level configuration information.

[0156] The sending submodule is used to send a power anomaly notification to the service in the notification method corresponding to the service, based on the list of affected servers.

[0157] In one exemplary embodiment, the device 900 may further include:

[0158] The power parameter acquisition module is used to collect power parameter information of each server in the deployment unit in response to the power restoration detection command;

[0159] The third determining module is used to determine the number of servers in the deployment unit whose power components are in normal condition based on the power parameter information.

[0160] An anomaly resolution module is used to determine that the power anomaly of the deployment unit has been resolved when the ratio of the number of servers with normal power components in the deployment unit to the total number of servers in the deployment unit exceeds a preset ratio threshold.

[0161] The second sending module is used to send a notification to the operation and maintenance system and the service that the power abnormality of the deployment unit has been resolved.

[0162] In one exemplary embodiment, the device 900 may further include:

[0163] The judgment module is used to determine, after a second preset time period, whether there is a server in the deployment unit whose power supply component is in an abnormal state.

[0164] The fourth determining module is used to determine that the power supply component corresponding to the server whose power supply component is in an abnormal state has a physical fault when the result of the determination module is that it exists.

[0165] The third sending module is used to send a notification to the operation and maintenance system that the server has a power supply failure because the power supply component is in an abnormal state.

[0166] In one exemplary embodiment, the power parameter acquisition module may include:

[0167] The instruction sending module is used to send sensor data acquisition instructions to each server in the deployment unit in response to power restoration detection instructions;

[0168] The data receiving module is used to receive sensor data sent by each server in the deployment unit;

[0169] The power parameter information extraction module is used to extract power parameter information from the sensor data.

[0170] It should be noted that the apparatus provided in the above embodiments is only illustrated by the division of the above functional modules when implementing its functions. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0171] The power anomaly monitoring device of this invention enables rapid detection of power anomalies in deployment units from the server side, improving the monitoring efficiency of power anomalies in the data center and significantly shortening the time for notifying relevant business and operation and maintenance systems of power anomaly alarms. This avoids security risks to services running on servers in the data center caused by power anomalies. Furthermore, it also has the capability to confirm affected servers and verify from the server's perspective whether power has been restored to each server, promptly detecting power supply failures caused by momentary power outages.

[0172] This invention provides an electronic device including a processor and a memory. The memory stores at least one instruction or at least one program segment, which is loaded and executed by the processor to implement any of the power anomaly monitoring methods provided in the above-described method embodiments.

[0173] The memory can be used to store software programs and modules. The processor executes various functional applications and monitors power anomalies by running the software programs and modules stored in the memory. The memory can mainly include a program storage area and a data storage area. The program storage area can store the operating system, application programs required for the functions, etc.; the data storage area can store data created according to the use of the device, etc. In addition, the memory can include high-speed random access memory, and can also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory can also include a memory controller to provide the processor with access to the memory.

[0174] The methods and embodiments provided in this invention can be executed on a computer terminal, server, or similar computing device. Taking running on a server as an example... Figure 10 This is a hardware structure block diagram of a server for running a power anomaly monitoring method provided in an embodiment of the present invention, as shown below. Figure 10 As shown, the server 1000 can vary significantly due to different configurations or performance. It may include one or more central processing units (CPUs) 1010 (CPUs 1010 may include, but are not limited to, microprocessors (MCUs) or programmable logic devices (FPGAs), a memory 1030 for storing data, and one or more storage media 1020 (e.g., one or more mass storage devices) for storing application programs 1023 or data 1022. The memory 1030 and storage media 1020 may be temporary or persistent storage. The program stored in the storage media 1020 may include one or more modules, each module may include a series of instruction operations on the server. Furthermore, the CPU 1010 may be configured to communicate with the storage media 1020 and execute the series of instruction operations in the storage media 1020 on the server 1000. Server 1000 may also include one or more power supplies 1060, one or more wired or wireless network interfaces 1050, one or more input / output interfaces 1040, and / or one or more operating systems 1021, such as Windows Server™, Mac OSX™, Unix™, Linux™, FreeBSD™, etc.

[0175] The input / output interface 1040 can be used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of server 1000. In one example, the input / output interface 1040 includes a network interface controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the input / output interface 1040 may be a radio frequency (RF) module for wireless communication with the Internet.

[0176] Those skilled in the art will understand that Figure 10 The structure shown is for illustrative purposes only and does not limit the structure of the aforementioned electronic device. For example, server 1000 may also include... Figure 10 The more or fewer components shown, or having the same Figure 10 The different configurations shown.

[0177] Embodiments of the present invention also provide a computer-readable storage medium, which can be disposed in an electronic device to store at least one instruction or at least one program related to implementing a power anomaly monitoring method. The at least one instruction or the at least one program is loaded and executed by the processor to implement any of the power anomaly monitoring methods provided in the above-described method embodiments.

[0178] Embodiments of the present invention also provide a computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the power anomaly monitoring method provided in the above aspects.

[0179] Optionally, in this embodiment, the storage medium may include, but is not limited to, various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0180] It should be noted that the order of the above embodiments of the present invention is merely for descriptive purposes and does not represent the superiority or inferiority of the embodiments. Furthermore, specific embodiments have been described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims can be performed in a different order than that shown in the embodiments and still achieve the desired result. Additionally, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0181] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the apparatus embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

[0182] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0183] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.< / unknown>

Claims

1. A method for monitoring power anomalies, characterized in that, The method includes: Obtaining power failure alarm messages from servers in a target server cluster includes: obtaining fault alarm messages from servers in the target server cluster, wherein the fault alarm messages are messages based on the Simple Network Management Protocol (SMMP) trap format; parsing the fault alarm messages, and determining that the fault alarm messages are power failure alarm messages when a target field exists in the fault alarm messages, wherein the target field includes a field indicating power component alarm information; the power failure alarm messages are messages sent by the servers when the power components of the servers fail. Extract the server identification information and power component alarm information from the power failure alarm message; the power component alarm information represents the alarm type of the target power component, and the target power component is the power component of the server corresponding to the server identification information; When the power component alarm information matches the preset power alarm policy, it is determined that the server corresponding to the server identification information has generated an alarm of a preset alarm type; the preset power alarm policy represents the preset power component alarm information corresponding to the generation of the preset alarm type. Obtain the deployment location information of the alarm servers and the operational status information of each alarm server within a first preset time period; the alarm server is the server that generates the preset alarm type within the first preset time period. Based on the deployment location information, determine the number of alarm servers located in the same deployment unit; the deployment unit includes racks, data center management units, floors, or server rooms. Based on the operational status information, determine the number of alarm servers in non-operational status among the alarm servers located in the same deployment unit; The number of alarm servers that are not in operation is removed from the number of alarm servers located in the same deployment unit to obtain the number of alarm servers after removal in the same deployment unit. When the number of removed alarm servers located in the same deployment unit exceeds a preset threshold, it is determined that the deployment unit has a power abnormality. After determining that the deployment unit has a power anomaly, the method further includes: Generate power anomaly work order information corresponding to the deployment unit, and send the power anomaly work order information to the operation and maintenance system; the power anomaly work order information includes fault description information and processing description information; Determine the basic information corresponding to each server in the deployment unit; the basic information includes service and deployment location information. Based on the power anomaly work order information and the deployment location information of each server in the deployment unit, a list of affected servers is generated; Sending a power outage notification to the service based on the list of affected servers includes: obtaining the security level configuration information of the service; determining the notification method corresponding to the service based on the security level configuration information; and sending the power outage notification to the service using the notification method corresponding to the service based on the list of affected servers.

2. The power anomaly monitoring method according to claim 1, characterized in that, After generating the power anomaly work order information corresponding to the deployment unit, the method further includes: In response to a power restoration detection command, power parameter information of each server in the deployment unit is collected; Based on the power parameter information, determine the number of servers in the deployment unit whose power components are in normal condition; When the ratio of the number of servers with normal power supply components in the deployment unit to the total number of servers in the deployment unit exceeds a preset ratio threshold, the power abnormality of the deployment unit is determined to be resolved. Send a notification to the operation and maintenance system and the service that the power anomaly of the deployment unit has been resolved.

3. The power anomaly monitoring method according to claim 2, characterized in that, After determining that the power anomaly of the deployment unit has been resolved, the method further includes: After the second preset time period, determine whether there is a server in the deployment unit whose power supply component is in an abnormal state; If it exists, then it is determined that the power supply component of the server whose power supply component is in an abnormal state has a physical fault. A notification is sent to the operation and maintenance system that the server has a power supply failure because the power supply component is in an abnormal state.

4. The power anomaly monitoring method according to claim 2, characterized in that, The step of responding to a power restoration detection command by collecting power parameter information from each server in the deployment unit includes: In response to a power restoration detection command, a sensor data acquisition command is sent to each server in the deployment unit; Receive sensor data sent by each server in the deployment unit; Extract the power parameter information from the sensor data.

5. A power anomaly monitoring device, characterized in that, The device includes: The message acquisition module is used to acquire power failure alarm messages from servers in the target server cluster; the power failure alarm message is a message sent by the server when the power component of the server fails. The alarm information extraction module is used to extract the server identification information and power component alarm information from the power failure alarm message; the power component alarm information represents the alarm type of the target power component, and the target power component is the power component of the server corresponding to the server identification information. An alarm determination module is used to determine, when the power component alarm information matches a preset power alarm policy, that the server corresponding to the server identification information has generated an alarm of a preset alarm type; the preset power alarm policy represents the preset power component alarm information corresponding to the generation of the preset alarm type. The deployment location acquisition module is used to acquire the deployment location information of the alarm servers and the operational status information of each alarm server within a first preset time period; the alarm server is the server that generates the preset alarm type within the first preset time period. The quantity determination module is used to determine the number of alarm servers located in the same deployment unit based on the deployment location information; determine the number of alarm servers in a non-operational state among the alarm servers located in the same deployment unit based on the operation status information; and remove the number of alarm servers in a non-operational state from the number of alarm servers located in the same deployment unit to obtain the number of alarm servers located in the same deployment unit after removal; the deployment unit includes racks, data center management units, floors, or server rooms; The power anomaly determination module is used to determine that the deployment unit is experiencing a power anomaly when the number of removed alarm servers located in the same deployment unit exceeds a preset number threshold. The message acquisition module includes: The first acquisition module is used to acquire fault alarm messages of servers in the target server cluster; the fault alarm messages are messages based on the Simple Network Management Protocol Trap Format. The parsing module is used to parse the fault alarm message, and when a target field exists in the fault alarm message, it determines that the fault alarm message is a power fault alarm message; the target field includes a field indicating power component alarm information; The work order information generation module is used to generate power anomaly work order information corresponding to the deployment unit and send the power anomaly work order information to the operation and maintenance system; the power anomaly work order information includes fault description information and processing description information; The first determining module is used to determine the basic information corresponding to each server in the deployment unit; the basic information includes service and deployment location information. The list generation module is used to generate a list of affected servers based on the power anomaly work order information and the deployment location information of each server in the deployment unit. The first sending module is used to send a power anomaly notification to the service based on the list of affected servers; The first sending module includes: The second acquisition module is used to acquire the security level configuration information of the service. The second determining module is used to determine the notification method corresponding to the service based on the security level configuration information. The sending submodule is used to send a power anomaly notification to the service in the notification method corresponding to the service, based on the list of affected servers.

6. The apparatus according to claim 5, characterized in that, The device further includes: The power parameter acquisition module is used to collect power parameter information of each server in the deployment unit in response to the power restoration detection command; The third determining module is used to determine the number of servers in the deployment unit whose power components are in normal condition based on the power parameter information. An anomaly resolution module is used to determine that the power anomaly of the deployment unit has been resolved when the ratio of the number of servers with normal power components in the deployment unit to the total number of servers in the deployment unit exceeds a preset ratio threshold. The second sending module is used to send a notification to the operation and maintenance system and the service that the power abnormality of the deployment unit has been resolved.

7. The apparatus according to claim 6, characterized in that, The device further includes: The judgment module is used to determine, after a second preset time period, whether there is a server in the deployment unit whose power supply component is in an abnormal state. The fourth determining module is used to determine that the power supply component corresponding to the server whose power supply component is in an abnormal state has a physical fault when the result of the determination module is that it exists. The third sending module is used to send a notification to the operation and maintenance system that the server has a power supply failure because the power supply component is in an abnormal state.

8. The apparatus according to claim 6, characterized in that, The power parameter acquisition module includes: The instruction sending module is used to send sensor data acquisition instructions to each server in the deployment unit in response to power restoration detection instructions; The data receiving module is used to receive sensor data sent by each server in the deployment unit; The power parameter information extraction module is used to extract power parameter information from the sensor data.

9. An electronic device, characterized in that, The method includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the power anomaly monitoring method as described in any one of claims 1 to 4.

10. A computer-readable storage medium storing at least one instruction or at least one program, said at least one instruction or said at least one program being loaded and executed by a processor to implement the power anomaly monitoring method as described in any one of claims 1 to 4.

11. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by an electronic device, it implements the power anomaly monitoring method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • A communication power supply fault analysis method and system

    CN109698766A

  • Alarm processing method and device for application, computer system and medium

    CN111897701A

  • Abnormity alarm method and device

    CN112015618A