Agricultural product quality tracing system based on block chain technology

By adopting blockchain technology, encryption modules, smart contracts and privacy protection modules in the agricultural product quality traceability system, the problem of data privacy and user experience is solved, the security storage and transparent user interface of data are realized, and the system security of the system is improved. Sexual and user experience.

CN119379315AInactive Publication Date: 2025-01-28东至县农业农村综合技术服务中心
View PDF 0 Cites 15 Cited by

Patent Information

Application Number
CN202411507036.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-28
Publication Date
2025-01-28
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing technology is difficult to effectively solve data privacy problems in agricultural product quality traceability systems. While ensuring data transparency, traditional blockchain systems may lead to the leakage of sensitive business information and personal privacy. The user interface design is complex, making it difficult to provide intuitive and friendly. user experience.

Method used

Adopting agricultural product quality traceability system based on blockchain technology, through data collection modules, encryption modules, blockchain storage modules, smart contract modules, privacy protection modules, and user interface modules to realize the secure collection, encryption, storage and privacy protection of data Provide intuitive user interface and augmented reality.

Benefits of technology

Ensure the authenticity and security of agricultural product data, solve the contradiction between data privacy protection and compliance verification, enhance the user experience and trust, and realize the transparency and easy understanding of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119379315A_ABST
    Figure CN119379315A_ABST
Patent Text Reader

Abstract

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.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of agricultural product quality tracing technology, and in particular to an agricultural product quality tracing system based on blockchain technology. Background Art

[0002] As global attention to food safety and quality increases, agricultural product quality traceability systems have become an important tool for improving the transparency and security of the agricultural supply chain. Traditional agricultural product traceability methods usually rely on centralized data management and manual records, which leads to problems such as easy data tampering, information asymmetry, and low traceability efficiency. In this context, blockchain technology has gradually been applied to agricultural product quality traceability systems due to its decentralization, immutability, and transparency. Blockchain technology can record data on agricultural products in real time at various stages of planting, processing, and transportation, forming a complete supply chain information chain, allowing consumers and regulators to easily obtain real information about agricultural products, thereby enhancing trust and safety in the products.

[0003] The data privacy issue has not been effectively resolved. Traditional blockchain systems often need to disclose all on-chain information while ensuring data transparency, which may lead to the leakage of sensitive business information and personal privacy. Existing technologies lack flexibility in data sharing and compliance verification, and cannot perform effective cross-chain data interoperability and user authority management while ensuring data security. In addition, the user interface design of many traceability systems is still relatively complex and lacks an intuitive and friendly user experience, making it difficult for consumers to fully understand and utilize traceability information.

[0004] Therefore, a new agricultural product quality traceability system is urgently needed to solve the above problems. Summary of the invention

[0005] In view of the shortcomings of the existing technology, the present invention provides an agricultural product quality traceability system based on blockchain technology, which solves the data privacy problem that has not been effectively solved. While ensuring data transparency, traditional blockchain systems often need to disclose all on-chain information, which may lead to the leakage of sensitive commercial information and personal privacy.

[0006] To achieve the above objectives, the present invention is implemented through the following technical solutions: an agricultural product quality traceability system based on blockchain technology, comprising:

[0007] The data collection module is used to collect environmental data, quality inspection data and location information of agricultural products in the process of planting, processing, transportation and storage through IoT devices;

[0008] The encryption module is used to perform preliminary symmetric encryption processing on the collected data and encrypt sensitive data through a homomorphic encryption algorithm;

[0009] The blockchain storage module is used to upload the encrypted data summary and hash value to the chain, and to store the complete data file in a distributed manner off the chain;

[0010] Smart contract module, which is used to automatically perform data storage, permission control, zero-knowledge proof verification and cross-chain data management on the blockchain;

[0011] Privacy protection module, which is used to verify the authenticity and compliance of data through zero-knowledge proof technology without disclosing specific data;

[0012] The user interface module is used for users to query the traceability information of agricultural products and dynamically display the product status through augmented reality function.

[0013] Preferably, the data acquisition module further comprises:

[0014] Sensor networks are used to collect environmental data including temperature, humidity, and light during the production, transportation, and storage of agricultural products;

[0015] Positioning device, used to collect location information of each node during the transportation of agricultural products;

[0016] Quality inspection equipment is used to collect quality inspection data of agricultural products, including pesticide residues and heavy metal content.

[0017] Preferably, the encryption module adopts the BGV homomorphic encryption algorithm to perform addition and multiplication calculations in a ciphertext state.

[0018] Preferably, the blockchain storage module includes:

[0019] On-chain storage unit, used to store data hash values ​​and smart contracts;

[0020] The off-chain storage unit is used to save complete data files through a distributed storage system and record the hash value of the file on the chain.

[0021] Preferably, the distributed storage system is IPFS, and the integrity and immutability of the data are ensured by combining on-chain and off-chain methods.

[0022] Preferably, the smart contract module further includes:

[0023] Data storage contracts are used to define the format of data on the chain and the association between on-chain and off-chain data;

[0024] Permission control contract, used to verify user access on the chain through attribute-based access control strategy ABAC;

[0025] Zero-knowledge proof verification contract, used to verify zk-SNARK-based zero-knowledge proof on the chain.

[0026] Preferably, the smart contract module further includes:

[0027] Dynamic authorization contracts are used to dynamically adjust user permissions based on different event states or time windows.

[0028] Preferably, the privacy protection module adopts zero-knowledge proof technology zk-SNARK to verify the compliance of specific data without disclosing the data content.

[0029] Preferably, the privacy protection module further includes a partial disclosure encryption mechanism for disclosing part of non-sensitive data in certain circumstances while keeping sensitive data encrypted.

[0030] Preferably, the user interface module includes:

[0031] Query interface, users can query product traceability information by scanning QR code or barcode;

[0032] Augmented reality function is used to dynamically present information such as product cultivation, processing and transportation through mobile devices.

[0033] The present invention provides an agricultural product quality traceability system based on blockchain technology. It has the following beneficial effects:

[0034] 1. The present invention utilizes the distributed ledger and tamper-proof characteristics of blockchain, and automatically executes data storage and permission control through smart contracts, thereby ensuring the authenticity and security of data in each link. At the same time, the IPFS distributed storage system is combined with blockchain to further ensure the integrity of the data, so that all parties can reliably share and query traceability information.

[0035] 2. The present invention introduces zero-knowledge proof (zk-SNARK) technology, which enables the system to verify the compliance of data without leaking the specific data content, thereby resolving the contradiction between data privacy protection and compliance verification. At the same time, the system also supports partial disclosure encryption mechanism, allowing non-sensitive data to be revealed in certain circumstances, while sensitive data remains encrypted, effectively improving the flexibility and security of privacy protection.

[0036] 3. The present invention provides an intuitive query interface and augmented reality (AR) function through a user interface module. Consumers can obtain detailed traceability information of products in real time by scanning QR codes or bar codes. The AR function enables users to dynamically present information on key links such as product planting, processing and transportation, making product information more transparent and easy to understand, thereby significantly enhancing consumers' trust and sense of participation. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 It is a system framework diagram of the present invention;

[0038] Figure 2 This is a system diagram of the blockchain storage module of the present invention. DETAILED DESCRIPTION

[0039] The following will be combined with the drawings in the specification of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. 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 creative work are within the scope of protection of the present invention.

[0040] Embodiment 1:

[0041] Please refer to the attached Figure 1 - Attachment Figure 2 The embodiment of the present invention provides an agricultural product quality traceability system based on blockchain technology, including:

[0042] The data collection module is used to collect environmental data, quality inspection data and location information of agricultural products in the process of planting, processing, transportation and storage through IoT devices;

[0043] The encryption module is used to perform preliminary symmetric encryption processing on the collected data and encrypt sensitive data through a homomorphic encryption algorithm;

[0044] The blockchain storage module is used to upload the encrypted data summary and hash value to the chain, and to store the complete data file in a distributed manner off the chain;

[0045] Smart contract module, which is used to automatically perform data storage, permission control, zero-knowledge proof verification and cross-chain data management on the blockchain;

[0046] Privacy protection module, which is used to verify the authenticity and compliance of data through zero-knowledge proof technology without disclosing specific data;

[0047] The user interface module is used for users to query the traceability information of agricultural products and dynamically display the product status through augmented reality function.

[0048] Specifically, the data collection module is used to collect environmental data, quality inspection data and location information of agricultural products in the planting, processing, transportation, warehousing and other links through IoT devices; through IoT devices such as temperature and humidity sensors, GPS positioning equipment, quality inspection instruments, etc., key information in the production, transportation and storage of agricultural products can be obtained in real time, thereby providing a comprehensive information basis for subsequent data analysis and traceability; the encryption module is used to perform preliminary symmetric encryption processing on the collected data, and encrypt sensitive data through homomorphic encryption algorithm; the design of the encryption module protects the security of data during transmission by combining symmetric encryption algorithms such as AES, and at the same time uses homomorphic encryption algorithm to realize encryption operation processing of sensitive data while ensuring data privacy, providing a higher security level for data analysis; the blockchain storage module is used to upload the encrypted data summary and hash value to the chain, and store the complete data file in a distributed manner off the chain; this module stores the encrypted data hash in the blockchain, and adopts a distributed storage solution (such as IPFS) to save large-scale data files, thereby realizing secure distributed storage of data and efficient on-chain verification; intelligent The contract module is used to automatically perform data storage, permission control, zero-knowledge proof verification and cross-chain data management on the blockchain. The smart contract module defines data on-chain, access rights and verification rules in the blockchain according to the preset business logic to ensure the automation and intelligent operation of the system, making the interaction between each link more transparent, controllable and efficient. The privacy protection module is used to verify the authenticity and compliance of data through zero-knowledge proof technology without disclosing specific data. By introducing zk-SNARKs zero-knowledge proof technology, this module can verify the compliance and authenticity of agricultural products without disclosing specific data, which solves the contradiction between data privacy and verification of authenticity and improves data security and transparency. The user interface module is used for users to query the traceability information of agricultural products and dynamically display the product status through the augmented reality function. The module is designed with an intuitive and friendly user interface, allowing consumers to easily obtain the traceability information of agricultural products. At the same time, with the help of augmented reality technology, users can dynamically view detailed information such as the planting environment and logistics status of agricultural products by scanning QR codes or product labels, enhancing users' perception and trust in product information.

[0049] The data acquisition module further comprises:

[0050] Sensor networks are used to collect environmental data including temperature, humidity, and light during the production, transportation, and storage of agricultural products;

[0051] Positioning device, used to collect location information of each node during the transportation of agricultural products;

[0052] Quality inspection equipment is used to collect quality inspection data of agricultural products, including pesticide residues and heavy metal content.

[0053] Specifically, the sensor network is used to collect real-time environmental data of agricultural products during production, transportation and storage, including temperature, humidity and light, to ensure that agricultural products are in suitable environmental conditions in each link to ensure their quality and safety; the positioning device obtains the location information of each node of agricultural products in the transportation process in real time through the global positioning system (GPS) to ensure the comprehensive tracking of the logistics path, so as to achieve effective supervision of the transportation process; the quality inspection equipment is equipped with advanced testing instruments, which can regularly or in real time monitor the quality inspection data of agricultural products, including key indicators such as pesticide residues and heavy metal content, to ensure compliance with national and industry standards. Through the above technical solutions, the system can comprehensively and accurately collect data related to the quality of agricultural products, provide all-round traceability information, and provide reliable data support for consumers and regulatory agencies, thereby improving the safety and transparency of agricultural products.

[0054] The encryption module adopts the BGV homomorphic encryption algorithm to perform addition and multiplication calculations in the ciphertext state.

[0055] The blockchain storage module includes:

[0056] On-chain storage unit, used to store data hash values ​​and smart contracts;

[0057] The off-chain storage unit is used to save complete data files through a distributed storage system and record the hash value of the file on the chain.

[0058] Specifically, the encryption module uses the BGV homomorphic encryption algorithm to implement encryption processing of sensitive data, so that addition and multiplication calculations can still be performed in the ciphertext state. This feature allows complex calculation operations to be performed without decrypting the data, thereby effectively protecting data privacy. The blockchain storage module consists of two parts: an on-chain storage unit and an off-chain storage unit. The on-chain storage unit is used to store the hash value and smart contract of the data to ensure the integrity and non-tamperability of the data; while the off-chain storage unit saves the complete data file through a distributed storage system (such as IPFS), and records the hash value of the file on the blockchain, ensuring the secure storage and efficient access of large-scale data. This design not only improves the security of the system, but also enhances the transparency and traceability of the data.

[0059] The distributed storage system is IPFS, and the integrity and immutability of data are ensured by combining on-chain and off-chain methods.

[0060] The smart contract module further includes:

[0061] Data storage contracts are used to define the format of data on the chain and the association between on-chain and off-chain data;

[0062] Permission control contract, used to verify user access on the chain through attribute-based access control strategy ABAC;

[0063] Zero-knowledge proof verification contract, used to verify zk-SNARK-based zero-knowledge proof on the chain.

[0064] The smart contract module also includes:

[0065] Dynamic authorization contracts are used to dynamically adjust user permissions based on different event states or time windows.

[0066] Specifically, the distributed storage system adopts IPFS, and stores data by combining on-chain and off-chain. The on-chain is responsible for storing the hash value and related metadata of the data, and the off-chain stores the complete file data, thereby ensuring the integrity and immutability of the data. The smart contract module further includes a data storage contract, a permission control contract, and a zero-knowledge proof verification contract. The data storage contract is used to define the format of the data on the chain and establish the association method between the on-chain and off-chain data. The permission control contract verifies user access through the attribute-based access control strategy (ABAC) to ensure the security of data access; the zero-knowledge proof verification contract is used to verify the zero-knowledge proof based on zk-SNARK on the chain to ensure the authenticity and privacy protection of the data. In addition, the smart contract module also includes a dynamic authorization contract, through which the user's permissions can be dynamically adjusted according to different event states or time windows, so that the system can flexibly adapt to changes in business scenarios and the needs of permission management, and enhance the flexibility and security of the system.

[0067] The privacy protection module adopts zero-knowledge proof technology zk-SNARK to verify the compliance of specific data without disclosing the data content.

[0068] The privacy protection module further includes a partial disclosure encryption mechanism for disclosing part of non-sensitive data in certain circumstances while keeping sensitive data encrypted.

[0069] The user interface module comprises:

[0070] Query interface, users can query product traceability information by scanning QR code or barcode;

[0071] Augmented reality function is used to dynamically present information such as product cultivation, processing and transportation through mobile devices.

[0072] Specifically, the privacy protection module adopts zero-knowledge proof technology zk-SNARK to verify the compliance of specific data without disclosing the data content, thereby achieving trusted verification of data while protecting privacy. The privacy protection module further includes a partial disclosure encryption mechanism. In some cases, it allows the disclosure of some non-sensitive data, such as basic quality certification information, while sensitive data continues to remain encrypted to achieve fine-grained privacy protection. The user interface module includes a query interface and an augmented reality function. The query interface enables users to access and view detailed traceability information of the product in real time by scanning the QR code or barcode of the product; the augmented reality function presents the entire process information of the product's planting, processing and transportation through mobile devices, so that users can more intuitively understand the source, quality and logistics status of the product, thereby enhancing consumers' transparency and trust in product information.

[0073] Embodiment 2:

[0074] 1. System overall architecture

[0075] The agricultural product quality traceability system of the present invention includes the following modules: data acquisition module, encryption module, blockchain storage module, smart contract module, privacy protection module, and user interface module. The modules are connected and data is exchanged through blockchain and distributed network.

[0076] 2. Data Acquisition Module

[0077] The data acquisition module is the data source of the entire system. It collects the production, processing, transportation and storage data of agricultural products in real time through the Internet of Things technology (such as sensor networks and GPS positioning systems). The specific data types collected include:

[0078] Environmental data: such as temperature, humidity, light, soil pH, carbon dioxide concentration, etc. These data can be collected through sensors deployed in farms, storage centers, and cold chain transport vehicles.

[0079] Quality inspection data: agricultural product quality indicators (such as pesticide residues, heavy metal content, microbial detection, etc.) collected through automated testing equipment of third-party quality inspection agencies.

[0080] Location information: The specific path and node information of agricultural products during the logistics transportation process are recorded through GPS devices.

[0081] 3. Data Encryption Module

[0082] Since the amount of data in the agricultural product supply chain is large and contains a lot of sensitive information, such as production data, inspection records, transaction data, etc., after data collection, all data are first symmetrically encrypted (such as AES encryption) to ensure the confidentiality and integrity of the data during transmission.

[0083] In order to further protect data privacy, this paper introduces homomorphic encryption technology when processing sensitive data. Homomorphic encryption allows data to be added and multiplied in the ciphertext state, so that some computing tasks can be completed without decryption during data analysis. This system uses the BGV homomorphic encryption algorithm, and its encryption process is as follows:

[0084] Encrypt specific sensitive data (such as agricultural product quality test results) and send the encrypted data to the data storage node;

[0085] During data verification or statistics, homomorphic encryption algorithms are used to perform addition or multiplication operations to ensure privacy protection while meeting specific business needs.

[0086] 4. Blockchain Storage Module

[0087] The blockchain storage module of the present invention adopts a consortium chain architecture based on Hyper ledger Fabric. Hyper ledger Fabric supports a multi-channel mechanism, and can set independent channels according to different data types and participants to achieve fine-grained isolation of data.

[0088] 1. On-chain and off-chain hybrid storage

[0089] Due to the high storage cost of blockchain, in order to solve the problem of massive data storage, the system adopts the architecture of "storing hash values ​​on the chain and storing complete data off the chain". The specific steps are as follows:

[0090] On-chain storage: For each data operation, the hash value of the data is calculated and stored on the blockchain. The storage of hash values ​​can ensure the integrity and tamper-proof of the data.

[0091] Off-chain storage: Store raw data and large files (such as videos, pictures, detailed inspection reports, etc.) in a distributed file system (such as IPFS). The storage path and hash value of the off-chain files are recorded on the chain through smart contracts to facilitate data consistency verification during query and verification.

[0092] 2. Data integrity verification

[0093] In order to ensure the reliability of data, all on-chain data operations will generate a unique hash value, and the hash value will be verified by the smart contract. Through this mechanism, users can confirm the authenticity of data by comparing the on-chain and off-chain hash values ​​when querying data.

[0094] 5. Smart Contract Module

[0095] Smart contracts are the core of the business logic of the entire system. Through pre-defined contract rules, they can realize functions such as data storage, permission control, and cross-chain communication. Smart contracts are mainly divided into the following categories:

[0096] Data storage contract: responsible for defining the logic of data storage on and off the chain. Whenever new data is uploaded to the chain, the contract automatically calculates its hash value and records the storage location.

[0097] Permission control contract: Verify user access requests based on the ABAC (Attribute-Based Access Control) model. The ABAC model controls user access rights by defining user attributes (such as role, position, location, etc.).

[0098] Zero-knowledge proof verification contract: This contract is specifically used to verify the proof generated by zk-SNARK. When data needs to be verified, the contract uses the parameters of the zk-SNARK proof to determine the validity of the proof.

[0099] 6. Privacy Protection Module

[0100] In order to achieve data privacy protection, the system introduces zero-knowledge proof technology (zk-SNARK). Through zk-SNARK, the system can verify the compliance and authenticity of certain key parameters without disclosing specific data. The specific implementation steps include:

[0101] Generate zero-knowledge proof: The producer or quality inspection agency generates a zk-SNARK proof based on the data and stores the hash value of the proof on the blockchain.

[0102] Verifying zero-knowledge proofs: When consumers or regulators make data queries, smart contracts verify the validity of the proof through zk-SNARK without disclosing the original data content.

[0103] In addition, the present invention also supports partial disclosure encryption. When some non-sensitive information needs to be disclosed, encryption algorithms are used to protect core data, thereby achieving fine-grained privacy control.

[0104] 7. User Interface Module

[0105] The user interface module provides a friendly interaction method for end users (such as consumers, producers, and regulators). This module includes:

[0106] Query interface: A user interface built with a front-end framework (such as React or Vue.js) that supports consumers to query the traceability information of agricultural products by scanning QR codes or barcodes. The query results include the origin of the agricultural products, quality inspection results, transportation routes, etc.

[0107] Augmented reality function (AR): Users can scan product labels through their mobile phone cameras to view detailed information such as product production, processing, and transportation in real time. The augmented reality function improves the intuitiveness and visualization of data display.

[0108] 8. System performance optimization

[0109] In order to improve the performance of the system, the present invention has made a number of optimizations in the architecture design and data processing of the blockchain:

[0110] Separation of on-chain and off-chain computing: The generation of zero-knowledge proofs and complex cryptographic calculations are performed off-chain, and only the proofs are stored and verified on-chain, which greatly reduces the computing burden of the blockchain.

[0111] Multi-channel parallel processing: Through the multi-channel mechanism of Hyper ledgerFabric, different types of business data are processed separately to achieve efficient parallel processing.

[0112] 9. System security audit

[0113] All key operations (such as data storage, access verification, permission changes, smart contract execution, etc.) will be recorded on the blockchain's dedicated audit chain. The audit chain is independent of the business chain and ensures the immutability and transparency of its operation records through a lightweight consensus mechanism.

[0114] 10. Cross-chain protocol and data interoperability

[0115] The present invention also supports the synchronization and verification of cross-chain data. Since the supply chain of agricultural products may involve multiple blockchain platforms (such as regulatory platforms, certification platforms, etc.), the system implements data interoperability between different blockchains through cross-chain protocols (such as Polkadot or Cosmos). Cross-chain communication includes the following functions:

[0116] Cross-chain data synchronization: Data synchronization and event propagation between different blockchain platforms are achieved through the relay chain.

[0117] Cross-chain verification: During the cross-chain data transmission process, a lightweight verification algorithm is used to ensure the integrity and authenticity of the cross-chain data.

[0118] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. An agricultural product quality traceability system based on blockchain technology, characterized in that: include: The data collection module is used to collect environmental data, quality inspection data and location information of agricultural products in the process of planting, processing, transportation and storage through IoT devices; The encryption module is used to perform preliminary symmetric encryption processing on the collected data and encrypt sensitive data through a homomorphic encryption algorithm; The blockchain storage module is used to upload the encrypted data summary and hash value to the chain, and to store the complete data file in a distributed manner off the chain; Smart contract module, which is used to automatically perform data storage, permission control, zero-knowledge proof verification and cross-chain data management on the blockchain; Privacy protection module, which is used to verify the authenticity and compliance of data through zero-knowledge proof technology without disclosing specific data; The user interface module is used for users to query the traceability information of agricultural products and dynamically display the product status through augmented reality function.

2. According to claim 1, the agricultural product quality traceability system based on blockchain technology is characterized in that: The data acquisition module further comprises: Sensor networks are used to collect environmental data including temperature, humidity, and light during the production, transportation, and storage of agricultural products; Positioning device, used to collect location information of each node during the transportation of agricultural products; Quality inspection equipment is used to collect quality inspection data of agricultural products, including pesticide residues and heavy metal content.

3. According to claim 1, the agricultural product quality traceability system based on blockchain technology is characterized in that: The encryption module adopts the BGV homomorphic encryption algorithm to perform addition and multiplication calculations in the ciphertext state.

4. According to claim 1, the agricultural product quality traceability system based on blockchain technology is characterized in that: The blockchain storage module includes: On-chain storage unit, used to store data hash values ​​and smart contracts; The off-chain storage unit is used to save complete data files through a distributed storage system and record the hash value of the file on the chain.

5. According to claim 1, the agricultural product quality traceability system based on blockchain technology is characterized in that: The distributed storage system is IPFS, and the integrity and immutability of data are ensured by combining on-chain and off-chain methods.

6. The agricultural product quality traceability system based on blockchain technology according to claim 1 is characterized in that: The smart contract module further includes: Data storage contracts are used to define the format of data on the chain and the association between on-chain and off-chain data; Permission control contract, used to verify user access on the chain through attribute-based access control strategy ABAC; Zero-knowledge proof verification contract, used to verify zk-SNARK-based zero-knowledge proof on the chain.

7. The agricultural product quality traceability system based on blockchain technology according to claim 1 is characterized in that: The smart contract module also includes: Dynamic authorization contracts are used to dynamically adjust user permissions based on different event states or time windows.

8. The agricultural product quality traceability system based on blockchain technology according to claim 1 is characterized in that: The privacy protection module adopts zero-knowledge proof technology zk-SNARK to verify the compliance of specific data without disclosing the data content.

9. The agricultural product quality traceability system based on blockchain technology according to claim 1 is characterized in that: The privacy protection module further includes a partial disclosure encryption mechanism for disclosing part of non-sensitive data in certain circumstances while keeping sensitive data encrypted.

10. The agricultural product quality traceability system based on blockchain technology according to claim 1 is characterized in that: The user interface module comprises: Query interface, users can query product traceability information by scanning QR code or barcode; Augmented reality function is used to dynamically present information such as product cultivation, processing and transportation through mobile devices.

Citation Information

Cited By

  • Trusted data management and control system and method

    CN119671564A

  • Agilawood tracing method and system based on distributed identity and smart contract

    CN120125252A

  • Green product authentication and tracing system based on block chain

    CN120181875A

  • A blockchain-based green product certification and traceability system

    CN120181875B

  • Tea quality data safety management monitoring method and system

    CN120181876A