The invention belongs to the technical field of electrical
digital data processing and
resource allocation, and provides an agent lightweight deployment method and a computing power elastic
allocation method, lightweight deployment realizes one-time development of multi-platform deployment by constructing a plug-in container packaging tool and a multi-architecture compiling engine;
static analysis is used for stripping redundant dependence of the model, and the model is dynamically
cut in combination with edge resources; developing an intelligent
resource description language, integrating a control group and a filtering technology to realize container-level resource monitoring, constructing a 12-dimensional dynamic
state space fusing a node state, task characteristics and a network environment through computing power elastic distribution, and introducing a time
delay, cost and reliability three-dimensional weighted reward model to quantify distribution earnings; an edge cloud cooperative training framework and an edge execution strategy are designed, experience is collected, a cloud end trains a Q network through federal learning, an optimization decision is played back in combination with priority experience, the agent deployment efficiency and the
resource utilization rate are improved, and data privacy is guaranteed.