Data storage and query optimization for Blockchain-based agricultural supply chains using storage light nodes
- PMID: 40993185
- DOI: 10.1038/s41598-025-17258-w
Data storage and query optimization for Blockchain-based agricultural supply chains using storage light nodes
Abstract
The agricultural product supply chain comprises numerous links, generates a substantial amount of data, and is susceptible to high data loss rates, posing significant challenges to data management and traceability. While ensuring data integrity, the high redundancy storage of blockchain increases resource consumption and limits the participation of resource-constrained nodes. To address this gap, we propose a Storage Light Node (SLN) model for the characteristics of the agricultural supply chain. This model integrates a cold/hot data classification mechanism based on identity relevance, generation time, and query frequency, and realizes the selective local storage of high-priority data. A query optimization strategy based on Bloom filters was designed, which accelerated the speed of data retrieval. Experiments using 50,563 real records from the agricultural product supply chain show that compared with the full node, SLN reduces the storage usage by 95.10%, and the average query time is 30.91 ms, which is much faster than the traditional light node. This model provides a scalable and efficient solution for blockchain-based agricultural traceability.
Keywords: Agricultural product supply chain; Blockchain; Light node; Query optimization; Storage model.
© 2025. The Author(s).
Conflict of interest statement
Declarations. Competing interests: The authors declare no competing interests.
References
-
- Ahumada, O. & Villaobos, J. R. Application of planning models in the agri-food supply chain: A review. Eur. J. Oper. Res. 196, 1–20. https://doi.org/10.1016/j.ejor.2008.02.014 (2009). - DOI
-
- Peng, X. et al. A review on blockchain smart contracts in the agri-food industry: current state, application challenges and future trends. Comput. Electron. Agric. 208, 107776. https://doi.org/10.1016/j.compag.2023.107776 (2023). - DOI
-
- Bosona, T. & Gebresenbet, G. J. S. The role of blockchain technology in promoting traceability systems in agri-food production and supply chains. Sensors 23, 5342. https://doi.org/10.3390/s23115342 (2023). - DOI - PubMed - PMC
-
- Cama-Pinto, D. et al. A deep learning model of radio wave propagation for precision agriculture and sensor system in greenhouses. Agronomy 13, 244. https://doi.org/10.3390/agronomy13010244 (2023). - DOI
-
- Cheng, A. J. et al. Recent advances of capacitive sensors: materials, microstructure designs, applications, and opportunities. Adv. Mater. Technol. 8, 2201959. https://doi.org/10.1002/admt.202201959 (2023). - DOI
Grants and funding
- 2023YFD2001304/National Key Research and Development Program of China
- 2023YFD2001304/National Key Research and Development Program of China
- 2023YFD2001304/National Key Research and Development Program of China
- 2023YFD2001304/National Key Research and Development Program of China
- 2023YFD2001304/National Key Research and Development Program of China
- 2023YFD2001304/National Key Research and Development Program of China
- 2023YFD2001304/National Key Research and Development Program of China
- BE2023315/Jiangsu Province Science and Technology Plan (Key Research and Development Plan Modern Agriculture) Project
- BE2023315/Jiangsu Province Science and Technology Plan (Key Research and Development Plan Modern Agriculture) Project
- BE2023315/Jiangsu Province Science and Technology Plan (Key Research and Development Plan Modern Agriculture) Project
- BE2023315/Jiangsu Province Science and Technology Plan (Key Research and Development Plan Modern Agriculture) Project
- BE2023315/Jiangsu Province Science and Technology Plan (Key Research and Development Plan Modern Agriculture) Project
- BE2023315/Jiangsu Province Science and Technology Plan (Key Research and Development Plan Modern Agriculture) Project
- BE2023315/Jiangsu Province Science and Technology Plan (Key Research and Development Plan Modern Agriculture) Project