Summary
With the development of smart Internet of things devices, intelligent applications are expected to lead further innovation in smart city. However, although cloud computing infrastructure can be used to meet traditional challenges, the scheduling model for new big data intelligent application has still not matured. In this work, we proposed a two‐stage scheduling framework for smart city intelligent application. In the first stage, we propose a virtual machine selection algorithm for edge computing to enhance relative migration benefits. The algorithm defines the invalid virtual machine migration and relative migration benefits from the change in the overall computing resources of the cloud data center after the virtual machine migration. In the second stage, we proposed an energy efficient and resource‐constrained scheduling framework for edge computing. The historical data of the cloud and edge computing workload of the computing node are processed in a sliding window manner, and the median absolute deviation of the historical data is used as the base of the physical reserved resource constraint when the base also changes as the workload changes. The experimental results show that energy‐efficient and resource‐constrained can make the computer resource provide high‐quality services for users in a low‐energy state.