{'fraction_non_alphanumeric': 0.013150371640937679, 'fraction_numerical': 0.0, 'mean_word_length': 5.782945736434108, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
PBFT-based Regional Energy Internet Blockchain Transaction Consensus

Energy Internet interconnects a large number of energy nodes of various types of energy networks composed of distributed energy generating devices, distributed energy storage devices and various loads. It realizes two-way peer-to-peer energy exchanging and sharing network, which is an important application scenario of blockchain. As more producers and consumers join the energy Internet, a large number of consensus demands for energy transactions are generated. The consensus mechanisms widely adopted in the energy blockchains are generally hardly ensuring the effective development and conduct of transactions with the expansion of an energy Internet. In this paper, a regional energy Internet blockchain consensus mechanism based on the PBFT method is proposed for the distributed power transaction scenario. The mechanism selects consensus groups based on reputation, which reduces the probability of consensus group nodes appearing Byzantine nodes, and keeps away from the problem of excessive centralization of consensus group nodes caused by fixed consensus group nodes. Local, high-reputation nodes in a certain quantitative participate in consensus, avoiding the problem of reduced consensus efficiency caused by the increasing number of consensus nodes when the PBFT consensus mechanism is adopted. Multiple groups of consensus nodes participating in consensus concurrently could reduce the possibility of consensus nodes being attacked and ease the consensus pressure of fixed consensus group nodes. The scalability of the microgrid under the regional energy Internet scenario is improved. Experimental results confirmed the effectiveness of the proposed mechanism.