A heterogeneous computing power network system sub-task cost minimization unloading method

By optimizing resource allocation in heterogeneous computing network systems through fine-grained offloading strategies and dynamic frequency scaling technology, the problem of limited resources in heterogeneous edge servers is solved, a balance between task reliability and cost is achieved, and the system's resource utilization efficiency and stability are improved.

CN117750434BActive Publication Date: 2026-11-20XIAN UNIV OF POSTS & TELECOMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311699243.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-12
Publication Date
2026-11-20
Estimated Expiration
2043-12-12

AI Technical Summary

Technical Problem

In heterogeneous computing network systems, existing technologies struggle to achieve efficient and low-cost task offloading while ensuring task reliability and limited resources. This is especially true when heterogeneous edge server resources are limited, making it difficult to effectively coordinate subtask scheduling, leading to resource waste and system instability.

Method used

A fine-grained offloading strategy is designed, which combines dynamic frequency scaling technology. By calculating the transmission time, execution time and reliability model of subtasks, the resource allocation of edge servers and cloud data centers is optimized to minimize the offloading cost of subtasks.

Benefits of technology

While meeting reliability requirements, the system minimizes task execution time and reduces total execution cost, thereby improving resource utilization efficiency and stability of the heterogeneous computing network system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117750434B_ABST
    Figure CN117750434B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a subtask cost minimization unloading method in a heterogeneous computing power network system. The method comprises: in the environment of the heterogeneous computing power network system, designing a fine-grained unloading strategy capable of shortening the execution time of subtasks and meeting the reliability requirements according to the load degree on the edge server, the dependency between subtasks and the reliability requirements of each to-be-assigned subtask; wherein the heterogeneous computing power network system comprises users, micro base stations with edge servers and cloud data centers connected to the micro base stations with edge servers; based on the fine-grained unloading strategy, a method for applying dynamic frequency scaling technology on the edge server to minimize the unloading cost of subtasks is established. Through the method, in the subtask unloading process, the reliability requirements can be met, and the cost minimization in the subtask unloading of the heterogeneous computing power network system can also be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of task scheduling technology, and in particular to a method for minimizing the cost of unloading subtasks in a heterogeneous computing power network system. Background Technology

[0002] Heterogeneous computing power network (HPC), a key technology of 6G, refers to the effective allocation of heterogeneous infrastructure resources such as computing and storage across cloud computing, edge computing, and smart terminals through network means, based on the continuous ubiquitous development of computing power. This allows for the matching of appropriate resources to various user needs and adaptive scheduling of diverse computing resources according to different business scenarios to improve service quality and user experience. In the future, edge servers of varying sizes will be deployed around mobile users to handle complex tasks and utilize communication resources to efficiently transmit computing data, gradually forming a communication resource-enabled "endpoint" architecture. side A new paradigm of cloud-based collaborative computing.

[0003] In related technologies, heterogeneous computing networks typically employ a converged cloud-edge-device network architecture to combine the large-scale data processing capabilities of the cloud with the real-time processing capabilities of the edge, constructing an efficient and flexible computing resource scheduling model. However, efficient task scheduling across the entire network requires consideration of multiple factors, including device status, task requirements, and network conditions, which complicates the scheduling process. On one hand, computing demands and device status may change rapidly, necessitating quick decisions to ensure service quality and efficiency. On the other hand, compared to cloud data centers, heterogeneous edge servers still have limited resources. When a large amount of computing power is connected to the edge network system, the edge servers, due to their limited computing resources, cannot execute all tasks simultaneously. To ensure system stability, it is necessary to manage limited computing resources and coordinate sub-task scheduling strategies among different users. How to achieve dynamic task offloading in highly heterogeneous scenarios is the primary challenge faced by heterogeneous computing network systems.

[0004] While achieving satisfactory task offloading services is important, task reliability is also a crucial factor. Driven by economic efficiency, system designers aim to minimize resource consumption costs while providing sufficient service quality to meet consumer demands. Reliability is a critical requirement that a system must strictly guarantee, especially for heterogeneous computing network systems. Due to radiation, electromagnetic interference, high temperatures, and the integration of heterogeneous processors, the reliability of subtasks executing in heterogeneous systems is partially compromised. Therefore, reliability requirements must be fully considered when designing the schedule for running applications in heterogeneous systems. Otherwise, system failures could lead to catastrophic consequences.

[0005] In heterogeneous computing network systems, task coordination is an uncertain polynomial problem. The additional constraints of subtask dependencies and reliability, along with the heterogeneity of processors, further complicate the issue. Currently, most research on task offloading in heterogeneous computing network systems optimizes offloading decisions or resource allocation solely from the perspective of mobile terminal architecture, failing to fully utilize the heterogeneous computing capabilities of cloud centers and MEC servers. This results in insufficient and unbalanced computing power allocation within the system. Furthermore, research on task reliability in heterogeneous computing network systems largely relies on fault-tolerance techniques involving task replication. These techniques maintain high task redundancy, ensuring that the failure probability does not depend solely on a single task. The success of any one of these replicated tasks is sufficient for the system to function normally. While this redundancy scheme effectively improves reliability, it results in significant resource waste and is therefore unsuitable for many resource-constrained heterogeneous computing network systems.

[0006] Therefore, it is necessary to provide a new technical solution to improve one or more of the problems existing in the above solutions.

[0007] It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of this disclosure, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention

[0008] The purpose of this disclosure is to provide a method for minimizing the cost of offloading subtasks in a heterogeneous computing power network system, thereby overcoming, at least to some extent, one or more problems caused by the limitations and defects of related technologies.

[0009] A method for minimizing the cost of subtask offloading in a heterogeneous computing power network system, according to an embodiment of this disclosure, includes: In a heterogeneous computing network system environment, based on the load level of the edge server, the dependency between subtasks, and the reliability requirements of each subtask to be assigned, a fine-grained offloading strategy is designed to shorten the execution time of subtasks and meet the reliability requirements; wherein, the heterogeneous computing network system includes users, micro base stations with edge servers, and cloud data centers connected to the micro base stations with edge servers. Based on the fine-grained offloading strategy, a method is established to apply dynamic frequency scaling technology on the edge server to minimize the offloading cost of the subtask.

[0010] In the embodiments of this disclosure, in a heterogeneous computing network system environment, a fine-grained offloading strategy is designed to shorten the execution time of subtasks while meeting reliability requirements, based on the load level on the edge server, the dependencies between subtasks, and the reliability requirements of each subtask to be assigned. This strategy includes: Calculate the first The first user's The transmission time for each subtask includes: Calculate the first The uplink data rate between a user and the edge node of the nearest micro base station is calculated using the following formula: (1) In the formula, Indicates the bandwidth of the uplink system. This represents the Gaussian white noise power of the uplink system. Indicates user The transmission power, User The channel gain between BS and k, where BS represents the micro base station and k represents the edge node. This indicates the wireless interference experienced by other IoT devices with the same offloaded edge server; No. The first user's The transmission time for each subtask to be uploaded to the edge node of the micro base station is: (2) In the formula, Indicates the first The first user's The size of the input data for each subtask Indicates the first The first user's The transmission time of each subtask uploaded to the edge node of the micro base station; Calculate the first The latency of transmitting each subtask to other edge nodes is calculated using the following formula: (3) In the formula, This indicates the bandwidth between the edge nodes of the micro base station and the cloud data center. This indicates the transmission latency between the edge nodes of the micro base station and the cloud data center. This represents the bandwidth between the edge nodes of the micro base station. This indicates the transmission delay between edge nodes of a micro base station. This represents the shortest path between edge nodes. This represents the network links between edge nodes. User The unloading decision, which ranges from [0,1], if , indicating subtask Execute on a cloud server. Executed on the edge server, decision variables When ∈[0,1] takes the value 1, it represents a subtask. Assigned to edge server Execution is performed above, where M represents the set of micro base stations; According to the The first user's The transmission time of each subtask uploaded to the edge node of the micro base station, and the latency of the subtask transmitted to other edge nodes, are used to calculate the first subtask. The first user's The transmission time of each subtask is calculated using the following formula: (4) In embodiments of this disclosure, the step of designing a fine-grained offloading strategy that can shorten the execution time of subtasks and meet reliability requirements in a heterogeneous computing network system environment, based on the load level of the edge server, the dependencies between subtasks, and the reliability requirements of each subtask to be assigned, further includes: According to the The first user's The transmission time of each subtask, and the first The first user's The execution latency of each subtask is calculated. The first user's The total execution time of each subtask includes: (5) (6) In the formula, This indicates the computing power of the cloud data center. Indicates the first The first user's The execution latency of each subtask Indicates the first The first user's Total execution time of each subtask This indicates the execution power of the edge node. This represents the CPU cycles required to complete the computational subtask. =1 indicates user subtasks Execute on virtual machine l that matches edge node k.

[0011] In embodiments of this disclosure, the method for establishing a method based on the fine-grained offloading strategy to apply dynamic frequency scaling technology on the edge server to minimize the offloading cost of the subtask includes: Establish a reliability model for each of the sub-tasks, including: Computational subtasks on edge servers The actual reliability of the above execution, and its calculation formula is: (7) In the formula, Represents edge server A constant failure rate per unit of time; Calculate the reliability of the entire task set, and calculate the reliability of each subtask based on the reliability of the entire task set. The reliability of the entire task set is as follows: (8) The reliability of each subtask is: (9) (10) In the formula, Indicates unassigned tasks Pre-assigned reliability value based on geometric mean Indicates unassigned tasks It can achieve the maximum reliability value. Indicates unassigned tasks Minimum achievable reliability value This represents the maximum reliability value for the entire task set. This represents the minimum reliability value for the entire task set, where N represents the total number of tasks in the task set. This represents the target reliability value for the entire task set. Indicates the tasks that have been scheduled. These represent unscheduled tasks; Establish a cost model for each subtask, including: Calculate users The total economic cost that should be paid by the operator under the MEC processing mode is: (11) In the formula, The price for communication between subtasks. Calculate the price of resources between MEC subtasks; The total cost payable by the operator under the cloud processing model is: (12) In the formula, The price of cloud communication, The price of cloud computing resources; The total cost for subtask processing is: (13) Establish a problem model, including: Define the actual start time of the subtask as: (14) In the formula, For edge servers Or the earliest available time for the task to be executed in the cloud data center. For subtasks The preceding task, For communication latency between subtasks Indicates the earliest execution completion time of the subtask; By modifying formula (4), the communication delay between different subtasks on the edge nodes of the heterogeneous edge network system is obtained as follows: (15) In the formula, For subtasks The edge node it is located at For subtasks The edge node it is located at For cloud data centers, For subtasks Subtasks required for execution The amount of data transmitted; Define the earliest execution completion time of the subtask as: (16) Based on the costs of edge nodes and cloud data centers, the problem model is as follows: (17) st: (c1) (c2) (c3) (c4) (c5) (c6) (c7) (c8) In the formula, Subtasks The earliest execution completion time, where k represents the k-th edge node. Indicates the first One edge node, Subtasks The actual start time of execution. Indicates the deadline for the task. This represents the target reliability value for the entire task set. Represents edge server A collection of virtual machines on the platform. This indicates the execution power of the edge node. This represents the minimum execution power of the edge node. This represents the maximum execution power of the edge node.

[0012] In embodiments of this disclosure, the step of establishing the problem model further includes: Load sorting is performed on edge nodes, and priority sorting is performed on subtasks on edge nodes, including: Define the idle level of edge nodes as: (18) (19) (20) In the formula, The latest completion time across all edge nodes. For the current edge node The latest completion time for the pending task. For edge nodes Sub-task The actual completion time, The larger the value, the higher the idle level and the higher the priority of the edge node. = 1 indicates that the edge node is in a completely idle state; m represents the m-th edge node; Prioritize subtasks on edge nodes, including: The priority is defined as follows: (twenty one) (twenty two) Indicates user Sub-task Average execution time across all computing nodes From subtask Length of the critical path to exit the task Subtasks The priority of the direct successor j', M represents the set of micro base stations, and |M| represents the number of elements in the set of micro base stations.

[0013] In embodiments of this disclosure, the process of load sorting of edge nodes and priority sorting of subtasks on the edge nodes includes: Traverse all edge nodes, calculate the total delay for transmitting subtasks to edge nodes for execution based on the sorted priority order, and compare it with the deadline. If the deadline is exceeded, the subtask will be transferred to the cloud data center; otherwise, it will be transferred to the edge node.

[0014] In embodiments of this disclosure, if the deadline is exceeded, the subtask is transmitted to the cloud data center; otherwise, it is transmitted to the edge node. This further includes: For subtasks executed at edge nodes, calculate the actual reliability of the subtasks and their reliability requirements; or, Calculate the execution cost of subtasks executed on edge nodes and assign the subtasks to the edge nodes with the lowest costs.

[0015] In embodiments of this disclosure, the step of calculating the actual reliability of a subtask and its reliability requirements for a subtask executed at an edge node includes: Find the edge nodes where the actual reliability of the subtask is greater than its reliability requirement, calculate the earliest completion time of the subtask on each edge node, and schedule the subtask to the edge node with the minimum completion time. Based on the scheduling results, calculate the reliability and traversal rules required for the reallocation of subtasks in sequence; According to the traversal rules, the subtask is rescheduled to the edge node with the lowest cost, and the execution frequency of the edge node is increased proportionally from its minimum value until the actual reliability of the subtask meets its reliability requirements.

[0016] In embodiments of this disclosure, the step of calculating the execution cost of a subtask executed at an edge node and assigning the subtask to the edge node with the lowest cost includes: Based on the scheduling results, calculate the total reliability of the subtask on the current computing node and compare it with the reliability requirements of the subtask. If the overall reliability of a subtask on the current edge node does not meet its reliability requirements, the cost-reliability index of the subtask is calculated, and the subtask is reallocated based on the cost-reliability index until the overall reliability of the subtask on the current edge node meets its reliability requirements.

[0017] In embodiments of this disclosure, the step of calculating the total reliability of the subtask on the current edge node based on the scheduling result and comparing it with the reliability requirement of the subtask further includes: If the overall reliability of the subtask on the current edge node meets its reliability requirements, then the scheduling result is output.

[0018] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects: In one embodiment of this disclosure, a fine-grained offloading strategy is designed using the above method to minimize task execution time while meeting reliability requirements. Based on this fine-grained offloading strategy, a method is proposed to minimize the total execution cost by applying dynamic frequency scaling technology on edge servers. This method satisfies both reliability requirements and minimizes the cost of offloading subtasks in heterogeneous computing power network systems.

[0019] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0020] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure. It is obvious that the drawings described below are merely some embodiments of this disclosure, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.

[0021] Figure 1 This schematically illustrates a flowchart of the steps of a subtask cost minimization offloading method in a heterogeneous computing power network system according to an exemplary embodiment of the present disclosure; Figure 2 This schematic diagram illustrates a heterogeneous computing network system in an exemplary embodiment of the present disclosure. Figure 3 A schematic diagram illustrating an application represented by a DAG in an exemplary embodiment of this disclosure is shown. Detailed Implementation

[0022] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, they are provided so that this disclosure will be more comprehensive and complete, and will fully convey the concept of the exemplary embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0023] Furthermore, the accompanying drawings are merely illustrative of this disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0024] This example implementation first provides a method for minimizing the cost of subtask unloading in a heterogeneous computing power network system. (See reference...) Figure 1 and Figure 2 As shown, the method may include: Step S101: In a heterogeneous computing network system environment, based on the load level on the edge server, the dependencies between subtasks, and the reliability requirements of each subtask to be assigned, design a fine-grained offloading strategy that can shorten the execution time of subtasks while meeting reliability requirements; wherein, for example... Figure 2 As shown, the heterogeneous computing network system includes users, micro base stations with edge servers, and cloud data centers connected to the micro base stations with edge servers.

[0025] Step S102: Based on the fine-grained offloading strategy, establish a method for applying dynamic frequency scaling technology on the edge server to minimize the offloading cost of the subtask.

[0026] Understandably, the reliability requirements of each subtask to be assigned are addressed by transferring the workflow's reliability requirements to individual subtasks and progressively scheduling each subtask, with the aim of minimizing its completion time while meeting its own reliability requirements. Specifically, the set of users U consists of... This indicates that the collection of micro base stations (BSs) consists of... This means that, assuming each user has an application-level task to complete with the help of an edge server, compute-intensive applications are divided into interdependent subtasks, by... Based on the above architecture, assuming there are m edge servers (containing heterogeneous resources) in the edge network, the set of edge servers is represented as follows: Each edge server has multiple virtual machines available for performing computing tasks, by Represents edge server A collection of virtual machines on the platform. This represents the number of virtual machines. Since virtual machines are heterogeneous, the first... The first edge heterogeneous server The computing power of a virtual machine (i.e., the execution power of an edge node) can be used For users The Each computational subtask can be represented as: .here Indicates the first The first user's The size of the input data for each subtask This refers to the CPU cycles required to complete a computational subtask. The user first transfers the task to be executed to a nearby BS, and then makes an offloading decision to determine the specific execution location of the task.

[0027] It should be noted that edge servers are also known as edge nodes.

[0028] In one embodiment of this disclosure, a fine-grained offloading strategy is designed using the above method to minimize task execution time while meeting reliability requirements. Based on this fine-grained offloading strategy, a method is proposed to minimize the total execution cost by applying dynamic frequency scaling technology on edge servers. This method satisfies both reliability requirements and minimizes the cost of offloading subtasks in heterogeneous computing power network systems.

[0029] Below, we will refer to Figures 1 to 3 The steps of the method described above in this example embodiment will be explained in more detail.

[0030] In one embodiment, in a heterogeneous computing network system environment, based on the load level on the edge server, the dependencies between subtasks, and the reliability requirements of each subtask to be assigned, a fine-grained offloading strategy is designed to shorten the execution time of subtasks while meeting reliability requirements, including: 1) Transmission time: Calculated as follows for users and the uplink data rate between the edge node of the micro base station closest to user i. (1) In the formula, Indicates the bandwidth of the uplink system. This represents the Gaussian white noise power of the uplink system. Indicates user The transmission power, User The channel gain between BS and k, where BS represents the micro base station and k represents the edge node. This indicates the wireless interference experienced by other IoT devices with the same offloaded edge server; Therefore, the first The first user's The transmission time for each subtask to be uploaded to the edge node of the micro base station can be expressed as: (2) In the formula, Indicates the first The first user's The size of the input data for each subtask Indicates the first The first user's The transmission time of each subtask uploaded to the edge node of the micro base station; After a subtask is uploaded to the nearest BS with heterogeneous edge servers, due to the different load levels of each edge node, in order to maintain the stability of the heterogeneous computing network system, it is necessary to decide whether to schedule the subtask to other heterogeneous edge nodes in the edge network or to a cloud data center for faster completion. The latency of transmitting the subtask to other edge nodes can be represented as follows: (3) In the formula, This indicates the bandwidth between the edge nodes of the micro base station and the cloud data center. This indicates the transmission latency between the edge nodes of the micro base station and the cloud data center. This represents the bandwidth between the edge nodes of the micro base station. This indicates the transmission delay between edge nodes of a micro base station. This represents the shortest path between edge nodes. This represents the network links between edge nodes. User The unloading decision, which ranges from [0,1], if , indicating task Execute on a cloud server. Executed on the edge server, decision variables When ∈[0,1] takes the value 1, it represents a subtask. Assigned to edge server The above is executed, where M represents the set of micro base stations.

[0031] Therefore, the first The first user's The transmission time of each subtask can be expressed as: (4) 2) Execution time: Defined as the computing power (i.e., CPU cycle frequency) of a cloud data center. Then the... The first user's The execution latency of each subtask is: (5) In the formula, Indicates the first The first user's The execution latency of each subtask Indicates the first The first user's Total execution time of each subtask This indicates the execution power of the edge node. This represents the CPU cycles required to complete the computational subtask. =1 indicates user subtasks Execute on virtual machine l that matches edge node k.

[0032] Based on the latency obtained above for edge servers and cloud execution, the following formula can be used to calculate the... The first user's Total execution time of each subtask: (6) In one embodiment, based on the fine-grained offloading strategy, a method is established to apply dynamic frequency scaling technology on the edge server to minimize the offloading cost of the subtask, comprising: (1) Establish a reliability model for each subtask.

[0033] Assuming hardware failures are transient and their occurrence follows a Poisson probability distribution, in a heterogeneous computing network system, it is assumed that the failure rate of the cloud data center is negligible. Represents edge nodes A constant failure rate per unit of time. For a specific subtask, such as subtask... It is at the edge node The actual reliability of the above execution is: (7) In the formula, For running on processor Subtasks on The execution time. The overall system reliability (i.e., the reliability of the task set) for scheduling the entire application can be calculated using the following formula: (8) Due to the reliability provided by the task set This represents the reliability of the entire task set, and each subtask is dynamically allocated processors and execution frequencies during scheduling. Therefore, it is necessary to... Decompose the reliability requirements of each subtask As shown below: (9) (10) In the formula, Indicates unassigned tasks Pre-assigned reliability values ​​based on geometric mean; Indicates unassigned tasks It can achieve the maximum reliability value. Indicates unassigned tasks Minimum achievable reliability value This represents the maximum reliability value for the entire task set. This represents the minimum reliability value for the entire task set, where N represents the total number of tasks in the task set. This represents the target reliability value for the entire task set. Indicates the tasks that have been scheduled. These represent unscheduled tasks; (2) Establish a cost model for each subtask.

[0034] Cost depends on the transmission rate and bandwidth used by the subtasks uploading to the nearest edge node. Due to processor heterogeneity, different processors have different bandwidths and transmission rates. Therefore, the user... The total economic cost that should be paid by the operator under the MEC processing mode is: (11) in, and The price for communication and computing resources between MEC subtasks.

[0035] The total cost payable by the operator under the cloud processing model is: (12) in, and The price of communication and computing resources for the cloud; The total cost for subtask processing is: (13) (3) Establish a problem model.

[0036] For users with subtasks in a heterogeneous computing network system, the goal is to find a schedule that minimizes resource consumption costs while maintaining reliability. Since a subtask can only start after receiving all the results of its previous subtasks, the start time of subtask execution should take into account the completion times of its previous subtasks and the communication overhead between them.

[0037] like Figure 3 As shown, a directed acyclic task graph (DAG) G = (V, E) is used to describe the dependencies between these tasks, where V is the set of subtasks and E is the set of directed edges representing the dependencies between subtasks. For example, directed edges ( , ) means subtask Depends on result subtask DAG stands for Directed Acyclic Graph.

[0038] Due to the dependencies between subtasks, it is necessary to define AST and AFT attributes before presenting the problem model. and This represents the actual start and completion times of subtask j when it is unloaded onto heterogeneous computing node k. This is for calculating the subtask... The AST must be scheduled All preceding subtasks are defined with their actual execution start times as follows: (14) In the formula, For edge nodes Or the earliest available time for the task to be executed in the cloud data center. For subtasks The preceding task, For communication latency between subtasks Indicates the earliest execution completion time of the subtask; Since subtasks are dependent on each other, data transmission is required between subtasks on different processors. By modifying equation (4), the communication delay between different subtasks on edge nodes in the edge network is obtained as follows: (15) In the formula, For subtasks The edge node it is located at For subtasks The edge node it is located at For cloud data centers, For subtasks Subtasks required for execution The amount of data transmitted.

[0039] Define the earliest execution completion time of the subtask as: (16) As mentioned above, the cost of offloading subtasks includes edge node costs and cloud data center costs. Due to differences in computing power and distance, there is a trade-off between these two components.

[0040] Based on the costs of heterogeneous edge nodes and cloud data centers, the problem model is as follows: (17) st: (c1) (c2) (c3) (c4) (c5) (c6) (c7) (c8) In the formula, N represents the task set. Subtasks The earliest execution completion time, where k represents the k-th edge node. Indicates the first One edge node, Subtasks The actual start time of execution. Indicates the deadline for the task. This represents the target reliability value for the entire task set. Represents edge server A collection of virtual machines on the platform. This indicates the execution power of the edge node. This represents the minimum execution power of the edge node. This represents the maximum execution power of the edge node.

[0041] In one embodiment, after establishing the problem model, the following two scenarios are included: Case 1: Based on the problem model defined by formula (17), this disclosure proposes a cost-minimizing task offloading and scheduling method with reliability constraints in heterogeneous computing power network systems.

[0042] First, an algorithm is designed to minimize subtask execution time while meeting reliability requirements. This algorithm depends not only on the load level of edge nodes and the computational workload of subtasks, but also on the dependencies between subtasks. Then, an algorithm is proposed that applies Dynamic Frequency Scaling (DVFS) technology to edge servers to minimize their energy consumption. However, due to cloud computing... side The computing power at the edge, especially on the edge side, is widely distributed throughout the network. Therefore, the primary challenge is ensuring sufficient system stability and timely resource consolidation for further task scheduling under massive computing power access. Thus, before presenting the algorithm, the following two issues need to be addressed: Edge node load prioritization: The servers on edge nodes have different computing capabilities, and the number of tasks on different edge nodes is also different. These factors lead to different load pressures on different edge nodes. In order to avoid the servers on edge nodes from becoming overloaded, subtasks need to be transferred to servers with less workload for execution. Therefore, it is necessary to sort multiple edge nodes to obtain the edge network node priority sequence and prioritize the computing power node with the highest priority.

[0043] (1) Define the idle level of edge nodes as: (18) (19) (20) In the formula, The latest completion time across all edge nodes. For the current edge node The latest completion time for the pending task. For edge nodes Sub-task The actual completion time, The larger the value, the higher the idle level and the higher the priority of the edge node. = 1 indicates that the edge node is in a completely idle state; m represents the m-th edge node.

[0044] (2) Subtask priority sorting: Applications are always composed of a series of subtasks, and prioritizing these subtasks is crucial. When task dependencies exist, the execution order cannot be reversed. Furthermore, changing the execution order of parallel subtasks will also affect the overall latency. Therefore, it is necessary to set the priority for each subtask. The priorities are defined as follows: (twenty one) (twenty two) Indicates user Sub-task Average execution time across all computing nodes From subtask The length of the critical path to exiting the task; the higher the value, the higher the priority. Subtasks The priority of the direct successor j', M represents the set of micro base stations, and |M| represents the number of elements in the set of micro base stations.

[0045] In one embodiment, the process of load sorting of edge nodes and priority sorting of subtasks on the edge nodes includes: Traverse all edge nodes, calculate the total delay for transmitting subtasks to edge nodes for execution based on the sorted priority order, and compare it with the deadline. If the deadline is exceeded, the subtask will be transferred to the cloud data center; otherwise, it will be transferred to the edge node.

[0046] It is understandable that: Step 1: Calculate the idle level of edge nodes in the edge network using equation (18) to obtain the edge network topology sequence. , This represents an edge node.

[0047] Step 2: Calculate the priority of the load subtasks using equation (21) to obtain the sequence of subtasks to be unloaded. .

[0048] Step 3: Retrieve the subtask from the head of the priority queue. The completion time of the subtask at each edge node is calculated using equation (6). .

[0049] Step 4: Set the completion time and deadline If the deadline is exceeded, the subtask is transferred to the cloud data center. Otherwise, it is transferred to the edge node.

[0050] In one embodiment, if the deadline is exceeded, the subtask is transferred to the cloud data center; otherwise, it is transferred to the edge node. This further includes: For subtasks executed at edge nodes, calculate the actual reliability of the subtasks and their reliability requirements; or; Calculate the execution cost of subtasks executed on edge nodes and assign the subtasks to the edge nodes with the lowest costs.

[0051] When calculating the actual reliability of a subtask executed at an edge node, the process and subsequent steps include the following: Step 5: Calculate the reliability requirements of the subtasks for tasks executed on edge nodes using equation (9). And use equation (7) to calculate the actual reliability. .

[0052] Step 6: Find > For each edge node, use equation (16) to calculate the earliest completion time of the subtask on each edge node. Schedule subtasks to achieve the minimum Edge nodes.

[0053] Based on the scheduling results from the above steps, the obtained workflow reliability Verified to be greater than This indicates that the reliability of some subtasks can be adjusted downwards in exchange for a proportional reduction in frequency, defining the reliability ratio: (twenty three) because The reliability ratio It will be less than 1. When the subtask... When the task is reassigned, the required reliability can be readjusted from equation (9) as follows: (twenty four) Due to the relaxed and unreliable nature of the processor, the processor frequency can be reduced proportionally. Based on the relationship between reliability and cost, a method is proposed to traverse each edge node in ascending order of the cost-to-reliability ratio z: (25) Based on the above steps, this disclosure uses DVFS (Dynamic Voltage Frequency Scaling) to reschedule subtasks to minimize cost, as follows: Step 7: Based on the above scheduling results, calculate the reliability required for the reassignment of subtasks in sequence using equation (24). .

[0054] Step 8: Set the execution frequency of each edge node to the minimum value. z is calculated using equation (25).

[0055] Step 9: Following the traversal rule z, schedule the subtask to the edge node with the smallest z, and increase the execution frequency of the edge node from the minimum value in increments of 0.01 until the condition is met. If the reliability requirements of the subtask cannot be met even after iterating to the highest frequency of each processor, the loop will be exited and a report will be submitted to the scheduler.

[0056] Step 10: Output the processing frequency of subtasks on each processor and remove the edge nodes of the subtasks from the priority queue. If there are no subtasks in the priority queue, end the subtask allocation phase; otherwise, return to Step 1.

[0057] Case 2: Based on the optimization problem defined in equation (17), this disclosure also proposes a method to minimize cost first and then satisfy system reliability. It should be noted that the content of steps 1 to 4 in Case 1 is the same as the content of steps one to four in Case 2. However, the content after step 4 in Case 1 is different from that in Case 2. The details are explained below.

[0058] First, a fine-grained offloading strategy is proposed without considering reliability requirements. This strategy jointly considers: 1) the load level on the edge server; 2) the dependencies of subtasks in the DAG; and 3) the offloading strategy in a multi-user computing network system with multiple heterogeneous servers. This approach minimizes resource consumption costs, finding a near-optimal schedule with minimal resource consumption. This schedule requires further adjustment to meet reliability requirements. A cost-reliability metric is introduced, which shows the task's ability to improve reliability at the cost of incremental resource consumption. This cost-reliability metric helps identify the most suitable subtasks for adjustment within the schedule. Then, driven by reliability requirements, subtasks are continuously adjusted until their reliability is satisfied.

[0059] This disclosure proposes a method that minimizes cost before ensuring system reliability, including the following: Step 1: Calculate the idle level of edge nodes in the edge network using equation (22) to obtain the edge network topology sequence. .

[0060] Step 2: Calculate the priority of the load subtasks using equation (25) to obtain the sequence of subtasks to be unloaded. .

[0061] Step 3: Retrieve the subtask from the head of the priority queue. The completion time of the subtask at each edge node is calculated using equation (6). .

[0062] Step 4: Set the completion time and deadline If the deadline is exceeded, the subtask is transferred to the cloud data center. Otherwise, it is transferred to the edge node.

[0063] In one embodiment, the step of calculating the execution cost of a subtask executed on an edge node and assigning the subtask to the edge node with the lowest cost includes: Based on the scheduling results, calculate the total reliability of the subtask on the current edge node and compare it with the reliability requirements of the subtask. If the overall reliability of a subtask on the current edge node does not meet its reliability requirements, the cost-reliability index of the subtask is calculated, and the subtask is reallocated based on the cost-reliability index until the overall reliability of the subtask on the current edge node meets its reliability requirements.

[0064] It is understandable that: Step 5: Calculate the execution cost of the task executed on the edge node using equation (17). .

[0065] Step Six: Subtasks Assign it to the edge node with the lowest cost.

[0066] Step 7: Based on the above scheduling results, use equation (8) to calculate the total reliability R(G) of the subtask on the current edge node.

[0067] In one embodiment, the step of calculating the total reliability of the subtask on the current edge node based on the scheduling result and comparing it with the reliability requirement of the subtask further includes: If the overall reliability of the subtask on the current edge node meets its reliability requirements, then the scheduling result is output. This can be understood as follows: Step 8: If If so, the scheduling result will be output.

[0068] Otherwise, randomly assign the subtask to another edge node. ( And calculate the change in reliability after the reallocation: The cost change after reallocation is calculated as follows: Step 9: Calculate the subtask Cost-reliability metrics: Step 10: Based on the above cost-reliability metrics, initialize the value matrix for the reassignment of subtasks. as follows: Step 11: China has the highest Subtasks from edge nodes Reassigned to edge nodes .

[0069] Step 12: Repeat the above steps until... .

[0070] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the appended claims.

Claims

1. A method for minimizing the cost of subtask offloading in a heterogeneous computing power network system, characterized in that, The method includes: In a heterogeneous computing network system environment, based on the load level of the edge server, the dependency between subtasks, and the reliability requirements of each subtask to be assigned, a fine-grained offloading strategy is designed to shorten the execution time of subtasks and meet the reliability requirements; wherein, the heterogeneous computing network system includes users, micro base stations with edge servers, and cloud data centers connected to the micro base stations with edge servers. Based on the fine-grained unloading strategy, a method for minimizing the unloading cost of the subtask includes: Establish a reliability model for each of the sub-tasks, including: Computational subtasks on edge servers The actual reliability of the above execution, and its calculation formula is: (7) In the formula, Represents edge server Constant failure rate per unit of time, Indicates a subtask. Indicates the first The first user's The execution latency of each subtask; Calculate the reliability of the entire task set, and calculate the reliability requirement for each subtask based on the reliability of the entire task set. The reliability of the entire task set is as follows: (8) The reliability requirements for each subtask are: (9) (10) In the formula, Indicates unassigned tasks Pre-assigned reliability values ​​based on geometric mean; Indicates unassigned tasks It can achieve the maximum reliability value. Indicates unassigned tasks Minimum achievable reliability value This represents the maximum reliability value for the entire task set. This represents the minimum reliability value for the entire task set, where N represents the total number of tasks in the task set. This represents the target reliability value for the entire task set. Indicates the tasks that have been scheduled. These represent unscheduled tasks; Establish a cost model for each subtask, including: Calculate users The total economic cost that should be paid by the operator under the MEC processing mode is: (11) In the formula, The price for communication between subtasks. Calculate the price of resources between MEC subtasks; This represents the bandwidth between the edge nodes of the micro base station. This indicates the execution power of the edge node. The total cost payable by the operator under the cloud processing model is: (12) In the formula, The price of cloud communication, The price of cloud computing resources; This indicates the bandwidth between the edge nodes of the micro base station and the cloud data center. This indicates the computing power of the cloud data center; The total cost for subtask processing is: (13) In the formula, User The uninstallation decision; Establish a problem model, including: Define the actual start time of the subtask as: (14) In the formula, For edge servers Or the earliest available time for the task to be executed in the cloud data center. For subtasks The preceding task, For communication latency between subtasks Indicates the earliest execution completion time of the subtask; The communication latency between different subtasks on edge nodes in a heterogeneous edge network system is: (15) In the formula, For subtasks The edge node it is located at For subtasks The edge node it is located at For cloud data centers, For subtasks Subtasks required for execution The amount of data transmitted This indicates the transmission delay between edge nodes of a micro base station. This indicates the transmission latency between the edge nodes of the micro base station and the cloud data center. This represents the shortest path between edge nodes. Indicates the network links between edge nodes; Define the earliest execution completion time of the subtask as: (16) Based on the costs of edge nodes and cloud data centers, the problem model is as follows: (17) s.t: (c1) (c2) (c3) (c4) (c5) (c6) (c7) (c8) In the formula, Subtasks The earliest execution completion time, where k represents the k-th edge node. Indicates the first One edge node, Subtasks The actual start time of execution. Indicates the deadline for the task. This represents the target reliability value for the entire task set. Represents edge server A collection of virtual machines on the platform. This indicates the execution power of the edge node. This represents the minimum execution power of the edge node. This represents the maximum execution power of the edge node. Represents decision variables, Indicates user subtasks The matching is executed on the virtual machine l of edge node k, where M represents the set of micro base stations.

2. The method for minimizing subtask cost offloading in a heterogeneous computing power network system according to claim 1, characterized in that, In the heterogeneous computing network system environment, based on the load level of the edge server, the dependencies between subtasks, and the reliability requirements of each subtask to be assigned, a fine-grained offloading strategy is designed to shorten the execution time of subtasks while meeting reliability requirements, including: Calculate the first The first user's The transmission time for each subtask includes: Calculate the first The uplink data rate between a user and the edge node of the nearest micro base station is calculated using the following formula: (1) In the formula, Indicates the bandwidth of the uplink system. This represents the Gaussian white noise power of the uplink system. Indicates user The transmission power, User The channel gain between BS and k, where BS represents the micro base station and k represents the edge node. This indicates the wireless interference experienced by other IoT devices with the same offloaded edge server. Indicates user , Indicates user , Represents a set of users; No. The first user's The transmission time for each subtask to be uploaded to the edge node of the micro base station is: (2) In the formula, Indicates the first The first user's The size of the input data for each subtask Indicates the first The first user's The transmission time of each subtask uploaded to the edge node of the micro base station; Calculate the first The latency of transmitting each subtask to other edge nodes is calculated using the following formula: (3) In the formula, This indicates the bandwidth between the edge nodes of the micro base station and the cloud data center. This indicates the transmission latency between the edge nodes of the micro base station and the cloud data center. This represents the bandwidth between the edge nodes of the micro base station. This indicates the transmission delay between edge nodes of a micro base station. This represents the shortest path between edge nodes. This represents the network links between edge nodes. User The unloading decision, which ranges from [0,1], if , indicating subtask Execute on a cloud server. Executed on the edge server, decision variables When the value is 1, it indicates a subtask. Assigned to edge server Execution is performed above, where M represents the set of micro base stations; According to the The first user's The transmission time of each subtask uploaded to the edge node of the micro base station, and the latency of the subtask transmitted to other edge nodes, are used to calculate the first subtask. The first user's The transmission time of each subtask is calculated using the following formula: (4)。 3. The method for minimizing subtask cost offloading in a heterogeneous computing power network system according to claim 2, characterized in that, In the heterogeneous computing network system environment, based on the load level of the edge server, the dependencies between subtasks, and the reliability requirements of each subtask to be assigned, a fine-grained offloading strategy is designed that can shorten the execution time of subtasks while meeting reliability requirements. This strategy further includes: According to the The first user's The transmission time of each subtask, and the first The first user's The execution latency of each subtask is calculated. The first user's The total execution time of each subtask includes: (5) (6) In the formula, This indicates the computing power of the cloud data center. Indicates the first The first user's The execution latency of each subtask Indicates the first The first user's Total execution time of each subtask This indicates the execution power of the edge node. This represents the CPU cycles required to complete the computational subtask. Indicates user subtasks Execute on virtual machine l that matches edge node k.

4. The subtask cost minimization offloading method in a heterogeneous computing power network system according to claim 3, characterized in that, The process of establishing the problem model also includes: Load sorting is performed on edge nodes, and priority sorting is performed on subtasks on edge nodes, including: Define the idle level of edge nodes as: (18) (19) (20) In the formula, The latest completion time across all edge nodes. For the current edge node The latest completion time for the pending task. For edge nodes Sub-task The actual completion time The larger the value, the higher the idle level and the higher the priority of the edge node. This indicates that the edge node is in a completely idle state; m represents the m-th edge node; prioritize the subtasks on the edge node, including: The priority is defined as follows: (21) (22) Indicates user Sub-task Average execution time across all computing nodes From subtask The length of the critical path to exiting the task. Subtasks direct successor The priority is M, which represents the set of micro base stations.

5. The method for minimizing subtask cost offloading in a heterogeneous computing power network system according to claim 4, characterized in that, The process of load sorting of edge nodes and priority sorting of subtasks on edge nodes includes: Traverse all edge nodes, calculate the total delay for transmitting subtasks to edge nodes for execution based on the sorted priority order, and compare it with the deadline. If the deadline is exceeded, the subtask will be transferred to the cloud data center; otherwise, it will be transferred to the edge node.

6. The method for minimizing subtask cost offloading in a heterogeneous computing power network system according to claim 5, characterized in that, If the deadline is exceeded, the subtask will be transferred to the cloud data center; otherwise, it will be transferred to the edge node. This process also includes: For subtasks executed at edge nodes, calculate the actual reliability of the subtasks and their reliability requirements; or, Calculate the execution cost of subtasks executed on edge nodes and assign the subtasks to the edge nodes with the lowest costs.

7. The method for minimizing subtask cost offloading in a heterogeneous computing power network system according to claim 6, characterized in that, For subtasks executed at edge nodes, the actual reliability of the subtask and its reliability requirements are calculated, followed by: Find the edge nodes where the actual reliability of the subtask is greater than its reliability requirement, calculate the earliest completion time of the subtask on each edge node, and schedule the subtask to the edge node with the minimum completion time. Based on the scheduling results, calculate the reliability and traversal rules required for the reallocation of subtasks in sequence; According to the traversal rules, the subtask is rescheduled to the edge node with the lowest cost, and the execution frequency of the edge node is increased proportionally from its minimum value until the actual reliability of the subtask meets its reliability requirements.

8. The method for minimizing subtask cost offloading in a heterogeneous computing power network system according to claim 6, characterized in that, For subtasks executed at edge nodes, the process involves calculating the execution cost of the subtask and assigning it to the edge node with the lowest cost, followed by: Based on the scheduling results, calculate the total reliability of the subtask on the current edge node and compare it with the reliability requirements of the subtask. If the overall reliability of a subtask on the current edge node does not meet its reliability requirements, the cost-reliability index of the subtask is calculated, and the subtask is reallocated based on the cost-reliability index until the overall reliability of the subtask on the current edge node meets its reliability requirements.

9. The subtask cost minimization offloading method in a heterogeneous computing power network system according to claim 6, characterized in that, The step of calculating the total reliability of the subtask on the current edge node based on the scheduling result and comparing it with the reliability requirement of the subtask further includes: If the overall reliability of the subtask on the current edge node meets its reliability requirements, then the scheduling result is output.