A RIS-assisted NOMA edge computing dynamic task transmission power allocation method
By introducing RIS and NOMA technology into the MEC system, combined with the MDP model and DDQN algorithm, the task transmission power allocation is optimized, the power consumption and delay problems in dynamic task transmission are solved, and the system cost is minimized and the user experience is improved.
Patent Information
- Application Number
- CN202310553022.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-17
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2043-05-17
AI Technical Summary
Existing MEC systems fail to effectively minimize power consumption and buffering delays in dynamic task transmission, resulting in a decline in user experience quality, and fail to fully utilize the complementary features of RIS and NOMA technologies.
The RIS-assisted NOMA edge computing dynamic task transmission power allocation method is adopted. By constructing the MDP model and DDQN algorithm, the transmission power allocation on the UE side is optimized, the user task queue constraints are considered, the channel gain is adjusted using RIS, and local computing and edge computing are combined to achieve Dynamic power allocation for task delivery.
It significantly reduces the total cost of system users, improves the efficiency and stability of communication links, finds the global optimal solution, and improves the quality of user experience.
Smart Images

Figure CN116528364B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of edge computing technology, and specifically relates to a NOMA edge computing dynamic task transmission power allocation method based on RIS assistance. Background Art
[0002] The 6G Wireless Summit’s vision statement encapsulates the essence of 6G as “wireless intelligence everywhere.” The proliferation of applications is expected to result in a large number of computing-intensive tasks, such as face recognition, virtual / augmented reality, and online artificial intelligence. However, the limited computing resources of devices may lead to a degraded quality of user experience.
[0003] It is not feasible to transfer all local data to the cloud for training and processing. To address this problem, Mobile Edge Computing (MEC) provides new opportunities to perform tasks with low latency and low energy requirements by enhancing the computing power of the Radio Access Network (RAN).
[0004] In addition, among the emerging technologies of 6G, reconfigurable smart surface (RIS) has become an innovative technology for future communication systems. RIS is a new type of artificial electromagnetic surface that can improve the spatial efficiency of the spectrum and significantly change the channel conditions of the MEC system. In addition, non-orthogonal multiple access (NOMA) is considered to be a key radio access technology in the upcoming 6G era, enabling users to reuse the same frequency domain resources, thereby saving energy and spectrum resources. The MEC system based on noma is superior to the MEC system based on orthogonal multiple access (OMA) in terms of effective delay and energy saving.
[0005] However, existing studies do not take into account the dynamics of the transmission problem, i.e., the randomness of task arrival, and do not minimize the long-term average network computation cost in terms of power consumption and buffering delay. Summary of the invention
[0006] In order to solve the problems existing in the background technology, the present invention provides a RIS-assisted NOMA edge computing dynamic task transmission power allocation method. In the RIS-assisted NOMA edge computing dynamic task transmission scenario, a dynamic task transmission power allocation scheme considering user task queue constraints is used to minimize the total cost of system users, including the following steps:
[0007] S1: Construct a RIS-NOMA edge computing task transmission system, which includes: an AP equipped with M antennas and MEC servers, K single-antenna UEs, and a RIS with N reflective elements; the channel gain between the AP and each UE is changed by controlling the phase shift of the RIS; each UE divides the computing task into a local computing task and an edge computing task; each UE uses uplink NOMA to simultaneously transmit the edge computing task to the AP through the UE-RIS-AP link and the UE-AP link, and the AP receives the superimposed signal, decodes it using the SIC technology, and performs edge computing;
[0008] S2: Build a queuing model based on the arrival and processing of dynamic tasks on the UE, and establish the total cost expression on the UE side under the constraint of queue length;
[0009] S3: Use penalty theory to add penalty factors to convert queue constraints into stability expressions to construct a stable expression for the total cost at the UE end;
[0010] S4: The RIS-NOMA edge computing task transmission process is modeled according to the Markov decision process to obtain the MDP model based on RIS-NOMA edge computing task transmission;
[0011] S5: According to the MDP model based on RIS-NOMA edge computing task transmission, the DDQN algorithm is used to calculate the optimal UE transmission power allocation scheme with the goal of minimizing the total cost on the UE side.
[0012] Further, the AP receiving the superposition signal includes:
[0013]
[0014] in, is the transmission power of the kth UE, is a transmission signal with zero mean and unit variance, σ 2 is the additive white Gaussian noise at the AP end with noise power, I M is an M×M unit vector matrix, representing represents the channel gain coefficient from the kth UE to the RIS, represents the channel gain coefficient from the kth UE to the AP, G represents the channel gain coefficient from the RIS to the AP, Θ t Represents the reflection coefficient matrix of RIS.
[0015] Furthermore, the constructing of the queuing model includes:
[0016] S21: adjusting the voltage of the UE chip to control the CPU frequency of the UE;
[0017]
[0018] Where g is the effective switch capacitance, represents the local computation power of the kth UE;
[0019] S22: Calculate the number of task bits calculated locally by the UE in a single time slot according to the CPU frequency of the UE and the number of CPU cycles required for the UE to process one bit of task data;
[0020]
[0021] in, represents the number of task bits calculated locally by the kth UE in the tth time slot, L k represents the number of CPU cycles required for the kth UE to process one bit of task data, τ0 represents the length of a single time slot, Indicates the CPU frequency of user k
[0022] S23: Calculate the number of task bits transmitted from the UE to the AP in a single time slot according to the data transmission rate of the UE in the RIS-NOMA edge computing task transmission system;
[0023]
[0024] in, represents the data transmission rate of the kth UE, Indicates the number of task bits transmitted from the kth UE to the AP in the tth time slot;
[0025] S24: Build a queuing model according to the number of task bits calculated locally by the UE in a single time slot and the number of task bits transmitted to the AP.
[0026] Furthermore, the queuing model includes:
[0027]
[0028]
[0029] in, represents the length of the task queue in the t+1th time slot, represents the number of task bits arriving at user k during time slot t, Represents the total number of task bits processed during time slot t.
[0030] Furthermore, the data transmission rate of the UE in the RIS-NOMA edge computing task transmission system includes:
[0031]
[0032]
[0033]
[0034] Where B represents the bandwidth of the system, represents the signal-to-noise ratio of the kth UE in time slot t, is the beamforming vector, σ 2 is the noise power, is the transmission power of the kth UE, is the total channel gain of the kth UE in time slot t.
[0035] Furthermore, the UE-side total cost expression includes:
[0036]
[0037]
[0038] Among them, ω1∈[0,1] and ω2∈[0,1] are non-negative weight coefficients and satisfy ω1+ω2=1, T represents the maximum time slot value, that is, t∈{1,...,T}, C k Represents the total cost expression of the UE side, Indicates the predefined average queue length value. For all UEs, the average queue length does not exceed is the transmission power of the kth UE, represents the local calculation power of the kth UE.
[0039] Furthermore, the UE-side total cost stability expression includes:
[0040]
[0041]
[0042] in, V1 is represented as a weighted parameter, which is used to control the influence of queue stability. Represents a virtual queue. The average rate stability of the virtual queue is equivalent to the degree to which the queue length constraint is satisfied.
[0043] Furthermore, the MDP model III based on RIS-NOMA edge computing task transmission includes: in, Symbolizes the state space, is the action space, Indicates reward, is the state transition probability;
[0044] State Space
[0045]
[0046] in, Indicates the channel status, Indicates the number of bits of user queue task data;
[0047] Action Space
[0048]
[0049] in, Represents the local computing power set Represents the task transmission power set represents the phase shift set of the passive phase shifter
[0050] award
[0051]
[0052] Among them, C′ k It represents the stable expression of the total cost at the UE end;
[0053] State transition probability: Assume Represents the state transition probability, that is, given a state s t and the selected action a t After reaching state s t+1 The probability distribution of .
[0054] Furthermore, the method of calculating the optimal user power allocation scheme using the DDQN algorithm includes:
[0055] S51: Specify the reward decay factor γ, randomly initialize the parameters of the Q network, construct the target network Q' required by the DDQN method, the network structure and network parameters of the target network Q' are the same as those of the Q network, specify the update step size J of the target network Q'; specify the number of samples W per batch of experience replay gradient batch descent, clear the experience replay collection D; specify the exploration rate ε;
[0056] S52: Initialize the system environment and assign the initialized environment state vector to the current environment state s t ;
[0057] S53: The current environment state st As the input vector, we input it into the Q network and get all The corresponding output Q(s t ,a); Use the ε-greedy strategy to select action a in the output t , ε-greedy strategy:
[0058]
[0059] π represents the policy function;
[0060] S54: variable s in the current environment state t Next, perform action a t , convert the environment state and get the state s after the action is executed t and the reward feedback r during action execution t , the excessive sequence (s t ,a t ,r t ,s t+1 ) is stored in the experience replay collection D;
[0061] S55: Use the mean square error loss function and the stochastic gradient descent method to update the Q neural network parameters;
[0062] S56: According to the DDQN method process, after each J rounds of iteration, the target network Q' network is updated to the Q network, that is, the network parameters are updated;
[0063] S57: The state after the action is executed is s t+1 Assign to the current environment state s t , go to step S53 for the next round of iteration.
[0064] Furthermore, the mean square error loss function is as follows:
[0065]
[0066] Among them, Loss(θ) represents the loss function, θ t represents the Q neural network parameters, θ t- represents the network parameters of the target network Q' network, Indicates that in the Q network with state s t The action associated with the maximum value of Q.
[0067] The present invention has at least the following beneficial effects
[0068] The ultimate goal of this invention is to provide a dynamic task transmission power allocation scheme that considers the user task queue constraints in the scenario of adding RIS and NOMA technologies to minimize the total cost of system users. The proposed scheme is based on the DDQN framework, combined with an environment with RIS-NOMA characteristics, and updates the neural network parameters through iterative training, and finally obtains the optimal power allocation strategy to guide task transmission under different circumstances.
[0069] Compared with the prior art, the present invention has the following significant advantages: 1) the complementary characteristics of RIS and NOMA technologies are utilized to improve the problem of imperfect communication links in the MEC system; 2) the task queue is modeled, and the dynamics in the edge computing scenario are considered to make the method closer to the actual optimal solution; 3) a task transmission power allocation algorithm based on DDQN is proposed, which not only has high convergence accuracy and strong stability, but also makes it easier to find the global optimal solution that minimizes user costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] Figure 1 is a flow chart of the method of the present invention;
[0071] Figure 2 Transmitting system diagram for RIS-NOMA edge computing tasks;
[0072] Figure 3 Flowchart of the power allocation algorithm for DDQN-based task transmission. DETAILED DESCRIPTION
[0073] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the illustrations provided in the following embodiments only illustrate the basic concept of the present invention in a schematic manner, and the following embodiments and features in the embodiments can be combined with each other without conflict.
[0074] Among them, the drawings are only used for illustrative explanations, and they only represent schematic diagrams rather than actual pictures, and should not be understood as limitations on the present invention. In order to better illustrate the embodiments of the present invention, some parts of the drawings may be omitted, enlarged or reduced, and do not represent the size of actual products. For those skilled in the art, it is understandable that some well-known structures and their descriptions in the drawings may be omitted.
[0075] The same or similar numbers in the drawings of the embodiments of the present invention correspond to the same or similar parts; in the description of the present invention, it should be understood that if the terms "upper", "lower", "left", "right", "front", "rear", etc. indicate the orientation or position relationship, they are based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation. Therefore, the terms describing the position relationship in the drawings are only used for illustrative purposes and cannot be understood as limiting the present invention. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to specific circumstances.
[0076] See also Figure 1 , the present invention provides a NOMA edge computing dynamic task transmission power allocation method based on RIS assistance, comprising the following steps:
[0077] S1: Construct a RIS-NOMA edge computing task transmission system, which includes: an AP equipped with M antennas and MEC servers, K single-antenna UEs (user terminals), and a RIS with N reflective elements; the channel gain between the AP and each UE is changed by controlling the phase shift of the RIS; each UE divides the computing task into a local computing task and an edge computing task; each UE uses uplink NOMA to simultaneously transmit the edge computing task to the AP through the UE-RIS-AP link and the UE-AP link, and the AP receives the superimposed signal, decodes it using the SIC technology, and performs edge computing;
[0078] The RIS-NOMA edge computing task transmission system proposed in this invention operates in a single-region scenario, such as Figure 2 As shown. In the system, there is an AP (access point device) equipped with M antennas and a MEC server, which communicates with K single-antenna UEs (user end devices). Each UE generates intensive computing tasks and uses partial transmission mode to transmit part of the computing tasks to the MEC server, and a RIS containing N reflective elements to facilitate the transmission of UE computing tasks by generating passive beams coordinated by the RIS controller. In this model, the time gap length is τ0, and the time slot
[0079] The constructed system model includes:
[0080] Communication model: In this system, RIS is used to enhance the performance of the network. The reflection coefficient matrix of RIS is defined as Where j is the imaginary unit, and They represent the phase shift and amplitude reflection coefficient of the nth element of RIS in time slot t respectively.
[0081] set up For all time slots t, the signal reflection is maximized. They represent the channel gain coefficients from the kth UE to the RIS, from the kth UE to the AP, and from the RIS to the AP in the t time slot. The direct link channel gain from the UE to the BS is represented by Rice fading, as shown in the following formula:
[0082]
[0083]
[0084] Among them, δ1 is the path loss index, d is the distance from UE to AP, R∈[0,+∞) is the Rice coefficient, and the channel gain represents the determined line-of-sight link component, Obeys Rayleigh distribution, similarly, other channels follow Rician fading models with different Rician coefficients and path loss exponents. These gains are independent and identically distributed, and they all obey
[0085] In this system, all K UEs simultaneously transmit computing tasks to the AP via uplink NOMA.
[0086] Preferably, the AP receiving the superposition signal comprises:
[0087]
[0088] in, is the transmission power of the kth UE, is a transmission signal with zero mean and unit variance, σ 2 is the additive white Gaussian noise at the AP end with noise power, I M is an M×M unit vector matrix, representing represents the channel gain coefficient from the kth UE to the RIS, represents the channel gain coefficient from the kth UE to the AP, G represents the channel gain coefficient from the RIS to the AP, Θ t Represents the reflection coefficient matrix of RIS.
[0089] After satisfying The beamforming vector After processing, the estimated signal transmitted by the kth UE to the AP in time slot t can be expressed as:
[0090]
[0091] When the AP receives the superimposed signal, it uses SIC technology to decode it. For the uplink NOMA system, the SIC decoding order is always from users with better channel environment to users with worse channel environment, where the signals of users with worse channel environment are regarded as NOMA interference. In order to facilitate processing and reduce overhead, a fixed decoding order is adopted according to the average channel gain. Without loss of generality, it is assumed that the distance between users Indicates that the signal is decoded from UEK to UE1, that is, when decoding the signal of user k, all other UEs (1,…, k-1) are regarded as interference. Therefore, the effective received signal of the kth UE is:
[0092]
[0093] in, The interference signal is the remaining interference after successively eliminating the decoded signals of users k+1 to I.
[0094] Therefore, the data transmission rate of UE in the RIS-NOMA edge computing task transmission system is expressed as:
[0095]
[0096]
[0097] Where B represents the bandwidth of the system, represents the signal-to-noise ratio of the kth UE in time slot t, is the beamforming vector, σ 2 is the noise power, is the transmission power of the kth UE, is the total channel gain of the kth UE in time slot t.
[0098] Computational Model
[0099] The tasks of each UE are partitioned for parallel execution. That is, part of the task is calculated locally, while the other part is simultaneously transmitted to the MEC server and edge computed.
[0100] Local computing: First, by utilizing dynamic voltage and frequency, the voltage of the UE chip can be adjusted as needed to control the CPU frequency of the UE:
[0101]
[0102] Where g is the effective switch capacitance, represents the local computing power of the kth UE. represents the maximum local calculation power of the kth UE.
[0103] Then, L k It represents the number of CPU cycles required for user k to process one bit of task data, which can be estimated through offline measurement. This is to assume that the computing tasks between users are different, but each user k only processes one type of computing task. Therefore, the number of task bits calculated locally by the UE in a single time slot can be calculated:
[0104]
[0105] in, represents the number of task bits calculated locally by the kth UE in the tth time slot, L k represents the number of CPU cycles required for the kth UE to process one bit of task data, τ0 represents the length of a single time slot, Indicates the CPU frequency of user k.
[0106] Edge computing: Edge servers usually have sufficient computing resources to process multiple computing tasks in parallel. In addition, considering that the number of data bits transmitted from all UEs to the server in a time slot is also limited, it is reasonable to assume that the delay in processing these computing tasks on the edge server is negligible. Therefore, the number of task bits transmitted from the UE to the AP in a single time slot is expressed as:
[0107]
[0108] in, represents the data transmission rate of the kth UE, Indicates the number of task bits transmitted from the kth UE to the AP in the tth time slot.
[0109] S2: Build a queuing model based on the arrival and processing of dynamic tasks on the UE, and establish the total cost expression on the UE side under the constraint of queue length;
[0110] Construct a queue model: For each time slot pass represents the number of task bits arriving at user k during time slot t, assuming it is independent and identically distributed over all time slots. At the end of time slot t, all arriving tasks are added to the user's task queue buffer and then processed in the next time slot. In addition, the computational tasks of the application are fine-grained, which means that the data of each task can be partially executed on the local device while transmitting another part to the edge server. During time slot t, we use d L t ,k and d t O,krepresents the number of task bits for local computation and transmission, where “L” and “O” represent “local” and “transmission” respectively. At the end of time slot t, the total number of task bits removed from the task queue is It will not exceed the initial queue length for that time slot At the same time, new tasks Arrives at the task queue. Therefore, the queuing model is expressed by the following formula:
[0111]
[0112] in, represents the length of the task queue in the t+1th time slot, represents the number of task bits arriving at user k during time slot t, Represents the total number of task bits processed during time slot t.
[0113] In the proposed RIS-assisted NOMA edge computing dynamic task transmission system, only the energy consumed by local computing and computing transmission is considered from the user's perspective, while the energy consumed by the MEC server is ignored. Since the MEC server is usually powered by a cable, it always has enough power to perform computing tasks. The total cost expression on the UE side is as follows:
[0114]
[0115] Among them, ω1∈[0,1] and ω2∈[0,1] are non-negative weight coefficients and satisfy ω1+ω2=1.
[0116] Therefore, the objective to be achieved by the method of the present invention can be expressed as follows: There are constraints on the queue length It means that for all UEs, the average queue length does not exceed the predefined value
[0117] S3: Use penalty theory to add penalty factors to convert queue constraints into stability expressions to construct a stable expression for the total cost at the UE end;
[0118] The steps involved in constructing a stable expression for the total cost on the UE side are as follows:
[0119] Define virtual queues: To handle long-term constraints on queues, they need to be converted into stability expressions and added to targets. The average rate stability of a virtual queue is equivalent to the degree to which the queue length constraint is satisfied. First, formulate a virtual queue:
[0120]
[0121] In addition to satisfying queue stability, in order to consider the cost defined in the objective expression of the proposed method, a related random "penalty" process needs to be added to penalize the cost of UEs that exceed the predetermined average queue length, so a cost penalty factor is added to solve the transformation of this problem. The cost penalty factor is defined as:
[0122]
[0123] in, Indicates the predefined average queue length value. For all UEs, the average queue length does not exceed
[0124] Therefore, the stable expression of the total cost at the UE end is as follows:
[0125]
[0126] The objective expression of the proposed method can be reformulated as
[0127] S4: The RIS-NOMA edge computing task transmission process is modeled according to the Markov decision process to obtain the MDP model based on RIS-NOMA edge computing task transmission;
[0128] The MDP model consists of a four-tuple Composition, of which Symbolizes the state space, is the action space, Indicates reward, is the state transition probability. At the beginning of each cycle, the agent first observes the system state Then choose the action according to the policy function π After the action is executed, the environment will change according to the state transition probability Transition to next state s t+1 and reward In order to adapt the MDP to the proposed method, we regard the RIS-assisted MEC communication system in the NOMA environment as the environment, and the elements of the MDP are described as follows:
[0129] State Space
[0130]
[0131] in, Indicates the channel status, Indicates the number of bits of task data in the user queue.
[0132] Action Space
[0133]
[0134] in, Represents the local computing power set Represents the task transmission power set represents the phase shift set of the passive phase shifter
[0135] Reward function: Reward refers to the immediate feedback for a given state-action pair. In this paper, we aim to improve network performance in terms of power consumption and latency. The specific goal is to minimize the weighted sum of power consumption and latency. However, the original intention of MDP is to maximize the long-term return of the system. Therefore, the reward is considered as the maximization of the negative value of the objective expression of the proposed method:
[0136] award
[0137]
[0138] Among them, C′ k The total cost stability expression of UE is:
[0139] State transition probability: Assume Represents the state transition probability, that is, given a state s t and the selected action a t After reaching state s t+1 When the prior knowledge of state transition probability is unknown, Will be determined by the environment, the transition probability in this system is mainly expressed by the randomness of the task arrival amount.
[0140] S5: Based on the MDP model based on RIS-NOMA edge computing task transmission, the DDQN algorithm is used to calculate the optimal user power allocation solution with the goal of minimizing the total cost at the UE end;
[0141] Preferably, the optimal user power allocation scheme calculated by using the DDQN algorithm includes:
[0142] S51: Specify the reward decay factor γ, randomly initialize the parameters of the Q network, construct the target network Q' required by the DDQN method, the network structure and network parameters of the target network Q' are the same as those of the Q network, specify the update step size J of the target network Q'; specify the number of samples W per batch of experience replay gradient batch descent, clear the experience replay collection D; specify the exploration rate ε;
[0143] S52: Initialize the system environment and assign the initialized environment state vector to the current environment state s t;
[0144] S53: The current environment state s t As the input vector, we input it into the Q network and get all The corresponding output Q(s t ,a); Use the ε-greedy strategy to select action a in the output t , ε-greedy strategy:
[0145]
[0146] π represents the policy function;
[0147] S54: variable s in the current environment state t Next, perform action a t , convert the environment state and get the state s after the action is executed t and the reward feedback r during action execution t , the excessive sequence (s t ,a t ,r t ,s t+1 ) is stored in the experience replay collection D;
[0148] S55: Use the mean square error loss function and the stochastic gradient descent method to update the Q neural network parameters;
[0149] S56: According to the DDQN method process, after each J rounds of iteration, the target network Q' network is updated to the Q network, that is, the network parameters are updated;
[0150] S57: The state after the action is executed is s t+1 Assign to the current environment state s t , go to step S53 for the next round of iteration.
[0151] like Figure 3 The figure shows the flow chart of the task transmission power allocation algorithm based on DDQN. The neural network in this algorithm contains two Q networks, an evaluation network and a target network, which have network parameters θ and θ respectively. - Assume that there are E sections, each of which contains T time slots. In any time slot t, the agent first observes the state s t Then, based on the ε greedy strategy, action a is selected through the evaluation network. t After executing the action, the agent gets a reward r in the environment. t , and the system enters the next state s according to the state transition probability t+1 . Define the transition sequence (s t ,a t ,r t ,s t+1), the transition sequence will be stored in the system's experience buffer pool at the end of each time slot, and the network calculates the loss and updates the network parameters by randomly extracting the transition sequence in the experience pool. Compared with the DQN algorithm, the key to DDQN lies in the argmax operation. Furthermore, the mean square error loss function is as follows:
[0152]
[0153] Among them, Loss(θ) represents the loss function, θ t represents the Q neural network parameters, θ t- represents the network parameters of the target network Q' network, Indicates that in the Q network with state s t The action associated with the maximum value of Q.
[0154] Therefore, the process of updating network parameters can be expressed as:
[0155]
[0156] Among them, ρ∈(0,1) is the learning rate.
[0157] When the total reward obtained after the network guides the action converges, it means that the network has been fully trained and can be applied to guide the user to obtain the optimal power allocation decision in different situations to minimize the user's total cost.
[0158] The ultimate goal of this invention is to provide a dynamic task transmission power allocation scheme that considers the user task queue constraints in the scenario of adding RIS and NOMA technologies to minimize the total cost of system users. The proposed scheme is based on the DDQN framework, combined with an environment with RIS-NOMA characteristics, and updates the neural network parameters through iterative training, and finally obtains the optimal power allocation strategy to guide task transmission under different circumstances.
[0159] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the purpose and scope of the technical solution, which should be included in the scope of the claims of the present invention.
Claims
1. A RIS-assisted NOMA edge computing dynamic task transmission power allocation method, characterized in that: The following steps are involved: S1: Construct a RIS-NOMA edge computing task transmission system, which includes: an AP equipped with M antennas and MEC servers, K single-antenna UEs, and a RIS with N reflective elements; the channel gain between the AP and each UE is changed by controlling the phase shift of the RIS; each UE divides the computing task into a local computing task and an edge computing task; each UE uses uplink NOMA to simultaneously transmit the edge computing task to the AP through the UE-RIS-AP link and the UE-AP link, and the AP receives the superimposed signal, decodes it using the SIC technology, and performs edge computing; The AP receiving the superposition signal includes: in, is the transmission power of the kth UE, is a transmission signal with zero mean and unit variance, σ 2 is the additive white Gaussian noise at the AP end with noise power, I M is an M×M unit vector matrix, represents the channel gain coefficient from the kth UE to the RIS, represents the channel gain coefficient from the kth UE to the AP, G represents the channel gain coefficient from the RIS to the AP, Θ t represents the reflection coefficient matrix of RIS; S2: Build a queuing model based on the arrival and processing of dynamic tasks on the UE, and establish the total cost expression on the UE side under the constraint of queue length; The constructing of the queuing model comprises: S21: adjusting the voltage of the UE chip to control the CPU frequency of the UE; Where g is the effective switch capacitance, represents the local computation power of the kth UE; S22: Calculate the number of task bits calculated locally by the UE in a single time slot according to the CPU frequency of the UE and the number of CPU cycles required for the UE to process one bit of task data; in, represents the number of task bits calculated locally by the kth UE in the tth time slot, L k represents the number of CPU cycles required for the kth UE to process one bit of task data, τ0 represents the length of a single time slot, Indicates the CPU frequency of user k S23: Calculate the number of task bits transmitted from the UE to the AP in a single time slot according to the data transmission rate of the UE in the RIS-NOMA edge computing task transmission system; in, represents the data transmission rate of the kth UE, Indicates the number of task bits transmitted from the kth UE to the AP in the tth time slot; S24: constructing a queuing model according to the number of task bits calculated locally by the UE in a single time slot and the number of task bits transmitted to the AP; The queuing model includes: in, Indicates the length of the task queue in the t+1th time slot, represents the number of task bits arriving at user k during time slot t, represents the total number of task bits processed during time slot t; The data transmission rate of the UE in the RIS-NOMA edge computing task transmission system includes: Where B represents the bandwidth of the system, represents the signal-to-noise ratio of the kth UE in time slot t, is the beamforming vector, σ 2 is the noise power, is the transmission power of the kth UE, is the total channel gain of the kth UE in time slot t; S3: Use penalty theory to add penalty factors to convert queue constraints into stability expressions to construct a stable expression for the total cost at the UE end; The UE end total cost expression includes: Among them, ω1∈[0,1] and ω2∈[0,1] are non-negative weight coefficients and satisfy ω1+ω2=1, T represents the maximum time slot value, that is, t∈{1,...,T}, C k Represents the total cost expression of the UE side, Indicates the predefined average queue length value. For all UEs, the average queue length does not exceed is the transmission power of the kth UE, represents the local computation power of the kth UE; The UE-side total cost stable expression includes: in, V1 is represented as the weighting parameter, Represents a virtual queue; S4: The RIS-NOMA edge computing task transmission process is modeled according to the Markov decision process to obtain the MDP model based on RIS-NOMA edge computing task transmission; The MDP model III based on RIS-NOMA edge computing task transmission includes: in, Symbolizes the state space, is the action space, Indicates reward, is the state transition probability; State Space in, Indicates the channel status, Indicates the number of bits of user queue task data; Action Space in, Represents the local computing power set Represents the task transmission power set represents the phase shift set of the passive phase shifter award Among them, C′ k It represents the stable expression of the total cost at the UE end; State transition probability: Assume Represents the state transition probability, that is, given a state s t and the selected action a t After reaching state s t+1 The probability distribution of S5: Based on the MDP model of RIS-NOMA edge computing task transmission, the DDQN algorithm is used to calculate the optimal UE transmission power allocation scheme with the goal of minimizing the total cost of the UE; The method of calculating the optimal user power allocation scheme using the DDQN algorithm includes: S51: Specify the reward decay factor γ, randomly initialize the parameters of the Q network, construct the target network Q' required by the DDQN method, the network structure and network parameters of the target network Q' are the same as those of the Q network, specify the update step size J of the target network Q'; specify the number of samples W per batch of experience replay gradient batch descent, clear the experience replay collection D; specify the exploration rate ε; S52: Initialize the system environment and assign the initialized environment state vector to the current environment state s t ; S53: The current environment state s t As the input vector, we input it into the Q network and get all The corresponding output Q(s t ,a); Use the ε-greedy strategy to select action a in the output t , ε-greedy strategy: π represents the policy function; S54: variable s in the current environment state t Next, perform action a t , convert the environment state and get the state s after the action is executed t and the reward feedback r during action execution t , the excessive sequence (s t ,a t ,r t ,s t+1 ) is stored in the experience replay collection D; S55: Use the mean square error loss function and the stochastic gradient descent method to update the Q neural network parameters; S56: According to the DDQN method process, after each J rounds of iteration, the target network Q' network is updated to the Q network, that is, the network parameters are updated; S57: The state after the action is executed is s t+1 Assign to the current environment state s t , go to step S53 to perform the next round of iteration; The mean square error loss function is as follows: Among them, Loss(θ) represents the loss function, θ t represents the Q neural network parameters, θ t- represents the network parameters of the target network Q' network, Indicates that in the Q network with state s t The action associated with the maximum value of Q.
Citation Information
Patent Citations
Edge computing task unloading method based on deep reinforcement learning in ultra-dense network
CN115499441A
Method and apparatus for transmitting and receiving signal in frequency-asynchronous non-orthogonal multiple access system
US20220046560A1
