Blockchain data asset management technology based on a two-way transaction algorithm
摘要
Blockchain data asset transaction technology has advantages such as decentralization and data that cannot be tampered with, which can expand the application field of blockchain technology. However, the consensus algorithm widely used in the current blockchain system with the low consensus efficiency makes the development of blockchain technology significantly restricted. Regarding the above-mentioned problems, this research proposes an improved two-way transaction algorithm based on the theory of practical Byzantine fault-tolerant algorithm. The consensus protocol of the algorithm is improved when there is no Byzantine node. The purpose is to reduce the traffic generated during consensus so that the algorithm can be kept in the best state, and ensure that the algorithm can execute the consensus protocol in any period. The experimental results showed that the proposed two-way transaction algorithm had shorter transaction delay and lower traffic than the traditional Byzantine fault-tolerant algorithm. The former had the highest stability value of 0.98 at low, medium and high bandwidth, which was much higher than that the latter's 0.90. Applying the designed bidirectional trading algorithm to the blockchain data asset trading system, it is found that the number of blocks generated by the trading system was about 50 per second, the delay was about 8 s, and the success rate was 100%. In each node, the memory consumption of the peer node was about 128 M and the CPU consumption was about 48%. It can be seen that the transaction model proposed in this study can not only meet the usage needs, but also optimize the system security.