Since its inception,MOOC has been regarded as a weapon to change the current education pattern.However,traditional MOOC has not achieved what it should have achieved.The main problem is that fully centralized online education cannot solve the trust problem.The openness and transparency of the blockchain solves the problem of insufficient trust,and this feature also brings new problems,that is,the privacy of user data cannot be reasonably protected,which hinders the use of blockchain technology in education further development and application of the field.This article addresses the data privacy problems encountered in the MOOC platform,and combines the existing data privacy protection technology and the actual needs of the MOOC platform to propose a targeted blockchain privacy protection plan.In terms of identity authentication,zero-knowledge is adopted.The proof-of-idemix scheme adopts such an identity authentication method to avoid the disclosure of transaction addresses in transactions,and thereby avoid privacy leakage from transaction addresses to personal real identities.In addition,the access authority control of private data is lowered to the chain code level,and the blockchain privacy protection smart contract based on the RBAC model,which avoids the code backdoor problem that may be caused by the common MOOC back-end authority control system,and is open and transparent.The authorization control code can improve the authenticity and reliability of the data.Finally,considering the storage cost and operating efficiency of the system,due to the high storage cost and slow storage speed of the Hyperledger data of the blockchain,it is not suitable for large-scale storage of data.A hierarchical encrypted storage model of data is designed.Use the distributed storage platform IPFS with low storage cost to store real data,and the Hyperledger is used to store the real data storage address hash on IPFS,which combines the authenticity and immutability of the blockchain with the distributed The combination of low-cost and high-speed storage improves the system efficiency of the entire MOOC platform,and also guarantees the privacy,reliability,and authenticity of user data.Finally,based on the top-level project Fabric framework of the Hyperledger open source project team,a basic business network was constructed,and Web services were constructed using the Dubbo microservice framework.Finally completed the operation and testing of the MOOC system,and verified the feasibility and reliability of the platform. |