Insecticide supply chain data management system and method based on block chain
By using a dual-chain blockchain data structure and pheromone verification mechanism, the problems of long query response time and data tampering risk in pesticide supply chain data management have been solved, enabling rapid responsibility identification and trusted authentication, and eliminating complex fraudulent activities.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-13
- Publication Date
- 2026-04-03
AI Technical Summary
Existing pesticide supply chain data management systems have long query response times when tracing the responsibility or status of specific links, lack verification of the authenticity and path rationality of data flowing off-chain and before being uploaded to the chain, and are unable to cope with the risks of data tampering and path forgery in intermediate links.
It adopts a blockchain-based dual-chain data structure, including a sovereign chain and a trait chain. It generates needle-shaped pheromones through a pheromone verification mechanism to build a rigid-flexible defense line, ensuring the immutability and trustworthy authentication of data. Combined with an inspection anchor mechanism, it enables rapid location of responsible nodes.
It enables trusted authentication of the pesticide supply chain path, eliminates mid-process substitution and data forgery, reduces the complexity of traceability analysis, and supports rapid responsibility identification and problem investigation.
Smart Images

Figure CN121788049A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of pesticide supply chain technology, specifically to a blockchain-based pesticide supply chain data management system and method. Background Technology
[0002] In the existing field of pesticide supply chain data management, blockchain-based traceability technology has been widely explored and applied. Traditional solutions typically use a single chain data structure to linearly record all information such as changes in ownership, environmental parameters, and operation records during the product flow process in chronological order in a distributed ledger. However, while this architecture ensures the immutability of on-chain data through cryptographic hashing, it reveals significant limitations in practical applications. First, when tracing responsibility or status at a specific stage is required, the system must sequentially traverse and parse all data on the entire chain. This leads to a linear increase in query response time when there are many stages in the supply chain, making it difficult to meet the real-time requirements of supervision. Second, since all data is stored mixed on a single chain, there is a lack of explicit correlation mechanisms between key responsibility transfer nodes and massive amounts of status data, complicating the problem localization process and severely restricting audit efficiency. Furthermore, existing technologies focus on ensuring the integrity of data after it is on-chain, but lack effective means to verify the authenticity and path rationality of data during off-chain circulation and before it is on-chain, making it difficult to cope with the risks of data tampering and path forgery that may exist in complex supply chain scenarios. Therefore, developing a blockchain-based pesticide supply chain data management system is of great significance. Summary of the Invention
[0003] The purpose of this invention is to provide a blockchain-based pesticide supply chain data management system and method to address the shortcomings in the prior art.
[0004] To achieve the above objectives, the present invention provides the following technical solution: a blockchain-based pesticide supply chain data management system, comprising: Virtual warehouse management module: used to build virtual warehouses for products of all participants in the pesticide supply chain in the cloud, and to build data transmission channels for the virtual warehouses of products of all participants in the pesticide supply chain; Data DNA Management Module: Connected to the Virtual Warehouse Management Module, it is used to build a dual-chain data structure for product virtual warehouses, where the dual-chain unit includes a sovereign chain and a trait chain; Pheromone verification module: Connected to the data DNA management module, it generates needle-shaped pheromones based on dynamic data generated during pesticide production and supply, and configures the needle-shaped pheromones into the data transmission channel; Blockchain evidence storage module: Connected to the pheromone verification module, it is used to build and maintain a distributed ledger and store the dual-chain data structure in the pesticide supply chain through a consensus mechanism; Business Interface Module: Connects to the blockchain evidence storage module, generates a data access interface based on the distributed ledger, and is used by each participant to access the distributed ledger based on access permissions.
[0005] In a preferred embodiment, the virtual warehouse management module includes: The product storage unit collects company data from all participants in the pesticide supply chain and uses the company data to generate virtual product storage locations for each participant in the pesticide supply chain based on digital twin technology. The data transmission channel construction unit is used to build a data transmission channel between multiple product virtual warehouses and to set up multiple mapping interfaces inside the data transmission channel.
[0006] In a preferred embodiment, the data DNA management module includes: Sovereign chain building units are used to generate and link sovereign chain units, and each sovereign chain unit records a change of custody rights. Trait chain building unit, used to generate and link trait chain units, each trait chain unit records a state event data of the pesticide product; The dual-chain link unit performs a snapshot operation each time a new sovereign chain unit is created, capturing the hash value of the last end of the current statistic chain and writing it into the new sovereign chain unit as a check anchor. The state locking unit is used to generate a global state fingerprint by taking the complete hash value of the new sovereign chain unit containing all the inspection anchors when the sovereign chain building unit creates a new sovereign chain unit. The dual-chain hash calculation unit calculates the complete state hash value of the current dual-chain data structure after the dual-chain data structure of a product virtual warehouse is constructed.
[0007] In a preferred embodiment, the pheromone verification module includes: The dynamic data acquisition unit is used to collect dynamic data on the flow of pesticides among various participants in the supply chain and extract feature vectors from the dynamic data based on feature extraction algorithms. The pheromone generation unit divides the feature vector of dynamic data at a preset period and converts it into the corresponding feature hash value; The channel configuration unit generates needle-shaped pheromones based on the feature hash values within a preset period, and sends the needle-shaped pheromones to the mapping interface inside the data transmission channel in a periodic time sequence. The product virtual warehouse maps a dual-chain copy of the dual-chain data structure, and the original dual-chain data structure is transferred to the next product virtual warehouse based on the data transmission channel; During the transmission process, the double-chain copy comes into contact with the needle-shaped pheromone. The needle-shaped pheromone injects the pheromone it carries into the original double-chain data structure according to the periodic temporal sequence to generate an enhanced double-chain data structure. The Information Standards Library unit is used to build an information standards library and verify whether the pesticide supply chain complies with information standards based on the information standards library.
[0008] In a preferred embodiment, the information standard library unit includes: Collect historical dynamic data of the pesticide supply chain, and construct information standards for the pesticide supply chain based on the historical dynamic data of the pesticide supply chain. The information standards include quality standards, environmental standards and timeliness standards. The generated information standards are stored in the information standards library for real-time verification of the compliance of dynamic data generated by pesticides as they circulate in the supply chain.
[0009] In a preferred embodiment, the blockchain evidence storage module includes: The node management unit is used to manage the access authentication and permission allocation of supply chain participant nodes and regulatory nodes; The consensus execution unit creates a consensus mechanism and achieves consistency of the ledger state among distributed nodes based on the consensus mechanism. The smart contract unit deploys and executes supply chain business logic contracts, which include product registration contracts, ownership transfer contracts, and pheromone verification contracts. The hash anchoring unit receives the global state fingerprint, the complete state hash value, and the enhanced dual-chain data structure, and stores them in the distributed ledger through a consensus mechanism.
[0010] In a preferred embodiment, the service interface module includes: The responsibility and accountability traceability interface is used to provide a query of the transfer of custody rights based on the sovereign chain and return a supply chain responsibility and accountability transfer report; The full-state traceability interface is used to provide full lifecycle data query of the enhanced dual-chain data structure and return a complete product lifecycle report; The regulatory audit interface provides regulatory agencies with access-based data access channels to support auditing of the entire supply chain. The authenticity verification interface is used to receive consumer scanning requests and, by comparing the pheromone fingerprint stored on the blockchain, return the product's authenticity status and core traceability information.
[0011] This invention also provides a blockchain-based method for managing pesticide supply chain data, comprising: A virtual warehouse management module is built to create virtual warehouses for each participant in the pesticide supply chain in the cloud, and to build a data transmission channel for the virtual warehouses of each participant in the pesticide supply chain. A data DNA management module is constructed to build a dual-chain data structure for product virtual warehouses, where the dual-chain unit includes a sovereign chain and a trait chain; A pheromone verification module is constructed to generate needle-shaped pheromones based on dynamic data generated during the production and supply of pesticides, and the needle-shaped pheromones are configured into the data transmission channel; A blockchain-based evidence storage module is constructed to build and maintain a distributed ledger, storing a dual-chain data structure in the pesticide supply chain through a consensus mechanism. Build a business interface module to generate data access interfaces based on the distributed ledger, which are used by each participant to access the distributed ledger based on access permissions.
[0012] The technical effects and advantages provided by the present invention in the above technical solution are as follows: 1. This invention achieves a paradigm shift in the anti-tampering capabilities of pesticide supply chain data by constructing a rigid-flexible dual-track trusted data defense line. The data DNA dual-chain structure establishes a rigid defense line at the data level. Through the mutual locking of the sovereign chain and the property chain, the correlation and immutability of data at the static level are ensured. Any modification to the history will lead to the breakage of the chain structure. Meanwhile, pheromone verification establishes a flexible defense line. During the dynamic flow process, data packets are marked with continuous trust imprints based on spatiotemporal and behavioral patterns, forming a unique data fingerprint. The combination of the two enables the system to not only prove what the data is, but also how the data was generated step by step, realizing trusted authentication of the entire pesticide supply chain path and effectively preventing complex fraudulent behaviors such as mid-way substitution and data forgery. 2. This invention, through the dual-chain link unit in the data DNA management module, creates an inspection anchor point each time custody rights change, precisely binding the sovereign chain unit with the status chain state at the corresponding moment. Compared to traditional blockchain traceability which requires linear traversal of all transaction records, this system supports rapid jump positioning along the sovereign chain. Furthermore, when it is necessary to trace a specific link, the system can directly locate the relevant responsibility transfer node through the index relationship established by the inspection anchor point, avoiding the traversal and analysis of the entire data. At the same time, the inspection anchor point mechanism establishes a clear status mark when custody rights are transferred, allowing responsibility definition and problem investigation to directly focus on specific links. Regulatory agencies or auditors can quickly determine the time window and responsible party for the problem, significantly reducing the complexity of traceability analysis. Attached Figure Description
[0013] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this invention. For those skilled in the art, other drawings can be obtained based on these drawings.
[0014] Figure 1 This is a system flowchart of the present invention.
[0015] Figure 2 This is a flowchart of the method of the present invention.
[0016] Figure 3 This is a logic block diagram of the present invention. Detailed Implementation
[0017] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, 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, 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.
[0018] Example 1, please refer to Figure 1 and Figure 2 As shown in this embodiment, a blockchain-based pesticide supply chain data management system includes: Virtual warehouse management module: used to build virtual warehouses for products of all participants in the pesticide supply chain in the cloud, and to build data transmission channels for the virtual warehouses of products of all participants in the pesticide supply chain; Data DNA Management Module: Connected to the Virtual Warehouse Management Module, it is used to build a dual-chain data structure for product virtual warehouses, where the dual-chain unit includes a sovereign chain and a trait chain; Pheromone verification module: Connected to the data DNA management module, it generates needle-shaped pheromones based on dynamic data generated during pesticide production and supply, and configures the needle-shaped pheromones into the data transmission channel; Blockchain evidence storage module: Connected to the pheromone verification module, it is used to build and maintain a distributed ledger and store the dual-chain data structure in the pesticide supply chain through a consensus mechanism; Business Interface Module: Connects to the blockchain evidence storage module, generates a data access interface based on the distributed ledger, and is used by each participant to access the distributed ledger based on access permissions; Furthermore, in the existing field of pesticide supply chain data management, blockchain-based traceability technology has been widely explored and applied. Traditional solutions typically use a single chain data structure to linearly record all information such as changes in ownership, environmental parameters, and operation records during the product circulation process in chronological order in a distributed ledger. However, while this architecture ensures the immutability of on-chain data through cryptographic hashing, it reveals significant limitations in practical applications. First, when tracing responsibility or status at a specific stage is required, the system must sequentially traverse and parse all data on the entire chain. This leads to a linear increase in query response time when there are many stages in the supply chain, making it difficult to meet the real-time requirements of supervision. Second, since all data is stored mixed on a single chain, there is a lack of explicit correlation mechanisms between key responsibility transfer nodes and massive amounts of status data, complicating the problem localization process and severely restricting audit efficiency. Furthermore, existing technologies focus on ensuring the integrity of data after it is on-chain, but lack effective means to verify the authenticity and path rationality of data during off-chain circulation and before it is on-chain, making it difficult to cope with the risks of data tampering and path forgery that may exist in complex supply chain scenarios. This invention achieves a paradigm shift in the anti-tampering capabilities of pesticide supply chain data by constructing a rigid-flexible dual-track trusted data defense line. The data DNA dual-chain structure establishes a rigid defense line at the data level. Through the mutual locking of the sovereign chain and the trait chain, the correlation and immutability of data at the static level are ensured. Any modification to the history will lead to the breakage of the chain structure. On the other hand, pheromone verification establishes a flexible defense line. During the dynamic flow process, data packets are marked with continuous trust imprints based on spatiotemporal and behavioral patterns, forming a unique data fingerprint. The combination of the two enables the system to not only prove what the data is, but also how the data was generated step by step, realizing trusted authentication of the entire pesticide supply chain path and effectively preventing complex fraudulent behaviors such as mid-way substitution and data forgery. By using the dual-chain linking unit in the data DNA management module, an inspection anchor is created each time custody rights change, precisely binding the sovereign chain unit with the status chain state at the corresponding moment. Compared to traditional blockchain traceability which requires linear traversal of all transaction records, this system supports rapid jumps and positioning along the sovereign chain. Furthermore, when it is necessary to trace a specific link, the system can directly locate the relevant responsibility transfer node through the index relationship established by the inspection anchor, avoiding the need for traversing and analyzing the entire dataset. At the same time, the inspection anchor mechanism establishes a clear status marker when custody rights are transferred, allowing responsibility definition and problem investigation to directly focus on specific links. Regulatory agencies or auditors can quickly determine the time window and responsible party for the problem, significantly reducing the complexity of traceability analysis.
[0019] In one embodiment, the virtual warehouse management module includes: The product storage unit collects company data from all participants in the pesticide supply chain and uses the company data to generate virtual product storage locations for each participant in the pesticide supply chain based on digital twin technology. The data transmission channel construction unit is used to build a data transmission channel between multiple product virtual warehouses and to set up multiple mapping interfaces inside the data transmission channel; Furthermore, the product storage unit integrates with the enterprise resource planning (ERP), manufacturing execution system (MES), and warehouse management system of various supply chain participants through predefined API interfaces. This involves collecting structured and unstructured company data, including but not limited to the enterprise's unified social credit code, production license number, warehouse GPS coordinates, and temperature and humidity monitoring system interface addresses. The acquired data is used as model data, and based on digital twin technology, it is transformed into a virtual entity corresponding to the physical product, serving as the virtual product storage location. Specifically, this process includes generating a globally unique digital identifier for each batch of products and allocating independent computing resources within a containerized cloud service such as Docker containers. The storage resources construct a JSON-LD format data model containing static product attributes such as chemical composition and production date, and dynamic statuses such as real-time location and environmental data. This model maintains bidirectional data synchronization with the underlying enterprise system through a transmission protocol, thereby achieving accurate digital mapping and real-time monitoring of the entire lifecycle of physical products. The data transmission channel construction unit is based on SDN technology. When a logical upstream and downstream relationship is detected between two virtual warehouses, such as from a manufacturer's warehouse to a logistics provider's warehouse, a secure point-to-point data transmission channel is dynamically triggered. Simultaneously, within the channel, this unit deploys multiple lightweight interface mappers. The mapper is essentially a microservice gateway, such as one developed based on Nginx Lua modules or EnvoyFilter. It maintains a routing table and data format conversion rules. When data packets flow through, the mapping interface performs protocol conversion and data serialization, and accurately routes the data packets to the specific processing endpoint of the target virtual warehouse based on preset metadata. This builds a reliable and auditable data pipeline for subsequent pheromone verification and data synchronization in a complex distributed cloud environment.
[0020] In one embodiment, the data DNA management module includes: Sovereign chain building units are used to generate and link sovereign chain units, and each sovereign chain unit records a change of custody rights. Trait chain building unit, used to generate and link trait chain units, each trait chain unit records a state event data of the pesticide product; The dual-chain link unit performs a snapshot operation each time a new sovereign chain unit is created, capturing the hash value of the last end of the current statistic chain and writing it into the new sovereign chain unit as a check anchor. The state locking unit is used to generate a global state fingerprint by taking the complete hash value of the new sovereign chain unit containing all the inspection anchors when the sovereign chain building unit creates a new sovereign chain unit. The dual-chain hash calculation unit calculates the complete state hash value of the current dual-chain data structure after the dual-chain data structure of a product virtual warehouse is constructed. Furthermore, the sovereign chain building unit adopts a chain-like data structure to record changes in custody rights. Each sovereign chain unit's core fields include the current custodian's digital identity, a high-precision timestamp indicating the change's effectiveness, and a cryptographic hash pointer to the previous sovereign chain unit. When a unit is generated, both the transferring and receiving parties must perform dual digital signatures using an asymmetric encryption algorithm. All units are sequentially linked through forward hash pointers to form an append-only unidirectional chain structure. Once a new sovereign chain unit is generated, it is immediately broadcast to all network nodes and its legitimacy is verified by the consensus mechanism. The property chain building unit is responsible for constructing a product state event sequence chain. Each property chain unit records a specific event type code, event-related structured data, event timestamp and geographical coordinates, and the operator's digital identity. Environmental state data, such as temperature and humidity, is periodically collected by IoT sensors and automatically generates corresponding property chain units. All units are sequentially linked through cryptographic hashes to ensure data continuity. Simultaneously, the property chain supports high-frequency data writing and establishes an immutable time sequence record for each state change. The dual-chain linking unit initiates a snapshot operation each time a new sovereign chain unit is created. This unit first locks the write permission for the current property chain and then reads the property chain. The complete content of the last valid unit at the end is used to calculate its fixed-length hash value using a secure hash algorithm. This hash value is then written as a key field into the predefined structure of the new sovereign chain unit being built. After writing, the status chain lock is immediately released and a dual-chain association proof is generated. The state locking unit initiates the processing flow after all fields are filled in the new sovereign chain unit. This unit first verifies the compliance of the data format of all check anchors within the unit, then extracts the complete byte sequence of the sovereign chain unit and calculates its digital fingerprint using the same hash algorithm as the blockchain. The generated global state fingerprint includes a timestamp and version identifier, and is then submitted to the blockchain network for distributed notarization, forming a key anchor for cross-chain data consistency. The dual-chain hash calculation unit is executed when a specific business node triggers global state verification. During implementation, this unit recursively calculates the combined hash value of all valid units in the sovereign chain and status chain using a Merkle tree structure. The calculation process starts from the head of both chains, merging the hash outputs of adjacent units in chronological order, and finally generating a root hash value representing the current complete state of the entire dual-chain data structure. The root hash will be stored and verified as the final credential of the system's state integrity.
[0021] In one embodiment, the pheromone verification module includes: The dynamic data acquisition unit is used to collect dynamic data on the flow of pesticides among various participants in the supply chain and extract feature vectors from the dynamic data based on feature extraction algorithms. The pheromone generation unit divides the feature vector of dynamic data at a preset period and converts it into the corresponding feature hash value; The channel configuration unit generates needle-shaped pheromones based on the feature hash values within a preset period, and sends the needle-shaped pheromones to the mapping interface inside the data transmission channel in a periodic time sequence. The product virtual warehouse maps a dual-chain copy of the dual-chain data structure, and the original dual-chain data structure is transferred to the next product virtual warehouse based on the data transmission channel; During the transmission process, the double-chain copy comes into contact with the needle-shaped pheromone. The needle-shaped pheromone injects the pheromone it carries into the original double-chain data structure according to the periodic temporal sequence to generate an enhanced double-chain data structure. The information standard library unit is used to build an information standard library and verify whether the pesticide supply chain complies with information standards based on the information standard library. Furthermore, the dynamic data acquisition unit continuously acquires flowing data through IoT sensor nodes deployed at various stages of the supply chain and interfaces with business systems. This unit integrates multiple communication protocols to directly connect to devices such as temperature sensors, humidity detectors, and GPS positioning modules. Simultaneously, it accesses the business event flow of the order management system and warehouse management system via the enterprise service bus. All collected raw data undergoes outlier filtering and format standardization by the data cleaning module, forming a standardized data sequence with a unified timestamp, providing a high-quality data source for subsequent feature extraction. The pheromone generation unit uses a sliding time window mechanism to periodically segment the input feature vector. The multidimensional feature vector within each time window is first normalized, then dimensionality reduced using principal component analysis to retain the most discriminative feature components. The dimensionality-reduced feature matrix is processed by a hash function to generate a fixed-length feature hash value. This hash value, combined with the time window identifier, constitutes the basic elements of the pheromone, ensuring that each pheromone has temporal uniqueness and data representativeness. The channel configuration unit creates an independent needle-shaped pheromone data structure for each feature hash value generated within a preset time window. Each needle-shaped pheromone is a self-contained data entity, and its core structure includes a time window. After constructing the needle-shaped pheromone, the precise start and end timestamps, and the unique feature hash value calculated within this window are used. Through a high-concurrency remote procedure call framework, each independent needle-shaped pheromone object is sent to the mapping interface of the target data transmission channel. Upon receiving the object, the mapping interface treats each needle-shaped pheromone as a discrete unit and stores it sequentially within a circular buffer in the channel's memory according to its time window. A fast index hash table based on the timestamp range is also created for each needle-shaped pheromone in the buffer. This ensures that data packets can accurately and in real-time match with needle-shaped pheromones within a specific time window as they flow through the channel. Collision verification provides support; When the product virtual warehouse needs to transmit data, the data augmentation process first creates a complete copy of the current dual-chain data structure and stores the complete copy in the corresponding product virtual warehouse. Then, the original dual-chain data structure enters the data transmission channel through a secure tunnel. During the transmission process, it will pass through the pheromone checkpoints set by each mapping interface in sequence. At each checkpoint, the original dual-chain data structure will interact with the needle-shaped pheromone of the corresponding time period. The needle-shaped pheromone will embed the feature hash into the hash field of the original dual-chain data structure in the form of a digital watermark, and finally form an enhanced dual-chain data structure containing complete path verification information.The Information Standards Library unit establishes multi-dimensional evaluation standards by analyzing historical compliance data using machine learning algorithms. This unit uses cluster analysis to identify distribution patterns in normal operational data, determines control limits for various parameters through statistical process control, and formulates logical rules for environmental standards and timeliness requirements based on expert experience. All standards are stored in the Information Standards Library as executable code, capable of real-time parsing of pheromone sequences in enhanced double-chain data structures and automatically outputting evaluation reports that conform to the standard verification conclusions.
[0022] In one embodiment, the information standard library unit includes: Collect historical dynamic data of the pesticide supply chain, and construct information standards for the pesticide supply chain based on the historical dynamic data of the pesticide supply chain. The information standards include quality standards, environmental standards and timeliness standards. The generated information standards are stored in the information standards library for real-time verification of the compliance of dynamic data generated by pesticides in the supply chain. Furthermore, the information standard library unit continuously acquires dynamic data of the entire pesticide supply chain from the enterprise's historical database and IoT device logs through a data acquisition interface. It uses a distributed computing framework to process massive amounts of historical data in batches. First, data cleaning and feature engineering are performed to extract key quality indicators such as active ingredient content, environmental parameters such as transportation temperature and humidity curves, and processing time records for each stage. Based on the dynamic data, statistical process control algorithms automatically calculate the normal fluctuation range of quality parameters, use cluster analysis to determine reasonable thresholds for environmental conditions, and establish timeliness benchmarks for transportation and storage through time series analysis. All benchmarks are then formally encoded, compiled by a rule engine, and stored in a high-performance storage environment to transform them into information standards. These information standards include numerical comparison rules, logical judgment rules, and time-series constraint rules, and are stored in the information standard library. During real-time verification, the rule engine in the information standard library parses the dynamic data in the enhanced double-chain data structure and automatically matches it with predefined standards. When data deviates from the standard threshold, a multi-level early warning mechanism is immediately triggered, and a compliance report containing specific violation indicators is generated.
[0023] In one embodiment, the blockchain evidence storage module includes: The node management unit is used to manage the access authentication and permission allocation of supply chain participant nodes and regulatory nodes; The consensus execution unit creates a consensus mechanism and achieves consistency of the ledger state among distributed nodes based on the consensus mechanism. The smart contract unit deploys and executes supply chain business logic contracts, which include product registration contracts, ownership transfer contracts, and pheromone verification contracts. The hash anchoring unit receives the global state fingerprint, the complete state hash value, and the enhanced dual-chain data structure, and stores them into the distributed ledger through a consensus mechanism; Furthermore, the node management unit, based on the public key infrastructure (PKI) system, implements node access authentication and permission allocation, generating a unique digital identity certificate for each supply chain participant and regulatory agency, and distinguishing node types and permission levels through the organizational unit field in the certificate. The node management unit uses an attribute-based access control model to dynamically manage nodes' read and write permissions to the ledger data, and establishes a certificate revocation list mechanism to handle abnormal nodes in real time. The consensus execution unit uses an improved Byzantine fault-tolerant algorithm to establish a distributed consensus mechanism, achieving ledger consistency through a three-phase protocol including proposal collection, verification preparation, and execution submission. Each verification node must perform legality checks on received transactions, including digital signature verification and business logic validation. Only after obtaining the signatures of more than two-thirds of the nodes can the transactions be batch-packaged to generate new blocks, and the network-wide state synchronization is completed through the Gossip protocol. The smart contract unit uses a dedicated compiler to process supply chain business... The logic contract is converted from high-level language source code to Ethereum Virtual Machine bytecode. During deployment, a contract factory pattern is used to generate smart contract instances with version management. For example, the product registration contract verifies the product's digital identity and generates initial notarization; the ownership transfer contract verifies the signatures of both parties and executes the change of custody status; and the pheromone verification contract parses the verification parameters in the enhanced dual-chain data structure and outputs compliance judgment results. The hash anchoring unit uses an event listener to capture in real time the global state fingerprint and complete state hash value submitted by the data DNA management module, as well as the enhanced dual-chain data structure generated by the pheromone verification module. This unit uses a Merkle tree structure to batch process these multi-source hash values, generating a unified root hash value. This root hash is then assembled with associated metadata into a standard transaction structure, digitally signed, and broadcast to the consensus network. Finally, it is permanently written into the distributed ledger through a block confirmation mechanism, achieving immutable notarization of key data.
[0024] In one embodiment, the business interface module includes: The responsibility and accountability traceability interface is used to provide a query of the transfer of custody rights based on the sovereign chain and return a supply chain responsibility and accountability transfer report; The full-state traceability interface is used to provide full lifecycle data query of the enhanced dual-chain data structure and return a complete product lifecycle report; The regulatory audit interface provides regulatory agencies with access-based data access channels to support auditing of the entire supply chain. The authenticity verification interface is used to receive consumer scanning requests and return the product's authenticity status and core traceability information by comparing the pheromone fingerprint stored on the blockchain. Furthermore, the responsibility traceability interface of the business interface module directly accesses the sovereign chain data on the blockchain through a lightweight query protocol. Based on a time range indexing mechanism, it quickly locates and connects all custody right change records for a specific product, ultimately automatically generating a structured responsibility transfer report. This report identifies the responsible party and the time node for each transfer. The full-state traceability interface uses graph database technology to deeply analyze the enhanced dual-chain data structure. Through a parallel query engine, it synchronously obtains the custody right path of the sovereign chain and the environmental state sequence of the property chain, integrating discrete data points into a product life history report with complete spatiotemporal dimensions. This report includes multi-dimensional information such as event timelines, environmental parameter curves, and key operation records. The regulatory audit interface uses the OAuth protocol to authenticate regulatory nodes and grants them cross-organizational data access capabilities through dynamic permission policies. This interface uses streaming data processing technology to monitor the entire supply chain process in real time, while providing multi-dimensional statistical analysis tools and audit clue tracking functions to support regulatory agencies in conducting penetrating audits. The authenticity verification interface is deployed on edge computing nodes to ensure low-latency response. When a consumer's scanning request is received, the interface immediately extracts the product identifier and initiates a verification transaction to the blockchain network. The smart contract cryptographically compares the current pheromone fingerprint with the original value stored on the chain and returns core traceability information including the authenticity judgment result, a brief overview of production traceability, and the quality certification status.
[0025] Example 2, please refer to Figure 2 As shown in this embodiment, a blockchain-based pesticide supply chain data management method includes: The virtual warehouse management module is used to build virtual warehouses for products of all participants in the pesticide supply chain in the cloud, and to build data transmission channels for the virtual warehouses of products of all participants in the pesticide supply chain. A data DNA management module is constructed to build a dual-chain data structure for product virtual warehouses, where the dual-chain unit includes a sovereign chain and a trait chain; A pheromone verification module is constructed to generate needle-shaped pheromones based on dynamic data generated during the production and supply of pesticides, and the needle-shaped pheromones are configured into the data transmission channel; A blockchain-based evidence storage module is constructed to build and maintain a distributed ledger, storing a dual-chain data structure in the pesticide supply chain through a consensus mechanism. Build a business interface module to generate a data access interface based on the distributed ledger, which is used by each participant to access the distributed ledger based on access permissions; The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A blockchain-based pesticide supply chain data management system, characterized in that, Virtual warehouse management module: used to build virtual warehouses for products of all participants in the pesticide supply chain in the cloud, and to build data transmission channels for the virtual warehouses of products of all participants in the pesticide supply chain; Data DNA Management Module: Connected to the Virtual Warehouse Management Module, it is used to build a dual-chain data structure for product virtual warehouses, where the dual-chain unit includes a sovereign chain and a trait chain; Pheromone verification module: Connected to the data DNA management module, it generates needle-shaped pheromones based on dynamic data generated during pesticide production and supply, and configures the needle-shaped pheromones into the data transmission channel; Blockchain evidence storage module: Connected to the pheromone verification module, it is used to build and maintain a distributed ledger and store the dual-chain data structure in the pesticide supply chain through a consensus mechanism; Business Interface Module: Connects to the blockchain evidence storage module, generates a data access interface based on the distributed ledger, and is used by each participant to access the distributed ledger based on access permissions.
2. The pesticide supply chain data management system based on blockchain according to claim 1, characterized in that, The virtual warehouse management module includes: The product storage unit collects company data from all participants in the pesticide supply chain and uses the company data to generate virtual product storage locations for each participant in the pesticide supply chain based on digital twin technology. The data transmission channel construction unit is used to build a data transmission channel between multiple product virtual warehouses and to set up multiple mapping interfaces inside the data transmission channel.
3. The pesticide supply chain data management system based on blockchain according to claim 1, characterized in that, The data DNA management module includes: Sovereign chain building units are used to generate and link sovereign chain units, and each sovereign chain unit records a change of custody rights. Trait chain building unit, used to generate and link trait chain units, each trait chain unit records a state event data of the pesticide product; The dual-chain link unit performs a snapshot operation each time a new sovereign chain unit is created, capturing the hash value of the last end of the current statistic chain and writing it into the new sovereign chain unit as a check anchor. The state locking unit is used to generate a global state fingerprint by taking the complete hash value of the new sovereign chain unit containing all the inspection anchors when the sovereign chain building unit creates a new sovereign chain unit. The dual-chain hash calculation unit calculates the complete state hash value of the current dual-chain data structure after the dual-chain data structure of a product virtual warehouse is constructed.
4. The pesticide supply chain data management system based on blockchain according to claim 1, characterized in that, The pheromone verification module includes: The dynamic data acquisition unit is used to collect dynamic data on the flow of pesticides among various participants in the supply chain and extract feature vectors from the dynamic data based on feature extraction algorithms. The pheromone generation unit divides the feature vector of dynamic data at a preset period and converts it into the corresponding feature hash value; The channel configuration unit generates needle-shaped pheromones based on the feature hash values within a preset period, and sends the needle-shaped pheromones to the mapping interface inside the data transmission channel in a periodic time sequence. The product virtual warehouse maps a dual-chain copy of the dual-chain data structure, and the original dual-chain data structure is transferred to the next product virtual warehouse based on the data transmission channel; During the transmission process, the double-chain replica comes into contact with the needle-shaped pheromone. The needle-shaped pheromone injects the pheromone it carries into the original double-chain data structure according to the periodic temporal sequence to generate an enhanced double-chain data structure. The Information Standards Library unit is used to build an information standards library and verify whether the pesticide supply chain complies with information standards based on the information standards library.
5. A blockchain-based pesticide supply chain data management system according to claim 4, characterized in that, The information standard library unit includes: Collect historical dynamic data of the pesticide supply chain, and construct information standards for the pesticide supply chain based on the historical dynamic data of the pesticide supply chain. The information standards include quality standards, environmental standards and timeliness standards. The generated information standards are stored in the information standards library for real-time verification of the compliance of dynamic data generated by pesticides as they circulate in the supply chain.
6. A blockchain-based pesticide supply chain data management system according to claim 4, characterized in that, The blockchain evidence storage module includes: The node management unit is used to manage the access authentication and permission allocation of supply chain participant nodes and regulatory nodes; The consensus execution unit creates a consensus mechanism and achieves consistency of the ledger state among distributed nodes based on the consensus mechanism. The smart contract unit deploys and executes supply chain business logic contracts, which include product registration contracts, ownership transfer contracts, and pheromone verification contracts. The hash anchoring unit receives the global state fingerprint, the complete state hash value, and the enhanced dual-chain data structure, and stores them in the distributed ledger through a consensus mechanism.
7. A blockchain-based pesticide supply chain data management system according to claim 4, characterized in that, The business interface module includes: The responsibility and accountability traceability interface is used to provide a query of the transfer of custody rights based on the sovereign chain and return a supply chain responsibility and accountability transfer report; The full-state traceability interface is used to provide full lifecycle data query of the enhanced dual-chain data structure and return a complete product lifecycle report; The regulatory audit interface provides regulatory agencies with access-based data access channels to support auditing of the entire supply chain. The authenticity verification interface is used to receive consumer scanning requests and, by comparing the pheromone fingerprint stored on the blockchain, return the product's authenticity status and core traceability information.
8. A blockchain-based pesticide supply chain data management method, used to implement the blockchain-based pesticide supply chain data management system according to any one of claims 1-7, characterized in that, A virtual warehouse management module is built to create virtual warehouses for each participant in the pesticide supply chain in the cloud, and to build a data transmission channel for the virtual warehouses of each participant in the pesticide supply chain. A data DNA management module is constructed to build a dual-chain data structure for product virtual warehouses, where the dual-chain unit includes a sovereign chain and a trait chain; A pheromone verification module is constructed to generate needle-shaped pheromones based on dynamic data generated during the production and supply of pesticides, and the needle-shaped pheromones are configured into the data transmission channel; A blockchain-based evidence storage module is constructed to build and maintain a distributed ledger, storing a dual-chain data structure in the pesticide supply chain through a consensus mechanism. Build a business interface module to generate data access interfaces based on the distributed ledger, which are used by each participant to access the distributed ledger based on access permissions.