Resource scheduling method, device and equipment

By generating multidimensional data topology maps, decomposing the job set as quantum computing units and adding priority annotations, dividing inhomogeneous resource shards, and using the improved mixed particle swarm optimization algorithm for resource scheduling, the problem of insufficient matching between resource allocation and task requirements in traditional scheduling algorithms is solved, and resource utilization and system response capabilities are improved.

CN120179414AActive Publication Date: 2025-06-20SHENZHEN SOFTBANK STRONG TECH CO LTD

Patent Information

Application Number
CN202510638548.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-19
Publication Date
2025-06-20
Estimated Expiration
2045-05-19

AI Technical Summary

Technical Problem

Traditional scheduling algorithms have the problem of insufficient matching of resource allocation and task requirements in smart transportation systems, resulting in low resource scheduling efficiency, which seriously restricts the system's real-time response capabilities.

Method used

A resource scheduling method is proposed, by generating a multi-dimensional data topology diagram, decomposing the job set to be scheduled into a quantum computing unit set, adding priority annotations, dividing inhomogeneous resource shards, and using the improved hybrid particle swarm optimization algorithm for resource scheduling.

Benefits of technology

It improves resource adaptation accuracy, improves scheduling efficiency and resource utilization, and enhances the system's real-time response capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120179414A_ABST
    Figure CN120179414A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of cloud computing, and discloses a resource scheduling method, device and equipment, and the method comprises the steps: generating a multi-dimensional data topological graph of cloud environment monitoring data, decomposing a to-be-scheduled job set into quantum computing unit sets which can be processed in parallel, and adding priority labels for the quantum computing unit sets through a quantum heuristic algorithm, according to priority labels and a multi-dimensional data topological graph, physical resources of a cloud environment are divided into non-uniform resource fragments matched with task requirements, based on the non-uniform resource fragments, resource scheduling is carried out through an improved hybrid particle swarm optimization algorithm, and weighting and fitness evaluation and resource constraint correction are introduced. According to the resource scheduling method and device, the multi-dimensional data topological graph is generated to comprehensively present the resource state and association, then the to-be-scheduled job set is decomposed into the quantum computing unit sets, the priority labels are added, and then the non-uniform resource fragments are divided for resource scheduling, so that the resource adaptation accuracy is improved, and the scheduling efficiency and the resource utilization rate are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of cloud computing technology, and in particular, to a resource scheduling method, device, and equipment. Background Art

[0002] With the accelerating advancement of the construction of smart cities, the demand for real-time data processing in the field of intelligent transportation has shown an explosive growth. In the traffic management scenario of the cloud platform, due to the characteristics of high concurrency and low latency in services such as traffic flow monitoring, violation recognition, and path planning, and the significant fluctuations in business loads in different time periods / regions, a dynamic and precise resource scheduling mechanism is urgently needed to ensure the stable operation of the system.

[0003] However, traditional scheduling algorithms have the problem of insufficient matching between resource allocation and task requirements. Especially in emerging scenarios such as new energy vehicle networking, due to the lack of collaborative optimization of task priorities and resource constraints, there are often contradictory phenomena where high-priority analysis tasks are delayed due to resource fragmentation, while low-priority batch processing tasks occupy excessive resources, resulting in low cluster resource utilization and resource scheduling efficiency, seriously restricting the real-time response ability of the intelligent transportation system. Summary of the Invention

[0004] The main purpose of this application is to provide a resource scheduling method, device, and equipment, aiming to solve the technical problem in the prior art that due to inaccurate scheduling evaluation, resources cannot be accurately matched with tasks, resulting in low resource scheduling efficiency.

[0005] To achieve the above object, this application proposes a resource scheduling method, and the method includes: Generating a multi-dimensional data topology map of cloud environment monitoring data; Decomposing the job set to be scheduled into a set of quantum computing units that can be processed in parallel, and adding priority labels to the set of quantum computing units through a quantum-inspired algorithm; According to the priority labels and the multi-dimensional data topology map, dividing the physical resources of the cloud environment into non-uniform resource slices that match the task requirements; Based on the non-uniform resource slices, performing resource scheduling through an improved hybrid particle swarm optimization algorithm, where the improved hybrid particle swarm optimization algorithm is an algorithm that introduces weighted sum fitness evaluation and resource constraint correction.

[0006] In an embodiment, the step of performing resource scheduling through an improved hybrid particle swarm optimization algorithm based on the non-uniform resource slices includes: Mapping each resource slice of the non-uniform resource slices to a particle in the particle swarm, and obtaining an initial particle swarm by attaching a slice real-time status identifier to each particle; Iteratively optimize the initial particle swarm through the improved hybrid particle swarm optimization algorithm to obtain an optimal particle set; In the optimal particle set, determine the score of the resource shard corresponding to each particle according to the weighted sum of the preset multi-dimensional indexes, and select the resource shard with the highest score for resource scheduling.

[0007] In one embodiment, the step of iteratively optimizing the initial particle swarm through the improved hybrid particle swarm optimization algorithm to obtain an optimal particle set includes: Based on the improved hybrid particle swarm optimization algorithm, set the dynamic parameter range for the initial particle swarm according to the cloud environment monitoring data to obtain a parameterized particle swarm; Determine the weighted sum of the multi-dimensional monitoring data sets of each particle in the parameterized particle swarm to obtain a particle swarm with fitness scores; Update the particle velocity and particle position based on the particle swarm with fitness scores to obtain an optimized particle swarm; Extract multiple particles with the optimal fitness from the optimized particle swarm to obtain an optimal particle set.

[0008] In one embodiment, the step of updating the particle velocity and particle position based on the particle swarm with fitness scores to obtain an optimized particle swarm includes: Based on the real-time load data of the particle swarm with fitness scores, obtain the dynamic inertia weight parameter by determining the inertia weight of the current iteration period; According to the priority annotation of the particle swarm with fitness scores, obtain the optimized learning factor parameter by adjusting the individual learning factor and the social learning factor; According to the current position information of the parameterized particle swarm and the resource constraint conditions, obtain the position update rule after constraint adjustment by correcting the particle position update range; Based on the dynamic inertia weight parameter, the optimized learning factor parameter, and the position update rule after constraint adjustment, update the particle velocity and particle position to obtain an optimized particle swarm.

[0009] In one embodiment, the step of generating the multi-dimensional data topology graph of the cloud environment monitoring data includes: Preprocess the cloud environment monitoring data to obtain a standardized data matrix; Based on the standardized data matrix, determine the resource association degree between nodes through the improved graph convolutional network algorithm, where the improved graph convolutional network algorithm is an algorithm with an additional dynamic attention mechanism introduced; Generate a weighted resource association graph according to the resource association degree; Fuse the weighted resource association graph with the physical network topology of the cloud environment to obtain a multi-dimensional data topology graph that combines resource status and network topology.

[0010] In one embodiment, the step of decomposing the job set to be scheduled into a set of quantum computing units that can be processed in parallel and adding priority annotations to the set of quantum computing units through a quantum heuristic algorithm includes: Analyze the execution process of the job set to be scheduled based on the task dependency graph to obtain a task decomposition tree; Determine the task parallelism threshold according to the resource distribution characteristics in the multi-dimensional data topology graph, and obtain the maximum number of parallelizable units based on the task parallelism threshold; Divide the task decomposition tree into multiple independent subtask blocks according to the maximum number of parallelizable units to obtain a set of quantum computing units; Construct a quantum annealing cost function model that includes the task characteristic parameters of the job set to be scheduled through a quantum heuristic algorithm based on the principle of quantum annealing; Input the set of quantum computing units into the quantum annealing cost function model for optimization and solution to obtain the unit priority ranking result; Add priority annotations to each quantum computing unit in the set of quantum computing units according to the unit priority ranking result.

[0011] In one embodiment, the step of dividing the physical resources of the cloud environment into non-uniform resource slices that match the task requirements according to the priority annotations and the multi-dimensional data topology graph includes: Extract the resource requirement characteristics of the set of quantum computing units based on the priority annotations to obtain a task resource requirement vector; Generate a node resource adaptation matrix according to the node resource status and network topology relationship in the multi-dimensional data topology graph; According to the task resource requirement vector and the node resource adaptation matrix, obtain the first resource slice by reserving a unique resource block for the first-priority quantum computing unit; Obtain the second resource slice by allocating a shared resource block to the second-priority quantum computing unit; Optimize the communication path between slices based on the network delay data in the topology graph to obtain the slice network topology relationship; Combine and optimize the first resource slice, the second resource slice, and the slice network topology relationship to generate non-uniform resource slices that match the task requirements.

[0012] In one embodiment, after the step of performing resource scheduling through an improved hybrid particle swarm optimization algorithm based on non-uniform resource slices, it further includes: Based on the comparison and analysis of the actual resource utilization data collected during the scheduling execution process with the expected scheduling goals, a scheduling deviation index is obtained; When the scheduling deviation index exceeds a preset threshold, the multi-dimensional data topology map is updated according to the current actual resource status to obtain a corrected topology map; Based on the corrected topology map, the priority labels of the quantum computing units with unfinished tasks are re-determined to obtain updated priority labels; According to the updated priority labels, local adjustment is performed on the non-uniform resource slices to obtain an optimized resource slice configuration; Based on the optimized resource slice configuration, re-scheduling is performed.

[0013] In addition, to achieve the above object, the present application also proposes a resource scheduling device, which includes: A data integration module for generating a multi-dimensional data topology map of cloud environment monitoring data; A unit decomposition module for decomposing the job set to be scheduled into a set of quantum computing units that can be processed in parallel, and adding priority labels to the set of quantum computing units through a quantum heuristic algorithm; A resource partitioning module for partitioning the physical resources of the cloud environment into non-uniform resource slices that match the task requirements according to the priority labels and the multi-dimensional data topology map; A resource scheduling module for performing resource scheduling based on non-uniform resource slices through an improved hybrid particle swarm optimization algorithm, where the improved hybrid particle swarm optimization algorithm is an algorithm that introduces weighted sum fitness evaluation and resource constraint correction.

[0014] In addition, to achieve the above object, the present application also proposes a resource scheduling device, which includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program is configured to implement the steps of the resource scheduling method as described above.

[0015] In addition, to achieve the above object, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium, and when the computer program is executed by a processor, it implements the steps of the resource scheduling method as described above.

[0016] In addition, to achieve the above object, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the resource scheduling method as described above.

[0017] The technical solution proposed in this application generates a multi-dimensional data topology map of cloud environment monitoring data, decomposes the job set to be scheduled into a set of quantum computing units that can be processed in parallel, adds priority labels to the set of quantum computing units through a quantum-inspired algorithm, divides the physical resources of the cloud environment into non-uniform resource slices that match the task requirements based on the priority labels and the multi-dimensional data topology map, performs resource scheduling through an improved hybrid particle swarm optimization algorithm based on the non-uniform resource slices, and introduces weighted sum fitness evaluation and resource constraint correction. By generating a multi-dimensional data topology map to comprehensively present the resource status and associations, then decomposing the job set to be scheduled into a set of quantum computing units and adding priority labels, and then dividing non-uniform resource slices for resource scheduling, this application improves the accuracy of resource adaptation, and enhances the scheduling efficiency and resource utilization rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings herein are incorporated into and constitute a part of this specification, showing embodiments consistent with this application, and are used together with the specification to explain the principles of this application.

[0019] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0020] Figure 1 It is a schematic flowchart provided for the first embodiment of the resource scheduling method of this application; Figure 2 It is a schematic flowchart provided for the second embodiment of the resource scheduling method of this application; Figure 3 It is a schematic flowchart provided for the third embodiment of the resource scheduling method of this application; Figure 4 It is a schematic module structure diagram of the resource scheduling device for the embodiment of this application; Figure 5 It is a schematic device structure diagram of the hardware operating environment involved in the resource scheduling method for the embodiment of this application.

[0021] The implementation, functional features, and advantages of the purpose of this application will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0022] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of this application and are not used to limit this application.

[0023] To better understand the technical solutions of this application, the following will be described in detail with reference to the accompanying drawings of the specification and the specific embodiments.

[0024] Traditional scheduling algorithms have the problem of insufficient matching between resource allocation and task requirements. Especially in emerging scenarios such as new energy vehicle networking, due to the lack of collaborative optimization of task priorities and resource constraints, there are often contradictions where high-priority analysis tasks are delayed due to resource fragmentation, while low-priority batch processing tasks occupy excessive resources. This results in low utilization rate of cluster resources and resource scheduling efficiency, seriously restricting the real-time response ability of the intelligent transportation system.

[0025] Therefore, to overcome the above defects, this application provides a solution. By generating a multi-dimensional data topology map to comprehensively present the resource status and associations, then decomposing the job set to be scheduled into a set of quantum computing units and adding priority annotations, and then dividing non-uniform resource slices for resource scheduling, the accuracy of resource adaptation is improved, and the scheduling efficiency and resource utilization rate are increased.

[0026] It should be noted that the execution subject of each embodiment of this application can be a computing service system with data processing, network communication, and program running functions, such as an electronic system, a resource scheduling system, etc. that can implement the above functions. Hereinafter, taking the resource scheduling system as an example (hereinafter referred to as the "system"), the following embodiments will be described.

[0027] Based on this, an embodiment of this application provides a resource scheduling method, referring to Figure 1 , Figure 1 which is a schematic flowchart of the first embodiment of the resource scheduling method of this application.

[0028] In this embodiment, the resource scheduling method includes steps S10 to S40: Step S10, generating a multi-dimensional data topology map of cloud environment monitoring data.

[0029] It should be understood that the resource scheduling method proposed in this application first constructs a multi-dimensional data topology map by collecting the operation status data of various resources in the cloud computing environment in real time. This topology map is different from the traditional flat monitoring view. Instead, it presents physical resources such as computing nodes, storage devices, and network links in a three-dimensional manner. The size of the nodes represents the remaining computing power, the thickness of the connections reflects the actual available bandwidth, and the depth of the color indicates the current load level. This visualization method can intuitively display the association relationships and real-time status changes between resources. In particular, a dynamic weight adjustment mechanism is introduced in the multi-dimensional data topology map, so that the communication efficiency and dependence strength between resources can be automatically updated according to the actual load situation, effectively solving the problem that traditional static topology maps cannot adapt to the dynamic changes of the cloud environment.

[0030] In the process of constructing a multi-dimensional data topology graph, not only conventional monitoring metrics such as the Central Processing Unit (CPU) and memory are integrated, but also a resource affinity metric is creatively introduced to quantify the collaboration efficiency between different computing nodes. Through this integration method, the multi-dimensional data topology graph can reflect both the physical resource status and the logical collaboration relationship. In addition, the system also designs an intelligent alarm function. When it detects that some key resources are about to reach their bottlenecks, it will highlight them in the multi-dimensional data topology graph in advance. This prediction mechanism enhances the foresight of resource scheduling.

[0031] Step S20: Decompose the job set to be scheduled into a set of quantum computing units that can be processed in parallel, and add priority annotations to the set of quantum computing units through a quantum-inspired algorithm.

[0032] It should be noted that the set of quantum computing units integrates multiple quantum computing units. A quantum computing unit refers to the smallest task module with a complete execution logic. Each unit encapsulates a specific computing task and resource requirements. Different from the traditional task decomposition method, modeling using the concept of quantum computing enables each task unit to have the superposition property of quantum states, allowing multiple possible scheduling schemes to be considered simultaneously, and being able to handle the dependencies and parallel possibilities between tasks more flexibly.

[0033] In terms of task priority annotation, a heuristic algorithm based on the principle of quantum annealing is adopted. This algorithm comprehensively considers multiple dimensions such as task deadlines, resource requirement intensities, and communication overheads between tasks, and calculates a dynamic priority score for each quantum computing unit. Particularly noteworthy is that this algorithm introduces an environment perception mechanism that can automatically adjust the priority calculation strategy according to the overall load situation of the current cloud environment. For example, when the system load is high, the algorithm will appropriately increase the consideration weight of resource utilization; while when the load is low, it pays more attention to the task response speed to balance the system throughput and task response time.

[0034] Step S30: According to the priority annotation and the multi-dimensional data topology graph, divide the physical resources of the cloud environment into non-uniform resource slices that match the task requirements.

[0035] Based on the priority annotation and the multi-dimensional data topology graph obtained from the foregoing steps, non-uniform resource slices are divided. Among them, non-uniform resource slices refer to resource blocks with different sizes and configurations dynamically divided according to the actual task requirements, which is in sharp contrast to the fixed-size resource allocation method in traditional cloud computing. Each resource slice is specifically optimized for the task requirements of a specific priority. High-priority tasks can obtain exclusive high-quality resources, while low-priority tasks share a common resource pool.

[0036] In specific implementation, the system comprehensively analyzes the resource status information and task priority information shown in the multi-dimensional data topology graph, and dynamically determines the optimal sharding scheme. In particular, a sharding elastic adjustment mechanism is introduced in this process, which can dynamically optimize resource sharding according to the real-time feedback of the task execution progress. For example, when it is detected that a high-priority task is about to be completed, the system will mark the resources occupied by it as recyclable in advance, so as to quickly respond to newly arrived high-priority tasks.

[0037] Step S40, based on the non-uniform resource sharding, perform resource scheduling through the improved hybrid particle swarm optimization algorithm, where the improved hybrid particle swarm optimization algorithm is an algorithm that introduces weighted sum fitness evaluation and resource constraint correction.

[0038] It should be noted that particle swarm optimization is an intelligent optimization algorithm that simulates the foraging behavior of bird flocks. In this application, each particle represents a possible resource allocation scheme. The improved hybrid particle swarm optimization algorithm has mainly made innovations in two key aspects: one is to design a multi-dimensional fitness evaluation function, which can optimize multiple objectives such as resource utilization rate and task completion time at the same time; the other is to add a resource constraint processing mechanism to ensure that the generated scheduling scheme always meets various resource limit conditions. These improvements enable the algorithm to better adapt to the complexity of the cloud computing environment.

[0039] The improved hybrid particle swarm optimization algorithm can automatically adjust the breadth and depth of the search according to the real-time feedback information during the scheduling process. It uses a larger search step size at the beginning of the scheduling to quickly locate the high-quality solution area, and then reduces the step size for fine optimization in the later stage to ensure the scheduling efficiency and the quality of the scheme. In addition, the historical high-quality scheduling schemes can be saved through a memory mechanism and directly called when encountering similar task combinations.

[0040] As an implementation manner, after the above step S40 in this embodiment, it may further include: comparing and analyzing the actual resource utilization rate data collected during the scheduling execution process with the expected scheduling target to obtain a scheduling deviation index; when the scheduling deviation index exceeds a preset threshold, updating the multi-dimensional data topology graph according to the current actual resource status to obtain a corrected topology graph; re-determining the priority annotation of the quantum computing units of the unfinished tasks based on the corrected topology graph to obtain an updated priority annotation; locally adjusting the non-uniform resource sharding according to the updated priority annotation to obtain an optimized resource sharding configuration; and performing re-scheduling based on the optimized resource sharding configuration.

[0041] It is understandable that after the initial resource scheduling is completed, the system will continuously monitor the system running status. By collecting the actual utilization data of each resource slice in real time and conducting intelligent comparison and analysis with the expected scheduling target, the execution deviation indicators of the current scheduling scheme can be calculated, including multiple dimensions such as resource utilization deviation and task delay deviation. Among them, the scheduling deviation indicator can quantify the gap between the current scheduling effect and the ideal state by weighted synthesis of multiple performance indicators. When the system detects that this indicator exceeds the preset safety threshold, it will automatically trigger the scheduling optimization process. Among them, the sliding window technology is adopted, which can distinguish instantaneous fluctuations and continuous deviations and avoid unnecessary scheduling adjustments.

[0042] After obtaining the scheduling deviation indicator, the current states of all physical resources and virtual resources in the cloud environment are rescanned to obtain key parameters such as the latest resource load data and network status information. Then, these real-time data are combined with the historical operation trend to generate a corrected topology map. In this process, an incremental update algorithm can be introduced, and only the changed part of the topology structure needs to be recalculated to reduce the update overhead. The updated topology map not only reflects the current resource status but also marks the resource bottleneck points and potential risk areas.

[0043] Based on the newly generated corrected topology map, the priority of the quantum computing units that have not completed execution is re-evaluated. This step adopts a dynamic priority adjustment algorithm, comprehensively considering factors such as the remaining execution time of the task, the latest resource availability, and the business importance. Different from the initial priority marking, the re-evaluation process particularly focuses on the deviation between the actual progress of the task and the expected plan, and will automatically increase the priority of the tasks that lag behind the plan. The innovation point in this link is the introduction of a priority decay factor. For tasks that have been given priority increases multiple times but still have not been completed, their priorities will be appropriately reduced to prevent individual tasks from occupying key resources for a long time, avoid the priority inversion problem, and ensure the fairness of system resources.

[0044] Furthermore, after obtaining the updated priority marking, identify the slice area where the current resource allocation and task requirements are least matched, and optimize it through defragmentation. Without affecting the running tasks, the dynamic reorganization of resource slices can be completed to obtain an optimized resource slice configuration. For example, for slices with too low load, the system will appropriately reduce their scale and allocate the released resources to slices with higher load; for communication-intensive task groups, they will be scheduled to adjacent positions on the network topology. Finally, based on the optimized resource slice configuration, a rescheduling operation is performed, and the adjustment strategy is continuously optimized through machine learning to continuously adapt to the changes in the workload to maintain the best running state.

[0045] In this embodiment, a multi-dimensional data topology map is generated to comprehensively present the resource status and associations. Then, the job set to be scheduled is decomposed into a quantum computing unit set and priority labels are added. Next, non-uniform resource slices are partitioned for resource scheduling, which improves the accuracy of resource adaptation, enhances the scheduling efficiency and resource utilization rate. Moreover, a scheduling effect evaluation and adjustment mechanism is added, which can timely adapt to environmental changes and task adjustments, and improve the scheduling effect.

[0046] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar content as that in the above-mentioned first embodiment can be referred to the above introduction and will not be elaborated hereinafter. On this basis, please refer to Figure 2 , the step S40 may include steps S401 to S403: Step S401, map each resource slice of the non-uniform resource slice into a particle in the particle swarm, and obtain an initial particle swarm by attaching a slice real-time status identifier to each particle.

[0047] It can be understood that when mapping the non-uniform resource slice into a particle in the particle swarm optimization algorithm, each particle not only contains the basic configuration parameters of the resource slice, but also integrates a real-time status identifier, and these identifiers dynamically reflect key operation indicators such as the current load status, task processing progress, and resource availability of the slice.

[0048] Step S402, iteratively optimize the initial particle swarm through the improved hybrid particle swarm optimization algorithm to obtain an optimal particle set.

[0049] In the particle swarm optimization stage, an improved hybrid optimization algorithm is used for iterative calculation to obtain an optimal particle set. This algorithm creatively integrates the crossover and mutation operations of the genetic algorithm and the temperature control mechanism of the simulated annealing algorithm, so that the search process not only maintains the global exploration ability but also has the local refinement accuracy. In each iteration process, the algorithm will dynamically evaluate the diversity degree of the particle swarm. When detecting the trend of premature convergence, it will automatically trigger the population recombination operation.

[0050] As an implementation manner, the above step S402 in this embodiment may include: based on the improved hybrid particle swarm optimization algorithm, set the dynamic parameter range for the initial particle swarm according to the cloud environment monitoring data to obtain a parameterized particle swarm; determine the weighted sum of the multi-dimensional monitoring data sets of each particle in the parameterized particle swarm to obtain a particle swarm with fitness scores; update the particle velocity and particle position based on the particle swarm with fitness scores to obtain an optimized particle swarm; extract multiple particles with the best fitness from the optimized particle swarm to obtain an optimal particle set.

[0051] It should be understood that in the iterative optimization process of the improved hybrid particle swarm optimization algorithm adopted in this application, the initial particle swarm is first subjected to intelligent parameterization based on real-time cloud environment monitoring data. This step can introduce a dynamic parameter range setting mechanism. The algorithm will analyze monitoring data such as the load characteristics and resource distribution status of the current cloud environment, and automatically adjust the adjustable parameter range of each particle. For example, during high-load periods, the adjustment range of resource allocation parameters is narrowed to achieve fine scheduling, and during low-load periods, the search range is expanded to explore more possibilities.

[0052] After obtaining the parameterized particle swarm, the system conducts a multi-dimensional fitness evaluation, that is, comprehensively considering the weighted sum of multiple dimensions such as resource utilization rate, task response latency, energy consumption efficiency, and load balance degree to obtain a particle swarm with fitness scores. The innovation of this step lies in the proposed dynamic weight allocation mechanism, where the weight coefficients are automatically adjusted according to real-time monitoring data. For example, when it is detected that the temperature of some computing nodes is too high, the weight of the energy consumption index will be automatically increased; when there is a backlog of tasks during the business peak period, the evaluation of task response speed will be emphasized. A fuzzy logic algorithm can also be introduced during the evaluation process to effectively handle the uncertainty and noise interference in the monitoring data.

[0053] In the particle update stage, different from the fixed update formula in the traditional particle swarm algorithm, the improved algorithm dynamically adjusts the learning factor of each particle according to the fitness score. For elite particles with higher fitness, a conservative update strategy is adopted to maintain their excellent characteristics; for particles with lower fitness, a more radical exploratory update is implemented.

[0054] In the selection of the optimal particle set, a strategy that emphasizes both elite retention and diversity preservation is adopted. Not only several particles with the highest fitness scores are selected, but also those characteristic particles that perform outstandingly in specific dimensions are specifically retained to ensure that the finally obtained particle set contains both the global optimal solution and high-quality alternative solutions for different optimization focuses. In addition, the system will establish a detailed characteristic profile for each selected particle to record its performance characteristics during the iterative process. It is worth mentioning that even after obtaining the optimal particle set, the system will continue to monitor its actual execution effect and trigger a re-optimization process if necessary.

[0055] As an implementation manner, the step of obtaining the optimized particle swarm by updating the particle velocity and particle position based on the fitness-scored particle swarm in this embodiment includes: based on the real-time load data of the fitness-scored particle swarm, obtaining the dynamic inertia weight parameter by determining the inertia weight of the current iteration period; according to the priority annotation of the fitness-scored particle swarm, obtaining the optimized learning factor parameter by adjusting the individual learning factor and the social learning factor; according to the current position information of the parameterized particle swarm and the resource constraint conditions, obtaining the position update rule after constraint adjustment by correcting the particle position update range; based on the dynamic inertia weight parameter, the optimized learning factor parameter, and the position update rule after constraint adjustment, obtaining the optimized particle swarm by updating the particle velocity and particle position.

[0056] It can be understood that based on the real-time load data of the fitness-scored particle swarm, the system designs an intelligent inertia weight adjustment mechanism. This parameter no longer remains fixed but changes dynamically with the iteration process and system state. A larger inertia weight is set at the beginning of the search to enhance the global exploration ability, and the weight is gradually reduced as the iteration progresses to improve the local search accuracy. In particular, when it is detected that the diversity of the particle swarm decreases, the system will automatically increase the inertia weight to avoid premature convergence.

[0057] In terms of parameter optimization, the task priority annotation information is introduced into the learning factor adjustment process. For the particles corresponding to high-priority tasks (the first particles), the social learning factor is appropriately increased to promote the rapid spread of excellent experience; for the ordinary task particles (the second particles), a balanced learning factor configuration is maintained. The system automatically calculates the optimal learning factor ratio by analyzing the overall fitness distribution of the particle swarm, that is, obtaining the optimized learning factor parameter.

[0058] In view of the resource constraint characteristics of the cloud environment, a multi-dimensional resource constraint model is established to accurately quantify the limitation conditions of various resources such as CPU, memory, and bandwidth. When updating the particle position, through techniques such as projection transformation and boundary reflection, it is ensured that the new position is always within the feasible solution space. Among them, the algorithm will dynamically adjust the strictness of constraint processing according to the resource tension: allowing moderate over-allocation to explore better solutions when resources are abundant, and strictly enforcing the constraint conditions when resources are tense. A violation history record library can be maintained for subsequent adjustment of the constraint processing strategy in iterations. The final velocity and position update process integrates the above dynamic inertia weight parameter, the optimized learning factor parameter, and the position update rule after constraint adjustment, so as to obtain the optimized particle swarm. In addition, an anomaly detection mechanism is set in the update process, and when abnormal particle behavior is found, the re-initialization process will be triggered.

[0059] Step S403: In the optimal particle set, determine the score of the resource shard corresponding to each particle according to the weighted sum of the preset multi-dimensional indexes, and select the resource shard with the highest score for resource scheduling.

[0060] It should be understood that each candidate particle (i.e., the particle in the optimized particle swarm) needs to pass the assessment of multiple indexes, which include both traditional quantitative parameters such as resource utilization rate and task completion rate, and qualitative evaluation dimensions such as service quality satisfaction and scheduling scheme stability. The evaluation process adopts a dynamic weighting method, and the weight allocation will be automatically adjusted according to the characteristics of the business time period: during the peak daytime business hours, the task response speed is emphasized, while during the night batch processing period, the energy efficiency is given priority. The system will finally select the solution with the highest score as the execution basis, and can also allow fine-tuning according to the actual operation situation during the implementation process through the solution elastic adaptation mechanism.

[0061] In this embodiment, by mapping non-uniform resource shards to particles and attaching real-time status identifiers, the resource changes are dynamically reflected, the hybrid particle swarm optimization algorithm is improved for iterative optimization, the score is determined according to the weighted sum of the preset multi-dimensional indexes, and the optimal resource shard is selected, which improves the scheduling accuracy and adaptability, meets the complex task requirements, and avoids resource conflicts and waste.

[0062] Based on the first embodiment of the present application, in the third embodiment of the present application, the same or similar content as that in the above-mentioned first embodiment can be referred to the above introduction and will not be repeated hereinafter. On this basis, please refer to Figure 3 , the step S10 may include steps S101 to S104: Step S101: Preprocess the cloud environment monitoring data to obtain a standardized data matrix.

[0063] It can be understood that when generating the multi-dimensional data topology map of the cloud environment monitoring data, the original monitoring data is first intelligently preprocessed. This preprocessing process may include conventional data cleaning and missing value processing, and may also adopt suitable normalization methods for different types of indexes such as CPU utilization rate, memory occupancy rate, and network throughput through multi-scale standardization technology. For example, through the sliding time window analysis, the system automatically identifies and eliminates instantaneous outliers while retaining the real load fluctuation characteristics. The standardized data matrix generated after preprocessing retains the spatio-temporal correlation characteristics of the original monitoring data. In particular, this preprocessing stage can also automatically increase the data acquisition frequency through the adaptive sampling mechanism when the system load fluctuates violently to ensure that key state changes can be accurately captured.

[0064] Step S102: Based on the standardized data matrix, determine the resource correlation degree between nodes through the improved graph convolutional network algorithm, where the improved graph convolutional network algorithm is an algorithm with an additional dynamic attention mechanism introduced.

[0065] In the resource correlation analysis stage, the improved graph convolutional network algorithm is adopted. The core innovation is the introduction of a dynamic attention mechanism, which enables the network to automatically adjust the importance weights of connections between nodes according to the real-time load situation. For example, when the CPU load of a certain node exceeds the threshold, the correlation weight between it and the storage node will be dynamically increased. Through multi-layer feature propagation and aggregation, the improved graph convolutional network algorithm captures the complex non-linear relationships between resource nodes. Compared with the traditional graph convolutional network, this improvement enhances the response speed of the model to the dynamic changes in the cloud environment. During the training process, a transfer learning algorithm can also be used to enable the model to quickly adapt to the deployment requirements of cloud platforms of different scales.

[0066] Step S103: Generate a weighted resource correlation graph according to the resource correlation degree.

[0067] Based on the calculated resource correlation degree, the system constructs a weighted resource correlation graph. This graph adopts a multi-dimensional edge weight representation method, and each edge contains weight information in multiple dimensions such as performance correlation degree, communication frequency, and dependence strength, and the edge weight values will be recalculated regularly to ensure that they reflect the latest resource interaction status. For large-scale cloud environments, the present application can also use a hierarchical graph structure construction algorithm to first construct subgraphs in each local area and then perform global connection through key hub nodes to reduce the time complexity of graph construction.

[0068] Step S104: Perform fusion processing on the weighted resource correlation graph and the physical network topology structure of the cloud environment to obtain a multi-dimensional data topology graph that combines resource status and network topology.

[0069] It should be understood that an accurate mapping relationship between virtual resource nodes and physical devices can be established through a graph alignment algorithm. The generated multi-dimensional data topology graph for fusion adopts a visualization encoding scheme: the size of the node represents the remaining computing power, the depth of the node color reflects the current load rate, the width of the edge represents the communication bandwidth, and the edge color indicates the network latency. The resource bottleneck areas and key communication paths are highlighted through the dynamic focusing function.

[0070] As an implementation manner, step S20 may include: analyzing the execution process of the job set to be scheduled based on the task dependency graph to obtain a task decomposition tree; determining a task parallelism threshold according to the resource distribution characteristics in the multi-dimensional data topology graph, and obtaining the maximum number of parallelizable units based on the task parallelism threshold; dividing the task decomposition tree into multiple independent subtask blocks according to the maximum number of parallelizable units to obtain a quantum computing unit set; constructing a quantum annealing cost function model including the task characteristic parameters of the job set to be scheduled by using a quantum heuristic algorithm based on the principle of quantum annealing; inputting the quantum computing unit set into the quantum annealing cost function model for optimization and solution to obtain a unit priority sorting result; adding a priority annotation to each quantum computing unit in the quantum computing unit set according to the unit priority sorting result.

[0071] It should be understood that in the decomposition stage of the job set to be scheduled, first, a task decomposition tree is constructed by deeply analyzing the task dependency graph. This process gradually splits complex jobs into subtask modules with clear input-output relationships, and identifies the most suitable task splitting points for parallelization through a task granularity evaluation algorithm. In particular, the system can guide the decomposition process of the current task by maintaining a task pattern library and comparing the optimal decomposition schemes of historical similar tasks.

[0072] When determining the task parallelism threshold, calculate the maximum parallel processing capabilities of each computing node in the current environment. Based on these data, determine the optimal task parallelism threshold through a sliding window. This threshold will be automatically adjusted according to the resource load status, and calculate the maximum number of task units that can be executed simultaneously without causing resource competition based on this threshold. Based on the above analysis results, the system divides the task decomposition tree into a quantum computing unit set, and each quantum computing unit in it encapsulates a complete execution context and resource requirement description. In the division process, the size and composition of the unit are intelligently adjusted according to the computing characteristics and data dependency relationships of the subtasks, and through the unit integrity verification mechanism, ensure that each unit can be independently scheduled and executed without generating external dependencies.

[0073] In the priority annotation stage, a quantum heuristic algorithm based on the principle of quantum annealing is adopted. The quantum annealing cost function model constructed by this algorithm innovatively integrates multiple optimization dimensions such as task deadline, resource requirement intensity, and data dependency depth. Transfer learning is introduced in the training process of this model to be able to quickly adapt to different types of job characteristics. When inputting the quantum computing unit set into the quantum annealing cost function model for optimization and solution, an optimization strategy simulating the quantum tunneling effect is adopted to enable the algorithm to have the ability to jump out of the local optimal solution.

[0074] Based on the obtained unit priority sorting results, the finally generated priority annotation not only includes a simple ranking, but also innovatively introduces dynamic adjustment coefficients. These coefficients automatically adjust with the system load, ensuring that high-priority tasks can receive more attention when resources are scarce, and relaxing the restrictions appropriately when resources are abundant to improve the overall throughput. The system can also enable related task units to share some priority features through the priority propagation mechanism.

[0075] As an implementation manner, step S30 may include: extracting the resource requirement characteristics of the quantum computing unit set based on the priority annotation to obtain a task resource requirement vector; generating a node resource adaptation matrix according to the node resource status and network topology relationship of the multi-dimensional data topology graph; according to the task resource requirement vector and the node resource adaptation matrix, obtaining a first resource shard by reserving exclusive resource blocks for the first-priority quantum computing units; obtaining a second resource shard by allocating shared resource blocks for the second-priority quantum computing units; optimizing the communication path between shards based on the network delay data in the topology graph to obtain a shard network topology relationship; combining and optimizing the first resource shard, the second resource shard, and the shard network topology relationship to generate a non-uniform resource shard that matches the task requirements.

[0076] It can be understood that in the resource shard division stage, first, the resource requirements of the quantum computing unit set are analyzed through feature extraction. Based on the priority annotation information, the system constructs a multi-dimensional task resource requirement vector, which includes conventional computing resource requirements such as CPU and memory, as well as feature dimensions such as communication bandwidth requirements and data locality preferences. The extraction process uses an adaptive feature weighting algorithm to automatically adjust the weight ratio of each dimension according to the task type. For example, the CPU weight is increased for compute-intensive tasks, and the storage performance is emphasized for data-intensive tasks.

[0077] In terms of resource adaptation analysis, a node resource adaptation matrix is generated based on the multi-dimensional data topology graph. This matrix is represented in a tensor structure and encodes both the static configuration information and dynamic load status of the computing nodes. During the matrix construction process, the data timeliness is ensured through an incremental update technique. In particular, the system can efficiently encode the topology relationship of a super-large-scale cloud environment through a topology-aware matrix compression algorithm without losing key information.

[0078] For tasks with different priorities, the exclusive resource blocks reserved for the first-priority tasks use hard isolation technology to ensure stable performance for critical tasks, and the scale of these resource blocks can be dynamically adjusted according to the actual task requirements; the shared resource blocks allocated for the second-priority tasks use a soft isolation mechanism and implement over-allocation and recycling of resources. In addition, the system allows low-priority shards to be temporarily lent to high-priority shards for use when resources are idle to improve resource utilization.

[0079] In terms of network optimization, communication paths between shards are optimized based on latency data of the topology graph, and the network connection strategy between shards is dynamically adjusted. Among them, optimized paths can be pre-established for shard pairs with high-frequency communication to reduce communication latency. The system adopts a multi-layer abstract representation to establish a shard network topology relationship graph, which includes physical link information and encodes the deployment of virtual network functions.

[0080] The final non-uniform resource sharding generation process models the resource allocation problem as a multi-objective optimization problem through combinatorial optimization, and finds the optimal trade-off solution through Pareto front analysis. In addition, the system also monitors the running status of each shard in real time and dynamically adjusts the shard configuration accordingly.

[0081] For ease of understanding, an example is given below, but it does not limit the resource scheduling method of this application. In the intelligent transportation management cloud platform of a provincial capital city, it is necessary to simultaneously process real-time monitoring video streams from more than 5,000 intersections and perform analysis tasks such as vehicle recognition, violation detection, and traffic flow statistics. Under the traditional scheduling method, task backlogs are serious during peak hours, the average delay of key violation recognition tasks is relatively long, and the utilization rate of the GPU cluster is low.

[0082] After applying the resource scheduling method of this application to the cloud platform, the system first constructs a multi-dimensional topology graph containing 200 GPU servers, and dynamically tracks the computing power, video memory status, and network latency between nodes of each server. When morning and evening rush hours arrive, the platform decomposes the sudden video analysis tasks into quantum computing units, and automatically identifies high-priority tasks such as violation detection through a quantum-inspired algorithm, and marks their emergency levels. Based on the priority marking, the system divides the GPU cluster into non-uniform shards: reserved dedicated shards for violation detection tasks with high real-time requirements (such as each shard is equipped with 2 GPUs and exclusive 100 Gbps network bandwidth), and shared shards are allocated for batch traffic statistics tasks (multiple tasks share GPU resources). The resource allocation is dynamically optimized through an improved hybrid particle swarm algorithm. When a traffic accident occurs in a certain area, the priority of the analysis tasks related to the intersections is automatically increased, and resource rescheduling is triggered.

[0083] By applying the resource scheduling method of this application, the platform can reduce the latency of violation recognition tasks, improve the GPU utilization rate, and shorten the completion time of batch processing tasks. In high traffic, through dynamic topology graph update and incremental rescheduling, it is able to successfully handle traffic peaks without any key tasks being discarded throughout the process.

[0084] In this embodiment, the monitoring data is preprocessed to obtain a standardized data matrix. An improved graph convolutional network algorithm with a dynamic attention mechanism is introduced to determine the resource correlation degree, generate a weighted resource correlation graph, and fuse it with the physical network topology structure to obtain a multi-dimensional data topology graph, which can more comprehensively and accurately reflect the resource status and network topology relationship in the cloud environment. Moreover, by comprehensively considering task dependencies and resource distributions, the accuracy of decomposition and annotation is improved. Based on the priority annotation, resource demand features are extracted to generate a node resource adaptation matrix, reserving exclusive resource blocks or allocating shared resource blocks for different priority quantum computing units, optimizing the communication path between shards, and generating non-uniform resource shards through combined optimization, which better meets the task requirements and improves resource utilization rate.

[0085] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the resource scheduling method of this application. Based on this technical concept, more forms of simple transformations are within the protection scope of this application.

[0086] This application also provides a resource scheduling device. Please refer to Figure 4 , and the resource scheduling device includes: A data integration module 10 for generating a multi-dimensional data topology graph of cloud environment monitoring data; A unit decomposition module 20 for decomposing the job set to be scheduled into a set of quantum computing units that can be processed in parallel, and adding priority annotations to the set of quantum computing units through a quantum heuristic algorithm; A resource partitioning module 30 for partitioning the physical resources of the cloud environment into non-uniform resource shards that match the task requirements according to the priority annotation and the multi-dimensional data topology graph; A resource scheduling module 40 for performing resource scheduling based on the non-uniform resource shards through an improved hybrid particle swarm optimization algorithm, where the improved hybrid particle swarm optimization algorithm is an algorithm that introduces weighted sum fitness evaluation and resource constraint correction.

[0087] The resource scheduling device provided by this application adopts the resource scheduling method in the above embodiment, which can solve the technical problem in the prior art that due to inaccurate scheduling evaluation, resources cannot be accurately adapted to tasks, resulting in low resource scheduling efficiency. Compared with the prior art, the beneficial effects of the resource scheduling device provided by this application are the same as those of the resource scheduling method provided by the above embodiment, and the other technical features in the resource scheduling device are the same as those disclosed in the method of the above embodiment, and will not be elaborated here.

[0088] This application provides a resource scheduling device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the resource scheduling method in Embodiment 1 above.

[0089] Reference is made below Figure 5 , which shows a schematic structural diagram of a resource scheduling device suitable for implementing the embodiments of this application. The resource scheduling device in the embodiments of this application may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistant), PADs (Portable Application Desction), PMPs (Portable Media Player), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The resource scheduling device shown is only an example and should not impose any limitations on the functions and usage scope of the embodiments of this application.

[0090] As Figure 5 shown, the resource scheduling device may include a processing device 1001 (such as a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to the program stored in the read-only memory 1002 or the program loaded from the storage device 1003 into the random access memory 1004. In the random access memory 1004, various programs and data required for the operation of the resource scheduling device are also stored. The processing device 1001, the read-only memory 1002, and the random access memory 1004 are connected to each other through a bus 1005. The input / output interface 1006 is also connected to the bus. Generally, the following systems may be connected to the input / output interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the resource scheduling device to communicate with other devices wirelessly or wiredly to exchange data. Although the figure shows a resource scheduling device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or provided alternatively.

[0091] In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product that includes a computer program carried on a computer-readable medium, and the computer program contains program codes for executing the methods shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a read-only memory 1002. When the computer program is executed by a processing device 1001, the above functions defined in the methods of the embodiments disclosed in the present application are executed.

[0092] The resource scheduling device provided by the present application adopts the resource scheduling method in the above embodiment, and can solve the technical problem in the prior art that due to inaccurate scheduling evaluation, resources cannot be accurately matched with tasks, resulting in low resource scheduling efficiency. Compared with the prior art, the beneficial effects of the resource scheduling device provided by the present application are the same as those of the resource scheduling method provided by the above embodiment, and other technical features in the resource scheduling device are the same as those disclosed in the method of the previous embodiment, which will not be elaborated here.

[0093] It should be understood that each part disclosed in the present application can be implemented by hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in a suitable manner in any one or more embodiments or examples.

[0094] As mentioned above, the above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present application can easily think of changes or substitutions, which should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

[0095] The present application provides a computer-readable storage medium having computer-readable program instructions (i.e., computer programs) stored thereon, and the computer-readable program instructions are used to execute the resource scheduling method in the above embodiment.

[0096] The computer-readable storage medium provided by this application can be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination of the above. More specific examples of the computer-readable storage medium may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM) or flash memory, optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this embodiment, the computer-readable storage medium can be any tangible medium that contains or stores a program, and this program can be used by or in combination with an instruction execution system or device. The program code contained on the computer-readable storage medium can be transmitted by any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0097] The above computer-readable storage medium can be included in the resource scheduling device; or it can exist separately without being assembled into the resource scheduling device.

[0098] The above computer-readable storage medium carries one or more programs. When the above one or more programs are executed by the resource scheduling device, the resource scheduling device is caused to: generate a multi-dimensional data topology map of cloud environment monitoring data, decompose the job set to be scheduled into a set of quantum computing units that can be processed in parallel, and add priority annotations to the set of quantum computing units through a quantum-inspired algorithm. According to the priority annotations and the multi-dimensional data topology map, divide the physical resources of the cloud environment into non-uniform resource slices that match the task requirements, and based on the non-uniform resource slices, perform resource scheduling through an improved hybrid particle swarm optimization algorithm, where the improved hybrid particle swarm optimization algorithm is an algorithm that introduces weighted sum fitness evaluation and resource constraint correction.

[0099] Computer program code for performing the operations of this application can be written in one or more programming languages or combinations thereof. The above-mentioned programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as an independent software package, partially on the user's computer and partially on a remote computer, executed entirely on a remote computer or server, or executed on an ARM (Advanced RISC Machines) development board. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, by connecting through an Internet service provider using the Internet).

[0100] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and this module, program segment, or part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.

[0101] The modules described in the embodiments of this application can be implemented in software or in hardware. Among them, the name of the module does not constitute a limitation on the unit itself in some cases.

[0102] The readable storage medium provided by this application is a computer-readable storage medium. The computer-readable storage medium stores computer-readable program instructions (i.e., computer programs) for executing the above resource scheduling method, which can solve the technical problem in the prior art that due to inaccurate scheduling evaluation, resources cannot be accurately matched with tasks, resulting in low resource scheduling efficiency. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by this application are the same as those of the resource scheduling method provided by the above embodiments, and will not be elaborated here.

[0103] This application also provides a computer program product, including a computer program, which implements the steps of the resource scheduling method as described above when executed by a processor.

[0104] The computer program product provided by this application can solve the technical problem in the prior art that due to inaccurate scheduling evaluation, resources cannot be accurately matched with tasks, resulting in low resource scheduling efficiency. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as those of the resource scheduling method provided by the above embodiments, and will not be elaborated here.

[0105] The above are only some embodiments of this application, and do not limit the patent scope of this application. Any equivalent structural transformation made using the content of the specification and drawings of this application under the technical concept of this application, or any direct / indirect application in other related technical fields, is included in the patent protection scope of this application.

Claims

1. A resource scheduling method, characterized in that: The method comprises the following steps: Generate a multi-dimensional data topology map of cloud environment monitoring data; Decomposing the set of jobs to be scheduled into a set of quantum computing units that can be processed in parallel, and adding priority tags to the set of quantum computing units through a quantum heuristic algorithm; Dividing the physical resources of the cloud environment into non-uniform resource slices matching the task requirements according to the priority label and the multi-dimensional data topology map; Based on the non-uniform resource sharding, resource scheduling is performed using an improved hybrid particle swarm optimization algorithm, wherein the improved hybrid particle swarm optimization algorithm is an algorithm that introduces weighted and fitness evaluation and resource constraint correction.

2. The resource scheduling method according to claim 1, characterized in that: The step of performing resource scheduling based on the non-uniform resource sharding by using an improved hybrid particle swarm optimization algorithm includes: Each resource slice of the non-uniform resource slice is mapped to a particle in the particle swarm, and an initial particle swarm is obtained by attaching a real-time status identifier of the slice to each particle; Iteratively optimizing the initial particle swarm by using an improved hybrid particle swarm optimization algorithm to obtain an optimal particle set; In the optimal particle set, the score of the resource slice corresponding to each particle is determined according to the weighted sum of preset multi-dimensional indicators, and the resource slice with the highest score is selected for resource scheduling.

3. The resource scheduling method according to claim 2, characterized in that: The step of iteratively optimizing the initial particle swarm by using the improved hybrid particle swarm optimization algorithm to obtain the optimal particle set includes: Based on the improved hybrid particle swarm optimization algorithm, a dynamic parameter range is set for the initial particle swarm according to the cloud environment monitoring data to obtain a parameterized particle swarm; Determine the weighted sum of the multidimensional monitoring data set of each particle in the parameterized particle swarm to obtain a particle swarm with fitness score; By updating the particle speed and particle position based on the particle swarm with fitness score, an optimized particle swarm is obtained; A plurality of particles with the best fitness are extracted from the optimized particle group to obtain an optimal particle set.

4. The resource scheduling method according to claim 3, characterized in that: The step of obtaining an optimized particle swarm by updating the particle speed and particle position based on the fitness-scoring particle swarm comprises: Based on the real-time load data of the particle swarm with fitness scoring, the dynamic inertia weight parameter is obtained by determining the inertia weight of the current iteration cycle; According to the priority labeling of the particle swarm with fitness score, the optimized learning factor parameters are obtained by adjusting the individual learning factor and the social learning factor; According to the current position information and resource constraints of the parameterized particle swarm, the position update rule after constraint adjustment is obtained by correcting the particle position update range; Based on the dynamic inertia weight parameter, the optimized learning factor parameter and the constraint-adjusted position update rule, the optimized particle swarm is obtained by updating the particle velocity and the particle position.

5. The resource scheduling method according to any one of claims 1 to 4, characterized in that: The step of generating a multidimensional data topology map of cloud environment monitoring data includes: Preprocess the cloud environment monitoring data to obtain a standardized data matrix; Based on the standardized data matrix, determining the resource association between nodes by using an improved graph convolutional network algorithm, wherein the improved graph convolutional network algorithm is an algorithm that additionally introduces a dynamic attention mechanism; Generate a weighted resource association graph according to the resource association degree; The weighted resource association graph is fused with the physical network topology structure of the cloud environment to obtain a multi-dimensional data topology graph that fused the resource status and the network topology.

6. The resource scheduling method according to any one of claims 1 to 4, characterized in that: The step of decomposing the set of jobs to be scheduled into a set of quantum computing units that can be processed in parallel, and adding priority tags to the set of quantum computing units by a quantum heuristic algorithm, comprises: Analyze the execution process of the set of jobs to be scheduled based on the task dependency graph to obtain the task decomposition tree; Determine a task parallelism threshold according to resource distribution characteristics in a multidimensional data topology graph, and obtain a maximum number of parallelizable units based on the task parallelism threshold; Dividing the task decomposition tree into a plurality of independent subtask blocks according to the maximum number of parallelizable units to obtain a quantum computing unit set; Through the quantum heuristic algorithm based on the quantum annealing principle, a quantum annealing cost function model containing the task characteristic parameters of the set of jobs to be scheduled is constructed; Inputting the quantum computing unit set into the quantum annealing cost function model for optimization and solution to obtain a unit priority ranking result; According to the unit priority sorting result, a priority label is added to each quantum computing unit in the quantum computing unit set.

7. The resource scheduling method according to any one of claims 1 to 4, characterized in that: The step of dividing the physical resources of the cloud environment into non-uniform resource slices matching the task requirements according to the priority label and the multi-dimensional data topology map comprises: Extracting resource requirement characteristics of a quantum computing unit set based on the priority labeling to obtain a task resource requirement vector; Generate a node resource adaptation matrix according to the node resource status and network topology relationship of the multi-dimensional data topology graph; Obtaining a first resource slice by reserving a unique resource block for a first priority quantum computing unit according to the task resource requirement vector and the node resource adaptation matrix; Obtain a second resource slice by allocating a shared resource block to a second priority quantum computing unit; Optimize the inter-shard communication paths based on the network delay data in the topology graph and obtain the shard network topology relationship; The first resource slice, the second resource slice and the slice network topology relationship are combined and optimized to generate non-uniform resource slices that match task requirements.

8. The resource scheduling method according to any one of claims 1 to 4, characterized in that: After the step of performing resource scheduling based on non-uniform resource sharding by using an improved hybrid particle swarm optimization algorithm, the method further includes: Compare and analyze the actual resource utilization data collected during the scheduling execution process with the expected scheduling target to obtain the scheduling deviation index; When the scheduling deviation index exceeds a preset threshold, the multi-dimensional data topology map is updated according to the current actual resource status to obtain a corrected topology map; Re-determine the priority labeling of the quantum computing units that have not completed the task based on the corrected topological map to obtain updated priority labeling; Locally adjusting the non-uniform resource slices according to the updated priority labels to obtain optimized resource slice configurations; Rescheduling is performed based on the optimized resource slice configuration.

9. A resource scheduling device, characterized in that: The resource scheduling device comprises: Data integration module, used to generate multi-dimensional data topology map of cloud environment monitoring data; A unit partitioning module is used to decompose the set of jobs to be scheduled into a set of quantum computing units that can be processed in parallel, and to add priority tags to the set of quantum computing units through a quantum heuristic algorithm; A resource partitioning module, configured to partition the physical resources of the cloud environment into non-uniform resource slices matching the task requirements according to the priority labeling and the multi-dimensional data topology map; The resource scheduling module is used to perform resource scheduling based on non-uniform resource sharding through an improved hybrid particle swarm optimization algorithm, wherein the improved hybrid particle swarm optimization algorithm is an algorithm that introduces weighted and fitness evaluation and resource constraint correction.

10. A resource scheduling device, characterized in that: The resource scheduling device comprises: a memory, a processor, and a resource scheduling program stored in the memory and executable on the processor. When the resource scheduling program is executed by the processor, the resource scheduling method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Quantum cloud hybrid task scheduling method and device based on multi-fitness genetic optimization

    CN114968531A

  • Quantum task scheduling method and related device

    CN116468124A

  • TLS-based optimization of stark tone tuning

    US20230197147A1

  • SDN enhanced path allocation device and method employing bin-packing technique

    WO2020181761A1

Cited By

  • Data processing method and device for high-performance computing power environment, medium and product

    CN120336038A

  • Business topology automatic construction method and system based on industrial environment

    CN120528808A

  • A method and system for automated construction of business topology in industrial environments

    CN120528808B

  • Resource scheduling method and device, storage medium and computer program product

    CN120762863A

  • Resource scheduling methods, equipment, storage media, and computer program products

    CN120762863B