METHOD, SYSTEM, STORAGE MEDIUM AND APPLICATION FOR JOINT OPTIMIZATION OF RESOURCE ALLOCATION
20220231960 · 2022-07-21
Assignee
Inventors
Cpc classification
H04L43/0876
ELECTRICITY
H04L47/522
ELECTRICITY
H04N21/647
ELECTRICITY
H04W72/0453
ELECTRICITY
H04L47/726
ELECTRICITY
H04L41/0897
ELECTRICITY
H04L5/0098
ELECTRICITY
International classification
H04N21/647
ELECTRICITY
Abstract
A method for joint optimization of resource allocation includes: obtaining network data volumes of two services; obtaining queue statuses at a time t; computing sub-channel slices; computing a local CPU speed scaling, a user association, a sub-carrier assignment, and a power allocation of service 1; computing a user association, a video quality decision, and a sub-carrier assignment of service 2; obtaining an initial sub-carrier assignment and an initial power allocation; obtaining the user association; obtaining the power allocation and the sub-carrier assignment of service 1; obtaining the video quality decision; obtaining the sub-carrier assignment of service 2; obtaining an optimal data transmission rate and the user association to obtain a data rate allocation; and obtaining an optimal CPU speed scaling, an optimal user association, an optimal sub-carrier assignment, an optimal power allocation, an optimal video quality decision and an optimal sub-channel allocation.
Claims
1. A method for a joint optimization of a resource allocation, comprising: obtaining network data volumes of a first service and a second service; obtaining queue statuses at a time t; computing sub-channel slices; computing a local CPU speed scaling, a user association, a sub-carrier assignment, and a power allocation of the first service; computing a user association, a video quality decision, and a sub-carrier assignment of the second service; obtaining an initial sub-carrier assignment and an initial power allocation; obtaining the user association; obtaining the power allocation and the sub-carrier assignment of the first service; obtaining the video quality decision; obtaining the sub-carrier assignment of the second service; obtaining an optimal data transmission rate and the user association to obtain a data rate allocation; and obtaining an optimal CPU speed scaling, an optimal user association, an optimal sub-carrier assignment, an optimal power allocation, an optimal video quality decision, and an optimal sub-channel allocation.
2. The method according to claim 1, further comprising: step 1: obtaining the network data volumes of the first service and the second service, and storing the network data volumes in a queue Q.sub.1 and a queue Q.sub.2, respectively; step 2: obtaining a status of the queue Q.sub.1 and a status of the queue Q.sub.2 at the time t, respectively; step 3: computing the sub-channel slices N.sub.1(t.sub.k) and N.sub.2(t.sub.k); step 4: computing the local CPU speed scaling f.sub.1(t) and the user association y.sub.1(t) of the first service; step 5: computing the sub-carrier assignment ρ.sub.1(t) and the power allocation P.sub.1(t) of the first service; step 6: computing the user association y.sub.2(t), the video quality decision μ.sub.2(t), and the sub-carrier assignment ρ.sub.2(t) of the second service; step 7: updating the status of the queue Q.sub.1 and the status of the queue Q.sub.2; letting t=t+1, and if t is less than a total time, then executing step 2 again; step 8: setting h=0 and an algorithm accuracy ε>0; step 9: based on a user association Y.sub.0(t)=(y.sub.1(t), y.sub.2(t)), a power allocation P.sub.1.sup.0(t) and a video quality decision μ.sub.2.sup.0(t), assigning a sub-carrier assignment ρ.sub.1.sup.0(t) according to step 5, and assigning a sub-carrier assignment ρ.sub.2.sup.0(t) according to step 6; step 10: computing Φ.sub.0(N(t.sub.k)) based on f.sub.1(t), P.sub.1.sup.0(t), μ.sub.2.sup.0(t), p.sup.0(t), and Y.sub.0 (t); step 11: updating h=h+1; step 12: based on ρ.sup.h-1(t) and P.sub.1.sup.h-1(t)(μ.sub.2.sup.h-1(t)), associating a mobile device with a user association Y.sub.h(t)=y.sub.1.sup.h(t), y.sub.2.sup.h(t)); step 13: based on a user association y.sub.1.sup.h(t), obtaining a power allocation P.sub.1.sup.h(t) and a sub-carrier assignment ρ.sub.1.sup.h(t) according to step 5; step 14: based on y.sub.2.sup.h(t) and p.sub.2.sup.h-1(t), obtaining a video quality decision μ.sub.2.sup.h (t) according to step 6; step 15: based on y.sub.2.sup.h(t) and μ.sub.2.sup.h(t), assigning a sub-carrier assignment ρ.sub.2.sup.h(t) according to step 6; step 16: based on f.sub.1(t), P.sub.1.sup.h(t), μ.sub.2.sup.h(t), ρ.sup.h (t)=(ρ.sub.1.sup.h(t), ρ.sub.2.sup.h(t)), and Y.sub.h(t), computing Φ.sub.h (N(t.sub.k)) according to step 10, if Φ.sub.h(N(t.sub.k)) Φ.sub.h-1(N (t.sub.k))<ε, then obtaining the optimal CPU speed scaling, the optimal user association, the optimal sub-carrier assignment, the optimal power allocation, the optimal video quality decision, and the optimal sub-channel allocation; and if Φ.sub.h(N(t.sub.k))−Φ.sub.h-1(N(t.sub.k))≥ε, executing step 12 again.
3. The method according to claim 2, wherein the local CPU speed scaling in step 4 is expressed as:
4. The method according to claim 2, wherein the user association in step 4 is expressed as: y.sub.1,ib(t)=1, ∀i, b, t, wherein
is a number of edge servers, P.sub.1,ib.sup.Z(t) and P.sub.1,ib.sup.Z(t) are a transmit power from the mobile device i to an edge server b in a slot t and a transmit rate from the mobile device i to the edge server b in the slot t, respectively.
5. The method according to claim 2, wherein the sub-carrier assignment in step 5 is expressed as: Σ.sub.i∈Ω.sub.
6. The method according to claim 2, wherein the power allocation in step 5 is expressed as: Σ.sub.n.sub.
7. The method according to claim 2, wherein the video quality decision in step 6 is expressed as:
U.sub.i(μ.sub.2,i(t))=PSNR.sub.i(t)=β.sub.i log.sub.2(μ.sub.2,i(t)); wherein, Φ.sub.0(N(t.sub.k)) is given by
8. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the processor executes the following steps: obtaining network data volumes of a first service and a second service; obtaining queue statuses at a time t; computing sub-channel slices; computing a local CPU speed scaling, a user association, a sub-carrier assignment, and a power allocation of the first service; computing a user association, a video quality decision, and a sub-carrier assignment of the second service; obtaining an initial sub-carrier assignment and an initial power allocation; obtaining the user association; obtaining the power allocation and the sub-carrier assignment of the first service; obtaining the video quality decision; obtaining the sub-carrier assignment of the second service; obtaining an optimal data transmission rate and the user association to obtain a data rate allocation; and obtaining an optimal CPU speed scaling, an optimal user association, an optimal sub-carrier assignment, an optimal power allocation, an optimal video quality decision and an optimal sub-channel allocation.
9. A system for a joint optimization of a resource allocation for implementing the method according to claim 1, comprising: a data acquisition module, configured for obtaining the network data volumes of the first service and the second service, and obtaining the queue statuses at the time t; a data computation module, configured for computing the sub-channel slices, computing the local CPU speed scaling, the user association, the sub-carrier assignment, and the power allocation of the first service, computing the user association, the video quality decision, and the sub-carrier assignment of the second service, and obtaining the initial sub-carrier assignment and the initial power allocation; a data processing module, configured for obtaining the user association, obtaining the power allocation and the sub-carrier assignment of the first service, obtaining the video quality decision, obtaining the sub-carrier assignment of the second service, and obtaining the optimal data transmission rate and the user association to obtain the data rate allocation and the user association; and a data result output module, configured for obtaining the optimal CPU speed scaling, the optimal user association, the optimal sub-carrier assignment, the optimal power allocation, the optimal video quality decision and the optimal sub-channel allocation.
10. A mobile edge computing system for implementing the method according to claim 1.
11. The system according to claim 9, wherein the method further comprises: step 1: obtaining the network data volumes of the first service and the second service, and storing the network data volumes in a queue Q.sub.1 and a queue Q.sub.2, respectively; step 2: obtaining a status of the queue Q.sub.1 and a status of the queue Q.sub.2 at the time t, respectively; step 3: computing the sub-channel slices N.sub.1(t.sub.k) and N.sub.2(t.sub.k); step 4: computing the local CPU speed scaling f.sub.1(t) and the user association y.sub.1(t) of the first service; step 5: computing the sub-carrier assignment ρ.sub.1(t) and the power allocation P.sub.1(t) of the first service; step 6: computing the user association y.sub.2(t), the video quality decision μ.sub.2(t), and the sub-carrier assignment p.sub.2(t) of the second service; step 7: updating the status of the queue Q.sub.1 and the status of the queue Q.sub.2; letting t=t+1, and if t is less than a total time, then executing step 2 again; step 8: setting h=0 and an algorithm accuracy ε>0; step 9: based on a user association Y.sub.0(t)=(y.sub.1(t), y.sub.2(t)), a power allocation P.sub.1.sup.0(t) and a video quality decision μ.sub.2.sup.0(t), assigning a sub-carrier assignment ρ.sub.1.sup.0(t) according to step 5, and assigning a sub-carrier assignment ρ.sub.2.sup.0(t) according to step 6; step 10: computing Φ.sub.0(N(t.sub.k)) based on f.sub.1(t), P.sub.1.sup.0(t), μ.sub.2.sup.0(t), p.sup.0(t), and Y.sub.0(t); step 11: updating h=h+1; step 12: based on ρ.sup.h-1(t) and P.sub.1.sup.h-1(t)(μ.sub.2.sup.h-1(t)), associating a mobile device with a user association Y.sub.h(t)=(y.sub.1.sup.h(t), y.sub.2.sup.h(t)); step 13: based on a user association y.sub.1.sup.h(t), obtaining a power allocation P.sub.1.sup.h(t) and a sub-carrier assignment ρ.sub.1.sup.h(t) according to step 5; step 14: based on y.sub.2.sup.h(t) and ρ.sub.2.sup.h-1(t), obtaining a video quality decision μ.sub.2.sup.h(t) according to step 6; step 15: based on y.sub.2.sup.h(t) and μ.sub.2.sup.h(t), assigning a sub-carrier assignment ρ.sub.2.sup.h(t) according to step 6; step 16: based on f.sub.1(t), P.sub.1.sup.h(t), μ.sub.2.sup.h(t), ρ.sup.h(t)=(ρ.sub.1.sup.h(t), ρ.sub.2.sup.h(t)), and Y.sub.h(t), computing Φ.sub.h (N(t.sub.k)) according to step 10, if Φ.sub.h (N(t.sub.k)) Φ.sub.h-1(N (t.sub.k))<ε, then obtaining the optimal CPU speed scaling, the optimal user association, the optimal sub-carrier assignment, the optimal power allocation, the optimal video quality decision, and the optimal sub-channel allocation; and if Φ.sub.h(N(t.sub.k))−Φ.sub.h-1(N(t.sub.k))≥ε, executing step 12 again.
12. The system according to claim 11, wherein the local CPU speed scaling in step 4 is expressed as:
13. The system according to claim 11, wherein the user association in step 4 is expressed as: y.sub.1,ib(t)=1, ∀i, b, t, wherein
is a number of edge servers, P.sub.1,ib.sup.Z(t) and P.sub.1,ib.sup.Z(t) are a transmit power from the mobile device i to an edge server b in a slot t and a transmit rate from the mobile device i to the edge server b in the slot t, respectively.
14. The system according to claim 11, wherein the sub-carrier assignment in step 5 is expressed as: Σ.sub.i∈Ω.sub.
15. The system according to claim 11, wherein the power allocation in step 5 is expressed as: Σ.sub.n.sub.
16. The system according to claim 11, wherein the video quality decision in step 6 is expressed as:
U.sub.i(μ.sub.2,i(t))=PSNR.sub.i(t)=β.sub.i log.sub.2(μ.sub.2,i(t)); wherein, Φ.sub.0(N(t.sub.k)) is given by
17. The mobile edge computing system according to claim 10, wherein the method further comprises: step 1: obtaining the network data volumes of the first service and the second service, and storing the network data volumes in a queue Q.sub.1 and a queue Q.sub.2, respectively; step 2: obtaining a status of the queue Q.sub.1 and a status of the queue Q.sub.2 at the time t, respectively; step 3: computing the sub-channel slices N.sub.1 (t.sub.k) and N.sub.2(t.sub.k); step 4: computing the local CPU speed scaling f.sub.1 (t) and the user association y.sub.1(t) of the first service; step 5: computing the sub-carrier assignment ρ.sub.1 (t) and the power allocation P.sub.1(t) of the first service; step 6: computing the user association y.sub.2 (t), the video quality decision μ.sub.2(t), and the sub-carrier assignment ρ.sub.2 (t) of the second service; step 7: updating the status of the queue Q.sub.1 and the status of the queue Q.sub.2; letting t=t+1, and if t is less than a total time, then executing step 2 again; step 8: setting h=0 and an algorithm accuracy ε>0; step 9: based on a user association Y.sub.0(t)=(y.sub.1(t), y.sub.2(t)), a power allocation P.sub.1.sup.0(t) and a video quality decision μ.sub.2.sup.0(t), assigning a sub-carrier assignment ρ.sub.1.sup.0(t) according to step 5, and assigning a sub-carrier assignment ρ.sub.2.sup.0(t) according to step 6; step 10: computing Φ.sub.0(N(t.sub.k)) based on f.sub.1(t), P.sub.1.sup.0(t), μ.sub.2.sup.0(t), ρ.sup.0(t) and Y.sub.0(t); step 11: updating h=h+1; step 12: based on ρ.sup.h-1(t) and P.sub.1.sup.h-1(t)(μ.sub.2.sup.h-1(t)), associating a mobile device with a user association Y.sub.h(t)=(t), y.sub.1.sup.h(t), y.sub.2.sup.h(t)); step 13: based on a user association y.sub.1.sup.h(t), obtaining a power allocation P.sub.1.sup.h(t) and a sub-carrier assignment ρ.sub.1.sup.h(t) according to step 5; step 14: based on y.sub.2.sup.h(t) and ρ.sub.2.sup.h-1(t), obtaining a video quality decision μ.sub.2.sup.h(t) according to step 6; step 15: based on y.sub.2.sup.h and μ.sub.2.sup.h(t), assigning a sub-carrier assignment ρ.sub.2.sup.h(t) according to step 6; step 16: based on f.sub.1(t), P.sub.1.sup.h(t), μ.sub.2.sup.h(t), ρ.sup.h(t)=(ρ.sub.1.sup.h(t), ρ.sub.2.sup.h(t)), and Y.sub.h(t), computing Φ.sub.h(N(t.sub.k)) according to step 10, if Φ.sub.h(N(t.sub.k))−Φ.sub.h-1(N(t.sub.k))<ε, then obtaining the optimal CPU speed scaling, the optimal user association, the optimal sub-carrier assignment, the optimal power allocation, the optimal video quality decision, and the optimal sub-channel allocation; and if Φ.sub.h(N(t.sub.k))−Φ.sub.h-1(N(t.sub.k))≥ε, executing step 12 again.
18. The mobile edge computing system according to claim 17, wherein the local CPU speed scaling in step 4 is expressed as:
19. The mobile edge computing system according to claim 17, wherein the user association in step 4 is expressed as: y.sub.1,ib(t)=1, ∀i, b, t, wherein
is a number of edge servers, P.sub.1,ib.sup.Z(t) and P.sub.1,ib.sup.Z(t) are a transmit power from the mobile device i to an edge server b in a slot t and a transmit rate from the mobile device i to the edge server b in the slot t, respectively.
20. The mobile edge computing system according to claim 17, wherein the sub-carrier assignment in step 5 is expressed as: Σ.sub.i∈Ω.sub.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to explain the technical solutions of the embodiments of the present invention more clearly, the drawings used in the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0048]
[0049]
[0050] In
[0051]
[0052]
[0053]
[0054]
[0055]
[0056]
[0057]
[0058]
[0059]
[0060]
DETAILED DESCRIPTION OF THE EMBODIMENTS
[0061] In order to make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention.
[0062] In view of the problems identified in the prior art, the present invention provides a method, system, storage medium and application for joint optimization of resource allocation by employing a dynamic sub-channel allocation and resource allocation (DSARA) algorithm, a successive convex approximation (SCA)-based power allocation and sub-carrier assignment algorithm, a sub-channel allocation algorithm, and a resource allocation algorithm with a given sub-channel allocation strategy. Among them, the DSARA algorithm executes the following steps: obtaining the local CPU speed scaling, the sub-carrier assignment, the power allocation, the user association, and the video quality decision. The present invention will be described in detail below in conjunction with the drawings.
[0063] As shown in
[0064] S101: network data volumes of two services are obtained and stored in queues, respectively;
[0065] S102: statuses of the queues at the time t are obtained, respectively;
[0066] S103: sub-channel slices are computed;
[0067] S104: the local CPU speed scaling and the user association of service 1 are computed;
[0068] S105: the sub-carrier assignment and the power allocation of service 1 are computed;
[0069] S106: the user association, the video quality decision, and the sub-carrier assignment of service 2 are computed;
[0070] S107: the statuses of the queues are updated; letting t=t+1, and if t is less than a total time, then step S102 is executed again;
[0071] S108: h=0 and an algorithm accuracy ε>0 are set;
[0072] S109: the initial sub-carrier assignment and the initial power allocation (video quality decision) are obtained; the user association is obtained; a computation is performed to obtain the power allocation and the sub-carrier assignment of service 1; a computation is performed to obtain the video quality decision; a computation is performed to obtain the sub-carrier assignment of service 2; if the 2-norm of the dual variables is less than the accuracy, then the optimal data transmission rate and the user association are obtained to obtain the data rate allocation and the user association;
[0073] S110: the optimal CPU speed scaling, the optimal user association, the optimal sub-carrier assignment, the optimal power allocation, the optimal video quality decision and the optimal sub-channel allocation are obtained.
[0074] Those of ordinary skill in the art can also implement the method for joint optimization of resource allocation of the present invention by using other steps.
[0075] As shown in
[0076] the data acquisition module 1, configured for obtaining network data volumes of two services, and obtaining queue statuses at a time t;
[0077] the data computation module 2, configured for computing sub-channel slices, computing a local CPU speed scaling, a user association, a sub-carrier assignment, and a power allocation of service 1, computing a user association, a video quality decision, and a sub-carrier assignment of service 2, and obtaining an initial sub-carrier assignment and an initial power allocation;
[0078] the data processing module 3, configured for obtaining the user association, obtaining the power allocation and the sub-carrier assignment of service 1, obtaining the video quality decision, obtaining the sub-carrier assignment of service 2, and obtaining an optimal data transmission rate and the user association to obtain a data rate allocation; and
[0079] the data result output module 4, configured for obtaining an optimal CPU speed scaling, an optimal user association, an optimal sub-carrier assignment, an optimal power allocation, an optimal video quality decision and an optimal sub-channel allocation.
[0080] The technical solutions of the present invention will be further described below in conjunction with the drawings.
[0081] ={1, . . . , B} single-antenna base stations (BSs) with MEC servers. All base stations are connected via wired links. Let B={1, . . . , B} denotes a set of the BSs. In the present invention, a pre-configured server caches some video contents for being downloaded by the mobile devices. According to service requirements, the mobile devices can be divided into two categories, which are denoted as sets Ω.sub.A={1, 2, . . . , M.sub.1} and Ω.sub.B={1, 2, . . . , M.sub.2}. In the present invention, assuming that the mobile devices in service 1 have relatively weak computing power and cannot meet the requirements of computationally-intensive applications, then the mobile devices in service 1 need to offload some or all of the data to the MEC server through uplink transmission. The mobile devices in service 2 are capable of downloading the video data from the MEC server through downlink transmission, and are capable of controlling the video quality according to network conditions.
[0082] As shown in
[0083] step 1: obtaining the network data volumes of service 1 and service 2, and storing the network data volumes in a queue Q.sub.1 and a queue Q.sub.2, respectively;
[0084] step 2: obtaining a status of the queue Q.sub.1 and a status of the queue Q.sub.2 at the time t, respectively;
[0085] step 3: computing the sub-channel slices N.sub.1 (t.sub.k) and N.sub.2(t.sub.k);
[0086] step 4: computing the local CPU speed scaling f.sub.1 (t) and the user association (t) of service 1;
[0087] step 5: computing the sub-carrier assignment p.sub.1 (t) and the power allocation P.sub.1(t) of service 1;
[0088] step 6: computing the user association y.sub.2 (t), the video quality decision μ.sub.2(t), and the sub-carrier assignment p.sub.2 (t) of service 2;
[0089] step 7: updating the status of the queue Q.sub.1 and the status of the queue Q.sub.2; letting t=t+1, and if t is less than a total time, then executing step 2 again;
[0090] step 8: setting h=0 and an algorithm accuracy ε>0;
[0091] step 9: based on a user association Y.sub.0 (t)=(y.sub.1(t),y.sub.2(t)), a power allocation P.sub.1.sup.0(t) and a video quality decision μ.sub.2.sup.0(t), assigning a sub-carrier assignment p.sub.1.sup.0(t) according to step 5, and assigning a sub-carrier assignment ρ.sub.2.sup.0(t) according to step 6;
[0092] step 10: computing Φ.sub.0(N(t.sub.k)) based on f.sub.1(t), P.sub.1.sup.0(t), μ.sub.2.sup.0(t), p.sup.0(t), and Y.sub.0(t);
[0093] step 11: updating h=h+1;
[0094] step 12: based on ρ.sup.h-1(t) and P.sub.1.sup.h-1(t)(μ.sub.2.sup.h-1(t)), associating a mobile device with a user association Y.sub.h(t)=(y.sub.1.sup.h(t), y.sub.2.sup.h(t));
[0095] step 13: based on a user association y.sub.1.sup.h(t), obtaining a power allocation P.sub.1.sup.h(t) and a sub-carrier assignment ρ.sub.1.sup.h(t) according to step 5;
[0096] step 14: based on y.sub.2.sup.h(t), obtaining a video quality decision μ.sub.2.sup.h(t) according to step 6;
[0097] step 15: based on y.sub.2.sup.h(t) and μ.sub.2.sup.h(t), assigning a sub-carrier assignment ρ.sub.2.sup.h(t) according to step 6;
[0098] step 16: based on f.sub.1(t), P.sub.1.sup.h(t), μ.sub.2.sup.h(t), ρ.sup.h(t)=(ρ.sub.1.sup.h(t), p.sub.2.sup.h(t)), and Y.sub.h(t), computing Φ.sub.h(N (t.sub.k)) according to step 10, if Φ.sub.h(N(t.sub.k))−Φ.sub.h-1(N(t.sub.k))<ε, then obtaining the optimal CPU speed scaling, the optimal user association, the optimal sub-carrier assignment, the optimal power allocation, the optimal video quality decision, and the optimal sub-channel allocation; and if Φ.sub.h(N(t.sub.k))−Φ.sub.h-1(N(t.sub.k))≥ε, executing step 12 again.
[0099] In a preferred embodiment of the present invention, the local CPU speed scaling in step 4 is expressed as:
[0100] wherein, 0≤f.sub.1,i(t)≤f.sub.1,i.sup.max, ∀i∈Ω.sub.A, t, f.sub.1,i.sup.max is a maximum CPU clock speed of the mobile device i for service 1, τ is a time slot length, P.sub.1,mask.sup.l denotes a maximum transmit power of the mobile device i for service 1, L.sub.i denotes a processing density of the mobile device i, in CPU cycles/bit, V is a control parameter, and k.sub.i is an effective switched capacitance of the mobile device i.
[0101] In a preferred embodiment of the present invention, the user association in step 4 is expressed as:
[0102] wherein, y.sub.1,ib(t) ∈{0, 1}, ∀1, b, t, y.sub.1,ib(t)=1, ∀i, b, t, wherein
is a number of edge servers, P.sub.1,ib.sup.Z(t) and P.sub.1,ib.sup.Z(t) are a transmit power from the mobile device i to an edge server b in a slot t and a transmit rate from the mobile device i to the edge server b in the slot t, respectively.
[0103] In a preferred embodiment of the present invention, the sub-carrier assignment in step 5 is expressed as:
[0104] wherein w.sub.1,ib.sup.n.sup.Σ.sub.ieQ.sub.
v(t) is a parameter related to the sub-carrier assignment p.sub.1(t), m is an index of iteration, and f(•) is a Taylor expansion with respect to v(t).
[0105] In a preferred embodiment of the present invention, the power allocation in step 5 is expressed as:
[0106] wherein, Σ.sub.n.sub.
[0107] In a preferred embodiment of the present invention, the video quality decision in step 6 is expressed as:
[0108] wherein, μ.sub.2,i.sup.mask corresponds to a service quality level U.sub.k expressed as:
U.sub.i(μ.sub.2,i(t))=PSNR.sub.i(t)=β.sub.i log.sub.2(μ.sub.2,i(t));
[0109] wherein, Φ.sub.0(N(t.sub.k)) is given by
[0110] The present invention proposes a framework for allocation of wireless and computing resources for a mobile edge computing system oriented to multiple types of services, and investigates the performance of the MEC system when oriented to multiple services and proposes efficient algorithms. Therefore, the method based on the dynamic sub-channel slicing and resource allocation can solve the problem that the MEC system has low overall performance when oriented to multiple services simultaneously, thereby further improving the performance of the system. From the comparison between the mobile edge computing system oriented to multiple types of services of the present invention and the prior solutions based on a mobile edge computing system oriented to multiple types of services, it can be found that the dynamic sub-channel slicing and resource allocation method proposed by the present invention is easy to operate and is conducive to optimizing the network and improving the performance of the system.
[0111] The technical effects of the present invention will be described in detail below in conjunction with a simulation.
[0112] In the present invention, a network topology composed of one macro base station and five micro base stations is simulated, and has a scattering area of 1*1 km.sup.2. The wireless channel is modeled as a frequency-selective channel, composed of twelve independent Rayleigh multipaths. The power of the components of the twelve multipaths is [0, −1.5, −4.0, −4.5, −3.5, −5, −8.0, −6.0, −8.5, −11.6, −12.2, −13.5] decibels. This simulation is based on a montecarlo simulation in Matlab simulator. The simulation produces the relevant data simulation results as shown in
[0113] JONCUSP: This solution is the same as the solution proposed by the present invention, except that it has a fixed video quality decision of service 2.
[0114] LNUSP: All computational tasks in this solution are executed locally for service 1.
[0115] FNUSP: This solution completely offloads tasks to service 1.
[0116] FS-JOCUSPU: This solution performs a joint optimization of the local CPU speed scaling, the user association, the sub-carrier assignment and the power allocation of service 1, and performs a joint optimization of the user association, the sub-carrier assignment and the video quality decision (each sub-channel slice is fixed) of service 2.
[0117]
[0118]
[0119] It should be noted that the embodiments of the present invention can be implemented by hardware, software, or a combination of software and hardware. The hardware part can be implemented by dedicated logic. The software part can be stored in a memory, and the system can be executed by appropriate instructions, for example, the system can be executed by a microprocessor or dedicated hardware. Those of ordinary skill in the art can understand that the above-mentioned devices and methods can be implemented by using computer-executable instructions and/or control codes included in a processor. Such codes are provided, for example, on a carrier medium such as a magnetic disk, compact disc (CD) or digital video disk read-only memory (DVD-ROM), a programmable memory such as a read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. The device and its modules of the present invention can be implemented by very large-scale integrated circuits or gate arrays, semiconductors such as logic chips and transistors, or programmable hardware devices such as field programmable gate arrays and programmable logic devices, and other hardware circuits. Optionally, the device and its modules of the present invention can be implemented by software executed by various types of processors, or can be implemented by a combination of the hardware circuit and the software as mentioned above, such as firmware.
[0120] The above only describes the specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications, equivalent replacements, improvements and others made by any person skilled in the art within the technical scope disclosed in the present invention and the spirit and principle of the present invention shall fall within the scope of protection of the present invention.