Industrial Internet data processing method and related device based on artificial intelligence
By using feature function analysis and grid partitioning, abnormal states in industrial internet data are identified, improving the accuracy of data processing and the precision of anomaly identification, thus solving the problem of low accuracy in industrial internet data processing methods.
Patent Information
- Application Number
- CN202410838829.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-26
AI Technical Summary
In existing technologies, the accuracy of industrial internet data processing methods is relatively low, which affects the accuracy and reliability of artificial intelligence models.
Distribution state analysis is performed by determining characteristic functions, outliers between initial monitoring data and expected data are calculated, grid division and anomaly analysis are carried out, and the target anomaly state of the target object is determined by combining the first and second anomaly states.
It improves the accuracy and comprehensiveness of data analysis, enhances the accuracy of anomaly identification, and solves the problem of low accuracy in data processing methods.
Smart Images

Figure CN118395129B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to an industrial Internet data processing method based on artificial intelligence and related devices. Background Art
[0002] With the development of artificial intelligence, artificial intelligence also plays an important role in industrial production. In industrial production, it can timely discover problems in the production process by intelligently processing and analyzing a large amount of industrial data, thereby helping enterprises improve production efficiency, reduce costs, improve product quality and achieve intelligent production. However, the data processing algorithms used in related technologies have problems such as difficult feature extraction and poor data fusion effects, which in turn affect the accuracy and reliability of artificial intelligence models, resulting in a low accuracy rate for industrial Internet data processing methods. Summary of the invention
[0003] The main purpose of the embodiments of the present invention is to provide an industrial Internet data processing method and related devices based on artificial intelligence, aiming to solve the problem of low accuracy of the industrial Internet data processing method in related technologies.
[0004] In a first aspect, an embodiment of the present invention provides an industrial Internet data processing method based on artificial intelligence, comprising:
[0005] Determine a characteristic function, and perform a distribution state analysis on the initial monitoring data corresponding to the target object according to the characteristic function to obtain a distribution function corresponding to the initial monitoring data;
[0006] According to the distribution function, the expected data corresponding to the initial monitoring data is calculated, and then the first abnormal value between the initial monitoring data and the expected data is calculated;
[0007] Determine a first abnormal state corresponding to the target object according to the first abnormal value;
[0008] Performing grid division processing on the initial monitoring data to obtain a plurality of grid monitoring data;
[0009] Performing anomaly analysis on each of the grid monitoring data to obtain a second anomaly value corresponding to each of the grid monitoring data;
[0010] Determine a second abnormal state corresponding to the grid monitoring data according to the second abnormal value;
[0011] A target abnormal state corresponding to the target object is determined according to the first abnormal state and the second abnormal state.
[0012] In a second aspect, an embodiment of the present invention provides an industrial Internet data processing device based on artificial intelligence, including:
[0013] A distribution analysis module, used to determine a characteristic function, and perform a distribution state analysis on the initial monitoring data corresponding to the target object according to the characteristic function to obtain a distribution function corresponding to the initial monitoring data;
[0014] A first abnormality determination module, configured to calculate the first abnormal value between the initial monitoring data and the expected data according to the expected data corresponding to the initial monitoring data of the distribution function;
[0015] A first state determination module, configured to determine a first abnormal state corresponding to the target object according to the first abnormal value;
[0016] A data segmentation module, used for performing grid division processing on the initial monitoring data to obtain a plurality of grid monitoring data;
[0017] A second abnormality determination module, used for performing abnormality analysis on each of the grid monitoring data to obtain a second abnormal value corresponding to each of the grid monitoring data;
[0018] A second state determination module, configured to determine a second abnormal state corresponding to the grid monitoring data according to the second abnormal value;
[0019] A target state determination module is used to determine a target abnormal state corresponding to the target object according to the first abnormal state and the second abnormal state.
[0020] In a third aspect, an embodiment of the present invention further provides a terminal device, comprising a processor, a memory, a computer program stored in the memory and executable by the processor, and a data bus for realizing connection and communication between the processor and the memory, wherein when the computer program is executed by the processor, the steps of any one of the artificial intelligence-based industrial Internet data processing methods provided in the specification of the present invention are implemented.
[0021] In a fourth aspect, an embodiment of the present invention further provides a storage medium for computer-readable storage, characterized in that the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of any one of the artificial intelligence-based industrial Internet data processing methods provided in the specification of the present invention.
[0022] The embodiment of the present invention provides an industrial Internet data processing method based on artificial intelligence and a related device, the method comprising: determining a characteristic function, and performing a distribution state analysis on the initial monitoring data corresponding to the target object according to the characteristic function to obtain a distribution function corresponding to the initial monitoring data; calculating the expected data corresponding to the initial monitoring data according to the distribution function, and then calculating the first abnormal value between the initial monitoring data and the expected data; determining the first abnormal state corresponding to the target object according to the first abnormal value; performing a grid division process on the initial monitoring data to obtain a plurality of grid monitoring data; performing an abnormal analysis on each grid monitoring data to obtain a second abnormal value corresponding to each grid monitoring data; determining the second abnormal state corresponding to the grid monitoring data according to the second abnormal value; determining the target abnormal state corresponding to the target object according to the first abnormal state and the second abnormal state. The method determines that the characteristic function can help identify important features in the data and help the subsequent analysis process. Performing a distribution state analysis can help understand the overall distribution of the data and provide a basis for the subsequent calculation of abnormal values. Calculating abnormal values according to expected data can help determine abnormal conditions in the data, and then judge the first abnormal state of the target object. In addition, performing a grid division process on the monitoring data can divide the data into small pieces for more detailed abnormal analysis, which helps to understand the second abnormal state corresponding to the initial monitoring data in more detail. Finally, the target abnormal state of the target object is determined by the first abnormal state and the second abnormal state, which can help the user or system to make corresponding processing and decisions on the abnormal situation. The whole process helps to improve the accuracy and comprehensiveness of data analysis and the accuracy of abnormal identification. It also solves the problem of low accuracy of industrial Internet data processing methods in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0024] Figure 1 A flowchart of an industrial Internet data processing method based on artificial intelligence provided by an embodiment of the present invention;
[0025] Figure 2 A schematic diagram of the module structure of an industrial Internet data processing device based on artificial intelligence provided by an embodiment of the present invention;
[0026] Figure 3 A schematic block diagram of the structure of a terminal device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0028] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0029] It should be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0030] The embodiment of the present invention provides an industrial Internet data processing method based on artificial intelligence and a related device. The industrial Internet data processing method based on artificial intelligence can be applied to a terminal device, which can be an electronic device such as a tablet computer, a laptop computer, a desktop computer, a personal digital assistant, and a wearable device. The terminal device can be a server or a server cluster.
[0031] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0032] Please refer to Figure 1 , Figure 1 A flowchart of an industrial Internet data processing method based on artificial intelligence is provided for an embodiment of the present invention.
[0033] like Figure 1 As shown, the artificial intelligence-based industrial Internet data processing method includes steps S101 to S107.
[0034] Step S101: determine a characteristic function, and perform distribution state analysis on initial monitoring data corresponding to a target object according to the characteristic function to obtain a distribution function corresponding to the initial monitoring data.
[0035] Exemplarily, the target object is an industrial device or a running component in the industrial device. The initial monitoring data is data collected after the target object is monitored by a sensor.
[0036] Exemplarily, data fitting is performed on historical monitoring data to obtain multiple characteristic functions, and then statistical methods (such as histograms, probability density estimation, etc.) are used to analyze the data distribution status of the initial monitoring data to understand the distribution characteristics of the data. Based on the results of the above distribution status analysis, the distribution function that best matches the initial monitoring data is determined from multiple characteristic functions, so as to better understand the distribution law of the initial monitoring data.
[0037] Step S102: Calculate the expected data corresponding to the initial monitoring data according to the distribution function, and then calculate the first abnormal value between the initial monitoring data and the expected data.
[0038] Exemplarily, the initial monitoring data includes the acquisition time and the sensor data corresponding to the acquisition time. According to the distribution function obtained in the previous step, the expected data corresponding to the initial monitoring data can be calculated. That is, the expected data should be obtained under ideal conditions at the acquisition time according to the distribution function.
[0039] Exemplarily, the difference between the sensor data and the expected data at all acquisition times is calculated, and then the maximum value among the differences is selected as the first abnormal value. The first abnormal value represents the value with the largest difference between the sensor data and the expected data.
[0040] In some embodiments, the calculation of the first abnormal value between the initial monitoring data and the expected data includes: determining the abnormal difference between the initial monitoring data and the expected data, and obtaining the data position corresponding to the abnormal difference from the initial monitoring data; removing the abnormal data corresponding to the abnormal difference from the initial monitoring data to obtain the target monitoring data; obtaining the normal range of data corresponding to the abnormal difference from the target monitoring data according to the data position; determining the data average value corresponding to the data position according to the normal range of data and the expected data; calculating the difference between the data average value and the real monitoring value corresponding to the data position to obtain the first abnormal value; wherein the data average value is obtained according to the following formula;
[0041] ;
[0042] represents the data average value corresponding to the ith data position, m1 represents the minimum value of the normal range of the data, m2 represents the maximum value of the normal range of the data, represents the jth expected data, m represents the total number of abnormal differences, Represents the (m+1)*jth expected data.
[0043] Exemplarily, the abnormal difference between the initial monitoring data and the expected data, that is, the absolute value or square difference of the difference between the two, is calculated, and then the data point position with the largest abnormal difference or exceeding the set threshold is found from the initial monitoring data, that is, the abnormal data position.
[0044] Exemplarily, abnormal data corresponding to the abnormal difference is obtained from the initial monitoring data, and then the abnormal data is removed from the initial monitoring data to obtain the target monitoring data.
[0045] Exemplarily, the normal range of data corresponding to the abnormal difference is obtained from the target monitoring data, that is, the normal range of data corresponding to the abnormal data is obtained. The data points around the abnormal data position are defined as the normal range of data corresponding to the abnormal data.
[0046] For example, the initial monitoring data is x1, x2, x3, ..., x(n-1), xn. When the abnormal data corresponding to the abnormal difference is x3 and x(n-1), x3 and x(n-1) are removed from the initial monitoring data to obtain the target monitoring data x1, x2, ..., xn. When the abnormal data corresponding to the abnormal difference is x3, the normal range of the data is determined to be x1-x2; when the abnormal data corresponding to the abnormal difference is x(n-1), the normal range of the data is determined to be x4-x(n-2).
[0047] Exemplarily, the expected data corresponding to each data in the normal range of the data is obtained, and then the data average value of the data position corresponding to the abnormal difference is obtained, and the data average value is obtained according to the following formula:
[0048] ;
[0049] represents the average value of the data corresponding to the i-th data position, m1 represents the minimum value of the normal range of the data, and m2 represents the maximum value of the normal range of the data. represents the jth expected data, m represents the total number of abnormal differences, Represents the (m+1)*jth expected data.
[0050] Exemplarily, the data average value of the data position corresponding to the abnormal difference value is obtained according to the expected data within the normal range of the data corresponding to the data position of the abnormal data, and then the data average value is used as the predicted expected value corresponding to the data position of the abnormal data, and then the difference between the data average value and the real monitoring value corresponding to the data position is calculated as the first abnormal value corresponding to the abnormal data. That is, the difference between the data average value obtained according to the expected data within the normal range of the data corresponding to the data position of the abnormal data and the real sensor data corresponding to the data position in the initial monitoring data is determined as the first abnormal value.
[0051] Specifically, by determining the abnormal difference, it can help identify possible abnormal values in the initial monitoring data, and then establish a normal range of data in the target monitoring data based on the data position corresponding to the abnormal difference, which helps to determine the reasonable value range of the data and provide support for calculating the expected prediction error corresponding to the data position, thereby further determining the first abnormal difference by calculating the data average and the actual monitoring value corresponding to the data position, thereby improving the accuracy and reliability of data analysis.
[0052] Step S103: determining a first abnormal state corresponding to the target object according to the first abnormal value.
[0053] Exemplarily, a threshold of an abnormal state is set based on historical experience or expert experience to determine the limit of the severity of the abnormality. The first abnormal value is compared with the set abnormal state threshold to determine the first abnormal state corresponding to the target object. For example, the first abnormal state includes levels such as slight abnormality, moderate abnormality, and severe abnormality.
[0054] Step S104: gridding the initial monitoring data to obtain a plurality of grid monitoring data.
[0055] Exemplarily, the method of determining grid division can be uniform division or dynamic division according to data characteristics. Determine the size and shape of each grid. Then, according to the defined grid division method, the initial monitoring data is grid-divided according to the corresponding rules, and the initial monitoring data is allocated to the corresponding grids to obtain multiple grid monitoring data, thereby better understanding the spatial distribution characteristics of the initial monitoring data, discovering local anomalies or regularities, and providing more detailed information for subsequent data analysis.
[0056] Step S105: perform an abnormality analysis on each of the grid monitoring data to obtain a second abnormal value corresponding to each of the grid monitoring data.
[0057] Exemplarily, a suitable anomaly detection algorithm is selected, such as a statistical method, a machine learning method, or a time series analysis method, to analyze the anomaly of each grid monitoring data. Thus, the selected anomaly detection algorithm is applied to each grid monitoring data to identify and mark potential anomalies, and obtain the anomaly probability corresponding to each anomaly value, and then the anomaly probability is determined as the second anomaly value.
[0058] In some embodiments, the abnormality analysis of each of the grid monitoring data to obtain the second abnormal value corresponding to each of the grid monitoring data includes: calculating the neighbor distance between the grid monitoring data, and determining the neighbor monitoring data corresponding to the grid monitoring data according to the neighbor distance; determining the local reachable density corresponding to the grid monitoring data according to the neighbor monitoring data; determining the first abnormality factor corresponding to the grid monitoring data according to the local reachable density; determining the first center corresponding to the neighbor monitoring data and the second center corresponding to the grid monitoring data; determining the adjacent distance between the grid monitoring data and the neighbor monitoring data according to the first center and the second center; determining the second abnormality factor corresponding to the grid monitoring data according to the adjacent distance; and determining the second abnormal value corresponding to the grid monitoring data according to the first abnormality factor and the second abnormality factor.
[0059] Exemplarily, a distance measurement method (such as Euclidean distance, Manhattan distance, etc.) is used to calculate the distance between grids to obtain the neighbor distance, and then the neighbor grid of each grid monitoring data is determined according to the neighbor distance, that is, the neighbor monitoring data corresponding to the neighbor grid is obtained.
[0060] For example, using algorithms such as Local Outlier Factor (LOF) for each grid monitoring data, its local reachable density can be calculated based on neighboring monitoring data, so as to determine the first abnormal factor corresponding to each grid monitoring data based on the calculation result of the local reachable density.
[0061] Exemplarily, for each neighbor monitoring data, the center point is calculated to obtain the first center and the second center corresponding to the grid monitoring data is calculated, and then the distance between the first center and the second center is calculated to determine the adjacent distance between the grid monitoring data and its neighbor monitoring data. Finally, according to the calculation result of the adjacent distance, the second abnormal factor corresponding to each grid monitoring data is determined.
[0062] Exemplarily, after adding the first abnormal factor and the second abnormal factor, the addition result is determined as the second abnormal value of the corresponding grid monitoring data.
[0063] Specifically, by calculating the nearest neighbor distance, local reachable density, first anomaly factor, and second anomaly factor, we can have a more comprehensive understanding of the anomalies in the data set, perform anomaly detection on the data from multiple angles, and reduce missed reports and false positives.
[0064] In some embodiments, the determining the neighbor monitoring data corresponding to the grid monitoring data according to the neighbor distance includes: determining the target monitoring data from a plurality of the grid monitoring data, and determining the remaining grid monitoring data as the remaining monitoring data; determining the corresponding neighbor weight between the target monitoring data and the remaining monitoring data according to the neighbor distance; determining the corresponding neighbor evidence between the target monitoring data and the remaining monitoring data according to the neighbor weight; determining the neighbor monitoring data corresponding to the target monitoring data from the remaining monitoring data according to the neighbor evidence; wherein the neighbor weight is obtained according to the following formula:
[0065] ;
[0066] represents the neighbor weight corresponding to the target monitoring data and the i-th remaining monitoring data, represents the neighbor distance between the target monitoring data and the i-th remaining monitoring data, and n represents the total number of the remaining monitoring data.
[0067] Exemplarily, any one grid monitoring data is determined as target monitoring data, and then the selected grid monitoring data is removed from the plurality of grid monitoring data so that the remaining grid monitoring data is determined as remaining monitoring data.
[0068] Exemplarily, the neighbor weight between the target monitoring data and the remaining monitoring data is determined according to the following formula based on the neighbor distance between the target monitoring data and the remaining monitoring data.
[0069] ;
[0070] represents the corresponding neighbor weight between the target monitoring data and the i-th remaining monitoring data, represents the nearest neighbor distance between the target monitoring data and the i-th remaining monitoring data, and n represents the total number of corresponding remaining monitoring data.
[0071] Exemplarily, a quantitative method is used to determine the neighbor evidence between the target monitoring data and the remaining monitoring data based on the neighbor weight, and the neighbor evidence is used to indicate the degree of association between the target monitoring data and the remaining monitoring data. Thus, when the neighbor evidence is greater than a preset value, the remaining monitoring data corresponding to the neighbor evidence is determined as the neighbor monitoring data corresponding to the target monitoring data, that is, the data set most relevant to the target monitoring data.
[0072] Specifically, according to the calculated neighbor distance and neighbor weight, the neighbor relationship model between the target monitoring data and the remaining monitoring data can be established to reveal the spatial correlation or similarity between the data. Thus, by determining the neighbor weight and neighbor evidence, the degree of connection between the target monitoring data and the remaining monitoring data can be quantified, and then the association measure between the target monitoring data and the remaining monitoring data can be quantified, providing a basis for subsequent analysis, and then providing a more comprehensive and effective data basis for further analysis and decision-making.
[0073] In some embodiments, determining the first abnormality factor corresponding to the grid monitoring data based on the local reachable density includes: determining a preset density parameter, screening the neighborhood grids corresponding to the grid monitoring data according to the preset density parameter and the adjacent distance to obtain neighborhood monitoring data; obtaining a first density corresponding to the neighborhood monitoring data and a second density corresponding to the grid monitoring data from the local reachable density; and determining the first abnormality factor corresponding to the grid monitoring data based on the first density and the second density.
[0074] Exemplarily, a preset density parameter is set based on expert experience or historical experience for subsequent data screening and abnormal factor calculation. According to the preset density parameter and the adjacent distance, the corresponding neighborhood grid of the grid monitoring data is screened to obtain the neighborhood monitoring data. For example, when the adjacent distance is less than the preset density parameter, the grid monitoring data corresponding to the adjacent distance is determined as the neighborhood monitoring data.
[0075] Exemplarily, the first density corresponding to the neighborhood monitoring data and the second density corresponding to the grid monitoring data are obtained from the local reachable density. These density values reflect the density distribution of the data points in the corresponding grid. Thus, a plurality of division results are obtained by dividing the first density corresponding to each neighborhood monitoring data by the second density, and then the division results are summed, and the summation result and the data amount corresponding to the neighborhood monitoring data are divided to obtain the first abnormality factor.
[0076] In some embodiments, determining the second abnormality factor corresponding to the grid monitoring data based on the adjacent distance includes: obtaining the maximum distance corresponding to the adjacent distance; performing ratio processing on the adjacent distance and the maximum distance to obtain the second abnormality factor corresponding to the grid monitoring data.
[0077] Exemplarily, multiple adjacent distances corresponding to the grid monitoring data are obtained, and then the maximum value among the multiple adjacent distances is determined as the maximum distance. This maximum distance can help measure the maximum distance between grid data in the grid monitoring data and reflect the distribution range of the data.
[0078] Exemplarily, the adjacent distance is processed with the corresponding maximum distance ratio to calculate the second anomaly factor. The larger the second anomaly factor, the greater the data offset between the grids, and the greater the probability of abnormal data in the grid monitoring data. The larger the second anomaly factor, the greater the difference between the grid monitoring data and the neighboring monitoring data, and the greater the possibility of anomaly.
[0079] Specifically, by calculating the second anomaly factor, we can gain a deeper understanding of the relationship and distribution patterns among grid monitoring data, providing accurate support for subsequent data anomaly identification.
[0080] Step S106: determining a second abnormal state corresponding to the grid monitoring data according to the second abnormal value.
[0081] Exemplarily, different levels or ranges of the second abnormal state are defined, for example, the second abnormal value is divided into different states, such as normal, slightly abnormal, moderately abnormal, severely abnormal, etc. Thus, according to the abnormal state range defined in the first step, the corresponding threshold is set. These thresholds can be used to determine the second abnormal state corresponding to the second abnormal value, and compare it with the range of each abnormal state.
[0082] Step S107: Determine a target abnormal state corresponding to the target object according to the first abnormal state and the second abnormal state.
[0083] Exemplarily, according to the different levels of the first abnormal state and the second abnormal state, their priorities and weights in determining the target abnormal state are determined. In combination with the specific situation of the target object, the first abnormal state and the second abnormal state are associated to determine the degree of their influence on the abnormal state of the target object. A logical relationship or an algorithm model can be used to quantify the correlation between them. Thus, for each target object, according to its first abnormal state and the second abnormal state, according to the set priority and association rules, its corresponding target abnormal state is determined.
[0084] In some embodiments, determining the target abnormal state corresponding to the target object based on the first abnormal state and the second abnormal state includes: determining a first abnormal probability corresponding to the first abnormal state based on the first abnormal value; determining a second abnormal probability corresponding to the second abnormal state based on the second abnormal value; fusing the first abnormal probability and the second abnormal probability to determine the target abnormal probability; and determining the target abnormal state corresponding to the target object based on the target abnormal probability.
[0085] Exemplarily, the abnormal value range corresponding to the first abnormal state is obtained, and then the first abnormal probability corresponding to the first abnormal state is determined according to the position ratio of the first abnormal value in the abnormal value range. And the abnormal value range corresponding to the second abnormal state is obtained, and then the second abnormal probability corresponding to the second abnormal state is determined according to the position ratio of the second abnormal value in the abnormal value range.
[0086] Exemplarily, the first abnormal probability and the second abnormal probability are merged, and weighted average, logistic regression, decision tree and other methods can be used to determine the target abnormal probability. Thus, when the target abnormal probability is greater than a preset value, the target abnormal state is determined to be abnormal; when the target abnormal probability is less than the preset value, the target abnormal state is determined to be normal.
[0087] Specifically, the first abnormality probability and the second abnormality probability are comprehensively considered to determine the target abnormal state of the target object, provide the user with a more comprehensive abnormal state assessment, and help the user make more accurate decisions and processing.
[0088] The embodiment of the present invention provides an industrial Internet data processing method based on artificial intelligence and a related device, the method comprising: determining a characteristic function, and performing a distribution state analysis on the initial monitoring data corresponding to the target object according to the characteristic function to obtain a distribution function corresponding to the initial monitoring data; calculating the expected data corresponding to the initial monitoring data according to the distribution function, and then calculating the first abnormal value between the initial monitoring data and the expected data; determining the first abnormal state corresponding to the target object according to the first abnormal value; performing a grid division process on the initial monitoring data to obtain a plurality of grid monitoring data; performing an abnormal analysis on each grid monitoring data to obtain a second abnormal value corresponding to each grid monitoring data; determining the second abnormal state corresponding to the grid monitoring data according to the second abnormal value; determining the target abnormal state corresponding to the target object according to the first abnormal state and the second abnormal state. The method determines that the characteristic function can help identify important features in the data and help the subsequent analysis process. Performing a distribution state analysis can help understand the overall distribution of the data and provide a basis for the subsequent calculation of abnormal values. Calculating abnormal values according to expected data can help determine abnormal conditions in the data, and then judge the first abnormal state of the target object. In addition, performing a grid division process on the monitoring data can divide the data into small pieces for more detailed abnormal analysis, which helps to understand the second abnormal state corresponding to the initial monitoring data in more detail. Finally, the target abnormal state of the target object is determined by the first abnormal state and the second abnormal state, which can help the user or system to make corresponding processing and decisions on the abnormal situation. The whole process helps to improve the accuracy and comprehensiveness of data analysis and the accuracy of abnormal identification. It also solves the problem of low accuracy of industrial Internet data processing methods in related technologies.
[0089] See also Figure 2 , Figure 2 An artificial intelligence-based industrial Internet data processing device 200 is provided for an embodiment of the present application. The artificial intelligence-based industrial Internet data processing device 200 includes a distribution analysis module 201, a first abnormality determination module 202, a first state determination module 203, a data segmentation module 204, a second abnormality determination module 205, a second state determination module 206, and a target state determination module 207, wherein the distribution analysis module 201 is used to determine a characteristic function, and perform a distribution state analysis on the initial monitoring data corresponding to the target object according to the characteristic function to obtain the distribution function corresponding to the initial monitoring data; the first abnormality determination module 202 is used to calculate the expected data corresponding to the initial monitoring data according to the distribution function, and then calculate the target state determination module 207. a first abnormal value between the initial monitoring data and the expected data; a first state determination module 203, used to determine the first abnormal state corresponding to the target object according to the first abnormal value; a data segmentation module 204, used to perform grid division processing on the initial monitoring data to obtain multiple grid monitoring data; a second abnormality determination module 205, used to perform abnormality analysis on each of the grid monitoring data to obtain a second abnormal value corresponding to each of the grid monitoring data; a second state determination module 206, used to determine the second abnormal state corresponding to the grid monitoring data according to the second abnormal value; a target state determination module 207, used to determine the target abnormal state corresponding to the target object according to the first abnormal state and the second abnormal state.
[0090] In some implementations, the first anomaly determination module 202, during the process of calculating the first anomaly value between the initial monitoring data and the expected data, performs:
[0091] Determine an abnormal difference between the initial monitoring data and the expected data, and obtain a data position corresponding to the abnormal difference from the initial monitoring data;
[0092] Eliminate the abnormal data corresponding to the abnormal difference from the initial monitoring data to obtain target monitoring data;
[0093] Obtaining a normal range of data corresponding to the abnormal difference from the target monitoring data according to the data position;
[0094] Determine the data average value corresponding to the data position according to the normal range of the data and the expected data;
[0095] Calculate the difference between the data average value and the real monitoring value corresponding to the data position to obtain the first abnormal value;
[0096] The data average value is obtained according to the following formula:
[0097] ;
[0098] represents the data average value corresponding to the ith data position, m1 represents the minimum value of the normal range of the data, m2 represents the maximum value of the normal range of the data, represents the jth expected data, m represents the total number of abnormal differences, Represents the (m+1)*jth expected data.
[0099] In some implementations, the second anomaly determination module 205, in the process of performing anomaly analysis on each of the grid monitoring data to obtain a second anomaly value corresponding to each of the grid monitoring data, executes:
[0100] Calculating the neighbor distance between the grid monitoring data, and determining the neighbor monitoring data corresponding to the grid monitoring data according to the neighbor distance;
[0101] Determine the local reachable density corresponding to the grid monitoring data according to the neighbor monitoring data;
[0102] Determine a first abnormal factor corresponding to the grid monitoring data according to the local reachable density;
[0103] Determine a first center corresponding to the neighbor monitoring data and a second center corresponding to the grid monitoring data;
[0104] Determine the adjacent distance between the grid monitoring data and the neighbor monitoring data according to the first center and the second center;
[0105] Determine a second abnormal factor corresponding to the grid monitoring data according to the adjacent distance;
[0106] The second abnormal value corresponding to the grid monitoring data is determined according to the first abnormal factor and the second abnormal factor.
[0107] In some implementations, the second anomaly determination module 205, in the process of determining the neighbor monitoring data corresponding to the grid monitoring data according to the neighbor distance, executes:
[0108] Determine target monitoring data from the plurality of grid monitoring data, and determine the remaining grid monitoring data as remaining monitoring data;
[0109] Determine the neighbor weights corresponding to the target monitoring data and the remaining monitoring data according to the neighbor distance;
[0110] Determine the corresponding neighbor evidence between the target monitoring data and the remaining monitoring data according to the neighbor weight;
[0111] Determining the neighbor monitoring data corresponding to the target monitoring data from the remaining monitoring data according to the neighbor evidence;
[0112] The neighbor weight is obtained according to the following formula:
[0113] ;
[0114] represents the neighbor weight corresponding to the target monitoring data and the i-th remaining monitoring data, represents the neighbor distance between the target monitoring data and the i-th remaining monitoring data, and n represents the total number of the remaining monitoring data.
[0115] In some implementations, the second anomaly determination module 205, during the process of determining the first anomaly factor corresponding to the grid monitoring data according to the local reachable density, performs:
[0116] Determine a preset density parameter, and screen the neighborhood grids corresponding to the grid monitoring data according to the preset density parameter and the adjacent distance to obtain the neighborhood monitoring data;
[0117] Obtaining a first density corresponding to the neighborhood monitoring data and a second density corresponding to the grid monitoring data from the local reachable density;
[0118] The first abnormal factor corresponding to the grid monitoring data is determined according to the first density and the second density.
[0119] In some implementations, the second anomaly determination module 205, in the process of determining the second anomaly factor corresponding to the grid monitoring data according to the adjacent distance, performs:
[0120] Obtaining the maximum distance corresponding to the adjacent distances;
[0121] The adjacent distance and the maximum distance are ratio-processed to obtain the second abnormality factor corresponding to the grid monitoring data.
[0122] In some implementations, the target state determination module 207, in the process of determining the target abnormal state corresponding to the target object according to the first abnormal state and the second abnormal state, performs:
[0123] determining a first abnormality probability corresponding to the first abnormal state according to the first abnormal value;
[0124] determining a second abnormality probability corresponding to the second abnormal state according to the second abnormal value;
[0125] Determine a target abnormality probability by fusing the first abnormality probability and the second abnormality probability;
[0126] The target abnormal state corresponding to the target object is determined according to the target abnormal probability.
[0127] In some embodiments, the artificial intelligence-based industrial Internet data processing device 200 can be applied to terminal devices.
[0128] It should be noted that technical personnel in the relevant field can clearly understand that, for the convenience and conciseness of description, the specific working process of the artificial intelligence-based industrial Internet data processing device 200 described above can refer to the corresponding process in the aforementioned artificial intelligence-based industrial Internet data processing method embodiment, and will not be repeated here.
[0129] See also Figure 3 , Figure 3 A schematic block diagram of the structure of a terminal device provided in an embodiment of the present invention.
[0130] like Figure 3 As shown, the terminal device 300 includes a processor 301 and a memory 302 , and the processor 301 and the memory 302 are connected via a bus 303 , such as an I2C (Inter-integrated Circuit) bus.
[0131] Specifically, the processor 301 is used to provide computing and control capabilities to support the operation of the entire terminal device. The processor 301 can be a central processing unit (CPU), and the processor 301 can also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
[0132] Specifically, the memory 302 may be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a mobile hard disk.
[0133] Those skilled in the art will understand that Figure 3The structure shown in the figure is only a block diagram of a partial structure related to the embodiment of the present invention, and does not constitute a limitation on the terminal device to which the embodiment of the present invention is applied. The specific server may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0134] Among them, the processor is used to run the computer program stored in the memory, and implement any one of the artificial intelligence-based industrial Internet data processing methods provided by the embodiments of the present invention when executing the computer program.
[0135] In one embodiment, the processor is used to run a computer program stored in the memory, and implements the following steps when executing the computer program:
[0136] Determine a characteristic function, and perform a distribution state analysis on the initial monitoring data corresponding to the target object according to the characteristic function to obtain a distribution function corresponding to the initial monitoring data;
[0137] According to the distribution function, the expected data corresponding to the initial monitoring data is calculated, and then the first abnormal value between the initial monitoring data and the expected data is calculated;
[0138] Determine a first abnormal state corresponding to the target object according to the first abnormal value;
[0139] Performing grid division processing on the initial monitoring data to obtain a plurality of grid monitoring data;
[0140] Performing anomaly analysis on each of the grid monitoring data to obtain a second anomaly value corresponding to each of the grid monitoring data;
[0141] Determine a second abnormal state corresponding to the grid monitoring data according to the second abnormal value;
[0142] A target abnormal state corresponding to the target object is determined according to the first abnormal state and the second abnormal state.
[0143] In some implementations, the processor 301, during the process of calculating the first abnormal value between the initial monitoring data and the expected data, executes:
[0144] Determine an abnormal difference between the initial monitoring data and the expected data, and obtain a data position corresponding to the abnormal difference from the initial monitoring data;
[0145] Eliminate the abnormal data corresponding to the abnormal difference from the initial monitoring data to obtain target monitoring data;
[0146] Obtaining a normal range of data corresponding to the abnormal difference from the target monitoring data according to the data position;
[0147] Determine the data average value corresponding to the data position according to the normal range of the data and the expected data;
[0148] Calculate the difference between the data average value and the real monitoring value corresponding to the data position to obtain the first abnormal value;
[0149] The data average value is obtained according to the following formula:
[0150] ;
[0151] represents the data average value corresponding to the ith data position, m1 represents the minimum value of the normal range of the data, m2 represents the maximum value of the normal range of the data, represents the jth expected data, m represents the total number of abnormal differences, Represents the (m+1)*jth expected data.
[0152] In some implementations, the processor 301, in the process of performing anomaly analysis on each of the grid monitoring data to obtain a second anomaly value corresponding to each of the grid monitoring data, executes:
[0153] Calculating the neighbor distance between the grid monitoring data, and determining the neighbor monitoring data corresponding to the grid monitoring data according to the neighbor distance;
[0154] Determine the local reachable density corresponding to the grid monitoring data according to the neighbor monitoring data;
[0155] Determine a first abnormal factor corresponding to the grid monitoring data according to the local reachable density;
[0156] Determine a first center corresponding to the neighbor monitoring data and a second center corresponding to the grid monitoring data;
[0157] Determine the adjacent distance between the grid monitoring data and the neighbor monitoring data according to the first center and the second center;
[0158] Determine a second abnormal factor corresponding to the grid monitoring data according to the adjacent distance;
[0159] The second abnormal value corresponding to the grid monitoring data is determined according to the first abnormal factor and the second abnormal factor.
[0160] In some implementations, the processor 301, during the process of determining the neighbor monitoring data corresponding to the grid monitoring data according to the neighbor distance, executes:
[0161] Determine target monitoring data from the plurality of grid monitoring data, and determine the remaining grid monitoring data as remaining monitoring data;
[0162] Determine the neighbor weights corresponding to the target monitoring data and the remaining monitoring data according to the neighbor distance;
[0163] Determine the corresponding neighbor evidence between the target monitoring data and the remaining monitoring data according to the neighbor weight;
[0164] Determining the neighbor monitoring data corresponding to the target monitoring data from the remaining monitoring data according to the neighbor evidence;
[0165] The neighbor weight is obtained according to the following formula:
[0166] ;
[0167] represents the neighbor weight corresponding to the target monitoring data and the i-th remaining monitoring data, represents the neighbor distance between the target monitoring data and the i-th remaining monitoring data, and n represents the total number of the remaining monitoring data.
[0168] In some implementations, the processor 301, in the process of determining the first abnormal factor corresponding to the grid monitoring data according to the local reachable density, executes:
[0169] Determine a preset density parameter, and screen the neighborhood grids corresponding to the grid monitoring data according to the preset density parameter and the adjacent distance to obtain the neighborhood monitoring data;
[0170] Obtaining a first density corresponding to the neighborhood monitoring data and a second density corresponding to the grid monitoring data from the local reachable density;
[0171] The first abnormal factor corresponding to the grid monitoring data is determined according to the first density and the second density.
[0172] In some implementations, during the process of determining the second abnormality factor corresponding to the grid monitoring data according to the adjacent distance, the processor 301 executes:
[0173] Obtaining the maximum distance corresponding to the adjacent distances;
[0174] The adjacent distance and the maximum distance are ratio-processed to obtain the second abnormality factor corresponding to the grid monitoring data.
[0175] In some implementations, during the process of determining the target abnormal state corresponding to the target object according to the first abnormal state and the second abnormal state, the processor 301 executes:
[0176] determining a first abnormality probability corresponding to the first abnormal state according to the first abnormal value;
[0177] determining a second abnormality probability corresponding to the second abnormal state according to the second abnormal value;
[0178] Determine a target abnormality probability by fusing the first abnormality probability and the second abnormality probability;
[0179] The target abnormal state corresponding to the target object is determined according to the target abnormal probability.
[0180] It should be noted that technical personnel in the relevant field can clearly understand that, for the convenience and conciseness of description, the specific working process of the terminal device described above can refer to the corresponding process in the aforementioned embodiment of the industrial Internet data processing method based on artificial intelligence, and will not be repeated here.
[0181] An embodiment of the present invention also provides a storage medium for computer-readable storage, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of any one of the artificial intelligence-based industrial Internet data processing methods provided in the description of the embodiment of the present invention.
[0182] The storage medium may be an internal storage unit of the terminal device in the aforementioned embodiment, such as a hard disk or memory of the terminal device. The storage medium may also be an external storage device of the terminal device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the terminal device.
[0183] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In a hardware embodiment, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transient medium). As is known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0184] It should be understood that the term "and / or" used in the present specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, including these combinations. It should be noted that, in this article, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "including a..." does not exclude the presence of other identical elements in the process, method, article or system including the element.
[0185] The serial numbers of the embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. An industrial Internet data processing method based on artificial intelligence, characterized in that: The method comprises: Determine a characteristic function, and perform a distribution state analysis on the initial monitoring data corresponding to the target object according to the characteristic function to obtain a distribution function corresponding to the initial monitoring data; According to the distribution function, the expected data corresponding to the initial monitoring data is calculated, and then the first abnormal value between the initial monitoring data and the expected data is calculated; Determine a first abnormal state corresponding to the target object according to the first abnormal value; Performing grid division processing on the initial monitoring data to obtain a plurality of grid monitoring data; Performing anomaly analysis on each of the grid monitoring data to obtain a second anomaly value corresponding to each of the grid monitoring data; Determine a second abnormal state corresponding to the grid monitoring data according to the second abnormal value; Determine a target abnormal state corresponding to the target object according to the first abnormal state and the second abnormal state; The calculating a first abnormal value between the initial monitoring data and the expected data comprises: Determine an abnormal difference between the initial monitoring data and the expected data, and obtain a data position corresponding to the abnormal difference from the initial monitoring data; Eliminate the abnormal data corresponding to the abnormal difference from the initial monitoring data to obtain target monitoring data; Obtaining a normal range of data corresponding to the abnormal difference from the target monitoring data according to the data position; Determine the data average value corresponding to the data position according to the normal range of the data and the expected data; Calculate the difference between the data average value and the real monitoring value corresponding to the data position to obtain the first abnormal value; The data average value is obtained according to the following formula: ; represents the data average value corresponding to the ith data position, m1 represents the minimum value of the normal range of the data, m2 represents the maximum value of the normal range of the data, represents the jth expected data, m represents the total number of abnormal differences, Indicates the (m+1)th j pieces of the expected data; The performing anomaly analysis on each of the grid monitoring data to obtain a second anomaly value corresponding to each of the grid monitoring data includes: Calculating the neighbor distance between the grid monitoring data, and determining the neighbor monitoring data corresponding to the grid monitoring data according to the neighbor distance; Determine the local reachable density corresponding to the grid monitoring data according to the neighbor monitoring data; Determine a first abnormal factor corresponding to the grid monitoring data according to the local reachable density; Determine a first center corresponding to the neighbor monitoring data and a second center corresponding to the grid monitoring data; Determine the adjacent distance between the grid monitoring data and the neighbor monitoring data according to the first center and the second center; Determine a second abnormal factor corresponding to the grid monitoring data according to the adjacent distance; Determine the second abnormal value corresponding to the grid monitoring data according to the first abnormal factor and the second abnormal factor; The determining, according to the neighbor distance, the neighbor monitoring data corresponding to the grid monitoring data includes: Determine target monitoring data from the plurality of grid monitoring data, and determine the remaining grid monitoring data as remaining monitoring data; Determine the neighbor weights corresponding to the target monitoring data and the remaining monitoring data according to the neighbor distance; Determine the corresponding neighbor evidence between the target monitoring data and the remaining monitoring data according to the neighbor weight; Determining the neighbor monitoring data corresponding to the target monitoring data from the remaining monitoring data according to the neighbor evidence; The neighbor weight is obtained according to the following formula: ; represents the neighbor weight corresponding to the target monitoring data and the i-th remaining monitoring data, represents the nearest neighbor distance between the target monitoring data and the i-th remaining monitoring data, and n represents the total number of the remaining monitoring data; The determining, according to the local reachable density, a first abnormal factor corresponding to the grid monitoring data includes: Determine a preset density parameter, and screen the neighborhood grids corresponding to the grid monitoring data according to the preset density parameter and the adjacent distance to obtain the neighborhood monitoring data; Obtaining a first density corresponding to the neighborhood monitoring data and a second density corresponding to the grid monitoring data from the local reachable density; Determine the first abnormal factor corresponding to the grid monitoring data according to the first density and the second density; The determining, according to the adjacent distance, a second abnormal factor corresponding to the grid monitoring data includes: Obtaining the maximum distance corresponding to the adjacent distances; The adjacent distance and the maximum distance are ratio-processed to obtain the second abnormality factor corresponding to the grid monitoring data.
2. The method according to claim 1, characterized in that The determining a target abnormal state corresponding to the target object according to the first abnormal state and the second abnormal state includes: determining a first abnormality probability corresponding to the first abnormal state according to the first abnormal value; determining a second abnormality probability corresponding to the second abnormal state according to the second abnormal value; Determine a target abnormality probability by fusing the first abnormality probability and the second abnormality probability; The target abnormal state corresponding to the target object is determined according to the target abnormal probability.
3. An industrial Internet data processing device based on artificial intelligence, characterized in that: Used to implement the artificial intelligence-based industrial Internet data processing method as claimed in claim 1 or 2, comprising: A distribution analysis module, used to determine a characteristic function, and perform a distribution state analysis on the initial monitoring data corresponding to the target object according to the characteristic function to obtain a distribution function corresponding to the initial monitoring data; A first abnormality determination module, configured to calculate the first abnormal value between the initial monitoring data and the expected data according to the expected data corresponding to the initial monitoring data of the distribution function; A first state determination module, configured to determine a first abnormal state corresponding to the target object according to the first abnormal value; A data segmentation module, used for performing grid division processing on the initial monitoring data to obtain a plurality of grid monitoring data; A second abnormality determination module, used for performing abnormality analysis on each of the grid monitoring data to obtain a second abnormal value corresponding to each of the grid monitoring data; A second state determination module, configured to determine a second abnormal state corresponding to the grid monitoring data according to the second abnormal value; A target state determination module is used to determine a target abnormal state corresponding to the target object according to the first abnormal state and the second abnormal state.
4. A terminal device, characterized in that: The terminal device includes a processor and a memory; The memory is used to store computer programs; The processor is used to execute the computer program and implement the artificial intelligence-based industrial Internet data processing method as described in any one of claims 1 or 2 when executing the computer program.
5. A computer storage medium for computer storage, characterized in that: The computer storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the artificial intelligence-based industrial Internet data processing method described in any one of claims 1 or 2.
