Abstract

The concept of smart city refers to the improvement of the quality of life of the city by making full use of idle resources by sharing. However, limited by the technical level, the current resource sharing system mostly adopts centralized data storage mode. Systems managed in this way are vulnerable to multiple threats. The tested blockchain technology with the characteristics of decentralization and tamper resistance can effectively prevent various risks. Starting with the architecture of blockchain intelligent contract, this paper puts forward a structural optimization factor model of intelligent contract. To optimize the structure of blockchain intelligent contract, the gas optimization theory is put forward by changing the order, reducing the use of costly EVM data fields, reducing redundant fields, and optimizing intelligent contract codes. Experimental analysis of the proposed model is carried out, and the effectiveness of the proposed method is verified by comparing the transaction execution time of cost calculation with the cost of executing gas, which can provide reference for the selection of intelligent contract organization structure of smart city resource sharing system.

Highlights

  • The concept of smart city refers to the improvement of the quality of life of the city by making full use of idle resources by sharing

  • This paper proposes an algorithm to predict transaction execution time and gas execution cost and verifies the effectiveness of the algorithm by experiments, which can provide reference for the selection of intelligent contract organization structure in smart city resource sharing system

  • Literature [3] proposes an infrastructure based on blockchain to realize sustainable Internet of Things (IoT) sharing economy in super smart cities, so as to support space-time intelligent contract services for security and privacy

Read more

Summary

Introduction

The concept of smart city refers to the improvement of the quality of life of the city by making full use of idle resources by sharing. This paper proposes an algorithm to predict transaction execution time and gas execution cost and verifies the effectiveness of the algorithm by experiments, which can provide reference for the selection of intelligent contract organization structure in smart city resource sharing system. Literature [1] proposes a method based on network tomography to realize low-cost, scalable, and flexible monitoring deployment of the road network system It can complete the path matching of smart city system. Literature [3] proposes an infrastructure based on blockchain to realize sustainable Internet of Things (IoT) sharing economy in super smart cities, so as to support space-time intelligent contract services for security and privacy. Literature [14] proposes an infrastructure based on blockchain to support space-time intelligent contract services for security and privacy, which can be used for sustainable sharing economy in megasmart cities. The intelligent contract method proposed in this paper can reduce the operating cost and improve the overall performance

Brief Introduction of Blockchain Technology
Research on the Factor Model of Structural Optimization of Smart Contract
Performance Test
Findings
Conclusion
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call