Multi-cluster demand scheduling method based on anomaly perception
By acquiring and filtering abnormal data in a multi-cluster environment, calculating the abnormal components and scheduling based on the demand, the problem of lack of real-time perception capability in the existing technology is solved, the efficient utilization and stability of multi-cluster resources are achieved, and the problem of Performance problems caused by uneven load and resource bottlenecks.
Patent Information
- Application Number
- CN202411154264.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-08-22
AI Technical Summary
Existing multi-cluster scheduling methods are based on static rules and historical data and lack real-time anomaly sensing capabilities, leading to problems such as resource waste and task delays, making it difficult to achieve efficiency and stability in a multi-cluster environment.
By obtaining data on the number of transactions processed per second, filtering abnormal data to calculate abnormal components, and scheduling based on the demand, dynamic balancing and load transfer of cross-cluster resources are achieved to ensure efficient collaborative work.
It effectively avoids performance degradation or service interruption caused by uneven load and resource bottlenecks, improves multi-cluster resource utilization and task execution efficiency, and ensures high efficiency and stability in high-load environments.
Smart Images

Figure CN118656226A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of cluster scheduling, and in particular to a multi-cluster demand scheduling method based on abnormality perception. Background Art
[0002] The development of cloud-native technology has provided a solid technical foundation for multi-clusters. By standardizing the underlying hardware, it has achieved load balancing and performance optimization of containers while improving resource utilization. Currently, multi-cluster architecture has become a key technology for large data centers to achieve efficient task execution.
[0003] Each cluster is an independent system that can be deployed in different places / environments. Generally speaking, determining the resource size of a cluster requires estimating the total demand for the target business to be processed. When the cluster faces insufficient resources, it can naturally be expanded by increasing the number of nodes. However, the cluster size cannot be increased indefinitely. One obvious reason is that the additional overhead of the control plane between clusters will increase accordingly, affecting the overall stability of the cluster.
[0004] In a multi-cluster environment, demand scheduling involves multiple key technical issues, including cluster resource allocation and load balancing based on the minimum and maximum resource amounts, and the consistent synchronization between the expansion and reduction of cluster containers by the control plane. At the same time, considering the performance bottlenecks and reliability issues of each cluster, when the cluster resource status changes, the monitoring and feedback mechanism based on resource rebalancing technology needs to be triggered to ensure the timeliness and correctness of resource scheduling.
[0005] However, most of the existing multi-cluster scheduling methods are based on static rules and historical data, lacking the ability to perceive and handle real-time abnormal situations, which easily leads to problems such as resource waste or task delays in practical applications. Therefore, a method that can dynamically perceive abnormalities and perform intelligent scheduling is needed to improve the average utilization of multi-cluster resources and the execution efficiency of processing tasks. Summary of the invention
[0006] The purpose of the present invention is to propose a multi-cluster demand scheduling method based on abnormal perception to solve one or more technical problems existing in the prior art and at least provide a beneficial option or create conditions.
[0007] The present invention provides a multi-cluster demand scheduling method based on abnormality perception, which obtains the data of the number of transactions processed per second by multiple clusters in the active period, recorded as active data, screens out abnormal data in the active data, calculates the abnormal component of the cluster according to the abnormal data, and schedules the cluster based on the demand size of each cluster in the active period combined with the abnormal component. The method can effectively balance the resource utilization across clusters, avoid performance degradation or service interruption caused by uneven load or resource bottleneck, ensure the efficiency and stability of the cluster in the process of processing tasks, and through predictive scheduling, can perform protective scheduling or load transfer before abnormalities occur in multiple clusters, realize full scheduling of computing power between idle clusters and overloaded clusters, and ensure that multiple clusters can maintain efficient collaborative work in a complex computing environment with high load.
[0008] In order to achieve the above object, according to one aspect of the present invention, a multi-cluster demand scheduling method based on abnormality perception is provided, and the method comprises the following steps: Get the number of transactions processed per second by multiple clusters during the active period, and record it as active data; Filter out abnormal data from active data and calculate the abnormal component of the cluster based on the abnormal data; The clusters are scheduled based on the demand size of each cluster during the active period and the abnormal component.
[0009] Furthermore, data on the number of transactions processed per second by multiple clusters during an active period is obtained, wherein each cluster is composed of multiple nodes, and different clusters among the multiple clusters have different numbers of nodes, and the nodes are physical nodes or virtual nodes; the active period refers to any period of time when multiple clusters are processing tasks, and the number of transactions processed per second by a cluster refers to the number of transactions processed per second by the cluster during the active period.
[0010] Furthermore, the method of obtaining the data on the number of transactions processed per second by multiple clusters during the active period and recording it as the active data is as follows: let the number of clusters be N in total, let cla(i) represent the i-th cluster among the N clusters, let T represent the active period, let the length of T be M seconds, let tk(j) represent the j-th second in M seconds (of the active period T), tk(j) is the time, Tps(i,j) represents the number of transactions processed by cla(i) at time tk(j), and Tps(i,j) is recorded as the active data.
[0011] Furthermore, the size of M is set to [3000, 5000].
[0012] Furthermore, the method of filtering out abnormal data in the activity data is: S1. Let \(S = M\times N\). Store the \(S\) values (data) corresponding to \(Tps(i, j)\) in the array \(Tps\), and denote the \(k\)-th of these \(S\) values as \(Tps(k)\). Randomly select a value from the array \(Tps\) and denote it as \(Tps(rand)\). Create an empty array \(Fd\), set the variable \(Curr = 1\) and the variable \(D = 0\). From \(k = 1\) to \(k = S\), calculate the first difference \(fd(k)\) of \(Tps(k)\) in sequence. Then, each of the \(S\) values \(Tps(1), Tps(2),\cdots, Tps(S)\) in \(Tps\) corresponds to a first difference \(fd(1), fd(2),\cdots, fd(S)\). Add the value in \(Tps\) corresponding to the largest first difference to the array \(Fd\), and go to S2; where \(fd(k)=\vert1 - Tps(rand)\div Tps(k)\vert\). S2. Execute the sub-statement. Update the value of \(Curr\) to the non-zero minimum value among \(fd2(1), fd2(2),\cdots, fd2(S)\), and at the same time add the value in \(Tps\) corresponding to the non-zero minimum second difference to the array \(Fd\), and update the value of \(D\) to \(Curr\). Execute the sub-statement again, and set the value of the variable \(x\) to \(x = 1\), and go to S3. S3. If \(fd2(x)\) satisfies \(Curr\lt fd2(x)\lt SFd\), update the value of \(Curr\) to \(fd2(x)\), and at the same time add \(Tps(x)\) to the array \(Fd\), and execute the sub-statement. After the sub-statement is executed, set the value of \(x\) to 1 and (re)go to S3; if \(fd2(x)\) does not satisfy \(Curr\lt fd2(x)\lt SFd\), go to S4; where \(SFd\) represents the sum of all values in the array \(Fd\). S4. If the value of the variable \(x\) is less than \(N\), increase the value of \(x\) by 1 and go to S3; if the value of the variable \(x\) is equal to or greater than \(N\), output the array \(Fd\) and mark all values in the array \(Fd\) as abnormal data.
[0013] The beneficial effect of this step is that since there are many nodes in the cluster and data needs to be collected across clusters at the same time, and the cluster demand scheduling based on anomaly perception requires abnormal data as support. The method of this step can quickly and effectively identify the abnormal points in the data by using the calculation methods of the first difference and the second difference, and continuously approach the limit of the abnormal value in the way of iterative and multiple calculations of the difference, so as to quickly screen out the points with large differences from the randomly selected value. By traversing from \(Tps(1)\) to \(Tps(S)\), while ensuring that all data points participate in the detection and screening, most non-abnormal data can be quickly filtered out, thereby fully improving the screening efficiency.
[0014] Furthermore, the sub-statement is: If Curr>0.5×D, then the value at the end of the array Fd is recorded as Fd(end), and the second difference fd2(k) of Tps(k) is calculated from k=1 to k=S, then the S values Tps(1), Tps(2),…, Tps(S) in Tps each correspond to a second difference fd2(1), fd2(2),…, fd2(S), where fd2(k)=|1-Fd(end)÷Tps(k)|; If Curr≤0.5×D, then the array Fd is output, and all values in the array Fd are marked as abnormal data.
[0015] Furthermore, the method for calculating the abnormal component of the cluster based on the abnormal data is specifically as follows: Create an all-zero array Cop of length N (i.e., array Cop contains N zero values), and use Cop(i) to represent the i-th value in array Cop; The statistical algorithm is defined as follows: use the array TTps to store the M activity data Tps(i,1), Tps(i,2),…,Tps(i,M) corresponding to the cluster cla(i), accumulate the repeated values between the array TTps and the array Fd, and record the accumulated value as Cop(i) (update Cop(i) from the original value of 0 to the accumulated value); In the statistical algorithm, i is traversed from i=1 to i=N to obtain Cop(1), Cop(2),…, Cop(N), and Cop(1), Cop(2),…, Cop(N) are used as the abnormal components of clusters cla(1), cla(2),…, cla(N).
[0016] The beneficial effect of this step is: taking the abnormal component as the abnormal perception of each cluster in the current period, the abnormal component of each cluster is calculated by the intersection weight between the abnormal data and the cluster activity data, which reflects the frequency and warning level of abnormal behavior in the cluster. Through continuous monitoring and analysis, it can provide real-time warning and data basis for identifying problem clusters for the scheduling optimization of multiple clusters, effectively improving the accuracy and response speed of demand scheduling.
[0017] Furthermore, the method for scheduling the clusters based on the demand size of each cluster during the active period and the abnormal component is as follows: the demand size of the cluster during the active period and the abnormal component of the cluster are normalized, and the normalized value is used as the scheduling amount, then each cluster corresponds to a scheduling amount, and the P clusters with the highest scheduling amount and the P clusters with the lowest scheduling amount are selected for scheduling; The scheduling method is to perform round-robin scheduling on all target nodes, where all target nodes refer to all nodes in the P clusters with the highest scheduling amounts and all nodes in the P clusters with the lowest scheduling amounts.
[0018] The beneficial effect of this step is: due to problems such as uneven load, resource bottlenecks or demand fluctuations, in order to ensure the efficient use and stability of resources in the multi-cluster system, it is necessary to balance the resources by demand scheduling, or when it is foreseen that the cluster will be maintained or may fail, the workload is scheduled to other clusters in advance, thereby avoiding service interruption and cluster performance degradation, and improving the resource utilization efficiency of the cluster.
[0019] Preferably, the round-robin scheduling can also be replaced by weighted round-robin scheduling or minimum load scheduling.
[0020] Furthermore, the demand size of the cluster during the active period refers to the sum of the network inbound and outbound traffic of the cluster during the active period.
[0021] The beneficial effects of the present invention are as follows: the method can effectively balance resource utilization across clusters, avoid performance degradation or service interruption due to uneven load or resource bottlenecks, ensure the efficiency and stability of clusters in processing tasks, and through predictive scheduling, perform protective scheduling or load transfer before abnormalities occur in multiple clusters, thereby achieving full scheduling of computing power between idle clusters and overloaded clusters, and ensuring that multiple clusters can maintain efficient collaborative work in a complex computing environment with high loads. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 Shown is a flow chart of a multi-cluster demand scheduling method based on anomaly perception. DETAILED DESCRIPTION
[0023] The following will be combined with the embodiments and drawings to clearly and completely describe the concept, specific structure and technical effects of the present invention, so as to fully understand the purpose, scheme and effect of the present invention. It should be noted that the embodiments and features in the embodiments of this application can be combined with each other without conflict.
[0024] In the description of the present invention, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed" etc. are understood as not including the number itself, and "above", "below", "within" etc. are understood as including the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0025] like Figure 1 The flowchart of a multi-cluster demand scheduling method based on abnormal perception according to the present invention is shown below. Figure 1 A multi-cluster demand scheduling method based on abnormality perception according to an embodiment of the present invention is described below.
[0026] The present invention proposes a multi-cluster demand scheduling method based on abnormality perception, and the method comprises the following steps: Get the number of transactions processed per second by multiple clusters during the active period, and record it as active data; Filter out abnormal data from active data and calculate the abnormal component of the cluster based on the abnormal data; The clusters are scheduled based on the demand size of each cluster during the active period and the abnormal component.
[0027] Furthermore, data on the number of transactions processed per second by multiple clusters during an active period is obtained, wherein each cluster is composed of multiple nodes, and different clusters among the multiple clusters have different numbers of nodes, and the nodes are physical nodes or virtual nodes; the active period refers to any period of time when multiple clusters are processing tasks, and the number of transactions processed per second by a cluster refers to the number of transactions processed per second by the cluster during the active period.
[0028] Furthermore, the method of obtaining the number of transactions processed per second by multiple clusters during the active period and recording it as the active data is as follows: let the number of clusters be N in total, let cla(i) represent the i-th cluster among the N clusters, i is the sequence number, i=1,2,…,N, let T represent the active period, let the length of T be M seconds, let tk(j) represent the j-th second in M seconds (of the active period T), j is the sequence number, j=1,2,…,M, tk(j) is the time, tk(j)=tk(1),tk(2),…,tk(M), let Tps(i,j) represent the number of transactions processed by cla(i) at time tk(j), and record Tps(i,j) as the active data.
[0029] Specifically, the size of M is set to 4000.
[0030] Specifically, the value range of Tps(i,j) corresponds to the following two-dimensional matrix:
[0031] Among them, the i-th row of the matrix of size M×N corresponds to the activity data Tps(i,1), Tps(i,2),…, Tps(i,M) of cluster cla(i) in the activity period T (a total of M seconds); for example, the first row of the matrix Tps(1,1), Tps(1,2),…, Tps(1,M) is the activity data of cla(1) in the activity period T (a total of M seconds), and the N-th row of the matrix Tps(N,1), Tps(N,2),…, Tps(N,M) is the activity data of cla(N) in the activity period T.
[0032] Furthermore, the method of filtering out abnormal data in the activity data is: S1. As known from \(i = 1, 2, \ldots, N\) and \(j = 1, 2, \ldots, M\), \(Tps(i, j)\) corresponds to \(M\times N\) data. Denote \(S = M\times N\). Store the \(S\) values (data) corresponding to \(Tps(i, j)\) in the array \(Tps\), and denote the \(k\)-th of these \(S\) values as \(Tps(k)\), where \(k\) is the serial number, \(k = 1, 2, \ldots, S\). Randomly select a value from the array \(Tps\) and denote it as \(Tps(rand)\). Create a blank array \(Fd\), set the variable \(Curr = 1\) and the variable \(D = 0\). From \(k = 1\) to \(k = S\), calculate the first difference \(fd(k)\) of \(Tps(k)\) in turn. Then the \(S\) values \(Tps(1), Tps(2), \ldots, Tps(S)\) in \(Tps\) each correspond to the first differences \(fd(1), fd(2), \ldots, fd(S)\). Add the value in \(Tps\) corresponding to the largest first difference to the array \(Fd\), and go to S2; where \(fd(k)=\vert1 - Tps(rand)\div Tps(k)\vert\). S2. Execute the sub-statement, update the value of \(Curr\) to the non-zero minimum value among \(fd2(1), fd2(2), \ldots, fd2(S)\), and at the same time add the value in \(Tps\) corresponding to the non-zero minimum second difference to the array \(Fd\), and update the value of \(D\) to \(Curr\). Execute the sub-statement again, and set the value of the variable \(x\) to \(x = 1\). Denote \(fd2(x)\) as the \(x\)-th value corresponding to the variable \(x\) in \(fd2(1), fd2(2), \ldots, fd2(S)\), and go to S3. S3. If \(fd2(x)\) satisfies \(Curr\lt fd2(x)\lt SFd\), update the value of \(Curr\) to \(fd2(x)\), and at the same time add \(Tps(x)\) to the array \(Fd\), and execute the sub-statement. After the sub-statement is executed, set the value of \(x\) to 1 and (re-)go to S3; if \(fd2(x)\) does not satisfy \(Curr\lt fd2(x)\lt SFd\), go to S4; where \(SFd\) represents the sum of all values in the array \(Fd\). S4. If the value of the variable \(x\) is less than \(N\), increase the value of \(x\) by 1 and go to S3; if the value of the variable \(x\) is equal to or greater than \(N\), output the array \(Fd\) and mark all values in the array \(Fd\) as abnormal data.
[0033] Furthermore, the sub-statement is: If Curr>0.5×D, then the value at the end of the array Fd is recorded as Fd(end), and the second difference fd2(k) of Tps(k) is calculated from k=1 to k=S, then the S values Tps(1), Tps(2),…, Tps(S) in Tps each correspond to a second difference fd2(1), fd2(2),…, fd2(S), where fd2(k)=|1-Fd(end)÷Tps(k)|; If Curr≤0.5×D, then the array Fd is output, and all values in the array Fd are marked as abnormal data.
[0034] The purpose of executing the substatement multiple times is to continuously update the second difference corresponding to the value in Tps, and use it as a screening benchmark to continuously improve the value of Curr to achieve the effect of filtering most data points (saving search overhead).
[0035] Furthermore, the method for calculating the abnormal component of the cluster based on the abnormal data is specifically as follows: Create an all-zero array Cop of length N (i.e., array Cop contains N zero values), and use Cop(i) to represent the i-th value in array Cop; The statistical algorithm is defined as follows: use the array TTps to store the M activity data Tps(i,1), Tps(i,2),…,Tps(i,M) corresponding to the cluster cla(i), accumulate the repeated values between the array TTps and the array Fd, and record the accumulated value as Cop(i) (update Cop(i) from the original value of 0 to the accumulated value); The repeated values between the array TTps and the array Fd refer to the values that appear in both the array TTps and the array Fd; In the statistical algorithm, i is traversed from i=1 to i=N to obtain Cop(1), Cop(2),…, Cop(N), and Cop(1), Cop(2),…, Cop(N) are used as the abnormal components of clusters cla(1), cla(2),…, cla(N).
[0036] Furthermore, the method for scheduling the clusters based on the demand size of each cluster during the active period and the abnormal component is as follows: the demand size of the cluster during the active period and the abnormal component of the cluster are normalized, and the normalized value is used as the scheduling amount, then each cluster corresponds to a scheduling amount, and the P clusters with the highest scheduling amount and the P clusters with the lowest scheduling amount are selected for scheduling; The scheduling method is to perform round-robin scheduling on all target nodes, where all target nodes refer to all nodes in the P clusters with the highest scheduling amounts and all nodes in the P clusters with the lowest scheduling amounts.
[0037] Specifically, the method of normalizing the demand size of the cluster during the active period and the abnormal component of the cluster to obtain the normalized value is: Sod(i) and Cop(i) represent the demand size of cluster cla(i) during the active period and the abnormal component of cluster cla(i) respectively. The calculation method of the normalized value norm(i) is norm(i)=Sod(i)÷Sum(Sod)+Cop(i)÷Sum(Cop) (sum normalization); Or, norm(i)=Sod(i)÷Max(Sod)+Cop(i)÷Max(Cop) (maximum normalization); Among them, Sum(Sod) represents the sum of the demand sizes of N clusters during the active period, and Sum(Cop) represents the sum of the abnormal components of N clusters; Max(Sod) represents the maximum value of the demand sizes of N clusters during the active period, and Max(Cop) represents the maximum value of the abnormal components of N clusters.
[0038] Furthermore, the demand size of the cluster during the active period refers to the sum of the network inbound and outbound traffic of the cluster during the active period.
[0039] Specifically, query the total network inflow and outflow traffic of the cluster in the historical period. In PromQL, use the following statement to query SnR=sum(rate(node_network_receive_bytes_total[T])), where SnR represents the total network inflow and outflow traffic of the cluster in the active period T.
[0040] The present invention provides a multi-cluster demand scheduling method based on abnormal perception, obtains the data of the number of transactions processed per second by multiple clusters in the active period, records it as active data, screens out abnormal data in the active data, calculates the abnormal component of the cluster according to the abnormal data, and schedules the cluster based on the demand size of each cluster in the active period combined with the abnormal component. The method can effectively balance the resource utilization across clusters, avoid performance degradation or service interruption caused by uneven load or resource bottleneck, ensure the efficiency and stability of the cluster in the process of processing tasks, and through predictive scheduling, can perform protective scheduling or load transfer before the abnormality occurs in multiple clusters, realize the full scheduling of computing power between idle clusters and overloaded clusters, and ensure that multiple clusters can maintain efficient collaborative work in a complex computing environment with high load. Although the description of the present invention has been quite detailed and several embodiments are described in particular, it is not intended to be limited to any of these details or embodiments or any special embodiments, so as to effectively cover the predetermined scope of the present invention. In addition, the above describes the present invention with the foreseeable embodiments of the inventor, the purpose of which is to provide a useful description, and those non-substantial changes to the present invention that have not yet been foreseen can still represent equivalent changes to the present invention.
Claims
1. A multi-cluster demand scheduling method based on anomaly perception, It is characterized in that The method comprises the following steps: Get the number of transactions processed per second by multiple clusters during the active period, and record it as active data; Filter out abnormal data from active data and calculate the abnormal component of the cluster based on the abnormal data; The clusters are scheduled based on the demand of each cluster during the active period and the abnormal component; The method for obtaining the number of transactions processed per second by multiple clusters during the active period and recording it as the active data is as follows: let the number of clusters be N in total, let cla(i) represent the i-th cluster among the N clusters, let T represent the active period, let the length of T be M seconds, let tk(j) represent the j-th second in M seconds, tk(j) is the time, Tps(i,j) represents the number of transactions processed by cla(i) at time tk(j), and Tps(i,j) is recorded as the active data.
2. According to the multi-cluster demand scheduling method based on abnormal perception according to claim 1, It is characterized in that Obtain data on the number of transactions processed per second by multiple clusters during an active period, wherein each cluster consists of multiple nodes, and different clusters in the multiple clusters have different numbers of nodes, and the nodes are physical nodes or virtual nodes; an active period refers to any period in the process of multiple clusters processing tasks, and the number of transactions processed per second of a cluster refers to the number of transactions processed per second by the cluster during the active period.
3. According to the method for multi-cluster demand scheduling based on abnormality perception in claim 1, It is characterized in that The method to filter out abnormal data in activity data is: S1, let S = M × N, use array Tps to store the S values corresponding to Tps(i, j), use Tps(k) to represent the kth of these S values, randomly select a value from array Tps and record it as Tps(rand), create a blank array Fd, set variable Curr = 1 and variable D = 0; From k=1 to k=S, calculate the first difference fd(k) of Tps(k) in sequence, then the S values Tps(1), Tps(2), ..., Tps(S) in Tps each correspond to a first difference fd(1), fd(2), ..., fd(S), add the value corresponding to the largest first difference in Tps to the array Fd and transfer to S2; where fd(k)=|1-Tps(rand)÷Tps(k)|; S2, execute the substatement, update the value of Curr to the non-zero minimum value among fd2(1), fd2(2), ..., fd2(S), add the value corresponding to the non-zero minimum second difference in Tps to the array Fd, and update the value of D to Curr; Execute the substatement again, set the value of variable x to x=1, and go to S3; S3, if fd2(x) satisfies Curr < fd2(x) < SFd, update the value of Curr to fd2(x), add Tps(x) to the array Fd, and execute the sub-statement. After the sub-statement is executed, set the value of x to 1 and go to S3; if fd2(x) does not satisfy Curr < fd2(x) < SFd, go to S4; where SFd represents the sum of all values in the array Fd. S4, if the value of the variable x is less than N, increment the value of x by 1 and go to S3; if the value of the variable x is equal to or greater than N, output the array Fd and mark all values in the array Fd as abnormal data.
4. A multi-cluster demand scheduling method based on anomaly perception according to claim 3, characterized in that, The sub-statement is: if Curr > 0.5×D, record the value at the end of the array Fd as Fd(end), and calculate the second difference fd2(k) of Tps(k) in turn from k = 1 to k = S. Then the S values Tps(1), Tps(2), …, Tps(S) in Tps each correspond to a second difference fd2(1), fd2(2), …, fd2(S), where fd2(k) = |1 - Fd(end)÷Tps(k)|; if Curr ≤ 0.5×D, output the array Fd and mark all values in the array Fd as abnormal data.
5. A multi-cluster demand scheduling method based on anomaly perception according to claim 3, characterized in that, The method for calculating the anomaly component of the cluster based on the abnormal data is specifically: Create a zero-filled array Cop with a length of N, and represent the i-th value in the array Cop as Cop(i); Define the statistical algorithm as: store the M active data Tps(i,1), Tps(i,2), …, Tps(i,M) corresponding to the cluster cla(i) in the array TTps, accumulate the repeated values between the array TTps and the array Fd, and record the accumulated value as Cop(i); In the statistical algorithm, traverse i from i = 1 to i = N, so as to obtain Cop(1), Cop(2), …, Cop(N), and use Cop(1), Cop(2), …, Cop(N) as the anomaly components of the clusters cla(1), cla(2), …, cla(N).
6. A multi-cluster demand scheduling method based on anomaly perception according to claim 1, characterized in that, The method for scheduling the clusters by combining the demand size of each cluster during the active period with the anomaly component is specifically: normalize the demand size of the cluster during the active period and the anomaly component of the cluster, and use the normalized value as the scheduling quantity. Then each cluster corresponds to a scheduling quantity, and select the P clusters with the highest scheduling quantity and the P clusters with the lowest scheduling quantity for scheduling; The scheduling method is to perform round-robin scheduling on all target nodes. All target nodes refer to all nodes in the P clusters with the highest scheduling quantity and all nodes in the P clusters with the lowest scheduling quantity.
7. According to claim 6, a multi-cluster demand scheduling method based on abnormality perception, It is characterized in that The demand volume of a cluster during the active period refers to the total network inbound and outbound traffic of the cluster during the active period.
Citation Information
Patent Citations
Message bus exception root cause analysis method, device and equipment and storage medium
CN109597702A
Traffic scheduling method and device
CN116436853A
K8s cluster update scheduling method and device and storage medium
CN118113432A
System, method and software providing an adaptive job dispatch algorithm for large distributed jobs
US20060037018A1
Method and system for selection and scheduling of content outliers
US20080104624A1
