Methods, equipment, devices and storage media for selecting computing nodes
By selecting computing nodes in the computing network based on user type and business request characteristics, the problem of low resource selection efficiency in existing technologies is solved, achieving efficient and targeted selection of computing nodes and improving resource utilization and response speed.
Patent Information
- Application Number
- CN202310145838.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-21
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2043-02-21
AI Technical Summary
Existing technologies cannot meet the precise and targeted needs of multiple concurrent computing services for specific application scenarios when selecting computing nodes, resulting in low resource selection efficiency, heavy system operating burden, and slow response speed.
By determining whether the senders of multiple pending business requests are the same user or the same user type, different rules are used to filter target computing power nodes, including prioritizing the second computing power node or excluding the first computing power node and its routing nodes as candidate computing power nodes, and combining the importance level of computing power services and routing optimization to select the optimal node.
It enables precise and efficient selection of computing nodes in special application scenarios, improves resource utilization, avoids regional business paralysis, and optimizes resource allocation and response speed.
Smart Images

Figure CN118540378B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a method, device, apparatus and storage medium for selecting computing nodes. Background Technology
[0002] Computing Power Network (CPN) is an exploration of new architectures, protocols, and technologies for the convergence of computing and networking. Generally, a CPN can publish current computing power and network conditions as routing information to the network, which then routes computing task packets to the appropriate computing nodes, achieving optimal user experience, optimal utilization of computing resources, and optimal network efficiency. Furthermore, when selecting computing power nodes, the CPN management center needs to traverse all computing power node resources in the computing power resource pool to select the nodes that meet the requirements.
[0003] In practical applications, different application scenarios may have different requirements for computing power node resources. For example, when multiple computing power services for a single user are running concurrently, the computing power services need to be provided by the same or similar computing power nodes to reduce latency or reduce data loss rate. Or, for regional security assurance requirements, multiple concurrent computing power services need to be provided by different or far apart computing power nodes to avoid the paralysis of business across the entire region due to failure.
[0004] The existing method of traversing all computing power nodes in the computing power resource pool to select the computing power node that meets the requirements cannot meet the need for precise and targeted selection of the optimal computing power node for multiple concurrent computing power services in special application scenarios. Summary of the Invention
[0005] To address the problems existing in the prior art, embodiments of this application provide a method, device, apparatus, and storage medium for selecting computing nodes.
[0006] In a first aspect, embodiments of this application provide a method for selecting computing power nodes, including:
[0007] Retrieve multiple pending business requests received through the same entry computing power routing node;
[0008] Based on whether the senders of multiple pending business requests are the same user, the target computing power nodes that satisfy each pending business request are selected according to the first rule or the second rule.
[0009] The first rule prioritizes the second computing power node; the second rule selects other computing power nodes besides the first computing power node as candidate computing power nodes, or other computing power nodes besides the second computing power node as candidate computing power nodes.
[0010] The second computing power node is all computing power nodes corresponding to the first computing power routing node; the first computing power routing node is the computing power routing node to which the first computing power node belongs; the first computing power node is the computing power node that is providing services for the target service request, and the target service request is any one of the multiple service requests to be determined.
[0011] Optionally, the step of determining, based on whether the senders of multiple pending service requests are the same user, the target computing power nodes that satisfy each pending service request are selected according to a first rule or a second rule, including:
[0012] If the sender of multiple pending service requests is the same user, then according to the first rule, the target computing power node that satisfies each pending service request is selected.
[0013] If the senders of multiple pending service requests are different users and the senders belong to the same user type, then according to the second rule, target computing power nodes that satisfy each pending service request are selected.
[0014] Optionally, if the senders of multiple service requests to be determined are the same user, then according to the first rule, the target computing power nodes that satisfy each service request to be determined are selected, including:
[0015] Obtain the business request corresponding to the computing power node that is currently providing computing power services, and use it as the target business request;
[0016] Among the multiple pending service requests, the pending service requests sent by the target sender are selected as the first service request; the target sender is the sender of the target service request.
[0017] The target computing node that satisfies the first service request is determined by prioritizing the second computing node.
[0018] Optionally, if the senders of multiple service requests to be determined are different users, and the senders belong to the same user type, then according to the second rule, the target computing power nodes that satisfy each service request to be determined are selected, including:
[0019] Obtain the business request corresponding to the computing power node that is currently providing computing power services, and use it as the target business request;
[0020] Among the multiple pending service requests, those sent by the target user are selected as the second service request; the target user is one or more senders of the same user type as the target sender; the target sender is the sender of the target service request.
[0021] Among the candidate computing power nodes, the target computing power node that satisfies the second service request is determined.
[0022] Optionally, determining the target computing power node that satisfies the second service request among the candidate computing power nodes includes:
[0023] Based on the second service request and the preset computing power service importance level rules, the second service request with a high computing power service importance level is selected as the third service request; the second service request includes the requested computing power service importance level;
[0024] Among the candidate computing power nodes, a target computing power node that satisfies the third service request is determined;
[0025] The preset computing power service importance level rules are used to determine the importance level of the computing power services provided by each computing power node, and to determine whether the computing power service importance level is high or low.
[0026] Optionally, after determining the target computing power node that satisfies the third service request among the candidate computing power nodes, the process includes:
[0027] If there are multiple target computing power nodes, the target computing power node with the shortest target route is selected based on the minimum hop count; or the target computing power node with the minimum target latency is selected based on the minimum latency. The target route is the route between the ingress computing power routing node and the computing power routing node to which the target computing power node belongs; the target latency is the latency between the ingress computing power routing node and the computing power routing node to which the target computing power node belongs.
[0028] Optionally, the service request to be determined includes one or more of the following: sender identifier, sender user type, and requested computing power service type.
[0029] Secondly, embodiments of this application also provide an electronic device, including a memory, a transceiver, and a processor;
[0030] A memory for storing computer programs; a transceiver for sending and receiving data under the control of the processor; and a processor for reading the computer programs from the memory and performing the following operations:
[0031] Retrieve multiple pending business requests received through the same entry computing power routing node;
[0032] Based on whether the senders of multiple pending business requests are the same user, the target computing power nodes that satisfy each pending business request are selected according to the first rule or the second rule.
[0033] The first rule prioritizes the second computing power node; the second rule selects other computing power nodes besides the first computing power node as candidate computing power nodes, or other computing power nodes besides the second computing power node as candidate computing power nodes.
[0034] The second computing power node is all computing power nodes corresponding to the first computing power routing node; the first computing power routing node is the computing power routing node to which the first computing power node belongs; the first computing power node is the computing power node that is providing services for the target service request, and the target service request is any one of the multiple service requests to be determined.
[0035] Optionally, the step of determining, based on whether the senders of multiple pending service requests are the same user, the target computing power nodes that satisfy each pending service request are selected according to a first rule or a second rule, including:
[0036] If the sender of multiple pending service requests is the same user, then according to the first rule, the target computing power node that satisfies each pending service request is selected.
[0037] If the senders of multiple pending service requests are different users and the senders belong to the same user type, then according to the second rule, target computing power nodes that satisfy each pending service request are selected.
[0038] Optionally, if the senders of multiple service requests to be determined are the same user, then according to the first rule, the target computing power nodes that satisfy each service request to be determined are selected, including:
[0039] Obtain the business request corresponding to the computing power node that is currently providing computing power services, and use it as the target business request;
[0040] Among the multiple pending service requests, the pending service requests sent by the target sender are selected as the first service request; the target sender is the sender of the target service request.
[0041] The target computing node that satisfies the first service request is determined by prioritizing the second computing node.
[0042] Optionally, if the senders of multiple service requests to be determined are different users, and the senders belong to the same user type, then according to the second rule, the target computing power nodes that satisfy each service request to be determined are selected, including:
[0043] Obtain the business request corresponding to the computing power node that is currently providing computing power services, and use it as the target business request;
[0044] Among the multiple pending service requests, those sent by the target user are selected as the second service request; the target user is one or more senders of the same user type as the target sender; the target sender is the sender of the target service request.
[0045] Among the candidate computing power nodes, the target computing power node that satisfies the second service request is determined.
[0046] Optionally, determining the target computing power node that satisfies the second service request among the candidate computing power nodes includes:
[0047] Based on the second service request and the preset computing power service importance level rules, the second service request with a high computing power service importance level is selected as the third service request; the second service request includes the requested computing power service importance level;
[0048] Among the candidate computing power nodes, a target computing power node that satisfies the third service request is determined;
[0049] The preset computing power service importance level rules are used to determine the importance level of the computing power services provided by each computing power node, and to determine whether the computing power service importance level is high or low.
[0050] Optionally, after determining the target computing power node that satisfies the third service request among the candidate computing power nodes, the process includes:
[0051] If there are multiple target computing power nodes, the target computing power node with the shortest target route is selected based on the minimum hop count; or the target computing power node with the minimum target latency is selected based on the minimum latency. The target route is the route between the ingress computing power routing node and the computing power routing node to which the target computing power node belongs; the target latency is the latency between the ingress computing power routing node and the computing power routing node to which the target computing power node belongs.
[0052] Optionally, the service request to be determined includes one or more of the following: sender identifier, sender user type, and requested computing power service type.
[0053] Thirdly, embodiments of this application also provide a device for selecting computing power nodes, comprising:
[0054] The acquisition module is used to acquire multiple pending business requests received through the same entry computing power routing node;
[0055] The determination module is used to determine, based on whether the senders of multiple pending business requests are the same user, the target computing power nodes that satisfy each pending business request are selected according to a first rule or a second rule.
[0056] The first rule prioritizes the second computing power node; the second rule selects other computing power nodes besides the first computing power node as candidate computing power nodes, or other computing power nodes besides the second computing power node as candidate computing power nodes.
[0057] The second computing power node is all computing power nodes corresponding to the first computing power routing node; the first computing power routing node is the computing power routing node to which the first computing power node belongs; the first computing power node is the computing power node that is providing services for the target service request, and the target service request is any one of the multiple service requests to be determined.
[0058] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program for causing a computer to execute the computing node selection method described in the first aspect above.
[0059] Fifthly, embodiments of this application also provide a communication device, wherein the communication device stores a computer program, the computer program being used to cause the communication device to execute the computing node selection method described in the first aspect above.
[0060] In a sixth aspect, embodiments of this application also provide a processor-readable storage medium storing a computer program for causing a processor to execute the computing node selection method described in the first aspect above.
[0061] In a seventh aspect, embodiments of this application also provide a chip product, wherein the chip product stores a computer program, the computer program being used to cause the chip product to execute the computing node selection method described in the first aspect above.
[0062] The computing power node selection method, device, apparatus, and storage medium provided in this application embodiment can accurately, specifically, quickly, and efficiently select computing power nodes that meet user business requests for specific application scenarios. The selected nodes are superior because, on the one hand, by prioritizing the processing of multiple business requests from the same user using the same or similar computing power nodes, data is forwarded concurrently, transmission resources are reused, and resource utilization is improved. On the other hand, by using different computing power nodes belonging to different computing power routing nodes to process business requests from multiple users of the same type as much as possible, service paralysis across the entire region caused by failure is avoided. Therefore, the optimal computing power node can be accurately and specifically selected for multiple concurrent computing power services in specific application scenarios. Attached Figure Description
[0063] To more clearly illustrate the technical solutions in the embodiments or related technologies of this application, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0064] Figure 1 A flowchart illustrating the computing node selection method provided in this application embodiment;
[0065] Figure 2 One of the flowcharts illustrating the implementation of the computing node selection method provided in this application embodiment;
[0066] Figure 3 A second schematic diagram illustrating the implementation of the computing node selection method provided in this application embodiment;
[0067] Figure 4 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application;
[0068] Figure 5 This is a schematic diagram of the computing node selection device provided in the embodiments of this application. Detailed Implementation
[0069] In the embodiments of this application, the term "and / or" describes the relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following associated objects have an "or" relationship.
[0070] In the embodiments of this application, the term "multiple" refers to two or more, and other quantifiers are similar.
[0071] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0072] To facilitate a clearer understanding of the technical solutions of the various embodiments of this application, some technical content related to the various embodiments of this application will be introduced first.
[0073] The "Architecture and Technical Requirements of Computing Power Aware Networks" proposed by relevant communications standardization associations require computing power networks to support computing network service orchestration and management functions. This mainly includes the ability to manage the lifecycle of computing power services on each computing power node, as well as supporting intelligent orchestration and scheduling of computing power services to suitable computing power nodes for the sake of computing power service experience. However, the specific technical requirements do not include methods for selecting computing power node resources.
[0074] Related operators have also proposed the "White Paper on Unified Identification and Services for Heterogeneous Computing Power," defining a unified scheduling core process, mainly including two stages: job selection and resource allocation. The job selection stage determines the priority of job scheduling, while the resource allocation stage determines the final allocation method of resources required by the job. The selection of computing node resources primarily occurs during the resource allocation stage. However, the method for selecting computing node resources in this process requires traversing the resource pool composed of all computing nodes and does not involve specific resource selection methods. This results in problems such as low resource selection efficiency, high system operating burden, long service orchestration processing time, and slow response speed.
[0075] In other words, existing technologies treat different application scenarios indiscriminately, which means that in some special application scenarios where multiple business requests are processed simultaneously, the technology cannot meet the need for precise and targeted selection of the optimal computing power node for multiple concurrent computing power services in special application scenarios.
[0076] Figure 1 This is a flowchart illustrating the computing node selection method provided in the embodiments of this application, as shown below. Figure 1 As shown, the method includes:
[0077] Step 101: Obtain multiple pending business requests received through the same entry computing power routing node;
[0078] Step 102: Based on whether the senders of multiple pending business requests are the same user, determine the target computing power nodes that satisfy each pending business request according to the first rule or the second rule.
[0079] The first rule prioritizes the second computing power node; the second rule selects other computing power nodes besides the first computing power node as candidate computing power nodes, or other computing power nodes besides the second computing power node as candidate computing power nodes.
[0080] The second computing power node is all computing power nodes corresponding to the first computing power routing node; the first computing power routing node is the computing power routing node to which the first computing power node belongs; the first computing power node is the computing power node that is providing services for the target service request, and the target service request is any one of the multiple service requests to be determined.
[0081] Specifically, the computing power network management center manages multiple computing power network controllers. Each computing power network controller is connected to one or more computing power routing nodes, and the computing power network controller controls the one or more computing power routing nodes connected to it. Each computing power routing node corresponds to one or more computing power nodes, and each computing power node provides a type of computing power service for business requests. For clarity, the computing power routing node that directly receives business requests sent by users in this application is also referred to as the ingress computing power routing node.
[0082] When the computing power network management center needs to process multiple service requests simultaneously, such as when these service requests are all received from the same entry computing power routing node, it indicates that the senders of these service requests may be within the same geographical area, and these senders may be multiple or one.
[0083] If the sender is a single entity, it might represent multiple service requests from a single user targeting a specific service. To reuse transmission resources and ensure data and transmission coordination, they are typically forwarded using the same route. Therefore, when selecting computing power nodes for these service requests, priority should be given to the target computing power node currently providing service for one of these service requests, or computing power nodes located near that target node, such as other computing power nodes belonging to the same computing power routing node as the target node. In other words, according to the first rule, target computing power nodes that satisfy each service request to be determined are selected.
[0084] If there are multiple senders, potentially multiple related users, to ensure regional security and prevent a situation where multiple users in the region simultaneously lose access to computing services due to transmission link failures or computing node failures, causing the complete paralysis of one or more computing services within the region, it is necessary to minimize the use of the same computing nodes and computing routing nodes by multiple service requests from these senders. In this case, a reverse resource selection method is required. This involves excluding computing nodes currently providing computing services for one of the aforementioned service requests, or excluding all computing nodes corresponding to the computing routing node to which the computing node currently providing computing services for one of the aforementioned service requests belongs. In other words, according to the second rule, target computing nodes that satisfy each service request to be determined are selected.
[0085] Of course, there are also combinations of the two scenarios mentioned above, where there are multiple senders, and one or more senders send multiple service requests. In this case, for senders sending multiple service requests simultaneously, the first rule is used to select computing power nodes that can satisfy these service requests. For service requests sent by different senders, the second rule is used to select computing power nodes that can satisfy these service requests.
[0086] The computing power node selection method provided in this application embodiment can accurately, specifically, quickly, and efficiently select computing power nodes that meet user business requests for specific application scenarios. The selected nodes are superior because, on the one hand, by prioritizing the processing of multiple business requests from the same user using the same or similar computing power nodes, data is forwarded concurrently, transmission resources are reused, and resource utilization is improved. On the other hand, by using different computing power nodes belonging to different computing power routing nodes to process business requests from multiple users of the same type as much as possible, service paralysis across the entire region caused by a failure is avoided. Therefore, the optimal computing power node can be accurately and specifically selected for multiple concurrent computing power services in specific application scenarios.
[0087] Optionally, the step of determining, based on whether the senders of multiple pending service requests are the same user, the target computing power nodes that satisfy each pending service request are selected according to a first rule or a second rule, including:
[0088] If the sender of multiple pending service requests is the same user, then according to the first rule, the target computing power node that satisfies each pending service request is selected.
[0089] If the senders of multiple pending service requests are different users and the senders belong to the same user type, then according to the second rule, target computing power nodes that satisfy each pending service request are selected.
[0090] Specifically, when the sender of the above multiple business requests is the same user, the target computing power node that satisfies each business request to be determined is selected according to the first rule.
[0091] If the senders of the aforementioned multiple business requests are different users, and these senders belong to the same user type, it means that these different users belong to the same team, such as the same medical team, the same community workers, or the same local line maintenance workers. Considering regional security requirements, to prevent transmission link failures or computing power node failures from causing a complete paralysis of certain services within the region, thus preventing users of the same type in the region from simultaneously using computing power services, the second rule is used to select target computing power nodes that meet these business requests. Here, "same user type" mainly refers to users belonging to different roles within the same team, simultaneously sending corresponding business requests to complete a specific business task.
[0092] Optionally, if the senders of multiple service requests to be determined are the same user, then according to the first rule, the target computing power nodes that satisfy each service request to be determined are selected, including:
[0093] Obtain the business request corresponding to the computing power node that is currently providing computing power services, and use it as the target business request;
[0094] Among the multiple pending service requests, the pending service requests sent by the target sender are selected as the first service request; the target sender is the sender of the target service request.
[0095] The target computing node that satisfies the first service request is determined by prioritizing the second computing node.
[0096] Specifically, when the computing power network management center is processing multiple service requests, it identifies the service request corresponding to the computing power node providing computing power services, i.e., the target service request. The sender of the target service request is then identified as the target sender. Among the multiple service requests mentioned above, the multiple service requests sent by this target sender are identified as the first service request; that is, the first service request is the multiple service requests sent by the target sender.
[0097] The computing power node currently providing services for the target business request is identified as the first computing power node. The target computing power node that satisfies the first business request is determined by prioritizing all computing power nodes corresponding to the computing power routing node to which the first computing power node belongs.
[0098] Optionally, if the senders of multiple service requests to be determined are different users, and the senders belong to the same user type, then according to the second rule, the target computing power nodes that satisfy each service request to be determined are selected, including:
[0099] Obtain the business request corresponding to the computing power node that is currently providing computing power services, and use it as the target business request;
[0100] Among the multiple pending service requests, those sent by the target user are selected as the second service request; the target user is one or more senders of the same user type as the target sender; the target sender is the sender of the target service request.
[0101] Among the candidate computing power nodes, the target computing power node that satisfies the second service request is determined.
[0102] Specifically, when the computing power network management center is processing multiple service requests, if the senders of these requests are multiple users, and these users belong to the same user type, the second rule is used to filter the computing power nodes that meet the requirements of the service requests to be determined. This includes:
[0103] The computing power network management center determines the business request corresponding to the computing power node that is providing computing power services, i.e. the target business request, and determines the user type of the sender of the target business request, such as user type A. Among the senders of the above multiple business requests, the target sender belonging to the same user type A is selected, and the multiple business requests sent by the target sender are obtained as the second business request.
[0104] Identify the computing power node currently providing services for the target business request, i.e., the first computing power node.
[0105] Next, based on the first computing power node, corresponding candidate computing power nodes are determined. Specifically, this includes determining other computing power nodes besides the first computing power node as candidate computing power nodes, or other computing power nodes besides all computing power nodes corresponding to the computing power routing node to which the first computing power node belongs as candidate computing power nodes. Assuming the computing power node resource pool consisting of all computing power nodes is M, the first computing power node is computing power node A1, and the set of all computing power nodes corresponding to the computing power routing node to which the first computing power node belongs is A, then the candidate computing power nodes may be all computing power nodes in resource pool M excluding set A, or all computing power nodes in resource pool M excluding computing power node A1.
[0106] Among the candidate computing power nodes, the target computing power node that satisfies the second service request is determined.
[0107] Optionally, determining the target computing power node that satisfies the second service request among the candidate computing power nodes includes:
[0108] Based on the second service request and the preset computing power service importance level rules, the second service request with a high computing power service importance level is selected as the third service request; the second service request includes the requested computing power service importance level;
[0109] Among the candidate computing power nodes, a target computing power node that satisfies the third service request is determined;
[0110] The preset computing power service importance level rules are used to determine the importance level of the computing power services provided by each computing power node, and to determine whether the computing power service importance level is high or low.
[0111] Specifically, in the business requests sent by multiple users of the same user type, different computing power services may be requested, and each computing power service has a corresponding importance level. In this case, it is necessary to determine the computing power node that satisfies each business request to be determined according to the importance level of the computing power service.
[0112] If the importance level of the computing power service requested in the business request is low, it means that there is no strict requirement for the response time of the computing power node corresponding to the business request, or that the interruption of the computing power service is not considered, or that the impact of computing power node failure on the business is not considered. The computing power node that meets the business request can be determined by traversing the computing power nodes in the relevant technology.
[0113] If the importance level of the computing power service requested in the business request is high, it indicates that the business request has high requirements for the response time of the computing power node, or that it is necessary to consider whether the computing power service will be interrupted, or to consider the impact of computing power node failure on the business. Therefore, according to the importance of the corresponding computing power service, the target computing power node that meets the business request should be selected first from the candidate computing power nodes.
[0114] This can be understood as follows: after identifying the second service requests sent by multiple users belonging to the same user type, it is necessary to filter all service requests included in the second service requests that have a high priority level of computing power service, and these will be designated as the third service requests. Among the candidate computing power nodes, the target computing power nodes that satisfy the third service requests are then determined. For all service requests included in the second requests that have a low priority level of computing power service, all computing power nodes can be traversed using relevant technologies to determine the computing power nodes that satisfy these low-priority service requests.
[0115] The importance level of computing power services in a business request can be determined according to preset computing power service importance level rules, and the corresponding importance level can be determined as high or low. Each computing power node provides a type of computing power service, which can be understood as each computing power node also corresponding to an importance level, determined by the importance level of the type of computing power service provided by that computing power node.
[0116] Optionally, after determining the target computing power node that satisfies the third service request among the candidate computing power nodes, the process includes:
[0117] If there are multiple target computing power nodes, the target computing power node with the shortest target route is selected based on the minimum hop count; or the target computing power node with the minimum target latency is selected based on the minimum latency. The target route is the route between the ingress computing power routing node and the computing power routing node to which the target computing power node belongs; the target latency is the latency between the ingress computing power routing node and the computing power routing node to which the target computing power node belongs.
[0118] Specifically, after the computing power network management center identifies the target computing power nodes that meet the high importance level of the computing power service, there may be multiple such target computing power nodes.
[0119] Further steps are needed to select the target computing power node with the shortest route or the lowest latency from among these target computing power nodes, based on either the minimum hop count or the minimum latency. Specifically, selecting the target computing power node with the shortest route based on the minimum hop count involves: determining the route between the ingress computing power routing node and the computing power routing node to which the target computing power node belongs (different target computing power nodes correspond to different routes), and selecting the route with the minimum hop count from these routes to determine the specific target computing power node. If multiple routes satisfy the minimum hop count requirement, one can be randomly selected, or the route with the lowest latency can be chosen in conjunction with the minimum latency requirement.
[0120] Based on the minimum latency, the target computing power node with the lowest latency among these target computing power nodes is selected. This includes determining the transmission latency between the ingress computing power routing node and the computing power routing node to which the target computing power node belongs. Different target computing power nodes correspond to different transmission latencies. The specific target computing power node is determined by selecting the transmission latency with the lowest latency among these transmission latencies. If multiple transmission latencies meet the minimum latency requirement, one can be selected randomly, or the minimum hop count routing can be combined with the minimum hop count routing to select the one with the lowest hop count.
[0121] Optionally, the service request to be determined includes one or more of the following: sender identifier, sender user type, and requested computing power service type.
[0122] Specifically, the aforementioned undetermined business request includes one or more of the following: sender identifier, sender user type, and requested computing power service type.
[0123] The sender identifier is used to determine which specific sender sent the service request.
[0124] The sender's user type is used to determine which user type the sender belongs to. Based on this attribute, it can be determined which service requests are sent by the same user type.
[0125] The requested computing power service type is used to determine the specific type of computing power service requested in this service request, and each type of computing power service has a corresponding importance level. The correspondence between computing power services and their importance levels can be set according to requirements and is maintained by the computing power network management center.
[0126] The computing power node selection method provided in this application embodiment can accurately, specifically, quickly, and efficiently select computing power nodes that meet user business requests for specific application scenarios. The selected nodes are superior because, on the one hand, by prioritizing the processing of multiple business requests from the same user using the same or similar computing power nodes, data is forwarded concurrently, transmission resources are reused, and resource utilization is improved. On the other hand, by using different computing power nodes belonging to different computing power routing nodes to process business requests from multiple users of the same type as much as possible, service paralysis across the entire region caused by a failure is avoided. Therefore, the optimal computing power node can be accurately and specifically selected for multiple concurrent computing power services in specific application scenarios.
[0127] To more clearly illustrate the computing node selection method provided in the embodiments of this application, specific examples are given below.
[0128] Figure 2 This is one of the flowcharts illustrating the implementation of the computing node selection method provided in this application embodiment. For example... Figure 2 As shown, it includes:
[0129] For the same user (e.g., same IP address, same user account, etc.), if computing task 1 is already being executed on computing node A, and the user initiates a new computing task 2 (carrying a new computing service request), the computing network management center will orchestrate computing services based on the new service request. The computing node selection process at this time is as follows:
[0130] Step 201: The user initiates a new computing power task, carrying a new computing power service request, including requirements such as business scenario, geographical location, type of computing power service resource, size of computing power service resource, and duration of use of computing power service resource;
[0131] Step 202: The computing power network management center analyzes the new service request and determines whether the computing power node A of the current computing power task 1 can meet the user's new service request. If it can, proceed to step 203; otherwise, proceed to step 204.
[0132] Step 203: If computing node A meets the new business request, the original node A is selected first to execute the new computing task, and a computing route consisting of the entry computing power routing node to the computing power routing node to which computing node A belongs is generated and fed back to the user.
[0133] Step 204: If computing node A meets the new service request, prioritize selecting other computing nodes under the same computing power routing node connected to computing node A. At this time, the computing power network management center queries and obtains information on other computing nodes under this computing power routing node from the computing power resource pool; the computing power resource pool includes all computing power routing nodes and the correspondence between all computing power nodes.
[0134] Step 205: Feedback on the query results of computing power nodes;
[0135] Step 206: The computing power network management center filters other computing power nodes under the same computing power routing node connected to computing power node A to meet the above new business request; if there is a computing power node that meets the new business request, then proceed to step 207; if there is no computing power node that meets the new business request, then proceed to step 208.
[0136] Step 207: If there is a computing power node that satisfies the new business request, take it as the target computing power node, generate a computing power route from the ingress computing power routing node to the computing power routing node to which the target computing power node belongs, and feed it back to the user.
[0137] Step 208: If no computing power node satisfies the new business request, query the computing power resource pool using the parameters in the new business request as the query condition to obtain information on computing power nodes that meet the conditions.
[0138] Step 209: Feedback on the query results of computing power nodes;
[0139] Step 210: The computing power network management center analyzes the query results, filters the computing power nodes that meet the new business requests, and generates computing power routes;
[0140] Step 211: Feed back the generated computing power route to the user.
[0141] Figure 3 This is the second schematic diagram illustrating the implementation of the computing node selection method provided in this application embodiment. For example... Figure 3 As shown, it includes:
[0142] When users A and B (two users are used here as an example, but multiple users can actually participate) simultaneously initiate business requests, the requests typically include the sender's identifier, user type, requested computing power service type, and network requirements. The computing power network management center analyzes the user type and maintains the relationships between different customers of the same type. The computing power network management center maintains the computing power service resources that can be provided externally and maintains the importance level of the computing power services (the specific importance level is set according to actual needs and is not specified here). The computing power network management center selects computing power node A (carrying a high-importance computing power service) for user A and generates computing power route A; or user A already has a computing power task executing on computing power node A, corresponding to computing power route A.
[0143] Step 301: User B sends a service request;
[0144] Step 302: After receiving the user service request from user B, the computing power network management center first analyzes user B's access location (i.e., the entry computing power routing node), user B's user type, and the importance level of the computing power service requested by user B.
[0145] If the importance level of the computing power service requested by user B is low, that is, the impact of computing power service interruption or computing power node failure on the business is not considered, the service orchestration and computing power resource selection shall be carried out in accordance with the computing power service orchestration process in the relevant technology; that is, the computing power node that satisfies the business request sent by B shall be determined by traversing all computing power nodes in the computing power resource pool.
[0146] If the computing power service requested by user B has a high importance level, and other users of the same type (such as user A) have also accessed from the entry computing power routing node and are using the computing power service on computing power node A (with a high importance level), then proceed to step 303.
[0147] Step 303: The computing power network management center queries the computing power resource pool to obtain computing power node resources that can meet the business request of user B. The query conditions are limited to not selecting computing power node A, or not selecting all computing power nodes connected to the computing power routing node accessed by computing power node A.
[0148] When the computing power network management center orchestrates computing power services for user B, that is, when determining the computing power nodes that meet the service requests sent by user B, it excludes other computing power nodes besides computing power node A as candidate computing power nodes (for multiple users, it excludes the list of computing power nodes that have been assigned computing power tasks), or excludes other computing power nodes besides all computing power nodes connected under the computing power routing node accessed by computing power node A as candidate computing power nodes.
[0149] Step 304: Feedback on the query results of computing power nodes;
[0150] Step 305: The computing power network management center analyzes the query results and selects the computing power node B that satisfies the business request sent by user B as the target computing power node, and generates a computing power route;
[0151] Step 306: Feedback the generated computing power route to user B.
[0152] Figure 4 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application, such as... Figure 4 As shown, the electronic device includes a memory 420, a transceiver 410, and a processor 400; wherein the processor 400 and the memory 420 may also be physically arranged separately.
[0153] Memory 420 is used to store computer programs; transceiver 410 is used to send and receive data under the control of processor 400. Processor 400 is used to read the computer program in memory 420 and perform the following operations:
[0154] Retrieve multiple pending business requests received through the same entry computing power routing node;
[0155] Based on whether the senders of multiple pending business requests are the same user, the target computing power nodes that satisfy each pending business request are selected according to the first rule or the second rule.
[0156] The first rule prioritizes the second computing power node; the second rule selects other computing power nodes besides the first computing power node as candidate computing power nodes, or other computing power nodes besides the second computing power node as candidate computing power nodes.
[0157] The second computing power node is all computing power nodes corresponding to the first computing power routing node; the first computing power routing node is the computing power routing node to which the first computing power node belongs; the first computing power node is the computing power node that is providing services for the target service request, and the target service request is any one of the multiple service requests to be determined.
[0158] Specifically, transceiver 410 is used to receive and send data under the control of processor 400.
[0159] Among them, Figure 4 In this application, the bus architecture may include any number of interconnected buses and bridges, specifically linking various circuits of one or more processors represented by processor 400 and memory represented by memory 420 together. The bus architecture may also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be further described herein. The bus interface provides an interface. The transceiver 410 may be multiple elements, including a transmitter and a receiver, providing a unit for communicating with various other devices over a transmission medium, including wireless channels, wired channels, optical fibers, and other transmission media.
[0160] The processor 400 is responsible for managing the bus architecture and general processing, while the memory 420 can store the data used by the processor 400 when performing operations.
[0161] The processor 400 can be a central processing unit (CPU), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or a complex programmable logic device (CPLD). The processor can also adopt a multi-core architecture.
[0162] The processor 400 executes any of the methods described in the embodiments of this application according to the obtained executable instructions by calling a computer program stored in the memory 420. The processor and the memory may also be physically separated.
[0163] Optionally, the step of determining, based on whether the senders of multiple pending service requests are the same user, the target computing power nodes that satisfy each pending service request are selected according to a first rule or a second rule, including:
[0164] If the sender of multiple pending service requests is the same user, then according to the first rule, the target computing power node that satisfies each pending service request is selected.
[0165] If the senders of multiple pending service requests are different users and the senders belong to the same user type, then according to the second rule, target computing power nodes that satisfy each pending service request are selected.
[0166] Optionally, if the senders of multiple service requests to be determined are the same user, then according to the first rule, the target computing power nodes that satisfy each service request to be determined are selected, including:
[0167] Obtain the business request corresponding to the computing power node that is currently providing computing power services, and use it as the target business request;
[0168] Among the multiple pending service requests, the pending service requests sent by the target sender are selected as the first service request; the target sender is the sender of the target service request.
[0169] The target computing node that satisfies the first service request is determined by prioritizing the second computing node.
[0170] Optionally, if the senders of multiple service requests to be determined are different users, and the senders belong to the same user type, then according to the second rule, the target computing power nodes that satisfy each service request to be determined are selected, including:
[0171] Obtain the business request corresponding to the computing power node that is currently providing computing power services, and use it as the target business request;
[0172] Among the multiple pending service requests, those sent by the target user are selected as the second service request; the target user is one or more senders of the same user type as the target sender; the target sender is the sender of the target service request.
[0173] Among the candidate computing power nodes, the target computing power node that satisfies the second service request is determined.
[0174] Optionally, determining the target computing power node that satisfies the second service request among the candidate computing power nodes includes:
[0175] Based on the second service request and the preset computing power service importance level rules, the second service request with a high computing power service importance level is selected as the third service request; the second service request includes the requested computing power service importance level;
[0176] Among the candidate computing power nodes, a target computing power node that satisfies the third service request is determined;
[0177] The preset computing power service importance level rules are used to determine the importance level of the computing power services provided by each computing power node, and to determine whether the computing power service importance level is high or low.
[0178] Optionally, after determining the target computing power node that satisfies the third service request among the candidate computing power nodes, the process includes:
[0179] If there are multiple target computing power nodes, the target computing power node with the shortest target route is selected based on the minimum hop count; or the target computing power node with the minimum target latency is selected based on the minimum latency. The target route is the route between the ingress computing power routing node and the computing power routing node to which the target computing power node belongs; the target latency is the latency between the ingress computing power routing node and the computing power routing node to which the target computing power node belongs.
[0180] Optionally, the service request to be determined includes one or more of the following: sender identifier, sender user type, and requested computing power service type.
[0181] It should be noted that the electronic device provided in this application embodiment can implement all the method steps implemented in the above method embodiment and can achieve the same technical effect. Here, the parts and beneficial effects that are the same as those in the method embodiment will not be described in detail.
[0182] Figure 5 This is a schematic diagram of the computing node selection device provided in the embodiments of this application, as shown below. Figure 5 As shown, the device includes:
[0183] The acquisition module 501 is used to acquire multiple pending business requests received through the same entry computing power routing node;
[0184] The determination module 502 is used to determine, based on whether the senders of multiple requests to be determined are the same user, the target computing power nodes that meet each request to be determined according to a first rule or a second rule.
[0185] The first rule prioritizes the second computing power node; the second rule selects other computing power nodes besides the first computing power node as candidate computing power nodes, or other computing power nodes besides the second computing power node as candidate computing power nodes.
[0186] The second computing power node is all computing power nodes corresponding to the first computing power routing node; the first computing power routing node is the computing power routing node to which the first computing power node belongs; the first computing power node is the computing power node that is providing services for the target service request, and the target service request is any one of the multiple service requests to be determined.
[0187] Optionally, the determining module 502, in the process of determining whether the senders of multiple service requests to be determined are the same user, and selecting target computing power nodes that satisfy each service request to be determined according to the first rule or the second rule, is specifically used for:
[0188] If the sender of multiple pending service requests is the same user, then according to the first rule, the target computing power node that satisfies each pending service request is selected.
[0189] If the senders of multiple pending service requests are different users and the senders belong to the same user type, then according to the second rule, target computing power nodes that satisfy each pending service request are selected.
[0190] Optionally, the determining module 502 is further configured to:
[0191] Obtain the business request corresponding to the computing power node that is currently providing computing power services, and use it as the target business request;
[0192] Among the multiple pending service requests, the pending service requests sent by the target sender are selected as the first service request; the target sender is the sender of the target service request.
[0193] The target computing node that satisfies the first service request is determined by prioritizing the second computing node.
[0194] Optionally, the determining module 502 is further configured to:
[0195] Obtain the business request corresponding to the computing power node that is currently providing computing power services, and use it as the target business request;
[0196] Among the multiple pending service requests, those sent by the target user are selected as the second service request; the target user is one or more senders of the same user type as the target sender; the target sender is the sender of the target service request.
[0197] Among the candidate computing power nodes, the target computing power node that satisfies the second service request is determined.
[0198] Optionally, in the process of determining the target computing power node that satisfies the second service request from the candidate computing power nodes, the determining module 502 is specifically used for:
[0199] Based on the second service request and the preset computing power service importance level rules, the second service request with a high computing power service importance level is selected as the third service request; the second service request includes the requested computing power service importance level;
[0200] Among the candidate computing power nodes, a target computing power node that satisfies the third service request is determined;
[0201] The preset computing power service importance level rules are used to determine the importance level of the computing power services provided by each computing power node, and to determine whether the computing power service importance level is high or low.
[0202] Optionally, the determining module 502 is further configured to:
[0203] If there are multiple target computing power nodes, the target computing power node with the shortest target route is selected based on the minimum hop count; or the target computing power node with the minimum target latency is selected based on the minimum latency. The target route is the route between the ingress computing power routing node and the computing power routing node to which the target computing power node belongs; the target latency is the latency between the ingress computing power routing node and the computing power routing node to which the target computing power node belongs.
[0204] Optionally, the service request to be determined includes one or more of the following: sender identifier, sender user type, and requested computing power service type.
[0205] The methods and apparatuses provided in the various embodiments of this application are based on the same concept. Since the methods and apparatuses solve problems in similar ways, the implementations of the apparatuses and methods can refer to each other, and repeated details will not be repeated.
[0206] It should be noted that the division of units in the embodiments of this application is illustrative and only represents one logical functional division. In actual implementation, other division methods may be used. Furthermore, the functional units in the various embodiments of this application 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 integrated units described above can be implemented in hardware or as software functional units.
[0207] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a processor-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0208] It should be noted that the apparatus provided in this application embodiment can implement all the method steps implemented in the above method embodiment and can achieve the same technical effect. Here, the parts that are the same as those in the method embodiment and the beneficial effects will not be described in detail.
[0209] On the other hand, embodiments of this application also provide a computer-readable storage medium storing a computer program for causing a computer to execute the computing node selection method provided in the above embodiments.
[0210] It should be noted that the computer-readable storage medium provided in this application embodiment can implement all the method steps implemented in the above method embodiment and can achieve the same technical effect. Here, the parts that are the same as those in the method embodiment and the beneficial effects will not be described in detail.
[0211] The computer-readable storage medium can be any available medium or data storage device that a computer can access, including but not limited to magnetic storage (e.g., floppy disks, hard disks, magnetic tapes, magneto-optical disks (MOs), etc.), optical storage (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor storage (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND flash), solid-state drives (SSDs)).
[0212] The technical solutions provided in this application can be applied to various systems, especially 5G systems. For example, applicable systems include Global System for Mobile Communication (GSM), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA) General Packet Radio Service (GPRS), Long Term Evolution (LTE), LTE Frequency Division Duplex (FDD), LTE Time Division Duplex (TDD), Long Term Evolution Advanced (LTE-A), Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX), and 5G New Radio (NR). All of these systems include terminal equipment and network equipment. The systems may also include a core network component, such as Evolved Packet System (EPS) and 5G system (5GS).
[0213] The access network device (or network device) involved in this application embodiment can be a base station, which may include multiple cells providing services to terminals. Depending on the specific application, the base station may also be called an access point, or a device in the access network that communicates with the wireless terminal device through one or more sectors on the air interface, or other names. The access network device can be used to exchange received air frames with Internet Protocol (IP) packets, acting as a router between the wireless terminal device and the rest of the access network, where the rest of the access network may include an Internet Protocol (IP) communication network. The access network device can also coordinate the attribute management of the air interface. For example, the access network equipment involved in the embodiments of this application can be a network device (Base Transceiver Station, BTS) in Global System for Mobile Communications (GSM) or Code Division Multiple Access (CDMA), or a network device (NodeB) in Wide-band Code Division Multiple Access (WCDMA), or an evolved network device (eNB or e-NodeB) in a long term evolution (LTE) system, a 5G base station (gNB) in a next generation system, or a Home evolved Node B (HeNB), relay node, femto, pico, etc., and is not limited in the embodiments of this application. In some network structures, the access network equipment may include centralized unit (CU) nodes and distributed unit (DU) nodes, and the centralized unit and distributed unit may also be geographically separated.
[0214] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.
[0215] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-executable instructions. These computer-executable instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0216] These processor-executable instructions may also be stored in a processor-readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the processor-readable memory produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0217] These processors can execute instructions that can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable device for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0218] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A method for selecting computing nodes, characterized in that, include: Retrieve multiple pending business requests received through the same entry computing power routing node; Based on whether the senders of multiple pending business requests are the same user, the target computing power nodes that satisfy each pending business request are selected according to the first rule or the second rule. The first rule prioritizes the second computing power node; the second rule selects other computing power nodes besides the first computing power node as candidate computing power nodes, or other computing power nodes besides the second computing power node as candidate computing power nodes. The second computing power node is all computing power nodes corresponding to the first computing power routing node; the first computing power routing node is the computing power routing node to which the first computing power node belongs; The first computing node is the computing node that is currently providing services for the target service request, which is any one of the multiple service requests to be determined.
2. The computing node selection method according to claim 1, characterized in that, The step of determining, based on whether the senders of multiple pending service requests are the same user, and selecting target computing power nodes that satisfy each pending service request according to a first rule or a second rule, includes: If the sender of multiple pending service requests is the same user, then according to the first rule, the target computing power node that satisfies each pending service request is selected. If the senders of multiple pending service requests are different users and the senders belong to the same user type, then according to the second rule, target computing power nodes that satisfy each pending service request are selected.
3. The computing node selection method according to claim 2, characterized in that, If the senders of multiple pending service requests are the same user, then according to the first rule, target computing power nodes that satisfy each pending service request are selected, including: Obtain the business request corresponding to the computing power node that is currently providing computing power services, and use it as the target business request; Among the multiple pending service requests, the pending service requests sent by the target sender are selected as the first service request; the target sender is the sender of the target service request. The target computing node that satisfies the first service request is determined by prioritizing the second computing node.
4. The computing node selection method according to claim 2, characterized in that, If the senders of multiple pending service requests are different users, and the senders belong to the same user type, then according to the second rule, the target computing power nodes that satisfy each pending service request are selected, including: Obtain the business request corresponding to the computing power node that is currently providing computing power services, and use it as the target business request; Among the multiple pending service requests, those sent by the target user are selected as the second service request; the target user is one or more senders of the same user type as the target sender; the target sender is the sender of the target service request. Among the candidate computing power nodes, the target computing power node that satisfies the second service request is determined.
5. The computing node selection method according to claim 4, characterized in that, The step of determining the target computing power node that satisfies the second service request among the candidate computing power nodes includes: Based on the second service request and the preset computing power service importance level rules, the second service request with a high computing power service importance level is selected as the third service request; the second service request includes the requested computing power service importance level; Among the candidate computing power nodes, a target computing power node that satisfies the third service request is determined; The preset computing power service importance level rules are used to determine the importance level of the computing power services provided by each computing power node, and to determine whether the computing power service importance level is high or low.
6. The computing node selection method according to claim 5, characterized in that, After determining the target computing power node that satisfies the third service request among the candidate computing power nodes, the process includes: If there are multiple target computing power nodes, the target computing power node with the shortest target route is selected based on the minimum hop count; or the target computing power node with the minimum target latency is selected based on the minimum latency. The target route is the route between the ingress computing power routing node and the computing power routing node to which the target computing power node belongs; the target latency is the latency between the ingress computing power routing node and the computing power routing node to which the target computing power node belongs.
7. The computing node selection method according to any one of claims 1 to 6, characterized in that, The service request to be determined includes one or more of the following: sender identifier, sender user type, and requested computing power service type.
8. An electronic device, characterized in that, Includes memory, transceiver, and processor; A memory for storing computer programs; a transceiver for sending and receiving data under the control of the processor; and a processor for reading the computer programs from the memory and performing the following operations: Retrieve multiple pending business requests received through the same entry computing power routing node; Based on whether the senders of multiple pending business requests are the same user, the target computing power nodes that satisfy each pending business request are selected according to the first rule or the second rule. The first rule prioritizes the second computing power node; the second rule selects other computing power nodes besides the first computing power node as candidate computing power nodes, or other computing power nodes besides the second computing power node as candidate computing power nodes. The second computing power node is all computing power nodes corresponding to the first computing power routing node; the first computing power routing node is the computing power routing node to which the first computing power node belongs; The first computing node is the computing node that is currently providing services for the target service request, which is any one of the multiple service requests to be determined.
9. The electronic device according to claim 8, characterized in that, The step of determining, based on whether the senders of multiple pending service requests are the same user, and selecting target computing power nodes that satisfy each pending service request according to a first rule or a second rule, includes: If the sender of multiple pending service requests is the same user, then according to the first rule, the target computing power node that satisfies each pending service request is selected. If the senders of multiple pending service requests are different users and the senders belong to the same user type, then according to the second rule, target computing power nodes that satisfy each pending service request are selected.
10. The electronic device according to claim 9, characterized in that, If the senders of multiple pending service requests are the same user, then according to the first rule, target computing power nodes that satisfy each pending service request are selected, including: Obtain the business request corresponding to the computing power node that is currently providing computing power services, and use it as the target business request; Among the multiple pending service requests, the pending service requests sent by the target sender are selected as the first service request; the target sender is the sender of the target service request. The target computing node that satisfies the first service request is determined by prioritizing the second computing node.
11. The electronic device according to claim 9, characterized in that, If the senders of multiple pending service requests are different users, and the senders belong to the same user type, then according to the second rule, the target computing power nodes that satisfy each pending service request are selected, including: Obtain the business request corresponding to the computing power node that is currently providing computing power services, and use it as the target business request; Among the multiple pending service requests, those sent by the target user are selected as the second service request; the target user is one or more senders of the same user type as the target sender; the target sender is the sender of the target service request. Among the candidate computing power nodes, the target computing power node that satisfies the second service request is determined.
12. The electronic device according to claim 11, characterized in that, The step of determining the target computing power node that satisfies the second service request among the candidate computing power nodes includes: Based on the second service request and the preset computing power service importance level rules, the second service request with a high computing power service importance level is selected as the third service request; the second service request includes the requested computing power service importance level; Among the candidate computing power nodes, a target computing power node that satisfies the third service request is determined; The preset computing power service importance level rules are used to determine the importance level of the computing power services provided by each computing power node, and to determine whether the computing power service importance level is high or low.
13. The electronic device according to claim 12, characterized in that, After determining the target computing power node that satisfies the third service request among the candidate computing power nodes, the process includes: If there are multiple target computing power nodes, the target computing power node with the shortest target route is selected based on the minimum hop count; or the target computing power node with the minimum target latency is selected based on the minimum latency. The target route is the route between the ingress computing power routing node and the computing power routing node to which the target computing power node belongs; the target latency is the latency between the ingress computing power routing node and the computing power routing node to which the target computing power node belongs.
14. The electronic device according to any one of claims 8 to 13, characterized in that, The service request to be determined includes one or more of the following: sender identifier, sender user type, and requested computing power service type.
15. A computing node selection device, characterized in that, include: The acquisition module is used to acquire multiple pending business requests received through the same entry computing power routing node; The determination module is used to determine, based on whether the senders of multiple pending business requests are the same user, the target computing power nodes that satisfy each pending business request are selected according to a first rule or a second rule. The first rule prioritizes the second computing power node; the second rule selects other computing power nodes besides the first computing power node as candidate computing power nodes, or other computing power nodes besides the second computing power node as candidate computing power nodes. The second computing power node is all computing power nodes corresponding to the first computing power routing node; the first computing power routing node is the computing power routing node to which the first computing power node belongs; The first computing node is the computing node that is currently providing services for the target service request, which is any one of the multiple service requests to be determined.
16. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that causes a computer to perform the computing node selection method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Message forwarding method, device and system and computer readable storage medium
CN115226073A
Computing power resource scheduling method and device and computer readable storage medium
CN115277598A