Task offloading optimization method, device, equipment, storage medium and program product

By configuring CPU-NPU heterogeneous computing service nodes on IoT terminals, we build and optimize the system energy efficiency target model, which solves the problem of low energy utilization in the IoT system, achieves collaborative optimization of computing and communication, and improves energy utilization. Rate.

CN118590941BActive Publication Date: 2024-10-18CHINA TELECOM CORP LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411074133.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-10-18
Estimated Expiration
2044-08-06

AI Technical Summary

Technical Problem

The overall energy utilization rate of the Internet of Things system is not high, and there is a problem of non-optimization of energy.

Method used

By configuring CPU-NPU heterogeneous computing service nodes in IoT terminals, a system energy efficiency target model based on local task volume, delay and power allocation factor is constructed, and joint iterative optimization is performed to optimize local task volume, power allocation factor and delay. , to achieve energy efficiency optimization of system energy efficiency.

Benefits of technology

It improves computing efficiency and communication efficiency, realizes collaborative optimization of terminal local computing and communication, and improves the overall energy utilization of the Internet of Things system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118590941B_ABST
    Figure CN118590941B_ABST
Patent Text Reader

Abstract

The present disclosure provides an edge task offloading optimization method, device, equipment, storage medium and program product, which relates to the field of Internet of Things technology. Among them, the edge task offloading optimization method includes: constructing a system energy efficiency target model based on the local task volume, the first delay and the power allocation factor, the tasks to be processed include local tasks to be allocated to the terminal and edge tasks to be offloaded to the edge cluster, the first delay is used to unload the edge tasks, and the power allocation factor is a factor for edge task offloading based on NOMA; the local task volume, the power allocation factor and the first delay are jointly iteratively optimized to obtain the target task volume, the target power allocation factor and the target first delay; local task processing is performed based on the target task volume, and edge task offloading is performed based on the target power allocation factor and the target first delay. Through the technical solution of the present disclosure, the coordinated optimization of terminal local computing and communication is achieved, thereby improving the overall energy utilization of the Internet of Things system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of Internet of Things, and in particular to an edge task offloading optimization method, an edge task offloading optimization device, an electronic device, a computer-readable storage medium, and a computer program product. Background Art

[0002] In the communication network, the IoT system includes IoT terminals and edge servers. Offloading edge tasks based on MEC (Mobile Edge Computing) can give full play to the advantages of computing resource utilization, thereby effectively supporting the access of terminals and edge servers in IoT scenarios. However, there is a defect that the overall energy utilization of the IoT system is not high, that is, the overall energy utilization of the IoT system needs to be further optimized.

[0003] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0004] The purpose of the present disclosure is to provide an edge task offloading optimization method, an edge task offloading optimization device, an electronic device, a computer-readable storage medium and a computer program product, which at least to some extent overcome the problem of low overall energy utilization of the Internet of Things system in the related art.

[0005] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0006] According to one aspect of the present disclosure, a method for optimizing edge task offloading is provided, comprising: constructing a system energy efficiency target model based on a local task amount, a first delay and a power allocation factor, wherein an Internet of Things terminal obtains tasks to be processed, the tasks to be processed include local tasks to be assigned to the Internet of Things terminal and edge tasks to be offloaded to an edge cluster, the local task amount is the task amount of the local task, the first delay is the delay of unloading the edge task to the edge cluster, and the power allocation factor is the allocation factor of the transmission power allocated to the Internet of Things terminal when non-orthogonal multiple access NOMA is used to offload the edge task; jointly iteratively optimizing the local task amount, the power allocation factor and the first delay until the system energy efficiency output by the system energy efficiency target model meets the energy efficiency optimization target, and obtaining the target task amount of the local task assigned to the Internet of Things terminal, the target power allocation factor and the target first delay of the edge task assigned to the edge cluster; performing local task processing based on the target task amount, and offloading the edge task to the edge cluster based on the target power allocation factor and the target first delay.

[0007] In one embodiment of the present disclosure, a system energy efficiency target model is constructed based on the local task volume, the first delay and the power allocation factor, including: the Internet of Things terminal is configured with a service node for CPU-NPU heterogeneous computing, and a first energy efficiency model is constructed based on the local task volume carried by the CPU-NPU heterogeneous computing; a second energy efficiency model is constructed based on the first delay and the power allocation factor; and the system energy efficiency target model is generated based on the first energy efficiency model and the second energy efficiency model.

[0008] In one embodiment of the present disclosure, it also includes: determining the confidentiality coefficient of the task to be processed; and determining the task information of the local task assigned to the Internet of Things terminal based on the confidentiality coefficient and the target task amount.

[0009] In one embodiment of the present disclosure, a first energy efficiency model is constructed based on the local task volume carried by the CPU-NPU heterogeneous computing, including: constructing the first energy efficiency model based on the local task volume and the first energy consumption of the Internet of Things terminal, wherein the local task volume includes a first task volume carried by the CPU and a second task volume carried by the NPU.

[0010] In one embodiment of the present disclosure, it also includes: determining the first energy consumption based on the first computing efficiency, the first operating frequency and the first task amount of the CPU, and the second computing efficiency, the second operating frequency and the second task amount of the NPU.

[0011] In one embodiment of the present disclosure, a second energy efficiency model is constructed based on the first delay and the power allocation factor, including: determining an edge task amount corresponding to the edge task based on the number of edge servers in the edge cluster, the power allocation factor corresponding to each edge server, the first delay, the transmission power, and a transmission channel between the edge server; determining a second energy consumption of the edge server based on the transmission power and the first delay; and constructing the second energy efficiency model based on the edge task amount and the second energy consumption generated by the edge cluster during the edge task offloading process.

[0012] In one embodiment of the present disclosure, the local task volume, the power allocation factor and the first delay are jointly iteratively optimized, including: constructing a task volume constraint based on the balance relationship between the local task volume and the loadable task volume of the Internet of Things terminal, and the constraint relationship between the sum of the loadable task volume and the edge task volume corresponding to the edge task and the total amount of the tasks to be processed; constructing a delay constraint based on the relationship between the second delay of the CPU-NPU heterogeneous computing and the first delay; configuring the power allocation factor and the first delay as constants, with the goal of maximizing the output of the first energy efficiency model, and performing the iterative optimization of the local task volume based on the task volume constraint and the delay constraint.

[0013] In one embodiment of the present disclosure, the method further includes: solving the local task volume based on Lagrangian duality during each iterative optimization process.

[0014] In one embodiment of the present disclosure, the local task amount, the power allocation factor and the first time delay are jointly iteratively optimized, and further includes: taking the given local task amount and the given first time delay as constraints, the power allocation factor is iteratively optimized.

[0015] In one embodiment of the present disclosure, iteratively optimizing the power allocation factor further includes: when the edge server is not at the tail of the edge cluster, determining the corresponding power allocation factor based on the transmit power and the minimum transmission rate of the edge server; when the edge server is at the tail of the edge cluster, determining the power allocation factor of the edge server at the tail based on the power allocation factors of the other edge servers.

[0016] In one embodiment of the present disclosure, the local task amount, the power allocation factor and the first delay are jointly iteratively optimized, and also includes: taking the given local task amount and the given power allocation factor as constraints and aiming at maximizing the system energy efficiency, the first delay is iteratively optimized.

[0017] In one embodiment of the present disclosure, iteratively optimizing the first delay further includes: iteratively optimizing the first delay based on a binary search method.

[0018] In one embodiment of the present disclosure, the local task volume, the power allocation factor and the first delay are jointly iteratively optimized until the system energy efficiency output by the system energy efficiency target model meets the energy efficiency optimization target, and also includes: when it is detected that the difference between the system energy efficiency output by the system energy efficiency target model this time and the system energy efficiency output last time is greater than or equal to an energy efficiency threshold, determining that the energy efficiency optimization target is met.

[0019] According to another aspect of the present disclosure, an edge task offloading optimization device is provided, comprising: a construction module, for constructing a system energy efficiency target model based on a local task amount, a first delay and a power allocation factor, wherein an Internet of Things terminal obtains a task to be processed, the task to be processed includes a local task to be allocated to the Internet of Things terminal and an edge task to be offloaded to an edge cluster, the local task amount is the task amount of the local task, the first delay is the delay of offloading the edge task to the edge cluster, and the power allocation factor is the allocation factor of the transmission power allocated to the Internet of Things terminal when the edge task is offloaded using non-orthogonal multiple access NOMA; an optimization module, for jointly iteratively optimizing the local task amount, the power allocation factor and the first delay until the system energy efficiency output by the system energy efficiency target model meets the energy efficiency optimization target, and obtaining the target task amount of the local task allocated to the Internet of Things terminal, the target power allocation factor of the edge task allocated to the edge cluster and the target first delay; an offloading module, for processing the local task based on the target task amount, and offloading the edge task to the edge cluster based on the target power allocation factor and the target first delay. .

[0020] According to another aspect of the present disclosure, an electronic device is provided, including: a processor; and a memory for storing executable instructions of the processor; the processor is configured to perform the above-mentioned edge task offloading optimization method by executing the executable instructions.

[0021] According to another aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned edge task offloading optimization method is implemented.

[0022] According to another aspect of the present disclosure, a computer program product is provided, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned edge task offloading optimization method is implemented.

[0023] The edge task offloading optimization scheme provided by the embodiment of the present disclosure constructs a first energy efficiency model based on the local task amount to be allocated to the Internet of Things terminal according to the local task amount, and constructs a second energy efficiency model based on the spectrum efficiency and computing resource utilization involved in offloading the edge task to the edge server, and continuously adjusts the local task amount, the power allocation factor and the first delay so that the system energy efficiency meets the energy efficiency optimization goal, and obtains the target local task amount, the target power allocation factor and the target first delay, so as to allocate and schedule resources according to the target local task amount, the target power allocation factor and the target first delay, allocate some of the tasks to be processed to the CPU and NPU of the Internet of Things terminal for local processing, and offload some of the tasks to be processed as edge services to the edge server for processing, so as to make full use of the computing power of the CPU and NPU, and the communication resources of the edge server, not only improving the computing efficiency, but also optimizing the communication efficiency, realizing the coordinated optimization of local computing and communication of the terminal, thereby improving the overall energy utilization of the Internet of Things system.

[0024] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0026] Figure 1 A schematic diagram of an edge task offloading optimization system according to an embodiment of the present disclosure is shown;

[0027] Figure 2 A schematic flow chart showing an edge task offloading optimization method according to an embodiment of the present disclosure is shown;

[0028] Figure 3 A schematic diagram showing a time slot allocation model in an embodiment of the present disclosure is shown;

[0029] Figure 4 A schematic flow chart showing another edge task offloading optimization method in an embodiment of the present disclosure is shown;

[0030] Figure 5 A schematic diagram showing the relationship between a system energy efficiency and a processing frequency of a hardware configuration in an embodiment of the present disclosure;

[0031] Figure 6A schematic diagram showing the relationship between system energy efficiency and power allocation factor in an embodiment of the present disclosure;

[0032] Figure 7 A schematic diagram showing the performance comparison of the system energy efficiency optimization algorithm in the embodiment of the present disclosure is shown;

[0033] Figure 8 A schematic diagram of an edge task offloading optimization device in an embodiment of the present disclosure is shown;

[0034] Fig. 9 A structural block diagram of an electronic device in an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0035] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the example 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.

[0036] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0037] like Figure 1 As shown, in a large-scale Internet of Things, the Internet of Things system includes K Internet of Things terminals 102 , and M base stations 104, each of which is equipped with a mobile edge computing server, i.e., an edge server ,Based on mobile edge computing MEC, the edge server carries the remote task offloading of IoT terminals.

[0038] In addition, Non-Orthogonal Multiple Access (NOMA) can be applied to wireless access to improve spectrum efficiency and system capacity, allowing more devices to access the network and communicate efficiently. Combining NOMA with MEC can give full play to the advantages of both in terms of spectrum and computing resource utilization, thereby effectively supporting the access of terminals and edge servers in IoT scenarios. However, when processing data with a relatively high security and confidentiality coefficient, completely offloading the task to the edge may pose a risk of information leakage.

[0039] Therefore, it has become very important to perform complex task learning on local devices with limited energy and resources, namely IoT terminals. The mobile system-on-a-Chip (SoC) adopts a heterogeneous SOC architecture, coordinating the CPU and hardware computing units to enhance the computing power of local devices. This not only helps to reduce the risk of information leakage, but also improves the ability of local devices to handle complex tasks in edge intelligence scenarios, thereby further promoting the development and application of large-scale IoT.

[0040] In some embodiments, heterogeneous computing units are applied to the IoT terminal side to improve task computing and carrying capabilities, but they are not applied to MEC-NOMA large-scale task offloading and low-latency processing environment applications.

[0041] In some embodiments, the energy utilization of the NOMA-assisted MEC edge offloading transmission system mainly focuses on unilateral energy consumption such as local computing or remote offloading, and does not fully reflect the impact of the local computing and remote offloading stages on the overall energy utilization of the system.

[0042] Based on the above problems, a CPU-NPU heterogeneous computing service node is configured in the IoT terminal to improve the task processing capability of the local device end, and a high-efficiency edge task offloading optimization method is performed based on CPU-NPU. Among them, for services with high confidentiality coefficients, they are processed locally in the IoT terminal, and for services that are sensitive to latency, they are offloaded to the edge server for calculation through non-orthogonal multiple access (NOMA) transmission. At the same time, in order to more comprehensively optimize the system energy efficiency, an energy efficiency objective function based on the overall system is constructed, and single-objective optimal solutions such as local heterogeneous computing, power allocation factor, and task offloading latency are jointly optimized to maximize the system energy efficiency. This not only improves the computing efficiency, but also optimizes the communication efficiency, and realizes the coordinated optimization of computing and communication.

[0043] To facilitate understanding, several terms involved in this application are first explained below.

[0044] CPU (Central Processing Unit) is the computing and control core of the computer system and the final execution unit for information processing and program running.

[0045] NPU (Neural Processing Unit) is a computer microprocessor specially designed for processing artificial neural network calculations. The application of NPU in the field of deep learning can increase computing speed, reduce power consumption, and accelerate the reasoning process.

[0046] NOMA (Non-Orthogonal Multiple Access) is a multiple access method in wireless communication technology. It uses a non-orthogonal method to allow multiple users to share the same resource block and separate the signals of these users through advanced signal processing technology at the receiving end. This method can improve spectrum efficiency and system capacity and is one of the important technologies in 5G and future mobile communication systems.

[0047] OMA (Orthogonal multiple access) means that the frequency domain, time domain or code domain resources of different users are orthogonal to each other.

[0048] MEC (Mobile Edge Computing) is a network architecture concept that provides cloud computing capabilities at the edge of mobile networks (such as base stations or access points) to provide low-latency, high-bandwidth applications and services to mobile users. By shifting computing tasks and data storage from the core network to the edge of the network, MEC can reduce network congestion and latency, improve user experience, and support a variety of real-time applications such as augmented reality, autonomous driving, and the Internet of Things.

[0049] Power allocation factor: refers to the parameter used to allocate power to different sub-channels or users in a communication system. It determines the power ratio obtained by each sub-channel or user.

[0050] Energy efficiency: The degree to which network equipment uses energy efficiently during operation.

[0051] Heterogeneous SOC (System-on-a-Chip) architecture refers to an architecture that integrates multiple processing units of different types and functions on a single chip, including but not limited to CPU, GPU, NPU, and DSP.

[0052] Below, each step of the edge task offloading optimization method in this example implementation will be described in more detail with reference to the accompanying drawings and embodiments.

[0053] like Figure 1 As shown, the IoT terminal 102 is configured with a CPU-NPU heterogeneous computing service node. In the local heterogeneous computing stage, the CPU carries the first task amount , NPU carries the second task ,In the NOMA-MEC task offloading phase, delay-sensitive services are ,offloaded to the edge server for computing through non-orthogonal multiple access (NOMA) ,transmission.

[0054] Figure 2 A flow chart of an edge task offloading optimization method in an embodiment of the present disclosure is shown.

[0055] like Figure 2 As shown, according to an embodiment of the present disclosure, an edge task offloading optimization method includes:

[0056] Step S202, constructing a system energy efficiency target model based on the local task volume, the first delay and the power allocation factor, wherein the Internet of Things terminal obtains tasks to be processed, the tasks to be processed include local tasks to be allocated to the Internet of Things terminal and edge tasks to be unloaded to the edge cluster, the local task volume is the task volume of the local task, the first delay is the delay of unloading the edge task to the edge cluster, and the power allocation factor is the allocation factor of the transmission power allocated to the Internet of Things terminal when non-orthogonal multiple access NOMA is used for edge task unloading.

[0057] In some embodiments, building a system energy efficiency target model based on the local task amount, the first delay and the power allocation factor includes:

[0058] The IoT terminal is equipped with a service node of CPU-NPU heterogeneous computing, and the first energy efficiency model is constructed based on the local task volume carried by CPU-NPU heterogeneous computing.

[0059] Among them, the first energy efficiency model is used to evaluate the local computing energy efficiency of the IoT terminal.

[0060] In some embodiments, by using a mobile system-on-chip with a heterogeneous SOC architecture, coordinating the CPU and hardware computing units, the computing power of local devices, namely IoT terminals, can be improved, which not only helps reduce the risk of information leakage, but also improves the ability of local devices to handle complex tasks in edge intelligence scenarios, thereby further promoting the development and application of large-scale IoT.

[0061] In some embodiments, the first energy efficiency model is based on the local task volume of the CPU-NPU heterogeneous computing of the Internet of Things terminal, taking into account the configuration of the service node.

[0062] A second energy efficiency model is constructed based on the first delay and the power allocation factor.

[0063] Among them, the second energy efficiency model is used to evaluate the communication energy efficiency between IoT terminals and edge servers.

[0064] like Figure 3 As shown, in some embodiments, according to the task processing delay modeling, the delay allocation model can be divided into three time slots, namely, the local heterogeneous computing time slot based on CPU-NPU, the MEC-NOMA service unloading time slot and the MEC remote service processing time slot, wherein the delay generated by the MEC-NOMA service unloading time slot is the first delay index , the delay caused by the local heterogeneous computing time slot of CPU-NPU is the second delay Considering that the MEC server itself has strong task computing capabilities, its task processing delay can be ignored, that is, the delay caused by the MEC remote service processing time slot , + + = ,in, Refers to the total limit delay, which is the subsequent T.

[0065] In some embodiments, the power allocation factor is used to determine the power allocated on the transmission channel of the Internet of Things terminal.

[0066] In some embodiments, the second energy efficiency model is used to configure spectrum efficiency and computing resource utilization involved in offloading edge tasks to edge servers.

[0067] A system energy efficiency target model is generated based on the first energy efficiency model and the second energy efficiency model.

[0068] In some embodiments, the system energy efficiency target model can be expressed as formula (1):

[0069] (1)

[0070] in, Refers to the local task volume of local heterogeneous computing, is the power allocation factor corresponding to the terminal, is the first delay, represents the first energy efficiency model, Represents the second energy efficiency model.

[0071] In some embodiments, the system energy efficiency target model integrates the first energy efficiency model and the second energy efficiency model, that is, it takes into account both the local computing energy efficiency of the IoT terminal and the communication energy efficiency between the IoT terminal and the edge server.

[0072] Step S204, jointly iteratively optimize the local task amount, power allocation factor and first delay until the system energy efficiency output by the system energy efficiency target model meets the energy efficiency optimization target, and obtain the target task amount of the local tasks assigned to the IoT terminal, the target power allocation factor and the target first delay of the edge tasks assigned to the edge cluster.

[0073] Among them, iterative optimization is carried out with the joint optimization of the local task volume, power allocation factor and first delay of local heterogeneous computing as the optimization goal. It can ensure that the local task volume allocated to the local processing of the IoT terminal, the NOMA-based channel allocation and the first delay generated by the edge task offloading are all at a relatively optimal value, and the system energy efficiency can be maximized as much as possible.

[0074] In some embodiments, a single-objective optimization scheme ignores the multidimensionality and interdependence of the overall system performance. In order to obtain the global optimal solution for system energy efficiency, iterative optimization is performed with the local task volume, power allocation factor and first delay of local heterogeneous computing as the optimization target for joint optimization.

[0075] Step S206 , performing local task processing based on the target task volume, and offloading the edge task to the edge cluster based on the target power allocation factor and the target first delay.

[0076] In this embodiment, by constructing a system energy efficiency target model and performing joint iterative optimization, it is possible to achieve a reasonable allocation of local tasks and edge tasks, achieve an optimal task allocation and parameter setting state while meeting the energy efficiency optimization goal, and improve the overall performance and efficiency of the system. For local task processing, based on the target task volume, the Internet of Things terminal can more reasonably allocate its own resources to process tasks, thereby improving the accuracy and efficiency of processing. For the unloading of edge tasks, operations are performed according to the target power allocation factor and the target first delay, thereby ensuring the efficiency and stability of edge task unloading and reducing the impact of delays.

[0077] Furthermore, a first energy efficiency model is constructed based on the local task volume to be allocated to the IoT terminal according to the local task volume, and a second energy efficiency model is constructed based on the spectrum efficiency and computing resource utilization involved in offloading edge tasks to the edge server, and the local task volume, power allocation factor and first delay are continuously adjusted to make the system energy efficiency meet the energy efficiency optimization goal, and obtain the target local task volume, target power allocation factor and target first delay, so as to allocate and schedule resources according to the target local task volume, target power allocation factor and target first delay, allocate part of the tasks to be processed to the CPU and NPU of the IoT terminal for local processing, and offload part of the tasks to be processed as edge services to the edge server for processing, so as to make full use of the computing power of the CPU and NPU, and the communication resources of the edge server, not only the computing efficiency is improved, but also the communication efficiency is optimized, and the coordinated optimization of local computing and communication of the terminal is realized, thereby improving the overall energy utilization of the IoT system.

[0078] In one embodiment of the present disclosure, it also includes: determining the confidentiality coefficient of the task to be processed; and determining the task information of the local task assigned to the Internet of Things terminal based on the confidentiality coefficient and the target task amount.

[0079] In this embodiment, by determining the confidentiality coefficient, services with different confidentiality requirements can be classified and processed in a targeted manner, and tasks with relatively high security and confidentiality coefficients can be processed locally, which is beneficial to reduce the risk of information leakage when offloading tasks.

[0080] In one embodiment of the present disclosure, a first energy efficiency model is constructed based on the local task volume carried by CPU-NPU heterogeneous computing, including: constructing a first energy efficiency model based on the local task volume and the first energy consumption of the Internet of Things terminal, wherein the local task volume includes a first task volume carried by the CPU and a second task volume carried by the NPU.

[0081] In some embodiments, the first energy efficiency model is expressed as formula (2):

[0082] (2)

[0083] in, Refers to the amount of tasks carried by the CPU, that is, the first amount of tasks, Refers to the amount of tasks carried by the NPU, that is, the second amount of tasks, It refers to the total energy consumption of local heterogeneous user nodes, that is, the first energy consumption, k refers to the serial number of the IoT terminal, and l refers to the IoT terminal.

[0084] In one embodiment of the present disclosure, the first energy consumption is determined based on the first computing efficiency, the first operating frequency and the first task amount of the CPU, and the second computing efficiency, the second operating frequency and the second task amount of the NPU. The first energy efficiency model can be expressed as formula (3):

[0085] (3)

[0086] in, Refers to the first computing efficiency of the CPU, Refers to the second computing efficiency of NPU, Refers to the first operating frequency of the CPU. Refers to the second operating frequency of the NPU.

[0087] In this embodiment, because energy consumption is closely related to computing efficiency, operating frequency and task volume, a comprehensive analysis of these relevant parameters of the CPU and NPU can more accurately estimate the energy consumption of the entire system due to the CPU and NPU executing tasks in a specific working scenario, so as to more reasonably allocate the local task volume.

[0088] In one embodiment of the present disclosure, constructing a second energy efficiency model based on the first delay and the power allocation factor includes:

[0089] An edge task amount corresponding to the edge task is determined based on the number of edge servers in the edge cluster, a power allocation factor corresponding to each edge server, a first delay, a transmission power, and a transmission channel between the edge servers.

[0090] A second energy consumption of the edge server is determined based on the transmit power and the first delay.

[0091] Based on the edge task volume and the second energy consumption generated by the edge cluster during the edge task offloading process, a second energy efficiency model is constructed.

[0092] In some embodiments, the second energy efficiency model can be expressed as formula (4):

[0093] (4)

[0094] in, Refers to the amount of edge tasks offloaded from the edge, It refers to the total energy consumption of edge unloading, that is, the second energy consumption, M is the number of edge servers, is the transmission power based on NOMA, is the first delay, is the noise power, is the power allocation factor corresponding to the base station, For the transmission channel, is the channel state information of terminal i, It is the total power consumed by other circuit systems of the terminal except the transmission power.

[0095] In this embodiment, by constructing the second energy efficiency model, the edge task amount of edge task offloading and the energy consumption of the edge server can be optimized, thereby improving the energy efficiency of the system.

[0096] In one embodiment of the present disclosure, the local task amount, the power allocation factor and the first delay are jointly iteratively optimized, including:

[0097] Based on the balance relationship between the local task volume and the loadable task volume of the IoT terminal, and the constraint relationship between the sum of the loadable task volume and the edge task volume and the total amount of tasks to be processed, the task volume constraint is constructed.

[0098] In some embodiments, the balance relationship between the local task volume and the loadable task volume of the IoT terminal can be expressed as a first task volume constraint condition, and the first task volume constraint condition is shown in formula (5):

[0099] (5)

[0100] in, It is the total number of IoT terminals in the IoT system.

[0101] In some embodiments, the constraint relationship between the sum of the loadable task volume and the edge task volume and the total amount of tasks to be processed can be expressed as a second task volume constraint condition, as shown in formula (6):

[0102] (6)

[0103] in, is the amount of edge tasks in the edge offloading process, is the total number of pending tasks to be processed.

[0104] A latency constraint is established based on the relationship between the second latency and the first latency of CPU-NPU heterogeneous computing.

[0105] In some embodiments, the relationship between the second latency and the first latency of the CPU-NPU heterogeneous computing can be expressed as a first latency constraint and a second latency constraint, respectively.

[0106] The first delay constraint is shown in formula (7).

[0107] (7)

[0108] in, is the first delay, is the second delay.

[0109] The second delay constraint is shown in formula (8).

[0110] (8)

[0111] Where T is the total limiting delay.

[0112] The power allocation factor and the first delay are configured as fixed values, and the local task volume is iteratively optimized based on the task volume constraint and the delay constraint with the goal of maximizing the output of the first energy efficiency model.

[0113] In some embodiments, configuring the power allocation factor and the first time delay as fixed values ​​can be understood as assuming that the optimal solutions of the power allocation factor and the first time delay are known, and solving the optimal solution of the local task volume under this condition.

[0114] In some embodiments, when the unloading delay and the power allocation factor are given, the task allocation of heterogeneous computing nodes is optimized. Since the resource allocation of heterogeneous computing mainly affects the local energy efficiency, the optimization problem can be redefined as shown in formula (9):

[0115] (9)

[0116] in, Refers to the first energy efficiency model.

[0117] In one embodiment of the present disclosure, the method further includes: solving the local task volume based on Lagrangian duality during each iterative optimization process.

[0118] In some embodiments, the optimal solution for the local heterogeneous computing task allocation obtained by Lagrangian dual optimization is as shown in equations (10) and (11) respectively:

[0119] (10)

[0120] (11)

[0121] in, Refers to the first computing efficiency of the CPU, Refers to the second computing efficiency of NPU, It is the total loadable task of heterogeneous node CPU-NPU user equipment.

[0122] In some embodiments, by defining a Lagrangian function, limiting the objective function and constraints in the Lagrangian function, and solving the dual of the Lagrangian function, an optimal solution for the local task volume is obtained in one iteration.

[0123] In one embodiment of the present disclosure, the local task amount, the power allocation factor and the first delay are jointly iteratively optimized, and further includes: taking a given local task amount and a given first delay as constraints, iteratively optimizing the power allocation factor.

[0124] In one embodiment of the present disclosure, iteratively optimizing the power allocation factor further includes:

[0125] When the edge server is not at the tail of the edge cluster, a corresponding power allocation factor is determined based on the transmit power and the lowest transmission rate of the edge server.

[0126] When the edge server is at the tail of the edge cluster, the power allocation factor of the tail edge server is determined based on the power allocation factors of other edge servers.

[0127] In some embodiments, the power allocation factor is determined by As shown in formula (12).

[0128] (12)

[0129] in, refers to the target power allocation factor between the kth terminal and the mth edge server, refers to the power allocation factor given between the kth terminal and the i-th edge server, refers to the channel gain between the kth terminal and the mth edge server, Edge Server The minimum transmission rate, is the noise power.

[0130] In some embodiments, an initial power allocation factor is set, and in each iteration, the energy efficiency of the system is calculated based on the current power allocation factor, the local task volume, and the first delay. Based on the energy efficiency results, the power allocation factor, the local task volume, and the first delay are adjusted to seek a better solution.

[0131] In this embodiment, the local task volume of a given local heterogeneous computing (Right now ) and task offloading delay, i.e., the first delay Under the constraint of , the power allocation factor in the NOMA task offloading process is optimized to optimize the energy efficiency of the system.

[0132] In one embodiment of the present disclosure, the local task amount, the power allocation factor and the first delay are jointly iteratively optimized, and the first delay is iteratively optimized with a given local task amount and a given power allocation factor as constraints and with the goal of maximizing system energy efficiency.

[0133] In this embodiment, with the goal of maximizing the system energy efficiency, the local task volume and the power allocation factor are configured as fixed values. By continuously adjusting the first delay, the optimal solution is sought while satisfying the constraints. The task offloading delay is optimized by optimizing the first delay, thereby maximizing the system energy efficiency while improving the task offloading efficiency.

[0134] In one embodiment of the present disclosure, iteratively optimizing the first delay further includes: iteratively optimizing the first delay based on a binary search method.

[0135] In some embodiments, this section allocates heterogeneous resources in a given local and power allocation factor Under the constraint of , optimize the task offloading delay, that is, the first delay , so that the energy efficiency of the system is optimal, the optimization problem P3 can be expressed as formula (13).

[0136] (13)

[0137] In addition, the constraints are shown in equations (6) to (8).

[0138] Furthermore, the task offloading latency is optimized through binary search.

[0139] In some embodiments, the power allocation factor and the first delay are configured as constants, with the goal of maximizing the output of the first energy efficiency model, and the local task volume is iteratively optimized based on the task volume constraint and the delay constraint. At the same time, with the given local task volume and the given first delay as constraints, the power allocation factor is iteratively optimized. At the same time, with the given local task volume and the given power allocation factor as constraints, with the goal of maximizing system energy efficiency, the first delay is iteratively optimized until the sum of the first energy efficiency and the second energy efficiency meets the energy efficiency optimization goal, and the target local task volume, target power allocation factor and target first delay are obtained.

[0140] In some embodiments, with the goal of maximizing the first energy efficiency and the second energy efficiency, the system energy efficiency is maximized by optimizing the local task volume, the power allocation factor and the first delay. The local task volume obtained by each optimization can be applied to the next iteration process of the power allocation factor and the first delay. The power allocation factor obtained by each optimization can be applied to the next iteration process of the local task volume and the first delay. The first delay obtained by each optimization can be applied to the next iteration process of the local task volume and the power allocation factor.

[0141] In one embodiment of the present disclosure, the local task volume, the power allocation factor and the first delay are jointly iteratively optimized until the system energy efficiency output by the system energy efficiency target model meets the energy efficiency optimization target, and also includes: when it is detected that the difference between the system energy efficiency output by the system energy efficiency target model this time and the system energy efficiency output last time is greater than or equal to the energy efficiency threshold, it is determined that the energy efficiency optimization target is met.

[0142] In this embodiment, after each iteration is completed, the output results of the system energy efficiency target model are monitored in real time, the system energy efficiency of the current output and the system energy efficiency of the last output are obtained, the difference between the system energy efficiency of the current output and the system energy efficiency of the last output is calculated, and the difference is compared with the energy efficiency threshold. If the difference is greater than or equal to the energy efficiency threshold, it is determined that the energy efficiency optimization goal is met. Otherwise, the next iterative optimization is continued. When it is determined that the energy efficiency optimization goal is met, the corresponding optimization results are obtained, such as the target local task volume, the target power allocation factor and the target first delay.

[0143] like Figure 4 As shown, according to another embodiment of the present disclosure, an edge task offloading optimization method includes:

[0144] Step S402, initializing the variables in the system energy efficiency target model, wherein the initial value of the system energy efficiency is set to 0, and the variables include the local task amount, the power allocation factor and the first delay.

[0145] Step S404: jointly iteratively optimize the local task amount, the power allocation factor and the first delay.

[0146] Step S406, in one round of iteration, the optimal local task amount of local heterogeneous computing is calculated, and the remaining task amount is the amount of edge tasks.

[0147] Step S408, during one round of iterations, calculate the optimal power allocation factor when offloading edge tasks to edge servers based on NOMA.

[0148] Step S410, in one round of iterations, calculate the optimal first delay when offloading edge tasks to the edge server.

[0149] Step S412, when a round of iterations is completed, the system energy efficiency is calculated based on the obtained optimal local task volume, optimal power allocation factor and optimal first delay.

[0150] Step S414, after completing at least two rounds of iterations, detect whether the difference between the system energy efficiency calculated in this round of iterations and the system energy efficiency obtained in the previous round is greater than or equal to the energy efficiency threshold. If "yes", proceed to step S416, if "no", return to step S404.

[0151] Step S416, outputting the target local task amount, the target power allocation factor and the target first delay.

[0152] In this embodiment, a high-efficiency edge task offloading optimization method based on CPU-NPU is configured in user equipment, namely, an IoT terminal, with a CPU-NPU heterogeneous computing service node to enhance the task processing capability of the local terminal. For services with a high confidentiality coefficient, the computing and processing can be performed locally on the terminal. For services that are sensitive to latency, the computing and processing can be offloaded to the edge server through the non-orthogonal multiple access (NOMA) transmission method for computing and processing. At the same time, in order to more comprehensively optimize the system energy efficiency, an objective function based on the system energy efficiency is constructed, and the optimal solution of single objectives such as the local task volume, power allocation factor, and task offloading latency of local heterogeneous computing is jointly optimized to maximize the system energy efficiency.

[0153] Furthermore, by introducing CPU-NPU heterogeneous computing nodes in MEC edge task offloading, the local processing capability is enhanced, and NOMA is used to achieve fast offloading and computing of latency-sensitive services, meeting the needs of large-scale task offloading and low-latency processing.

[0154] By comprehensively considering and optimizing the influencing parameters of the two stages of local CPU-NPU heterogeneous computing and remote task offloading, the system energy efficiency is optimized and the overall energy utilization is significantly improved.

[0155] Figure 5 The impact of CPU-NPU heterogeneous computing on system energy efficiency is shown. Figure 5 As shown in the figure, CPU refers to the CPU architecture, HC (Hardware Configuration) refers to CPU-NPU heterogeneity, Refers to the amount of local tasks under the CPU architecture, Refers to the local task volume of CPU-NPU heterogeneous computing. The four curves are included in the CPU architecture. Two different curves, under CPU-NPU heterogeneity The two different curves show that the system energy efficiency is significantly improved when the local user equipment is deployed using the CPU-NPU heterogeneous computing proposed in the present invention compared to when the service is carried based on the CPU architecture.

[0156] Figure 6 The relationship between system energy efficiency and power allocation factor is shown as Figure 6 As shown, Refers to the transmission power, the four curves show respectively in NOMA mode, The energy efficiency corresponding to different values, and in OMA (Orthogonal Multiple Access) mode, The energy efficiency corresponding to different values ​​varies with the transmission power allocation factor As the number of edge servers increases, the energy efficiency of the system increases first and then gradually stabilizes. This is because if only one edge server is added The power allocation factor will lead to the deterioration of the task offloading capability of other MEC nodes, that is, other edge servers, thus affecting the further improvement of the system energy efficiency. In addition, it can be seen from the figure that when NOMA is used to offload edge computing tasks, the energy efficiency of the system can be effectively improved.

[0157] Figure 7 The comparative analysis results of the proposed optimization methods, JTORA-NOMA and SCC-NOMA in the present invention are shown respectively, where JTORA refers to the joint task offloading and resource allocation algorithm, and SCC refers to the strongly connected component algorithm. Through comparative analysis, it is found that the joint optimization algorithm in the present invention can converge quickly after only about 10 iterations, and has obvious advantages over the other two algorithms in improving system energy consumption.

[0158] It should be noted that the above figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0159] Refer to the following Figure 8 hereinafter, describes an edge task offloading optimization device 800 according to an embodiment of the present disclosure. Figure 8 The edge task offloading optimization device 800 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0160] The edge task offloading optimization device 800 is implemented in the form of a hardware module or a software module. The components of the edge task offloading optimization device 800 may include but are not limited to:

[0161] A construction module 802 is used to construct a system energy efficiency target model based on the local task amount, the first delay and the power allocation factor, wherein the Internet of Things terminal obtains the tasks to be processed, and the tasks to be processed include local tasks to be assigned to the Internet of Things terminal and edge tasks to be unloaded to the edge cluster, the local task amount is the task amount of the local task, the first delay is the delay of unloading the edge task to the edge cluster, and the power allocation factor is the allocation factor of the transmission power allocated to the Internet of Things terminal when non-orthogonal multiple access NOMA is used for edge task unloading; an optimization module 804 is used to jointly iteratively optimize the local task amount, the power allocation factor and the first delay until the system energy efficiency output by the system energy efficiency target model meets the energy efficiency optimization target, and obtains the target task amount of the local task assigned to the Internet of Things terminal, the target power allocation factor and the target first delay of the edge task assigned to the edge cluster; an unloading module 806 is used to perform local task processing based on the target task amount, and unload the edge task to the edge cluster based on the target power allocation factor and the target first delay.

[0162] like Fig. 9 As shown, the electronic device 900 is in the form of a general computing device. The components of the electronic device 900 may include but are not limited to: at least one processing unit 910, at least one storage unit 920, and a bus 930 connecting different system components (including the storage unit 920 and the processing unit 910).

[0163] The storage unit stores a program code, which can be executed by the processing unit 910, so that the processing unit 910 performs the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification. For example, the processing unit 910 can perform the following steps: Figure 2 The scheme described in .

[0164] The storage unit 920 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 9201 and / or a cache storage unit 9202 , and may further include a read-only storage unit (ROM) 9203 .

[0165] The storage unit 920 may also include a program / utility 9204 having a set (at least one) of program modules 9205, such program modules 9205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0166] Bus 930 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0167] The electronic device 900 may also communicate with one or more external devices 970 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 900, and / or communicate with any device that enables the electronic device 900 to communicate with one or more other computing devices (e.g., routers, modems, etc.). This communication may be performed through an input / output (I / O) interface 950. In addition, the electronic device 900 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) through a network adapter 960. As shown, the network adapter 960 communicates with other modules of the electronic device 900 through a bus 930. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 900, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0168] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes a number of instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or an electronic device, etc.) to execute the method according to the implementation of the present disclosure.

[0169] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present disclosure may also be implemented in the form of a program product, which includes a program code, and when the program product is run on an electronic device, the program code is used to enable the electronic device to perform the steps according to various exemplary implementations of the present disclosure described in the above "Exemplary Method" section of the present specification.

[0170] According to the program product for implementing the above method according to the embodiment of the present disclosure, it can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on an electronic device, such as a personal computer. However, the program product of the present disclosure is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0171] The program product may be any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0172] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0173] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0174] The program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the IoT terminal, as an independent software package, partially on the user computing device and partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).

[0175] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0176] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0177] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes a number of instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or an electronic device, etc.) to execute the method according to the implementation of the present disclosure.

[0178] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure herein. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the appended claims.

Claims

1. An edge task offloading optimization method, characterized in that: include: A system energy efficiency target model is constructed based on the local task volume, the first delay and the power allocation factor, wherein the Internet of Things terminal obtains the tasks to be processed, and the tasks to be processed include local tasks to be allocated to the Internet of Things terminal and edge tasks to be unloaded to the edge cluster, the local task volume is the task volume of the local task, the first delay is the delay of unloading the edge task to the edge cluster, and the power allocation factor is the allocation factor of the transmission power allocated to the Internet of Things terminal when the edge task is unloaded using non-orthogonal multiple access NOMA; Performing joint iterative optimization on the local task amount, the power allocation factor, and the first delay until the system energy efficiency output by the system energy efficiency target model meets the energy efficiency optimization target, and obtaining the target task amount of the local task assigned to the Internet of Things terminal, the target power allocation factor of the edge task assigned to the edge cluster, and the target first delay; Local task processing is performed based on the target task amount, and the edge task is offloaded to the edge cluster based on the target power allocation factor and the target first delay.

2. The edge task offloading optimization method according to claim 1, characterized in that: The system energy efficiency target model is constructed based on the local task volume, first latency and power allocation factor, including: The Internet of Things terminal is configured with a service node of CPU-NPU heterogeneous computing, and a first energy efficiency model is constructed based on the local task volume carried by the CPU-NPU heterogeneous computing; constructing a second energy efficiency model based on the first time delay and the power allocation factor; The system energy efficiency target model is generated based on the first energy efficiency model and the second energy efficiency model.

3. The edge task offloading optimization method according to claim 2, characterized in that: Also includes: Determining the confidentiality coefficient of the task to be processed; Task information of a local task assigned to the Internet of Things terminal is determined based on the confidentiality coefficient and the target task amount.

4. The edge task offloading optimization method according to claim 2, characterized in that: Constructing a first energy efficiency model based on the local task volume carried by the CPU-NPU heterogeneous computing includes: constructing the first energy efficiency model based on the local task volume and the first energy consumption of the Internet of Things terminal, The local task volume includes a first task volume carried by the CPU and a second task volume carried by the NPU.

5. The edge task offloading optimization method according to claim 4, characterized in that: Also includes: The first energy consumption is determined based on a first computing efficiency, a first operating frequency, and the first task amount of the CPU, and a second computing efficiency, a second operating frequency, and the second task amount of the NPU.

6. The edge task offloading optimization method according to claim 2, characterized in that: Constructing a second energy efficiency model based on the first time delay and the power allocation factor, including: Determine an edge task amount corresponding to the edge task based on the number of edge servers in the edge cluster, the power allocation factor corresponding to each edge server, the first delay, the transmit power, and a transmission channel between the edge server and the edge server; determining a second energy consumption of the edge server based on the transmit power and the first delay; The second energy efficiency model is constructed based on the edge task volume and the second energy consumption generated by the edge cluster during the edge task offloading process.

7. The edge task offloading optimization method according to claim 2, characterized in that: Performing joint iterative optimization on the local task amount, the power allocation factor, and the first delay includes: Based on the balance relationship between the local task volume and the loadable task volume of the Internet of Things terminal, and the constraint relationship between the sum of the loadable task volume and the edge task volume corresponding to the edge task, and the total amount of the tasks to be processed, a task volume constraint is constructed; Establishing a delay constraint based on the relationship between the second delay of the CPU-NPU heterogeneous computing and the first delay; The power allocation factor and the first delay are configured as fixed values, and the local task volume is iteratively optimized based on the task volume constraint and the delay constraint with the goal of maximizing the output of the first energy efficiency model.

8. The edge task offloading optimization method according to claim 7, characterized in that: Also includes: In each iterative optimization process, the local task volume is solved based on Lagrangian duality.

9. The edge task offloading optimization method according to claim 6, characterized in that: Performing joint iterative optimization on the local task amount, the power allocation factor and the first delay also includes: The power allocation factor is iteratively optimized with the given local task amount and the given first time delay as constraints.

10. The edge task offloading optimization method according to claim 9, characterized in that: Iteratively optimizing the power allocation factor further includes: When the edge server is not at the tail of the edge cluster, determining the corresponding power allocation factor based on the transmit power and the lowest transmission rate of the edge server; When the edge server is at the tail of the edge cluster, the power allocation factor of the tail edge server is determined based on the power allocation factors of other edge servers.

11. The edge task offloading optimization method according to claim 1, characterized in that: Performing joint iterative optimization on the local task amount, the power allocation factor and the first delay also includes: Taking the given local task amount and the given power allocation factor as constraints and aiming at maximizing the system energy efficiency, the first delay is iteratively optimized.

12. The edge task offloading optimization method according to claim 11, characterized in that: Iteratively optimizing the first time delay further includes: The first time delay is iteratively optimized based on a binary search method.

13. The edge task offloading optimization method according to claim 1, characterized in that: The local task amount, the power allocation factor and the first delay are jointly iteratively optimized until the system energy efficiency output by the system energy efficiency target model meets the energy efficiency optimization target, further comprising: When it is detected that the difference between the system energy efficiency outputted this time by the system energy efficiency target model and the system energy efficiency outputted last time is greater than or equal to an energy efficiency threshold, it is determined that the energy efficiency optimization target is met.

14. An edge task offloading optimization device, characterized in that: include: A construction module is used to construct a system energy efficiency target model based on the local task amount, the first delay and the power allocation factor, wherein the Internet of Things terminal obtains the tasks to be processed, and the tasks to be processed include local tasks to be allocated to the Internet of Things terminal and edge tasks to be unloaded to the edge cluster, the local task amount is the task amount of the local task, the first delay is the delay of unloading the edge task to the edge cluster, and the power allocation factor is the allocation factor of the transmission power allocated to the Internet of Things terminal when the edge task is unloaded using non-orthogonal multiple access NOMA; an optimization module, configured to jointly iteratively optimize the local task amount, the power allocation factor, and the first delay until the system energy efficiency output by the system energy efficiency target model meets the energy efficiency optimization target, and obtain the target task amount of the local task assigned to the Internet of Things terminal, the target power allocation factor and the target first delay of the edge task assigned to the edge cluster; An unloading module is used to perform local task processing based on the target task amount, and to unload the edge task to the edge cluster based on the target power allocation factor and the target first delay.

15. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to execute the edge task offloading optimization method according to any one of claims 1 to 13 by executing the executable instructions.

16. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the edge task offloading optimization method described in any one of claims 1 to 13 is implemented.

17. A computer program product having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the edge task offloading optimization method described in any one of claims 1 to 13 is implemented.

Citation Information

Patent Citations

  • Power distribution method for minimizing uplink energy efficiency based on NOMA-MEC

    CN112584478A

  • Internet of vehicles task unloading and resource allocation method based on NOMA-MEC system

    CN117082470A