The invention relates to a resource elastic scaling decision-making method,
system and device and a medium. The method comprises the following steps: collecting real-time operation data of a
security service node, and performing multi-dimensional
security index analysis according to the real-time operation data to obtain a portrait data packet; predicting the
security service weight value to obtain a prediction result, performing dynamic error compensation on the prediction result to generate a corrected
weight prediction value, and generating a control instruction based on the corrected
weight prediction value and the active
session state; and when the instruction is a migration instruction, analyzing a
session state snapshot of the instruction, calling a preset kernel state locking function to lock a memory session block of a source node, obtaining incremental state change data to generate a migration snapshot packet, and performing block
verification injection operation on a target node. According to the method, by integrating multi-dimensional
safety index analysis, prediction error compensation and stateful transition
verification mechanisms, the accuracy and response efficiency of resource elastic scaling
decision making are improved, and the continuity of stateful service transition and the consistency of safety strategies are enhanced.