Artificial intelligence-based cloud computing resource intelligent scheduling method and system

By collecting and analyzing call chains and multi-dimensional performance metrics data from cloud computing platforms, identifying performance impact relationships and simulating scheduling operations, the problem of causal mismatch in resource scheduling for microservice applications in existing technologies is solved, enabling accurate identification of performance bottlenecks and intelligent improvement of resource scheduling.

CN123164115APending Publication Date: 2026-11-24ANHUI BIZHUAN TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611351751.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-02
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing technologies cannot accurately identify performance bottlenecks when dealing with microservice applications with complex internal call dependencies, leading to causal mismatches in resource scheduling decisions, resulting in decreased service quality and low resource utilization efficiency.

Method used

By collecting call chain data and multi-dimensional performance index data from the cloud computing platform, cluster analysis and responsibility backtracking path are used to identify performance impact relationships, simulate scheduling operations and evaluate whether they converge to a new stable state, and generate accurate resource scheduling instructions.

Benefits of technology

It enables accurate identification and scheduling of performance bottlenecks, avoids resource waste, and improves the intelligence level of resource scheduling and service quality of the cloud computing platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123164115A_ABST
    Figure CN123164115A_ABST
Patent Text Reader

Abstract

This invention discloses an intelligent cloud computing resource scheduling method and system based on artificial intelligence, specifically relating to the field of resource allocation and scheduling technology. It addresses the problem of inaccurate resource allocation caused by mismatch between local resource metrics and actual system bottlenecks in complex microservice scenarios, where existing threshold-based autoscaling mechanisms suffer from this issue. By collecting call chain data and multi-dimensional performance metrics data from microservice instances, it identifies typical operating state patterns of each instance and their propagation impact among call relationships based on performance metric clustering analysis. This leads to the construction of a responsibility backtracking path from request backlog instances to potential performance root causes to locate non-resource exhaustion performance bottlenecks. Subsequently, it simulates the cascading dynamic process triggered by platform rules and performance impact relationships after applying different scheduling operations to bottleneck instances and evaluates its convergence. Finally, based on the convergence evaluation results, it selects the optimal scheduling operation and generates execution instructions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of resource allocation and scheduling technology, and more specifically, to a cloud computing resource intelligent scheduling method and system based on artificial intelligence. Background Technology

[0002] In cloud computing environments, with the widespread adoption of microservices design patterns in application architectures, individual applications are broken down into multiple loosely coupled, independently deployed service units. These service units collaborate through remote call chains to jointly complete business logic. To cope with dynamically changing workloads, cloud computing platforms need to dynamically allocate and reclaim computing, storage, and other resources for distributed microservice instances. Existing technologies generally employ methods based on pre-defined threshold rules for automatic resource scaling. This involves monitoring the underlying resource utilization metrics of each independent microservice instance, and triggering horizontal scaling up or down operations for that instance when a certain metric consistently exceeds or falls below a preset threshold.

[0003] However, technical flaws are exposed when dealing with microservice applications with complex internal call dependencies. Because the performance state of microservices is propagated along the call chain, when a downstream service experiences performance degradation due to internal processing logic, external dependencies, or other factors, rather than simply resource exhaustion, it can cause upstream callers to become blocked and wait. This manifests as reduced resource utilization in the upstream service and a continuous backlog of requests. In this situation, scheduling mechanisms based on local resource utilization may incorrectly determine that the upstream service is underloaded and trigger scaling down, or ignore its scaling needs, without taking effective resource adjustments for the downstream service where the actual bottleneck lies. This causal mismatch between the state indicators used for scheduling decisions and the actual system bottleneck causes resource allocation actions to deviate from the actual optimization goals. This not only fails to alleviate system performance bottlenecks but may also further exacerbate service congestion by incorrectly reducing resource supply on critical paths, leading to a decline in overall service quality and inefficient resource utilization. Summary of the Invention

[0004] In order to overcome the above-mentioned defects of the prior art, the present invention provides an intelligent scheduling method and system for cloud computing resources based on artificial intelligence to solve the problems mentioned in the background art.

[0005] To achieve the above objectives, the present invention provides the following technical solution:

[0006] Artificial intelligence-based intelligent scheduling methods for cloud computing resources include:

[0007] S1. Collect call chain data and multi-dimensional performance index data of microservice instances in the cloud computing platform;

[0008] S2. Based on multi-dimensional performance index data clustering, the typical operating state mode of each microservice instance is obtained, and the propagation relationship of the typical operating state mode among microservice instances with call relationship is analyzed in combination with call link data to identify the performance impact relationship.

[0009] S3. Analyze the asymmetry of performance impact relationships, and based on the asymmetry, construct a responsibility backtracking path from the microservice instance experiencing request backlog to the potential performance root cause instance;

[0010] S4. Analyze along the responsibility backtracking path to find performance bottleneck instances where request backlog is caused by non-resource exhaustion type performance degradation;

[0011] S5. Simulate the dynamic process of cascading scheduling triggered by the platform's autoscaling rules and performance impact relationship after applying different scheduling operations to the performance bottleneck instance, and evaluate whether the dynamic process converges to a new stable state.

[0012] S6. Based on the evaluation results of whether it converges to a new stable state, select the appropriate scheduling operation and generate resource scheduling instructions.

[0013] Furthermore, call chain data and multi-dimensional performance index data of microservice instances in the cloud computing platform are collected, including:

[0014] Collect remote call relationships and call time data between microservice instances to form call chain data; collect resource utilization, service response time and error rate data of each microservice instance within a preset collection period to form multidimensional performance index data.

[0015] Furthermore, based on multidimensional performance metric data clustering, typical operating state patterns of each microservice instance are obtained. Combined with call chain data analysis, the propagation relationship of these typical operating state patterns among microservice instances with call relationships is identified to determine performance impact relationships, including:

[0016] Multidimensional performance metrics data of each microservice instance are input into a clustering algorithm for analysis, and the running status of microservice instances with similar metric characteristics are classified into the same typical running status pattern.

[0017] Identify microservice instance pairs with direct call relationships based on call chain data;

[0018] The statistics show the co-occurrence probability of the running state of the downstream microservice instance changing to a specific typical running state mode in subsequent time windows when the running state of the downstream microservice instance changes to a specific typical running state mode.

[0019] Based on statistical results showing that the co-occurrence probability exceeds a preset probability threshold, the performance impact relationship from downstream microservice instances to their direct upstream caller microservice instances is identified.

[0020] Furthermore, based on the call chain data, we determine the microservice instance pairs that have a direct call relationship. Specifically, this includes parsing the caller service identifier and the callee service identifier recorded in the call chain data, combining two different microservice instance identifiers that have at least one successful call record into an instance pair, and counting all existing direct call relationships to form a set of microservice instance pairs.

[0021] Furthermore, the asymmetry of performance impact relationships is analyzed, and based on this asymmetry, a responsibility backtracking path is constructed from the microservice instance experiencing request backlog to the potential root cause instance of performance issues, including:

[0022] For each pair of microservice instances that have a performance impact relationship, the ratio of the impact strength of the change in the state of the downstream instance leading to the change in the state of the upstream instance to the reverse impact strength is calculated as the asymmetry strength.

[0023] Starting with the microservice instance experiencing request backlog at the current moment, a reverse search is performed along the relationship edges whose asymmetry strength exceeds a preset directional threshold in the graph composed of performance impact relationships, until no upstream relationship edge that meets the conditions can be found or the preset search depth is reached. The sequence of microservice instances passed through during the search process is constructed as a responsibility backtracking path, and the instance at the end of the path is marked as a potential performance root cause instance.

[0024] Furthermore, analysis along the responsibility backtracking path reveals performance bottleneck instances where request backlog is caused by non-resource exhaustion-type performance degradation, including:

[0025] Traverse each microservice instance on the responsibility backtracking path and obtain its current multi-dimensional performance index data; determine whether the corresponding microservice instance is in a resource exhaustion state based on the resource utilization index in the multi-dimensional performance index data.

[0026] If a microservice instance is not in a resource-exhausted state and its request backlog persists, analyze the response status of its downstream dependent instances by combining the call chain data to confirm whether there is non-resource-exhaustion blocking caused by the performance degradation of downstream dependent instances.

[0027] Microservice instances that meet the non-resource exhaustion blocking conditions and are located at the end of the responsibility backtracking path are identified as performance bottleneck instances causing request backlog due to non-resource exhaustion performance degradation.

[0028] Furthermore, the simulation demonstrates a dynamic process of cascading scheduling triggered by the platform's autoscaling rules and performance impact relationship after applying different scheduling operations to performance bottleneck instances. It also evaluates whether the dynamic process converges to a new stable state, including:

[0029] Based on the current performance bottleneck instance and call chain data, generate different resource adjustment schemes for the performance bottleneck instance according to the preset scheduling operation type;

[0030] Based on the platform's autoscaling rules and the identified performance impact relationships, the subsequent scheduling action sequence of related microservice instances that may be triggered by each resource adjustment plan is iteratively deduced, forming a cascading scheduling dynamic process;

[0031] During the simulation, the resource utilization and request backlog status of all microservice instances are monitored after multiple iterations. When the trend no longer exceeds the allowable fluctuation range within the preset observation period, the cascading scheduling dynamic process is determined to have converged to a new stable state.

[0032] Furthermore, the preset scheduling operation types include horizontal scaling up, horizontal scaling down, and resource reconfiguration; among them, horizontal scaling up and horizontal scaling down are used to adjust the number of replicas of microservice instances, and resource reconfiguration is used to adjust the computing resource specifications and memory resource specifications of microservice instances.

[0033] Furthermore, based on the evaluation results of whether it converges to a new stable state, the corresponding scheduling operation is selected and resource scheduling instructions are generated, including:

[0034] From multiple resource adjustment schemes simulated for performance bottleneck instances, the schemes whose cascading scheduling dynamic process can converge to a new stable state are selected after evaluation.

[0035] Among the set of convergent solutions, the resource adjustment solution that requires the fewest iterations or the smallest total resource adjustment to bring the system to a new stable state is selected as the target scheduling operation.

[0036] Based on the resource adjustment type and scale corresponding to the target scheduling operation, a resource scheduling instruction containing the target microservice instance identifier, resource specifications, and operation type is generated and sent to the control component of the cloud computing platform for execution.

[0037] On the other hand, the present invention provides an intelligent cloud computing resource scheduling system based on artificial intelligence, comprising:

[0038] The data acquisition module is used to collect call chain data and multi-dimensional performance index data of microservice instances in the cloud computing platform;

[0039] The relationship identification module is used to obtain the typical running state mode of each microservice instance based on multi-dimensional performance index data clustering, and to analyze the propagation relationship of the typical running state mode among microservice instances with call relationship in combination with call link data, so as to identify the performance impact relationship.

[0040] The path building module is used to analyze the asymmetry of performance impact relationships and, based on the asymmetry, build a responsibility backtracking path from the microservice instance experiencing request backlog to the potential performance root cause instance.

[0041] The instance analysis module is used to analyze along the responsibility backtracking path to identify performance bottleneck instances that cause request backlog due to non-resource exhaustion performance degradation.

[0042] The state evaluation module is used to simulate the dynamic process of cascading scheduling triggered by the platform's autoscaling rules and performance impact relationship after applying different scheduling operations to a performance bottleneck instance, and to evaluate whether the dynamic process converges to a new stable state.

[0043] The instruction generation module is used to select the appropriate scheduling operation and generate resource scheduling instructions based on the evaluation results of whether it converges to a new stable state.

[0044] Compared with the prior art, the present invention has the following beneficial effects:

[0045] 1. By collecting and integrating call chain data and multi-dimensional performance index data, and establishing typical operating state patterns of microservice instances based on cluster analysis, the propagation and impact relationships of performance states between services can be identified. This allows the scheduling system to transcend a single resource utilization perspective and understand system behavior from the level of call dependencies and state associations. In particular, by analyzing the asymmetry of performance impact relationships and constructing a responsibility backtracking path, it can accurately trace observed service request backlogs and other anomalies along the true causal direction to the root instance causing the problem, namely the performance bottleneck instance caused by downstream blockage due to non-resource exhaustion performance degradation. This solves the misjudgment problem caused by the locality of indicators and causal mismatch in traditional methods, ensuring that resource scheduling actions can accurately act on the real system bottlenecks and avoiding resource waste and service degradation caused by ineffective or reverse scaling of non-bottleneck instances.

[0046] 2. After locating performance bottleneck instances, instead of directly implementing scheduling, the system simulates and extrapolates the cascading dynamic processes that different scheduling operations may trigger, driven by the platform's built-in rules and inter-service relationships. It then assesses whether this process converges to a new stable state, providing a forward-looking verification capability for scheduling decisions. This allows the system to identify scheduling strategies that not only immediately alleviate bottlenecks but also guide the entire system smoothly to a healthy, stable state. By selecting such strategies and generating instructions, the system achieves not just a one-time resource adjustment but also a controlled system state migration. This significantly improves the intelligence and reliability of cloud computing platform resource scheduling, enabling resource allocation to closely align with the actual operating logic and dynamic characteristics of microservice applications. Ultimately, this achieves the dual goals of optimizing service quality and improving resource utilization efficiency. Attached Figure Description

[0047] Figure 1 This is a flowchart of the intelligent cloud computing resource scheduling method based on artificial intelligence according to the present invention;

[0048] Figure 2 This is a schematic diagram of the structure of the AI-based intelligent cloud computing resource scheduling system of the present invention. Detailed Implementation

[0049] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0050] Example 1: Figure 1 This invention presents an intelligent cloud computing resource scheduling method based on artificial intelligence, comprising:

[0051] S1. Collect call chain data and multi-dimensional performance index data of microservice instances in the cloud computing platform;

[0052] S2. Based on multi-dimensional performance index data clustering, the typical operating state mode of each microservice instance is obtained, and the propagation relationship of the typical operating state mode among microservice instances with call relationship is analyzed in combination with call link data to identify the performance impact relationship.

[0053] S3. Analyze the asymmetry of performance impact relationships, and based on the asymmetry, construct a responsibility backtracking path from the microservice instance experiencing request backlog to the potential performance root cause instance;

[0054] S4. Analyze along the responsibility backtracking path to find performance bottleneck instances where request backlog is caused by non-resource exhaustion type performance degradation;

[0055] S5. Simulate the dynamic process of cascading scheduling triggered by the platform's autoscaling rules and performance impact relationship after applying different scheduling operations to the performance bottleneck instance, and evaluate whether the dynamic process converges to a new stable state.

[0056] S6. Based on the evaluation results of whether it converges to a new stable state, select the appropriate scheduling operation and generate resource scheduling instructions.

[0057] S1. Collect call chain data and multi-dimensional performance index data of microservice instances in the cloud computing platform. The specific implementation is as follows:

[0058] The collection of call chain data is accomplished through agents deployed on each microservice instance of the cloud computing platform or by utilizing the tracing functionality built into the microservice framework. The agents or tracing functionality intercept and record every remote call between microservice instances. For each call, the recorded information includes at least the unique identifier of the initiating microservice instance, the unique identifier of the called microservice instance, the timestamp of the call initiation, and the timestamp of the call completion. The remote call relationship is defined by the combination of the caller's microservice instance identifier and the called microservice instance identifier, indicating a direct service dependency between the two instances. Call duration data is obtained by calculating the difference between the call completion timestamp and the call initiation timestamp in the same call record, typically in milliseconds. The collected raw call records are sent in batches to a centralized data storage service for aggregation and persistence at preset time intervals, such as every 5 seconds, thus forming call chain data covering all observed call relationships across the entire platform within the stated time interval.

[0059] The collection of multi-dimensional performance metrics data is synchronized with the call chain data collection. The collection period and the aggregation time interval of the call chain data are consistent, for example, both are set to 5 seconds, to ensure that the two types of data can be aligned and correlated in the time dimension. Resource utilization metrics are collected by reading the monitoring interface provided by the underlying infrastructure of the cloud computing platform or the operating system performance counters. For computing resources, the percentage of CPU usage time of the microservice instance in a collection period is collected, i.e., CPU utilization. For memory resources, the percentage of memory used by the microservice instance in a collection period is collected, i.e., memory utilization. The percentage value is the average of the instantaneous values ​​in the continuous collection period. Service response time metrics are collected in two complementary ways: First, from the above call chain data, the call time of all call records with the current microservice instance as the callee is extracted, and its statistical value in a collection period is calculated, such as the 95th percentile, to characterize the latency level of the instance in processing external requests; second, points are marked at the entry and exit points of the key processing logic inside the microservice instance to directly measure its internal processing time. Error rate metrics are collected by statistically analyzing the ratio of the number of error-indicating status codes in a microservice instance's external responses to the total number of responses within a collection period, such as timeout errors and internal server errors. Simultaneously, the frequency of events marked as errors or exceptions in the microservice instance's internal application logs is also analyzed. Ultimately, each microservice instance generates a data point containing specific values ​​for resource utilization, service response time, and error rate within each preset collection period. The collection of all data points constitutes a time-varying multidimensional performance metric data sequence for subsequent analysis. The specific duration of the preset collection period, such as 5 seconds, 10 seconds, or 30 seconds, is determined based on the business's real-time monitoring requirements and the data processing capabilities of the cloud computing platform's monitoring system, aiming to balance timeliness and system overhead.

[0060] S2. Based on multi-dimensional performance index data clustering, typical operating state patterns of each microservice instance are obtained. Combined with call chain data analysis, the propagation relationship of typical operating state patterns among microservice instances with call relationships is identified to identify performance impact relationships. Specifically, the implementation is as follows:

[0061] First, the multidimensional performance metric data of each microservice instance is input into a clustering algorithm for analysis. Here, the multidimensional performance metric data refers to the resource utilization, service response time, and error rate data of each microservice instance collected in step S1 and arranged in time series. The clustering algorithm can be, for example, K-means clustering, whose core objective is to classify the operating states of microservice instances with similar metric characteristics into the same typical operating state pattern. Before applying this algorithm, the multidimensional performance metric data needs to be standardized preprocessed to eliminate the influence of differences in the units of measurement of different metrics. Standardization methods, such as Z-score standardization, involve calculating the mean and standard deviation of each performance metric across the entire dataset, then subtracting the mean of the metric from each original value, and finally dividing by the standard deviation of the metric. The number of clusters K in a clustering algorithm can be determined using the elbow rule. Specifically, the within-group sum of squares for each K value (1, 2, 3 up to a maximum of 10) is calculated, and a line graph showing the within-group sum of squares as a function of K is plotted. The K value corresponding to the inflection point in this line graph is then selected as the final number of clusters. After clustering analysis, each microservice instance's running status at each data collection time is assigned a category label. The running status of all microservice instances corresponding to the same category label is defined as a typical running status pattern. Each typical running status pattern has a representative multi-dimensional performance indicator vector. This vector is obtained by calculating the average of all data points belonging to this pattern across each performance indicator dimension, and is used to characterize the typical features of this pattern.

[0062] Secondly, based on the call chain data, microservice instance pairs with direct call relationships are identified. Specifically, the caller and callee service identifiers recorded in the call chain data are parsed. The call chain data is the dataset collected in step S1, recording the remote call relationships and call durations between microservice instances. For each call record, the caller and callee microservice instance identifiers are extracted. These two identifiers are grouped into an ordered pair, where the first element is the caller identifier and the second element is the callee identifier. If two different microservice instance identifiers form such an ordered pair in at least one call record, indicating at least one successful call, then these two microservice instance identifiers are combined and defined as a microservice instance pair. All call records are traversed, all existing direct call relationships are counted, and all unique microservice instance pairs are collected to form a microservice instance pair set. This set clarifies which microservice instances in the entire system have direct service call dependencies.

[0063] Next, within a continuous time window, when the running state of a downstream microservice instance changes to a specific typical running state mode, the co-occurrence probability of its direct upstream caller microservice instance changing its running state to the affected typical running state mode in subsequent time windows is calculated. Specifically, the length of the time window needs to take into account the delay of performance state propagation; for example, it can be set as an integer multiple of the collection period in step S1, such as 5 collection periods, or 25 seconds. A continuous time window refers to dividing the entire monitoring period into chronological, continuous, and non-overlapping segments. For each ordered pair in the set of microservice instance pairs, i.e., the instance pair consisting of a downstream microservice instance and its direct upstream caller microservice instance, the typical running state mode label sequence of the two instances is scanned chronologically. When it is observed that the running state label of the downstream microservice instance changes to a specific typical running state mode at a certain moment, such as changing from normal mode to high latency mode, this event is recorded as the starting point. Then, it is observed whether, within a subsequent time window, for example, within 5 consecutive periods starting from the next collection period after the event, the running state label of its direct upstream caller microservice instance changes to an affected typical running state mode, such as request backlog mode. The co-occurrence probability is calculated by counting the number of times an upstream instance enters an affected typical operating state mode within a subsequent time window, among all observed events where downstream instances enter that specific typical operating state mode. This co-occurrence probability is calculated by dividing this number by the total number of events where downstream instances enter that specific mode. This calculation is performed separately for each pair of microservice instances with a direct calling relationship and for each possible combination of downstream-specific mode and upstream-affected mode.

[0064] Finally, based on the statistical results of co-occurrence probabilities exceeding a preset probability threshold, the performance impact relationship from downstream microservice instances to their direct upstream caller microservice instances is identified. The preset probability threshold is an empirical value used to determine whether a relationship is significant; for example, it can be set to 0.7. This threshold can be set based on the analysis of co-occurrence events of a large number of instance pairs in historical monitoring data. For example, calculating the distribution of all co-occurrence probabilities and selecting a high percentile, such as 80%, as the threshold. The purpose is to filter out occasional co-occurrences and ensure that the identified relationships have high confidence. For each pair of microservice instances and the corresponding combination of downstream specific modes and upstream affected modes, if the calculated co-occurrence probability is greater than or equal to the preset probability threshold, it is determined that in that specific state, there exists a performance impact relationship from the downstream microservice instance to the direct upstream caller microservice instance. This relationship means that when a downstream instance enters that specific typical operating state mode, there is a high probability that its direct upstream caller will subsequently enter the affected typical operating state mode within a short period. All identified performance impact relationships will be recorded, forming a relationship network reflecting the state propagation impact between microservice instances, providing a basis for subsequent analysis. The specific value of the preset probability threshold can be adjusted according to the actual system stability and false alarm tolerance. For example, in scenarios requiring high accuracy, a higher percentile value in the distribution can be selected, while in scenarios requiring high recall, a lower percentile value can be selected.

[0065] S3. Analyze the asymmetry of performance impact relationships, and based on this asymmetry, construct a responsibility backtracking path from the microservice instance experiencing request backlog to the potential root cause instance of performance issues. The specific implementation is as follows:

[0066] First, for each pair of microservice instances with a performance impact relationship, the ratio of the impact strength of the downstream instance's state change leading to the upstream instance's state change to the reverse impact strength needs to be calculated as the asymmetric strength. The pairs of microservice instances with a performance impact relationship are those identified in step S2 based on co-occurrence probabilities exceeding a preset probability threshold. Each relationship includes a downstream microservice instance, a direct upstream caller microservice instance, a specific typical operating state mode for the downstream, and an affected typical operating state mode for the upstream. The impact strength specifically refers to the co-occurrence probability value calculated in step S2, i.e., the probability that when a downstream instance enters its specific typical operating state mode, the upstream instance will enter its affected typical operating state mode in a subsequent time window. The calculation method for the reverse impact strength is completely consistent with the logic of calculating the co-occurrence probability in step S2, but the statistical objects and directions are reversed. Specifically, it is the probability that, within a continuous time window, when the original upstream caller microservice instance's operating state changes to the original affected typical operating state mode, the original downstream microservice instance's operating state will change to the original specific typical operating state mode in a subsequent time window. The specific calculation method for asymmetric strength is as follows: divide the influence strength value of the original direction by the calculated reverse influence strength value to obtain a dimensionless ratio. When this ratio is significantly greater than 1, it indicates that the performance impact mainly points from the downstream microservice instance to the upstream calling microservice instance; when the ratio is close to 1, it indicates that the impact is bidirectional or symmetrical; when the ratio is significantly less than 1, it indicates that the main directions of the impact are opposite. For efficient calculation, when the reverse influence strength value is 0, it can be replaced with a very small positive number, such as 0.001, to avoid division by zero errors. The specific value of this very small positive number does not affect the relative ranking of asymmetric strengths.

[0067] Secondly, starting with the microservice instance experiencing request backlog at the current moment, a reverse search is performed along the edges of relationships whose asymmetry strength exceeds a preset directional threshold in the graph of performance impact relationships. This continues until no upstream relationship edge satisfying the conditions is found or the preset search depth is reached. The sequence of microservice instances traversed during the search process is constructed as a responsibility backtracking path, and the instance at the end of the path is marked as a potential performance root cause instance. In implementing this part, a performance impact relationship graph needs to be constructed first. This graph is a directed weighted graph, where nodes represent microservice instances, and directed edges represent the performance impact relationships identified in step S2, pointing from downstream microservice instances to their direct upstream caller microservice instances. The weight of each directed edge is the asymmetry strength value corresponding to the relationship calculated in the previous step. The preset directional threshold is used to filter out impact relationships with significant unidirectionality; its value must be greater than 1, for example, it can be set to 2.0. The threshold can be set based on the distribution analysis of all asymmetric strength values ​​in the system. For example, the median and standard deviation of all ratios can be calculated, and the median plus one standard deviation can be used as a candidate value for the preset directional threshold. The threshold can be adjusted by observing the quality of the selected relationship edges under different candidate values ​​to ensure that the selected edges represent strong, directional causal influences. The preset search depth is used to limit the number of steps in the reverse search to prevent infinite tracing in complex call networks or getting stuck in an infinite loop due to circular dependencies. Its value can be determined based on the average length of the microservice call chain in the system. For example, by analyzing historical call chain data, the average length of all call chains can be calculated, and the integer value obtained by adding 1 or 2 to the average value can be used as the preset search depth, for example, set to 5.

[0068] The specific process of reverse search is as follows: The microservice instance detected as having request backlog during the current monitoring period is used as the starting node for the search. Request backlog status can be determined based on the instance's request queue length exceeding a normal threshold or its service response time consistently exceeding a preset alarm threshold. Starting from this starting node, in the performance impact graph, all directed edges ending at this node (i.e., the upstream caller) with an edge weight (i.e., asymmetry strength) greater than a preset directionality threshold are searched. For each directed edge meeting the conditions, its starting point (i.e., the downstream microservice instance) is used as the new current node, and both the edge and the original current node are added to the path to be constructed. Then, using the new current node as the new starting point, the above search process is repeated, i.e., searching for all directed edges ending at this new node with an edge weight exceeding the preset directionality threshold. This process is continuously iterated. The search stops on the current branch when one of the following two conditions is met: First, at the current node, no directed edge with a weight exceeding a preset directional threshold can be found, indicating that the source of the current impact has been traced. Second, the length of the currently constructed path has reached the preset search depth. Once the search process completely stops, one or more sequences will ultimately form, starting from the initial microservice instance experiencing request backlog, traversing backward along a series of highly asymmetric impact edges, and ending at a microservice instance that cannot be traced further. Each such sequence constitutes a responsibility backtracking path. The terminal node of each responsibility backtracking path, i.e., the last microservice instance that cannot find a matching upstream impact edge, is marked as the potential performance root cause instance of the current request backlog problem. The entire reverse search process can be implemented using a graph traversal algorithm based on depth-first search or breadth-first search. Finally, all constructed responsibility backtracking paths and their marked potential performance root cause instances will be the output of this step for subsequent in-depth analysis.

[0069] The normal threshold is used to determine whether the request queue length is in an abnormal state. It is set based on statistical analysis of the request queue length metric during the historical normal operation of the microservice instance. For example, it calculates the data distribution of this metric during a stable period within a day and sets the 95th percentile as the normal threshold. The preset alarm threshold is used to determine whether the service response time is in an abnormal state. It is set based on predefined service level objectives or statistical analysis of historical normal response time data. For example, it sets the maximum allowed response time specified in the service level agreement or the 99th percentile of historical response time data as the preset alarm threshold.

[0070] S4. Analyzing along the responsibility backtracking path reveals performance bottleneck instances where request backlog is caused by non-resource exhaustion-type performance degradation. The specific implementation is as follows:

[0071] First, iterate through each microservice instance on the responsibility backtracking path and obtain its current multidimensional performance metrics data. The responsibility backtracking path is the sequence of microservice instances constructed in step S3, pointing from the microservice instance experiencing request backlog to the potential root cause instance of performance issues. The current time refers to the time corresponding to the latest monitoring data collection cycle at the time of this analysis. For each microservice instance on the path, query the multidimensional performance metrics data corresponding to that instance at the current time from its continuously updated monitoring data storage. This data includes the specific values ​​of resource utilization, service response time, and error rate defined in step S1.

[0072] Secondly, resource utilization metrics from multi-dimensional performance data are used to determine whether the corresponding microservice instance is in a resource exhaustion state. Resource utilization metrics mainly include CPU utilization and memory utilization. Determining resource exhaustion requires setting a resource exhaustion threshold for each resource utilization metric. The resource exhaustion threshold can be set based on statistical analysis of historical resource utilization data during long-term stable operation of the system. For example, the 95th percentile of resource utilization in historical data can be calculated, and values ​​slightly below this percentile can be set as the resource exhaustion threshold, aiming to capture abnormal states where resource usage is close to saturation. For example, the resource exhaustion threshold for CPU utilization can be set to 90%, and the resource exhaustion threshold for memory utilization can be set to 85%. If the CPU utilization of a microservice instance consistently exceeds the resource exhaustion threshold for CPU utilization, or the memory utilization consistently exceeds the resource exhaustion threshold for memory utilization, then the instance is determined to be in a resource exhaustion state. The duration of exceeding the limit can be determined by setting a threshold for the number of consecutive judgment cycles. For example, a final judgment is made only when the data of three consecutive collection cycles exceeds the corresponding resource exhaustion state threshold. The basis for setting this threshold for the number of consecutive judgment cycles is to avoid misjudgment due to instantaneous peak values.

[0073] If a microservice instance is determined not to be in a resource-exhausted state (i.e., its resource utilization metrics do not consistently exceed their respective resource-exhaustion thresholds), but the request backlog persists, further analysis of the response status of its downstream dependent instances using call chain data is needed to confirm whether there is non-resource-exhaustion-related blocking due to performance degradation of downstream dependent instances. The determination of request backlog also relies on multi-dimensional performance metrics data, which can be achieved by assessing whether the service response time exceeds a preset request backlog threshold. The request backlog threshold can be determined based on the response time requirements in the service level agreement or the historical normal response time distribution; for example, using a response time 95th percentile consistently greater than 500 milliseconds as the request backlog threshold. Call chain data, collected in step S1, is used to identify which downstream microservice instances the microservice instance calls, i.e., its downstream dependent instances. Analyzing the response status of downstream dependent instances involves filtering call records from the call chain data that are near the current time and sent from the current microservice instance to each of its downstream dependent instances, and calculating the call duration of each record. By comparing the call duration with historical baseline latency, it can be determined whether the response of downstream dependent instances has degraded. Historical baseline latency can be determined by statistically analyzing the average and standard deviation of call durations for the same call relationship over a normal and stable period, such as the past 24 hours. If the current call duration is significantly higher than the historical baseline, for example, if the current call duration is greater than the historical average plus three times the standard deviation, then the response status of that downstream dependent instance is determined to have degraded. If a microservice instance that is not in a resource-exhausted state has a continuous request backlog, and one or more of its downstream dependent instances are found to have degraded response status, then it is confirmed that there is non-resource-exhaustion blocking caused by the performance degradation of downstream dependent instances.

[0074] Finally, the microservice instance at the very end of the responsibility backtracking path that meets the non-resource exhaustion blocking condition is identified as the performance bottleneck instance causing request backlog due to non-resource exhaustion performance degradation. Meeting the non-resource exhaustion blocking condition means that for a microservice instance on the responsibility backtracking path, it simultaneously satisfies two conditions: first, the instance itself is not in a resource exhaustion state; second, the instance has a continuous request backlog and its downstream dependent instances have degraded response states. The entire responsibility backtracking path is traversed, starting from the initial request backlog instance and checking each instance towards the potential performance root cause instance at the end of the path to see if it meets the above conditions. The first instance that meets the condition is recorded. Since the responsibility backtracking path itself traces back from the request backlog instance to the root cause, instances closer to the end are more likely to be the root cause. Ultimately, the performance bottleneck instance is the microservice instance located on the responsibility backtracking path that meets the non-resource exhaustion blocking condition and is at the very end of all instances that meet the condition. This instance is considered the root cause of the initially observed request backlog, a bottleneck resulting from non-resource exhaustion-type performance degradation. This determination will serve as the direct target for subsequent scheduling simulations and decision-making.

[0075] S5. Simulate the cascading scheduling dynamic process triggered by the platform's autoscaling rules and performance impact relationship after applying different scheduling operations to the performance bottleneck instance, and evaluate whether the dynamic process converges to a new stable state. The specific implementation is as follows:

[0076] First, based on the current performance bottleneck instance and call chain data, different resource adjustment schemes are generated for the performance bottleneck instance according to preset scheduling operation types. The current performance bottleneck instance is the performance bottleneck instance identified in step S4 that is experiencing request backlog due to non-resource exhaustion-type performance degradation. The call chain data is the data collected in step S1, used to identify the set of downstream microservice instances that the performance bottleneck instance depends on. The preset scheduling operation types include horizontal scaling up, horizontal scaling down, and resource reconfiguration. When generating resource adjustment schemes for the performance bottleneck instance, horizontal scaling up corresponds to generating a scheme to increase the number of replicas of the instance, horizontal scaling down corresponds to generating a scheme to decrease the number of replicas of the instance, and resource reconfiguration corresponds to generating a scheme to adjust the computing resource specifications or memory resource specifications of the instance. Each specific resource adjustment amount is a set of predefined optional values ​​based on the instance's historical resource usage baseline, current load level, and the resource specification tiers supported by the cloud computing platform. The historical resource usage baseline is determined by analyzing the instance's average and peak resource utilization over a period of time, such as 24 hours.

[0077] Secondly, based on the platform's autoscaling rules and the identified performance impact relationships, the subsequent scheduling sequence of related microservice instances that may be triggered by each resource adjustment scheme is iteratively deduced, forming a cascading scheduling dynamic process. The platform's autoscaling rules are built-in rules of the cloud computing platform that automatically trigger instance scaling up or down based on preset resource thresholds. These preset resource thresholds include scaling up and scaling down thresholds. Specifically, when the average CPU utilization of a microservice instance is consistently higher than the preset scaling up threshold, the platform automatically increases the number of replicas of that instance; when the average CPU utilization of a microservice instance is consistently lower than the preset scaling down threshold, the platform automatically reduces the number of replicas of that instance. The preset scaling up and scaling down thresholds are set according to system load characteristics and stability requirements; for example, the preset scaling up threshold can be set to 70%, and the preset scaling down threshold can be set to 30%. The identified performance impact relationships are the performance impact relationships from downstream microservice instances to their direct upstream caller microservice instances obtained in step S2. The iterative deduction starts from a simulated initial state, which records the resource configuration and performance status of all relevant microservice instances in the system at the current moment. The simulation process incorporates a simulated clock, progressing in discrete time steps, each representing a virtual scheduling evaluation cycle. In the first time step, the selected resource adjustment scheme is applied to the performance bottleneck instance, and the expected impact of this adjustment on its instance performance metrics is estimated based on a preset performance model, such as predicting the adjusted CPU utilization using a linear model. Next, it checks whether the estimated performance metrics of all relevant microservice instances meet the triggering conditions of the platform's autoscaling rules. Specifically, it determines whether the estimated average CPU utilization of each instance is consistently higher than the preset expansion threshold for that instance, or consistently lower than the preset shrinkage threshold for that instance. The continuity determination can be based on the estimation values ​​of two consecutive time steps meeting the conditions. If the conditions are met, a corresponding automatic scheduling action is generated, such as automatically expanding by adding a replica or automatically shrinking by removing a replica. Then, based on the identified performance impact relationship network, it checks whether a change in the performance state of a certain instance causes a re-estimation of the performance metrics of upstream instances, and determines whether this triggers the platform's autoscaling rules for the upstream instances. This process iterates within each time step: updating the state of all relevant instances, checking autoscaling rules, applying newly triggered scheduling actions, and propagating state changes through performance impact relationships. This iterative process forms a cascading scheduling dynamic that progresses with each time step, triggered by an initial manual adjustment scheme that initiates a series of autoscaling actions. The simulation continues until no new autoscaling actions are triggered for several consecutive time steps, or until a preset maximum number of simulation steps is reached. This preset maximum number of simulation steps limits computational overhead and should be greater than the typical cascading chain length.

[0078] Finally, during the simulation, the resource utilization and request backlog status trends of all involved microservice instances are monitored after multiple iterations. When the trends no longer exceed the allowable fluctuation range within the preset observation period, the cascading scheduling dynamic process is determined to have converged to a new stable state. The specific indicators monitored are the estimated CPU utilization, estimated memory utilization, and estimated request backlog status of each microservice instance at the end of each iteration. The estimated request backlog status is quantified based on whether the estimated service response time of the instance exceeds the request backlog status judgment threshold defined in step S4. The trend is evaluated by calculating the changes in the specific indicators during continuous iterations. The preset observation period refers to the number of consecutive iterations used to judge stability. The allowable fluctuation range is a maximum allowable change range set for each monitored indicator, specifically including the allowable fluctuation range of CPU utilization, memory utilization, and request backlog status. The allowable fluctuation range is set based on the natural fluctuation amplitude of the indicators during normal steady-state operation of the system. This can be obtained by analyzing historical steady-state data, for example, by calculating the standard deviation of the fluctuation of the monitored indicators within a short time window in historical data, and setting twice the standard deviation as the allowable fluctuation range. During the simulation, the indicator values ​​of each instance are continuously recorded. When the simulation reaches its later stage, it is checked that within the most recent continuous iteration step size equal to the preset observation period, the absolute value of the change in each monitored indicator of all involved microservice instances between adjacent iterations is less than the allowable fluctuation range corresponding to that indicator. If this condition is met, the entire cascaded scheduling dynamic process is determined to have converged to a new stable state. If the above convergence condition is not met until the preset maximum number of simulation steps is reached, the dynamic process is determined to have not converged. Each resource adjustment scheme generated for a performance bottleneck instance will undergo the above independent simulation and convergence evaluation process, and produce a corresponding conclusion on whether it has converged or not.

[0079] S6. Based on the evaluation results of whether it converges to a new stable state, select the corresponding scheduling operation and generate resource scheduling instructions, specifically as follows:

[0080] First, from multiple resource adjustment schemes simulated for the performance bottleneck instance, schemes whose cascading scheduling dynamic process is confirmed to converge to a new stable state are selected. The multiple resource adjustment schemes simulated for the performance bottleneck instance are different schemes generated in step S5 based on preset scheduling operation types. For each resource adjustment scheme, step S5 iteratively extrapolates and monitors to evaluate whether its cascading scheduling dynamic process converges to a new stable state. The selection process in this step involves traversing all resource adjustment schemes, checking and collecting each scheme whose cascading scheduling dynamic process is determined by step S5 to have converged to a new stable state. The collected schemes constitute a set of convergent schemes. If all simulated schemes are evaluated as non-convergent, this set is empty, indicating that no scheduling operation capable of guiding the system to restore stability has been found in the current state, requiring an alarm and potentially initiating other fault handling procedures.

[0081] Secondly, among the convergent schemes, the resource adjustment scheme that requires the fewest iterations or the smallest total resource adjustment to reach the new stable state is selected as the target scheduling operation. The selection is based on a pre-defined optimization strategy. The number of iterations required to reach the new stable state refers to the total number of virtual time steps elapsed from the application of the initial resource adjustment scheme to the determination that the cascaded scheduling dynamic process has converged to the new stable state during the simulation in step S5. Calculating the total resource adjustment requires quantifying the scale of resource changes involved in different scheduling operations. For horizontal scaling up or down operations, the total resource adjustment is defined as the absolute value of the change in the number of replicas. For resource reconfiguration operations, the total resource adjustment is defined as the sum of the absolute values ​​of the changes in computing resource specifications and memory resource specifications, where computing and memory resource specifications are measured in their respective basic units, such as the number of CPU cores and gigabytes. To make different resource dimensions comparable, the changes in computing and memory resource specifications can be considered as resource units with equal weight; that is, the change in 1 CPU core is equivalent to the change in 1 gigabyte of memory, both counted as 1 resource unit. The total resource adjustment amount is the sum of the resource units. When selecting a target scheduling operation, if the optimization strategy is set to prioritize the fastest convergent solution, the number of iterations required for each solution in the set of convergent solutions is compared, and the solution with the fewest iterations is selected as the target scheduling operation. If multiple solutions have the same number of iterations and are all the fewest, the total resource adjustment amount of the solutions is further compared, and the solution with the smallest total resource adjustment amount is selected. If the optimization strategy is set to prioritize the solution with the smallest total resource adjustment amount, the total resource adjustment amount of each solution is compared, and the solution with the smallest value is selected. The specific selection of the optimization strategy is pre-set according to the system operation and maintenance goals. For example, in scenarios requiring rapid recovery, the solution with the fewest iterations is prioritized; in scenarios requiring resource conservation, the solution with the smallest total resource adjustment amount is prioritized.

[0082] Finally, based on the resource adjustment type and scale corresponding to the target scheduling operation, a resource scheduling instruction containing the target microservice instance identifier, resource specifications, and operation type is generated and sent to the control component of the cloud computing platform for execution. The target scheduling operation is the resource adjustment scheme finally determined through the above selection process. The resource adjustment type refers to which of the preset scheduling operation types the scheme belongs to, namely, horizontal scaling, horizontal scaling down, or resource reconfiguration. The resource adjustment scale refers to the specific numerical adjustment of the scheme. The target microservice instance identifier is the unique identifier of the performance bottleneck instance. The resource scheduling instruction is a structured data object that contains at least the target microservice instance identifier field, the operation type field, and the resource specification field. The value of the target microservice instance identifier field is set to the unique identifier of the performance bottleneck instance. The value of the operation type field is set to the corresponding enumerated value according to the resource adjustment type of the target scheduling operation. The value of the resource specification field is set according to the resource adjustment scale of the target scheduling operation. For horizontal scaling or horizontal scaling down operations, the resource specification field is set to the target replica count. For resource reconfiguration operations, the resource specification field is set to a sub-object containing the specific values ​​of the target compute resource specifications and memory resource specifications. After generating a resource scheduling instruction, it is sent to the cloud computing platform's control component by calling the platform's publicly available management application programming interface (API). The control component is the core service within the cloud computing platform responsible for receiving and executing resource scheduling instructions. Upon receiving the instruction, the control component parses its content and actually performs the resource adjustment operations on the target microservice instance. A synchronous confirmation mechanism is used during the instruction sending process to ensure successful reception and processing. At this point, the entire AI-based intelligent cloud resource scheduling method completes a full closed loop of analysis, decision-making, and execution.

[0083] Example 2: Figure 2 A schematic diagram of the structure of the AI-based intelligent cloud computing resource scheduling system of the present invention is provided. The AI-based intelligent cloud computing resource scheduling system includes:

[0084] The data acquisition module is used to collect call chain data and multi-dimensional performance index data of microservice instances in the cloud computing platform;

[0085] The relationship identification module is used to obtain the typical running state mode of each microservice instance based on multi-dimensional performance index data clustering, and to analyze the propagation relationship of the typical running state mode among microservice instances with call relationship in combination with call link data, so as to identify the performance impact relationship.

[0086] The path building module is used to analyze the asymmetry of performance impact relationships and, based on the asymmetry, build a responsibility backtracking path from the microservice instance experiencing request backlog to the potential performance root cause instance.

[0087] The instance analysis module is used to analyze along the responsibility backtracking path to identify performance bottleneck instances that cause request backlog due to non-resource exhaustion performance degradation.

[0088] The state evaluation module is used to simulate the dynamic process of cascading scheduling triggered by the platform's autoscaling rules and performance impact relationship after applying different scheduling operations to a performance bottleneck instance, and to evaluate whether the dynamic process converges to a new stable state.

[0089] The instruction generation module is used to select the appropriate scheduling operation and generate resource scheduling instructions based on the evaluation results of whether it converges to a new stable state.

[0090] All calculations involved in the embodiments are dimensionless numerical calculations, and the preset parameters and thresholds in the calculations are set by those skilled in the art according to the actual situation.

[0091] It should be noted that this invention can be deployed on the device itself to realize embedded applications, or it can run on a PC or other terminal with a user interface, thereby meeting various hardware environments and usage requirements.

[0092] The above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wireless or wired transmission; wired transmission methods include optical fiber, twisted pair, coaxial cable, etc.; wireless transmission includes infrared, microwave, etc. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center containing one or more sets of available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. A semiconductor medium can be a solid-state drive.

[0093] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and modules described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0094] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or modules may be electrical, mechanical, or other forms.

[0095] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0096] In addition, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module.

[0097] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0098] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0099] In conclusion, the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A cloud computing resource intelligent scheduling method based on artificial intelligence, characterized in that, include: S1. Collect call chain data and multi-dimensional performance index data of microservice instances in the cloud computing platform; S2. Based on multi-dimensional performance index data clustering, the typical operating state mode of each microservice instance is obtained, and the propagation relationship of the typical operating state mode among microservice instances with call relationship is analyzed in combination with call link data to identify the performance impact relationship. S3. Analyze the asymmetry of performance impact relationships, and based on the asymmetry, construct a responsibility backtracking path from the microservice instance experiencing request backlog to the potential performance root cause instance; S4. Analyze along the responsibility backtracking path to find performance bottleneck instances where request backlog is caused by non-resource exhaustion type performance degradation; S5. Simulate the dynamic process of cascading scheduling triggered by the platform's autoscaling rules and performance impact relationship after applying different scheduling operations to the performance bottleneck instance, and evaluate whether the dynamic process converges to a new stable state. S6. Based on the evaluation results of whether it converges to a new stable state, select the appropriate scheduling operation and generate resource scheduling instructions.

2. The intelligent scheduling method for cloud computing resources based on artificial intelligence according to claim 1, characterized in that, Collect call chain data and multi-dimensional performance index data of microservice instances in the cloud computing platform, including: Collect remote call relationships and call time data between microservice instances to form call chain data; collect resource utilization, service response time and error rate data of each microservice instance within a preset collection period to form multidimensional performance index data.

3. The intelligent scheduling method for cloud computing resources based on artificial intelligence according to claim 1, characterized in that, Based on multidimensional performance metric data clustering, typical operating state patterns of each microservice instance are obtained. Combined with call chain data analysis, the propagation relationship of these typical operating state patterns among microservice instances with call relationships is identified to determine performance impact relationships, including: Multidimensional performance metrics data of each microservice instance are input into a clustering algorithm for analysis, and the running status of microservice instances with similar metric characteristics are classified into the same typical running status pattern. Identify microservice instance pairs with direct call relationships based on call chain data; The statistics show the co-occurrence probability of the running state of the downstream microservice instance changing to a specific typical running state mode in subsequent time windows when the running state of the downstream microservice instance changes to a specific typical running state mode. Based on statistical results showing that the co-occurrence probability exceeds a preset probability threshold, the performance impact relationship from downstream microservice instances to their direct upstream caller microservice instances is identified.

4. The intelligent scheduling method for cloud computing resources based on artificial intelligence according to claim 3, characterized in that, Based on the call chain data, determine the microservice instance pairs that have a direct call relationship. Specifically, this includes parsing the caller service identifier and the callee service identifier recorded in the call chain data, combining two different microservice instance identifiers that have at least one successful call record into an instance pair, and counting all existing direct call relationships to form a set of microservice instance pairs.

5. The intelligent scheduling method for cloud computing resources based on artificial intelligence according to claim 1, characterized in that, Analyze the asymmetry of performance impact relationships and, based on this asymmetry, construct a responsibility backtracking path from the microservice instance experiencing request backlog to the potential root cause instance of performance issues, including: For each pair of microservice instances that have a performance impact relationship, the ratio of the impact strength of the change in the state of the downstream instance leading to the change in the state of the upstream instance to the reverse impact strength is calculated as the asymmetry strength. Starting with the microservice instance experiencing request backlog at the current moment, a reverse search is performed along the relationship edges whose asymmetry strength exceeds a preset directional threshold in the graph composed of performance impact relationships, until no upstream relationship edge that meets the conditions can be found or the preset search depth is reached. The sequence of microservice instances passed through during the search process is constructed as a responsibility backtracking path, and the instance at the end of the path is marked as a potential performance root cause instance.

6. The intelligent scheduling method for cloud computing resources based on artificial intelligence according to claim 1, characterized in that, Analysis along the responsibility backtracking path revealed performance bottleneck instances where request backlog was caused by non-resource exhaustion-type performance degradation, including: Traverse each microservice instance on the responsibility backtracking path and obtain its current multi-dimensional performance index data; determine whether the corresponding microservice instance is in a resource exhaustion state based on the resource utilization index in the multi-dimensional performance index data. If a microservice instance is not in a resource-exhausted state and its request backlog persists, analyze the response status of its downstream dependent instances by combining the call chain data to confirm whether there is non-resource-exhaustion blocking caused by the performance degradation of downstream dependent instances. Microservice instances that meet the non-resource exhaustion blocking conditions and are located at the end of the responsibility backtracking path are identified as performance bottleneck instances causing request backlog due to non-resource exhaustion performance degradation.

7. The intelligent scheduling method for cloud computing resources based on artificial intelligence according to claim 1, characterized in that, The simulation demonstrates a dynamic process of cascading scheduling triggered by the platform's autoscaling rules and performance impact relationships after applying different scheduling operations to performance bottleneck instances. It also evaluates whether this dynamic process converges to a new stable state, including: Based on the current performance bottleneck instance and call chain data, generate different resource adjustment schemes for the performance bottleneck instance according to the preset scheduling operation type; Based on the platform's autoscaling rules and the identified performance impact relationships, the subsequent scheduling action sequence of related microservice instances that may be triggered by each resource adjustment plan is iteratively deduced, forming a cascading scheduling dynamic process; During the simulation, the resource utilization and request backlog status of all microservice instances are monitored after multiple iterations. When the trend no longer exceeds the allowable fluctuation range within the preset observation period, the cascading scheduling dynamic process is determined to have converged to a new stable state.

8. The intelligent scheduling method for cloud computing resources based on artificial intelligence according to claim 7, characterized in that, The preset scheduling operation types include horizontal scaling, horizontal scaling down, and resource reconfiguration. Horizontal scaling and horizontal scaling down are used to adjust the number of replicas of microservice instances, while resource reconfiguration is used to adjust the computing and memory resource specifications of microservice instances.

9. The intelligent scheduling method for cloud computing resources based on artificial intelligence according to claim 1, characterized in that, Based on the evaluation results regarding whether convergence to a new stable state, the appropriate scheduling operation is selected and resource scheduling instructions are generated, including: From multiple resource adjustment schemes simulated for performance bottleneck instances, the schemes whose cascading scheduling dynamic process can converge to a new stable state are selected after evaluation. Among the set of convergent solutions, the resource adjustment solution that requires the fewest iterations or the smallest total resource adjustment to bring the system to a new stable state is selected as the target scheduling operation. Based on the resource adjustment type and scale corresponding to the target scheduling operation, a resource scheduling instruction containing the target microservice instance identifier, resource specifications, and operation type is generated and sent to the control component of the cloud computing platform for execution.

10. An AI-based intelligent cloud computing resource scheduling system, used to implement the AI-based intelligent cloud computing resource scheduling method according to any one of claims 1-9, characterized in that, include: The data acquisition module is used to collect call chain data and multi-dimensional performance index data of microservice instances in the cloud computing platform; The relationship identification module is used to obtain the typical running state mode of each microservice instance based on multi-dimensional performance index data clustering, and to analyze the propagation relationship of the typical running state mode among microservice instances with call relationship in combination with call link data, so as to identify the performance impact relationship. The path building module is used to analyze the asymmetry of performance impact relationships and, based on the asymmetry, build a responsibility backtracking path from the microservice instance experiencing request backlog to the potential performance root cause instance. The instance analysis module is used to analyze along the responsibility backtracking path to identify performance bottleneck instances that cause request backlog due to non-resource exhaustion performance degradation. The state evaluation module is used to simulate the dynamic process of cascading scheduling triggered by the platform's autoscaling rules and performance impact relationship after applying different scheduling operations to a performance bottleneck instance, and to evaluate whether the dynamic process converges to a new stable state. The instruction generation module is used to select the appropriate scheduling operation and generate resource scheduling instructions based on the evaluation results of whether it converges to a new stable state.