The invention discloses a
server resource reservation method for an
edge computing system in a fault scene, which belongs to the technical field of
mobile edge computing, and comprises the following steps: step 1, constructing a resource reservation model with
limited resources for the fault scene; 2, defining a Markov
decision problem (MDP) according to the model, wherein the MDP comprises a
state space, an action space and a reward function; and step 3, proposing a resource reservation (QLRR)
algorithm based on Q-learning, making an optimal resource reservation decision based on
reinforcement learning, and maximizing the earnings of the
edge server. The
edge computing system in the fault scene comprises a
cloud server, an
edge server and a user and service management platform. The user generates a task, delivers the task to the
edge server or the
cloud server for
processing and obtains a
processing result; the
cloud server and the edge
server provide calculation service for the user; the service management platform monitors the
system state of the edge
server and schedules tasks; in the prior art, an edge server may have a fault, and a task running on the fault edge server fails, so that an additional task can be released, and in order to ensure task execution, other edge servers need to allocate quantitative resources to the part of the task. Different from the existing reservation method, the reservation method provided by the invention can effectively reduce the waste of resources, comprehensively considers the randomness of task arrival and the finiteness of the resources, effectively ensures the
service quality, and improves the total income of the edge server.