Distributed computing power scheduling method and system for edge computing devices

By configuring dynamic node status tables and task slicing current limiters on the central computing power management node, efficient computing power sharing between edge devices is achieved, which solves the problem of insufficient computing power of edge computing devices during high load periods and improves device utilization. and deployment cost-effectiveness.

CN115378950BActive Publication Date: 2024-10-01MINIVISION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210982644.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-16
Publication Date
2024-10-01
Estimated Expiration
2042-08-16

AI Technical Summary

Technical Problem

A large number of analysis tasks on edge computing devices occur in a short period of time, resulting in insufficient computing power, resulting in reduced algorithm analysis effects and real-time performance, especially during high-load periods such as face recognition, resulting in increased system design and deployment costs.

Method used

By configuring a dynamic node status table on the central computing power management node, efficient computing power sharing between edge devices is achieved, overloaded nodes query and transmit task slices to idle nodes for collaborative computing, and task slice current limiters are used to dynamically adjust task traffic. until the peak state is eliminated.

Benefits of technology

Effectively deal with the 'peaks and troughs' phenomenon within the system, improve equipment utilization and deployment cost-effectiveness, and ensure real-time performance and analysis results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115378950B_ABST
    Figure CN115378950B_ABST
Patent Text Reader

Abstract

The present invention provides a distributed computing power scheduling method and system for edge computing devices, each edge computing device constitutes a computing node, and the distributed computing power scheduling method includes: configuring a central computing power scheduling node, configuring a dynamic node status table in the central scheduling node, and dynamically updating node information of the computing node; the overload node queries the dynamic node status table, obtains idle nodes in the intranet or extranet, and sends the task slices of the overloaded node to the target node through the task slice current limiter, and receives the returned task results and node availability status; the task slice current limiter determines the next step of continuing to send task slices, increasing the task slice sending flow, or stopping sending task slices according to the feedback node availability status, until the task peak state of the sending node is eliminated. The present invention can effectively solve the local "peak and trough" phenomenon in the system, and greatly improve the equipment utilization rate and comprehensive deployment cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of edge computing technology, and in particular to a distributed computing power scheduling method and system for edge computing devices. Background Art

[0002] The system architecture of three-level converged communication of end, edge and cloud is gradually being widely used. With the lightweight of AI intelligent analysis technology and the continuous improvement of small model accuracy, the traditional central intelligent analysis capabilities in the system are gradually transferred to the edge and end. The advantages brought by this are very obvious. It can not only realize the closed-loop autonomy of small systems, but also greatly save bandwidth costs, improve the immediacy of local analysis, and provide a technical basis for real-time detection, rapid alarm and manual intervention.

[0003] Compared with terminal devices (end-level), edge computing devices (edge-level) such as smart analysis boxes have higher hardware configuration specifications such as CPU and memory, and built-in AI chips, with very considerable computing resources. Such edge computing devices process CPU resource tasks most of the time, while AI computing resources are idle. They only have a certain workload when analyzable objects are detected.

[0004] However, in actual system applications, it is also found that individual nodes will have and accumulate a large number of analysis tasks in a short period of time, resulting in a serious lack of computing power, and a sharp decline in the algorithm analysis effect and real-time performance. For example, when edge computing devices are deployed in schools, when arriving at school in the morning and leaving school in the evening, hundreds of people will pass through in one minute, and the computing load of face recognition comparison will increase sharply, causing the "peaks and valleys" phenomenon of intelligent analysis tasks, which brings great challenges to the actual system design and deployment, and balancing needs and costs. Summary of the invention

[0005] In view of the problems existing in the prior art, the purpose of the present invention is to provide a distributed computing power scheduling method for edge computing devices, so that edge computing devices with AI computing power resources can register and synchronize computing power resources and consumption to the central computing power management node. Through the intelligent scheduling of the central computing power management node, an efficient computing power sharing mechanism can be realized between edge devices. When some edge devices are under high-load analysis, the analysis tasks can be transmitted to idle edge device nodes for collaborative analysis and calculation, which effectively copes with the local "peak and valley" phenomenon in the above system and greatly improves equipment utilization and comprehensive deployment costs.

[0006] According to a first aspect of the present invention, a distributed computing power scheduling method for edge computing devices is provided, where each edge computing device constitutes a computing node, and the distributed computing power scheduling method includes:

[0007] Configure a central computing power scheduling node, and configure a dynamic node status table in the central scheduling node, wherein the dynamic node status table is configured to store and dynamically update node information of at least one computing node registered to the central computing power scheduling node, wherein the node information includes a network ID, a device ID, and a node utilization rate of the node;

[0008] The overloaded node in the task peak state queries the dynamic node state table from the central computing power scheduling node, obtains the idle nodes in the intranet or the extranet, and sends the task slices of the overloaded node to the idle nodes through the task slice limiter. The overloaded node is configured as the initiating node and the idle node is the target node; the task slice refers to the executable minimum computing task protocol package;

[0009] After the target node receiving the task slice completes the task slice calculation task, it returns the task result to the initiating node and feeds back the node availability status to the task slice limiter;

[0010] The task slice limiter decides whether to continue sending task slices, increase the sending flow of task slices, or stop sending task slices according to the feedback node availability status until the task peak state of the sending node is eliminated.

[0011] In a further embodiment, the central computing power scheduling node is configured to preferentially query restricted nodes from the intranet, that is, preferentially search for idle intranet nodes in the dynamic node status table according to network ID.

[0012] In a further embodiment, if there is no idle computing node in the intranet, then further query whether there is an idle node in the external network, and if so, return the idle node in the external network to the initiating node;

[0013] The initiating node bridges two-way communication with the idle nodes in the external network through the current limiting forwarding module of the central computing power scheduling node, sends task slices to the idle nodes in the external network, and receives the task results and node availability status returned by the idle nodes in the external network. The current limiting forwarding module is configured to decide whether to maintain the current sending traffic level, increase the sending traffic of the task slice, or stop sending according to the node availability status returned by the idle nodes in the external network until the task peak state of the sending node is eliminated.

[0014] According to a second aspect of the present invention, a distributed computing power scheduling system for edge computing devices is further provided, the distributed computing power scheduling system comprising:

[0015] The central computing power scheduling node is deployed on a separate server or on any edge computing device in the intranet; the central computing power scheduling node is configured with a dynamic node status table, and the dynamic node status table is configured to store and dynamically update the node information of at least one computing node registered to the central computing power scheduling node, and the node information includes the network ID, device ID and node utilization of the node;

[0016] An overloaded node in a task peak state, the overloaded node can query the dynamic node state table from the central computing power scheduling node, obtain idle nodes in the intranet or extranet, and send the task slices of the overloaded node to the idle nodes through the task slice limiter. The overloaded node is configured as the initiating node and the idle node is the target node; the task slice refers to the executable minimum computing task protocol package;

[0017] After the target node receiving the task slice completes the task slice calculation task, it returns the task result to the initiating node and feeds back the node availability status to the task slice limiter;

[0018] The task slice current limiter determines whether to continue sending task slices, increase the task slice sending flow, or stop sending task slices according to the feedback node availability status until the task peak state of the sending node is eliminated;

[0019] Among them, when the idle node queried is an idle node in the intranet, the task slice is directly sent to the target node through the task slice limiter and the task result and node availability status are received;

[0020] When the idle node queried is an idle node in the external network, a bridge bidirectional communication is performed with the idle node in the external network through the current limiting forwarding module, task slices are sent to the idle node in the external network, and the task results and node availability status returned by the idle node in the external network are received. The current limiting forwarding module is configured to decide whether to maintain the current sending traffic level, increase the sending traffic of the task slice, or stop sending according to the node availability status returned by the idle node in the external network until the task peak state of the sending node is eliminated.

[0021] It should be understood that all combinations of the aforementioned concepts and the additional concepts described in more detail below can be considered as part of the inventive subject matter of the present disclosure as long as such concepts are not mutually inconsistent. In addition, all combinations of the claimed subject matter are considered as part of the inventive subject matter of the present disclosure.

[0022] The foregoing and other aspects, embodiments and features of the present invention can be more fully understood from the following description in conjunction with the accompanying drawings. Other additional aspects of the present invention, such as the features and / or beneficial effects of the exemplary embodiments, will be apparent from the following description or learned from the practice of the specific embodiments according to the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The drawings are not intended to be drawn to scale. In the drawings, each identical or nearly identical component shown in various figures may be represented by the same reference numeral. For clarity, not every component is labeled in every figure. Embodiments of various aspects of the present invention will now be described by way of example and with reference to the accompanying drawings, in which:

[0024] Figure 1 It is a schematic diagram of computing node management according to an embodiment of the present invention.

[0025] Figure 2 It is a task distribution timing diagram of an embodiment of the present invention.

[0026] Figure 3 It is a schematic diagram of the central computing power scheduling processing flow of an embodiment of the present invention. DETAILED DESCRIPTION

[0027] In order to better understand the technical content of the present invention, specific embodiments are given and described as follows in conjunction with the accompanying drawings.

[0028] Various aspects of the present invention are described in this disclosure with reference to the accompanying drawings, in which many illustrative embodiments are shown. The embodiments of the present disclosure are not necessarily intended to include all aspects of the present invention. It should be understood that the various concepts and embodiments introduced above, as well as those described in more detail below, can be implemented in any of many ways, because the concepts and embodiments disclosed by the present invention are not limited to any implementation. In addition, some aspects disclosed by the present invention can be used alone or in any appropriate combination with other aspects disclosed by the present invention.

[0029] Combination Figure 1-3 As shown, the distributed computing power scheduling system for edge computing devices according to an embodiment of the present invention is designed to enable edge computing devices (i.e., computing nodes) with AI computing power resources to register and synchronize computing power resources and consumption to the central computing power management node. Through the intelligent scheduling of the central computing power management node, an efficient computing power sharing mechanism can be implemented between edge devices. When some edge computing devices are in high-load analysis tasks, such as target recognition, image recognition, image retrieval, etc., the analysis tasks can be transmitted to idle edge device nodes for collaborative analysis and calculation, effectively dealing with the local "peak and trough" phenomenon in the above system, and improving equipment utilization and comprehensive deployment costs.

[0030] Combination Figure 1 As shown, as an optional embodiment, the distributed computing power scheduling system of the edge computing device includes a central computing power scheduling node and an overloaded node in a task peak state.

[0031] The central computing power scheduling node is deployed on a separate server or on any edge computing device in the intranet. The central computing power scheduling node is configured with a dynamic node status table, which is configured to store and dynamically update the node information of at least one computing node registered to the central computing power scheduling node. The node information includes the network ID, device ID and node utilization of the node.

[0032] An overloaded node that is in a task peak state can query the dynamic node status table from the central computing power scheduling node, obtain idle nodes in the intranet or extranet, and send the task slices of the overloaded node to the idle nodes through the task slice limiter. The overloaded node is configured as the initiating node and the idle node is the target node; a task slice refers to the minimum executable computing task protocol package.

[0033] Combination Figure 1 , 2 As shown in the figure, after the target node receiving the task slice completes the task slice calculation task, it returns the task result to the initiating node and feeds back the node availability status to the task slice limiter. The task slice limiter decides whether to continue sending the task slice, increase the task slice sending traffic, or stop sending the task slice according to the fed-back node availability status until the task peak status of the sending node is eliminated.

[0034] When the idle node queried is an idle node in the intranet, the task slice is sent directly to the target node through the task slice limiter and the task result and node availability status are received.

[0035] When the idle node queried is an idle node in the external network, a bridge bidirectional communication is performed with the idle node in the external network through the current limiting forwarding module, task slices are sent to the idle node in the external network, and the task results and node availability status returned by the idle node in the external network are received. The current limiting forwarding module is configured to decide whether to maintain the current sending traffic level, increase the sending traffic of the task slice, or stop sending according to the node availability status returned by the idle node in the external network until the task peak state of the sending node is eliminated.

[0036] Among them, when the central computing power scheduling node is deployed on any edge computing device in the intranet, it is required that the computing nodes are located in the same intranet or virtual intranet.

[0037] Combination Figure 2-3 According to the timing and processing flow shown in the figure, the distributed computing power scheduling method of the edge computing device according to the embodiment of the present invention includes the following process:

[0038] Configure a central computing power scheduling node, and configure a dynamic node status table in the central scheduling node, the dynamic node status table is configured to store and dynamically update node information of at least one computing node registered to the central computing power scheduling node, the node information includes the network ID of the node, the device ID and the node utilization;

[0039] The overloaded node in the task peak state queries the dynamic node status table from the central computing power scheduling node, obtains the idle nodes in the intranet or the extranet, and sends the task slices of the overloaded node to the idle nodes through the task slice limiter. The overloaded node is configured as the initiating node and the idle node is the target node; the task slice refers to the minimum executable computing task protocol package;

[0040] After the target node receiving the task slice completes the task slice calculation task, it returns the task result to the initiating node and feeds back the node availability status to the task slice limiter;

[0041] The task slice current limiter determines whether to continue sending task slices, increase the task slice sending flow, or stop sending task slices according to the feedback node availability status until the task peak state of the sending node is eliminated. The elimination of the task peak state of the sending node includes: the state of the sending node becomes an idle state, and it is an idle node.

[0042] In an optional embodiment, each computing node that is online and registered with the central computing power scheduling node is configured to dynamically update the node status to the central computing power scheduling node at a predetermined time interval. For example, as an optional example, the fixed interval configured is 5 seconds, and it is configurable to dynamically refresh the status to the central computing power scheduling node.

[0043] Combination Figure 3 As shown, the target node receiving the task slice feeds back the node availability status to the task slice limiter, including:

[0044] Feedback the task slice rate limiter with its own computing power utilization rate, including one of the following: can continue to receive more tasks, can continue to receive the current task, or is overloaded;

[0045] The task slice flow limiter increases the task slice sending traffic based on the feedback information that more tasks can be received; based on the feedback information that the current task can be received, the current sending traffic level is maintained;

[0046] Based on the feedback information of the overload, the task slice limiter will no longer send subsequent task slices to the computing node, and in parallel notify the central computing power scheduling node of the current overload status of the computing node. Before its status is updated to idle, the central computing power scheduling node will no longer schedule tasks to the settlement node.

[0047] As an optional embodiment, an idle node refers to a node whose task computing power consumption is lower than a preset level, such as lower than 30%, 50%, etc., and can be dynamically configured.

[0048] Combination Figure 2 , 3 As shown, in an embodiment of the present invention, the central computing power scheduling node is configured to preferentially query restricted nodes from the intranet, that is, preferentially search for idle intranet nodes in the dynamic node status table according to network ID.

[0049] If there is no idle computing node in the intranet, further query whether there is an idle node in the external network. If so, return the idle node in the external network to the initiating node;

[0050] The initiating node bridges two-way communication with the idle nodes in the external network through the current limiting forwarding module of the central computing power scheduling node, sends task slices to the idle nodes in the external network, and receives the task results and node availability status returned by the idle nodes in the external network. The current limiting forwarding module is configured to decide whether to maintain the current sending traffic level, increase the sending traffic of the task slice, or stop sending according to the node availability status returned by the idle nodes in the external network until the task peak state of the sending node is eliminated.

[0051] Therefore, combined with Figure 2 , 3 The task distribution timing and process processing shown in the figure, in the distributed computing power scheduling scheme for edge computing devices proposed by the present invention, each computing node reports the computing power utilization of the node at a fixed interval, and the central computing power scheduling node maintains a node status table. When an overloaded node queries an idle node, it queries and returns available nodes in a manner that prioritizes the intranet and then the external heterogeneous network, thereby effectively obtaining the preferred available nodes with the fastest communication speed.

[0052] After obtaining available nodes from the central node, the high-load node sends the task to the target node through the flow limiter that can dynamically control the flow of task slices. The target node can report its own computing load (utilization) to the flow limiter, thereby dynamically adjusting the amount of task slices it shares. This adaptive task adjustment mechanism can ensure greater node utilization and protect node health.

[0053] When all nodes are in the intranet, any computing node can be configured to run as a central node and be responsible for the computing power scheduling and management of all nodes. This method is easy to deploy and does not require a dedicated server to run the central node program.

[0054] When nodes are in different heterogeneous networks, they are connected to a central node visible to all networks, and cross-network task slice distribution is transferred and received through the current-limited forwarding module of the central node. This method can effectively solve the problem of cross-network computing power sharing.

[0055] Although the present invention has been disclosed as above with preferred embodiments, it is not intended to limit the present invention. A person with ordinary knowledge in the technical field to which the present invention belongs may make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be determined by the definition of the claims.

Claims

1. A distributed computing power scheduling method for edge computing devices, where each edge computing device constitutes a computing node. It is characterized in that The distributed computing power scheduling method includes: Configure a central computing power scheduling node, and configure a dynamic node status table in the central scheduling node, wherein the dynamic node status table is configured to store and dynamically update node information of at least one computing node registered to the central computing power scheduling node, wherein the node information includes a network ID, a device ID, and a node utilization rate of the node; The overloaded node in the task peak state queries the dynamic node state table from the central computing power scheduling node, obtains the idle nodes in the intranet or the extranet, and sends the task slices of the overloaded node to the idle nodes through the task slice limiter. The overloaded node is configured as the initiating node and the idle node is the target node; the task slice refers to the executable minimum computing task protocol package; After the target node receiving the task slice completes the task slice calculation task, it returns the task result to the initiating node and feeds back the node availability status to the task slice limiter; The task slice limiter decides whether to continue sending task slices, increase the sending flow of task slices, or stop sending task slices according to the feedback node availability status until the task peak state of the sending node is eliminated.

2. According to the distributed computing power scheduling method of edge computing devices according to claim 1, It is characterized in that The method further comprises: Each computing node that is online and registered with the central computing power scheduling node is configured to dynamically update the node status to the central computing power scheduling node at a predetermined time interval.

3. According to the distributed computing power scheduling method of edge computing devices according to claim 1, It is characterized in that The target node receiving the task slice feeds back the node availability status to the task slice current limiter, including: Feedback the task slice rate limiter with its own computing power utilization rate, including one of the following: can continue to receive more tasks, can continue to receive the current task, or is overloaded; The task slice flow limiter increases the task slice sending flow according to the feedback information that more tasks can be continuously received; and maintains the current sending flow level according to the feedback information that the current task can be continuously received; The task slice limiter will no longer send subsequent task slices to the computing node based on the feedback information of the overload, and in parallel notify the central computing power scheduling node of the current overload status of the computing node. Before its status is updated to idle, the central computing power scheduling node will no longer schedule tasks to the computing node.

4. The distributed computing power scheduling method for edge computing devices according to claim 1, It is characterized in that The task peak state elimination of the sending node includes: The state of the sending node changes to idle state and becomes an idle node.

5. The distributed computing power scheduling method for edge computing devices according to any one of claims 1 to 4, It is characterized in that The idle node refers to a node whose task computing power consumption is lower than a preset level.

6. The distributed computing power scheduling method for edge computing devices according to claim 1, It is characterized in that The central computing power scheduling node is configured to preferentially query restricted nodes from the intranet, that is, preferentially search for idle intranet nodes in the dynamic node status table according to network ID.

7. The distributed computing power scheduling method for edge computing devices according to claim 6, It is characterized in that If there is no idle computing node in the intranet, further query whether there is an idle node in the external network. If so, return the idle node in the external network to the initiating node; The initiating node bridges two-way communication with the idle nodes in the external network through the current limiting forwarding module of the central computing power scheduling node, sends task slices to the idle nodes in the external network, and receives the task results and node availability status returned by the idle nodes in the external network. The current limiting forwarding module is configured to decide whether to maintain the current sending traffic level, increase the sending traffic of the task slice, or stop sending according to the node availability status returned by the idle nodes in the external network until the task peak state of the sending node is eliminated.

8. The distributed computing power scheduling method for edge computing devices according to claim 1, It is characterized in that The central computing power scheduling node is deployed on a separate server, or on any edge computing device in the intranet.

9. The distributed computing power scheduling method for edge computing devices according to claim 8, It is characterized in that When the central computing power scheduling node is deployed on any edge computing device in the intranet, it is required that the computing nodes are located in the same intranet or virtual intranet.

10. A distributed computing power scheduling system for edge computing devices, It is characterized in that include: The central computing power scheduling node is deployed on a separate server or on any edge computing device in the intranet; The central computing power scheduling node is configured with a dynamic node status table, which is configured to store and dynamically update node information of at least one computing node registered to the central computing power scheduling node, wherein the node information includes the network ID, device ID and node utilization of the node; An overloaded node in a task peak state, the overloaded node can query the dynamic node state table from the central computing power scheduling node, obtain idle nodes in the intranet or extranet, and send the task slices of the overloaded node to the idle nodes through the task slice limiter. The overloaded node is configured as the initiating node and the idle node is the target node; the task slice refers to the executable minimum computing task protocol package; After the target node receiving the task slice completes the task slice calculation task, it returns the task result to the initiating node and feeds back the node availability status to the task slice limiter; The task slice current limiter determines whether to continue sending task slices, increase the task slice sending flow, or stop sending task slices according to the feedback node availability status until the task peak state of the sending node is eliminated; Among them, when the idle node queried is an idle node in the intranet, the task slice is directly sent to the target node through the task slice limiter and the task result and node availability status are received; When the idle node queried is an idle node in the external network, a bridge bidirectional communication is performed with the idle node in the external network through the current limiting forwarding module, task slices are sent to the idle node in the external network, and the task results and node availability status returned by the idle node in the external network are received. The current limiting forwarding module is configured to decide whether to maintain the current sending traffic level, increase the sending traffic of the task slice, or stop sending according to the node availability status returned by the idle node in the external network until the task peak state of the sending node is eliminated.