Resource scheduling method, device, equipment and storage medium

By determining multiple target computing power nodes in the resource scheduling device and calculating their scores, the node with the highest score is selected to provide computing power services for user equipment, which solves the problem of being unable to meet the refined needs of users in the existing technology and achieves accurate Computing resource scheduling and efficient resource utilization.

CN115766876BActive Publication Date: 2024-08-23CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211466488.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-22
Publication Date
2024-08-23
Estimated Expiration
2042-11-22

AI Technical Summary

Technical Problem

Existing computing resource scheduling methods cannot meet the refined needs of users and cannot provide accurate computing resource scheduling, especially when users have richer and more diverse demands for computing power networks.

Method used

The resource scheduling device responds to the scheduling request of the user equipment, determines multiple target computing power nodes, determines the scheduling strategy according to multiple indicators in the scheduling request, calculates the target score of each target computing power node, and selects the first target score or the third target computing power node. The node with the highest two-objective score provides computing power services for user devices.

Benefits of technology

It achieves refined computing resource scheduling for user equipment, ensuring that user equipment obtains computing power services that meet their needs, and improves resource utilization efficiency and response accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115766876B
    Figure CN115766876B
Patent Text Reader

Abstract

The present application proposes a resource scheduling method, device, equipment and storage medium, which relates to the field of communication technology, and is used to determine the computing power node with the highest adaptability to the scheduling request of the user device, and provide computing power services for the user device. The method includes: the resource scheduling device responds to the scheduling request of the computing power resources initiated by the user device, and determines multiple target computing power nodes; according to the scheduling request, determines the scheduling strategy for scheduling computing power resources. Furthermore, when the scheduling strategy includes a sub-scheduling strategy, the resource scheduling device determines the first target score of each target computing power node in the multiple target computing power nodes according to the multiple indicators corresponding to the sub-scheduling strategy. Finally, the resource scheduling device determines the computing power node to be scheduled; the computing power node to be scheduled is the target computing power node with the largest first target score among the multiple target computing power nodes, and the computing power node to be scheduled is used to provide computing power services for the user device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a resource scheduling method, device, equipment and storage medium. Background Art

[0002] With the development trend of cloud computing and edge computing, in the future society, there will be many different scales of computing power at different distances from users, providing users with various personalized services through the global network. From tens of billions of smart terminals, to billions of home gateways around the world, to thousands of edge clouds with computing power in each city brought by future edge computing, and dozens of large cloud data centers of operators, a massive amount of ubiquitous computing power will be connected to the Internet from everywhere, forming a development trend of deep integration of computing and network.

[0003] In the scenario of computing power resource scheduling in the prior art, operators usually schedule computing power resources based on a single requirement put forward by users. With the development of computing power network technology and services, users' demands for computing power networks have become richer and more refined. The computing power resource scheduling method under the existing computing power network cannot provide accurate computing power resource scheduling based on user needs. Summary of the invention

[0004] The present application proposes a resource scheduling method, apparatus, device and storage medium for determining a computing power node that is most compatible with a scheduling request of a user device and providing computing power services for the user device.

[0005] In a first aspect, a resource scheduling method is provided, the method comprising: a resource scheduling device determines a plurality of target computing power nodes in response to a scheduling request for computing power resources initiated by a user device; the computing power capacity of the target computing power node can meet the computing power demand in the scheduling request. And the resource scheduling device determines a scheduling strategy for scheduling computing power resources according to the scheduling request, the scheduling strategy includes at least one sub-scheduling strategy, and the sub-scheduling strategy corresponds to a plurality of indicators. Furthermore, when the scheduling strategy includes a sub-scheduling strategy, the resource scheduling device determines a first target score for each of the plurality of target computing power nodes according to the plurality of indicators corresponding to the sub-scheduling strategy. Finally, the resource scheduling device determines a computing power node to be scheduled; the computing power node to be scheduled is a target computing power node with the largest first target score among the plurality of target computing power nodes, and the computing power node to be scheduled is used to provide computing power services for the user device.

[0006] In the resource scheduling method provided in the present application, the resource scheduling device first determines a target computing power node whose computing power capacity can meet the computing power demand in the user device scheduling request, and determines a scheduling strategy for scheduling computing power resources based on the scheduling request, determines a first target score for each target computing power node based on multiple indicators included in the scheduling strategy, determines the target computing power node with the highest first target score as the computing power node to be scheduled, and provides computing power services for the user device based on the computing power node to be scheduled to meet the user's refined needs.

[0007] In one possible design, the resource scheduling device determines the first target score of each target computing power node among the multiple target computing power nodes according to the multiple indicators corresponding to the sub-scheduling strategy, including: the resource scheduling device determines the indicator weights of the multiple indicators in the scheduling request; and determines the multiple indicator scores corresponding to each target computing power node according to each of the multiple indicators. Further, the resource scheduling device determines the first target score of each target computing power node according to the multiple indicator scores and indicator weights corresponding to each target computing power node. This design achieves a more accurate response to the scheduling request of the user device and scheduling of computing power resources for the user device when the indicator weights are carried in the scheduling request.

[0008] In one possible design, when the scheduling strategy includes multiple sub-scheduling strategies, the resource scheduling device determines the computing power node to be scheduled, including: the resource scheduling device determines multiple first target scores corresponding to each target computing power node according to multiple indicators corresponding to each sub-scheduling strategy in the multiple sub-scheduling strategies. Furthermore, the resource scheduling device determines the second target score of each target computing power node according to the multiple first target scores corresponding to each target computing power node. Finally, the resource scheduling device determines the computing power node to be scheduled, and the computing power node to be scheduled is the target computing power node with the largest second target score among the multiple target computing power nodes. This design implements the situation where the scheduling request initiated by the user device includes multiple sub-scheduling strategies, and determines the computing power node with the highest adaptability to the scheduling request to provide computing power services to the user.

[0009] In one possible design, the resource scheduling device determines the second target score of each target computing power node based on the multiple first target scores corresponding to each target computing power node, including: the resource scheduling device determines the policy weights of the multiple sub-scheduling policies in the scheduling request. Further, the resource scheduling device determines the second target score of each target computing power node based on the multiple first target scores and policy weights corresponding to each target computing power node. This design provides an implementation method for a resource scheduling device to determine the second target score of a target computing power node, which can meet the scheduling request proposed by a user device.

[0010] In a second aspect, a resource scheduling device is provided, comprising an acquisition unit and a determination unit. The acquisition unit is used to acquire a scheduling request for computing power resources initiated by a user device. The determination unit is used to determine multiple target computing power nodes in response to the scheduling request; the computing power capacity of the target computing power node can meet the computing power demand in the scheduling request. The determination unit is also used to determine a scheduling strategy for scheduling computing power resources according to the scheduling request, the scheduling strategy including at least one sub-scheduling strategy, and the sub-scheduling strategy corresponds to multiple indicators. The determination unit is also used to determine the first target score of each target computing power node in the multiple target computing power nodes according to the multiple indicators corresponding to the sub-scheduling strategy when the scheduling strategy includes a sub-scheduling strategy. The determination unit is also used to determine the computing power node to be scheduled; the computing power node to be scheduled is the target computing power node with the largest first target score among the multiple target computing power nodes, and the computing power node to be scheduled is used to provide computing power services for the user device.

[0011] In one possible design, a determination unit is specifically used to determine the indicator weights of multiple indicators in a scheduling request; based on each of the multiple indicators, multiple indicator scores corresponding to each target computing power node are determined; based on the multiple indicator scores and indicator weights corresponding to each target computing power node, a first target score for each target computing power node is determined.

[0012] In one possible design, the determination unit is also used to determine multiple first target scores corresponding to each target computing power node based on multiple indicators corresponding to each sub-scheduling strategy in multiple sub-scheduling strategies; determine the second target score of each target computing power node based on the multiple first target scores corresponding to each target computing power node; and determine the computing power node to be scheduled, which is the target computing power node with the largest second target score among the multiple target computing power nodes.

[0013] In one possible design, the determination unit is specifically used to determine the policy weights of multiple sub-scheduling policies in the scheduling request; and determine the second target score of each target computing power node based on multiple first target scores and policy weights corresponding to each target computing power node.

[0014] In a third aspect, a resource scheduling device is provided, which includes a memory and a processor; the memory and the processor are coupled, the memory is used to store computer program code, the computer program code includes computer instructions, and when the processor executes the computer instructions, the resource scheduling device executes the resource scheduling method provided in the first aspect or any possible design thereof.

[0015] In a fourth aspect, a computer-readable storage medium is provided, in which instructions are stored. When the instructions are executed on a resource scheduling device, the resource scheduling device executes the resource scheduling method provided in the first aspect or any possible implementation thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 A schematic diagram of a resource scheduling system structure provided for an embodiment of the present application;

[0017] Figure 2 A resource scheduling method process diagram provided for an embodiment of the present application Figure 1 ;

[0018] Figure 3 A schematic diagram of a scheduling strategy structure provided for an embodiment of the present application;

[0019] Figure 4 A resource scheduling method process diagram provided for an embodiment of the present application Figure 2 ;

[0020] Figure 5 A resource scheduling method process diagram provided for an embodiment of the present application Figure 3 ;

[0021] Figure 6 A resource scheduling method process diagram provided for an embodiment of the present application Figure 4 ;

[0022] Figure 7 A schematic diagram of the structure of a resource scheduling device provided in an embodiment of the present application;

[0023] Figure 8 A schematic diagram of a resource scheduling device structure provided in an embodiment of the present application Figure 1 ;

[0024] Fig. 9 A schematic diagram of a resource scheduling device structure provided in an embodiment of the present application Figure 2 . DETAILED DESCRIPTION

[0025] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0026] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0027] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" and "plurality" refer to two or more. The words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be different.

[0028] In the scenario of computing power resource scheduling in the prior art, operators usually schedule computing power resources based on a single requirement put forward by users. With the development of computing power network technology and services, users' demands for computing power networks have become richer and more refined. The computing power resource scheduling method under the existing computing power network cannot provide accurate computing power resource scheduling based on user needs.

[0029] To solve the above problems, the present application proposes a resource scheduling method, device, equipment and storage medium. The resource scheduling device determines multiple target computing power nodes in response to the scheduling request of computing power resources initiated by the user device; the computing power capacity of the target computing power node can meet the computing power demand in the scheduling request. And the resource scheduling device determines the scheduling strategy for scheduling computing power resources according to the scheduling request, and the scheduling strategy includes at least one sub-scheduling strategy, and the sub-scheduling strategy corresponds to multiple indicators. Furthermore, when the scheduling strategy includes a sub-scheduling strategy, the resource scheduling device determines the first target score of each target computing power node among the multiple target computing power nodes according to the multiple indicators corresponding to the sub-scheduling strategy. Finally, the resource scheduling device determines the computing power node to be scheduled; the computing power node to be scheduled is the target computing power node with the largest first target score among the multiple target computing power nodes, and the computing power node to be scheduled is used to provide computing power services for the user device. In this way, in the resource scheduling method provided in the present application, the resource scheduling device first determines the target computing power node whose computing power capacity can meet the computing power demand in the user device scheduling request, and determines the scheduling strategy for scheduling computing power resources based on the scheduling request, determines the first target score of each target computing power node based on multiple indicators included in the scheduling strategy, determines the target computing power node with the highest first target score as the computing power node to be scheduled, and provides computing power services for the user device based on the computing power node to be scheduled to meet the user's refined needs.

[0030] Figure 1 A resource scheduling system is shown. The resource scheduling method provided in the embodiment of the present application can be applied to Figure 1 The resource scheduling system shown is used to determine the computing power node with the highest adaptability to the scheduling request of the user equipment and provide computing power services for the user equipment. Figure 1As shown, the resource scheduling system 10 includes a resource scheduling device 11, an access device A12, an access device B13, an access device C14, a computing power node A15, a computing power node B16, a user device 17, a network controller 18, and a computing network brain 19.

[0031] Among them, the resource scheduling device 11 and the computing network brain 19 are integrated into the same device, and the computing network brain 19 can be used to execute the actions executed by the resource scheduling device 11. The above resource scheduling method can be applied to the resource scheduling device 11 and can also be applied to the computing network brain 19. In order to more clearly introduce the interaction process between the various devices, the embodiment of the present application takes the above resource scheduling method applied to the resource scheduling device 11 as an example to illustrate the above resource scheduling method.

[0032] The resource scheduling device 11 is connected to the network controller 18 and the computing network brain 19, and is respectively connected to the access device A12, the access device B13, and the access device C14 through the network controller 18; the computing power node A15 accesses the operator's computing power network through the access device A12, the computing power node B16 accesses the operator's computing power network through the access device B13, and the user device 17 accesses the operator's computing power network through the access device C14.

[0033] It should be noted that the above-mentioned resource scheduling system only shows 3 access devices, 2 computing nodes and 1 user device as an example, which does not constitute a limitation on the number of access devices, computing nodes and user devices. The connection relationship between the above-mentioned devices can be connected by wire or by wireless, and the embodiment of the present application does not make specific limitations on this.

[0034] The user device 17 may be configured to generate a scheduling request for computing resources in response to a computing service input by a user on the user device.

[0035] The user equipment 17 can also be used to report the scheduling request to the operator's computing power network through the access device C14 after generating a scheduling request for computing power resources.

[0036] The resource scheduling device 11 can be used to obtain a scheduling request for computing resources initiated by the user equipment 17 through the access device C14 from the operator's computing network through the network controller 18.

[0037] The resource scheduling device 11 can also be used to query and screen target computing power nodes that can meet the computing power requirements in the scheduling request through the computing power brain 19.

[0038] The resource scheduling device 11 can also be used to determine a scheduling strategy for scheduling computing resources according to a scheduling request, and determine a computing node to be scheduled for providing computing services to the user equipment based on the scheduling strategy.

[0039] In some embodiments, if the determined computing power node is computing power node A15, the resource scheduling device schedules computing power node A15 to provide computing power services for user equipment 17, and user equipment 17 sends computing power services / computing power applications to computing power node A15 through access device C14 and access device A12, and computing power node A15 executes the received computing power services / computing power applications.

[0040] Figure 2 is a flow chart of a resource scheduling method according to some exemplary embodiments. In some embodiments, the resource scheduling method can be applied to Figure 1 The resource scheduling device 11 in the resource scheduling system 10 is shown. In the following, the resource scheduling method is described by taking the resource scheduling method applied to the resource scheduling device 11 as an example in the embodiment of the present application.

[0041] like Figure 2 As shown, the resource scheduling method provided in the embodiment of the present application includes the following S201-S205.

[0042] S201. The resource scheduling device obtains a scheduling request for computing resources initiated by a user device.

[0043] As a possible implementation method, the user device responds to the computing power service input by the user on the user device, and initiates a scheduling request for computing power resources based on an access device that accesses the operator's computing power network.

[0044] Correspondingly, the resource scheduling device obtains the scheduling request for computing resources initiated by the user equipment based on the network controller connected to the access device.

[0045] In some embodiments, the scheduling request for computing resources initiated by the user device includes the device identification of the user device, the device identification of the access device, the computing power requirement, the computing power resource scheduling time period, and the description information of the computing power node providing the computing power service. Among them, the computing power requirement is used to indicate the computing power capacity requirement of the user device for the computing power node providing the computing power service; the description information of the computing power node can be exemplarily the cost, performance, reliability, efficiency, energy consumption, etc.

[0046] Exemplarily, the user can input the computing power service on the user device by typing on the keyboard, or by clicking and inputting by mouse or screen touch, which is not specifically limited in the embodiments of the present application. For example, the user can select the computing power resource scheduling time period on the user device, such as 8:00-9:00; input the computing power capacity requirement for the computing power node, such as 10GOPS (1 billion operations per second); and select the description of the computing power node, such as low cost, moderate performance, low energy consumption, etc.

[0047] S202. The resource scheduling device determines multiple target computing nodes in response to a scheduling request for computing resources initiated by a user device.

[0048] Among them, the computing capacity of the target computing power node can meet the computing power requirements in the scheduling request.

[0049] As a possible implementation method, the resource scheduling device first determines whether the user equipment has a computing power service business based on the equipment identifier of the user equipment in the scheduling request.

[0050] Further, after determining that the user device has applied for the computing power service business, the resource scheduling device determines the computing power node connected to the access device based on the device identifier of the access device in the scheduling request.

[0051] Furthermore, the resource scheduling device calls the computing power brain to query the computing power nodes connected to the access device and the computing power capacity during the computing power resource scheduling time period.

[0052] Furthermore, the resource scheduling device determines, from the computing nodes connected to the access device, a computing node that can provide computing capacity that at least meets the computing demand during the resource scheduling period based on the computing demand of the access device in the scheduling request and the computing resource scheduling period. Finally, the resource scheduling device determines the determined computing node as the target computing node.

[0053] In some embodiments, if the resource scheduling device determines that the user equipment has not processed the computing power service business, the resource scheduling device rejects the scheduling request for computing power resources initiated by the user equipment, and sends a confirmation message to the user equipment through the network controller indicating the reason for the failure of computing power resource scheduling and whether to process the computing power service business.

[0054] Exemplarily, if in the scheduling request for computing resources initiated by the user device, the device identifier of the user device is user device A, the device identifier of the access device is access device A, the computing power requirement is at least 5GOPS, and the computing power resource scheduling time period is 15:00-15:30. The resource scheduling device first queries whether user device A is included based on the list of user devices that handle computing power services. Further, the resource scheduling device queries the computing power node connected to access device A based on the network controller. Further, the resource scheduling device queries the computing power capacity of the computing power node connected to access device A from 15:00 to 15:30. Finally, the resource scheduling device determines that the computing power node that can provide 5GOPS computing power from 15:00 to 15:30 is the target computing power node.

[0055] S203: The resource scheduling device determines a scheduling strategy for scheduling computing resources according to the scheduling request.

[0056] The scheduling strategy includes at least one sub-scheduling strategy, and the sub-scheduling strategy corresponds to multiple indicators.

[0057] As a possible implementation method, after obtaining the scheduling request initiated by the user equipment, the resource scheduling device determines the indicator corresponding to the scheduling request through text recognition technology based on the description information of the computing power node providing computing power services included in the scheduling request. Further, the resource scheduling device determines the sub-scheduling strategy corresponding to the scheduling request based on the indicator corresponding to the determined scheduling request and the correspondence between each sub-scheduling strategy and the indicator, and the sub-scheduling strategy is combined into a scheduling strategy for scheduling computing power resources.

[0058] It should be noted that the correspondence between the sub-scheduling strategies and the indicators can be set in advance in the resource scheduling device by the operation and maintenance personnel of the resource scheduling system, and the embodiments of the present application do not specifically limit this.

[0059] For example, the structural relationship between the scheduling strategy, the sub-scheduling strategy and the indicator can be as follows: Figure 3 As shown, the scheduling strategy includes at least one sub-scheduling strategy, and the sub-scheduling strategy includes multiple indicators.

[0060] Exemplarily, the corresponding relationship between the sub-scheduling strategies and the indicators can be shown in the following Table 1.

[0061] Table 1: Correspondence between sub-scheduling strategies and indicators

[0062]

[0063] For example, if the computing power resource scheduling request initiated by the user device contains the following description information about the computing power node providing computing power services: low latency, low cost, and sufficient available computing power resources. The resource scheduling device identifies the indicators corresponding to the scheduling request as latency, cost, and available computing power resources based on the text recognition technology. Furthermore, the resource scheduling device determines the scheduling strategy that needs to adopt a combination of a performance priority sub-scheduling strategy and a cost priority sub-scheduling strategy based on the corresponding relationship between the sub-scheduling strategy and the indicator.

[0064] For example, if the user only puts forward the requirement for reliability in the scheduling request of computing resources initiated by the user equipment due to the importance of computing business, the resource scheduling device determines that a single sub-scheduling strategy with reliability priority needs to be adopted as the scheduling strategy to schedule computing resources.

[0065] S204: When the scheduling strategy includes a sub-scheduling strategy, the resource scheduling device determines a first target score for each target computing power node among the multiple target computing power nodes according to multiple indicators corresponding to the sub-scheduling strategy.

[0066] As a possible implementation method, the resource scheduling device determines multiple indicators corresponding to the sub-scheduling strategy based on the corresponding relationship between the sub-scheduling strategy and the indicator, based on the case where the scheduling strategy determined in the above step S203 includes a sub-scheduling strategy. Further, the resource scheduling device determines the indicator score of each target computing power node corresponding to each indicator in the multiple indicators for each target computing power node among the multiple target computing power nodes. Finally, the resource scheduling device determines the first target score of each target computing power node based on the preset indicator weight and the indicator score of each indicator, and obtains multiple first target scores corresponding to the target computing power nodes one by one.

[0067] It should be noted that the preset indicator weights can be set in advance in the resource scheduling device by the operation and maintenance personnel of the resource scheduling system, and the embodiments of the present application do not specifically limit this.

[0068] Exemplarily, if the sub-scheduling strategy determined by the resource scheduling device is reliability priority, multiple target computing nodes include computing node A, computing node B and computing node C, and the access device connected to the user device has three optional circuit paths to computing node A, namely A1, A2 and A3; the access device connected to the user device has two optional circuit paths to computing node B, namely B1 and B2; the access device connected to the user device has three optional circuit paths to computing node C, namely C1, C2 and C3.

[0069] The resource scheduling device first determines the node reliability index data of computing power node A, computing power node B and computing power node C, as well as the path reliability index data of each circuit path based on the computing network brain, and obtains the scheduling plan of computing power node + circuit path as shown in the following table.

[0070] Table 2: Scheduling scheme for computing nodes + circuit paths

[0071] Scheduling plan Target computing power node Node reliability Path number Path reliability 1 A 0.8 A1 0.8 2 A 0.8 A2 0.6 3 A 0.8 A3 0.3 4 B 0.6 B1 0.8 5 B 0.6 B2 0.9 6 C 0.4 C1 0.7 7 C 0.4 C2 0.5 8 C 0.4 C3 0.9

[0072] Furthermore, the resource scheduling device determines the index score of the target computing power node, the normalized index score of the circuit path, and the first target score of the target computing power node when the preset index weight is 50% each based on the node reliability data of each target computing power node and the reliability data of each circuit path.

[0073] Table 3: Index scores and first target score table

[0074]

[0075]

[0076] It should be noted that how the resource scheduling device specifically determines the indicator score of the target computing power node corresponding to each of the multiple indicators can be referred to the records in the subsequent embodiments of this application, and will not be repeated here.

[0077] S205. The resource scheduling device determines the computing power nodes to be scheduled.

[0078] Among them, the computing power node to be scheduled is the target computing power node with the largest first target score among multiple target computing power nodes, and the computing power node to be scheduled is used to provide computing power services for user devices.

[0079] As a possible implementation method, the resource scheduling device determines the target computing power node corresponding to the score ranking of each scheduling scheme determined in the above step S204 as the computing power node to be scheduled, and provides computing power services to the user equipment based on the circuit path corresponding to the score ranking of 1 through the computing power node to be scheduled. The scheduling scheme corresponding to the score ranking of 1 is the optimal scheduling scheme that can meet the scheduling request of the user equipment.

[0080] Exemplarily, taking Table 3 in step S204 of the above embodiment as an example, the resource scheduling device determines that the target computing power node corresponding to the score ranking of 1 is the target computing power node A, and the path number of the circuit path is 1. Further, the resource scheduling device provides computing power services for the user equipment with the scheduling scheme of target computing power node A+circuit path A1.

[0081] In one design, in order to more accurately respond to the scheduling request of the user equipment and schedule computing resources for the user equipment, the resource scheduling method provided in the embodiment of the present application is as follows: Figure 4 As shown, it also includes S301-S303.

[0082] S301. The resource scheduling device determines the indicator weights of multiple indicators in a scheduling request.

[0083] As a possible implementation manner, the resource scheduling device obtains the indicator weight of each indicator among the multiple indicators according to the parsed scheduling request.

[0084] Exemplarily, the sub-scheduling strategy included in the scheduling request is performance priority, in which the circuit delay weight accounts for 50%, the available computing power resource weight accounts for 30%, and the circuit jitter weight accounts for 20%. Then the resource scheduling device can determine the indicator weight of each indicator in the multiple indicators based on the scheduling request.

[0085] S302. The resource scheduling device determines multiple indicator scores corresponding to each target computing power node based on each indicator in the multiple indicators.

[0086] As a possible implementation method, the resource scheduling device determines the indicator data of each target computing power node corresponding to each indicator based on the indicator data of each target computing power node for each indicator, and then obtains multiple indicator data corresponding to the target computing power node and each indicator.

[0087] It should be noted that the resource scheduling device determines the indicator data of each target computing power node for each indicator, and determines the target computing power node with the best indicator data as 100 points as the benchmark score. Further, the resource scheduling device determines the indicator score of each target computing power node based on the best indicator data and the indicator data of other target computing power nodes.

[0088] For example, if the value of the optimal indicator data is a, the value of the indicator data for which the indicator score is to be calculated is x, and the indicator score is Q. In the case where the smaller the indicator data, the better, the following formula can be used for calculation:

[0089] Q=a / x*100

[0090] In the case where the larger the indicator data, the better, the following formula can be used for calculation:

[0091] Q=x / a*100

[0092] For example, taking the node fee indicator as an example, if the unit computing power usage fee of computing power node 1 is 1,000 yuan, the unit computing power usage fee of computing power node 2 is 1,250 yuan, and the unit computing power usage fee of computing power node 3 is 1,500 yuan, then the score of computing power node 1 is 100 points, the score of computing power node 2 is [1000 / 1250*100]=80 points, and the score of computing power node 3 is [1000 / 1500*100]=67 points.

[0093] Taking the latency indicator as an example, if there are three optional circuit paths from the access device corresponding to the user device to the target computing power node, and the path latency is 4ms, 5ms, and 6ms respectively, then the score of path 1 is 100 points, the score of path 2 is [4 / 5*100] = 80 points, and the score of path 3 is [4 / 6*100] = 67 points. Similarly, if there are multiple optional circuit paths from the access device corresponding to the user device to multiple computing power nodes, then the resource scheduling device uses the circuit path with the shortest latency as the full score benchmark of 100 points, and the other circuit paths are scored according to this algorithm.

[0094] Taking the energy consumption index as an example, if the PUE of computing power node 1 is 1.2, the PUE of computing power node 2 is 1.3, and the PUE of computing power node 3 is 1.5, then the PUE score of computing power node 3 is 100 points, the PUE score of computing power node 1 is [1.2 / 1.5*100]=80 points, and the PUE score of computing power node 2 is [1.3 / 1.5*100]=92 points.

[0095] It should be noted that the index scores of other indicators can refer to the records of the above embodiments, and will not be repeated here.

[0096] S303. The resource scheduling device determines a first target score for each target computing power node based on multiple indicator scores and indicator weights corresponding to each target computing power node.

[0097] As a possible implementation method, the resource scheduling device calculates the first target score of each target computing power node based on the indicator weight determined in the above step S301 and the multiple indicator scores corresponding to the indicator of each target computing power node determined in the above step S302.

[0098] Exemplarily, if the scheduling request determined by the resource scheduling device includes three indicators, the indicator scores of the target computing power node are a, b, and c, respectively, and the weight ratios of each indicator are x, y, and z, respectively, then the resource scheduling device determines that the first target score of the target computing power node is ax+by+cz.

[0099] In one design, in order to meet the user's demand for computing power services when a scheduling request initiated by a user device includes multiple sub-scheduling strategies, an embodiment of the present application provides a resource scheduling method, such as Figure 5 As shown, it also includes S401-S403.

[0100] S401. The resource scheduling device determines multiple first target scores corresponding to each target computing power node according to multiple indicators corresponding to each sub-scheduling strategy in multiple sub-scheduling strategies.

[0101] As a possible implementation method, the resource scheduling device determines each target computing power node, determines a first target score of the target computing power node based on multiple indicators corresponding to each sub-scheduling strategy in multiple sub-scheduling strategies, and obtains multiple first target scores corresponding one-to-one to the sub-scheduling strategies.

[0102] It should be noted that the resource scheduling device determines the first target score of each target computing power node based on the multiple indicators corresponding to each sub-scheduling strategy. Please refer to the records in step S204 or step S303 in the above embodiments of the present application, and will not be repeated here.

[0103] S402. The resource scheduling device determines a second target score for each target computing power node based on multiple first target scores corresponding to each target computing power node.

[0104] As a possible implementation method, the resource scheduling device calculates the second target score of each target computing power node based on the preset weight of each sub-scheduling strategy in multiple sub-scheduling strategies and the first target score corresponding to each sub-scheduling strategy.

[0105] As another possible implementation, the resource scheduling device adds up the first target scores corresponding to each sub-scheduling strategy in the multiple sub-scheduling strategies, and determines the obtained sum as the second target score of each target computing power node.

[0106] It should be noted that the preset weight of each sub-scheduling strategy can be set in advance in the resource scheduling device by the operation and maintenance personnel of the resource scheduling system, and the embodiment of the present application does not specifically limit this.

[0107] For example, if the multiple sub-scheduling strategies include sub-scheduling strategy A and sub-scheduling strategy B, the preset weights are both 50%, the first target score corresponding to sub-scheduling strategy A is 90, and the first target score corresponding to sub-scheduling strategy B is 80. Then the resource scheduling device determines the second target score as 90*50%+80*50%=85 based on the preset weight and the first target score.

[0108] If the second target score is determined by the second implementation method, the resource scheduling device determines the second target score to be 90+80=170.

[0109] S403: The resource scheduling device determines the computing power nodes to be scheduled.

[0110] Among them, the computing power node to be scheduled is the target computing power node with the largest second target score among multiple target computing power nodes.

[0111] As a possible implementation method, the resource scheduling device determines the target computing power node with the largest second target score as the computing power node to be scheduled based on the size of the second target score of each target computing power node among multiple target computing power nodes, and provides computing power services for the user equipment based on the computing power node to be scheduled.

[0112] In one design, in order to more accurately respond to the scheduling request of the user equipment and schedule computing resources for the user equipment, the resource scheduling method provided in the embodiment of the present application is as follows: Figure 6 As shown, it also includes S501-S502.

[0113] S501: The resource scheduling device determines the policy weights of multiple sub-scheduling policies in a scheduling request.

[0114] As a possible implementation manner, the resource scheduling device obtains the policy weight of each sub-scheduling policy in the multiple sub-scheduling policies according to parsing the scheduling request.

[0115] Exemplarily, the scheduling request includes sub-scheduling policy A, sub-scheduling policy B and sub-scheduling policy C, and the weight of sub-scheduling policy A is 50%, the weight of sub-scheduling policy A is 30%, and the weight of sub-scheduling policy C is 20%. Based on the scheduling request, the resource scheduling device can determine the policy weight of each sub-scheduling policy in the multiple sub-scheduling policies.

[0116] S502. The resource scheduling device determines the second target score of each target computing power node according to the multiple first target scores and policy weights corresponding to each target computing power node.

[0117] As a possible implementation method, the resource scheduling device calculates the second target score of each target computing power node based on the policy weight determined in the above step S501 and the multiple first target scores of each target computing power node corresponding to the multiple sub-scheduling strategies determined in the above step S302.

[0118] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to realize the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiment disclosed herein, the embodiment of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0119] The embodiment of the present application can divide the functional modules of the user equipment according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. Optionally, the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0120] Figure 7 Schematic diagram of a resource scheduling device provided in an embodiment of the present application. The resource scheduling device is used to execute the above resource scheduling method. Figure 7 As shown, the resource scheduling device 60 includes an acquiring unit 601 and a determining unit 602 .

[0121] The acquisition unit 601 is used to acquire a scheduling request for computing resources initiated by a user device. Figure 2As shown, the acquisition unit 601 can be used to execute S201.

[0122] The determination unit 602 is used to determine multiple target computing nodes in response to the scheduling request; the computing capacity of the target computing nodes can meet the computing power requirements in the scheduling request. Figure 2 As shown, the determining unit 602 can be used to execute S202.

[0123] The determination unit 602 is further configured to determine a scheduling strategy for scheduling computing resources according to the scheduling request, wherein the scheduling strategy includes at least one sub-scheduling strategy, and the sub-scheduling strategy corresponds to multiple indicators. Figure 2 As shown, the determining unit 602 can be used to execute S203.

[0124] The determining unit 602 is further configured to determine, when the scheduling strategy includes a sub-scheduling strategy, a first target score for each target computing power node in the multiple target computing power nodes according to multiple indicators corresponding to the sub-scheduling strategy. Figure 2 As shown, the determining unit 602 can be used to execute S204.

[0125] The determining unit 602 is further used to determine a computing power node to be scheduled; the computing power node to be scheduled is a target computing power node with the largest first target score among multiple target computing power nodes, and the computing power node to be scheduled is used to provide computing power services for the user equipment. Figure 2 As shown, the determining unit 602 can be used to execute S205.

[0126] Optional, such as Figure 7 As shown, in the resource scheduling device 60 provided in the embodiment of the present application, the determining unit 602 is specifically used to determine the indicator weights of multiple indicators in the scheduling request. Figure 4 As shown, the determining unit 602 can be used to execute S301.

[0127] According to each of the multiple indicators, multiple indicator scores corresponding to each target computing power node are determined. Figure 4 As shown, the determining unit 602 can be used to execute S302.

[0128] According to the multiple indicator scores and indicator weights corresponding to each target computing power node, the first target score of each target computing power node is determined. Figure 4 As shown, the determining unit 602 can be used to execute S303.

[0129] Optional, such as Figure 7As shown, in the resource scheduling device 60 provided in the embodiment of the present application, the determination unit 602 is further used to determine multiple first target scores corresponding to each target computing power node according to multiple indicators corresponding to each sub-scheduling strategy in the multiple sub-scheduling strategies. Figure 5 As shown, the determining unit 602 can be used to execute S401.

[0130] According to the multiple first target scores corresponding to each target computing power node, the second target score of each target computing power node is determined. Figure 5 As shown, the determining unit 602 can be used to execute S402.

[0131] Determine the computing power node to be scheduled, where the computing power node to be scheduled is the target computing power node with the largest second target score among multiple target computing power nodes. Figure 5 As shown, the determining unit 602 can be used to execute S403.

[0132] Optional, such as Figure 7 As shown, in the resource scheduling device 60 provided in the embodiment of the present application, the determination unit 602 is specifically used to determine the policy weights of multiple sub-scheduling policies in the scheduling request. Figure 6 As shown, the determining unit 602 can be used to execute S501.

[0133] According to the multiple first target scores and the strategy weight corresponding to each target computing power node, the second target score of each target computing power node is determined. Figure 6 As shown, the determining unit 602 can be used to execute S502.

[0134] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, the embodiment of the present application provides a possible structural diagram of a resource scheduling device. The resource scheduling device is used to execute the resource scheduling method executed by the resource scheduling device in the above-mentioned embodiment. Figure 8 As shown, the resource scheduling device 70 includes a processor 701, a memory 702 and a bus 703. The processor 701 and the memory 702 may be connected via the bus 703.

[0135] The processor 701 is the control center of the resource scheduling device, which can be a processor or a general term for multiple processing elements. For example, the processor 701 can be a general-purpose central processing unit (CPU) or other general-purpose processors. Among them, the general-purpose processor can be a microprocessor or any conventional processor.

[0136] As an embodiment, the processor 701 may include one or more CPUs, such as Figure 8CPU 0 and CPU 1 are shown in .

[0137] The memory 702 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.

[0138] As a possible implementation, the memory 702 may exist independently of the processor 701, and the memory 702 may be connected to the processor 701 via a bus 703 to store instructions or program codes. When the processor 701 calls and executes the instructions or program codes stored in the memory 702, the resource scheduling method provided in the embodiment of the present application can be implemented.

[0139] In another possible implementation, the memory 702 may also be integrated with the processor 701 .

[0140] The bus 703 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0141] It should be pointed out that Figure 8 The structure shown does not constitute a limitation on the resource scheduling device 70. Figure 8 In addition to the components shown, the resource scheduling device 70 may include Figure 8 More or fewer components, or combinations of certain components, or different arrangements of components may be shown.

[0142] As an example, combining Figure 7 The functions implemented by the acquisition unit 601 and the determination unit 602 in the resource scheduling device 60 are similar to those Figure 8 The function of processor 701 in is the same.

[0143] Optional, such as Figure 8 As shown, the resource scheduling device provided in the embodiment of the present application may further include a communication interface 704 .

[0144] The communication interface 704 is used to connect with other devices through a communication network. The communication network may be Ethernet, wireless access network, wireless local area network (WLAN), etc. The communication interface 704 may include an acquisition unit for receiving data and a sending unit for sending data.

[0145] In one design, in the resource scheduling device provided in an embodiment of the present application, the communication interface can also be integrated into the processor.

[0146] Fig. 9 Another hardware structure of the resource scheduling device in the embodiment of the present application is shown. Fig. 9 As shown, the resource scheduling device 80 may include a processor 801 and a communication interface 802. The processor 801 is coupled to the communication interface 802.

[0147] The functions of the processor 801 may refer to the description of the processor 701. In addition, the processor 801 also has a storage function, which may refer to the function of the memory 702.

[0148] The communication interface 802 is used to provide data to the processor 801. The communication interface 802 may be an internal interface of the resource scheduling device, or an external interface of the resource scheduling device (equivalent to the communication interface 704).

[0149] It should be pointed out that Fig. 9 The structure shown in the figure does not constitute a limitation on the resource scheduling device, except Fig. 9 In addition to the components shown, the resource scheduling device 80 may include more or fewer components than shown, or combine certain components, or arrange the components differently.

[0150] Through the description of the above implementation methods, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above functional units is used as an example. In practical applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the device can be divided into different functional units to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0151] An embodiment of the present application also provides a computer-readable storage medium, in which instructions are stored. When a computer executes the instructions, the computer executes each step in the method flow shown in the above method embodiment.

[0152] An embodiment of the present application provides a computer program product including instructions. When the instructions are executed on a computer, the computer is enabled to execute the resource scheduling method in the above method embodiment.

[0153] Among them, the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, and a hard disk. Random Access Memory (RAM), Read-Only Memory (ROM), Erasable Programmable Read Only Memory (EPROM), registers, hard disks, optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any other form of computer-readable storage medium in a suitable combination of the above, or numerical values ​​in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an Application Specific Integrated Circuit (ASIC). In the embodiments of the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program, which may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0154] Since the apparatus, device computer-readable storage medium, and computer program product in the embodiments of the present application can be applied to the above-mentioned method, the technical effects that can be obtained can also refer to the above-mentioned method embodiments, and the embodiments of the present application will not be repeated here.

[0155] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A resource scheduling method, characterized in that: The method comprises: In response to a scheduling request for computing power resources initiated by a user device, multiple target computing power nodes are determined; the computing power capacity of the target computing power nodes can meet the computing power requirements in the scheduling request; the scheduling request for computing power resources includes: a device identifier of the user device, a device identifier of the access device, the computing power requirements, a computing power resource scheduling time period, and description information of the computing power nodes providing computing power services; the computing power requirements are used to indicate the computing power capacity requirements of the user device for the computing power nodes providing the computing power services; the description information of the computing power nodes includes: cost, performance, reliability, efficiency, and energy consumption; Determine, according to the scheduling request, a scheduling strategy for scheduling computing resources, wherein the scheduling strategy includes at least one sub-scheduling strategy, and the sub-scheduling strategy corresponds to multiple indicators; the sub-scheduling strategy includes: performance priority, utilization priority, cost priority, energy consumption priority, reliability priority, and efficiency priority; After obtaining the scheduling request initiated by the user, based on the description information of the computing power node providing the computing power service included in the scheduling request, determine the indicator corresponding to the scheduling request by using text recognition technology; Based on the determined indicator corresponding to the scheduling request, that is, the corresponding relationship between each of the sub-scheduling strategies and the indicator, determine the sub-scheduling strategy corresponding to the scheduling request; the sub-scheduling strategies are combined into the scheduling strategy for scheduling computing resources; In a case where the scheduling strategy includes a sub-scheduling strategy, determining a first target score for each of the multiple target computing power nodes according to multiple indicators corresponding to the sub-scheduling strategy; Determine a computing power node to be scheduled; the computing power node to be scheduled is a target computing power node with the largest first target score among the multiple target computing power nodes, and the computing power node to be scheduled is used to provide computing power services for the user equipment.

2. The resource scheduling method according to claim 1, characterized in that: The determining, according to the multiple indicators corresponding to the sub-scheduling strategy, a first target score of each target computing power node among the multiple target computing power nodes comprises: Determining indicator weights of the multiple indicators in the scheduling request; Determine, according to each of the multiple indicators, multiple indicator scores corresponding to each target computing power node; The first target score of each target computing power node is determined according to the multiple indicator scores corresponding to each target computing power node and the indicator weight.

3. The resource scheduling method according to claim 1 or 2, characterized in that: In the case where the scheduling strategy includes multiple sub-scheduling strategies, determining the computing power node to be scheduled includes: Determine, according to a plurality of indicators corresponding to each of the plurality of sub-scheduling strategies, a plurality of the first target scores corresponding to each of the target computing power nodes; Determine a second target score for each target computing power node according to the multiple first target scores corresponding to each target computing power node; Determine the computing power node to be scheduled, where the computing power node to be scheduled is the target computing power node with the largest second target score among the multiple target computing power nodes.

4. The resource scheduling method according to claim 3, characterized in that: The determining, according to the plurality of first target scores corresponding to each target computing power node, a second target score of each target computing power node comprises: Determining policy weights of the plurality of sub-scheduling policies in the scheduling request; Determine the second target score of each target computing power node according to the multiple first target scores corresponding to each target computing power node and the policy weight.

5. A resource scheduling device, characterized in that: It includes an acquisition unit and a determination unit; The acquisition unit is used to acquire a scheduling request for computing resources initiated by a user device; The determining unit is used to determine a plurality of target computing power nodes in response to the scheduling request; The computing capacity of the target computing power node can meet the computing power requirement in the scheduling request; The scheduling request for computing power resources includes: the device identification of the user device, the device identification of the access device, the computing power requirement, the computing power resource scheduling time period, and the description information of the computing power node providing the computing power service; the computing power requirement is used to indicate the computing power capacity requirement of the user device for the computing power node providing the computing power service; the description information of the computing power node includes: the cost, performance, reliability, efficiency and energy consumption; The determining unit is further used to determine a scheduling strategy for scheduling computing resources according to the scheduling request, wherein the scheduling strategy includes at least one sub-scheduling strategy, and the sub-scheduling strategy corresponds to multiple indicators; the sub-scheduling strategy includes: performance priority, utilization priority, cost priority, energy consumption priority, reliability priority, and efficiency priority; The determining unit is further configured to, after acquiring the scheduling request initiated by the user, determine the indicator corresponding to the scheduling request by using text recognition technology based on the description information of the computing power node providing the computing power service included in the scheduling request; The determining unit is further configured to determine the sub-scheduling strategy corresponding to the scheduling request based on the indicator corresponding to the determined scheduling request, that is, the corresponding relationship between each of the sub-scheduling strategies and the indicator; the sub-scheduling strategies are combined into the scheduling strategy for scheduling computing resources; The determining unit is further configured to determine, when the scheduling strategy includes a sub-scheduling strategy, a first target score for each target computing power node among the multiple target computing power nodes according to multiple indicators corresponding to the sub-scheduling strategy; The determination unit is further used to determine a computing power node to be scheduled; the computing power node to be scheduled is a target computing power node with the largest first target score among the multiple target computing power nodes, and the computing power node to be scheduled is used to provide computing power services for the user equipment.

6. The resource scheduling device according to claim 5, characterized in that: The determining unit is specifically configured to determine the indicator weights of the multiple indicators in the scheduling request; Determine, according to each of the multiple indicators, multiple indicator scores corresponding to each target computing power node; The first target score of each target computing power node is determined according to the multiple indicator scores corresponding to each target computing power node and the indicator weight.

7. The resource scheduling device according to claim 5 or 6, characterized in that: The determining unit is further configured to determine a plurality of first target scores corresponding to each target computing power node according to a plurality of indicators corresponding to each sub-scheduling strategy in the plurality of sub-scheduling strategies; Determine a second target score for each target computing power node according to the multiple first target scores corresponding to each target computing power node; Determine the computing power node to be scheduled, where the computing power node to be scheduled is the target computing power node with the largest second target score among the multiple target computing power nodes.

8. The resource scheduling device according to claim 7, characterized in that: The determining unit is specifically configured to determine the policy weights of the multiple sub-scheduling policies in the scheduling request; Determine the second target score of each target computing power node according to the multiple first target scores corresponding to each target computing power node and the policy weight.

9. A resource scheduling device, characterized in that: including memory and processor; The memory is coupled to the processor; The memory is used to store computer program code, wherein the computer program code includes computer instructions; When the processor executes the computer instructions, the resource scheduling device executes the resource scheduling method according to any one of claims 1 to 4.

10. A computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, characterized in that: When the instruction is executed on a resource scheduling device, the resource scheduling device executes the resource scheduling method according to any one of claims 1 to 4.