Popis: |
In a large-scale networking scenario with massive distribution of devices, data is independently generated and maintained by multiple domains. In order to solve the problem of isolated data island in multi-domain, this paper designs a multi-domain data sharing model based on consortium chain. Aiming at the problems of low efficiency and the less consideration of intra-domain consensus processes in traditional data sharing schemes, this paper optimizes the security and efficiency of data sharing from two parts: inter-domain chain and intra-domain chain. In order to ensure the fine-grained, dynamic and secure access strategy in inter-domain chain, this model combines the attribute-based access control model (ABAC) with smart contract, and a permission grading mechanism is designed to solve the problem of low retrieval efficiency in this access control model through reducing the retrieval range by grading and matching Policy set. In view of the problem of high delay of node consensus in the large-scale networking environment of intra-domain chain, a Layered Practical Byzantine Fault Tolerance optimization (LPBFT) algorithm with introducing a reputation model is designed, which greatly improves the efficiency and security of the intra-domain consensus. The consortium chain model is designed and implemented from the perspectives of inter-domain and intra-domain, which optimized the security and efficiency of the multi-domain data sharing model. Finally, this paper implements a prototype system with the Hyperledger Fabric platform, and verifies the validity of this model from the access control within the inter-domain and the consensus algorithm within the intra-domain separately. |