Blockchain can solve the problem of mutual trust between different institutions.However,when migrating from a traditional system to a blockchain system,the order of data transactions is difficult to determine and the data transactions on the chain can not be modified.Therefore,it is necessary to build an on-chain repair mechanism for multi-party data migration.An on-chain repair system for multi-party data migration is designed to realize the multi-party data migration strategy,the block data repair strategy,and the data repair audit strategy.The multi-party data migration strategy is proposed to determine the order of data transactions.By setting up transaction pools to sort transactions of the same institution or different institutions,the problem of determining the order of data transaction is solved.The controlled data repair strategy is proposed to repair the error data in the blockchain.Based on the chameleon-hash algorithm,the strategy is realized to repair block data and solve the problem that the chain data is difficult to repair.The data repair audit strategy is proposed to ensure the controllable data repair.An on-chain repair system designed for multi-party data migration includes data migration strategy,block data repair strategy,and data repair audit strategy.Compared with the Hyperledge Fabric,the additional cost brought by the on-chain repair system for multi-party data migration is within 10%. |