A Resource Allocation Scheme for Edge Computing Network in Smart City Based on Attention Mechanism

Zhengjie Sun,Hui Yang,Chao Li,Qiuyan Yao,Yun Teng,Jie Zhang,Sheng Liu,Yunbo Li,Athanasios V. Vasilakos
DOI: https://doi.org/10.1145/3650031
2024-03-11
ACM Transactions on Sensor Networks
Abstract:In recent years, the number of devices and terminals connected to the smart city has increased significantly. Edge networks face a greater variety of connected objects and massive services. Considering that a large number of services have different QoS requirements, it has always been a huge challenge for smart city to optimally allocate limited computing resources to all services to obtain satisfactory performance. In particular, delay is intolerable for services in certain applications, such as medical, industrial applications, etc, that such applications require the high priority. Therefore, through flexibly dynamic scheduling, it is crucial to schedule services to the optimal node to ensure user experience. In this paper, we propose a resource allocation scheme for hierarchical edge computing network in smart city based on attention mechanism, for extracting a small number of features that can represent services from a large amount of information collected from edge nodes. The attention mechanism is used to quickly determine the priority of the services. Based on this, task deployment and resource allocation for different task priorities are developed to ensure the quality of service in smart cities by introducing Q-learning. Simulation results show that the proposed scheme can effectively improve the edge network resource utilization, reduce the average delay of task processing, and effectively guarantee the quality of service.
computer science, information systems,telecommunications
What problem does this paper attempt to address?
The paper proposes a solution to the problem of resource allocation in edge computing networks in smart cities. With the rapid development of the Internet of Things, big data, and cloud computing technologies, the number of devices and terminals in smart cities has increased significantly, resulting in increased data processing pressure. As latency is crucial for certain services such as medical and industrial applications, it is necessary to optimize the allocation of limited computing resources to ensure quality of service. The paper presents a hierarchical edge computing network resource allocation scheme based on attention mechanisms. By using attention mechanisms, a small set of features that represent the services can be extracted quickly from a large amount of information collected from edge nodes, thus determining the priority of services. Then, using Q-learning based on the priority of tasks, a task deployment and resource allocation strategy is developed to ensure the Quality of Service (QoS) of the smart city. Specifically, the scheme includes: 1) Using attention mechanisms to optimize feature extraction, combining LSTM to quickly extract key features from a large amount of heterogeneous data. 2) Deploying a priority confirmation mechanism based on KNN on edge nodes, setting up high, medium, and low priority buffers to adapt to the needs of different services. 3) Coordinating the resources between the edge and the cloud to achieve unified scheduling and management of distributed resources, ensuring quality of service while avoiding increasing the normal capacity of the network. Through simulation results, the scheme can effectively improve the utilization of edge network resources, reduce the average delay of task processing, and ensure quality of service.