Agricultural product whole-chain intelligent tracing and grading system
The intelligent traceability and grading system for agricultural products integrates data from multiple stages and stores it on blockchain, generating unique identifiers and performing dynamic quality grading. This solves the problem of insufficient data integration and grading capabilities in existing technologies, and achieves the integrity and accuracy of agricultural product traceability information.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- XINCHANG BAIYUN RENJIA AGRICULTURAL & SIDELINE PRODUCTS DISTRIBUTION SERVICE CO LTD
- Filing Date
- 2025-12-22
- Publication Date
- 2026-05-08
AI Technical Summary
Existing agricultural product traceability systems struggle to integrate data from multiple stages, lack real-time data analysis and automatic grading capabilities, and have a weak connection between physical anti-counterfeiting and digital traceability, affecting the completeness and accuracy of traceability information.
It employs a data acquisition module, an identification management module, a blockchain evidence storage module, and a hierarchical processing module to generate a unique identification code and store the data using blockchain. Dynamic quality grading is achieved through an analysis model, and physical anti-counterfeiting components and a certificate management server are introduced to ensure data security.
It has achieved the integration of data across the entire agricultural product supply chain and real-time dynamic quality grading, improving the completeness and accuracy of traceability information and ensuring data security and reliability.
Smart Images

Figure CN121998657A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent agriculture technology, specifically to an intelligent traceability and grading system for the entire agricultural product chain. Background Technology
[0002] Existing agricultural product traceability systems primarily record and query information, but they still have shortcomings in practical applications. First, the systems struggle to effectively integrate different types of data generated across multiple stages, including production, processing, and logistics, affecting the completeness and accuracy of traceability information. Second, while technologies such as the Internet of Things (IoT) and blockchain have been adopted, data analysis is often independent of business processes, failing to achieve dynamic quality assessment based on real-time data. Furthermore, existing systems largely rely on manual judgment or final sampling to evaluate quality, lacking continuous and automated grading capabilities throughout the distribution process, making it difficult to track quality changes over time and under different conditions. Simultaneously, the connection between physical anti-counterfeiting measures and the digital traceability system is weak, posing a risk of data and physical goods becoming disconnected.
[0003] Therefore, there is an urgent need to develop an intelligent traceability and grading system for the entire agricultural product chain to solve the problems in existing technologies. Summary of the Invention
[0004] The purpose of this invention is to provide an intelligent traceability and grading system for agricultural products across the entire supply chain, which can integrate data from each stage and automatically complete dynamic quality grading based on real-time and historical data during circulation, thereby solving the problems mentioned in the background art.
[0005] To achieve the above objectives, the present invention provides the following technical solution: A smart traceability and grading system for agricultural products across the entire supply chain includes a data acquisition module, an identification management module, a blockchain evidence storage module, a grading processing module, and a query service module. The data acquisition module is used to acquire process data of agricultural products in the production, processing, storage, transportation and sales stages; The identification management module is used to generate unique identification codes for agricultural products and associate the process data with the corresponding unique identification codes; The blockchain evidence storage module is used to store the unique identifier, associated process data and their hash values to form a traceability data chain; The graded processing module is used to perform the following operations: when agricultural products enter at least one stage of processing, storage, transportation or sales, the quality grade of the agricultural products is calculated based on the process data of that stage and the historical data stored in the blockchain evidence storage module, using a preset analysis model, and the calculated quality grade is sent to the blockchain evidence storage module for storage. The query service module is used to obtain and output the corresponding traceability data chain and all stored quality levels from the blockchain evidence storage module based on the unique identifier.
[0006] By adopting the above technical solution, the system constructs a complete workflow: the data acquisition module obtains data from each stage; the identification management module generates a unique identification code and associates it with the data; the blockchain notarization module stores the associated data and hash values into a chain; the hierarchical processing module, at a specified stage, combines the current data with historical data on the chain, calls the analysis model to calculate the quality level and sends it back to the blockchain notarization; the query service module finally obtains and outputs all relevant data and quality level records from the blockchain based on the identification code.
[0007] As a further aspect of the present invention: the unique identifier generated by the identifier management module adopts an encoding structure based on the rules of Industrial Internet Identifier (ECODE) and Object Identifier (OID).
[0008] By adopting the above technical solution, the identification code is unique across the entire network, and its hierarchical structure can represent product origin, category, batch and other attribute information. At the same time, the code conforms to the Industrial Internet Identifier Resolution System standard, which facilitates data exchange and collaborative query between different information systems.
[0009] As a further aspect of the present invention: the grading processing module includes a model library, which stores multiple analysis models trained according to different agricultural product categories and / or different stages; the grading processing module calls the corresponding analysis model from the model library to perform calculations based on the agricultural product category and the current stage.
[0010] By adopting the above technical solution, the system can automatically match and call targeted analysis models to perform calculations based on the specific type of agricultural product and its specific circulation stage. This mechanism enables the calculation of quality grades to adapt to the differentiated evaluation needs of different categories of agricultural products (such as fruits, vegetables, and grains) at different stages (such as cold chain transportation and storage).
[0011] As a further aspect of the present invention: the blockchain evidence storage module defines a data structure for recording data entries, the data structure including: an identifier field, a process field, a process data hash field, a quality grade field, and a timestamp field.
[0012] By adopting the above technical solution, a unified record format is established for each data entry stored on the blockchain. This format clearly defines the data ownership (identifier field), the generation stage (stage field), the data integrity certificate (process data hash field), the quality status (quality grade field), and the occurrence time (timestamp field), ensuring that all on-chain data is stored in a structured manner, facilitating accurate retrieval, sequential organization, and integrity verification by the system.
[0013] As a further aspect of the present invention: the data acquisition module includes a physical anti-counterfeiting component, which is connected to the agricultural product entity and carries the unique identification code. Its physical structure is configured to produce an irreversible physical state change when illegally disassembled, and the data acquisition module uploads the physical state change as process data.
[0014] By employing the aforementioned technical solution, a strong binding is established between the physical component carrying a unique identifier and the actual agricultural product. When unauthorized disassembly occurs, the component's physical state undergoes an irreversible change. This change is detected and uploaded to the system as a special process data entry. This approach records the physical security event of the entity within the digital traceability chain, achieving anti-counterfeiting monitoring of the agricultural product's circulation process.
[0015] As a further aspect of the present invention: the intelligent traceability and grading system for the entire agricultural product chain further includes: a data chain construction unit, used in the blockchain evidence storage module to make the data block recording the data of the current stage include a hash pointer pointing to the data block of the previous stage.
[0016] By adopting the above technical solution, each data block recorded on the blockchain explicitly points to its directly upstream data block through an embedded hash value. This mechanism links all discrete records into a complete chain according to their actual flow sequence. When performing traceability queries, the system can use this chain structure to efficiently and reliably traverse forward or backward from any link, accurately reconstructing the complete flow path and data sequence of agricultural products from production to consumption.
[0017] As a further aspect of the present invention: the query service module provides display results for different information dimensions based on access permissions.
[0018] By adopting the above technical solution, the query service module first verifies the user's access permissions when responding to a user request. Based on preset permission rules, the system filters and reorganizes the complete traceability data chain extracted from the blockchain, generating and returning display results that match the user's permissions. This allows users with different roles to obtain the information dimensions they need within their authorized scope, ensuring data transparency and traceability while achieving access control over sensitive or detailed business data.
[0019] As a further aspect of the present invention: the intelligent traceability and grading system for the entire agricultural product chain also includes a certificate management server, which is used to issue and verify digital certificates for each participant accessing the system, and the blockchain evidence storage module verifies the legality of data operations based on the digital certificates.
[0020] By adopting the above technical solution, the system introduces a centralized certificate management server responsible for registering the identities of each participant, issuing unique digital certificates, and verifying the validity of the certificates when data is submitted. When receiving data operation requests (such as data uploads or modifications), the blockchain evidence storage module forcibly verifies the legitimacy of the requester's digital certificate. This mechanism binds each data operation to an authenticated identity, ensuring the trustworthy identity of the on-chain data submitter from the source, and establishing a reliable identity authentication foundation for the entire traceability and hierarchical system.
[0021] Compared with the prior art, the beneficial effects of the present invention are: it can integrate data from all stages and automatically complete dynamic quality grading based on real-time and historical data during circulation.
[0022] Other features and advantages of the present invention will be disclosed in detail in the following detailed description and accompanying drawings. Attached Figure Description
[0023] Figure 1 This is a schematic diagram of the data transmission process in an embodiment of the present invention; Figure 2 This is a schematic diagram of the traceability information recording and hierarchical triggering process in an embodiment of the present invention. Detailed Implementation
[0024] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0025] In this embodiment of the invention, an intelligent traceability and grading system for the entire agricultural product chain is described, see [link to relevant documentation]. Figures 1 to 2 As shown, it includes a data acquisition module, an identifier management module, a blockchain evidence storage module, a hierarchical processing module, and a query service module; The data acquisition module is used to acquire process data of agricultural products in the production, processing, storage, transportation and sales stages; The identification management module is used to generate unique identification codes for agricultural products and associate process data with the corresponding unique identification codes. The blockchain evidence storage module is used to store unique identifiers, associated process data and their hash values, forming a traceability data chain; The grading module is used to perform the following operations: when agricultural products enter at least one stage of processing, storage, transportation or sales, the quality grade of the agricultural products is calculated based on the process data of that stage and the historical data stored in the blockchain evidence storage module, using a pre-set analysis model, and the calculated quality grade is sent to the blockchain evidence storage module for storage. The query service module is used to retrieve and output the corresponding traceability data chain and all stored quality levels from the blockchain evidence storage module based on the unique identifier.
[0026] By adopting the above technical solution, the system constructs a complete workflow: the data acquisition module obtains data from each stage; the identification management module generates a unique identification code and associates it with the data; the blockchain notarization module stores the associated data and hash values into a chain; the hierarchical processing module, at a specified stage, combines the current data with historical data on the chain, calls the analysis model to calculate the quality level and sends it back to the blockchain notarization; the query service module finally obtains and outputs all relevant data and quality level records from the blockchain based on the identification code.
[0027] As a further aspect of the present invention, the unique identifier generated by the identifier management module adopts an encoding structure based on the rules of Industrial Internet Identifier (ECODE) and Object Identifier (OID).
[0028] By adopting the above technical solution, the identification code is unique across the entire network. Its hierarchical structure can represent product origin, category, batch and other attribute information. At the same time, the code conforms to the Industrial Internet Identifier Resolution System standard, which facilitates data exchange and collaborative query between different information systems.
[0029] As a further aspect of the present invention: the grading processing module includes a model library, which stores multiple analytical models trained according to different agricultural product categories and / or different stages; the grading processing module calls the corresponding analytical model from the model library to perform calculations based on the agricultural product category and the current stage.
[0030] By adopting the above technical solution, the system can automatically match and call targeted analysis models to perform calculations based on the specific type of agricultural product and its specific circulation stage. This mechanism enables the calculation of quality grades to adapt to the differentiated evaluation needs of different categories of agricultural products (such as fruits, vegetables, and grains) at different stages (such as cold chain transportation and storage).
[0031] As a further aspect of the present invention: the blockchain evidence storage module defines a data structure for recording data entries, the data structure including: an identifier field, a process field, a process data hash field, a quality grade field, and a timestamp field.
[0032] By adopting the above technical solution, a unified record format is established for each data entry stored on the blockchain. This format clearly defines the data ownership (identifier field), the generation stage (stage field), the data integrity certificate (process data hash field), the quality status (quality grade field), and the occurrence time (timestamp field), ensuring that all on-chain data is stored in a structured manner, facilitating accurate retrieval, sequential organization, and integrity verification by the system.
[0033] As a further aspect of the present invention: the data acquisition module includes a physical anti-counterfeiting component, which is connected to the agricultural product entity and carries a unique identification code. Its physical structure is configured to produce an irreversible physical state change when illegally disassembled, and the data acquisition module uploads the physical state change as process data.
[0034] By employing the aforementioned technical solution, a strong binding is established between the physical component carrying a unique identifier and the actual agricultural product. When unauthorized disassembly occurs, the component's physical state undergoes an irreversible change. This change is detected and uploaded to the system as a special process data entry. This approach records the physical security event of the entity within the digital traceability chain, achieving anti-counterfeiting monitoring of the agricultural product's circulation process.
[0035] As a further aspect of the present invention: an intelligent traceability and grading system for the entire agricultural product chain further includes: a data chain construction unit, used in the blockchain evidence storage module to make the data block recording the data of the current stage include a hash pointer pointing to the data block of the previous stage.
[0036] By adopting the above technical solution, each data block recorded on the blockchain explicitly points to its directly upstream data block through an embedded hash value. This mechanism links all discrete records into a complete chain according to their actual flow sequence. When performing traceability queries, the system can use this chain structure to efficiently and reliably traverse forward or backward from any link, accurately reconstructing the complete flow path and data sequence of agricultural products from production to consumption.
[0037] As a further aspect of the present invention: the query service module provides display results for different information dimensions based on access permissions.
[0038] By adopting the above technical solution, the query service module first verifies the user's access permissions when responding to a user request. Based on preset permission rules, the system filters and reorganizes the complete traceability data chain extracted from the blockchain, generating and returning display results that match the user's permissions. This allows users with different roles to obtain the information dimensions they need within their authorized scope, ensuring data transparency and traceability while achieving access control over sensitive or detailed business data.
[0039] As a further aspect of the present invention: an intelligent traceability and grading system for the entire agricultural product chain also includes a certificate management server, which is used to issue and verify digital certificates for each participant accessing the system, and the blockchain evidence storage module verifies the legality of data operations based on the digital certificates.
[0040] By adopting the above technical solution, the system introduces a centralized certificate management server responsible for registering the identities of each participant, issuing unique digital certificates, and verifying the validity of the certificates when data is submitted. When receiving data operation requests (such as data uploads or modifications), the blockchain evidence storage module forcibly verifies the legitimacy of the requester's digital certificate. This mechanism binds each data operation to an authenticated identity, ensuring the trustworthy identity of the on-chain data submitter from the source, and establishing a reliable identity authentication foundation for the entire traceability and hierarchical system.
[0041] This invention provides an intelligent traceability and grading system for agricultural products across the entire supply chain, which can integrate data from all stages and automatically complete dynamic quality grading based on real-time and historical data during circulation.
[0042] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the invention can be implemented in other specific forms without departing from its spirit or essential characteristics. Therefore, the embodiments should be considered in all respects as exemplary and non-limiting, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents of the claims are intended to be included within the present invention. No reference numerals in the claims should be construed as limiting the scope of the claims.
[0043] Furthermore, it should be understood that although this specification describes embodiments, not every embodiment contains only one independent technical solution. This narrative style is merely for clarity. Those skilled in the art should consider the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.
Claims
1. A smart traceability and grading system for the entire agricultural product chain, characterized in that, It includes a data acquisition module, an identification management module, a blockchain evidence storage module, a hierarchical processing module, and a query service module; The data acquisition module is used to acquire process data of agricultural products in the production, processing, storage, transportation and sales stages; The identification management module is used to generate unique identification codes for agricultural products and associate the process data with the corresponding unique identification codes; The blockchain evidence storage module is used to store the unique identifier, associated process data and their hash values to form a traceability data chain; The graded processing module is used to perform the following operations: when agricultural products enter at least one stage of processing, storage, transportation or sales, the quality grade of the agricultural products is calculated based on the process data of that stage and the historical data stored in the blockchain evidence storage module, using a preset analysis model, and the calculated quality grade is sent to the blockchain evidence storage module for storage. The query service module is used to obtain and output the corresponding traceability data chain and all stored quality levels from the blockchain evidence storage module based on the unique identifier.
2. The intelligent traceability and grading system for the entire agricultural product chain according to claim 1, characterized in that, The unique identifier generated by the identifier management module adopts an encoding structure based on the Industrial Internet Identifier (ECODE) and Object Identifier (OID) rules.
3. The intelligent traceability and grading system for the entire agricultural product chain according to claim 1, characterized in that, The grading processing module includes a model library, which stores multiple analytical models trained according to different agricultural product categories and / or different stages. The grading processing module calls the corresponding analytical model from the model library to perform calculations based on the agricultural product category and the current stage.
4. The intelligent traceability and grading system for the entire agricultural product chain according to claim 1, characterized in that, The blockchain evidence storage module defines a data structure for recording data entries. The data structure includes: an identifier field, a process field, a process data hash field, a quality grade field, and a timestamp field.
5. The intelligent traceability and grading system for the entire agricultural product chain according to claim 1, characterized in that, The data acquisition module includes a physical anti-counterfeiting component, which is connected to the agricultural product and carries the unique identification code. Its physical structure is configured to produce an irreversible physical state change when illegally disassembled. The data acquisition module uploads the physical state change as process data.
6. The intelligent traceability and grading system for the entire agricultural product chain according to claim 1, characterized in that, The aforementioned intelligent traceability and grading system for agricultural products also includes a data chain construction unit, which is used in the blockchain evidence storage module to ensure that the data block recording the data of the current stage contains a hash pointer pointing to the data block of the previous stage.
7. The intelligent traceability and grading system for the entire agricultural product chain according to claim 1, characterized in that, The query service module provides display results for different information dimensions based on access permissions.
8. The intelligent traceability and grading system for the entire agricultural product chain according to claim 1, characterized in that, The aforementioned intelligent traceability and grading system for the entire agricultural product chain also includes a certificate management server, which is used to issue and verify digital certificates to each participant accessing the system. The blockchain evidence storage module verifies the legality of data operations based on the digital certificates.