Abstract

In the specific application scenario of pepper product supply chain traceability, with the advancement of pepper product production, the expansion of links, and the increase of nodes, the quantity of data will become more and more enormous. The single-chain model is less efficient for querying if the data are all stored into the same blockchain. In order to improve the efficiency of blockchain data querying, this paper proposes a traceability model with one main chain and multiple side chain structures, which separate the uplinked data from each link and use multi-chain transactions to improve the efficiency of data queries. This model builds an indexing mechanism with a product traceability code, using one main chain and multiple side chains. The main and side chains form a one-to-many mapping relationship, storing the mapping relationship between the traceability code and the transaction address of the side chain traceability information in the main chain. This enables information to travel through the main chain traversal query based on the mapping relationship and then query the direct index out of the side chain, to achieve fast traceability query and improve the efficiency of querying.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.