The 14th Five Year Plan shows that China’s digital economy is accelerating,and many new technologies have been widely used.The core technology of blockchain is also developing,not only in the field of Finance and currency,but also in many fields such as medical treatment,Internet of things,food and so on.In the field of museums,as a facility that has existed since ancient times and carries civilization,history and culture,museums have very rich collection data resources.As the core of museum data assets,museum collection data has higher requirements for the security,scalability and storage performance of collection data resources with the advent of the general trend of digital transformation.This thesis investigates the development status of museum data,analyzes the problems of high paper-based degree caused by the simple architecture of the original museum collection management system,insufficient informatization of collection data and insufficient system security,and combines the decentralized,non tamperable and scalable characteristics of blockchain technology 3.0-Hyperledger Fabric,The data traceability system of the four business processes of museum collection borrowing,collection risk assessment,collection restoration and collection utilization restriction based on blockchain is designed.At the same time,considering the problem of data storage expansion of blockchain and combined with the collection business process of museum,the business framework is combed and improved,and a dual-mode storage model of on-chain+off-chain storage is designed,with optimizing the storage structure of the original blockchain.Based on the principle and storage improvement scheme of the above Hyperledger Fabric,this thesis designs and implements a museum data traceability system based on blockchain.The system uses Vue as the front-end of the framework and Spring Boot as the back-end architecture.The network of Hyperledger Fabric is deployed on the server,and the Hyperledger Fabric smart contract of collection business process is written and installed.Then,in the storage improvement scheme,the dual mode of on-chain+ off-chain storage is designed,and the new distributed NewSQL database TiDB is used as the off-chain database.Finally,the system is tested.In terms of functional test,it is tested that the collection business data can be stored and queried normally.Non-functional test includes security test and performance test,which ensures that the consistency verification of the improved collection data stored in the system can ensure security,and the storage efficiency and query efficiency of the improved system blockchain are improved. |