Intelligent manufacturing production line safety communication method based on block chain

Through a blockchain-based secure communication method, RSA asymmetric keys and AES symmetric keys are generated, and combined with the blockchain network's public hash value and digital signature, the security and real-time problems of data transmission in intelligent manufacturing production lines are solved, and the security, real-time and integrity of data transmission are achieved.

CN120675774APending Publication Date: 2025-09-19YANGZHOU POLYTECHNIC COLLEGE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510849084.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-24
Publication Date
2025-09-19

AI Technical Summary

Technical Problem

Existing communication methods for smart manufacturing production lines have shortcomings in data transmission security, real-timeness, and integrity, making it difficult to effectively ensure the security of data transmission. In addition, traditional encryption algorithms have high computational complexity, key management vulnerabilities, and are vulnerable to attacks.

Method used

A blockchain-based secure communication method is adopted to ensure the security and integrity of data transmission by generating RSA asymmetric keys and AES symmetric keys, and using the blockchain network to publicize hash values ​​and digital signatures, including data encryption, signatures and hash operations, combined with the blockchain's public verification mechanism.

Benefits of technology

It achieves the security, real-time and integrity of data transmission, improves the communication security of intelligent manufacturing production lines, prevents data tampering and theft, and meets real-time requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120675774A_ABST
    Figure CN120675774A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent manufacturing production line safety communication method based on a block chain, relates to the technical field of safety communication, and realizes data communication between a sending node and a receiving node in an intelligent manufacturing production line by using an identity label of a node, a symmetric key and an asymmetric key. According to the invention, the security of data transmission can be ensured, and the requirements of the intelligent manufacturing production line on the real-time performance and integrity of data transmission can be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of secure communication technology, and more specifically to a secure communication method for an intelligent manufacturing production line based on blockchain. Background Art

[0002] With the widespread adoption of Industrial Internet and Internet of Things (IoT) technologies in smart manufacturing production lines, a large amount of data exchange and communication is required between devices on the production line. This data not only contains critical information such as production instructions and equipment status, but may also involve corporate trade secrets and core technologies. However, traditional communication methods face numerous security challenges during data transmission, such as the risk of data theft, tampering, and forgery, which seriously threaten the safe and stable operation of smart manufacturing production lines.

[0003] However, while existing secure communication technologies can guarantee data transmission security to a certain extent, they often have limitations. For example, the high computational complexity of some encryption algorithms leads to low communication efficiency and makes it difficult to meet the real-time requirements of smart manufacturing production lines. Other methods also suffer from vulnerabilities in key management, which can be easily exploited by attackers, compromising communication security. Furthermore, traditional communication methods lack effective data integrity verification mechanisms, making it difficult to ensure that received data is identical to the data sent by the sender.

[0004] Therefore, how to provide a secure communication method for intelligent manufacturing production lines that can not only ensure the security of data transmission but also meet the real-time and integrity requirements of intelligent manufacturing production lines for transmitted data is an urgent problem that technicians in this field need to solve. Summary of the Invention

[0005] In view of this, the purpose of the present invention is to provide a secure communication method for an intelligent manufacturing production line based on blockchain.

[0006] In order to achieve the above object, the present invention adopts the following technical solutions:

[0007] In a first aspect, a blockchain-based secure communication method for an intelligent manufacturing production line is provided, comprising the following steps:

[0008] S1: Generate an RSA asymmetric key and an AES symmetric key for the sending node, and calculate the hash value of the sending node's identity;

[0009] Generate an RSA asymmetric key for the receiving node and calculate the hash value of the receiving node's identity;

[0010] S2: The sending node encrypts the sending node's AES symmetric key using the public key in the receiving node's RSA asymmetric key to obtain an encryption key;

[0011] S3: The sending node uses its own AES symmetric key, the hash value of its own identity, and the private key in its own RSA asymmetric key to encrypt and sign the plaintext data to be sent, obtaining a digital signature and ciphertext data;

[0012] The sending node performs a hash operation on the plaintext data to be sent to obtain the hash value of the plaintext data;

[0013] The sending node uploads the hash value of the plaintext data to the blockchain network for public disclosure;

[0014] S4: The receiving node decrypts the digital signature using the public key in the RSA asymmetric key of the sending node.

[0015] Obtain decrypted plaintext data using the decrypted digital signature, the encryption key, the private key in the RSA asymmetric key of the receiving node, and the hash value of the identity of the sending node;

[0016] S5: The receiving node performs a hash operation on the decrypted plaintext data and uploads it to the blockchain network for public disclosure;

[0017] Nodes other than the receiving node verify the hash value uploaded by the receiving node. If the verification is successful, the receiving node stores the decrypted plaintext data in the blockchain network.

[0018] Preferably, S1 comprises the following steps:

[0019] Generate an RSA asymmetric key SKA for the sending node A; SKA includes the public key public_key_A and the private key private_key_A;

[0020] Generate an AES symmetric key sym_keyA for the sending node A;

[0021] Perform a hash operation on the identity ID A of the sending node A to obtain the hash value Hash_IDA;

[0022] Generate an RSA asymmetric key SKB for the receiving node B; SKB includes the public key public_key_B and the private key private_key_B;

[0023] Perform a hash operation on the identity ID B of the receiving node to obtain a hash value Hash_IDB;

[0024] Among them, the hash value Hash_IDA, public key public_key_A, hash value Hash_IDB, and public key public_key_B are public in the blockchain network.

[0025] Preferably, S2 comprises the following steps:

[0026] Sending node A uses public key public_key_B to perform RSA encryption on the AES symmetric key sym_keyA to obtain the encryption key en_sym_keyA.

[0027] Preferably, S3 comprises the following steps:

[0028] The sending node A uses the AES symmetric key sym_keyA to perform AES encryption on the plaintext data M to be sent, obtaining the ciphertext data C;

[0029] The sending node A concatenates the plaintext data M to be sent and the hash value Hash_IDA and performs a hash operation to obtain the hash summary hash1;

[0030] The sending node A uses the private key private_key_A to perform RSA signature on the hash summary hash1 to obtain the digital signature signature;

[0031] The sending node A performs a hash operation on the plaintext data M to be sent and obtains the hash value Hash_M of the plaintext data;

[0032] The sending node A uploads the hash value Hash_M of the plaintext data to the blockchain network for public disclosure.

[0033] Preferably, S3 further comprises the following steps:

[0034] The sending node A sends the encryption key en_sym_keyA, ciphertext data C and digital signature signature to the receiving node B through the blockchain network.

[0035] Preferably, S4 comprises the following steps:

[0036] The receiving node B uses the public key public_key_A to perform RSA decryption on the digital signature signature to obtain the hash digest hash2;

[0037] The receiving node B uses the private key private_key_B to perform RSA decryption on the encryption key en_sym_keyA to obtain the symmetric key received_sym_keyA;

[0038] The receiving node B uses the symmetric key received_sym_key to perform AES decryption on the ciphertext data C to obtain the decrypted plaintext data M';

[0039] The receiving node B concatenates the decrypted plaintext data M' and the hash value Hash_IDA and performs a hash operation to obtain the hash summary hash3;

[0040] The receiving node B determines whether the hash digest hash2 is consistent with the hash digest hash3. If they are consistent, the receiving node B receives the decrypted plaintext data M'.

[0041] Preferably, S5 comprises the following steps:

[0042] The receiving node B performs a hash operation on the decrypted plaintext data M' to obtain the plaintext data hash value Hash_M';

[0043] The receiving node B uploads the hash value Hash_M' of the plaintext data to the blockchain network for public disclosure;

[0044] Nodes other than the receiving node determine whether the plaintext data hash value Hash_M' is the same as the plaintext data hash value Hash_M. If they are the same, the receiving node stores the decrypted plaintext data M' in the blockchain network.

[0045] In a second aspect, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the blockchain-based secure communication method for an intelligent manufacturing production line as described in the first aspect is implemented.

[0046] In a third aspect, a non-transitory computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the blockchain-based intelligent manufacturing production line secure communication method as described in the first aspect is implemented.

[0047] In a fourth aspect, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the blockchain-based intelligent manufacturing production line secure communication method as described in the first aspect.

[0048] It can be seen from the above technical solution that compared with the existing technology, the present invention discloses a secure communication method for an intelligent manufacturing production line based on blockchain. The present invention can not only ensure the security of data transmission, but also meet the real-time and integrity requirements of the intelligent manufacturing production line for transmitted data. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0050] Figure 1 A flowchart of a blockchain-based secure communication method for an intelligent manufacturing production line provided by the present invention;

[0051] Figure 2 A schematic diagram of an electronic device provided by the present invention. DETAILED DESCRIPTION

[0052] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. 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 making creative efforts are within the scope of protection of the present invention.

[0053] First, as Figure 1 As shown, the embodiment of the present invention discloses a secure communication method for an intelligent manufacturing production line based on blockchain, comprising the following steps:

[0054] S1: Generate an RSA asymmetric key and an AES symmetric key for the sending node, and calculate the hash value of the sending node's identity;

[0055] Generate an RSA asymmetric key for the receiving node and calculate the hash value of the receiving node's identity;

[0056] It can be understood that: the sending node of the present invention is a device that sends instructions to the intelligent manufacturing production line; the receiving node is a device that receives instructions to the intelligent manufacturing production line.

[0057] In one embodiment, S1 includes the following steps:

[0058] Generate an RSA asymmetric key SKA for the sending node A; SKA includes the public key public_key_A and the private key private_key_A;

[0059] Generate an AES symmetric key sym_keyA for the sending node A;

[0060] Perform a hash operation on the identity ID A of the sending node A to obtain the hash value Hash_IDA;

[0061] Generate an RSA asymmetric key SKB for the receiving node B; SKB includes the public key public_key_B and the private key private_key_B;

[0062] Perform a hash operation on the identity ID B of the receiving node to obtain a hash value Hash_IDB;

[0063] Among them, the hash value Hash_IDA, public key public_key_A, hash value Hash_IDB, and public key public_key_B are public in the blockchain network.

[0064] S2: The sending node encrypts the sending node's AES symmetric key using the public key in the receiving node's RSA asymmetric key to obtain an encryption key;

[0065] In one embodiment, S2 includes the following steps:

[0066] Sending node A uses public key public_key_B to perform RSA encryption on the AES symmetric key sym_keyA to obtain the encryption key en_sym_keyA.

[0067] S3: The sending node uses its own AES symmetric key, the hash value of its own identity, and the private key in its own RSA asymmetric key to encrypt and sign the plaintext data to be sent, obtaining a digital signature and ciphertext data;

[0068] The sending node performs a hash operation on the plaintext data to be sent to obtain the hash value of the plaintext data;

[0069] The sending node uploads the hash value of the plaintext data to the blockchain network for public disclosure;

[0070] In one embodiment, S3 includes the following steps:

[0071] The sending node A uses the AES symmetric key sym_keyA to perform AES encryption on the plaintext data M to be sent, obtaining the ciphertext data C;

[0072] The sending node A concatenates the plaintext data M to be sent and the hash value Hash_IDA and performs a hash operation to obtain the hash summary hash1;

[0073] The sending node A uses the private key private_key_A to perform RSA signature on the hash summary hash1 to obtain the digital signature signature;

[0074] The sending node A performs a hash operation on the plaintext data M to be sent and obtains the hash value Hash_M of the plaintext data;

[0075] Sending node A uploads the plaintext data hash value Hash_M to the blockchain network for public disclosure.

[0076] In one embodiment, S3 further includes the following steps:

[0077] The sending node A sends the encryption key en_sym_keyA, ciphertext data C and digital signature signature to the receiving node B through the blockchain network.

[0078] S4: The receiving node uses the public key in the RSA asymmetric key of the sending node to decrypt the digital signature.

[0079] The decrypted plaintext data is obtained by using the decrypted digital signature, the encryption key, the private key in the receiving node's RSA asymmetric key, and the hash value of the sending node's identity;

[0080] In one embodiment, S4 includes the following steps:

[0081] Receiving node B uses public key public_key_A to perform RSA decryption on the digital signature signature to obtain the hash summary hash2;

[0082] The receiving node B uses the private key private_key_B to perform RSA decryption on the encryption key en_sym_keyA to obtain the symmetric key received_sym_keyA;

[0083] The receiving node B uses the symmetric key received_sym_key to perform AES decryption on the ciphertext data C to obtain the decrypted plaintext data M';

[0084] The receiving node B concatenates the decrypted plaintext data M' and the hash value Hash_IDA and performs a hash operation to obtain the hash summary hash3;

[0085] The receiving node B determines whether the hash digest hash2 is consistent with the hash digest hash3. If they are consistent, the receiving node B receives the decrypted plaintext data M'.

[0086] S5: The receiving node performs a hash operation on the decrypted plaintext data and uploads it to the blockchain network for public disclosure;

[0087] Nodes other than the receiving node verify the hash value uploaded by the receiving node. If the verification is successful, the receiving node stores the decrypted plaintext data in the blockchain network.

[0088] In one embodiment, S5 includes the following steps:

[0089] The receiving node B performs a hash operation on the decrypted plaintext data M' to obtain the plaintext data hash value Hash_M';

[0090] The receiving node B uploads the hash value Hash_M' of the plaintext data to the blockchain network for public disclosure;

[0091] Nodes other than the receiving node determine whether the plaintext data hash value Hash_M' is the same as the plaintext data hash value Hash_M. If they are the same, the receiving node stores the decrypted plaintext data M' in the blockchain network.

[0092] In a second aspect, an embodiment of the present invention further provides an electronic device, such as Figure 2As shown, the electronic device may include: a processor 201, a communications interface 202, a memory 203, and a communication bus 204, wherein the processor 201, the communications interface 202, and the memory 203 communicate with each other via the communication bus 204. The processor 201 may call the logic instructions in the memory 203 to execute the blockchain-based smart manufacturing production line secure communication method.

[0093] In addition, the logic instructions in the above-mentioned memory 203 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0094] On the third aspect, an embodiment of the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the blockchain-based intelligent manufacturing production line security communication method provided by the above methods.

[0095] In a fourth aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, it is implemented to execute the blockchain-based intelligent manufacturing production line secure communication method provided by the above-mentioned methods.

[0096] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Reference can be made to the common and similar parts between the various embodiments. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method description.

[0097] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not limited to the embodiments shown herein but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A secure communication method for an intelligent manufacturing production line based on blockchain, characterized in that: The following steps are involved: S1: Generate an RSA asymmetric key and an AES symmetric key for the sending node, and calculate the hash value of the sending node's identity; Generate an RSA asymmetric key for the receiving node and calculate the hash value of the receiving node's identity; S2: The sending node encrypts the sending node's AES symmetric key using the public key in the receiving node's RSA asymmetric key to obtain an encryption key; S3: The sending node uses its own AES symmetric key, the hash value of its own identity, and the private key in its own RSA asymmetric key to encrypt and sign the plaintext data to be sent, obtaining a digital signature and ciphertext data; The sending node performs a hash operation on the plaintext data to be sent to obtain the hash value of the plaintext data; The sending node uploads the hash value of the plaintext data to the blockchain network for public disclosure; S4: The receiving node decrypts the digital signature using the public key in the RSA asymmetric key of the sending node. Obtain decrypted plaintext data using the decrypted digital signature, the encryption key, the private key in the RSA asymmetric key of the receiving node, and the hash value of the identity of the sending node; S5: The receiving node performs a hash operation on the decrypted plaintext data and uploads it to the blockchain network for public disclosure; Nodes other than the receiving node verify the hash value uploaded by the receiving node. If the verification is successful, the receiving node stores the decrypted plaintext data in the blockchain network.

2. A blockchain-based intelligent manufacturing production line secure communication method according to claim 1, characterized in that: S1 includes the following steps: Generate an RSA asymmetric key SKA for the sending node A; SKA includes the public key public_key_A and the private key private_key_A; Generate an AES symmetric key sym_keyA for the sending node A; Perform a hash operation on the identity ID A of the sending node A to obtain a hash value Hash_IDA; Generate an RSA asymmetric key SKB for the receiving node B; SKB includes the public key public_key_B and the private key private_key_B; Perform a hash operation on the identity ID B of the receiving node B to obtain a hash value Hash_IDB; Among them, the hash value Hash_IDA, public key public_key_A, hash value Hash_IDB, and public key public_key_B are public in the blockchain network.

3. A blockchain-based intelligent manufacturing production line secure communication method according to claim 2, characterized in that: S2 includes the following steps: Sending node A uses public key public_key_B to perform RSA encryption on the AES symmetric key sym_keyA to obtain the encryption key en_sym_keyA.

4. A blockchain-based intelligent manufacturing production line secure communication method according to claim 3, characterized in that: S3 includes the following steps: The sending node A uses the AES symmetric key sym_keyA to perform AES encryption on the plaintext data M to be sent, obtaining the ciphertext data C; The sending node A concatenates the plaintext data M to be sent and the hash value Hash_IDA and performs a hash operation to obtain the hash summary hash1; The sending node A uses the private key private_key_A to perform RSA signature on the hash summary hash1 to obtain the digital signature signature; The sending node A performs a hash operation on the plaintext data M to be sent and obtains the hash value Hash_M of the plaintext data; The sending node A uploads the hash value Hash_M of the plaintext data to the blockchain network for public disclosure.

5. A blockchain-based intelligent manufacturing production line secure communication method according to claim 4, characterized in that: S3 also includes the following steps: The sending node A sends the encryption key en_sym_keyA, ciphertext data C and digital signature signature to the receiving node B through the blockchain network.

6. A blockchain-based intelligent manufacturing production line secure communication method according to claim 5, characterized in that: S4 includes the following steps: The receiving node B uses the public key public_key_A to perform RSA decryption on the digital signature signature to obtain the hash digest hash2; The receiving node B uses the private key private_key_B to perform RSA decryption on the encryption key en_sym_keyA to obtain the symmetric key received_sym_keyA; The receiving node B uses the symmetric key received_sym_key to perform AES decryption on the ciphertext data C to obtain the decrypted plaintext data M'; The receiving node B concatenates the decrypted plaintext data M' and the hash value Hash_IDA and performs a hash operation to obtain the hash summary hash3; The receiving node B determines whether the hash digest hash2 is consistent with the hash digest hash3. If they are consistent, the receiving node B receives the decrypted plaintext data M'.

7. A blockchain-based intelligent manufacturing production line secure communication method according to claim 6, characterized in that: S5 includes the following steps: The receiving node B performs a hash operation on the decrypted plaintext data M' to obtain the plaintext data hash value Hash_M'; The receiving node B uploads the hash value Hash_M' of the plaintext data to the blockchain network for public disclosure; Nodes other than the receiving node determine whether the plaintext data hash value Hash_M' is the same as the plaintext data hash value Hash_M. If they are the same, the receiving node stores the decrypted plaintext data M' in the blockchain network.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the blockchain-based intelligent manufacturing production line secure communication method according to any one of claims 1 to 7 is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the blockchain-based smart manufacturing production line secure communication method according to any one of claims 1 to 7 is implemented.

10. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the blockchain-based smart manufacturing production line secure communication method according to any one of claims 1 to 7 is implemented.