| For a long time,there have been problems such as "information silos"in data sharing between government departments,which affects and hinders the development of government management services and the release of data value.Meanwhile,there are some problems in these centralized data sharing platform,such as single-point risk and difficulty of data confirmation.For this reason,many scholars have tried to solve the above problems by using the blockchain,which is immutability and traceability.However,the traditional blockchain technology has some shortcomings,such as low efficiency of data query and its completely decentralized mode mismatch the government data sharing scenarios.Based on the above analysis of the demand for government data sharing,we first propose an index-based efficient acquisition method for data in view of the low efficiency in the traditional blockchain.Specifically,we develop two indexes in the index layer to aggregate the data and its operation records for efficient query.And Simulation results based on Hyperledger Fabric verify the effectiveness of our optimized block structure in querying of the original data and its operation records in the blockchain.Secondly,we propose a data sharing model based on multichannels in view of the data sharing mode of the traditional blockchain cannot meet the privacy protection requirements of government data.The model implements channel level data isolation according to the location and type of department,and then realizes data privacy protection.Finally,we design and implement a government data sharing system based on Hyperledger Fabric.Firstly,this paper introduces the background and theoretical knowledge of the blockchain technology and government data sharing.Secondly,this paper has carried on the detailed investigation to the system demand,analyzed the main functional demand and performance indicators of the system.Subsequently,this paper detailedly introduces and verifies the method and model,which are proposed to improve the performance of data query in blockchain and safeguard data security in this paper.Then,the overall design of the system is explained by the static structure,dynamic structure and data structure.Finally,the detailed design and functional test of the system are introduced in detail,which verifies the integrity and availability of the system. |