As the smart grid develops rapidly, abundant connected devices offer various trading data. This raises higher requirements for secure and effective data storage. Traditional centralized data management does not meet the above requirements. Currently, smart grid with conventional consortium blockchain can solve the above issues. However, in the face of a large number of nodes, existing consensus algorithms often perform poorly in terms of efficiency and throughput. In this paper, we propose a trust-based hierarchical consensus mechanism (THCM) to solve this problem. Firstly, we design a hierarchical mechanism to improve the efficiency and throughput. Then, intra-layer nodes use an improved Raft consensus algorithm and inter-layer nodes use the Byzantine Fault Tolerance algorithm. Thirdly, we propose a trust evaluation method to improve the election process of Raft. Finally, we implement a prototype system to evaluate the performance of THCM. The results demonstrate that the consensus efficiency is improved by 19.8%, the throughput is improved by 12.34%, and the storage is reduced by 37.9%.
- Article type
- Year
- Co-author
In this paper, we target a similarity search among data supply chains, which plays an essential role in optimizing the supply chain and extending its value. This problem is very challenging for application-oriented data supply chains because the high complexity of the data supply chain makes the computation of similarity extremely complex and inefficient. In this paper, we propose a feature space representation model based on key points, which can extract the key features from the subsequences of the original data supply chain and simplify it into a feature vector form. Then, we formulate the similarity computation of the subsequences based on the multiscale features. Further, we propose an improved hierarchical clustering algorithm for a similarity search over the data supply chains. The main idea is to separate the subsequences into disjoint groups such that each group meets one specific clustering criteria; thus, the cluster containing the query object is the similarity search result. The experimental results show that the proposed approach is both effective and efficient for data supply chain retrieval.