Abnormal alarm method, equipment monitoring system and computer readable storage medium
By acquiring and using the configuration files corresponding to the hardware board for monitoring, the problem of the inability to reliable feedback on the operating status of the power system and implementing 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
- CN202311730491.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-14
- Publication Date
- 2025-06-17
AI Technical Summary
The existing power consumption and temperature monitoring schemes cannot reliably feedback the operating conditions of the power system, resulting in the inability to achieve reliable abnormal alarms.
An abnormal alarm method is provided, by obtaining the configuration file corresponding to the hardware board, reading the configuration data and position information of the monitoring point, determining the monitoring points distributed in the hardware board, obtaining monitoring data and performing health monitoring, and issuing an abnormal alarm notification when an abnormal condition is detected.
It improves the accuracy of abnormal alarms and the reliability of system security monitoring, and adapts to the needs of different hardware board working environments.
Smart Images

Figure CN120162226A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technologies, and particularly to an abnormal alarm method, a device monitoring system, and a computer-readable storage medium. Background Art
[0002] Due to the characteristics of large operation data volume, high reliability requirements, and real-time requirements in the power system, an embedded system can be used to implement functions such as operation control, operation status monitoring, and abnormal information alarm of the power system. For example, a power control and protection device in the power system can be built based on the embedded system to monitor voltage, current, power, and temperature of a power system such as a power grid or an energy storage system.
[0003] Performing power consumption monitoring and temperature monitoring on the power system and giving an alarm in a timely manner when an abnormal situation occurs are necessary means to improve the operation safety and stability of the power system. However, due to the relatively complex working environment of the power system, the current power consumption and temperature monitoring solutions cannot reliably feedback the operation status of the power system and cannot achieve reliable abnormal alarm. Summary of the Invention
[0004] Embodiments of the present application provide an abnormal alarm method, a device monitoring system, and a computer-readable storage medium, which improve the accuracy of abnormal alarm and the reliability of system security monitoring.
[0005] In a first aspect, an abnormal alarm method is provided, which is applied to a hardware board of an embedded system. The method includes:
[0006] Obtaining a configuration file corresponding to the hardware board; wherein the configuration file is a configuration file set corresponding to the environment where the hardware board is located;
[0007] Reading configuration data of the configuration file and location information of monitoring points;
[0008] Determining monitoring points distributed in the hardware board according to the location information of the monitoring points;
[0009] Obtaining monitoring data of the monitoring points, and monitoring the operation status of the hardware board according to the monitoring data and the configuration data;
[0010] In the case of detecting an abnormal situation, sending an abnormal alarm notification.
[0011] In the abnormal alarm method provided by the embodiments of the present application, corresponding configuration files are set for different hardware board working environments. The hardware board can determine the monitoring points distributed in the hardware board by using the position information of the monitoring points in the corresponding configuration file, and monitor the operating status and detect abnormalities of the hardware board according to the configuration data in the configuration file. Since the configuration file is set for the hardware board working environment, it can adapt to the working environment of the hardware board to achieve operating status monitoring, thereby effectively improving the accuracy of abnormal alarm and the reliability of system security monitoring.
[0012] In some embodiments, obtaining the monitoring data of the above monitoring points, and monitoring the operating status of the above hardware board according to the above monitoring data and the above configuration data includes:
[0013] Determining the power consumption monitoring result and the temperature monitoring result according to the above monitoring data and the above configuration data;
[0014] In the case of identifying an abnormal condition of a single hardware board according to the power consumption monitoring result and the temperature monitoring result, an alarm for the abnormal condition of the single hardware board is issued.
[0015] In the embodiments of the present application, comprehensively weighing whether there is an abnormal condition of a single hardware board by combining the power consumption monitoring result and the temperature monitoring result can improve the accuracy of abnormal identification.
[0016] In some embodiments, the identifying the abnormal condition of the single hardware board according to the power consumption monitoring result and the temperature monitoring result includes:
[0017] Obtaining the alarm threshold value, the first weight coefficient and the second weight coefficient of the single hardware board according to the configuration file;
[0018] Calculating the alarm coefficient of the single board according to the power consumption monitoring result, the temperature monitoring result, the first weight coefficient and the second weight coefficient;
[0019] If the abnormal score of the single board is greater than the alarm threshold value of the single hardware board, it is determined that there is an abnormal condition of the single hardware board.
[0020] In the embodiments of the present application, for different working environments, different weight parameters can be set for power consumption monitoring and temperature monitoring, so that the abnormal alarm of the hardware board can be more adapted to its working environment.
[0021] 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.
[0022] Configuring different proportions of the power consumption monitoring result and the temperature monitoring result for different working environments can achieve adaptive abnormal monitoring of different working environment temperatures.
[0023] In some embodiments, when it is identified that a single hardware board has an abnormal condition based on the power consumption monitoring result and the temperature monitoring result, a single hardware board abnormal alarm is sent to the management board.
[0024] Sending a single hardware board abnormal alarm to the management board can directly utilize the management board to perform abnormal statistics of the hardware board, and can use the original management board to achieve system-level abnormal monitoring of the entire embedded system, saving hardware costs.
[0025] In some embodiments, if the hardware board that issues the single hardware board abnormal alarm is a key hardware board, it is determined that there is a system-level abnormality.
[0026] In the embodiments of the present application, through the abnormal monitoring of the key hardware board, the system-level abnormality can be quickly determined, improving the efficiency of the abnormal alarm.
[0027] In some embodiments, before obtaining the configuration file corresponding to the hardware board, it further includes:
[0028] Performing system simulation on the working environment of the hardware board to obtain a system simulation result;
[0029] Configuring the configuration file according to the system simulation result.
[0030] In the embodiments 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 result, configurable abnormal monitoring is realized.
[0031] In some embodiments, the obtaining the monitoring data of the monitoring point and monitoring the operating condition of the hardware board according to the monitoring data and the configuration data includes:
[0032] Determining a filtering algorithm and a power threshold value according to the configuration file;
[0033] Filtering the current sampling data and the voltage sampling data respectively based on the filtering algorithm;
[0034] Calculating the power characteristic value within the sampling period according to the filtered current sampling data and the filtered voltage sampling data;
[0035] Identifying whether there is a power consumption abnormal condition of the hardware board according to the power characteristic value and the power threshold value.
[0036] In the embodiments of the present application, by determining the filtering algorithm and the power threshold value corresponding to the hardware board through the configuration file, targeted monitoring of the power consumption of the hardware board can be realized, thereby improving the accuracy of power consumption monitoring.
[0037] In some embodiments, the health monitoring of the hardware board is performed according to the configuration file and the monitoring data, including:
[0038] Determine the temperature threshold according to the configuration file;
[0039] Identify whether there is a temperature anomaly in the hardware board according to the temperature data and the temperature threshold.
[0040] In the embodiments of the present application, by determining the temperature threshold corresponding to the hardware board through the configuration file, targeted monitoring of the temperature of the hardware board can be carried out, thereby improving the accuracy of temperature monitoring.
[0041] In a second aspect, a device monitoring system is provided, including a hardware board, and the hardware board includes:
[0042] A configuration file loading module, configured to obtain a configuration file corresponding to the hardware board, where the configuration file is a configuration file set corresponding to the environment where the hardware board is located;
[0043] A reading module, configured to read the configuration data of the configuration file and the location information of the monitoring points;
[0044] A monitoring point determination module, configured to correspondingly set monitoring points in the hardware board according to the location information of the monitoring points;
[0045] An anomaly monitoring module, configured to obtain the monitoring data of the monitoring points, and perform health monitoring on the hardware board according to the monitoring data and the configuration file.
[0046] In some embodiments, the hardware board is a hardware board, and the device monitoring system further includes a backplane, a backplane bus is arranged in the backplane, and the hardware boards are communicatively connected through the backplane bus.
[0047] In a third aspect, a readable storage medium is provided, on which a computer program is stored. When the computer program runs on a device, the device is caused to execute the steps performed in the method described in the first aspect above.
[0048] In a fourth aspect, a computer program product is provided, including: computer program code. When the computer program code runs on a device, the steps performed in the method described in the first aspect above are executed.
[0049] In a fifth aspect, a chip is provided, including: a processor, configured to call and run a computer program from a memory, so that a device installed with the chip executes the steps performed in the method described in the first aspect above.
[0050] Understandably, the beneficial effects achievable by the above second to fifth aspects can refer to the beneficial effects in the corresponding methods provided above, and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 FIG. shows a schematic diagram of the system architecture of a device monitoring system provided by an embodiment of the present application.
[0052] Figure 2 FIG. shows a schematic diagram of the system architecture of another device monitoring system provided by an embodiment of the present application.
[0053] Figure 3 FIG. shows a schematic diagram of the hardware structure of a device monitoring system provided by an embodiment of the present application.
[0054] Figure 4 FIG. shows a schematic diagram of the implementation process of a fault handling method provided by an embodiment of the present application.
[0055] Figure 5 FIG. shows a schematic diagram of the configuration process of a configuration file in the fault handling method provided by an embodiment of the present application.
[0056] Figure 6 FIG. shows a schematic diagram of the process of another fault handling method provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0057] The following will describe the technical solutions in the present application with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments.
[0058] In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present application. However, those skilled in the art should clearly understand that the present application can also 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 unnecessary details from interfering with the description of the present application.
[0059] As used herein, the term "comprising" 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 their combinations. The terms "comprising", "including", "having" and their variants all mean "including but not limited to", unless otherwise specifically emphasized. Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined as "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the embodiments of the present application, unless otherwise specified, the meaning of "a plurality" is two or more.
[0060] As used herein, the term "and / or" is merely a description of the relationship between associated objects, indicating that there can be three relationships. For example, A and / or B can represent: the sole existence of A, the simultaneous existence of A and B, and the sole existence of B. Additionally, the character " / " herein generally represents an "or" relationship between the associated objects before and after.
[0061] An embedded system refers to a dedicated computer system that is application-centered and based on computer technology, and can flexibly cut software and hardware modules according to user requirements (function, reliability, cost, volume, power consumption, environment, etc.). An embedded system mainly includes an embedded microprocessor, peripheral hardware devices, an embedded operating system, and user application software. An embedded system can be used to implement functions such as device control, monitoring, and management.
[0062] Due to the characteristics of large amounts of operation data, high reliability requirements, and real-time requirements in the power system, an embedded system can be used to implement functions such as operation control, operation status monitoring, and abnormal information warning in the power system. For example, the power control and protection device in the power system can be built based on the embedded system to monitor voltage, current, power, and temperature of the power grid or energy storage system in the power system.
[0063] 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 between various internal functional modules of the device, a control module for controlling the actions of various mechanisms in the power system, etc.
[0064] In some embodiments, different functional modules of the embedded system may be specifically implemented by hardware boards. For example, in the above power control and protection device, there are 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 the lines in the power grid, one or more hardware boards for communication, one or more hardware boards for providing working power, etc. Each hardware board of the power control and protection device communicates and connects through a bus, so as to achieve inter-board communication, and the above bus can be arranged in the backplane.
[0065] Of course, the above embedded system can also be built by other hardware devices, and the above other hardware devices include but are not limited to system on chip (SOC), digital signal processing (DSP), intelligent devices, industrial control computers, and computers, etc.
[0066] Monitoring the power consumption and temperature of the power system and giving an alarm in time when abnormal conditions occur are necessary means to improve the operation safety and stability of the power system. However, due to the relatively complex working environment of the power system, the current power consumption and temperature monitoring solutions cannot reliably feedback the operation status of the power system and cannot achieve reliable abnormal alarm.
[0067] To solve the above technical problems, the embodiments of the present application provide a device monitoring system, an abnormal alarm method, and a device. For different hardware board working environments, corresponding configuration files are set, so that the hardware board can use the configuration data in the corresponding configuration file to monitor and detect the operation status of the hardware board, thereby improving the accuracy of abnormal alarm and the reliability of system safety monitoring.
[0068] The following will first describe the device monitoring system and the abnormal alarm method provided by the embodiments of the present application with reference to the drawings:
[0069] Please refer to Figure 1 , Figure 1 shows a schematic structural diagram of a device monitoring system 10 built based on an embedded system provided by an embodiment of the present application. The device detection system 10 is applied to a power system, and specifically may be a power control and protection device in the power system. The device monitoring system 10 includes multiple hardware boards, such as hardware board 11, hardware board 12, and hardware board 13.
[0070] As Figure 1 shown, 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 abnormal monitoring module 114.
[0071] The configuration file loading module 111 is used to obtain the configuration file corresponding to the hardware board.
[0072] The reading module 112 is used to read the configuration data of the configuration file and the position information of the monitoring points.
[0073] The monitoring point determination module 113 is used to determine the monitoring points distributed in the hardware board according to the position information of the monitoring points.
[0074] The abnormal monitoring module 114 is used to obtain the monitoring data of the monitoring points, and monitor the operating status of the corresponding hardware board according to the monitoring data and the configuration file.
[0075] In the embodiments of the present application, when each hardware board performs operating status monitoring, it will obtain the configuration file corresponding to the hardware board to analyze abnormal conditions. The configuration file is set according to the environment where the hardware board is located. That is, when the hardware board 11 performs operating status monitoring, the configuration file obtained by the configuration file loading module 111 is corresponding to the hardware board 11; when the hardware board 12 performs operating status monitoring, the configuration file obtained by its configuration file loading module 111 is corresponding to the hardware board 12; when the hardware board 13 performs operating status monitoring, the configuration file obtained by its configuration file loading module 111 is corresponding to the hardware board 13.
[0076] It can be understood 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.
[0077] The above configuration file may but is not limited to storing configuration data related to monitoring functions such as power consumption monitoring, temperature monitoring, current monitoring, and voltage monitoring of the hardware board, and also stores the position information of the monitoring points corresponding to the hardware board.
[0078] The above configuration data includes but is not limited to sampling intervals, calculation periods, filtering algorithms, monitoring ranges, threshold values, etc. required for power consumption, temperature, current, and voltage monitoring. Among them, the filtering algorithm may include current filtering algorithms and voltage filtering algorithms, etc. The threshold values may include various threshold values related to power (i.e., power threshold values) (such as high-high power value, high power value, low power value, low-low power value), various threshold values related to temperature (i.e., temperature threshold values) (high-high temperature value, high temperature value, low temperature value, low-low temperature value), threshold values related to current (high current value, low current value), and threshold values related to voltage (high voltage value, low voltage value), etc.
[0079] It can be understood that the above power threshold values are pre-set relevant parameters for evaluating the operating status of power monitoring points. The power threshold values set in different environments are different. The above power threshold values may include, but are not limited to, parameters such as high-high power value, high power value, low power value, and low-low power value. Among them, the high-high power value is greater than the high power value, the high power value is greater than the low power value, and the low power value is greater than the low-low power value. When the power value of the obtained monitoring point is greater than the high-high power value, it indicates that the monitoring point has an abnormal condition of excessive power consumption; when the power value of the obtained monitoring point is less than the high-high power value but greater than the high power value, it indicates that the monitoring point is about to have an abnormal condition of excessive power consumption; when the power value of the obtained monitoring point is less than the low-low power value, it indicates that the monitoring point has an abnormal condition of too low power; when the power value of the obtained monitoring point is greater than the low-low power value but less than the low power value, it indicates that the monitoring point is about to have an abnormal condition of too low power consumption.
[0080] Similarly, the above temperature threshold values are pre-set relevant parameters for evaluating the operating status of temperature monitoring points. The temperature threshold values corresponding to the monitoring points in different working environments are also different. The temperature threshold values may include, but are not limited to, parameters such as high-high temperature value, high temperature value, low temperature value, and low-low temperature value. Among them, the high-high temperature value is greater than the high temperature value, the high temperature value is greater than the low temperature value, and the low temperature value is greater than the low-low temperature value. When the temperature value of the obtained monitoring point is greater than the high-high temperature value, it indicates that the monitoring point has an abnormal condition of excessive power consumption; when the temperature value of the obtained monitoring point is less than the high-high temperature value but greater than the high temperature value, it indicates that the monitoring point is about to have an abnormal condition of excessive power consumption; when the temperature value of the obtained monitoring point is less than the low-low temperature value, it indicates that the monitoring point has an abnormal condition of too low temperature; when the temperature value of the obtained monitoring point is greater than the low-low temperature value but less than the low temperature value, it indicates that the monitoring point is about to have an abnormal condition of too low power consumption.
[0081] The above filtering algorithms include, but are not limited to, limit filtering method, median filtering method, arithmetic mean filtering method, recursive mean filtering method, median mean filtering method, limit mean filtering method, first-order lag filtering method, weighted recursive mean filtering method, de-bounce filtering method, limit de-bounce filtering method, infinite impulse response digital filtering method (infinite impulse response, IIR), etc.
[0082] Since the environments in which each hardware board is located are different, the locations where anomalies are likely to occur during the operation of the hardware board are also different. Therefore, corresponding monitoring points can be set according to the environment in which the hardware board is located to achieve monitoring. The above monitoring points can include, but are not limited to, power consumption monitoring points, temperature monitoring points, voltage monitoring points, current monitoring points, etc. The location information of the monitoring points can also be written in the configuration file corresponding to the hardware board. The hardware board can determine which locations need to be monitored for what according to the configuration file, that is, determine the monitoring points distributed in the hardware board and which locations need to be monitored for which type of monitoring.
[0083] Exemplarily, assume that the location information of the monitoring points set in the configuration file includes 3 pieces of location information, which are: 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. Then the hardware board can determine that there are 3 monitoring points distributed in the hardware board. 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 time, the hardware board can obtain the power consumption data (current sampling data and voltage sampling data) at Location 1, obtain the power consumption data and temperature data at Location 2, and obtain the temperature data at Location 3.
[0084] It should be noted that a specific monitoring point may be able to perform only one type of monitoring, that is, it can only perform power consumption monitoring, only perform current monitoring, only perform voltage monitoring, or only perform temperature monitoring; it can also perform multiple types of monitoring simultaneously. For example, it can perform power consumption monitoring and temperature monitoring simultaneously.
[0085] In the embodiments of the present application, corresponding configuration files can be set for each hardware board according to the complex operating environment. The hardware board can set monitoring points using the location information of the monitoring points in the corresponding configuration file, and monitor and perform anomaly detection on the monitoring points of the hardware board using the corresponding configuration data, effectively improving the accuracy of anomaly alerts and the reliability of system security monitoring.
[0086] In some embodiments, system simulation can be performed on the working environment of the embedded system (i.e., the environment where the above-mentioned power system is located). 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 on the working environment of each hardware board. For example, electric field simulation / power field simulation is performed on the working environment of the hardware board to determine the positions in each hardware board where power anomalies are likely to occur, and these positions are set as power monitoring points. Temperature simulation is performed on the working environment of the hardware board to determine the positions in each hardware board where the operating temperature is likely to have temperature anomalies, and these positions are set as temperature monitoring points (such as the positions where the main processor is located, key devices are located, and key interfaces are located, etc.). Of course, when performing electric field simulation on the power system, the positions in each hardware board where current anomalies or voltage anomalies are likely to occur can also be determined, and corresponding current monitoring points and voltage monitoring points are set. Alternatively, according to whether the hardware board contains high-power-consuming devices such as a main processor, a coprocessor or a microprocessor, and a high-speed communication interface, if any, the positions where these devices are located can be determined as monitoring points (power consumption monitoring points and temperature monitoring points).
[0087] In some embodiments, for the hardware board that requires power consumption monitoring, the above-mentioned anomaly monitoring module 114 may include a power consumption monitoring subunit. The above-mentioned configuration data may store a filtering algorithm and a power threshold value related to power consumption monitoring.
[0088] The above-mentioned power consumption monitoring subunit can specifically be used to perform power consumption anomaly monitoring based on the sampled current data, sampled voltage data, filtering algorithm, and power threshold value.
[0089] In a specific application, a task list may be stored in the configuration file. The task list records the monitoring tasks to be run by the hardware board. For example, if the task list records the power consumption monitoring points where the hardware board 11 needs to run the power consumption monitoring task, then the hardware board 11 determines that the power consumption monitoring points need to run the power consumption monitoring according to the task list, and the power consumption monitoring subunit can be used to perform power consumption monitoring on the power consumption monitoring points in the hardware board.
[0090] In some embodiments, a sampling circuit may also be provided on the hardware board. The sampling circuit may be a voltage sampling circuit or a current sampling circuit. When the hardware board performs power consumption monitoring, it can perform current sampling and voltage sampling on the power consumption monitoring points respectively through two independent sampling circuits. That is, it can use the current sampling circuit to perform current sampling to obtain current sampling data, and use the voltage sampling circuit to perform voltage sampling to obtain voltage sampling data. The anomaly monitoring module of the hardware board can filter the sampling data of the sampling circuit according to the filtering algorithm set in the configuration file. For example, if it is set in the configuration file to filter the current sampling data and voltage sampling data through the limit filtering method, the anomaly monitoring module of the hardware board will filter the current sampling data and voltage sampling data respectively according to the limit filtering method, and then determine the data validity according to the filtered current sampling data, the filtered voltage sampling data, and the monitoring range (set in the configuration file). That is, if the ratio of the voltage value (the value corresponding to a certain sampling moment in the filtered voltage sampling data) to the current value (the value of the filtered current sampling data at the same sampling moment) exceeds the monitoring range, it means that the sampling data (including the above current sampling data and the above voltage sampling data) is invalid. If the ratio of the voltage value to the current value is within the monitoring range, it means that the data is valid. If the data is invalid, it is discarded; if the data is valid, the power can be further calculated according to the filtered current sampling data and the filtered voltage sampling data, and the power characteristic value obtained by the power calculation is compared with each threshold value (power threshold value) related to the above power, so as to determine whether the hardware board needs to give an alarm for abnormal power consumption.
[0091] In some embodiments, the configuration file may also store the current sampling / voltage sampling interval and the calculation period. The power consumption monitoring subunit is used to calculate the power characteristic value within the calculation period according to the sampling interval and the calculation period in the configuration file. The power value of each power consumption monitoring point can be calculated according to the voltage value and the current value collected at the power consumption monitoring point. For example, multiply the voltage value collected at the power consumption monitoring point by the current value, and use the product as the power value of the power consumption monitoring point. Or, the voltage value collected at the power consumption monitoring point can be multiplied by the voltage coefficient (stored in the configuration file) to obtain an optimized voltage value, the current value can be multiplied by the current coefficient (stored in the configuration file) to obtain an optimized current value, and then the optimized voltage value is multiplied by the optimized current value, and the product is used as the power value of the power consumption monitoring point.
[0092] It should be noted that for different hardware boards, the sampling intervals and calculation periods corresponding to different power consumption monitoring points on the same hardware board can be different, which can meet different sampling requirements.
[0093] Among them, the power eigenvalue can be the average power within a calculation period, and the average power can be obtained by averaging the power within the calculation period; alternatively, the signal can be subjected to Fourier transform, and then the sum of the squares of the sample values in the frequency domain is calculated and divided by the frequency resolution, which is the average power; or the signal can be subjected to autocorrelation operation, and then the average power of the signal is obtained by integrating the autocorrelation function in the time domain.
[0094] In specific applications, the above power threshold values can include a high-high power value, a high power value, a low power value, and a low-low power value. Among them, when the calculated power eigenvalue is greater than the high-high power value, the power consumption monitoring subunit issues a first abnormal alarm, and the first abnormal alarm is used to indicate that the hardware board has had an abnormal condition of excessive power consumption; when the calculated power eigenvalue is less than the high-high power value but greater than the high power value, the power consumption monitoring subunit issues a second abnormal alarm, and the second abnormal alarm is used to warn that the hardware board is about to have an abnormal condition of excessive power consumption; when the calculated power eigenvalue is less than the low-low power value, the power consumption monitoring subunit issues a third abnormal alarm, and the third abnormal alarm is used to indicate that the hardware board has had an abnormal condition of too low power; when the calculated power eigenvalue is greater than the low-low power value but less than the low power value, the power consumption sub-module issues a fourth abnormal alarm, and the fourth abnormal alarm is used to warn that the hardware board is about to have an abnormal condition of too low power consumption.
[0095] 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 a hardware board with the function of reading the instantaneous current value and the instantaneous voltage value, the instantaneous current value of the power consumption monitoring point can be directly read by using the instantaneous current value reading function, and after reading the instantaneous voltage value of the power consumption monitoring point by using the instantaneous voltage value reading function, corresponding processing (such as filtering processing, abnormal point elimination processing, etc.) is performed and then the power value is calculated.
[0096] It can be understood that in the configuration file of the same hardware board, the filtering algorithm used for filtering current sampling data may be the same as or different from the filtering algorithm used for filtering voltage sampling data. Exemplarily, taking the main management hardware board 11 as an example above, the configuration file in the management hardware board 11 may be configured to filter the current sampling data using the limited amplitude average filtering method and filter the voltage sampling data using the first-order lag filtering method; or it may be configured to filter the current sampling data using the limited amplitude average filtering method and also filter the voltage sampling data using the limited amplitude average filtering method. In the configuration files of different hardware boards, the filtering algorithm used for filtering current sampling data may be the same as or different from the filtering algorithm used for filtering voltage sampling data. For different node settings, which filtering algorithm to use for filtering sampling data can be determined based on actual application requirements, and the present application does not make specific limitations on this.
[0097] It can be understood that in the configuration files of different hardware boards, the configured threshold values may be the same or different. Exemplarily, taking the above-mentioned hardware board 11 and hardware board 12 as an example, the configuration file in the hardware board 11 sets the high-high power value (P1), high power value (P2), low power value (P3), and low-low power value (P4) related to power consumption monitoring of the hardware board 11; the configuration file in the hardware board 12 sets the high-high power value (P5), high power value (P6), low power value (P7), and low-low power value (P8) related to power consumption monitoring of the hardware board 12; where P1 > P2 > P3 > P4, P5 > P6 > P7 > P8, P1 may be equal to or different from P5; P2 may be equal to or different from P6; P3 may be equal to or different from P7; P4 may be equal to or different from P8.
[0098] In some embodiments, the configuration data in the above configuration file may further include a temperature threshold value. The hardware board can obtain the temperature data of the temperature monitoring point through devices such as temperature sensors, and the abnormal monitoring module 114 may further include a temperature monitoring subunit.
[0099] The above temperature monitoring subunit is used to identify whether there is a temperature anomaly condition of the hardware board according to the temperature data and the temperature threshold value.
[0100] In a specific application, when the hardware board performs temperature monitoring, it can obtain the temperature data collected by the temperature sensor at multiple temperature monitoring points of the hardware board. During the measurement period, based on the collected temperature data, a temperature characteristic value is determined, 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, and it can issue a temperature anomaly alarm when the operating temperature is abnormal.
[0101] In a specific application, the average temperature within a sampling period can be calculated, and this average temperature can be used as the temperature characteristic value. The above temperature threshold values can include a high-high temperature value, a high temperature value, a low temperature value, and a low-low temperature value. Among them, 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 had an abnormal condition of overheating; when the calculated temperature characteristic value is less than the high-high temperature value but greater than the 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 have an abnormal condition of overheating; 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 had an abnormal condition of low temperature; when the calculated temperature characteristic value is greater than the low-low temperature value but less than the low temperature value, the temperature sub-module issues an eighth abnormal alarm, and the eighth abnormal alarm is used to warn that the hardware board is about to have an abnormal condition of low temperature.
[0102] It should be noted that the above temperature characteristic value can also be other statistical characteristic values. For example, the maximum temperature, minimum temperature, median temperature, etc. within the sampling period can also be used as the above temperature characteristic value. The sampling period can be set according to the actual application scenario, and the sampling period can also be written into the configuration file of the hardware board. In this way, when the temperature monitoring subunit of the hardware board performs temperature monitoring, it can analyze the temperature operation status of the hardware board according to this sampling period.
[0103] Since the working environments of different hardware boards may vary, in the embodiments of the present application, different configuration files are set for different hardware boards, so that when each hardware board monitors its operating status, it can use configuration data adapted to the working environment of the hardware board to determine abnormal alarms for the hardware board, which can effectively improve the accuracy of abnormal alarms in the power system and improve the reliability of abnormal alarms.
[0104] In some embodiments, the configuration data in the above configuration file and the location information of the monitoring points are configurable. Specifically, the above configuration file can be configured according to the system simulation results of the working environment of the hardware board.
[0105] It should be understood that the above hardware board can also include other software modules and hardware modules, such as a storage module, a data acquisition module, etc. Details are not described in detail in this embodiment.
[0106] 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 abnormal conditions in the entire system. Exemplarily, such asFigure 2 As shown, the above device monitoring system may include a management board 21 and one or more slave hardware boards 22.
[0107] Among them, the management board 21 also includes a configuration file loading module 111, a reading module 112, a monitoring point determination module 113, and an anomaly monitoring module 114.
[0108] In addition, the management board 21 further includes a configuration file distribution module 213 for distributing configuration files to each slave hardware board 22, and a system alarm module 214 for performing system-level anomaly determination based on the single hardware board anomaly alarm fed back by the slave hardware board 22. The slave hardware board 22 also includes a single board alarm module 223.
[0109] 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 single hardware board-level anomaly identification. In addition, the management hardware board 21 and the slave hardware board 22 may also include modules such as a storage module and a communication module, which are not elaborated in detail in this embodiment.
[0110] In the embodiment of the present application, the management hardware board 21 stores configuration files set for the working environments of each hardware board. When each hardware board monitors its operating status, it will call the configuration file corresponding to that hardware board to analyze abnormal conditions. That is, the management hardware board 21 can implement anomaly monitoring of the management hardware board 21 according to the configuration file corresponding to the management hardware board 21, and the slave hardware board 22 can call the configuration file corresponding to the slave hardware board 22 to implement anomaly monitoring of the above slave hardware board 22.
[0111] For the relevant description of the anomaly monitoring module 114 in the slave hardware board 22, reference can be made to the description of the anomaly monitoring module of the hardware board in the above embodiment. That is, the anomaly monitoring module 114 in the slave hardware board 22 may also include a power consumption monitoring subunit and a temperature monitoring subunit. The power consumption monitoring subunit can identify power consumption abnormal conditions based on power consumption data and power threshold values, and the temperature monitoring subunit can identify temperature abnormal conditions based on temperature data and temperature threshold values. For specific descriptions, please refer to the descriptions of the power consumption monitoring subunit and the temperature monitoring subunit in the above embodiment, which will not be elaborated here.
[0112] In specific applications, the single board alarm module 223 in the above slave hardware board 22 can determine whether to send a single hardware board anomaly alarm based on the power consumption monitoring result and the temperature monitoring result.
[0113] In some implementations, the single-board card alarm module 223 of the hardware board card 22 can determine to send an abnormal alarm for the single hardware board card when the power characteristic value (the power consumption monitoring result is reflected in the form of the power characteristic value) exceeds the first threshold value and the temperature characteristic value (the temperature monitoring result is reflected in the form of the temperature characteristic value) exceeds the second threshold value.
[0114] In some implementations, the single-board card alarm module 223 of the hardware board card 22 can determine to send an abnormal alarm for the single hardware board card when the power characteristic value exceeds the first threshold and the temperature characteristic value exceeds the second threshold within a preset time period.
[0115] It should be noted that the above power consumption monitoring result and temperature monitoring result can be determined according to the monitoring data and configuration data. The above power consumption monitoring result can be characterized by the power characteristic value, or can be characterized by a value set corresponding to the power characteristic value. Of course, it can also be characterized by other means, such as a parameter obtained by performing relevant conversion on the power characteristic value. Similarly, the above temperature monitoring result can be characterized by the temperature characteristic value, or can be characterized by a value set corresponding to the temperature characteristic value, and can also be characterized by other means, such as a parameter obtained by performing relevant conversion on the temperature characteristic value.
[0116] It should be noted that the above power consumption monitoring result and the above temperature monitoring result can be reflected by numerical values. The power consumption monitoring subunit can determine the above power consumption monitoring result according to the power characteristic value and the power consumption threshold value.
[0117] Exemplarily, the power consumption monitoring subunit can set multiple score intervals according to the power threshold value, and each score interval corresponds to a numerical value. Which score interval the power characteristic value is in, the power consumption monitoring result corresponds to the numerical value of that score interval. For example, the above power threshold values can include P1 (high-high power value), P2 (high power value), P3 (low power value), P4 (low-low power value), where P1 > P2 > P3 > P4. Then, 5 score intervals can be set. The interval range of the first score interval is that 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 numerical values corresponding to the first score interval and the fifth score interval can be set relatively high, for example, can be set to 80 points. The second score interval and the fourth score interval belong to possible abnormal power conditions, so the numerical values corresponding to the second score interval and the third score interval can be set lower than those of the first score interval and the fifth score interval, for example, can be set to 60. The third score interval belongs to the normal condition, so the score can be set to 0.
[0118] Exemplarily, the power consumption monitoring subunit can also set corresponding values for each power characteristic value, that is, when the power consumption monitoring subunit calculates the power characteristic value, the value corresponding to the power characteristic value can be determined. The values corresponding to different power characteristic values can also be set according to the simulation results, and the corresponding relationship between the power characteristic value and the value reflecting the power monitoring result can also be recorded in the configuration file.
[0119] Exemplarily, the temperature monitoring subunit can set multiple score intervals according to the temperature threshold value, each score interval corresponding to a value. Whichever score interval the temperature characteristic value is in, the temperature monitoring result corresponds to the value of that score interval. For example, the above temperature threshold values can include T1 (high-high temperature value), T2 (high temperature value), T3 (low temperature value), T4 (low-low temperature value), where T1>T2>T3>T4. Then, 5 score intervals can be set. The range of the first score interval is the temperature characteristic value T>T1, the range of the second score interval is T1>=T>T2, the range of the third score interval is T2>=T>T3, the range of the fourth score interval is T3>=T>T4, and the 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 relatively high, 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 those of the first score interval and the fifth score interval, for example, they can be set to 60. The third score interval belongs to the normal condition, so the score can be set to 0.
[0120] Exemplarily, the temperature monitoring subunit can also set corresponding values for each temperature characteristic value, that is, when the temperature monitoring subunit calculates the temperature characteristic value, the value corresponding to the temperature characteristic value can be determined. The values corresponding to different temperature characteristic values can also be set according to the simulation results, and the corresponding relationship between the temperature characteristic value and the value reflecting the temperature monitoring result can also be recorded in the configuration file.
[0121] It can be understood that the above is only an illustrative example rather than a limitation on the representation methods of the power consumption monitoring result and the temperature monitoring result.
[0122] In some implementation manners, the single-board card alarm module 223 in the hardware board card 22 is used to determine whether to send a single hardware board card abnormal alarm according to the power consumption monitoring result, the temperature monitoring result, and the weight parameter information.
[0123] In specific applications, the above weight parameter information can also be recorded in the above configuration file. The above 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).
[0124] In specific applications, the above weight parameter information can be set according to the actual working scenario or determined based on the simulation results.
[0125] In some embodiments, for different working environments, different weight parameters can be set for power consumption monitoring and temperature monitoring, 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, a higher weight coefficient for the temperature monitoring result can be set; if the ambient temperature of the working environment of the slave hardware board is relatively low, the weight of the temperature monitoring result can be set. For example, for a slave hardware board with an ambient temperature as high as 85 degrees / 110 degrees, the weight coefficient corresponding to the temperature monitoring result can be set to exceed 75%. Another example is that 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%.
[0126] In some embodiments, the configuration of the above first weight coefficient and second weight coefficient can also be adaptively adjusted according to the working environment temperature of the slave hardware board, so as to obtain the first weight coefficient and second weight coefficient suitable for the working environment temperature.
[0127] It should also be noted that the sum of the above first weight coefficient and second weight coefficient is 1 (100%).
[0128] In specific applications, the single-board card alarm module 223 operates the power consumption monitoring result with the first weight coefficient to obtain a first operation result, operates the temperature monitoring result with the second weight coefficient to obtain a second operation result, and then adds the first operation result and the second operation result to obtain the single-board card alarm coefficient. If the single-board card alarm coefficient exceeds the single-hardware board card alarm threshold, a single-hardware board card abnormal alarm can be sent.
[0129] The system alarm module 214 of the above management hardware board 21 can determine whether the slave hardware board that issues a single-hardware board card abnormal alarm is a key hardware board. If so, it is determined that there is a system-level abnormality. That is, the above system alarm module 214 is based on the operation or logic of the key hardware board. That is, as long as one key hardware board issues a single-hardware board card abnormal alarm, it is confirmed that there is a system-level abnormality.
[0130] The settings of the key hardware boards can also be configured according to the results of electric field simulation, power field simulation, and temperature field simulation of the power system. Moreover, the device information of the key hardware boards can also be recorded in the configuration file (the configuration file for managing the hardware board 21). In this way, after the management hardware board 21 receives the single hardware board exception alarm, it can determine whether the slave hardware board that issues the single hardware board exception alarm is a key hardware board based on the device information of the key hardware boards.
[0131] In this embodiment, by using the management hardware board to perform system-level exception monitoring and alarming based on the single hardware board exception alarms sent by each slave hardware board, the exception monitoring of the system can be realized more reliably.
[0132] In some embodiments, each hardware board in the device monitoring system 10 can be implemented by an embedded hardware board, that is, the device monitoring system 10 includes multiple embedded hardware boards. Please refer to Figure 3 , Figure 3 which shows a schematic hardware structure diagram of a device monitoring system 10 provided by an embodiment of the present application. As Figure 3 shown, the device monitoring system 10 includes multiple hardware boards, including but not limited to Figure 3 the hardware board 31, hardware board 32, and hardware board 33 in
[0133] Among them, each hardware board includes a main processor (central processing unit, CPU) for controlling the operation of the hardware board, and a coprocessor (also called a communication module) for communication. The coprocessor can specifically 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 execution element.
[0134] The device monitoring system 10 also includes a backplane 34. A backplane bus for inter-board communication (not shown in the figure) is arranged in the backplane 34. Each hardware board is connected to the backplane bus through the coprocessor it has to achieve communication connections among the hardware board 31, hardware board 32, and hardware board 33. For example, the management board issues configuration files to each slave board, and the key board reports single hardware board exception alarms, etc.
[0135] Among them, a software module for performing exception detection and alarming (i.e., the above-mentioned exception monitoring module) and a configuration file corresponding to the hardware board can be stored in the storage module on each hardware board. During the operation of the device monitoring system 10, the main processor can obtain the configuration file from the storage module and run the exception monitoring module to perform exception monitoring on the hardware board where it is located and implement exception alarming.
[0136] In general, one of multiple hardware boards is configured as a management board (also known as a main board or a management single board), and the others are configured as slave boards (also known as application boards or application single boards). The slave boards are used to implement a specific function, and the management board is used to manage multiple slave boards. For example, hardware boards 32 and 33 are slave boards, which are respectively used to monitor the power grid and control the on / off of the lines in the power grid; hardware board 31 is a management board, which is used to manage hardware boards 32 and 33.
[0137] In some embodiments, the above management board 21 may be the management board in the device monitoring system 10, and the slave hardware board 22 is the slave board in the device monitoring system 10. Of course, the management board 21 may also be a certain slave board in the device monitoring system 10, and the slave hardware board 32 may include a management board and other slave boards.
[0138] 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), and then runs the anomaly monitoring module to determine the monitoring point location according to the configuration file of the management board and obtain the monitoring data of the monitoring point. Then, it determines the configuration data related to the monitoring function according to the configuration file, monitors the operating status of the management board according to the configuration data and the monitoring data, and issues an alarm at the single hardware board level when an abnormal situation occurs. The management board can also distribute the configuration files of the slave boards to the corresponding slave boards through the configuration file distribution module. The main processor in the slave board runs the anomaly monitoring module, and performs anomaly detection according to the configuration data in the configuration file corresponding to the slave board and the obtained monitoring data. When it detects that there is a single board anomaly in the slave board, the single board alarm module sends a single hardware board anomaly alarm to the management board. When the management board receives the single hardware board anomaly alarm sent by the slave board, it can identify whether the slave board sending the single hardware board anomaly alarm is a critical board through the system alarm module. 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 anomaly alarm to the management board, the management board will determine that there is a system-level anomaly.
[0139] Among them, the critical board can also be determined based on the electric field simulation results, power field simulation results, and temperature field simulation results. The board information of the critical board can be written into the configuration file of the management board, and the management board can determine whether the hardware board is a critical board according to the board information of the critical board in the configuration file. The above board information may include a board identification code, a board number, a board type, etc.
[0140] Among them, the main processor in the management board can also monitor the management board for anomalies during operation. When an anomaly is detected, a single hardware board anomaly alarm can also be issued.
[0141] In some embodiments, the configuration file corresponding to each hardware board may also store the current / voltage sampling interval and the calculation period. The anomaly monitoring module in the above hardware board may include a power consumption monitoring subunit and a temperature monitoring subunit. For the specific descriptions of the above power consumption monitoring subunit and temperature monitoring subunit, reference may be made to the descriptions of the power consumption monitoring subunit and temperature monitoring subunit of the hardware board in the above device monitoring system, which will not be elaborated here.
[0142] The device monitoring system provided in the embodiments of the present application has been described above. The following describes the anomaly alarm method provided in the embodiments of the present application in conjunction with the device monitoring system provided in the embodiments of the present application as follows:
[0143] Please refer to Figure 4 , Figure 4 which shows a schematic flowchart of the implementation of an anomaly alarm method provided in the embodiments of the present application. The execution subject of the anomaly alarm method may be the hardware board in the device monitoring system. As Figure 4 shown, the method may include the following steps:
[0144] S110. Obtain the configuration file corresponding to the hardware board.
[0145] S120. Read the configuration data of the configuration file and the location information of the monitoring points.
[0146] S130. Determine the monitoring points distributed in the hardware board according to the location information of the monitoring points.
[0147] S140. Obtain the monitoring data of the monitoring points, and monitor the operating status of the hardware board according to the monitoring data and the configuration data.
[0148] S150. When an abnormal condition is detected, issue an abnormal alarm notification.
[0149] In the embodiments of the present application, during the operation of the device monitoring system, each hardware board will have a corresponding configuration file, and then set monitoring points according to the configuration file, and obtain the monitoring data of the monitoring points, such as obtaining 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.
[0150] In the embodiments of the present application, the monitoring points of each hardware board can be determined through a configuration file, and the monitoring tasks to be run by the hardware board can also be determined through the configuration file. During the initialization process of the hardware board, the hardware board can obtain the corresponding configuration file, then read out the task list and the location information of the monitoring points in the configuration file, 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 refer to the foregoing examples, and will not be elaborated herein.
[0151] When the hardware board detects an abnormal condition, the warning notification sent can specifically be a power consumption abnormal warning notification, a temperature abnormal warning notification, a voltage abnormal warning notification, a current abnormal warning notification, etc.
[0152] In some embodiments, since the power consumption change and temperature change during the operation of the device monitoring system are directly related to the hardware system selected for its application scenario, in order to consider the adaptability of different temperature field monitoring requirements, the configuration data in the above 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.
[0153] In some embodiments, the working environment of the hardware board can be system-simulated to obtain a system simulation result, and then the configuration file of the hardware board can be configured according to the system simulation result.
[0154] Exemplarily, the related configuration of the configuration file is described as follows:
[0155] Please refer to Figure 5 , Figure 5 which is the configuration process of the configuration file in the abnormal warning method provided by the embodiments of the present application. Taking the device detection system constructed by the hardware board as an example, as Figure 5 shown, the configuration process of the above configuration file can include the following steps:
[0156] S201. Set the task list of each hardware board.
[0157] Among them, the task list includes whether to run the power consumption monitoring task and whether to run the temperature monitoring task. Of course, the above task list can also include whether to run the voltage monitoring task, whether to run the current monitoring task, etc.
[0158] The setting of the task list can be determined according to the simulation results. For example, for a hardware board that is prone to power consumption anomalies, its task list can be set to include a power consumption monitoring task. Another example is that for a hardware board that is prone to temperature anomalies, its task list can be set to include a temperature monitoring task, etc.
[0159] S202. Set the list of key boards.
[0160] The key boards are the boards that can affect the operation status of the entire power system.
[0161] In specific applications, the setting of the key boards can also be determined according to the actual working conditions. For example, in a distributed device monitoring system corresponding to a power control and protection device, hardware boards such as the main processor board, input board, and output board can be set as key boards. Another example is that some hardware boards that will affect the operation of the entire system in case of failure during historical operating conditions can also be set as key boards.
[0162] Similarly, the above list of key boards can be determined according to the simulation results.
[0163] S203. Determine the number and location of temperature monitoring points according to the structure of the hardware board and the temperature field simulation results.
[0164] In specific applications, according to whether the hardware board contains high-power-consuming devices or heat-generating devices such as a main processor, co-processor or microprocessor, and high-speed communication interface, the locations where these high-power-consuming devices or heat-generating devices are located can be determined as temperature monitoring points.
[0165] Of course, based on the temperature field simulation results, the heat-generating positions can also be determined as temperature monitoring points. It can be understood that different hardware boards are in different working environments, and the heat-generating positions will also be different. Therefore, the locations of the set temperature monitoring points will also be different.
[0166] S204. Set the hardware boards that need to perform power consumption monitoring, as well as the number and location of voltage sampling and current sampling in each hardware board.
[0167] In specific applications, the positions 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.
[0168] Among them, the current data and voltage data can be collected through a sampling circuit. For a power management chip that supports instantaneous value reading, the voltage instantaneous value and current instantaneous value can be directly read.
[0169] S205. Define configuration data such as filtering algorithms, sampling intervals, calculation periods, temperature thresholds, power consumption thresholds, etc.
[0170] For different hardware boards, different filtering algorithms, different sampling intervals, different calculation periods, different temperature threshold values, and different power consumption threshold values can be set, so as to meet the monitoring requirements of multiple temperature fields and multiple power fields.
[0171] S206. Set the weight coefficient of the power monitoring result, the weight coefficient of the temperature monitoring result, and the alarm threshold for a single hardware board according to the power consumption simulation result and the measured data.
[0172] S207. Configure the relevant parameters for system-level exception alarm.
[0173] In a specific application, the relevant parameters for system-level exception alarm can configure the conditions for system-level exception alarm. For example, it can be configured to confirm the occurrence of system-level exception alarm when receiving the exception alarm of a single hardware board sent by a key board.
[0174] S208. Save the configuration content of the above S201 - S207 to generate a configuration file.
[0175] The above operation of configuring the configuration file can be executed in the upper computer communicatively connected to the device monitoring system provided in the embodiment of the present application. The upper 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 upper computer, and at this time, the upper computer can send the configuration file to the management board. Of course, the above operation of configuring the configuration file can also be executed in the device monitoring system provided in the embodiment of the present application. It can be understood that the above operation of configuring the configuration file is a prerequisite step for the exception alarm method provided in the embodiment of the present application. After configuring the configuration file, the upper computer can also directly send the configured configuration file to the management board.
[0176] In some embodiments, refer to Figure 6 , Figure 6 shows a schematic flowchart of the implementation of an exception alarm method provided in an embodiment of the present application. The execution subject of the exception alarm method can be the management board and the slave hardware boards in the device monitoring system. As Figure 6 shown, the method may include the following steps:
[0177] S310. The management board loads the configuration file of the embedded system.
[0178] The configuration file of the above device monitoring system includes the configuration file of the management board and the configuration files of each slave hardware board.
[0179] S320. The management board sends the configuration file corresponding to each slave hardware board to each slave hardware board.
[0180] S330. The monitoring tasks are determined from the hardware board according to the task list in the configuration file.
[0181] Exemplarily, taking the monitoring tasks in the task list of the configuration file of the hardware board including power consumption monitoring tasks and temperature monitoring tasks as an example.
[0182] S340. The power consumption monitoring subunit is loaded from the hardware board for power consumption anomaly monitoring, and the temperature monitoring subunit is loaded for temperature anomaly monitoring.
[0183] In a specific application, 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 according to the configuration file, filters the current sampling data and 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 a power consumption anomaly according to the power characteristic value and the power threshold.
[0184] In a specific application, the monitoring data includes temperature data, and the temperature data 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, that is, the temperature monitoring subunit can determine the temperature threshold according to the configuration file, and identify whether there is a temperature anomaly on the hardware board according to the temperature data and the temperature threshold.
[0185] S350. When the hardware board detects a power anomaly, a single hardware board-level power alarm signal is generated.
[0186] Exemplarily, the above power thresholds include high-high power value, high power value, low power value, and low-low power value. Among them, when the calculated power characteristic value is greater than the high-high power value, the power consumption monitoring subunit issues a first anomaly alarm, and the first anomaly alarm is used to indicate that the hardware board has had an excessive power consumption anomaly; 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 anomaly alarm, and the second anomaly alarm is used to warn that the hardware board is about to have an excessive power consumption anomaly; when the calculated power characteristic value is less than the low-low power value, the power consumption monitoring subunit issues a third anomaly alarm, and the third anomaly alarm is used to indicate that the hardware board has had a low power anomaly; when the calculated power characteristic value is greater than the low-low power value but less than the low power value, the power consumption sub-module issues a fourth anomaly alarm, and the fourth anomaly alarm is used to warn that the hardware board is about to have a low power consumption anomaly.
[0187] S360. When the hardware board detects a temperature anomaly, it generates a single-hardware-board-level temperature alarm signal.
[0188] Exemplarily, the above temperature threshold values include high-high temperature value, high temperature value, low temperature value, and low-low temperature value. Among them, when the calculated temperature characteristic value is greater than the high-high temperature value, the temperature monitoring subunit issues a fifth anomaly alarm, and the fifth anomaly alarm is used to indicate that the hardware board has had an over-temperature anomaly condition; when the calculated temperature characteristic value is less than the high-high temperature value but greater than the high temperature value, the temperature monitoring subunit issues a sixth anomaly alarm, and the sixth anomaly alarm is used to pre-warn that the hardware board is about to have an over-temperature anomaly condition; when the calculated temperature characteristic value is less than the low-low temperature value, the temperature monitoring subunit issues a seventh anomaly alarm, and the seventh anomaly alarm is used to indicate that the hardware board has had an under-temperature anomaly condition; when the calculated temperature characteristic value is greater than the low-low temperature value but less than the low temperature value, the temperature sub-module issues an eighth anomaly alarm, and the eighth anomaly alarm is used to pre-warn that the hardware board is about to have an under-temperature anomaly condition.
[0189] S370. The slave hardware board identifies single-hardware-board anomaly conditions based on the power monitoring results and temperature monitoring results.
[0190] In a specific application, the slave hardware board can determine whether to send a single-hardware-board anomaly alarm based on the power consumption monitoring results, temperature monitoring results, and weight parameter information.
[0191] In a specific application, the above weight parameter information can also be recorded in the above configuration file. The above 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).
[0192] In a specific application, the above weight parameter information can be set according to the actual working scenario or determined based on the simulation results.
[0193] In some embodiments, different weight parameters can be set for power consumption monitoring and temperature monitoring according to different working environments, so that the abnormal alarms 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, a higher weight coefficient for the temperature monitoring result can be set; if the ambient temperature of the working environment of the slave hardware board is relatively low, the weight of the temperature monitoring result can be set. For example, for a slave hardware board with an ambient temperature as high as 85 degrees / 110 degrees, the weight coefficient of the corresponding temperature monitoring result can be set to exceed 75%. Another example is that 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 be less than 30%.
[0194] It should also be noted that the sum of the above first weight coefficient and the second weight coefficient is 1 (100%).
[0195] S380. When the slave hardware board determines that a single hardware board abnormal situation occurs, it sends a single hardware board abnormal alarm to the management hardware board.
[0196] S390. The management board determines the monitoring tasks according to the task list in the configuration file.
[0197] S3100. The management board loads the power consumption monitoring subunit to perform power consumption abnormal monitoring, and loads the temperature monitoring subunit to perform temperature abnormal monitoring.
[0198] S3110. When the management board detects a power abnormal situation, it generates a single hardware board level power alarm signal.
[0199] S3120. When the management board detects a temperature abnormal situation, it generates a single hardware board level temperature alarm signal.
[0200] S3130. The management board identifies the single hardware board abnormal situation according to the power monitoring result and the temperature monitoring result.
[0201] S3140. When the management board determines that a single hardware board abnormal situation occurs, it generates a single hardware board abnormal alarm.
[0202] S3150. The management board performs system-level abnormal identification according to the single hardware board abnormal alarms of each hardware board.
[0203] S3160. When the management board determines to send a system-level abnormality, it issues a system abnormality alarm notification.
[0204] It should be understood that the execution processes of S330 to S370 and those of S390 to S3130 can be carried out simultaneously or step by step. The monitoring process of the operating status of the management board can refer to the monitoring process of the operating status of the hardware board, which will not be elaborated in this embodiment.
[0205] An embodiment of the present application also provides a readable storage medium, which includes a computer program. When it runs on a computer, it enables the computer to execute the method provided in the above method embodiment.
[0206] An embodiment of the present application also provides a computer program product containing instructions. When the computer program product runs on a computer, it enables the computer to execute the method provided in the above method embodiment.
[0207] An embodiment of the present application also provides a chip system, including a memory and a processor. 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 the device equipped with the chip system executes the method provided in the above method embodiment.
[0208] 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.
[0209] It should be understood that in the embodiment of the present application, the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0210] It should also be understood that the memory in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can 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 can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of random access memory (RAM) are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchlink dynamic random access memory (SLDRAM), and direct rambus random access memory (DR RAM).
[0211] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or by a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0212] Those skilled in the art can 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 foregoing method embodiments and will not be elaborated herein.
[0213] In 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 illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, 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 displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.
[0214] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0215] In addition, in each embodiment of this application, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.
[0216] 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 this application, in essence, or the part that contributes to the prior art, or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to enable 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 methods described in each embodiment of this application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.
[0217] The above is only the specific implementation manner of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art within the technical scope disclosed in this application can easily think of changes or substitutions, which should all be covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.
Claims
1. An abnormal alarm method, characterized in that, A hardware board applied to an embedded system, the method includes: Obtain a configuration file corresponding to the hardware board; wherein, the configuration file is a configuration file set corresponding to the environment where the hardware board is located; Read the configuration data of the configuration file and the position information of the monitoring points; Determine the monitoring points distributed in the hardware board according to the position information of the monitoring points; Obtain the monitoring data of the monitoring points, and monitor the operating status of the hardware board according to the monitoring data and the configuration data; In the case of detecting an abnormal condition, send an abnormal alarm notification.
2. The abnormal alarm method according to claim 1, characterized in that, The obtaining the monitoring data of the monitoring points and monitoring the operating status of the hardware board according to the monitoring data and the configuration data includes: Determine the power consumption monitoring result and the temperature monitoring result according to the monitoring data and the configuration data; In the case of identifying a single hardware board abnormal condition according to the power consumption monitoring result and the temperature monitoring result, send a single hardware board abnormal alarm.
3. The abnormal alarm method according to claim 2, characterized in that, The sending a single hardware board abnormal alarm in the case of identifying a single hardware board abnormal condition according to the power consumption monitoring result and the temperature monitoring result includes: Obtain the single device alarm threshold, the first weight coefficient and the second weight coefficient according to the configuration file; Calculate the 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, it is determined that there is a single hardware board abnormal condition.
4. The abnormal alarm method according to claim 3, characterized in that, Configure the first weight coefficient and the second weight coefficient according to the environmental temperature of the working environment of the hardware board.
5. The abnormal alarm method according to any one of claims 2 to 4, characterized in that, In the case of identifying a single hardware board abnormal condition according to the power consumption monitoring result and the temperature monitoring result, send the single hardware board abnormal alarm to the management board.
6. The abnormal alarm method according to claim 5, characterized in that, The method further includes: If the hardware board that issues the single hardware board abnormal alarm is a key hardware board, the management board determines that there is a system-level abnormality.
7. The abnormal alarm method according to claim 1, characterized in that, Before obtaining the configuration file corresponding to the hardware board, it further includes: Perform system simulation on the working environment of the hardware board to obtain a system simulation result; Configure the configuration file according to the system simulation result.
8. The abnormal alarm method according to claim 1, characterized in that, The obtaining the monitoring data of the monitoring points and monitoring the operating status of the hardware board according to the monitoring data and the configuration data includes: Determine the filtering algorithm and the power threshold according to the configuration file; Filter the current sampling data and the voltage sampling data respectively based on the filtering algorithm; Calculate the power characteristic value within the sampling period according to the filtered current sampling data and the filtered voltage sampling data; Identify whether there is a power consumption abnormal condition of the hardware board according to the power characteristic value and the power threshold.
9. The abnormal alarm method according to claim 1, characterized in that, Monitoring the operating status of the hardware board according to the configuration file and the monitoring data includes: Determine the temperature threshold according to the configuration file; Identify whether there is a temperature abnormal condition of the hardware board according to the temperature data and the temperature threshold.
10. A device monitoring system, characterized in that, Including a hardware board, the hardware board includes: A configuration file loading module, which is used to obtain a configuration file corresponding to the hardware board, and the configuration file is a configuration file set according to the environment where the hardware board is located; A reading module, which is used to read the configuration data of the configuration file and the position information of the monitoring points; A monitoring point determination module, which is used to determine the monitoring points distributed in the hardware board according to the position information of the monitoring points; An abnormal monitoring module, which is used to obtain the monitoring data of the monitoring points and monitor the operating status of the hardware board according to the monitoring data and the configuration file.
11. The device monitoring system according to claim 10, characterized in that, The device monitoring system further includes a backplane, a backplane bus is arranged in the backplane, and the hardware boards are communicatively connected through the backplane bus.
12. A readable storage medium, characterized in that, A computer program is stored on the readable storage medium, and when the computer program runs on the device, the device is caused to execute the steps performed in the method according to any one of claims 1 to 9.