吉林大学学报(工学版) ›› 2022, Vol. 52 ›› Issue (7): 1666-1678.doi: 10.13229/j.cnki.jdxbgxb20200394

• 计算机科学与技术 • 上一篇    

基于区块链的毒品检验大数据效率改进

姜斌祥1,2,3(),许鸿奎1,何丹4   

  1. 1.山东建筑大学 信息与电气工程学院,济南 250101
    2.中国政法大学 青少年犯罪与少年司法研究中心,北京 100088
    3.山东大学 计算心理学研究院,济南 250101
    4.湖南亿恩科技有限公司 AI研究院,山东 青岛 266000
  • 收稿日期:2020-12-30 出版日期:2022-07-01 发布日期:2022-08-08
  • 作者简介:姜斌祥(1962-),男,教授,博士. 研究方向:计算心理学,时空数据行为认知计算,多模态情感识别与计算,计算犯罪科学,大数据侦查学,计算刑事执行科学. E-mail:200806128@qq.com
  • 基金资助:
    十三五国家重点研发计划项目(2017YFC0803604);山东省重大科技创新工程经费项目(2019JZZY010120)

Drug Efficiency improvement of drug detection big data based on blockchain

Bin-xiang JIANG1,2,3(),Hong-kui XU1,Dan HE4   

  1. 1.School of Information and Electrical Engineering,Shandong Jianzhu University,Jinan 250101,China
    2.Juvenile Crime & Justice Research Center,China University of Political Science & Law,Beijing 100088,China
    3.Institute of Computational Psychology,Shandong University,Jinan 250101,China
    4.AI Research Institute of Hunan ENHT Technology Co. ,Ltd. ,Qingdao 266000,China
  • Received:2020-12-30 Online:2022-07-01 Published:2022-08-08

摘要:

针对全国毒品检验业务数据量大以及毒品检验大数据存储与共享效率效率低下的问题,提出了三链融合区块链拓扑结构,即由实验室雾节点组成一个可编辑的轻量级主链,每个雾节点敷设两个辅链:包括可编辑的现场快检区块链和可编辑的可扩展双子链,并在每个区块链中每个区块头扩展区域中引入Bloom Filter提升区块链数据查询效率,引入雾-链-云存储模式解决数据共享存储效率低下问题,减轻区块链上数据存储和高频访问的压力,构建高效毒品检验大数据平台。经仿真实验分析表明,采用三链融合区块链拓扑结构以及各类引入的区块链举措,适应了毒品检验数据共享的业务结构,并提升了数据共享存储效率和访问效率。

关键词: 区块链, 三链融合链, 轻量级链, 可编辑链, 可扩展双子链, 布隆过滤器, 雾?链?云存储

Abstract:

Aiming at the problems of large amount of data of national drug inspection business and low efficiency of storage and sharing of big data of drug inspection, a three-chain fusion block chain topology was proposed. The blockchain structure consists of a primary blockchain and two secondary blockchains. The main blockchain consists of a large number of fog nodes, and it is an editable lightweight blockchain. Each fog node attach two auxiliary chains externally. One of the secondary blockchains is an editable field fast detection blockchain. Another secondary blockchain is an editable field investigation blockchain, and it is a scalable twin chain blockchain. Bloom Filter is introduced into each block header extension region in each blockchain to improve the efficiency of blockchain data query. The introduction of fog-chain-cloud storage mode solves the problem of low efficiency of shared data storage, and it can reduce the pressure of data storage and high-frequency access on blockchain. Finally, an efficient drug inspection big data platform is built. Simulation experiments show that the three-chain fusion blockchain topology and various introduced blockchain measures can adapt to the business structure of drug inspection data sharing, and improve the efficiency of data sharing storage and access.

Key words: blockchain, three chain fusion blockchain, lightweight blockchain, editable blockchain, scalable twin blockchain, Bloom filter, fog-chain-cloud combined storage

中图分类号: 

  • TP393

图1

三链融合区块链架构体系"

图2

轻量级区块链架构"

图3

轻量级区块链内事务状态转换过程"

图4

Bloom Filter位向量组初始状态"

图5

元素dp 在Bloom Filter中的Hash映射"

图6

元素检索"

图7

构建基于Bloom Filter的区块"

图8

雾-链-云数据存储模式"

图9

区块指针结构"

图10

状态更新池与新区块结构"

图11

基于三链融合区块链的数据共享架构"

图12

基于三链融合区块链的毒品检验数据共享场景"

表1

检索实验记录"

组 号n/kHash个数m查询规模误判率/%时延/ms
151100015.6100328
5310006.7900395
5610008.4300441
59100016.1500506
512100028.3800657
210110006.8300276
10310001.0200223
10610000.3600315
10910000.4700384
101210000.9200459
315110005.5400207
15310000.1700265
15610000.0600339
15910000.0230405
151210000.0580693
420110004.2700215
20310000.0910244
20610000.0170326
20910000.0065392
201210000.0097718

图13

m和n/k对误判率的影响"

图14

m和n/k对查询时延的影响"

图15

检索响应时间"

1 姜斌祥,张子枫,杨学鹏,等. 毒品检验区块链数据共享融合激励算法[J]. 吉林大学学报:工学版,2022,52(5):1117-1127.
Jiang Bin-xiang, Zhang Zi-feng, Yang Xue-Peng, et al. Data sharing fusion excitation algorithm of drug inspection blockchain[J]. Journal of Jilin University (Engineering and Technology Edition), 2022,52(5):1117-1127.
2 何一川. 基于雾计算的安全协议研究[D].成都:电子科技大学信息与软件工程学院,2020.
He Yi-chuan. Research on security protocol based on fog computing[D]. Chengdu: School of Information and Software Engineering, University of Electronic Science and Technology of China, 2020.
3 邓小鸿,朱年红,黄磊,等. LBA:轻量级区块链架构[J]. 计算机应用研究,2021,38(10):2905-2914.
Deng Xiao-hong, Zhu Nian-hong, Huang Lei, et al. LBA: lightweight blockchain architecture[J]. Application Research of Computers, 2021,38(10):2905-2914.
4 姜斌祥,姜彤彤,王永雷. 基于文化遗传算法的毒品检验区块链共识算法优化[J]. 吉林大学学报:工学版,2022,52(3):684-692.
Jiang Bin-xiang, Jiang Tong-tong, Wang Yong-lei. Optimization of consensus algorithm for drug detection blockchain based on cultural genetic algorithm[J]. Journal of Jilin University (Engineering and Technology Edition), 2022,52(3):684-692.
5 袁勇,王飞跃. 可编辑区块链:模型、技术与方法[J]. 自动化学报,2020,46(5):831-845.
Yuan Yong, Wang Fei-yue. Editable blockchain: models, techniques and methods[J]. Acta Automatica Sinica, 2020,46(5):831-845.
6 樊星,牛保宁. 区块链应用下的新型区块链布隆过滤器[J]. 计算机科学与探索,2021,15(10):1921-1929.
Fan Xing, Niu Bao-ning. Optimization and application of mass data query technology based on Buron filter[J]. Journal of Frontiers of Computer Science and Technology, 2021,15(10):1921-1929.
7 赵青杉,段宗娟,胡玉兰. 基于布隆过滤算法的五台山数据分析应用研究[J].忻州师范学院学报,2020,36(5):2-3.
Zhao Qing-shan, Duan Zong-juan, Hu Yu-lan. Research on data analysis and application of Wutai Mountain based on Bulon Filtering algorithm[J].Journal of Xinzhou Teachers University, 2020,36(5):2-3.
8 徐智,王岳,王欣. 结合区块链的非结构化大数据云存储优化研究[J]. 计算机仿真,2021,38(7):304-308.
Xu Zhi, Wang Yue, Wang Xin. Research on cloud storage optimization of unstructured big data combined with blockchain[J]. Computer Simulation, 2021,38(7):304-308.
9 肖尧,闫帅,蒋遂平. 针对区块链可扩展性的双子链模型设计[J]. 物联网技术,2019,6(2):31-34.
Xiao Rao, Yan Shuai, Jiang Sui-ping. Design of two-chain model for blockchain scalability[J]. Internet of Things Technology, 2019,6(2):31-34.
10 梁小燕.区块链环境下基于信息熵的医疗数据共享激励机制[D].兰州:西北师范大学计算机科学与工程学院,2020.
Liang Xiao-yan. Incentive mechanism of medical data sharing based on information entropy in blockchain environment[D].Lanzhou: School of Computer Science and Engineering, Northwest Normal University, 2020.
[1] 姜斌祥,姜彤彤,王永雷. 基于文化遗传算法的毒品检验区块链共识算法优化[J]. 吉林大学学报(工学版), 2022, 52(3): 684-692.
[2] 王生生,陈境宇,卢奕南. 基于联邦学习和区块链的新冠肺炎胸部CT图像分割[J]. 吉林大学学报(工学版), 2021, 51(6): 2164-2173.
[3] 沈淑涛,尼玛扎西. 基于区块链技术的双混沌可识篡改图像加密方法[J]. 吉林大学学报(工学版), 2021, 51(3): 1055-1059.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!