Product processing method and device based on industrial Internet of Things, terminal and storage medium
By introducing industrial Internet of Things technology into factories and using assembly lines and neural network models to automatically detect and process products, the problem of low detection efficiency and errors caused by manual judgment is solved, and efficient and accurate product detection and processing are achieved.
Patent Information
- Application Number
- CN202411237730.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-05
- Publication Date
- 2024-10-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The product inspection process in existing factories relies on manual judgment of the idle status of inspection equipment and product types, resulting in error-prone and low efficiency.
Using a product processing method based on the Industrial Internet of Things, products are transferred to inspection equipment through the assembly line, product information is collected using code scanners and automatic optical inspection systems, inspection results are generated through neural network models, and products are automatically moved to the corresponding area.
It improves the efficiency and accuracy of product testing, saves labor costs, and reduces manual errors.
Smart Images

Figure CN118760102A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of factory automation technology, and in particular to a product processing method, device, terminal and storage medium based on industrial Internet of Things. Background Art
[0002] To ensure that the products meet the production standards, the factory workshop needs to test the products and handle products of different qualities. Generally, a combination of "manual handling + testing equipment" is adopted, that is, after the product completes the previous process, the workshop workers move the product to the testing equipment, manually adjust the parameters of the testing equipment and start testing, or directly use manual testing; after the test is completed, the workshop workers handle the product according to the test signal light, and those that pass the test will enter the next process, and those that fail the test will be manually moved to the unqualified area; the above operations are repeated until all tests are completed.
[0003] However, the above existing product processing methods have the following problems: manually judging the idle state of the detection equipment and manually debugging the detection equipment according to the product type, or directly manually detecting the product, which is prone to errors and inefficient. Summary of the invention
[0004] The main purpose of this application is to provide a product processing method, device, terminal and storage medium based on the Industrial Internet of Things, aiming to quickly detect product quality through product inspection equipment based on the Industrial Internet of Things, and automatically move products to different areas according to product quality, so as to improve product inspection efficiency and accuracy and save labor costs.
[0005] To achieve the above-mentioned purpose, the present application provides a product processing method based on industrial Internet of Things, which is applied to a product processing system. The product processing system includes a management platform, a sensor network platform and an object platform. The object platform includes an assembly line and product detection equipment. The management platform and the object platform are communicatively connected through the sensor network platform. The method includes: transferring the first product to a detection area of a product detection device in an idle state through the assembly line; collecting product information of the first product through the product detection device; Based on a preset product testing scheme and the product information, generating a testing result of the first product; Based on the test result, the first product is processed. If the test result shows that the first product is an unqualified product, the first product is transferred to a waste discharge line through the assembly line; if the test result shows that the first product is a qualified product, the first product is transferred to a production line where a next process is located through the assembly line.
[0006] Specifically, the product detection device includes a barcode scanner, a product QR code corresponding to the first product is set on the surface of the first product, and the product information is a product parameter corresponding to the first product; The collecting the product information of the first product by the product detection device includes: The product parameters are obtained by scanning the product QR code with the barcode scanner.
[0007] Specifically, the product information is a product image corresponding to the first product; The collecting the product information of the first product by the product detection device includes: Acquire an original image through an image acquisition device of an automatic optical inspection system, wherein the original image includes the first product; The original image is processed by the image segmentation software installed in the automatic optical inspection system to obtain the product image.
[0008] Specifically, generating the test result of the first product based on the preset product test plan and the product information includes: Performing a first preprocessing on the product parameters to obtain product data; Generate a first probability value according to the product data by using a first model; Based on the first probability value, the test result is generated. If the first probability value is greater than or equal to a preset probability threshold, a test result is generated to characterize the first product as an unqualified product; if the first probability value is less than the preset probability threshold, a test result is generated to characterize the first product as a qualified product.
[0009] Specifically, the first model includes an input layer, a hidden layer and a first output layer, the input layer is a first fully connected layer having a first number of neurons, the hidden layer is a second fully connected layer having a second number of neurons, and the first output layer is a third fully connected layer having one neuron; The step of generating a first probability value according to the product data by using a first model includes: Inputting the product data into the input layer to obtain a first feature vector; Inputting the first feature vector into the hidden layer to obtain a second feature vector; The second feature vector is input into the first output layer to obtain the first probability value.
[0010] Specifically, generating the test result of the first product based on the preset product test plan and the product information includes: Performing a second preprocessing on the product image to obtain a product image tensor; Generate a second probability value according to the product image tensor by a second model; Based on the second probability value, the test result is generated. If the second probability value is greater than or equal to the preset probability threshold, a test result is generated to characterize the first product as an unqualified product; if the second probability value is less than the preset probability threshold, a test result is generated to characterize the first product as a qualified product.
[0011] Specifically, the second model includes a convolution layer, a fourth fully connected layer and a second output layer, the convolution layer includes a first two-dimensional convolution layer, a first two-dimensional maximum pooling layer, a second two-dimensional convolution layer and a second two-dimensional maximum pooling layer, the fourth fully connected layer includes a flattening layer, a first dense layer and a random inactivation layer, and the second output layer includes a second dense layer having one neuron; The generating a second probability value according to the product image tensor by using a second model includes: Inputting the product image tensor into the convolution layer to obtain a product image convolution feature map; Inputting the product image convolution feature map into the fourth fully connected layer to obtain a product image feature vector; The product image feature vector is input into the second output layer to obtain the second probability value.
[0012] To achieve the above-mentioned purpose, the present application also provides a product processing device based on industrial Internet of Things, which is applied to a product processing system. The product processing system includes a management platform, a sensor network platform and an object platform. The object platform includes an assembly line and product detection equipment. The management platform and the object platform are communicatively connected through the sensor network platform. The device includes: A first unit is used to transfer a first product to a detection area of a product detection device in an idle state through the assembly line; A second unit is used to collect product information of the first product through the product detection device; A third unit is used to generate a test result of the first product based on a preset product test plan and the product information; The fourth unit is used to process the first product based on the detection result. If the detection result shows that the first product is an unqualified product, the first product is transferred to a waste discharge line through the assembly line; if the detection result shows that the first product is a qualified product, the first product is transferred to a production line where a next process is located through the assembly line.
[0013] To achieve the above-mentioned purpose, the present application also provides a terminal, including a memory storing multiple instructions; the processor loads instructions from the memory to execute the steps in any one of the methods provided in the present application.
[0014] To achieve the above objectives, the present application also provides a storage medium, which stores multiple instructions, and the instructions are suitable for a processor to load to execute the steps in any method provided in the present application.
[0015] The present application provides a product processing method, device, terminal and storage medium based on the industrial Internet of Things. The method can first transfer a first product to a detection area of an idle product detection device to collect product information of the first product; then, based on a preset product detection scheme and the product information, generate a detection result of the first product, and through neural network processing, regard the obtained probability value as the detection result, so as to determine whether the product is a qualified product or an unqualified product; finally, based on the detection result, process the first product, if the detection result is that the first product is an unqualified product, automatically transfer the first product to a waste discharge line through an assembly line; if the detection result is that the first product is a qualified product, automatically transfer the first product to the production line where the next process is located through an assembly line, so as to complete the classification processing of the product.
[0016] This application can be based on the industrial Internet of Things, and can quickly detect product quality through product testing equipment and preset product testing solutions installed in the product testing equipment, and automatically move products to different areas according to product quality, thereby improving product testing efficiency and accuracy and saving labor costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A schematic diagram of a process flow provided for an embodiment of the present application; Figure 2 A schematic diagram of a product processing system provided in an embodiment of the present application; Figure 3 A schematic diagram of the structure of a product processing device provided in an embodiment of the present application; Figure 4 A schematic diagram of the structure of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0018] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0019] Manually judging the idle state of the testing equipment and manually debugging the testing equipment according to the product type, or directly manually testing the product, is prone to errors and inefficient.
[0020] Therefore, the embodiments of the present application provide a product processing method, device, terminal and storage medium based on industrial Internet of Things to solve practical technical problems.
[0021] In some embodiments, the device may be specifically integrated into an electronic device, which may be a terminal, a server or other device.
[0022] In some embodiments, the server may also be implemented in the form of a terminal.
[0023] Among them, the server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), as well as big data and artificial intelligence platforms.
[0024] The terminal may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto. The terminal and the server may be directly or indirectly connected via wired or wireless communication, and this application does not limit this.
[0025] It should be noted that the serial numbers of the following embodiments are not intended to limit the preferred order of the embodiments.
[0026] An embodiment of the present application provides a product processing method based on the industrial Internet of Things. The method can quickly detect product quality through product testing equipment and a preset product testing solution mounted on the product testing equipment, and automatically move the product to different areas according to the product quality, thereby improving product testing efficiency and accuracy and saving labor costs.
[0027] like Figure 1 and Figure 2 As shown, it is applied to a product processing system, which includes a management platform, a sensor network platform and an object platform. The object platform includes an assembly line and product detection equipment. The management platform and the object platform are communicatively connected via the sensor network platform.
[0028] In some embodiments, the management platform is responsible for the management and control of the entire system, including task scheduling, data processing, etc.
[0029] The object platform may refer to an object-oriented design framework for managing and processing various data objects within the system. The object platform provides a structured way to organize, store and manipulate data, making the system more flexible and scalable. Specifically, the object platform in the product processing system includes actual operating equipment, such as assembly lines and product inspection equipment.
[0030] The sensor network platform can be used as the middle layer of the product processing system to collect data information from the object platform and is responsible for transmitting the operator's input instructions from the management platform to the object platform.
[0031] The specific process of the method can be as follows: S110, transferring the first product to the inspection area of the product inspection equipment in an idle state through the assembly line.
[0032] In some embodiments, the first product is a product to be processed or a product to be tested in a product processing system of a workshop, and the first product may include electronic components, processed raw materials, consumer electronic products or parts, etc.
[0033] The Industrial Internet of Things (IIoT) plays a vital role in modern manufacturing, especially in product quality control and automated production lines. The Industrial Internet of Things involves connecting various types of sensors, devices, machines and other objects through a network, enabling them to collect and exchange data. The goal of the Industrial Internet of Things is to improve the efficiency, productivity and reliability of industrial production processes through intelligence, automation and data analysis. In some embodiments, a product processing system based on the industrial Internet of Things controls the assembly line and product inspection equipment through a management platform, and automatically separates qualified products from unqualified products through the assembly line.
[0034] In some embodiments, the product information collection part of the product inspection equipment may include a visual inspection system, a laser scanner, an X-ray detector, an ultrasonic detector, a sensor integration system, a barcode / QR code scanning gun, etc. The product inspection equipment can obtain product information through image acquisition and parameter acquisition.
[0035] S120: Collect product information of the first product through the product detection device.
[0036] In some embodiments, the product inspection device includes a barcode scanner, a product QR code corresponding to the first product is set on the surface of the first product, and the product information is a product parameter corresponding to the first product.
[0037] Specifically, the collecting the product information of the first product by the product detection device includes the following specific implementation process: The product parameters are obtained by scanning the product QR code with the barcode scanner.
[0038] In some embodiments, when the first product arrives at the detection area, a fixed barcode scanner installed on the assembly line scans the product QR code to obtain product parameters, which may include product production work orders, etc.
[0039] In some embodiments, the product information is a product image corresponding to the first product.
[0040] Specifically, the collecting of the product information of the first product by the product detection device includes the following steps S121 to S122: S121. Acquire an original image through an image acquisition device of an automatic optical inspection system, wherein the original image includes the first product.
[0041] In some embodiments, the automatic optical inspection system (AOI) is an automated inspection equipment based on optical principles and image processing technology. It is widely used in industries such as electronic manufacturing, automobiles, medicine, and display technology to detect surface defects and quality problems of products during the production process. The working principle of the AOI system is mainly to capture images of products through cameras or other photoelectric sensors. The AOI system can continuously provide consistent inspection results, is not affected by human factors, and has higher accuracy than manual inspection. At the same time, it can inspect a large number of products at an extremely fast speed, thereby improving production efficiency. Specifically, the image in the monitoring area, that is, the original image, is obtained through the image acquisition device of the automatic optical inspection system, and the original image contains the first product.
[0042] S122. Processing the original image by using image segmentation software installed in the automatic optical inspection system to obtain the product image.
[0043] In some embodiments, there are many image segmentation software or working libraries that can be used for image segmentation, often based on deep learning and traditional computer vision algorithms. The following are some well-known image segmentation software and libraries that can be integrated into automatic optical inspection systems (AOI) or similar visual inspection systems: Mask R-CNN: Mask R-CNN is an instance segmentation framework based on Faster R-CNN that can detect object instances in an image and generate accurate pixel-level masks for each instance. U-Net: U-Net is a convolutional neural network architecture originally used for segmentation of biomedical images and is particularly good at handling tasks with less training data; DeepLab: DeepLab is a semantic segmentation framework developed by Google. It uses atrous convolution to capture image context information and is suitable for segmentation of complex scenes. FCN (Fully Convolutional Networks): FCN is one of the earliest network architectures proposed for end-to-end pixel-level prediction, using convolution and deconvolution operations for image segmentation.
[0044] S130: Generate a test result of the first product based on a preset product test plan and the product information.
[0045] In some embodiments, when the product information is a product parameter corresponding to a first product, generating a test result of the first product based on a preset product test scheme and the product information includes steps A131 to A133 as shown below: A131. Perform a first preprocessing on the product parameters to obtain product data.
[0046] In some embodiments, the product parameters may include current parameters of the product during the current process and historical parameters of the product during previous processes.
[0047] In some embodiments, the first preprocessing may include the following process: Data cleaning: Check if there are any outliers or missing values. If there are, you can handle them according to the processing method of training data, such as filling with median or mean or deleting samples with missing values; Feature scaling: Standardize or normalize the product parameters using the same scaling parameters (such as mean and standard deviation) as the training data to keep the data scale consistent; Feature Engineering: If any derived features were created during model training, the same feature engineering should be performed on the product parameters. Data formatting: Make sure the format of the product parameters matches the input format expected by the model, such as converting the product parameters to NumPy arrays or TensorFlow tensors.
[0048] A132. Generate a first probability value based on the product data using a first model.
[0049] In some embodiments, the first model may be a machine learning model. For example, the first model may be a long short-term memory neural network (LSTM) model. The first model may also be a machine learning model of other structures, such as a neural network model, a recurrent neural network model, etc.
[0050] In some embodiments, the product data can select a corresponding data form according to the input format of the first model. The product data can be a two-dimensional array, a multidimensional feature vector, an array in a tabular form, or a node feature matrix or an adjacency matrix.
[0051] In some embodiments, the first model may include an input layer, a hidden layer, and a first output layer, the input layer being a first fully connected layer having a first number of neurons, the hidden layer being a second fully connected layer having a second number of neurons, and the first output layer being a third fully connected layer having one neuron.
[0052] Specifically, the first probability value is generated according to the product data by using the first model, including the steps A1321 to A1323 as shown below: A1321. Input the product data into the input layer to obtain a first feature vector.
[0053] In some embodiments, the input layer may be a first fully connected layer having 32 neurons, the activation function is ReLU, and the input dimension is equal to the number of features of the product data.
[0054] The ReLU (Rectified Linear Unit) activation function is a very popular nonlinear transformation function in deep learning, mainly used in the hidden layer of artificial neural networks.
[0055] In some embodiments, the first feature vector may be composed of various parameter values of the first product, and the various parameter values may respectively represent the size, category, color, power, weight, total number of parts, production date, etc. of the first product.
[0056] A1322. Input the first feature vector into the hidden layer to obtain a second feature vector.
[0057] In some embodiments, the hidden layer may be a second fully connected layer with 16 neurons, and the activation function is ReLU. The hidden layer may continue to perform nonlinear transformation on the product data.
[0058] A1323. Input the second feature vector into the first output layer to obtain the first probability value.
[0059] In some embodiments, the output layer can be a third fully connected layer with one neuron, and the activation function is Sigmoid. The output layer is used to solve the binary classification problem. The Sigmoid function compresses the output of the neuron to between 0 and 1, representing the probability of "unqualified" (close to 1) or "qualified" (close to 0).
[0060] The Sigmoid function is a nonlinear transformation function commonly used in neural networks. It maps any value in the real number domain to the interval (0,1). The output value can be interpreted as a probability. Therefore, the Sigmoid function is often used in binary classification problems, where the output of the model can be directly understood as the probability of belonging to a certain category.
[0061] A133. Based on the first probability value, generate the test result. If the first probability value is greater than or equal to a preset probability threshold, generate a test result for characterizing the first product as an unqualified product; if the first probability value is less than the preset probability threshold, generate a test result for characterizing the first product as a qualified product.
[0062] In some embodiments, the first probability value may be the probability of a product being unqualified. If the preset probability threshold is 0.5, products with an output greater than or equal to 0.5 will be classified as "unqualified", and products with an output less than 0.5 will be classified as "qualified".
[0063] In some embodiments, when the product information is a product image corresponding to the first product, generating the detection result of the first product based on the preset product detection scheme and the product information includes steps B131 to B133 as shown below: B131. Perform a second preprocessing on the product image to obtain a product image tensor.
[0064] In some embodiments, the product image may be a color image, and the second preprocessing may include the following process: Size normalization: resizing the product images to the same size so they can be fed into the neural network model; Grayscale or color space conversion: If the model only needs a single channel input, the color image can be converted to grayscale. If the model accepts RGB input, but the product image is in other color spaces (such as HSV), conversion is required; Normalization / Standardization: Normalize the product image to a specific range, such as scaling pixel values from 0-255 to 0-1, or subtracting the mean of each pixel and sometimes dividing by the standard deviation so that the data has zero mean and unit variance; Data augmentation: Generate additional training samples by rotating, flipping, scaling, etc. the product images, which helps improve the generalization ability of the model; Noise removal: Use filters such as Gaussian filters and median filters to remove random noise in product images; Channel arrangement: Make sure the channels (e.g. RGB) of your product images are arranged in the order that the neural network expects.
[0065] In some embodiments, the product image tensor may be a three-dimensional tensor, which is a W×H×3 tensor, wherein W and H are respectively the width and height of the product image, and 3 represents the three color channels of RGB.
[0066] In some embodiments, the product image tensor may be a two-dimensional tensor, which is a W×H tensor, wherein W and H are respectively the width and height of the product image, and the two-dimensional tensor is used to represent a single-channel grayscale image of the first product.
[0067] In some embodiments, the product image tensor may be a four-dimensional tensor, which is a tensor of Batch_Size×W×H×3, wherein W and H are respectively the width and height of the product image, 3 represents the three RGB color channels, and Batch_Size represents the number of product images in the same batch of the first product.
[0068] B132. Generate a second probability value based on the product image tensor using a second model.
[0069] In some embodiments, the second model may be a machine learning model. For example, the second model may be a long short-term memory neural network (LSTM) model. The second model may also be a machine learning model of other structures, such as a neural network model, a recurrent neural network model, etc.
[0070] In some embodiments, the second model may include a convolutional layer, a fourth fully connected layer, and a second output layer, the convolutional layer including a first two-dimensional convolutional layer, a first two-dimensional maximum pooling layer, a second two-dimensional convolutional layer, and a second two-dimensional maximum pooling layer, the fourth fully connected layer including a flattening layer, a first dense layer, and a random inactivation layer, and the second output layer including a second dense layer having one neuron.
[0071] Specifically, the second probability value is generated according to the product image tensor by using the second model, including the steps B1321 to B1323 as shown below: B1321. Input the product image tensor into the convolution layer to obtain a product image convolution feature map.
[0072] In some embodiments, the product image tensor is input into the convolution layer to obtain a smaller convolution feature map of the product image, which contains high-level abstract features of the product image. The depth (i.e., the number of channels) of the product image convolution feature map is usually greater than that of the product image, because the number of convolution kernels (i.e., the number of filters) in each layer may increase, so that more types of features can be captured.
[0073] B1322. Input the product image convolution feature map into the fourth fully connected layer to obtain a product image feature vector.
[0074] In some embodiments, the product image convolution feature map is input into the flattening layer to obtain a one-dimensional vector. The one-dimensional vector is input into the first dense layer, and the one-dimensional vector is linearly transformed by a weight matrix corresponding to the first dense layer and a bias term corresponding to the first dense layer. The random inactivation layer is used to reduce overfitting of the output of the first dense layer.
[0075] B1323. Input the product image feature vector into the second output layer to obtain the second probability value.
[0076] In some embodiments, according to. A second output layer having one neuron uses a Sigmoid function to output a second probability value between 0 and 1.
[0077] B133. Based on the second probability value, generate the test result. If the second probability value is greater than or equal to the preset probability threshold, generate a test result for characterizing the first product as an unqualified product; if the second probability value is less than the preset probability threshold, generate a test result for characterizing the first product as a qualified product.
[0078] In some embodiments, the second probability value may be the probability of a product being unqualified. If the preset probability threshold is 0.5, products with an output greater than or equal to 0.5 will be classified as "unqualified", and products with an output less than 0.5 will be classified as "qualified".
[0079] S140. Based on the test result, process the first product. If the test result shows that the first product is an unqualified product, transfer the first product to a waste discharge line through the assembly line. If the test result shows that the first product is a qualified product, transfer the first product to a production line where a next process is located through the assembly line.
[0080] In some embodiments, the product processing system issues product processing instructions to the control host based on the detection result, and the control host transfers the first product to different areas through the diversion device of the assembly line. For example, if the detection result shows that the first product is an unqualified product, the first product is transferred to the waste discharge line; if the detection result shows that the first product is a qualified product, the first product is transferred to the production line where the next process is located.
[0081] The embodiment of the present application first transfers the first product to the detection area of the product detection equipment in an idle state to collect the product information of the first product; then, based on the preset product detection scheme and the product information, the detection result of the first product is generated, and the obtained probability value is regarded as the detection result through neural network processing to determine whether the product is a qualified product or an unqualified product; finally, based on the detection result, the first product is processed, and if the detection result is that the first product is an unqualified product, the first product is automatically transferred to the waste discharge line through the assembly line; if the detection result is that the first product is a qualified product, the first product is automatically transferred to the production line where the next process is located through the assembly line, thereby completing the product classification processing.
[0082] In order to further explain the present application, a specific embodiment is described below: This embodiment is to realize the rapid detection of product quality based on the industrial Internet of Things system through product detection equipment and the preset product detection scheme installed in the product detection equipment, and automatically move the product to different areas according to the product quality, so as to improve the efficiency and accuracy of product detection and save labor costs. The following processing is performed: First, based on the method provided in this embodiment, the production workshop is transformed as follows: Setting a control host, wherein the control host is used to control the assembly line to move the product; A product testing device is provided, wherein the product testing device is used to collect product information within a testing area of the product testing device, and to test product quality based on a preset product testing scheme mounted on the product testing device.
[0083] (I) Allocate products entering the current process by controlling the host computer and transfer the products to the inspection area of the idle product inspection equipment.
[0084] (ii) Collecting product information through product testing equipment, including the following two situations: Case a: Product information is product parameters.
[0085] The product detection equipment includes a barcode scanner, and the product QR code corresponding to the product is set on the surface of the product. The product QR code is scanned by the barcode scanner to obtain the product parameters. Case b: The product information is a product image.
[0086] First, an original image is acquired through an image acquisition device of an automatic optical inspection system, wherein the original image includes a product; then, the original image is processed through image segmentation software installed in the automatic optical inspection system to obtain the product image.
[0087] (III) After receiving the product information, the product testing equipment will test the product based on the type of product information by using different preset product testing equipment mounted on the product testing equipment to obtain test results, which include "qualified" and "unqualified".
[0088] If it is case a, the preset product detection scheme includes using the first model, which specifically includes the following process: (a.1) Performing a first preprocessing on the product parameters to obtain product data.
[0089] (a.2) Generate a first probability value according to the product data through a first model; the first model includes an input layer, a hidden layer and a first output layer, the input layer is a first fully connected layer with a first number of neurons, the hidden layer is a second fully connected layer with a second number of neurons, and the first output layer is a third fully connected layer with one neuron; the input layer can be a first fully connected layer with 32 neurons, the activation function is ReLU, and the input dimension is equal to the number of features of the product data; the hidden layer can be a second fully connected layer with 16 neurons, the activation function is ReLU, and the hidden layer can continue to perform nonlinear transformation on the product data; the output layer can be a third fully connected layer with one neuron, the activation function is Sigmoid, and the output layer is used to solve the binary classification problem. The Sigmoid function compresses the output of the neuron to between 0 and 1, representing the probability of "unqualified" (close to 1) or "qualified" (close to 0).
[0090] (a.3) Based on the first probability value, the test result is generated. If the first probability value is greater than or equal to a preset probability threshold, a test result is generated to characterize the first product as an unqualified product; if the first probability value is less than the preset probability threshold, a test result is generated to characterize the first product as a qualified product; the first probability value may be the probability that the product is unqualified. If the preset probability threshold is 0.5, products with an output greater than or equal to 0.5 will be classified as "unqualified", and products with an output less than 0.5 will be classified as "qualified".
[0091] If it is case b, the preset product detection scheme includes using the second model, which specifically includes the following process: (b.1) Performing a second preprocessing on the product image to obtain a product image tensor.
[0092] (b.2) Generate a second probability value according to the product image tensor through a second model; the second model includes a convolution layer, a fourth fully connected layer and a second output layer, the convolution layer includes a first two-dimensional convolution layer, a first two-dimensional maximum pooling layer, a second two-dimensional convolution layer and a second two-dimensional maximum pooling layer, the fourth fully connected layer includes a flattening layer, a first dense layer and a random inactivation layer, and the second output layer includes a second dense layer having one neuron.
[0093] (b.3) Based on the second probability value, the test result is generated. If the second probability value is greater than or equal to a preset probability threshold, a test result is generated to characterize the first product as an unqualified product; if the second probability value is less than the preset probability threshold, a test result is generated to characterize the first product as a qualified product; the second probability value may be the probability that the product is unqualified. If the preset probability threshold is 0.5, products with an output greater than or equal to 0.5 will be classified as "unqualified", and products with an output less than 0.5 will be classified as "qualified".
[0094] (iv) The business system of the production line issues product processing instructions to the control host based on the test result, and the control host transfers the first product to different areas through the diversion device of the assembly line. For example, if the test result shows that the first product is an unqualified product, the first product is transferred to the waste discharge line; if the test result shows that the first product is a qualified product, the first product is transferred to the production line where the next process is located.
[0095] In summary, the present application provides a product processing method based on the industrial Internet of Things, which quickly detects product quality through product inspection equipment and preset product inspection schemes installed on the product inspection equipment, and automatically moves products to different areas according to product quality, thereby improving product inspection efficiency and accuracy and saving labor costs.
[0096] In order to better implement the above method, the embodiment of the present application also provides a product processing device based on the industrial Internet of Things, which can be integrated in an electronic device, and the electronic device can be a terminal, a server, etc. Among them, the terminal can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop, a personal computer, etc.; the server can be a single server or a server cluster composed of multiple servers.
[0097] For example, in this embodiment, the method of the embodiment of the present application will be described in detail by taking the specific integration of an industrial Internet of Things-based product processing device in a terminal as an example.
[0098] For example, Figure 3 As shown, the product processing device 300 based on the industrial Internet of Things may include a first unit 301, a second unit 302, a third unit 303 and a fourth unit 304, and is applied to a product processing system. The product processing system includes a management platform, a sensor network platform and an object platform. The object platform includes an assembly line and a product detection device. The management platform is connected to the object platform through the sensor network platform. The device includes: The first unit 301 is used to transfer the first product to the inspection area of the product inspection device in an idle state through the assembly line; The second unit 302 is used to collect product information of the first product through the product detection device; The third unit 303 is used to generate a test result of the first product based on a preset product test plan and the product information; The fourth unit 304 is used to process the first product based on the test result. If the test result shows that the first product is an unqualified product, the first product is transferred to the waste discharge line through the assembly line; if the test result shows that the first product is a qualified product, the first product is transferred to the production line where the next process is located through the assembly line. In specific implementation, the above units can be implemented as independent entities, or they can be arbitrarily combined and implemented as the same or several entities. The specific implementation of the above units can refer to the previous method embodiments, which will not be repeated here.
[0099] From the above, it can be seen that the embodiments of the present application can be based on the industrial Internet of Things, and can quickly detect product quality through product testing equipment and preset product testing solutions installed in the product testing equipment, and automatically move products to different areas according to product quality, thereby improving product testing efficiency and accuracy and saving labor costs.
[0100] The embodiment of the present application also provides an electronic device, which can be a terminal, a server, etc. The terminal can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop, a personal computer, etc. The server can be a single server or a server cluster composed of multiple servers, etc.
[0101] In some embodiments, the product processing device can also be integrated into multiple electronic devices. For example, the product processing device can be integrated into multiple servers, and the product processing method based on industrial Internet of Things of the present application is implemented by multiple servers.
[0102] In this embodiment, the electronic device of this embodiment is a terminal as an example for detailed description, for example, Figure 4 As shown, it shows a schematic diagram of the structure of the terminal 400 involved in the embodiment of the present application, specifically: The terminal 400 may include one or more processing core processors 401, one or more storage media memories 402, a power supply 403, an input module 404, and a communication module 405. Those skilled in the art will appreciate that Figure 4 The structure of the terminal 400 shown in the figure does not constitute a limitation on the terminal 400, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. The processor 401 is the control center of the terminal 400. It uses various interfaces and lines to connect various parts of the entire terminal 400. It executes various functions of the terminal 400 and processes data by running or executing software programs and / or modules stored in the memory 402, and calling data stored in the memory 402, so as to monitor the terminal 400 as a whole. In some embodiments, the processor 401 may include one or more processing cores; in some embodiments, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 401.
[0103] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the terminal 400, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
[0104] The terminal 400 also includes a power supply 403 for supplying power to various components. In some embodiments, the power supply 403 can be logically connected to the processor 401 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 403 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.
[0105] The terminal 400 may further include an input module 404, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0106] The terminal 400 may also include a communication module 405. In some embodiments, the communication module 405 may include a wireless module. The terminal 400 may perform short-range wireless transmission through the wireless module of the communication module 405, thereby providing the user with wireless broadband Internet access. For example, the communication module 405 may be used to help the user send and receive emails, browse web pages, and access streaming media.
[0107] Although not shown, the terminal 400 may also include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 401 in the terminal 400 will load the executable files corresponding to the processes of one or more applications into the memory 402 according to the following instructions, and the processor 401 will run the applications stored in the memory 402, thereby realizing various functions, as follows: transferring the first product to a detection area of a product detection device in an idle state through the assembly line; collecting product information of the first product through the product detection device; Based on a preset product testing scheme and the product information, generating a testing result of the first product; Based on the test result, the first product is processed. If the test result shows that the first product is an unqualified product, the first product is transferred to a waste discharge line through the assembly line; if the test result shows that the first product is a qualified product, the first product is transferred to a production line where a next process is located through the assembly line.
[0108] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0109] From the above, it can be seen that the embodiments of the present application can be based on the industrial Internet of Things, and can quickly detect product quality through product testing equipment and preset product testing solutions installed in the product testing equipment, and automatically move products to different areas according to product quality, thereby improving product testing efficiency and accuracy and saving labor costs.
[0110] A person skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a storage medium and loaded and executed by a processor.
[0111] To this end, an embodiment of the present application provides a storage medium in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any one of the product processing methods based on the industrial Internet of Things provided in the embodiment of the present application. For example, the instructions can execute the following steps: transferring the first product to a detection area of a product detection device in an idle state through the assembly line; collecting product information of the first product through the product detection device; Based on a preset product testing scheme and the product information, generating a testing result of the first product; Based on the test result, the first product is processed. If the test result shows that the first product is an unqualified product, the first product is transferred to a waste discharge line through the assembly line; if the test result shows that the first product is a qualified product, the first product is transferred to a production line where a next process is located through the assembly line.
[0112] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0113] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a storage medium. A processor of a computer device reads the computer instructions from the storage medium, and the processor executes the computer instructions, so that the computer device executes the method provided in various optional implementations provided in the above embodiments.
[0114] Since the instructions stored in the storage medium can execute the steps in any one of the product processing methods based on the industrial Internet of Things provided in the embodiments of the present application, the beneficial effects that can be achieved by any one of the product processing methods based on the industrial Internet of Things provided in the embodiments of the present application can be achieved. For details, please refer to the previous embodiments and will not be repeated here.
[0115] The above is a detailed introduction to a product processing method, device, terminal and storage medium based on industrial Internet of Things provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A product processing method based on industrial Internet of Things, characterized in that: Applied to a product processing system, the product processing system includes a management platform, a sensor network platform and an object platform, the object platform includes an assembly line and product detection equipment, the management platform and the object platform are communicatively connected via the sensor network platform, the method includes: transferring the first product to a detection area of a product detection device in an idle state through the assembly line; collecting product information of the first product through the product detection device; Based on a preset product testing scheme and the product information, generating a testing result of the first product; Based on the test result, the first product is processed. If the test result shows that the first product is an unqualified product, the first product is transferred to a waste discharge line through the assembly line; if the test result shows that the first product is a qualified product, the first product is transferred to a production line where a next process is located through the assembly line.
2. The method according to claim 1, characterized in that The product detection device includes a barcode scanner, a product QR code corresponding to the first product is set on the surface of the first product, and the product information includes product parameters corresponding to the first product; The collecting the product information of the first product by the product detection device includes: The product parameters are obtained by scanning the product QR code with the barcode scanner.
3. The method according to claim 1, characterized in that The product information is a product image corresponding to the first product; The collecting the product information of the first product by the product detection device includes: Acquire an original image through an image acquisition device of an automatic optical inspection system, wherein the original image includes the first product; The original image is processed by image segmentation software installed in the automatic optical inspection system to obtain the product image.
4. The method according to claim 2, characterized in that The generating a test result of the first product based on the preset product test scheme and the product information includes: Performing a first preprocessing on the product parameters to obtain product data; Generate a first probability value according to the product data by using a first model; Based on the first probability value, the test result is generated. If the first probability value is greater than or equal to a preset probability threshold, a test result is generated to characterize the first product as an unqualified product; if the first probability value is less than the preset probability threshold, a test result is generated to characterize the first product as a qualified product.
5. The method according to claim 4, characterized in that The first model includes an input layer, a hidden layer and a first output layer, the input layer is a first fully connected layer having a first number of neurons, the hidden layer is a second fully connected layer having a second number of neurons, and the first output layer is a third fully connected layer having one neuron; The step of generating a first probability value according to the product data by using a first model includes: Inputting the product data into the input layer to obtain a first feature vector; Inputting the first feature vector into the hidden layer to obtain a second feature vector; The second feature vector is input into the first output layer to obtain the first probability value.
6. The method according to claim 3, characterized in that The generating a test result of the first product based on the preset product test scheme and the product information includes: Performing a second preprocessing on the product image to obtain a product image tensor; Generate a second probability value according to the product image tensor by a second model; Based on the second probability value, the test result is generated. If the second probability value is greater than or equal to the preset probability threshold, a test result is generated to characterize the first product as an unqualified product; if the second probability value is less than the preset probability threshold, a test result is generated to characterize the first product as a qualified product.
7. The method according to claim 6, characterized in that The second model includes a convolution layer, a fourth fully connected layer and a second output layer, the convolution layer includes a first two-dimensional convolution layer, a first two-dimensional maximum pooling layer, a second two-dimensional convolution layer and a second two-dimensional maximum pooling layer, the fourth fully connected layer includes a flattening layer, a first dense layer and a random inactivation layer, and the second output layer includes a second dense layer having one neuron; The generating a second probability value according to the product image tensor by using a second model includes: Inputting the product image tensor into the convolution layer to obtain a product image convolution feature map; Inputting the product image convolution feature map into the fourth fully connected layer to obtain a product image feature vector; The product image feature vector is input into the second output layer to obtain the second probability value.
8. A product processing device based on industrial Internet of Things, characterized in that: Applied to a product processing system, the product processing system includes a management platform, a sensor network platform and an object platform, the object platform includes an assembly line and product detection equipment, the management platform and the object platform are communicatively connected via the sensor network platform, and the device includes: A first unit is used to transfer a first product to a detection area of a product detection device in an idle state through the assembly line; A second unit is used to collect product information of the first product through the product detection device; A third unit is used to generate a test result of the first product based on a preset product test plan and the product information; The fourth unit is used to process the first product based on the detection result. If the detection result shows that the first product is an unqualified product, the first product is transferred to a waste discharge line through the assembly line; if the detection result shows that the first product is a qualified product, the first product is transferred to a production line where a next process is located through the assembly line.
9. A terminal, characterized in that: It comprises a processor and a memory, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to execute the steps in the method as claimed in any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores a plurality of instructions, and the instructions are suitable for loading by a processor to execute the steps in the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Method for automatically detecting quality of complex product based on cloud platform
CN105548198A
Product detection method based on machine vision
CN105817430A
Multi-channel plane information detection method, system and device
CN110530872A
Method and device for detecting signal quality by photoplethysmography
CN111291727A
Display card interface machine test method based on PCA learning
CN111526357A
Cited By
Workshop work order management method and device based on industrial Internet of Things, terminal and medium
CN119047790A
Workpiece quality detection method, system and equipment based on industrial internet of things and medium
CN120009359A
