An industrial Internet security monitoring method and system based on device user portrait
Through equipment classification and portrait construction, combined with threat assessment and integration, the security monitoring problem caused by the diversity of equipment user portraits in the intelligent manufacturing workshop is solved, real-time, unified security monitoring and abnormal behavior detection are achieved, and the security of the intelligent manufacturing workshop is improved. and management efficiency.
Patent Information
- Application Number
- CN202410813405.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-06-24
AI Technical Summary
The diversity of equipment user profiles in smart manufacturing workshops makes it difficult for existing security monitoring methods to achieve real-time monitoring and unified analysis. They lack intelligence and adaptability, and cannot detect potential security threats and abnormal behaviors in a timely manner.
Through equipment classification, portrait construction and abnormal behavior detection of production equipment, monitoring equipment and PC-side equipment in the intelligent manufacturing workshop, combined with threat assessment and integration, a workshop safety monitoring report is generated and uploaded to the central control platform to achieve a comprehensive understanding of equipment behavior. Security monitoring and real-time analytics.
Real-time security monitoring of intelligent manufacturing workshops and timely discovery of abnormal behaviors are achieved, improving the accuracy and efficiency of security monitoring, providing clear security situation information and centralized management, and reducing security risks.
Smart Images

Figure CN118400395B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of industrial Internet security monitoring technology, and in particular to an industrial Internet security monitoring method and system based on device user portraits. Background Art
[0002] With the rapid development of the industrial Internet, smart manufacturing workshops have become an important part of modern industrial production. In smart manufacturing workshops, production equipment, monitoring equipment and computer systems connected by the Internet work together to achieve automation and digitalization of production processes. However, with the widespread application of smart manufacturing, the security issues of the industrial Internet have become increasingly prominent.
[0003] In smart manufacturing workshops, production equipment, monitoring equipment, and computer systems involve equipment of different types and brands. Each device has its own unique characteristics and behavior patterns, so a general and flexible method is needed to build device user portraits. Most of the existing methods are based on static rules or specific domain knowledge, lacking intelligence and adaptability.
[0004] Smart manufacturing workshops need to monitor production equipment, monitoring equipment, and computer systems in real time to detect potential security threats and abnormal behaviors in a timely manner. However, current monitoring methods are often based on post-analysis or offline detection, which cannot meet the needs of real-time monitoring. At the same time, due to the diversity of device user portraits, how to efficiently extract and analyze large amounts of real-time data is also a challenge.
[0005] Different devices have different security monitoring indicators, such as device status, network traffic, and access rights. However, current security monitoring methods often lack a unified indicator system, making it difficult to comprehensively analyze the security status of different devices. In addition, how to combine device user portraits with security monitoring indicators to improve the accuracy and efficiency of monitoring is also an important issue. Summary of the invention
[0006] Based on this, it is necessary for the present invention to provide an industrial Internet security monitoring method and system based on device user portraits to solve at least one of the above-mentioned technical problems.
[0007] To achieve the above purpose, an industrial Internet security monitoring method based on device user portrait includes the following steps:
[0008] Step S1: Classify the equipment in the intelligent manufacturing workshop to obtain a classified equipment identification library table, wherein the fields of the classified equipment identification library table include equipment name, equipment MAC address, equipment firmware fingerprint, equipment model specification and equipment classification identification;
[0009] Step S2: constructing a device portrait of the production equipment based on the classified device identification library table to obtain a user portrait of the production equipment; performing abnormal behavior detection on the production equipment according to the user portrait of the production equipment to obtain a production equipment detection report;
[0010] Step S3: constructing a monitoring device user portrait for the monitoring device based on the classified device identification library table to obtain the monitoring device user portrait; performing monitoring device analysis on the monitoring device according to the monitoring device user portrait to obtain monitoring device detection data;
[0011] Step S4: Modeling the PC-side operation behavior of the PC-side device based on the classified device identification library table to obtain a PC-side user portrait; performing abnormal operation detection on the PC-side device according to the PC-side user portrait to obtain PC-side device detection data;
[0012] Step S5: Based on the production equipment detection report, monitoring equipment detection data and PC-side equipment detection data, a threat assessment is integrated for the intelligent manufacturing workshop to obtain security situation data; the production equipment detection report, monitoring equipment detection data and PC-side equipment detection data are used to generate a workshop security monitoring report according to a preset monitoring report template; the security situation data and the workshop security monitoring report are uploaded to the preset workshop central control platform.
[0013] The present invention models and monitors the behaviors of production equipment, monitoring equipment and PC-end equipment in the intelligent manufacturing workshop, and the scheme realizes comprehensive security monitoring of the entire workshop. This can more comprehensively grasp the safety status of the workshop and help to timely discover potential security threats and abnormal behaviors. By constructing a device profile for each device, a personalized security policy can be customized according to its unique characteristics and behavior patterns. This can more effectively deal with the security threats faced by different types and brands of equipment and improve the accuracy and efficiency of security monitoring. By adopting a monitoring method based on device user profiles, real-time monitoring and analysis of production equipment, monitoring equipment and PC-end equipment can be achieved. Compared with traditional post-analysis or offline detection, this can more timely discover security threats and abnormal behaviors, help to take countermeasures in time and reduce security risks. By generating a workshop safety monitoring report according to a preset monitoring report template based on production equipment test reports, monitoring equipment test data and PC-end equipment test data, unified management and display of security situation data are achieved. This can provide workshop managers with clear security situation information, which helps to timely understand the safety status of the workshop and take corresponding countermeasures. By uploading the security situation data and the workshop safety monitoring report to the preset workshop central control platform, centralized management and analysis of security monitoring data are achieved. This can provide workshop managers with convenient data query and analysis functions, which helps to better manage and maintain the safety of the workshop. In summary, the present invention can improve the accuracy, efficiency and real-time performance of industrial Internet security, help prevent and respond to security threats, and ensure the safe operation of intelligent manufacturing workshops.
[0014] Preferably, the present invention further provides an industrial Internet security monitoring system based on device user portrait, which is used to execute the industrial Internet security monitoring method based on device user portrait as described above. The industrial Internet security monitoring system based on device user portrait includes:
[0015] The equipment classification module is used to classify the equipment in the intelligent manufacturing workshop and obtain the classified equipment identification library table, wherein the fields of the classified equipment identification library table include the equipment name, equipment MAC address, equipment firmware fingerprint, equipment model specification and equipment classification identification;
[0016] The abnormal behavior detection module is used to construct an equipment profile of the production equipment based on the classified equipment identification library table to obtain a production equipment user profile; perform abnormal behavior detection on the production equipment based on the production equipment user profile to obtain a production equipment detection report;
[0017] The monitoring device analysis module is used to construct a monitoring device user portrait for the monitoring device based on the classified device identification library table to obtain the monitoring device user portrait; perform monitoring device analysis on the monitoring device according to the monitoring device user portrait to obtain monitoring device detection data;
[0018] The abnormal operation detection module is used to model the PC operation behavior of the PC device based on the classification device identification library table to obtain the PC user portrait; perform abnormal operation detection on the PC device according to the PC user portrait to obtain PC device detection data;
[0019] The threat assessment fusion module is used to perform threat assessment fusion on the intelligent manufacturing workshop based on the production equipment detection report, monitoring equipment detection data and PC-side equipment detection data to obtain security situation data; generate a workshop security monitoring report based on the production equipment detection report, monitoring equipment detection data and PC-side equipment detection data according to the preset monitoring report template; upload the security situation data and the workshop security monitoring report to the preset workshop central control platform.
[0020] In the present invention, the equipment in the intelligent manufacturing workshop is classified by the equipment classification module, and the equipment portrait is constructed based on the classification equipment identification library table to obtain the user portrait of each type of equipment. This intelligent classification and modeling can more accurately understand the behavioral characteristics of each type of equipment. The abnormal behavior detection module uses the production equipment user portrait to detect abnormal behavior of the production equipment, the monitoring equipment analysis module uses the monitoring equipment user portrait to analyze the monitoring equipment, and the abnormal operation detection module uses the PC end user portrait to detect abnormal operation of the PC end device. This can timely discover the abnormal behavior of the equipment, help to warn and intervene before the security problem occurs, and reduce potential risks. The production equipment detection report, the monitoring equipment detection data and the PC end device detection data are comprehensively evaluated by the threat assessment fusion module to obtain the safety situation data of the workshop. This can comprehensively analyze the safety status of various types of equipment in the workshop and provide a clearer understanding of the safety situation. By automatically generating a workshop safety monitoring report according to a preset monitoring report template, the production equipment detection report, the monitoring equipment detection data and the PC end device detection data are integrated and displayed. This can save the time and energy of managers and improve monitoring efficiency. By uploading the security situation data and workshop safety monitoring reports to the preset workshop central control platform, centralized management and real-time response of security monitoring data are achieved. Managers can check the safety status of the workshop at any time through the central control platform, and take corresponding measures in time when necessary to ensure the safe operation of the workshop. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Other features, objectives and advantages of the present invention will become more apparent from a reading of the detailed description of a non-limiting implementation made with reference to the following accompanying drawings.
[0022] Figure 1 A schematic diagram of the steps of an industrial Internet security monitoring method based on device user portraits according to an embodiment is shown.
[0023] Figure 2A detailed flow chart of step S25 of an embodiment is shown.
[0024] Figure 3 A detailed flow chart of step S26 of an embodiment is shown. DETAILED DESCRIPTION
[0025] The following is a clear and complete description of the technical method of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by technicians in this field without creative work are within the scope of protection of the present invention.
[0026] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.
[0027] It should be understood that, although the terms "first", "second", etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are used only to distinguish one unit from another unit. For example, without departing from the scope of the exemplary embodiments, the first unit may be referred to as the second unit, and similarly the second unit may be referred to as the first unit. The term "and / or" used herein includes any and all combinations of one or more of the listed associated items.
[0028] To achieve this, please refer to Figures 1 to 3 The present invention provides an industrial Internet security monitoring method based on device user portrait, comprising the following steps:
[0029] Step S1: Classify the equipment in the intelligent manufacturing workshop to obtain a classified equipment identification library table, wherein the fields of the classified equipment identification library table include equipment name, equipment MAC address, equipment firmware fingerprint, equipment model specification and equipment classification identification;
[0030] Step S2: constructing a device portrait of the production equipment based on the classified device identification library table to obtain a user portrait of the production equipment; performing abnormal behavior detection on the production equipment according to the user portrait of the production equipment to obtain a production equipment detection report;
[0031] Step S3: constructing a monitoring device user portrait for the monitoring device based on the classified device identification library table to obtain the monitoring device user portrait; performing monitoring device analysis on the monitoring device according to the monitoring device user portrait to obtain monitoring device detection data;
[0032] Step S4: Modeling the PC-side operation behavior of the PC-side device based on the classified device identification library table to obtain a PC-side user portrait; performing abnormal operation detection on the PC-side device according to the PC-side user portrait to obtain PC-side device detection data;
[0033] Step S5: Based on the production equipment detection report, monitoring equipment detection data and PC-side equipment detection data, a threat assessment is integrated for the intelligent manufacturing workshop to obtain security situation data; the production equipment detection report, monitoring equipment detection data and PC-side equipment detection data are used to generate a workshop security monitoring report according to a preset monitoring report template; the security situation data and the workshop security monitoring report are uploaded to the preset workshop central control platform.
[0034] The present invention models and monitors the behaviors of production equipment, monitoring equipment and PC-end equipment in the intelligent manufacturing workshop, and the scheme realizes comprehensive security monitoring of the entire workshop. This can more comprehensively grasp the safety status of the workshop and help to timely discover potential security threats and abnormal behaviors. By constructing a device profile for each device, a personalized security policy can be customized according to its unique characteristics and behavior patterns. This can more effectively deal with the security threats faced by different types and brands of equipment and improve the accuracy and efficiency of security monitoring. By adopting a monitoring method based on device user profiles, real-time monitoring and analysis of production equipment, monitoring equipment and PC-end equipment can be achieved. Compared with traditional post-analysis or offline detection, this can more timely discover security threats and abnormal behaviors, help to take countermeasures in time and reduce security risks. By generating a workshop safety monitoring report according to a preset monitoring report template based on production equipment test reports, monitoring equipment test data and PC-end equipment test data, unified management and display of security situation data are achieved. This can provide workshop managers with clear security situation information, which helps to timely understand the safety status of the workshop and take corresponding countermeasures. By uploading the security situation data and the workshop safety monitoring report to the preset workshop central control platform, centralized management and analysis of security monitoring data are achieved. This can provide workshop managers with convenient data query and analysis functions, which helps to better manage and maintain the safety of the workshop. In summary, the present invention can improve the accuracy, efficiency and real-time performance of industrial Internet security, help prevent and respond to security threats, and ensure the safe operation of intelligent manufacturing workshops.
[0035] In this embodiment, a Python script or an industrial Internet platform is used to classify the equipment in the intelligent manufacturing workshop, and then the equipment information is stored in the classified equipment identification library table. According to the production equipment information in the classified equipment identification library table, the behavior pattern of the production equipment is modeled using machine learning or statistical modeling methods to obtain a user portrait of the production equipment. The video data of the monitoring device is analyzed using image processing technology to extract the characteristics of the monitoring device. Intelligent analysis software, such as a video monitoring system or an artificial intelligence algorithm, is used to analyze the behavior of the monitoring device, build a user portrait of the monitoring device, and understand the characteristics and behavior of the monitoring device. The operation behavior of the PC-side device is monitored and recorded using logging software or a data acquisition tool. The operation behavior of the PC-side device is modeled and analyzed using machine learning or a behavior analysis algorithm to obtain a PC-side user portrait, and the real-time PC-side device operation data is compared with the PC-side user portrait to detect whether there is abnormal operation behavior. Based on the detection results of the abnormal operation behavior, PC-side device detection data is generated, including but not limited to a description of the abnormal operation and timestamp information. A threat intelligence platform or a security information and event management system (SIEM) is used to fuse the production equipment detection report, the monitoring equipment detection data, and the PC-side device detection data for a comprehensive threat assessment. Use report generation software or templates to convert production equipment test reports, monitoring equipment test data, and PC-side equipment test data into visual monitoring reports. Use the API or data upload function provided by the security management platform or industrial Internet platform to upload security situation data and workshop safety monitoring reports to the central control platform.
[0036] Preferably, step S1 comprises the following steps:
[0037] Step S11: Automatically detect and identify all networked devices in the intelligent manufacturing workshop to obtain a device metadata table, wherein the device metadata table includes a number of device metadata, and the device metadata includes a device name, a device MAC address, a device firmware fingerprint, and a device model specification;
[0038] Specifically, use network scanning tools (such as Nmap) to scan the network of the smart manufacturing workshop to obtain the IP address and MAC address of each device. Extract detailed information from each device, such as device name, firmware version, and device model specifications, through the device management database or using the SNMP (Simple Network Management Protocol) method. Summarize all collected information to form a device metadata table. Each row in the table records the information of a device, and the fields include device name, device MAC address, device firmware fingerprint, and device model specifications.
[0039] Step S12: Based on the device metadata table, semantic clustering analysis is performed on all networked devices in the intelligent manufacturing workshop, and all networked devices are divided into production equipment, monitoring equipment and PC-end equipment according to their functions. A unique device classification identifier is assigned to each type of equipment, and a production equipment classification identifier, a workshop monitoring equipment identifier and a PC-end equipment identifier are generated respectively, thereby obtaining a classification device identifier;
[0040] Specifically, data processing tools are used to extract text fields such as device names, device models and specifications of all devices from the device metadata table. These fields are stored in a new data structure. The frequency of the device name and model specification fields is counted, the TF-IDF value of each word is calculated, and it is converted into a corresponding feature vector. The obtained numerical feature vector is merged with other numerical features (such as device MAC address) in the device metadata table. Using data processing tools, these feature vectors are merged into a complete data matrix. The numerical feature matrix is clustered using the K-means clustering algorithm. An appropriate number of clusters (such as 3 categories) is selected, and the numerical feature matrix is input into the K-means clustering algorithm to obtain the cluster label of each device. These cluster labels are assigned to the corresponding devices to complete the device classification. A unique classification identifier is assigned to each type of device. The production equipment class, monitoring equipment class, and PC-side equipment class are respectively assigned specific classification identifiers, and these identifiers are matched with the device categories to generate a table of device classification identification. The classification identification information of all devices is organized into a table. It contains the device name, device MAC address, device firmware fingerprint, device model specification, and device classification identification.
[0041] Step S13: Based on the device metadata table and the classified device identification, a corresponding category identification is assigned to each networked device in the intelligent manufacturing workshop to obtain a classified device identification library table, wherein the fields of the classified device identification library table include device name, device MAC address, device firmware fingerprint, device model specification and device classification identification.
[0042] Specifically, the classification device identification is merged with the device metadata table, and the corresponding classification identification is assigned to each device. The final classification device identification library table is stored in the database. The fields of the table include device name, device MAC address, device firmware fingerprint, device model specification and device classification identification.
[0043] The present invention can automatically obtain metadata of all networked devices in an intelligent manufacturing workshop through automatic detection and identification, including information such as device name, MAC address, firmware fingerprint, and model specifications. This automated method saves time and cost for manual identification and improves the efficiency of obtaining device information. Through semantic clustering analysis, networked devices can be divided into production equipment, monitoring equipment, and PC-end equipment according to the function of the device, and a unique device classification identifier is assigned to each type of device. This can more accurately identify the role and characteristics of the device and provide a more refined basis for subsequent security monitoring. Through the corresponding category identifier allocation, a corresponding device classification identifier can be assigned to each networked device in the intelligent manufacturing workshop, thereby obtaining a classified device identification library table. This makes subsequent security monitoring and management more targeted and effective, and helps to improve the accuracy and efficiency of monitoring. By integrating the information of each networked device in the intelligent manufacturing workshop into the classified device identification library table, unified management and integration of device information is achieved. This helps the system better understand the equipment composition and characteristics of the workshop and provides a more reliable basis for subsequent security monitoring.
[0044] Preferably, step S2 comprises the following steps:
[0045] Step S21: Based on the equipment model specifications and production equipment classification identification in the classification equipment identification library table, the production equipment in the intelligent manufacturing workshop is divided into the same specification equipment to obtain a number of same type equipment database tables, wherein the same type equipment database table contains a number of equipment MAC addresses, and the production equipment represented by the equipment MAC addresses in the same type equipment database table uses the same production equipment user portrait;
[0046] Specifically, a data processing tool is used to filter out the production equipment categories from the classified equipment identification library table, and extract the equipment model specification information and the corresponding equipment classification identification. The production equipment is grouped according to the equipment model specifications to form several similar equipment groups, and the equipment information of the similar equipment groups is added to a database table, thereby obtaining several similar equipment database tables.
[0047] Step S22: collecting historical operating parameters of a number of devices in the same type of device database table to obtain a number of historical operating parameter sequences, wherein the historical operating parameter sequence is a historical operating parameter of a production device in a preset time period;
[0048] Specifically, for each group of similar devices, obtain the MAC address information of the corresponding device from the database table of similar devices. Set a preset time period, such as the past month. Collect the historical operating parameters of each device and record them in the historical operating parameter sequence of the device. Use the sensor data recording system to obtain the various operating parameters of the device within the preset time period, such as temperature, humidity, pressure, and speed. Use the database to store the historical operating parameter sequence of each device in the corresponding data table.
[0049] Step S23: performing abnormality detection and parameter separation on each historical operation parameter sequence to obtain a number of historical abnormal operation parameters, and removing the historical abnormal operation parameters from the corresponding historical operation parameter sequence to obtain a number of historical normal operation parameter sequences;
[0050] Specifically, the Z-score based on statistical methods or the isolation forest algorithm based on machine learning are used to perform anomaly detection on each historical operating parameter sequence to identify abnormal data points. The abnormal data points in the historical operating parameter sequence are separated to obtain several historical abnormal operating parameter sequences. The normal data points in the historical operating parameter sequence are retained to obtain several historical normal operating parameter sequences.
[0051] Step S24: performing time alignment processing on a plurality of historical normal operation parameter sequences to obtain a historical normal operation parameter matrix;
[0052] Specifically, an interpolation method or a dynamic time warping (DTW) algorithm is used to perform timing alignment processing on each historical normal operation parameter sequence to ensure that they have the same time length and sampling interval, thereby obtaining a historical normal operation parameter matrix.
[0053] Step S25: constructing a normal behavior equipment portrait for the production equipment based on the historical normal operation parameter matrix and the historical abnormal operation parameter matrix to obtain a production equipment user portrait;
[0054] Specifically, based on the historical normal operation parameter matrix, the production equipment data during normal operation is analyzed and modeled. Machine learning algorithms (such as clustering and principal component analysis) are used to identify the patterns and characteristics of normal operation. Based on the production equipment data of historical abnormal operation parameters, abnormal behavior patterns are identified. Abnormal behavior is detected and identified using anomaly detection algorithms (such as statistical methods and machine learning-based anomaly detection). The normal operation pattern and the abnormal behavior pattern are combined to construct a user profile of the production equipment to obtain a user profile of the production equipment. This includes but is not limited to normal behavior characteristics, abnormal behavior characteristics, and equipment status indicators of the production equipment.
[0055] Step S26: performing abnormal behavior detection on the production equipment according to the production equipment user portrait to obtain the first production equipment detection data;
[0056] Specifically, the operating parameters collected in real time by the production equipment are monitored and collected to obtain a real-time operating parameter sequence. The real-time collected operating parameter sequence is input into the previously trained anomaly detection model for prediction. If the prediction result shows that the operating status of the current equipment is inconsistent with the user profile, it is judged as abnormal.
[0057] Step S27: when a number of database tables of the same type of equipment are completely traversed, a number of production equipment test data are obtained, and a test report is generated for the number of production equipment test data to obtain a production equipment test report.
[0058] Specifically, the abnormal detection results of each production equipment are integrated to form a number of production equipment detection data. Based on the integrated abnormal detection data, a production equipment detection report is generated. The report includes but is not limited to the abnormal situation, abnormal type, and abnormal time information of each device.
[0059] The present invention can classify the production equipment in the intelligent manufacturing workshop according to the model specifications through the division of equipment with the same specifications, and obtain several database tables of equipment with the same type. This helps to uniformly model and analyze the behavior of equipment with the same specifications, and improves the accuracy and efficiency of modeling. Through historical operation parameter collection and abnormality detection, the historical operation parameters of the production equipment within a preset time period can be obtained, and the historical abnormal operation parameters can be identified therefrom. This provides important data support for the subsequent equipment portrait construction, and helps to more accurately identify abnormal behavior. Through timing alignment processing, normal behavior equipment portrait construction and abnormal behavior detection, the normal behavior of the production equipment can be modeled and abnormal behavior can be detected in time. This can help the system more accurately identify the safety risks of the production equipment and provide a more reliable basis for security monitoring. Through the generation of the test report, the test data of several production equipment can be comprehensively analyzed, and the production equipment test report can be automatically generated. This can provide managers with clear security situation information, which helps to take corresponding measures to deal with security threats in a timely manner.
[0060] Preferably, step S25 comprises the following steps:
[0061] Step S251: extracting operating parameters with the same attributes from the historical normal operating parameter matrix to obtain several groups of operating parameters with the same attributes, wherein each group of operating parameters with the same attributes includes several operating parameters with the same attributes;
[0062] Specifically, the operating parameters of various attributes (such as temperature, humidity, and pressure) are extracted from the historical normal operating parameter matrix. All the extracted operating parameters are classified, and the parameters with the same attributes are grouped together to form several groups of historical operating parameters with the same attributes.
[0063] Step S252: Acquire a knowledge base of equipment operation rated parameters;
[0064] Specifically, the equipment operating rated parameters are obtained from equipment manufacturers or according to the equipment technical specification manual, and the collected equipment operating rated parameters are organized into a database or file format to form an equipment operating rated parameter knowledge base.
[0065] Step S253: performing parameter extreme value statistics on each group of historical operating parameters with the same attribute to obtain a number of operating parameter extreme value intervals;
[0066] Specifically, statistical analysis is performed on each set of historical operating parameters with the same attribute, including calculating maximum and minimum statistical indicators. According to the results of the statistical analysis, the extreme value interval of each set of historical operating parameters with the same attribute is obtained, that is, the value range of the attribute during operation.
[0067] Step S254: performing range evaluation calculation on the extreme value intervals of the operating parameters with the same attributes based on the equipment operating rated parameter knowledge base to obtain a plurality of operating parameter range rate data;
[0068] Specifically, the extreme value interval of each set of historical operating parameters with the same attributes is compared with the rated parameters of the equipment operation, and the range, that is, the range of the extreme value interval, is calculated. The calculated range is converted into the range rate, that is, the ratio of the range to the rated parameter, to obtain several operating parameter range rate data.
[0069] Step S255: comparing the operating parameter extreme rate data with a preset extreme rate threshold value; if the operating parameter extreme rate data is greater than the preset extreme rate threshold value, performing parameter mean calculation on the historical operating parameters of the corresponding group with the same attribute to obtain the operating parameter mean data, and modifying the upper limit of the corresponding operating parameter extreme value interval to the operating parameter mean data to obtain the normal operating reference interval;
[0070] Specifically, for each group of historical extreme difference rate data of the same attribute operating parameters, the extreme difference rate data is compared with the preset extreme difference rate threshold. If the extreme difference rate data of the operating parameters is greater than the preset extreme difference rate threshold, the following operations are performed; otherwise, step S256 is executed.
[0071] Step S256: If the operating parameter extreme value rate data is less than or equal to the preset extreme value rate threshold, the corresponding operating parameter extreme value interval is directly used as the normal operating reference interval;
[0072] Specifically, the extreme value interval of the current historical operating parameter with the same attribute is directly set as the normal operating reference interval.
[0073] Step S257: When several extreme value intervals of operating parameters are completely traversed, several normal operating reference intervals are obtained; a normal behavior equipment portrait of the production equipment is constructed according to the normal operating reference interval to obtain a user portrait of the production equipment.
[0074] Specifically, use Python to traverse all historical normal operating reference intervals of the same attribute operating parameters, integrate them, merge overlapping intervals or similar intervals, and form several comprehensive normal operating reference intervals. Extract key features, such as mean value and standard deviation, from each normal operating reference interval. Integrate the extracted features to form a normal behavior feature description of the equipment. Combine the normal behavior feature descriptions of the equipment into a comprehensive user portrait of the production equipment. This portrait includes but is not limited to the typical operating mode of the equipment and the range information of key performance parameters.
[0075] The present invention can extract historical normal operating parameters by classifying them according to the attributes through the extraction of operating parameters with the same attributes, thereby improving the integration and comparability of parameter data. By obtaining the equipment operation rated parameter knowledge base, important reference data can be provided for subsequent parameter extreme value statistics and evaluation, which is helpful to more accurately judge the abnormal situation of the parameters. Through parameter extreme value statistics, extreme difference evaluation calculation and operating parameter mean calculation, each group of historical operating parameters with the same attribute can be analyzed and evaluated more finely to obtain a more accurate normal operating reference interval. The statistics and evaluation of such parameter extreme values can better reflect the normal operating situation of the equipment and improve the accuracy and reliability of abnormal detection. By comparing the operating parameter extreme difference rate data with the preset extreme difference rate threshold, it can be determined whether the normal operating reference interval needs to be adjusted according to the actual situation. This dynamic adjustment method can better adapt to the changes of different equipment and different operating states, and improve the flexibility and adaptability of abnormal detection. By determining the normal operating reference interval, a more accurate normal behavior equipment portrait can be constructed for the production equipment according to these reference intervals. This can better reflect the actual operating state of the equipment and improve the accuracy and credibility of the model.
[0076] Preferably, step S26 comprises the following steps:
[0077] Step S261: collecting real-time operating parameters of the production equipment corresponding to the production equipment user portrait to obtain a real-time operating parameter sequence of the production equipment;
[0078] Specifically, sensors and monitoring equipment are used to acquire the operating parameter data of the production equipment in real time to obtain a real-time operating parameter sequence of the production equipment.
[0079] Step S262: parsing the parameter attributes of the real-time operating parameter sequence of the production equipment to obtain several groups of real-time operating parameters with the same attributes;
[0080] Specifically, the real-time collected operation parameter sequence is parsed, and different parameters are classified and grouped according to their attributes to obtain several groups of real-time operation parameters with the same attributes. The operation parameters are divided into different attribute categories according to the physical attributes and functional characteristics of the parameters.
[0081] Step S263: Based on the normal operation reference interval in the production equipment user portrait, perform abnormal value detection on each group of real-time operating parameters with the same attribute, mark the operating parameters falling within the normal operation reference interval as normal, and mark the operating parameters falling outside the normal operation reference interval as abnormal, thereby obtaining a real-time normal operation parameter sequence and a real-time abnormal operation parameter sequence;
[0082] Specifically, the normal operation reference interval in the production equipment user profile is used as a reference to compare each set of real-time operating parameters with the corresponding reference interval. For operating parameters that fall within the normal operation reference interval, they are marked as normal; for operating parameters that fall outside the normal operation reference interval, they are marked as abnormal. According to the abnormality detection results, the real-time collected operating parameter sequence is divided into a real-time normal operation parameter sequence and a real-time abnormal operation parameter sequence.
[0083] Step S264: accumulating abnormal values of the real-time abnormal operation parameter sequence to obtain an abnormal operation parameter accumulation value. When the abnormal operation parameter accumulation value reaches a preset abnormal threshold, an abnormal event snapshot is recorded for the corresponding production equipment to obtain abnormal event snapshot data.
[0084] Specifically, the pandas library in Python is used to perform cumulative statistics of abnormal values of real-time abnormal operation parameter sequences to determine whether the accumulated value of abnormal values reaches the preset abnormal threshold. If it reaches the preset abnormal threshold, the abnormal event record is triggered. When the accumulated value of abnormal values reaches the preset abnormal threshold, the abnormal event snapshot of the corresponding production equipment is recorded, and the logging tool is used to record key information such as the time when the abnormality occurred, equipment information, and abnormal parameters.
[0085] Step S265: encapsulate the abnormal event snapshot data and the corresponding real-time operating parameters with the same attributes into an abnormal tuple to obtain an abnormal detection tuple;
[0086] Specifically, the abnormal event snapshot data and the corresponding real-time operating parameters with the same attributes are encapsulated to construct an abnormal detection tuple. The abnormal detection tuple includes the abnormal event snapshot data and the corresponding real-time operating parameters with the same attributes, and can be constructed using the tuple data structure in Python.
[0087] Step S266: traverse all abnormal detection tuples to construct a production equipment detection data set;
[0088] Specifically, all anomaly detection tuples are traversed and organized into a data set, and the anomaly detection tuples can be traversed using a loop statement in Python.
[0089] Step S267: Tracing the data source of the production equipment detection data set to obtain the production equipment detection data.
[0090] Specifically, a logging tool or a database is used to record the data source information of the production equipment detection data set, for example, the logging library in Python is used for logging.
[0091] The present invention can monitor production equipment in real time and obtain the latest operating parameters through real-time operation parameter collection. This can timely reflect the operating status of the production equipment. Through parameter attribute analysis, the real-time operation parameters are classified according to the attributes to obtain several groups of real-time operation parameters with the same attributes. This can better organize and manage the operation parameter data and improve the efficiency and accuracy of data processing. By performing abnormal value detection on each group of real-time operation parameters with the same attributes based on the normal operation reference interval in the user portrait of the production equipment, the abnormal parameters can be identified in time. This can accurately distinguish between normal and abnormal operation parameters and improve the accuracy and timeliness of abnormal detection. Through abnormal value accumulation and snapshot recording, when the abnormal accumulation value of the operation parameter reaches the preset abnormal threshold, the abnormal event can be snapshot recorded and the detailed data of the abnormal event can be saved. This can provide detailed event data for subsequent abnormal analysis and processing, which is helpful for quickly locating and solving problems. By encapsulating the abnormal event snapshot data with the corresponding real-time operation parameters with the same attributes, an abnormal detection tuple is obtained, and all abnormal detection tuples are traversed to construct a production equipment detection data set. This can systematically manage the abnormal detection data and provide structured data support for further analysis and processing. Through data source tracing, the source of production equipment test data can be traced to ensure the accuracy and traceability of test data. This can help managers better understand and analyze the background and source of test data and improve the reliability and trust of data analysis.
[0092] Preferably, step S3 comprises the following steps:
[0093] Step S31: Classify the monitoring equipment into video and non-video monitoring equipment based on the workshop monitoring equipment identification in the classified equipment identification library table, and obtain a video monitoring equipment library table and a non-video monitoring equipment library table;
[0094] Specifically, SQL statements are used to query the identification of workshop monitoring equipment from the classified equipment identification library table. Python is used to process the query results and classify video and non-video monitoring equipment. Database operation languages (such as SQL) are used to generate video monitoring equipment library tables and non-video monitoring equipment library tables.
[0095] Step S32: collecting real-time video data of the video surveillance equipment according to the video surveillance equipment library table to obtain real-time monitoring video data, wherein the video surveillance equipment are all active tracking camera equipment;
[0096] Specifically, the information of the video surveillance device is obtained from the video surveillance device library table, including but not limited to the device name, IP address, and port number. According to the device information, the corresponding video acquisition tool (such as FFmpeg, OpenCV) is used to collect real-time video data. Among them, all monitoring devices are active tracking camera devices.
[0097] Step S33: performing intelligent visual analysis on the real-time monitoring video data to obtain visual analysis detection data, wherein the intelligent visual analysis includes biological body detection and fire detection;
[0098] Specifically, computer vision libraries (such as OpenCV, TensorFlow Object Detection API) are used to process real-time monitoring video data. Frames are extracted from video data to decompose the video into a series of image frames. An organism detection model, such as a target detection model (such as YOLO, SSD), is applied to each image frame to identify and locate organisms in the monitoring area. A fire detection model, such as a flame detection model or a smoke detection model, is applied to each image frame to detect whether a fire exists. The organism detection results and the fire detection results are integrated to form visual analysis detection data, which records the location and type of the organism, as well as the presence or absence of a fire.
[0099] Step S34: constructing a user portrait of the monitoring device according to the real-time monitoring video data and the visual analysis detection data to obtain a user portrait of the monitoring device;
[0100] Specifically, the associated visual analysis detection data is combined with the real-time video data, and image processing technology or deep learning algorithms are used to generate a user portrait of the monitoring equipment, including but not limited to the monitoring area, the type of event monitored, and the location of the event.
[0101] Step S35: performing monitoring device analysis on the monitoring device according to the visual analysis detection data and the monitoring device user portrait to obtain first monitoring device detection data;
[0102] Specifically, the monitoring device analysis is performed using a data analysis tool (e.g., Python programming language and related libraries) in combination with the visual analysis detection data and the monitoring device user portrait. The health status of the monitoring device is analyzed based on the biological body detection results and the user portrait. According to the analysis results, the first monitoring device detection data is generated, including the visual analysis detection results and the record of the health status of the monitoring device.
[0103] Step S36: collecting real-time monitoring indicators of the non-video monitoring equipment corresponding to the non-video monitoring equipment library table to obtain real-time monitoring indicator data; performing environmental status assessment on the intelligent manufacturing workshop according to the real-time monitoring indicator data to obtain workshop environmental monitoring data;
[0104] Specifically, according to the non-video surveillance equipment library table, real-time monitoring indicators of non-video surveillance equipment are collected, including but not limited to the collection of temperature, humidity, and pressure environmental indicators. Based on the real-time monitoring indicator data, the environmental status of the intelligent manufacturing workshop is evaluated to determine whether the environment in the workshop is normal, and the workshop environment monitoring data is obtained.
[0105] Step S37: Generate a report for the first monitoring device detection data and the workshop environment monitoring data according to a preset detection report template to obtain the monitoring device detection data.
[0106] Specifically, the first monitoring device detection data and the workshop environment monitoring data are integrated to form a complete detection data set. According to the preset detection report template, the integrated data is filled into the template. A report generation tool (such as Microsoft Word) is used to generate a monitoring device detection report, including abnormal conditions of the monitoring device and environmental status assessment result information.
[0107] The present invention can finely distinguish the types of monitoring equipment by dividing video and non-video monitoring equipment, and generate a video monitoring equipment library table and a non-video monitoring equipment library table respectively. This helps to perform specific monitoring and analysis on different types of monitoring equipment, and improves the pertinence and effectiveness of monitoring. Through real-time video data acquisition, real-time video data of video monitoring equipment, especially high-quality video provided by active tracking camera equipment, can be obtained. This can timely reflect the dynamic situation of the workshop. Through intelligent visual analysis, including biological body detection and fire detection, the real-time video data of monitoring can be deeply analyzed, and potential security threats such as personnel intrusion and fire can be timely identified. This improves the automation level of monitoring and the accuracy of detection, and helps to respond to security incidents quickly. By constructing a user portrait of the monitoring device according to the real-time video data of monitoring and the visual analysis detection data, a detailed behavior model can be established for each monitoring device. This user portrait construction helps to more accurately understand and predict the behavior of the monitoring device, and improves the accuracy of abnormal detection and analysis. Through monitoring device analysis, based on the visual analysis detection data and the user portrait of the monitoring device, the monitoring device is deeply analyzed to obtain the first monitoring device detection data. This can more comprehensively evaluate the status and performance of the monitoring device and timely discover abnormal situations. Through the real-time monitoring indicator collection of non-video monitoring equipment, real-time data of the workshop environment can be obtained, and environmental status assessment can be performed to obtain workshop environmental monitoring data. This can help managers to timely understand the environmental status of the workshop and prevent and control environmental-related safety risks. Through the preset test report template, the first monitoring equipment test data and the workshop environmental monitoring data are integrated into the monitoring equipment test data. This can provide managers with a comprehensive and clear monitoring data report, which is convenient for timely grasping the safety situation and environmental conditions of the workshop.
[0108] Preferably, step S34 includes the following steps:
[0109] Step S341: If the visual analysis detection data indicates the presence of any one or more of a non-human organism or a fire, the real-time monitoring video data and the visual analysis detection data are immediately transmitted to a preset workshop central control platform;
[0110] Specifically, if the intelligent visual analysis detection data shows the presence of non-human objects or fire, the network transmission protocol (such as HTTP, MQTT) is used to instantly transmit the monitoring real-time video data and intelligent visual analysis detection data to the workshop central control platform.
[0111] Step S342: If the visual analysis detection data shows that there is a living organism, the movement trajectory of the detected living organism is tracked according to the real-time monitoring video data. If the living organism moves, the moving angle of the video monitoring device is collected to obtain first moving angle data;
[0112] Specifically, if the visual analysis detection data shows the presence of a living organism, the motion trajectory of the detected living organism is tracked using the motion target detection and tracking algorithm in the OpenCV library. If the living organism is displaced, the moving angle of the video surveillance device is obtained using an image processing algorithm to obtain first moving angle data.
[0113] Step S343: If the visual analysis detection data shows that there is a fire, the detected fire is monitored for spread according to the real-time monitoring video data. If the fire spreads, the video monitoring device is moved at an angle to obtain second moving angle data;
[0114] Specifically, if the visual analysis detection data shows that there is a fire, use the target detection and tracking algorithm in computer vision technology, such as YOLO (You Only Look Once), to detect and track the fire target in the video. Apply a fire spread model, such as a flame spread algorithm based on a mathematical model, combined with real-time data in the monitoring video to simulate the spread of the fire to determine the spread of the fire. Use a computer vision-based algorithm, such as optical flow, to calculate the movement angle of the device adjustment through the displacement of the target in the continuous frame image to obtain the second movement angle data.
[0115] Step S344: Performing video definition detection on the real-time monitoring video data to obtain video definition data;
[0116] Specifically, the OpenCV library in Python is used, which contains various image processing algorithms, such as image filtering and edge detection, to perform clarity detection on real-time monitoring video data to obtain video clarity data.
[0117] Step S345: construct a monitoring device user portrait for the monitoring device based on the video monitoring device library table, the first movement angle data, and the second movement angle data to obtain the monitoring device user portrait.
[0118] Specifically, data analysis and modeling tools, such as the pandas and scikit-learn libraries in Python, and image processing algorithms are used to build a user portrait of the monitoring device based on the video monitoring device library table, the first movement angle data, and the second movement angle data.
[0119] In the present invention, when the visual analysis detection data shows the presence of non-human organisms or fire, the real-time monitoring video data and visual analysis detection data are immediately transmitted to the preset workshop central control platform. This can promptly notify the manager of potential security threats, quickly take countermeasures, and effectively prevent accidents. By tracking the motion trajectory and monitoring the spread of the detected organisms and fires, the changes of these dynamic targets can be monitored in real time. When the organism is displaced or the fire spreads, the moving angle data of the video monitoring device is collected. By real-time detection of video clarity, video quality problems can be discovered and corrected in a timely manner to ensure the effectiveness and reliability of the monitoring video. This helps to improve the credibility of the monitoring data. Based on the video monitoring device library table, the first moving angle data and the second moving angle data, a user portrait of the monitoring device is constructed. This can fully reflect the operating status and behavioral characteristics of the monitoring device, improve the understanding and prediction capabilities of the device, and help to more accurately detect anomalies and monitor safety.
[0120] Preferably, step S35 includes the following steps:
[0121] Step S351: performing lens aging evaluation on the monitoring device according to the video definition data in the user portrait of the monitoring device to obtain lens aging scoring data;
[0122] Specifically, professional video quality assessment tools, such as NI Video Quality Measurement Tool, are used to evaluate the lens aging of monitoring equipment based on video clarity data and generate lens aging score data.
[0123] Step S352: If the visual analysis detection data shows that there is any one or more of a non-human organism or a fire, the moving angle data in the user portrait of the monitoring device is analyzed. If the moving angle data is 0, the corresponding monitoring device is marked as an abnormal device. If the moving angle data is not 0 and the moving angle data is greater than a preset moving angle threshold, the corresponding monitoring device is marked as a normal device, thereby obtaining video device status identification data;
[0124] Specifically, the moving angle data of the monitoring device is analyzed, and the status of the monitoring device is identified based on the abnormal conditions in the visual analysis detection data. The pandas library in Python is used to perform statistical analysis on the moving angle data to further determine the device status. In combination with the visual analysis detection data, a logical judgment algorithm is written to identify and mark the abnormal status of the monitoring device based on the threshold setting of the abnormal conditions and moving angle data, thereby obtaining the video device status identification data.
[0125] Step S353: Based on the video surveillance equipment library table, the lens aging score data and the video equipment status identification data are integrated to obtain the first surveillance equipment detection data.
[0126] Specifically, an SQL database or data processing software is used to integrate the information in the two data sources into a data table to generate a data set containing complete monitoring device information, namely, the first monitoring device detection data.
[0127] The present invention scores the lens aging of monitoring equipment according to the video clarity data. This can timely discover the lens aging problem, ensure the quality and effectiveness of the monitoring video, and improve the overall performance of the monitoring system. By analyzing the visual analysis detection data and the moving angle data, the abnormal equipment is identified. When a non-human object or a fire is detected, if the moving angle data is 0, the corresponding monitoring equipment is marked as an abnormal equipment. This can quickly locate the faulty equipment, repair and replace it in time, and ensure the normal operation of the monitoring system. The status of the monitoring equipment is judged by analyzing the moving angle data. When the moving angle data is greater than the preset moving angle threshold, the corresponding equipment is marked as a normal equipment. This helps to confirm the normal operation of the equipment, prevent false alarms and missed alarms, and improve the accuracy of monitoring. By fusing the lens aging score data with the video equipment status identification data, the first monitoring equipment detection data is obtained based on the video monitoring equipment library table. This data fusion method can comprehensively consider multiple status parameters of the equipment and provide more comprehensive equipment health assessment and abnormal detection results.
[0128] Preferably, step S4 comprises the following steps:
[0129] Step S41: collecting operation data streams from the PC device to obtain multi-source heterogeneous operation data streams;
[0130] Specifically, a logging tool, such as Windows Event Logger or specialized operation logging software, is used to collect various operation data from the PC device, including but not limited to keyboard input, mouse movement, and file operations, to obtain multi-source heterogeneous operation data streams.
[0131] Step S42: extracting the underlying event sequence from the multi-source heterogeneous operation data stream to obtain the underlying event sequence on the PC side;
[0132] Specifically, data processing tools (such as Python programming language and corresponding libraries) are used to preprocess and parse multi-source heterogeneous operation data streams. Each data source is processed one by one to extract underlying events, such as process startup, file access, and registry modification. The extracted underlying events are combined into a PC-side underlying event sequence in chronological order to form a continuous event record, and the PC-side underlying event sequence is obtained.
[0133] Step S43: mining the operation mode of the PC device according to the underlying event sequence of the PC to obtain the PC operation mode description data;
[0134] Specifically, a sequence mining algorithm (e.g., a mining algorithm based on frequent sequence patterns) is used to analyze the underlying event sequence of the PC and mine the operation mode. Based on the results of sequence mining, frequently occurring operation modes are identified, such as a specific application startup sequence and common file operation modes. The mined PC operation mode description data is collated and recorded.
[0135] Step S44: vectorize and encode the PC-side operation mode description data to obtain a PC-side device operation portrait vector;
[0136] Specifically, according to the characteristics of the PC-side operation mode description data, select a suitable vectorization encoding method, such as Bag-of-Words or Word Embedding. Use text processing tools (such as NLTK or Gensim) to preprocess the PC-side operation mode description data, including but not limited to word segmentation, stop word removal, and stemming. Based on the preprocessed operation mode description data, apply the selected vectorization encoding method to convert it into a numerical vector representation. The vector can be further normalized or dimensionally reduced as needed, such as using principal component analysis (PCA) or t-SNE algorithm. Finally, the PC-side device operation portrait vector is obtained, where each vector represents a PC-side operation mode and contains a numerical representation of its characteristics.
[0137] Step S45: continuously capture the behavior of the PC device to obtain a newly collected PC bottom-level event sequence;
[0138] Specifically, use system-level monitoring tools, such as Sysinternals Suite (Windows platform) and strace (Linux platform), to run continuously on the PC device to capture the underlying event sequence, thereby obtaining a newly collected PC-side underlying event sequence.
[0139] Step S46: inputting the PC-end device operation portrait vector and the newly collected PC-end underlying event sequence into a preset PC-end anomaly detection model for real-time anomaly detection analysis to obtain PC-end device anomaly detection data;
[0140] Specifically, a PC-side anomaly detection model is built using a machine learning library (such as TensorFlow or PyTorch), which accepts PC-side device operation portrait vectors and newly collected PC-side underlying event sequences as input. The newly collected PC-side underlying event sequence is converted into an appropriate data representation, such as a time window or sequence embedding. The PC-side device operation portrait vector and the converted event sequence are input into the preset PC-side anomaly detection model for real-time anomaly detection analysis. The model will make judgments based on the learned patterns and abnormal behaviors, and output anomaly detection results, such as marking which events are abnormal, thereby detecting PC-side device anomaly data.
[0141] Step S47: associate and mine the PC-end device abnormality detection data with a preset known attack behavior library to obtain PC-end device detection data.
[0142] Specifically, prepare a database or file containing known attack behaviors, including feature descriptions and tags of attack events. Associate and mine the PC-end device anomaly detection data with the known attack behavior library, using data mining tools (such as association rule mining algorithms) or machine learning methods. Analyze the features and patterns in the PC-end device anomaly detection data, and compare and match them with the known attack behavior library. According to the comparison and matching results, determine the attack behaviors present in the PC-end device detection data, and make corresponding records to obtain the PC-end device detection data.
[0143] The present invention can acquire multi-source heterogeneous operation data streams of PC-end devices through operation data stream collection. This multi-source data collection method can fully cover various operation behaviors of PC-end devices, provide rich data support for subsequent analysis, and improve the comprehensiveness and diversity of data collection. By extracting the underlying event sequence of multi-source heterogeneous operation data streams, complex operation data can be decomposed into basic events. This helps to perform a more fine-grained analysis of operation behaviors and improves the accuracy of data analysis. By mining the operation mode of the underlying event sequence of the PC end, the conventional operation mode of the PC-end device can be discovered and the operation mode description data can be obtained. This can help the system establish a normal behavior baseline, effectively identify abnormal operations, and improve the accuracy of abnormal detection. By vectorizing and encoding the operation mode description data, the operation mode can be converted into a computable operation portrait vector. This can enhance the processability and analysis efficiency of data and provide an efficient data representation form for subsequent abnormal detection. By continuously capturing the behavior of the PC-end device, new underlying event sequences can be continuously updated and acquired. This ensures the real-time and dynamic nature of the data and timely reflects the latest operation behaviors of the PC-end device. By inputting the operation profile vector and the newly collected underlying event sequence into the preset anomaly detection model, real-time anomaly detection analysis is performed. This can quickly identify and respond to abnormal behaviors of PC devices, improving the security protection capabilities and response speed of the system. By correlating anomaly detection data with a known attack behavior library, known attack behaviors can be identified and PC device detection data can be obtained. This correlation mining method can effectively identify known threats, improve the accuracy and coverage of anomaly detection, and enhance the system's defense capabilities.
[0144] Preferably, the present invention further provides an industrial Internet security monitoring system based on device user portrait, which is used to execute the industrial Internet security monitoring method based on device user portrait as described above. The industrial Internet security monitoring system based on device user portrait includes:
[0145] The equipment classification module is used to classify the equipment in the intelligent manufacturing workshop and obtain the classified equipment identification library table, wherein the fields of the classified equipment identification library table include the equipment name, equipment MAC address, equipment firmware fingerprint, equipment model specification and equipment classification identification;
[0146] The abnormal behavior detection module is used to construct an equipment profile of the production equipment based on the classified equipment identification library table to obtain a production equipment user profile; perform abnormal behavior detection on the production equipment based on the production equipment user profile to obtain a production equipment detection report;
[0147] The monitoring device analysis module is used to construct a monitoring device user portrait for the monitoring device based on the classified device identification library table to obtain the monitoring device user portrait; perform monitoring device analysis on the monitoring device according to the monitoring device user portrait to obtain monitoring device detection data;
[0148] The abnormal operation detection module is used to model the PC operation behavior of the PC device based on the classification device identification library table to obtain the PC user portrait; perform abnormal operation detection on the PC device according to the PC user portrait to obtain PC device detection data;
[0149] The threat assessment fusion module is used to perform threat assessment fusion on the intelligent manufacturing workshop based on the production equipment detection report, monitoring equipment detection data and PC-side equipment detection data to obtain security situation data; generate a workshop security monitoring report based on the production equipment detection report, monitoring equipment detection data and PC-side equipment detection data according to the preset monitoring report template; upload the security situation data and the workshop security monitoring report to the preset workshop central control platform.
[0150] In the present invention, the equipment in the intelligent manufacturing workshop is classified by the equipment classification module, and the equipment portrait is constructed based on the classification equipment identification library table to obtain the user portrait of each type of equipment. This intelligent classification and modeling can more accurately understand the behavioral characteristics of each type of equipment. The abnormal behavior detection module uses the production equipment user portrait to detect abnormal behavior of the production equipment, the monitoring equipment analysis module uses the monitoring equipment user portrait to analyze the monitoring equipment, and the abnormal operation detection module uses the PC end user portrait to detect abnormal operation of the PC end device. This can timely discover the abnormal behavior of the equipment, help to warn and intervene before the security problem occurs, and reduce potential risks. The production equipment detection report, the monitoring equipment detection data and the PC end device detection data are comprehensively evaluated by the threat assessment fusion module to obtain the safety situation data of the workshop. This can comprehensively analyze the safety status of various types of equipment in the workshop and provide a clearer understanding of the safety situation. By automatically generating a workshop safety monitoring report according to a preset monitoring report template, the production equipment detection report, the monitoring equipment detection data and the PC end device detection data are integrated and displayed. This can save the time and energy of managers and improve monitoring efficiency. By uploading the security situation data and workshop safety monitoring reports to the preset workshop central control platform, centralized management and real-time response of security monitoring data are achieved. Managers can check the safety status of the workshop at any time through the central control platform, and take corresponding measures in time when necessary to ensure the safe operation of the workshop.
[0151] Therefore, the embodiments should be regarded as illustrative and non-restrictive from all points, and the scope of the present invention is limited by the appended claims rather than the above description, and it is therefore intended that all changes falling within the meaning and range of equivalent elements of the application documents are included in the present invention.
[0152] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.
Claims
1. An industrial Internet security monitoring method based on device user portrait, characterized in that: The following steps are involved: Step S1: Classify the equipment in the intelligent manufacturing workshop to obtain a classified equipment identification library table, wherein the fields of the classified equipment identification library table include equipment name, equipment MAC address, equipment firmware fingerprint, equipment model specification and equipment classification identification; Step S2: constructing a device portrait of the production equipment based on the classified device identification library table to obtain a user portrait of the production equipment; performing abnormal behavior detection on the production equipment according to the user portrait of the production equipment to obtain a production equipment detection report; Step S3: constructing a monitoring device user portrait for the monitoring device based on the classified device identification library table to obtain the monitoring device user portrait; Perform monitoring equipment analysis on the monitoring equipment according to the user portrait of the monitoring equipment to obtain monitoring equipment detection data; Step S4: Modeling the PC operation behavior of the PC device based on the classification device identification library table to obtain a PC user portrait; Perform abnormal operation detection on PC devices based on PC user portraits to obtain PC device detection data; Step S5: Based on the production equipment detection report, monitoring equipment detection data and PC-side equipment detection data, threat assessment and fusion are performed on the intelligent manufacturing workshop to obtain security situation data; Generate a workshop safety monitoring report based on the production equipment test report, monitoring equipment test data and PC-side equipment test data according to the preset monitoring report template; Upload the safety situation data and workshop safety monitoring reports to the preset workshop central control platform; Step S2 includes the following steps: Step S21: Based on the equipment model specifications and production equipment classification identification in the classification equipment identification library table, the production equipment in the intelligent manufacturing workshop is divided into the same specification equipment to obtain a number of same type equipment database tables, wherein the same type equipment database table contains a number of equipment MAC addresses, and the production equipment represented by the equipment MAC addresses in the same type equipment database table uses the same production equipment user portrait; Step S22: collecting historical operating parameters of a number of devices in the same type of device database table to obtain a number of historical operating parameter sequences, wherein the historical operating parameter sequence is a historical operating parameter of a production device in a preset time period; Step S23: performing abnormality detection and parameter separation on each historical operation parameter sequence to obtain a number of historical abnormal operation parameters, and removing the historical abnormal operation parameters from the corresponding historical operation parameter sequence to obtain a number of historical normal operation parameter sequences; Step S24: performing time alignment processing on a plurality of historical normal operation parameter sequences to obtain a historical normal operation parameter matrix; Step S25: constructing a normal behavior equipment portrait for the production equipment based on the historical normal operation parameter matrix and the historical abnormal operation parameter matrix to obtain a production equipment user portrait; Step S26: performing abnormal behavior detection on the production equipment according to the production equipment user portrait to obtain the first production equipment detection data; Step S27: when a number of database tables of the same type of equipment are completely traversed, a number of production equipment test data are obtained, and a test report is generated for the number of production equipment test data to obtain a production equipment test report; Step S25 includes the following steps: Step S251: extracting operating parameters with the same attributes from the historical normal operating parameter matrix to obtain several groups of operating parameters with the same attributes, wherein each group of operating parameters with the same attributes includes several operating parameters with the same attributes; Step S252: Acquire a knowledge base of equipment operation rated parameters; Step S253: performing parameter extreme value statistics on each group of historical operating parameters with the same attribute to obtain a number of operating parameter extreme value intervals; Step S254: Based on the equipment operation rated parameter knowledge base, the extreme value intervals of the operating parameters with the same attributes are evaluated and calculated to obtain a number of operating parameter extreme value rate data; wherein, the extreme value intervals of each group of historical operating parameters with the same attributes are compared with the equipment operation rated parameters to calculate their extreme value, that is, the range of the extreme value interval; the calculated extreme value is converted into the extreme value rate, that is, the ratio of the extreme value to the rated parameter, to obtain a number of operating parameter extreme value rate data; Step S255: comparing the operating parameter extreme rate data with a preset extreme rate threshold value; if the operating parameter extreme rate data is greater than the preset extreme rate threshold value, performing parameter mean calculation on the historical operating parameters of the corresponding group with the same attribute to obtain the operating parameter mean data, and modifying the upper limit of the corresponding operating parameter extreme value interval to the operating parameter mean data to obtain the normal operating reference interval; Step S256: If the operating parameter extreme value data is less than or equal to the preset extreme value threshold, the corresponding operating parameter extreme value interval is directly used as the normal operating reference interval; Step S257: When several extreme value intervals of operating parameters are completely traversed, several normal operating reference intervals are obtained; a normal behavior equipment portrait of the production equipment is constructed according to the normal operating reference interval to obtain a user portrait of the production equipment.
2. The industrial Internet security monitoring method based on device user portrait according to claim 1 is characterized in that: Step S1 includes the following steps: Step S11: Automatically detect and identify all networked devices in the intelligent manufacturing workshop to obtain a device metadata table, wherein the device metadata table includes a number of device metadata, and the device metadata includes a device name, a device MAC address, a device firmware fingerprint, and a device model specification; Step S12: Based on the device metadata table, semantic clustering analysis is performed on all networked devices in the intelligent manufacturing workshop, and all networked devices are divided into production equipment, monitoring equipment and PC-end equipment according to their functions. A unique device classification identifier is assigned to each type of equipment, and a production equipment classification identifier, a workshop monitoring equipment identifier and a PC-end equipment identifier are generated respectively, thereby obtaining a classification device identifier; Step S13: Based on the device metadata table and the classified device identification, a corresponding category identification is assigned to each networked device in the intelligent manufacturing workshop to obtain a classified device identification library table, wherein the fields of the classified device identification library table include device name, device MAC address, device firmware fingerprint, device model specification and device classification identification.
3. The industrial Internet security monitoring method based on device user portrait according to claim 1 is characterized in that: Step S26 includes the following steps: Step S261: collecting real-time operating parameters of the production equipment corresponding to the production equipment user portrait to obtain a real-time operating parameter sequence of the production equipment; Step S262: parsing the parameter attributes of the real-time operating parameter sequence of the production equipment to obtain several groups of real-time operating parameters with the same attributes; Step S263: Based on the normal operation reference interval in the production equipment user portrait, perform abnormal value detection on each group of real-time operating parameters with the same attribute, mark the operating parameters falling within the normal operation reference interval as normal, and mark the operating parameters falling outside the normal operation reference interval as abnormal, thereby obtaining a real-time normal operation parameter sequence and a real-time abnormal operation parameter sequence; Step S264: accumulating abnormal values of the real-time abnormal operation parameter sequence to obtain an abnormal operation parameter accumulation value. When the abnormal operation parameter accumulation value reaches a preset abnormal threshold, an abnormal event snapshot is recorded for the corresponding production equipment to obtain abnormal event snapshot data. Step S265: encapsulate the abnormal event snapshot data and the corresponding real-time operating parameters with the same attributes into an abnormal tuple to obtain an abnormal detection tuple; Step S266: traverse all abnormal detection tuples to construct a production equipment detection data set; Step S267: Tracing the data source of the production equipment detection data set to obtain the production equipment detection data.
4. The industrial Internet security monitoring method based on device user portrait according to claim 1 is characterized in that: Step S3 includes the following steps: Step S31: Classify the monitoring equipment into video and non-video monitoring equipment based on the workshop monitoring equipment identification in the classified equipment identification library table, and obtain a video monitoring equipment library table and a non-video monitoring equipment library table; Step S32: collecting real-time video data of the video surveillance equipment according to the video surveillance equipment library table to obtain real-time monitoring video data, wherein the video surveillance equipment are all active tracking camera equipment; Step S33: performing intelligent visual analysis on the real-time monitoring video data to obtain visual analysis detection data, wherein the intelligent visual analysis includes biological body detection and fire detection; Step S34: constructing a user portrait of the monitoring device according to the real-time monitoring video data and the visual analysis detection data to obtain a user portrait of the monitoring device; Step S35: performing monitoring device analysis on the monitoring device according to the visual analysis detection data and the monitoring device user portrait to obtain first monitoring device detection data; Step S36: collecting real-time monitoring indicators of the non-video monitoring equipment corresponding to the non-video monitoring equipment library table to obtain real-time monitoring indicator data; performing environmental status assessment on the intelligent manufacturing workshop according to the real-time monitoring indicator data to obtain workshop environmental monitoring data; Step S37: Generate a report for the first monitoring device detection data and the workshop environment monitoring data according to a preset detection report template to obtain the monitoring device detection data.
5. The industrial Internet security monitoring method based on device user portrait according to claim 4 is characterized in that: Step S34 includes the following steps: Step S341: If the visual analysis detection data indicates the presence of any one or more of a non-human organism or a fire, the real-time monitoring video data and the visual analysis detection data are immediately transmitted to a preset workshop central control platform; Step S342: If the visual analysis detection data shows that there is a living organism, the movement trajectory of the detected living organism is tracked according to the real-time monitoring video data. If the living organism moves, the moving angle of the video monitoring device is collected to obtain first moving angle data; Step S343: If the visual analysis detection data shows that there is a fire, the detected fire is monitored for spread according to the real-time monitoring video data. If the fire spreads, the video monitoring device is moved at an angle to obtain second moving angle data; Step S344: Performing video definition detection on the real-time monitoring video data to obtain video definition data; Step S345: construct a monitoring device user portrait for the monitoring device based on the video monitoring device library table, the first movement angle data, and the second movement angle data to obtain the monitoring device user portrait.
6. The industrial Internet security monitoring method based on device user portrait according to claim 4 is characterized in that: Step S35 includes the following steps: Step S351: performing lens aging evaluation on the monitoring device according to the video definition data in the user portrait of the monitoring device to obtain lens aging scoring data; Step S352: If the visual analysis detection data shows that there is any one or more of a non-human organism or a fire, the moving angle data in the user portrait of the monitoring device is analyzed. If the moving angle data is 0, the corresponding monitoring device is marked as an abnormal device. If the moving angle data is not 0 and the moving angle data is greater than a preset moving angle threshold, the corresponding monitoring device is marked as a normal device, thereby obtaining video device status identification data; Step S353: Based on the video surveillance equipment library table, the lens aging score data and the video equipment status identification data are integrated to obtain the first surveillance equipment detection data.
7. The industrial Internet security monitoring method based on device user portrait according to claim 1 is characterized in that: Step S4 includes the following steps: Step S41: collecting operation data streams from the PC device to obtain multi-source heterogeneous operation data streams; Step S42: extracting the underlying event sequence from the multi-source heterogeneous operation data stream to obtain the underlying event sequence on the PC side; Step S43: mining the operation mode of the PC device according to the underlying event sequence of the PC to obtain the PC operation mode description data; Step S44: vectorize and encode the PC-side operation mode description data to obtain a PC-side device operation portrait vector; Step S45: continuously capture the behavior of the PC device to obtain a newly collected PC bottom-level event sequence; Step S46: inputting the PC-end device operation portrait vector and the newly collected PC-end underlying event sequence into a preset PC-end anomaly detection model for real-time anomaly detection analysis to obtain PC-end device anomaly detection data; Step S47: associate and mine the PC-end device abnormality detection data with a preset known attack behavior library to obtain PC-end device detection data.
8. An industrial Internet security monitoring system based on device user portrait, characterized in that: Used to execute the industrial Internet security monitoring method based on device user portrait as claimed in claim 1, the industrial Internet security monitoring system based on device user portrait includes: The equipment classification module is used to classify the equipment in the intelligent manufacturing workshop and obtain the classified equipment identification library table, wherein the fields of the classified equipment identification library table include the equipment name, equipment MAC address, equipment firmware fingerprint, equipment model specification and equipment classification identification; The abnormal behavior detection module is used to construct an equipment profile for the production equipment based on the classified equipment identification library table to obtain a production equipment user profile; perform abnormal behavior detection on the production equipment according to the production equipment user profile to obtain a production equipment detection report; specifically used for: Based on the equipment model specifications and production equipment classification identification in the classification equipment identification library table, the production equipment in the intelligent manufacturing workshop is divided into the same specification equipment, and several same type equipment database tables are obtained. The same type equipment database table contains several equipment MAC addresses. The production equipment represented by the device MAC address in the same type equipment database table uses the same production equipment user portrait; Collect historical operating parameters of several devices in the database table of the same type of equipment to obtain several historical operating parameter sequences, wherein the historical operating parameter sequence is the historical operating parameters of a production device in a preset time period; Performing anomaly detection and parameter separation on each historical operating parameter sequence to obtain a number of historical abnormal operating parameters, and removing the historical abnormal operating parameters from the corresponding historical operating parameter sequence to obtain a number of historical normal operating parameter sequences; Performing time alignment processing on several historical normal operation parameter sequences to obtain a historical normal operation parameter matrix; Based on the historical normal operating parameter matrix and the historical abnormal operating parameter production equipment, a normal behavior equipment portrait is constructed to obtain the production equipment user portrait; specifically, the following steps are performed: extracting the same-attribute operating parameters from the historical normal operating parameter matrix to obtain several groups of historical same-attribute operating parameters, wherein each group of historical same-attribute operating parameters contains several same-attribute operating parameters; obtaining the equipment operation rated parameter knowledge base; performing parameter extreme value statistics on each group of historical same-attribute operating parameters to obtain several operating parameter extreme value intervals; performing range evaluation and calculation on the extreme value intervals of operating parameters with the same attributes based on the equipment operation rated parameter knowledge base to obtain several operating parameter extreme value rate data; wherein, the extreme value intervals of each group of historical same-attribute operating parameters are compared with the equipment operation rated parameters to calculate their range, that is, the range of the extreme value intervals; and the calculated The range is converted into the range rate, that is, the ratio of the range to the rated parameter, and several operating parameter range rate data are obtained; the operating parameter range rate data is compared with the preset range rate threshold. If the operating parameter range rate data is greater than the preset range rate threshold, the parameter mean is calculated for the historical operating parameters of the same attribute of the corresponding group to obtain the operating parameter mean data, and the upper limit of the corresponding operating parameter extreme value interval is modified to the operating parameter mean data to obtain the normal operating reference interval; if the operating parameter range rate data is less than or equal to the preset range rate threshold, the corresponding operating parameter extreme value interval is directly used as the normal operating reference interval; when several operating parameter extreme value intervals are completely traversed, several normal operating reference intervals are obtained; according to the normal operating reference interval, a normal behavior equipment portrait is constructed for the production equipment to obtain a production equipment user portrait; Perform abnormal behavior detection on production equipment based on the production equipment user portrait to obtain the first production equipment detection data; When a number of database tables of the same type of equipment are completely traversed, a number of production equipment test data are obtained, and a test report is generated for the number of production equipment test data to obtain a production equipment test report; The monitoring device analysis module is used to construct a monitoring device user portrait for the monitoring device based on the classified device identification library table to obtain the monitoring device user portrait; perform monitoring device analysis on the monitoring device according to the monitoring device user portrait to obtain monitoring device detection data; The abnormal operation detection module is used to model the PC operation behavior of the PC device based on the classification device identification library table to obtain the PC user portrait; perform abnormal operation detection on the PC device according to the PC user portrait to obtain PC device detection data; The threat assessment fusion module is used to perform threat assessment fusion on the intelligent manufacturing workshop based on the production equipment detection report, monitoring equipment detection data and PC-side equipment detection data to obtain security situation data; generate a workshop security monitoring report based on the production equipment detection report, monitoring equipment detection data and PC-side equipment detection data according to the preset monitoring report template; upload the security situation data and the workshop security monitoring report to the preset workshop central control platform.
