A production equipment operation data management method and system based on blockchain

By adopting blockchain technology and multiple encryption algorithms in the operation data management of production equipment, data security and reliability problems in traditional methods are solved, and higher data security and reliability are achieved.

CN119788310APending Publication Date: 2025-04-08FUZHOU DIGITAL IND INTERNET TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411688987.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-25
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

The data management of traditional production equipment has security risks such as data tampering and forgery, and relying on centralized servers has the risk of single point of failure and data leakage.

Method used

The data management method of production equipment based on blockchain is adopted to collect and preprocess data in real time, and data packets are encrypted using multiple encryption algorithms (3DES, AES256, HMAC, AES-KW), and uploaded to the blockchain nodes for decentralized storage and management through the SRTP protocol.

Benefits of technology

It significantly improves the security and reliability of data management of production equipment operation, prevents data tampering and single point of failure, and improves data credibility and decision-making efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119788310A_ABST
    Figure CN119788310A_ABST
Patent Text Reader

Abstract

The present invention provides a method and system for managing production equipment operation data based on blockchain in the field of intelligent manufacturing technology, the method comprising the following steps: step S1, real-time collection of production equipment operation data, and preprocessing of each of the operation data; step S2, packaging each of the preprocessed operation data into an operation data packet, and compressing the operation data packet into a compressed data packet; step S3, encrypting the compressed data packet into an encrypted data packet based on 3DES algorithm, AES256 algorithm, HMAC algorithm and AES‑KW algorithm; step S4, uploading the encrypted data packet to one of the nodes of the blockchain, the node verifies the encrypted data packet, and then decentralizes the encrypted data packet for storage; step S5, managing the encrypted data packet through the blockchain. The advantages of the present invention are: greatly improving the security and reliability of production equipment operation data management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent manufacturing technology, and in particular to a blockchain-based production equipment operation data management method and system. Background Art

[0002] The real-time upload and analysis of operating data generated during the operation of production equipment has become an important means to improve production efficiency and optimize production processes. However, traditionally, only a single encryption algorithm is used to encrypt the operating data before uploading it to a centralized server, which has the following disadvantages: 1. There are security risks such as data tampering and forgery, which makes the operating data unreliable, thereby affecting the decision-making efficiency and accuracy of intelligent manufacturing; 2. Relying on centralized servers, there is a risk of single point failure and data leakage.

[0003] Therefore, how to provide a blockchain-based production equipment operation data management method and system to improve the security and reliability of production equipment operation data management has become a technical problem that needs to be solved urgently. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a production equipment operation data management method and system based on blockchain, so as to improve the security and reliability of production equipment operation data management.

[0005] In a first aspect, the present invention provides a method for managing production equipment operation data based on blockchain, comprising the following steps:

[0006] Step S1, collecting operation data of production equipment in real time, and preprocessing each of the operation data;

[0007] Step S2, packing the preprocessed operation data into an operation data packet, and compressing the operation data packet into a compressed data packet;

[0008] Step S3, encrypting the compressed data packet into an encrypted data packet based on the 3DES algorithm, the AES256 algorithm, the HMAC algorithm and the AES-KW algorithm;

[0009] Step S4: uploading the encrypted data packet to one of the nodes of the blockchain, and after the node verifies the encrypted data packet, the encrypted data packet is decentralized stored;

[0010] Step S5: managing the encrypted data packet through the blockchain.

[0011] Furthermore, the step S1 is specifically as follows:

[0012] The operating data of the production equipment is collected in real time through edge computing devices, and each of the operating data is preprocessed including at least data cleaning and format conversion; the data cleaning includes at least outlier removal and missing value filling.

[0013] Furthermore, the step S2 is specifically as follows:

[0014] A time period is set, and the preprocessed operation data are packaged into an operation data packet based on the time period, and the operation data packet is compressed into a compressed data packet through Huffman coding.

[0015] Furthermore, the step S3 is specifically as follows:

[0016] The compressed data packet is encrypted by the 3DES algorithm to obtain first-level encrypted data, each character in the first-level encrypted data is mapped by a preset mapping rule to obtain second-level encrypted data, the letter u and the letter v in the second-level encrypted data are swapped, and the number 0 and the letter O are swapped to obtain third-level encrypted data, the third-level encrypted data is encrypted by the AES256 algorithm to obtain fourth-level encrypted data, each character of the fourth-level encrypted data is circularly shifted right by 8 bits to obtain fifth-level encrypted data, the fifth-level encrypted data is signed by the HMAC algorithm to obtain signature data, the current timestamp is obtained, and the fifth-level encrypted data, signature data and timestamp are encapsulated into an encrypted data packet by the AES-KW algorithm.

[0017] Furthermore, the step S4 is specifically as follows:

[0018] The encrypted data packet is uploaded to one of the nodes of the blockchain through the SRTP protocol. The node decapsulates the encrypted data packet through the AES-KW algorithm to obtain five-level encrypted data, signature data and timestamp. After the time validity is verified by the timestamp, the integrity of the five-level encrypted data is verified by the signature data. If the verification passes, the encrypted data packet is distributed and stored on different nodes of the blockchain;

[0019] The step S5 is specifically as follows:

[0020] The encrypted data packet is retrieved, downloaded and traced through the blockchain to manage the encrypted data packet.

[0021] In a second aspect, the present invention provides a blockchain-based production equipment operation data management system, comprising the following modules:

[0022] An operation data collection module is used to collect the operation data of the production equipment in real time and pre-process the operation data;

[0023] An operation data packet compression module, used for packaging the pre-processed operation data into an operation data packet, and compressing the operation data packet into a compressed data packet;

[0024] A compressed data packet encryption module, used for encrypting the compressed data packet into an encrypted data packet based on a 3DES algorithm, an AES256 algorithm, an HMAC algorithm, and an AES-KW algorithm;

[0025] The encrypted data packet uploading module is used to upload the encrypted data packet to one of the nodes of the blockchain. After the node verifies the encrypted data packet, the encrypted data packet is decentralized stored;

[0026] The encrypted data packet management module is used to manage the encrypted data packets through the blockchain.

[0027] Furthermore, the operation data collection module is specifically used for:

[0028] The operating data of the production equipment is collected in real time through edge computing devices, and each of the operating data is preprocessed including at least data cleaning and format conversion; the data cleaning includes at least outlier removal and missing value filling.

[0029] Furthermore, the running data packet compression module is specifically used for:

[0030] A time period is set, and the preprocessed operation data are packaged into an operation data packet based on the time period, and the operation data packet is compressed into a compressed data packet through Huffman coding.

[0031] Furthermore, the compressed data packet encryption module is specifically used for:

[0032] The compressed data packet is encrypted by the 3DES algorithm to obtain first-level encrypted data, each character in the first-level encrypted data is mapped by a preset mapping rule to obtain second-level encrypted data, the letter u and the letter v in the second-level encrypted data are swapped, and the number 0 and the letter O are swapped to obtain third-level encrypted data, the third-level encrypted data is encrypted by the AES256 algorithm to obtain fourth-level encrypted data, each character of the fourth-level encrypted data is circularly shifted right by 8 bits to obtain fifth-level encrypted data, the fifth-level encrypted data is signed by the HMAC algorithm to obtain signature data, the current timestamp is obtained, and the fifth-level encrypted data, signature data and timestamp are encapsulated into an encrypted data packet by the AES-KW algorithm.

[0033] Furthermore, the encrypted data packet uplink module is specifically used for:

[0034] The encrypted data packet is uploaded to one of the nodes of the blockchain through the SRTP protocol. The node decapsulates the encrypted data packet through the AES-KW algorithm to obtain five-level encrypted data, signature data and timestamp. After the time validity is verified by the timestamp, the integrity of the five-level encrypted data is verified by the signature data. If the verification passes, the encrypted data packet is distributed and stored on different nodes of the blockchain;

[0035] The encrypted data packet management module is specifically used for:

[0036] The encrypted data packet is retrieved, downloaded and traced through the blockchain to manage the encrypted data packet.

[0037] The advantages of the present invention are:

[0038] 1. Collect the operation data of production equipment in real time and preprocess it, package the preprocessed operation data into operation data packets and compress them into compressed data packets, then encrypt the compressed data packets into encrypted data packets based on 3DES algorithm, AES256 algorithm, HMAC algorithm and AES-KW algorithm, upload the encrypted data packets to one of the nodes of the blockchain, and after the node verifies the encrypted data packets, store them in a decentralized manner, and finally manage the encrypted data packets through the blockchain; that is, the collected production data is encrypted through multiple levels to obtain encrypted data packets, which exponentially increases the difficulty of cracking the encrypted data packets. Combined with the decentralized storage of the blockchain, the encrypted data packets can be prevented from being tampered with, and the distributed storage of the blockchain can also avoid the problem of data loss caused by single point failures, which ultimately greatly improves the security and reliability of the operation data management of production equipment.

[0039] 2. Collect the operating data of production equipment through edge computing devices. Since edge computing devices are physically close to production equipment, they can effectively improve the timeliness of operating data collection.

[0040] 3. Perform preprocessing on each operating data, including at least data cleaning and format conversion, and data cleaning at least includes outlier removal and missing value filling, which effectively improves the data quality of the operating data and facilitates subsequent analysis and traceability.

[0041] 4. Packing each running data into a running data packet according to the time period, and compressing the running data packet into a compressed data packet through Huffman coding, greatly reduces the computing pressure compared to real-time processing, and compression through Huffman coding can effectively reduce the amount of data subsequently uploaded to the blockchain, thereby greatly improving the timeliness of the upload.

[0042] 5. Encrypt the compressed data packet using the 3DES algorithm to obtain the first-level encrypted data. Map each character in the first-level encrypted data using the mapping rule to obtain the second-level encrypted data. Swap the letters u and v in the second-level encrypted data, and swap the number 0 and the letter O to obtain the third-level encrypted data. Encrypt the third-level encrypted data using the AES256 algorithm to obtain the fourth-level encrypted data. Shift each character of the fourth-level encrypted data rightward by 8 bits to obtain the fifth-level encrypted data. Sign the fifth-level encrypted data using the HMAC algorithm to obtain the signature data. Obtain the current timestamp. -KW algorithm encapsulates five levels of encrypted data, signature data and timestamp into an encrypted data packet; that is, it adopts multiple encryption algorithms, multiple data transformation rules and multiple verification methods to ensure security. If you don’t know the corresponding encryption algorithm or data transformation rule, you will not be able to crack the encrypted data packet. At least 10 security measures are taken before and after (3DES algorithm, mapping rules, swapping letters u and v, swapping numbers 0 and O, AES256 algorithm, displacement direction, displacement distance, HMAC algorithm, timestamp, AES-KW algorithm), which greatly improves the security of compressed data packet upload.

[0043] 6. The encrypted data packet is uploaded to one of the nodes of the blockchain through the SRTP protocol. The node decapsulates the encrypted data packet through the AES-KW algorithm to obtain the five-level encrypted data, signature data and timestamp. After the time stamp is verified, the five-level encrypted data is integrity verified through the signature data. If the verification passes, the encrypted data packet is distributed and stored on different nodes of the blockchain. Since the SRTP protocol is a secure transmission protocol, time verification and integrity verification are also performed before decentralized storage, which further improves the security and reliability of production equipment operation data management. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The present invention will be further described below in conjunction with embodiments with reference to the accompanying drawings.

[0045] Figure 1 It is a flow chart of a production equipment operation data management method based on blockchain of the present invention.

[0046] Figure 2 It is a structural schematic diagram of a blockchain-based production equipment operation data management system of the present invention. DETAILED DESCRIPTION

[0047] The technical solution in the embodiments of the present application has the following overall idea: the collected production data is encrypted through multiple levels to obtain an encrypted data packet, which exponentially increases the difficulty of cracking the encrypted data packet. The decentralized storage of the blockchain is combined to prevent the encrypted data packet from being tampered with. The distributed storage of the blockchain can also avoid data loss caused by single point failures, thereby improving the security and reliability of production equipment operation data management.

[0048] Please refer to Figure 1 to Figure 2 As shown, a preferred embodiment of a production equipment operation data management method based on blockchain of the present invention comprises the following steps:

[0049] Step S1, collecting operation data of production equipment in real time, and preprocessing each of the operation data;

[0050] Step S2, packing the preprocessed operation data into an operation data packet, and compressing the operation data packet into a compressed data packet;

[0051] Step S3, encrypting the compressed data packet into an encrypted data packet based on the 3DES algorithm, the AES256 algorithm, the HMAC algorithm and the AES-KW algorithm;

[0052] Step S4: uploading the encrypted data packet to one of the nodes of the blockchain, and after the node verifies the encrypted data packet, the encrypted data packet is decentralized stored;

[0053] Step S5: managing the encrypted data packet through the blockchain.

[0054] The step S1 is specifically as follows:

[0055] The operating data of the production equipment is collected in real time through edge computing devices, and each of the operating data is preprocessed including at least data cleaning and format conversion; the data cleaning includes at least outlier removal and missing value filling.

[0056] The operating data of production equipment is collected through edge computing devices. Since edge computing devices are physically close to production equipment, the timeliness of operating data collection can be effectively improved.

[0057] The preprocessing of each operating data includes at least data cleaning and format conversion, and data cleaning includes at least outlier removal and missing value filling, which effectively improves the data quality of the operating data and facilitates subsequent analysis and traceability.

[0058] The step S2 is specifically as follows:

[0059] A time period is set, and the preprocessed operation data are packaged into an operation data packet based on the time period, and the operation data packet is compressed into a compressed data packet through Huffman coding.

[0060] The operation data are packaged into operation data packets according to the time period, and the operation data packets are compressed into compressed data packets through Huffman coding. Compared with real-time processing, the computing pressure is greatly reduced. Compression through Huffman coding can effectively reduce the amount of data subsequently uploaded to the blockchain, thereby greatly improving the timeliness of the upload.

[0061] The step S3 is specifically as follows:

[0062] The compressed data packet is encrypted by the 3DES algorithm to obtain first-level encrypted data, each character in the first-level encrypted data is mapped by a preset mapping rule to obtain second-level encrypted data, the letter u and the letter v in the second-level encrypted data are swapped, and the number 0 and the letter O are swapped to obtain third-level encrypted data, the third-level encrypted data is encrypted by the AES256 algorithm to obtain fourth-level encrypted data, each character of the fourth-level encrypted data is circularly shifted right by 8 bits to obtain fifth-level encrypted data, the fifth-level encrypted data is signed by the HMAC algorithm to obtain signature data, the current timestamp is obtained, and the fifth-level encrypted data, signature data and timestamp are encapsulated into an encrypted data packet by the AES-KW algorithm.

[0063] The compressed data packet is encrypted by the 3DES algorithm to obtain the first-level encrypted data. Each character in the first-level encrypted data is mapped by the mapping rule to obtain the second-level encrypted data. The letter u and the letter v in the second-level encrypted data are swapped, and the number 0 and the letter O are swapped to obtain the third-level encrypted data. The third-level encrypted data is encrypted by the AES256 algorithm to obtain the fourth-level encrypted data. Each character of the fourth-level encrypted data is circularly shifted 8 bits to the right to obtain the fifth-level encrypted data. The fifth-level encrypted data is signed by the HMAC algorithm to obtain the signature data, and the current timestamp is obtained. The KW algorithm encapsulates five levels of encrypted data, signature data, and timestamp into an encrypted data packet; that is, it adopts multiple encryption algorithms, multiple data transformation rules, and multiple verification methods to ensure security. If you don’t know the corresponding encryption algorithm or data transformation rule, you will not be able to crack the encrypted data packet. At least 10 security measures are taken before and after (3DES algorithm, mapping rules, swapping letters u and v, swapping numbers 0 and O, AES256 algorithm, displacement direction, displacement distance, HMAC algorithm, timestamp, AES-KW algorithm), which greatly improves the security of uploading compressed data packets.

[0064] The step S4 is specifically as follows:

[0065] The encrypted data packet is uploaded to one of the nodes of the blockchain through the SRTP protocol. The node decapsulates the encrypted data packet through the AES-KW algorithm to obtain five-level encrypted data, signature data and timestamp. After the time validity is verified by the timestamp, the integrity of the five-level encrypted data is verified by the signature data. If the verification passes, the encrypted data packet is distributed and stored on different nodes of the blockchain;

[0066] The encrypted data packet is uploaded to one of the nodes of the blockchain through the SRTP protocol. The node decapsulates the encrypted data packet through the AES-KW algorithm to obtain five-level encrypted data, signature data and timestamp. After the time stamp is verified, the five-level encrypted data is integrity verified through the signature data. If the verification passes, the encrypted data packet is distributed and stored on different nodes of the blockchain. Since the SRTP protocol is a secure transmission protocol, time verification and integrity verification are also performed before decentralized storage, which further improves the security and reliability of production equipment operation data management.

[0067] The step S5 is specifically as follows:

[0068] The encrypted data packet is retrieved, downloaded and traced through the blockchain to manage the encrypted data packet.

[0069] After downloading the encrypted data packet from the blockchain, the encrypted data packet needs to be decrypted and verified. The specific process is as follows:

[0070] The encrypted data packet is decapsulated by the AES-KW algorithm to obtain level-five encrypted data, signature data and a timestamp. After the timestamp is time-validated, the level-five encrypted data is integrity-verified by the signature data. If the verification passes, each character of the level-five encrypted data is circularly shifted to the left by 8 bits to obtain level-four encrypted data. The level-four encrypted data is decrypted by the AES256 algorithm to obtain level-three encrypted data. The letters u and v in the level-three encrypted data are swapped, and the numbers 0 and O are swapped to obtain level-two encrypted data. Each character in the level-two encrypted data is mapped by a preset mapping rule to obtain level-one encrypted data. The level-one encrypted data is decrypted by the 3DES algorithm to obtain a compressed data packet. The compressed data packet is decompressed by Huffman coding to obtain running data.

[0071] A preferred embodiment of a blockchain-based production equipment operation data management system of the present invention includes the following modules:

[0072] An operation data collection module is used to collect the operation data of the production equipment in real time and pre-process the operation data;

[0073] An operation data packet compression module, used for packaging the pre-processed operation data into an operation data packet, and compressing the operation data packet into a compressed data packet;

[0074] A compressed data packet encryption module, used for encrypting the compressed data packet into an encrypted data packet based on a 3DES algorithm, an AES256 algorithm, an HMAC algorithm, and an AES-KW algorithm;

[0075] The encrypted data packet uploading module is used to upload the encrypted data packet to one of the nodes of the blockchain. After the node verifies the encrypted data packet, the encrypted data packet is decentralized stored;

[0076] The encrypted data packet management module is used to manage the encrypted data packets through the blockchain.

[0077] The operation data acquisition module is specifically used for:

[0078] The operating data of the production equipment is collected in real time through edge computing devices, and each of the operating data is preprocessed including at least data cleaning and format conversion; the data cleaning includes at least outlier removal and missing value filling.

[0079] The operating data of production equipment is collected through edge computing devices. Since edge computing devices are physically close to production equipment, the timeliness of operating data collection can be effectively improved.

[0080] The preprocessing of each operating data includes at least data cleaning and format conversion, and data cleaning includes at least outlier removal and missing value filling, which effectively improves the data quality of the operating data and facilitates subsequent analysis and traceability.

[0081] The running data packet compression module is specifically used for:

[0082] A time period is set, and the preprocessed operation data are packaged into an operation data packet based on the time period, and the operation data packet is compressed into a compressed data packet through Huffman coding.

[0083] The operation data are packaged into operation data packets according to the time period, and the operation data packets are compressed into compressed data packets through Huffman coding. Compared with real-time processing, the computing pressure is greatly reduced. Compression through Huffman coding can effectively reduce the amount of data subsequently uploaded to the blockchain, thereby greatly improving the timeliness of the upload.

[0084] The compressed data packet encryption module is specifically used for:

[0085] The compressed data packet is encrypted by the 3DES algorithm to obtain first-level encrypted data, each character in the first-level encrypted data is mapped by a preset mapping rule to obtain second-level encrypted data, the letter u and the letter v in the second-level encrypted data are swapped, and the number 0 and the letter O are swapped to obtain third-level encrypted data, the third-level encrypted data is encrypted by the AES256 algorithm to obtain fourth-level encrypted data, each character of the fourth-level encrypted data is circularly shifted right by 8 bits to obtain fifth-level encrypted data, the fifth-level encrypted data is signed by the HMAC algorithm to obtain signature data, the current timestamp is obtained, and the fifth-level encrypted data, signature data and timestamp are encapsulated into an encrypted data packet by the AES-KW algorithm.

[0086] The compressed data packet is encrypted by the 3DES algorithm to obtain the first-level encrypted data. Each character in the first-level encrypted data is mapped by the mapping rule to obtain the second-level encrypted data. The letter u and the letter v in the second-level encrypted data are swapped, and the number 0 and the letter O are swapped to obtain the third-level encrypted data. The third-level encrypted data is encrypted by the AES256 algorithm to obtain the fourth-level encrypted data. Each character of the fourth-level encrypted data is circularly shifted 8 bits to the right to obtain the fifth-level encrypted data. The fifth-level encrypted data is signed by the HMAC algorithm to obtain the signature data, and the current timestamp is obtained. The KW algorithm encapsulates five levels of encrypted data, signature data, and timestamp into an encrypted data packet; that is, it adopts multiple encryption algorithms, multiple data transformation rules, and multiple verification methods to ensure security. If you don’t know the corresponding encryption algorithm or data transformation rule, you will not be able to crack the encrypted data packet. At least 10 security measures are taken before and after (3DES algorithm, mapping rules, swapping letters u and v, swapping numbers 0 and O, AES256 algorithm, displacement direction, displacement distance, HMAC algorithm, timestamp, AES-KW algorithm), which greatly improves the security of uploading compressed data packets.

[0087] The encrypted data packet uplink module is specifically used for:

[0088] The encrypted data packet is uploaded to one of the nodes of the blockchain through the SRTP protocol. The node decapsulates the encrypted data packet through the AES-KW algorithm to obtain five-level encrypted data, signature data and timestamp. After the time validity is verified by the timestamp, the integrity of the five-level encrypted data is verified by the signature data. If the verification passes, the encrypted data packet is distributed and stored on different nodes of the blockchain;

[0089] The encrypted data packet is uploaded to one of the nodes of the blockchain through the SRTP protocol. The node decapsulates the encrypted data packet through the AES-KW algorithm to obtain five-level encrypted data, signature data and timestamp. After the time stamp is verified, the five-level encrypted data is integrity verified through the signature data. If the verification passes, the encrypted data packet is distributed and stored on different nodes of the blockchain. Since the SRTP protocol is a secure transmission protocol, time verification and integrity verification are also performed before decentralized storage, which further improves the security and reliability of production equipment operation data management.

[0090] The encrypted data packet management module is specifically used for:

[0091] The encrypted data packet is retrieved, downloaded and traced through the blockchain to manage the encrypted data packet.

[0092] After downloading the encrypted data packet from the blockchain, the encrypted data packet needs to be decrypted and verified. The specific process is as follows:

[0093] The encrypted data packet is decapsulated by the AES-KW algorithm to obtain level-five encrypted data, signature data and a timestamp. After the timestamp is time-validated, the level-five encrypted data is integrity-verified by the signature data. If the verification passes, each character of the level-five encrypted data is circularly shifted to the left by 8 bits to obtain level-four encrypted data. The level-four encrypted data is decrypted by the AES256 algorithm to obtain level-three encrypted data. The letters u and v in the level-three encrypted data are swapped, and the numbers 0 and O are swapped to obtain level-two encrypted data. Each character in the level-two encrypted data is mapped by a preset mapping rule to obtain level-one encrypted data. The level-one encrypted data is decrypted by the 3DES algorithm to obtain a compressed data packet. The compressed data packet is decompressed by Huffman coding to obtain running data.

[0094] In summary, the advantages of the present invention are:

[0095] 1. Collect the operation data of production equipment in real time and preprocess it, package the preprocessed operation data into operation data packets and compress them into compressed data packets, then encrypt the compressed data packets into encrypted data packets based on 3DES algorithm, AES256 algorithm, HMAC algorithm and AES-KW algorithm, upload the encrypted data packets to one of the nodes of the blockchain, and after the node verifies the encrypted data packets, store them in a decentralized manner, and finally manage the encrypted data packets through the blockchain; that is, the collected production data is encrypted through multiple levels to obtain encrypted data packets, which exponentially increases the difficulty of cracking the encrypted data packets. Combined with the decentralized storage of the blockchain, the encrypted data packets can be prevented from being tampered with, and the distributed storage of the blockchain can also avoid the problem of data loss caused by single point failures, which ultimately greatly improves the security and reliability of the operation data management of production equipment.

[0096] 2. Collect the operating data of production equipment through edge computing devices. Since edge computing devices are physically close to production equipment, they can effectively improve the timeliness of operating data collection.

[0097] 3. Perform preprocessing on each operating data, including at least data cleaning and format conversion, and data cleaning at least includes outlier removal and missing value filling, which effectively improves the data quality of the operating data and facilitates subsequent analysis and traceability.

[0098] 4. Packing each running data into a running data packet according to the time period, and compressing the running data packet into a compressed data packet through Huffman coding, greatly reduces the computing pressure compared to real-time processing, and compression through Huffman coding can effectively reduce the amount of data subsequently uploaded to the blockchain, thereby greatly improving the timeliness of the upload.

[0099] 5. Encrypt the compressed data packet using the 3DES algorithm to obtain the first-level encrypted data. Map each character in the first-level encrypted data using the mapping rule to obtain the second-level encrypted data. Swap the letters u and v in the second-level encrypted data, and swap the number 0 and the letter O to obtain the third-level encrypted data. Encrypt the third-level encrypted data using the AES256 algorithm to obtain the fourth-level encrypted data. Shift each character of the fourth-level encrypted data rightward by 8 bits to obtain the fifth-level encrypted data. Sign the fifth-level encrypted data using the HMAC algorithm to obtain the signature data. Obtain the current timestamp. -KW algorithm encapsulates five levels of encrypted data, signature data and timestamp into an encrypted data packet; that is, it adopts multiple encryption algorithms, multiple data transformation rules and multiple verification methods to ensure security. If you don’t know the corresponding encryption algorithm or data transformation rule, you will not be able to crack the encrypted data packet. At least 10 security measures are taken before and after (3DES algorithm, mapping rules, swapping letters u and v, swapping numbers 0 and O, AES256 algorithm, displacement direction, displacement distance, HMAC algorithm, timestamp, AES-KW algorithm), which greatly improves the security of compressed data packet upload.

[0100] 6. The encrypted data packet is uploaded to one of the nodes of the blockchain through the SRTP protocol. The node decapsulates the encrypted data packet through the AES-KW algorithm to obtain the five-level encrypted data, signature data and timestamp. After the time stamp is verified, the five-level encrypted data is integrity verified through the signature data. If the verification passes, the encrypted data packet is distributed and stored on different nodes of the blockchain. Since the SRTP protocol is a secure transmission protocol, time verification and integrity verification are also performed before decentralized storage, which further improves the security and reliability of production equipment operation data management.

[0101] Although the specific implementation modes of the present invention are described above, those skilled in the art should understand that the specific implementation modes described are only illustrative and are not intended to limit the scope of the present invention. Equivalent modifications and changes made by those skilled in the art in accordance with the spirit of the present invention should be included in the scope of protection of the claims of the present invention.

Claims

1. A method for managing production equipment operation data based on blockchain, characterized in that: The steps include: Step S1, collecting operation data of production equipment in real time, and preprocessing each of the operation data; Step S2, packing the preprocessed operation data into an operation data packet, and compressing the operation data packet into a compressed data packet; Step S3, encrypting the compressed data packet into an encrypted data packet based on the 3DES algorithm, the AES256 algorithm, the HMAC algorithm and the AES-KW algorithm; Step S4: uploading the encrypted data packet to one of the nodes of the blockchain, and after the node verifies the encrypted data packet, the encrypted data packet is decentralized stored; Step S5: managing the encrypted data packet through the blockchain.

2. A method for managing production equipment operation data based on blockchain as claimed in claim 1, characterized in that: The step S1 is specifically as follows: The operating data of the production equipment is collected in real time through edge computing devices, and each of the operating data is preprocessed including at least data cleaning and format conversion; the data cleaning includes at least outlier removal and missing value filling.

3. A blockchain-based production equipment operation data management method as claimed in claim 1, characterized in that: The step S2 is specifically as follows: A time period is set, and the preprocessed operation data are packaged into an operation data packet based on the time period, and the operation data packet is compressed into a compressed data packet through Huffman coding.

4. A blockchain-based production equipment operation data management method as claimed in claim 1, characterized in that: The step S3 is specifically as follows: The compressed data packet is encrypted by the 3DES algorithm to obtain first-level encrypted data, each character in the first-level encrypted data is mapped by a preset mapping rule to obtain second-level encrypted data, the letter u and the letter v in the second-level encrypted data are swapped, and the number 0 and the letter O are swapped to obtain third-level encrypted data, the third-level encrypted data is encrypted by the AES256 algorithm to obtain fourth-level encrypted data, each character of the fourth-level encrypted data is circularly shifted right by 8 bits to obtain fifth-level encrypted data, the fifth-level encrypted data is signed by the HMAC algorithm to obtain signature data, the current timestamp is obtained, and the fifth-level encrypted data, signature data and timestamp are encapsulated into an encrypted data packet by the AES-KW algorithm.

5. A method for managing production equipment operation data based on blockchain as claimed in claim 1, characterized in that: The step S4 is specifically as follows: The encrypted data packet is uploaded to one of the nodes of the blockchain through the SRTP protocol. The node decapsulates the encrypted data packet through the AES-KW algorithm to obtain five-level encrypted data, signature data and timestamp. After the time validity is verified by the timestamp, the integrity of the five-level encrypted data is verified by the signature data. If the verification passes, the encrypted data packet is distributed and stored on different nodes of the blockchain; The step S5 is specifically as follows: The encrypted data packet is retrieved, downloaded and traced through the blockchain to manage the encrypted data packet.

6. A blockchain-based production equipment operation data management system, characterized by: Includes the following modules: An operation data collection module is used to collect the operation data of the production equipment in real time and pre-process the operation data; An operation data packet compression module, used for packaging the pre-processed operation data into an operation data packet, and compressing the operation data packet into a compressed data packet; A compressed data packet encryption module, used for encrypting the compressed data packet into an encrypted data packet based on a 3DES algorithm, an AES256 algorithm, an HMAC algorithm, and an AES-KW algorithm; The encrypted data packet uploading module is used to upload the encrypted data packet to one of the nodes of the blockchain. After the node verifies the encrypted data packet, the encrypted data packet is decentralized stored; The encrypted data packet management module is used to manage the encrypted data packets through the blockchain.

7. A blockchain-based production equipment operation data management system as claimed in claim 6, characterized in that: The operation data acquisition module is specifically used for: The operating data of the production equipment is collected in real time through edge computing devices, and each of the operating data is preprocessed including at least data cleaning and format conversion; the data cleaning includes at least outlier removal and missing value filling.

8. A blockchain-based production equipment operation data management system as claimed in claim 6, characterized in that: The running data packet compression module is specifically used for: A time period is set, and the preprocessed operation data are packaged into an operation data packet based on the time period, and the operation data packet is compressed into a compressed data packet through Huffman coding.

9. A blockchain-based production equipment operation data management system as claimed in claim 6, characterized in that: The compressed data packet encryption module is specifically used for: The compressed data packet is encrypted by the 3DES algorithm to obtain first-level encrypted data, each character in the first-level encrypted data is mapped by a preset mapping rule to obtain second-level encrypted data, the letter u and the letter v in the second-level encrypted data are swapped, and the number 0 and the letter O are swapped to obtain third-level encrypted data, the third-level encrypted data is encrypted by the AES256 algorithm to obtain fourth-level encrypted data, each character of the fourth-level encrypted data is circularly shifted right by 8 bits to obtain fifth-level encrypted data, the fifth-level encrypted data is signed by the HMAC algorithm to obtain signature data, the current timestamp is obtained, and the fifth-level encrypted data, signature data and timestamp are encapsulated into an encrypted data packet by the AES-KW algorithm.

10. A blockchain-based production equipment operation data management system as claimed in claim 6, characterized in that: The encrypted data packet uplink module is specifically used for: The encrypted data packet is uploaded to one of the nodes of the blockchain through the SRTP protocol. The node decapsulates the encrypted data packet through the AES-KW algorithm to obtain five-level encrypted data, signature data and timestamp. After the time validity is verified by the timestamp, the integrity of the five-level encrypted data is verified by the signature data. If the verification passes, the encrypted data packet is distributed and stored on different nodes of the blockchain; The encrypted data packet management module is specifically used for: The encrypted data packet is retrieved, downloaded and traced through the blockchain to manage the encrypted data packet.