Online Music Teaching Resource Sharing Algorithm Based on Blockchain Technology

Blockchain technology provides technical support for cloud computing data sharing in data storage and data access, and ensures the safe and effective transmission of data sharing. The online music teaching resource platform based on blockchain technology faces the problems of low data throughput, large delay and unstable performance. Therefore, a blockchain-based sharing algorithm (Practical Byzantine Fault Tolerance, PBFT), PBFT algorithm is proposed. Consensus allows 1/3 of cheating points in the blockchain, and authenticated transactions are confirmed through a confirmation mechanism to ensure data security. However, the traditional PBFT algorithm lacks an efficient node joining and exiting mechanism, and has problems such as low data throughput. Therefore, on the basis of the traditional PBFT algorithm, a blockchain sharing algorithm (WBFT) that improves the weighted Byzantine fault tolerance mechanism is proposed. A weighting mechanism is added in the consensus process. After the consensus, the node behavior will dynamically adjust the weights to reduce the adverse impact of malicious nodes on the data and improve the overall data sharing effect. Experimental performance tests show that the improved WBFT algorithm performs best in multi-algorithm delay performance tests. In the data average throughput test, the performance of the improved WBFT algorithm is 20.2% higher than that of the traditional PBFT algorithm. In the security test, the improved WBFT algorithm has the best performance. The proposed improved WBFT algorithm can well meet the needs of building an online music teaching resource sharing platform. The research content has important reference value for the application of blockchain technology in the education industry, and is conducive to promoting the development of modern education.