Production system inspection method and device, computer equipment and storage medium
Through the automated inspection method and target detection model, the problem of low inspection efficiency of the production system is solved, fast and accurate anomaly detection and alarm notification are achieved, and the inspection quality and work efficiency are improved.
Patent Information
- Application Number
- CN202410820938.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-10-11
AI Technical Summary
In the existing technology, production system inspections rely on manual inspection of large amounts of data on the monitoring platform, resulting in heavy workload and low efficiency. It is easy to miss or misjudge, and hidden dangers cannot be discovered accurately in a timely manner.
By obtaining the current time to determine whether it meets the inspection frequency, automatically execute pre-built inspection tasks, call the pre-trained target detection model to detect abnormalities on the monitoring platform indicator interface, generate alarm notification information and push it to relevant personnel.
It realizes an automatic and fast production system inspection and alarm notification process, reduces the reliance on manual judgment, improves inspection efficiency and accuracy, and promptly discovers hidden dangers in the production system.
Smart Images

Figure CN118764585A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a production system inspection method, device, computer equipment and storage medium. Background Art
[0002] As a special lamp, explosion-proof lamps are mainly used in dangerous places where flammable gases and dust exist. Explosion-proof lamps can prevent the arc, sparks and high temperature that may be generated inside the lamp from igniting the flammable gases and dust in the surrounding environment, thereby meeting the explosion-proof requirements. With the rapid development of explosion-proof lamp production enterprises, explosion-proof lamps are exported to all parts of the world. In order to achieve standardized management of the production of explosion-proof lamps, currently, for explosion-proof lamps, explosion-proof enterprises usually develop a production system for data monitoring and production visualization of explosion-proof lamps in the production process. In related technologies, the production system can collect production information of explosion-proof lamps in the production process in real time, such as production environment, production status, production quantity, production abnormality information, etc., and can analyze and warn the production information of explosion-proof lamps, so as to ensure the safe, efficient and intelligent production of explosion-proof lamps. Since the production system plays an important role in data monitoring and production visualization of explosion-proof lamps in the production process, it is very important to carry out inspections on the production system. Inspections on the production system are conducive to ensuring the smooth and reliable operation of the production system.
[0003] In the prior art, the inspection of production systems is mainly completed by using a monitoring platform + manual troubleshooting. The on-duty personnel of the production system need to complete the inspection of the production system at fixed time nodes by checking the monitoring indicators of all relevant system services corresponding to the production system in the monitoring platform, and judging the health status of the system services based on personal experience. However, since the monitoring platform contains a large amount of data on the monitoring indicators of the production system, the on-duty personnel need to judge the health status of the system services through the naked eye and personal experience, which results in heavy workload, low inspection efficiency, and easy omissions or misjudgments. The inspection quality of the production system cannot be guaranteed, and it is impossible to timely and accurately discover the hidden dangers in the production system. Summary of the invention
[0004] The main purpose of the present invention is to provide a production system inspection method, device, computer equipment and storage medium, aiming to solve the technical problems in the prior art that, due to the large amount of data on monitoring indicators of the production system contained in the monitoring platform, on-duty personnel are required to judge the health status of the system service by naked eyes and personal experience, resulting in heavy workload, low inspection efficiency, and easy omissions or misjudgments. The inspection quality of the production system cannot be guaranteed, and the hidden dangers in the production system cannot be discovered in a timely and accurate manner.
[0005] To achieve the above object, the present invention provides a production system inspection method, the method comprising:
[0006] Obtain the current time and determine whether the current time meets the preset inspection frequency;
[0007] If yes, execute a pre-built automatic inspection task to take a screenshot of the indicator interface in the preset monitoring platform to obtain a target image; wherein the monitoring platform is a pre-built platform for monitoring the service indicator data of the preset production system;
[0008] Calling a pre-trained target detection model to perform anomaly detection processing on the target image to obtain an anomaly detection result corresponding to the target image;
[0009] Determine whether the abnormal detection result meets the preset alarm condition;
[0010] If so, generating an alarm notification message corresponding to the abnormal detection result;
[0011] The alarm notification information is pushed to the alarm receiving personnel.
[0012] Optionally, before calling a pre-trained target detection model to perform anomaly detection processing on the target image to obtain an anomaly detection result corresponding to the target image, the method further includes:
[0013] Collecting screenshots of abnormal indicators in the monitoring platform;
[0014] Constructing a sample data set based on the abnormal indicator screenshots;
[0015] Call the initial detection model;
[0016] The initial detection model is trained and tested based on the sample data set to obtain the target detection model that meets the preset model evaluation conditions.
[0017] Optionally, the training and testing the initial detection model based on the sample data set to obtain the target detection model that meets preset model evaluation conditions includes:
[0018] Performing image enhancement processing on the sample data set to obtain a specified sample data set;
[0019] Dividing the specified sample data set into a training data set and a test data set according to a preset ratio;
[0020] Training the initial detection model based on the training data set to obtain a trained initial detection model;
[0021] Testing the trained initial detection model based on the test data set;
[0022] If the trained initial detection model passes the test, the trained initial detection model is used as the target detection model.
[0023] Optionally, the testing the trained initial detection model based on the test data set includes:
[0024] Acquire the test data set; wherein the test data set includes a plurality of test screenshot data and abnormal annotation information corresponding to each of the test screenshot data;
[0025] Inputting the test screenshot data into the trained initial detection model, and obtaining the first anomaly detection results output by the trained initial detection model and corresponding to each of the test screenshot data;
[0026] Based on the anomaly labeling information, selecting a second anomaly detection result with a correct prediction from all the first anomaly detection results;
[0027] Calculating a ratio of the second abnormality detection result to the first abnormality detection result;
[0028] Determining whether the ratio is greater than a preset evaluation threshold;
[0029] If it is greater than the evaluation threshold, it is determined that the trained initial detection model has passed the test; otherwise, it is determined that the trained initial test model has failed the test.
[0030] Optionally, constructing a sample data set based on the abnormal indicator screenshot includes:
[0031] Call the preset annotation tool;
[0032] Receiving annotation information corresponding to the abnormal indicator screenshot input by the first user;
[0033] Performing annotation processing on the abnormal indicator screenshot based on the annotation tool and the annotation information to obtain a processed abnormal indicator screenshot;
[0034] The processed abnormal indicator screenshot is used as the sample data set.
[0035] Optionally, before obtaining the current time and determining whether the current time meets the preset inspection frequency, the method further includes:
[0036] Determining whether an inspection configuration request triggered by a second user is received;
[0037] If yes, display the preset inspection configuration page;
[0038] Receiving the inspection configuration information input by the second user in the inspection configuration page; wherein the inspection configuration information at least includes inspection frequency information and inspection task information;
[0039] An inspection configuration process corresponding to the production system is executed based on the inspection configuration information.
[0040] Optionally, after pushing the alarm notification information to the alarm receiving personnel, the method further includes:
[0041] Acquire processing follow-up data corresponding to the abnormal detection result;
[0042] Obtaining the current life cycle status of the anomaly detection result;
[0043] The current life cycle state of the abnormality detection result is updated based on the processing follow-up data.
[0044] In addition, in order to achieve the above-mentioned purpose, the present invention also provides a production system inspection device, the production system inspection device comprising:
[0045] A first acquisition module is used to acquire the current time and determine whether the current time meets the preset inspection frequency;
[0046] An execution module, for executing a pre-built automatic inspection task, so as to take a screenshot of the indicator interface in a preset monitoring platform to obtain a target image; wherein the monitoring platform is a pre-built platform for monitoring the service indicator data of a preset production system;
[0047] A processing module, used for calling a pre-trained target detection model to perform anomaly detection processing on the target image to obtain an anomaly detection result corresponding to the target image;
[0048] A first judgment module is used to judge whether the abnormal detection result meets the preset alarm condition;
[0049] A generating module, configured to generate, if yes, an alarm notification message corresponding to the abnormal detection result;
[0050] The push module is used to push the alarm notification information to the alarm receiving personnel.
[0051] In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical solution:
[0052] The computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the production system inspection method described in any one of the embodiments of the present application are implemented.
[0053] In order to solve the above technical problems, the embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solution:
[0054] The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the production system inspection method proposed in any one of the embodiments of the present application are implemented.
[0055] Compared with the prior art, the embodiments of the present application have the following beneficial effects:
[0056] The present invention provides a production system inspection method, device, computer equipment and storage medium, the method comprising: obtaining the current time, and judging whether the current time meets the preset inspection frequency; if so, executing a pre-built automatic inspection task to take a screenshot of the indicator interface in the preset monitoring platform to obtain a target image; wherein the monitoring platform is a pre-built platform for monitoring the service indicator data of the preset production system; calling a pre-trained target detection model to perform abnormality detection on the target image to obtain an abnormality detection result corresponding to the target image; judging whether the abnormality detection result meets the preset alarm condition; if so, generating an alarm notification information corresponding to the abnormality detection result; and pushing the alarm notification information to the alarm acceptance personnel. When the present application detects that the current time meets the preset inspection frequency, it will automatically execute a pre-built automatic inspection task to take a screenshot of the indicator interface in the monitoring platform to obtain a target image, and apply the pre-trained target detection model to the inspection work of the production system to perform abnormality detection on the target image to obtain an abnormality detection result corresponding to the target image. And when it is detected that the abnormal detection result meets the alarm condition, the alarm notification information corresponding to the abnormal detection result will be automatically generated and pushed to the corresponding alarm receiving personnel, so as to realize the automatic and rapid completion of the inspection work and alarm notification process of the production system based on the use of the target detection model and the monitoring platform, so that it is no longer necessary to judge the health status of the system service by naked eyes and personal experience, which greatly reduces the inspection workload of the production system and effectively improves the processing efficiency of the inspection work of the production system. In addition, by using the target detection model to perform abnormal detection processing on the target image obtained by screenshot processing of the indicator interface in the monitoring platform, the abnormal detection result corresponding to the target image can be accurately obtained, which improves the processing accuracy and processing intelligence of the abnormal detection of the target image, thereby improving the inspection quality of the production system, helping to assist relevant personnel to timely and accurately discover the hidden dangers in the production system, thereby improving the work efficiency and work experience of the personnel. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0058] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;
[0059] Figure 2is a flow chart of a production system inspection method provided by an embodiment of the present invention;
[0060] Figure 3 is a structural schematic diagram of an embodiment of a production system inspection device according to the present application;
[0061] Figure 4 This is a basic structural block diagram of the computer device in this embodiment. DETAILED DESCRIPTION
[0062] The production system inspection method provided by the embodiment of the present invention is applied to the production system inspection device. Unless otherwise defined, all technical and scientific terms used in this document have the same meaning as those generally understood by technicians in the technical field of this application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of this application or the above-mentioned figures are used to distinguish different objects, not to describe a specific order.
[0063] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0064] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
[0065] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0066] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social online platform software, etc.
[0067] Terminal devices 101, 102, 103 can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III), MP4 (Moving Picture Experts Group Audio Layer IV) players, laptop computers, desktop computers, etc.
[0068] The server 105 may be a server that provides various services, such as a background server that provides support for web pages displayed on the terminal devices 101 , 102 , and 103 .
[0069] It should be noted that the production system inspection method provided in the embodiment of the present application is generally executed by a server / terminal device, and accordingly, the production system inspection device is generally arranged in the server / terminal device.
[0070] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0071] As a special lamp, explosion-proof lamps are mainly used in dangerous places where flammable gases and dust exist. Explosion-proof lamps can prevent the arc, sparks and high temperature that may be generated inside the lamp from igniting the flammable gases and dust in the surrounding environment, thereby meeting the explosion-proof requirements. With the rapid development of explosion-proof lamp production enterprises, explosion-proof lamps are exported to all parts of the world. In order to achieve standardized management of the production of explosion-proof lamps, currently, for explosion-proof lamps, explosion-proof enterprises usually develop a production system for data monitoring and production visualization of explosion-proof lamps in the production process. In related technologies, the production system can collect production information of explosion-proof lamps in the production process in real time, such as production environment, production status, production quantity, production abnormality information, etc., and can analyze and warn the production information of explosion-proof lamps, so as to ensure the safe, efficient and intelligent production of explosion-proof lamps. Since the production system plays an important role in data monitoring and production visualization of explosion-proof lamps in the production process, it is very important to carry out inspections on the production system. Inspections on the production system are conducive to ensuring the smooth and reliable operation of the production system.
[0072] In the prior art, the inspection of production systems is mainly completed by using a monitoring platform + manual troubleshooting. The on-duty personnel of the production system need to complete the inspection of the production system at fixed time nodes by checking the monitoring indicators of all relevant system services corresponding to the production system in the monitoring platform, and judging the health status of the system services based on personal experience. However, since the monitoring platform contains a large amount of data on the monitoring indicators of the production system, the on-duty personnel need to judge the health status of the system services through the naked eye and personal experience, which results in heavy workload, low inspection efficiency, and easy omissions or misjudgments. The inspection quality of the production system cannot be guaranteed, and it is impossible to timely and accurately discover the hidden dangers in the production system.
[0073] Continue to refer Figure 2 , shows a flow chart of an embodiment of the production system inspection method proposed in the present application. The embodiment of the present application can acquire and process relevant data based on artificial intelligence technology.
[0074] The production system inspection method provided by the embodiment of the present invention comprises the following steps:
[0075] S210, obtaining the current time, and determining whether the current time meets the preset inspection frequency.
[0076] In this step, the present invention can be applied to the business scenario of inspection of production systems for data monitoring and production visualization of explosion-proof lamps during the production process, which is developed by explosion-proof enterprises of explosion-proof lamps, and the execution subject of the present invention can be specifically an automatic inspection system that has a communication connection relationship with the production system and has the function of automatically inspecting the production system. Among them, there is no specific limitation on the value of the above inspection frequency, which can be set according to actual usage requirements, for example, it can be set to once every 10 minutes. The historical time of the adjacent inspection of the production system can be obtained, and then the difference between the current time and the historical time can be calculated. If the difference is equal to 10 minutes, it is determined that the current time meets the inspection frequency. If the difference is not equal to 10 minutes, it is determined that the current time temporarily does not meet the inspection frequency. In addition, it is preferred to set the inspection frequency value to a high-frequency inspection frequency. This can increase the frequency of overall inspections of the production system at a very low cost, allowing problems and hidden dangers in the production system to be discovered in near real time, thereby helping relevant personnel to discover problems in the production system more quickly and intervene earlier, which is beneficial to improving the efficiency of handling problems in the production system and ensuring the smooth and reliable operation of the production system.
[0077] S220: If yes, execute the pre-built automatic inspection task to take a screenshot of the indicator interface in the preset monitoring platform to obtain a target image.
[0078] In this step, the above-mentioned automatic inspection task is a pre-set task for taking screenshots of the indicator interface in the preset monitoring platform to obtain the corresponding picture. The above-mentioned monitoring platform is a pre-built platform for monitoring the service indicator data of the production system. The monitoring platform can specifically adopt Grafana, which is a powerful and easy-to-use open source indicator analysis and monitoring visualization platform. It can query indicators from the time series database, and display key indicators in the form of charts and issue alarms, which is suitable for building a monitoring system. It provides powerful and beautiful charts, rich dashboard custom configurations, and its functions can be infinitely extended through plug-ins. Among them, the above-mentioned service indicator data may include data such as CPU usage, disk usage, memory usage, system query rate per second, request delay, etc.
[0079] S230, calling a pre-trained target detection model to perform anomaly detection processing on the target image to obtain an anomaly detection result corresponding to the target image.
[0080] In this step, the target detection model is a pre-built model for completing the target detection of abnormal indicators of the corresponding production system, and the target detection model has the function of detecting abnormal targets in the indicator screenshot corresponding to the production system. The target image can be input into the target detection model, and the target image can be subjected to abnormal detection processing based on the target detection technology by the target detection model, and the abnormal part in the target image can be found, and then the abnormal detection result corresponding to the target image can be output. Among them, the abnormal detection result includes all abnormal information sets of the target image, and the abnormal information in the abnormal information set can at least include abnormal category, abnormal area coordinate information, confidence and other information. In addition, the abnormal detection result and the problem annotation can be further superimposed and drawn on the original target image to obtain a superimposed image and save it, and then the superimposed image is pushed to the alarm acceptance personnel, so that the alarm acceptance personnel can clearly understand the abnormality of the production system by consulting the superimposed image, which is conducive to improving the work experience and work efficiency of the alarm acceptance personnel. In addition, the abnormal detection result corresponding to the target image is obtained, and the abnormal detection result is further stored to ensure the data security of the abnormal detection result.
[0081] S240, determining whether the abnormality detection result meets a preset alarm condition.
[0082] In this step, the above-mentioned alarm condition may be a condition constructed according to the actual abnormal alarm requirements. Exemplarily, if the confidence corresponding to the abnormal category in the abnormal detection result is greater than the preset confidence threshold, the abnormal detection result is determined to meet the alarm condition, and if the confidence corresponding to the abnormal category in the abnormal detection result is less than the preset confidence threshold, the abnormal detection result is determined to not meet the alarm condition. Among them, there is no specific limitation on the value of the above-mentioned confidence threshold, which can be set according to the actual alarm processing requirements.
[0083] S250: If yes, generate an alarm notification message corresponding to the abnormal detection result.
[0084] In this step, the target alarm notification template that matches the abnormality category in the abnormality detection result can be obtained by obtaining the pre-configured target alarm notification template, and then filling the above abnormality detection result into the corresponding position in the target alarm notification template for processing, so as to obtain the alarm notification information corresponding to the abnormality detection result. Among them, for different abnormality categories, alarm notification templates corresponding to various different abnormality categories will be configured in advance, and the template content of the alarm notification template can be written, generated and stored according to the actual alarm processing requirements.
[0085] S260: Push the alarm notification information to the alarm receiving personnel.
[0086] In this step, the alarm receiving personnel may be the current on-duty personnel of the production system. The alarm notification information may be pushed to the alarm receiving personnel by calling the push interface of the office communication software. At the same time, the alarm notification information may also be pushed to the inspection abnormality information synchronization group of the pre-built production system.
[0087] In an embodiment of the present invention, by obtaining the current time, and judging whether the current time meets the preset inspection frequency; if so, executing a pre-built automatic inspection task to take a screenshot of the indicator interface in the preset monitoring platform to obtain a target image; wherein the monitoring platform is a pre-built platform for monitoring the service indicator data of a preset production system; then calling a pre-trained target detection model to perform abnormality detection on the target image to obtain an abnormality detection result corresponding to the target image; subsequently judging whether the abnormality detection result meets the preset alarm condition; if so, generating an alarm notification information corresponding to the abnormality detection result; finally, pushing the alarm notification information to the alarm acceptance personnel. When the present application detects that the current time meets the preset inspection frequency, it will automatically execute a pre-built automatic inspection task to take a screenshot of the indicator interface in the monitoring platform to obtain a target image, and apply the pre-trained target detection model to the inspection work of the production system to perform abnormality detection on the target image to obtain an abnormality detection result corresponding to the target image. And when it is detected that the abnormal detection result meets the alarm condition, the alarm notification information corresponding to the abnormal detection result will be automatically generated and pushed to the corresponding alarm receiving personnel, so as to realize the automatic and rapid completion of the inspection work and alarm notification process of the production system based on the use of the target detection model and the monitoring platform, so that it is no longer necessary to judge the health status of the system service by naked eyes and personal experience, which greatly reduces the inspection workload of the production system and effectively improves the processing efficiency of the inspection work of the production system. In addition, by using the target detection model to perform abnormal detection processing on the target image obtained by screenshot processing of the indicator interface in the monitoring platform, the abnormal detection result corresponding to the target image can be accurately obtained, which improves the processing accuracy and processing intelligence of the abnormal detection of the target image, thereby improving the inspection quality of the production system, helping to assist relevant personnel to timely and accurately discover the hidden dangers in the production system, thereby improving the work efficiency and work experience of the personnel.
[0088] Optionally, before calling a pre-trained target detection model to perform anomaly detection processing on the target image to obtain an anomaly detection result corresponding to the target image, the method further includes:
[0089] Collect screenshots of abnormal indicators in the monitoring platform.
[0090] In this step, the collection of abnormal indicator screenshots can be completed by capturing abnormal indicator data in the monitoring platform and taking screenshots. The abnormal indicator screenshots may at least include screenshot data corresponding to abnormal situations such as spikes, fluctuations, daily limits, and bottoming out.
[0091] A sample data set is constructed based on the abnormal indicator screenshots.
[0092] In this step, the specific implementation process of constructing the sample data set based on the abnormal indicator screenshots will be further described in detail in subsequent specific embodiments, and will not be elaborated on here.
[0093] Call the initial detection model.
[0094] In this step, the above-mentioned initial detection model can specifically adopt YOLO or Faster RCNN. Among them, YOLO (You Only Look Once) is a target detection model that aims to simultaneously locate and classify targets through a single neural network to achieve real-time and efficient target detection. The design concept of the YOLO model is "you only need to look once", that is, the category and position of objects in the image can be predicted through one forward propagation. The core idea of the YOLO model is to transform the target detection task into a regression problem, extract image features through a convolutional neural network, and predict bounding boxes and the category probability of objects in each bounding box. The advantages of the YOLO model are its speed and real-time performance, which can quickly process video streams and the training process is relatively simple. However, YOLO also has some limitations, such as difficulty in detecting small targets and dense targets, and the positioning accuracy of targets may not be as good as some two-stage target detection algorithms. In addition, FasterR-CNN is a target detection model. Compared with Fast R-CNN, it not only improves accuracy while reducing training and testing time, but also introduces a region proposal network (RPN) to optimize the performance bottleneck of FastR-CNN in time. The main innovation of Faster R-CNN lies in the proposed RPN network model, which shares the convolution of the whole image with the detection network and can simultaneously predict the target boundary and objectness score at each location, thereby achieving faster target detection. The network model of Faster R-CNN consists of three modules: Feature extraction network: responsible for extracting features from the input image, and can use VGG16 or ResNet as the backbone network. RPN network: This is a fully convolutional network used to generate candidate region proposals (Region Proposals), which are generated based on the shared feature layer and take almost no extra time. The RPN network predicts the target boundary and objectness score at each location at the same time. Region normalization, object classification, and bounding box regression: This part is responsible for further refinement and classification of the candidate regions generated by the RPN network, including adjusting the size and position of the bounding box and determining the object category. Faster R-CNN is a two-stage object detection algorithm because it first uses the RPN network to generate candidate boxes for rough screening, and then carefully adjusts and classifies these candidate boxes. This two-stage design enables Faster R-CNN to achieve faster detection speed while maintaining high accuracy. In addition, the structure of Faster R-CNN can flexibly adapt to different backbone networks, such as VGG or ResNet, to adapt to different application scenarios and performance requirements.
[0095] The initial detection model is trained and tested based on the sample data set to obtain the target detection model that meets the preset model evaluation conditions.
[0096] In this step, the specific implementation process of training and testing the initial detection model based on the sample data set to obtain the target detection model that meets the preset model evaluation conditions will be further described in detail in the subsequent specific embodiments of this application, and will not be elaborated on here. In addition, after the construction of the target detection model is completed, the target detection model can also be stored in the blockchain network to store and manage the target detection model generated by the training by using the blockchain, thereby effectively ensuring the security and non-tamperability of the target detection model.
[0097] In this embodiment, by collecting screenshots of abnormal indicators in the monitoring platform; then building a sample data set based on the screenshots of abnormal indicators; then calling the initial detection model; and subsequently training and testing the initial detection model based on the sample data set to obtain the target detection model that meets the preset model evaluation conditions, so as to quickly and intelligently build the target detection model required to complete the target detection processing of abnormal indicators of the production system, and then subsequently using the target detection model to perform abnormal detection processing on the target image obtained by taking a screenshot of the indicator interface in the monitoring platform, so as to accurately obtain the abnormal detection result corresponding to the target image, thereby improving the processing accuracy and processing intelligence of the abnormal detection of the target image, effectively improving the processing efficiency of the inspection work of the production system, and improving the inspection quality of the production system.
[0098] Optionally, the training and testing the initial detection model based on the sample data set to obtain the target detection model that meets preset model evaluation conditions includes:
[0099] Perform image enhancement processing on the sample data set to obtain a specified sample data set.
[0100] In this step, the mosaic data enhancement technology can be used to perform image enhancement processing on the sample data set to obtain a specified sample data set. Mosaic data enhancement can merge 4 training images into one at a certain ratio, so that the model can learn how to recognize objects at a smaller scale than normal, and can also significantly reduce the need for large batch sizes in training.
[0101] The specified sample data set is divided into a training data set and a test data set according to a preset ratio.
[0102] In this step, data with a preset ratio can be randomly extracted from the specified sample data set as a training data set, and the remaining data in the specified sample data set can be used as a test data set. In addition, there is no specific limitation on the value of the preset ratio, which can be set according to actual needs. For example, the preset ratio can be set to 75%, that is, 75% of the data can be randomly extracted from the specified sample data set as a training data set, and the remaining 25% of the data in the specified sample data set can be used as a test data set.
[0103] The initial detection model is trained based on the training data set to obtain a trained initial detection model.
[0104] In this step, the training data set includes training screenshot data, and specified abnormal annotation information corresponding to each of the training screenshot data. The initial detection model can be trained using the training data set so that the initial detection model learns the correspondence between the training screenshot data and the specified abnormal annotation information, thereby obtaining the trained initial detection model. The specific training process for the initial detection model can refer to the existing model training process, which will not be repeated here.
[0105] The trained initial detection model is tested based on the test data set.
[0106] In this step, the specific implementation process of testing the trained initial detection model based on the test data set will be further described in detail in subsequent specific embodiments of the present application, and will not be elaborated on here.
[0107] If the trained initial detection model passes the test, the trained initial detection model is used as the target detection model.
[0108] In this step, if the trained initial detection model passes the test, the trained initial detection model is determined to be a model that meets the model evaluation conditions. If the trained initial detection model fails the test, the trained initial detection model is determined to be a model that does not meet the model evaluation conditions. The initial detection model needs to be retrained subsequently until a target detection model that meets the model evaluation conditions is obtained.
[0109] In this embodiment, the designated sample data set is obtained by performing image enhancement processing on the sample data set; then the designated sample data set is divided into a training data set and a test data set according to a preset ratio; then the initial detection model is trained based on the training data set to obtain a trained initial detection model; the trained initial detection model is subsequently tested based on the test data set; if the trained initial detection model passes the test, the trained initial detection model is used as the target detection model. The present application can realize the rapid and intelligent construction of the target detection model required for completing the target detection processing of the abnormal indicators of the production system by training and testing the initial detection model based on the sample data set, so that the target image obtained by screenshot processing of the indicator interface in the monitoring platform by using the target detection model can be accurately obtained. The abnormal detection result corresponding to the target image is improved, the processing accuracy and processing intelligence of the abnormal detection of the target image are improved, and the processing efficiency of the inspection work of the production system is effectively improved, as well as the inspection quality of the production system is improved.
[0110] Optionally, the testing the trained initial detection model based on the test data set includes:
[0111] The test data set is obtained.
[0112] In this step, the test data set may be generated based on the sample data set, and the test data set includes a plurality of test screenshot data and abnormality annotation information corresponding to each of the test screenshot data. The abnormality annotation information may include abnormality category, abnormal area coordinate information, confidence level and other information.
[0113] The test screenshot data are input into the trained initial detection model to obtain the first anomaly detection results output by the trained initial detection model and corresponding to each of the test screenshot data.
[0114] In this step, after the test screenshot data is input into the trained initial detection model, the trained initial detection model will perform anomaly detection processing on the test screenshot data and output a first anomaly detection result corresponding to each of the test screenshot data.
[0115] Based on the anomaly labeling information, a second anomaly detection result with a correct prediction is screened out from all the first anomaly detection results.
[0116] In this step, the above-mentioned correctly predicted second anomaly detection result refers to the anomaly detection result with the same anomaly annotation information as the corresponding test screenshot data among all the first anomaly detection results.
[0117] A ratio of the second abnormality detection result to the first abnormality detection result is calculated.
[0118] It is determined whether the ratio is greater than a preset evaluation threshold.
[0119] In this step, there is no specific limitation on the value of the above evaluation threshold, which can be set according to the actual model evaluation requirements.
[0120] If it is greater than the evaluation threshold, it is determined that the trained initial detection model has passed the test; otherwise, it is determined that the trained initial test model has failed the test.
[0121] In this step, if the ratio is greater than the above-mentioned evaluation threshold, it is determined that the trained initial detection model has passed the test, that is, the trained initial detection model is a model that meets the model evaluation conditions. If the ratio is less than the above-mentioned evaluation threshold, it is determined that the trained initial detection model has not passed the test, that is, the trained initial detection model is a model that does not meet the model evaluation conditions.
[0122] In this embodiment, by obtaining the test data set; wherein the test data set includes a plurality of test screenshot data, and abnormal annotation information corresponding to each of the test screenshot data; then the test screenshot data is input into the trained initial detection model, and the first abnormal detection result corresponding to each of the test screenshot data output by the trained initial detection model is obtained; then based on the abnormal annotation information, the second abnormal detection result with the correct prediction is screened out from all the first abnormal detection results; subsequently, the ratio of the second abnormal detection result to the first abnormal detection result is calculated; finally, it is determined whether the ratio is greater than a preset evaluation threshold; if it is greater than the evaluation threshold, it is determined that the trained initial detection model has passed the test, otherwise it is determined that the trained initial test model has not passed the test. After obtaining the trained initial detection model, the present application will further use the test data set to test the trained initial detection model, and only when the trained initial detection model passes the test, will the trained initial detection model be used as a target detection model that meets the preset model evaluation conditions, thereby ensuring the accuracy of the obtained target detection model. Subsequently, by using the target detection model to perform anomaly detection on the target image obtained by taking a screenshot of the indicator interface in the monitoring platform, the anomaly detection result corresponding to the target image can be accurately obtained, thereby improving the processing accuracy and intelligence of anomaly detection of the target image, effectively improving the processing efficiency of the inspection work of the production system, and improving the inspection quality of the production system.
[0123] Optionally, constructing a sample data set based on the abnormal indicator screenshot includes:
[0124] Invoke the preset annotation tool.
[0125] In this step, the above-mentioned labeling tool can specifically be Label-Studio. Label-Studio is an open source and free data labeling tool that can complete various machine learning and deep learning data labeling tasks such as text classification and image classification. It has a user-friendly interface and rich functions, which can help users to perform data labeling work efficiently.
[0126] Receive annotation information corresponding to the abnormal indicator screenshot input by the first user.
[0127] In this step, the first user may be an operation and maintenance personnel of the production system. The annotation information is the annotation information input by the first user according to actual business needs and matches the abnormal indicator screenshot.
[0128] The abnormal indicator screenshot is annotated based on the annotation tool and the annotation information to obtain a processed abnormal indicator screenshot.
[0129] In this step, after obtaining the above-mentioned annotation information, the annotation tool is controlled to automatically and correspondingly annotate the abnormal indicator screenshot according to the annotation information, thereby obtaining a processed abnormal indicator screenshot.
[0130] The processed abnormal indicator screenshot is used as the sample data set.
[0131] In this embodiment, a preset annotation tool is called; then annotation information corresponding to the abnormal indicator screenshot input by the first user is received; then the abnormal indicator screenshot is annotated based on the annotation tool and the annotation information to obtain a processed abnormal indicator screenshot; and the processed abnormal indicator screenshot is subsequently used as the sample data set. Based on the use of the annotation tool, the present application can automatically and quickly use the annotation information corresponding to the abnormal indicator screenshot input by the first user to complete the annotation processing of the abnormal indicator screenshot, thereby completing the construction of the sample data set, effectively improving the processing efficiency of data annotation, and ensuring the data accuracy of the obtained sample data set.
[0132] Optionally, before obtaining the current time and determining whether the current time meets the preset inspection frequency, the method further includes:
[0133] Determine whether a patrol configuration request triggered by a second user is received.
[0134] In this step, the second user may be an operation and maintenance personnel of the production system. The inspection configuration request is a request triggered by the second user for performing inspection configuration on the production system.
[0135] If yes, the preset inspection configuration page is displayed.
[0136] In this step, the inspection configuration page is a pre-built editable page for assisting users in performing inspection configuration for the production system. Among them, preset inspection configuration guidance information can also be displayed in the inspection configuration guidance box in the inspection configuration page. The inspection configuration guidance information is pre-written and generated according to the inspection configuration requirements of the actual production system to guide users on how to perform standardized inspection configuration of the production system.
[0137] Receive the inspection configuration information input by the second user in the inspection configuration page; wherein the inspection configuration information at least includes inspection frequency information and inspection task information.
[0138] In this step, the second user can input the inspection configuration information including at least the inspection frequency information and the inspection task information in the inspection configuration page according to the actual business requirements of the inspection configuration of the production system. Among them, there is no specific limitation on the value of the above inspection frequency information, which can be set according to the actual usage requirements, for example, it can be set to once every 10 minutes. The above inspection task information refers to the task of triggering the screenshot processing of the indicator interface in the preset monitoring platform and obtaining the corresponding picture when the current time meets the preset inspection frequency.
[0139] An inspection configuration process corresponding to the production system is executed based on the inspection configuration information.
[0140] In this step, after the inspection configuration information is obtained, the inspection configuration for the production system can be performed according to the inspection configuration information, so that the customized configuration of the inspection configuration for the production system can be completed according to the requirements of the inspection configuration information input by the second user.
[0141] In this embodiment, it is determined whether an inspection configuration request triggered by a second user is received; if so, a preset inspection configuration page is displayed; then the inspection configuration information input by the second user in the inspection configuration page is received; wherein the inspection configuration information at least includes inspection frequency information and inspection task information; and subsequently the inspection configuration processing corresponding to the production system is performed based on the inspection configuration information. This application can automatically, quickly and accurately complete the inspection configuration processing for the production system based on the inspection configuration page and the inspection configuration information input by the second user, realize the customized configuration of the inspection configuration for the production system according to the requirements of the inspection configuration information input by the second user, improve the processing intelligence and configuration efficiency of the inspection configuration for the production system, and improve the user experience of the second user.
[0142] Optionally, after pushing the alarm notification information to the alarm receiving personnel, the method further includes:
[0143] Acquire processing follow-up data corresponding to the abnormality detection result.
[0144] In this step, after the alarm notification information is pushed to the alarm acceptance personnel, the alarm acceptance personnel will follow up and solve the abnormal problem existing in the production system corresponding to the abnormal detection result, and will mark and record the follow-up status of the abnormal problem, thereby obtaining the processing follow-up data corresponding to the abnormal detection result.
[0145] Get the current life cycle status of the anomaly detection result.
[0146] In this step, the life cycle status of the abnormal issue may include newly discovered, being followed up, repeated, deferred processing, completed, invalid, etc.
[0147] The current life cycle state of the abnormality detection result is updated based on the processing follow-up data.
[0148] In this step, it can be determined whether the processing follow-up data is the same as the content of the current life cycle state of the abnormal detection result. If the two are not the same, the processing follow-up data is used to replace the current life cycle state of the abnormal detection result. If the two are the same, the current life cycle state of the abnormal detection result is not processed. Among them, by providing life cycle management for the abnormalities existing in the production system, it can help the on-duty personnel and the R&D team to manage all the abnormalities and hidden dangers in the production system and follow up to the end, so that there will be no incidents of hidden danger production systems causing online failures due to manual follow-up negligence. In addition, with the help of the automatic inspection system, the person in charge of team stability can view all the abnormal information found in the current service of the production system through the management console, as well as the follow-up situation, generate anomaly processing information reports, and then easily promote various hidden dangers to the final state of resolution. With the help of the automatic inspection system, the on-duty personnel can save a lot of time for repeated inspections by human flesh, and focus their energy on daily work and the resolution of abnormal problems, thereby greatly improving work efficiency.
[0149] In this embodiment, by obtaining the processing follow-up data corresponding to the anomaly detection result; then obtaining the current life cycle state of the anomaly detection result; and subsequently updating the current life cycle state of the anomaly detection result based on the processing follow-up data. After pushing the alarm notification information to the alarm acceptance personnel, the present application will also intelligently use the obtained processing follow-up data corresponding to the anomaly detection result to update the current life cycle state of the anomaly detection result, so as to realize the automatic update of the life cycle state of the anomaly detection result, improve the processing efficiency and processing intelligence of the update of the life cycle state of the anomaly detection result, and facilitate users to view the latest life cycle state of the anomaly detection result in a timely manner, thereby improving the user's work experience.
[0150] Further references Figure 3 , as a response to the above Figure 2 In order to realize the method shown in the figure, the present application provides an embodiment of a production system inspection device 300, which is similar to Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0151] An embodiment of the present invention provides a production system inspection device 300, the production system inspection device 300 comprising:
[0152] The first acquisition module 310 is used to acquire the current time and determine whether the current time meets the preset inspection frequency;
[0153] An execution module 320 is used to execute a pre-built automatic inspection task to take a screenshot of the indicator interface in a preset monitoring platform to obtain a target image; wherein the monitoring platform is a pre-built platform for monitoring the service indicator data of a preset production system;
[0154] A processing module 330 is used to call a pre-trained target detection model to perform anomaly detection processing on the target image to obtain an anomaly detection result corresponding to the target image;
[0155] A first judgment module 340 is used to judge whether the abnormal detection result meets the preset alarm condition;
[0156] A generating module 350, configured to generate an alarm notification message corresponding to the abnormal detection result;
[0157] The push module 360 is used to push the alarm notification information to the alarm receiving personnel.
[0158] Optionally, the production system inspection device 300 further includes:
[0159] A collection module, used to collect screenshots of abnormal indicators in the monitoring platform;
[0160] A construction module, used to construct a sample data set based on the abnormal indicator screenshot;
[0161] A calling module is used to call the initial detection model;
[0162] The training module is used to train and test the initial detection model based on the sample data set to obtain the target detection model that meets the preset model evaluation conditions.
[0163] Optionally, the training module includes:
[0164] A processing submodule, used for performing image enhancement processing on the sample data set to obtain a specified sample data set;
[0165] A division submodule, used to divide the specified sample data set into a training data set and a test data set according to a preset ratio;
[0166] A training submodule, used for training the initial detection model based on the training data set to obtain a trained initial detection model;
[0167] A testing submodule, used for testing the trained initial detection model based on the test data set;
[0168] A determination submodule is used to use the trained initial detection model as the target detection model if the trained initial detection model passes the test.
[0169] Optionally, the test submodule includes:
[0170] A first acquisition unit is used to acquire the test data set; wherein the test data set includes a plurality of test screenshot data and abnormality annotation information corresponding to each of the test screenshot data;
[0171] A second acquisition unit, used for inputting the test screenshot data into the trained initial detection model, and acquiring the first anomaly detection results output by the trained initial detection model and corresponding to each of the test screenshot data;
[0172] A screening unit, configured to screen out correctly predicted second anomaly detection results from all the first anomaly detection results based on the anomaly labeling information;
[0173] a calculation unit, configured to calculate a ratio of the second abnormality detection result to the first abnormality detection result;
[0174] A judging unit, used to judge whether the ratio is greater than a preset evaluation threshold;
[0175] A determination unit is used to determine that the trained initial detection model has passed the test if it is greater than the evaluation threshold, otherwise determine that the trained initial test model has failed the test.
[0176] Optionally, the building block includes:
[0177] Call submodule, used to call the preset annotation tool;
[0178] A receiving submodule, configured to receive annotation information corresponding to the abnormal indicator screenshot input by a first user;
[0179] A labeling submodule, used for labeling the abnormal indicator screenshot based on the labeling tool and the labeling information to obtain a processed abnormal indicator screenshot;
[0180] A submodule is determined, which is used to take the processed abnormal indicator screenshot as the sample data set.
[0181] Optionally, the production system inspection device 300 further includes:
[0182] A second judgment module is used to judge whether an inspection configuration request triggered by a second user is received;
[0183] Display module, used to display the preset inspection configuration page if yes;
[0184] A receiving module, configured to receive the inspection configuration information input by the second user in the inspection configuration page; wherein the inspection configuration information at least includes inspection frequency information and inspection task information;
[0185] A configuration module is used to perform inspection configuration processing corresponding to the production system based on the inspection configuration information.
[0186] Optionally, the production system inspection device 300 further includes:
[0187] A second acquisition module, used to acquire processing follow-up data corresponding to the abnormality detection result;
[0188] A third acquisition module is used to obtain the current life cycle status of the anomaly detection result;
[0189] An updating module is used to update the current life cycle state of the abnormal detection result based on the processing follow-up data.
[0190] To solve the above technical problems, the present application also provides a computer device. Figure 4 , Figure 4 This is a basic structural block diagram of the computer device in this embodiment.
[0191] The computer device 4 includes a memory 41, a processor 42, and a network interface 43 that are interconnected through a system bus. It should be noted that the figure only shows a computer device 4 with components 41-43, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.
[0192] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.
[0193] The memory 41 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 41 can be an internal storage unit of the computer device 4, such as a hard disk or memory of the computer device 4. In other embodiments, the memory 41 can also be an external storage device of the computer device 4, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), etc. equipped on the computer device 4. Of course, the memory 41 can also include both the internal storage unit of the computer device 4 and its external storage device. In this embodiment, the memory 41 is generally used to store the operating system and various application software installed on the computer device 4, such as the program code of the production system inspection method, etc. In addition, the memory 41 can also be used to temporarily store various types of data that have been output or are to be output.
[0194] The processor 42 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 42 is generally used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is used to run the program code stored in the memory 41 or process data, such as running the program code of the production system inspection method.
[0195] The network interface 43 may include a wireless network interface or a wired network interface. The network interface 43 is generally used to establish a communication connection between the computer device 4 and other electronic devices.
[0196] The present application also provides another implementation, namely, providing a computer-readable storage medium, wherein the computer-readable storage medium stores the application crash processing program, and the application crash processing program can be executed by at least one processor to enable the at least one processor to perform the steps of the production system inspection method as described above.
[0197] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware online platform, and of course, by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0198] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0199] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacement of some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.
Claims
1. A production system inspection method, characterized in that: include: Obtain the current time and determine whether the current time meets the preset inspection frequency; If yes, execute a pre-built automatic inspection task to take a screenshot of the indicator interface in the preset monitoring platform to obtain a target image; wherein the monitoring platform is a pre-built platform for monitoring the service indicator data of the preset production system; Calling a pre-trained target detection model to perform anomaly detection processing on the target image to obtain an anomaly detection result corresponding to the target image; Determine whether the abnormal detection result meets the preset alarm condition; If so, generating an alarm notification message corresponding to the abnormal detection result; The alarm notification information is pushed to the alarm receiving personnel.
2. The method according to claim 1, characterized in that Before calling the pre-trained target detection model to perform anomaly detection processing on the target image to obtain an anomaly detection result corresponding to the target image, the method further includes: Collecting screenshots of abnormal indicators in the monitoring platform; Constructing a sample data set based on the abnormal indicator screenshots; Call the initial detection model; The initial detection model is trained and tested based on the sample data set to obtain the target detection model that meets the preset model evaluation conditions.
3. The method according to claim 2, characterized in that The training and testing of the initial detection model based on the sample data set to obtain the target detection model that meets the preset model evaluation conditions includes: Performing image enhancement processing on the sample data set to obtain a specified sample data set; Dividing the specified sample data set into a training data set and a test data set according to a preset ratio; Training the initial detection model based on the training data set to obtain a trained initial detection model; Testing the trained initial detection model based on the test data set; If the trained initial detection model passes the test, the trained initial detection model is used as the target detection model.
4. The method according to claim 3, characterized in that The testing of the trained initial detection model based on the test data set includes: Acquire the test data set; wherein the test data set includes a plurality of test screenshot data and abnormal annotation information corresponding to each of the test screenshot data; Inputting the test screenshot data into the trained initial detection model, and obtaining the first anomaly detection results output by the trained initial detection model and corresponding to each of the test screenshot data; Based on the anomaly labeling information, selecting a second anomaly detection result with a correct prediction from all the first anomaly detection results; Calculating a ratio of the second abnormality detection result to the first abnormality detection result; Determining whether the ratio is greater than a preset evaluation threshold; If it is greater than the evaluation threshold, it is determined that the trained initial detection model has passed the test; otherwise, it is determined that the trained initial test model has failed the test.
5. The method according to claim 2, characterized in that: The constructing of a sample data set based on the abnormal indicator screenshot includes: Call the preset annotation tool; Receiving annotation information corresponding to the abnormal indicator screenshot input by the first user; Performing annotation processing on the abnormal indicator screenshot based on the annotation tool and the annotation information to obtain a processed abnormal indicator screenshot; The processed abnormal indicator screenshot is used as the sample data set.
6. The method according to claim 1, characterized in that Before obtaining the current time and determining whether the current time meets the preset inspection frequency, the method further includes: Determining whether an inspection configuration request triggered by a second user is received; If yes, display the preset inspection configuration page; Receiving the inspection configuration information input by the second user in the inspection configuration page; wherein the inspection configuration information at least includes inspection frequency information and inspection task information; An inspection configuration process corresponding to the production system is executed based on the inspection configuration information.
7. The method according to claim 1, characterized in that After the alarm notification information is pushed to the alarm receiving personnel, the method further includes: Acquire processing follow-up data corresponding to the abnormal detection result; Obtaining the current life cycle status of the anomaly detection result; The current life cycle state of the abnormality detection result is updated based on the processing follow-up data.
8. A production system inspection device, characterized in that: include: A first acquisition module is used to acquire the current time and determine whether the current time meets the preset inspection frequency; An execution module, for executing a pre-built automatic inspection task, so as to take a screenshot of the indicator interface in a preset monitoring platform to obtain a target image; wherein the monitoring platform is a pre-built platform for monitoring the service indicator data of a preset production system; A processing module, used for calling a pre-trained target detection model to perform anomaly detection processing on the target image to obtain an anomaly detection result corresponding to the target image; A first judgment module is used to judge whether the abnormal detection result meets the preset alarm condition; A generating module, configured to generate, if yes, an alarm notification message corresponding to the abnormal detection result; The push module is used to push the alarm notification information to the alarm receiving personnel.
9. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the production system inspection method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the production system inspection method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Intelligent patrol inspection method, electronic device, intelligent patrol inspection system, and storage medium
CN109299758A
Method for realizing violation safety supervision of gas station inspection operation based on AI identification
CN111932709A
Intelligent inspection method, device and equipment and storage medium
CN114842568A
Hydropower station intelligent management system
CN116664337A
Abnormality detection method and device of index data, storage medium and electronic equipment
CN117149560A
Cited By
Security monitoring method and system for production process of barrel type equipment
CN119169791A
Dynamic combination alarm method based on periodic time switching
CN121545304A
