A computing power resource allocation method and device

By calculating the availability of each CVK and allocating computing resources reasonably, the problem of resource contention in the computing network is solved, and the stability of computing services and user experience are improved.

CN115391033BActive Publication Date: 2026-07-07NEW H3C TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NEW H3C TECH CO LTD
Filing Date
2022-08-16
Publication Date
2026-07-07

AI Technical Summary

Technical Problem

In computing networks, the unreasonable allocation of computing resources in existing technologies leads to resource contention, affecting the quality of CVK's computing services and the overall user experience of the cloud platform.

Method used

By obtaining the target computing power requirements and the current available hardware resources of CVKs on each cloud platform, the availability of each CVK is calculated, and computing power resources are allocated reasonably based on the availability to avoid resource contention.

Benefits of technology

It improved the stability of computing services and user experience, avoided resource contention, and achieved more reasonable resource allocation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115391033B_ABST
    Figure CN115391033B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of computing power network, in particular to a computing power resource allocation method and device. The method is applied to a computing power network, the computing power network is connected with a plurality of cloud platforms, each cloud platform is deployed with a plurality of virtual kernel platforms (CVKs), the method comprises the following steps: obtaining a target computing power demand and obtaining the quantity information of the currently available hardware resources of each CVK deployed on each cloud platform, wherein the target computing power demand comprises the quantity information of the required hardware resources of the target computing power; based on the quantity information of the required hardware resources of the target computing power and the quantity information of the currently available hardware resources of each CVK deployed on each cloud platform, the availability of each CVK is calculated respectively; and based on the quantity information of the currently available hardware resources of each CVK and the availability of each CVK, the CVK for deploying the target computing power is determined.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computing power network technology, and in particular to a method and apparatus for allocating computing power resources. Background Technology

[0002] The "East Data West Computing" project, similar to the "South-to-North Water Diversion" and "West-to-East Power Transmission" projects, leverages the abundant land and energy resources in the western region to meet the massive computing power demands of the east and fully unleash the potential of data center clusters, thereby better serving society and practicing the concept of sustainable development.

[0003] Cloud-network convergence effectively allocates resources across the cloud, network, and endpoints, improving service quality. In a computing network, the computing brain is responsible for resource allocation. In a VDI (Cloud Desktop Integration) scenario, the computing brain needs to allocate network and computing resources to end users on demand. Typically, enterprises or operators deploy several edge cloud services for enterprise or end-users. When computing resource load is too high, resource load balancing between edge clouds is necessary to improve the overall robustness of the computing service. Within the edge cloud, load balancing of CVKs (Cloud Virtual Machines) is also required to improve service stability and ensure a good user experience. For a specific edge cloud, randomly allocating computing power to CVKs inevitably leads to resource contention. This contention not only affects the computing service quality of that specific CVK but also impacts the user experience of the entire cloud platform.

[0004] Currently, each CVK can be ranked by a weighted average of its hardware resource utilization. The CVK or cloud platform with the lowest weighted average of all hardware resources is considered the most suitable computing host.

[0005]

[0006] As shown in the table above, CVK1 has the lowest resource utilization, making it the optimal choice according to the proposed solution. However, CVK2 actually has more available hardware resources. With the same virtual machine configuration, placing it on CVK1 might cause CPU utilization to spike to over 80%, while CVK2 can provide significantly more computing power. Summary of the Invention

[0007] This application provides a method and apparatus for allocating computing resources.

[0008] In a first aspect, this application provides a method for allocating computing resources, applied to a computing network, wherein the computing network is connected to several cloud platforms, and several virtualization kernel platforms (CVK) are deployed on each cloud platform, the method comprising:

[0009] Obtain the target computing power requirement and obtain the current available hardware resource quantity information for each CVK deployed on each cloud platform, wherein the target computing power requirement includes the hardware resource quantity information required for the target computing power;

[0010] Based on the quantity information of each hardware resource required for the target computing power, and the quantity information of each available hardware resource of each CVK deployed on each cloud platform, the availability of each CVK is calculated respectively.

[0011] Based on the quantity of currently available hardware resources for each CVK and the availability of each CVK, the CVK for deploying the target computing power is determined.

[0012] Optionally, the step of calculating the availability of each CVK based on the quantity information of each hardware resource required for the target computing power and the currently available quantity information of each CVK deployed on each cloud platform includes:

[0013] For each CVK, perform the following operations:

[0014] For each hardware resource of a CVK, the ratio of the number of currently available hardware resources of the CVK to the number of hardware resources required by the target computing power is taken as the availability of the hardware resource, so as to obtain the availability of each hardware resource of the CVK.

[0015] The availability of the CVK is calculated by comprehensively considering the availability of each hardware resource of the CVK.

[0016] Optionally, the step of comprehensively calculating the availability of the CVK based on the availability of each hardware resource of the CVK includes:

[0017] The availability of this CVK is calculated using the following formula:

[0018] Where, x n f represents the availability of hardware resource n. n Let n be the weight value of the hardware resource n.

[0019] Optionally, the step of determining the CVK for deploying the target computing power based on the quantity information of each currently available hardware resource and the availability of each CVK includes:

[0020] Determine the target CVK whose quantity of each available hardware resource meets the quantity of each hardware resource required for the target computing power, and determine the CVK whose availability meets the preset requirements as the CVK for deploying the target computing power.

[0021] Optionally, the method further includes:

[0022] The availability of CVK is set to 0 if the number of at least one hardware resource is less than the number of hardware resources required for the target computing power.

[0023] Based on the quantity information of currently available hardware resources for each CVK and the availability of each CVK, the steps for determining the CVK to deploy the target computing power include:

[0024] The CVK whose availability meets the preset requirements is selected as the CVK for deploying the target computing power.

[0025] Secondly, this application provides a computing power resource allocation device applied to a computing power network, wherein the computing power network is connected to several cloud platforms, and each cloud platform is equipped with several virtualization kernel platforms (CVK). The device includes:

[0026] The acquisition unit is used to acquire the target computing power requirement and acquire the information on the number of currently available hardware resources of each CVK deployed on each cloud platform, wherein the target computing power requirement includes the information on the number of hardware resources required for the target computing power.

[0027] The computing unit is used to calculate the availability of each CVK based on the quantity information of each hardware resource required for the target computing power and the quantity information of each currently available hardware resource of each CVK deployed on each cloud platform.

[0028] The determining unit is used to determine the CVK for deploying the target computing power based on the quantity information of each available hardware resource and the availability of each CVK.

[0029] Optionally, when calculating the availability of each CVK based on the quantity information of each hardware resource required for the target computing power and the quantity information of each currently available hardware resource of each CVK deployed on each cloud platform, the computing unit is specifically used for:

[0030] For each CVK, perform the following operations:

[0031] For each hardware resource of a CVK, the ratio of the number of currently available hardware resources of the CVK to the number of hardware resources required by the target computing power is taken as the availability of the hardware resource, so as to obtain the availability of each hardware resource of the CVK.

[0032] The availability of the CVK is calculated by comprehensively considering the availability of each hardware resource of the CVK.

[0033] Optionally, when calculating the availability of the CVK based on the availability of each hardware resource, the calculation unit is specifically used for:

[0034] The availability of this CVK is calculated using the following formula:

[0035] Where, x n f represents the availability of hardware resource n. n Let n be the weight value of the hardware resource n.

[0036] Optionally, when determining the CVK for deploying the target computing power based on the quantity information of each currently available hardware resource and the availability of each CVK, the determining unit is specifically used for:

[0037] Determine the target CVK whose quantity of each available hardware resource meets the quantity of each hardware resource required for the target computing power, and determine the CVK whose availability meets the preset requirements as the CVK for deploying the target computing power.

[0038] Optionally, the computing unit is further configured to:

[0039] The availability of CVK is set to 0 if the number of at least one hardware resource is less than the number of hardware resources required for the target computing power.

[0040] Based on the quantity information of currently available hardware resources for each CVK and the availability of each CVK, when determining the CVK to deploy the target computing power, the determining unit is specifically used for:

[0041] The CVK whose availability meets the preset requirements is selected as the CVK for deploying the target computing power.

[0042] Thirdly, embodiments of this application provide a computing power resource allocation device, which includes:

[0043] Memory, used to store program instructions;

[0044] A processor is configured to invoke program instructions stored in the memory and execute the steps of the method as described in any one of the first aspects above, according to the obtained program instructions.

[0045] Fourthly, embodiments of this application also provide a computer-readable storage medium storing computer-executable instructions for causing a computer to perform the steps of the method as described in any of the first aspects above.

[0046] In summary, the computing power resource allocation method provided in this application is applied to a computing power network, which connects to several cloud platforms. Each cloud platform deploys several virtualization kernel platforms (CVKs). The method includes: obtaining a target computing power requirement and obtaining information on the quantity of currently available hardware resources for each CVK deployed on each cloud platform, wherein the target computing power requirement includes information on the quantity of hardware resources required for the target computing power; calculating the availability of each CVK based on the quantity of hardware resources required for the target computing power and the quantity of currently available hardware resources for each CVK deployed on each cloud platform; and determining the CVK to deploy the target computing power based on the quantity of currently available hardware resources for each CVK and the availability of each CVK.

[0047] The computing power resource allocation method provided in this application calculates the availability of each CVK based on the quantity of available hardware resources for each CVK and the quantity of hardware resources required for the computing power to be allocated. The computing power is then allocated to CVKs whose current availability meets preset conditions, thus rationally allocating computing power resources. This avoids allocating computing power resources according to the resource utilization rate of each CVK, which could lead to unreasonable allocation of computing power resources and resource contention. This improves the stability of computing power services and enhances the user experience. Attached Figure Description

[0048] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments of this application or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings of the embodiments of this application.

[0049] Figure 1 A detailed flowchart of a computing resource allocation method provided in an embodiment of this application;

[0050] Figure 2 A schematic diagram of a computing resource allocation device provided in an embodiment of this application;

[0051] Figure 3 This is a schematic diagram of the hardware architecture of a computing resource allocation device provided in an embodiment of this application. Detailed Implementation

[0052] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to limit the application. The singular forms “a,” “the,” and “the” as used in this application and claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to any and all possible combinations comprising one or more of the associated listed items.

[0053] It should be understood that although the terms first, second, third, etc., may be used to describe various information in embodiments of this application, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" may also be interpreted as "when," "when," or "in response to a determination."

[0054] For example, see Figure 1 The diagram shown is a detailed flowchart of a computing resource allocation method provided in an embodiment of this application. This method is applied to a computing network connected to several cloud platforms, each cloud platform deploying several Cloud Virtualization Kernel (CVK) platforms. The method includes the following steps:

[0055] Step 100: Obtain the target computing power requirement and obtain the current available hardware resource quantity information for each CVK deployed on each cloud platform, wherein the target computing power requirement includes the hardware resource quantity information required for the target computing power.

[0056] Specifically, the computing power requirement can be user-defined, such as when creating a virtual machine, the user can define the quantity of each hardware resource required for that virtual machine. For example, each hardware resource may include CPU resources, RAM resources, GPU resources, and DISK resources. Thus, the user instructs the creation of a target virtual machine and defines the required number of CPUs, RAM, GPUs, and DISKs for that target virtual machine. In this way, the computing power requirement corresponding to creating the target virtual machine can be obtained. For example, see Table 1, which provides a computing power requirement table according to an embodiment of this application.

[0057] computing power Computing power requirements CPU 4 RAM 8 GPU 2 DISK 512

[0058] Table 1

[0059] Simultaneously, the computing network can also obtain information on the current available hardware resources of each CVK deployed on the cloud platforms connected to it. For example, CVK1 currently has 24 available CPUs, 32 available RAM, 10 available GPUs, and 2048 available disks; CVK2 currently has 32 available CPUs, 32 available RAM, 8 available GPUs, and 1024 available disks; CVK3 currently has 12 available CPUs, 36 available RAM, 6 available GPUs, and 1024 available disks; and CVK4 currently has 12 available CPUs, 6 available RAM, 10 available GPUs, and 1024 available disks.

[0060] Step 110: Based on the quantity information of each hardware resource required for the target computing power and the quantity information of each available hardware resource of each CVK deployed on each cloud platform, calculate the availability of each CVK.

[0061] In this embodiment of the application, when calculating the availability of each CVK based on the quantity information of each hardware resource required for the target computing power and the currently available quantity information of each CVK deployed on each cloud platform, a preferred implementation is as follows:

[0062] For each CVK, perform the following operations: For each hardware resource of a CVK, the ratio of the number of currently available hardware resources of the CVK to the number of hardware resources required by the target computing power is taken as the availability of the hardware resource, so as to obtain the availability of each hardware resource of the CVK; Based on the availability of each hardware resource of the CVK, the overall availability of the CVK is calculated.

[0063] Specifically, when calculating the availability of a CVK based on the availability of each hardware resource, a preferred approach is to use the following formula to calculate the availability of the CVK:

[0064]

[0065] Where, x n f represents the availability of hardware resource n. n Let n be the weight value of the hardware resource n.

[0066] In practical applications, This refers to the availability calculated based on CVK resources. The higher the value, the higher the availability, and the program will prioritize selecting the corresponding CVK as the host for computing power demand. nIn other words, the availability of computing power is the ratio of the existing computing resources in CVK to the required computing power. For example, if a user requires 4 CPU cores, and CVK has 64 cores remaining, the corresponding availability is: 64 / 4 = 16. n In other words, the weights, combined with the business scenario, in the allocation of computing power requirements, must ensure that CVK fully meets the computing power requirements. The weights of specific indicators in all requirements can be the same by default, and can be uniformly set to 1.

[0067] Taking the target computing power requirement of 4 CPUs, 8 RAMs, 2 GPUs, and 512 disks as an example, the currently available CPUs for CVK1 are 24, RAMs are 32, GPUs are 10, and disks are 2048; for CVK2, the current available CPUs are 32, RAMs are 32, GPUs are 8, and disks are 1024; for CVK3, the current available CPUs are 12, RAMs are 36, GPUs are 6, and disks are 1024; and for CVK4, the current available CPUs are 12, RAMs are 6, GPUs are 10, and disks are 1024. Therefore, the availability of CVK1 is: (24 / 4 + 32 / 8 + 10 / 2 + 2048 / 512) / 4 = 4.75.

[0068] Table 2 shows the availability of each CVK calculated using the above method. The availability of CVK1 is 4.75, the availability of CVK2 is 4.5, the availability of CVK3 is 3.125, and CVK4 is unavailable because the RAM does not meet the requirements.

[0069]

[0070] Table 2

[0071] Step 120: Based on the quantity information of each available hardware resource of each CVK and the availability of each CVK, determine the CVK to deploy the target computing power.

[0072] In this embodiment of the application, when determining the CVK for deploying the target computing power based on the quantity information of each available hardware resource of each CVK and the availability of each CVK, a preferred implementation is to determine the target CVK whose quantity of each available hardware resource meets the quantity of each hardware resource required by the target computing power, and determine the CVK whose availability meets the preset requirements among the target CVKs as the CVK for deploying the target computing power.

[0073] The statement that all currently available hardware resources meet the requirements of the target computing power means that the number of currently available CPU resources in CVK is greater than the number of CPUs required for the target computing power, the number of currently available RAM resources is greater than the number of RAMs required for the target computing power, the number of currently available GPU resources is greater than the number of GPUs required for the target computing power, and the number of currently available DISK resources is greater than the number of DISKs required for the target computing power.

[0074] Then, select a CVK from the target CVKs whose availability meets the preset requirements and determine it as the CVK for deploying the target computing power.

[0075] Specifically, the CVK with the highest availability can be selected as the CVK for deploying the target computing power.

[0076] Furthermore, in this embodiment of the application, when calculating the availability of each CVK based on the quantity information of each hardware resource required for the target computing power and the quantity information of each currently available hardware resource of each CVK deployed on each cloud platform, the availability of the CVK with at least one hardware resource quantity not meeting the quantity of hardware resources required for the target computing power is set to 0 (unavailable). Then, when determining the CVK for deploying the target computing power based on the quantity information of each currently available hardware resource and the availability of each CVK, it is not necessary to determine whether the currently available hardware resources of each CVK meet the preset conditions. The CVK whose availability meets the preset requirements is directly determined as the CVK for deploying the target computing power.

[0077] For example, see Figure 2 The diagram shown is a structural schematic of a computing resource allocation device provided in an embodiment of this application. This device is applied to a computing network connected to several cloud platforms, each cloud platform deploying several virtualization kernel platforms (CVK). The device includes:

[0078] The acquisition unit 20 is used to acquire the target computing power requirement and acquire the information on the number of currently available hardware resources of each CVK deployed on each cloud platform, wherein the target computing power requirement includes the information on the number of hardware resources required for the target computing power.

[0079] The computing unit 21 is used to calculate the availability of each CVK based on the quantity information of each hardware resource required for the target computing power and the quantity information of each currently available hardware resource of each CVK deployed on each cloud platform.

[0080] The determining unit 22 is used to determine the CVK to deploy the target computing power based on the quantity information of each available hardware resource of each CVK and the availability of each CVK.

[0081] Optionally, when calculating the availability of each CVK based on the quantity information of each hardware resource required for the target computing power and the quantity information of each currently available hardware resource of each CVK deployed on each cloud platform, the computing unit 21 is specifically used for:

[0082] For each CVK, perform the following operations:

[0083] For each hardware resource of a CVK, the ratio of the number of currently available hardware resources of the CVK to the number of hardware resources required by the target computing power is taken as the availability of the hardware resource, so as to obtain the availability of each hardware resource of the CVK.

[0084] The availability of the CVK is calculated by comprehensively considering the availability of each hardware resource of the CVK.

[0085] Optionally, when calculating the availability of the CVK based on the availability of each hardware resource of the CVK, the calculation unit 21 is specifically used for:

[0086] The availability of this CVK is calculated using the following formula:

[0087] Where, x n f represents the availability of hardware resource n. n Let n be the weight value of the hardware resource n.

[0088] Optionally, when determining the CVK for deploying the target computing power based on the quantity information of each currently available hardware resource and the availability of each CVK, the determining unit 22 is specifically used for:

[0089] Determine the target CVK whose quantity of each available hardware resource meets the quantity of each hardware resource required for the target computing power, and determine the CVK whose availability meets the preset requirements as the CVK for deploying the target computing power.

[0090] Optionally, the computing unit 21 is further configured to:

[0091] The availability of CVK is set to 0 if the number of at least one hardware resource is less than the number of hardware resources required for the target computing power.

[0092] Based on the quantity information of currently available hardware resources for each CVK and the availability of each CVK, when determining the CVK to deploy the target computing power, the determining unit is specifically used for:

[0093] The CVK whose availability meets the preset requirements is selected as the CVK for deploying the target computing power.

[0094] These units can be one or more integrated circuits configured to implement the above methods, such as one or more Application Specific Integrated Circuits (ASICs), one or more digital signal processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs). Alternatively, when one of these units is implemented using processing element scheduler code, the processing element can be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. Furthermore, these units can be integrated together to form a system-on-a-chip (SOC).

[0095] Furthermore, regarding the computing power resource allocation device provided in this application embodiment, from a hardware perspective, the hardware architecture schematic diagram of the computing power resource allocation device can be found in [reference needed]. Figure 3 As shown, the computing resource allocation device may include: a memory 30 and a processor 31.

[0096] The memory 30 is used to store program instructions; the processor 31 calls the program instructions stored in the memory 30 and executes the above method embodiment according to the obtained program instructions. The specific implementation method and technical effect are similar, and will not be described again here.

[0097] Optionally, this application also provides a computing resource allocation device, including at least one processing element (or chip) for performing the above method embodiments.

[0098] Optionally, this application also provides a program product, such as a computer-readable storage medium storing computer-executable instructions for causing the computer to perform the above-described method embodiments.

[0099] Here, a machine-readable storage medium can be any electronic, magnetic, optical, or other physical storage device that can contain or store information, such as executable instructions, data, etc. For example, a machine-readable storage medium can be: RAM (Random Access Memory), volatile memory, non-volatile memory, flash memory, storage drives (such as hard disk drives), solid-state drives, any type of storage disk (such as optical discs, DVDs, etc.), or similar storage media, or combinations thereof.

[0100] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which can take the form of a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email sending and receiving device, game console, tablet computer, wearable device, or any combination of these devices.

[0101] For ease of description, the above devices are described separately by function as various units. Of course, in implementing this application, the functions of each unit can be implemented in one or more software and / or hardware.

[0102] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of this application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0103] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0104] Furthermore, these computer program instructions can also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in the process. Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0105] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0106] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.

Claims

1. A method for allocating computing resources, characterized in that, Applied to a computing power network connected to several cloud platforms, each cloud platform deploying several virtualization kernel platforms (CVK), the method includes: Obtain the target computing power requirement and obtain the current available hardware resource quantity information of each CVK deployed on each cloud platform. The target computing power is a newly created virtual machine, and the target computing power requirement includes the user-defined quantity information of each hardware resource required for the target computing power. Each hardware resource includes CPU resources, RAM resources, GPU resources, and DISK resources. Based on the quantity information of each hardware resource required for the target computing power, and the quantity information of each available hardware resource of each CVK deployed on each cloud platform, the availability of each CVK is calculated respectively. Based on the quantity information of each available hardware resource in each CVK and the availability of each CVK, the CVK to which the target computing power is deployed is determined; Based on the quantity information of each hardware resource required for the target computing power, and the quantity information of each currently available hardware resource for each CVK deployed on each cloud platform, the steps for calculating the availability of each CVK include: For each CVK, perform the following operations: For each hardware resource of a CVK, the ratio of the number of currently available hardware resources of the CVK to the number of hardware resources required by the target computing power is taken as the availability of the hardware resource, so as to obtain the availability of each hardware resource of the CVK. The availability of the CVK is calculated by comprehensively considering the availability of each hardware resource of the CVK.

2. The method as described in claim 1, characterized in that, The steps for calculating the availability of a CVK based on the availability of each hardware resource include: The availability of this CVK is calculated using the following formula: ,in, Let n be the availability of hardware resources. Let n be the weight value of the hardware resource n.

3. The method according to any one of claims 1-2, characterized in that, Based on the quantity information of currently available hardware resources for each CVK and the availability of each CVK, the steps for determining the CVK to deploy the target computing power include: Determine the target CVK whose quantity of each available hardware resource meets the quantity of each hardware resource required for the target computing power, and determine the CVK whose availability meets the preset requirements as the CVK for deploying the target computing power.

4. The method according to any one of claims 1-2, characterized in that, The method further includes: The availability of CVK is set to 0 if the number of at least one hardware resource is less than the number of hardware resources required for the target computing power. Based on the quantity information of currently available hardware resources for each CVK and the availability of each CVK, the steps for determining the CVK to deploy the target computing power include: The CVK whose availability meets the preset requirements is selected as the CVK for deploying the target computing power.

5. A computing power resource allocation device, characterized in that, The device is applied to a computing power network connected to several cloud platforms, each cloud platform deploying several virtualization kernel platforms (CVK). The device includes: The acquisition unit is used to acquire the target computing power requirement and acquire the information on the quantity of each available hardware resource of each CVK deployed on each cloud platform. The target computing power is a newly created virtual machine, and the target computing power requirement includes the user-defined information on the quantity of each hardware resource required for the target computing power. Each hardware resource includes CPU resources, RAM resources, GPU resources, and DISK resources. The computing unit is used to calculate the availability of each CVK based on the quantity information of each hardware resource required for the target computing power and the quantity information of each currently available hardware resource of each CVK deployed on each cloud platform. The determining unit is used to determine the CVK for deploying the target computing power based on the quantity information of each available hardware resource of each CVK and the availability of each CVK; Based on the quantity information of each hardware resource required for the target computing power, and the quantity information of each currently available hardware resource of each CVK deployed on each cloud platform, when calculating the availability of each CVK, the computing unit is specifically used for: For each CVK, perform the following operations: For each hardware resource of a CVK, the ratio of the number of currently available hardware resources of the CVK to the number of hardware resources required by the target computing power is taken as the availability of the hardware resource, so as to obtain the availability of each hardware resource of the CVK. The availability of the CVK is calculated by comprehensively considering the availability of each hardware resource of the CVK.

6. The apparatus as claimed in claim 5, characterized in that, When calculating the overall availability of the CVK based on the availability of each hardware resource, the calculation unit is specifically used for: The availability of this CVK is calculated using the following formula: ,in, Let n be the availability of hardware resources. Let n be the weight value of the hardware resource n.

7. The apparatus according to any one of claims 5-6, characterized in that, Based on the quantity information of currently available hardware resources for each CVK and the availability of each CVK, when determining the CVK to deploy the target computing power, the determining unit is specifically used for: Determine the target CVK whose quantity of each available hardware resource meets the quantity of each hardware resource required for the target computing power, and determine the CVK whose availability meets the preset requirements as the CVK for deploying the target computing power.

8. The apparatus according to any one of claims 5-6, characterized in that, The computing unit is also used for: The availability of CVK is set to 0 if the number of at least one hardware resource is less than the number of hardware resources required for the target computing power. Based on the quantity information of currently available hardware resources for each CVK and the availability of each CVK, when determining the CVK to deploy the target computing power, the determining unit is specifically used for: The CVK whose availability meets the preset requirements is selected as the CVK for deploying the target computing power.