• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2022, Vol. 44 ›› Issue (12): 2102-2110.

• High Performance Computing • Previous Articles     Next Articles

A CUDA-based data-parallel processing method in industrial blockchain

CHEN Qiang1,TAN Lin2,WANG Yun-li2,XIAO Jing1   

  1. (1.College of Electrical and Information Engineering,Hunan University,Changsha 410082;
    2.Hunan Tianhe Guoyun Technology Co.,Ltd.,Changsha 410100,China)

  • Received:2021-11-05 Revised:2022-02-24 Accepted:2022-12-25 Online:2022-12-25 Published:2022-12-25

Abstract: The industrial blockchain data transaction system can enable parties to conduct transactions safely without the presence of an intermediary, simplifying the transaction process and reducing transaction costs. For storing industrial large-scale data to blockchain, the current general method is to store the hash value of the source data as metadata to the blockchain, and the source data itself is stored locally or in the cloud. On the one hand, the traditional hash value calculation method is difficult to meet the needs of efficiency for storing industrial large-scale data to blockchain. On the other hand, since only the metadata is stored on the blockchain, the data demander cannot confirm whether the source data itself is complete during the transaction. Therefore, this paper designs a data-parallel processing method based on CUDA, which speeds up the calculation of large-scale industrial data hash value through reasonable data chunking, thread layout and other methods, and improves the efficiency of storing industrial large-scale data to blockchain. Moreover, based on this method, a two-party data integrity verification model is constructed. The data demander can effectively verify the integrity of the source data according to the proof information without obtaining the source data during the transaction, resulting in the reduction of communication cost due to the transmission of useless data. For the large scale industrial data, the proposed calculation method can increase the hash value calculation efficiency by at least 22%. In addition, the security analysis shows that in the special case the data owner holds the signature private key, the data demander can verify the integrity of the source data during the transaction.

Key words: industrial data, blockchain, CUDA, hash computing, data integrity verification