The continuous in-depth development of the engineering construction field has effectively promoted the economic growth of China.At the same time,the contract management in the field has special features such as more contract participants and complex relationships,complicated contract terms and conditions,and long contract cycle,which lead to certain limitations of the tr aditional information system in dealing with engineering contract management.The tamper-resistant nature of blockchain and collaborative execution of smart contracts,can effectively solve the management problems such as traceability of contract content a nd payment of funds,enhance the trust between complex contract participants and ensure the effective implementation of complicated contract terms.Therefore,this paper starts from the special characteristics of engineering contracts themselves,combines blockchain and smart contract related technologies,and research how to convert engineering contracts into smart contracts,so as to effectively manage engineering contracts.The main works are as follows:(1)Proposed a standard for uploading engineerin g contract data to Blockchain.Through the analysis of the problems existing in the current engineering contract management,and combined with the content of “model text” issued by the MOHURD,proposed a standard for uploading engineering contract data to Blockchain.(2)Proposed a way to convert engineering contract into smart contract.According to our proposed data standard,contracting will be performed in two dimensions: time and money.After contract text extraction and contract hierarchy division,we first use our proposed extraction and processing method of time information based on regular expressions and lexicality and storage structure Time Struct to contract the time dimension,and then contract management of contract progress payment through our proposed contract payment mechanism,and finally the two are combined to realize the contracting of engineering contracts.(3)Spatially optimized attribute-based encryption.In order to protect the private of sensitive data of engineering contract,propose a spatially optimized attribute-based encryption schema based on Trie tree while choosing IPFS to store the original engineering contract files.Finally,we implemented and tested the engineering contract system based on Blockchain.According to the test results,the solutions we designed and the system we implemented can effectively improve the risks and problems faced by the current engineering contract management. |