State detection method, apparatus, device, storage medium, and program product
By comparing the differences and calculating the rate of change of status data from multiple devices, the problem of low universality of equipment monitoring in existing technologies has been solved, enabling real-time anomaly detection of multiple devices and improving production safety and detection sensitivity.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- LINGDONG NUCLEAR POWER
- Filing Date
- 2023-01-12
- Publication Date
- 2026-07-28
AI Technical Summary
In existing technologies, equipment operation status monitoring is usually targeted at a single device or a certain type of device, which has low versatility and makes it difficult to effectively monitor multiple different types of devices at the same time, resulting in equipment anomalies being difficult to detect in a timely manner during the production process.
By acquiring status data from multiple target devices and comparing it with standard status data, the rate of change of status is calculated. If the rate of change exceeds a threshold, an abnormal prompt is output. Real-time monitoring and alarms are performed using a server or device to acquire a set of base state data to determine the standard status data.
It enables status monitoring of multiple different types of equipment, timely detection of anomalies, improved production safety and economy, and enhanced sensitivity and accuracy of equipment status detection.
Smart Images

Figure CN116067636B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of equipment monitoring technology, and in particular to a condition detection method, apparatus, device, storage medium, and program product. Background Technology
[0002] With the development of the technology industry, factories now often deploy a large number of devices. Taking nuclear power plants as an example, a large number of pump sets are deployed in nuclear power plants to collect and process relevant data during the actual production and operation of nuclear power plants, such as temperature, pressure, power, and flow.
[0003] In actual operation, any malfunction in any equipment can have a significant impact on the production process, and may even pose safety risks. Therefore, the operating status of each piece of equipment is usually monitored during production. Factories often need to monitor different equipment or different types of equipment separately, but existing equipment operating status monitoring technologies are usually targeted at individual equipment or a certain type of equipment, resulting in low versatility.
[0004] Therefore, it is necessary to propose a device status detection method that can simultaneously monitor the operating status of multiple devices or multiple different types of devices, so as to detect device anomalies in a timely manner. Summary of the Invention
[0005] Therefore, it is necessary to provide a state detection method, apparatus, device, storage medium, and program product to address the aforementioned technical problems.
[0006] Firstly, this application provides a state detection method. The method includes:
[0007] The system acquires first state data of multiple target devices at a first moment. For each target device, the first state data is compared with the standard state data of the target device to obtain a first comparison result. Based on the first comparison result and the second comparison result, it is determined whether to output a state abnormality prompt. The second comparison result is obtained by comparing the second state data with the standard state data. The second acquisition time of the second state data is located before the first acquisition time of the first running state data in terms of timing, and the second acquisition time and the first acquisition time are adjacent in terms of timing.
[0008] In one embodiment, determining whether to output a status abnormality prompt based on a first comparison result and a second comparison result includes: calculating a status change rate based on the first comparison result and the second comparison result; if the status change rate is greater than a preset status change rate threshold, then outputting a status abnormality prompt; if the status change rate is less than or equal to the preset status change rate threshold, then disabling the output of a status abnormality prompt.
[0009] In one embodiment, the first state data includes a first key parameter, the second state data includes a second key parameter, and the standard state data includes a key parameter range. Determining whether to output a state abnormality prompt based on the first comparison result and the second comparison result includes: if neither the first key parameter nor the second key parameter is within the key parameter range, then determining whether to output a state abnormality prompt based on the first comparison result and the second comparison result.
[0010] In one embodiment, calculating the state change rate based on the first comparison result and the second comparison result includes: calculating the root mean square error based on the first comparison result and standard state data, and calculating the current change rate based on the first comparison result and the second comparison result; and calculating the state change rate based on the first comparison result, the root mean square error, and the current change rate.
[0011] In one embodiment, the preset state change rate threshold is related to a preset absolute alarm threshold, or the preset state change rate threshold is related to the average change rate corresponding to the first state data and the second state data.
[0012] In one embodiment, the method further includes: acquiring a set of ground-state data of the target device under various operating conditions, wherein the set of ground-state data includes state data of the target device operating normally under the corresponding operating conditions; calculating the similarity between the second state data and each set of ground-state data, and taking the state data in the target ground-state data set with the highest similarity as the standard state data.
[0013] In one embodiment, obtaining the base state data set of the target device under each operating condition includes: obtaining the historical state data corresponding to the target device; dividing the historical state data according to each operating condition to obtain each base state data set.
[0014] In one embodiment, the method further includes: if the first moment is the first sampling moment in the preset state monitoring time interval, then saving the first comparison result; if the first moment is not the first sampling moment in the preset state monitoring time interval, then determining whether to output a state abnormality prompt based on the first comparison result and the second comparison result.
[0015] Secondly, this application also provides a state detection device. The device includes:
[0016] The comparison module is used to acquire the first state data of multiple target devices at the first moment. For each target device, the first state data is compared with the standard state data of the target device to obtain the first comparison result.
[0017] The determination module determines whether to output a status abnormality prompt based on the first comparison result and the second comparison result.
[0018] The second comparison result is obtained by comparing the difference between the second state data and the standard state data. The second acquisition time of the second state data is located before the first acquisition time of the first running state data in terms of time sequence, and the second acquisition time and the first acquisition time are adjacent in terms of time sequence.
[0019] In one embodiment, the determining module includes:
[0020] The calculation unit is used to calculate the rate of change of state based on the first comparison result and the second comparison result.
[0021] The first output unit is used to output a state abnormality prompt if the state change rate is greater than a preset state change rate threshold.
[0022] The second output unit is used to disable the output of an abnormal state prompt if the state change rate is less than or equal to a preset state change rate threshold.
[0023] In one embodiment, the first state data includes a first key parameter, the second state data includes a second key parameter, and the standard state data includes a key parameter range. The determining module is specifically used to: if neither the first key parameter nor the second key parameter is within the key parameter range, determine whether to output a state abnormality prompt based on the first comparison result and the second comparison result.
[0024] In one embodiment, the calculation unit is specifically configured to: calculate the mean squared error based on the first comparison result and the standard state data, and calculate the current rate of change based on the first comparison result and the second comparison result; and calculate the state change rate based on the first comparison result, the mean squared error, and the current rate of change.
[0025] In one embodiment, the preset state change rate threshold is related to a preset absolute alarm threshold, or the preset state change rate threshold is related to the average change rate corresponding to the first state data and the second state data.
[0026] In one embodiment, the device further includes:
[0027] The acquisition module is used to acquire the base state data set of the target device under various operating conditions. The base state data set includes the status data of the target device operating normally under the corresponding operating conditions.
[0028] Calculation module: Calculates the similarity between the second state data and each set of ground state data, and uses the state data in the target ground state data set with the highest similarity as the standard state data.
[0029] In one embodiment, the acquisition module is specifically used to: acquire historical state data corresponding to the target device; divide the historical state data according to each operating condition to obtain each base state data set.
[0030] In one embodiment, the device further includes:
[0031] The save module is used to save the first comparison result if the first moment is the first sampling moment in the preset state monitoring time interval.
[0032] The execution module is used to determine whether to output a status abnormality prompt based on the first comparison result and the second comparison result if the first moment is not the first sampling moment in the preset status monitoring time interval.
[0033] Thirdly, embodiments of this application provide a device having a computer program stored thereon, which, when executed by a processor, implements any of the steps described in the first aspect above.
[0034] Fourthly, embodiments of this application provide a storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the steps described in the first aspect above.
[0035] Fifthly, embodiments of this application provide a program product having a computer program stored thereon, which, when executed by a processor, implements any of the steps described in the first aspect above.
[0036] The aforementioned state detection method, apparatus, device, storage medium, and program product acquire first state data of multiple target devices at a first moment. For each target device, the first state data is compared with the standard state data of the target device to obtain a first comparison result. Then, based on the first comparison result and a second comparison result, it is determined whether to output a state abnormality prompt. The second comparison result is obtained by comparing the second state data with the standard state data. The second acquisition time of the second state data is prior to the first acquisition time of the first operating state data, and the second acquisition time and the first acquisition time are adjacent in time. By monitoring the operating state of the target devices, an abnormal state prompt is output when the target device's state is abnormal, which is beneficial for timely detection of abnormal devices and improves production safety. The multiple target devices in this application embodiment can be of the same or different types. That is, this application embodiment can simultaneously perform state detection on multiple devices or multiple target devices of different types, improving the applicability and versatility of the invention, thereby improving economic efficiency. Attached Figure Description
[0037] Figure 1-a This is a diagram illustrating the implementation environment of the state detection method in one embodiment.
[0038] Figure 1-b This is a diagram illustrating the implementation environment of the state detection method in another embodiment;
[0039] Figure 2 This is a flowchart illustrating a state detection method in one embodiment;
[0040] Figure 3 This is a flowchart illustrating a method for determining standard state data in one embodiment;
[0041] Figure 4 This is a flowchart illustrating a method for obtaining a set of ground-state data in one embodiment;
[0042] Figure 5 This is a flowchart illustrating a method for determining whether to output a status error message in one embodiment;
[0043] Figure 6 This is a flowchart illustrating a method for calculating the rate of change of state in one embodiment;
[0044] Figure 7 This is a flowchart illustrating the state detection method in another embodiment;
[0045] Figure 8 This is a flowchart illustrating the state detection method in another embodiment;
[0046] Figure 9 This is a flowchart illustrating the state detection method in another embodiment;
[0047] Figure 10 This is a structural block diagram of a state detection device in one embodiment;
[0048] Figure 11 This is a structural block diagram of the state detection device in another embodiment;
[0049] Figure 12 This is an internal structure diagram of a computer device that is a server in one embodiment;
[0050] Figure 13 This is an internal structure diagram of a computer device as a terminal in one embodiment. Detailed Implementation
[0051] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0052] In this application, 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 number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, for example, two, three, etc., unless otherwise explicitly specified.
[0053] The technical solutions involved in the embodiments of this application will be described below in conjunction with the application scenarios.
[0054] Figure 1-a This is a schematic diagram of an implementation environment involved in the state detection method provided in the embodiments of this application, such as... Figure 1-a As shown, the implementation environment may include multiple target devices. These multiple target devices may be of the same type or different types. For the convenience of the reader, only one target device 101 is used as an example here. Target device 101 may refer to equipment in a nuclear power plant. Target device 101 may be a pressurizer, steam generator, steam-water separator reheater, generator, relay protection device, etc. Specific target devices are not specifically limited here.
[0055] exist Figure 1-a In the implementation environment shown, the target device 101 can acquire the first state data of the target device 101 at a first moment, and compare the first state data with the standard state data of the target device to obtain a first comparison result. Then, the target device 101 determines whether to output a state abnormality prompt based on the first comparison result and the second comparison result. The second comparison result is obtained by comparing the second state data with the standard state data. The second acquisition time of the second state data is located before the first acquisition time of the first running state data in terms of timing, and the second acquisition time and the first acquisition time are adjacent in terms of timing.
[0056] Optionally, the implementation environment of the state detection method provided in this application embodiment may further include the target device and the server. For example... Figure 1-b As shown, the implementation environment may also include target device 101 and server 102, which can communicate with each other via wired or wireless networks. Target device 101 can refer to equipment in a nuclear power plant, such as a pressurizer, steam generator, steam-water separator reheater, generator, relay protection device, etc. Specific target devices are not limited here. Server 102 can be a single server or a server cluster consisting of multiple servers.
[0057] exist Figure 1-bIn the implementation environment shown, the target device 101 can acquire the first state data of the target device 101 at a first moment and send the first state data to the server 102. The server 102 compares the first state data with the standard state data of the target device to obtain a first comparison result. Then, the server 102 determines whether to output a state abnormality prompt based on the first comparison result and the second comparison result. The second comparison result is obtained by comparing the second state data with the standard state data. The second acquisition time of the second state data is located before the first acquisition time of the first running state data in terms of time sequence, and the second acquisition time and the first acquisition time are adjacent in terms of time sequence.
[0058] In one embodiment of this application, such as Figure 2 As shown, a state detection method is provided, which is applied to the above-mentioned... Figure 1-b Taking the server in the example, the method includes the following steps:
[0059] Step 101: Obtain the first state data of multiple target devices at the first moment. For each target device, compare the first state data with the standard state data of the target device to obtain the first comparison result.
[0060] The target equipment refers to the equipment in the nuclear power plant. The types of target equipment include pressurizers, steam generators, steam-water separators and reheaters, generators, relay protection devices, etc. Multiple target equipment can be of the same type or different types. The specific type of target equipment is not specifically limited here.
[0061] In this embodiment of the application, status data refers to data that can characterize the operating status of the target device. Whether the status data is abnormal can directly reflect whether the target device is abnormal. The status data can be a single data or multiple data. For example, for a voltage regulator, voltage data and pressure data are status data. When the voltage data and / or pressure data are abnormal, it can directly reflect that the operating status of the voltage regulator is abnormal.
[0062] Furthermore, for different types of target devices, the server can use different acquisition methods to obtain different first state data at the first moment. For example, for a voltage regulator, the first state data at the first moment can be obtained through a pressure sensor, and this first state data is pressure data; for a steam generator, the first state data at the first moment can be obtained through a temperature controller, and this first state data is temperature data. The specific acquisition method is not specifically limited here.
[0063] In addition, in this embodiment of the application, standard state data refers to standard value data of the target device when it is in normal operating state.
[0064] Optionally, the method by which the server obtains standard status data may be set based on the experience of technical personnel, may be obtained based on the historical operating data of the target device, or may be obtained based on the pre-shipment testing of the target device. In the embodiments of this application, it may be obtained based on the historical operating data of the target device.
[0065] Furthermore, the server compares the first state data of each target device with the standard state data of the target device. The difference comparison method may be to compare whether the distance between the first state data and the standard state data exceeds a preset distance threshold, or to compare whether the first state data exceeds the data range contained in the standard state data, or to compare whether the mean square error between the first state data and the standard state data exceeds a preset mean square error threshold, etc. In the embodiments of this application, the difference comparison method may be to compare whether the first state data exceeds the data range contained in the standard state data.
[0066] Step 102: Determine whether to output an abnormal status message based on the first comparison result and the second comparison result.
[0067] The second comparison result is obtained by comparing the difference between the second state data and the standard state data. The second acquisition time of the second state data is located before the first acquisition time of the first running state data in terms of time sequence, and the second acquisition time and the first acquisition time are adjacent in terms of time sequence.
[0068] Optionally, the server can determine whether to output a status abnormality prompt by comparing the size of the first comparison result and the second comparison result; it can also determine whether to output a status abnormality prompt by comparing whether the first comparison result and the second comparison result exceed a preset threshold; or it can calculate the status change rate by comparing whether the calculated status change rate exceeds a preset status change rate threshold to determine whether to output a status abnormality prompt. In this embodiment, the status change rate can be calculated by comparing the first comparison result and the second comparison result, and whether the status change rate exceeds a preset status change rate threshold can be used to determine whether to output a status abnormality prompt.
[0069] Among them, the output status abnormality prompt can be realized by alarming through external connection devices, so that relevant technicians can detect equipment abnormalities in a timely manner. Optionally, the alarm method includes triggering the alarm sound, displaying the alarm pop-up information on the user's mobile terminal, displaying the abnormal information on the display screen, and alarming by flashing the LED alarm light, etc. The specific alarm method is not limited here.
[0070] The aforementioned state detection method acquires first state data of multiple target devices at a first moment. For each target device, the first state data is compared with the standard state data of the target device to obtain a first comparison result. Then, based on the first comparison result and a second comparison result, it is determined whether to output a state abnormality prompt. The second comparison result is obtained by comparing the second state data with the standard state data. The second acquisition time of the second state data is prior to the first acquisition time of the first operating state data, and the second acquisition time and the first acquisition time are adjacent in time. By monitoring the operating state of the target devices, an abnormal state prompt is output when the target device's state is abnormal, which is beneficial for timely detection of abnormal devices and improving production safety. The multiple target devices in this application embodiment can be of the same or different types. That is, this application embodiment can simultaneously perform state detection on multiple devices or multiple target devices of different types, improving the applicability and versatility of the invention, thereby improving economic efficiency.
[0071] As mentioned above, the server needs to compare the first state data with the standard state data of the target device. To obtain the standard state data of the target device, in one embodiment of this application, as follows... Figure 3 As shown, a method for obtaining standard state data is provided, which includes the following steps:
[0072] Step 201: Obtain the base state data set of the target device under various operating conditions.
[0073] Operating condition refers to the working state of equipment under conditions directly related to its operation. For example, the operating state of an engine when its fuel consumption rate is at its lowest is called the economic operating state, and the operating state when the load exceeds the rated value is called the overload operating state.
[0074] In this embodiment of the application, the ground state data set includes the state data of the target device operating normally under the corresponding working conditions, while the state data of the target device operating abnormally under the corresponding working conditions can be eliminated by data filtering. Optionally, the state data of abnormal operation can be data that exceeds the normal threshold preset by the technician based on experience, or data that deviates from the average value of the state data by more than two standard deviations according to statistical methods.
[0075] In one possible implementation, in order to obtain the ground state data set, it can be obtained by analyzing the historical state data of the target device, by obtaining the ground state data set based on the experience of technical personnel, or by obtaining the ground state data set based on the pre-shipment test of the target device. In the embodiments of this application, the ground state data set can be obtained by analyzing the historical state data of the target device.
[0076] Step 202: Calculate the similarity between the second state data and each set of ground state data, and take the state data in the target ground state data set with the highest similarity as the standard state data.
[0077] Similarity refers to the degree of difference between data. The greater the similarity, the smaller the difference, and the more similar the two are; the smaller the similarity, the greater the difference, and the less similar the two are.
[0078] In the embodiments of this application, similarity can be characterized by calculating the distance between the second state data and each set of ground state data. Optionally, the distance can be calculated by calculating Euclidean distance, Manhattan distance, Minkowski distance, Pearson correlation coefficient, etc. The specific method of calculating the distance is not limited here.
[0079] In one embodiment of this application, such as Figure 4 As shown, a method for obtaining a ground-state data set is provided, which includes the following steps:
[0080] Step 301: Obtain the historical status data corresponding to the target device.
[0081] Historical status data refers to the status data generated by the target device during operation in a historical period. This historical period can be one month, six months, or one year, and the specific time period is not limited here.
[0082] Step 302: Divide the historical state data according to each working condition to obtain the set of each ground state data.
[0083] The historical status data is divided according to the different operating conditions of the target equipment. In other words, the historical data is classified according to the different operating conditions of the target equipment so that each operating condition corresponds to the corresponding historical data.
[0084] For example, in a transformer, there are three operating conditions: low power (e.g., 100mw), medium power (e.g., 800mw), and high power (e.g., 1000mw). The collected historical pressure data, historical temperature data, and historical no-load loss data of the transformer are divided according to these three operating conditions to obtain three sets of basic state data.
[0085] As mentioned above, after obtaining the first comparison result and the second comparison result, it is necessary to determine whether to output a status abnormality prompt based on the first comparison result and the second comparison result. In one embodiment of this application, such as Figure 5 As shown, a method for determining whether to output a status error message is provided, including the following steps:
[0086] Step 401: Calculate the rate of change of state based on the first comparison result and the second comparison result.
[0087] The rate of change of state characterizes the magnitude of the state change between the first comparison result and the second comparison result.
[0088] Step 402: If the state change rate is greater than the preset state change rate threshold, output a state abnormality prompt.
[0089] In the embodiments of this application, the preset state change rate threshold is related to a preset absolute alarm threshold, or the preset state change rate threshold is related to the average change rate corresponding to the first state data and the second state data.
[0090] The absolute alarm threshold can be preset by technicians based on experience, or it can be obtained after the target device is tested before leaving the factory. No specific restrictions are imposed here.
[0091] In one possible implementation, the absolute alarm threshold can be represented by W, and the preset state change rate threshold can be characterized as... Where e is the mean squared error between the first comparison result and the standard state data.
[0092] In one possible implementation, the average rate of change can be represented by θ, and the preset state rate of change threshold can be characterized as follows: Where e is the mean squared error between the first comparison result and the standard state data.
[0093] If the state change rate is greater than the preset state change rate threshold under any of the above conditions, it indicates that the state change amplitude between the first comparison result and the second comparison result is large. At this time, the target device may have an abnormality. In this case, a state abnormality prompt will be output to notify the technicians to handle the abnormal situation in a timely manner, which improves the sensitivity of the device state detection and ensures the safety and stability of the target device.
[0094] Step 403: If the state change rate is less than or equal to the preset state change rate threshold, then the output of the state abnormality prompt is prohibited.
[0095] If the state change rate is less than the preset state change rate threshold, it means that the state change amplitude between the first comparison result and the second comparison result is small. At this time, the target device is in normal operation and there is no need to output a state abnormality prompt.
[0096] The above method for determining whether to output an abnormal status prompt uses the calculation of the status change rate to reflect the magnitude of the equipment status change, thereby determining whether to output an abnormal status prompt, which improves the sensitivity of equipment status detection and ensures the safety and stability of the target equipment.
[0097] In addition, the first state data includes a first key parameter, the second state data includes a second key parameter, and the standard state data includes a key parameter range. In order to improve the accuracy of output state abnormality prompts, in one embodiment of this application, another method for determining whether to output a state abnormality prompt is provided. The method includes: if neither the first key parameter nor the second key parameter is within the key parameter range, then determining whether to output a state abnormality prompt is based on the first comparison result and the second comparison result.
[0098] If neither the first critical parameter nor the second critical parameter is within the critical parameter range, that is, if the critical parameter exceeds the critical parameter range twice in a row, it is considered that the status data of the target device deviates from the standard status data. This indicates that the status of the device may be abnormal. Then, the system determines whether to output a status abnormality prompt based on the first comparison result and the second comparison result, thus achieving the function of early warning.
[0099] If either the first critical parameter or the second critical parameter is within the critical parameter range, it is considered that the status data of the target device has not deviated from the standard status data. This indicates that a certain parameter may have been interfered with, but the device is still in normal operation. In order to improve the accuracy of detecting device anomalies, the process of determining whether to output a status anomaly prompt based on the first comparison result and the second comparison result is prohibited, and the status detection is repeated.
[0100] In this embodiment, by determining whether both the first and second key parameters are within the key parameter range, and then determining whether to execute the step of outputting an abnormal status prompt, interference from other data is avoided, improving the accuracy of the output abnormal status prompt; on the other hand, the purpose of detecting abnormal equipment status and providing early warning is achieved.
[0101] Furthermore, such as Figure 6 As shown, a method for calculating the rate of change of state is provided, which includes the following steps:
[0102] Step 501: Calculate the root mean square error based on the first comparison result and the standard state data, and calculate the current rate of change based on the first comparison result and the second comparison result.
[0103] Here, the mean square error can be represented by e, and the current rate of change can be represented by γ.
[0104] Step 502: Calculate the rate of change of state based on the first comparison result, the mean square error, and the current rate of change.
[0105] Here, the rate of change of state can be represented by A, and the first comparison result, i.e., the real-time value of the state data, can be represented by x. Then, the formula for the rate of change of state can be expressed as:
[0106]
[0107] In addition, the first comparison result is not necessarily the data from the initial sampling. Considering this situation, in one embodiment of this application, such as Figure 7 As shown, another method for state detection is provided, which includes the following steps:
[0108] Step 601: If the first moment is the first sampling moment in the preset state monitoring time interval, then save the first comparison result.
[0109] Since the target device may not be always on, there may be situations such as device maintenance, device power failure, device restart, etc. Setting a preset status monitoring time interval is to ensure that status data is collected when the target device is on and running, so as to detect whether the target device will have any abnormalities and avoid waste of resources. For example, the preset status monitoring time interval can be set to the time interval from the current power-on to the next power-on.
[0110] If the first moment is the first sampling moment in the preset state monitoring time interval, the first comparison result is saved, and when the state data of the next moment is collected, the first comparison result is used as the second comparison result.
[0111] Step 602: If the first moment is not the first sampling moment in the preset state monitoring time interval, then determine whether to output a state abnormality prompt based on the first comparison result and the second comparison result.
[0112] If the first moment is not the first sampling moment in the preset state monitoring time interval, it means that there is state data collected in the previous moment in the time sequence. Then, the system will determine whether to output a state abnormality prompt based on the first comparison result and the second comparison result.
[0113] In one embodiment of this application, such as Figure 8 As shown, a state detection method is provided, which includes the following steps:
[0114] Step 701: Obtain the base state data set of the target device under various operating conditions.
[0115] Step 702: Calculate the similarity between the second state data and each ground state data set, and take the state data in the target ground state data set with the highest similarity as the standard state data.
[0116] Step 703: Obtain the first state data of multiple target devices at the first moment. For each target device, compare the first state data with the standard state data of the target device to obtain the first comparison result.
[0117] Step 704: If the first moment is not the first sampling moment in the preset state monitoring time interval, calculate the root mean square error based on the first comparison result and the standard state data, and calculate the current rate of change based on the first comparison result and the second comparison result.
[0118] Step 705: Calculate the state change rate based on the first comparison result, the mean square error, and the current rate of change.
[0119] Step 706: If the state change rate is greater than the preset state change rate threshold, output a state abnormality prompt.
[0120] Step 707: If the state change rate is less than or equal to the preset state change rate threshold, then the output of the state abnormality prompt is prohibited.
[0121] In one embodiment of this application, such as Figure 9 The diagram illustrates another state detection method, providing an illustrative description of the state detection method involved in this application embodiment. First, a set of ground-state data for the target device under various operating conditions is acquired. Second-state data is collected, and the set of ground-state data with the highest similarity to the second-state data is used as standard-state data. The second-state data and the standard-state data are compared to obtain a second comparison result. Following a temporal sequence, first-state data is collected at the next moment, and the first-state data and the standard-state data are compared to obtain a first comparison result. The first-state data includes a first key parameter, the second-state data includes a second key parameter, and the standard-state data includes a key parameter range. Second, it is determined whether both the first and second key parameters exceed the key parameter range. If not, real-time data acquisition is repeated. If yes, the state change rate is calculated based on the first and second comparison results. Finally, it is determined whether the state change rate is greater than a preset state change rate threshold. If not, real-time data acquisition is repeated. If yes, a state abnormality prompt is output.
[0122] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0123] Based on the same inventive concept, embodiments of this application also provide a state detection device for implementing the state detection method described above. The solution provided by this device is similar to the implementation described in the above method; therefore, the specific limitations in one or more state detection device embodiments provided below can be found in the limitations of the state detection method described above, and will not be repeated here.
[0124] In one embodiment of this application, such as Figure 10 As shown, a state detection device 800 is provided, including: a comparison module 801 and a determination module 802, wherein:
[0125] The comparison module 801 is used to acquire the first state data of multiple target devices at a first moment. For each target device, the first state data is compared with the standard state data of the target device to obtain the first comparison result.
[0126] The determination module 802 is used to determine whether to output a status abnormality prompt based on the first comparison result and the second comparison result.
[0127] The second comparison result is obtained by comparing the difference between the second state data and the standard state data. The second acquisition time of the second state data is located before the first acquisition time of the first running state data in terms of time sequence, and the second acquisition time and the first acquisition time are adjacent in terms of time sequence.
[0128] In one embodiment, the determining module 802 includes:
[0129] The calculation unit is used to calculate the rate of change of state based on the first comparison result and the second comparison result.
[0130] The first output unit is used to output a state abnormality prompt if the state change rate is greater than a preset state change rate threshold.
[0131] The second output unit is used to disable the output of an abnormal state prompt if the state change rate is less than or equal to a preset state change rate threshold.
[0132] In one embodiment, the first state data includes a first key parameter, the second state data includes a second key parameter, and the standard state data includes a key parameter range. The determining module 802 is specifically used to: if neither the first key parameter nor the second key parameter is within the key parameter range, determine whether to output a state abnormality prompt based on the first comparison result and the second comparison result.
[0133] In one embodiment, the calculation unit is specifically configured to: calculate the mean squared error based on the first comparison result and the standard state data, and calculate the current rate of change based on the first comparison result and the second comparison result; and calculate the state change rate based on the first comparison result, the mean squared error, and the current rate of change.
[0134] In one embodiment, the preset state change rate threshold is related to a preset absolute alarm threshold, or the preset state change rate threshold is related to the average change rate corresponding to the first state data and the second state data.
[0135] Please refer to Figure 11 This illustrates another state detection device 900 provided by an embodiment of this application. In addition to the various modules included in the state detection device 800, the state detection device 900 optionally includes an acquisition module 803, a calculation module 804, a storage module 805, and an execution module 806.
[0136] In one embodiment, the acquisition module 803 is used to acquire a set of base state data of the target device under various operating conditions, wherein the set of base state data includes the state data of the target device operating normally under the corresponding operating conditions.
[0137] The calculation module 804 is used to calculate the similarity between the second state data and each set of ground state data, and to take the state data in the target ground state data set with the highest similarity as the standard state data.
[0138] In one embodiment, the acquisition module 803 is specifically used to: acquire historical state data corresponding to the target device; divide the historical state data according to each operating condition to obtain each base state data set.
[0139] In one embodiment, the storage module 805 is used to save the first comparison result if the first moment is the first sampling moment in the preset state monitoring time interval.
[0140] The execution module 806 is used to determine whether to output a status abnormality prompt based on the first comparison result and the second comparison result if the first moment is not the first sampling moment in the preset status monitoring time interval.
[0141] Each module in the aforementioned status detection device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0142] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 12As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores data. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer program implements a status detection method.
[0143] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 13 As shown, the computer device includes a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a status detection method. The display screen can be an LCD screen or an e-ink display screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the computer device casing, or an external keyboard, touchpad, or mouse.
[0144] Those skilled in the art will understand that Figure 12 or Figure 13 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0145] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0146] The system acquires first state data of multiple target devices at a first moment. For each target device, the first state data is compared with the standard state data of the target device to obtain a first comparison result. Based on the first comparison result and the second comparison result, it is determined whether to output a state abnormality prompt. The second comparison result is obtained by comparing the second state data with the standard state data. The second acquisition time of the second state data is located before the first acquisition time of the first running state data in terms of timing, and the second acquisition time and the first acquisition time are adjacent in terms of timing.
[0147] In one embodiment, when the processor executes a computer program, it performs the following steps: calculating the state change rate based on the first comparison result and the second comparison result; if the state change rate is greater than a preset state change rate threshold, outputting a state abnormality prompt; if the state change rate is less than or equal to the preset state change rate threshold, disabling the output of the state abnormality prompt.
[0148] In one embodiment, the first state data includes a first key parameter, the second state data includes a second key parameter, and the standard state data includes a key parameter range. When the processor executes the computer program, it performs the following steps: if neither the first key parameter nor the second key parameter is within the key parameter range, it determines whether to output a state abnormality prompt based on the first comparison result and the second comparison result.
[0149] In one embodiment, when the processor executes a computer program, it performs the following steps: calculating the mean squared error based on a first comparison result and standard state data, and calculating the current rate of change based on the first comparison result and a second comparison result; and calculating the state change rate based on the first comparison result, the mean squared error, and the current rate of change.
[0150] In one embodiment, the preset state change rate threshold is related to a preset absolute alarm threshold, or the preset state change rate threshold is related to the average change rate corresponding to the first state data and the second state data.
[0151] In one embodiment, when the processor executes the computer program, it performs the following steps: acquiring a set of ground-state data of the target device under various operating conditions, the set of ground-state data including the state data of the target device operating normally under the corresponding operating conditions; calculating the similarity between the second state data and each set of ground-state data, and taking the state data in the target ground-state data set with the highest similarity as the standard state data.
[0152] In one embodiment, the processor executes the following steps when running a computer program: acquiring historical state data corresponding to the target device; dividing the historical state data according to each operating condition to obtain each set of base state data.
[0153] In one embodiment, when the processor executes the computer program, it performs the following steps: if the first moment is the first sampling moment in the preset state monitoring time interval, then save the first comparison result; if the first moment is not the first sampling moment in the preset state monitoring time interval, then execute the process of determining whether to output a state abnormality prompt based on the first comparison result and the second comparison result.
[0154] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0155] The system acquires first state data of multiple target devices at a first moment. For each target device, the first state data is compared with the standard state data of the target device to obtain a first comparison result. Based on the first comparison result and the second comparison result, it is determined whether to output a state abnormality prompt. The second comparison result is obtained by comparing the second state data with the standard state data. The second acquisition time of the second state data is located before the first acquisition time of the first running state data in terms of timing, and the second acquisition time and the first acquisition time are adjacent in terms of timing.
[0156] In one embodiment, when the computer program is executed by the processor, it performs the following steps: calculating the state change rate based on the first comparison result and the second comparison result; if the state change rate is greater than a preset state change rate threshold, outputting a state abnormality prompt; if the state change rate is less than or equal to the preset state change rate threshold, disabling the output of the state abnormality prompt.
[0157] In one embodiment, the first state data includes a first key parameter, the second state data includes a second key parameter, and the standard state data includes a key parameter range. When the computer program is executed by the processor, it performs the following steps: if neither the first key parameter nor the second key parameter is within the key parameter range, it determines whether to output a state abnormality prompt based on the first comparison result and the second comparison result.
[0158] In one embodiment, when the computer program is executed by the processor, it performs the following steps: calculating the mean squared error based on the first comparison result and standard state data, and calculating the current rate of change based on the first comparison result and the second comparison result; and calculating the state change rate based on the first comparison result, the mean squared error, and the current rate of change.
[0159] In one embodiment, the preset state change rate threshold is related to a preset absolute alarm threshold, or the preset state change rate threshold is related to the average change rate corresponding to the first state data and the second state data.
[0160] In one embodiment, when the computer program is executed by the processor, it performs the following steps: acquiring a set of ground-state data of the target device under various operating conditions, the set of ground-state data including the state data of the target device operating normally under the corresponding operating conditions; calculating the similarity between the second state data and each set of ground-state data, and taking the state data in the target ground-state data set with the highest similarity as the standard state data.
[0161] In one embodiment, when the computer program is executed by the processor, it performs the following steps: acquiring historical state data corresponding to the target device; dividing the historical state data according to each operating condition to obtain each set of base state data.
[0162] In one embodiment, when the computer program is executed by the processor, it performs the following steps: if the first moment is the first sampling moment in the preset state monitoring time interval, then the first comparison result is saved; if the first moment is not the first sampling moment in the preset state monitoring time interval, then the program executes the determination of whether to output a state abnormality prompt based on the first comparison result and the second comparison result.
[0163] In one embodiment, a program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0164] The system acquires first state data of multiple target devices at a first moment. For each target device, the first state data is compared with the standard state data of the target device to obtain a first comparison result. Based on the first comparison result and the second comparison result, it is determined whether to output a state abnormality prompt. The second comparison result is obtained by comparing the second state data with the standard state data. The second acquisition time of the second state data is located before the first acquisition time of the first running state data in terms of timing, and the second acquisition time and the first acquisition time are adjacent in terms of timing.
[0165] In one embodiment, when the computer program is executed by the processor, it performs the following steps: calculating the state change rate based on the first comparison result and the second comparison result; if the state change rate is greater than a preset state change rate threshold, outputting a state abnormality prompt; if the state change rate is less than or equal to the preset state change rate threshold, disabling the output of the state abnormality prompt.
[0166] In one embodiment, the first state data includes a first key parameter, the second state data includes a second key parameter, and the standard state data includes a key parameter range. When the computer program is executed by the processor, it performs the following steps: if neither the first key parameter nor the second key parameter is within the key parameter range, it determines whether to output a state abnormality prompt based on the first comparison result and the second comparison result.
[0167] In one embodiment, when the computer program is executed by the processor, it performs the following steps: calculating the mean squared error based on the first comparison result and standard state data, and calculating the current rate of change based on the first comparison result and the second comparison result; and calculating the state change rate based on the first comparison result, the mean squared error, and the current rate of change.
[0168] In one embodiment, the preset state change rate threshold is related to a preset absolute alarm threshold, or the preset state change rate threshold is related to the average change rate corresponding to the first state data and the second state data.
[0169] In one embodiment, when the computer program is executed by the processor, it performs the following steps: acquiring a set of ground-state data of the target device under various operating conditions, the set of ground-state data including the state data of the target device operating normally under the corresponding operating conditions; calculating the similarity between the second state data and each set of ground-state data, and taking the state data in the target ground-state data set with the highest similarity as the standard state data.
[0170] In one embodiment, when the computer program is executed by the processor, it performs the following steps: acquiring historical state data corresponding to the target device; dividing the historical state data according to each operating condition to obtain each set of base state data.
[0171] In one embodiment, when the computer program is executed by the processor, it performs the following steps: if the first moment is the first sampling moment in the preset state monitoring time interval, then save the first comparison result; if the first moment is not the first sampling moment in the preset state monitoring time interval, then determine whether to output a state abnormality prompt based on the first comparison result and the second comparison result.
[0172] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0173] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0174] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A state detection method characterized by, The method includes: Acquire first state data of multiple target devices at a first moment. For each target device, compare the first state data with the standard state data of the target device to obtain a first comparison result. Determine whether to output a status abnormality prompt based on the first comparison result and the second comparison result; The second comparison result is obtained by comparing the difference between the second state data and the standard state data. The second moment of the second state data is located before the first moment of the first state data in terms of time sequence, and the second moment and the first moment are adjacent in time sequence. The step of determining whether to output a status abnormality prompt based on the first comparison result and the second comparison result includes: The root mean square error is calculated based on the first comparison result and the standard state data, and the current rate of change is calculated based on the first comparison result and the second comparison result. calculating a state change rate according to the first comparison result, the mean square error and the current change rate, wherein the state change rate , e is the mean square error, γ is the current change rate, and x is the first comparison result. If the state change rate is greater than a preset state change rate threshold, then an abnormal state prompt will be output.
2. The method of claim 1, wherein, The step of determining whether to output a status abnormality prompt based on the first comparison result and the second comparison result includes: If the state change rate is less than or equal to the preset state change rate threshold, then the output of the state abnormality prompt is prohibited.
3. The method of claim 1, wherein, The first status data includes a first key parameter, the second status data includes a second key parameter, and the standard status data includes a range of key parameters. The step of determining whether to output a status anomaly prompt based on the first comparison result and the second comparison result includes: If neither the first critical parameter nor the second critical parameter is within the critical parameter range, then it is determined whether to output the status abnormality prompt based on the first comparison result and the second comparison result.
4. The method of claim 1, wherein, The preset state change rate threshold is related to a preset absolute alarm threshold, or the preset state change rate threshold is related to the average change rate corresponding to the first state data and the second state data.
5. The method of claim 1, wherein, The method further includes: Obtain the base state data set of the target device under various operating conditions, wherein the base state data set includes the state data of the target device operating normally under the corresponding operating conditions; Calculate the similarity between the second state data and each of the ground state data sets, and take the state data in the target ground state data set with the highest similarity as the standard state data.
6. The method of claim 5, wherein, The acquisition of the base-state data set of the target device under various operating conditions includes: Obtain the historical status data corresponding to the target device; The historical state data are divided according to each operating condition to obtain each set of ground state data.
7. The method of claim 1, wherein, The method further includes: If the first moment is the first sampling moment in the preset state monitoring time interval, then the first comparison result is saved; If the first moment is not the first sampling moment in the preset state monitoring time interval, then the step of determining whether to output a state abnormality prompt based on the first comparison result and the second comparison result is executed.
8. A state detection device characterized by comprising: The device includes: The comparison module is used to acquire first state data of multiple target devices at a first moment. For each target device, the first state data is compared with the standard state data of the target device to obtain a first comparison result. The determination module determines whether to output a status abnormality prompt based on the first comparison result and the second comparison result. The second comparison result is obtained by comparing the difference between the second state data and the standard state data. The second moment of the second state data is located before the first moment of the first state data in terms of time sequence, and the second moment and the first moment are adjacent in time sequence. The determining module is specifically configured to calculate the mean square error based on the first comparison result and the standard state data, and calculate the current rate of change based on the first comparison result and the second comparison result; and calculate the state change rate based on the first comparison result, the mean square error, and the current rate of change, wherein the state change rate... e is the mean squared error, γ is the current rate of change, and x is the first comparison result; if the rate of change of the state is greater than the preset rate of change of the state, then the abnormal state prompt is output.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.
11. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.