This patent application claims the benefit and priority of Chinese Patent Application filed in China National Intellectual Property Administration on Jul. 15, 2020, having the Application NO. 202010678857.4 and entitled as “Energy-Efficient Optimized Computing Offloading Method For Vehicular Edge Computing Network And System Thereof”, the disclosure of which is incorporated by reference herein in its entirety as part of the present application.
The present disclosure relates to the field of vehicular edge computing networks, in particular to an energy-efficient optimized computing offloading method for a vehicular edge computing network and a system thereof.
Vehicular Edge Computing Network (VECN) pushes cloud services to the edge of the vehicular network. The MEC (Mobile Edge Computing) server deployed on the base station (BS) at the edge of the vehicular network provides cloud-based computing and storage services, which can overcome the shortcomings of cloud computing, such as being far away from end users and congestion in the core network. Due to the limited vehicular computing resources, the computation-intensive and latency sensitive computing tasks generated by vehicular applications fails to be executed on local devices, thus, it is difficult to satisfy the computing requirements of the vehicles and passengers. By offloading computation-intensive tasks to the MEC server, vehicles can get faster interactive response and/or save energy-consumption. However, the computation offloading is a very complex process, which is affected by the quality of transmission and backhaul links, user preference, local computing capacity, the capacity and availability of cloud computing, etc. Therefore, to adapt to the QoS of vehicular users, the factors that need to be considered when designing the vehicular computing task offloading scheme include what's the data size to be offloaded, which part of the computing task should be offloaded, how to effectively allocate communication and computing resources for vehicles, and the impact of the vehicle mobility on the communication links.
Without loss of generality, the computing offloading schemes are classified into three types: local computing, full offloading and partial offloading. Compared with full offloading, partial offloading benefits from parallel computing and latency. However, partial offloading is a very complicated process, which is affected by many factors, namely, whether the computing tasks can be partitioned, the data size and required computing capacity of the offloadable and non-offloadable parts are different, which part can be offloaded to the MEC, and some computing tasks coupled with other input data are unavailable for parallel processing. Compared with the partial offloading, local computing and full offloading (collectively referred to the binary offloading strategy, 0 represents local computing and 1 represents full offloading) are more practical, and hence, the binary offloading strategy is investigated in the present disclosure.
In recent years, many scholars have studied the task offloading schemes in MEC network and VECN. To minimize the completion time of computing tasks, in Le H Q, Al-Shatri H, Klein A. Efficient resource allocation in mobile-edge computation offloading: Completion time minimization[C]//In 2017 IEEE International Symposium on Information Theory (ISIT). IEEE, 2017: 2513-2517, a joint optimization problem is modeled for the time division multiple access (TDMA) and frequency division multiple access (FDMA) schemes in a multi-user mobile edge computing offload (MECO) system, however, the computing time of the MEC server is unfortunately ignored, which makes it unsuitable for scenarios where the computing resources of the MEC server are limited. In terms of energy consumption, in Sardellitti S, Scutari G, Barbarossa S. Joint optimization of radio and computational resources for multicell mobile-edge computing[J] In IEEE Transactions on Signal and Information Processing Over Networks, 2015, 1 (2): 89-103, an offloading scheme with minimized energy consumption is developed by optimizing the radio resources in the MIMO multi-cell system, while the scheme neglects the latency optimization issue and is not suitable for the vehicular network with sensitive latency requirements. In order to meet the requirements of different users on energy consumption and latency, in Dinh T Q, Tang J, La Q D, et al. Offloading in mobile edge computing: Task allocation and computational frequency scaling[J]. IEEE Transactions on Communications, 2017, 65(8): 3571-3584. and Guo S, Liu J, Yang Y, et al. Energy-efficient dynamic computation offloading and cooperative task scheduling in mobile cloud computing[J] In IEEE Transactions on Mobile Computing, 2019, 18 (2): 319-333, energy consumption and latency weighting factors are introduced in the design of the offloading strategy. However, these schemes assume that the mobile device remains stationary or moves slowly during the offloading process and the offloading channel is stable, while these assumptions are unpractical for the vehicular network with fast-moving vehicles. Considering the mobility of vehicles and hard latency constraints, in Hu R Q. Mobility-aware edge caching and computing in vehicular networks: A deep reinforcement learning[J]. IEEE Transactions on Vehicular Technology, 2018, 67(11): 10190-10203. and Hu R Q, Hanzo L. Twin-timescale artificial intelligence aided mobility-aware edge caching and computing in vehicular networks[J]. IEEE Transactions on Vehicle Technology, 2019, 68 (4): 3086-3099. and Yang C, Liu Y, Chen X, In et al. Efficient mobility-aware task off-loading for vehicle edge computing networks [J]. IEEE Access, 2019, 7: 26652-26664, a joint allocation scheme of communication and computing resources is proposed, and the transmission rate of uploading computing tasks to the BS is only related to the initial position of the vehicle, and the V2I communication quality is constant during computing offloading. However, in the practical situation, the moving speed of the vehicles will have an effect on the V2I communication quality to a certain extent, thus affecting the offloading decision.
In the process of computing offloading, as the vehicle moves close to the BS, the communication distance of V2I link decreases and the transmission rate of V2I link increases. Therefore, before the offloading decision, as well as the allocating communication and computing resources, the initial position and moving speed of the vehicle and their relationships with the communication rate should be investigated.
The purpose of the present disclosure is to provide an energy-efficient optimized computing offloading method for a vehicular edge computing network and a system thereof, so as to improve the computing offloading efficiency.
The technical scheme of the present disclosure is as follows:
An energy-efficient optimized computing offloading method for a vehicular edge computing network, comprising:
calculating the energy efficiency cost EEC of local computing;
calculating the energy efficiency cost EEC of mobile edge computing;
determining an optimal offloading decision based on the energy efficiency cost of local computing and the energy efficiency cost of mobile edge computing;
determining an optimal CPU frequency and an optimal transmit power of the vehicle based on the optimal offloading decision; and
determining the optimal offloading time of the vehicle based on the optimal CPU frequency and the optimal transmit power of the vehicle.
Preferably, calculating the energy efficiency cost EEC of local computing specifically comprises:
Calculating the local computing latency;
determining the energy consumption of local computing based on the local computing latency; and
determining the energy efficiency cost EEC of local computing based on the energy consumption of local computing.
Preferably, calculating the local computing latency specifically adopts the following formula:
where fnl represents the CPU frequency of the vehicle n, Ln represents the data size of the task Rn, and Cn represents the computational complexity of the task Rn;
determining the energy consumption of local computing based on the local computing latency specifically adopts the following formula:
where k represents effective switching capacitance coefficient, Tnl represents the local computing latency, fnl represents the CPU frequency of the vehicle n, Ln represents the data size of the task Rn, and Cn represents the computational complexity of the task Rn;
determining the energy efficiency cost EEC of local computing based on the energy consumption and latency of local computing adopts the following formula:
where 0≤βnT≤1 and 0≤βnE≤1 represent the weight factors of latency and energy consumption, respectively, Tnl represents the latency of local computing, and Enl represents the energy consumption of local computing.
Preferably, calculating the energy efficiency cost EEC of mobile edge computing specifically comprises:
calculating the distance between the vehicle n and the base station BS;
determining the channel gain between the vehicle n and the base station based on the distance;
determining the real-time transmission rate from the vehicle n to the base station based on the channel gain;
determining task offloading time based on the real-time transmission rate;
calculating the computing time of the MEC server;
determining the total latency of mobile edge computing based on the task offloading time and the computing time of the MEC server;
calculating the energy consumption of mobile edge computing; and
determining the energy efficiency cost EEC of mobile edge computing based on the energy consumption of mobile edge computing and the total latency of mobile edge computing.
Preferably, calculating the distance between the vehicle n and the base station BS specifically adopts the following formula:
where H represents the antenna height of the base station, D represents the vertical distance between the base station and the road, xn represents the initial position of the vehicle n on the road, and vn represents the moving speed of the vehicle n;
determining the channel gain between the vehicle n and the base station based on the distance specifically adopts the following formula:
where β0 represents the gain at the reference distance d0=1 m, and θ represents the path loss factor of V2I link;
determining the real-time transmission rate from the vehicle n to the base station based on the channel gain specifically adopts the following formula:
where W represents the channel bandwidth, pn>0 represents the transmit power of the vehicle n, ρ0=β0/σ2, σ2 represents the noise power of the BS receiver, and Gn (t) represents the channel gain between the vehicle n and the base station;
determining task offloading time based on the real-time transmission rate specifically adopts the following formula:
where tnot represents the task offloading time, Ln represents the data size of the task Rn, and rn(t) represents the real-time transmission rate from the vehicle n to the base station;
calculating the computing time of the MEC server specifically adopts the following formula:
where fMEC represents the computing capacity of the MEC server;
determining the total latency of mobile edge computing based on the task offloading time and the computing time of the MEC server specifically adopts the following formula:
where tnoe represents the computing time of the MEC server, and tnot represents the task offloading time;
calculating the energy consumption of mobile edge computing specifically adopts the following formula:
determining the energy efficiency cost EEC of mobile edge computing based on the energy consumption of mobile edge computing and the total latency of mobile edge computing specifically adopts the following formula:
where Tno represents the total latency of mobile edge computing, Eno represents the energy consumption of mobile edge computing, βnT represents the latency weight factor, and βnE represents the energy consumption weight factor.
Preferably, determining an optimal offloading decision based on the energy efficiency cost of local computing and the energy efficiency cost of mobile edge computing specifically adopts the following formula:
where an* represents the optimal offloading decision,
represents the maximum communication time between the vehicle and the BS, Rmax represents the maximum communication coverage of the base station BS, D represents the vertical distance between the base station and the road, xn represents the initial position of the vehicle n on the road, vn represents the moving speed of the vehicle n,
represents the computing cost of local computing,
represents the computing cost of mobile edge computing, λn represents the Lagrange multiplier corresponding to the latency constraint (1−an)Tnl+anTno≤Tn,max, an represents the decision variable, and Tn,max represents the maximum tolerable latency.
Preferably, determining an optimal CPU frequency and an optimal transmit power of the vehicle based on the optimal offloading decision specifically comprises:
when an*=0, determining the optimal CPU frequency of the vehicle by the following formula:
where fn,maxl max represents the maximum CPU frequency of the vehicle n, fnl* represents the optimal CPU frequency of the vehicle, βnT represents the latency weight parameter, λn represents the Lagrange multiplier corresponding to the latency constraint, βnE represents the energy consumption weight factor, and k represents the effective switched capacitor coefficient,
when an*=1, the optimal transmit power of vehicle n is determined by the following formula:
where pn,max represents the maximum transmit power of the vehicle n, {circumflex over (p)}n is the unique solution of the equation βnEtnot−χnφ′(pn,tnot)=0, χn represents the Lagrange multiplier corresponding to the constraint anLn≤φ(pn,Tnot)
Preferably, determining the optimal offloading time of the vehicle based on the optimal CPU frequency and the optimal transmit power of the vehicle specifically comprises:
determining the cost function; and
determining the optimal offloading time of the vehicle using a one-dimensional linear search method base on the cost function.
Preferably, determining the cost function specifically adopts the following formula:
where Ln represents the data size of the task Rn, Cn represents the computational complexity of the task Rn, βnT represents the latency weight factor, γnE represents the energy consumption weight factor, an* represents the optimal offloading decision, fnl* represents the optimal CPU frequency of the vehicle, pn* represents the optimal transmit power of vehicle n, tnot represents the task offloading time, and k represents the effective switched capacitor coefficient,
determining the optimal offloading time of the vehicle using a one-dimensional linear search method base on the cost function specifically adopts the following formula:
where cn represents the maximum communication time between the vehicle and the BS, tnot represents the task offloading time, and ζ(tnot) represents the energy efficiency cost function for the vehicle to complete the calculation task.
The present disclosure further provides an energy-efficient optimized computing offloading system in a vehicular edge computing network, wherein the system comprises:
a module for calculating energy efficiency cost of local computing, which is configured to calculate the energy efficiency cost EEC of local computing;
a module for calculating energy efficiency cost of mobile edge computing, which is configured to calculate the energy efficiency cost EEC of mobile edge computing;
an optimal offloading decision determining module, which is configured to determine an optimal offloading decision based on the energy efficiency cost of local computing and the energy efficiency cost of mobile edge computing;
an optimal CPU frequency and optimal transmit power determining module, which is configured to determine an optimal CPU frequency and an optimal transmit power of the vehicle based on the optimal offloading decision; and
an optimal offloading time determining module, which is configured to determine the optimal offloading time of the vehicle based on the optimal CPU frequency and the optimal transmit power of the vehicle.
Compared with the prior art, the present disclosure has the following advantages.
The present disclosure relates to an energy-efficient optimized computing offloading method for a vehicular edge computing network. The method comprises: calculating the energy efficiency cost EEC of local computing; calculating the energy efficiency cost EEC of mobile edge computing; determining an optimal offloading decision based on the energy efficiency cost of local computing and the energy efficiency cost of mobile edge computing; determining an optimal CPU frequency and an optimal transmit power of the vehicle based on the optimal offloading decision; and determining the optimal offloading time of the vehicle based on the optimal CPU frequency and the optimal transmit power of the vehicle, thereby greatly improving the computing offloading efficiency.
The present disclosure will be further explained with reference to the accompanying drawings:
The technical scheme in the embodiments of the present disclosure will be described clearly and completely hereinafter with reference to the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only some embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without paying creative labor belong to the scope of protection of the present disclosure.
The embodiments of the present disclosure have been described in detail with reference to the attached drawings, but the present disclosure is not limited to the above embodiments. Various changes can be made within the knowledge of those skilled in the art without departing from the purpose of the present disclosure.
The purpose of the present disclosure is to provide an energy-efficient optimized computing offloading method for a vehicular edge computing network and a system thereof, so as to improve the computing offloading efficiency.
In order to make the above objects, features and advantages of the present disclosure more obvious and understandable, the present disclosure will be further explained in detail hereinafter with reference to the drawings and specific embodiments.
A group of vehicles is set in a VECN, which is denoted as N={1, 2, . . . , n}, in which each vehicle has a computation-intensive or latency sensitive task to be completed. The task is denoted as Rn=(Ln, Cn,Tn,max), in which Ln represents the data size of the task Rn; Cn represents the computational complexity of the task Rn; Tn,max represents the maximum tolerable latency of the task R. The system model of the vehicular edge computing network is shown in
Step 101: the energy efficiency cost EEC of local computing is calculated.
Step 102: the energy efficiency cost EEC of mobile edge computing is calculated.
Step 103: an optimal offloading decision is determined based on the energy efficiency cost of local computing and the energy efficiency cost of mobile edge computing.
Step 104: an optimal CPU frequency and an optimal transmit power of the vehicle are determined based on the optimal offloading decision.
Step 105: the optimal offloading time of the vehicle is determined based on the optimal CPU frequency and the optimal transmit power of the vehicle.
Specifically, in step 101, calculating the energy efficiency cost EEC of local computing specifically comprises the following steps.
Step 1011: the local computing latency is calculated.
The specific formula is as follows:
where fnl represents the CPU frequency of the vehicle n, Ln represents the data size of the task Rn, and Cn represents the computational complexity of the task Rn.
Step 1012: the energy consumption of local computing is determined based on the local computing latency.
The specific formula is as follows:
where k represents effective switching capacitance coefficient, Tnl represents the local computing latency, fnl represents the CPU frequency of the vehicle n, Ln represents the data size of the task Rn, and Cn represents the computational complexity of the task Rn.
Step 1013: the energy efficiency cost EEC of local computing is determined based on the energy consumption of local computing.
The specific formula is as follows:
where 0≤βnT≤1 and 0≤βnE≤1 represent the weight factors of latency and energy consumption, respectively, Tnl represents the latency of local computing, and Enl represents the energy consumption of local computing.
Specifically, in step 102, calculating the energy efficiency cost EEC of mobile edge computing specifically comprises the following steps.
Step 1021: the distance between the vehicle n and the base station BS is calculated.
The specific formula is as follows:
where H represents the antenna height of the base station, D represents the vertical distance between the base station and the road, xn represents the initial position of the vehicle n on the road, and vn represents the moving speed of the vehicle n.
Step 1022: the channel gain between the vehicle n and the base station is determined based on the distance.
The specific formula is as follows:
where β0 represents the gain at the reference distance d0=1 m, and θ represents the path loss factor of V2I link.
Step 1023: the real-time transmission rate from the vehicle n to the base station is determined based on the channel gain.
The specific formula is as follows:
where W represents the channel bandwidth, pn>0 represents the transmit power of the vehicle n, ρ0=β0/σ2, σ2 represents the noise power of the BS receiver, and Gn(t) represents the channel gain between the vehicle n and the base station.
Step 1024: task offloading time is determined based on the real-time transmission rate.
The specific formula is as follows:
where tnot represents the task offloading time, Ln represents the data size of the task Rn, and rn(t) represents the real-time transmission rate from the vehicle n to the base station.
Step 1025: the computing time of the MEC server is calculated.
The specific formula is as follows:
where fMEC represents the computing capacity of the MEC server.
Step 1026: the total latency of mobile edge computing is determined based on the task offloading time and the computing time of the MEC server.
The specific formula is as follows:
where tnoe represents the computing time of the MEC server, and tnot represents the task offloading time;
Step 1027: the energy consumption of mobile edge computing is calculated.
The specific formula is as follows:
Step 1028: the energy efficiency cost EEC of mobile edge computing is determined based on the energy consumption of mobile edge computing and the total latency of mobile edge computing.
The specific formula is as follows:
where Tno represents the total latency of mobile edge computing, Eno represents the energy consumption of mobile edge computing, βnT represents the latency weight factor, and βnE represents the energy consumption weight factor.
Specifically, in step 103, determining an optimal offloading decision based on the energy efficiency cost of local computing and the energy efficiency cost of mobile edge computing specifically adopts the following formula:
where an* represents the optimal offloading decision,
represents the maximum communication time between the vehicle and the BS, Rmax represents the maximum communication coverage of the base station BS, D represents the vertical distance between the base station and the road, xn represents the initial position of the vehicle n on the road, vn represents the moving speed of the vehicle n,
represents the computing cost of local computing,
represents the computing cost of mobile edge computing, λn represents the Lagrange multiplier corresponding to the latency constraint (1−an)Tnl+anTno≤Tn,max, an represents the decision variable, and Tn,max represents the maximum tolerable latency.
Specifically, in step 104, determining an optimal CPU frequency and an optimal transmit power of the vehicle based on the optimal offloading decision specifically comprises:
when an*=0=, determining the optimal CPU frequency of the vehicle by the following formula:
where fn,maxl represents the maximum CPU frequency of the vehicle n, fnl* represents the optimal CPU frequency of the vehicle, βnT represents the latency weight parameter, λn represents the Lagrange multiplier corresponding to the latency constraint, βnE represents the energy consumption weight factor, and k represents the effective switched capacitor coefficient,
when an*=1, the optimal transmit power of vehicle n is determined by the following formula:
where pn,max represents the maximum transmit power of the vehicle n, {circumflex over (p)}n is the unique solution of the equation βnEtnot−χnφ′(pn,tnot)=0, χn represents the Lagrange multiplier corresponding to the constraint anLn≤φ(pn,Tnot),
Specifically, in step 105, determining the optimal offloading time of the vehicle based on the optimal CPU frequency and the optimal transmit power of the vehicle specifically comprises the following steps.
Step 1051: the cost function is determined.
The specific formula is as follows:
where Ln represents the data size of the task Rn, Cn represents the computational complexity of the task Rn, βnT represents the latency weight factor, βnE represents the energy consumption weight factor, an* represents the optimal offloading decision, fnl* represents the optimal CPU frequency of the vehicle, pn* represents the optimal transmit power of vehicle n, tnot represents the task offloading time, and k represents the effective switched capacitor coefficient.
Step 1052: the optimal offloading time of the vehicle is determined using a one-dimensional linear search method base on the cost function.
The specific formula is as follows:
where cn represents the maximum communication time between the vehicle and the BS, tnot represents the task offloading time, and ζ(tnot) represents the energy efficiency cost function for the vehicle to complete the calculation task.
a module for calculating energy efficiency cost of local computing 201, which is configured to calculate the energy efficiency cost EEC of local computing;
a module for calculating energy efficiency cost of mobile edge computing 202, which is configured to calculate the energy efficiency cost EEC of mobile edge computing;
an optimal offloading decision determining module 203, which is configured to determine an optimal offloading decision based on the energy efficiency cost of local computing and the energy efficiency cost of mobile edge computing;
an optimal CPU frequency and optimal transmit power determining module 204, which is configured to determine an optimal CPU frequency and an optimal transmit power of the vehicle based on the optimal offloading decision; and
an optimal offloading time determining module 205, which is configured to determine the optimal offloading time of the vehicle based on the optimal CPU frequency and the optimal transmit power of the vehicle.
In the present disclosure, the performance of the proposed energy-efficient optimized computing offloading strategy is verified by MATLAB software simulation.
Emulation parameters [3] Liang 1, Li g y and Xu w. resource allocation for d2d-enabled vehicle communications W. IEEE transactions on communications, 2017, 65 (7), pp. 3186-3197. [4] Lyu X, Tian H, Sengul C. and Zhang P, Eta. Multiuser Joint Task Off Loading And Resource Optimization In Proximate Clouds W. IEEE Transactions On Vehicle Technology, 2018, 66 (4): 3435-3447 are set as shown in table 1. The influence of system parameters on the performance of the scheme is first analyzed, and then the performance of the scheme of the present disclosure is compared with that of the following four reference schemes. For the sake of fairness, in the reference scheme, it is assumed that vehicles are always at the midpoint of the maximum communication coverage between the vehicle starting point and the BS, and each vehicle has only one computing task.
LE with fixed CPU frequency: it is of the local computing and the CPU frequency is fixed at fnl=0.7fmaxl.
LE with DFVS: it is of the local computing and the CPU frequency can be adjusted according to DFVS technology. The optimal CPU frequency is shown in formula (23).
BO with transmit power control: the binary system is offloaded and the transmit power can be controlled. The optimal transmit power is shown in formula (21), but the local CPU frequency is fixed at fnl=0.7 fmaxl.
SDR-based scheme [5] Dinh T Q, Tang J, La Q D, et al. Offloading In Mobile Edge Computing: Task Allocation And Computational Frequency Scaling[J]. IEEE Transactions on Communications, 2017, 65(8): 3571-3584: the binary system is offloaded, and the local CPU frequency can be adjusted according to DFVS technology, as shown in formula (23). The transmit power is fixed at pn=pmax.
In order to analyze the convergence of the offloading decision and resource allocation algorithm,
For different task data amounts, the present disclosure compares the energy consumption and task completion time of each scheme in
In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. It is sufficient to refer to the same and similar parts among each embodiment. Because the system disclosed in the embodiment corresponds to the method disclosed in the embodiment, it is described relatively simply, and the relevant points can be found in the description of the method.
In the present disclosure, a specific example is applied to illustrate the principle and implementation of the present disclosure, and the explanation of the above embodiments is only used to help understand the method and its core idea of the present disclosure. At the same time, according to the idea of the present disclosure, there will be some changes in the specific implementation and application scope for those skilled in the art. To sum up, the contents of this specification should not be construed as limiting the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202010678857.4 | Jul 2020 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2020/106730 | 8/4/2020 | WO | 00 |