Flexible, Safe and Trusted Agricultural Product Blockchain Traceability System

Agricultural product traceability involves multiple links and identity information of multiple subjects, and the data flow is more complicated, making it difficult to trace and supervise the operation. The traditional agricultural product traceability system depends on a central database, the data is easily tampered with, and the reliability of the data cannot be guaranteed. A safe, reliable, open, and transparent traceability system needs to be established. A traceability system for agricultural products is built with the aid of blockchain technology to ensure data authenticity, tamper-proof, and the accuracy of traceability data. Based on the existing agricultural products supply chain structure, this paper proposes a flexible agricultural products traceability system scheme, which can realize the flexible jumping of traceability links. The sensitive data is encrypted based on the SM4 encryption algorithm to protect data confidentiality. The access control tree is set based on user attributes, and access control of data is realized according to the logical relationship of the access control tree to protect data privacy. The experimental results indicate that the proposed scheme ensures the traceability, tamper-proof, and data security of agricultural products.