In recent years,with the advancement of technologies such as the Internet,cloud computing,and big data,the supply chain field has developed rapidly.However,due to the long lifecycle,many participants,and heterogeneous information in the supply chain,the lack of information in each supply chain stage leads to product quality problems.Supply chain traceability can effectively ensure product quality by tracing and locating the problem’s stage.Traditional traceability systems usually use a centralized storage scheme,which can easily lead to data tampering and a single point of failure.It is difficult to ensure the credibility of traceability results.Blockchain technology has the advantages of decentralization and non-tampering.Introducing blockchain into supply chain traceability can effectively solve the above-mentioned disadvantages of traditional traceability systems.However,the blockchain-based traceability systems still have shortcomings in terms of low data sharing,lack of access transparency,and privacy preservation.This thesis proposes a blockchain-based supply chain traceability system,and researches the key technology of its access control mechanism.The main research contents are as follows:1.This thesis summarizes and analyzes the problems of data centralized storage and easy tampering in the traditional traceability system,analyzes the supply chain traceability process and demand based on blockchain,and designs the overview architecture of the blockchain-based traceability system.The traceability smart contracts and the main modules of the system are designed.2.Aiming at the problems of data access and security sharing,a blockchainbased supply chain data hierarchical access control mechanism is proposed.An access control architecture for supply chain scenarios is designed to achieve isolated storage of access control information and supply chain data.A hierarchical access control model is proposed by introducing hierarchical attributes,and access control smart contracts are designed and deployed.The experiments results show that the mechanism has a stable performance under the large-scale policy,the average time overhead of policy decision is 26 ms,the maximum throughput is 111 TPS,and it is always maintained above 90 TPS.3.Based on the key technology of the proposed hierarchical access control mechanism,the blockchain-based supply chain traceability system is implemented.The system uses the Hyperledger Fabric to build the blockchain network and deploys smart contracts to network peers.The blockchain traceability functions and performance tests show that the blockchain network can run stably for a long time.The blockchain-based supply chain traceability system proposed in this thesis effectively achieves decentralized trusted traceability,as well as transparent access and secure sharing of data,ensuring the integrity and reliability of traceability information.The test results show that the system has stable performance and basically meets the application requirements of actual scenarios. |