WO2024109315A1 - Device supervision method and system, and device and computer-readable storage medium - Google Patents
Device supervision method and system, and device and computer-readable storage medium Download PDFInfo
- Publication number
- WO2024109315A1 WO2024109315A1 PCT/CN2023/120969 CN2023120969W WO2024109315A1 WO 2024109315 A1 WO2024109315 A1 WO 2024109315A1 CN 2023120969 W CN2023120969 W CN 2023120969W WO 2024109315 A1 WO2024109315 A1 WO 2024109315A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- monitoring data
- data
- historical
- value
- real
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 238000003860 storage Methods 0.000 title claims abstract description 22
- 238000012544 monitoring process Methods 0.000 claims abstract description 346
- 230000002159 abnormal effect Effects 0.000 claims abstract description 24
- 238000004364 calculation method Methods 0.000 claims description 44
- 239000011159 matrix material Substances 0.000 claims description 44
- 238000004590 computer program Methods 0.000 claims description 40
- 230000006870 function Effects 0.000 claims description 18
- 230000009466 transformation Effects 0.000 claims description 12
- 230000017105 transposition Effects 0.000 claims description 8
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 230000000875 corresponding effect Effects 0.000 description 18
- 230000008569 process Effects 0.000 description 14
- 238000004891 communication Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 238000011156 evaluation Methods 0.000 description 5
- 230000005856 abnormality Effects 0.000 description 3
- 230000000737 periodic effect Effects 0.000 description 3
- 230000006378 damage Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000008439 repair process Effects 0.000 description 2
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 239000000498 cooling water Substances 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000010921 in-depth analysis Methods 0.000 description 1
- 238000009776 industrial production Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001932 seasonal effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/10—Pre-processing; Data cleansing
- G06F18/15—Statistical pre-processing, e.g. techniques for normalisation or restoring missing data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
- G06N20/10—Machine learning using kernel methods, e.g. support vector machines [SVM]
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C3/00—Registering or indicating the condition or the working of machines or other apparatus, other than vehicles
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2123/00—Data types
- G06F2123/02—Data types in the time domain, e.g. time-series data
Definitions
- the present application relates to the technical field of equipment monitoring, and more specifically, to an equipment monitoring method, system, equipment and computer-readable storage medium.
- the condition monitoring method for mechanical equipment sets a fixed threshold during the operation of the equipment to deal with the trend rise, fall and fluctuation of the steady-state data.
- a corresponding alarm will be generated according to the equipment mechanism.
- the fixed threshold is generally set more loosely, which leads to the abnormality of the equipment only being discovered when the equipment state decays to a certain extent. At this time, it is necessary to shut down the relevant equipment, arrange maintenance personnel, prepare materials, allocate repair windows, and repair equipment in a short time.
- This application is to provide a device supervision method, which can solve the technical problem of how to accurately supervise the device to a certain extent.
- This application also provides a device supervision system, a device and a computer-readable storage medium.
- a device supervision method comprising:
- Whether the target device is abnormal is determined based on the residual value to obtain a corresponding monitoring result.
- the method before vectorizing all the Euclidean distance values into weight bases, the method further includes:
- the Euclidean distance value between the real-time monitoring data and each of the historical monitoring data is optimized based on the similarity density matrix.
- the calculating of the similarity density matrix of the historical monitoring data comprises:
- X'(j) represents the historical data value of the j-th data type
- X'(k) represents the historical data value of the k-th data type
- Sim(j,k) represents the similarity value between the historical data value of the j-th data type and the historical data value of the k-th data type
- Xj (a) represents the a-th historical data value of the j-th data type
- Xk (a) represents the a-th historical data value of the k-th data type, 1 ⁇ a ⁇ m
- m represents the value of the preset number group
- T represents transposition
- represents taking the absolute value
- the similarity values between all pairs of historical monitoring data are calculated to obtain the similarity density matrix of the historical monitoring data.
- the similarity density matrix is shown in the following formula:
- Sim represents the similarity density matrix composed of the similarity values
- X′(b) represents the historical data value of the b-th data type
- X′'(d) represents the historical data value of the d-th data type, 1 ⁇ b ⁇ n, 1 ⁇ d ⁇ n
- n represents the value of the preset number.
- the optimizing the Euclidean distance value between the real-time monitoring data and each of the historical monitoring data based on the similarity density matrix includes:
- the second calculation formula includes:
- X(obs) represents the real-time monitoring data
- X(i) represents the i-th group of historical monitoring data, 1 ⁇ i ⁇ m, and m represents the value of the preset number group
- Xf (i) represents the historical data value of the f-th data type in the i-th group of historical monitoring data
- Xf (obs) represents the current data value of the f-th data type in the real-time monitoring data, 1 ⁇ f ⁇ n
- disi (X(i),X(obs)) represents the optimized Euclidean distance value between the i-th group of historical monitoring data and the real-time monitoring data.
- vectorizing all the Euclidean distance values into weight bases includes:
- the formula for the Gaussian kernel function transformation includes:
- W represents the weight base
- wi represents the weight value of the i-th group of historical monitoring data
- h represents the bandwidth of the kernel function
- T represents transposition.
- the determining the estimated monitoring data of the target device at the current moment based on the weight base and the historical monitoring data includes:
- the third calculation formula includes:
- X est represents the estimated monitoring data.
- judging whether the target device is abnormal based on the residual value to obtain a corresponding monitoring result includes:
- the residual value is within a preset range. If so, the monitoring result indicating that the target device is normal is obtained. If not, the monitoring result indicating that the target device is abnormal is obtained.
- a device monitoring system comprising:
- a first acquisition module used to acquire a set of real-time monitoring data of the target device at the current moment, wherein the real-time monitoring data includes current data values of a preset number of data types;
- a second acquisition module is used to acquire a preset number of groups of historical monitoring data of the target device, wherein the historical monitoring data includes historical data values of the preset number of data types;
- a first calculation module used to calculate the similarity value between the historical monitoring data and the real-time monitoring data
- a second calculation module configured to calculate, for each group of the historical monitoring data, a Euclidean distance value between the historical monitoring data and the real-time monitoring data based on the similarity value;
- a first conversion module used for vectorizing all the Euclidean distance values into weight bases
- a first determination module configured to determine the estimated monitoring data of the target device at the current moment based on the weight base and the historical monitoring data
- a third calculation module used to calculate the residual value between the estimated monitoring data and the real-time monitoring data
- the first judgment module is used to judge whether the target device is abnormal based on the residual value to obtain a corresponding monitoring result.
- An electronic device comprising:
- a processor is used to implement the steps of any of the above-mentioned device supervision methods when executing the computer program.
- a computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of any of the above-mentioned device supervision methods.
- the present application provides a device supervision method, which obtains a set of real-time monitoring data of the target device at the current moment, the real-time monitoring data includes the current data values of a preset number of data types; obtains a preset number of groups of historical monitoring data of the target device, the historical monitoring data includes the historical data values of a preset number of data types; calculates the Euclidean distance value between the real-time monitoring data and each historical monitoring data; vectorizes all Euclidean distance values into a weight base; determines the estimated monitoring data of the target device at the current moment based on the weight base and the historical monitoring data; calculates the residual value between the estimated monitoring data and the real-time monitoring data; and determines whether the target device is abnormal based on the residual value to obtain the corresponding monitoring result.
- the Euclidean distance value between each historical monitoring data and the real-time monitoring data can be calculated. Since the Euclidean distance value can reflect the historical monitoring data, the Euclidean distance value can reflect the historical monitoring data.
- the correlation between historical monitoring data and real-time monitoring data is calculated, so the present application realizes monitoring the target device with the help of the correlation between historical monitoring data and real-time monitoring data, with high accuracy.
- the present application provides a device monitoring system, device and computer-readable storage medium that also solves the corresponding technical problems.
- FIG1 is a flow chart of a device monitoring method provided by an embodiment of the present application.
- FIG2 is a schematic diagram of the structure of a device monitoring system provided in an embodiment of the present application.
- FIG3 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
- FIG. 4 is another schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
- FIG. 1 is a flow chart of a device monitoring method provided in an embodiment of the present application.
- Step S101 obtaining a set of real-time monitoring data of the target device at the current moment, where the real-time monitoring data includes current data values of a preset number of data types.
- a set of real-time monitoring data of the target device at the current moment can be obtained first, and the real-time monitoring data includes current data values of a preset number of data types.
- the corresponding information of the target device, the preset number and the data type can be flexibly determined according to actual needs.
- the target device may be a cooling water pump, and the data types may include temperature, pressure, current, etc., which are not specifically limited in this application.
- the collected data of the target device can be normalized first to ensure the quality of the data; missing values and abnormal numerical points can also be deleted; the abnormal state of the cleaned data is then removed to ensure that the data used for subsequent modeling is completely under normal working conditions, thereby ensuring that the established model can learn the historical information of normal working conditions without being disturbed by abnormal working conditions, thereby ensuring the accuracy of equipment supervision.
- Step S102 Acquire a preset number of groups of historical monitoring data of the target device, where the historical monitoring data includes historical data values of a preset number of data types.
- a preset number of groups of historical monitoring data of the target device can be obtained, such as 5 groups or 10 groups of historical monitoring data, etc., and each group of historical monitoring data includes a preset number of historical data values of the data type, so that the accuracy of the real-time monitoring data can be evaluated based on the historical monitoring data in the future.
- the historical monitoring data is saved in the form of, etc., and this application does not make any specific limitations here.
- Step S103 Calculate the Euclidean distance between the real-time monitoring data and each historical monitoring data.
- the Euclidean distance value between the real-time monitoring data and each historical monitoring data can be calculated, so as to characterize the correlation between the historical monitoring data and the real-time monitoring data based on the Euclidean distance value.
- the similarity density matrix of the historical monitoring data can also be calculated; based on the similarity density matrix, the Euclidean distance value between the real-time monitoring data and each historical monitoring data is optimized to further supervise the equipment based on the similarity between the historical detection data.
- the numerator can be expressed as:
- the denominator can be expressed as:
- the final similarity density matrix is:
- the similarity value between any two historical monitoring data of the preset number of groups of historical monitoring data can be calculated by the first calculation formula
- X'(j) represents the historical data value of the jth data type
- X'(k) represents the historical data value of the kth data type
- Sim(j,k) represents the similarity value between the historical data value of the jth data type and the historical data value of the kth data type
- Xj (a) represents the historical data value of the ath data type of the jth data type.
- Historical data value, X k (a) represents the a-th historical data value of the k-th data type, 1 ⁇ a ⁇ m, m represents the value of the preset number group, which can be determined by the number of selected time series; T represents transposition;
- represents taking the absolute value;
- Sim represents the similarity density matrix composed of similarity values
- X′(b) represents the historical data value of the b-th data type
- X′'(d) represents the historical data value of the d-th data type, 1 ⁇ b ⁇ n, 1 ⁇ d ⁇ n
- n represents a preset number of values.
- the Euclidean distance value between the real-time monitoring data and each historical monitoring data can be optimized based on the similarity density matrix by the second calculation formula
- the second calculation formula includes:
- X(obs) represents real-time monitoring data
- X(i) represents the i-th group of historical monitoring data, 1 ⁇ i ⁇ m, and m represents the value of a preset number of groups
- Xf (i) represents the historical data value of the f-th data type in the i-th group of historical monitoring data
- Xf (obs) represents the current data value of the f-th data type in the real-time monitoring data, 1 ⁇ f ⁇ n
- disi (X(i),X(obs)) represents the optimized Euclidean distance value between the i-th group of historical monitoring data and the real-time monitoring data.
- Step S104 vectorize all Euclidean distance values into weight bases.
- Step S105 Determine the estimated monitoring data of the target device at the current moment based on the weight base and historical monitoring data.
- all the Euclidean distance values can be vectorized into a weighted base; finally, the estimated monitoring data of the target device at the current moment is determined based on the weighted base and the historical monitoring data, so as to predict the estimated monitoring data of the target device at the current moment based on the historical monitoring data.
- all Euclidean distance values can be vectorized into weight bases based on Gaussian kernel function transformation
- the formula of Gaussian kernel function transformation may include:
- W represents the weight base
- wi represents the weight value of the i-th group of historical monitoring data
- h represents the bandwidth of the kernel function
- T represents transpose.
- the estimated monitoring data of the target device at the current moment can be determined based on the weight base and the historical monitoring data by a third calculation formula
- the third calculation formula includes:
- X est represents the estimated monitoring data.
- Step S106 Calculate the residual value between the estimated monitoring data and the real-time monitoring data.
- Step S107 determine whether the target device is abnormal based on the residual value and obtain corresponding monitoring results.
- the residual value between the estimated monitoring data and the real-time monitoring data can be calculated, and based on the residual value, it can be judged whether the target device is abnormal to obtain the corresponding monitoring results.
- the process of judging whether the target device is abnormal based on the residual value and obtaining the corresponding monitoring result it can be judged whether the residual value is within the preset range. If so, a monitoring result characterizing that the target device is normal is obtained; if not, a monitoring result characterizing that the target device is abnormal is obtained.
- the present application provides a device supervision method, which obtains a set of real-time monitoring data of a target device at the current moment, wherein the real-time monitoring data includes current data values of a preset number of data types; obtains a preset number of historical monitoring data of the target device, wherein the historical monitoring data includes historical data values of a preset number of data types; calculates the Euclidean distance value between the real-time monitoring data and each historical monitoring data; vectorizes all the Euclidean distance values into a weighted basis; determines the estimated monitoring data of the target device at the current moment based on the weighted basis and the historical monitoring data; calculates the residual value between the estimated monitoring data and the real-time monitoring data; determines whether the target device is abnormal based on the residual value, and obtains the corresponding Monitoring results.
- the Euclidean distance value between each historical monitoring data and the real-time monitoring data can be calculated. Since the Euclidean distance value can reflect the degree of correlation between the historical monitoring data and the real-time monitoring data, the present application realizes the supervision of the target device with the help of the degree of correlation between the historical monitoring data and the real-time monitoring data, with high accuracy.
- FIG. 2 is a schematic diagram of the structure of a device monitoring system provided in an embodiment of the present application.
- a first acquisition module 101 is used to acquire a set of real-time monitoring data of the target device at the current moment, where the real-time monitoring data includes current data values of a preset number of data types;
- a second acquisition module 102 is used to acquire a preset number of groups of historical monitoring data of the target device, where the historical monitoring data includes historical data values of a preset number of data types;
- a first calculation module 103 used to calculate the Euclidean distance value between the real-time monitoring data and each historical monitoring data
- a first conversion module 104 used for vectorizing all Euclidean distance values into weight bases
- a first determination module 105 configured to determine the estimated monitoring data of the target device at the current moment based on the weight base and the historical monitoring data;
- a second calculation module 106 used to calculate the residual value between the estimated monitoring data and the real-time monitoring data
- the first judgment module 107 is used to judge whether the target device is abnormal based on the residual value and obtain corresponding monitoring results.
- a third calculation module is used to calculate the similarity density matrix of the historical monitoring data before the first conversion module vectorizes all the Euclidean distance values into weight bases;
- the first optimization module is used to optimize the Euclidean distance value between the real-time monitoring data and each historical monitoring data based on the similarity density matrix.
- the third computing module can be used for:
- X'(j) represents the historical data value of the jth data type
- X'(k) represents the historical data value of the kth data type
- Sim(j,k) represents the similarity value between the historical data value of the jth data type and the historical data value of the kth data type
- Xj (a) represents the ath historical data value of the jth data type
- Xk (a) represents the ath historical data value of the kth data type, 1 ⁇ a ⁇ m
- m represents the value of the preset number group
- T represents transposition
- represents taking the absolute value
- Sim represents the similarity density matrix composed of similarity values
- X′(b) represents the historical data value of the b-th data type
- X′'(d) represents the historical data value of the d-th data type, 1 ⁇ b ⁇ n, 1 ⁇ d ⁇ n
- n represents a preset number of values.
- the first optimization module can be used for:
- the Euclidean distance value between the real-time monitoring data and each historical monitoring data is optimized based on a similarity density matrix
- the second calculation formula includes:
- X(obs) represents real-time monitoring data
- X(i) represents the i-th group of historical monitoring data, 1 ⁇ i ⁇ m, and m represents the value of the preset number group
- Xf (i) represents the historical data value of the f-th data type in the i-th group of historical monitoring data
- Xf (obs) represents the current data value of the f-th data type in the real-time monitoring data, 1 ⁇ f ⁇ n
- disi (X(i),X(obs)) represents the optimized Euclidean distance value between the i-th group of historical monitoring data and the real-time monitoring data.
- the first conversion module can be used for:
- the formula for Gaussian kernel function transformation includes:
- W represents the weight base
- wi represents the weight value of the i-th group of historical monitoring data
- h represents the bandwidth of the kernel function
- T represents transpose.
- the first determination module may be used to:
- the third calculation formula includes:
- X est represents the estimated monitoring data.
- the first judgment module can be used for:
- the present application also provides an electronic device and a computer-readable storage medium, both of which have the corresponding effects of the device supervision method provided in the embodiment of the present application.
- Figure 3 is a schematic diagram of the structure of an electronic device provided in the embodiment of the present application.
- An electronic device provided in an embodiment of the present application includes a memory 201 and a processor 202.
- the memory 201 stores a computer program.
- the processor 202 executes the computer program, the following steps are implemented:
- the real-time monitoring data including current data values of a preset number of data types
- An electronic device provided in an embodiment of the present application includes a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program: before all Euclidean distance values are vectorized into weight bases, a similarity density matrix of historical monitoring data is calculated; and based on the similarity density matrix, the Euclidean distance value between the real-time monitoring data and each historical monitoring data is optimized.
- An electronic device provided in an embodiment of the present application includes a memory 201 and a processor 202.
- the memory 201 stores a computer program.
- the processor 202 executes the computer program, the following steps are implemented: calculating the similarity value between any two historical monitoring data of a preset number of groups of historical monitoring data by a first calculation formula;
- X'(j) represents the historical data value of the j-th data type
- X'(k) represents the historical data value of the k-th data type
- Sim(j,k) represents the similarity value between the historical data value of the j-th data type and the historical data value of the k-th data type
- Xj (a) represents the a-th historical data value of the j-th data type
- Xk (a) represents the a-th historical data value of the k-th data type, 1 ⁇ a ⁇ m
- m represents the value of the preset number group
- T represents transposition
- represents taking the absolute value
- Sim represents the similarity density matrix composed of similarity values
- X′(b) represents the historical data value of the b-th data type
- X′'(d) represents the historical data value of the d-th data type, 1 ⁇ b ⁇ n, 1 ⁇ d ⁇ n
- n represents a preset number of values.
- An electronic device provided in an embodiment of the present application includes a memory 201 and a processor 202.
- the memory 201 stores a computer program.
- the processor 202 executes the computer program, the following steps are implemented: optimizing the Euclidean distance value between the real-time monitoring data and each historical monitoring data based on the similarity density matrix by using a second calculation formula;
- the second calculation formula includes:
- X(obs) represents real-time monitoring data
- X(i) represents the i-th group of historical monitoring data, 1 ⁇ i ⁇ m, and m represents the value of the preset number group
- Xf (i) represents the historical data value of the f-th data type in the i-th group of historical monitoring data
- Xf (obs) represents the current data value of the f-th data type in the real-time monitoring data, 1 ⁇ f ⁇ n
- disi (X(i),X(obs)) represents the optimized Euclidean distance value between the i-th group of historical monitoring data and the real-time monitoring data.
- An electronic device provided in an embodiment of the present application includes a memory 201 and a processor 202.
- the memory 201 stores a computer program.
- the processor 202 executes the computer program, the following steps are implemented: based on Gaussian kernel function transformation, all Euclidean distance values are vectorized into weight bases.
- An electronic device provided in an embodiment of the present application includes a memory 201 and a processor 202.
- the memory 201 stores a computer program.
- the processor 202 executes the computer program, the following steps are implemented: the formula of Gaussian kernel function transformation includes:
- W represents the weight base
- wi represents the weight value of the i-th group of historical monitoring data
- h represents the bandwidth of the kernel function
- T represents transpose.
- An electronic device provided in an embodiment of the present application includes a memory 201 and a processor 202.
- the memory 201 stores a computer program.
- the processor 202 executes the computer program, the following steps are implemented: determining the estimated monitoring data of the target device at the current moment based on the weight base and the historical monitoring data by using a third calculation formula;
- the third calculation formula includes:
- X est represents the estimated monitoring data.
- An electronic device provided in an embodiment of the present application includes a memory 201 and a processor 202.
- a computer program is stored in the memory 201.
- the processor 202 executes the computer program, the following steps are implemented: determining whether the residual value is within a preset range, and if so, obtaining a monitoring result characterizing that the target device is normal; if not, obtaining a monitoring result characterizing that the target device is abnormal.
- Another electronic device may also include: an input port 203 connected to the processor 202, used to transmit commands input from the outside to the processor 202; a display unit 204 connected to the processor 202, used to display the processing results of the processor 202 to the outside; a communication module 205 connected to the processor 202, used to realize the communication between the electronic device and the outside.
- the display unit 204 can be a display panel, a laser scanning display, etc.; the communication mode adopted by the communication module 205 includes but is not limited to mobile high-definition link technology (HML), universal serial bus (USB), high-definition multimedia interface (HDMI), wireless connection: wireless fidelity technology (WiFi), Bluetooth communication technology, low-power Bluetooth communication technology, and communication technology based on IEEE802.11s.
- HML mobile high-definition link technology
- USB universal serial bus
- HDMI high-definition multimedia interface
- WiFi wireless fidelity technology
- Bluetooth communication technology Bluetooth communication technology
- low-power Bluetooth communication technology low-power Bluetooth communication technology
- An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored.
- a computer program is stored.
- the following steps are implemented:
- the real-time monitoring data including current data values of a preset number of data types
- An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored.
- the computer program is executed by a processor, the following steps are implemented: before all Euclidean distance values are vectorized into weight bases, a similarity density matrix of historical monitoring data is calculated; based on the similarity density matrix, the Euclidean distance value between the real-time monitoring data and each historical monitoring data is optimized.
- An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored.
- the computer program is executed by a processor, the following steps are implemented: calculating the similarity value between any two historical monitoring data of a preset number of groups of historical monitoring data by a first calculation formula;
- X'(j) represents the historical data value of the jth data type
- X'(k) represents the historical data value of the kth data type
- Sim(j,k) represents the similarity value between the historical data value of the jth data type and the historical data value of the kth data type
- Xj (a) represents the ath historical data value of the jth data type
- Xk (a) represents the ath historical data value of the kth data type, 1 ⁇ a ⁇ m
- m represents the value of the preset number group
- T represents transposition
- represents taking the absolute value
- Sim represents the similarity density matrix composed of similarity values
- X′(b) represents the historical data value of the b-th data type
- X′'(d) represents the historical data value of the d-th data type, 1 ⁇ b ⁇ n, 1 ⁇ d ⁇ n
- n represents a preset number of values.
- An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored.
- the computer program is executed by a processor, the following steps are implemented: optimizing the Euclidean distance value between the real-time monitoring data and each historical monitoring data based on the similarity density matrix by using a second calculation formula;
- the second calculation formula includes:
- X(obs) represents real-time monitoring data
- X(i) represents the i-th group of historical monitoring data, 1 ⁇ i ⁇ m, and m represents the value of a preset number of groups
- Xf (i) represents the historical data value of the f-th data type in the i-th group of historical monitoring data
- Xf (obs) represents the current data value of the f-th data type in the real-time monitoring data, 1 ⁇ f ⁇ n
- disi (X(i),X(obs)) represents the optimized Euclidean distance value between the i-th group of historical monitoring data and the real-time monitoring data.
- An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored.
- the computer program is executed by a processor, the following steps are implemented: based on a Gaussian kernel function transformation, all Euclidean distance values are vectorized into a weight base.
- An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored.
- the formula of Gaussian kernel function transformation includes:
- W represents the weight base
- wi represents the weight value of the i-th group of historical monitoring data
- h represents the bandwidth of the kernel function
- T represents transpose.
- An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored.
- the computer program is executed by a processor, the following steps are implemented: determining the estimated monitoring data of the target device at the current moment based on the weight base and the historical monitoring data by using a third calculation formula;
- the third calculation formula includes:
- X est represents the estimated monitoring data.
- a computer-readable storage medium is provided in an embodiment of the present application, and a computer program is stored in the computer-readable storage medium.
- the computer program is executed by a processor, the following steps are implemented: determining whether the residual value is within a preset range, and if so, obtaining a monitoring result characterizing that the target device is normal; if not, obtaining a monitoring result characterizing that the target device is abnormal.
- the computer-readable storage medium involved in this application includes random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, Hard disk, removable disk, CD-ROM, or any other form of storage medium known in the technical field.
- RAM random access memory
- ROM read-only memory
- electrically programmable ROM electrically erasable programmable ROM
- registers Hard disk, removable disk, CD-ROM, or any other form of storage medium known in the technical field.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Evolutionary Biology (AREA)
- Software Systems (AREA)
- Medical Informatics (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Probability & Statistics with Applications (AREA)
- Testing And Monitoring For Control Systems (AREA)
Abstract
A device supervision method and system, and a device and a computer-readable storage medium. The method comprises: acquiring a group of real-time monitoring data of a target device at the current moment; acquiring a preset number of groups of historical monitoring data of the target device; calculating a Euclidean distance value between the real-time monitoring data and each piece of the historical monitoring data; vectorizing all the Euclidean distance values as weight bases; determining estimated monitoring data of the target device at the current moment on the basis of the weight bases and the historical monitoring data; calculating a residual value between the estimated monitoring data and the real-time monitoring data; and on the basis of the residual value, determining whether the target device is abnormal, so as to obtain a corresponding monitoring result. In the present application, it is necessary to calculate a Euclidean distance value between each piece of historical monitoring data and real-time monitoring data; and since the Euclidean distance value may reflect the degree of correlation between the historical monitoring data and the real-time monitoring data, the present application realizes supervision on a target device by means of the degree of correlation between the historical monitoring data and the real-time monitoring data, and has high accuracy.
Description
本申请要求于2022年11月23日提交中国专利局、申请号为202211475013.5、发明名称为“一种设备监督方法、系统、设备及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the China Patent Office on November 23, 2022, with application number 202211475013.5 and invention name “A device supervision method, system, device and computer-readable storage medium”, the entire contents of which are incorporated by reference in this application.
本申请涉及设备监测技术领域,更具体地说,涉及一种设备监督方法、系统、设备及计算机可读存储介质。The present application relates to the technical field of equipment monitoring, and more specifically, to an equipment monitoring method, system, equipment and computer-readable storage medium.
随着工业的快速发展与进步,工业界的设备不断地向着自动化,信息化和智能化的方向发展。而这些设备在运行的过程中,时不时会有异常/故障发生,首先损害设备造成财物损失,其次影响工业生产效率和进行,并且还会对设备周围的操作人员造成人身危害。总之,为了保障机械的稳定运行,减少安全隐患,以及生产的顺利进行,有必要对机械设备进行状态监测和评估。With the rapid development and progress of industry, industrial equipment is constantly moving towards automation, informationization and intelligence. During the operation of these equipment, abnormalities/failures may occur from time to time, which first damages the equipment and causes property losses, and secondly affects the efficiency and progress of industrial production, and also causes personal harm to operators around the equipment. In short, in order to ensure the stable operation of machinery, reduce safety hazards, and ensure the smooth progress of production, it is necessary to monitor and evaluate the status of mechanical equipment.
一般针对机械设备的状态监测方法在设备运行过程中设定固定阈值来应对平稳态数据的趋势上升下降和波动。当监测数据超过固定阈值设定的界限时,就会根据设备机制产生对应的报警。这在设备状态监测过程中具有较明确的指向性,但是在实际过程中为了减少虚报的发生,固定阈值一般设置的较为宽松,这导致了当设备状态衰减到一定程度时才发现设备的异常,此时需要在短时间内进行相关设备停运、维修人员安排、备料、调配修理窗口、进行设备修理等流程。因此,固定阈值方法进行状态监测存在两个缺陷:一是采用阈值监测发现的设备异常已经较严重,为了避免进一步恶化往往需要紧急停机然后再耗时安排人力物力进行设备维修;二是该方法忽略设备之间的关联性,以及忽视了对相关数据的深入分析。Generally, the condition monitoring method for mechanical equipment sets a fixed threshold during the operation of the equipment to deal with the trend rise, fall and fluctuation of the steady-state data. When the monitoring data exceeds the limit set by the fixed threshold, a corresponding alarm will be generated according to the equipment mechanism. This has a clear directionality in the process of equipment condition monitoring, but in order to reduce the occurrence of false reports in the actual process, the fixed threshold is generally set more loosely, which leads to the abnormality of the equipment only being discovered when the equipment state decays to a certain extent. At this time, it is necessary to shut down the relevant equipment, arrange maintenance personnel, prepare materials, allocate repair windows, and repair equipment in a short time. Therefore, there are two defects in the fixed threshold method for condition monitoring: first, the equipment abnormality found by threshold monitoring is already serious, and in order to avoid further deterioration, it is often necessary to shut down the equipment urgently and then arrange manpower and material resources for equipment maintenance; second, this method ignores the correlation between equipment and ignores the in-depth analysis of relevant data.
除此以外,为了应对非稳态的数据,比如周期性变化的温度数据,它会因为环境温度的四季变化而产生周期性的波动的特点,固定阈值对于这
样的数据起到的监测和评估效果有限,因此需要使用多维数据监测方法保证对这类数据的监督和评估。当波动数据在合理趋势中产生异常/故障的时候,使用该方法可以较好的监测与评估。但是多维数据监测与评估方法对于数据中非稳态的情况容易产生较大的误差,也即现有的多维数据监测方法有能力处理波动较小,或者呈现周期性的波动数据,却没有能力处理非稳态/非周期性的数据,或者对这类数据的监督与评估精度较差,使得设备监督准确性较差。In addition, in order to deal with non-steady-state data, such as periodically changing temperature data, which will produce periodic fluctuations due to the seasonal changes in ambient temperature, fixed thresholds are Such data has limited monitoring and evaluation effects, so it is necessary to use multidimensional data monitoring methods to ensure the supervision and evaluation of such data. When the fluctuating data produces anomalies/failures in a reasonable trend, this method can be used for better monitoring and evaluation. However, multidimensional data monitoring and evaluation methods are prone to large errors for non-steady-state conditions in the data, that is, the existing multidimensional data monitoring methods are capable of processing data with small fluctuations or periodic fluctuations, but are unable to process non-steady-state/non-periodic data, or the supervision and evaluation accuracy of such data is poor, resulting in poor accuracy of equipment supervision.
综上所述,如何准确对设备进行监督是目前本领域技术人员亟待解决的问题。In summary, how to accurately monitor the equipment is a problem that needs to be solved urgently by those skilled in the art.
发明内容Summary of the invention
本申请的目的是提供一种设备监督方法,其能在一定程度上解决如何准确对设备进行监督的技术问题。本申请还提供了一种设备监督系统、设备及计算机可读存储介质。The purpose of this application is to provide a device supervision method, which can solve the technical problem of how to accurately supervise the device to a certain extent. This application also provides a device supervision system, a device and a computer-readable storage medium.
为了实现上述目的,本申请提供如下技术方案:In order to achieve the above objectives, this application provides the following technical solutions:
一种设备监督方法,包括:A device supervision method, comprising:
获取目标设备在当前时刻下的一组实时监测数据,所述实时监测数据包括预设数量的数据类型的当前数据值;Acquire a set of real-time monitoring data of the target device at the current moment, wherein the real-time monitoring data includes current data values of a preset number of data types;
获取目标设备的预设数量组的历史监测数据,所述历史监测数据包括所述预设数量的数据类型的历史数据值;Acquire a preset number of groups of historical monitoring data of the target device, the historical monitoring data including historical data values of the preset number of data types;
计算所述实时监测数据与每个所述历史监测数据的欧式距离值;Calculating the Euclidean distance between the real-time monitoring data and each of the historical monitoring data;
将所有的所述欧式距离值向量化为权重基数;Vectorizing all of the Euclidean distance values into weight bases;
基于所述权重基数及所述历史监测数据确定所述目标设备在当前时刻下的预估监测数据;Determine the estimated monitoring data of the target device at the current moment based on the weight base and the historical monitoring data;
计算所述预估监测数据与所述实时监测数据间的残差值;Calculating a residual value between the estimated monitoring data and the real-time monitoring data;
基于所述残差值判断所述目标设备是否异常,得到相应的监测结果。Whether the target device is abnormal is determined based on the residual value to obtain a corresponding monitoring result.
优选的,在所述将所有的所述欧式距离值向量化为权重基数之前,还包括:Preferably, before vectorizing all the Euclidean distance values into weight bases, the method further includes:
计算所述历史监测数据的相似密度矩阵;
Calculating a similarity density matrix of the historical monitoring data;
基于所述相似密度矩阵优化所述实时监测数据与每个所述历史监测数据的所述欧式距离值。The Euclidean distance value between the real-time monitoring data and each of the historical monitoring data is optimized based on the similarity density matrix.
优选的,所述计算所述历史监测数据的相似密度矩阵,包括:Preferably, the calculating of the similarity density matrix of the historical monitoring data comprises:
通过第一计算公式,计算所述预设数量组的历史监测数据的任意两个所述历史监测数据间的相似度值;Calculate the similarity value between any two of the historical monitoring data of the preset number of groups through a first calculation formula;
所述第一计算公式包括:
X'(j)=[Xj(1)Xj(2)Xj(3)…Xj(m)]T;
X'(k)=[Xk(1)Xk(2)Xk(3)…Xk(m)]T;The first calculation formula includes:
X'(j)=[ Xj (1) Xj (2) Xj (3)… Xj (m)] T ;
X'(k)=[ Xk (1) Xk (2) Xk (3)… Xk (m)] T ;
X'(j)=[Xj(1)Xj(2)Xj(3)…Xj(m)]T;
X'(k)=[Xk(1)Xk(2)Xk(3)…Xk(m)]T;The first calculation formula includes:
X'(j)=[ Xj (1) Xj (2) Xj (3)… Xj (m)] T ;
X'(k)=[ Xk (1) Xk (2) Xk (3)… Xk (m)] T ;
其中,X'(j)表示第j个数据类型的历史数据值;X'(k)表示第k个数据类型的历史数据值;Sim(j,k)表示第j个数据类型的历史数据值与第k个数据类型的历史数据值间的所述相似度值;Xj(a)表示第j个数据类型的第a个历史数据值,Xk(a)表示第k个数据类型的第a个历史数据值,1≤a≤m,m表示所述预设数量组的值;T表示转置;||||表示取绝对值;Wherein, X'(j) represents the historical data value of the j-th data type; X'(k) represents the historical data value of the k-th data type; Sim(j,k) represents the similarity value between the historical data value of the j-th data type and the historical data value of the k-th data type; Xj (a) represents the a-th historical data value of the j-th data type, Xk (a) represents the a-th historical data value of the k-th data type, 1≤a≤m, m represents the value of the preset number group; T represents transposition; |||| represents taking the absolute value;
计算所有两两历史监测数据间的相似度值,得到所述历史监测数据的相似密度矩阵,所述相似密度矩阵如下式所示:
The similarity values between all pairs of historical monitoring data are calculated to obtain the similarity density matrix of the historical monitoring data. The similarity density matrix is shown in the following formula:
The similarity values between all pairs of historical monitoring data are calculated to obtain the similarity density matrix of the historical monitoring data. The similarity density matrix is shown in the following formula:
其中,Sim表示所述相似度值组成的相似密度矩阵;X′(b)表示第b个数据类型的历史数据值,X′'(d)表示第d个数据类型的历史数据值,1≤b≤n,1≤d≤n;n表示所述预设数量的值。Among them, Sim represents the similarity density matrix composed of the similarity values; X′(b) represents the historical data value of the b-th data type, X′'(d) represents the historical data value of the d-th data type, 1≤b≤n, 1≤d≤n; n represents the value of the preset number.
优选的,所述基于所述相似密度矩阵优化所述实时监测数据与每个所述历史监测数据的所述欧式距离值,包括:Preferably, the optimizing the Euclidean distance value between the real-time monitoring data and each of the historical monitoring data based on the similarity density matrix includes:
通过第二计算公式,基于所述相似密度矩阵优化所述实时监测数据与每个所述历史监测数据的所述欧式距离值;By using a second calculation formula, optimizing the Euclidean distance value between the real-time monitoring data and each of the historical monitoring data based on the similarity density matrix;
所述第二计算公式包括:
The second calculation formula includes:
The second calculation formula includes:
其中,X(obs)表示所述实时监测数据;X(i)表示第i组所述历史监测数据,1≤i≤m,m表示所述预设数量组的值;Xf(i)表示第i组所述历史监测数据中第f个数据类型的历史数据值,Xf(obs)表示所述实时监测数据中第f个数据类型的当前数据值,1≤f≤n;disi(X(i),X(obs))表示第i组所述历史监测数据与所述实时监测数据间的优化后的所述欧式距离值。Among them, X(obs) represents the real-time monitoring data; X(i) represents the i-th group of historical monitoring data, 1≤i≤m, and m represents the value of the preset number group; Xf (i) represents the historical data value of the f-th data type in the i-th group of historical monitoring data, and Xf (obs) represents the current data value of the f-th data type in the real-time monitoring data, 1≤f≤n; disi (X(i),X(obs)) represents the optimized Euclidean distance value between the i-th group of historical monitoring data and the real-time monitoring data.
优选的,所述将所有的所述欧式距离值向量化为权重基数,包括:Preferably, vectorizing all the Euclidean distance values into weight bases includes:
基于高斯核函数变换,将所有的所述欧式距离值向量化为所述权重基数。Based on Gaussian kernel function transformation, all the Euclidean distance values are vectorized into the weight base.
优选的,所述高斯核函数变换的公式包括:
Preferably, the formula for the Gaussian kernel function transformation includes:
Preferably, the formula for the Gaussian kernel function transformation includes:
其中,W表示所述权重基数;wi表示第i组所述历史监测数据的权重值;h表示核函数的带宽;T表示转置。Wherein, W represents the weight base; wi represents the weight value of the i-th group of historical monitoring data; h represents the bandwidth of the kernel function; and T represents transposition.
优选的,所述基于所述权重基数及所述历史监测数据确定所述目标设备在当前时刻下的预估监测数据,包括:Preferably, the determining the estimated monitoring data of the target device at the current moment based on the weight base and the historical monitoring data includes:
通过第三计算公式,基于所述权重基数及所述历史监测数据确定所述目标设备在当前时刻下的所述预估监测数据;Determine the estimated monitoring data of the target device at the current moment based on the weight base and the historical monitoring data through a third calculation formula;
所述第三计算公式包括:
The third calculation formula includes:
The third calculation formula includes:
其中,Xest表示所述预估监测数据。Wherein, X est represents the estimated monitoring data.
优选的,所述基于所述残差值判断所述目标设备是否异常,得到相应的监测结果,包括:Preferably, judging whether the target device is abnormal based on the residual value to obtain a corresponding monitoring result includes:
判断所述残差值是否在预设范围内,若是,则得到表征所述目标设备正常的所述监测结果,若否,则得到表征所述目标设备异常的所述监测结果。It is determined whether the residual value is within a preset range. If so, the monitoring result indicating that the target device is normal is obtained. If not, the monitoring result indicating that the target device is abnormal is obtained.
一种设备监督系统,包括:A device monitoring system, comprising:
第一获取模块,用于获取目标设备在当前时刻下的一组实时监测数据,所述实时监测数据包括预设数量的数据类型的当前数据值;
A first acquisition module, used to acquire a set of real-time monitoring data of the target device at the current moment, wherein the real-time monitoring data includes current data values of a preset number of data types;
第二获取模块,用于获取目标设备的预设数量组的历史监测数据,所述历史监测数据包括所述预设数量的数据类型的历史数据值;A second acquisition module is used to acquire a preset number of groups of historical monitoring data of the target device, wherein the historical monitoring data includes historical data values of the preset number of data types;
第一计算模块,用于计算所述历史监测数据与所述实时监测数据间的相似度值;A first calculation module, used to calculate the similarity value between the historical monitoring data and the real-time monitoring data;
第二计算模块,用于对于每组所述历史监测数据,基于所述相似度值计算所述历史监测数据与所述实时监测数据间的欧式距离值;A second calculation module, configured to calculate, for each group of the historical monitoring data, a Euclidean distance value between the historical monitoring data and the real-time monitoring data based on the similarity value;
第一转换模块,用于将所有的所述欧式距离值向量化为权重基数;A first conversion module, used for vectorizing all the Euclidean distance values into weight bases;
第一确定模块,用于基于所述权重基数及所述历史监测数据确定所述目标设备在当前时刻下的预估监测数据;A first determination module, configured to determine the estimated monitoring data of the target device at the current moment based on the weight base and the historical monitoring data;
第三计算模块,用于计算所述预估监测数据与所述实时监测数据间的残差值;A third calculation module, used to calculate the residual value between the estimated monitoring data and the real-time monitoring data;
第一判断模块,用于基于所述残差值判断所述目标设备是否异常,得到相应的监测结果。The first judgment module is used to judge whether the target device is abnormal based on the residual value to obtain a corresponding monitoring result.
一种电子设备,包括:An electronic device, comprising:
存储器,用于存储计算机程序;Memory for storing computer programs;
处理器,用于执行所述计算机程序时实现如上任一所述设备监督方法的步骤。A processor is used to implement the steps of any of the above-mentioned device supervision methods when executing the computer program.
一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,所述计算机程序被处理器执行时实现如上任一所述设备监督方法的步骤。A computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of any of the above-mentioned device supervision methods.
本申请提供的一种设备监督方法,获取目标设备在当前时刻下的一组实时监测数据,实时监测数据包括预设数量的数据类型的当前数据值;获取目标设备的预设数量组的历史监测数据,历史监测数据包括预设数量的数据类型的历史数据值;计算实时监测数据与每个历史监测数据的欧式距离值;将所有的欧式距离值向量化为权重基数;基于权重基数及历史监测数据确定目标设备在当前时刻下的预估监测数据;计算预估监测数据与实时监测数据间的残差值;基于残差值判断目标设备是否异常,得到相应的监测结果。本申请中,在对目标设备进行监督的过程中,可以计算每个历史监测数据与实时监测数据间的欧式距离值,由于欧式距离值可以反映历
史监测数据与实时监测数据间的相关程度,所以本申请实现了借助历史监测数据与实时监测数据间的相关程度来对目标设备进行监督,准确性高。本申请提供的一种设备监督系统、设备及计算机可读存储介质也解决了相应技术问题。The present application provides a device supervision method, which obtains a set of real-time monitoring data of the target device at the current moment, the real-time monitoring data includes the current data values of a preset number of data types; obtains a preset number of groups of historical monitoring data of the target device, the historical monitoring data includes the historical data values of a preset number of data types; calculates the Euclidean distance value between the real-time monitoring data and each historical monitoring data; vectorizes all Euclidean distance values into a weight base; determines the estimated monitoring data of the target device at the current moment based on the weight base and the historical monitoring data; calculates the residual value between the estimated monitoring data and the real-time monitoring data; and determines whether the target device is abnormal based on the residual value to obtain the corresponding monitoring result. In the present application, in the process of supervising the target device, the Euclidean distance value between each historical monitoring data and the real-time monitoring data can be calculated. Since the Euclidean distance value can reflect the historical monitoring data, the Euclidean distance value can reflect the historical monitoring data. The correlation between historical monitoring data and real-time monitoring data is calculated, so the present application realizes monitoring the target device with the help of the correlation between historical monitoring data and real-time monitoring data, with high accuracy. The present application provides a device monitoring system, device and computer-readable storage medium that also solves the corresponding technical problems.
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
图1为本申请实施例提供的一种设备监督方法的流程图;FIG1 is a flow chart of a device monitoring method provided by an embodiment of the present application;
图2为本申请实施例提供的一种设备监督系统的结构示意图;FIG2 is a schematic diagram of the structure of a device monitoring system provided in an embodiment of the present application;
图3为本申请实施例提供的一种电子设备的结构示意图;FIG3 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
图4为本申请实施例提供的一种电子设备的另一结构示意图。FIG. 4 is another schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
请参阅图1,图1为本申请实施例提供的一种设备监督方法的流程图。Please refer to FIG. 1 , which is a flow chart of a device monitoring method provided in an embodiment of the present application.
本申请实施例提供的一种设备监督方法,可以包括以下步骤:An apparatus monitoring method provided in an embodiment of the present application may include the following steps:
步骤S101:获取目标设备在当前时刻下的一组实时监测数据,实时监测数据包括预设数量的数据类型的当前数据值。Step S101: obtaining a set of real-time monitoring data of the target device at the current moment, where the real-time monitoring data includes current data values of a preset number of data types.
实际应用中,可以先获取目标设备在当前时刻下的一组实时监测数据,且实时监测数据包括预设数量的数据类型的当前数据值,需要说明的是,目标设备、预设数量及数据类型的相应信息可以根据实际需要灵活确定,
比如目标设备可以为冷却水泵,数据类型可以包括温度、压力、电流等,本申请在此不做具体限定。In practical applications, a set of real-time monitoring data of the target device at the current moment can be obtained first, and the real-time monitoring data includes current data values of a preset number of data types. It should be noted that the corresponding information of the target device, the preset number and the data type can be flexibly determined according to actual needs. For example, the target device may be a cooling water pump, and the data types may include temperature, pressure, current, etc., which are not specifically limited in this application.
具体应用场景中,在获取目标设备的相应数据的过程中,可以先对采集的目标设备的数据进行归一化处理,以保证数据的质量;还可以删除缺损值,及异常数值点;之后将清洗后的数据进行异常状态的去除,以保证后续建模使用的数据完全是在正常工况下的数据,进而保证建立的模型可以学习到正常工况的历史信息,而不会受到异常工况的干扰,保证设备监督的准确性。In specific application scenarios, in the process of obtaining the corresponding data of the target device, the collected data of the target device can be normalized first to ensure the quality of the data; missing values and abnormal numerical points can also be deleted; the abnormal state of the cleaned data is then removed to ensure that the data used for subsequent modeling is completely under normal working conditions, thereby ensuring that the established model can learn the historical information of normal working conditions without being disturbed by abnormal working conditions, thereby ensuring the accuracy of equipment supervision.
步骤S102:获取目标设备的预设数量组的历史监测数据,历史监测数据包括预设数量的数据类型的历史数据值。Step S102: Acquire a preset number of groups of historical monitoring data of the target device, where the historical monitoring data includes historical data values of a preset number of data types.
实际应用中,在获取目标设备在当前时刻下的一组实时监测数据之后,便可以获取目标设备的预设数量组的历史监测数据,比如获取5组、10组历史监测数据等,且每组历史监测数据均包括预设数量的数据类型的历史数据值,以便后续基于历史监测数据来评估实时监测数据的准确性。In actual applications, after obtaining a set of real-time monitoring data of the target device at the current moment, a preset number of groups of historical monitoring data of the target device can be obtained, such as 5 groups or 10 groups of historical monitoring data, etc., and each group of historical monitoring data includes a preset number of historical data values of the data type, so that the accuracy of the real-time monitoring data can be evaluated based on the historical monitoring data in the future.
具体应用场景中,可以以X(i)=[X1(i)X2(i)X3(i)...Xn(i)]T的形式来保存实时监测数据,可以以的形式来保存历史监测数据等,本申请在此不做具体限定。In specific application scenarios, real-time monitoring data can be saved in the form of X(i) = [X 1 (i) X 2 (i) X 3 (i) ... X n (i)] T. The historical monitoring data is saved in the form of, etc., and this application does not make any specific limitations here.
步骤S103:计算实时监测数据与每个历史监测数据的欧式距离值。Step S103: Calculate the Euclidean distance between the real-time monitoring data and each historical monitoring data.
实际应用中,在获取目标设备的实时监测数据及历史监测数据之后,便可以计算实时监测数据与每个历史监测数据的欧式距离值,以便基于该欧式距离值表征历史监测数据与实时监测数据间的相关程度。In practical applications, after obtaining the real-time monitoring data and historical monitoring data of the target device, the Euclidean distance value between the real-time monitoring data and each historical monitoring data can be calculated, so as to characterize the correlation between the historical monitoring data and the real-time monitoring data based on the Euclidean distance value.
实际应用中,在计算实时监测数据与每个历史监测数据的欧式距离值之后,还可以计算历史监测数据的相似密度矩阵;基于该相似密度矩阵优化实时监测数据与每个历史监测数据的欧式距离值,以进一步基于历史检测数据间的相似程度来对设备进行监督。
In practical applications, after calculating the Euclidean distance value between the real-time monitoring data and each historical monitoring data, the similarity density matrix of the historical monitoring data can also be calculated; based on the similarity density matrix, the Euclidean distance value between the real-time monitoring data and each historical monitoring data is optimized to further supervise the equipment based on the similarity between the historical detection data.
具体应用场景中,在计算历史监测数据的相似密度矩阵的过程中,可以基于余弦相似度方法来计算历史监测数据的相似密度矩阵,假设对于第j个测点有m个时序长度的数据点:
X'(j)=[Xj(1)Xj(2)Xj(3)...Xj(m)]T;In specific application scenarios, in the process of calculating the similarity density matrix of historical monitoring data, the similarity density matrix of historical monitoring data can be calculated based on the cosine similarity method. Assuming that there are m data points of time series length for the jth measurement point:
X'(j)=[ Xj (1) Xj (2) Xj (3)... Xj (m)] T ;
X'(j)=[Xj(1)Xj(2)Xj(3)...Xj(m)]T;In specific application scenarios, in the process of calculating the similarity density matrix of historical monitoring data, the similarity density matrix of historical monitoring data can be calculated based on the cosine similarity method. Assuming that there are m data points of time series length for the jth measurement point:
X'(j)=[ Xj (1) Xj (2) Xj (3)... Xj (m)] T ;
对于第k个测点也有m个时序长度的数据点:
X'(k)=[Xk(1)Xk(2)Xk(3)...Xk(m)]T;For the kth measurement point, there are also data points with a time series length of m:
X'(k)=[ Xk (1) Xk (2) Xk (3)... Xk (m)] T ;
X'(k)=[Xk(1)Xk(2)Xk(3)...Xk(m)]T;For the kth measurement point, there are also data points with a time series length of m:
X'(k)=[ Xk (1) Xk (2) Xk (3)... Xk (m)] T ;
则两个测点间的余弦值为:
Then the cosine value between the two measuring points is:
Then the cosine value between the two measuring points is:
其中,分子可以表示为:
The numerator can be expressed as:
The numerator can be expressed as:
分母可以表示为:
The denominator can be expressed as:
The denominator can be expressed as:
最终得到相似密度矩阵为:
The final similarity density matrix is:
The final similarity density matrix is:
也即,可以通过第一计算公式,计算预设数量组的历史监测数据的任意两个历史监测数据间的相似度值;That is, the similarity value between any two historical monitoring data of the preset number of groups of historical monitoring data can be calculated by the first calculation formula;
第一计算公式包括:
X'(j)=[Xj(1)Xj(2)Xj(3)…Xj(m)]T;
X'(k)=[Xk(1)Xk(2)Xk(3)…Xk(m)]T;The first calculation formula includes:
X'(j)=[ Xj (1) Xj (2) Xj (3)… Xj (m)] T ;
X'(k)=[ Xk (1) Xk (2) Xk (3)… Xk (m)] T ;
X'(j)=[Xj(1)Xj(2)Xj(3)…Xj(m)]T;
X'(k)=[Xk(1)Xk(2)Xk(3)…Xk(m)]T;The first calculation formula includes:
X'(j)=[ Xj (1) Xj (2) Xj (3)… Xj (m)] T ;
X'(k)=[ Xk (1) Xk (2) Xk (3)… Xk (m)] T ;
其中,X'(j)表示第j个数据类型的历史数据值;X'(k)表示第k个数据类型的历史数据值;Sim(j,k)表示第j个数据类型的历史数据值与第k个数据类型的历史数据值间的相似度值;Xj(a)表示第j个数据类型的第a个历
史数据值,Xk(a)表示第k个数据类型的第a个历史数据值,1≤a≤m,m表示预设数量组的值,其可以由所选取的时序的数量来决定;T表示转置;||||表示取绝对值;Among them, X'(j) represents the historical data value of the jth data type; X'(k) represents the historical data value of the kth data type; Sim(j,k) represents the similarity value between the historical data value of the jth data type and the historical data value of the kth data type; Xj (a) represents the historical data value of the ath data type of the jth data type. Historical data value, X k (a) represents the a-th historical data value of the k-th data type, 1≤a≤m, m represents the value of the preset number group, which can be determined by the number of selected time series; T represents transposition; |||| represents taking the absolute value;
计算所有两两历史监测数据间的相似度值,得到历史监测数据的相似密度矩阵,相似密度矩阵如下式所示:
Calculate the similarity values between all pairwise historical monitoring data to obtain the similarity density matrix of historical monitoring data. The similarity density matrix is shown in the following formula:
Calculate the similarity values between all pairwise historical monitoring data to obtain the similarity density matrix of historical monitoring data. The similarity density matrix is shown in the following formula:
其中,Sim表示相似度值组成的相似密度矩阵;X′(b)表示第b个数据类型的历史数据值,X′'(d)表示第d个数据类型的历史数据值,1≤b≤n,1≤d≤n;n表示预设数量的值。Among them, Sim represents the similarity density matrix composed of similarity values; X′(b) represents the historical data value of the b-th data type, X′'(d) represents the historical data value of the d-th data type, 1≤b≤n, 1≤d≤n; n represents a preset number of values.
具体应用场景中,在基于相似密度矩阵优化实时监测数据与每个历史监测数据的欧式距离值的过程中,可以通过第二计算公式,基于相似密度矩阵优化实时监测数据与每个历史监测数据的欧式距离值;In a specific application scenario, in the process of optimizing the Euclidean distance value between the real-time monitoring data and each historical monitoring data based on the similarity density matrix, the Euclidean distance value between the real-time monitoring data and each historical monitoring data can be optimized based on the similarity density matrix by the second calculation formula;
第二计算公式包括:
The second calculation formula includes:
The second calculation formula includes:
其中,X(obs)表示实时监测数据;X(i)表示第i组历史监测数据,1≤i≤m,m表示预设数量组的值;Xf(i)表示第i组历史监测数据中第f个数据类型的历史数据值,Xf(obs)表示实时监测数据中第f个数据类型的当前数据值,1≤f≤n;disi(X(i),X(obs))表示第i组历史监测数据与实时监测数据间的优化后的欧式距离值。Among them, X(obs) represents real-time monitoring data; X(i) represents the i-th group of historical monitoring data, 1≤i≤m, and m represents the value of a preset number of groups; Xf (i) represents the historical data value of the f-th data type in the i-th group of historical monitoring data, and Xf (obs) represents the current data value of the f-th data type in the real-time monitoring data, 1≤f≤n; disi (X(i),X(obs)) represents the optimized Euclidean distance value between the i-th group of historical monitoring data and the real-time monitoring data.
步骤S104:将所有的欧式距离值向量化为权重基数。Step S104: vectorize all Euclidean distance values into weight bases.
步骤S105:基于权重基数及历史监测数据确定目标设备在当前时刻下的预估监测数据。Step S105: Determine the estimated monitoring data of the target device at the current moment based on the weight base and historical monitoring data.
实际应用中,在计算实时监测数据与每个历史监测数据的欧式距离值之后,便可以将所有的欧式距离值向量化为权重基数;最后基于权重基数及历史监测数据确定目标设备在当前时刻下的预估监测数据,以根据历史监测数据预测得到目标设备在当前时刻下的预估监测数据。
In practical applications, after calculating the Euclidean distance value between the real-time monitoring data and each historical monitoring data, all the Euclidean distance values can be vectorized into a weighted base; finally, the estimated monitoring data of the target device at the current moment is determined based on the weighted base and the historical monitoring data, so as to predict the estimated monitoring data of the target device at the current moment based on the historical monitoring data.
具体应用场景中,在将所有的欧式距离值向量化为权重基数的过程中,可以基于高斯核函数变换,将所有的欧式距离值向量化为权重基数;In a specific application scenario, in the process of vectorizing all Euclidean distance values into weight bases, all Euclidean distance values can be vectorized into weight bases based on Gaussian kernel function transformation;
其中,高斯核函数变换的公式可以包括:
Among them, the formula of Gaussian kernel function transformation may include:
Among them, the formula of Gaussian kernel function transformation may include:
其中,W表示权重基数;wi表示第i组历史监测数据的权重值;h表示核函数的带宽;T表示转置。Among them, W represents the weight base; wi represents the weight value of the i-th group of historical monitoring data; h represents the bandwidth of the kernel function; and T represents transpose.
具体应用场景中,在基于权重基数及历史监测数据确定目标设备在当前时刻下的预估监测数据的过程中,可以通过第三计算公式,基于权重基数及历史监测数据确定目标设备在当前时刻下的预估监测数据;In a specific application scenario, in the process of determining the estimated monitoring data of the target device at the current moment based on the weight base and the historical monitoring data, the estimated monitoring data of the target device at the current moment can be determined based on the weight base and the historical monitoring data by a third calculation formula;
第三计算公式包括:
The third calculation formula includes:
The third calculation formula includes:
其中,Xest表示预估监测数据。Among them, X est represents the estimated monitoring data.
步骤S106:计算预估监测数据与实时监测数据间的残差值。Step S106: Calculate the residual value between the estimated monitoring data and the real-time monitoring data.
步骤S107:基于残差值判断目标设备是否异常,得到相应的监测结果。Step S107: determine whether the target device is abnormal based on the residual value and obtain corresponding monitoring results.
实际应用中,在基于权重基数及历史监测数据确定目标设备在当前时刻下的预估监测数据之后,便可以计算预估监测数据与实时监测数据间的残差值,并基于残差值判断目标设备是否异常,得到相应的监测结果。In actual applications, after determining the estimated monitoring data of the target device at the current moment based on the weight base and historical monitoring data, the residual value between the estimated monitoring data and the real-time monitoring data can be calculated, and based on the residual value, it can be judged whether the target device is abnormal to obtain the corresponding monitoring results.
具体应用场景中,在基于残差值判断目标设备是否异常,得到相应的监测结果的过程中,可以判断残差值是否在预设范围内,若是,则得到表征目标设备正常的监测结果,若否,则得到表征目标设备异常的监测结果。In a specific application scenario, in the process of judging whether the target device is abnormal based on the residual value and obtaining the corresponding monitoring result, it can be judged whether the residual value is within the preset range. If so, a monitoring result characterizing that the target device is normal is obtained; if not, a monitoring result characterizing that the target device is abnormal is obtained.
本申请提供的一种设备监督方法,获取目标设备在当前时刻下的一组实时监测数据,实时监测数据包括预设数量的数据类型的当前数据值;获取目标设备的预设数量组的历史监测数据,历史监测数据包括预设数量的数据类型的历史数据值;计算实时监测数据与每个历史监测数据的欧式距离值;将所有的欧式距离值向量化为权重基数;基于权重基数及历史监测数据确定目标设备在当前时刻下的预估监测数据;计算预估监测数据与实时监测数据间的残差值;基于残差值判断目标设备是否异常,得到相应的
监测结果。本申请中,在对目标设备进行监督的过程中,可以计算每个历史监测数据与实时监测数据间的欧式距离值,由于欧式距离值可以反映历史监测数据与实时监测数据间的相关程度,所以本申请实现了借助历史监测数据与实时监测数据间的相关程度来对目标设备进行监督,准确性高。The present application provides a device supervision method, which obtains a set of real-time monitoring data of a target device at the current moment, wherein the real-time monitoring data includes current data values of a preset number of data types; obtains a preset number of historical monitoring data of the target device, wherein the historical monitoring data includes historical data values of a preset number of data types; calculates the Euclidean distance value between the real-time monitoring data and each historical monitoring data; vectorizes all the Euclidean distance values into a weighted basis; determines the estimated monitoring data of the target device at the current moment based on the weighted basis and the historical monitoring data; calculates the residual value between the estimated monitoring data and the real-time monitoring data; determines whether the target device is abnormal based on the residual value, and obtains the corresponding Monitoring results. In the present application, in the process of monitoring the target device, the Euclidean distance value between each historical monitoring data and the real-time monitoring data can be calculated. Since the Euclidean distance value can reflect the degree of correlation between the historical monitoring data and the real-time monitoring data, the present application realizes the supervision of the target device with the help of the degree of correlation between the historical monitoring data and the real-time monitoring data, with high accuracy.
请参阅图2,图2为本申请实施例提供的一种设备监督系统的结构示意图。Please refer to FIG. 2 , which is a schematic diagram of the structure of a device monitoring system provided in an embodiment of the present application.
本申请实施例提供的一种设备监督系统,可以包括:An equipment monitoring system provided in an embodiment of the present application may include:
第一获取模块101,用于获取目标设备在当前时刻下的一组实时监测数据,实时监测数据包括预设数量的数据类型的当前数据值;A first acquisition module 101 is used to acquire a set of real-time monitoring data of the target device at the current moment, where the real-time monitoring data includes current data values of a preset number of data types;
第二获取模块102,用于获取目标设备的预设数量组的历史监测数据,历史监测数据包括预设数量的数据类型的历史数据值;A second acquisition module 102 is used to acquire a preset number of groups of historical monitoring data of the target device, where the historical monitoring data includes historical data values of a preset number of data types;
第一计算模块103,用于计算实时监测数据与每个历史监测数据的欧式距离值;A first calculation module 103, used to calculate the Euclidean distance value between the real-time monitoring data and each historical monitoring data;
第一转换模块104,用于将所有的欧式距离值向量化为权重基数;A first conversion module 104, used for vectorizing all Euclidean distance values into weight bases;
第一确定模块105,用于基于权重基数及历史监测数据确定目标设备在当前时刻下的预估监测数据;A first determination module 105, configured to determine the estimated monitoring data of the target device at the current moment based on the weight base and the historical monitoring data;
第二计算模块106,用于计算预估监测数据与实时监测数据间的残差值;A second calculation module 106, used to calculate the residual value between the estimated monitoring data and the real-time monitoring data;
第一判断模块107,用于基于残差值判断目标设备是否异常,得到相应的监测结果。The first judgment module 107 is used to judge whether the target device is abnormal based on the residual value and obtain corresponding monitoring results.
本申请实施例提供的一种设备监督系统,还可以包括:The device monitoring system provided in the embodiment of the present application may further include:
第三计算模块,用于在第一转换模块将所有的欧式距离值向量化为权重基数之前,计算历史监测数据的相似密度矩阵;A third calculation module is used to calculate the similarity density matrix of the historical monitoring data before the first conversion module vectorizes all the Euclidean distance values into weight bases;
第一优化模块,用于基于相似密度矩阵优化实时监测数据与每个历史监测数据的欧式距离值。The first optimization module is used to optimize the Euclidean distance value between the real-time monitoring data and each historical monitoring data based on the similarity density matrix.
本申请实施例提供的一种设备监督系统,第三计算模块可以用于:In an equipment monitoring system provided by an embodiment of the present application, the third computing module can be used for:
通过第一计算公式,计算预设数量组的历史监测数据的任意两个历史监测数据间的相似度值;Calculate the similarity value between any two historical monitoring data of the preset number of groups of historical monitoring data by using the first calculation formula;
第一计算公式包括:
X'(j)=[Xj(1)Xj(2)Xj(3)…Xj(m)]T;
X'(k)=[Xk(1)Xk(2)Xk(3)…Xk(m)]T;The first calculation formula includes:
X'(j)=[ Xj (1) Xj (2) Xj (3)… Xj (m)] T ;
X'(k)=[ Xk (1) Xk (2) Xk (3)… Xk (m)] T ;
X'(j)=[Xj(1)Xj(2)Xj(3)…Xj(m)]T;
X'(k)=[Xk(1)Xk(2)Xk(3)…Xk(m)]T;The first calculation formula includes:
X'(j)=[ Xj (1) Xj (2) Xj (3)… Xj (m)] T ;
X'(k)=[ Xk (1) Xk (2) Xk (3)… Xk (m)] T ;
其中,X'(j)表示第j个数据类型的历史数据值;X'(k)表示第k个数据类型的历史数据值;Sim(j,k)表示第j个数据类型的历史数据值与第k个数据类型的历史数据值间的相似度值;Xj(a)表示第j个数据类型的第a个历史数据值,Xk(a)表示第k个数据类型的第a个历史数据值,1≤a≤m,m表示预设数量组的值;T表示转置;||||表示取绝对值;Wherein, X'(j) represents the historical data value of the jth data type; X'(k) represents the historical data value of the kth data type; Sim(j,k) represents the similarity value between the historical data value of the jth data type and the historical data value of the kth data type; Xj (a) represents the ath historical data value of the jth data type, Xk (a) represents the ath historical data value of the kth data type, 1≤a≤m, m represents the value of the preset number group; T represents transposition; |||| represents taking the absolute value;
计算所有两两历史监测数据间的相似度值,得到历史监测数据的相似密度矩阵,相似密度矩阵如下式所示:
Calculate the similarity values between all pairwise historical monitoring data to obtain the similarity density matrix of historical monitoring data. The similarity density matrix is shown in the following formula:
Calculate the similarity values between all pairwise historical monitoring data to obtain the similarity density matrix of historical monitoring data. The similarity density matrix is shown in the following formula:
其中,Sim表示相似度值组成的相似密度矩阵;X′(b)表示第b个数据类型的历史数据值,X′'(d)表示第d个数据类型的历史数据值,1≤b≤n,1≤d≤n;n表示预设数量的值。Among them, Sim represents the similarity density matrix composed of similarity values; X′(b) represents the historical data value of the b-th data type, X′'(d) represents the historical data value of the d-th data type, 1≤b≤n, 1≤d≤n; n represents a preset number of values.
本申请实施例提供的一种设备监督系统,第一优化模块可以用于:In an equipment monitoring system provided by an embodiment of the present application, the first optimization module can be used for:
通过第二计算公式,基于相似密度矩阵优化实时监测数据与每个历史监测数据的所述欧式距离值;By using a second calculation formula, the Euclidean distance value between the real-time monitoring data and each historical monitoring data is optimized based on a similarity density matrix;
第二计算公式包括:
The second calculation formula includes:
The second calculation formula includes:
其中,X(obs)表示实时监测数据;X(i)表示第i组历史监测数据,1≤i≤m,m表示预设数量组的值;Xf(i)表示第i组历史监测数据中第f个数据类型的历史数据值,Xf(obs)表示实时监测数据中第f个数据类型的当前数据值,1≤f≤n;disi(X(i),X(obs))表示第i组历史监测数据与实时监测数据间的优化后的欧式距离值。Among them, X(obs) represents real-time monitoring data; X(i) represents the i-th group of historical monitoring data, 1≤i≤m, and m represents the value of the preset number group; Xf (i) represents the historical data value of the f-th data type in the i-th group of historical monitoring data, and Xf (obs) represents the current data value of the f-th data type in the real-time monitoring data, 1≤f≤n; disi (X(i),X(obs)) represents the optimized Euclidean distance value between the i-th group of historical monitoring data and the real-time monitoring data.
本申请实施例提供的一种设备监督系统,第一转换模块可以用于:In an equipment monitoring system provided by an embodiment of the present application, the first conversion module can be used for:
基于高斯核函数变换,将所有的欧式距离值向量化为权重基数。
Based on the Gaussian kernel function transformation, all Euclidean distance values are vectorized into weight bases.
本申请实施例提供的一种设备监督系统,高斯核函数变换的公式包括:
In an equipment monitoring system provided by an embodiment of the present application, the formula for Gaussian kernel function transformation includes:
In an equipment monitoring system provided by an embodiment of the present application, the formula for Gaussian kernel function transformation includes:
其中,W表示权重基数;wi表示第i组历史监测数据的权重值;h表示核函数的带宽;T表示转置。Among them, W represents the weight base; wi represents the weight value of the i-th group of historical monitoring data; h represents the bandwidth of the kernel function; and T represents transpose.
本申请实施例提供的一种设备监督系统,第一确定模块可以用于:In an equipment monitoring system provided by an embodiment of the present application, the first determination module may be used to:
通过第三计算公式,基于权重基数及历史监测数据确定目标设备在当前时刻下的预估监测数据;Determine the estimated monitoring data of the target device at the current moment based on the weight base and historical monitoring data through a third calculation formula;
第三计算公式包括:
The third calculation formula includes:
The third calculation formula includes:
其中,Xest表示预估监测数据。Among them, X est represents the estimated monitoring data.
本申请实施例提供的一种设备监督系统,第一判断模块可以用于:In an equipment monitoring system provided by an embodiment of the present application, the first judgment module can be used for:
判断残差值是否在预设范围内,若是,则得到表征目标设备正常的监测结果,若否,则得到表征目标设备异常的监测结果。It is determined whether the residual value is within a preset range. If so, a monitoring result indicating that the target device is normal is obtained. If not, a monitoring result indicating that the target device is abnormal is obtained.
本申请还提供了一种电子设备及计算机可读存储介质,其均具有本申请实施例提供的一种设备监督方法具有的对应效果。请参阅图3,图3为本申请实施例提供的一种电子设备的结构示意图。The present application also provides an electronic device and a computer-readable storage medium, both of which have the corresponding effects of the device supervision method provided in the embodiment of the present application. Please refer to Figure 3, which is a schematic diagram of the structure of an electronic device provided in the embodiment of the present application.
本申请实施例提供的一种电子设备,包括存储器201和处理器202,存储器201中存储有计算机程序,处理器202执行计算机程序时实现如下步骤:An electronic device provided in an embodiment of the present application includes a memory 201 and a processor 202. The memory 201 stores a computer program. When the processor 202 executes the computer program, the following steps are implemented:
获取目标设备在当前时刻下的一组实时监测数据,实时监测数据包括预设数量的数据类型的当前数据值;Obtain a set of real-time monitoring data of the target device at the current moment, the real-time monitoring data including current data values of a preset number of data types;
获取目标设备的预设数量组的历史监测数据,历史监测数据包括预设数量的数据类型的历史数据值;Acquire a preset number of groups of historical monitoring data of the target device, the historical monitoring data including historical data values of a preset number of data types;
计算实时监测数据与每个历史监测数据的欧式距离值;Calculate the Euclidean distance between the real-time monitoring data and each historical monitoring data;
将所有的欧式距离值向量化为权重基数;Vectorize all Euclidean distance values into weighted bases;
基于权重基数及历史监测数据确定目标设备在当前时刻下的预估监测数据;
Determine the estimated monitoring data of the target device at the current moment based on the weight base and historical monitoring data;
计算预估监测数据与实时监测数据间的残差值;Calculate the residual value between the estimated monitoring data and the real-time monitoring data;
基于残差值判断目标设备是否异常,得到相应的监测结果。Based on the residual value, it is determined whether the target device is abnormal and the corresponding monitoring result is obtained.
本申请实施例提供的一种电子设备,包括存储器201和处理器202,存储器201中存储有计算机程序,处理器202执行计算机程序时实现如下步骤:在将所有的欧式距离值向量化为权重基数之前,计算历史监测数据的相似密度矩阵;基于相似密度矩阵优化实时监测数据与每个历史监测数据的欧式距离值。An electronic device provided in an embodiment of the present application includes a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program: before all Euclidean distance values are vectorized into weight bases, a similarity density matrix of historical monitoring data is calculated; and based on the similarity density matrix, the Euclidean distance value between the real-time monitoring data and each historical monitoring data is optimized.
本申请实施例提供的一种电子设备,包括存储器201和处理器202,存储器201中存储有计算机程序,处理器202执行计算机程序时实现如下步骤:通过第一计算公式,计算预设数量组的历史监测数据的任意两个历史监测数据间的相似度值;An electronic device provided in an embodiment of the present application includes a memory 201 and a processor 202. The memory 201 stores a computer program. When the processor 202 executes the computer program, the following steps are implemented: calculating the similarity value between any two historical monitoring data of a preset number of groups of historical monitoring data by a first calculation formula;
第一计算公式包括:
X'(j)=[Xj(1)Xj(2)Xj(3)…Xj(m)]T;
X'(k)=[Xk(1)Xk(2)Xk(3)…Xk(m)]T;The first calculation formula includes:
X'(j)=[ Xj (1) Xj (2) Xj (3)… Xj (m)] T ;
X'(k)=[ Xk (1) Xk (2) Xk (3)… Xk (m)] T ;
X'(j)=[Xj(1)Xj(2)Xj(3)…Xj(m)]T;
X'(k)=[Xk(1)Xk(2)Xk(3)…Xk(m)]T;The first calculation formula includes:
X'(j)=[ Xj (1) Xj (2) Xj (3)… Xj (m)] T ;
X'(k)=[ Xk (1) Xk (2) Xk (3)… Xk (m)] T ;
其中,X'(j)表示第j个数据类型的历史数据值;X'(k)表示第k个数据类型的历史数据值;Sim(j,k)表示第j个数据类型的历史数据值与第k个数据类型的历史数据值间的相似度值;Xj(a)表示第j个数据类型的第a个历史数据值,Xk(a)表示第k个数据类型的第a个历史数据值,1≤a≤m,m表示预设数量组的值;T表示转置;||||表示取绝对值;Wherein, X'(j) represents the historical data value of the j-th data type; X'(k) represents the historical data value of the k-th data type; Sim(j,k) represents the similarity value between the historical data value of the j-th data type and the historical data value of the k-th data type; Xj (a) represents the a-th historical data value of the j-th data type, Xk (a) represents the a-th historical data value of the k-th data type, 1≤a≤m, m represents the value of the preset number group; T represents transposition; |||| represents taking the absolute value;
计算所有两两历史监测数据间的相似度值,得到历史监测数据的相似密度矩阵,相似密度矩阵如下式所示:
Calculate the similarity values between all pairwise historical monitoring data to obtain the similarity density matrix of the historical monitoring data. The similarity density matrix is shown in the following formula:
Calculate the similarity values between all pairwise historical monitoring data to obtain the similarity density matrix of the historical monitoring data. The similarity density matrix is shown in the following formula:
其中,Sim表示相似度值组成的相似密度矩阵;X′(b)表示第b个数据类型的历史数据值,X′'(d)表示第d个数据类型的历史数据值,1≤b≤n,1≤d≤n;n表示预设数量的值。
Among them, Sim represents the similarity density matrix composed of similarity values; X′(b) represents the historical data value of the b-th data type, X′'(d) represents the historical data value of the d-th data type, 1≤b≤n, 1≤d≤n; n represents a preset number of values.
本申请实施例提供的一种电子设备,包括存储器201和处理器202,存储器201中存储有计算机程序,处理器202执行计算机程序时实现如下步骤:通过第二计算公式,基于相似密度矩阵优化实时监测数据与每个历史监测数据的欧式距离值;An electronic device provided in an embodiment of the present application includes a memory 201 and a processor 202. The memory 201 stores a computer program. When the processor 202 executes the computer program, the following steps are implemented: optimizing the Euclidean distance value between the real-time monitoring data and each historical monitoring data based on the similarity density matrix by using a second calculation formula;
第二计算公式包括:
The second calculation formula includes:
The second calculation formula includes:
其中,X(obs)表示实时监测数据;X(i)表示第i组历史监测数据,1≤i≤m,m表示预设数量组的值;Xf(i)表示第i组历史监测数据中第f个数据类型的历史数据值,Xf(obs)表示实时监测数据中第f个数据类型的当前数据值,1≤f≤n;disi(X(i),X(obs))表示第i组历史监测数据与实时监测数据间的优化后的欧式距离值。Among them, X(obs) represents real-time monitoring data; X(i) represents the i-th group of historical monitoring data, 1≤i≤m, and m represents the value of the preset number group; Xf (i) represents the historical data value of the f-th data type in the i-th group of historical monitoring data, and Xf (obs) represents the current data value of the f-th data type in the real-time monitoring data, 1≤f≤n; disi (X(i),X(obs)) represents the optimized Euclidean distance value between the i-th group of historical monitoring data and the real-time monitoring data.
本申请实施例提供的一种电子设备,包括存储器201和处理器202,存储器201中存储有计算机程序,处理器202执行计算机程序时实现如下步骤:基于高斯核函数变换,将所有的欧式距离值向量化为权重基数。An electronic device provided in an embodiment of the present application includes a memory 201 and a processor 202. The memory 201 stores a computer program. When the processor 202 executes the computer program, the following steps are implemented: based on Gaussian kernel function transformation, all Euclidean distance values are vectorized into weight bases.
本申请实施例提供的一种电子设备,包括存储器201和处理器202,存储器201中存储有计算机程序,处理器202执行计算机程序时实现如下步骤:高斯核函数变换的公式包括:
An electronic device provided in an embodiment of the present application includes a memory 201 and a processor 202. The memory 201 stores a computer program. When the processor 202 executes the computer program, the following steps are implemented: the formula of Gaussian kernel function transformation includes:
An electronic device provided in an embodiment of the present application includes a memory 201 and a processor 202. The memory 201 stores a computer program. When the processor 202 executes the computer program, the following steps are implemented: the formula of Gaussian kernel function transformation includes:
其中,W表示权重基数;wi表示第i组历史监测数据的权重值;h表示核函数的带宽;T表示转置。Among them, W represents the weight base; wi represents the weight value of the i-th group of historical monitoring data; h represents the bandwidth of the kernel function; and T represents transpose.
本申请实施例提供的一种电子设备,包括存储器201和处理器202,存储器201中存储有计算机程序,处理器202执行计算机程序时实现如下步骤:通过第三计算公式,基于权重基数及历史监测数据确定目标设备在当前时刻下的预估监测数据;An electronic device provided in an embodiment of the present application includes a memory 201 and a processor 202. The memory 201 stores a computer program. When the processor 202 executes the computer program, the following steps are implemented: determining the estimated monitoring data of the target device at the current moment based on the weight base and the historical monitoring data by using a third calculation formula;
第三计算公式包括:
The third calculation formula includes:
The third calculation formula includes:
其中,Xest表示预估监测数据。
Among them, X est represents the estimated monitoring data.
本申请实施例提供的一种电子设备,包括存储器201和处理器202,存储器201中存储有计算机程序,处理器202执行计算机程序时实现如下步骤:判断残差值是否在预设范围内,若是,则得到表征目标设备正常的监测结果,若否,则得到表征目标设备异常的监测结果。An electronic device provided in an embodiment of the present application includes a memory 201 and a processor 202. A computer program is stored in the memory 201. When the processor 202 executes the computer program, the following steps are implemented: determining whether the residual value is within a preset range, and if so, obtaining a monitoring result characterizing that the target device is normal; if not, obtaining a monitoring result characterizing that the target device is abnormal.
请参阅图4,本申请实施例提供的另一种电子设备中还可以包括:与处理器202连接的输入端口203,用于传输外界输入的命令至处理器202;与处理器202连接的显示单元204,用于显示处理器202的处理结果至外界;与处理器202连接的通信模块205,用于实现电子设备与外界的通信。显示单元204可以为显示面板、激光扫描使显示器等;通信模块205所采用的通信方式包括但不局限于移动高清链接技术(HML)、通用串行总线(USB)、高清多媒体接口(HDMI)、无线连接:无线保真技术(WiFi)、蓝牙通信技术、低功耗蓝牙通信技术、基于IEEE802.11s的通信技术。Please refer to Figure 4. Another electronic device provided in the embodiment of the present application may also include: an input port 203 connected to the processor 202, used to transmit commands input from the outside to the processor 202; a display unit 204 connected to the processor 202, used to display the processing results of the processor 202 to the outside; a communication module 205 connected to the processor 202, used to realize the communication between the electronic device and the outside. The display unit 204 can be a display panel, a laser scanning display, etc.; the communication mode adopted by the communication module 205 includes but is not limited to mobile high-definition link technology (HML), universal serial bus (USB), high-definition multimedia interface (HDMI), wireless connection: wireless fidelity technology (WiFi), Bluetooth communication technology, low-power Bluetooth communication technology, and communication technology based on IEEE802.11s.
本申请实施例提供的一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如下步骤:An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
获取目标设备在当前时刻下的一组实时监测数据,实时监测数据包括预设数量的数据类型的当前数据值;Obtain a set of real-time monitoring data of the target device at the current moment, the real-time monitoring data including current data values of a preset number of data types;
获取目标设备的预设数量组的历史监测数据,历史监测数据包括预设数量的数据类型的历史数据值;Acquire a preset number of groups of historical monitoring data of the target device, the historical monitoring data including historical data values of a preset number of data types;
计算实时监测数据与每个历史监测数据的欧式距离值;Calculate the Euclidean distance between the real-time monitoring data and each historical monitoring data;
将所有的欧式距离值向量化为权重基数;Vectorize all Euclidean distance values into weighted bases;
基于权重基数及历史监测数据确定目标设备在当前时刻下的预估监测数据;Determine the estimated monitoring data of the target device at the current moment based on the weight base and historical monitoring data;
计算预估监测数据与实时监测数据间的残差值;Calculate the residual value between the estimated monitoring data and the real-time monitoring data;
基于残差值判断目标设备是否异常,得到相应的监测结果。Based on the residual value, it is determined whether the target device is abnormal and the corresponding monitoring result is obtained.
本申请实施例提供的一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如下步骤:在将所有的欧式距离值向量化为权重基数之前,计算历史监测数据的相似密度矩阵;基于相似密度矩阵优化实时监测数据与每个历史监测数据的欧式距离值。
An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: before all Euclidean distance values are vectorized into weight bases, a similarity density matrix of historical monitoring data is calculated; based on the similarity density matrix, the Euclidean distance value between the real-time monitoring data and each historical monitoring data is optimized.
本申请实施例提供的一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如下步骤:通过第一计算公式,计算预设数量组的历史监测数据的任意两个历史监测数据间的相似度值;An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: calculating the similarity value between any two historical monitoring data of a preset number of groups of historical monitoring data by a first calculation formula;
第一计算公式包括:
X'(j)=[Xj(1)Xj(2)Xj(3)…Xj(m)]T;
X'(k)=[Xk(1)Xk(2)Xk(3)…Xk(m)]T;The first calculation formula includes:
X'(j)=[ Xj (1) Xj (2) Xj (3)… Xj (m)] T ;
X'(k)=[ Xk (1) Xk (2) Xk (3)… Xk (m)] T ;
X'(j)=[Xj(1)Xj(2)Xj(3)…Xj(m)]T;
X'(k)=[Xk(1)Xk(2)Xk(3)…Xk(m)]T;The first calculation formula includes:
X'(j)=[ Xj (1) Xj (2) Xj (3)… Xj (m)] T ;
X'(k)=[ Xk (1) Xk (2) Xk (3)… Xk (m)] T ;
其中,X'(j)表示第j个数据类型的历史数据值;X'(k)表示第k个数据类型的历史数据值;Sim(j,k)表示第j个数据类型的历史数据值与第k个数据类型的历史数据值间的相似度值;Xj(a)表示第j个数据类型的第a个历史数据值,Xk(a)表示第k个数据类型的第a个历史数据值,1≤a≤m,m表示预设数量组的值;T表示转置;||||表示取绝对值;Wherein, X'(j) represents the historical data value of the jth data type; X'(k) represents the historical data value of the kth data type; Sim(j,k) represents the similarity value between the historical data value of the jth data type and the historical data value of the kth data type; Xj (a) represents the ath historical data value of the jth data type, Xk (a) represents the ath historical data value of the kth data type, 1≤a≤m, m represents the value of the preset number group; T represents transposition; |||| represents taking the absolute value;
计算所有两两历史监测数据间的相似度值,得到历史监测数据的相似密度矩阵,相似密度矩阵如下式所示:
Calculate the similarity values between all pairwise historical monitoring data to obtain the similarity density matrix of historical monitoring data. The similarity density matrix is shown in the following formula:
Calculate the similarity values between all pairwise historical monitoring data to obtain the similarity density matrix of historical monitoring data. The similarity density matrix is shown in the following formula:
其中,Sim表示相似度值组成的相似密度矩阵;X′(b)表示第b个数据类型的历史数据值,X′'(d)表示第d个数据类型的历史数据值,1≤b≤n,1≤d≤n;n表示预设数量的值。Among them, Sim represents the similarity density matrix composed of similarity values; X′(b) represents the historical data value of the b-th data type, X′'(d) represents the historical data value of the d-th data type, 1≤b≤n, 1≤d≤n; n represents a preset number of values.
本申请实施例提供的一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如下步骤:通过第二计算公式,基于相似密度矩阵优化实时监测数据与每个历史监测数据的欧式距离值;An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: optimizing the Euclidean distance value between the real-time monitoring data and each historical monitoring data based on the similarity density matrix by using a second calculation formula;
第二计算公式包括:
The second calculation formula includes:
The second calculation formula includes:
其中,X(obs)表示实时监测数据;X(i)表示第i组历史监测数据,1≤i≤m,m表示预设数量组的值;Xf(i)表示第i组历史监测数据中第f个数据类型的历史数据值,Xf(obs)表示实时监测数据中第f个数据类型的当前数据值,1≤f≤n;disi(X(i),X(obs))表示第i组历史监测数据与实时监测数据间的优化后的欧式距离值。Among them, X(obs) represents real-time monitoring data; X(i) represents the i-th group of historical monitoring data, 1≤i≤m, and m represents the value of a preset number of groups; Xf (i) represents the historical data value of the f-th data type in the i-th group of historical monitoring data, and Xf (obs) represents the current data value of the f-th data type in the real-time monitoring data, 1≤f≤n; disi (X(i),X(obs)) represents the optimized Euclidean distance value between the i-th group of historical monitoring data and the real-time monitoring data.
本申请实施例提供的一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如下步骤:基于高斯核函数变换,将所有的欧式距离值向量化为权重基数。An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: based on a Gaussian kernel function transformation, all Euclidean distance values are vectorized into a weight base.
本申请实施例提供的一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如下步骤:高斯核函数变换的公式包括:
An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: the formula of Gaussian kernel function transformation includes:
An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: the formula of Gaussian kernel function transformation includes:
其中,W表示权重基数;wi表示第i组历史监测数据的权重值;h表示核函数的带宽;T表示转置。Among them, W represents the weight base; wi represents the weight value of the i-th group of historical monitoring data; h represents the bandwidth of the kernel function; and T represents transpose.
本申请实施例提供的一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如下步骤:通过第三计算公式,基于权重基数及历史监测数据确定目标设备在当前时刻下的预估监测数据;An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: determining the estimated monitoring data of the target device at the current moment based on the weight base and the historical monitoring data by using a third calculation formula;
第三计算公式包括:
The third calculation formula includes:
The third calculation formula includes:
其中,Xest表示预估监测数据。Among them, X est represents the estimated monitoring data.
本申请实施例提供的一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如下步骤:判断残差值是否在预设范围内,若是,则得到表征目标设备正常的监测结果,若否,则得到表征目标设备异常的监测结果。A computer-readable storage medium is provided in an embodiment of the present application, and a computer program is stored in the computer-readable storage medium. When the computer program is executed by a processor, the following steps are implemented: determining whether the residual value is within a preset range, and if so, obtaining a monitoring result characterizing that the target device is normal; if not, obtaining a monitoring result characterizing that the target device is abnormal.
本申请所涉及的计算机可读存储介质包括随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、
硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质。The computer-readable storage medium involved in this application includes random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, Hard disk, removable disk, CD-ROM, or any other form of storage medium known in the technical field.
本申请实施例提供的一种设备监督系统、设备及计算机可读存储介质中相关部分的说明请参见本申请实施例提供的设备监督方法中对应部分的详细说明,在此不再赘述。另外,本申请实施例提供的上述技术方案中与现有技术中对应技术方案实现原理一致的部分并未详细说明,以免过多赘述。For the description of the relevant parts of the device monitoring system, device and computer-readable storage medium provided in the embodiments of the present application, please refer to the detailed description of the corresponding parts in the device monitoring method provided in the embodiments of the present application, which will not be repeated here. In addition, the parts of the above technical solutions provided in the embodiments of the present application that are consistent with the corresponding technical solutions in the prior art are not described in detail to avoid excessive elaboration.
还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
对所公开的实施例的上述说明,使本领域技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。
The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims (11)
- 一种设备监督方法,其特征在于,包括:A device supervision method, characterized by comprising:获取目标设备在当前时刻下的一组实时监测数据,所述实时监测数据包括预设数量的数据类型的当前数据值;Acquire a set of real-time monitoring data of the target device at the current moment, wherein the real-time monitoring data includes current data values of a preset number of data types;获取目标设备的预设数量组的历史监测数据,所述历史监测数据包括所述预设数量的数据类型的历史数据值;Acquire a preset number of groups of historical monitoring data of the target device, the historical monitoring data including historical data values of the preset number of data types;计算所述实时监测数据与每个所述历史监测数据的欧式距离值;Calculating the Euclidean distance between the real-time monitoring data and each of the historical monitoring data;将所有的所述欧式距离值向量化为权重基数;Vectorizing all of the Euclidean distance values into weight bases;基于所述权重基数及所述历史监测数据确定所述目标设备在当前时刻下的预估监测数据;Determine the estimated monitoring data of the target device at the current moment based on the weight base and the historical monitoring data;计算所述预估监测数据与所述实时监测数据间的残差值;Calculating a residual value between the estimated monitoring data and the real-time monitoring data;基于所述残差值判断所述目标设备是否异常,得到相应的监测结果。Whether the target device is abnormal is determined based on the residual value to obtain a corresponding monitoring result.
- 根据权利要求1所述的方法,其特征在于,在所述将所有的所述欧式距离值向量化为权重基数之前,还包括:The method according to claim 1, characterized in that before vectorizing all the Euclidean distance values into weight bases, it also includes:计算所述历史监测数据的相似密度矩阵;Calculating a similarity density matrix of the historical monitoring data;基于所述相似密度矩阵优化所述实时监测数据与每个所述历史监测数据的所述欧式距离值。The Euclidean distance value between the real-time monitoring data and each of the historical monitoring data is optimized based on the similarity density matrix.
- 根据权利要求2所述的方法,其特征在于,所述计算所述历史监测数据的相似密度矩阵,包括:The method according to claim 2, characterized in that the calculating the similarity density matrix of the historical monitoring data comprises:通过第一计算公式,计算所述预设数量组的历史监测数据的任意两个所述历史监测数据间的相似度值;Calculate the similarity value between any two of the historical monitoring data of the preset number of groups through a first calculation formula;所述第一计算公式包括:
X'(j)=[Xj(1)Xj(2)Xj(3)…Xj(m)]T;
X'(k)=[Xk(1)Xk(2)Xk(3)…Xk(m)]T;The first calculation formula includes:
X'(j)=[ Xj (1) Xj (2) Xj (3)… Xj (m)] T ;
X'(k)=[ Xk (1) Xk (2) Xk (3)… Xk (m)] T ;其中,X'(j)表示第j个数据类型的历史数据值;X'(k)表示第k个数据类型的历史数据值;Sim(j,k)表示第j个数据类型的历史数据值与第k个数据类型的历史数据值间的所述相似度值;Xj(a)表示第j个数据类型的第a 个历史数据值,Xk(a)表示第k个数据类型的第a个历史数据值,1≤a≤m,m表示所述预设数量组的值;T表示转置;|| ||表示取绝对值;Wherein, X'(j) represents the historical data value of the j-th data type; X'(k) represents the historical data value of the k-th data type; Sim(j,k) represents the similarity value between the historical data value of the j-th data type and the historical data value of the k-th data type; Xj (a) represents the historical data value of the a-th data type of the j-th data type. historical data values, X k (a) represents the a-th historical data value of the k-th data type, 1≤a≤m, m represents the value of the preset number group; T represents transposition; || | | represents taking the absolute value;计算所有两两历史监测数据间的相似度值,得到所述历史监测数据的相似密度矩阵,所述相似密度矩阵如下式所示:
The similarity values between all pairs of historical monitoring data are calculated to obtain the similarity density matrix of the historical monitoring data. The similarity density matrix is shown in the following formula:
其中,Sim表示所述相似度值组成的相似密度矩阵;X′(b)表示第b个数据类型的历史数据值,X′'(d)表示第d个数据类型的历史数据值,1≤b≤n,1≤d≤n;n表示所述预设数量的值。Among them, Sim represents the similarity density matrix composed of the similarity values; X′(b) represents the historical data value of the b-th data type, X′'(d) represents the historical data value of the d-th data type, 1≤b≤n, 1≤d≤n; n represents the value of the preset number. - 根据权利要求3所述的方法,其特征在于,所述基于所述相似密度矩阵优化所述实时监测数据与每个所述历史监测数据的所述欧式距离值,包括:The method according to claim 3, characterized in that the step of optimizing the Euclidean distance value between the real-time monitoring data and each of the historical monitoring data based on the similarity density matrix comprises:通过第二计算公式,基于所述相似密度矩阵优化所述实时监测数据与每个所述历史监测数据的所述欧式距离值;By using a second calculation formula, optimizing the Euclidean distance value between the real-time monitoring data and each of the historical monitoring data based on the similarity density matrix;所述第二计算公式包括:
The second calculation formula includes:
其中,X(obs)表示所述实时监测数据;X(i)表示第i组所述历史监测数据,1≤i≤m,m表示所述预设数量组的值;Xf(i)表示第i组所述历史监测数据中第f个数据类型的历史数据值,Xf(obs)表示所述实时监测数据中第f个数据类型的当前数据值,1≤f≤n;disi(X(i),X(obs))表示第i组所述历史监测数据与所述实时监测数据间的优化后的所述欧式距离值。Among them, X(obs) represents the real-time monitoring data; X(i) represents the i-th group of historical monitoring data, 1≤i≤m, and m represents the value of the preset number group; Xf (i) represents the historical data value of the f-th data type in the i-th group of historical monitoring data, and Xf (obs) represents the current data value of the f-th data type in the real-time monitoring data, 1≤f≤n; disi (X(i),X(obs)) represents the optimized Euclidean distance value between the i-th group of historical monitoring data and the real-time monitoring data. - 根据权利要求4所述的方法,其特征在于,所述将所有的所述欧式距离值向量化为权重基数,包括:The method according to claim 4, characterized in that the step of vectorizing all the Euclidean distance values into a weighted basis comprises:基于高斯核函数变换,将所有的所述欧式距离值向量化为所述权重基数。Based on Gaussian kernel function transformation, all the Euclidean distance values are vectorized into the weight base.
- 根据权利要求5所述的方法,其特征在于,所述高斯核函数变换的公式包括:
The method according to claim 5, characterized in that the formula of the Gaussian kernel function transformation includes:
其中,W表示所述权重基数;wi表示第i组所述历史监测数据的权重值;h表示核函数的带宽;T表示转置。Wherein, W represents the weight base; wi represents the weight value of the i-th group of historical monitoring data; h represents the bandwidth of the kernel function; and T represents transposition. - 根据权利要求5所述的方法,其特征在于,所述基于所述权重基数及所述历史监测数据确定所述目标设备在当前时刻下的预估监测数据,包括:The method according to claim 5, characterized in that the step of determining the estimated monitoring data of the target device at the current moment based on the weight base and the historical monitoring data comprises:通过第三计算公式,基于所述权重基数及所述历史监测数据确定所述目标设备在当前时刻下的所述预估监测数据;Determine the estimated monitoring data of the target device at the current moment based on the weight base and the historical monitoring data through a third calculation formula;所述第三计算公式包括:
The third calculation formula includes:
其中,Xest表示所述预估监测数据。Wherein, X est represents the estimated monitoring data. - 根据权利要求1至7任一项所述的方法,其特征在于,所述基于所述残差值判断所述目标设备是否异常,得到相应的监测结果,包括:The method according to any one of claims 1 to 7, characterized in that judging whether the target device is abnormal based on the residual value and obtaining the corresponding monitoring result comprises:判断所述残差值是否在预设范围内,若是,则得到表征所述目标设备正常的所述监测结果,若否,则得到表征所述目标设备异常的所述监测结果。It is determined whether the residual value is within a preset range. If so, the monitoring result indicating that the target device is normal is obtained. If not, the monitoring result indicating that the target device is abnormal is obtained.
- 一种设备监督系统,其特征在于,包括:A device monitoring system, characterized in that it comprises:第一获取模块,用于获取目标设备在当前时刻下的一组实时监测数据,所述实时监测数据包括预设数量的数据类型的当前数据值;A first acquisition module, used to acquire a set of real-time monitoring data of the target device at the current moment, wherein the real-time monitoring data includes current data values of a preset number of data types;第二获取模块,用于获取目标设备的预设数量组的历史监测数据,所述历史监测数据包括所述预设数量的数据类型的历史数据值;A second acquisition module is used to acquire a preset number of groups of historical monitoring data of the target device, wherein the historical monitoring data includes historical data values of the preset number of data types;第一计算模块,用于计算所述实时监测数据与每个所述历史监测数据的欧式距离值;A first calculation module, used for calculating the Euclidean distance value between the real-time monitoring data and each of the historical monitoring data;第一转换模块,用于将所有的所述欧式距离值向量化为权重基数;A first conversion module, used for vectorizing all the Euclidean distance values into weight bases;第一确定模块,用于基于所述权重基数及所述历史监测数据确定所述目标设备在当前时刻下的预估监测数据; A first determination module, configured to determine the estimated monitoring data of the target device at the current moment based on the weight base and the historical monitoring data;第二计算模块,用于计算所述预估监测数据与所述实时监测数据间的残差值;A second calculation module, used to calculate the residual value between the estimated monitoring data and the real-time monitoring data;第一判断模块,用于基于所述残差值判断所述目标设备是否异常,得到相应的监测结果。The first judgment module is used to judge whether the target device is abnormal based on the residual value to obtain a corresponding monitoring result.
- 一种电子设备,其特征在于,包括:An electronic device, comprising:存储器,用于存储计算机程序;Memory for storing computer programs;处理器,用于执行所述计算机程序时实现如权利要求1至8任一项所述设备监督方法的步骤。A processor, configured to implement the steps of the device supervision method according to any one of claims 1 to 8 when executing the computer program.
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至8任一项所述设备监督方法的步骤。 A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the device supervision method according to any one of claims 1 to 8 are implemented.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211475013.5 | 2022-11-23 | ||
CN202211475013.5A CN115859127A (en) | 2022-11-23 | 2022-11-23 | Equipment monitoring method, system, equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2024109315A1 true WO2024109315A1 (en) | 2024-05-30 |
Family
ID=85665375
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/120969 WO2024109315A1 (en) | 2022-11-23 | 2023-09-25 | Device supervision method and system, and device and computer-readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115859127A (en) |
WO (1) | WO2024109315A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118590918A (en) * | 2024-08-06 | 2024-09-03 | 浙江省邮电工程建设有限公司 | Carbon emission real-time monitoring method and system |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115859127A (en) * | 2022-11-23 | 2023-03-28 | 杭州安脉盛智能技术有限公司 | Equipment monitoring method, system, equipment and computer readable storage medium |
CN116720150B (en) * | 2023-08-09 | 2023-10-20 | 山东晋工科技有限公司 | Mechanical refrigeration system fault diagnosis method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110377447A (en) * | 2019-07-17 | 2019-10-25 | 腾讯科技(深圳)有限公司 | A kind of abnormal deviation data examination method, device and server |
CN111130940A (en) * | 2019-12-26 | 2020-05-08 | 众安信息技术服务有限公司 | Abnormal data detection method and device and server |
CN112629585A (en) * | 2020-12-02 | 2021-04-09 | 三门核电有限公司 | Equipment on-line monitoring method and device based on multi-dimensional parameter estimation |
CN115859127A (en) * | 2022-11-23 | 2023-03-28 | 杭州安脉盛智能技术有限公司 | Equipment monitoring method, system, equipment and computer readable storage medium |
-
2022
- 2022-11-23 CN CN202211475013.5A patent/CN115859127A/en active Pending
-
2023
- 2023-09-25 WO PCT/CN2023/120969 patent/WO2024109315A1/en unknown
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110377447A (en) * | 2019-07-17 | 2019-10-25 | 腾讯科技(深圳)有限公司 | A kind of abnormal deviation data examination method, device and server |
CN111130940A (en) * | 2019-12-26 | 2020-05-08 | 众安信息技术服务有限公司 | Abnormal data detection method and device and server |
CN112629585A (en) * | 2020-12-02 | 2021-04-09 | 三门核电有限公司 | Equipment on-line monitoring method and device based on multi-dimensional parameter estimation |
CN115859127A (en) * | 2022-11-23 | 2023-03-28 | 杭州安脉盛智能技术有限公司 | Equipment monitoring method, system, equipment and computer readable storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118590918A (en) * | 2024-08-06 | 2024-09-03 | 浙江省邮电工程建设有限公司 | Carbon emission real-time monitoring method and system |
Also Published As
Publication number | Publication date |
---|---|
CN115859127A (en) | 2023-03-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2024109315A1 (en) | Device supervision method and system, and device and computer-readable storage medium | |
WO2021146996A1 (en) | Training method for device metrics goodness level prediction model, and monitoring system and method | |
CN108376184A (en) | A kind of method and system of bridge health monitoring | |
CN117176560B (en) | Monitoring equipment supervision system and method based on Internet of things | |
CN117590159A (en) | Tunnel cable power supply state monitoring method and system based on deep learning | |
CN114550336B (en) | Equipment inspection method and device, computer equipment and storage medium | |
CN112308436A (en) | Power distribution network evaluation diagnosis analysis method, device, equipment and storage medium | |
CN115174639B (en) | Industrial equipment management method and system based on Internet of things | |
CN116028887B (en) | Analysis method of continuous industrial production data | |
TW201301074A (en) | Method of fault detection classification for semiconductor process and system structure thereby | |
CN114819636A (en) | Industrial production data processing method and system based on SPC detection | |
CN117783769B (en) | Power distribution network fault positioning method, system, equipment and storage medium based on visual platform | |
CN118211882B (en) | Product quality management system and method based on big data | |
CN114862167A (en) | Production safety assessment management method and system for manufacturing production line | |
CN118430092A (en) | Data general acquisition method based on MCC system | |
CN115795389A (en) | Method and system for monitoring operation condition of transformer cooling device | |
CN116086537A (en) | Equipment state monitoring method, device, equipment and storage medium | |
CN115618353A (en) | Identification system and method for industrial production safety | |
CN116108604A (en) | Water supply network abnormality detection method, system, equipment and storage medium | |
CN114189506A (en) | Equipment inspection method, device and system | |
WO2024169205A1 (en) | Method, apparatus and system for risk assessment of insulation state of power device, and storage medium | |
CN116258467B (en) | Electric power construction management and control system | |
CN113934536A (en) | Data acquisition method facing edge calculation | |
CN117171366A (en) | Knowledge graph construction method and system for power grid dispatching operation situation | |
CN110222814B (en) | Ethylene cracking furnace tube heavy tube identification method based on embedded DCNN |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23893407 Country of ref document: EP Kind code of ref document: A1 |