江汉大学学报(自然科学版) ›› 2025, Vol. 53 ›› Issue (1): 70-81.doi: 10.16389/j.cnki.cn42-1737/n.2025.01.009

• 人工智能 • 上一篇    下一篇

溯源系统区块链数据快照生成与高速检索算法

汪继辉a,余宏杰*b   

  1. 安徽科技学院 a.智能制造学院,安徽 凤阳 233100;b. 信息与网络工程学院,安徽 蚌埠 233000
  • 出版日期:2025-03-27 发布日期:2025-03-27
  • 作者简介:汪继辉(1976—),男,硕士生,研究方向:区块链应用。

Blockchain Data Snapshot Generation and High-speed Retrieval Algorithm for Traceability System

WANG Jihui,YU Hongjie   

  1. a. College of Intelligent Manufacturing,Anhui Science and Technology University,Fengyang 233100,Anhui, China;b. College of Information and Network Engineering,Anhui Science and Technology University,Bengbu 233000,Anhui,China
  • Online:2025-03-27 Published:2025-03-27

摘要: 食品安全的快速溯源是减少食品危害的重要手段,目前针对该问题的研究仍不能满足高 速且准确的溯源需求。本文将传统数据库技术和现代区块链技术相结合,建立区块链快照的结 构化数据,既保持了区块链的数据安全特性,又能利用关系数据库具备快速检索的技术框架,从 而让检索数据的性能提高2~10倍。遴选百万级的商品数据进行模拟溯源和性能评测,实验结 果表明了区块链快照技术和高速检索算法的合理性和可行性。

关键词: 溯源, 区块链, 快照, 高速检索

Abstract: Rapid traceability of food safety is an important means to reduce food hazards. Current research on this issue still cannot meet the demand for high-speed and accurate traceability. In this paper,traditional database technology and new blockchain technology were combined to establish structural data of blockchain snapshots, which not only maintained the data security characteristics of blockchain but also utilized the technical framework of relational databases for high-speed retrieval,it improved the performance of querying blockchain data by 2 to 10 times. A million-level commodity data was selected for simulation and performance evaluation. The experimental results showed the rationality and feasibility of snapshot technology and high-speed retrieval algorithms.

Key words: traceability, blockchain, snapshot, high-speed retrieval

中图分类号: