The invention relates to the technical field of agricultural product quality tracing, and discloses an agricultural product quality tracing
system based on a block chain technology, and the
system comprises a data collection module which is used for collecting environment data, quality detection data and position information of agricultural products in the links of planting,
processing, transportation, storage and the like through
Internet of Things equipment; the
encryption module is used for performing preliminary symmetric
encryption processing on the collected data and encrypting sensitive data through a
homomorphic encryption algorithm; and the intelligent contract module is used for automatically executing data storage,
authority control, zero-knowledge proof
verification and cross-chain
data management on the block chain. According to the method, the authenticity and security of data in each link are ensured through automatic execution of data storage and
authority control by using a distributed account book and a tamper-resistant characteristic of the block chain and through an intelligent contract, and meanwhile, an I PFS distributed storage
system is combined with the block chain, so that the integrity of the data is further ensured, and the security of the data is improved. Therefore, all parties can share and query the tracing information trustingly.