Energy-efficient optimized computing offloading method for vehicular edge computing network and system thereof
11445400 · 2022-09-13
Assignee
Inventors
- Guoan ZHANG (Jiangsu, CN)
- Xiaohui GU (Jiangsu, CN)
- Li JIN (Jiangsu, CN)
- Jinyuan GU (Jiangsu, CN)
- Chen JI (Jiangsu, CN)
- Yancheng JI (Jiangsu, CN)
- Wei DUAN (Jiangsu, CN)
Cpc classification
H04W4/44
ELECTRICITY
H04W52/0287
ELECTRICITY
H04L67/59
ELECTRICITY
H04L67/10
ELECTRICITY
H04L41/145
ELECTRICITY
International classification
Abstract
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.
Claims
1. An energy-efficient optimized computing offloading method for a vehicular edge computing network, comprising: calculating an energy efficiency cost EEC of local computing, wherein the calculating comprises: calculating a local computing latency; determining an energy consumption of local computing based on the local computing latency; and determining an energy efficiency cost EEC of local computing based on the energy consumption and the local computing latency; calculating an energy efficiency cost EEC of mobile edge computing, wherein the calculating comprises: calculating a distance between a vehicle n and a base station BS; determining a channel gain between the vehicle n and the base station based on the distance; determining a real-time transmission rate from the vehicle n to the base station based on the channel gain; determining a task offloading time based on the real-time transmission rate; calculating a computing time of an MEC server; determining a total latency of mobile edge computing based on the task offloading time and the computing time of the MEC server; calculating an 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; determining an optimal offloading decision based on the energy efficiency cost of local computing and the energy efficiency cost of mobile edge computing, wherein the determining adopts the following formula:
2. The energy-efficient optimized computing offloading method for a vehicular edge computing network according to claim 1, wherein calculating the local computing latency adopts the following formula:
E.sub.n.sup.l=kT.sub.n.sup.l(f.sub.n.sup.l).sup.3=kL.sub.nC.sub.n(f.sub.n.sup.l).sup.2 where k represents effective switching capacitance coefficient, T.sub.n.sup.l represents the local computing latency, f.sub.n.sup.l represents the CPU frequency of the vehicle n, L.sub.n represents the data size of the task R.sub.n, and C.sub.n represents the computational complexity of the task R.sub.n; and wherein determining the energy efficiency cost EEC of local computing based on the energy consumption and latency of local computing adopts the following formula:
Z.sub.n.sup.l=β.sub.n.sup.TT.sub.n.sup.l+β.sub.n.sup.EE.sub.n.sup.l where 0≤β.sub.n.sup.T≤1 and 0≤β.sub.n.sup.E≤1 represent weight factors of latency and energy consumption, respectively, T.sub.n.sup.l represents the latency of local computing, and E.sub.n.sup.l represents the energy consumption of local computing.
3. The energy-efficient optimized computing offloading method for a vehicular edge computing network according to claim 1, wherein calculating the distance between the vehicle n and the base station BS adopts the following formula:
∫.sub.0.sup.t.sup.
T.sub.n.sup.o=t.sub.n.sup.ot+t.sub.n.sup.oe where t.sub.n.sup.oe represents the computing time of the MEC server, and t.sub.n.sup.ot represents the task offloading time; wherein calculating the energy consumption of mobile edge computing adopts the following formula:
E.sub.n.sup.o=p.sub.nt.sub.n.sup.ot; and wherein 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 adopts the following formula:
Z.sub.n.sup.o=β.sub.n.sup.TT.sub.n.sup.o+β.sub.n.sup.EE.sub.n.sup.o where T.sub.n.sup.o represents the total latency of mobile edge computing, E.sub.n.sup.o represents the energy consumption of mobile edge computing, β.sub.n.sup.T represents a latency weight factor, and β.sub.n.sup.E represents the energy consumption weight factor.
4. The energy-efficient optimized computing offloading method for a vehicular edge computing network according to claim 1, wherein determining the optimal offloading time of the vehicle using a one-dimensional linear search method based on the cost function adopts the following formula:
5. An energy-efficient optimized computing offloading system in a vehicular edge computing network, the system comprising: a module for calculating energy efficiency cost of local computing, which is configured to: calculate a local computing latency; determine an energy consumption of local computing based on the local computing latency; and determine the energy efficiency cost EEC of local computing based on the energy consumption of local computing; a module for calculating energy efficiency cost of mobile edge computing, which is configured to: calculate a distance between a vehicle n and a base station BS; determine a channel gain between the vehicle n and the base station based on the distance; determine a real-time transmission rate from the vehicle n to the base station based on the channel gain; determine task offloading time based on the real-time transmission rate; calculate a computing time of an MEC server; determine a total latency of mobile edge computing based on the task offloading time and the computing time of the MEC server; calculate an energy consumption of mobile edge computing; and determine 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; 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 according to the following formula: ∫.sub.0.sup.t.sup.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The present disclosure will be further explained with reference to the accompanying drawings:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
DETAILED DESCRIPTION OF THE EMBODIMENTS
(13) 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.
(14) 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.
(15) 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.
(16) 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.
(17)
(18) 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.sub.n=(L.sub.n, C.sub.n, T.sub.n,max), in which L.sub.n represents the data size of the task R.sub.n; C.sub.n represents the computational complexity of the task R.sub.n; T.sub.n,max represents the maximum tolerable latency of the task R.sub.n. The system model of the vehicular edge computing network is shown in
(19) Step 101: the energy efficiency cost EEC of local computing is calculated.
(20) Step 102: the energy efficiency cost EEC of mobile edge computing is calculated.
(21) 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.
(22) Step 104: an optimal CPU frequency and an optimal transmit power of the vehicle are determined based on the optimal offloading decision.
(23) 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.
(24) Specifically, in step 101, calculating the energy efficiency cost EEC of local computing specifically comprises the following steps.
(25) Step 1011: the local computing latency is calculated.
(26) The specific formula is as follows:
(27)
(28) where f.sub.n.sup.l represents the CPU frequency of the vehicle n, L.sub.n represents the data size of the task R.sub.n, and C.sub.n represents the computational complexity of the task R.sub.n.
(29) Step 1012: the energy consumption of local computing is determined based on the local computing latency.
(30) The specific formula is as follows:
E.sub.n.sup.l=kT.sub.n.sup.l(f.sub.n.sup.l).sup.3=kL.sub.nC.sub.n(f.sub.n.sup.l).sup.2
(31) where k represents effective switching capacitance coefficient, T.sub.n.sup.l represents the local computing latency, f.sub.n.sup.l represents the CPU frequency of the vehicle n, L.sub.n represents the data size of the task R.sub.n, and C.sub.n represents the computational complexity of the task R.sub.n.
(32) Step 1013: the energy efficiency cost EEC of local computing is determined based on the energy consumption of local computing.
(33) The specific formula is as follows:
Z.sub.n.sup.l=β.sub.n.sup.TT.sub.n.sup.l+β.sub.n.sup.EE.sub.n.sup.l
(34) where 0≤β.sub.n.sup.T≤1 and 0≤β.sub.n.sup.E≤1 represent the weight factors of latency and energy consumption, respectively, T.sub.n.sup.l represents the latency of local computing, and E.sub.n.sup.l represents the energy consumption of local computing.
(35) Specifically, in step 102, calculating the energy efficiency cost EEC of mobile edge computing specifically comprises the following steps.
(36) Step 1021: the distance between the vehicle n and the base station BS is calculated.
(37) The specific formula is as follows:
(38)
(39) where H represents the antenna height of the base station, D represents the vertical distance between the base station and the road, x.sub.n represents the initial position of the vehicle n on the road, and v.sub.n represents the moving speed of the vehicle n.
(40) Step 1022: the channel gain between the vehicle n and the base station is determined based on the distance.
(41) The specific formula is as follows:
(42)
(43) where β.sub.0 represents the gain at the reference distance d.sub.0=1 m, and θ represents the path loss factor of V2I link.
(44) Step 1023: the real-time transmission rate from the vehicle n to the base station is determined based on the channel gain.
(45) The specific formula is as follows:
(46)
(47) where W represents the channel bandwidth, p.sub.n>0 represents the transmit power of the vehicle n, ρ.sub.0=β.sub.0/σ.sup.2, σ.sup.2 represents the noise power of the BS receiver, and G.sub.n(t) represents the channel gain between the vehicle n and the base station.
(48) Step 1024: task offloading time is determined based on the real-time transmission rate.
(49) The specific formula is as follows:
∫.sub.0.sup.t.sup.
(50) where t.sub.n.sup.ot represents the task offloading time, L.sub.n represents the data size of the task R.sub.n, and r.sub.n(t) represents the real-time transmission rate from the vehicle n to the base station.
(51) Step 1025: the computing time of the MEC server is calculated.
(52) The specific formula is as follows:
(53)
(54) where f.sub.MEC represents the computing capacity of the MEC server.
(55) 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.
(56) The specific formula is as follows:
T.sub.n.sup.o=t.sub.n.sup.ot+t.sub.n.sup.oe
(57) where t.sub.n.sup.oe represents the computing time of the MEC server, and t.sub.n.sup.ot represents the task offloading time;
(58) Step 1027: the energy consumption of mobile edge computing is calculated.
(59) The specific formula is as follows:
E.sub.n.sup.o=p.sub.nt.sub.n.sup.ot
(60) 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.
(61) The specific formula is as follows:
Z.sub.n.sup.o=β.sub.n.sup.TT.sub.n.sup.o+β.sub.n.sup.EE.sub.n.sup.o
(62) where T.sub.n.sup.o represents the total latency of mobile edge computing, E.sub.n.sup.o represents the energy consumption of mobile edge computing, β.sub.n.sup.T represents the latency weight factor, and β.sub.n.sup.E represents the energy consumption weight factor.
(63) 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:
(64)
(65) where a*.sub.n represents the optimal offloading decision,
(66)
represents the maximum communication time between the vehicle and the BS, R.sub.max represents the maximum communication coverage of the base station BS, D represents the vertical distance between the base station and the road, x.sub.n represents the initial position of the vehicle n on the road, v.sub.n represents the moving speed of the vehicle n,
(67)
represents the computing cost of local computing,
(68)
represents the computing cost of mobile edge computing, λ.sub.n represents the Lagrange multiplier corresponding to the latency constraint (1−a.sub.n)T.sub.n.sup.l+a.sub.nT.sub.n.sup.o≤T.sub.n,max, a.sub.n represents the decision variable, and T.sub.n,max represents the maximum tolerable latency.
(69) 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:
(70) when a*.sub.n=0, determining the optimal CPU frequency of the vehicle by the following formula:
(71)
(72) where f.sub.n,max.sup.l represents the maximum CPU frequency of the vehicle n, f.sub.n.sup.l* represents the optimal CPU frequency of the vehicle, β.sub.n.sup.T represents the latency weight parameter, λ.sub.n represents the Lagrange multiplier corresponding to the latency constraint, β.sub.n.sup.E represents the energy consumption weight factor, and k represents the effective switched capacitor coefficient,
(73) when a*.sub.n=1, the optimal transmit power of vehicle n is determined by the following formula:
(74)
(75) where p.sub.n,max represents the maximum transmit power of the vehicle n, {circumflex over (p)}.sub.n is the unique solution of the equation β.sub.n.sup.Et.sub.n.sup.ot−χ.sub.nφ′(p.sub.n,t.sub.n.sup.ot)=0, χ.sub.n represents the Lagrange multiplier corresponding to the constraint a.sub.nL.sub.n≤φ(p.sub.n, T.sub.n.sup.ot), φ(p.sub.n, t.sub.n.sup.ot)∫.sub.0.sup.t.sup.
(76)
(77) 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.
(78) Step 1051: the cost function is determined.
(79) The specific formula is as follows:
(80)
(81) where L.sub.n represents the data size of the task R.sub.n, C.sub.n represents the computational complexity of the task R.sub.n, β.sub.n.sup.T represents the latency weight factor, β.sub.n.sup.E represents the energy consumption weight factor, a*.sub.n represents the optimal offloading decision, f.sub.n.sup.l* represents the optimal CPU frequency of the vehicle, p*.sub.n represents the optimal transmit power of vehicle n, t.sub.n.sup.ot represents the task offloading time, and k represents the effective switched capacitor coefficient.
(82) Step 1052: the optimal offloading time of the vehicle is determined using a one-dimensional linear search method base on the cost function.
(83) The specific formula is as follows:
(84)
(85) where c.sub.n represents the maximum communication time between the vehicle and the BS, t.sub.n.sup.ot represents the task offloading time, and ζ(t.sub.n.sup.ot) represents the energy efficiency cost function for the vehicle to complete the calculation task.
(86)
(87) a module for calculating energy efficiency cost of local computing 201, which is configured to calculate the energy efficiency cost EEC of local computing;
(88) 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;
(89) 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;
(90) 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
(91) 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.
(92) In the present disclosure, the performance of the proposed energy-efficient optimized computing offloading strategy is verified by MATLAB software simulation.
(93) TABLE-US-00001 TABLE 1 Simulation parameter setting parameter 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.sub.n Initial position of the vehicle on the road (100, 400) m θ Path loss exponent 4 β.sub.0 Channel gain at the reference distance −30 dB W bandwidth 5 MHz σ.sup.2 Noise power −104 dBm p.sub.max maximum transmit power of the vehicle 23 dBm ν.sub.n moving speed of the vehicle 100 Km/h R.sub.max maximum communication coverage 500 m of the BS L.sub.n amount of data of the task 1 MB C.sub.n complexity of the task (200, 1200) cycles/bit f.sub.max.sup.l maximum computing capacity of 10 GHz the vehicle f.sup.o computing capacity of the MEC 50 GHz β.sub.n.sup.T Time delay weight 0.5 β.sub.n.sup.E Energy consumption weight 0.5
(94) 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.
(95) LE with fixed CPU frequency: it is of the local computing and the CPU frequency is fixed at f.sub.n.sup.l=0.7 f.sub.max.sup.l.
(96) 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).
(97) 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.sub.n.sup.l=0.7 f.sub.max.sup.l.
(98) 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.sub.n=p.sub.max.
(99) In order to analyze the convergence of the offloading decision and resource allocation algorithm,
(100)
(101)
(102)
(103)
(104) For different task data amounts, the present disclosure compares the energy consumption and task completion time of each scheme in
(105) 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.
(106) 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.