Alarm raising method for anomaly, and device monitoring system and computer-readable storage medium
By setting configuration files for different working environments on the hardware board of the power system to monitor power consumption and temperature, the problem of inability to reliably feedback the operating conditions of the power system and implement abnormal alarms in the prior art is solved, and the accuracy of abnormal alarms and the reliability of system safety monitoring is improved.
Patent Information
- Application Number
- PCT/CN2024/134554
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-14
- Filing Date
- 2024-11-26
- Publication Date
- 2025-06-19
AI Technical Summary
Because the power system has a complex working environment, existing power consumption and temperature monitoring solutions cannot reliably feedback the operating conditions of the power system, resulting in the inability to achieve reliable abnormal alarms.
An abnormal alarm method and equipment monitoring system are provided. By setting configuration files for different working environments on the hardware board, determining monitoring points and obtaining monitoring data, and performing health monitoring and abnormal detection, thereby improving the accuracy of abnormal alarms and the reliability of system safety monitoring.
Through configuration file monitoring and abnormal detection for different working environments, the accuracy of abnormal alarms and the reliability of system safety monitoring are improved, and abnormal conditions in the power system can be more effectively identified and responded to abnormal conditions in the power system.
Smart Images

Figure CN2024134554_19062025_PF_FP_ABST
Abstract
Description
Abnormal alarm method, equipment monitoring system and computer-readable storage medium
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on December 14, 2023, with application number 202311730491.0 and invention name “An abnormal alarm method, equipment monitoring system and computer-readable storage medium”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of electronic technology, and in particular to an abnormality alarm method, an equipment monitoring system, and a computer-readable storage medium. Background Art
[0003] Because power systems generate large amounts of operational data and require high reliability and real-time performance, embedded systems can be used to implement functions such as operational control, operational status monitoring, and abnormal information alarms. For example, power control and protection devices in power systems can be built based on embedded systems, enabling voltage, current, power, and temperature monitoring of power grids or energy storage systems.
[0004] Monitoring power consumption and temperature in power systems and issuing timely alarms when abnormal conditions occur are necessary to improve the safety and stability of power system operations. However, due to the complex working environment of power systems, current power consumption and temperature monitoring solutions cannot reliably provide feedback on the operating status of power systems and cannot provide reliable abnormality alarms. Technical issues
[0005] Since the power system has a relatively complex working environment, the current power consumption and temperature monitoring solutions cannot reliably feedback the operating status of the power system and cannot achieve reliable abnormal alarms. The embodiments of the present application provide an abnormal alarm method, an equipment monitoring system and a computer-readable storage medium to improve the accuracy of abnormal alarms and improve the reliability of system safety monitoring. Technical Solutions
[0006] To achieve the above objectives, this application adopts the following technical solutions:
[0007] In a first aspect, an abnormality alarm method is provided, which is applied to a hardware board of an embedded system, and the method includes:
[0008] Obtaining a configuration file corresponding to the hardware board; wherein the configuration file is a configuration file set corresponding to the environment in which the hardware board is located;
[0009] Read the configuration data and location information of the monitoring points in the above configuration file;
[0010] Determine the monitoring points distributed in the hardware board according to the location information of the monitoring points;
[0011] Obtaining monitoring data from the monitoring points, and monitoring the operating status of the hardware boards based on the monitoring data and the configuration data;
[0012] When an abnormal situation is detected, an abnormal alarm notification will be issued.
[0013] In the abnormal alarm method provided in the embodiment of the present application, corresponding configuration files are set for different hardware board working environments. The hardware board can use the location information of the monitoring points in the corresponding configuration file to determine the monitoring points distributed in the hardware board, and monitor and detect abnormalities of the operating status of the hardware board according to the configuration data in the configuration file. Since the configuration file is set for the working environment of the hardware board, it can adapt to the working environment of the hardware board to realize operating status monitoring, thereby effectively improving the accuracy of abnormal alarms and improving the reliability of system security monitoring.
[0014] In some embodiments, obtaining monitoring data from the monitoring points and monitoring the operating status of the hardware boards based on the monitoring data and the configuration data includes:
[0015] Determine power consumption monitoring results and temperature monitoring results based on the above monitoring data and the above configuration data;
[0016] When a single hardware board abnormality is detected based on the power consumption monitoring result and the temperature monitoring result, a single hardware board abnormality alarm is issued.
[0017] In the embodiment of the present application, the power consumption monitoring results and the temperature monitoring results are combined to comprehensively measure whether there is an abnormal condition in a single hardware board, which can improve the accuracy of abnormality identification.
[0018] In some embodiments, identifying an abnormal condition of a single hardware board based on power consumption monitoring results and temperature monitoring results includes:
[0019] Obtain a single hardware board alarm threshold value, a first weight coefficient, and a second weight coefficient according to a configuration file;
[0020] Calculate the single board card alarm coefficient according to the power consumption monitoring result, the temperature monitoring result, the first weight coefficient and the second weight coefficient;
[0021] If the single board abnormality score is greater than the single hardware board alarm threshold, it is determined that a single hardware board abnormality exists.
[0022] In the embodiment of the present application, different weight parameters can be set for power consumption monitoring and temperature monitoring according to different working environments, so that the abnormal alarm from the hardware board can be more adapted to its working environment.
[0023] Specifically, the first weight coefficient and the second weight coefficient are configured according to the ambient temperature of the working environment of the hardware board.
[0024] By configuring different weights for power consumption monitoring results and temperature monitoring results in different working environments, adaptability anomaly monitoring for different working environment temperatures can be achieved.
[0025] In some embodiments, when it is identified that a single hardware board abnormality occurs according to the power consumption monitoring results and the temperature monitoring results, a single hardware board abnormality alarm is sent to the management board.
[0026] Send a single hardware board abnormality alarm to the management board, so that the management board can be directly used to perform hardware board abnormality statistics. The original management board can be used to achieve system-level abnormality monitoring of the entire embedded system, saving hardware costs.
[0027] In some embodiments, if the hardware board that issues the single hardware board abnormality alarm is a critical hardware board, it is determined that a system-level abnormality exists.
[0028] In the embodiment of the present application, by monitoring the abnormalities of key hardware boards, system-level abnormalities can be quickly determined, thereby improving the efficiency of abnormal alarms.
[0029] In some embodiments, before obtaining the configuration file corresponding to the hardware board, the method further includes:
[0030] Perform system simulation on the working environment of the hardware board and obtain system simulation results;
[0031] Configure the configuration file according to the system simulation results.
[0032] In the embodiment of the present application, by performing system simulation on the working environment of the hardware board and configuring the configuration file based on the simulation results, configurable abnormality monitoring is achieved.
[0033] In some embodiments, obtaining monitoring data from a monitoring point and monitoring the operating status of a hardware board based on the monitoring data and configuration data includes:
[0034] Determine the filtering algorithm and power threshold value according to the configuration file;
[0035] Filter the current sampling data and the voltage sampling data respectively based on the filtering algorithm;
[0036] Calculate the power characteristic value within the sampling period according to the filtered current sampling data and the filtered voltage sampling data;
[0037] Identify whether the hardware board has abnormal power consumption based on the power characteristic value and power threshold value.
[0038] In the embodiment of the present application, by determining the filtering algorithm and power threshold value corresponding to the hardware board through the configuration file, targeted monitoring of the power consumption of the hardware board can be achieved, thereby improving the accuracy of power consumption monitoring.
[0039] In some embodiments, the operation status of the hardware board is monitored according to the configuration file and the monitoring data, including:
[0040] Determine the temperature threshold value according to the configuration file;
[0041] Identify whether the hardware board has abnormal temperature based on temperature data and temperature thresholds.
[0042] In the embodiment of the present application, the temperature threshold value corresponding to the hardware board is determined by the configuration file, which can monitor the temperature condition of the hardware board in a targeted manner, thereby improving the accuracy of temperature monitoring.
[0043] In a second aspect, a device monitoring system is provided, including a hardware board, the hardware board including:
[0044] The configuration file loading module is used to obtain the configuration file corresponding to the hardware board. The configuration file is a configuration file set corresponding to the environment in which the hardware board is located;
[0045] Reading module, used to read the configuration data of the configuration file and the location information of the monitoring points;
[0046] A monitoring point determination module is used to set corresponding monitoring points in the hardware board according to the location information of the monitoring points;
[0047] The abnormality monitoring module is used to obtain monitoring data from monitoring points and monitor the operating status of hardware boards based on the monitoring data and configuration files.
[0048] In some embodiments, the hardware board is a hardware board, and the device monitoring system further includes a backplane, in which a backplane bus is arranged, and the hardware board is communicatively connected via the backplane bus.
[0049] In a third aspect, a readable storage medium is provided, on which a computer program is stored. When the computer program is run on a device, the device executes the steps executed in the method of the first aspect.
[0050] In a fourth aspect, a computer program product is provided, comprising: computer program code, which, when run on a device, executes the steps executed in the method of the first aspect.
[0051] In a fifth aspect, a chip is provided, comprising: a processor for calling and running a computer program from a memory, so that a device equipped with the chip executes the steps performed in the method of the first aspect.
[0052] It can be understood that the beneficial effects that can be achieved by the second to fifth aspects mentioned above can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] FIG1 shows a schematic diagram of the system architecture of a device monitoring system provided in an embodiment of the present application.
[0054] FIG2 shows a schematic diagram of the system architecture of another equipment monitoring system provided in an embodiment of the present application.
[0055] FIG3 shows a schematic diagram of the hardware structure of a device monitoring system provided in an embodiment of the present application.
[0056] FIG4 shows a schematic diagram of an implementation flow of a fault handling method provided in an embodiment of the present application.
[0057] FIG5 shows a schematic diagram of a configuration flow of a configuration file in a fault handling method provided in an embodiment of the present application.
[0058] FIG6 shows a flow chart of another fault handling method provided in an embodiment of the present application. Modes for Carrying Out the Invention
[0059] The technical solutions of this application will be described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only part of the embodiments of this application, rather than all the embodiments.
[0060] In the following description, specific details such as specific system structures and techniques are provided for purposes of illustration rather than limitation to facilitate a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid obscuring the description of the present application with unnecessary detail.
[0061] The term "comprising" herein indicates the presence of the described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or collections thereof. The terms "comprising", "including", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized. In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, unless otherwise stated, "multiple" means two or more.
[0062] The term "and / or" in this document simply describes a relationship between related objects, indicating that three possible relationships exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, or B exists alone. Additionally, the character " / " in this document generally indicates that the related objects are in an "or" relationship.
[0063] An embedded system is a specialized computer system centered around applications and based on computer technology, capable of flexibly tailoring its hardware and software modules to user needs (e.g., functionality, reliability, cost, size, power consumption, and environmental requirements). An embedded system primarily includes an embedded microprocessor, peripheral hardware, an embedded operating system, and user application software. Embedded systems can be used to control, monitor, and manage devices.
[0064] Because power systems generate large amounts of operational data and require high reliability and real-time performance, embedded systems can be used to implement functions such as operational control, operational status monitoring, and abnormal information alarms. For example, power control and protection devices in power systems can be built based on embedded systems, enabling voltage, current, power, and temperature monitoring of power grids or energy storage systems.
[0065] The above-mentioned embedded system may include different functional components, functional units and / or functional modules. For example, it may include a monitoring module for operation monitoring, a communication module for communicating with external devices and communicating with various functional modules inside the device, a control module for controlling various mechanisms in the power system to perform actions, etc.
[0066] In some embodiments, the various functional modules of the embedded system can be implemented using hardware boards. For example, the power control and protection device described above may include one or more hardware boards for monitoring the voltage, current, power, and temperature of the power grid; one or more hardware boards for controlling the on / off of power lines in the power grid; one or more hardware boards for communication; and one or more hardware boards for providing operating power. The various hardware boards in the power control and protection device are connected via a bus, enabling inter-board communication. This bus may be located in the backplane.
[0067] Of course, the above-mentioned embedded system can also be built through other hardware devices, including but not limited to system-on-chip (SOC), digital signal processor (DSP), smart devices, industrial computers and computers.
[0068] Monitoring power consumption and temperature in power systems and issuing timely alarms when abnormal conditions occur are necessary to improve the safety and stability of power system operations. However, due to the complex working environment of power systems, current power consumption and temperature monitoring solutions cannot reliably provide feedback on the operating status of power systems and cannot provide reliable abnormality alarms.
[0069] In order to solve the above technical problems, the embodiments of the present application provide a device monitoring system, an abnormal alarm method and a device, and set corresponding configuration files for different hardware board working environments, so that the hardware board can use the configuration data in the corresponding configuration file to monitor the operating status of the hardware board and detect abnormalities, thereby improving the accuracy of abnormal alarms and improving the reliability of system security monitoring.
[0070] The following will first describe the device monitoring system and abnormal alarm method provided by the embodiments of the present application with reference to the accompanying drawings:
[0071] Referring to FIG. 1 , FIG. 1 illustrates a schematic diagram of the system architecture of an embedded system-based device monitoring system 10 according to an embodiment of the present application. The device monitoring system 10 is applied to a power system, specifically, a power control and protection device within the power system. The device monitoring system 10 includes multiple hardware boards, such as hardware board 11, hardware board 12, and hardware board 13.
[0072] As shown in FIG. 1 , the hardware board in the device monitoring system 10 may include a configuration file loading module 111 , a reading module 112 , a monitoring point determination module 113 , and an abnormality monitoring module 114 .
[0073] The configuration file loading module 111 is used to obtain a configuration file corresponding to the hardware board.
[0074] The reading module 112 is used to read the configuration data of the configuration file and the location information of the monitoring points.
[0075] The monitoring point determination module 113 is used to determine the monitoring points distributed in the hardware board according to the location information of the monitoring points.
[0076] The abnormality monitoring module 114 is used to obtain monitoring data of the monitoring points and monitor the operating status of the corresponding hardware boards based on the monitoring data and configuration files.
[0077] In the embodiment of the present application, when each hardware board is monitoring its operational status, it retrieves the configuration file corresponding to that hardware board to analyze abnormal conditions. The configuration file is configured specifically for the environment in which the hardware board is located. Specifically, when hardware board 11 is monitoring its operational status, the configuration file retrieved by configuration file loading module 111 corresponds to hardware board 11; when hardware board 12 is monitoring its operational status, the configuration file retrieved by configuration file loading module 111 corresponds to hardware board 12; and when hardware board 13 is monitoring its operational status, the configuration file retrieved by configuration file loading module 111 corresponds to hardware board 13.
[0078] It is understandable that, since the working environments of different hardware boards are not necessarily the same, the configuration files corresponding to different hardware boards are also different.
[0079] The configuration file may store, but is not limited to, configuration data related to monitoring functions such as power consumption monitoring, temperature monitoring, current monitoring, and voltage monitoring of the hardware board, and may also store location information of monitoring points corresponding to the hardware board.
[0080] The above configuration data includes, but is not limited to, the sampling interval, calculation cycle, filtering algorithm, monitoring range, threshold value, etc. required for monitoring power consumption, temperature, current, and voltage. Among them, the filtering algorithm may include a current filtering algorithm and a voltage filtering algorithm. The threshold value may include various threshold values related to power (i.e., power threshold values) (e.g., power high-high value, power high value, power low value, power low-low value), various threshold values related to temperature (i.e., temperature threshold values) (temperature high-high value, temperature high value, temperature low value, temperature low-low value), threshold values related to current (current high value, current low value), and threshold values related to voltage (voltage high value, voltage low value), etc.
[0081] It is understandable that the above-mentioned power threshold value is a pre-set parameter for evaluating the operating status of the power monitoring point. The power threshold value settings are different in different environments. The above-mentioned power threshold value may include but is not limited to parameters such as power high-high value, power high value, power low value, and power low-low value. Among them, the power high-high value is greater than the power high value, the power high value is greater than the power low value, and the power low value is greater than the power low value. When the power value of the monitoring point obtained is greater than the power high-high value, it means that the monitoring point has experienced an abnormal condition of excessive power consumption; when the power value of the monitoring point obtained is less than the power high-high value but greater than the power high value, it means that the monitoring point is about to experience an abnormal condition of excessive power consumption; when the power value of the monitoring point obtained is less than the power low-low value, it means that the monitoring point has experienced an abnormal condition of excessive power consumption; when the power value of the monitoring point obtained is greater than the power low-low value but less than the power low value, it means that the monitoring point is about to experience an abnormal condition of excessive power consumption.
[0082] Similarly, the above-mentioned temperature threshold value is a pre-set parameter for evaluating the operating status of the temperature monitoring point. The temperature threshold values corresponding to the monitoring points in different working environments are also different. The temperature threshold value may include but is not limited to parameters such as the high-high temperature value, the high-high temperature value, the low-low temperature value, and the low-low temperature value. Among them, the high-high temperature value is greater than the high-high temperature value, the high-high temperature value is greater than the low-low temperature value, and the low-low temperature value is greater than the low-low temperature value. When the temperature value of the monitoring point obtained is greater than the high-high temperature value, it indicates that the monitoring point has experienced an abnormal condition of excessive power consumption; when the temperature value of the monitoring point obtained is less than the high-high temperature value but greater than the high-high temperature value, it indicates that the monitoring point is about to experience an abnormal condition of excessive power consumption; when the temperature value of the monitoring point obtained is less than the low-low temperature value, it indicates that the monitoring point has experienced an abnormal condition of excessive low temperature; when the temperature value of the monitoring point obtained is greater than the low-low temperature value but less than the low-low temperature value, it indicates that the monitoring point is about to experience an abnormal condition of excessive low power consumption.
[0083] The above-mentioned filtering algorithms include but are not limited to limiting filtering method, median filtering method, arithmetic mean filtering method, recursive averaging filtering method, median averaging filtering method, limiting averaging filtering method, first-order lag filtering method, weighted recursive averaging filtering method, de-jitter filtering method, limiting de-jitter filtering method, infinite impulse response digital filtering method (infinite impulse response, IIR), etc.
[0084] Because each hardware board operates in a different environment, the locations where abnormalities are most likely to occur during operation vary. Therefore, monitoring points can be set specifically for each hardware board's environment. These monitoring points may include, but are not limited to, power consumption, temperature, voltage, and current monitoring points. The location of these monitoring points can also be stored in the configuration file corresponding to the hardware board. The hardware board can use this configuration file to determine which locations require specific monitoring, specifically, which monitoring points are distributed throughout the hardware board and which require specific monitoring.
[0085] For example, assume that the location information of the monitoring points set in the configuration file includes three pieces of location information, namely: Location information 1: Location 1, power consumption monitoring point; Location information 2: Location 2, power consumption monitoring point and temperature monitoring point; Location information 3: Location 3, temperature monitoring point. The hardware board can then determine that there are three monitoring points distributed in the hardware board, of which the first monitoring point is the power consumption monitoring point at location 1, the second monitoring point is the power consumption monitoring point and temperature monitoring point at location 2, and the third monitoring point is the temperature monitoring point at location 3. At this point, the hardware board can obtain power consumption data (current sampling data and voltage sampling data) at location 1, power consumption data and temperature data at location 2, and temperature data at location 3.
[0086] It should be noted that a specific monitoring point may only perform one monitoring function, that is, only power consumption monitoring, only current monitoring, only voltage monitoring, or only temperature monitoring; or it may perform multiple monitoring functions simultaneously, for example, power consumption monitoring and temperature monitoring.
[0087] In the embodiment of the present application, a corresponding configuration file can be set for each hardware board according to the complex operating environment. The hardware board can set the monitoring point using the location information of the monitoring point in the corresponding configuration file, and use the corresponding configuration data to monitor and detect anomalies at the monitoring point of the hardware board, thereby effectively improving the accuracy of the anomaly alarm and improving the reliability of the system security monitoring.
[0088] In some embodiments, the working environment of the embedded system (i.e., the environment in which the above-mentioned power system is located) can be subjected to system simulation, and the system simulation includes but is not limited to electric field simulation / power field simulation, temperature field simulation, etc. Specifically, system simulation can be performed for the working environment in which each hardware board is located, such as performing electric field simulation / power field simulation on the working environment of the hardware board, thereby determining the positions where power anomalies are prone to occur in each hardware board, and setting these positions as power monitoring points, and performing temperature simulation on the working environment of the hardware board, thereby determining the positions where the operating temperature is prone to temperature anomalies in each hardware board, and setting these positions as temperature monitoring points (such as the position of the main processor, the position of the key components, and the position of the key interface, etc.). Of course, when performing electric field simulation on the power system, the positions where current anomalies or voltage anomalies are prone to occur in each hardware board can also be determined, and then corresponding current monitoring points and voltage monitoring points can be set. Alternatively, it can be determined based on whether the hardware board contains high-power consumption devices such as the main processor, coprocessor or microprocessor, high-speed communication interface, and if so, the positions where these devices are located can be determined as monitoring points (power consumption monitoring points and temperature monitoring points).
[0089] In some embodiments, for hardware boards that require power consumption monitoring, the abnormality monitoring module 114 may include a power consumption monitoring subunit. The configuration data may store filtering algorithms and power thresholds related to power consumption monitoring.
[0090] The power consumption monitoring subunit can be specifically used to monitor power consumption anomalies based on sampled current data and sampled voltage data, a filtering algorithm, and a power threshold value.
[0091] In specific applications, a task list can be stored in the configuration file, which records the monitoring tasks to be run by the hardware board. For example, the task list records the power consumption monitoring points of the hardware board 11 that need to run the power consumption monitoring task. Then, the hardware board 11 determines that the power consumption monitoring points need to run power consumption monitoring according to the task list, and the power consumption monitoring sub-unit can be used to monitor the power consumption of the power consumption monitoring points in the hardware board.
[0092] In some embodiments, the hardware board may be provided with a sampling circuit, which may be either a voltage sampling circuit or a current sampling circuit. When performing power consumption monitoring, the hardware board may perform current sampling and voltage sampling at the power consumption monitoring point using two independent sampling circuits. Specifically, the current sampling circuit may be used to sample current and obtain current sampling data, while the voltage sampling circuit may be used to sample voltage and obtain voltage sampling data. The hardware board's anomaly monitoring module can filter the sampled data from the sampling circuit according to the filtering algorithm set in the configuration file. For example, if the configuration file sets the current sampling data and voltage sampling data to be filtered using a limiting filtering method, the hardware board's anomaly monitoring module will filter the current sampling data and voltage sampling data using the limiting filtering method. It then determines the data validity based on the filtered current sampling data, the filtered voltage sampling data, and the monitoring range (set in the configuration file). Specifically, if the ratio of the voltage value (the value corresponding to a sampling time in the filtered voltage sampling data) to the current value (the value of the filtered current sampling data at the same sampling time) exceeds the monitoring range, the sampled data (including the current sampling data and the voltage sampling data) is invalid. If the ratio of the voltage value to the current value is within the monitoring range, the data is valid. If the data is invalid, it is discarded. If the data is valid, power calculation can be performed based on the filtered current sampling data and the filtered voltage sampling data. The power characteristic value obtained by the power calculation is compared with the various power-related thresholds (power thresholds) to determine whether the hardware board needs to issue a power consumption anomaly alarm.
[0093] In some embodiments, the configuration file may also store the current sampling / voltage sampling interval and calculation cycle. The power consumption monitoring subunit is used to calculate the power characteristic value within the calculation cycle based on the sampling interval and calculation cycle in the configuration file. The power value of each power consumption monitoring point can be calculated based on the voltage value and current value collected by the power consumption monitoring point. For example, the voltage value collected by the power consumption monitoring point is multiplied by the current value, and the product is used as the power value of the power consumption monitoring point. Alternatively, the voltage value collected by the power consumption monitoring point can be multiplied by the voltage coefficient (stored in the configuration file) to obtain the optimized voltage value, and the current value is multiplied by the current coefficient (stored in the configuration file) to obtain the optimized current value. The optimized voltage value is then multiplied by the optimized current value, and the product is used as the power value of the power consumption monitoring point.
[0094] It should be noted that different hardware boards and different power consumption monitoring points on the same hardware board may have different sampling intervals and calculation cycles corresponding to them, so as to meet different sampling requirements.
[0095] Among them, the power characteristic value can be the average power within the calculation period, and the average power can be obtained by averaging the power within the calculation period; the signal can also be Fourier transformed, and then the squares of the sample values in the frequency domain are summed and divided by the frequency resolution to obtain the average power; the signal can also be autocorrelated and then the autocorrelation function is integrated in the time domain to obtain the average power of the signal.
[0096] In a specific application, the power threshold values may include a high-high power value, a high-high power value, a low-low power value, and a low-low power value. When the calculated power characteristic value is greater than the high-high power value, the power consumption monitoring subunit issues a first abnormality alarm, which is used to indicate that the hardware board has experienced an abnormal condition of excessive power consumption; when the calculated power characteristic value is less than the high-high power value but greater than the high-high power value, the power consumption monitoring subunit issues a second abnormality alarm, which is used to warn that the hardware board is about to experience an abnormal condition of excessive power consumption; when the calculated power characteristic value is less than the low-low power value, the power consumption monitoring subunit issues a third abnormality alarm, which is used to indicate that the hardware board has experienced an abnormal condition of insufficient power; when the calculated power characteristic value is greater than the low-low power value but less than the low-low power value, the power consumption submodule issues a fourth abnormality alarm, which is used to warn that the hardware board is about to experience an abnormal condition of insufficient power consumption.
[0097] It should be noted that the hardware board can also obtain the current data and voltage data of the power consumption monitoring point through other means. For example, for hardware boards with current instantaneous value reading function and voltage instantaneous value reading function, the current instantaneous value of the power consumption monitoring point can be directly read using the current instantaneous value reading function, and the voltage instantaneous value of the power consumption monitoring point can be read using the voltage instantaneous value reading function. After performing corresponding processing (such as filtering processing, abnormal point elimination processing, etc.), the power value can be calculated.
[0098] It is understandable that, in the configuration file of the same hardware board, the filtering algorithm used when filtering the current sampling data may be the same as or different from the filtering algorithm used when filtering the voltage sampling data. For example, taking the above-mentioned main management hardware board 11 as an example, the configuration file in the above-mentioned management hardware board 11 may be configured to use the limited average filtering method to filter the current sampling data and the first-order lag filtering method to filter the voltage sampling data; it may also be configured to use the limited average filtering method to filter the current sampling data and the limited average filtering method to filter the voltage sampling data. In the configuration files of different hardware boards, the filtering algorithm used when filtering the current sampling data may be the same as or different from the filtering algorithm used when filtering the voltage sampling data. For different node settings, which filtering algorithm to use to filter the sampling data can be determined based on actual application requirements, and this application does not impose specific restrictions on this.
[0099] It is understandable that the threshold values configured in the configuration files of different hardware boards can be the same or different. For example, taking the above-mentioned hardware board 11 and hardware board 12 as examples, the configuration file of the above-mentioned hardware board 11 sets the power high-high value (P1), power high value (P2), power low value (P3) and power low-low value (P4) related to the power consumption monitoring of the hardware board 11; the configuration file of the above-mentioned hardware board 12 sets the power high-high value (P5), power high value (P6), power low value (P7) and power low-low value (P8) related to the power consumption monitoring of the hardware board 12; wherein, P1>P2>P3>P4, P5>P6>P7>P8, P1 can be equal to P5 or different; P2 can be equal to P6 or different; P3 can be equal to P7 or different; P4 can be equal to P8 or different.
[0100] In some embodiments, the configuration data in the configuration file may further include a temperature threshold value. The hardware board may obtain temperature data of a temperature monitoring point through a temperature sensor or other device. The abnormality monitoring module 114 may further include a temperature monitoring subunit.
[0101] The temperature monitoring subunit is used to identify whether the hardware board has an abnormal temperature condition based on temperature data and a temperature threshold value.
[0102] In specific applications, when the hardware board is performing temperature monitoring, it can obtain the temperature data collected by the temperature sensors in multiple temperature monitoring points of the hardware board. During the measurement period, the temperature characteristic value is determined based on the collected temperature data, and then the temperature characteristic value is compared with the temperature threshold value set in the configuration file to determine whether the operating temperature of the hardware board is abnormal. In addition, a temperature abnormality alarm can be issued if the operating temperature is abnormal.
[0103] In a specific application, the temperature average value within the sampling period can be calculated and used as the temperature characteristic value. The above-mentioned temperature threshold value can include a high-high temperature value, a high-high temperature value, a low-low temperature value, and a low-low temperature value. Wherein, when the calculated temperature characteristic value is greater than the high-high temperature value, the temperature monitoring subunit issues a fifth abnormal alarm, and the fifth abnormal alarm is used to indicate that the hardware board has experienced an abnormal condition of excessive temperature; when the calculated temperature characteristic value is less than the high-high temperature value but greater than the high-high temperature value, the temperature monitoring subunit issues a sixth abnormal alarm, and the sixth abnormal alarm is used to warn that the hardware board is about to experience an abnormal condition of excessive temperature; when the calculated temperature characteristic value is less than the low-low temperature value, the temperature monitoring subunit issues a seventh abnormal alarm, and the seventh abnormal alarm is used to indicate that the hardware board has experienced an abnormal condition of excessive temperature; when the calculated temperature characteristic value is greater than the low-low temperature value but less than the low-low temperature value, the temperature submodule issues an eighth abnormal alarm, and the eighth abnormal alarm is used to warn that the hardware board is about to experience an abnormal condition of excessive temperature.
[0104] It should be noted that the temperature characteristic value may also be other statistical characteristic values, such as the maximum temperature value, minimum temperature value, or median temperature value within a sampling period. The sampling period may be set according to the actual application scenario and may also be written into the configuration file of the hardware board. In this way, the temperature monitoring subunit of the hardware board can analyze the temperature operating status of the hardware board based on the sampling period when performing temperature monitoring.
[0105] Since the working environments of different hardware boards may be different, different configuration files are set for different hardware boards in the embodiment of the present application, so that when each hardware board is monitoring its operating status, it can use the configuration data adapted to the working environment of the hardware board to perform abnormal alarm judgment on the hardware board, which can effectively improve the accuracy of the abnormal alarm of the power system and improve the reliability of the abnormal alarm.
[0106] In some embodiments, the configuration data and the location information of the monitoring points in the configuration file are configurable. Specifically, the configuration file can be configured according to the system simulation results of the working environment of the hardware board.
[0107] It should be understood that the above-mentioned hardware board may also include other software modules and hardware modules, such as a storage module, a data acquisition module, etc., which will not be described in detail in this embodiment.
[0108] To improve the monitoring reliability of the device monitoring system, one hardware board in the device monitoring system can be set as a management board to manage other hardware boards and analyze whether there are any abnormal conditions in the entire system. For example, as shown in Figure 2, the device monitoring system can include a management board 21 and one or more slave hardware boards 22.
[0109] The management board 21 also includes a configuration file loading module 111 , a reading module 112 , a monitoring point determination module 113 and an abnormality monitoring module 114 .
[0110] In addition, the management board 21 also includes a configuration file distribution module 213 for distributing configuration files to each slave hardware board 22, and a system alarm module 214 for determining system-level abnormalities based on single hardware board abnormality alarms fed back by the slave hardware boards 22. The slave hardware boards 22 also include a single board alarm module 223.
[0111] It should be understood that the management hardware board 21 and the slave hardware board 22 may also include other software modules and hardware modules. For example, the management hardware board 21 may also include a single board alarm module for identifying single hardware board-level abnormalities. In addition, the management hardware board 21 and the slave hardware board 22 may also include storage modules, communication modules and other modules, which are not described in detail in this embodiment.
[0112] In the embodiment of the present application, the management hardware board 21 stores configuration files configured for the operating environment of each hardware board. When each hardware board monitors its operating status, it calls the configuration file corresponding to that hardware board to analyze abnormal conditions. Specifically, the management hardware board 21 can monitor abnormalities of the management hardware board 21 based on the configuration file corresponding to the management hardware board 21, and the slave hardware board 22 can monitor abnormalities of the slave hardware board 22 based on the configuration file corresponding to the slave hardware board 22.
[0113] For the relevant description of the abnormality monitoring module 114 in the hardware board 22, please refer to the description of the abnormality monitoring module of the hardware board in the above embodiment. That is, the abnormality monitoring module 114 in the hardware board 22 can also include a power consumption monitoring subunit and a temperature monitoring subunit. The power consumption monitoring subunit can identify abnormal power consumption conditions based on power consumption data and power threshold values, and the temperature monitoring subunit can identify abnormal temperature conditions based on temperature data and temperature threshold values. For specific descriptions, please refer to the descriptions of the power consumption monitoring subunit and temperature monitoring subunit in the above embodiment, and will not be repeated here.
[0114] In a specific application, the single-board alarm module 223 in the slave hardware board 22 may determine whether to send a single hardware board abnormality alarm based on the power consumption monitoring result and the temperature monitoring result.
[0115] In some implementations, the single-board alarm module 223 of the hardware board 22 can determine to send a single hardware board abnormality alarm when the power characteristic value (the power consumption monitoring result is reflected in the form of a power characteristic value) exceeds a first threshold value and the temperature characteristic value (the temperature monitoring result is reflected in the form of a temperature characteristic value) exceeds a second threshold value.
[0116] In some implementations, the single-board alarm module 223 of the slave hardware board 22 may determine to send a single hardware board abnormality alarm when the power characteristic value exceeds a first threshold and the temperature characteristic value exceeds a second threshold within a preset time period.
[0117] It should be noted that the above-mentioned power consumption monitoring results and temperature monitoring results can be determined based on the monitoring data and configuration data. The above-mentioned power consumption monitoring results can be characterized by the power characteristic value, or by the numerical value set corresponding to the power characteristic value. Of course, they can also be characterized by other means, such as the parameters obtained after the power characteristic value is converted. Similarly, the above-mentioned temperature monitoring results can also be characterized by the temperature characteristic value, or by the numerical value set corresponding to the temperature characteristic value, or by other means, such as the parameters obtained after the temperature characteristic value is converted.
[0118] It should be noted that the power consumption monitoring result and the temperature monitoring result can be expressed as numerical values. The power consumption monitoring subunit can determine the power consumption monitoring result according to the power characteristic value and the power consumption threshold value.
[0119] Exemplarily, the power consumption monitoring subunit can set multiple score intervals according to the power threshold value, each score interval corresponds to a numerical value, and the power consumption monitoring result corresponds to the numerical value of the score interval in which the power characteristic value is located. For example, the above-mentioned power threshold value may include P1 (high power value), P2 (high power value), P3 (low power value), and P4 (low power value), wherein P1>P2>P3>P4, and then 5 score intervals can be set, wherein the interval range of the first score interval is the power characteristic value P>P1, the interval range of the second score interval is P1>=P>P2, the interval range of the third score interval is P2>=P>P3, the interval range of the fourth score interval is P3>=P>P4, and the interval range of the fifth score interval is P<=P4. Since P>P1 and P<=P4 both belong to abnormal power conditions, the values corresponding to the first score interval and the fifth score interval can be set higher, for example, they can be set to 80 points. The second score interval and the fourth score interval belong to possible power abnormal conditions, so the values corresponding to the second score interval and the third score interval can be set lower than the first score interval and the fifth score interval, for example, they can be set to 60. The third score interval belongs to normal conditions, so the score can be set to 0.
[0120] As another example, the power consumption monitoring subunit may further set a corresponding numerical value for each power characteristic value, that is, after the power consumption monitoring subunit calculates the power characteristic value, it may determine the numerical value corresponding to the power characteristic value. The numerical values corresponding to different power characteristic values may also be set based on simulation results, and the corresponding relationship between the power characteristic values and the numerical values reflecting the power monitoring results may also be recorded in a configuration file.
[0121] Exemplarily, the temperature monitoring subunit can set multiple score intervals according to the temperature threshold value, each score interval corresponds to a numerical value, and the temperature monitoring result corresponds to the numerical value of the score interval in which the temperature characteristic value is located. For example, the above-mentioned temperature threshold value may include T1 (high temperature value), T2 (high temperature value), T3 (low temperature value), and T4 (low temperature value), wherein T1>T2>T3>T4, and then 5 score intervals can be set, wherein the interval range of the first score interval is the temperature characteristic value T>T1, the interval range of the second score interval is T1>=T>T2, the interval range of the third score interval is T2>=T>T3, the interval range of the fourth score interval is T3>=T>T4, and the interval range of the fifth score interval is T<=T4. Since T>T1 and T<=T4 both belong to abnormal temperature conditions, the values corresponding to the first score interval and the fifth score interval can be set higher, for example, they can be set to 80 points. The second score interval and the fourth score interval belong to possible abnormal temperature conditions, so the values corresponding to the second score interval and the third score interval can be set lower than the first score interval and the fifth score interval, for example, they can be set to 60. The third score interval belongs to normal conditions, so the score can be set to 0.
[0122] As another example, the temperature monitoring subunit can also set a corresponding numerical value for each temperature characteristic value. That is, after the temperature monitoring subunit calculates a temperature characteristic value, it can determine the numerical value corresponding to the temperature characteristic value. The numerical values corresponding to different temperature characteristic values can also be set based on simulation results, and the correspondence between the temperature characteristic values and the numerical values reflecting the temperature monitoring results can also be recorded in the configuration file.
[0123] It is understandable that the above is merely an example of the presentation of power consumption monitoring results and temperature monitoring results and is not intended to be limiting.
[0124] In some implementations, the single-board alarm module 223 in the slave hardware board 22 is used to determine whether to send a single hardware board abnormality alarm based on power consumption monitoring results, temperature monitoring results, and weight parameter information.
[0125] In specific applications, the above-mentioned weight parameter information can also be recorded in the above-mentioned configuration file. The above-mentioned weight parameter information includes the weight coefficient corresponding to the power consumption monitoring alarm result (hereinafter referred to as the first weight coefficient) and the weight coefficient corresponding to the temperature monitoring alarm result (hereinafter referred to as the second weight coefficient).
[0126] In specific applications, the above weight parameter information can be set according to the actual working scenario, or determined based on simulation results.
[0127] In some embodiments, different weight parameters can be set for power consumption monitoring and temperature monitoring for different working environments, so that the abnormal alarm of the slave hardware board can be more adapted to its working environment. Specifically, the weight parameters can be configured according to the ambient temperature of different working environments. For example, if the working environment of the slave hardware board is a high-temperature environment, the weight coefficient of the temperature monitoring result can be set higher; if the ambient temperature of the working environment of the slave hardware board is low, the weight of the temperature monitoring result can be set. For example, for a slave hardware board with an ambient temperature of up to 85 degrees / 110 degrees, the corresponding weight coefficient of the temperature monitoring result can be set to more than 75%. For another example, for a slave hardware board with an ambient temperature of -25 degrees / 0 degrees, the weight coefficient of the temperature monitoring result can be set to less than 30%.
[0128] In some embodiments, the configuration of the first weight coefficient and the second weight coefficient may be further adaptively adjusted according to the working environment temperature of the hardware board, thereby obtaining the first weight coefficient and the second weight coefficient adapted to the working environment temperature.
[0129] It should also be noted that the sum of the first weight coefficient and the second weight coefficient is 1 (100%).
[0130] In a specific application, the single-board alarm module 223 calculates the power consumption monitoring result with the first weight coefficient to obtain a first calculation result, calculates the temperature monitoring result with the second weight coefficient to obtain a second calculation result, and then adds the first calculation result to the second calculation result to obtain the single-board alarm coefficient. If the single-board alarm coefficient exceeds the single hardware board alarm threshold value, a single hardware board abnormality alarm can be sent.
[0131] The system alarm module 214 of the management hardware board 21 can determine whether the slave hardware board that issues a single hardware board abnormality alarm is a critical hardware board. If so, a system-level abnormality is determined. Specifically, the system alarm module 214 operates based on critical hardware board operation or logic. As long as a single hardware board abnormality alarm is issued by a critical hardware board, a system-level abnormality is determined.
[0132] The settings of key hardware boards can also be set based on the results of electric field simulation, power field simulation and temperature field simulation of the power system, and the device information of the key hardware boards can also be recorded in the configuration file (configuration file of the management hardware board 21). In this way, after receiving the single hardware board abnormality alarm, the management hardware board 21 can determine whether the slave hardware board that issued the single hardware board abnormality alarm is a key hardware board based on the device information of the key hardware board.
[0133] In this embodiment, the management hardware board performs system-level abnormality monitoring and alarming based on the single hardware board abnormality alarms sent by the slave hardware boards, thereby enabling more reliable system abnormality monitoring.
[0134] In some embodiments, each hardware board in the device monitoring system 10 can be implemented as an embedded hardware board, i.e., the device monitoring system 10 includes multiple embedded hardware boards. Please refer to FIG3 , which shows a schematic diagram of the hardware structure of a device monitoring system 10 provided in an embodiment of the present application. As shown in FIG3 , the device monitoring system 10 includes multiple hardware boards, including but not limited to hardware board 31, hardware board 32, and hardware board 33 in FIG3 .
[0135] Each hardware board includes a central processing unit (CPU) for controlling the operation of the hardware board and a coprocessor (also called a communication module) for communication. The coprocessor may be a field programmable gate array (FPGA). It should be understood that the hardware board also includes other components not shown, such as a storage module, a power module, and an actuator.
[0136] The equipment monitoring system 10 also includes a backplane 34, which is equipped with a backplane bus (not shown in the figure) for inter-board communication. Each hardware board is connected to the backplane bus through its coprocessor to achieve communication between hardware board 31, hardware board 32 and hardware board 33, such as the management board sends configuration files to each slave board and key board to report hardware board abnormality alarms.
[0137] The storage module on each hardware board can store a software module for anomaly detection and alarm (i.e., the aforementioned anomaly monitoring module) and a configuration file corresponding to the hardware board. During operation of the device monitoring system 10, the main processor can retrieve the configuration file from the storage module and run the anomaly monitoring module to perform anomaly detection and alarm on the hardware board and generate anomaly alarms.
[0138] Typically, one of the multiple hardware boards is configured as a management board (also known as a master board or management board), while the others are configured as slave boards (also known as application boards or application boards). A slave board is used to implement a specific function, while a management board is used to manage multiple slave boards. For example, hardware boards 32 and 33 are slave boards, respectively used to monitor the power grid and control the on / off of power lines within the power grid; hardware board 31 is a management board, used to manage hardware boards 32 and 33.
[0139] In some embodiments, the management board 21 may be a management board in the device monitoring system 10, and the slave hardware board 22 may be a slave board in the device monitoring system 10. Of course, the management board 21 may also be a slave board in the device monitoring system 10, and the slave hardware board 32 may include the management board and other slave boards.
[0140] During the operation of the device monitoring system 10, the main processor in the management board runs the configuration file loading module to load the configuration file (the configuration file includes the configuration file of the management board and the configuration files of each slave board), then runs the abnormality monitoring module to determine the location of the monitoring point and obtain the monitoring data of the monitoring point according to the configuration file of the management board, and then determines the configuration data related to the monitoring function according to the configuration file. The operation status of the management board is monitored based on the configuration data and the monitoring data, and an alarm is issued at the level of a single hardware board when an abnormal condition occurs. The management board can also distribute the configuration file of the slave board to the corresponding slave board through the configuration file distribution module. The main processor in the slave board runs the abnormality monitoring module and performs abnormality detection based on the configuration data in the configuration file corresponding to the slave board and the obtained monitoring data. When a single board abnormality is detected in the slave board, the single board alarm module sends a single hardware board abnormality alarm to the management board. When the management board receives a single hardware board abnormality alarm sent by a slave board, it can identify through the system alarm module whether the slave board that sends the board abnormality alarm is a critical board. Among them, the critical board is a board that can affect the operating status of the entire power system. When the critical board sends a single hardware board abnormality alarm to the management board, the management board will determine whether there is a system-level abnormality.
[0141] Among them, key boards can also be determined based on the results of electric field simulation, power field simulation, and temperature field simulation. The board information of key boards can be written into the configuration file of the management board. The management board can determine whether a hardware board is a key board based on the board information of the key board in the configuration file. The above-mentioned board information can include board identification code, board number, board type, etc.
[0142] The main processor in the management board can also monitor the management board for abnormalities during operation, and when an abnormality is detected, it can also issue a single hardware board abnormality alarm.
[0143] In some embodiments, the configuration files corresponding to each hardware board may also store current / voltage sampling intervals and calculation cycles. The abnormality monitoring module in the hardware board may include a power consumption monitoring subunit and a temperature monitoring subunit. Detailed descriptions of the power consumption monitoring subunit and temperature monitoring subunit can be found in the descriptions of the power consumption monitoring subunit and temperature monitoring subunit of the hardware board of the device monitoring system, and are not further detailed here.
[0144] The device monitoring system provided in the embodiment of the present application has been described above. The abnormal alarm method provided in the embodiment of the present application is described below in conjunction with the device monitoring system provided in the embodiment of the present application.
[0145] Please refer to Figure 4, which shows a schematic diagram of the implementation process of an abnormality alarm method provided by an embodiment of the present application. The execution subject of the abnormality alarm method can be a hardware board in the equipment monitoring system. As shown in Figure 4, the method can include the following steps:
[0146] S110: Obtain a configuration file corresponding to the hardware board.
[0147] S120: Read the configuration data of the configuration file and the location information of the monitoring points.
[0148] S130: Determine the monitoring points distributed in the hardware board according to the location information of the monitoring points.
[0149] S140: Acquire monitoring data of the monitoring point, and monitor the operating status of the hardware board according to the monitoring data and the configuration data.
[0150] S150: When an abnormal condition is detected, an abnormal alarm notification is issued.
[0151] In an embodiment of the present application, during the operation of the equipment monitoring system, each hardware board will have a corresponding configuration file, and then set the monitoring point according to the configuration file to obtain the monitoring data of the monitoring point, such as the power consumption data of the power consumption monitoring point, the temperature data of the temperature monitoring point, the voltage data of the voltage monitoring point, the current data of the current monitoring point, etc.
[0152] In an embodiment of the present application, the monitoring points of each hardware board can be determined by a configuration file, and the monitoring tasks to be run by the hardware board can also be determined by the configuration file. During the initialization of the hardware board, the hardware board can obtain the configuration file corresponding to it, and then read the task list and the location information of the monitoring points in the configuration file, and then determine the monitoring tasks to be run according to the task list, and then determine the monitoring points corresponding to the monitoring tasks according to the location information of the monitoring points, and start sampling the sampling data corresponding to the monitoring points to obtain the above-mentioned monitoring data. The process of the hardware board loading the configuration file, obtaining the monitoring data of the monitoring points, and performing abnormal condition monitoring can be referred to the above examples, and this embodiment will not be repeated here.
[0153] When a hardware board detects an abnormal condition, it issues an alarm notification, which may specifically be an abnormal power consumption alarm notification, abnormal temperature alarm notification, abnormal voltage alarm notification, abnormal current alarm notification, etc.
[0154] In some embodiments, since the changes in power consumption and temperature during the operation of the equipment monitoring system are directly related to the hardware system selected for use in its application scenario, in order to consider the adaptability of different temperature field monitoring requirements, the configuration data in the above-mentioned configuration file and the location information of the configured monitoring points can be set according to the working environment of the hardware board, that is, different configuration parameters can be set to make the configuration file match the temperature field monitoring requirements of the hardware board.
[0155] In some embodiments, a system simulation may be performed on the working environment of the hardware board to obtain a system simulation result, and then the configuration file of the hardware board may be configured according to the system simulation result.
[0156] For example, the following configuration instructions are provided for the configuration file:
[0157] Please refer to Figure 5, which shows the configuration process of the configuration file in the abnormal alarm method provided in the embodiment of the present application. Taking the device detection system built with hardware boards as an example, as shown in Figure 5, the configuration process of the above configuration file may include the following steps:
[0158] S201: Set a task list for each hardware board.
[0159] The task list includes whether to run the power consumption monitoring task and whether to run the temperature monitoring task. Of course, the task list may also include whether to run the voltage monitoring task, whether to run the current monitoring task, etc.
[0160] The setting of the task list can be determined based on the simulation results. For example, for hardware boards that are prone to power consumption anomalies, the task list can be set to include running power consumption monitoring tasks. For example, for hardware boards that are prone to temperature anomalies, the task list can be set to include running temperature monitoring tasks, etc.
[0161] S202. Set a key board list.
[0162] Key boards are boards that can affect the operation of the entire power system.
[0163] In specific applications, the designation of key boards can also be customized based on actual operating conditions. For example, in a distributed equipment monitoring system for power control and protection devices, hardware boards such as the main processor board, input boards, and output boards can be designated as key boards. Alternatively, certain hardware boards whose failures, based on historical operating conditions, would affect the entire system can be designated as key boards.
[0164] Similarly, the above-mentioned key board list can be determined based on the simulation results.
[0165] S203: Determine the number and positions of temperature monitoring points according to the structure of the hardware board and the temperature field simulation results.
[0166] In specific applications, the locations of high-power-consuming or heat-prone devices such as main processors, coprocessors or microprocessors, and high-speed communication interfaces can be determined as temperature monitoring points based on whether the hardware board contains these high-power-consuming or heat-prone devices.
[0167] Of course, based on the temperature field simulation results, locations prone to heat generation can also be determined as temperature monitoring points. It is understandable that different hardware boards have different working environments, and the locations prone to heat generation will also be different, so the locations of the temperature monitoring points will also be different.
[0168] S204: Setting the hardware boards that need to perform power consumption monitoring, and the number and location of voltage sampling and current sampling in each hardware board.
[0169] In specific applications, the locations of voltage sampling and current sampling can be determined according to the power management chip of the hardware board to obtain current data and voltage data.
[0170] Among them, current data and voltage data can be collected through a sampling circuit. For a power management chip that supports instantaneous value reading, the instantaneous voltage value and the instantaneous current value can be directly read.
[0171] S205 , defining configuration data such as filtering algorithm, sampling interval, calculation cycle, temperature threshold, power consumption threshold, etc.
[0172] Different filtering algorithms, different sampling intervals, different calculation cycles, different temperature thresholds, and different power consumption thresholds can be set for different hardware boards to meet the monitoring needs of multiple temperature fields and multiple power fields.
[0173] S206 : According to the power consumption simulation result and the measured data, a weight coefficient of the power monitoring result, a weight coefficient of the temperature monitoring result, and a single hardware board alarm threshold are set.
[0174] S207. Configure relevant parameters for system-level abnormal alarms.
[0175] In specific applications, the relevant parameters of the system-level abnormal alarm can configure the conditions of the system-level abnormal alarm. For example, it can be configured to confirm the occurrence of a system-level abnormal alarm when a single hardware board abnormal alarm sent by a key board is received.
[0176] S208. Save the configuration contents of S201-S207 above and generate a configuration file.
[0177] The above-mentioned operation of configuring the configuration file can be performed in a host computer that is communicatively connected to the device monitoring system provided in the embodiment of the present application. The host computer can send the generated configuration file to the management board. For example, during the initialization process of the management board, the management board sends a request message for loading the configuration file to the host computer. At this time, the host computer can send the configuration file to the management board. Of course, the above-mentioned operation of configuring the configuration file can also be performed in the device monitoring system provided in the embodiment of the present application. It can be understood that the configuration operation of the above-mentioned configuration file is a pre-step of the abnormal alarm method provided in the embodiment of the present application. After configuring the configuration file, the host computer can also directly send the configured configuration file to the management board.
[0178] In some embodiments, referring to FIG6 , FIG6 shows a schematic diagram of an implementation flow of an abnormality alarm method provided by an embodiment of the present application. The execution subject of the abnormality alarm method can be a management board and a slave hardware board in the device monitoring system. As shown in FIG6 , the method can include the following steps:
[0179] S310. The management board loads a configuration file of the embedded system.
[0180] The configuration files of the above-mentioned device monitoring system include the configuration files of the management board and the configuration files of each slave hardware board.
[0181] S320: The management board sends a configuration file corresponding to each slave hardware board to each slave hardware board.
[0182] S330: Determine the monitoring task from the hardware board according to the task list in the configuration file.
[0183] For example, it is taken that the monitoring tasks in the task list in the configuration file of the hardware board include a power consumption monitoring task and a temperature monitoring task.
[0184] S340 , loading a power consumption monitoring subunit from the hardware board to perform power consumption anomaly monitoring, and loading a temperature monitoring subunit to perform temperature anomaly monitoring.
[0185] In specific applications, the monitoring data includes current sampling data and voltage sampling data. The power consumption monitoring subunit can monitor the power consumption status of the hardware board according to the configuration file and the monitoring data. That is, the power consumption monitoring subunit determines the filtering algorithm and the power threshold value according to the configuration file, filters the current sampling data and the voltage sampling data according to the filtering algorithm, calculates the power characteristic value within the sampling period according to the filtered current sampling data and the filtered voltage sampling data, and determines whether there is an abnormal power consumption condition according to the power characteristic value and the power threshold value.
[0186] In specific applications, the monitoring data includes temperature data, which can be collected by a temperature sensor. The temperature monitoring subunit can monitor the temperature status of the hardware board according to the configuration file and the temperature threshold value. In other words, the temperature monitoring subunit can determine the temperature threshold value based on the configuration file and identify whether the hardware board has an abnormal temperature condition based on the temperature data and the temperature threshold value.
[0187] S350: When the slave hardware board detects a power anomaly, it generates a single hardware board-level power alarm signal.
[0188] Exemplarily, the power threshold values include a high-high power value, a high-power value, a low-power value, and a low-low power value. When the calculated power characteristic value is greater than the high-high power value, the power consumption monitoring subunit issues a first abnormality alarm, which is used to indicate that the hardware board has experienced an abnormal condition of excessive power consumption; when the calculated power characteristic value is less than the high-high power value but greater than the high-power value, the power consumption monitoring subunit issues a second abnormality alarm, which is used to warn that the hardware board is about to experience an abnormal condition of excessive power consumption; when the calculated power characteristic value is less than the low-low power value, the power consumption monitoring subunit issues a third abnormality alarm, which is used to indicate that the hardware board has experienced an abnormal condition of insufficient power; when the calculated power characteristic value is greater than the low-low power value but less than the low-low power value, the power consumption submodule issues a fourth abnormality alarm, which is used to warn that the hardware board is about to experience an abnormal condition of insufficient power consumption.
[0189] S360: When the slave hardware board detects an abnormal temperature condition, a single hardware board-level temperature alarm signal is generated.
[0190] Exemplarily, the temperature threshold values include a high-high temperature value, a high-high temperature value, a low-low temperature value, and a low-low temperature value. When the calculated temperature characteristic value is greater than the high-high temperature value, the temperature monitoring subunit issues a fifth abnormality alarm, which is used to indicate that the hardware board has experienced an abnormal condition of excessively high temperature; when the calculated temperature characteristic value is less than the high-high temperature value but greater than the high-high temperature value, the temperature monitoring subunit issues a sixth abnormality alarm, which is used to warn that the hardware board is about to experience an abnormal condition of excessively high temperature; when the calculated temperature characteristic value is less than the low-low temperature value, the temperature monitoring subunit issues a seventh abnormality alarm, which is used to indicate that the hardware board has experienced an abnormal condition of excessively low temperature; when the calculated temperature characteristic value is greater than the low-low temperature value but less than the low-low temperature value, the temperature submodule issues an eighth abnormality alarm, which is used to warn that the hardware board is about to experience an abnormal condition of excessively low temperature.
[0191] S370 , identifying abnormal conditions of a single hardware board based on the power monitoring result and the temperature monitoring result of the hardware board.
[0192] In a specific application, the slave hardware board can determine whether to send a single hardware board abnormality alarm based on the power consumption monitoring results, temperature monitoring results, and weight parameter information.
[0193] In specific applications, the above-mentioned weight parameter information can also be recorded in the above-mentioned configuration file. The above-mentioned weight parameter information includes the weight coefficient corresponding to the power consumption monitoring alarm result (hereinafter referred to as the first weight coefficient) and the weight coefficient corresponding to the temperature monitoring alarm result (hereinafter referred to as the second weight coefficient).
[0194] In specific applications, the above weight parameter information can be set according to the actual working scenario, or determined based on simulation results.
[0195] In some embodiments, different weight parameters can be set for power consumption monitoring and temperature monitoring for different working environments, so that the abnormal alarm of the slave hardware board can be more adapted to its working environment. Specifically, the weight parameters can be configured according to the ambient temperature of different working environments. For example, if the working environment of the slave hardware board is a high-temperature environment, the weight coefficient of the temperature monitoring result can be set higher; if the ambient temperature of the working environment of the slave hardware board is low, the weight of the temperature monitoring result can be set. For example, for a slave hardware board with an ambient temperature of up to 85 degrees / 110 degrees, the corresponding weight coefficient of the temperature monitoring result can be set to more than 75%. For another example, for a slave hardware board with an ambient temperature of -25 degrees / 0 degrees, the weight coefficient of the temperature monitoring result can be set to less than 30%.
[0196] It should also be noted that the sum of the first weight coefficient and the second weight coefficient is 1 (100%).
[0197] S380: When the slave hardware board determines that a single hardware board abnormality occurs, the slave hardware board sends a single hardware board abnormality alarm to the management hardware board.
[0198] S390. The management board determines the monitoring task according to the task list in the configuration file.
[0199] The S3100 and the management board load the power consumption monitoring subunit to monitor power consumption anomalies, and load the temperature monitoring subunit to monitor temperature anomalies.
[0200] S3110: When the management board detects a power anomaly, it generates a single hardware board-level power alarm signal.
[0201] S3120: When the management board detects an abnormal temperature condition, it generates a single hardware board-level temperature alarm signal.
[0202] S3130, the management board identifies abnormal conditions of a single hardware board based on the power monitoring results and the temperature monitoring results.
[0203] S3140: When the management board determines that a single hardware board abnormality occurs, the management board generates a single hardware board abnormality alarm.
[0204] S3150, the management board performs system-level abnormality identification based on the single hardware board abnormality alarms of each hardware board.
[0205] S3160: When the management board determines that a system-level abnormality has occurred, it issues a system abnormality alarm notification.
[0206] It should be understood that the execution process of S330 to S370 and the execution process of S390 to S3130 can be performed simultaneously or in steps. The operation status monitoring process of the management board can refer to the operation status monitoring process of the hardware board, which will not be described in detail in this embodiment.
[0207] An embodiment of the present application further provides a readable storage medium, which includes a computer program. When the computer program is run on a computer, the computer executes the method provided in the above method embodiment.
[0208] An embodiment of the present application further provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method provided in the above method embodiment.
[0209] An embodiment of the present application also provides a chip system, including a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device equipped with the chip system can perform the method provided in the above method embodiment.
[0210] Among them, the chip system may include an input circuit or interface for sending information or data, and an output circuit or interface for receiving information or data.
[0211] It should be understood that in the embodiments of the present application, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.
[0212] It should also be understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DR RAM).
[0213] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel 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.
[0214] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0215] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0216] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0217] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0218] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer functional unit (which can be a personal computer, a server, or a network functional unit, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0219] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. An abnormal alarm method, wherein: A hardware board card applied to an embedded system, the method comprising: Obtaining a configuration file corresponding to the hardware board; wherein the configuration file is a configuration file set corresponding to the environment in which the hardware board is located; Reading the configuration data of the configuration file and the location information of the monitoring points; Determine the monitoring points distributed in the hardware board according to the location information of the monitoring points; Acquire monitoring data of the monitoring point, and monitor the operating status of the hardware board according to the monitoring data and the configuration data; When an abnormal condition is detected, an abnormal alarm notification is issued.
2. The abnormal alarm method according to claim 1, wherein: The acquiring the monitoring data of the monitoring point and monitoring the operation status of the hardware board according to the monitoring data and the configuration data includes: Determine a power consumption monitoring result and a temperature monitoring result according to the monitoring data and the configuration data; When a single hardware board abnormality is identified based on the power consumption monitoring result and the temperature monitoring result, a single hardware board abnormality alarm is issued.
3. The abnormal alarm method according to claim 2, wherein: The method of issuing a single hardware board abnormality alarm when an abnormal condition of a single hardware board is identified according to the power consumption monitoring result and the temperature monitoring result includes: Acquire a single device alarm threshold value, a first weight coefficient, and a second weight coefficient according to a configuration file; Calculate a single device alarm coefficient according to the power consumption monitoring result, the temperature monitoring result, the first weight coefficient, and the second weight coefficient; If the single device alarm coefficient is greater than the single hardware board alarm threshold value, it is determined that a single hardware board abnormal condition exists.
4. The abnormal alarm method according to claim 3, wherein: The first weight coefficient and the second weight coefficient are configured according to the ambient temperature of the working environment of the hardware board.
5. The abnormal alarm method according to any one of claims 2 to 4, wherein: When it is identified according to the power consumption monitoring result and the temperature monitoring result that a single hardware board abnormal condition occurs, an abnormal alarm of the single hardware board is sent to the management board.
6. The abnormal alarm method according to claim 5, wherein: The method further comprises: If the hardware board that issues the single hardware board abnormality alarm is a critical hardware board, the management board determines that a system-level abnormality exists.
7. The abnormal alarm method according to claim 1, wherein: Before obtaining the configuration file corresponding to the hardware board, the method further includes: Performing system simulation on the working environment of the hardware board to obtain system simulation results; The configuration file is configured according to the system simulation result.
8. The abnormal alarm method according to claim 1, wherein: The acquiring the monitoring data of the monitoring point and monitoring the operation status of the hardware board according to the monitoring data and the configuration data includes: Determine a filtering algorithm and a power threshold value according to the configuration file; Based on the filtering algorithm, the current sampling data and the voltage sampling data are filtered respectively; Calculate the power characteristic value within the sampling period according to the filtered current sampling data and the filtered voltage sampling data; It is identified whether the hardware board has an abnormal power consumption condition according to the power characteristic value and the power threshold value.
9. The abnormal alarm method according to claim 1, wherein: The operation status of the hardware board is monitored according to the configuration file and the monitoring data, including: Determine the temperature threshold value according to the configuration file; It is identified whether the hardware board is in an abnormal temperature condition according to the temperature data and the temperature threshold value.
10. A device monitoring system, wherein: The hardware board includes: A configuration file loading module is used to obtain a configuration file corresponding to the hardware board, where the configuration file is a configuration file set corresponding to the environment in which the hardware board is located; A reading module, used to read the configuration data of the configuration file and the location information of the monitoring points; A monitoring point determination module, used to determine the monitoring points distributed in the hardware board according to the location information of the monitoring points; The abnormality monitoring module is used to obtain monitoring data of the monitoring point and monitor the operating status of the hardware board according to the monitoring data and the configuration file.
11. The equipment monitoring system according to claim 10, wherein: The equipment monitoring system also includes a backplane, in which a backplane bus is arranged, and the hardware boards are communicatively connected via the backplane bus.
12. A readable storage medium, wherein: The readable storage medium stores a computer program, and when the computer program is executed on a device, the device executes the steps executed in the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Power grid dispatching-based operation and maintenance method
WO2019233047A1
Method and apparatus for monitoring service system
WO2020259421A1
Security detection method and device
WO2021046771A1
Optical module heath state detection method, detection device, and storage medium
WO2022033431A1