Smart city gathers heterogeneous information, which requires a unified data access and collection mechanism. In this paper, based on the computing framework of IoT put forward to satisfy urban sensing network data acquisition, transmission, and computing technology system, according to the function requirements of IoT gateway, we put forward the method of building software system and hardware system and the urban perception network middleware architecture that can meet the demand of M2M, which can realize dynamic management of cognitive resources. It also supports ubiquitous services over HTTP. This is of great significance for providing intelligent services with diversity of solvers, controllers, and computing terminals. This paper focuses on how to comprehensively apply intelligent sensing, wireless transmission, data mining, and other technologies of the Internet of Things to associate data with typical application examples such as vehicle sensing and positioning technology and urban security sensor application. These typical applications can effectively solve the practical problems in urban operation and management, meet the needs of the expansion of the concept of Internet of things in urban management and the continuous deepening of management, and improve the scientific and intelligent level of urban operation and management.