The invention provides an
online learning type scheduling method based on a container layer dependency relationship in
edge computing. The invention relates to
edge computing and a deep
reinforcement learning method of
resource scheduling and
machine learning in a distributed
system. According to the technical scheme, firstly, modeling is conducted on edge calculation based on the level of a container layer; the
task completion time of the user in the edge calculation is considered, and the
task completion time comprises the downloading time of a container required by the user task and the
running time of the user task. On the basis, an
algorithm based on factorization is provided, the dependency relationship of a container layer in
edge computing is extracted, and high-dimensional and low-dimensional sparse dependency features in the dependency relationship are extracted. And finally, on the basis of the extracted dependency relationship and task and node resource characteristics, a learning type task scheduling
algorithm based on strategy gradient is designed, and thus verifying the whole process through real data. According to the method provided by the invention, resources in the edge computing can be better planned, and the total overhead of tasks of users in an edge computing
system and the overhead required for downloading container
mirror image files during container running in the edge computing are reduced.