Information processing method and system based on data center load balancing

By generating cluster feature knowledge information sequences and constructing cluster feature correlations, combined with the load balancing decision-making network, accurate matching of tasks and server clusters is achieved, solving the problem of improper task allocation in traditional methods, and improving the load balancing and resources of the data center. Utilization.

CN118502945BActive Publication Date: 2024-10-29中国通信建设集团设计院有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410659886.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-10-29
Estimated Expiration
2044-05-27

AI Technical Summary

Technical Problem

Traditional data center load balancing methods fail to fully consider the real-time performance of server clusters, task characteristics, and correlations between clusters, resulting in improper task allocation, which may cause processing delays, resource waste, and service interruptions.

Method used

By obtaining the reference server cluster sequence in the data center, a sequence of cluster feature knowledge information is generated, and the data center model is used to construct the correlation between cluster features, obtain optimization feature knowledge information, and combine the load balancing decision-making network to determine the task demand characteristics and optimization characteristics. The relevance of knowledge information enables accurate matching of tasks and server clusters.

Benefits of technology

It optimizes the load balancing of the data center, improves task processing efficiency and server resource utilization, and ensures that tasks are assigned to the most suitable server cluster.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118502945B_ABST
    Figure CN118502945B_ABST
Patent Text Reader

Abstract

The present application provides an information processing method and system based on data center load balancing, which obtains a reference server cluster sequence in the data center and generates a corresponding cluster feature knowledge information sequence, and then combines the data center model to build the correlation between cluster features, thereby obtaining an optimized feature knowledge information sequence, fully considering the characteristics of the server cluster and the relationship between them, and providing an accurate data basis for subsequent task allocation. Furthermore, the correlation between the task requirement characteristics and the optimized feature knowledge information is determined through the load balancing decision network, and a quantitative evaluation of the matching degree between the task and the server cluster is achieved, so that the task can be assigned to the most suitable server cluster, thereby optimizing the load balancing of the data center and improving the efficiency of task processing and the utilization of server resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an information processing method and system based on data center load balancing. Background Art

[0002] With the rapid development of cloud computing technology, data centers, as important infrastructure supporting cloud computing services, are receiving more and more attention for their performance and efficiency. In data centers, server clusters are responsible for processing various computing tasks, and load balancing is a key technology to ensure that these tasks can be evenly and efficiently distributed to each server.

[0003] However, traditional load balancing methods are often based on simple polling, random or weight-based allocation strategies. Although these methods are simple and easy to implement, they fail to fully consider factors such as the real-time performance of the server cluster, task characteristics, and correlation between clusters. As a result, in some cases, tasks may be assigned to inappropriate servers, causing processing delays, resource waste, and even service interruptions.

[0004] In order to overcome these problems, researchers have begun to explore load balancing methods based on machine learning and artificial intelligence technologies in recent years. These methods learn from the performance, task characteristics and historical data of server clusters in the hope of more accurate task allocation. However, existing methods still have certain limitations when dealing with complex data center environments and changing task requirements, such as the inability to fully consider the correlation between server clusters and insufficient processing capabilities for real-time data. Summary of the invention

[0005] In view of the above-mentioned problems, in combination with the first aspect of the present application, an embodiment of the present application provides an information processing method based on data center load balancing, the method comprising:

[0006] Acquire a reference server cluster sequence in a data center, wherein the reference server cluster sequence includes K reference server clusters;

[0007] Generate a cluster feature knowledge information sequence based on the reference server cluster sequence, wherein the cluster feature knowledge information sequence includes K cluster feature knowledge information, and each cluster feature knowledge information corresponds to a reference server cluster;

[0008] According to the data center model, an optimized feature knowledge information sequence corresponding to the cluster feature knowledge information sequence is obtained, wherein the optimized feature knowledge information sequence includes K optimized feature knowledge information, each optimized feature knowledge information corresponds to a cluster feature knowledge information, and the data center model is used to construct the correlation between each cluster feature knowledge information;

[0009] Acquire a task requirement feature sequence corresponding to the task to be assigned, wherein the task to be assigned includes M processing requirements, the task requirement feature sequence includes M task requirement features, and each processing requirement corresponds to one task requirement feature;

[0010] Obtaining the degree of association between the task requirement feature sequence and each of the optimization feature knowledge information according to a load balancing decision network, wherein the load balancing decision network is used to determine the load balancing decision relationship between the reference server cluster and the task to be assigned;

[0011] Based on the association between the task requirement feature sequence and each piece of optimized feature knowledge information, a target reference server cluster is determined from the reference server cluster sequence.

[0012] In a possible implementation of the first aspect, generating a cluster feature knowledge information sequence based on the reference server cluster sequence includes:

[0013] Acquire cluster feature knowledge information corresponding to the reference server cluster according to a data center feature extraction mechanism, wherein the cluster data of the reference server cluster includes cluster status data, and the cluster status data includes resource occupancy, performance indicators, and historical task processing data of the reference server cluster in the data center;

[0014] When the cluster feature knowledge information corresponding to the K reference server clusters is obtained, the cluster feature knowledge information sequence is generated based on the K cluster feature knowledge information.

[0015] In a possible implementation of the first aspect, the acquiring, according to the data center model, an optimized feature knowledge information sequence corresponding to the cluster feature knowledge information sequence includes:

[0016] Acquire first cluster feature knowledge information and second cluster feature knowledge information from the cluster feature knowledge information sequence, wherein the first cluster feature knowledge information is any one of the cluster feature knowledge information in the cluster feature knowledge information sequence, and the second cluster feature knowledge information is any one of the cluster feature knowledge information in the cluster feature knowledge information sequence;

[0017] Obtaining a correlation weight between the first cluster feature knowledge information and the second cluster feature knowledge information;

[0018] Performing a standardized conversion on the correlation weight between the first cluster feature knowledge information and the second cluster feature knowledge information to generate a standardized weight;

[0019] Determining a target correlation array based on the standardized weights between the individual cluster feature knowledge information in the cluster feature knowledge information sequence;

[0020] The optimized feature knowledge information sequence corresponding to the target correlation array is determined according to the data center model.

[0021] In a possible implementation of the first aspect, determining a target correlation array based on standardized weights between respective cluster feature knowledge information in the cluster feature knowledge information sequence includes:

[0022] generating a correlation array based on the standardized weights between the individual cluster feature knowledge information in the cluster feature knowledge information sequence;

[0023] The target correlation array is generated based on the correlation array and a reference array.

[0024] In a possible implementation manner of the first aspect, determining the optimized feature knowledge information sequence corresponding to the target correlation array according to the data center model includes:

[0025] The cluster feature knowledge information sequence and the target correlation array are input as input data into the data center model. The data center model uses the target correlation array as auxiliary information to capture the dependencies and patterns between the elements in the cluster feature knowledge information sequence. Feature extraction and transformation are then performed through multiple hidden layers of the data center model to generate an optimized feature knowledge information sequence corresponding to the input cluster feature knowledge information sequence. The optimized feature knowledge information sequence captures the potential connections and dependencies between the cluster feature knowledge information sequences.

[0026] In a possible implementation of the first aspect, the acquiring the task requirement feature sequence corresponding to the task to be assigned includes:

[0027] Receiving the task to be assigned;

[0028] Acquire a task knowledge block set based on the task to be assigned, wherein the task knowledge block set includes M task knowledge blocks, and each task knowledge block corresponds to a processing requirement;

[0029] Performing knowledge mapping processing on each task knowledge block in the task knowledge block set to generate task requirement features;

[0030] When the task requirement features corresponding to the M task knowledge blocks are obtained, the task requirement feature sequence is generated based on the M task requirement features.

[0031] In a possible implementation of the first aspect, performing knowledge mapping processing on each task knowledge block in the task knowledge block set to generate a task requirement feature includes:

[0032] Parse each task knowledge block and identify block information in each task knowledge block, wherein the block information includes at least one of task type, data processing volume, computational complexity, memory requirement, storage requirement, network bandwidth requirement, delay requirement, number of concurrent users, data security requirement, data consistency requirement, error recovery capability, hardware compatibility, software dependency, system stability requirement, scalability requirement, multi-language support, power management requirement, user interaction complexity, and data visualization requirement;

[0033] For each task knowledge block, the corresponding block information is converted into the corresponding task requirement features according to the pre-defined mapping rules, and the generated task requirement features are standardized and normalized.

[0034] In a possible implementation of the first aspect, the method further includes:

[0035] Obtain a sample task sequence and a sample reference server cluster sequence, wherein the sample task sequence includes a first sample task and a second sample task, the sample reference server cluster sequence includes a first sample reference server cluster and a second sample reference server cluster, the first sample task has a load balancing decision relationship with the first sample reference server cluster, and the first sample task has no load balancing decision relationship with the second sample reference server cluster, the second sample task has a load balancing decision relationship with the second sample reference server cluster, and the second sample task has no load balancing decision relationship with the first sample reference server cluster;

[0036] Determining a target training error parameter based on the first sample task, the second sample task, the first sample reference server cluster, and the second sample reference server cluster;

[0037] Based on the target training error parameters, the network parameters of the sample load balancing decision network are optimized to generate a load balancing decision network. The load balancing decision network is used to determine the load balancing decision relationship between the reference server cluster and the task to be assigned based on the task requirement feature sequence and the optimized feature knowledge information. The optimized feature knowledge information has a decision relationship with the reference server cluster, and the task requirement feature sequence has a decision relationship with the task to be assigned.

[0038] In a possible implementation of the first aspect, determining a target training error parameter based on the first sample task, the second sample task, the first sample reference server cluster, and the second sample reference server cluster includes:

[0039] Performing feature extraction on the first sample task and the second sample task to obtain a first sample task feature set and a second sample task feature set, and performing feature extraction on the first sample reference server cluster and the second sample reference server cluster to obtain a first sample cluster feature set and a second sample cluster feature set;

[0040] According to the prior expert knowledge input data, a positive label is assigned to the sample pairing of the first sample task and the first sample reference server cluster, wherein the positive label indicates that there is a load balancing decision relationship, and a negative label is assigned to the pairing of the first sample task and the second sample reference server cluster, wherein the negative label indicates that there is no load balancing decision relationship;

[0041] and assigning a positive label to the sample pairing of the second sample task and the second sample reference server cluster, and assigning a negative label to the sample pairing of the second sample task and the first sample reference server cluster;

[0042] Use the sample load balancing decision network to predict each group of sample pairs, and output the probability of each load balancing decision relationship between each group of sample pairs;

[0043] According to the probability of each load balancing decision relationship between each pair of samples and the actual label data, the training error parameter corresponding to each pair of samples is calculated;

[0044] Summarize the training error parameters corresponding to all sample pairs to obtain the target training error parameter;

[0045] In a possible implementation of the first aspect, the calculation formula for calculating the training error parameter corresponding to each group of sample pairs according to the probability of each load balancing decision connection between each group of sample pairs and the actual label data is as follows:

[0046] Loss=-[y*log(p)+(1-y)*log(1-p)]

[0047] in:

[0048] Loss represents the training error parameter;

[0049] y represents the actual label data, and its value is 0 or 1. 1 indicates that there is a load balancing decision relationship, and 0 indicates that there is no load balancing decision relationship.

[0050] p represents the probability of the existence of a load balancing decision connection predicted by the sample load balancing decision network.

[0051] On the other hand, an embodiment of the present application also provides an information processing system based on data center load balancing, including a processor and a machine-readable storage medium, wherein the machine-readable storage medium is connected to the processor, the machine-readable storage medium is used to store programs, instructions or codes, and the processor is used to execute the programs, instructions or codes in the machine-readable storage medium to implement the above method.

[0052] Based on the above aspects, by obtaining the reference server cluster sequence in the data center and generating the corresponding cluster feature knowledge information sequence, and then combining the data center model to build the correlation between cluster features, the optimized feature knowledge information sequence is obtained, which fully considers the characteristics of the server cluster and the relationship between them, and provides an accurate data basis for subsequent task allocation. Furthermore, the correlation between the task requirement characteristics and the optimized feature knowledge information is determined through the load balancing decision network, and the quantitative evaluation of the matching degree between the task and the server cluster is realized, so that the task can be assigned to the most suitable server cluster, thereby optimizing the load balancing of the data center and improving the efficiency of task processing and the utilization of server resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 It is a schematic diagram of the execution flow of the information processing method based on data center load balancing provided in an embodiment of the present application.

[0054] Figure 2 It is a schematic diagram of the hardware architecture of an information processing system based on data center load balancing provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] The present application will be described in detail below with reference to the accompanying drawings. Figure 1 This is a flow chart of an information processing method based on data center load balancing provided by an embodiment of the present application. The information processing method based on data center load balancing is introduced in detail below.

[0056] Step S110: obtaining a reference server cluster sequence in a data center, wherein the reference server cluster sequence includes K reference server clusters.

[0057] In this embodiment, the server retrieves and obtains a reference server cluster sequence from the management system of the data center, and the reference server cluster sequence includes K reference server clusters that have been configured and run in the data center. For example, there are five server clusters with different performances in the data center, named ClusterA, ClusterB, ClusterC, ClusterD and ClusterE respectively. The server organizes the information of these reference server clusters into a reference server cluster sequence according to their respective numbering order.

[0058] Step S120: generating a cluster feature knowledge information sequence based on the reference server cluster sequence, wherein the cluster feature knowledge information sequence includes K cluster feature knowledge information, and each cluster feature knowledge information corresponds to a reference server cluster.

[0059] In this embodiment, the server starts to process the acquired reference server cluster sequence. First, through the data center feature extraction mechanism, the cluster data of each reference server cluster is analyzed one by one. These cluster data include the resource occupancy of the cluster, such as CPU usage, memory occupancy, etc.; performance indicators, such as response time, throughput, etc.; and historical task processing data, such as the number of tasks processed in the past period of time, task type, etc. The server extracts these feature knowledge information to form cluster feature knowledge information corresponding to each reference server cluster. Finally, the server obtains a sequence containing 5 cluster feature knowledge information, and each cluster feature knowledge information describes the status and performance of the corresponding server cluster in detail.

[0060] Step S130, obtaining an optimized feature knowledge information sequence corresponding to the cluster feature knowledge information sequence according to the data center model, wherein the optimized feature knowledge information sequence includes K optimized feature knowledge information, each optimized feature knowledge information corresponds to a cluster feature knowledge information, and the data center model is used to construct the correlation between each cluster feature knowledge information.

[0061] In this embodiment, the server then uses the data center model to process the cluster feature knowledge information sequence. First, two cluster feature knowledge information in the cluster feature knowledge information sequence, such as the information of ClusterA and ClusterB, are selected, and the correlation weight between the two is calculated. The correlation weight reflects the similarities or differences between the two clusters in terms of resource usage, performance indicators, etc. The server performs such processing on all cluster feature knowledge information, and performs a standardized conversion on the obtained correlation weights to generate a set of standardized weights. Based on these standardized weights, the server constructs a target correlation array, which describes the intrinsic connection between each cluster feature knowledge information. Finally, the server uses the cluster feature knowledge information sequence and the target correlation array as input, and obtains an optimized feature knowledge information sequence through processing by the data center model. Each optimized feature knowledge information in the optimized feature knowledge information sequence integrates the feature knowledge of other clusters, and more comprehensively reflects the characteristics and capabilities of each cluster.

[0062] Step S140, obtaining a task requirement feature sequence corresponding to the task to be assigned, wherein the task to be assigned includes M processing requirements, and the task requirement feature sequence includes M task requirement features, and each processing requirement corresponds to a task requirement feature.

[0063] In this embodiment, the server receives a task to be assigned, which includes M processing requirements, such as data processing, computational analysis, and graphics rendering. The server performs a detailed analysis of the task to be assigned and extracts the task requirement features corresponding to each processing requirement. These task requirement features include key information such as task type, data processing volume, and computational complexity. The server organizes these task requirement features into a task requirement feature sequence in the order of the processing requirements.

[0064] Step S150, obtaining the correlation between the task requirement feature sequence and each optimization feature knowledge information according to a load balancing decision network, wherein the load balancing decision network is used to determine the load balancing decision relationship between the reference server cluster and the task to be assigned.

[0065] In this embodiment, the server now needs to determine which reference server cluster is most suitable for processing the task to be assigned. Therefore, the previously trained load balancing decision network can be used to make decisions. The server inputs the task requirement feature sequence and the optimized feature knowledge information sequence as input data into the load balancing decision network, which can capture the potential connection between the task requirements and the cluster features, and calculate the correlation between each optimized feature knowledge information and the task requirement feature sequence. The correlation reflects the suitability of the cluster to process the task to be assigned.

[0066] Step S160 : determining a target reference server cluster from the reference server cluster sequence based on the association between the task requirement feature sequence and each piece of optimized feature knowledge information.

[0067] Finally, the server selects the cluster with the highest correlation from the reference server cluster sequence as the target reference server cluster based on the calculated correlation. For example, if the optimized feature knowledge information of ClusterC has the highest correlation with the task to be assigned, the server will determine ClusterC as the target reference server cluster and assign the task to it for processing. In this way, the server completes a cluster selection process based on load balancing.

[0068] Based on the above steps, by obtaining the reference server cluster sequence in the data center and generating the corresponding cluster feature knowledge information sequence, and then combining the data center model to build the correlation between cluster features, the optimized feature knowledge information sequence is obtained, which fully considers the characteristics of the server cluster and the relationship between them, and provides an accurate data basis for subsequent task allocation. Furthermore, the correlation between the task requirement characteristics and the optimized feature knowledge information is determined through the load balancing decision network, and the quantitative evaluation of the matching degree between the task and the server cluster is realized, so that the task can be assigned to the most suitable server cluster, thereby optimizing the load balancing of the data center and improving the efficiency of task processing and the utilization of server resources.

[0069] In a possible implementation, step S120 may include:

[0070] Step S121, obtaining cluster feature knowledge information corresponding to the reference server cluster according to the data center feature extraction mechanism, wherein the cluster data of the reference server cluster includes cluster status data, and the cluster status data includes resource occupancy, performance indicators and historical task processing data of the reference server cluster in the data center.

[0071] In this embodiment, the data center has a feature extraction mechanism that can systematically collect and organize key information of each server cluster. In this scenario, a specific reference server cluster is focused on. This reference server cluster runs in the data center and continuously generates various status data.

[0072] Such status data include but are not limited to:

[0073] Resource usage: Such as CPU usage, memory usage, disk I / O, etc. These data reflect the resource consumption of the cluster at the current point in time.

[0074] Performance indicators: such as response time, throughput, concurrent processing capability, etc. These indicators measure the efficiency and ability of the cluster in processing tasks.

[0075] Historical task processing data: including the number, type, success rate, and failure rate of tasks processed by the cluster over the past period of time. This data provides a long-term perspective on the cluster's workload and stability.

[0076] The feature extraction mechanism of the data center collects this data regularly (such as hourly, daily or weekly) and converts it into cluster feature knowledge information through a preset algorithm. This information is an abstract representation of cluster performance, stability and efficiency, which facilitates subsequent analysis and comparison.

[0077] Step S122: when the cluster feature knowledge information corresponding to the K reference server clusters is obtained, the cluster feature knowledge information sequence is generated based on the K cluster feature knowledge information.

[0078] In this embodiment, each reference server cluster generates its own cluster feature knowledge information through the above mechanism. After the management system of the data center collects the feature knowledge information of the K reference server clusters, it can arrange the information into a sequence according to a preset order (such as cluster number, creation time, etc.). The sequence is the cluster feature knowledge information sequence, which includes the key features and performance indicators of multiple server clusters in the data center.

[0079] In a possible implementation, step S130 may include:

[0080] Step S131, obtaining first cluster feature knowledge information and second cluster feature knowledge information from the cluster feature knowledge information sequence, wherein the first cluster feature knowledge information is any cluster feature knowledge information in the cluster feature knowledge information sequence, and the second cluster feature knowledge information is any cluster feature knowledge information in the cluster feature knowledge information sequence.

[0081] The server first selects two cluster feature knowledge information from the cluster feature knowledge information sequence, referred to as the first cluster feature knowledge information and the second cluster feature knowledge information. The two cluster feature knowledge information can be feature knowledge information of any two clusters in the cluster feature knowledge information sequence, representing the operating status and performance indicators of two different clusters.

[0082] Step S132: obtaining a correlation weight between the first cluster feature knowledge information and the second cluster feature knowledge information.

[0083] Next, the server can analyze the correlation between the characteristic knowledge information of the two clusters, which may involve comparing their resource usage, performance indicators, historical task processing data, etc. The server can calculate a correlation weight that reflects the similarities or differences between the two clusters in terms of operating status and performance.

[0084] Step S133: performing a normalization conversion on the correlation weight between the first cluster feature knowledge information and the second cluster feature knowledge information to generate a normalized weight.

[0085] To ensure that the relevance weights between different clusters are comparable, the server can perform normalization on these relevance weights. The normalization process converts the original weight values ​​to a uniform scale, usually between 0 and 1, which can eliminate the impact of different dimensions and units on data comparison.

[0086] Step S134: determining a target correlation array based on the standardized weights between the cluster feature knowledge information in the cluster feature knowledge information sequence.

[0087] After completing the standardized transformation of the correlation weights between all cluster feature knowledge information, the server can obtain a target correlation array, which is a matrix in which each element represents the standardized correlation weight between two clusters. The target correlation array provides a comprehensive perspective to observe and understand the relationships between various clusters in the data center.

[0088] Step S135 , determining the optimized feature knowledge information sequence corresponding to the target correlation array according to the data center model.

[0089] Finally, the server can determine the optimized feature knowledge information sequence corresponding to the target correlation array based on the data center model. This process may involve further data analysis and processing of the array to identify clusters with strong correlation or special performance. Through these optimized feature knowledge information sequences, the resource allocation, task scheduling and other strategies of the data center can be adjusted and optimized to improve the overall performance and efficiency.

[0090] In a possible implementation, step S134 includes:

[0091] Step S1341 : generating a correlation array based on the standardized weights between the cluster feature knowledge information in the cluster feature knowledge information sequence.

[0092] Step S1342: generating the target correlation array based on the correlation array and the reference array.

[0093] In this embodiment, first, the server has calculated the standardized weights between the clusters in the cluster feature knowledge information sequence through the previous steps. These standardized weights reflect the correlation between the clusters in terms of performance, resource usage, historical task processing, etc.

[0094] The server can use these normalized weights to construct a relevance array, which is a two-dimensional matrix in which each element represents the relevance weight between a pair of clusters. For example, if there are three clusters A, B, and C, the relevance array may be as follows:

[0095]

[0096] In this array, the elements on the diagonal are all 1, because the correlation between a cluster and itself is always the highest. The elements x, y, and z at other positions represent the standardized correlation weights between clusters A and B, A and C, and B and C, respectively.

[0097] Next, the servers need a baseline array to compare or calibrate against. A baseline array can be an idealized or expected correlation array based on historical data, industry standards, or expert judgment, which represents the correlation that the clusters should have in the absence of any anomalies or interference.

[0098] The server can compare the actual calculated correlation array with the reference array. By comparing corresponding elements in the two arrays, the server can identify which clusters are more or less correlated than expected, and this comparison may involve simple numerical difference analysis or more complex statistical methods.

[0099] Finally, the server can generate a target correlation array based on the comparison results, which can be a revised version of the original correlation array, taking into account the difference with the benchmark array. For example, if the correlation between a cluster pair is significantly lower than the benchmark, the server can increase the weight of this cluster pair in the target correlation array to reflect a more ideal inter-cluster correlation state.

[0100] Thus, by comparing the actual and expected inter-cluster correlations, the collaboration of clusters in the data center can be optimized and adjusted. In this way, the server can ensure that the performance and resource allocation between clusters are more balanced and efficient.

[0101] In one possible implementation, step S135 includes: inputting the cluster feature knowledge information sequence and the target correlation array as input data into the data center model, and using the target correlation array as auxiliary information through the data center model to capture the dependencies and patterns between elements in the cluster feature knowledge information sequence, and then performing feature extraction and transformation through multiple hidden layers of the data center model to generate an optimized feature knowledge information sequence corresponding to the input cluster feature knowledge information sequence, wherein the optimized feature knowledge information sequence captures the potential connections and dependencies between the cluster feature knowledge information sequences.

[0102] First, the server can organize the data that needs to be input into the data center model, which includes cluster feature knowledge information sequence and target correlation array. The cluster feature knowledge information sequence is composed of feature knowledge information of multiple clusters arranged in a certain order, which reflects the status and performance of each cluster. The target correlation array is a two-dimensional matrix that describes the strength of the correlation between clusters.

[0103] Next, the server can input the prepared cluster feature knowledge information sequence and target correlation array as input data into the data center model. The data center model is a complex neural network structure with multiple hidden layers that can capture and process complex relationships in the input data.

[0104] Inside the data center model, the server can use the target correlation array as auxiliary information to capture the dependencies and patterns between elements in the cluster feature knowledge information sequence. The model performs deep feature extraction and transformation on these relationships through multiple hidden layers, which can learn the potential rules and structures in the input data, thereby extracting more abstract and useful features.

[0105] After being processed by the data center model, the server can output an optimized feature knowledge information sequence corresponding to the input cluster feature knowledge information sequence, which captures the potential connections and dependencies between the original cluster feature knowledge information sequences. It expresses the core information of the original data more concisely and efficiently, helping the server to better understand and optimize the operation status of the data center.

[0106] Therefore, this embodiment makes full use of the powerful processing capabilities of the data center model, and generates a more optimized and efficient feature knowledge information sequence by capturing and analyzing the complex relationship between cluster feature knowledge information. This feature knowledge information sequence provides strong data support for the management and operation of the data center, and helps the server make more intelligent and accurate decisions.

[0107] In a possible implementation, step S140 may include:

[0108] Step S141, receiving the task to be assigned.

[0109] Step S142: acquiring a task knowledge block set based on the task to be assigned, wherein the task knowledge block set includes M task knowledge blocks, and each task knowledge block corresponds to a processing requirement.

[0110] Step S143, performing knowledge mapping processing on each task knowledge block in the task knowledge block set to generate task requirement features.

[0111] Step S144, when the task requirement features corresponding to the M task knowledge blocks are obtained, the task requirement feature sequence is generated based on the M task requirement features.

[0112] In data centers, servers often need to process various unassigned tasks, which may involve multiple computing requirements such as data analysis, image processing, and machine learning. In order to effectively assign these unassigned tasks to the most suitable server cluster, the server first needs to understand the specific requirements of each unassigned task in detail. Now, we will use detailed scenario examples to illustrate how to obtain the task requirement feature sequence corresponding to the unassigned task.

[0113] In detail, the server receives a new task to be assigned, which can be a big data analysis job that needs to process a large amount of user behavior data to identify consumption trends. The task is submitted to the task scheduling system of the data center in a specific data format and interface standard.

[0114] The server begins to analyze the task to be assigned and decomposes it into multiple independent or interrelated processing requirements, which are called task knowledge blocks. In this example, the big data analysis job may be decomposed into four task knowledge blocks: data cleaning, data aggregation, model training, and result visualization. Each task knowledge block corresponds to a specific processing requirement, such as data cleaning, which requires removing noise and outliers from the original data.

[0115] For each task knowledge block, the server performs knowledge mapping, which involves converting each processing requirement into a specific feature representation so that the server can understand the task requirements more accurately. For example, for the task knowledge block of data cleaning, the server can identify the specific data type and data range that need to be deleted; for model training, the server can extract the required algorithm type, model complexity and other features.

[0116] When the server completes the knowledge mapping process for all task knowledge blocks, it will obtain a series of task requirement features, which describe in detail the specific content and requirements of each processing requirement. Finally, the server arranges these features in the order of task knowledge blocks to generate a task requirement feature sequence, which provides the server with a clear and structured overview of the task requirements, which helps the server to match the server cluster that is most suitable for processing the task based on these requirement features.

[0117] In a possible implementation, step S143 may include:

[0118] Step S1431, parse each task knowledge block and identify the block information in each task knowledge block, wherein the block information includes at least one of task type, data processing volume, computational complexity, memory requirements, storage requirements, network bandwidth requirements, delay requirements, number of concurrent users, data security requirements, data consistency requirements, error recovery capabilities, hardware compatibility, software dependencies, system stability requirements, scalability requirements, multi-language support, power management requirements, user interaction complexity, and data visualization requirements.

[0119] Step S1432: for each task knowledge block, the corresponding block information is converted into the corresponding task requirement features according to the pre-defined mapping rules, and the generated task requirement features are standardized and normalized.

[0120] In this embodiment, the server starts to parse each task knowledge block. In this process, the server identifies the key information contained in each block. This key information is called block information. This block information is very diverse and can include task type (such as whether it is compute-intensive or I / O-intensive), data processing volume (the amount of data to be processed), computational complexity (the amount of computing resources required to complete the task), memory requirements, storage requirements, network bandwidth requirements (data transmission rate requirements), latency requirements (the timeliness of task completion), number of concurrent users (the number of users accessing the system at the same time), data security requirements (data confidentiality and integrity protection), data consistency requirements (ensuring that data remains consistent between multiple copies), error recovery capabilities (the ability of the system to recover from failures), hardware compatibility (task requirements for specific hardware), software dependencies (specific software or libraries on which the task depends), system stability requirements (system running time and stability requirements), scalability requirements (the system's ability to automatically expand or reduce resources based on load), multi-language support (the system's support for different programming languages), power management requirements (requirements for power usage and energy efficiency), user interaction complexity (the difficulty of user interaction with the system), and data visualization requirements (the need to display data in a graphical manner), etc.

[0121] For each task knowledge block, the server can convert the identified block information into the corresponding task requirement features according to the pre-defined mapping rules. These mapping rules are a series of preset algorithms or logics that can convert the specific content of the block information into quantifiable and comparable feature values. For example, if the data processing volume of a task knowledge block is large, then according to the mapping rules, this feature can be converted to a higher value. Similarly, if a task has very strict delay requirements, then this feature may also be assigned a corresponding value.

[0122] During the conversion process, the server also standardizes and normalizes the generated task requirement features. Standardization is to ensure comparability between different features, usually by subtracting the mean and dividing by the standard deviation. Normalization is to scale the feature value to a specific range (such as between 0 and 1) for better comprehensive evaluation and comparison.

[0123] In this way, the specific requirements of each task knowledge block can be fully and accurately captured and converted into measurable and comparable task requirement characteristics, providing important decision-making basis for subsequent task allocation and resource optimization.

[0124] In a possible implementation, the method further includes:

[0125] Step S101, obtain a sample task sequence and a sample reference server cluster sequence, the sample task sequence includes a first sample task and a second sample task, the sample reference server cluster sequence includes a first sample reference server cluster and a second sample reference server cluster, the first sample task has a load balancing decision relationship with the first sample reference server cluster, and the first sample task has no load balancing decision relationship with the second sample reference server cluster, the second sample task has a load balancing decision relationship with the second sample reference server cluster, and the second sample task has no load balancing decision relationship with the first sample reference server cluster.

[0126] In this embodiment, the server first obtains a set of sample data, which includes a sample task sequence and a sample reference server cluster sequence. Specifically, the sample task sequence includes two tasks: a first sample task and a second sample task. At the same time, the sample reference server cluster sequence also includes two server clusters: a first sample reference server cluster and a second sample reference server cluster.

[0127] Importantly, there is a known load balancing decision relationship between these sample data and the server clusters. For example, there is a load balancing decision relationship between the first sample task and the first sample reference server cluster, which means that this task is suitable for being assigned to this server cluster for processing. However, there is no such relationship between the first sample task and the second sample reference server cluster. Similarly, the second sample task has a relationship with the second sample reference server cluster, but not with the first sample reference server cluster.

[0128] Step S102: determining a target training error parameter based on the first sample task, the second sample task, the first sample reference server cluster, and the second sample reference server cluster.

[0129] Next, the server can use this sample data to determine the target training error parameter by comparing the output of the load balancing decision network with the known load balancing decision relationship. The server can calculate the difference between the decision output by the network and the actual decision. This difference is the target training error parameter. The target training error parameter represents the accuracy of the network's current prediction. The server can continuously adjust the parameters of the network to try to minimize this target training error parameter.

[0130] Step S103, optimizing the network parameters of the sample load balancing decision network based on the target training error parameters to generate a load balancing decision network, wherein the load balancing decision network is used to determine the load balancing decision relationship between the reference server cluster and the task to be assigned based on the task requirement feature sequence and the optimized feature knowledge information, wherein the optimized feature knowledge information has a decision relationship with the reference server cluster, and the task requirement feature sequence has a decision relationship with the task to be assigned.

[0131] Based on the calculated target training error parameters, the server starts to optimize the network parameters of the sample load balancing decision network. The optimization goal is to find a set of network parameters that makes the network output closer to the known load balancing decision relationship.

[0132] The optimization process may use optimization algorithms such as gradient descent to update network parameters such as weights and biases through the back-propagation algorithm. The server can iterate this process multiple times until the network's performance reaches an acceptable level or the training error no longer decreases significantly.

[0133] Once the load balancing decision network is optimized and reaches a satisfactory performance level, the server can apply it to the actual task allocation process. When a new task to be assigned arrives, the server can first extract the task requirement feature sequence of this task. Then, the server can use the optimized load balancing decision network to determine which server cluster is most suitable for processing this task.

[0134] In this process, the optimization feature knowledge information is decision-making related to the reference server cluster, which reflects the performance and status of the server cluster. The task requirement feature sequence is decision-making related to the task to be assigned, which describes the specific requirements of the task in detail. By inputting this information into the load balancing decision network, the server can make more accurate and efficient task allocation decisions.

[0135] In a possible implementation, step S102 includes:

[0136] Step S1021, perform feature extraction on the first sample task and the second sample task to obtain a first sample task feature set and a second sample task feature set, and perform feature extraction on the first sample reference server cluster and the second sample reference server cluster to obtain a first sample cluster feature set and a second sample cluster feature set.

[0137] Step S1022, according to the prior expert knowledge input data, a positive label is assigned to the sample pairing of the first sample task and the first sample reference server cluster, wherein the positive label indicates that there is a load balancing decision connection, and a negative label is assigned to the pairing of the first sample task and the second sample reference server cluster, wherein the negative label indicates that there is no load balancing decision connection.

[0138] And, step S1023, assigning a positive label to the sample pairing of the second sample task and the second sample reference server cluster, and assigning a negative label to the sample pairing of the second sample task and the first sample reference server cluster.

[0139] Step S1024: Use the sample load balancing decision network to predict each group of sample pairs, and output the probability of each load balancing decision relationship existing between each group of sample pairs.

[0140] Step S1025, calculating the training error parameter corresponding to each group of sample pairings according to the probability of each load balancing decision relationship existing between each group of sample pairings and the actual label data.

[0141] Step S1026, summarizing the training error parameters corresponding to all sample pairs to obtain the target training error parameters.

[0142] In a possible implementation, the formula for calculating the training error parameter corresponding to each group of sample pairings according to the probability of each load balancing decision connection between each group of sample pairings and the actual label data is as follows:

[0143] Loss=-[y*log(p)+(1-y)*log(1-p)]

[0144] in:

[0145] Loss represents the training error parameter.

[0146] y represents the actual label data, and its value is 0 or 1. 1 indicates that there is a load balancing decision relationship, and 0 indicates that there is no load balancing decision relationship.

[0147] p represents the probability of the existence of a load balancing decision connection predicted by the sample load balancing decision network.

[0148] In this embodiment, the server first extracts features from the first sample task and the second sample task, and finally forms the first sample task feature set and the second sample task feature set. Similarly, feature extraction is also performed on the first sample reference server cluster and the second sample reference server cluster, thereby obtaining the first sample cluster feature set and the second sample cluster feature set.

[0149] According to the prior expert knowledge, the server assigns a positive label to the pairing of the first sample task and the first sample reference server cluster, indicating that there is a load balancing decision relationship between them. Correspondingly, a negative label is assigned to the pairing of the first sample task and the second sample reference server cluster, indicating that there is no load balancing decision relationship between them. Similarly, the pairing of the second sample task and the second sample reference server cluster is also assigned a positive label, while the pairing of the second sample task and the first sample reference server cluster is assigned a negative label.

[0150] Next, the server uses the sample load balancing decision network to predict each sample pairing. The network outputs the probability that there is a load balancing decision relationship between each sample pairing, and these probability values ​​will be used for subsequent training error calculations.

[0151] The server calculates the training error parameter for each sample pairing based on the network's predicted probability and the actual label data. The specific calculation formula is: Loss = -[y*log(p)+(1-y)*log(1-p)]. Among them, Loss represents the training error parameter, y is the actual label data (1 means there is a connection, 0 means there is no connection), and p is the probability of the network predicting that there is a load balancing decision connection. This formula can quantify the difference between the network prediction and the actual label, thereby guiding the optimization direction of the network.

[0152] Finally, the server summarizes the training error parameters corresponding to all sample pairs and obtains the target training error parameter, which will serve as an important basis for optimizing the load balancing decision network. By continuously iterating and optimizing network parameters, the server aims to reduce the target training error parameter, thereby improving the accuracy and efficiency of the network's future task allocation decisions.

[0153] Figure 2 The hardware structure of the information processing system 100 based on data center load balancing for implementing the above-mentioned information processing method based on data center load balancing provided in the embodiment of the present application is shown. Figure 2 As shown, the information processing system 100 based on data center load balancing may include a processor 110 , a machine-readable storage medium 120 , a bus 130 , and a communication unit 140 .

[0154] In one possible design, the information processing system 100 based on data center load balancing can be a single server or a server group. The server group can be centralized or distributed (for example, the information processing system 100 based on data center load balancing can be a distributed system). In some embodiments, the information processing system 100 based on data center load balancing can be local or remote. For example, the information processing system 100 based on data center load balancing can access information and / or data stored in a machine-readable storage medium 120 via a network. For another example, the information processing system 100 based on data center load balancing can be directly connected to the machine-readable storage medium 120 to access the stored information and / or data. In some embodiments, the information processing system 100 based on data center load balancing can be implemented on an information processing system based on data center load balancing. As an example only, the information processing system based on data center load balancing can include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, an internal cloud, a multi-layer cloud, etc. or any combination thereof.

[0155] The machine-readable storage medium 120 may store data and / or instructions. In some embodiments, the machine-readable storage medium 120 may store data obtained from an external terminal. In some embodiments, the machine-readable storage medium 120 may store data and / or instructions that the information processing system 100 based on data center load balancing uses to execute or use to complete the exemplary methods described in this application.

[0156] During the specific implementation process, at least one processor 110 executes computer executable instructions stored in the machine-readable storage medium 120, so that the processor 110 can execute the information processing method based on data center load balancing in the above method embodiment. The processor 110, the machine-readable storage medium 120 and the communication unit 140 are connected through the bus 130, and the processor 110 can be used to control the sending and receiving actions of the communication unit 140.

[0157] The specific implementation process of the processor 110 can refer to the various method embodiments executed by the above-mentioned information processing system 100 based on data center load balancing. The implementation principles and technical effects are similar and will not be repeated in this embodiment.

[0158] In addition, an embodiment of the present application further provides a readable storage medium, in which computer executable instructions are preset. When a processor executes the computer executable instructions, the above information processing method based on data center load balancing is implemented.

[0159] It should be noted that in order to simplify the description disclosed in this application and thus help understand one or more embodiments of the invention, in the foregoing description of the embodiments of the present application, multiple features are sometimes combined into one embodiment, drawings, or descriptions thereof. Similarly, it should be noted that in order to simplify the description disclosed in this application and thus help understand one or more embodiments of the invention, in the foregoing description of the embodiments of the present application, multiple features are sometimes combined into one embodiment, drawings, or descriptions thereof.

Claims

1. An information processing method based on data center load balancing, characterized in that: The method comprises: Acquire a reference server cluster sequence in a data center, wherein the reference server cluster sequence includes K reference server clusters; Generate a cluster feature knowledge information sequence based on the reference server cluster sequence, wherein the cluster feature knowledge information sequence includes K cluster feature knowledge information, and each cluster feature knowledge information corresponds to a reference server cluster; According to the data center model, an optimized feature knowledge information sequence corresponding to the cluster feature knowledge information sequence is obtained, wherein the optimized feature knowledge information sequence includes K optimized feature knowledge information, each optimized feature knowledge information corresponds to a cluster feature knowledge information, and the data center model is used to construct the correlation between each cluster feature knowledge information; Acquire a task requirement feature sequence corresponding to the task to be assigned, wherein the task to be assigned includes M processing requirements, the task requirement feature sequence includes M task requirement features, and each processing requirement corresponds to one task requirement feature; Obtaining the degree of association between the task requirement feature sequence and each of the optimization feature knowledge information according to a load balancing decision network, wherein the load balancing decision network is used to determine the load balancing decision relationship between the reference server cluster and the task to be assigned; Determining a target reference server cluster from the reference server cluster sequence based on the correlation between the task requirement feature sequence and each of the optimization feature knowledge information; The generating a cluster feature knowledge information sequence based on the reference server cluster sequence comprises: Acquire cluster feature knowledge information corresponding to the reference server cluster according to a data center feature extraction mechanism, wherein the cluster data of the reference server cluster includes cluster status data, and the cluster status data includes resource occupancy, performance indicators, and historical task processing data of the reference server cluster in the data center; When the cluster feature knowledge information corresponding to the K reference server clusters is obtained, the cluster feature knowledge information sequence is generated based on the K cluster feature knowledge information; The step of obtaining the optimized feature knowledge information sequence corresponding to the cluster feature knowledge information sequence according to the data center model includes: Acquire first cluster feature knowledge information and second cluster feature knowledge information from the cluster feature knowledge information sequence, wherein the first cluster feature knowledge information is any one of the cluster feature knowledge information in the cluster feature knowledge information sequence, and the second cluster feature knowledge information is any one of the cluster feature knowledge information in the cluster feature knowledge information sequence; Obtaining a correlation weight between the first cluster feature knowledge information and the second cluster feature knowledge information; Performing a standardized conversion on the correlation weight between the first cluster feature knowledge information and the second cluster feature knowledge information to generate a standardized weight; Determining a target correlation array based on the standardized weights between the individual cluster feature knowledge information in the cluster feature knowledge information sequence; The optimized feature knowledge information sequence corresponding to the target correlation array is determined according to the data center model.

2. The information processing method based on data center load balancing according to claim 1, characterized in that: The determining of the target correlation array based on the standardized weights between the individual cluster feature knowledge information in the cluster feature knowledge information sequence includes: generating a correlation array based on the standardized weights between the individual cluster feature knowledge information in the cluster feature knowledge information sequence; The target correlation array is generated based on the correlation array and a reference array.

3. The information processing method based on data center load balancing according to claim 1 or 2, characterized in that: The step of determining the optimized feature knowledge information sequence corresponding to the target correlation array according to the data center model includes: The cluster feature knowledge information sequence and the target correlation array are input as input data into the data center model. The data center model uses the target correlation array as auxiliary information to capture the dependencies and patterns between the elements in the cluster feature knowledge information sequence. Feature extraction and transformation are then performed through multiple hidden layers of the data center model to generate an optimized feature knowledge information sequence corresponding to the input cluster feature knowledge information sequence. The optimized feature knowledge information sequence captures the potential connections and dependencies between the cluster feature knowledge information sequences.

4. The information processing method based on data center load balancing according to claim 1, characterized in that: The step of obtaining a task requirement feature sequence corresponding to the task to be assigned includes: Receiving the task to be assigned; Acquire a task knowledge block set based on the task to be assigned, wherein the task knowledge block set includes M task knowledge blocks, and each task knowledge block corresponds to a processing requirement; Performing knowledge mapping processing on each task knowledge block in the task knowledge block set to generate task requirement features; When the task requirement features corresponding to the M task knowledge blocks are obtained, the task requirement feature sequence is generated based on the M task requirement features.

5. The information processing method based on data center load balancing according to claim 4 is characterized in that: The performing knowledge mapping processing on each task knowledge block in the task knowledge block set to generate task requirement features includes: Parse each task knowledge block and identify block information in each task knowledge block, wherein the block information includes at least one of task type, data processing volume, computational complexity, memory requirement, storage requirement, network bandwidth requirement, delay requirement, number of concurrent users, data security requirement, data consistency requirement, error recovery capability, hardware compatibility, software dependency, system stability requirement, scalability requirement, multi-language support, power management requirement, user interaction complexity, and data visualization requirement; For each task knowledge block, the corresponding block information is converted into the corresponding task requirement features according to the pre-defined mapping rules, and the generated task requirement features are standardized and normalized.

6. The information processing method based on data center load balancing according to claim 1, characterized in that: The method further comprises: Obtain a sample task sequence and a sample reference server cluster sequence, wherein the sample task sequence includes a first sample task and a second sample task, the sample reference server cluster sequence includes a first sample reference server cluster and a second sample reference server cluster, the first sample task has a load balancing decision relationship with the first sample reference server cluster, and the first sample task has no load balancing decision relationship with the second sample reference server cluster, the second sample task has a load balancing decision relationship with the second sample reference server cluster, and the second sample task has no load balancing decision relationship with the first sample reference server cluster; Determining a target training error parameter based on the first sample task, the second sample task, the first sample reference server cluster, and the second sample reference server cluster; Based on the target training error parameters, the network parameters of the sample load balancing decision network are optimized to generate a load balancing decision network. The load balancing decision network is used to determine the load balancing decision relationship between the reference server cluster and the task to be assigned based on the task requirement feature sequence and the optimized feature knowledge information. The optimized feature knowledge information has a decision relationship with the reference server cluster, and the task requirement feature sequence has a decision relationship with the task to be assigned.

7. The information processing method based on data center load balancing according to claim 6 is characterized in that: The determining a target training error parameter based on the first sample task, the second sample task, the first sample reference server cluster, and the second sample reference server cluster includes: Performing feature extraction on the first sample task and the second sample task to obtain a first sample task feature set and a second sample task feature set, and performing feature extraction on the first sample reference server cluster and the second sample reference server cluster to obtain a first sample cluster feature set and a second sample cluster feature set; According to the prior expert knowledge input data, a positive label is assigned to the sample pairing of the first sample task and the first sample reference server cluster, wherein the positive label indicates that there is a load balancing decision relationship, and a negative label is assigned to the pairing of the first sample task and the second sample reference server cluster, wherein the negative label indicates that there is no load balancing decision relationship; and assigning a positive label to the sample pairing of the second sample task and the second sample reference server cluster, and assigning a negative label to the sample pairing of the second sample task and the first sample reference server cluster; Use the sample load balancing decision network to predict each group of sample pairs, and output the probability of each load balancing decision relationship between each group of sample pairs; According to the probability of each load balancing decision relationship between each pair of samples and the actual label data, the training error parameter corresponding to each pair of samples is calculated; Summarize the training error parameters corresponding to all sample pairs to obtain the target training error parameter; The formula for calculating the training error parameter corresponding to each group of sample pairings according to the probability of each load balancing decision connection between each group of sample pairings and the actual label data is as follows: Loss=-[y*log(p)+(1-y)*log(1-p)] in: Loss represents the training error parameter; y represents the actual label data, and its value is 0 or 1. 1 indicates that there is a load balancing decision relationship, and 0 indicates that there is no load balancing decision relationship. p represents the probability of the existence of a load balancing decision connection predicted by the sample load balancing decision network.

8. An information processing system based on data center load balancing, characterized in that: The information processing system based on data center load balancing includes a processor and a memory, the memory is connected to the processor, the memory is used to store programs, instructions or codes, and the processor is used to execute the programs, instructions or codes in the memory to implement the information processing method based on data center load balancing described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Load balancing method and system and storage medium

    CN109818997A

  • Distributed controller cluster load balancing system

    CN113641499A