Industrial Internet equipment data extraction method and system

By generating and traversing maps, and extracting data from industrial Internet devices based on pixel characteristics and map names, the problem of resource waste caused by data collection from multiple equipment modules is solved, and efficient data screening and storage are achieved.

CN118113948BActive Publication Date: 2024-09-27CHINA IND INTERNET RES INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410325688.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-21
Publication Date
2024-09-27
Estimated Expiration
2044-03-21

AI Technical Summary

Technical Problem

In the industrial Internet, the data collection of multiple equipment modules leads to a large amount of invalid data, resulting in a waste of resources. How to improve the value of data analysis and reduce resource waste.

Method used

By querying the device location and component modules, a map with the data type of name is generated, the working data is copied and filled into the matrix, the map is traversed regularly, the extraction location is determined based on the pixel characteristics and map name, and the filled data is extracted to implement data filtering and storage.

Benefits of technology

Transfer the pressure of data screening to the equipment, reduce the amount of data transmission, and convert the storage form into highly concentrated images, simplifying the extraction process and reducing resource waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118113948B
    Figure CN118113948B
Patent Text Reader

Abstract

The present invention relates to the field of data screening technology, and specifically discloses a method and system for extracting data from industrial Internet devices, the method comprising querying the location and component modules of Internet devices in an industrial zone, classifying and counting the component modules according to the data types of the component modules, and obtaining a map named after the data type; copying the map, obtaining the working data of the component modules by Internet devices, identifying the working data, and filling the identification results into the corresponding matrix in the map in chronological order; when the data filling of a certain matrix is ​​completed, outputting the map, and using the time information as the map name; extracting and filling data according to the pixel features and map name of the map. The present invention screens the working data of the component modules through Internet devices, and then counts the data in the form of images, so that the working conditions of the entire industrial zone are represented and stored in the form of a highly concentrated two-dimensional map, effectively reducing resource waste.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data screening technology, and specifically to an industrial Internet device data extraction method and system. Background Art

[0002] The Industrial Internet is a new type of infrastructure, application model and industrial ecology that is the result of the deep integration of new-generation information and communication technology and industrial economy. By fully connecting people, machines, objects, systems, etc., it builds a new manufacturing and service system covering the entire industrial chain and the entire value chain.

[0003] The main components of the Industrial Internet are the various modules in each device. The working process of these modules needs to be monitored in real time. Most of the time, the working status of the modules is in a normal state, which means that most of the collected data does not need to be analyzed and is invalid data. When the number of modules is large, the amount of invalid data collected will be very large, which causes a lot of resource waste. How to improve the value of data analysis in the data collection process and reduce resource waste while ensuring data integrity as much as possible is the technical problem that the technical solution of the present invention wants to solve. Summary of the invention

[0004] The purpose of the present invention is to provide an industrial Internet device data extraction method and system to solve the problems raised in the above background technology.

[0005] To achieve the above object, the present invention provides the following technical solutions:

[0006] A method for extracting data from industrial Internet equipment, the method comprising:

[0007] Query the location and component modules of Internet devices in the industrial zone, classify and count the component modules according to the data types of the component modules, and obtain a map named by the data type; the map contains a matrix corresponding to the component modules one by one, and the location of the matrix is ​​determined by the location of the Internet device and the number of the component module in the Internet device;

[0008] Copy the map, obtain the working data of the component modules through the Internet device, identify the working data, and fill the identification results into the corresponding matrix in the map in chronological order;

[0009] When all the row and column positions of any matrix in the map are filled, the map is output, and the map copy time and output time are connected as the map name;

[0010] Periodically traverse each map, determine the extraction position according to the map's pixel features and map name, and extract fill data based on the extraction position;

[0011] The map name is used to adjust the judgment conditions of the pixel features of the map. When the pixel features of the map meet the judgment conditions, the matrix where the pixel features are located is used as the extraction position.

[0012] As a further solution of the present invention: the step of querying the location and component modules of Internet devices in the industrial zone, classifying and counting the component modules according to the data types of the component modules, and obtaining a map named after the data type comprises:

[0013] Obtain the location of Internet devices based on monitoring devices in industrial areas;

[0014] Query the component modules according to the filing data of the Internet device and number them according to the pre-set sequence;

[0015] Query the data type of the output data of the component modules, and classify and count the component modules according to the data type;

[0016] The industrial zone map is adjusted according to the number of component modules and the locations of their corresponding Internet devices, a mapping area of ​​each component module is determined in the adjusted industrial zone map, and the data type is used as an index.

[0017] As a further solution of the present invention: the step of adjusting the industrial zone map according to the number of component modules and the locations of their corresponding Internet devices, determining the mapping area of ​​each component module in the adjusted industrial zone map, and using the data type as an index includes:

[0018] Calculate the number of each type of component modules and calculate the ratio between them and the number of Internet devices;

[0019] Receive the matrix area input by the staff, calculate the product of the matrix area and the ratio, and use the product as a scaling factor to adjust the industrial zone map;

[0020] determining a mapping area corresponding to the location of the Internet device in the adjusted industrial area map based on the same zoom factor;

[0021] The mapping area is divided according to the numbers of the component modules and the matrix area to obtain the matrix corresponding to the component modules.

[0022] As a further solution of the present invention: the steps of copying the map, obtaining the working data of the constituent modules by the Internet device, identifying the working data, and filling the identification results into the corresponding matrix in the map in chronological order include:

[0023] Copy the map, and obtain the working data of the component modules from the Internet device; the working data contains a timestamp;

[0024] Obtain the rated data of the component modules, calculate the ratio of the working data to the rated data, and obtain the working data in percentage form;

[0025] Arrange work data in chronological order and identify abnormal work data;

[0026] Query the matrix corresponding to the component modules in the map, and fill the abnormal working data into each row and column position of the matrix from left to right and from top to bottom;

[0027] Among them, the abnormality judgment rules for working data are: In the formula, y is the abnormal value, N is the pre-set order, x is the converted working data, Δ i x is the i-th order difference of the transformed working data, α i is the preset coefficient of the i-th order difference;

[0028] The filling process requires the conversion of working data. The conversion rules are as follows: In the formula, y′ is the outlier value after transformation, y min is the minimum outlier, y max is the maximum outlier value.

[0029] As a further solution of the present invention: the step of periodically traversing each map, determining the extraction position according to the pixel features and the map name of the map, and extracting the filling data based on the extraction position includes:

[0030] Count the output map and input cache area;

[0031] Read the map in the cache area, traverse each pixel point in the map, and mark the empty point; the empty point is a pixel point that is not filled with data;

[0032] Classify the empty points according to the matrix they belong to, and calculate the empty point ratio according to the number of empty points in each matrix;

[0033] Count the percentage of empty points according to the arrangement order of the matrix to obtain an array of the percentage of empty points;

[0034] Read the map name, determine the target matrix based on the map name and the empty point ratio array, and extract the fill data in the target matrix.

[0035] As a further solution of the present invention: the steps of reading the map name, determining the target matrix according to the map name and the empty point ratio array, and extracting the filling data in the target matrix include:

[0036] Read the map name and calculate the time difference;

[0037] Calculate the mean and standard deviation of the empty point ratio array;

[0038] Determine the standard limit according to the time difference, mean and standard deviation, and perform binarization operation on the empty point ratio array according to the standard limit. When the empty point ratio is included in the standard limit, it is assigned a value of one, and when the empty point ratio exceeds the standard limit, it is assigned a value of zero.

[0039] Query the matrix corresponding to the zero value as the target matrix, and extract the filling data in the target matrix;

[0040] Wherein, the standard limit is μ±f(t)σ; wherein μ is the mean, σ is the standard deviation, and f(t) is a predetermined decreasing function of the time difference.

[0041] The technical solution of the present invention also provides an industrial Internet device data extraction system, the system comprising:

[0042] A map creation module is used to query the location and component modules of Internet devices in the industrial zone, classify and count the component modules according to their data types, and obtain a map named after the data type; the map contains a matrix corresponding to the component modules one by one, and the location of the matrix is ​​determined by the location of the Internet device and the number of the component module in the Internet device;

[0043] The data filling module is used to copy the map, obtain the working data of the component modules through the Internet device, identify the working data, and fill the identification results into the corresponding matrix in the map in chronological order;

[0044] The map output module is used to output the map when all the row and column positions of any matrix in the map are filled, and connect the copy time and output time of the map as the map name;

[0045] The traversal extraction module is used to traverse each map at a fixed time, determine the extraction position according to the pixel characteristics and map name of the map, and extract the filling data based on the extraction position;

[0046] The map name is used to adjust the judgment conditions of the pixel features of the map. When the pixel features of the map meet the judgment conditions, the matrix where the pixel features are located is used as the extraction position.

[0047] As a further solution of the present invention: the map creation module includes:

[0048] A location acquisition unit, used for acquiring the location of the Internet device according to the monitoring equipment in the industrial area;

[0049] A module numbering unit, used to query component modules according to the filing data of Internet devices and number them according to a pre-set sequence;

[0050] A classification and statistics unit is used to query the data type of the output data of the component modules and classify and count the component modules according to the data type;

[0051] The map adjustment unit is used to adjust the industrial zone map according to the number of component modules and the locations of their corresponding Internet devices, determine the mapping area of ​​each component module in the adjusted industrial zone map, and use the data type as an index.

[0052] As a further solution of the present invention: the map adjustment unit includes:

[0053] A calculation subunit, used to calculate the number of each type of component modules and calculate the ratio of the number of each type of component modules to the number of Internet devices;

[0054] A scaling subunit is used to receive the matrix area input by the staff, calculate the product of the matrix area and the ratio, and use the product as a scaling factor to adjust the industrial zone map;

[0055] a mapping subunit, configured to determine a mapping area corresponding to a location of the Internet device in the adjusted industrial area map based on the same zoom factor;

[0056] The segmentation subunit is used to segment the mapping area according to the numbers of the component modules and the matrix area to obtain the matrix corresponding to the component modules.

[0057] As a further solution of the present invention: the data filling module includes:

[0058] A module data acquisition unit, used to copy the map and acquire the working data of the constituent modules from an Internet device; the working data contains a timestamp;

[0059] A data normalization unit is used to obtain the rated data of the component modules, calculate the ratio of the working data to the rated data, and obtain the working data in percentage form;

[0060] A data identification unit, used to arrange the working data in chronological order and identify abnormal working data;

[0061] The filling execution unit is used to query the matrix corresponding to the component module in the map, and fill the abnormal working data into each row and column position of the matrix in the order from left to right and from top to bottom;

[0062] Among them, the abnormality judgment rules for working data are: In the formula, y is the abnormal value, N is the pre-set order, x is the converted working data, Δ i x is the i-th order difference of the transformed working data, α i is the preset coefficient of the i-th order difference;

[0063] The filling process requires the conversion of working data. The conversion rules are as follows: In the formula, y′ is the outlier value after transformation, ymin is the minimum outlier, y max is the maximum outlier value.

[0064] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention filters the working data of the component modules through the Internet device, and then calculates the data in the form of images, so that the working conditions of the entire industrial zone are represented and stored in the form of a highly concentrated two-dimensional graph. On the one hand, the data screening pressure is transferred to the Internet device, reducing the amount of data transmission. On the other hand, the data storage form is converted into an image with a higher degree of concentration, and the extraction process is more convenient, which effectively reduces the waste of resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention.

[0066] Figure 1 This is a flowchart of the data extraction method for industrial Internet devices.

[0067] Figure 2 This is the first sub-process flowchart of the industrial Internet device data extraction method.

[0068] Figure 3 This is the second sub-process flowchart of the industrial Internet device data extraction method.

[0069] Figure 4 This is the third sub-process flowchart of the industrial Internet equipment data extraction method.

[0070] Figure 5 This is a structural block diagram of the industrial Internet equipment data extraction system. DETAILED DESCRIPTION

[0071] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0072] Figure 1 The flowchart of the method for extracting data from industrial Internet devices is as follows. In an embodiment of the present invention, a method for extracting data from industrial Internet devices includes:

[0073] Step S100: querying the location and component modules of Internet devices in the industrial zone, classifying and counting the component modules according to the data types of the component modules, and obtaining a map named by the data type; the map contains a matrix corresponding to the component modules one by one, and the location of the matrix is ​​determined by the location of the Internet device and the number of the component module in the Internet device;

[0074] Industrial zones are areas where production activities are carried out, such as assembly line workshops. Internet devices are devices placed in production activities. Data collectors are installed in these devices to collect data from each module in the device and upload it. Because they have data transmission functions (access to a local area network), they are called Internet devices; each module in the device is called a component module.

[0075] In the context of existing technologies, the devices involved in an assembly line are limited, the types of its component modules are limited, the data types of the output data of the component modules are limited, and different devices are likely to use the same component modules, such as various sensors. Classifying the component modules by their data types can make the data statistics process clearer and more centralized.

[0076] Specifically, the generated map is essentially an image that is divided into multiple rectangles (each pixel constitutes a matrix), and these rectangles correspond to each component module.

[0077] The component module is a part of the device. First, a graph is constructed based on the positional relationship of the device. In the graph, the large rectangle corresponding to the device is determined, and then the large rectangle is divided to determine the small rectangles corresponding to each component module in the device. Since it is related to the position, the generated graph is called a map.

[0078] Step S200: copying the map, obtaining the working data of the component modules by the Internet device, identifying the working data, and filling the identification results into the corresponding matrix in the map in chronological order;

[0079] The map generated in step S100 is a reference map. When in use, you need to copy the reference map and then fill in the data in the copied map. The purpose of this application is to monitor the component modules in the device. Therefore, it is necessary to obtain the working data of the component modules. The acquisition and upload process is completed by the Internet device, and the data screening process is also completed by the Internet device (to be precise, it is the microprocessor built into the Internet device). This is itself a distributed edge computing architecture with extremely high work efficiency.

[0080] After identifying the working data of the constituent modules, select the data that needs to be saved. In order to simplify the amount of data, the selected data should be data that is likely to contain abnormalities as much as possible, and fill the data into the corresponding matrix. In actual applications, when filling the data, the time of the data will be recorded as an attribute of the working data and filled into the matrix together to facilitate subsequent problem tracing.

[0081] Step S300: when all row and column positions of any matrix in the map are filled, the map is output, and the copy time and output time of the map are connected as the map name;

[0082] During the actual operation of the technical solution of the present invention, all matrices in the map are continuously filled with data. When the data in any matrix is ​​filled, the map is deemed to be saturated. At this time, the map is packaged and output; the data in the map corresponds to the working data between the copy time and the output time.

[0083] It should be noted that the working data filled into the map has been screened, which makes the map's data integration high. The data in the map has extremely high analytical value, which can greatly simplify the amount of data while ensuring data integrity as much as possible.

[0084] Step S400: traverse each map regularly, determine the extraction position according to the pixel characteristics and map name of the map, and extract fill data based on the extraction position;

[0085] The map name is used to adjust the judgment conditions of the pixel features of the map. When the pixel features of the map meet the judgment conditions, the matrix where the pixel features are located is used as the extraction position.

[0086] Finally, the map is identified. Areas with more concentrated data in the map are likely to have more abnormal data, and the probability of problems with nearby equipment is higher. These data are extracted and uploaded to the master control end. The master control end further analyzes the extracted data through manual or other recognition algorithms, and can accurately analyze the operating status of each device and its component modules in the entire industrial area.

[0087] It should be noted that the focus of this application is to filter the working data of the component modules through Internet devices, and then fill them into the image uniformly, so as to represent the working conditions of the entire industrial zone in the form of a two-dimensional graph. At this time, a simple image feature extraction scheme is introduced to quickly determine the importance of various data, extract and upload data according to importance, with extremely high accuracy and convenience.

[0088] Figure 2This is a first sub-flow diagram of the method for extracting data from industrial Internet devices. The steps of querying the location and component modules of Internet devices in the industrial area, classifying and counting the component modules according to the data types of the component modules, and obtaining a map named after the data type include:

[0089] Step S101: obtaining the location of the Internet device according to the monitoring equipment in the industrial area;

[0090] Step S102: querying component modules according to the filing data of the Internet device and numbering them according to a pre-set sequence;

[0091] Step S103: query the data type of the output data of the component modules, and classify and count the component modules according to the data type;

[0092] Step S104: the industrial zone map is adjusted according to the number of component modules and the locations of their corresponding Internet devices, a mapping area of ​​each component module is determined in the adjusted industrial zone map, and the data type is used as an index.

[0093] The above content limits the map generation process. First, the monitoring device obtains the location of the Internet device, which is highly real-time and the operation process is not difficult. It is a simple image positioning process. Then, by querying the factory parameters (recorded data) of the Internet device, you can determine which components are contained in the device and number the components. The numbering method is not limited and can be numbered in sequence (in fact, in the three-dimensional modeling process when producing equipment, each component module has been assigned a number, and directly reading the number in the model is also a feasible solution). Finally, query the data structure of the output data of the component module, and classify the component modules based on the data structure.

[0094] Specifically, the step of adjusting the industrial zone map according to the number of component modules and the locations of their corresponding Internet devices, determining the mapping area of ​​each component module in the adjusted industrial zone map, and using the data type as an index includes:

[0095] Calculate the number of each type of component modules and calculate the ratio between them and the number of Internet devices;

[0096] Receive the matrix area input by the staff, calculate the product of the matrix area and the ratio, and use the product as a scaling factor to adjust the industrial zone map;

[0097] determining a mapping area corresponding to the location of the Internet device in the adjusted industrial area map based on the same zoom factor;

[0098] The mapping area is divided according to the numbers of the component modules and the matrix area to obtain the matrix corresponding to the component modules.

[0099] In an example of the technical solution of the present invention, the correspondence between each area in the map and each component module is defined. The simplest way is to divide the map into areas according to the device, and then divide the area of ​​each device again according to the component module. This method means that the area of ​​the map is predetermined, that is, the user inputs a map area and then adjusts the size of each matrix. The readability of this method is not high, and it is difficult for the staff to adjust the required matrix size according to the needs (the matrix size affects the data reading amount of a single component module).

[0100] The solution for the above content is that the staff inputs the area of ​​the matrix and then calculates the number of constituent modules. The map is enlarged according to the number of constituent modules and the area of ​​the matrix. The matrix is ​​cut out in the enlarged map and the corresponding relationship with the constituent modules is determined. This solution is highly readable. The staff can get a map by directly inputting the area of ​​the matrix.

[0101] Figure 3 The second sub-process flowchart of the industrial Internet device data extraction method is as follows: the steps of copying the map, obtaining the working data of the component modules by the Internet device, identifying the working data, and filling the identification results into the corresponding matrix in the map in chronological order include:

[0102] Step S201: copying the map, and obtaining the working data of the component modules from the Internet device; the working data contains a timestamp;

[0103] Step S202: obtaining rated data of the component modules, calculating the ratio of the working data to the rated data, and obtaining the working data in percentage form;

[0104] Step S203: Arrange the working data in chronological order and determine abnormal working data;

[0105] Step S204: query the matrix corresponding to the component module in the map, and fill the abnormal working data into each row and column position of the matrix in order from left to right and from top to bottom;

[0106] In an example of the technical solution of the present invention, the identification process and the filling process of the working data are explained. The working data of the component module is obtained by an Internet device, and the working data itself contains time information. For each component module, there will be a rated data when it leaves the factory. The ratio of the working data to the rated data can eliminate the unit and convert the working data of different units into a unitless percentage. The working data in percentage form is counted in chronological order and identified to extract abnormal working data. The corresponding matrix of the component module in the map is queried, and the abnormal working data is converted into pixel values, which are inserted into the matrix in sequence. The simplest order is from left to right and from top to bottom.

[0107] Among them, the abnormality judgment rules for working data are: In the formula, y is the abnormal value, N is the pre-set order, x is the converted working data, Δ i x is the i-th order difference of the transformed working data, α i is the coefficient of the pre-set i-th order difference;

[0108] The filling process requires the conversion of working data. The conversion rules are as follows: In the formula, y′ is the outlier value after transformation, y min is the minimum outlier, y max is the maximum outlier value.

[0109] Regarding abnormality judgment: the principle is that if the change of working data is more drastic, then its abnormal value is considered to be higher. When the abnormal value is greater than the preset abnormal threshold, it is judged to be abnormal data. The change of working data is represented by multi-order differences. The concept of multi-order differences is equivalent to the multi-order derivatives of discrete data. The calculation process is not difficult. The N is generally selected as 2 or 3.

[0110] About conversion: The conversion process is relatively simple, which is to convert the numerical value into the range of [0,255], so that the map becomes a grayscale image, which is convenient for subsequent processing.

[0111] Figure 4 The third sub-flow diagram of the method for extracting data from industrial Internet devices is shown in FIG. The steps of periodically traversing each map, determining the extraction position according to the pixel features and map name of the map, and extracting fill data based on the extraction position include:

[0112] Step S401: Count the outputted maps and input them into the cache area;

[0113] Step S402: Read the map in the cache area, traverse each pixel point in the map, and mark the empty point; the empty point is a pixel point that is not filled with data;

[0114] Step S403: classify the empty points according to the matrices to which the empty points belong, and calculate the empty point ratio according to the number of empty points in each matrix;

[0115] Step S404: Count the percentage of empty points according to the arrangement order of the matrix to obtain an empty point percentage array;

[0116] Step S405: Read the map name, determine the target matrix according to the map name and the empty point ratio array, and extract the filling data in the target matrix.

[0117] The function implemented by steps S401 to S405 is to extract data from the map. It can be known from the above working process that the data in the map is the abnormal data of each component module. The higher the degree of abnormality, the larger the pixel value. If abnormal data often appears in a component module, it is considered that it is a component module that needs further analysis. Based on this principle, each matrix is ​​analyzed separately. The more empty points there are, the safer it is. After calculating the proportion of empty points, they are arranged in the order of the matrix (from left to right, from top to bottom) to obtain an array. Then, the map name reflects the time span of the working data corresponding to the map. Its actual meaning is how long it takes for a sufficiently abnormal component module to appear (the data in a certain matrix is ​​filled). The longer this time is, the safer the current environment is. Combined with the map name and the calculated array, the matrix that needs to extract data can be selected, which is called the target matrix. The filled data in the target matrix is ​​extracted, and the inverse conversion is performed according to the conversion rule in step S200 to obtain the working data.

[0118] It is worth mentioning that regarding the above-mentioned recognition process, in fact, since the map itself is an image with single values, the contour can be directly identified with the help of contour recognition technology, and then the mean value in the contour can be calculated to determine which area needs to be extracted. However, this solution requires the use of image recognition algorithms, which consumes a high computational cost. The above-mentioned recognition process based on empty points is just a simple traversal calculation process, which consumes extremely low computational cost.

[0119] As a preferred embodiment of the technical solution of the present invention, the steps of reading the map name, determining the target matrix according to the map name and the empty point ratio array, and extracting the filling data in the target matrix include:

[0120] Read the map name and calculate the time difference;

[0121] Calculate the mean and standard deviation of the empty point ratio array;

[0122] Determine the standard limit according to the time difference, mean and standard deviation, and perform binarization operation on the empty point ratio array according to the standard limit. When the empty point ratio is included in the standard limit, it is assigned a value of one, and when the empty point ratio exceeds the standard limit, it is assigned a value of zero.

[0123] Query the matrix corresponding to the zero value as the target matrix, and extract the filling data in the target matrix;

[0124] Wherein, the standard limit is μ±f(t)σ; wherein μ is the mean, σ is the standard deviation, and f(t) is a predetermined decreasing function of the time difference.

[0125] Specifically, regarding the target matrix selection process, the time difference can be calculated from the map name, and then the mean and standard deviation of the empty point ratio in all matrices can be calculated from the empty point ratio array, thereby determining a range (standard limit). The data within the range is accurate, and the data outside the range is abnormal. The matrix where the abnormal data is located is queried as the target matrix, and the filling data can be extracted.

[0126] Regarding the standard limit, this application introduces the parameter of time difference determined by the map name in the process of calculating the standard limit, so that the larger the time difference, the larger the standard limit, and it is more difficult for the proportion of empty points to exceed the standard limit, so that the number of zero values ​​is very small, and accordingly, the number of target matrices is also very small, further simplifying the amount of data extraction.

[0127] Figure 5 : is a structural block diagram of the composition of the industrial Internet device data extraction system. In an embodiment of the present invention, an industrial Internet device data extraction system, the system 10 includes:

[0128] A map creation module 11 is used to query the location and component modules of Internet devices in the industrial zone, classify and count the component modules according to the data types of the component modules, and obtain a map named by the data type; the map contains a matrix corresponding to the component modules one by one, and the location of the matrix is ​​determined by the location of the Internet device and the number of the component module in the Internet device;

[0129] The data filling module 12 is used to copy the map, obtain the working data of the component modules through the Internet device, identify the working data, and fill the identification results into the corresponding matrix in the map in chronological order;

[0130] A map output module 13, used for outputting a map when all row and column positions of any matrix in the map are filled, and connecting the copy time and the output time of the map as the map name;

[0131] The traversal extraction module 14 is used to traverse each map at a fixed time, determine the extraction position according to the pixel characteristics and map name of the map, and extract the filling data based on the extraction position;

[0132] The map name is used to adjust the judgment conditions of the pixel features of the map. When the pixel features of the map meet the judgment conditions, the matrix where the pixel features are located is used as the extraction position.

[0133] Furthermore, the map creation module 11 includes:

[0134] A location acquisition unit, used for acquiring the location of the Internet device according to the monitoring equipment in the industrial area;

[0135] A module numbering unit, used to query component modules according to the filing data of Internet devices and number them according to a pre-set sequence;

[0136] A classification and statistics unit is used to query the data type of the output data of the component modules and classify and count the component modules according to the data type;

[0137] The map adjustment unit is used to adjust the industrial zone map according to the number of component modules and the locations of their corresponding Internet devices, determine the mapping area of ​​each component module in the adjusted industrial zone map, and use the data type as an index.

[0138] Specifically, the map adjustment unit includes:

[0139] A calculation subunit, used to calculate the number of each type of component modules and calculate the ratio of the number of each type of component modules to the number of Internet devices;

[0140] A scaling subunit is used to receive the matrix area input by the staff, calculate the product of the matrix area and the ratio, and use the product as a scaling factor to adjust the industrial zone map;

[0141] a mapping subunit, configured to determine a mapping area corresponding to a location of the Internet device in the adjusted industrial area map based on the same zoom factor;

[0142] The segmentation subunit is used to segment the mapping area according to the numbers of the component modules and the matrix area to obtain the matrix corresponding to the component modules.

[0143] Furthermore, the data filling module 12 includes:

[0144] A module data acquisition unit, used to copy the map and acquire the working data of the constituent modules from an Internet device; the working data contains a timestamp;

[0145] A data normalization unit is used to obtain the rated data of the component modules, calculate the ratio of the working data to the rated data, and obtain the working data in percentage form;

[0146] A data identification unit, used to arrange the working data in chronological order and identify abnormal working data;

[0147] The filling execution unit is used to query the matrix corresponding to the component module in the map, and fill the abnormal working data into each row and column position of the matrix in the order from left to right and from top to bottom;

[0148] Among them, the abnormality judgment rules for working data are:

[0149] The filling process requires the conversion of working data, and the conversion rules are:.

[0150] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for extracting data from industrial Internet equipment, characterized in that: The method comprises: Query the location and component modules of Internet devices in the industrial zone, classify and count the component modules according to the data types of the component modules, and obtain a map named by the data type; the map contains a matrix corresponding to the component modules one by one, and the location of the matrix is ​​determined by the location of the Internet device and the number of the component module in the Internet device; Copy the map, obtain the working data of the component modules through the Internet device, identify the working data, and fill the identification results into the corresponding matrix in the map in chronological order; When all the row and column positions of any matrix in the map are filled, the map is output, and the map copy time and output time are connected as the map name; Periodically traverse each map, determine the extraction position according to the map's pixel features and map name, and extract fill data based on the extraction position; The map name is used to adjust the judgment condition of the map's pixel features. When the map's pixel features meet the judgment condition, the matrix where the pixel features are located is used as the extraction position. The steps of copying the map, obtaining the working data of the component modules by the Internet device, identifying the working data, and filling the identification results into the corresponding matrix in the map in chronological order include: Copy the map, and obtain the working data of the component modules from the Internet device; the working data contains a timestamp; Obtain the rated data of the component modules, calculate the ratio of the working data to the rated data, and obtain the working data in percentage form; Arrange work data in chronological order and identify abnormal work data; Query the matrix corresponding to the component modules in the map, and fill the abnormal working data into each row and column position of the matrix from left to right and from top to bottom; Among them, the abnormality judgment rules for working data are: In the formula, y is the abnormal value, N is the pre-set order, x is the converted working data, Δ i x is the i-th order difference of the transformed working data, α i is the preset coefficient of the i-th order difference; The filling process requires the conversion of working data. The conversion rules are as follows: In the formula, y ′ is the transformed outlier value, y min is the minimum outlier, y max is the maximum outlier value.

2. The method for extracting data from industrial Internet devices according to claim 1, characterized in that: The steps of querying the locations and component modules of Internet devices in the industrial zone, classifying and counting the component modules according to the data types of the component modules, and obtaining a map named after the data types include: Obtain the location of Internet devices based on monitoring devices in industrial areas; Query the component modules according to the filing data of the Internet device and number them according to the pre-set sequence; Query the data type of the output data of the component modules, and classify and count the component modules according to the data type; The industrial zone map is adjusted according to the number of component modules and the locations of their corresponding Internet devices, a mapping area of ​​each component module is determined in the adjusted industrial zone map, and the data type is used as an index.

3. The method for extracting data from industrial Internet devices according to claim 2, characterized in that: The step of adjusting the industrial zone map according to the number of component modules and the locations of their corresponding Internet devices, determining the mapping area of ​​each component module in the adjusted industrial zone map, and using the data type as an index includes: Calculate the number of each type of component modules and calculate the ratio between them and the number of Internet devices; Receive the matrix area input by the staff, calculate the product of the matrix area and the ratio, and use the product as a scaling factor to adjust the industrial zone map; determining a mapping area corresponding to the location of the Internet device in the adjusted industrial area map based on the same zoom factor; The mapping area is divided according to the numbers of the component modules and the matrix area to obtain the matrix corresponding to the component modules.

4. The method for extracting data from industrial Internet devices according to claim 1, characterized in that: The step of regularly traversing each map, determining the extraction position according to the pixel features and the map name of the map, and extracting the filling data based on the extraction position includes: Count the output map and input cache area; Read the map in the cache area, traverse each pixel point in the map, and mark the empty point; the empty point is a pixel point that is not filled with data; Classify the empty points according to the matrix they belong to, and calculate the empty point ratio according to the number of empty points in each matrix; Count the percentage of empty points according to the arrangement order of the matrix to obtain an array of the percentage of empty points; Read the map name, determine the target matrix based on the map name and the empty point ratio array, and extract the fill data in the target matrix.

5. The method for extracting data from industrial Internet devices according to claim 4, characterized in that: The steps of reading the map name, determining the target matrix according to the map name and the empty point ratio array, and extracting the filling data in the target matrix include: Read the map name and calculate the time difference; Calculate the mean and standard deviation of the empty point ratio array; Determine the standard limit according to the time difference, mean and standard deviation, and perform binarization operation on the empty point ratio array according to the standard limit. When the empty point ratio is included in the standard limit, it is assigned a value of one, and when the empty point ratio exceeds the standard limit, it is assigned a value of zero. Query the matrix corresponding to the zero value as the target matrix, and extract the filling data in the target matrix; Wherein, the standard limit is μ±f(t)σ; wherein μ is the mean, σ is the standard deviation, and f(t) is a predetermined decreasing function of the time difference.

6. An industrial Internet equipment data extraction system, characterized in that: The system is used to implement the industrial Internet device data extraction method according to any one of claims 1 to 5, and the system includes: A map creation module is used to query the location and component modules of Internet devices in the industrial zone, classify and count the component modules according to their data types, and obtain a map named after the data type; the map contains a matrix corresponding to the component modules one by one, and the location of the matrix is ​​determined by the location of the Internet device and the number of the component module in the Internet device; The data filling module is used to copy the map, obtain the working data of the component modules through the Internet device, identify the working data, and fill the identification results into the corresponding matrix in the map in chronological order; The map output module is used to output the map when all the row and column positions of any matrix in the map are filled, and connect the copy time and output time of the map as the map name; The traversal extraction module is used to traverse each map at a fixed time, determine the extraction position according to the pixel characteristics and map name of the map, and extract the filling data based on the extraction position; The map name is used to adjust the judgment conditions of the pixel features of the map. When the pixel features of the map meet the judgment conditions, the matrix where the pixel features are located is used as the extraction position.

7. The industrial Internet device data extraction system according to claim 6, characterized in that: The map creation module includes: A location acquisition unit, used to acquire the location of the Internet device according to the monitoring equipment in the industrial area; A module numbering unit, used to query component modules according to the filing data of Internet devices and number them according to a pre-set sequence; A classification and statistics unit is used to query the data type of the output data of the component modules and classify and count the component modules according to the data type; The map adjustment unit is used to adjust the industrial zone map according to the number of component modules and the locations of their corresponding Internet devices, determine the mapping area of ​​each component module in the adjusted industrial zone map, and use the data type as an index.

8. The industrial Internet device data extraction system according to claim 7, characterized in that: The map adjustment unit comprises: A calculation subunit, used to calculate the number of each type of component modules and calculate the ratio of the number of each type of component modules to the number of Internet devices; A scaling subunit is used to receive the matrix area input by the staff, calculate the product of the matrix area and the ratio, and use the product as a scaling factor to adjust the industrial zone map; a mapping subunit, configured to determine a mapping area corresponding to a location of the Internet device in the adjusted industrial area map based on the same zoom factor; The segmentation subunit is used to segment the mapping area according to the numbers of the component modules and the matrix area to obtain the matrix corresponding to the component modules.

9. The industrial Internet device data extraction system according to claim 6, characterized in that: The data filling module comprises: A module data acquisition unit, used to copy the map and acquire the working data of the constituent modules from an Internet device; the working data contains a timestamp; A data normalization unit is used to obtain the rated data of the component modules, calculate the ratio of the working data to the rated data, and obtain the working data in percentage form; A data identification unit, used to arrange the working data in chronological order and identify abnormal working data; The filling execution unit is used to query the matrix corresponding to the component module in the map, and fill the abnormal working data into each row and column position of the matrix in the order from left to right and from top to bottom; Among them, the abnormality judgment rules for working data are: In the formula, y is the abnormal value, N is the pre-set order, x is the converted working data, Δ i x is the i-th order difference of the transformed working data, a i is the preset coefficient of the i-th order difference; The filling process requires the conversion of working data. The conversion rules are as follows: In the formula, y′ is the outlier value after transformation, y min is the minimum outlier, y max is the maximum outlier value.