Reliable and efficient calculation unloading method for dependent tasks in industrial Internet of Things

By building a task offload model in a MEC-assisted IIoT system and using the improved MOEA/D algorithm, the problem of ignoring joint scheduling and computation offloading in the existing technology is solved, and efficient and reliable computation offloading of the IIoT system is achieved.

CN119485504AActive Publication Date: 2025-02-18NORTHEASTERN UNIV CHINA

Patent Information

Application Number
CN202510051750.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-14
Publication Date
2025-02-18
Estimated Expiration
2045-01-14

AI Technical Summary

Technical Problem

The calculation and unloading method in the existing MEC assisted IIoT system ignores joint scheduling and computational unloading, resulting in task unloading exceptions, making it difficult to meet the real-time and reliability requirements of the IIoT system.

Method used

A reliable and efficient computing and unloading method for dependent tasks in the industrial Internet of Things is proposed. By building an IIoT system assisted by MEC, a task unloading model is established, and combined with data retransmission model, computing model and scheduling model, the improved MOEA/D is used. The algorithm solves the computational unloading model.

Benefits of technology

It effectively improves the uninstall performance of the IIoT system, significantly reduces system delay and energy consumption, enhances the real-time and reliability of the system, and is suitable for computing uninstallation in the MEC-assisted IIoT environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119485504A_ABST
    Figure CN119485504A_ABST
Patent Text Reader

Abstract

The reliable and efficient computing and unloading method for the dependent tasks in the industrial Internet of Things comprises the steps that 1, an IIOT system assisted by MEC is constructed, and each industrial device can execute the tasks on different local cores or unload the tasks to different edge servers for execution; step 2, constructing a task unloading model for minimizing time delay and energy consumption of industrial equipment in the IIOT system under the assistance of MEC; 3, constructing a data retransmission model, a calculation model and a scheduling model; and 4, in combination with the data retransmission model, the calculation model and the scheduling model, using an improved MOEA / D algorithm to solve the calculation unloading model in the industrial Internet of Things scene. According to the unloading method, the task allocation strategy can be dynamically adjusted, the optimal unloading decision can be quickly obtained, the overall performance of the IIOT system can be remarkably improved, and the method can be widely applied to calculation unloading in an MEC-assisted industrial environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of edge computing offloading of industrial Internet of Things, and relates to a reliable and efficient computing offloading method for dependent tasks in the industrial Internet of Things. Background Art

[0002] With the rapid development of the Industrial Internet of Things (IIoT), the scale of the network continues to expand. Traditional cloud-centric networks can no longer meet the real-time, security, and reliability requirements of IIoT in the transmission and processing of massive data. Although the computing power of IIoT devices has gradually increased, their resources are limited due to their size. Therefore, in IIoT, facing computationally intensive and delay-sensitive applications, the limitation of device resources may not only lead to high latency and difficulty in meeting the quality of service (QoS) requirements, but also may cause high energy consumption problems and significantly reduce the quality of user experience (QoE). To solve this problem, edge computing (MEC) is considered to be a promising solution. The core advantage of MEC is that it pushes computing power, network control, and storage to the edge of the network (such as base stations and access points) to process computationally intensive and delay-critical applications consisting of multiple interdependent computing tasks on resource-limited IIoT devices.

[0003] The current methods for studying computational offloading in MEC-assisted IIoT mainly include methods based on optimization algorithms and methods based on machine learning. Methods based on optimization algorithms mainly use linear programming, heuristic algorithms (genetic algorithms, particle swarm algorithms, and multi-objective optimization) and game theory to solve the computational offloading problem of MEC-assisted IIoT; the characteristics of machine learning-based methods are to use the prediction and adaptive capabilities of machine learning models to dynamically adjust the offloading scheme and adapt to environmental changes, mainly including deep reinforcement learning (DRL), long short-term memory network (LSTM), etc. However, machine learning models require a large amount of data for training, the training process is very time-consuming, and it is difficult to meet the real-time requirements of the IIoT environment. The cost of real-time updating and retraining models is high.

[0004] In view of the complexity of computing offloading in IIoT networks, how to dynamically allocate tasks between industrial equipment and edge servers to minimize latency and energy consumption is a problem worth studying. At the same time, network latency and reliability are difficult to guarantee, and how to achieve stable and reliable offloading while maintaining system real-time performance is also a challenge. Summary of the invention

[0005] The purpose of the present invention is to overcome the shortcomings of the prior art, propose a reliable and efficient computing offloading method for dependent tasks in the industrial Internet of Things, solve the problems of the existing MEC-assisted IIoT system computing offloading method ignoring joint scheduling and computing offloading and task offloading anomalies, and effectively improve the offloading performance of the IIoT system.

[0006] The present invention provides a reliable and efficient computing offloading method for dependent tasks in an industrial Internet of Things, comprising the following steps: Step 1: Build an IIoT system assisted by MEC. Each industrial device can execute tasks on different local cores or offload them to different edge servers. Step 2: Construct a task offloading model that minimizes latency and energy consumption for industrial equipment in the MEC-assisted IIoT system; Step 3: Construct data retransmission model, calculation model and scheduling model; Step 4: Combine the data retransmission model, computing model and scheduling model, and use the improved MOEA / D algorithm to solve the computing offloading model in the industrial Internet of Things scenario.

[0007] The reliable and efficient computing offloading method for dependent tasks in the industrial Internet of Things of the present invention has the following beneficial effects: 1. The present invention formulates the joint scheduling and offloading problem of multiple interdependent computing tasks in the MEC-assisted IIoT system as a multi-objective optimization problem, aiming to simultaneously minimize the average latency (ACT) of industrial applications and the average energy consumption (AEC) of IIoT devices. The improved MOEA / D algorithm proposed in the present invention has good performance, excels in the convergence and diversity of non-dominated solutions, significantly reduces system latency and energy consumption, and can be widely used for computing offloading in MEC-assisted IIoT environments.

[0008] 2. The retransmission model constructed by the present invention takes into account the situations of packet loss and data retransmission, making the simulation environment more realistic. Two optimization schemes, re-decision and re-scheduling, are proposed for abnormal scenarios of task offloading to reduce the impact of unreliable links.

[0009] 3. The improved MOEA / D algorithm of the present invention improves the population initialization process, which can increase the diversity of the population and accelerate the convergence speed, help to jump out of the local optimum, and increase the global search capability.

[0010] 4. Update by uniform crossover and single point crossover respectively EL and EO vector, taking into account the dependencies between tasks. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 It is a flow chart of a reliable and efficient computing offloading method for dependent tasks in the industrial Internet of Things of the present invention; Figure 2 This is a system model diagram of the MEC-assisted IIoT system of the present invention. DETAILED DESCRIPTION

[0012] The present invention is further described in detail below with reference to the accompanying drawings.

[0013] like Figure 1 As shown, a reliable and efficient computing offloading method for dependent tasks in the industrial Internet of Things is characterized by comprising the following steps: Step 1: Build an IIoT system assisted by MEC. Each industrial device can execute tasks on different local cores or offload them to different edge servers.

[0014] In order to realize the reliable and efficient computing offloading function of the sensing-dependent tasks in IIoT based on evolutionary multi-objective optimization, such as Figure 2 As shown in the figure, an IIoT system assisted by MEC is constructed. It includes multiple edge servers, multiple wireless access points, and multiple industrial devices. A wireless access point and multiple industrial devices form a cell. Each edge server is responsible for a cell. It is connected to multiple industrial devices through wireless access points. The wireless access points and edge servers are connected through optical fibers, and the transmission delay can be ignored. The wireless access points are connected to industrial devices through wireless.

[0015] Step 2: Construct a task offloading model that minimizes latency and energy consumption for industrial equipment in the MEC-assisted IIoT system. Specifically: ; ; ; in, ACT and AEC They represent the average latency of industrial applications and the average energy consumption of industrial equipment, respectively. Represents the total number of industrial devices in the system, u Indicates the number of cells in the system, N i Indicates i The total number of industrial equipment in the community, CT ( G i,j ) indicates the i In the community j Industrial applications on industrial equipment G i,j The completion time, G i,j =( T i,j , D i,j ),in T i,j Indicates i In the communityj A collection of tasks on industrial equipment. D i,j Indicates i In the community j The dependencies between tasks on industrial equipment; each task in the task set is modeled as a four-tuple, i In the community j The first industrial equipment k Tasks t i,j,k The four-tuple of ,in c i,j,k Indicates execution of tasks t i,j,k The number of CPU cycles required, d i,j,k and o i,j,k Respectively represent the size of input data and output data, v i,j,k Indicates the task t i,j,k Deadline: N i,j Indicates i The first j Total task volume of industrial equipment; E ( t i,j,k ) represents a computing task t i,j,k Energy consumption, Representation Task t i,j,k Energy consumption executed on local industrial equipment, E ES Indicates the task t i,j,k Energy consumption offloaded to edge servers; ε i,j,k Representation Task t i,j,k The binary variable of offloading takes the value of 1 when offloading to local industrial equipment and takes the value of 0 when offloading to the edge server.

[0016] The dependency constraints for task offloading are: Constraint 1: Task execution order constraint: When a task is executed, it must be ensured that all previous tasks have been completed. On the one hand, if the task is executed on the edge server, it must be ensured that the output data obtained by the edge server processing the task has been completely transmitted back to the industrial equipment. On the other hand, if the task is executed on the industrial equipment, all previous tasks must be completed. Constraint 2: Task execution location constraint: Tasks can be offloaded to different computing cores of local industrial equipment or to different edge servers; Constraint 3: The actual completion time of the task must be less than or equal to the task deadline.

[0017] Step 3: Construct data retransmission model, calculation model and scheduling model.

[0018] During the specific implementation, the constructed data retransmission model is as follows: Assume that the entire path from industrial equipment to edge server has M Link, n The transmission success rate of the link is , then the probability of transmission failure is ; When the n When data transmission fails on a link, define E c ( n ) indicates the n The estimated cost of a link transmission failure is expressed as: ; Expected number of transfers R t ( M ) is calculated as: ; in, E c ( M ) represents the total cost of all link transmission failures, Indicates the cost of successful transmission of all links; It represents the probability that all links are successfully transmitted.

[0019] During the specific implementation, the constructed calculation model is as follows: Any industrial equipment FD are defined as a set of four tuples. i In the community j Industrial equipment FD i,j The set of four tuples is represented as ,in Indicates industrial equipment FD i,j On the h The maximum execution frequency on the computing cores; Indicates industrial equipment FD i,j In the h Maximum energy consumption on a computing core; Indicates that when industrial equipment FDi,j Maximum energy consumption when transmitting data; Indicates that when industrial equipment FD i,j The maximum energy consumption when receiving data; assuming that C The calculation frequency scaling factor is expressed as ; Assume that each industrial device processor is equipped with h Heterogeneous computing cores, h The actual computing frequency of a computing core is defined as: ; No. h The actual power consumption of each computing core is: ; make In industrial equipment FD i,j No. h Maximum computing frequency on the computing cores The minimum completion time of the task t i,j,k In industrial equipment FD i,j No. h The actual execution time of a computing core is expressed as: ; Task t i,j,k In local industrial equipment FD i,j No. h The actual energy consumption of a computing core is expressed as: ; When the task is offloaded to the edge server, i In the community j The transmission rate of industrial equipment R i,j It is expressed as: ; in, B i,j Indicates i In the community j The channel bandwidth of industrial equipment Indicates i In the community j Industrial equipment FD i,j and i Wireless access points in each cell AP i The channel gain betweenσ 2 is the noise power.

[0020] When the task is offloaded to the edge server, the offload task t i,j,k The transmission delay is expressed as: ; Assume that each edge server has the same computing power, denoted as F; it can be seen that assuming that the computing resources of the edge server are infinite or equally shared, therefore, for each industrial device FD ,The allocated computing resources are determined by the offloading decision and the task size.

[0021] No. l Edge Servers ES l Assigned to FD i,j The computing resources are defined as: ; in, Indicates that from industrial equipment FD i,j Uninstall to ES l The total data size on which the task is offloaded and , J is the total number of edge servers, each edge server has the same computing power, denoted as F .

[0022] On edge servers ES l The time required to execute the task is expressed as: ; Industrial Equipment FD i,j From the edge server ES l The delay in receiving data is expressed as: ; Therefore, the task t i,j,k On edge servers ES l The total latency of the above execution is expressed as: ; Task t i,j,k The energy consumption offloaded to the edge server is expressed as: ; in, Indicates an uninstall task t i,j,k The transmission energy consumption, It is represented as the energy consumption of receiving data from the edge server. If the task t i,j,k It will be executed on the computing core of the local industrial equipment, and its preparation execution time is similar to the predecessor task set pre ( t i,j,k ), depending on the maximum completion time of the predecessor task set.

[0023] In industrial equipment FD i,j The waiting time before execution is expressed as: ; in, Indicates i In the community j Industrial equipment l Tasks t i,j,l Execution time on the local industrial equipment computing core, Representation Task t i,j,l The data is returned from the edge server to the FD i,j completion time.

[0024] In industrial equipment FD i,j Waiting time before uploading It is expressed as: ; If the task t i,j,k Offloaded to the edge server for execution, Depends on the set of predecessor tasks pre ( t i,j,k ), Representation Task The time when the data transfer to the edge server was completed.

[0025] Task t i,j,k Preparation execution time on edge servers It is expressed as: ; in, For the task The execution completion time on the edge server, For the task t i,j,k Preparation execution time on edge servers.

[0026] exist FD i,j Industrial Applications G i,j The final completion time is defined as CT ( G i,j ), expressed as: ; in, is a binary variable. When the last task of the industrial equipment When executed locally, ,otherwise ; Representation Task Time to complete execution at local industrial equipment, Representation Task The time when data reception is completed.

[0027] In addition, during task offloading, the following constraints must be followed: ; Among them, constraint C1 is the constraint of task execution order. For complex workflows, tasks t i,j,k Only in missions t i,j,l The task can be executed only after the execution is completed. The C2 constraint indicates the location where the task is offloaded. The task can be offloaded to the local core {1,…, h}, or offload to different edge servers{ h +1,…, h + J}. The C3 constraint is the task t i,j,k The preparation time for local execution must be greater than or equal to the set of predecessor tasks pre ( t i,j,k ) in which the maximum value of the local execution time and the device acceptance time is t i,j,k The preparation time for execution on the edge server must be greater than or equal to the previous task pre ( t i,j,k ) is the maximum value of the execution time of the local and edge servers of the task. The C4 constraint indicates that the preparation time for the execution of the task on the edge server must be greater than or equal to the transmission completion time of the data transmission to the edge server. The C5 constraint indicates that the actual completion time of the computing task must be less than or equal to the deadline of the computing task.

[0028] During the specific implementation, the scheduling calculation model constructed is as follows: Computational tasks t i,j,k Average execution time ET i,j,k : ; Computational tasks t i,j,k Waiting time RT i,j,k is the maximum completion time of all its predecessor tasks: ; in, Indicates i In the community j Industrial equipment l Tasks t i,j,l completion time; Response rate RR i,j,k It is defined as the ratio of the response time to the execution time of a computing task, where the response time is the sum of the execution time and the waiting time: ; Priority scheduling is performed on parallel computing tasks that are ready at the same time, and the priority is determined by the highest response rate.

[0029] Step 4: Combining the data retransmission model, the calculation model and the scheduling model, the improved MOEA / D algorithm is used to solve the calculation offloading model in the industrial Internet of Things scenario. The specific steps of step 4 are: Step 4.1: Given a representation of the solution to the offloading task problem, set a fitness function containing two optimization objectives, specifically: Step 4.1.1: In order to balance the average latency of industrial applications and the average energy consumption of industrial equipment, the offloading task problem is defined as: min ( ACT , AEC ).

[0030] Step 4.1.2: For industrial applications G i,j =( T i,j , D i,j ), Indicates i In the community j A collection of tasks on industrial equipment; each task t i,j,k There is an execution location ELand execution order EO , which constitutes a representation of the solution to the task.

[0031] Step 4.1.3: Industrial Application G i,j The representation of the solutions of all tasks in constitutes a set of offloading decisions. Let , where the task t i,j,k Execution location , h yes FD i,j The number of computing cores on J is the number of edge servers; if loc i,j,k ≤h , indicating that the task is executed on the local industrial device, otherwise it is offloaded to the edge server for execution.

[0032] Step 4.1.4: Order ,express T i,j The execution order of tasks in i In the community j Industrial applications on industrial equipment G i,j The solution is expressed as ; In each cell, the solution to the unloading task problem is , , .

[0033] Step 4.1.5: Given the solution to the offloading task problem is X, the fitness function to be optimized is expressed as: .

[0034] Step 4.2: Initialize the weight vector, calculate the distance between the weight vector and other weight vectors, and select the closest one T neighbors, which constitute the neighborhood of the subproblem, specifically: Step 4.2.1: Assume that the population size is N , the number of weight vectors is N , through the weight vector generation formula, by evenly dividing the interval [0,1], a two-dimensional weight vector is generated ( w 1, w 2), where: ; ; Each weight vector defines a subproblem, i.e., an individual in the population, T To represent the number of neighbors for each subproblem, by calculating the corresponding weight vector of any two individuals The Euclidean distance between them is used to sort the neighbors of each weight vector by distance and select the one closest to the subproblem T neighbors, forming the domain of the subproblem.

[0035] Step 4.2.2: After initializing the weight vector, the multi-objective optimization problem is decomposed into multiple scalar subproblems through the Chebyshev function, and the neighborhood is updated using the Chebyshev function. If there is a better solution to the subproblem corresponding to the neighbor weight vector, the current individual is updated through crossover and mutation operations.

[0036] Step 4.3: Initialize the population and initialize the maximum number of iterations and mutation probability.

[0037] In the specific implementation, half of the individuals in the population in step 4.3 randomly initialize the execution position and execution order, and the other half of the individuals in the population dynamically initialize the execution order and execution position using a joint scheduling and unloading algorithm based on response rate, specifically: Step 4.3.1: The initial computation task is executed locally by default.

[0038] Step 4.3.2: Traverse using breadth-first search algorithm G i,j vertices that have no predecessors and add them to the queue.

[0039] Step 4.3.3: Divide the tasks added to the queue into new task sets TS , and calculate the task set TS The response ratio of each task in RR i,j,k .

[0040] Step 4.3.4: Follow RR i,j,k Sort from high to low, task set TS The higher the response ratio, the higher the priority of the task.

[0041] Step 4.3.5: For the task with the highest priority, the offloading location of the task is dynamically determined based on the comparison result between its local completion time and its completion time on the edge server.

[0042] Step 4.3.6: Repeat steps 4.3.2 to 4.3.5 to confirm G i,j The offloading location and execution order of all tasks in .

[0043] Step 4.4: Calculate the fitness function of each individual.

[0044] Step 4.5: Set the reference point, specifically: Step 4.5.1: Create a list for each optimization target. Fitness_1 is used to store the average delay ACT value of all individuals in the population, and fitness_2 is used to store the average energy consumption AEC value of all individuals in the population.

[0045] Step 4.5.2: Traverse the entire population, extract the values ​​of the two optimization objectives for each individual, and add them to the corresponding lists fitness_1 and fitness_2.

[0046] Step 4.5.3: Sort the values ​​of the optimization objectives in the lists fitness_1 and fitness_2, and use the minimum values ​​in the lists fitness_1 and fitness_2 as reference points respectively.

[0047] During the optimization process, the invention improves the algorithm fitness by dynamically updating the reference point. Each time a new solution is generated, the performance of the solution on each target is checked. If the solution is better than the current reference point on a certain target, the corresponding reference point is updated.

[0048] Step 4.6: Perform fast non-dominated sorting on the individuals and divide the population into multiple levels.

[0049] The purpose of non-dominated sorting is to divide the population into multiple levels (called Pareto Fronts). The solution in the first front is the non-dominated solution with the highest quality in the current population and can be directly used to construct the Pareto solution set. By comparing the dominance relationship between individuals, the population is divided into multiple non-dominated levels, thus providing an optimization priority basis for the evolution process.

[0050] Step 4.7: Iterate the update process, randomly select two neighbors to perform crossover and mutation operations to generate new offspring individuals, and repeat steps 4.4-4.6 to update the reference point and neighbors.

[0051] The iterative update process includes: selection, crossover and mutation operations. Selection, for each generation of the population, randomly select two different individuals from the individual's neighbors as parents. Crossover, divided into EL Crossover, that is, execution position crossover; EO Crossover means execution position crossover. EL Crossover adopts the uniform crossover method, and each gene position is exchanged with probability p c Determine whether to exchange. EO Crossover, adopts the single-point crossover method and considers the priority between tasks.

[0052] Step 4.8: When the maximum number of iterations is reached, the best individual in the current population is output, and the optimal unloading decision is obtained.

[0053] The above description is only a preferred embodiment of the present invention and is not intended to limit the concept of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A reliable and efficient computing offloading method for dependent tasks in industrial Internet of Things, characterized in that: The following steps are involved: Step 1: Build an IIoT system assisted by MEC. Each industrial device can execute tasks on different local cores or offload them to different edge servers. Step 2: Construct a task offloading model that minimizes latency and energy consumption for industrial equipment in the MEC-assisted IIoT system. Specifically: ; ; ; in, ACT and AEC They represent the average latency of industrial applications and the average energy consumption of industrial equipment, respectively. Represents the total number of industrial devices in the system, u Indicates the number of cells in the system, N i Indicates i The total number of industrial equipment in the community, CT ( G i,j ) indicates the i In the community j Industrial applications on industrial equipment G i,j The completion time, G i,j =( T i,j , D i,j ),in T i,j Indicates i In the community j A collection of tasks on industrial equipment. D i,j Indicates i In the community j The dependencies between tasks on industrial equipment; each task in the task set is modeled as a four-tuple, i In the community j The first industrial equipment k Tasks t i,j,k The four-tuple of ,in c i,j,k Indicates execution of tasks t i,j,k The number of CPU cycles required, d i,j,k and o i,j,k Respectively represent the size of input data and output data, v i,j,k Indicates the task t i,j,k Deadline: N i,j Indicates i The first j Total task volume of industrial equipment; E ( t i,j,k ) represents a computing task t i,j,k Energy consumption, Indicates the task t i,j,k Energy consumption executed on local industrial equipment, E ES Indicates the task t i,j,k Energy consumption offloaded to edge servers; ε i,j,k Indicates the task t i,j,k The binary variable of offloading takes the value of 1 when offloading to local industrial equipment and takes the value of 0 when offloading to the edge server; Step 3: Construct data retransmission model, calculation model and scheduling model; Step 4: Combine the data retransmission model, computing model and scheduling model, and use the improved MOEA / D algorithm to solve the computing offloading model in the industrial Internet of Things scenario.

2. The reliable and efficient computing offloading method for dependent tasks in the industrial Internet of Things according to claim 1 is characterized in that: The data retransmission model constructed in step 3 is specifically: Assume that the entire path from industrial equipment to edge server has M Link, n The transmission success rate of the link is , then the probability of transmission failure is ; When the n When data transmission fails on a link, define E c ( n ) indicates the n The estimated cost of a link transmission failure is expressed as: ; Expected number of transfers R t ( M ) is calculated as: ; in, E c ( M ) represents the total cost of all link transmission failures, Indicates the cost of successful transmission of all links; It represents the probability that all links are successfully transmitted.

3. The reliable and efficient computing offloading method for dependent tasks in the industrial Internet of Things according to claim 2 is characterized in that: The calculation model constructed in step 3 is specifically: Any industrial equipment FD are defined as a set of four tuples. i In the community j Industrial equipment FD i,j The set of four tuples is represented as ,in Indicates industrial equipment FD i,j On the h Maximum execution frequency on the computing cores; Indicates industrial equipment FD i,j In the h Maximum energy consumption on a computing core; Indicates that when industrial equipment FD i,j Maximum energy consumption when transmitting data; Indicates that when industrial equipment FD i,j The maximum energy consumption when receiving data; assuming that C The calculation frequency scaling factor is expressed as ; Assume that each industrial device processor is equipped with h Heterogeneous computing cores, h The actual computing frequency of a computing core is defined as: ; No. h The actual power consumption of each computing core is: ; make In industrial equipment FD i,j No. h Maximum computing frequency on the computing cores The minimum completion time of the task t i,j,k In industrial equipment FD i,j No. h The actual execution time of a computing core is expressed as: ; Task t i,j,k In local industrial equipment FD i,j No. h The actual energy consumption of a computing core is expressed as: ; When the task is offloaded to the edge server, i In the community j The transmission rate of industrial equipment R i,j It is expressed as: ; in, B i,j Indicates i In the community j The channel bandwidth of industrial equipment Indicates i In the community j Industrial equipment FD i,j and i Wireless access points in each cell AP i The channel gain between σ 2 is the noise power; When the task is offloaded to the edge server, the offload task t i,j,k The transmission delay is expressed as: ; No. l Edge Servers ES l Assigned to FD i,j The computing resources are defined as: ; in, Indicates that from industrial equipment FD i,j Uninstall to ES l The total data size on which the task is offloaded and , J is the total number of edge servers, each edge server has the same computing power, denoted as F ; On edge servers ES l The time required to execute the task is expressed as: ; Industrial Equipment FD i,j From the edge server ES l The delay in receiving data is expressed as: ; Therefore, the task t i,j,k On edge servers ES l The total latency of the above execution is expressed as: ; Task t i,j,k The energy consumption offloaded to the edge server is expressed as: ; in, Indicates an uninstall task t i,j,k The transmission energy consumption, It is represented as the energy consumption of receiving data from the edge server. If the task t i,j,k It will be executed on the computing core of the local industrial equipment, and its preparation execution time is similar to the predecessor task set pre ( t i,j,k ), depending on the maximum completion time of the predecessor task set; In industrial equipment FD i,j Waiting time before execution It is expressed as: ; in, Indicates i In the community j Industrial equipment l Tasks t i,j,l Execution time on the local industrial equipment computing core, Indicates the task t i,j,l The data is returned from the edge server to the FD i,j completion time; In industrial equipment FD i,j Waiting time before uploading It is expressed as: ; If the task t i,j,k Offloaded to the edge server for execution, Depends on the set of predecessor tasks pre ( t i,j,k ), Indicates the task The transfer completion time for data to the edge server; Task t i,j,k Preparation execution time on edge servers It is expressed as: ; in, For the task The execution completion time on the edge server, For the task t i,j,k Preparation execution time on edge servers; exist FD i,j Industrial Applications G i,j The final completion time is defined as CT ( G i,j ), expressed as: ; in, is a binary variable. When the last task of the industrial equipment When executed locally, ,otherwise ; Indicates the task Time to complete execution at local industrial equipment, Indicates the task The time when data reception is completed.

4. The reliable and efficient computing offloading method for dependent tasks in the industrial Internet of Things according to claim 3 is characterized in that: The scheduling calculation model constructed in step 3 is specifically: Computational tasks t i,j,k Average execution time ET i,j,k : ; Computational tasks t i,j,k Waiting time RT i,j,k is the maximum completion time of all its predecessor tasks: ; in, Indicates i In the community j Industrial equipment l Tasks t i,j,l completion time; Response rate RR i,j,k It is defined as the ratio of the response time to the execution time of a computing task, where the response time is the sum of the execution time and the waiting time: ; Priority scheduling is performed on parallel computing tasks that are ready at the same time, and the priority is determined by the highest response rate.

5. The reliable and efficient computing offloading method for dependent tasks in the industrial Internet of Things according to claim 4 is characterized in that: The step 4 is specifically as follows: Step 4.1: Give a representation of the solution to the offloading task problem and set a fitness function containing two optimization objectives; Step 4.2: Initialize the weight vector, calculate the distance between the weight vector and other weight vectors, and select the closest one T neighbors, forming the neighborhood of the subproblem; Step 4.3: Initialize the population, and initialize the maximum number of iterations and mutation probability; Step 4.4: Calculate the fitness function of each individual; Step 4.5: Set the reference point; Step 4.6: Perform fast non-dominated sorting on individuals to divide the population into multiple levels; Step 4.7: Iterative process, randomly select two neighbors to perform crossover and mutation operations to generate new offspring individuals, and repeat steps 4.4-4.6 to update the reference point and neighbors; Step 4.8: When the maximum number of iterations is reached, the best individual in the current population is output, and the optimal unloading decision is obtained.

6. The reliable and efficient computing offloading method for dependent tasks in the industrial Internet of Things according to claim 5 is characterized in that: The step 4.1 is specifically as follows: Step 4.1.1: In order to balance the average latency of industrial applications and the average energy consumption of industrial equipment, the offloading task problem is defined as: min ( ACT , AEC ); Step 4.1.2: For industrial applications G i,j =( T i,j , D i,j ), Indicates i In the community j A collection of tasks on industrial equipment; each task t i,j,k There is an execution location EL and execution order EO , which constitutes a representation of the solution to the task; Step 4.1.3: Industrial Application G i,j The representation of the solutions of all tasks in constitutes a set of offloading decisions. Let , where the task t i,j,k Execution location , h yes FD i,j The number of computing cores on J is the number of edge servers; if loc i,j,k ≤h , indicating that the task is executed on the local industrial device, otherwise it is offloaded to the edge server for execution; Step 4.1.4: Order ,express T i,j The execution order of tasks in i In the community j Industrial applications on industrial equipment G i,j The solution is expressed as ; In each cell, the solution to the unloading task problem is: , , ; Step 4.1.5: The solution to the given offloading task problem is X , the fitness function that needs to be optimized is expressed as: .

7. The reliable and efficient computing offloading method for dependent tasks in the industrial Internet of Things according to claim 5 is characterized in that: The step 4.2 is specifically as follows: Step 4.2.1: Assume that the population size is N , the number of weight vectors is N , through the weight vector generation formula, by evenly dividing the interval [0,1], a two-dimensional weight vector is generated ( w 1, w 2), where: ; ; Each weight vector defines a subproblem, i.e., an individual in the population, T To represent the number of neighbors for each subproblem, by calculating the corresponding weight vector of any two individuals The Euclidean distance between them is used to sort the neighbors of each weight vector by distance and select the one closest to the subproblem T neighbors, forming the domain of the subproblem; Step 4.2.2: After initializing the weight vector, the multi-objective optimization problem is decomposed into multiple scalar subproblems through the Chebyshev function, and the neighborhood is updated using the Chebyshev function. If there is a better solution to the subproblem corresponding to the neighbor weight vector, the current individual is updated through crossover and mutation operations.

8. The reliable and efficient computing offloading method for dependent tasks in the industrial Internet of Things according to claim 5 is characterized in that: The step 4.3 is specifically as follows: half of the individuals in the population randomly initialize the execution position and execution order, and the other half of the individuals in the population dynamically initialize the execution order and execution position using a joint scheduling and unloading algorithm based on response rate, specifically as follows: Step 4.3.1: The initial computing task is executed locally by default; Step 4.3.2: Traverse using breadth-first search algorithm G i,j Find the vertices that have no predecessors and add them to the queue; Step 4.3.3: Divide the tasks added to the queue into new task sets TS , and calculate the task set TS The response ratio of each task in RR i,j,k ; Step 4.3.4: Follow RR i,j,k Sort from high to low, task set TS The tasks with higher medium response ratios have higher priorities; Step 4.3.5: For the task with the highest priority, dynamically determine the offloading location of the task based on the comparison result between its local completion time and its completion time on the edge server; Step 4.3.6: Repeat steps 4.3.2 to 4.3.5 to confirm G i,j The offloading location and execution order of all tasks in .

9. The reliable and efficient computing offloading method for dependent tasks in the industrial Internet of Things according to claim 5 is characterized in that: The step 4.5 is specifically as follows: Step 4.5.1: Create a list for each optimization target, fitness_1 is used to store the average delay ACT value of all individuals in the population, and fitness_2 is used to store the average energy consumption AEC value of all individuals in the population; Step 4.5.2: Traverse the entire population, extract the values ​​of the two optimization objectives of each individual, and add them to the corresponding lists fitness_1 and fitness_2; Step 4.5.3: Sort the values ​​of the optimization objectives in the lists fitness_1 and fitness_2, and use the minimum values ​​in the lists fitness_1 and fitness_2 as reference points respectively.

Citation Information

Patent Citations

  • Mobile edge computing application-oriented multi-user fine-grained task unloading scheduling method

    CN112380008A

  • Manufacturing industry privacy data security protection system and method based on block chain

    CN115659416A

  • Edge cloud collaborative task unloading method based on MOGWO strategy

    CN116405493A

  • Terminal energy efficiency optimization unloading method based on attention multi-index sorting

    CN117891532A

Cited By

  • Service dynamic decoupling and unloading method and system based on end-end cooperation

    CN121125728A

  • Calculation unloading method based on evolution multi-objective optimization in industrial Internet of Things

    CN122363865A