{'fraction_non_alphanumeric': 0.02082093991671624, 'fraction_numerical': 0.0, 'mean_word_length': 5.494208494208494, '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}}
A Novel CP-ABE Based Sidechain Protocol for Distributed Power System Data Storage Management with the Blockchain

Due to technical bottlenecks such as systems vulnerable to attacks and data are easily tampered with, and it is difficult for the distributed power system data storage management to achieve multi-agent integration and development. Known as the "trust machine," the Blockchain has an essential role in promoting the energy Internet construction with its distributed storage, tamper-proof, traceable, and multi-node sharing technical characteristics. Its technical advantages have great potential application value in the power industry. Most of the existing blockchain schemes directly combine the CP-ABE algorithm with the Blockchain. However, due to the lack of permission inheritance, these schemes have permission to redundancy and waste computing resources. In this paper, a new user-controlled on-chain permission management scheme is proposed. The original CP-ABE model is extended in this scheme, and the concept of role assignment and attribute tree is proposed. The attribute tree uses the multi-tree structure to realize the attribute set's specification description. The connectivity between roles in the attribute tree represents the inheritance relationship of permission so that the permission inheritance and permission granting can be realized. In this paper, a sidechain prototype system is developed for evaluating the scheme, and its performance is tested and analyzed. The experimental results show that the prototype system can realize the user-controlled permission assignment and permission inheritance function of data owner on the Blockchain.