Summary: | Blockchain technologies have been applied in many areas, from economics, the internet of things to the industrial internet. In order to solve the issue that the Hyperledger Fabric does not currently support Chinese Commercial Cryptographic (CCC) algorithms, we extended the Blockchain Cryptographic Service Provider (BCCSP) module in the Hyperledger Fabric by upgrading the original BCCSP module to support the CCC algorithms SM2 and SM3. Furthermore, we designed a transaction process by using UBCCSP (Upgraded BCCSP), and a new smart contract also has been presented. After that, an improved consortium blockchain information system based on UBCCSP named UCBIS (Consortium Blockchain Information System based on UBCCSP) is proposed. In the Hyperledger Fabric transaction process, the identity information and transaction data are protected by the SM2 and SM3 algorithms, moreover, SM3 is also used in the construction process of smart contracts. Our smart contracts reduce the total data amount and improve query efficiency. Finally, the information query system based on UBCCSP is implemented. After being tested and analyzed, the average time for every query is only 31.162 ms in the blockchain system, which has better performance and higher query efficiency.
|