The invention discloses a
server-
free edge function reliability deployment method and
system based on
reinforcement learning, and the method is oriented to
server-
free edge calculation, takes the minimization of long-term
network cost as a target, and systematically solves the problems of high
cold start cost,
limited resources, difficult reliability guarantee and the like. A
system model including user movement, channel
fading, function deployment and a
backup mechanism is constructed, four types of costs of
cold start, maintenance, transmission and punishment are accurately described and converted into a Markov
decision process, and a state-action-award framework is utilized to realize dynamic decision. The PPO
algorithm fusing the greedy strategy to assist the
action selection is further provided, and a function deployment scheme meeting the reliability constraint is efficiently generated under the condition that resources are limited. According to the method, through fusion of
reinforcement learning and a greedy strategy, the problems of feasibility, reliability and cost of function deployment in
server-
free edge computing are solved, and the method has the capabilities of efficient deployment, adaptive scheduling and long-term performance optimization.