Resource pool allocation method and device, equipment, storage medium and program product
Through multi-dimensional scoring of users' computing power demand information and resource pool collections, the most suitable cloud resource pools are selected, solving the problems of poor user selection and low resource utilization, and achieving more efficient resource allocation and utilization. .
Patent Information
- Application Number
- CN202410338946.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-22
- Publication Date
- 2024-10-22
AI Technical Summary
When users choose cloud resource pools, they lack understanding of the resource pools provided by computing resource providers, making it difficult to ensure the effect of their choices. Uneven regional development results in low resource utilization.
By obtaining the user's computing power demand information and resource pool collection, multi-dimensional scoring is performed, including the computing power dimension, network dimension, scalability dimension and cost dimension, to select the most suitable target resource pool.
It improves the quality of resource pool selection and user satisfaction, improves the overall utilization of the resource pool, and alleviates the problem of tight computing resources in the east and insufficient demand in the west.
Smart Images

Figure CN118819812A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a resource pool allocation method, device, electronic device, computer storage medium and computer program product. Background Art
[0002] At present, each computing resource provider usually gives the right to choose a cloud resource pool directly to the user, and the user logs in to the resource interface to select a cloud resource pool that meets their computing power needs. However, this method has the following disadvantages: Since users do not know how well each cloud resource pool provided by the computing resource provider meets their computing power needs, they usually rely on experience and intuition to make choices, which makes it difficult to guarantee the effectiveness of the selection. Summary of the invention
[0003] The present application provides a resource pool allocation method, device, electronic device, computer storage medium and computer program product.
[0004] The technical solution of this application is implemented as follows:
[0005] The present application provides a resource pool allocation method, the method comprising:
[0006] Obtain the user's computing power demand information and resource pool collection;
[0007] Filter the resource pool set according to the computing power demand information to obtain a first resource pool set;
[0008] Scoring each first resource pool in the first resource pool set in multiple first dimensions to obtain scores of each first resource pool in the multiple first dimensions; the multiple first dimensions include: at least two of a computing power dimension, a network dimension, a scalability dimension, a green energy-saving dimension, and a cost dimension;
[0009] According to the scores of each first resource pool under the multiple first dimensions, a target resource pool allocated to the user is determined from the set of first resource pools.
[0010] The present application provides a resource pool allocation device, the device comprising:
[0011] The acquisition module is used to obtain the user's computing power demand information and resource pool collection;
[0012] A screening module, configured to screen the resource pool set according to the computing power demand information to obtain a first resource pool set;
[0013] A scoring module, configured to score each first resource pool in the first resource pool set in multiple first dimensions to obtain a score of each first resource pool in the multiple first dimensions; the multiple first dimensions include: at least two of a computing power dimension, a network dimension, a scalability dimension, a green energy-saving dimension, and a cost dimension;
[0014] A determination module is used to determine a target resource pool to be allocated to the user from the set of first resource pools according to the scores of each first resource pool under multiple first dimensions.
[0015] The present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a resource pool allocation method provided by one or more of the aforementioned technical solutions is implemented.
[0016] The present application provides a computer storage medium, which stores a computer program; after the computer program is executed, it can implement the resource pool allocation method provided by one or more of the above-mentioned technical solutions.
[0017] The present application provides a computer program product, including a computer program, which, when executed by a processor, implements the resource pool allocation method provided by one or more of the aforementioned technical solutions.
[0018] The embodiments of the present application provide a resource pool allocation method, device, electronic device, computer storage medium and computer program product, the method comprising: obtaining computing power requirement information and a resource pool set of a user; screening the resource pool set according to the computing power requirement information to obtain a first resource pool set; scoring each first resource pool in the first resource pool set in multiple first dimensions to obtain scores of each first resource pool in the multiple first dimensions; the multiple first dimensions comprising: at least two of a computing power dimension, a network dimension, a scalability dimension, a green energy-saving dimension and a cost dimension; determining a target resource pool to be allocated to the user from the first resource pool set according to the scores of each first resource pool in the multiple first dimensions.
[0019] It can be seen that in the embodiment of the present application, after obtaining multiple resource pools that meet the user's computing power requirements, these resource pools will be further scored in multiple dimensions, and based on the multi-dimensional scoring results of each resource pool, a resource pool that is more suitable for the user will be determined from the multiple resource pools that meet the user's computing power requirements. That is, it can help the user complete high-quality screening of resource pools, so that the final screened resource pool is a resource pool that better meets the user's needs, while ensuring the selection effect and improving the user's satisfaction with the use of the resource pool. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 A schematic diagram of the structure of a computing-network fusion system provided in an embodiment of the present application;
[0021] Figure 2 A flowchart of a resource pool allocation method provided in an embodiment of the present application;
[0022] Figure 3 A flowchart of another resource pool allocation method provided in an embodiment of the present application;
[0023] Figure 4 A schematic diagram of the composition structure of the resource pool allocation device provided in an embodiment of the present application;
[0024] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0025] The technical solution in this application will be clearly and completely described below in conjunction with the drawings in this application.
[0026] The present application will be further described in detail below in conjunction with the accompanying drawings and Examples. It should be understood that the embodiments provided herein are only used to explain the present application and are not intended to limit the present application. In addition, the embodiments provided below are partial embodiments for implementing the present application, rather than providing all embodiments for implementing the present application. In the absence of conflict, the technical solutions recorded in the present application can be implemented in any combination.
[0027] It should be noted that, in the present application, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a method or device including a series of elements includes not only the elements explicitly recorded, but also includes other elements not explicitly listed, or also includes elements inherent to the implementation of the method or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other related elements (such as steps in the method or units in the device, for example, a unit may be a part of a processor, a part of a program or software, etc.) in the method or device including the element.
[0028] The term "and / or" herein is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C can represent including any one or more elements selected from the set consisting of A, B, and C.
[0029] For example, the resource pool allocation method provided in the present application includes a series of steps, but the resource pool allocation method provided in the present application is not limited to the recorded steps. Similarly, the resource pool allocation device provided in the present application includes a series of modules, but the resource pool allocation device provided in the present application is not limited to including the modules explicitly recorded, and may also include modules that need to be set up to obtain relevant information or perform processing based on information.
[0030] In the related art, users usually log in to the resource interface to select a cloud resource pool that meets their computing power needs. However, this method has the problem of poor selection effect. In addition, due to the uneven regional development, the computing power resources in the east are tight and the computing power demand in the west is insufficient, and users tend to choose cloud resource pools that are closer when choosing cloud resource pools. Therefore, the above method will also cause the resource provider's cloud resource pool utilization rate to be low.
[0031] In view of the above problems, the following embodiments are proposed.
[0032] In the embodiment of the present application, the execution subject of the resource pool allocation method is the computing network fusion system. Figure 1 A schematic diagram of the structure of a computing-network fusion system provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the computing-network integration system 10 may include a recommendation module 11, a service activation module 12, a task processing scheduling module 13 and a task collection module 14, a timing collection interface 15 and a real-time communication interface 16; wherein the timing collection interface 15 is connected to the Internet Protocol (IP) network and resource management system, and the real-time communication interface 16 is connected to each cloud resource pool provided by the computing resource provider.
[0033] Exemplarily, the recommendation module 11 is responsible for finding available resource pools and network reachable paths and performing multi-dimensional scoring to determine the resource pool to be recommended; the service activation module 12 automatically activates and issues cloud and network service configuration by calling the target resource pool and the IP bearer network capability open interface; the task processing and scheduling module 13 is responsible for service processing scheduling to achieve multi-task concurrent processing. The data collection module 14 collects relevant data such as IP network, resource management system, cloud resource pool, etc. through the timed collection interface 15 and the real-time communication interface 16, providing basic data for the determination of the resource pool to be recommended and the multi-dimensional scoring.
[0034] In the embodiment of the present application, the resource pool allocation method can be applied to the scenario of allocating resource pools to users (resource demanders). Figure 1 Based on this, the resource pool allocation process is illustrated by way of example. Figure 2 A flowchart of a resource pool allocation method provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the process may include:
[0035] Step 20: Obtain the user's computing power demand information and resource pool collection.
[0036] Exemplarily, the computing power requirement information may include the type and size of computing power resources required by the user; here, the type of computing power resources is not limited, for example, it may be at least one of computing power resources such as a central processing unit (CPU), a graphics processing unit (GPU), and a field programmable gate array (FPGA). In the case where the computing power resources include CPU and GPU, the size of the computing power resources can be represented by the number of CPU cores and the number of GPU blocks.
[0037] In an embodiment of the present application, the computing-network fusion system can obtain the computing power demand information of the user; here, there is no limitation on the method of obtaining the computing power demand information; illustratively, the computing power demand information can be directly input by the user, or it can be obtained by the system evaluating the computing power business parameters input by the user.
[0038] Exemplarily, the computing power business parameters are related to the user's own business needs. Different business needs correspond to different computing power business parameters, which are not limited in the embodiments of the present application. For example, taking the cloud rendering business as an example, the computing power business parameters may include but are not limited to the user's current location information (province, city, district, street), the type of rendering file (video or picture), size, frame rate, resolution, rendering type (real-time or offline) and expected rendering time, etc.
[0039] Exemplarily, the computing-network fusion system can also obtain a resource pool set; the resource pool set may include some or all resource pools that can be provided by a computing resource provider; here, the resource pool is also called a cloud resource pool or a computing resource pool, which can allocate computing resources to users through network links to meet user business needs.
[0040] Step 21: Filter the resource pool set according to the computing power demand information to obtain the first resource pool set.
[0041] In an embodiment of the present application, after obtaining the computing power demand information and the resource pool set, the computing-network fusion system can directly filter the resource pool set according to the computing power demand information to obtain the resource pools that meet the computing power demand information.
[0042] Here, each resource pool that meets the computing power requirement information can be determined as a first resource pool set. Exemplarily, if a resource pool in the resource pool set that meets the computing power requirement information is called a first resource pool, the first resource pool set obtained after screening can include multiple first resource pools.
[0043] For example, assuming that the user's computing power requirement information is a dual-core CPU and 4 GPUs, if the resource pool set is filtered according to the computing power requirement information, the first resource pools in the resource pool set that meet the dual-core CPU and 4 GPUs can be obtained, and these first resource pools together constitute the first resource pool set.
[0044] In another embodiment, screening the resource pool set according to computing power demand information to obtain a first resource pool set may include: obtaining the user's current location information and the location information of each resource pool in the resource pool set; screening the resource pool set according to the computing power demand information, the current location information and the location information of each resource pool to obtain the first resource pool set.
[0045] Here, the user's current location information is the user's current geographical location, for example, it may be the province, city, district, street, etc. where the user is currently located; illustratively, the current location information may be input or selected by the user, and the embodiments of the present application are not limited to this.
[0046] Exemplarily, the location information of a resource pool refers to the geographical location of the resource pool, for example, it may be the province or city where the resource pool is located; here, the location information of the resource pool may be achieved by the system obtaining the geographical locations of various resource pools provided by computing power resource providers.
[0047] It can be understood that if the resource pool set is screened only according to the user's computing power demand information, a large number of resource pools that meet the computing power demand information can be obtained. Considering that the current resource pool has the problem of tight computing power resources in the east and insufficient computing power demand in the west, the embodiment of the present application can be based on the computing power demand information, combined with the user's current location information and resource pool location information, to jointly screen the resource pool set, so that the filtered resource pool includes both resource pools in the eastern region and resource pools in the western region. In this way, the overall utilization rate of the resource pool can be effectively improved. The following is an illustrative description of the process of obtaining the first resource pool set.
[0048] Exemplarily, after screening the resource pool set according to the computing power demand information and obtaining the resource pools that meet the computing power demand information, the distance between the user and each resource pool can be determined based on the user's current location information and the location information of each resource pool, and the first resource pools that are less than a first set distance and the first resource pools that are greater than a second set distance are screened out from these distances; here, the first set distance is less than the second set distance; the first resource pools obtained through the above screening together constitute the first resource pool set.
[0049] After the above screening, it can be ensured that the resource pool after screening includes both resource pools that are closer to the user and resource pools that are farther away from the user; in this way, when the user is located in the eastern region, it can be ensured that the resource pool after screening includes both resource pools in the eastern region and resource pools in the western region, so that the idle computing power resources in the western region can also be used by users, thus effectively improving the overall utilization rate of the resource pool; in addition, through further screening operations, the calculation amount for subsequent multi-dimensional scoring can also be saved.
[0050] Step 22: Score each first resource pool in the first resource pool set in multiple first dimensions to obtain a score of each first resource pool in the multiple first dimensions.
[0051] Exemplarily, after obtaining the first resource pool set according to the above steps, each first resource pool in the first resource pool set may be scored in multiple first dimensions to obtain the score of each first resource pool in the multiple first dimensions.
[0052] Among them, the multiple first dimensions may include: at least two of: computing power dimension, network dimension, scalability dimension, green energy-saving dimension and cost dimension.
[0053] Exemplarily, when multiple first dimensions include five dimensions, namely, computing power dimension, network dimension, scalability dimension, green energy-saving dimension, and cost dimension, each first resource pool in the first resource pool set can be scored respectively in these five dimensions to obtain the score of each first resource pool in these five dimensions, which are correspondingly represented as D1, D2, D3, D4 and D5.
[0054] It should be noted that each first dimension may correspond to multiple influencing factors, that is, the score of the first resource pool under each first dimension will be affected by the comprehensive influence of multiple influencing factors.
[0055] Table 1
[0056] In the embodiment of the present application, there is no specific limitation on the number and type of influencing factors corresponding to each first dimension; Table 1 shows the number and type of influencing factors corresponding to different first dimensions. As shown in Table 1, the computing power dimension corresponds to 3 influencing factors, the network dimension, scalability dimension and green energy-saving dimension each correspond to 6 influencing factors, and the cost dimension corresponds to 2 influencing factors; that is, the above 5 dimensions correspond to a total of 23 influencing factors.
[0057] In some embodiments, scoring each first resource pool in the first resource pool set in multiple first dimensions to obtain the score of each first resource pool in the multiple first dimensions may include: determining, for each first resource pool in the first resource pool set, the scores of multiple influencing factors corresponding to each first dimension; and determining the score of each first resource pool in the multiple first dimensions according to the scores of the multiple influencing factors corresponding to each first dimension in the multiple first dimensions.
[0058] In an embodiment of the present application, the score of each first resource pool under each first dimension can be determined according to multiple influencing factors corresponding to the first dimension; illustratively, the scores of the multiple influencing factors corresponding to the first dimension can be determined respectively first, and then the scores of the multiple influencing factors are weighted and summed to obtain the score of each first resource pool under the first dimension; the process is exemplified below by taking the first dimension as the scalability dimension as an example.
[0059] For example, as shown in Table 1, the scalability dimension corresponds to 6 influencing factors, and the scores of these 6 influencing factors can be expressed as P 3i (i ranges from 1 to 6); here, P 3i It can be determined by the graded linear average method. The following is to determine the score P of the CPU resource factor. 31 Take this as an example to illustrate the score P 31 The evaluation can be performed based on the number of remaining CPUs in the resource pool. Each resource pool is configured with resource pool scalability parameters. If the maximum number of available CPUs is configured as Q2 and the number of idle available CPUs is Q1, then when the number of remaining CPUs is less than Q1, the score P 31 0 points; when the number of remaining CPUs is greater than Q2, the score P 31 When the remaining CPU number is between Q1 and Q2, the scores between 1 and 100 are calculated linearly in equal proportion. 31 =(Q-Q1) / (Q2-Q1)*100; here, the number of CPUs refers to the number of CPU cores.
[0060] Furthermore, the score P of each impact factor corresponding to the scalability dimension is obtained by the above-mentioned graded linear average method. 3i (i ranges from 1 to 6), the scores of these influencing factors can be weighted and summed to obtain the score D3 of the first resource pool in the scalability dimension, as shown in formula (1):
[0061]
[0062] Here, W 3iIt should be noted that the weight of each influencing factor can be preset according to actual conditions, and the embodiment of the present application does not specifically limit this.
[0063] Exemplarily, for the way of determining the scores of each influencing factor corresponding to other first dimensions, the above-mentioned graded linear averaging method can be adopted, or linear averaging or other methods can be adopted, and the embodiments of the present application do not specifically limit this. For example, the hop factor, packet loss factor, network jitter factor, and time window factor corresponding to the network dimension can adopt the above-mentioned graded linear averaging method, and the delay factor and network bandwidth factor can adopt the linear averaging method. It should be noted that after the above steps, the scores of each first resource pool in the first resource pool set under multiple first dimensions can be obtained.
[0064] Step 23: According to the scores of each first resource pool under the multiple first dimensions, determine a target resource pool to be allocated to the user from the set of first resource pools.
[0065] In an embodiment of the present application, the scores of each first resource pool in the first resource pool set under multiple first dimensions can be obtained according to the above steps, and the target resource pool allocated to the user can be determined from the first resource pool set according to the scores of each first resource pool under multiple first dimensions.
[0066] It is understandable that compared with the scalability dimension and the green energy-saving dimension, users are more likely to focus on at least one of the computing power dimension, the network dimension, and the cost dimension; in order to determine a target resource pool that better meets user needs, in an embodiment of the present application, when the above-mentioned multiple first dimensions only include the scalability dimension and the green energy-saving dimension, the scores of the resource pool in other dimensions can be further determined, and then the target resource pool can be determined by combining the two scores. Below, this process is exemplarily described.
[0067] Exemplarily, in the case where multiple first dimensions include a scalability dimension and a green energy-saving dimension, determining a target resource pool to be allocated to a user from a set of first resource pools according to the scores of each first resource pool under the multiple first dimensions may include: screening the set of first resource pools according to the scores of each first resource pool under the multiple first dimensions to obtain a set of second resource pools; scoring each second resource pool in the set of second resource pools according to the multiple second dimensions to obtain the scores of each second resource pool under the multiple second dimensions; determining a target resource pool to be allocated to a user from the set of second resource pools according to the scores of each second resource pool under the multiple first dimensions and the multiple second dimensions.
[0068] Here, the multiple second dimensions include at least one of a computing power dimension, a network dimension, and a cost dimension. Exemplarily, in order to improve computing efficiency, after obtaining the scores of each first resource pool in the first resource pool set under multiple first dimensions, the first resource pool set can be screened according to the scores of each first resource pool in multiple first dimensions to obtain the second resource pool set; then, the scores of each second resource pool in the second resource pool set in multiple second dimensions are calculated; that is, for resource pools included in the first resource pool set but not included in the second resource pool, there is no need to calculate their scores under multiple second dimensions.
[0069] In some embodiments, screening the first resource pool set according to the score of each first resource pool under multiple first dimensions to obtain the second resource pool set may include: sorting the scores of each first resource pool in the first resource pool set under multiple first dimensions in order from large to small to obtain a sorting result; and determining a preset number of first resource pools at the front of the sorting result as the second resource pool set.
[0070] Here, the value of the preset number can be set according to actual conditions, and the embodiment of the present application does not limit this. For example, the value can be 10 or 15, etc.
[0071] Exemplarily, when multiple first dimensions include a scalability dimension and a green energy-saving dimension, the scores corresponding to the two first dimensions can be first accumulated to obtain the accumulated scores of each first resource pool in the scalability dimension and the green energy-saving dimension, and then the accumulated scores of each first resource pool in the first resource pool set in the scalability dimension and the green energy-saving dimension can be sorted in order from large to small to obtain the corresponding sorting results, and a preset number of first resource pools ranked in front of the sorting result are determined as the second resource pool set.
[0072] Furthermore, after obtaining the second resource pool set, each second resource pool in the second resource pool set can be scored in multiple second dimensions to obtain the scores of each second resource pool in the multiple second dimensions, and then the target resource pool to be allocated to the user can be determined from the second resource pool set based on the scores of each second resource pool in the multiple first dimensions and the multiple second dimensions; here, the process of determining the score of the second resource pool in the second dimension is similar to the process of determining the score D3 mentioned above, and will not be repeated here to avoid repeated description.
[0073] Exemplarily, when multiple first dimensions include scalability dimension and green energy-saving dimension, and multiple second dimensions include computing power dimension, network dimension and cost dimension, after the above steps, the scores of each second resource pool in these five different dimensions can be obtained; that is, each second resource pool in the second resource pool set corresponds to scores in five different dimensions.
[0074] In some embodiments, determining a target resource pool to be allocated to a user from a set of second resource pools based on the scores of each second resource pool in multiple first dimensions and multiple second dimensions may include: obtaining user level information; determining the respective weights of multiple first dimensions and multiple second dimensions based on the user level information and computing power requirement information; taking a weighted sum of the scores of each second resource pool in multiple first dimensions and multiple second dimensions using the respective weights of the multiple first dimensions and multiple second dimensions to obtain a fusion score of each second resource pool; determining a target resource pool to be allocated to a user from a set of second resource pools based on the scores of each second resource pool in multiple first dimensions and multiple second dimensions, as well as the fusion score.
[0075] In the embodiment of the present application, the computing-network fusion system can also obtain user level information; here, there is no limitation on the method of obtaining the user level information; illustratively, the user level information can be obtained by analyzing the user's historical usage records, or by authenticating the user.
[0076] Exemplarily, user level information can characterize the user's level type; it should be noted that the user's level type and number of levels can be set according to business needs. For example, two levels of ordinary users or important users can be set, or six levels from the first level to the sixth level can be set, and so on. The embodiments of the present application are not limited to this.
[0077] Exemplarily, after obtaining the user level information, the weights of the multiple first dimensions and the multiple second dimensions can be determined according to the level information and the computing power requirement information; then, the weights of the multiple first dimensions and the multiple second dimensions are used to perform a weighted summation on the scores of each second resource pool under the multiple first dimensions and the multiple second dimensions, so as to obtain the fusion score P of each second resource pool, as shown in formula (2):
[0078]
[0079] Here, j represents the number of dimensions, W j Represents the weight of each dimension. Wherein, formula (2) shows the process of determining the fusion score P of each second resource pool when the multiple first dimensions include the scalability dimension and the green energy-saving dimension, and the multiple second dimensions include the computing power dimension, the network dimension, and the cost dimension.
[0080] Furthermore, after obtaining the fusion score of each second resource pool, determining the target resource pool to be allocated to the user from the second resource pool set according to the scores of each second resource pool in multiple first dimensions and multiple second dimensions, as well as the fusion score, may include: determining multiple resource pools to be recommended from the second resource pool set according to the scores of each second resource pool in multiple first dimensions and multiple second dimensions, as well as the fusion score, and displaying the multiple resource pools to be recommended to the user; in response to the user's selection operation, determining the resource pool to be recommended corresponding to the selection operation as the target resource pool to be allocated to the user.
[0081] Exemplarily, for each second resource pool in the second resource pool set, after obtaining its scores in multiple first dimensions and multiple second dimensions, as well as the fusion score, multiple resource pools to be recommended to the user can be determined from the second resource pool set; here, there is no specific limitation on the number of resource pools to be recommended.
[0082] Exemplarily, it is assumed that the number of resource pools to be recommended is 3, namely, an extremely high quality resource pool, a high quality resource pool, and a cost-effective resource pool; when multiple first dimensions include a scalability dimension and a green energy-saving dimension, and multiple second dimensions include a computing power dimension, a network dimension, and a cost dimension, the extremely high quality resource pool may be the second resource pool with the highest comprehensive score in the computing power dimension, the network dimension, and the scalability dimension in the second resource pool set; the high quality resource pool may be the second resource pool with the highest comprehensive score in the computing power dimension, the network dimension, the scalability dimension, the green energy-saving dimension, and the cost dimension in the second resource pool set; the cost-effective resource pool is the second resource pool with the highest score in the cost dimension in the second resource pool set.
[0083] Here, the comprehensive score can be the cumulative value of the corresponding scores of different dimensions; it should be noted that when determining the extremely high-quality resource pool, if there are multiple second resource pools with the highest comprehensive scores in the computing power dimension, network dimension and scalability dimension, the second resource pool with the highest fusion score is selected from them and determined as the extremely high-quality resource pool; among them, the high-quality resource pool and the cost-effective resource pool are also processed in a similar manner, which will not be repeated here.
[0084] Exemplarily, the system provides an interactive page for interacting with the user, on which a resource pool selection control is set; after obtaining an extremely high-quality resource pool, a high-quality resource pool, and a cost-effective resource pool, the scores, fusion scores, and related influencing factors of these three resource pools in various dimensions can be displayed on the interactive page, and the user can determine the target resource pool allocated to the user from these three resource pools by clicking the selection control; at this time, the system can obtain the target resource pool selected by the user.
[0085] Furthermore, after obtaining the target resource pool selected by the user, the system can configure the computing power data and network data of the target resource pool, and after completing the data configuration, allocate the target resource pool and the segment routing (Segment Routing IPv6, SRv6) channel based on the IPv6 forwarding plane to the user, ending this process.
[0086] The embodiment of the present application provides a resource pool allocation method, which includes: obtaining the computing power demand information and resource pool set of the user; screening the resource pool set according to the computing power demand information to obtain a first resource pool set; scoring each first resource pool in the first resource pool set in multiple first dimensions to obtain the score of each first resource pool under multiple first dimensions; the multiple first dimensions include: computing power dimension, network dimension, scalability dimension, green energy saving dimension and cost dimension. At least two; according to the score of each first resource pool under multiple first dimensions, the target resource pool allocated to the user is determined from the first resource pool set. It can be seen that in the embodiment of the present application, after obtaining multiple resource pools that meet the computing power requirements of the user, these resource pools will be further scored in multiple dimensions, and the resource pool that is more suitable for the user to use will be determined from the multiple resource pools that meet the computing power requirements of the user according to the multi-dimensional scoring results of each resource pool, that is, it can help the user complete the high-quality screening of resource pools, so that the final screened resource pool is a resource pool that better meets the user's needs, while ensuring the selection effect, it can improve the user's satisfaction with the use of the resource pool.
[0087] In order to better reflect the purpose of the present application, further explanation is given based on the above embodiments of the present application.
[0088] Figure 3 A flowchart of another resource pool allocation method provided in an embodiment of the present application, such as Figure 3 As shown, the process may include the following steps:
[0089] Step 300: Obtain the user's computing power demand information and resource pool set.
[0090] Exemplarily, the computing-network fusion system can obtain the computing power demand information of the user; wherein the computing power demand information can be directly input by the user, or obtained by the system evaluating the computing power business parameters input by the user.
[0091] Step 301: According to the computing power demand information, find M resource pools that meet the computing power demand information.
[0092] Here, according to the computing power demand information, M resource pools that meet the computing power demand information are found from the resource pool set; the M resource pools correspond to the above-mentioned first resource pool set, and M represents the number of first resource pools in the set.
[0093] Step 302: Determine whether the number M of resource pools is 0. If the determination result is yes, execute step 303, otherwise execute step 304.
[0094] Step 303: Feedback reminder information and end this process.
[0095] Exemplarily, if it is determined that the number M of resource pools is 0, that is, no resource pool that meets the computing power requirement information can be found from the resource pool set, a reminder message that there is no resource pool that meets the computing power requirement information is directly fed back, and this process ends.
[0096] Step 304: Calculate the score of each resource pool in the scalability dimension and the green energy-saving dimension, sort the scores, and screen out N candidate resource pools.
[0097] Here, N resource pools correspond to the above-mentioned second resource pool set, and N represents the number of second resource pools in the set.
[0098] Step 305: Determine the score of each candidate resource pool in the computing power dimension.
[0099] Step 306: Determine the score of each candidate resource pool in the network dimension.
[0100] Exemplarily, based on the user's current location information and the location information of each candidate resource pool, the information of the exit router and the user access router of each candidate resource pool can be found, and a path can be calculated for each candidate resource pool. After the path calculation, the performance indicators of SRv6 can be measured, and the scores of each influencing factor corresponding to the network dimension can be determined based on the performance indicators of SRV6. The score of each candidate resource pool in the network dimension can be determined based on the scores of these influencing factors.
[0101] Step 307: Determine the score of each candidate resource pool under the cost dimension.
[0102] Exemplarily, the system may determine the score of each candidate resource pool under the cost dimension according to the scores of each influencing factor corresponding to the cost dimension.
[0103] Step 308: According to the scores of each candidate resource pool in the five dimensions, determine the extremely high-quality resource pool, the high-quality resource pool and the cost-effective resource pool.
[0104] Exemplarily, the system can determine an extremely high-quality resource pool, a high-quality resource pool, and a cost-effective resource pool for user selection based on the score of each candidate resource pool in five dimensions; the extremely high-quality resource pool is the candidate resource pool with the highest comprehensive score in computing power dimension, network dimension, and scalability dimension among N candidate resource pools; the high-quality resource pool can be the candidate resource pool with the highest comprehensive score in computing power dimension, network dimension, scalability dimension, green energy-saving dimension, and cost dimension among N candidate resource pools; the cost-effective resource pool is the candidate resource pool with the highest score in cost dimension among N candidate resource pools.
[0105] Step 309: Acquire the target resource pool selected by the user.
[0106] Exemplarily, the user can select a target resource pool from the extremely high-quality resource pool, the high-quality resource pool, and the cost-effective resource pool, and submit the selection to the system. At this time, the system can obtain the target resource pool selected by the user.
[0107] Step 310: Perform data configuration on the target resource pool.
[0108] Exemplarily, the system may configure computing power data and network data for the target resource pool.
[0109] Step 311: Allocate the target resource pool and SRV6 channel to the user, and end this process.
[0110] Exemplarily, after completing the data configuration, the system allocates the target resource pool and the SRV6 channel to the user, and ends this process.
[0111] It can be seen that the embodiment of the present application determines the scores of each candidate resource pool in five different dimensions, so that the determined extremely high-quality resource pool, high-quality resource pool and cost-effective resource pool can balance the user's own needs and the effective utilization of the resource pool provided by the computing power resource provider, thereby solving the problem of poor selection effect caused by users' independent selection of resource pools. At the same time, it can alleviate the problems of tight computing power resources in the east and insufficient computing power demand in the west, and effectively improve the resource pool utilization rate of computing power resource providers.
[0112] Figure 4 Schematic diagram of the composition structure of the resource pool allocation device in the embodiment of the present application. Figure 4 As shown, the device includes: an acquisition module 40, a screening module 41, a scoring module 42 and a determination module 43, wherein:
[0113] An acquisition module 40 is used to obtain the computing power demand information and resource pool set of the user;
[0114] A screening module 41 is used to screen the resource pool set according to the computing power demand information to obtain a first resource pool set;
[0115] A scoring module 42 is used to score each first resource pool in the first resource pool set in multiple first dimensions to obtain a score of each first resource pool in the multiple first dimensions; the multiple first dimensions include: at least two of a computing power dimension, a network dimension, a scalability dimension, a green energy-saving dimension, and a cost dimension;
[0116] The determination module 43 is configured to determine a target resource pool to be allocated to the user from the set of first resource pools according to the scores of each first resource pool under multiple first dimensions.
[0117] In some embodiments, when the multiple first dimensions include the scalability dimension and the green energy-saving dimension, the determining module 43 is further configured to:
[0118] According to the scores of each of the first resource pools under the multiple first dimensions, the first resource pool set is screened to obtain a second resource pool set;
[0119] Scoring each second resource pool in the second resource pool set in multiple second dimensions to obtain scores of each second resource pool in the multiple second dimensions; the multiple second dimensions include at least one of the computing power dimension, the network dimension, and the cost dimension;
[0120] According to the scores of each second resource pool under the multiple first dimensions and the multiple second dimensions, a target resource pool allocated to the user is determined from the set of second resource pools.
[0121] In some embodiments, the determining module 43 is further configured to:
[0122] Sorting the scores of the first resource pools in the first resource pool set under the multiple first dimensions in order from largest to smallest to obtain a sorting result;
[0123] A preset number of first resource pools that are ranked in front of the sorting result are determined as the second resource pool set.
[0124] In some embodiments, the determining module 43 is further configured to:
[0125] Obtaining user level information; determining respective weights of the plurality of first dimensions and the plurality of second dimensions according to the user level information and the computing power requirement information;
[0126] Using the respective weights of the multiple first dimensions and the multiple second dimensions, weighted summation is performed on the scores of each second resource pool under the multiple first dimensions and the multiple second dimensions to obtain a fusion score of each second resource pool;
[0127] According to the scores of each second resource pool in the multiple first dimensions and the multiple second dimensions, and the fusion score, a target resource pool to be allocated to the user is determined from the set of second resource pools.
[0128] In some embodiments, the determining module 43 is further configured to:
[0129] Determine a plurality of resource pools to be recommended from the set of second resource pools according to the scores of each second resource pool in the plurality of first dimensions and the plurality of second dimensions, and the fusion score, and display the plurality of resource pools to be recommended to the user;
[0130] In response to the selection operation of the user, the to-be-recommended resource pool corresponding to the selection operation is determined as a target resource pool to be allocated to the user.
[0131] In some embodiments, the scoring module 42 is further configured to:
[0132] For each first resource pool in the first resource pool set, respectively determine the scores of the multiple impact factors corresponding to each first dimension;
[0133] According to the scores of the multiple influencing factors corresponding to each first dimension in the multiple first dimensions, the scores of each first resource pool under the multiple first dimensions are determined.
[0134] In some embodiments, the screening module 41 is further configured to:
[0135] Acquire the current location information of the user and the location information of each resource pool in the resource pool set;
[0136] The resource pool set is screened according to the computing power demand information, the current location information and the location information of each resource pool to obtain the first resource pool set.
[0137] In actual applications, the above-mentioned acquisition module 40, screening module 41, scoring module 42 and determination module 43 can all be implemented by a processor located in an electronic device, and the processor can be at least one of ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller, and microprocessor.
[0138] In addition, each functional module in this embodiment can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or software functional modules.
[0139] If the integrated unit is implemented in the form of a software function module and is not sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment is essentially or the part that contributes to the relevant technology or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the method of this embodiment. The aforementioned storage medium includes: a USB flash drive, a mobile hard disk, a ROM, a random access memory (RAM), a disk or an optical disk, and other media that can store program codes.
[0140] Specifically, the computer program instructions corresponding to a resource pool allocation method in this embodiment can be stored on a storage medium such as a CD, a hard disk, or a USB flash drive. When the computer program instructions corresponding to a resource pool allocation method in the storage medium are read or executed by an electronic device, any resource pool allocation method in the aforementioned embodiments is implemented.
[0141] Based on the same technical concept as the above embodiments, see Figure 5 , which shows an electronic device 50 provided in an embodiment of the present application, which may include: a memory 51 and a processor 52; wherein,
[0142] A memory 51, for storing computer programs and data;
[0143] The processor 52 is configured to execute a computer program stored in the memory to implement any one of the resource pool allocation methods in the foregoing embodiments.
[0144] In practical applications, the memory 51 may be a volatile memory, such as RAM; or a non-volatile memory, such as ROM, flash memory, hard disk drive (HDD) or solid-state drive (SSD); or a combination of the above types of memory, and provide instructions and data to the processor 52.
[0145] The processor 52 may be at least one of ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller, and microprocessor. It is understandable that for different resource pool allocation systems, the electronic device used to implement the processor function may also be other, which is not specifically limited in the embodiment of the present application.
[0146] In some embodiments, the embodiments of the present application further provide a computer program product, including a computer program, which implements any one of the resource pool allocation methods of the aforementioned embodiments when executed by a processor.
[0147] In some embodiments, the functions or modules included in the device provided in the embodiments of the present application can be used to execute the method described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments. For the sake of brevity, it will not be repeated here.
[0148] The above description of various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other, and for the sake of brevity, they will not be repeated herein.
[0149] The methods disclosed in the various method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0150] The features disclosed in the various product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0151] The features disclosed in the various method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0152] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.
[0153] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0154] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0155] The above are only preferred embodiments of the present application and are not intended to limit the protection scope of the present application.
Claims
1. A resource pool allocation method, It is characterized in that The method comprises: Obtain the user's computing power demand information and resource pool collection; Filter the resource pool set according to the computing power demand information to obtain a first resource pool set; Scoring each first resource pool in the first resource pool set in multiple first dimensions to obtain scores of each first resource pool in the multiple first dimensions; the multiple first dimensions include: at least two of a computing power dimension, a network dimension, a scalability dimension, a green energy-saving dimension, and a cost dimension; According to the scores of each first resource pool under the multiple first dimensions, a target resource pool allocated to the user is determined from the set of first resource pools.
2. The method according to claim 1, It is characterized in that In a case where the multiple first dimensions include the scalability dimension and the green energy-saving dimension, determining a target resource pool to be allocated to the user from the set of first resource pools according to the scores of each first resource pool under the multiple first dimensions includes: According to the scores of each of the first resource pools under the multiple first dimensions, the first resource pool set is screened to obtain a second resource pool set; Scoring each second resource pool in the second resource pool set in multiple second dimensions to obtain scores of each second resource pool in the multiple second dimensions; the multiple second dimensions include at least one of the computing power dimension, the network dimension, and the cost dimension; According to the scores of each second resource pool under the multiple first dimensions and the multiple second dimensions, a target resource pool allocated to the user is determined from the set of second resource pools.
3. The method according to claim 2, It is characterized in that The first resource pool set is screened according to the score of each first resource pool under multiple first dimensions to obtain a second resource pool set, including: Sorting the scores of the first resource pools in the first resource pool set under the multiple first dimensions in order from largest to smallest to obtain a sorting result; A preset number of first resource pools that are ranked in front of the sorting result are determined as the second resource pool set.
4. The method according to claim 2 or 3, It is characterized in that The step of determining a target resource pool to be allocated to the user from the set of second resource pools according to the scores of each second resource pool under the multiple first dimensions and the multiple second dimensions includes: Obtaining user level information; determining respective weights of the plurality of first dimensions and the plurality of second dimensions according to the user level information and the computing power requirement information; Using the respective weights of the multiple first dimensions and the multiple second dimensions, weighted summation is performed on the scores of each second resource pool under the multiple first dimensions and the multiple second dimensions to obtain a fusion score of each second resource pool; A target resource pool to be allocated to the user is determined from the set of second resource pools according to the scores of each second resource pool in the multiple first dimensions and the multiple second dimensions and the fusion score.
5. The method according to claim 4, It is characterized in that The step of determining a target resource pool to be allocated to the user from the set of second resource pools according to the scores of each second resource pool in the multiple first dimensions and the multiple second dimensions and the fusion score comprises: Determine a plurality of resource pools to be recommended from the set of second resource pools according to the scores of each second resource pool in the plurality of first dimensions and the plurality of second dimensions, and the fusion score, and display the plurality of resource pools to be recommended to the user; In response to the selection operation of the user, the to-be-recommended resource pool corresponding to the selection operation is determined as a target resource pool to be allocated to the user.
6. The method according to claim 1, It is characterized in that Each first dimension corresponds to a plurality of influencing factors, and scoring each first resource pool in the first resource pool set in the plurality of first dimensions to obtain a score of each first resource pool in the plurality of first dimensions includes: For each first resource pool in the first resource pool set, respectively determine the scores of the multiple impact factors corresponding to each first dimension; According to the scores of the multiple influencing factors corresponding to each first dimension in the multiple first dimensions, the scores of each first resource pool under the multiple first dimensions are determined.
7. The method according to claim 1, It is characterized in that The step of screening the resource pool set according to the computing power requirement information to obtain a first resource pool set includes: Acquire the current location information of the user and the location information of each resource pool in the resource pool set; The resource pool set is screened according to the computing power demand information, the current location information and the location information of each resource pool to obtain the first resource pool set.
8. A resource pool allocation device, It is characterized in that The device comprises: The acquisition module is used to obtain the user's computing power demand information and resource pool collection; A screening module, configured to screen the resource pool set according to the computing power demand information to obtain a first resource pool set; A scoring module, configured to score each first resource pool in the first resource pool set in multiple first dimensions to obtain a score of each first resource pool in the multiple first dimensions; the multiple first dimensions include: at least two of a computing power dimension, a network dimension, a scalability dimension, a green energy-saving dimension, and a cost dimension; A determination module is used to determine a target resource pool to be allocated to the user from the set of first resource pools according to the scores of each first resource pool under multiple first dimensions.
9. An electronic device, It is characterized in that The device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the method according to any one of claims 1 to 7 is implemented when the processor executes the program.
10. A computer storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
11. A computer program product comprising a computer program, It is characterized in that The computer program implements the method according to any one of claims 1 to 7 when executed by a processor.
