Industrial production anomaly detection method based on information mask and related device

By introducing information masks and reconstruction models in industrial production anomaly detection, the problem of poor detection results in existing methods in complex industrial scenarios is solved, and more efficient and generalized abnormal detection capabilities are achieved.

CN119646574AActive Publication Date: 2025-03-18INST OF AUTOMATION CHINESE ACAD OF SCI
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202411704145.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-26
Publication Date
2025-03-18
Estimated Expiration
2044-11-26

AI Technical Summary

Technical Problem

When facing complex and dynamic industrial scenarios, existing industrial production anomaly detection methods are difficult to effectively capture subtle changes and complex patterns in the data, resulting in frequent missed detection and missed detection, and insufficient detection effect and generalization capabilities.

Method used

The industrial production abnormality detection method based on information mask is adopted, and by introducing information mask and reconstruction ideas, the data reconstruction model is used to reconstruct data, and the reconstruction error between the data reconstruction results and the original industrial signal data is obtained, and abnormal detection is performed.

Benefits of technology

It improves the generalization of abnormal detection methods, can realize efficient abnormal detection in different workshops and production lines, adapt to different industrial environments, and realize real-time detection of abnormal situations in industrial production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119646574A_ABST
    Figure CN119646574A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of industrial production monitoring, and discloses an information mask-based industrial production anomaly detection method and a related device. The industrial production anomaly detection method based on the information mask comprises the steps of obtaining original industrial signal data to be detected in industrial production; based on the obtained original industrial signal data, performing data reconstruction by using the trained reconstruction model to obtain a data reconstruction result; and obtaining a reconstruction error between the data reconstruction result and the original industrial signal data, comparing the reconstruction error with a preset reconstruction error threshold, and obtaining an industrial production anomaly detection result based on a comparison result. According to the technical scheme disclosed by the invention, the generalization is enhanced by introducing the information mask and the reconstruction idea, so that the technical scheme can realize efficient anomaly detection in different workshops and different production lines, can adapt to different industrial environments, and can realize real-time detection of abnormal conditions in the industrial production process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of industrial production monitoring, and in particular relates to an industrial production anomaly detection method based on information mask and a related device. Background Art

[0002] In the existing industrial production process, anomaly detection is a key link in quality control and production efficiency optimization. It can not only help companies detect abnormal conditions on the production line in a timely manner and prevent potential product defects, but also reduce downtime and resource waste, significantly improving overall operational efficiency.

[0003] Industrial production systems are becoming increasingly complex, and the scale of data is growing explosively. Existing traditional anomaly detection methods are gradually exposing their limitations. Explanation: Most of the existing traditional anomaly detection methods rely on artificially set fixed thresholds or simple statistical methods based on historical data, such as standard deviation, mean and other statistics to determine whether the data deviates from the normal range. The above existing methods can still play a certain role in the production environment with relatively stable and clear data characteristics; however, in today's highly dynamic and changeable industrial scenarios, the data in the industrial production process often presents nonlinear, high-dimensional, strong noise and other characteristics, making it difficult for fixed thresholds and simple statistical methods to effectively capture subtle changes and complex patterns in the data, resulting in frequent missed detections and false detections, and greatly reducing the detection effect and generalization ability.

[0004] To sum up, with the advancement of technology, especially the integrated application of technologies such as artificial intelligence and big data, industrial anomaly detection is gradually moving towards a new stage of greater intelligence and precision. In order to adapt to the anomaly detection needs of different industrial environments, it is urgent to develop a new industrial production anomaly detection solution. Summary of the invention

[0005] The purpose of the present invention is to provide an industrial production anomaly detection method and related devices based on information masking to solve one or more of the above-mentioned technical problems. The technical solution disclosed in the present invention enhances generalization by introducing information masking and reconstruction ideas, so that the solution of the present invention can achieve efficient anomaly detection in different workshops and different production lines, can adapt to different industrial environments, and can be used for real-time detection of abnormal situations in industrial production processes.

[0006] In order to achieve the above object, the present invention adopts the following technical solutions:

[0007] In a first aspect, the present invention provides an industrial production anomaly detection method based on information masking, comprising the following steps:

[0008] Obtain the original industrial signal data to be detected in industrial production;

[0009] Based on the acquired original industrial signal data, the trained reconstruction model is used to reconstruct the data to obtain the data reconstruction result;

[0010] Obtaining a reconstruction error between a data reconstruction result and the original industrial signal data, and comparing the reconstruction error with a preset reconstruction error threshold, and obtaining an industrial production anomaly detection result based on the comparison result;

[0011] The reconstruction model is provided with a mask network layer, which is used to avoid the original industrial signal data X=[x1, x2,…, x i ,…,x n ] to data reconstruction results In the mapping process, the i-th original data point x i To the i-th reconstructed data point Direct mapping.

[0012] A further improvement of the present invention is that

[0013] In the training step of the reconstruction model, the input data is the original reconstructed data, the output target data is the data reconstruction result of the original reconstructed data, and the model training is completed when the reconstruction error between the input data and the output target data reaches a preset convergence requirement;

[0014] Among them, the reconstruction model first divides the input original reconstructed data into multiple data segments, and then processes each data segment in sequence to obtain the final data reconstruction result; when processing each data segment in sequence, for the selected data segment, multiple convolution kernels are used to perform convolution operations with the selected data segment at the same time, the results of the multiple convolution operations are flattened to form a new sequence, and the new sequence is reduced to one dimension using multiple linear layers to obtain the reconstructed data corresponding to the selected data segment; when multiple convolution kernels are used to perform convolution operations with the data segment at the same time, a mask network layer is inserted between the data segment and the convolution kernel, the input of the mask network layer is the data segment, and the output is the masked data segment, and the convolution kernel and the data segment have the same size.

[0015] A further improvement of the present invention is that

[0016] In the step of dividing the input original reconstructed data into multiple data segments, each data segment includes a selected data point and two data points adjacent before and after the selected data point; wherein, in the data segment corresponding to the first data point, the data points adjacent before the first data point are replaced by 0; and in the data segment corresponding to the last data point, the data points adjacent after the last data point are replaced by 0.

[0017] A further improvement of the present invention is that

[0018] When processing each data segment in sequence, for the selected data segment, multiple convolution kernels are used to perform convolution operations with the data segment at the same time, the results of the multiple convolution operations are flattened to form a new sequence, and the new sequence is reduced to one dimension using a multi-linear layer to obtain reconstructed data corresponding to the selected data segment; when multiple convolution kernels are used to perform convolution operations with the data segment at the same time, a mask network layer is inserted between the data segment and the convolution kernel, the input of the mask network layer is the data segment, and the output is the masked data segment, and the convolution kernel and the data segment have the same size.

[0019] The selected data segment is [x i-1 ,x i ,x i+1 ], the data segment of the mask network layer input is [x i-1 ,x i ,x i+1 ], the output masked data segment is [x i-1 ,0,x i+1 ], the reconstructed data obtained is

[0020] A further improvement of the present invention is that

[0021] In the step of obtaining the reconstruction error between the data reconstruction result and the original industrial signal data,

[0022] Original industrial signal data X = [x1, x2, ..., x i ,…,x n ] and data reconstruction results The reconstruction error is expressed as ||·||2 represents the Euclidean norm.

[0023] In a second aspect, the present invention provides an industrial production anomaly detection system based on information masking, comprising:

[0024] A data acquisition module is used to acquire the original industrial signal data to be detected in industrial production;

[0025] A reconstruction module is used to reconstruct data based on the acquired original industrial signal data using a trained reconstruction model to obtain a data reconstruction result;

[0026] A comparison and analysis module is used to obtain a reconstruction error between the data reconstruction result and the original industrial signal data, and compare the reconstruction error with a preset reconstruction error threshold, and obtain an industrial production anomaly detection result based on the comparison result;

[0027] The reconstruction model is provided with a mask network layer, which is used to avoid the original industrial signal data X=[x1, x2,…, x i ,…,xn ] to data reconstruction results In the mapping process, the i-th original data point x i To the i-th reconstructed data point Direct mapping.

[0028] A further improvement of the present invention is that

[0029] In the training step of the reconstruction model, the input data is the original reconstructed data, the output target data is the data reconstruction result of the original reconstructed data, and the model training is completed when the reconstruction error between the input data and the output target data reaches a preset convergence requirement;

[0030] Among them, the reconstruction model first divides the input original reconstructed data into multiple data segments, and then processes each data segment in sequence to obtain the final data reconstruction result; when processing each data segment in sequence, for the selected data segment, multiple convolution kernels are used to perform convolution operations with the selected data segment at the same time, the results of the multiple convolution operations are flattened to form a new sequence, and the new sequence is reduced to one dimension using multiple linear layers to obtain the reconstructed data corresponding to the selected data segment; when multiple convolution kernels are used to perform convolution operations with the data segment at the same time, a mask network layer is inserted between the data segment and the convolution kernel, the input of the mask network layer is the data segment, and the output is the masked data segment, and the convolution kernel and the data segment have the same size.

[0031] A further improvement of the present invention is that

[0032] In the step of dividing the input original reconstructed data into multiple data segments, each data segment includes a selected data point and two data points adjacent before and after the selected data point; wherein, in the data segment corresponding to the first data point, the data points adjacent before the first data point are replaced by 0; and in the data segment corresponding to the last data point, the data points adjacent after the last data point are replaced by 0.

[0033] A further improvement of the present invention is that

[0034] When processing each data segment in sequence, for the selected data segment, multiple convolution kernels are used to perform convolution operations with the data segment at the same time, the results of the multiple convolution operations are flattened to form a new sequence, and the new sequence is reduced to one dimension using a multi-linear layer to obtain reconstructed data corresponding to the selected data segment; when multiple convolution kernels are used to perform convolution operations with the data segment at the same time, a mask network layer is inserted between the data segment and the convolution kernel, the input of the mask network layer is the data segment, and the output is the masked data segment, and the convolution kernel and the data segment have the same size.

[0035] The selected data segment is [x i-1 ,x i ,xi+1 ], the data segment of the mask network layer input is [x i-1 ,x i ,x i+1 ], the output masked data segment is [x i-1 ,0,x i+1 ], the reconstructed data obtained is

[0036] A further improvement of the present invention is that

[0037] In the step of obtaining the reconstruction error between the data reconstruction result and the original industrial signal data,

[0038] Original industrial signal data X = [x1, x2, ..., x i ,…,x n ] and data reconstruction results The reconstruction error is expressed as ||·||2 represents the Euclidean norm.

[0039] According to a third aspect of the present invention, there is provided an electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for detecting an industrial production anomaly based on information mask as described in any one of the first aspect of the present invention is implemented.

[0040] According to a fourth aspect of the present invention, a non-transitory computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the industrial production anomaly detection method based on information mask as described in any one of the first aspects of the present invention is implemented.

[0041] Compared with the prior art, the present invention has the following beneficial effects:

[0042] The present invention discloses an industrial production anomaly detection method based on information masking, which can be used to perform anomaly detection on industrial signal data in industrial production to obtain anomaly detection results; wherein, the technical solution of the present invention completes anomaly detection based on data reconstruction and information masking, and the reconstruction model performs a masking operation on the input information, thereby avoiding the direct mapping between the reconstructed data and the reconstructed data, forcing the model to learn a more general data pattern to improve the detection level, and improving the generalization of the anomaly detection method. In summary, the present invention enhances generalization by introducing the technical means of information masking and data reconstruction, can achieve efficient anomaly detection in different workshops and different production lines, can adapt to different industrial environments, and can achieve real-time detection of abnormal situations in the industrial production process. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions in the present invention or 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 some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0044] Figure 1 It is a flow chart of an industrial production anomaly detection method based on information mask in an embodiment of the present invention.

[0045] Figure 2 It is a flowchart of information mask operation in an embodiment of the present invention.

[0046] Figure 3 It is a schematic diagram of the architecture of the reconstruction model in an embodiment of the present invention.

[0047] Figure 4 Schematic diagram of the logic of the abnormal scoring mechanism in the embodiment of the present invention.

[0048] Figure 5 It is a schematic diagram of an industrial production anomaly detection system based on information masking in an embodiment of the present invention. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention; it is obvious that the described embodiments and technical solutions are only part of the embodiments of the present invention, not all of the embodiments.

[0050] All other embodiments obtained by those of ordinary skill in the art without creative work based on the technical solutions disclosed in the embodiments of the present invention belong to the scope of protection of the present invention. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0051] See also Figure 1 , an industrial production anomaly detection method based on information mask disclosed in an embodiment of the present invention comprises the following steps:

[0052] Step 1, obtaining the original industrial signal data to be detected in industrial production;

[0053] Step 2, based on the original industrial signal data obtained in step 1, reconstruct the data using the reconstruction model to obtain a data reconstruction result;

[0054] Step 3, obtaining a reconstruction error between the data reconstruction result and the original industrial signal data, and comparing the reconstruction error with a preset reconstruction error threshold, and obtaining an industrial production anomaly detection result based on the comparison result;

[0055] In the reconstruction model, a mask network layer is provided to avoid the original industrial signal data X=[x1,x2,…,x i ,…,x n ] to data reconstruction results In the mapping process, the i-th original data point x i To the i-th reconstructed data point Direct mapping.

[0056] The embodiment of the present invention discloses a new method for detecting anomalies in industrial production, which combines information masking and data reconstruction technology, aiming to improve the wide adaptability of anomaly detection in industrial signal data. Specifically, the embodiment of the present invention proposes an anomaly detection scheme based on information masking, which is specially designed for industrial production environment and can identify abnormal situations in the production process in real time and effectively. The core of the method is to use data reconstruction and information masking technology to process the input industrial signal data, thereby realizing anomaly detection. On the basis of data reconstruction, the present invention implements masking operation on part of the information, that is, hides or modifies part of the data to avoid the model directly relying on the simple mapping relationship between the reconstructed data and the original data. This step prompts the model to learn deeper and more generalized data patterns; through information masking technology, the model is forced to learn the general laws between data rather than the characteristics of specific samples, thereby improving its adaptability in different workshops, production lines and even industrial environments; the combination of information masking and data reconstruction enables the model to capture more subtle abnormal signals, improving the accuracy and sensitivity of anomaly detection.

[0057] To further explain, the model provided by the embodiment of the present invention can effectively detect abnormal individuals in industrial signals. When the model is migrated from experimental data to similar products in different workshops during deployment, the detection performance is better.

[0058] See also Figure 2 and Figure 3 In one embodiment of the present invention, further explanation of the reconstruction model is as follows:

[0059] The input data of the reconstruction model is the original reconstructed data, and the output target data is the data reconstruction result of the original reconstructed data. The input and output should be as consistent as possible. This model is trained on normal data and has not learned the pattern of abnormal samples. Therefore, the reconstruction error when reconstructing abnormal samples will become higher, resulting in poor reliability. In view of the problems existing in the above-mentioned existing reconstruction models, in the reconstruction model of the embodiment of the present invention, different from the scheme of using each dimension of the input data to construct a mapping to the output in the existing traditional network, the technical solution of the present invention sets a mask network layer to avoid the direct mapping of each data segment in the reconstructed data to the data segment corresponding to the data reconstruction result, forcing the model to learn a more general data pattern to improve the detection level.

[0060] Specifically, first, the original reconstructed data is divided into multiple small data segments, such as [x1, x2, x3] is a data segment of length 3; then, a convolution kernel is used to perform a convolution operation on the data segment, and a mask network layer is inserted between the data segment and the convolution kernel. The input of the mask network layer is the data segment, and the output is the masked data segment. For example, the input is [x1, x2, x3], and the output is [x1, 0, x3]. Through this information masking processing method, the data point in the middle of the data segment is lost; the convolution kernel and the data segment have the same size, which ensures that the convolution kernel will not move on the data segment, and the output of the convolution kernel It is a number after the convolution operation; the model uses multiple convolution kernels to perform convolution operations with the data segment at the same time. The results of multiple convolutions will be flattened to form a new sequence. For example, after the data segment [x1, x2, x3] passes through the mask network layer and the convolution operation, a new sequence [y1, y2, y3] is obtained. The new sequence does not contain the information of the x2 data point in the input data segment sequence, which results in information discarding. By masking part of the data, the model is forced to reconstruct the result not to depend on the reconstructed data, but to learn a more global and general data pattern. The new sequence obtained after flattening the convolution result is reduced to 1 dimension using multiple linear layers to obtain the reconstructed data. In addition, by placing multiple mask network layers and convolution kernels in parallel, we can reconstruct the following in the order of [x1,x2,x3], [x2,x3,x4]:

[0061] To explain further, the original reconstructed data sequences x1 and x n Then we use the operation of adding 0 to the beginning part. Specifically, we design [0,x1,x2] and [x n-1 ,x n ,0] is used to get and Will arrive Arrange them in sequence to get the complete data reconstruction result.

[0062] See also Figure 4 In one embodiment of the present invention, a reconstruction error between a data reconstruction result and the original industrial signal data is obtained, and the reconstruction error is compared with a preset reconstruction error threshold, and in the step of obtaining an industrial production anomaly detection result based on the comparison result,

[0063] Original industrial signal data X = [x1, x2, ..., x i ,…,x n ] and data reconstruction results The reconstruction error is expressed as ||·||2 represents the Euclidean norm. If the calculated reconstruction error is greater than a preset reconstruction error threshold, the original industrial signal data is called abnormal data.

[0064] In a further preferred technical solution, the preset reconstruction error threshold is designed as follows: the reconstruction error of each sample is arranged from small to large, and α% of the samples in the last part are abnormal.

[0065] In a specific embodiment of the present invention, taking a specific industrial production scenario as an example, the signal data collected on the production line is first subjected to an information masking operation, and then input into a reconstruction model for training; after the model training is completed, the newly collected data is monitored in real time through an abnormal scoring mechanism to promptly discover and report abnormal situations.

[0066] The following are device embodiments of the present invention, which can be used to implement the method embodiments of the present invention. For details not disclosed in the device embodiments, please refer to the method embodiments of the present invention.

[0067] See also Figure 5 In an embodiment of the present invention, an industrial production anomaly detection system based on information mask is provided, comprising:

[0068] A data acquisition module is used to acquire the original industrial signal data to be detected in industrial production;

[0069] A reconstruction module is used to reconstruct data based on the acquired original industrial signal data using a trained reconstruction model to obtain a data reconstruction result;

[0070] A comparison and analysis module is used to obtain a reconstruction error between the data reconstruction result and the original industrial signal data, and compare the reconstruction error with a preset reconstruction error threshold, and obtain an industrial production anomaly detection result based on the comparison result;

[0071] The reconstruction model is provided with a mask network layer, which is used to avoid the original industrial signal data X=[x1, x2,…, x i ,…,x n] to data reconstruction results In the mapping process, the i-th original data point x i To the i-th reconstructed data point Direct mapping.

[0072] In one embodiment of the present invention, a computer device is provided, the computer device comprising a processor and a memory, the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc., which are the computing core and control core of the terminal, which are suitable for implementing one or more instructions, and are specifically suitable for loading and executing one or more instructions in a computer storage medium to implement the corresponding method flow or corresponding function; the processor described in the embodiment of the present invention can be used to perform the operation of the industrial production anomaly detection method based on information mask.

[0073] In one embodiment of the present invention, a storage medium is provided, specifically a computer-readable storage medium (Memory), which is a memory device in a computer device for storing programs and data. It is understandable that the computer-readable storage medium here can include both built-in storage media in the computer device and, of course, extended storage media supported by the computer device. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM (Random Access Memory) memory, or a non-volatile memory (non-volatile memory), such as at least one disk memory. The processor can load and execute one or more instructions stored in the computer-readable storage medium to implement the corresponding steps of the industrial production anomaly detection method based on information mask in the above embodiment.

[0074] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) that contain computer-usable program code.

[0075] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0076] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0077] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0078] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for detecting anomalies in industrial production based on information masking, characterized in that: The following steps are involved: Obtain the original industrial signal data to be detected in industrial production; Based on the acquired original industrial signal data, the trained reconstruction model is used to reconstruct the data to obtain the data reconstruction result; Obtaining a reconstruction error between a data reconstruction result and the original industrial signal data, and comparing the reconstruction error with a preset reconstruction error threshold, and obtaining an industrial production anomaly detection result based on the comparison result; The reconstruction model is provided with a mask network layer, which is used to avoid the original industrial signal data X=[x1, x2,…, x i ,…,x n ] to data reconstruction results In the mapping process, the i-th original data point x i To the i-th reconstructed data point Direct mapping.

2. The method for detecting anomalies in industrial production based on information mask according to claim 1, characterized in that: In the training step of the reconstruction model, the input data is the original reconstructed data, the output target data is the data reconstruction result of the original reconstructed data, and the model training is completed when the reconstruction error between the input data and the output target data reaches a preset convergence requirement; Among them, the reconstruction model first divides the input original reconstructed data into multiple data segments, and then processes each data segment in sequence to obtain the final data reconstruction result; when processing each data segment in sequence, for the selected data segment, multiple convolution kernels are used to perform convolution operations with the selected data segment at the same time, the results of the multiple convolution operations are flattened to form a new sequence, and the new sequence is reduced to one dimension using multiple linear layers to obtain the reconstructed data corresponding to the selected data segment; when multiple convolution kernels are used to perform convolution operations with the data segment at the same time, a mask network layer is inserted between the data segment and the convolution kernel, the input of the mask network layer is the data segment, and the output is the masked data segment, and the convolution kernel and the data segment have the same size.

3. The method for detecting anomalies in industrial production based on information mask according to claim 2, characterized in that: In the step of dividing the input original reconstructed data into multiple data segments, each data segment includes a selected data point and two data points adjacent before and after the selected data point; wherein, in the data segment corresponding to the first data point, the data points adjacent before the first data point are replaced by 0; and in the data segment corresponding to the last data point, the data points adjacent after the last data point are replaced by 0.

4. The method for detecting anomalies in industrial production based on information mask according to claim 3, characterized in that: When processing each data segment in sequence, for the selected data segment, multiple convolution kernels are used to perform convolution operations with the data segment at the same time, the results of the multiple convolution operations are flattened to form a new sequence, and the new sequence is reduced to one dimension using a multi-linear layer to obtain reconstructed data corresponding to the selected data segment; when multiple convolution kernels are used to perform convolution operations with the data segment at the same time, a mask network layer is inserted between the data segment and the convolution kernel, the input of the mask network layer is the data segment, and the output is the masked data segment, and the convolution kernel and the data segment have the same size. The selected data segment is [x i-1 ,x i ,x i+1 ], the data segment of the mask network layer input is [x i-1 ,x i ,x i+1 ], the output masked data segment is [x i-1 ,0,x i+1 ], the reconstructed data obtained is 5. The method for detecting anomalies in industrial production based on information mask according to claim 1, characterized in that: In the step of obtaining the reconstruction error between the data reconstruction result and the original industrial signal data, Original industrial signal data X = [x1, x2, ..., x i ,…,x n ] and data reconstruction results The reconstruction error is expressed as ||·||2 represents the Euclidean norm.

6. An industrial production anomaly detection system based on information masking, characterized in that: include: A data acquisition module is used to acquire the original industrial signal data to be detected in industrial production; A reconstruction module is used to reconstruct data based on the acquired original industrial signal data using a trained reconstruction model to obtain a data reconstruction result; A comparison and analysis module is used to obtain a reconstruction error between the data reconstruction result and the original industrial signal data, and compare the reconstruction error with a preset reconstruction error threshold, and obtain an industrial production anomaly detection result based on the comparison result; The reconstruction model is provided with a mask network layer, which is used to avoid the original industrial signal data X=[x1, x2,…, x i ,…,x n ] to data reconstruction results In the mapping process, the i-th original data point x i To the i-th reconstructed data point Direct mapping.

7. The industrial production anomaly detection system based on information mask according to claim 6 is characterized in that: In the training step of the reconstruction model, the input data is the original reconstructed data, the output target data is the data reconstruction result of the original reconstructed data, and the model training is completed when the reconstruction error between the input data and the output target data reaches a preset convergence requirement; Among them, the reconstruction model first divides the input original reconstructed data into multiple data segments, and then processes each data segment in sequence to obtain the final data reconstruction result; when processing each data segment in sequence, for the selected data segment, multiple convolution kernels are used to perform convolution operations with the selected data segment at the same time, the results of the multiple convolution operations are flattened to form a new sequence, and the new sequence is reduced to one dimension using multiple linear layers to obtain the reconstructed data corresponding to the selected data segment; when multiple convolution kernels are used to perform convolution operations with the data segment at the same time, a mask network layer is inserted between the data segment and the convolution kernel, the input of the mask network layer is the data segment, and the output is the masked data segment, and the convolution kernel and the data segment have the same size.

8. The industrial production anomaly detection system based on information mask according to claim 7 is characterized in that: In the step of dividing the input original reconstructed data into multiple data segments, each data segment includes a selected data point and two data points adjacent before and after the selected data point; wherein, in the data segment corresponding to the first data point, the data points adjacent before the first data point are replaced by 0; and in the data segment corresponding to the last data point, the data points adjacent after the last data point are replaced by 0.

9. The industrial production anomaly detection system based on information mask according to claim 8, characterized in that: When processing each data segment in sequence, for the selected data segment, multiple convolution kernels are used to perform convolution operations with the data segment at the same time, the results of the multiple convolution operations are flattened to form a new sequence, and the new sequence is reduced to one dimension using a multi-linear layer to obtain reconstructed data corresponding to the selected data segment; when multiple convolution kernels are used to perform convolution operations with the data segment at the same time, a mask network layer is inserted between the data segment and the convolution kernel, the input of the mask network layer is the data segment, and the output is the masked data segment, and the convolution kernel and the data segment have the same size. The selected data segment is [x i-1 ,x i ,x i+1 ], the data segment of the mask network layer input is [x i-1 ,x i ,x i+1 ], the output masked data segment is [x i-1 ,0,x i+1 ], the reconstructed data obtained is 10. The industrial production anomaly detection system based on information mask according to claim 6, characterized in that: In the step of obtaining the reconstruction error between the data reconstruction result and the original industrial signal data, Original industrial signal data X = [x1, x2, ..., x i ,…,x n ] and data reconstruction results The reconstruction error is expressed as ||·||2 represents the Euclidean norm.

11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the industrial production anomaly detection method based on information mask according to any one of claims 1 to 5 is implemented.

12. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for detecting anomalies in industrial production based on information masks according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Time sequence signal point anomaly detection method, system, equipment and medium

    CN114265882A

  • KPI anomaly detection method fusing Bi-TCN and resisting VAE

    CN116522264A

  • Industrial internet time series data anomaly detection method and device

    CN116522265A

  • Industrial defect detection method and system

    CN116580014A

  • Method for constructing image anomaly detection model based on mask multi-modal generative adversarial network

    CN116994044A