This application discloses a
resource scheduling method, apparatus, electronic device, and medium, belonging to the field of network
resource scheduling technology. The method includes: acquiring
energy consumption data, latency data, and load data from multiple servers, wherein the first
server includes a
cloud server and an
edge server; inputting the
energy consumption data, latency data, and load data into a preset
resource scheduling model, and outputting multiple
system data of the resource
scheduling system composed of the multiple servers; inputting the multiple
system data into a preset
deep learning model, and outputting response data corresponding to the resource
scheduling system to represent the network environment's response to the state; the
deep learning model is a model combining a time-
recurrent neural network and an attention mechanism; and scheduling the network resources of the multiple servers based on the response data. The embodiments of this application employ a resource scheduling model and a
deep learning model to improve resource scheduling efficiency.