Computing node arrangement method and device, electronic equipment and storage medium

By splitting computing tasks into independent computing transactions and determining target nodes based on topological information, the problem of the lack of hot-swappable capabilities in the computing network is solved, and high fault tolerance and efficient computing task distribution are achieved.

CN118796413APending Publication Date: 2024-10-18CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311284588.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-07
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

In the existing technology, computing power networks lack the ability to hot-plug computing power nodes, resulting in low fault tolerance and waste of computing resources, making it impossible to dynamically adjust computing task allocation.

Method used

By splitting the target computing tasks into independent and uncoupled computing transactions, determining the target computing nodes based on topology information, and regenerating the orchestration results in response to the re-arrangement instructions, dynamic adjustment of the orchestration results is achieved.

Benefits of technology

It improves the fault tolerance rate and computing efficiency of computing, and can dynamically adjust task allocation when computing nodes change to avoid waste of resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118796413A_ABST
    Figure CN118796413A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a computing node arrangement method and device, electronic equipment and a storage medium, and the method comprises the steps: determining a first target computing node for calculating a plurality of computing transactions according to first topological information of a first computing power network under the condition that a target computing task is received, according to the technical scheme, after the corresponding calculation transactions are sent to the first target calculation nodes corresponding to the multiple calculation transactions, the rearrangement instruction can be responded, the arrangement result can be regenerated, dynamic adjustment of the arrangement result is achieved, and the error-tolerant rate of calculation and the calculation efficiency are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a computing node orchestration method, device, electronic device and storage medium. Background Art

[0002] At present, in order to process large-scale high-performance computing tasks, multiple computing nodes can be combined through network connections to obtain a computing power network, and the computing tasks can be sent to the computing power network for processing.

[0003] In order to make full use of the computing resources of multiple computing nodes, the relevant technology splits the computing task into multiple sub-computing tasks, and preferentially allocates the multiple sub-computing tasks to computing nodes with large computing power values ​​and strong computing capabilities, and generates an orchestration result based on the allocated computing nodes and the topological path routed to each computing node. Since the computing tasks of each computing node are highly coupled, once the computing task is executed according to the orchestration result, it will not change during the entire execution process, and lacks the ability to hot-swap computing nodes.

[0004] If any computing node in the orchestration result goes down, the entire execution process will fail, the fault tolerance rate will be low, and when a computing node with strong computing power is added to the computing network, the computing node cannot be used, resulting in a waste of computing resources. Summary of the invention

[0005] The embodiments of the present application provide a computing node orchestration method, apparatus, electronic device, storage medium, and computer program product to solve the problem that a computing power network in the related art lacks the capability of hot-swapping computing power nodes.

[0006] In a first aspect, an embodiment of the present application provides a computing node orchestration method, including:

[0007] In the case of receiving a target computing task, determining a first target computing node for computing multiple computing transactions according to first topology information of a first computing power network, wherein the target computing task includes the multiple computing transactions, the first computing power network is a computing power network when receiving the target computing transaction, the first computing power network includes the first target computing node, and the first topology information includes bandwidth information and computing power information of the first computing power network;

[0008] Sending corresponding computing transactions to first target computing nodes corresponding to the plurality of computing transactions respectively, so that the first target computing nodes can calculate the computing transactions and return information of the remaining computing transactions;

[0009] In response to the rescheduling instruction, determining a second target computing node for computing the remaining computing transaction according to second topology information of a second computing power network, wherein the second computing power network is the computing power network when the rescheduling instruction is received, the second computing power network includes the second target computing node, and the second topology information includes bandwidth information and computing power information of the second computing power network;

[0010] The corresponding remaining computing transaction is sent to the second target computing node corresponding to the remaining computing transaction, so that the second target computing node calculates the remaining computing transaction.

[0011] In a second aspect, an embodiment of the present application provides a computing node orchestration device, including:

[0012] a determination module, configured to determine, when receiving a target computing task, a first target computing node for computing multiple computing transactions according to first topology information of a first computing power network, wherein the target computing task includes the multiple computing transactions, the first computing power network is a computing power network when receiving the target computing transaction, the first computing power network includes the first target computing node, and the first topology information includes bandwidth information and computing power information of the first computing power network;

[0013] A sending module, used to send corresponding computing transactions to first target computing nodes corresponding to the plurality of computing transactions respectively, so that the first target computing nodes can calculate the computing transactions and return information of the remaining computing transactions;

[0014] The determination module is further configured to determine, in response to the rescheduling instruction, a second target computing node for calculating the remaining computing transaction according to second topology information of the second computing power network, wherein the second computing power network is the computing power network when the rescheduling instruction is received, the second computing power network includes the second target computing node, and the second topology information includes bandwidth information and computing power information of the second computing power network;

[0015] The sending module is further used to send the corresponding remaining computing transaction to the second target computing node corresponding to the remaining computing transaction, so that the second target computing node can calculate the remaining computing transaction.

[0016] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processing component, a storage component, and a display component, wherein the storage component stores one or more computer instructions, and the one or more computer instructions are used to be called and executed by the processing component to implement the computing node orchestration method described in the first aspect.

[0017] In a fourth aspect, an embodiment of the present application provides a computer storage medium storing a computer program, which, when executed by a computer, implements the computing node orchestration method as described in the first aspect.

[0018] The embodiment of the present application provides a computing node orchestration method, device, electronic device and storage medium. In the embodiment of the present application, when a target computing task is received, a first target computing node for computing multiple computing transactions is determined according to first topology information of a first computing power network, wherein the target computing task includes the multiple computing transactions, the first computing power network is the computing power network when the target computing transaction is received, the first computing power network includes the first target computing node, and the first topology information includes bandwidth information and computing power information of the first computing power network; the corresponding computing transactions are sent to the first target computing nodes corresponding to the multiple computing transactions respectively, so that the first target computing node calculates the computing transactions and returns information of the remaining computing transactions; in response to a rescheduling instruction, a second target computing node for computing the remaining computing transactions is determined according to second topology information of a second computing power network, wherein the second computing power network is the computing power network when the rescheduling instruction is received, the second computing power network includes the second target computing node, and the second topology information includes bandwidth information and computing power information of the second computing power network; the corresponding remaining computing transactions are sent to the second target computing nodes corresponding to the remaining computing transactions, so that the second target computing nodes calculate the remaining computing transactions. The embodiment of the present application can send corresponding computing transactions to the first target computing nodes corresponding to multiple computing transactions respectively, and then respond to the re-scheduling instruction to regenerate the scheduling result, thereby realizing dynamic adjustment of the scheduling result and improving the fault tolerance and computing efficiency of the computing. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application, and do not constitute an improper limitation on the present application.

[0020] Figure 1 A schematic diagram of a scenario of a computing node orchestration method provided in an embodiment of the present application is shown;

[0021] Figure 2 A schematic diagram of a process flow of a computing node orchestration method provided in an embodiment of the present application is shown;

[0022] Figure 3 A schematic diagram of a process flow of a computing node orchestration method provided in an embodiment of the present application is shown;

[0023] Figure 4 A schematic diagram of a process flow of a computing node orchestration method provided in an embodiment of the present application is shown;

[0024] Figure 5 A schematic diagram of a process flow of a computing node orchestration method provided in an embodiment of the present application is shown;

[0025] Figure 6 A schematic diagram of the structure of a computing node arrangement device provided in an embodiment of the present application is shown;

[0026] Figure 7 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0027] In order to make those of ordinary skill in the art better understand the technical scheme of the present application, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here can be implemented in an order other than those illustrated or described here. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are only examples consistent with some aspects of the present application as detailed in the attached claims.

[0029] In the related art, the computing nodes and communication nodes that make up the entire computing network are usually evaluated by using a preset static orchestration method, and the orchestrator evaluates, splits and allocates computing tasks according to the preset algorithm. Because the splitting of computing tasks only considers input and output, the coupling of each subtask of the same computing node is strong, so there is a lack of the ability to dynamically adjust the execution of tasks of each computing node during the calculation process. For example, two subtasks need to be calculated in the same computing node, namely subtask 1 and subtask 2, and the output of subtask 1 affects the input of subtask 2. Therefore, once the subtask is arranged to other computing nodes for calculation, the lack of the output of subtask 1 will cause the calculation of subtask 2. Therefore, in the related art, when the computing network node changes, it is impossible to allocate tasks according to the current network node. If any computing node in the orchestration result is down, the entire execution process will fail, the fault tolerance rate is low, and when a computing node with strong computing power is added to the computing network, the computing node cannot be used, resulting in a waste of computing resources.

[0030] In order to solve the above technical problems, the embodiments of the present application provide a computing node orchestration method, device, electronic device and storage medium. When receiving a target computing task, the computing node orchestration method can split the entire computing task into multiple computing transactions according to the principle of independence and non-coupling, determine the first target computing node for calculating the multiple computing transactions according to the first topology information of the first computing power network, and after sending the corresponding computing transactions to the first target computing nodes corresponding to the multiple computing transactions, it can respond to the re-arrangement instruction and regenerate the orchestration result, thereby realizing dynamic adjustment of the orchestration result and improving the fault tolerance and computing efficiency of the calculation.

[0031] also, Figure 1 A schematic diagram of a scenario of a computing node orchestration method provided in an embodiment of the present application, such as Figure 1 As shown, the scenario includes: computing task request nodes and computing power network.

[0032] Among them, the computing power network includes an orchestrator and multiple network nodes, and the network nodes include multiple computing nodes, multiple transmission nodes and at least one storage node.

[0033] The computing task request node is used to send the target computing task to the orchestrator of the computing power network.

[0034] The orchestrator is used to decompose the target computing task into multiple computing transactions. Each computing transaction has the following characteristics:

[0035] Computing transactions do not depend on the specific computing node hardware and software environment.

[0036] Computational transactions are atomic and have only two states: successful and failed, with no intermediate states.

[0037] Atomicity means that the computing transaction as a whole is either fully executed successfully or completely rolled back to the state before the transaction started, with no intermediate state. All operations in the transaction are either successfully committed or all failed and rolled back, without partial execution. This ensures that the operations of the transaction are indivisible and uninterruptible. The computing transaction is consistent, and the external state (such as storage state) does not change before and after the calculation starts and is completed.

[0038] Consistency refers to the transfer of the database from one consistent state to another during the execution of a transaction. The execution of a transaction cannot violate the integrity constraints and business rules of the database to ensure the legitimacy and correctness of the data. The result of the transaction must meet the predetermined consistency constraints, otherwise it will be rolled back to the state before the transaction started.

[0039] Computing transactions are isolated, allowing multiple computing transactions to be executed concurrently without relying on each other.

[0040] The resource consumption scale of each computing transaction shall not exceed the maximum resource amount provided by the minimum capacity computing node.

[0041] After obtaining multiple computing transactions, the orchestrator obtains the basic information of multiple network nodes, parses the basic information, and obtains the topological structure of the computing power network. The topological structure includes multiple topological paths for computing nodes, and each topological path is a path for computing data in a storage node to reach a computing node through at least one transmission node.

[0042] The orchestrator is also used to calculate the bandwidth and network latency information of each topological path, the computing latency and computing power of the computing nodes and other topological information based on the topological structure of the computing network, determine the network node corresponding to each computing transaction based on the topological information, and generate the orchestration result. The orchestration result is described by the Topology and Orchestration Specification for Cloud Applications (TOSCA) template to generate a TOSCA orchestration package, and the orchestration package is broadcast to multiple network nodes of the computing network.

[0043] After receiving the TOSCA orchestration package, the computing node checks whether there is a computing transaction assigned to itself in the orchestration package. If so, it adds the computing transaction to the execution queue and reports its computing status to the orchestrator through the TOSCA template when the orchestrator is in the polling state.

[0044] After receiving the TOSCA orchestration package, the transmission node checks whether there is its own network configuration in the orchestration package. If so, it configures the network according to the network configuration parameters in the orchestration package and reports its own network status to the orchestrator through the TOSCA template when the orchestrator is in the polling state.

[0045] The orchestrator is also used to determine the current multiple remaining computing transactions of the target computing task based on the information uploaded by multiple network nodes when receiving a re-arrangement instruction, and determine the network nodes corresponding to the multiple remaining computing transactions based on the multiple network nodes of the current computing power network, and regenerate the TOSCA orchestration package for broadcasting.

[0046] The communication mode between the computing task request node and the computing power network or multiple network nodes in the computing power network can be wired communication and wireless communication. Among them, wired communication can be the transmission of information through physical media (such as cables, optical fibers). For example, telephone lines, local area networks (LANs), wide area networks (WANs), etc. Wireless communication can transmit information through wireless signals such as radio waves or infrared rays. For example, radio, mobile communications (such as mobile phones, cellular networks), Wi-Fi, Bluetooth, etc.

[0047] Computing nodes can be physical servers, virtual machines, containers, crowd-sourced computing nodes, edge computing nodes, and so on. Among them, physical servers can refer to independent hardware devices with resources such as processors, memory, storage, and network interfaces. They are usually installed in racks or cabinets and connected via Ethernet or other Internet networks; virtual machines can be software-simulated computing nodes created on physical servers. Through virtualization technology, a physical server can run multiple independent virtual machines at the same time, each with its own operating system and resources. Virtual machines provide better resource utilization and flexibility; containers can be a lightweight virtualization technology used to isolate applications and their dependencies. Containers share the operating system kernel of the host and provide a more portable and fast way to deploy. Containers can run multiple isolated application instances on a single physical server; crowd-sourced computing nodes can refer to the use of a large number of personal computers or mobile devices distributed in the network to perform computing tasks. These devices can be connected and integrated into a large-scale computing network through the Internet, providing computing resources and collaboration capabilities; edge computing nodes can refer to computing nodes distributed at the edge of the network (such as IoT devices, routers, edge servers, etc.). Edge computing nodes can process and store data and provide low-latency computing services, which are suitable for edge computing scenarios.

[0048] Transmission nodes can be routers, switches, network management systems, firewalls, servers, terminal devices, etc.

[0049] Combine the following Figure 2 The computing node arrangement method implemented in this application is introduced. Figure 2 As shown, the execution device of this method may be Figure 1 In the orchestrator, the method may include:

[0050] S201. When a target computing task is received, determine a first target computing node for computing multiple computing transactions according to first topology information of a first computing power network.

[0051] Among them, the target computing task includes multiple computing transactions, the first computing power network is the computing power network when receiving the target computing transaction, the first computing power network includes the first target computing node, and the first topology information includes bandwidth information and computing power information of the first computing power network.

[0052] The target computing task can be Figure 1 The target computing task is sent by the computing task request node in the process, and the task types of the target computing task can be data processing and analysis tasks, numerical computing and scientific computing tasks, image and video processing tasks, natural language processing tasks, etc.

[0053] When a target computing task is received, the target task may be divided into multiple computing transactions based on the type and process of the target task.

[0054] In some embodiments, when a target computing task is received, the target computing task is split into multiple computing transactions based on preset transactions.

[0055] For example, if the target computing task is to place an online shopping order, the target computing task can be divided into the following computing transactions: warehousing data calculation, logistics data calculation, payment data calculation, and discount data calculation.

[0056] After obtaining multiple computing transactions, for each computing transaction, the first target computing node corresponding to each computing transaction can be determined based on the computing power of each computing node in the first computing power network and the topological path corresponding to each computing node.

[0057] S202. Send corresponding computing transactions to first target computing nodes corresponding to each of the multiple computing transactions.

[0058] The first target computing node is thereby used to compute the computing transaction and return information on the remaining computing transactions.

[0059] In order for the first target computing node to calculate the computing transaction, the corresponding computing transaction can be sent to the first target computing node so that the first target computing node starts to execute the corresponding computing task and returns the information of the remaining computing transaction to the orchestrator at a preset time or when an information return instruction is received.

[0060] S203. In response to the rescheduling instruction, determine a second target computing node for computing the remaining computing transactions according to the second topology information of the second computing power network.

[0061] Among them, the second computing power network is the computing power network when the rescheduling instruction is received, the second computing power network includes the second target computing node, and the second topology information includes the bandwidth information and computing power information of the second computing power network.

[0062] The rescheduling instruction may be generated when the scheduler detects that a first target computing node is unavailable, or when a new computing node is detected to be added to the first computing network, or at every preset time period.

[0063] When receiving the rescheduling instruction, the nodes of the first computing network may add new computing nodes or lose some computing nodes, thereby obtaining the second computing network. Therefore, the second target computing node for calculating the remaining computing transactions can be determined based on the bandwidth information and computing power information in the current second computing network.

[0064] S204. Send the corresponding remaining computing transactions to the second target computing nodes corresponding to the remaining computing transactions.

[0065] The second target computing node is thereby used to compute the remaining computing tasks.

[0066] The embodiments of the present application provide a computing node orchestration method, device, electronic device and storage medium. In the embodiment of the present application, when a target computing task is received, a first target computing node for computing multiple computing transactions is determined according to first topology information of a first computing power network, wherein the target computing task includes multiple computing transactions, the first computing power network is the computing power network when the target computing transaction is received, the first computing power network includes the first target computing node, and the first topology information includes bandwidth information and computing power information of the first computing power network; the corresponding computing transactions are sent to the first target computing nodes corresponding to the multiple computing transactions respectively, so that the first target computing node calculates the computing transactions and returns information of the remaining computing transactions; in response to a rescheduling instruction, a second target computing node for computing the remaining computing transactions is determined according to second topology information of a second computing power network, wherein the second computing power network is the computing power network when the rescheduling instruction is received, the second computing power network includes the second target computing node, and the second topology information includes bandwidth information and computing power information of the second computing power network; the corresponding remaining computing transactions are sent to the second target computing nodes corresponding to the remaining computing transactions, so that the second target computing nodes calculate the remaining computing transactions. The embodiment of the present application can send corresponding computing transactions to the first target computing nodes corresponding to multiple computing transactions respectively, and then respond to the re-scheduling instruction to regenerate the scheduling result, thereby realizing dynamic adjustment of the scheduling result and improving the fault tolerance and computing efficiency of the computing.

[0067] In some embodiments, the first target computing node corresponding to each computing transaction may be determined based on the computing power of each computing node in the first computing power network and the topological path corresponding to each computing node. S201: upon receiving a target computing task, determining the first target computing node for computing multiple computing transactions according to the first topological information of the first computing power network includes:

[0068] For any computing transaction, determine, from the first topology information of the first computing network, topological paths corresponding to each of the plurality of first computing nodes in the first computing network, remaining computing powers corresponding to each of the plurality of first computing nodes, and remaining bandwidths corresponding to the plurality of topological paths;

[0069] Based on the remaining bandwidths of the multiple topological paths and the multiple remaining computing powers, a first target computing node corresponding to the computing transaction is determined.

[0070] Among them, the first topology information can be parsed to obtain the topological structure of the first computing power network, which includes multiple topological paths for computing nodes, and each topological path is a path from computing data in a storage node to a computing node through at least one transmission node.

[0071] It can be understood that the remaining bandwidth corresponding to each topological path and the remaining computing power of each first target computing node can be determined from the topological structure, wherein the remaining bandwidth can be the difference between the maximum bandwidth of each topological path and the bandwidth being used by the topological path, and the remaining computing power can be the difference between the maximum computing power and the used computing power of each first target computing node.

[0072] In an optional embodiment, in the process of determining the first target computing node of computing transaction c, it is determined that the maximum bandwidth of topological path i is 30Mb / s, and computing transaction a has been allocated to the topological path i, and the bandwidth of computing transaction a is 10Mb / s, then the remaining bandwidth of the current topological path i is 20Mb / s; it is further determined that the maximum computing power of a first target computing node is 10FLOPS, and computing transaction b has been allocated to the first target computing node, and the computing power required for computing transaction b is 5FLOPS, so the remaining computing power of the current first target computing node is 5FLOPS.

[0073] The remaining bandwidths of multiple topological paths and multiple remaining computing powers may be combined to determine the first target computing node corresponding to the computing transaction.

[0074] Furthermore, first target computing nodes corresponding to the multiple computing transactions can be obtained.

[0075] In some embodiments, each computing transaction will have a corresponding transaction bandwidth and required computing power. Based on the remaining bandwidths and multiple remaining computing powers of multiple topological paths, the first target computing node corresponding to the computing transaction is determined, including: determining at least one topological path in the multiple topological paths whose remaining bandwidth is greater than the computing transaction bandwidth; determining the remaining computing power of the first computing node on at least one topological path; and determining the first computing node in the first computing node whose remaining computing power is greater than the computing power of the computing transaction as the first target computing node.

[0076] For topological path i, the total bandwidth of computing transactions allocated to topological path i cannot be greater than the remaining total bandwidth of topological path i. The remaining bandwidth of topological path i can be determined by the following formula:

[0077]

[0078] Where Wi′ is the remaining bandwidth of topological path i, Wi is the maximum bandwidth of topological path i, is the used bandwidth of topological path i, which represents the total bandwidth of computing transactions allocated to topological path i among the m computing transactions of the target computing transaction, w j represents the bandwidth occupied by computing transaction j, Indicates whether computing transaction j is assigned to topological path i. When the value is 1, it means that computing transaction j is assigned to topological path i. When the value is 0, it means that computing transaction j is not assigned to topological path i.

[0079] The bandwidth of the computing transaction is compared with the remaining bandwidth of the topological path i. If the bandwidth of the computing transaction is not greater than the remaining bandwidth of the topological path i, the topological path is determined as the topological path to be selected. In this way, at least one topological path corresponding to the computing transaction is determined.

[0080] Furthermore, the total computing power of computing transactions allocated to computing node p cannot be greater than the remaining computing power E of computing node p. P , wherein the computing node p is a computing node corresponding to a topological path in at least one topological path.

[0081]

[0082] Among them, E P ′ is the remaining computing power of computing node p, E P is the maximum bandwidth of topological path i, is the computing power used by computing node p, which represents the total bandwidth of computing transactions allocated to topological path i among the m computing transactions of the target computing transaction, e j represents the bandwidth occupied by computing transaction j, Indicates whether computing transaction j is assigned to computing node p. When the value is 1, it means that computing transaction j is assigned to computing node p. When the value is 0, it means that computing transaction j is not assigned to computing node p.

[0083] The computing power required for the computing transaction is compared with the remaining computing power of computing node p. When the computing power required for the computing transaction is not greater than the remaining computing power of computing node p, the computing transaction is allocated to computing node p, thereby determining the first target computing node.

[0084] In some embodiments, the first topology information further includes network delays of multiple topology paths and computing delays of computing nodes in the topology paths, and when multiple first target computing nodes are determined, it is necessary to determine the optimal computing node, and after determining the first computing node whose remaining computing power is greater than the computing power of the computing transaction among the first computing nodes as the first target computing node, the method further includes:

[0085] In the case where the first target computing node is a plurality of computing nodes, determining the total delay according to the network delay of the topological path where the first target computing node is located and the computing delay of the first target computing node;

[0086] Determine that a first target computing node corresponding to a minimum delay among the multiple total delays is the third target computing node.

[0087] In addition to determining the remaining computing power corresponding to each of the multiple first computing nodes and the remaining bandwidth corresponding to the multiple topological paths from the first topological information, the network delays of the multiple topological paths and the computing delays of the first computing nodes in the topological paths can also be determined. Therefore, the total delay can be determined according to the network delay of the topological path where the first target computing node is located and the computing delay of the first target computing node; the first target computing node corresponding to the smallest delay among the multiple total delays is determined as the third target computing node. In this way, the optimal computing node for calculating each computing transaction can be determined, thereby improving the efficiency of the calculation.

[0088] In some embodiments, in order to simplify communication and improve the real-time performance of communication, after determining the first target computing node or the third target computing node corresponding to each computing transaction, an orchestration result including the relationship between the computing transaction and the corresponding target computing node can be generated, and the orchestration result can be sent to all nodes of the computing power network by broadcasting. The computing node receives the orchestration result and checks whether there is a computing transaction assigned to itself in the orchestration result. If so, the computing transaction is added to the execution queue.

[0089] In addition, the orchestration result may also include a topological path for transmitting computing data to the first target computing node or the third target computing node and a network configuration of multiple transmission nodes in the topological path. After receiving the orchestration result, the transmission node checks whether there is a network configuration of its own in the orchestration result. If so, the network is configured according to the network configuration parameters in the orchestration package.

[0090] In some embodiments, in order to improve transmission efficiency and computing efficiency, the orchestration result can be described by a TOSCA template to generate a TOSCA orchestration package, and the orchestration package can be broadcast to multiple network nodes of the computing network, and multiple network nodes can also upload their own information through the TOSCA template description and upload the described information. Since the network nodes and the orchestrator use the same template to describe the information, the transmission efficiency and computing efficiency are greatly improved compared to using their respective corresponding data formats for transmission.

[0091] In order to facilitate the understanding of the implementation process of the computing node orchestration method, Figure 3 A flowchart of a computing node orchestration method provided in an embodiment of the present application is shown, comprising the following steps:

[0092] S301. The computing power requesting node sends the target computing task to the orchestrator.

[0093] S302: The orchestrator splits the target computing task into multiple computing transactions according to the computing transaction principle.

[0094] S303: The orchestrator determines the first target computing nodes and topological paths corresponding to each of the multiple computing transactions, generates a TOSCA orchestration package, and sends it to multiple computing nodes and transmission nodes of the computing power network.

[0095] S304: The computing node receives the TOSCA orchestration package.

[0096] S305: Whether the TOSCA orchestration package has computing transactions assigned to this node.

[0097] If not, execute S306 and do nothing.

[0098] If yes, execute S307, add the computing transaction to the execution queue, and report its computing status to the orchestrator through the TOSCA template.

[0099] S308: The transmission node receives the TOSCA orchestration packet.

[0100] S309: Whether the TOSCA orchestration package has configuration belonging to this node.

[0101] If not, execute S310 and do nothing.

[0102] If yes, execute S311, configure the network, and report the current network status to the orchestrator through the TOSCA template.

[0103] S312: The orchestrator receives the upload information from the computing node and the transmission node.

[0104] S313: Are all computing tasks completed?

[0105] If not all are completed, execute S314, save the computing transaction progress and network status, update the TOSCA orchestration package, and broadcast it to each network node.

[0106] If all are completed, S315 is executed to summarize the calculation results, generate the final calculation result, and return it to the requesting node.

[0107] In some embodiments, when it is detected that the first target node in the orchestration result is unavailable, a rescheduling instruction may be generated. S202: after sending corresponding computing transactions to the first target computing nodes corresponding to the plurality of computing transactions respectively, the method further includes: detecting whether information on the remaining computing transactions returned by the first target computing nodes is received; and generating a rescheduling instruction if no information on the remaining computing transactions returned by any first target computing nodes is received within a preset time period.

[0108] The orchestrator can detect in real time whether each first target computing node returns information about the remaining computing transactions. If no information about the remaining computing transactions returned by any first target computing node is received within a preset time period, it means that the first target computing node is unavailable. Continuing to use the first target computing node to process computing transactions will cause the target computing task to fail. Therefore, a rescheduling instruction is generated to determine the second target computing node for calculating the remaining computing transactions based on the second topology information of the second computing power network, and send the corresponding remaining computing transactions to the second target computing node corresponding to the remaining computing transactions, so that the second target computing node can calculate the remaining computing transactions.

[0109] The embodiment of the present application determines whether the first target computing node is available by detecting whether the first target computing node returns information about the remaining computing transactions within a preset time period. When it is detected that the first target computing node is unavailable, a rescheduling instruction is generated to rescheduling the remaining computing transactions, thereby improving the computing stability of the computing power network.

[0110] In order to facilitate the understanding of the implementation process of rearrangement, Figure 4 A flowchart of another computing node arrangement method provided in an embodiment of the present application is shown, comprising the following steps:

[0111] S401: The scheduler does not receive status report information from a computing node within a preset time period, and senses that the computing node is disconnected.

[0112] S402: The orchestrator searches for unfinished computing transactions of disconnected nodes according to the included TOSCA orchestration package.

[0113] S403: Redistribute the remaining computing tasks according to the current computing nodes and transmission nodes recorded in the TOSCA orchestration package, and update the TOSCA orchestration package.

[0114] S404: The orchestration package broadcasts the updated TOSCA orchestration package to each computing node, and each computing node executes and configures according to the TOSCA orchestration package.

[0115] In some embodiments, after S202, sending corresponding computing transactions to first target computing nodes corresponding to multiple computing transactions respectively, the method also includes: detecting computing nodes of the first computing power network; and generating a rescheduling instruction when it is detected that a new computing node has been added to the first computing power network.

[0116] If it is detected that a new computing node has been added to the computing power network, and the topological path and remaining computing power of the computing node meet the requirements for allocating computing transactions to it, if computing transactions are not allocated to it, it will lead to waste of resources of the computing node. Therefore, when it is detected that a new computing node has been added to the first computing power network, a rescheduling instruction is generated, and the second target computing node for calculating the remaining computing transactions is determined according to the second topological information of the second computing power network, and the corresponding remaining computing transactions are sent to the second target computing node corresponding to the remaining computing transactions, so that the second target computing node can calculate the remaining computing transactions.

[0117] In order to facilitate the understanding of the implementation process of rearrangement, Figure 5 A flowchart of another computing node orchestration method provided in an embodiment of the present application is shown, which includes the following steps.

[0118] S501: A new computing node is detected and reported to the orchestrator based on the TOSCA template broadcast by the orchestrator.

[0119] S502: The orchestrator receives information about the new computing node, checks the TOSCA orchestration package, evaluates the points for allocating transactions, and reallocates the remaining computing transactions.

[0120] S503: The orchestrator updates the TOSCA orchestration package and broadcasts it to each computing node and transmission node.

[0121] S504: The computing node receives a new TOSCA orchestration package.

[0122] S505: Whether the computing power transaction is allocated to other computing nodes.

[0123] When the computing power transaction of the computing node is not allocated to other computing nodes, the computing node executes S506 and continues to execute the computing transaction.

[0124] When its own computing power transaction is allocated to other computing nodes, the computing node executes S507 and deletes the computing transaction from the execution queue.

[0125] like Figure 6 As shown, the computing node orchestration device provided in the embodiment of the present application may include a determination module 601 and a sending module 602.

[0126] The determination module 601 is used to determine, when receiving a target computing task, a first target computing node for computing multiple computing transactions according to first topology information of a first computing power network, wherein the target computing task includes multiple computing transactions, the first computing power network is a computing power network when receiving the target computing transaction, the first computing power network includes a first target computing node, and the first topology information includes bandwidth information and computing power information of the first computing power network;

[0127] A sending module 602 is used to send corresponding computing transactions to first target computing nodes corresponding to the plurality of computing transactions, so that the first target computing nodes can calculate the computing transactions and return information about the remaining computing transactions;

[0128] The determination module 601 is further configured to determine, in response to the rescheduling instruction, a second target computing node for calculating the remaining computing transaction according to second topology information of the second computing power network, wherein the second computing power network is the computing power network when the rescheduling instruction is received, the second computing power network includes the second target computing node, and the second topology information includes bandwidth information and computing power information of the second computing power network;

[0129] The sending module 602 is further used to send the corresponding remaining computing transaction to the second target computing node corresponding to the remaining computing transaction, so that the second target computing node can calculate the remaining computing transaction.

[0130] An embodiment of the present application provides a computing node scheduling device. In the embodiment of the present application, when a target computing task is received, the first target computing node for computing multiple computing transactions is determined according to the first topology information of the first computing power network, wherein the target computing task includes multiple computing transactions, the first computing power network is the computing power network when the target computing transaction is received, the first computing power network includes the first target computing node, and the first topology information includes bandwidth information and computing power information of the first computing power network; the corresponding computing transactions are sent to the first target computing nodes corresponding to the multiple computing transactions respectively, so that the first target computing node calculates the computing transactions and returns information about the remaining computing transactions; in response to a rescheduling instruction, the second target computing node for computing the remaining computing transactions is determined according to the second topology information of the second computing power network, wherein the second computing power network is the computing power network when the rescheduling instruction is received, the second computing power network includes the second target computing node, and the second topology information includes bandwidth information and computing power information of the second computing power network; the corresponding remaining computing transactions are sent to the second target computing nodes corresponding to the remaining computing transactions, so that the second target computing nodes calculate the remaining computing transactions. The embodiment of the present application can send corresponding computing transactions to the first target computing nodes corresponding to multiple computing transactions respectively, and then respond to the re-scheduling instruction to regenerate the scheduling result, thereby realizing dynamic adjustment of the scheduling result and improving the fault tolerance and computing efficiency of the computing.

[0131] In some embodiments, the first target computing node corresponding to each computing transaction may be determined based on the computing power of each computing node in the first computing power network and the topological path corresponding to each computing node. The determination module 601 is specifically used to:

[0132] For any computing transaction, determine, from the first topology information of the first computing network, topological paths corresponding to each of the plurality of first computing nodes in the first computing network, remaining computing powers corresponding to each of the plurality of first computing nodes, and remaining bandwidths corresponding to the plurality of topological paths;

[0133] Based on the remaining bandwidths of the multiple topological paths and the multiple remaining computing powers, a first target computing node corresponding to the computing transaction is determined.

[0134] In some embodiments, each computing transaction may have a corresponding transaction bandwidth and required computing power, and the determination module 601 is further specifically configured to:

[0135] Determine at least one topological path in which the remaining bandwidth is greater than the computing transaction bandwidth among multiple topological paths; determine the remaining computing power of the first computing node on at least one topological path; and determine the first computing node in which the remaining computing power is greater than the computing transaction computing power as the first target computing node.

[0136] In some embodiments, the first topology information further includes network delays of multiple topology paths and computing delays of computing nodes in the topology paths, and when there are multiple first target computing nodes determined, it is necessary to determine the optimal computing node, and the determination module 601 is further used to:

[0137] In the case where the first target computing node is a plurality of computing nodes, determining the total delay according to the network delay of the topological path where the first target computing node is located and the computing delay of the first target computing node;

[0138] Determine that a first target computing node corresponding to a minimum delay among the multiple total delays is the third target computing node.

[0139] In some embodiments, the above-mentioned device also includes: a splitting module, which is used to split the target computing task into multiple computing transactions based on preset transactions when the target computing task is received.

[0140] In some embodiments, when it is detected that the first target node in the orchestration result is unavailable, a re-arrangement instruction may be generated, and the above-mentioned apparatus further includes: a detection module and a generation module.

[0141] The detection module is used to detect whether the information of the remaining computing transactions returned by the first target computing node is received.

[0142] The generation module is used to generate a rescheduling instruction when no information of remaining computing transactions returned by any first target computing node is received within a preset time period.

[0143] In some embodiments, the detection module is also used to detect computing nodes of the first computing power network.

[0144] The generation module is also used to generate a re-arrangement instruction when it is detected that a new computing node is added to the first computing power network.

[0145] Figure 7 Schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 7 As shown, the electronic device may include a processor 701 and a memory 702 storing computer programs or instructions.

[0146] Specifically, the processor 701 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiment of the present invention.

[0147] The memory 702 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 702 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 702 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 702 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 702 is a non-volatile solid-state memory. The memory may include a read-only memory (ROM), a random access memory (RAM), a disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described in the computing node orchestration method provided in the above-mentioned embodiments.

[0148] The processor 701 implements any one of the computing node scheduling methods in the above embodiments by reading and executing computer program instructions stored in the memory 702 .

[0149] In one example, the electronic device may further include a communication interface 703 and a bus 710. Figure 7 As shown, the processor 701, the memory 702, and the communication interface 703 are connected via a bus 710 and communicate with each other.

[0150] The communication interface 703 is mainly used to implement the communication between the modules, devices, units and / or devices in the embodiment of the present invention.

[0151] Bus 710 includes hardware, software or both, and the parts of electronic equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 710 may include one or more buses. Although the embodiment of the present invention describes and shows a specific bus, the present invention considers any suitable bus or interconnection.

[0152] The electronic device can execute the computing node orchestration method in the embodiment of the present invention, thereby realizing the computing node orchestration method described in the above embodiment.

[0153] In addition, in combination with the computing node arrangement method in the above embodiment, the embodiment of the present invention can provide a readable storage medium for implementation. The readable storage medium stores program instructions, and when the program instructions are executed by a processor, any one of the computing node arrangement methods in the above embodiment is implemented.

[0154] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.

[0155] The functional blocks shown in the above structured block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0156] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.

[0157] The above reference is according to the method of the embodiment of the present application, the flow chart of the device (system) and the computer program product and / or the block diagram described various aspects of the present application.It should be understood that each square box in the flow chart and / or the block diagram and the combination of each square box in the flow chart and / or the block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function / action specified in one or more square boxes of the flow chart and / or the block diagram.Such a processor can be but is not limited to a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.It can also be understood that each square box in the block diagram and / or the flow chart and the combination of the square boxes in the block diagram and / or the flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.

[0158] The above is only a specific implementation of the present invention. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be covered within the protection scope of the present invention.

Claims

1. A computing node scheduling method, characterized in that: include: In the case of receiving a target computing task, determining a first target computing node for computing multiple computing transactions according to first topology information of a first computing power network, wherein the target computing task includes the multiple computing transactions, the first computing power network is a computing power network when receiving the target computing transaction, the first computing power network includes the first target computing node, and the first topology information includes bandwidth information and computing power information of the first computing power network; Sending corresponding computing transactions to first target computing nodes corresponding to the plurality of computing transactions respectively, so that the first target computing nodes can calculate the computing transactions and return information of the remaining computing transactions; In response to the rescheduling instruction, determining a second target computing node for computing the remaining computing transaction according to second topology information of a second computing power network, wherein the second computing power network is the computing power network when the rescheduling instruction is received, the second computing power network includes the second target computing node, and the second topology information includes bandwidth information and computing power information of the second computing power network; The corresponding remaining computing transaction is sent to the second target computing node corresponding to the remaining computing transaction, so that the second target computing node calculates the remaining computing transaction.

2. The method according to claim 1, characterized in that The step of determining, upon receiving a target computing task, a first target computing node for computing multiple computing transactions according to first topology information of a first computing power network comprises: For any computing transaction, determine, from the first topology information of the first computing power network, the topological paths corresponding to each of the plurality of first computing nodes in the first computing power network, the remaining computing power corresponding to each of the plurality of first computing nodes, and the remaining bandwidth corresponding to the plurality of topological paths; Based on the remaining bandwidths of the multiple topological paths and the multiple remaining computing powers, a first target computing node corresponding to the computing transaction is determined.

3. The method according to claim 2, characterized in that The determining, based on the remaining bandwidths of the plurality of topological paths and the plurality of remaining computing powers, the first target computing node corresponding to the computing transaction comprises: Determine at least one topological path having a remaining bandwidth greater than a computing transaction bandwidth among the plurality of topological paths; Determining the remaining computing power of the computing nodes on the at least one topological path; A first computing node among the plurality of computing nodes whose remaining computing power is greater than the computing power of the computing transaction is determined as the first target computing node.

4. The method according to claim 3, characterized in that The first topology information further includes network delays of multiple topology paths and computing delays of computing nodes in the topology paths. After determining the first computing node whose remaining computing power is greater than the computing power of the computing transaction among the first computing nodes as the first target computing node, the method further includes: In the case where the first target computing node is a plurality of computing nodes, the total delay is determined according to the network delay of the topological path where the first target computing node is located and the computing delay of the first target computing node; and the first target computing node corresponding to the smallest delay among the plurality of total delays is determined as the third target computing node.

5. The method according to claim 1, characterized in that The method further comprises: When a target computing task is received, the target computing task is split into multiple computing transactions based on preset transactions.

6. The method according to claim 1, characterized in that After sending the corresponding computing transactions to the first target computing nodes respectively corresponding to the multiple computing transactions, the method further includes: Detect whether information of remaining computing transactions returned by the first target computing node is received; If no information about remaining computing transactions returned by any of the first target computing nodes is received within a preset time period, a rescheduling instruction is generated.

7. The method according to claim 1, characterized in that After sending the corresponding computing transactions to the first target computing nodes respectively corresponding to the multiple computing transactions, the method further includes: Detecting computing nodes of the first computing power network; When it is detected that a new computing node is added to the first computing power network, a rescheduling instruction is generated.

8. A computing node scheduling device, characterized in that: include: a determination module, configured to determine, when receiving a target computing task, a first target computing node for computing multiple computing transactions according to first topology information of a first computing power network, wherein the target computing task includes the multiple computing transactions, the first computing power network is a computing power network when receiving the target computing transaction, the first computing power network includes the first target computing node, and the first topology information includes bandwidth information and computing power information of the first computing power network; A sending module, used to send corresponding computing transactions to first target computing nodes corresponding to the plurality of computing transactions respectively, so that the first target computing nodes can calculate the computing transactions and return information of the remaining computing transactions; The determination module is further configured to determine, in response to the rescheduling instruction, a second target computing node for calculating the remaining computing transaction according to second topology information of the second computing power network, wherein the second computing power network is the computing power network when the rescheduling instruction is received, the second computing power network includes the second target computing node, and the second topology information includes bandwidth information and computing power information of the second computing power network; The sending module is further used to send the corresponding remaining computing transaction to the second target computing node corresponding to the remaining computing transaction, so that the second target computing node can calculate the remaining computing transaction.

9. An electronic device, characterized in that: comprising a processor and a memory storing computer program instructions; The processor executes the computing node orchestration method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the computing node orchestration method according to any one of claims 1 to 7 is implemented.