| In recent years,the frequency of urban natural disasters has become higher and higher,resulting in heavy casualties and serious property losses.Therefore,it is necessary to vigorously promote the construction of urban disaster prevention projects,among which improving the urban disaster emergency management system is a very important aspect.However,in the current emergency treatment,not only different departments have their own emergency management systems,which are managed separately,but also most of the systems adopt centralized management.The above reasons lead to problems such as untimely news sharing,being greatly affected by faults or attacks,and being difficult to be held accountable afterwards.Blockchain technology,which is decentralized,tamper-proof and traceable,provides a new scheme for improving the emergency management system.Applying blockchain technology to the scene of emergency management can solve various shortcomings existing in the current emergency management system,which provides a new direction for perfecting emergency management technology.Based on the above situation,this paper mainly focuses on the following work:The related technologies of blockchain consensus algorithm are studied.In order to improve the fault tolerance of traditional consensus algorithms in blockchain,an optimization scheme for Hyperledger Fabric framework consensus mechanism is proposed,which optimizes the process of leader election and that of log replication of Raft algorithm,so that it can tolerate Byzantine faults.Then the optimization algorithm is implemented and compared with other Byzantine algorithms through experiments.An architecture design of emergency management system based on blockchain is proposed,which saves and shares the required disaster relief information in time,improving the degree of information sharing and the robustness of the system.Additionally,the process of disaster information delivery and treatment is optimized,so that disaster relief workers and people who release disaster information can form a direct supply-demand relationship,thus improving the efficiency of emergency management.Hyperledger Fabric framework is adopted as the development platform.In the scenario of emergency management,the large amount of data leads to the storage pressure on the chain.To solve this problem,a storage mode that combines the chain and the off-chain is proposed.In this mode,text information is stored on the chain,while pictures and videos are stored off the chain,and a traceability scheme for disaster information and task information is proposed,which not only reduces the storage pressure on the chain,improves the storage efficiency,but also contributes to accountability trace in the future.Based on the Hyperledger Fabric framework,related smart contracts is designed and an emergency management system based on blockchain is implemented.Finally,the functions of this system are shown. |