摘要
为了及时精准地追溯病毒污染生鲜食品信息,设计基于区块链的病毒污染生鲜食品信息追溯模型。构建包含区块链存储层、网络层、合约层及应用层的生鲜食品信息追溯模型,运用MD5算法运算得到各环节信息;用户经应用层输入待追溯病毒污染生鲜食品的批次代码信息,通过合约层在网络层的授权下查询到包含所追溯食品信息的特定区块头,并调用此批次病毒污染生鲜食品的所有环节数据信息通过应用层呈现给用户,完成病毒污染生鲜食品的信息追溯。实验结果表明,上述模型具有较高的追溯效率,优越的防篡改性能,可完整精确地追溯到所需信息,为高效精准地追溯可靠的病毒污染生鲜食品信息提供有效帮助。
This paper designed the information traceability model of virus contaminated fresh food based on blockchain for improving the timeliness and accuracy of virus traceability. The traceability model was established, including fresh food information in blockchain storage layer, network layer, contract layer and application layer. MD5 algorithm was utilized to calculate the information of each link. The users input the batch code information of the virus contaminated fresh food to be traced through the application layer. Then, based on the authorization of the network layer, the contract layer queried the specific area header containing the traced food information, in the meantime, all link data information of this batch of virus contaminated fresh food was called and presented to the users via the application layer, thus achieving the information tracing of virus contaminated fresh food. The experimental results show that the model has high traceability efficiency, excellent tamper proof performance and accurate and complete traceability information.
作者
贺强
贺静霞
杨华
杨怀卿
HE Qiang;HE Jing-xia;YANG Hua;YANG Huai-qing(College of Information,Shanxi Agricultural University,Jinzhong Shanxi 030800,China;College of Information Science and Engineering,Shanxi Agricultural University,Jinzhong Shanxi 030801,China;Taiyuan Technology Transfer Promotion Center,Taiyua Shanxi 030012,China;Taiyuan Normal University,Jinzhong Shanxi 030619,China)
出处
《计算机仿真》
北大核心
2023年第1期539-543,共5页
Computer Simulation
基金
2020年度山西省高等学校科技创新项目(2020L0744)
国家自然基金项目(31671571)。
关键词
区块链
病毒污染
生鲜食品
信息追溯
哈希值
Block chain
Virus contamination
Fresh food
Information traceability
The MD5 algorithm
Hash value