基于改进区块存储结构的高效数据检索模型
Efficient Data Retrieval Model Based on Improved Block Storage Structure
DOI: 10.12677/CSA.2021.114082, PDF,    国家自然科学基金支持
作者: 梁保陈, 张兴兰:北京工业大学信息学部,北京
关键词: 区块链默克尔树区块结构查询Blockchain Merkel Tree Block Structure Query
摘要: 区块链技术具有去中心化和不可篡改性等特征,能安全有效的降低新任成本且安全的存储数据,是目前计算机领域研究的热点。然而,目前区块链系统难以满足大量数据下的查询访问需求,当前研究大多是从数据同步存储到外部数据库中,通过外部数据库进行查询,增加了大量的通信量,没有解决区块链本身的问题。本文根据B+树这种结构的查询稳定性和查询路径短的优点,提出了一种解决方案,通过改进区块的存储结构,利用B+树和默克尔树各自优势,改进了默克尔树,在保证区块链验证效率的情况下增加区块链的查询性能,并且支持范围查询,减少了通信量。然后设计了基于改进区块结构的构建算法和查找算法;最后通过实验验证了所改进结构的可行性和有效性。
Abstract: Blockchain technology has the characteristics of decentralization and unforgeability, which can effectively reduce the new cost and store data safely, which is a research hotspot in the computer field. However, the current blockchain system is difficult to meet the demand of query and access under a large amount of data. Most of the current research is from synchronous storage of data to external database, query through external database, which increases a lot of traffic, and does not solve the problem of blockchain itself. In this paper, according to the advantages of B+ tree such as query stability and short query path, a solution is proposed. By improving the storage structure of blocks, taking advantage of the respective advantages of B+ tree and Merkel tree, the Merkel tree is improved. The query performance of block chain is increased under the condition of ensuring the verification efficiency of blockchain, and the range query is supported, and the traffic is reduced. Then the construction algorithm and search algorithm based on the improved block structure are designed; finally, the feasibility and effectiveness of the improved structure are verified by experiments.
文章引用:梁保陈, 张兴兰. 基于改进区块存储结构的高效数据检索模型[J]. 计算机科学与应用, 2021, 11(4): 803-813. https://doi.org/10.12677/CSA.2021.114082

参考文献

[1] Nakamoto, S. (2019) Bitcoin: A Peer-to-Peer Electronic Cash System.
[2] Lamport, L., Shostak, R. and Pease, M. (2019) The Byzantine Generals Problem. In: Malkhi, D., Ed., Concurrency: The Works of Leslie Lamport, Association for Computing Machinery, New York, 203-226. [Google Scholar] [CrossRef
[3] Anjum, A., Sporny, M. and Sill, A. (2017) Blockchain Standards for Compliance and Trust. IEEE Cloud Computing, 4, 84-90. [Google Scholar] [CrossRef
[4] Androulaki, E., Barger, A., Bortnikov, V., Cachin, C., Christidis, K., De Caro, A., et al. (2018) Hyperledger Fabric: A Distributed Operating System for Permissioned Blockchains. Pro-ceedings of the 13th EuroSys Conference, Porto, April 2018, Article No. 30. [Google Scholar] [CrossRef
[5] Wang, Z., Fu, Y., Zhong, L. and Dai, F. (2020) Research on Blockchain Availability Modeling in P2P Network. International Journal of Advanced Network, Monitoring and Con-trols, 5, 36-43. [Google Scholar] [CrossRef
[6] Chen, Y., Ding, S., Xu, Z., Zheng, H. and Yang, S. (2019) Blockchain-Based Medical Records Secure Storage and Medical Service Framework. Journal of Medical Systems, 43, Article No. 5. [Google Scholar] [CrossRef] [PubMed]
[7] 余涛, 牛保宁, 樊星. FabricSQL: 区块链数据的关系查询[J]. 计算机工程与设计, 2020, 41(10): 2988-2995.
[8] 吕建富, 赖英旭, 刘静. 基于链上链下相结合的日志安全存储与检索[J]. 计算机科学, 2020, 47(3): 298-303.
[9] Sahoo, M.S. and Baruah, P.K. (2018) HBasechainDB—A Scala-ble Blockchain Framework on Hadoop Ecosystem. 2018 Asian Conference on Supercomputing Frontiers, Singapore, 26-29 March 2018, 18-29. [Google Scholar] [CrossRef
[10] Hofmann, A. (2020) Building Scalable Blockchain Applica-tions—A Decision Process. 2020 International Conference on Design Science Research in Information Systems and Technology, Kristiansand, 2-4 December, 309-320. [Google Scholar] [CrossRef
[11] McConaghy, T., Marques, R., Müller, A., De Jonghe, D., McMullen, G., Henderson, R., et al. (2016) BigchainDB: A Scalable Blockchain Database. BigchainDB, Ber-lin.
[12] Wilkinson, S., Boshevski, T., Brandoff, J. and Buterin, V. (2014) Storj: A Peer-to-Peer Cloud Storage Net-work.
[13] Dinh, T.T.A., Wang, J., Chen, G., Liu, R., Ooi, B.C. and Tan, K.-L. (2017) BLOCKBENCH: A Framework for Analyzing Private Blockchains. Proceedings of the 2017 ACM International Conference on Management of Data, Chicago, May 2017, 1085-1100. [Google Scholar] [CrossRef
[14] Tsai, W., Yu, L., Wang, R., Liu, N. and Deng, E.Y. (2017) Blockchain Application Development Techniques. Journal of Software, 28, 1474-1487.
[15] Li, Y., Zheng, K., Yan, Y., Liu, Q. and Zhou, X. (2017) EtherQL: A Query Layer for Blockchain Sys-tem. 2017 International Conference on Database Systems for Advanced Applications, Suzhou, 27-30 March, 556-567. [Google Scholar] [CrossRef
[16] 贾大宇, 信俊昌, 王之琼, 郭薇, 王国仁. 存储容量可扩展区块链系统的高效查询模型[J]. 软件学报, 2019, 30(9): 2655-2670.