Movatterモバイル変換


[0]ホーム

URL:


CN120812138A - Industrial Internet of things edge data lightweight processing method and system - Google Patents

Industrial Internet of things edge data lightweight processing method and system

Info

Publication number
CN120812138A
CN120812138ACN202510985555.4ACN202510985555ACN120812138ACN 120812138 ACN120812138 ACN 120812138ACN 202510985555 ACN202510985555 ACN 202510985555ACN 120812138 ACN120812138 ACN 120812138A
Authority
CN
China
Prior art keywords
data
equipment
edge
industrial
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202510985555.4A
Other languages
Chinese (zh)
Inventor
袁雪腾
狄航
丁中琳
李晋宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Collaborative Innovation Intelligent Manufacturing Technology Co ltd
Original Assignee
Suzhou Collaborative Innovation Intelligent Manufacturing Technology Co ltd
Filing date
Publication date
Application filed by Suzhou Collaborative Innovation Intelligent Manufacturing Technology Co ltdfiledCriticalSuzhou Collaborative Innovation Intelligent Manufacturing Technology Co ltd
Publication of CN120812138ApublicationCriticalpatent/CN120812138A/en
Pendinglegal-statusCriticalCurrent

Links

Abstract

The invention provides an industrial Internet of things edge data lightweight processing method which comprises the steps of sampling industrial field equipment through sampling equipment, wherein sampling results comprise equipment vibration frequency and industrial image data, performing edge lightweight processing on the collected sampling results, processing the collected equipment vibration frequency through a one-dimensional neural network structure, extracting and strengthening key information in the input equipment vibration frequency to output characteristic values, detecting the collected industrial image data in real time, identifying a defect area and reducing image transmission quality, sensing the state of data collection and lightweight processing equipment, dynamically scheduling according to the state of the equipment, compressing and outputting the lightweight processing results when the equipment is normal, triggering full-quantity data transmission and sending alarm when the equipment state is abnormal, and further provides an industrial Internet of things edge data lightweight processing system.

Description

Industrial Internet of things edge data lightweight processing method and system
Technical Field
The invention belongs to the technical field of industrial Internet of things and edge computing, and particularly relates to a method and a system for processing edge data of an industrial Internet of things in a light-weight mode.
Background
Front-end data acquisition points (edge devices) in the Internet of things only have the functions of data acquisition and transmission initially, and because the integration level of the current sensor is high, the data volume acquired by the edge devices is increased, and the demand speed of a boundary side where a customer is located for a calculation result is also continuously improved, so that the generation of an edge calculation theory is promoted.
The existing industrial Internet of things data processing means have the defects of data redundancy, high network bandwidth occupation, increased storage cost, poor instantaneity, high energy consumption, limited computing capacity of edge equipment, high power consumption caused by a complex algorithm, and poor expansibility, wherein the industrial sensor directly uploads original data, the network bandwidth occupation is high, the cloud processing is required to be carried out on all data, the real-time control requirement cannot be met by delay, and the traditional light-weight method is difficult to adapt to multi-mode industrial data such as vibration data, image data and text data.
Therefore, it is necessary to develop a novel industrial internet of things edge data lightweight processing method, which can solve the defects of high industrial field mass data transmission and storage cost and insufficient instantaneity.
Disclosure of Invention
The invention provides a method and a system for processing industrial Internet of things edge data in a light-weight manner, which can solve the defects of high industrial field mass data transmission and storage cost and insufficient instantaneity.
Other objects and advantages of the present invention will be further appreciated from the technical features disclosed in the present invention.
In order to achieve one or a part of or all of the purposes or other purposes, the method for processing the edge data of the industrial Internet of things in a lightweight way comprises the steps of sampling industrial field devices through sampling equipment, wherein a sampling result comprises device vibration frequency and industrial image data, processing the collected sampling result in an edge lightweight way, processing the collected device vibration frequency by using a one-dimensional neural network structure, extracting and reinforcing key information in the input device vibration frequency by using the one-dimensional neural network to output characteristic values, detecting the collected industrial image data in real time, identifying a defect area and reducing image transmission quality, sensing the state of data collection and lightweight processing equipment, dynamically scheduling according to the state of the equipment, compressing the lightweight processing result when the equipment is normal, outputting the compressed lightweight processing result, triggering full data transmission and sending an alarm when the state of the industrial field devices is abnormal.
The edge light processing further comprises the steps of processing the collected industrial equipment text logs, understanding complex semantics by using a BERT distillation model, mapping log texts into a low-dimensional semantic space, screening high-information-content logs by using a TF-IDF algorithm, and reducing the text amount needing advanced processing.
The one-dimensional neural network structure comprises at least three convolution layers and at least two full-connection layers, wherein the three convolution layers are sequentially and recursively connected, the output of the former convolution layer is the input of the latter convolution layer, the output formula of each convolution layer is Yi=f(Wi*X+bi \), Yi is the output of the ith convolution layer, X is input data, Wi is the convolution kernel of the ith convolution layer, bi is the offset of the ith convolution layer, "/and" \ "represents convolution operation, the convolution layer operation extracts primary characteristics, the non-linear expression capacity of the extracted primary characteristics is enhanced through ReLU activation function processing, and the two full-connection layers integrate and output the output of the last convolution layer.
The two full-connection layers are recursively connected, an output formula of each full-connection layer is Oi=f(WfciZ+bfci, wherein Oi is output of the ith full-connection layer, Wfci is a weight matrix of the ith full-connection layer, bfci is bias of the ith full-connection layer, and the last full-connection layer finally outputs 128-dimensional fault feature vectors.
The method comprises the steps of processing collected industrial image data, detecting an industrial image in real time, identifying a defect area and reducing image transmission quality, processing the image by using a YOLO model, wherein the YOLO model comprises an input end, a backbone network, a neck network, a detection head and an output end, the industrial image data is input to the input end of the YOLO model, the backbone network is a convolutional neural network backbone with residual connection, the input industrial image is processed to output a multi-scale feature map, the neck network upsamples, downsamples and splices the output multi-scale feature map through a bidirectional feature pyramid to generate an enhanced feature map, the detection head generates a prediction tensor on multiple scales, and the prediction tensor is analyzed by the output module to output a detection result comprising the defect position and the confidence.
The industrial image data input into the YOLO model is further subjected to segmentation processing, which comprises dividing the input industrial image data into s×s grids, predicting B bounding boxes each, each bounding box containing position information (x, y, w, h), wherein x, y are coordinates of a bounding box center relative to the grids, and w, h are wide and high.
The method comprises the steps of dividing an input image based on different scale feature images to generate feature images with different resolutions, processing the feature images by a backbone network, outputting feature images with larger sizes with high resolution and more detail information, outputting feature images with smaller sizes with low resolution and rich semantic information, and outputting a prediction tensor with the shape of (S, S, B x (5+C) \), wherein S is the dividing density of each grid, B is the number of boundary boxes of each grid, and C is the confidence.
Sensing the state of the data acquisition and lightweight processing equipment, including sensing the CPU utilization rate, the memory occupancy rate, the network bandwidth and the delay jitter parameters of the equipment, and selecting a data transmission strategy based on the state of the equipment.
The dynamic scheduling method further comprises the steps of constructing a distributed computing cluster by using a D2D communication protocol and the adjacent edge nodes, calculating the load scores of the edge nodes, processing local tasks by the edge nodes preferentially, and migrating tasks of the overload nodes through a gRPC protocol when the transmission load index of the local edge nodes exceeds a threshold value.
The cloud collaborative processing method comprises the steps of firstly, initializing global model parameters w0 by the cloud, secondly, sending the global model parameters wt to each edge node in each round of iteration t, carrying out model training on an objective function of each edge node on a local data set again by the cloud, updating the local model parameters wt, sending the updated local model parameters back to the cloud by the edge node cloud, and polymerizing the model parameters of each edge node to obtain new global model parameters wt+1.
The locally trained model parameters comprise weights of a one-dimensional neural network structure and anchor frames of a YOLO model, and the FedProx algorithm iteratively trains the iteration cycle of each edge node model parameter to be less than 24 hours.
And predicting the state of the equipment to be sampled by using a Kalman filtering model, and dynamically adjusting the sampling frequency of the vibration sensor.
According to the industrial Internet of things edge data lightweight processing system provided by the other technical scheme of the invention, the industrial Internet of things edge data lightweight processing method is used for executing the industrial Internet of things edge data lightweight processing method, and the industrial Internet of things edge data lightweight processing system comprises a multi-mode data acquisition module, wherein the multi-mode data acquisition module is used for sampling parameters of industrial field devices based on sampling thresholds; the system comprises an edge lightweight processing engine, a dynamic scheduling module, a cloud collaborative optimization module, a model parameter training module, a dynamic scheduling module and a sampling threshold value dynamic adjustment module, wherein the edge lightweight processing engine is used for processing the collected equipment vibration frequency by using a one-dimensional neural network structure, extracting and strengthening key information in the equipment vibration frequency to output characteristic values, detecting the collected industrial image data in real time, identifying a defect area and reducing image transmission quality, the dynamic scheduling module is used for sensing the state of data acquisition and lightweight processing equipment and transmitting the lightweight processing result compressed into the characteristic values to the edge preservation module according to the state of the equipment, the full data are transmitted to a cloud server when the state of the industrial field equipment is abnormal, and sending a warning signal to a local controller, the cloud collaborative optimization module is used for collecting historical data of the cloud server, training model parameters of local training of each edge node by the collected historical data, and dynamically adjusting the sampling threshold value based on historical false report and missing report data.
Compared with the prior art, the method has the advantages that 1, the method realizes the extraction of the characteristics through the edge light-weight processing, senses the state of the data acquisition and light-weight processing equipment, and performs the dynamic compression processing of the data transmission according to the state of the equipment, so that redundant data can be greatly reduced, and network bandwidth and cloud storage resources are saved. 2. According to the invention, most of key analysis and control tasks are transferred to the edge end, so that delay is effectively reduced, and the real-time requirement of an industrial field is met. 3. According to the invention, the state of the data acquisition and lightweight processing equipment is sensed, the data transmission mode is selected based on the network bandwidth and the delay jitter parameters, meanwhile, the tasks of the edge nodes are scheduled according to the load through the load balancing algorithm of the D2D communication, the task processing efficiency is improved, and the power consumption can be reduced.
The foregoing and other objects, features and advantages of the invention will be apparent from the following more particular description of preferred embodiments, as illustrated in the accompanying drawings.
Drawings
In order to more clearly illustrate the technical solutions of specific embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort to a person of ordinary skill in the art.
Fig. 1 is a schematic diagram of an industrial internet of things edge data lightweight processing system.
Detailed Description
The foregoing and other features, aspects, and advantages of the present invention will become more apparent from the following detailed description of a preferred embodiment, which proceeds with reference to the accompanying drawings. The directional terms mentioned in the following embodiments, such as up, down, left, right, front or rear, etc., are only referring to the directions of the attached drawings. Thus, the directional terminology is used for purposes of illustration and is not intended to be limiting of the invention.
Example 1
The first embodiment provides an industrial Internet of things edge data lightweight processing method, which comprises the steps of sampling industrial field equipment through sampling equipment, wherein a sampling result comprises equipment vibration frequency and industrial image data, performing edge lightweight processing on the acquired sampling result, processing the collected equipment vibration frequency by using a one-dimensional neural network structure, extracting and strengthening key information in the input equipment vibration frequency to output a characteristic value, detecting the collected industrial image data in real time, identifying a defect area and reducing image transmission quality, sensing the state of data acquisition and lightweight processing equipment, dynamically scheduling according to the state of the equipment, compressing and outputting the lightweight processing result when the equipment is normal, and triggering full-quantity data transmission and sending alarm when the state of the equipment is abnormal.
The following explains a detailed explanation of the method for processing the edge data of the industrial internet of things in the first embodiment.
The industrial Internet of things processing system comprises industrial field equipment, a sampling module, an edge computing module, a data transmission module and a cloud server. The sampling device samples the industrial field device, and the first sampling in this embodiment includes collecting the vibration frequency of the industrial device, collecting the image data of the industrial device, and collecting the text log of the industrial device. Wherein the collection of the vibration frequency of the industrial equipment may be the collection of the vibration frequency of the bearing equipment. In order to reduce sampling data and avoid occupation of redundant sampling data to memory space and cloud space, the invention sets a sampling threshold value during sampling. Taking vibration frequency sampling as an example, in order to improve the sampling accuracy, a vibration frequency sampling range may be set, for example, the vibration sensor re-collects vibration frequency data in a frequency range of 10Hz-2kHz, vibration outside the above frequency is not highly associated with faults, or occurrence probability is extremely low so that the vibration sensor does not collect the vibration frequency data, so that the sampled data volume can be effectively reduced.
The sampling equipment supports multi-protocol conversion, specifically, when the sampling equipment performs data transmission, the sampling equipment supports real-time conversion from Modbus RTU/ASCII, OPC UA, profibus DP and other protocols to MQTT. The sampling equipment can process communication mechanisms of different protocols, convert data into MQTT information, and facilitate unified processing of an Internet of things platform. And meanwhile, a unified data format, such as JSON-LD, can be defined, and other data formats can be defined, wherein the defined data formats can comprise metadata such as device ID, timestamp, data type, original value and the like. Standardized data is defined, so that subsequent data analysis and integration application are facilitated.
Because the acquired data volume is larger, if the acquired data is directly uploaded to the cloud, the cloud storage memory is tight, and meanwhile, the transmission bandwidth requirement of the transmission of a large amount of data is correspondingly increased. Therefore, the first embodiment performs edge light processing on the collected industrial equipment data before data transmission to achieve compression and feature extraction of the data, specifically includes processing collected equipment vibration frequencies by using a one-dimensional neural network structure, extracting and strengthening key information in the input equipment vibration frequencies to output feature values by using the one-dimensional neural network, detecting the collected industrial image data in real time, identifying defective areas and reducing image transmission quality, and processing collected industrial equipment text logs.
When the one-dimensional neural network structure is used for processing the collected vibration frequency of the equipment, the one-dimensional neural network structure (CNN structure) comprises at least three layers of convolution layers and at least two full-connection layers, wherein the three layers of convolution layers are connected in a recursion mode, the output of the former convolution layer is the input of the latter convolution layer, the output formula of each convolution layer is Yi=f(Wi*X+bi \), Yi is the output of the ith convolution layer, X is input data, Wi is the convolution kernel of the ith convolution layer, bi is the offset of the ith convolution layer, "X" and "\" of the ith convolution layer represent convolution operation, the convolution layer operation extracts primary characteristics, the non-linear expression capacity of the extracted primary characteristics is enhanced through the ReLU activation function processing, and the two full-connection layers integrate the output of the last convolution layer and output the final convolution layer. The method comprises the steps of recursively connecting two full-connection layers, wherein an output formula of each full-connection layer is Oi=f(WfciZ+bfci, Oi is output of an ith full-connection layer, Wfci is a weight matrix of the ith full-connection layer, bfci is bias of the ith full-connection layer, and a last full-connection layer spreads output results of a last convolution layer into a one-dimensional vector to finally output 128-dimensional fault feature vectors. The input vibration information is extracted through the one-dimensional neural network structure, so that the compression of input data can be realized, and the compression ratio can reach 8:1.
When the collected industrial image data is processed, a defective area is identified and image transmission quality is reduced by detecting the industrial image in real time, the method comprises the steps of processing an image by using a YOLO model, wherein the YOLO model comprises an input end, a backbone network, a neck network, a detection head and an output end, the industrial image data is input to the input end of the YOLO model, the backbone network is a convolution neural network backbone with residual connection, the input industrial image is processed to output a multi-scale feature map, the neck network carries out upsampling, downsampling and splicing operations on the output multi-scale feature map through a bi-directional feature pyramid (for example, fcat = Concat (F1, fup), the Fup is an upsampled feature map, the Fcat is a spliced feature map, an enhanced feature map is generated, the detection head generates a prediction tensor on multiple scales, the prediction tensor is analyzed through the output module, and a detection result comprising the defect position and the confidence is output.
In order to facilitate the processing of industrial images, the industrial image data input into the YOLO model is further subjected to segmentation processing, which comprises dividing the input industrial image data into s×s grids (the YOLO model is divided based on feature maps of different sizes in practical application), predicting B bounding boxes by each grid, and each bounding box contains position information (x, y, w, h), wherein x, y is the coordinate of the center of the bounding box relative to the grid, and w, h is the width and height.
In order to segment different types of images, an input image is segmented based on different scale feature images (the 'different scale feature images' refer to feature data with different multi-layer resolution and semantic information output after model processing, wherein a large scale image retains details, a small target is adapted for fine defect detection, the small scale image compresses semantics, a large target is adapted for global defect analysis, light weight and full scene defect identification is realized at an industrial edge end through layering utilization), and a prediction tensor output by a detection head is tensor with the shape of (S, S, B× (5+C) \), wherein S is the dividing density of each grid, B is the quantity of boundary boxes of each grid, and C is the confidence.
This embodiment mentions less than 10Mb after the YOLO model quantization while supporting real-time detection of 1080p video.
When the collected industrial equipment text logs are processed, the BERT distillation model is used for understanding complex semantics, log texts are mapped to a low-dimensional semantic space, and a TF-IDF algorithm is used for screening high-information-content logs, so that the amount of the texts needing to be deeply processed is reduced. Parameters of the text log processed by the BERT distillation model can be reduced by 90%, 32-dimensional semantic vectors are generated, the TF-IDF algorithm filters redundant log entries, and key events are reserved. The BERT distillation model and the TF-IDF algorithm are used for processing the text logs, the high information content logs are screened, and the amount of the text needing to be deeply processed is reduced as the prior art, so that the text processing method is not repeated here.
In the first embodiment, when performing dynamic scheduling of data, sensing the state of the data acquisition and lightweight processing device, including sensing the CPU utilization, the memory occupancy, the network bandwidth, and the delay jitter parameters of the device, and performing dynamic scheduling according to the state of the device, when the device is normal, compressing the lightweight processing result, outputting (transmitting the compressed characteristic value, and transmitting the transmission rate of 10 KB/min), and when detecting that the device state is abnormal, triggering the transmission of the full data and sending an alarm.
Specifically, the transmitted full data are transmitted to a cloud server, the compressed data of the light processing result are transmitted to edge equipment for buffering, and the transmitted abnormal alarm information is transmitted to a local controller.
In dynamic scheduling, because the loads of the edge nodes are different, in order to balance the loads of different edge nodes (the node is intelligent computing equipment on the edge side of the industrial Internet of things, such as a factory production line intelligent gateway, a workshop edge server and the like, bears data acquisition, processing and collaborative computing tasks and is an edge computing network basic unit, the edge node refers to a computing and storage unit which is arranged near the network edge position of a data source or terminal equipment), the embodiment firstly uses a D2D communication protocol to construct a distributed computing cluster of the local edge node and the adjacent edge node, calculates the load score of each edge node, and the edge nodes preferentially process the local task, and migrates the task of the overload node through a gRPC protocol when the transmission load index of the local edge node exceeds a threshold value.
Balancing different edge nodes, comprising the following steps:
S1D 2D cluster construction and load scoring
S1-1, constructing a cluster, namely, periodically sending a D2D discovery message (containing equipment ID and resource/network state) by a local node, establishing connection between adjacent adaptation nodes, and selecting a cluster coordination node to overall schedule.
S1-2, load grading, namely collecting data and calculating and quantifying the load of the node by the coordination node according to a formula (load grading = CPU utilization rate x 0.4+ memory occupancy rate x 0.3+ task queue length x 0.2+ network bandwidth occupancy rate x 0.1) every 5 seconds.
S2, local task processing
The node built-in scheduler follows the priority of local task > cooperative task, the local task enters into high-priority queue to execute preferentially, and the preemption threshold is set, if the local task occupies more than 70% of the resources for 30 seconds, the resources are automatically released to the cooperative task.
S3: gRPC task migration
When the transmission load index exceeds the threshold value (more than 85%), triggering the migration specifically comprises
S3-1, an overload node gRPC migration request containing task types, states and resource requirements;
S3-2, selecting a target node with load score <30 and resource adaptation by the coordination node;
S3-3, the overload node and the target node transmit tasks through gRPC flow + ProtoBuf, the target node uses a lightweight container to restart the tasks, and after the task is transferred, a new task is directly routed to the target node until the load of the overload node drops.
S3-4, abnormal rollback, namely returning the task to the original node/the standby node when the target node fails, and guaranteeing service continuity.
S3-5, security enhancement, namely, D2D encrypts with an industrial-grade certificate, gRPC enables TLS1.3, and data leakage is prevented.
In order to train each model parameter and update the sampling threshold of the sampling device, the method for processing the edge data of the industrial internet of things in a lightweight manner further comprises a cloud collaborative processing step, specifically, includes collecting historical data of a cloud server, wherein the historical data transmitted to the cloud server is full transmission data based on the above, the full transmission data is data when abnormality of the device is detected, and optimization training can be performed on the model based on the data (normal state data has little meaning on model improvement, and abnormal state data has more reference meaning on model improvement). The method comprises the steps of training locally trained model parameters of all edge nodes through collected historical data, dynamically adjusting sampling thresholds (for example, the collected abnormal threshold of vibration signals is changed from 3 sigma to be self-adaptive) based on the historical false alarm and missing report data, sampling by sampling equipment according to the adjusted sampling thresholds, carrying out cloud collaborative processing, carrying out iterative training on the model parameters of all the edge nodes by adopting FedProx algorithm to reduce the specificity of balancing the local data of all the edge nodes, initializing global model parameters w0 by the cloud, sending global model parameters wt to all the edge nodes by the cloud in each iteration t, carrying out model training on an objective function of all the edge nodes by each edge node on a local data set, updating the local model parameters wt, sending the updated local model parameters back to the cloud by the edge nodes, and aggregating the model parameters of all the edge nodes by the cloud to obtain new global model parameters wt+1, and repeating the steps until convergence conditions are met. The model parameters of the local training comprise weights of the one-dimensional neural network structure and anchor frames of the YOLO model, and the iteration period of the FedProx algorithm for iteratively training the model parameters of each edge node is less than 24 hours.
When the model optimization training is carried out, cloud server data can be collected regularly to optimize the model, for example, cloud historical data can be collected once every month to train the model.
When equipment sampling is carried out, in order to enable the sampling to be more accurate, a Kalman filtering model is used for predicting the state of equipment to be sampled, and the sampling frequency of the vibration sensor is dynamically adjusted. Meanwhile, when the cloud is cooperatively processed, the Kalman filtering model can be trained based on historical data, and the sampling frequency of the vibration sensor can be further adjusted.
According to the industrial Internet of things edge data light-weight processing method, feature extraction is achieved through edge light-weight processing, states of data acquisition and light-weight processing equipment are perceived, dynamic compression processing of data transmission is carried out according to the states of the equipment, redundant data can be greatly reduced, and network bandwidth and cloud storage resources are saved.
According to the invention, most of key analysis and control tasks are transferred to the edge end, so that delay is effectively reduced, and the real-time requirement of an industrial field is met.
According to the invention, the state of the data acquisition and lightweight processing equipment is sensed, the data transmission mode is selected based on the network bandwidth and the delay jitter parameters, meanwhile, the tasks of the edge nodes are scheduled according to the load through the load balancing algorithm of the D2D communication, the task processing efficiency is improved, and the power consumption can be reduced.
Example two
The second embodiment provides a system for processing the edge data of the industrial internet of things in a light manner, which is used for executing the method for processing the edge data of the industrial internet of things in the first embodiment, and referring to fig. 1, the system comprises a multi-mode data acquisition module, wherein the multi-mode data acquisition module samples parameters of industrial field devices based on sampling thresholds;
the edge light processing engine is used for processing the collected equipment vibration frequency by using a one-dimensional neural network structure, extracting and strengthening key information in the equipment vibration frequency to output a characteristic value, detecting the collected industrial image data in real time, identifying a defect area and reducing the image transmission quality;
The device comprises a dynamic scheduling module, an edge preservation module, a cloud server, a local controller, a data processing module and a data processing module, wherein the dynamic scheduling module senses the state of data acquisition and light weight processing equipment, dynamically schedules according to the state of the equipment, and compresses light weight processing results into characteristic values to be transmitted to the edge preservation module when the equipment is normal;
The cloud collaborative optimization module is used for collecting historical data of the cloud server, training model parameters of local training of each edge node through the collected historical data (training a model used by an edge lightweight processing engine based on the historical data to update parameters of the model, training a model used by the dynamic scheduling module based on the historical data to update corresponding model parameters), and dynamically adjusting a sampling threshold based on historical false alarm and missing report data.
The cloud collaborative optimization module mainly illustrates how to train parameters of each model and update sampling thresholds, and to update what model is, corresponding training and updating can be performed according to the specific model type actually used by each module.
The method and system for processing the edge data of the industrial Internet of things in light of weight are described in detail, and specific examples are applied to illustrate the structure and working principle of the method and the system, and the description of the embodiments is only used for helping to understand the method and the core idea of the method. It should be noted that it will be apparent to those skilled in the art that various improvements and modifications can be made to the present invention without departing from the principles of the invention, and such improvements and modifications fall within the scope of the appended claims.

Claims (13)

Translated fromUnknown language
1.一种工业物联网边缘端数据轻量化处理方法,包括通过采样设备对工业现场设备采样,所述采样结果包括设备振动频率、工业图像数据,其特征在于,对采集的所述采样结果进行边缘轻量化处理,包括:使用一维神经网络结构对收集的所述设备振动频率进行处理,所述一维神经网络对输入的所述设备振动频率中的关键信息提取及强化,以输出特征值;1. A lightweight processing method for edge data in the industrial Internet of Things, comprising sampling industrial field equipment using a sampling device, wherein the sampling results include equipment vibration frequency and industrial image data. The method is characterized in that the collected sampling results are subjected to edge lightweight processing, including: processing the collected equipment vibration frequency using a one-dimensional neural network structure, wherein the one-dimensional neural network extracts and enhances key information from the input equipment vibration frequency to output a feature value;对收集的所述工业图像数据进行实时检测,识别缺陷区域并减少图像传输质量;Performing real-time detection on the collected industrial image data to identify defective areas and reduce image transmission quality;对数据采集及轻量化处理设备的状态进行感知,并依据设备的状态,进行动态调度,设备正常时,将轻量化处理结果压缩后进行输出,在所述工业现场设备状态异常时,触发全量数据传输并发送报警。The status of data acquisition and lightweight processing equipment is sensed, and dynamic scheduling is performed based on the status of the equipment. When the equipment is normal, the lightweight processing results are compressed and output. When the status of the industrial field equipment is abnormal, full data transmission is triggered and an alarm is sent.2.根据权利要求1所述的一种工业物联网边缘端数据轻量化处理方法,其特征在于,所述边缘轻量化处理还包括对采集的工业设备文本日志进行处理,使用BERT蒸馏模型理解复杂语义,将日志文本映射至低维语义空间,并使用TF-IDF算法筛选高信息量日志,减少需要深度处理文本量。2. The method for lightweight processing of edge data in an industrial Internet of Things according to claim 1 is characterized in that the edge lightweight processing also includes processing collected industrial equipment text logs, using the BERT distillation model to understand complex semantics, mapping the log text to a low-dimensional semantic space, and using the TF-IDF algorithm to screen high-information logs to reduce the amount of text that needs to be deeply processed.3.根据权利要求1所述的一种工业物联网边缘端数据轻量化处理方法,其特征在于,所述一维神经网络结构包括至少三层卷积层以及至少两层全连接层;3. The method for lightweight processing of edge data in an industrial Internet of Things according to claim 1, wherein the one-dimensional neural network structure includes at least three convolutional layers and at least two fully connected layers;三层所述卷积层依次递归连接,前一所述卷积层的输出为后一所述卷积层的输入;The three convolutional layers are recursively connected in sequence, and the output of the previous convolutional layer is the input of the next convolutional layer;每一所述卷积层的输出公式为:The output formula of each convolutional layer is:Yi=f(Wi*X+bi\);Yi = f(Wi *X+bi \);其中Yi为第i个卷积层的输出、X为输入数据、Wi为第i个卷积层的卷积核、bi为第i个卷积层的偏置、“*”以及“\”表示卷积运算;WhereYi is the output of the i-th convolutional layer, X is the input data,Wi is the convolution kernel of the i-th convolutional layer,bi is the bias of the i-th convolutional layer, and “*” and “\” represent convolution operations;所述卷积层运算提取初步特征,再经过ReLU激活函数处理,增强提取的所述初步特征的非线性表达能力;The convolutional layer operation extracts preliminary features, and then processes them through the ReLU activation function to enhance the nonlinear expression ability of the extracted preliminary features;所述两层全连接层将最后一个所述卷积层的输出整合后输出。The two fully connected layers integrate the output of the last convolutional layer and output it.4.根据权利要求3所述的一种工业物联网边缘端数据轻量化处理方法,其特征在于,两层所述全连接层递归连接;4. The lightweight processing method for edge data of an industrial Internet of Things according to claim 3, wherein the two fully connected layers are recursively connected;每一所述全连接层的输出公式为:The output formula of each fully connected layer is:Oi=f(WfciZ+bfci);Oi =f(Wfci Z+bfci );其中Oi为第i个全连接层的输出、Wfci为第i个全连接层的权重矩阵、bfci为第i个全连接层的偏置;Where Oi is the output of the i-th fully connected layer, Wfci is the weight matrix of the i-th fully connected layer, and bfci is the bias of the i-th fully connected layer;最后一个所述全连接层最终输出128维故障特征向量。The last fully connected layer finally outputs a 128-dimensional fault feature vector.5.根据权利要求1所述的一种工业物联网边缘端数据轻量化处理方法,其特征在于,对收集的所述工业图像数据进行处理,包括对工业图像进行实时检测,识别缺陷区域并减少图像传输质量,包括,使用YOLO模型进行图像的处理,所述YOLO模型包括输入端、骨干网络、颈部网络、检测头及输出端组成;5. The lightweight processing method for edge data of an industrial Internet of Things according to claim 1, characterized in that the collected industrial image data is processed, including real-time detection of industrial images, identification of defective areas and reduction of image transmission quality, including using a YOLO model for image processing, wherein the YOLO model includes an input end, a backbone network, a neck network, a detection head and an output end;所述工业图像数据输入至YOLO模型的输入端;The industrial image data is input to the input end of the YOLO model;所述骨干网络为包含具有残差连接的卷积神经网络骨干,对输入的工业图像处理以输出多尺度特征图;The backbone network is a convolutional neural network backbone with residual connections, which processes the input industrial image to output a multi-scale feature map;所述颈部网络通过双向特征金字塔对输出的所述多尺度特征图进行上采样、下采样及拼接操作,生成增强特征图;The neck network performs upsampling, downsampling and splicing operations on the output multi-scale feature map through a bidirectional feature pyramid to generate an enhanced feature map;所述检测头在多尺度上生成预测张量;The detection head generates prediction tensors at multiple scales;所述预测张量经输出模块解析,输出包括缺陷位置、置信度的检测结果。The predicted tensor is parsed by the output module, and the output includes the detection results of the defect location and confidence level.6.根据权利要求5所述的一种工业物联网边缘端数据轻量化处理方法,其特征在于,输入所述YOLO模型的所述工业图像数据还需进行分割处理,包括将输入的所述工业图像数据划分为S*S个网格,每个网格预测B个边界框,每个边界框包含位置信息(x,y,w,h);6. The method for lightweight processing of edge data in an industrial Internet of Things according to claim 5, wherein the industrial image data input to the YOLO model is further segmented, including dividing the input industrial image data into S*S grids, predicting B bounding boxes for each grid, and each bounding box contains position information (x, y, w, h);其中x,y为边界框中心相对于网格的坐标;w,h为宽和高。Where x, y are the coordinates of the center of the bounding box relative to the grid; w, h are the width and height.7.根据权利要求6所述的一种工业物联网边缘端数据轻量化处理方法,其特征在于,基于不同尺度特征图对输入的工业图像分割,生成不同分辨率特征图,7. The lightweight processing method for edge data of industrial Internet of Things according to claim 6 is characterized in that the input industrial image is segmented based on feature maps of different scales to generate feature maps of different resolutions.经所述骨干网络处理后,输出的较大尺寸特征图分辨率高、细节信息多;After being processed by the backbone network, the output large-scale feature map has high resolution and rich detail information;输出的较小尺寸特征图分辨率低,语义信息丰富;The output smaller-sized feature maps have low resolution but rich semantic information;所述检测头输出的预测张量是形状为(S,S,B×(5+C)\)的张量,其中S为每个网格划分密度,B为每个网格边界框数量,C为置信度。The prediction tensor output by the detection head is a tensor of shape (S, S, B×(5+C)\), where S is the density of each grid division, B is the number of bounding boxes of each grid, and C is the confidence.8.根据权利要求1所述的一种工业物联网边缘端数据轻量化处理方法,其特征在于,对数据采集及轻量化处理设备的状态进行感知,包括对设备的CPU利用率、内存占用率、网络带宽、延迟抖动参数进行感知,并基于设备状态选择数据传输策略。8. The method for lightweight processing of edge data in an industrial Internet of Things according to claim 1 is characterized in that the status of data acquisition and lightweight processing equipment is perceived, including the CPU utilization, memory occupancy, network bandwidth, and delay jitter parameters of the equipment, and a data transmission strategy is selected based on the equipment status.9.根据权利要求8所述的一种工业物联网边缘端数据轻量化处理方法,其特征在于,所述动态调度时,还包括使用D2D通信协议将本地边缘节点与相邻边缘节点构建分布式计算集群,并计算各边缘节点的负载评分;9. The lightweight processing method for edge data in an industrial Internet of Things according to claim 8, wherein the dynamic scheduling further comprises using a D2D communication protocol to construct a distributed computing cluster between the local edge node and adjacent edge nodes, and calculating the load score of each edge node;各边缘节点优先处理本地任务;Each edge node prioritizes local tasks;当本地边缘节点传输负载指数超过阈值时,通过gRPC协议迁移过载节点的任务。When the transmission load index of the local edge node exceeds the threshold, the tasks of the overloaded node are migrated through the gRPC protocol.10.根据权利要求1所述的一种工业物联网边缘端数据轻量化处理方法,其特征在于,还包括云端协同处理,收集云端服务器的历史数据,并通过收集的所述历史数据对各边缘节点本地训练的模型参数进行训练;10. The lightweight processing method for edge data of an industrial Internet of Things according to claim 1, characterized in that it also includes cloud collaborative processing, collecting historical data from cloud servers, and training model parameters locally trained on each edge node using the collected historical data;基于历史误报、漏报数据,动态调整采样阈值,所述采样设备依据调整后的采样阈值进行采样;Dynamically adjust the sampling threshold based on historical false positives and false negatives data, and the sampling device performs sampling according to the adjusted sampling threshold;云端协同处理,采用FedProx算法迭代训练各边缘节点模型参数,减少平衡各边缘节点本地数据的特殊性,包括:步骤一:云端初始化全局模型参数w0In the cloud-based collaborative processing, the FedProx algorithm is used to iteratively train the model parameters of each edge node to reduce the peculiarities of balancing the local data of each edge node, including: Step 1: Initializing the global model parameters w0 in the cloud;步骤二:在每一轮迭代t中,云端将全局模型参数wt发送给各边缘节点,每个边缘节点再本地数据集上,对各边缘节点的目标函数进行模型训练,更新本地模型参数wt,边缘节点将更新后的本地模型参数发回云端,云端聚合各个边缘节点的模型参数,得到新的全局模型参数wt+1Step 2: In each iteration t, the cloud sends the global model parameterswt to each edge node. Each edge node then trains the model on its own objective function on the local dataset and updates the local model parameterswt . The edge node sends the updated local model parameters back to the cloud. The cloud aggregates the model parameters of each edge node to obtain the new global model parameters wt+1 .步骤三:重复步骤二,直至满足收敛条件。Step 3: Repeat step 2 until the convergence condition is met.11.根据权利要求10所述的一种工业物联网边缘端数据轻量化处理方法,其特征在于,所述本地训练的模型参数包括一维神经网络结构的权重、YOLO模型的锚框;11. The method for lightweight processing of edge data in an industrial Internet of Things according to claim 10, wherein the locally trained model parameters include weights of a one-dimensional neural network structure and anchor frames of a YOLO model;所述FedProx算法迭代训练各边缘节点模型参数的迭代周期小于24小时。The iteration cycle of the FedProx algorithm for iteratively training the model parameters of each edge node is less than 24 hours.12.根据权利要求1所述的一种工业物联网边缘端数据轻量化处理方法,其特征在于,使用卡尔曼滤波模型预测待采样设备状态,动态调整振动传感器的采样频率。12. The method for lightweight processing of edge data in an industrial Internet of Things according to claim 1 is characterized in that a Kalman filter model is used to predict the state of the device to be sampled and dynamically adjust the sampling frequency of the vibration sensor.13.一种工业物联网边缘端数据轻量化处理系统,用以执行如权利要求1-12任一项所述的一种工业物联网边缘端数据轻量化处理方法,其特征在于,包括多模态数据采集模块,所述多模态数据采集模块基于采样阈值对工业现场设备的参数进行采样;13. A lightweight data processing system for an industrial Internet of Things edge terminal, configured to execute the lightweight data processing method for an industrial Internet of Things edge terminal according to any one of claims 1 to 12, characterized in that it comprises a multimodal data acquisition module that samples parameters of industrial field equipment based on a sampling threshold;边缘轻量化处理引擎,使用一维神经网络结构对收集的所述设备振动频率进行处理,对所述设备振动频率中的关键信息进行提取及强化,以输出特征值;以及对收集的所述工业图像数据进行实时检测,识别缺陷区域并减少图像传输质量;An edge lightweight processing engine uses a one-dimensional neural network structure to process the collected vibration frequencies of the equipment, extract and enhance key information from the vibration frequencies of the equipment, and output characteristic values; and performs real-time detection on the collected industrial image data to identify defective areas and reduce image transmission quality;动态调度模块,对数据采集及轻量化处理设备的状态进行感知,并依据设备的状态,进行动态调度,所述工业现场设备正常时,将轻量化处理结果压缩为特征值传输至边缘保存模块;在所述工业现场设备状态异常时,将全量数据传输至云端服务器,并发送报警信号至本地控制器;The dynamic scheduling module senses the status of data acquisition and lightweight processing equipment and performs dynamic scheduling based on the status of the equipment. When the industrial field equipment is normal, the lightweight processing results are compressed into feature values and transmitted to the edge storage module. When the industrial field equipment is abnormal, the full data is transmitted to the cloud server and an alarm signal is sent to the local controller.云端协同优化模块,收集云端服务器的历史数据,并通过收集的所述历史数据对各边缘节点本地训练的模型参数进行训练;同时基于历史误报、漏报数据,动态调整采样阈值。The cloud collaborative optimization module collects historical data from cloud servers and trains the model parameters trained locally on each edge node using the collected historical data. At the same time, it dynamically adjusts the sampling threshold based on historical false positives and missed negatives.
CN202510985555.4A2025-07-17Industrial Internet of things edge data lightweight processing method and systemPendingCN120812138A (en)

Publications (1)

Publication NumberPublication Date
CN120812138Atrue CN120812138A (en)2025-10-17

Family

ID=

Similar Documents

PublicationPublication DateTitle
US11132224B2 (en)Fine granularity real-time supervision system based on edge computing
CN111177095B (en)Log analysis method, device, computer equipment and storage medium
CN110390246A (en)A kind of video analysis method in side cloud environment
CN112186901B (en)Panoramic sensing monitoring method and system for transformer substation
CN114697212A (en)Device parameter processing method, device, system and medium
CN118612309B (en) A smart gateway conversion method, device, equipment and storage medium
CN118673528A (en)Intelligent archive management method and system based on artificial intelligence
CN119989003A (en) Traffic business management big data comprehensive analysis and judgment system
CN115033457B (en) A multi-source data real-time acquisition method and system capable of monitoring and early warning
CN118981672A (en) Non-intrusive intelligent state perception and fault warning system for circuit breaker operating mechanism
CN120162213A (en) Risk warning method, system and electronic equipment
CN120011081A (en) Computer application data intelligent analysis and decision-making methods and systems
CN119311754A (en) An intelligent data access and integration system based on dynamic expansion architecture
CN115409992A (en) A remote driving patrol car system
CN110647070A (en)Power environment monitoring system for super-large-scale data center
CN110661999A (en)Video monitoring system based on big data
CN118736857A (en) Indicator control method, device, equipment and medium
CN118316981A (en)Cloud edge cooperative system for data processing of Internet of things equipment
CN120812138A (en)Industrial Internet of things edge data lightweight processing method and system
KR101878291B1 (en)Big data management system and management method thereof
CN114359602B (en) Product defect detection method and device, storage medium, and electronic device
Shuai et al.Memtv: a research on multi-level edge computing model for traffic video processing
CN113091825A (en)Edge side processing method of bridge safety monitoring data
Qiu et al.Automatic feature extraction model of power iot terminal
CN120238923B (en) Method, device, equipment and medium for dynamic optimization of aircraft network service quality

Legal Events

DateCodeTitleDescription
PB01Publication

[8]ページ先頭

©2009-2025 Movatter.jp