The invention discloses a multi-dimensional combined API gateway flow control method and
system, and relates to the technical field of flow control, and the method comprises the steps: collecting the
monitoring data of an API gateway and the
resource utilization data of a node, collecting the context information when the flow is abnormal, generating a first
feature set, and calculating the feature importance parameter of each feature; the features with the feature importance parameters larger than a
feature selection threshold value serve as key features, an anomaly
feature matrix is generated, an anomaly classification model and an anomaly influence range prediction model are trained, the anomaly type and the influence range of current traffic anomaly are predicted, a traffic control strategy is designed, and a strategy historical performance
score is calculated. The method comprises the following steps: calculating a strategy
fitness score of each flow control strategy, calculating a strategy income and a strategy
failure risk of each flow control strategy, calculating a strategy
score value of the flow control strategy for the current flow abnormity, and taking the flow control strategy with the highest strategy
score value as an optimal flow control strategy, thereby realizing control and self-healing of the flow abnormity.