Abstract
The system uses blockchain technology, centralized database, and RFID tags to build a secure agricultural product traceability system, which can retain the detailed information of agricultural product traceability and ensure that the summary information of agricultural products on the chain cannot be modified; The reader device uses the SM3 algorithm to summarize the original agricultural product traceability data and upload it to the central database, add the timestamp of the summary data to the chain storage, and write the summary data into the RFID tag User area. Realize the linkage of traceability data of agricultural products to ensure the accuracy of data. The overall architecture of the system mainly includes RFID readers, RFID tags, blockchain platforms, and centralized storage platforms. This system optimizes the SM3 algorithm to improve the execution efficiency, the execution time of 192 byte message is 210 µs, and the experimental results show that the algorithm efficiency is increased by about 30%, which can meet the requirements of agricultural product traceability data using SM3 to complete the summary.