Product quality tracing system based on block chain
Through the blockchain-based product quality traceability system, the problems of low data processing efficiency and insufficient security in the existing technology are solved, efficient and safe product quality traceability is achieved, and data accuracy and privacy protection are ensured.
Patent Information
- Application Number
- CN202410595879.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-14
- Publication Date
- 2024-09-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing technology cannot process huge amounts of product production data in a timely manner, resulting in node overload or insufficient resources. Moreover, the data is not secure during transmission and can easily be hijacked by third parties.
Design a product quality traceability system based on blockchain, including data collection module, data management module and quality traceability module. Through model training, resource management and safety management modules, data processing efficiency and security are optimized, and blockchain technology is used. Perform data encryption and permission control.
It improves system processing efficiency and data security, avoids node overload and data leakage, and ensures the accuracy of product quality traceability and the security of private data.
Smart Images

Figure CN118586756A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of quality tracing, and in particular to a product quality tracing system based on blockchain. Background Art
[0002] With the rapid development of Internet technology, enterprises have an increasing demand for intelligent production management and production models, and the production of high-quality products is inseparable from the management and control of the production process.
[0003] At present, large enterprises all use intelligent production management systems to inspect the quality of their products. However, due to the complex production process of enterprises and the huge amount of production data, the existing technology cannot process the huge amount of data in a timely manner, which can easily cause node overload or insufficient node resources, resulting in a long waiting time and low data processing efficiency. Moreover, since the product production data contains a large amount of privacy data, the data can be easily hijacked by a third party during transmission in the link. The existing technology cannot guarantee the security of the data during the link transmission process, resulting in low data security. Therefore, it is necessary to design a blockchain-based product quality traceability system to improve system processing efficiency and data security. Summary of the invention
[0004] The purpose of the present invention is to provide a product quality traceability system based on blockchain to solve the problems raised in the above background technology.
[0005] In order to solve the above technical problems, the present invention provides the following technical solutions: a product quality traceability system based on blockchain, comprising a data collection module, a data management module and a quality traceability module, characterized in that: the data collection module is used to collect real-time operating parameters of equipment and various detection parameters of equipment, and enter the historical equipment production parameters and product detection parameters of the equipment into the system; the data management module is used to analyze the resource margin of the node, and adjust the resource configuration of the node according to the analysis results, and securely transmit and store data; the quality traceability module is used to analyze the parameters of the product, and lock the production link according to the parameters of the product with quality problems; the data collection module, the data management module and the quality traceability module are connected to each other in communication; The transmission management module includes a model training submodule, a node resource management submodule and a communication link management submodule. The model training module is used to use historical equipment production parameters and product detection parameters as sample data to train the quality detection model and perform iterative updates. The node resource management submodule is used to manage resource configuration when training the model, iteratively updating the model and processing and analyzing data with the model. The communication link management submodule is used to adjust the communication link for transmitting data according to data characteristics. The security management module includes a data link conversion submodule, a permission identification submodule and a data screening submodule. The data link conversion submodule is used to convert the original data into a data link character set to encrypt the data. The permission identification module is used to assign a guide value to the access request and determine whether the access right is granted based on the guide value. The data screening submodule is used to select sensitive data based on data features and encrypt and store it.
[0006] According to the above technical scheme, the data collection module includes a product comprehensive data entry module, a sensor module and a data acquisition module. The product comprehensive data entry module is used to enter the comprehensive parameters of the products to be produced into the system, and to enter the historical operating parameters and product detection parameters of the equipment into the system. The sensor module is used to detect the product parameters, and the data acquisition module is used to collect the operating parameters of the equipment in real time.
[0007] According to the above technical solution, the data management module includes a transmission management module and a security management module. The transmission management module is used to analyze the resource reserves of the node, call resources for compensation based on the analysis results, and manage the transmission path of data in the communication link. The security management module is used to detect the authority of the access request, filter out sensitive data in the device and encrypt the data.
[0008] According to the above technical solution, the quality traceability module includes a quality analysis module, and the quality analysis module is used to analyze the parameters of the product using the quality detection model, and determine the parameters of the unqualified product based on the analysis results.
[0009] According to the above technical solution, the quality traceability module also includes a link traceability module, and the link traceability module is used to lock the production link that causes unqualified product quality based on the judged unqualified parameters.
[0010] According to the above technical solution, the operation method of the product quality traceability system mainly includes the following steps: Step S1: Enter the comprehensive parameters of the product to be produced into the system through the product comprehensive data entry module, enter the historical operating parameters of the equipment and the product detection parameters into the system, collect the parameters of the product produced by the equipment in real time through the sensor module, and obtain the operating parameters of the equipment in real time through the data acquisition module; Step S2: After the data is entered into the system, the system starts to process the data, classify the data and extract data features, and train the quality detection model based on the data features; Step S3: When the system iteratively trains the detection model, the system adjusts the resource configuration between the iterative training unit, the data processing unit and the data transmission unit in real time, so that the collection system efficiency reaches the best state, and at the same time adjusts the connection mode of the communication link and transmits the data to the database for storage; Step S4: When a user accesses data, the system starts the security management module, identifies the user's access rights, filters the data according to the analysis results, and encrypts and transmits it to the user end; Step S5: When testing product quality, the system uses the quality inspection model to analyze product parameters, anchor abnormal parameters, and lock abnormal production links based on abnormal parameters.
[0011] According to the above technical solution, step S2 further includes the following steps: Step S21: Obtain the historical operating parameters and product detection parameters of the equipment, identify the historical operating parameters of the equipment in each production link and their corresponding product detection parameters, pre-process the data, remove redundant and repeated data, calculate the average value of the product detection parameters through the formula, and calculate the difference between the product detection parameters and the average value. If the difference is greater than the maximum threshold set by the system, the product detection parameter is eliminated, otherwise it is retained as training data; Step S22: Identify the cycle marks in the training data, use the training data of the most recent cycle as the test set, and the remaining data as the training set, retrieve the equipment inspection parameter threshold in the database, calculate the difference between the product inspection parameters produced under the current equipment historical operating parameters and the threshold in the database, if the parameter difference is less than the first threshold, it is marked as the first cluster family, if the parameter difference is greater than the second threshold, it is marked as the second cluster family, otherwise it is marked as the third cluster family, identify and extract the product parameter features in each cluster family, identify the historical operating parameter features of the equipment in the production link, use the parameter features to train the quality detection model, use the test set to test the quality detection model, and adjust the optimization algorithm.
[0012] According to the above technical solution, step S3 further includes the following steps: Step S31: At the end of each data collection cycle, the equipment operation parameters and the corresponding product detection parameters within the cycle are obtained and pre-processed, the processed data are clustered according to the above clustering principle, a number of iterative training nodes are constructed according to the number of clusters, and the quality detection model is iteratively trained using the processed data; Step S32: When the quality detection model is iteratively trained, the data volume of the processing node, the training node and the transmission node are respectively identified. When the data volume of the node is greater than the threshold set by the system, the number of CPU cores of the current node is identified, and the corresponding rated data processing volume in the database is retrieved according to the number of COU cores. If the rated data processing volume is greater than the data volume in the node, part of the CPU resources are released, otherwise the system COU resources are retrieved to compensate the node. When the data volume of the node is less than the threshold set by the system, the system continues to detect; Step S33: When data is transmitted, the data ports of the traceability system and each department system are retrieved to identify the data characteristics transmitted by each data port. If the data characteristics of the traceability system are inconsistent with the data characteristics transmitted by the data port of the department system, the department system uses the first data link conversion unit to convert the data into a first data chain, and the first data chain is transmitted in the communication link. In the communication link, the second data link conversion unit is used to retrieve the data characters corresponding to the first data chain and reassemble them to obtain the second data chain. At the data port of the traceability system, the third data link conversion unit is used to decrypt the data chain to obtain the complete data of the department, and the data is encrypted and stored again.
[0013] According to the above technical solution, step S4 further includes the following steps: Step S41: Retrieve the user access request, identify the authority identifier in the user access request, retrieve the request data guide value in the database according to the authority identifier, identify the first authorization code inserted by the user in the request data guide value and the insertion position of the first authorization code in the request data guide value, retrieve the corresponding data link conversion method in the database according to the first authorization code and the insertion position of the first authorization code in the request data guide value, convert the request data guide value into a data secret chain, identify the converted data secret chain, retrieve the corresponding path jump node in the database according to the data secret chain, use the decryption secret chain to identify the second authorization code typed by the user in the data secret chain, retrieve the corresponding communication link according to the second authorization code, encrypt the data and transmit the data; Step S42: Identify the data features of various types of data packets in the system, and compare the data features of the privacy data in the database. If the data feature similarity is greater than the system-set threshold, the data packet is marked as privacy data. Otherwise, the system continues to detect and identify the mark in the data packet, and uses the fourth data link conversion unit to convert the data packet carrying the privacy data mark into a data chain, and encapsulate the data chain, and use the encryption key to encrypt the encapsulated data and store it in a specific storage unit.
[0014] According to the above technical solution, in step S5, the quality inspection model is called, the real-time inspection parameters of the product are called, the real-time inspection parameters of the product are injected into the quality inspection model, and the unqualified product parameters are anchored. If there is only one unqualified parameter, the corresponding fault link in the database is called according to the unqualified parameter. Otherwise, the relationship knowledge graph between the product inspection parameters and the production links is called to identify the influence of the production links on the various inspection parameters of the product. According to the influence relationship between the production links on the various inspection parameters of the product in the knowledge graph, the problem link where the fault occurs is traced back.
[0015] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: the present invention, by clustering the training set, can accurately extract the product detection parameter characteristics in each cluster family, avoid missing some product detection parameter characteristics, resulting in large errors in the quality detection model, resulting in the need for retraining, thereby greatly improving the system efficiency; through parallel iterative training, it can reduce the load of the iterative training node, avoid node overload, resulting in slow iterative training speed, resulting in low system efficiency, thereby improving the system processing efficiency; by analyzing whether the resources of the node can handle the current amount of data, it can avoid node overload, resulting in reduced node efficiency, and also avoid data loss, further improving the system efficiency and security, through Setting a second data link conversion unit in the communication link can avoid key leakage on the department system side, which may threaten the data security of the traceability system, thereby greatly improving the security of the system. By randomly inserting the first authorization password and the second authorization password into the request data boot value, the data link conversion method is called according to the insertion position in the authorization password and the authorization password request data boot value, which can avoid criminals from stealing user accounts and then invading the system, causing data leakage, further improving the security of the system. By screening out privacy data, converting the privacy data, encrypting it with an encryption key and storing it in a specific storage unit, it can avoid privacy data leakage, thereby improving data security. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings: Figure 1 It is a schematic diagram of the system module composition of the present invention. DETAILED DESCRIPTION
[0017] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0018] See also Figure 1The present invention provides a technical solution: a product quality traceability system based on blockchain, including a data collection module, a data management module and a quality traceability module, characterized in that: the data collection module is used to collect the real-time operation parameters of the equipment and various detection parameters of the equipment, and enter the historical equipment production parameters and product detection parameters of the equipment into the system; the data management module is used to analyze the resource margin of the node, and adjust the resource configuration of the node according to the analysis results, secure transmission and secure storage of data; the quality traceability module is used to analyze the parameters of the product, and lock the production link according to the parameters of the product quality problems; the data collection module, the data management module and the quality traceability module are connected to each other in communication; The transmission management module includes a model training submodule, a node resource management submodule and a communication link management submodule. The model training module is used to use historical equipment production parameters and product inspection parameters as sample data to train the quality inspection model and perform iterative updates. The node resource management submodule is used to manage resource configuration when training the model, iteratively updating the model and processing and analyzing data with the model. The communication link management submodule is used to adjust the communication link for transmitting data according to data characteristics. The security management module includes a data link conversion submodule, an authority identification submodule and a data screening submodule. The data link conversion submodule is used to convert the original data into a data link character set to encrypt the data. The authority identification module is used to assign a guide value to the access request and determine whether the access right is granted based on the guide value. The data screening submodule is used to select sensitive data based on data characteristics and encrypt and store it.
[0019] The data collection module includes product comprehensive data entry module, sensor module and data acquisition module. The product comprehensive data entry module is used to enter the comprehensive parameters of the products to be produced into the system, and enter the historical operating parameters of the equipment and product detection parameters into the system. The sensor module is used to detect the product parameters, and the data acquisition module is used to collect the operating parameters of the equipment in real time.
[0020] The data management module includes a transmission management module and a security management module. The transmission management module is used to analyze the resource reserves of the node, call resources for compensation based on the analysis results, and manage the transmission path of data in the communication link. The security management module is used to detect the permissions of access requests, filter out sensitive data in the device, and encrypt the data.
[0021] The quality traceability module includes a quality analysis module, which is used to analyze product parameters using a quality inspection model and determine unqualified product parameters based on the analysis results.
[0022] The quality traceability module also includes a link traceability module, which is used to lock the production link that causes unqualified product quality based on the judged unqualified parameters.
[0023] The operation method of the product quality traceability system mainly includes the following steps: Step S1: Enter the comprehensive parameters of the product to be produced into the system through the product comprehensive data entry module, enter the historical operating parameters of the equipment and the product detection parameters into the system, collect the parameters of the product produced by the equipment in real time through the sensor module, and obtain the operating parameters of the equipment in real time through the data acquisition module; Step S2: After the data is entered into the system, the system starts to process the data, classify the data and extract data features, and train the quality detection model based on the data features; Step S3: When the system iteratively trains the detection model, the system adjusts the resource configuration between the iterative training unit, the data processing unit and the data transmission unit in real time, so that the collection system efficiency reaches the best state, and at the same time adjusts the connection mode of the communication link and transmits the data to the database for storage; Step S4: When a user accesses data, the system starts the security management module, identifies the user's access rights, filters the data according to the analysis results, and encrypts and transmits it to the user end; Step S5: When testing product quality, the system uses the quality inspection model to analyze product parameters, anchor abnormal parameters, and lock abnormal production links based on abnormal parameters.
[0024] Step S2 further comprises the following steps: Step S21: Obtain the historical operating parameters and product detection parameters of the equipment, identify the historical operating parameters of the equipment in each production link and their corresponding product detection parameters, pre-process the data, remove redundant and repeated data, calculate the average value of the product detection parameters through the formula, and calculate the difference between the product detection parameters and the average value. If the difference is greater than the maximum threshold set by the system, the product detection parameter is removed, otherwise it is retained as training data, thereby avoiding accidental factors affecting the accuracy of model training; Step S22: Identify the cycle mark in the training data, use the training data of the most recent cycle as the test set, and the remaining data as the training set, retrieve the equipment inspection parameter threshold in the database, calculate the difference between the product inspection parameters produced under the current equipment historical operating parameters and the threshold in the database, if the parameter difference is less than the first threshold, it is marked as the first cluster family, if the parameter difference is greater than the second threshold, it is marked as the second cluster family, otherwise it is marked as the third cluster family, identify and extract the product parameter features in each cluster family, identify the historical operating parameter features of the equipment in the production link, use the parameter features to train the quality detection model, use the test set to test the quality detection model, adjust the optimization algorithm, and cluster the training set to accurately extract the product detection parameter features in each cluster family, avoid missing some product detection parameter features, resulting in large errors in the quality detection model, resulting in the need for retraining, thereby greatly improving the system efficiency.
[0025] Step S3 further comprises the following steps: Step S31: At the end of each data collection cycle, the equipment operation parameters and the corresponding product detection parameters within the cycle are obtained and preprocessed. The processed data are clustered according to the above clustering principle, and a number of iterative training nodes are constructed according to the number of clusters. The quality detection model is iteratively trained using the processed data. The quality detection model is iteratively trained. Through parallel iterative training, the load of the iterative training node can be reduced, and node overload is avoided, resulting in slow iterative training speed and low system efficiency, thereby improving the system processing efficiency. Step S32: When the quality detection model is iteratively trained, the data volume of the processing node, the training node and the transmission node are respectively identified. When the data volume of the node is greater than the threshold set by the system, the number of CPU cores of the current node is identified, and the corresponding rated data processing volume in the database is retrieved according to the number of COU cores. If the rated data processing volume is greater than the data volume in the node, part of the CPU resources are released, otherwise the system COU resources are retrieved to compensate the node. When the data volume of the node is less than the threshold set by the system, the system continues to detect. By analyzing whether the resources of the node can handle the current data volume, the node can be avoided from being overloaded, resulting in a decrease in node efficiency, and data loss can also be avoided, thereby further improving system efficiency and security. Step S33: When data is transmitted, the data ports of the traceability system and each department system are retrieved, and the data characteristics transmitted by each data port are identified. If the data characteristics of the traceability system are inconsistent with the data characteristics transmitted by the data port of the department system, the department system uses the first data link conversion unit to convert the data into a first data chain, and the first data chain is transmitted in the communication link. In the communication link, the second data link conversion unit is used to retrieve the data characters corresponding to the first data chain and reorganize to obtain the second data chain. At the data port of the traceability system, the third data link conversion unit is used to decrypt the data chain to obtain the complete data of the department, and the data is encrypted and stored again. By setting the second data link conversion unit in the communication link, the key leakage on the department system side can be avoided, which will threaten the data security of the traceability system, thereby greatly improving the security of the system.
[0026] Step S4 further comprises the following steps: Step S41: Retrieve the user access request, identify the authority identifier in the user access request, retrieve the request data guide value in the database according to the authority identifier, identify the first authorization password inserted by the user in the request data guide value and the insertion position of the first authorization password in the request data guide value, retrieve the corresponding data link conversion method in the database according to the first authorization password and the insertion position of the first authorization password in the request data guide value, convert the request data guide value into a data secret link, identify the converted data secret link, retrieve the corresponding path jump node in the database according to the data secret link, use the decryption secret link to identify the second authorization password typed by the user in the data secret link, retrieve the corresponding communication link according to the second authorization password, encrypt the data and transmit the data, randomly insert the first authorization password and the second authorization password into the request data guide value, retrieve the data link conversion method according to the insertion position of the authorization password and the authorization password in the request data guide value, so as to prevent lawbreakers from stealing user accounts and invading the system, resulting in data leakage, thereby further improving the security of the system; Step S42: Identify the data features of various data packets in the system, and compare the data features of the privacy data in the database. If the data feature similarity is greater than the system-set threshold, the data packet is marked as privacy data. Otherwise, the system continues to detect and identify the mark in the data packet, and uses the fourth data link conversion unit to convert the data packet carrying the privacy data mark into a data chain, and encapsulate the data chain, encrypt the encapsulated data with an encryption key and store it in a specific storage unit. By screening out the privacy data, converting the privacy data, encrypting it with an encryption key and storing it in a specific storage unit, the privacy data can be prevented from being leaked, thereby improving the security of the data.
[0027] In step S5, the quality inspection model is retrieved, the real-time inspection parameters of the product are retrieved, the real-time inspection parameters of the product are injected into the quality inspection model, and the unqualified product parameters are anchored. If there is only one unqualified parameter, the corresponding fault link in the database is retrieved according to the unqualified parameter. Otherwise, the relationship knowledge graph between the product inspection parameters and the production links is retrieved to identify the impact of the production links on the various inspection parameters of the product. According to the impact relationship between the production links and the various inspection parameters of the product in the knowledge graph, the problem link where the fault occurred is traced back.
[0028] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0029] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A product quality traceability system based on blockchain, including a data collection module, a data management module and a quality traceability module, characterized in that: The data collection module is used to collect the real-time operation parameters of the equipment and various detection parameters of the equipment, and enter the historical equipment production parameters and product detection parameters of the equipment into the system. The data management module is used to analyze the resource margin of the node, call resources according to the analysis results to adjust the resource configuration of the node, and safely transmit and store data. The quality traceability module is used to analyze the parameters of the product and lock the production link according to the parameters of the product quality problems. The data collection module, the data management module and the quality traceability module are connected to each other in communication; The transmission management module includes a model training submodule, a node resource management submodule and a communication link management submodule. The model training module is used to use historical equipment production parameters and product detection parameters as sample data to train the quality detection model and perform iterative updates. The node resource management submodule is used to manage resource configuration when training the model, iteratively updating the model and processing and analyzing data with the model. The communication link management submodule is used to adjust the communication link for transmitting data according to data characteristics. The security management module includes a data link conversion submodule, a permission identification submodule and a data screening submodule. The data link conversion submodule is used to convert the original data into a data link character set to encrypt the data. The permission identification module is used to assign a guide value to the access request and determine whether the access right is granted based on the guide value. The data screening submodule is used to select sensitive data based on data features and encrypt and store it.
2. According to claim 1, a blockchain-based product quality traceability system is characterized by: The data collection module includes a product comprehensive data entry module, a sensor module and a data acquisition module. The product comprehensive data entry module is used to enter the comprehensive parameters of the products to be produced into the system, and to enter the historical operating parameters and product detection parameters of the equipment into the system. The sensor module is used to detect the product parameters, and the data acquisition module is used to collect the operating parameters of the equipment in real time.
3. A blockchain-based product quality traceability system according to claim 2, characterized in that: The data management module includes a transmission management module and a security management module. The transmission management module is used to analyze the resource reserves of the node, call resources for compensation based on the analysis results, and manage the transmission path of data in the communication link. The security management module is used to detect the permissions of access requests, filter out sensitive data in the device, and encrypt the data.
4. A blockchain-based product quality traceability system according to claim 3, characterized in that: The quality traceability module includes a quality analysis module, which is used to analyze product parameters using a quality detection model and determine unqualified product parameters based on the analysis results.
5. According to claim 4, a blockchain-based product quality traceability system is characterized by: The quality traceability module also includes a link traceability module, which is used to lock the production link that causes unqualified product quality based on the determined unqualified parameters.
6. A blockchain-based product quality traceability system according to claim 5, characterized in that: The operation method of the product quality traceability system mainly includes the following steps: Step S1: Enter the comprehensive parameters of the product to be produced into the system through the product comprehensive data entry module, enter the historical operating parameters of the equipment and the product detection parameters into the system, collect the parameters of the product produced by the equipment in real time through the sensor module, and obtain the operating parameters of the equipment in real time through the data acquisition module; Step S2: After the data is entered into the system, the system starts to process the data, classify the data and extract data features, and train the quality detection model based on the data features; Step S3: When the system iteratively trains the detection model, the system adjusts the resource configuration between the iterative training unit, the data processing unit and the data transmission unit in real time, so that the collection system efficiency reaches the best state, and at the same time adjusts the connection mode of the communication link and transmits the data to the database for storage; Step S4: When a user accesses data, the system starts the security management module, identifies the user's access rights, filters the data according to the analysis results, and encrypts and transmits it to the user end; Step S5: When testing product quality, the system uses the quality inspection model to analyze product parameters, anchor abnormal parameters, and lock abnormal production links based on abnormal parameters.
7. A blockchain-based product quality traceability system according to claim 6, characterized in that: The step S2 further comprises the following steps: Step S21: Obtain the historical operating parameters and product detection parameters of the equipment, identify the historical operating parameters of the equipment in each production link and their corresponding product detection parameters, pre-process the data, remove redundant and repeated data, calculate the average value of the product detection parameters through the formula, and calculate the difference between the product detection parameters and the average value. If the difference is greater than the maximum threshold set by the system, the product detection parameter is removed, otherwise it is retained as training data; Step S22: Identify the cycle marks in the training data, use the training data of the most recent cycle as the test set, and the remaining data as the training set, retrieve the equipment inspection parameter threshold in the database, calculate the difference between the product inspection parameters produced under the current equipment historical operating parameters and the threshold in the database, if the parameter difference is less than the first threshold, it is marked as the first cluster family, if the parameter difference is greater than the second threshold, it is marked as the second cluster family, otherwise it is marked as the third cluster family, identify and extract the product parameter features in each cluster family, identify the historical operating parameter features of the equipment in the production link, use the parameter features to train the quality detection model, use the test set to test the quality detection model, and adjust the optimization algorithm.
8. A blockchain-based product quality traceability system according to claim 7, characterized in that: The step S3 further comprises the following steps: Step S31: At the end of each data collection cycle, the equipment operation parameters and the corresponding product detection parameters within the cycle are obtained and pre-processed, the processed data are clustered according to the above clustering principle, a number of iterative training nodes are constructed according to the number of clusters, and the quality detection model is iteratively trained using the processed data; Step S32: When the quality detection model is iteratively trained, the data volume of the processing node, the training node and the transmission node are respectively identified. When the data volume of the node is greater than the threshold set by the system, the number of CPU cores of the current node is identified, and the corresponding rated data processing volume in the database is retrieved according to the number of COU cores. If the rated data processing volume is greater than the data volume in the node, part of the CPU resources are released, otherwise the system COU resources are retrieved to compensate the node. When the data volume of the node is less than the threshold set by the system, the system continues to detect; Step S33: When data is transmitted, the data ports of the traceability system and each department system are retrieved to identify the data characteristics transmitted by each data port. If the data characteristics of the traceability system are inconsistent with the data characteristics transmitted by the data port of the department system, the department system uses the first data link conversion unit to convert the data into a first data chain, and the first data chain is transmitted in the communication link. In the communication link, the second data link conversion unit is used to retrieve the data characters corresponding to the first data chain and reassemble them to obtain the second data chain. At the data port of the traceability system, the third data link conversion unit is used to decrypt the data chain to obtain the complete data of the department, and the data is encrypted and stored again.
9. A blockchain-based product quality traceability system according to claim 8, characterized in that: The step S4 further comprises the following steps: Step S41: Retrieve the user access request, identify the authority identifier in the user access request, retrieve the request data guide value in the database according to the authority identifier, identify the first authorization code inserted by the user in the request data guide value and the insertion position of the first authorization code in the request data guide value, retrieve the corresponding data link conversion method in the database according to the first authorization code and the insertion position of the first authorization code in the request data guide value, convert the request data guide value into a data secret chain, identify the converted data secret chain, retrieve the corresponding path jump node in the database according to the data secret chain, use the decryption secret chain to identify the second authorization code typed by the user in the data secret chain, retrieve the corresponding communication link according to the second authorization code, encrypt the data and transmit the data; Step S42: Identify the data features of various types of data packets in the system, and compare the data features of the privacy data in the database. If the data feature similarity is greater than the system-set threshold, the data packet is marked as privacy data. Otherwise, the system continues to detect and identify the mark in the data packet, and uses the fourth data link conversion unit to convert the data packet carrying the privacy data mark into a data chain, and encapsulate the data chain, and use the encryption key to encrypt the encapsulated data and store it in a specific storage unit.
10. A blockchain-based product quality traceability system according to claim 9, characterized in that: In the step S5, the quality inspection model is retrieved, the real-time inspection parameters of the product are retrieved, the real-time inspection parameters of the product are injected into the quality inspection model, and the unqualified product parameters are anchored. If there is only one unqualified parameter, the corresponding fault link in the database is retrieved according to the unqualified parameter. Otherwise, the relationship knowledge graph between the product inspection parameters and the production links is retrieved to identify the influence of the production links on the various inspection parameters of the product. According to the influence relationship between the production links and the various inspection parameters of the product in the knowledge graph, the problem link where the fault occurs is traced back.
Citation Information
Cited By
Overhead transmission line intelligent monitoring system capable of realizing real-time recording
CN121124372A
