| Blockchain,as a typical representative of distributed system,has received continuous attention from scholars in recent years.For how to build a credible EV charging network,this paper proposes to apply the federated blockchain to the charging network composed of EVs,charging piles,smart meters,and transmission grids,and use blockchain technology to manage charging records as a way to protect the rights and interests of each party and provide a kind of data-level support for the resolution of transaction disputes.In this paper,while proposing a dedicated federated blockchain network,we also propose a new consensus mechanism applicable to the trusted charging network model for electric vehicles,i.e.,the reputation valuebased crowd-signature consensus mechanism and a hybrid index search algorithm based on Merkle trees,linked list and hash functions applicable to the model.In this paper,the above algorithms are verified using the Ethernet data of the Smart Financial Center blockchain,and the whole process from the initial generation of transaction records,broadcasting,reaching consensus and finally storage is analyzed to provide a new idea for the establishment of a trusted charging network model.The main research contents of this paper are as follows:1.This paper proposes a reputation value-based crowd-signature consensus mechanism DRMSCM to reduce the chance of malicious nodes to participate in the consensus process,and the concept of crowd-signature to prevent a single node from monopolizing the blockentry right.In this paper,we compare the DR-MSCM consensus mechanism with the existing practical Byzantine fault-tolerant mechanism and the proof-of-stake mechanism.The experimental results show that the DR-MSCM consensus mechanism outperforms the practical Byzantine fault-tolerant mechanism by nearly 66% in terms of communication count,3% in terms of consensus latency,and 12.56% in terms of throughput rate.Compared with the proof-of-stake mechanism,the DR-MSCM consensus mechanism is more fair in the selection of master nodes.2.In this paper,we propose a hybrid index search algorithm based on Merkle tree,linked table and hash function,which aims to solve the problem that the block structure in traditional blockchain cannot satisfy the users to retrieve transactions quickly.The experimental part compares this algorithm with MHerkle(Merkle-Hybrid)tree algorithm,fast indexing algorithm,traditional search algorithm and cuckoo filter algorithm,and the results show that the block building algorithm proposed in this paper outperforms the comparison algorithm by nearly 4.9%;in terms of data retrieval rate,it outperforms the comparison algorithm by nearly 90% in the case of a certain number of single block transactions and a change in the number of blocks In terms of data retrieval rate,it outperforms the comparative algorithm by nearly 90% for a certain number of blocks and a variable number of blocks.3.In this paper,the DR-MSCM consensus mechanism is integrated with a hybrid index search algorithm,which is built into the Hyperledger Fabric federation framework to implement a simple trusted charging system for electric vehicles.The system provides an experimental platform for the validation and testing of the theoretical model proposed in this paper. |