With the advent of education informationization 2.0 era,as a key link to promote education informationization,it is particularly important to build and share high-quality educational resources in colleges and universities.However,problems such as low data security,weak copyright protection of educational resources and centralized storage of resources are common in the current educational resource sharing platform.With the development and innovation of blockchain technology,the deep integration of blockchain technology and education and teaching has become a new direction for the development of digital education,bringing both opportunities and challenges to the construction of an educational innovation ecosystem."Blockchain + education" has become an indispensable part of promoting the further integration of information technology and education and teaching,and promoting the era of education information 2.0.In this context,the sharing and co-construction of college education resources based on blockchain technology has profound significance for the establishment of digital education resource service system.However,from the current practice,there are still some problems in the development of "blockchain + education",such as weak expansion,difficult maintenance and management,database load and slow data access.Based on this,combined with the characteristics of blockchain technology and the development status of "blockchain + education" mode,based on the provincial key project "Research on the Construction scheme of high-quality education resource platform in universities based on" Blockchain "technology",this paper introduces a dual database system on the Ethereum public chain framework,forming a traditional database for enterprises.Blockchain +IPFS database is a public oriented dual database sharing system for higher education resources.It ensures the decentralization of educational resources in the uploading and sharing process,and also facilitates the maintenance and management of the platform for enterprises.The main research contents of this paper are as follows:(1)Cloud storage of digital educational resources in colleges and universities is realized by introducing "blockchain +IPFS" technology:through smart contracts,digital educational resources are stored in IPFS,and the hash value returned by IPFS is stored in blockchain,so as to realize the right confirmation of digital resources,ensure the decentralization of digital resources,and further strengthen the protection of educational resources.(2)Retain the traditional database as the main support of the platform functional architecture,and complete the realization of multi-module personalized functions such as user use,user management,platform management,resource management and audit management.Improve the efficiency of system development,convenient for users to use and facilitate the future system function expansion.(3)Propose a dual database system,abandon the development mode of decentralized application using block chain alone or block chain +IPFS,introduce dual database system technology,upload to the platform resource storage block chain +IPFS,retain the traditional database as the support of the platform functional structure,and realize the returned IPFS hash value.Back up a traditional database as a link.The storage mode of index on the chain and storage off the chain is realized,which not only reduces the pressure of data storage on the enterprise side,improves the reading efficiency of the system,but also realizes the permanent storage of data.Finally,it realizes the interaction of two databases through the form of resource index backup of enterprise database,ensuring the high expansibility and efficient management of the whole system.(4)Finally,according to the specific implementation of the system,this paper provides corresponding functional tests,and conducts truffle test white box test and Mythril security test for smart contracts.The performance of the system is analyzed and compared with the traditional database and IPFS+ blockchain database.It is confirmed that the blockchain + dual database system can not only realize the efficient storage of data but also facilitate the optimization management of enterprises,which confirms the feasibility of the system. |