Energy-efficient optimized computing offloading method for vehicular edge computing network and system thereof
Granted 13 Sep 2022 · no office action yet
Assignee: NANTONG UNIVERSITY
Law firm: Law firm · Log in to unlock
Attorney: Attorney · Log in to unlock
Inventors: Wei Duan, Yancheng Ji, Guoan Zhang, Li Jin +3 · Examiner: Mehmood B. Khan · AU 2468 · TC 2400
Life of the application
7 dated eventsAbstract
The present disclosure relates to an energy-efficient optimized computing offloading method for a vehicular edge computing network and a system thereof; 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. The method of the present disclosure can improve the computing offloading efficiency.
Description
15 parts›CROSS REFERENCE TO RELATED APPLICATION(S)
This patent application is the U.S. National Phase of PCT International Application No. PCT/CN2020/106730, filed on Aug. 4, 2020, which 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 both of which are incorporated by reference herein in their entireties as part of the present application.
›TECHNICAL FIELD
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.
›BACKGROUND ART
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.
›SUMMARY · 1 of 2
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 f n l represents the CPU frequency of the vehicle n, L n represents the data size of the task R n , and C n represents the computational complexity of the task R n ;
determining the energy consumption of local computing based on the local computing latency specifically adopts the following formula:
E n l =kT n l ( f n l ) 3 =kL n C n ( f n l ) 2
where k represents effective switching capacitance coefficient, T n l represents the local computing latency, f n l represents the CPU frequency of the vehicle n, L n represents the data size of the task R n , and C n represents the computational complexity of the task R n ;
determining the energy efficiency cost EEC of local computing based on the energy consumption and latency of local computing adopts the following formula:
Z n l =β n T T n l +β n E E n l
where 0≤β n T ≤1 and 0≤β n E ≤1 represent the weight factors of latency and energy consumption, respectively, T n l represents the latency of local computing, and E n l 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, x n represents the initial position of the vehicle n on the road, and v n 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 d 0 =lm, 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:
r n ( t ) = W log 2 ( 1 + p n G n ( t ) σ 2 ) = W log 2 ( 1 + p n ρ 0 [ H 2 + D 2 + ( x n + v n t ) 2 ] θ 2 )
where W represents the channel bandwidth, p n >0 represents the transmit power of the vehicle n, ρ 0 =β 0 /σ 2 , σ 2 represents the noise power of the BS receiver, and G n (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:
∫ 0 t n ot r n ( t ) dt=L n
where t n ot represents the task offloading time, L n represents the data size of the task R n , and r n (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 f MEC 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:
T n o =t n ot +t n oe
where t n oe represents the computing time of the MEC server, and t n ot represents the task offloading time;
calculating the energy consumption of mobile edge computing specifically adopts the following formula:
E n o =p n t n ot
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:
Z n o =β n T T n o +β n E E n o
where T n o represents the total latency of mobile edge computing, E n o represents the energy consumption of mobile edge computing, β n T represents the latency weight factor, and β n E 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:
›SUMMARY · 2 of 2
where a* n represents the optimal offloading decision,
c n = △ R max 2 - D 2 - x n v n
represents the maximum communication time between the vehicle and the BS, R max represents the maximum communication coverage of the base station BS, D represents the vertical distance between the base station and the road, x n represents the initial position of the vehicle n on the road, v n represents the moving speed of the vehicle n,
Cost n l = △ Z n l + λ n L n C n f n l
represents the computing cost of local computing,
Cost n o = △ Z n o + λ n ( t n ot + L n C n f MEC )
represents the computing cost of mobile edge computing, λ n represents the Lagrange multiplier corresponding to the latency constraint (1−a n )T n l +a n T n o ≤T n,max , a n represents the decision variable, and T n,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 a* n =0, determining the optimal CPU frequency of the vehicle by the following formula:
where f n,max l represents the maximum CPU frequency of the vehicle n, f n l * represents the optimal CPU frequency of the vehicle, β n T represents the latency weight parameter, λ n represents the Lagrange multiplier corresponding to the latency constraint, β n E represents the energy consumption weight factor, and k represents the effective switched capacitor coefficient,
when a* n =1, the optimal transmit power of vehicle n is determined by the following formula:
where p n,max represents the maximum transmit power of the vehicle n, {circumflex over (p)} n is the unique solution of the equation β n E t n ot −χ n φ′(p n , t n ot )=0, χ n represents the Lagrange multiplier corresponding to the constraint a n L n ≤φ(p n , T n ot ), φ(p n , t n ot ) ∫ 0 t n ot r n (τ)dτ,
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 L n represents the data size of the task R n , C n represents the computational complexity of the task R n , β n T represents the latency weight factor, β n E represents the energy consumption weight factor, a* n represents the optimal offloading decision, f n l * represents the optimal CPU frequency of the vehicle, p* n represents the optimal transmit power of vehicle n, t n ot 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 C n represents the maximum communication time between the vehicle and the BS, t n ot represents the task offloading time, and ζ(t n ot ) 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.
›BRIEF DESCRIPTION OF THE DRAWINGS
The present disclosure will be further explained with reference to the accompanying drawings:
FIG. 1 is a flowchart of an energy-efficient optimized computing offloading method for a vehicular edge computing network according to an embodiment of the present disclosure;
FIG. 2 is a schematic structural diagram of an energy-efficient optimized computing offloading system in a vehicular edge computing network according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a system model of a vehicular edge computing network according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a vehicular edge computing framework according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of an algorithm convergence curve according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of the proportion of offloading tasks corresponding to different task data sizes according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of EEC corresponding to different maximum tolerable latencies according to an embodiment of the present disclosure;
FIG. 8 is a schematic diagram of energy consumption and latency performance of this scheme under the settings of different weight factors b n E according to an embodiment of the present disclosure;
FIG. 9 is a schematic diagram of EEC corresponding to different maximum transmit powers according to an embodiment of the present disclosure;
FIG. 10 is a schematic diagram of energy consumption comparison of different schemes according to the embodiment of the present disclosure;
FIG. 11 is a schematic diagram of latency comparison of different schemes according to an embodiment of the present disclosure.
›DETAILED DESCRIPTION OF THE EMBODIMENTS
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.
FIG. 1 is a flowchart of an energy-efficient optimized computing offloading method for a vehicular edge computing network according to an embodiment of the present disclosure. As shown in FIG. 1 , the method comprises the following steps.
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 R n =(L n , C n , T n,max ), in which L n represents the data size of the task R n ; C n represents the computational complexity of the task R n ; T n,max represents the maximum tolerable latency of the task R n . The system model of the vehicular edge computing network is shown in FIG. 3 , and the edge computing framework is shown in FIG. 4 .
›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 f n l represents the CPU frequency of the vehicle n, L n represents the data size of the task R n , and C n represents the computational complexity of the task R n .
Step 1012 : the energy consumption of local computing is determined based on the local computing latency.
The specific formula is as follows:
E n l =kT n l ( f n l ) 3 =kL n C n ( f n l ) 2
where k represents effective switching capacitance coefficient, T n l represents the local computing latency, f n l represents the CPU frequency of the vehicle n, L n represents the data size of the task R n , and C n represents the computational complexity of the task R n .
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:
Z n l =β n T T n l +β n E E n l
where 0≤β n T ≤1 and 0≤β n E ≤1 represent the weight factors of latency and energy consumption, respectively, T n l represents the latency of local computing, and E n l 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, x n represents the initial position of the vehicle n on the road, and v n 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 d 0 =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, p n >0 represents the transmit power of the vehicle n, ρ 0 =β 0 /σ 2 , σ 2 represents the noise power of the BS receiver, and G n (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:
∫ 0 t n ot r n ( t ) dt=L n
where t n ot represents the task offloading time, L n represents the data size of the task R n , and r n (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 f MEC 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:
T n o =t n ot +t n oe
where t n oe represents the computing time of the MEC server, and t n ot represents the task offloading time;
›Step 1027 : the energy consumption of mobile edge computing is calculated
The specific formula is as follows:
E n o =p n t n ot
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:
Z n o =β n T T n o +β n E E n o
where T n o represents the total latency of mobile edge computing, E n o represents the energy consumption of mobile edge computing, β n T represents the latency weight factor, and β n E 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 a* n represents the optimal offloading decision,
c n = △ R max 2 - D 2 - x n v n
represents the maximum communication time between the vehicle and the BS, R max represents the maximum communication coverage of the base station BS, D represents the vertical distance between the base station and the road, x n represents the initial position of the vehicle n on the road, v n represents the moving speed of the vehicle n,
Cost n l = △ Z n l + λ n L n C n f n l
represents the computing cost of local computing,
Cost n o = △ Z n o + λ n ( t n ot L n C n f MEC )
represents the computing cost of mobile edge computing, λ n represents the Lagrange multiplier corresponding to the latency constraint (1−a n )T n l +a n T n o ≤T n,max , a n represents the decision variable, and T n,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 a* n =0, determining the optimal CPU frequency of the vehicle by the following formula:
where f n,max l represents the maximum CPU frequency of the vehicle n, f n l * represents the optimal CPU frequency of the vehicle, β n T represents the latency weight parameter, λ n represents the Lagrange multiplier corresponding to the latency constraint, β n E represents the energy consumption weight factor, and k represents the effective switched capacitor coefficient,
when a* n =1, the optimal transmit power of vehicle n is determined by the following formula:
where p n,max represents the maximum transmit power of the vehicle n, {circumflex over (p)} n is the unique solution of the equation β n E t n ot −χ n φ′(p n ,t n ot )=0, χ n represents the Lagrange multiplier corresponding to the constraint a n L n ≤φ(p n , T n ot ), φ(p n , t n ot ) ∫ 0 t n ot r n (τ)dτ,
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 · 1 of 2
The specific formula is as follows:
where L n represents the data size of the task R n , C n represents the computational complexity of the task R n , β n T represents the latency weight factor, β n E represents the energy consumption weight factor, a* n represents the optimal offloading decision, f n l * represents the optimal CPU frequency of the vehicle, p* n represents the optimal transmit power of vehicle n, t n ot 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 c n represents the maximum communication time between the vehicle and the BS, t n ot represents the task offloading time, and ζ(t n ot ) represents the energy efficiency cost function for the vehicle to complete the calculation task.
FIG. 2 is a schematic structural diagram of an energy-efficient optimized computing offloading system in a vehicular edge computing network according to an embodiment of the present disclosure. As shown in FIG. 2 , the system comprises:
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 [j]. 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 [j]. 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 f n l =0.7 f max l .
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 f n l =0.7 f max l .
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 p n =p max .
In order to analyze the convergence of the offloading decision and resource allocation algorithm, FIG. 5 shows how the EEC of the proposed algorithm changes with the number of iterations when the task complexity is 200, 600, 1000 and 1400 cycles/bit respectively. It can be observed that (i) the proposed algorithm takes about 40-100 iterations to converge, and each iteration takes 0.2-0.5 ms. Therefore, for the most complex tasks, the algorithm can get the optimal offloading decision and resource allocation in 50 ms at most. (ii) The higher the computational complexity of the task, the slower the convergence speed, that is, the complexity of the task will increase the convergence time. (iii) The greater the computational complexity of the task, the more energy efficiency cost it consumes, which means that the increase of the computational complexity will reduce the efficiency of the task completion.
FIG. 6 shows the percentage of offloading tasks under different task data sizes when the CPU computing capacity of the MEC server is 20 GHz, 30 GHz, 40 GHz, 50 GHz and 100 GHz respectively. As can be seen from FIG. 4 , with the increasing amount of the task data, the percentage of offloading tasks also increases. This is because, with the increasing amount of the task data, the EEC for executing calculation tasks in the MEC is gradually smaller than that for local computing, so that more and more vehicles choose to offload tasks. At the same time, the curve in FIG. 6 shows that the computing capacity of the MEC server will also affect the task offloading decision, especially when the computing capacity of the MEC server is limited.
FIG. 7 shows the impact of maximum tolerable latency on the EEC of the scheme in the present disclosure, local computing and full offloading scheme [6] Zhang W, Wen Y, Guan K, et al. Energy-Optimal Mobile Cloud Computing Under Stochastic Wireless Channel [j]. IEEE Transactions on Wireless Communications, 2013, 12 (9): 4569-4581. Comparing the curves in FIG. 7 , the following conclusions can be drawn: first, only the task data size, the task complexity and the CPU computing capacity of the vehicle will affect the EEC of the local computing scheme, and the change of the task completion time constraint will not affect the EEC of the local computing. Second, compared with local computing, the proposed scheme can significantly reduce EEC. This is because the scheme proposed by the present disclosure can offload the computation-intensive tasks to the MEC server for execution according to the MEC and the EEC required by the local vehicles to complete the tasks. In addition, compared with the full offloading scheme, the scheme in the present disclosure has lower EEC when the latency constraint is loose, because the scheme proposed by the present disclosure adopts the optimal offloading decision and resource allocation scheme. Finally, when T n max >c n , the EEC of the full offloading scheme and the scheme in the present disclosure remains unchanged, and the task uploading time is c n , because the vehicle must offload the task to MEC before the V2I link is disconnected.
›Step 1051 : the cost function is determined · 2 of 2
FIG. 8 shows the influence on system energy consumption and latency when the energy consumption weight factor b n E increases from 0.1 to 0.9 and the latency weight factor b n T =1−b n E decreases from 0.9 to 0.1. It can be found that the system energy consumption decreases with the increase of b n E at the cost of increasing the latency, that is, the lower the energy consumption, the greater the latency, which is the trade-off between energy consumption and latency. In addition, tasks with L n =0.5 MB data consume energy resource less than L n =1.0 MB.
FIG. 9 shows the influence of the maximum transmit power on the performance of two schemes, namely the scheme proposed by the present disclosure and the binary offloading scheme (the transmit power is controllable and the local CPU frequency is fixed). It can be observed from FIG. 9 that the EEC of the system decreases with the increase of the maximum transmit power P max . In addition, when the maximum transmit power P max reaches the threshold, the scheme in the present disclosure reaches EEC saturation because: 1) the increase of the maximum transmit power makes more vehicles offload their computing tasks to the MEC server; 2) with the increase of transmit power, the EEC of the MEC executing tasks gradually approaches the EEC of local computing, so that the number (proportion) of offloading tasks remains stable. Therefore, the EEC of the system will not decrease with the further increase of P max . In addition, the figure shows that the higher the vehicle speed, the greater the required EEC.
For different task data amounts, the present disclosure compares the energy consumption and task completion time of each scheme in FIG. 10 and FIG. 11 . It can be seen from FIG. 10 and FIG. 11 that the energy consumption and the latency of each scheme increase with the increase of the task data, and the performance of the scheme proposed by the present disclosure is better than that of the other four schemes, because the advantages of DVFS technology and transmit power control are fully utilized by the present disclosure. On the one hand, the curves of two local computing schemes are compared, and the curves of the BO scheme with fixed local CPU frequency and the scheme of the present disclosure are compared, which shows the advantages of the DVFS. On the other hand, the scheme of the present disclosure is superior to the scheme based on SDR, which verifies the advantages of transmit power control.
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.
›Tables in the description — 5
| t | n | oe |
| = | ||
| L | n | |
| | ||
| C | n | |
| f | MEC |
| r | n | |||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ( | t | ) | ||||||||||||||||||||||||||||
| = | ||||||||||||||||||||||||||||||
| W | | |||||||||||||||||||||||||||||
| log | 2 | |||||||||||||||||||||||||||||
| ( | ||||||||||||||||||||||||||||||
| 1 | + | |||||||||||||||||||||||||||||
| p | n | |||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||
| G | n | |||||||||||||||||||||||||||||
| ( | t | ) | ||||||||||||||||||||||||||||
| σ | 2 | |||||||||||||||||||||||||||||
| ) | ||||||||||||||||||||||||||||||
| = | ||||||||||||||||||||||||||||||
| W | | |||||||||||||||||||||||||||||
| log | 2 | |||||||||||||||||||||||||||||
| ( | ||||||||||||||||||||||||||||||
| 1 | + | |||||||||||||||||||||||||||||
| p | n | |||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||
| ρ | 0 | |||||||||||||||||||||||||||||
| [ | ||||||||||||||||||||||||||||||
| H | 2 | + | D | 2 | + | ( | x | n | + | v | n | | t | ) | 2 | |||||||||||||||
| ] | ||||||||||||||||||||||||||||||
| θ | 2 | |||||||||||||||||||||||||||||
| ) |
| t | n | oe |
| = | ||
| L | n | |
| | ||
| C | n | |
| f | MEC |
| t | n | ot |
| ζ | | ( |
| t | n | ot |
| ) | ||
| s | . | t |
| .0 | ||
| ≤ | ||
| t | n | ot |
| ≤ | ||
| c | n |
| Parameter | meaning of parameters | value | |
| N | Number of vehicles | 10 | |
| H | antenna height | 25 | m |
| D | Distance between the BS and the road | 35 | m |
| X n | Initial position of the vehicle on the road | (100, 400) | m |
| θ | Path loss exponent | 4 | |
| β 0 | Channel gain at the reference distance | −30 | dB |
| W | bandwidth | 5 | MHz |
| σ 2 | Noise power | −104 | dBm |
| p max | maximum transmit power of the vehicle | 23 | dBm |
| ν n | moving speed of the vehicle | 100 | Km/h |
| R max | maximum communication coverage | 500 | m |
| of the BS | |||
| L n | amount of data of the task | 1 | MB |
| C n | complexity of the task | (200, 1200) | |
| cycles/bit | |||
| f max l | maximum computing capacity of | 10 | GHz |
| the vehicle | |||
| f o | computing capacity of the MEC | 50 | GHz |
| β n T | Time delay weight | 0.5 | |
| β n E | Energy consumption weight | 0.5 |
Claims as granted
5 claimsLog in to read the claims of this application.
Log in to unlockClassifications
3 codes- H04W4/40
- H04W28/02
- H04W28/22
Claim changes
SoonSee which claims were amended, added or cancelled during examination, with every added and removed word marked.
The published claims of this application are not paired with the granted ones in what we hold.
File wrapper
See the full prosecution history — every USPTO and applicant action on this file, in order.
Log in to unlockDocuments
Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.
Log in to unlockChain of title
See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.
Log in to unlock