| With the improvement of people’s living standards in China,people’s requirements for quality and safety of basic agricultural products are getting higher and higher,and the market demand for green and high-quality rice is growing.In order to implement the newly revised and adopted "Law of the People’s Republic of China on Quality and Safety of Agricultural Products" in September 2022,and to solve the problem that counterfeit and shoddy rice that does not meet quality and safety standards disrupt the rice market and crowd out the market space of green high-quality rice,we propose to design a green high-quality rice blockchain traceability system.With the technical advantages of blockchain anti-tampering,traceability and decentralization,it solves the problems of centralized data storage,low data reliability and low security that exist in the traditional agricultural product traceability system.Through the green high-quality rice blockchain traceability system to trace and supervise the whole life cycle of rice information,to protect rice food safety,ensure rice quality standards,enhance the consumer’s knowledge of product information,provide effective means for green high-quality rice related enterprises to protect their products,and provide technical support for regulatory departments to implement regulatory measures.In this paper,we analyze and compare the major mainstream blockchain platforms and select Hyperledger Fabric as the blockchain technology development platform according to the characteristics of green high-quality rice traceability scenario.By analyzing the whole process of green high quality rice production and circulation,we extracted the key traceability information of green high quality rice as well as the privacy information of enterprises,and built a green high quality rice blockchain traceability business model.The system scheme is designed on the basis of full consideration of the actual needs of users and the functional requirements of the system,and the six-layer trusted traceability architecture of the system is divided.At the same time.To prevent the leakage of sensitive enterprise data,the Hyperledger Fabric private data collection is innovatively designed to protect the privacy of sensitive enterprise data by combining the Hyperledger Fabric ledger features.In terms of traceability data storage,the dual storage mode of IPFS(Interstellar File System)+ blockchain is proposed to solve the problem of inefficient data storage of the traceability system caused by a large amount of traceability data being stored on the chain.And according to the green quality rice quality standard and operation specification,we write the smart contract applicable to the green quality rice traceability scenario.The whole traceability system was finally implemented.The green high-quality rice blockchain traceability system designed in this paper can realize the functions of traceability data entry,traceability data query and privacy data supervision.The design of private dataset enhances the confidentiality of sensitive data,and the dual storage mode of IPFS+blockchain improves the storage capacity and query efficiency of traceability data. |