Joint optimization method for ran slicing and task offloading assisted by deep reinforcement learning in internet of vehicles
By employing a joint optimization method for RAN slicing and task offloading assisted by deep reinforcement learning, the challenges of task offloading and resource allocation in vehicle-to-everything (V2X) networks are addressed, achieving efficient task completion and resource utilization in high-speed vehicle environments.
Patent Information
- Application Number
- CN202211462176.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-22
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2042-11-22
AI Technical Summary
In the Internet of Vehicles, the latency sensitivity and limited resources of computing tasks lead to the coupling of task offloading strategies and slicing strategies. The high-speed mobility of vehicles makes it difficult for tasks to be completed within latency requirements, and the association between vehicles and base stations becomes a challenge.
A joint optimization method for RAN slicing and task offloading assisted by deep reinforcement learning is adopted. Through a multi-timescale resource slicing framework, combining the large-timescale RAN slicing sub-problem and the small-timescale task scheduling sub-problem, the task scheduling algorithm of deep reinforcement learning is used to dynamically allocate tasks among different base stations, thereby achieving efficient resource utilization.
It improves task completion rate and environmental adaptability, outperforming existing methods in terms of resource utilization and task outcome completion rate.
Smart Images

Figure CN115835294B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of vehicle networking technology, specifically a method for joint optimization of RAN slicing and task offloading assisted by deep reinforcement learning in vehicle networking. Background Technology
[0002] The Internet of Vehicles (IoV) is based on vehicular wireless communication technology, connecting vehicles, roadside units (RSUs), base stations, and service providers into an organic whole, enabling real-time sharing of information among all parties. [1] In-vehicle users can access services such as autonomous driving, route planning, collision warning, in-vehicle entertainment, and high-definition map downloads. [2] Generally speaking, the computing power of vehicles is limited. Many computing tasks in vehicle-to-everything (V2X) systems are latency-sensitive. If these tasks are offloaded to remote cloud servers, the high latency caused by remote transmission and processing is unacceptable for latency-sensitive tasks. [3] Mobile Edge Computing (MEC) [4] Offloading data processing from the cloud to network edge devices allows tasks generated by terminal devices to be processed by edge devices, effectively reducing latency during transmission. Vehicles spend most of their time in high-speed motion, resulting in uneven task distribution in time and space. Edge network resources are limited, making it difficult to provide stable Quality of Service (QoS) guarantees for vehicular users. [5] Vehicle-to-everything (V2X) users are often within the coverage area of multiple base stations simultaneously, making the selection of the optimal offloading destination for a task a challenging problem.
[0003] Network slicing [6] Network Functions Virtualization (NFV) is a significant technological innovation in network architecture and service models. By dividing the physical Radio Access Network (RAN) into multiple logically independent virtual networks (i.e., slices), multiple operators can share the resources of the same physical network, thereby improving network management flexibility and reducing infrastructure expenditures and operating costs. [7] Software-Defined Networking (SDN) [8]This is the supporting technology for network slicing. On the RAN side, base station functions include radio access and processing, used to create radio connections and allocate resources. In wireless NFV, functions such as radio access run as software instances on the base station and are managed by a centralized controller. By collecting terminal request information, the controller creates slices according to QoS requirements and schedules network slice resources based on real-time network traffic or topology information.
[0004] Due to the coexistence of multiple task types, vehicular network task offloading naturally relies on network slicing technology. RAN slicing can provide differentiated QoS guarantees for the offloading of different types of tasks for vehicular users. [9] However, the limited spectrum and computing resources in edge network devices create a coupling relationship between task offloading strategies and slicing strategies. On the other hand, vehicular network users are often in a high-speed mobile state, while the coverage of a single base station is limited, making it difficult to complete tasks within latency requirements. Coordinating the resources of multiple base stations to provide services to the same user can solve this problem, but the selection of vehicle-base station associations becomes a critical and challenging issue. Summary of the Invention
[0005] The characteristics of the Internet of Vehicles include the coexistence of multiple services, high-speed vehicle movement, and uneven distribution of traffic flow in the time and space domains, which makes task offloading and resource allocation face many challenging problems.
[0006] To address the numerous problems existing in the prior art, this invention proposes a joint optimization method for Radio Access Network (RAN) slicing and task offloading assisted by deep reinforcement learning, with the aim of maximizing the number of tasks completed in the vehicle-to-everything (V2X) network.
[0007] The multi-timescale, multi-dimensional resource slicing framework of this invention provides differentiated Quality of Service (QoS) guarantees for the offloading of different types of tasks. Within this framework, the problem of maximizing the number of completed tasks is modeled as a constrained long-term cumulative optimization problem. This problem is decoupled into a RAN slicing sub-problem at a large timescale and a task scheduling sub-problem at a small timescale.
[0008] Whenever a new slice window arrives, the controller allocates spectrum and computing resources to the slice using an optimization method. The workflow scheduling of each time slot within the slice window is determined by a task scheduling algorithm based on deep reinforcement learning. This algorithm comprehensively considers factors such as vehicle speed, driving direction, and base station resources, and can dynamically allocate tasks among different base stations according to changes in network status, achieving efficient utilization of network resources.
[0009] The application scenario of the joint optimization method of this invention is a MEC-assisted vehicle-to-everything (V2X) system. In this system: the MEC-based controller and base station are connected; the vehicle only connects to the base station to offload tasks when it is within the coverage area of the base station; all vehicle-mounted tasks within the coverage area of the base station are scheduled by the controller offloaded by the base station; the controller allocates tasks in real time and hands them over to the appropriate base station for processing; after receiving the task, the base station allocates physical resources for the task and processes it; finally, the base station transmits the processing result back to the vehicle; even when within the coverage area of multiple base stations, the vehicle only associates with a single base station to offload tasks in the same time slot; the physical resources include spectrum resources and computing resources.
[0010] The steps of the joint optimization method include:
[0011] Step 1) Adopt a service-oriented RAN slicing framework, divide time into multiple slice windows of equal length; each slice window is divided into scheduling slots of equal length; resource allocation is performed on slice windows with large time scales, and task scheduling is performed on scheduling slots with small time scales.
[0012] Based on the queuing model, the joint optimization problem of RAN slicing and task offloading is modeled as a joint optimization problem of maximizing the number of long-term tasks completed under coupling constraints and resource constraints;
[0013] Step 2) Decouple the joint optimization problem into the RAN slicing subproblem and the cooperative task scheduling subproblem:
[0014] A slice optimization method is adopted to allocate physical resources to RAN slices with a slice window period to solve the RAN slice subproblem; a task scheduling strategy based on deep reinforcement learning is adopted to comprehensively consider factors such as vehicle speed, driving direction, and base station resources to solve the cooperative task scheduling subproblem.
[0015] Step 3) Use a joint optimization strategy to solve the RAN slicing subproblem and the cooperative task scheduling subproblem together.
[0016] Simulation results show that the proposed scheme outperforms existing typical benchmark methods in terms of task completion rate and environmental adaptability. Attached Figure Description
[0017] Figure 1 This is a schematic diagram of a MEC-assisted vehicle-to-everything (V2X) scenario;
[0018] Figure 2 This is a schematic diagram of a RAN slicing framework for multi-timescale task offloading.
[0019] Figure 3 This is a schematic diagram of a collaborative task scheduling framework;
[0020] Figure 4aThis is a diagram illustrating the impact of increasing spectrum resource blocks on task completion rate;
[0021] Figure 4b This is a diagram illustrating the impact of increasing computing resource blocks on task completion rate;
[0022] Figure 5 This is a cumulative distribution chart of the delay time for successfully completed tasks;
[0023] Figure 6 This is a diagram illustrating the impact of vehicle density on global resource utilization.
[0024] Figure 7 This is a diagram illustrating the impact of the proportion of delay-sensitive tasks on the task completion rate. Detailed Implementation
[0025] The invention will be further described below with reference to the accompanying drawings.
[0026] 1 Overview
[0027] This invention proposes a joint optimization framework for RAN slicing and task offloading for vehicle-to-everything (V2X) networks, aiming to maximize task completion rate while meeting the latency requirements of vehicle application task offloading. Key technical contributions include:
[0028] 1) A service-oriented dynamic RAN slicing framework is proposed, which performs resource slicing on a large time scale and task scheduling on a small time scale, providing differentiated QoS guarantees for different types of task offloading. Based on the queuing model, the joint optimization of RAN slicing and task offloading is modeled as a joint optimization problem of maximizing the number of long-term task completions under coupling constraints and resource constraints.
[0029] 2) The joint optimization problem is further decoupled into two sub-problems: RAN slicing and task scheduling.
[0030] For the former, an optimization method is designed to allocate spectrum and computing resources to RAN slices with a slice window as the period.
[0031] For the latter, a deep reinforcement learning-based algorithm is designed to solve online task scheduling on a small timescale, adapting to the high-speed mobility of vehicles and balancing base station load. This algorithm comprehensively considers vehicle speed and direction, allowing task reception and processing to be performed by different base stations. Simulation results show that, compared with existing schemes, the proposed solution can significantly improve resource utilization and task completion rate.
[0032] The following sections are presented: Section 2 introduces the research work related to this invention; Section 3 provides a detailed description of the proposed system model; Section 4 constructs RAN resource slicing and task scheduling as a constrained stochastic optimization problem; Section 5 decouples the stochastic optimization problem into RAN slicing subproblems and task scheduling subproblems, and proposes a scheduling decision algorithm based on deep reinforcement learning; Section 6 introduces the experimental parameter settings and simulation results; and finally, the invention is summarized.
[0033] 2. Related work
[0034] Because tasks in vehicle-to-everything (V2X) scenarios are often highly latency-sensitive, the effectiveness of task offloading largely depends on the vehicle-base station association model. (Lu Xu et al.)
[10] This paper proposes a cloud-edge collaborative computation offloading network model. By classifying service applications, an adaptive edge offloading strategy based on vehicle-to-everything (V2X) is designed. Furthermore, a multi-objective immune algorithm is proposed to optimize offloading latency and vehicle terminal consumption. (Zhu Sifeng et al.)
[11] A downlink resource slicing framework for heterogeneous wireless networks is proposed to provide differentiated QoS guarantees for machine-type devices and mobile user equipment. This scheme utilizes an iterative optimization method to solve the joint decision-making problem of resource allocation and device access selection, aiming to maximize network utility. (Xu Xiaolong et al.)
[12] This paper proposes a collaborative edge computing system model for vehicle-to-everything (V2X) networks, and designs a deep learning-based distributed service offloading method for this model. This scheme obtains the service offloading strategy by inputting the system state in the network environment. (Dai et al.)
[13] This study investigates a vehicle crowdsourcing service scenario based on MEC (Multi-access Edge Computing), which schedules traffic data perceived by vehicles by jointly optimizing offloading decisions and bandwidth resource allocation. The scheme employs an asynchronous deep Q-learning algorithm to determine offloading decisions. Overall, in the dynamically changing connected vehicle environment, traditional heuristic algorithms can provide differentiated services to in-vehicle users, but with limited effectiveness. Deep learning, however, effectively addresses the challenges of a volatile connected vehicle environment and complex task information.
[0035] RAN slice resource allocation also affects task offloading. Autonomous driving tasks often exhibit differentiated QoS characteristics. If the allocation of radio resources cannot meet the task's transmission rate, latency, or reliability requirements, computational load balancing may not be achieved. (Omar et al.)
[14] This study investigated the joint communication and computation time allocation problem in vehicle network collaborative computation offloading. It proposed jointly optimizing task offloading resources, local task execution resources, and vehicle auxiliary task migration resources to achieve maximum overall reliability of task computation. (Xu et al.)
[15] To address the problem of selecting offloading destinations for computational tasks, an adaptive computation offloading method suitable for edge computing is designed to optimize task offloading latency and resource utilization in edge computing systems. (Liu Lei et al.)
[16] To address the conflict between limited network resources and high user demand in the connected vehicle environment, a joint optimization mechanism for task offloading and service caching was designed. An asynchronous distributed intelligent optimization algorithm was used to obtain the optimal offloading decision and resource management scheme.
[0036] Unlike task offloading in low-mobility scenarios, task offloading for vehicle-to-everything (V2X) environments needs to consider the impact of users' high-speed mobility. This drives this invention to research a deep reinforcement learning-assisted, RAN-slice-based cooperative task offloading method to find the optimal task offloading scheme in a dynamically changing network environment and provide differentiated QoS guarantees for vehicle task offloading.
[0037] 3 System Model
[0038] 3.1 Network Scenarios and Assumptions
[0039] like Figure 1 As shown, consider a MEC-assisted vehicle-to-everything (V2X) scenario, which includes ground base stations, vehicles, and MEC-based controllers. The sets of vehicles and ground base stations are represented as follows: The controller and base station are connected via a wired connection. As the computing center of the edge network, the controller can reduce the latency for vehicles to access services and improve service efficiency. All vehicle-mounted tasks within the base station's coverage area can be offloaded to the controller for scheduling. The controller allocates tasks in real time based on the network environment and assigns them to appropriate base stations for processing. After receiving a task, the base station allocates physical resources and processes it according to the task's requirements, latency constraints, and other information. Finally, the base station transmits the processing results back to the vehicle.
[0040] The three-dimensional coordinates of vehicle i and base station j are represented as (x... i ,y i ,z i ) and (x j ,y j ,z j The effective coverage radius of base station j is denoted as δ. j The set of vehicles within the coverage area of base station j is represented as...
[0041] Even if a vehicle is within the coverage area of multiple base stations at the same time, it can only associate with one base station for offloading tasks in the same time slot.
[0042] 3.2 RAN Slicing Framework for Task Offloading Services
[0043] This invention designs a RAN slicing framework for task offloading services, employing a long-short-term collaborative optimization mechanism to address network dynamics and the spatiotemporal variations of task traffic. For example... Figure 2 As shown, this invention considers two typical types of vehicle-to-everything (V2X) tasks: latency-sensitive tasks and latency-tolerant tasks. The former corresponds to internal control commands within the intelligent vehicle.
[17] The latency constraint is only 50ms-1s; typical applications of the latter include high-definition map downloads for in-vehicle devices.
[18] The latency requirements are relatively lenient.
[0044] Task type o=1 (o=2) corresponds to a latency-sensitive (latency-tolerant) task. Each base station's physical resources (spectrum resources and computing resources) are divided into two task-offload-oriented RAN slices, namely slice 1 and slice 2, supporting latency-sensitive tasks and latency-tolerant tasks respectively. The spectrum resources and computing resources held by base station j are represented as c. j and s j The amount of spectrum and computing resources allocated by base station j to slice o∈{1,2} is represented by c. j,o and s j,o .
[0045] Considering the spatiotemporal variations in traffic flow, the RAN resource allocation strategy needs to be dynamically adjusted based on the actual situation.
[0046] The present invention provides a multi-timescale RAN slicing framework to support task offloading with differentiated QoS requirements. For example... Figure 2 As shown, time is divided into multiple equal-length slice windows, and each slice window is further divided into equal-length scheduling slots. The set of scheduling slots contained in a slice window w is defined as... At the start of the slicing window, the controller formulates a corresponding RAN slicing scheme based on collected historical task information. Each base station allocates spectrum and computing resources according to the slicing scheme. Then, scheduling occurs in small-scale time slots. Internally, the controller schedules the received tasks; each base station processes the tasks according to the task scheduling decision; the base station transmits the task processing results back to the vehicle; and the base station uploads the task data to the controller.
[0047] 3.3 Communication model
[0048] The base station allocates resources within the same slice to associated vehicles in an orthogonal manner based on task type. During transmission with the base station, interference experienced by a vehicle only comes from the transmission signals of other base stations. The transmit power of vehicle i is denoted as P. i The transmit power of base station j is denoted as P. j Define σ 2 The average background noise. If base station j allocates a bandwidth of c to task m generated by vehicle i.i,j,m Then, the uplink transmission rate when vehicle i submits task m to base station j is calculated as follows:
[0049]
[0050] Where j′ represents the remaining base stations in the base station set after removing j. G i,j The channel gain between vehicle i and base station j is represented by the existing technology, which can be referred to in reference
[19] .
[0051] When the vehicle receives the backhaul results from the base station, it is only affected by interference from other base stations. Therefore, the downlink transmission rate from base station j to vehicle i is...
[0052]
[0053] 3.4 Collaborative Task Scheduling Framework
[0054] To address the high-speed mobility of vehicles, this invention proposes a cooperative task scheduling framework. From Figure 3 As can be seen, task scheduling no longer relies on a single base station, but allows task offloading and processing to be performed on different base stations. Each base station contains two processing queues to cache latency-sensitive and latency-tolerant tasks. The MEC controller also contains two corresponding offloading queues to cache the two types of tasks collected by the base stations. By integrating multi-source information, tasks in the MEC controller's offloading queues are transferred to different base stations for collaborative processing.
[0055] Cooperative task scheduling requires comprehensive consideration of factors such as vehicle location, speed, direction of travel, and base station load. Taking into account the impact of base station load on processing latency, this invention utilizes queuing theory.
[20] The process of base station processing tasks is described, and the scheduling latency of latency-sensitive and latency-tolerant tasks is calculated through formula derivation.
[0056] The task m generated by vehicle i includes the task's data size (bits), the required number of computing resources, and the latency requirement for task completion, which are denoted as ε. i,m ,τ i,m ,d i,m The following model uses queuing theory to model task unloading and processing delays.
[0057] 3.4.1 Task Unloading Delay Modeling
[0058] Task unloading delay represents the time it takes for a task to be unloaded from the vehicle via base station j to the controller. This delay is measured by the set of tasks of type 'o' collected by base station j. The total number of elements is represented as M j,oWithin the controller's coverage area, the average time for a task of request type 'o' to be transmitted from the vehicle to the base station is quantified as follows:
[0059]
[0060] The arrival of a task from a single vehicle is modeled as a Poisson process, and correspondingly, the arrival of tasks received by the base station is also modeled as a Poisson process. The arrival rate of the task of request type o generated by vehicle i is represented by λ. i,o Define a binary variable a. i,j =1 indicates that vehicle i is associated with base station j. In other words, the arrival rate of request type o tasks in the controller unloading queue can be expressed as...
[0061]
[0062] The offloading queue processes only one task at a time. The task offloading process is modeled as an M / M / 1 queue model. Enqueueing in the offloading queue is determined by the task arrival rate, while dequeueing is determined by the base station's transmission rate. When the enqueue rate exceeds the dequeue rate, tasks accumulate in the queue, leading to queue overflow. The queue's service intensity reflects its busy level; the service intensity of the offloading queue with request type O in base station j is defined.
[21] for
[0063]
[0064] To maintain the stability of the unloading queue (prevent queue overflow), equation (5) needs to satisfy...
[0065]
[0066] After task m arrives in the unloading queue, the set of indices of the tasks preceding task m is denoted as Ω(m). Assume ζ i,j,m This represents the time it takes for task m, generated by vehicle i, to be uploaded from base station j to the controller. The offloading delay of this task is calculated as follows:
[0067]
[0068] 3.4.2 Task Processing Delay Modeling
[0069] Processing latency refers to the time elapsed from when a task enters the base station processing queue from the controller to when the task is completed. The base station allocates computing resources to each task on demand, with resources allocated in units of virtual machine instances (VMs). The maximum CPU cycles per VM are 1 second. (max) Hz (per second). Assume base station j allocates n virtual machine instances to task m generated by vehicle i. i,j,m The average processing time for tasks in processing queue o in this base station was calculated as follows:
[0070]
[0071] Tasks in the controller's offload queue are distributed to the processing queues of different base stations. The arrival of tasks in the processing queues also follows a Poisson process. The proportion of spectrum resources allocated by base station j to slice o out of the total spectrum resources of all slices of the same type is...
[0072]
[0073] The service type of the task processing queue in base station j is o, and the task arrival rate is α. j,o λ o The task processing process is modeled as an M / M / 1 queue model. Based on (4), (8), and (9), the service intensity of processing queue o in base station j is defined as...
[0074]
[0075] To maintain the stability of the processing queue, equation (10) needs to satisfy...
[0076]
[0077] In the processing queue of base station j, the set of task indices preceding task m is denoted as ψ. j (m). The processing delay of this task is calculated as...
[0078]
[0079] 3.4.3 Task handover delay modeling
[0080] like Figure 3 As shown, after each task is processed in the base station's processing queue, the result is directly transmitted back to the vehicle by the base station. Based on formula (2), the handover delay of task m in base station j being transmitted back to vehicle i is expressed as:
[0081]
[0082] The task delay consists of unloading delay, processing delay, and handover delay. From (7), (12), and (13), the task delay of request type o task m generated by vehicle i can be obtained as follows:
[0083]
[0084] Vehicles can only obtain service when a connection is established with a base station. If a vehicle has not received a task processing result by the time it leaves the base station's coverage area, the task is considered a failure, even if the task scheduling time does not exceed its own latency requirement. Let γ represent the total distance traveled by vehicle i from when task m is generated to when it leaves the coverage area of base station j.i,j,m The speed of vehicle i is represented as v i The maximum scheduling time for task m can then be calculated as follows:
[0085]
[0086] Therefore, the delay constraint for the completion of task m is expressed as
[0087]
[0088] Due to the time-varying nature of vehicular users' travel direction and speed, as well as the complexity of road networks, the future travel trajectories of vehicles are highly variable. The limited coverage of a single base station makes it difficult to provide complete service to vehicular users. Cooperative offloading modes help reduce task failure rates caused by vehicles leaving the base station's coverage area. However, cooperative offloading modes also increase the number of base station selection strategies, thus increasing the difficulty for the controller in making scheduling decisions. Corresponding solutions will be discussed later.
[0089] 4. Problem Modeling
[0090] The proposed solution aims to maximize the number of tasks completed while meeting differentiated QoS requirements. The task completion status within the slice window w depends on the RAN slicing policy and the cooperative task scheduling policy, where:
[0091] a. The sets of spectrum resource and computing resource strategies for RAN slices are respectively represented as:
[0092]
[0093] and
[0094]
[0095] b. The set of cooperative task scheduling strategies is represented as
[0096]
[0097] Define the following binary variables
[0098]
[0099] This indicates whether the task processing meets the latency requirements after vehicle i connects to base station j in the w-th slice window. If the latency requirements are met, then... otherwise
[0100] When a task is completed while satisfying the delay constraint, the system receives a corresponding reward. Conversely, if the task fails to be completed, the system incurs a corresponding loss.
[0101] Definition 1: Within the w-th slice window, when the task is completed and the delay requirement is met, the total reward U obtained by the system is... (w)
[0102]
[0103] Where u j,o ∈(0,1) represents the corresponding revenue factor of a task with request type o on base station j.
[0104] Definition 2: When a task fails to meet its latency requirement within the w-th slice window, the total loss H incurred by the system is... (w)
[0105]
[0106] Where h j,o ∈(0,1) represents the loss factor corresponding to the task with request type o on base station j.
[0107] The goal of this invention is to enable the system to complete more vehicle tasks over a longer period while meeting QoS requirements. The dynamic RAN slicing problem (P0) is modeled with the objective of maximizing the number of completed vehicle tasks as follows:
[0108]
[0109]
[0110]
[0111]
[0112]
[0113] (6) and (11)(19e)
[0114] The essence of problem P0 is to maximize the long-term average number of tasks completed by coordinating and allocating spectrum and computing resources of each base station and the workload within the region online. Constraint (19a) ensures that each base station j is allocated a positive number of sub-channels. Constraints (19b) and (19c) ensure that the spectrum and computing resources allocated to each vehicle by each base station do not exceed its total available resources. Constraint (19d) ensures that each vehicle can only connect to a single ground base station and cannot connect to multiple base stations simultaneously. Constraint (19e) ensures the stability of the queue in the queuing system and also indicates that the RAN resource slicing decision and task scheduling decision are coupled, i.e., a coupling constraint.
[0115] 5. Problem Decoupling and Algorithm Design
[0116] For ease of processing, P0 is decomposed into a RAN slicing subproblem on a large time scale and a task scheduling subproblem on a small time scale.
[0117] 5.1 RAN Slice Resource Allocation Method Oriented to Task Offloading
[0118] RAN slicing subproblem P1 is a given task scheduling decision By optimizing RAN slicing decisions Maximize the number of tasks completed by the system.
[0119]
[0120] st(19a),(19b)and(19c)
[0121] According to (17) and (18), decisions within each slice window are independent, and resources are allocated independently to each task within the window. The essence of the RAN slice subproblem is to maximize the number of tasks completed within each slice window. In reality, traffic flow does not exhibit continuous large fluctuations, and traffic flow in adjacent slice windows is similar.
[0122] The controller can optimize RAN slices by referring to the task scheduling strategy of the previous slice window. Based on this idea, P1 is transformed into the following one-shot optimization problem with a slice window period:
[0123]
[0124]
[0125]
[0126] (19b) and (19c)(20c)
[0127] Problem P2 is a multivariate function extremum problem under multiple constraints, which can be solved using the Lagrange multiplier method. This method transforms an optimization problem with multiple variables and constraints into an extremum problem with an unconstrained system of equations. Problem P2 is thus transformed into problem P3.
[0128]
[0129] Given a task scheduling policy, the controller can calculate the specific number of tasks each base station can handle. Then, based on the task attributes, QoS requirements, and resource availability of each base station, a RAN slicing sub-problem is constructed. Calculating P3 yields an optimal RAN slicing scheme.
[0130] 5.2 Task Scheduling Based on Deep Reinforcement Learning
[0131] The goal of the task scheduling subproblem on a small timescale is to maximize the number of tasks completed while satisfying the constraint of queue stability, i.e., given the RAN slice decision... By optimizing task scheduling decisions To maximize the number of tasks completed by the system.
[0132]
[0133] st19(d),(6) and(11)
[0134] In problem P1, resource allocation within each slice window is independent. Correspondingly, task scheduling within each slice window, under the fixed RAN slice decision, is also independent. Therefore, solving problem P4 can decompose the long-run optimization problem into short-run optimization problems within each scheduling slot. Short-run optimization problems belong to the finite-horizon Markov decision problem.
[0135] The task scheduling subproblem within a single slice window is then restructured into a Markov decision problem.
[22] Specifically, the controller is abstracted as an agent. During training round l, the controller observes the state of the environment and records it. Then based on The controller takes task scheduling decision actions. After an action is performed, the environment provides a corresponding reward. At the same time, according to the state transition probability Transform the state of the environment into a new state. In the Ben Markov decision problem, the states, actions, and rewards are represented as follows:
[0136] • State Space S: Task scheduling needs to consider multiple factors in the global road network, including task parameters, vehicle information, and information such as the location, resources, and queue status of each base station. Describe the system state, represented as
[0137]
[0138] This represents the directional velocity of vehicle i.
[0139] • Action Space A: The system in the training round The task scheduling description is an action. The actions are determined based on the current environmental state, corresponding to the optimization variables in problem P4, i.e.
[0140]
[0141] in, Represents training rounds Task scheduling decisions within the system. To satisfy constraint (19d), each action can only take either 0 or 1.
[0142] • Reward R: The reward is used to evaluate the quality of an action performed in a given state. A reward mechanism is established to enable the neural network to update and optimize with the goal of maximizing the reward. Based on equations (17) and (18), the reward can be expressed as...
[0143]
[0144] The base station receives and processes tasks based on decisions made using deep reinforcement learning. If a task is processed correctly, the system receives a reward to acknowledge the action. If the system makes an unreasonable task scheduling decision, the base station often faces resource shortages, leading to difficulties in maintaining a stable processing queue. To address this situation, penalties are introduced to prevent the controller from making unreasonable decisions.
[0145] Let Π represent the set of candidate scheduling policies. For the current scheduling slot t, the objective is to find the scheduling policy that maximizes the system reward, denoted as:
[0146]
[0147] Where π∈Π represents the selected task scheduling strategy. Represents the training round The discount factor is applied. Due to the unpredictability of task information release, the state transition probability cannot be determined. Problem P5 cannot be solved by traditional model-based reinforcement learning algorithms. This invention employs a model-free reinforcement learning algorithm to solve the optimal task scheduling problem. On the other hand, since it is difficult to model the vehicle-to-everything (V2X) environment, the Deep Q-learning Network (DQN) algorithm from deep reinforcement learning is introduced. By improving the Q-learning algorithm, it can handle a much larger action-state space.
[0148] The core of the Q-learning algorithm lies in constructing a Q-table. In the state space, the reward for each action is estimated and stored in the Q-table. The action-value function is expressed as... θ represents the weight parameters of the neural network. The maximum reward in each state of the Q-table represents the maximum possible future reward. By consulting the Q-table, the action with the maximum reward in each state is determined.
[0149]
[0150] Applying Bellman's equation to (24), the values in the Q table can be obtained. The calculation process is as follows:
[0151]
[0152] In the above formula, υ represents the learning rate, and φ represents the greedy probability.
[0153] The task scheduling strategy obtained by the DQN algorithm is essentially the associative selection during task unloading. Compared to manually formulated strategies, neural networks are more likely to find the optimal solution for task unloading from a complex global environment. When the vehicle travels a long distance, it will pass through the coverage network of multiple base stations, and the probability of base stations cooperating to unload tasks is high; while when the travel distance is short, task unloading is mostly completed by nearby base stations alone.
[0154] The task scheduling mechanism based on DQN is described below using Algorithm 1.
[0155]
[0156] 5.3 Joint Optimization Strategy
[0157] This section proposes a joint optimization strategy, which solves the RAN slicing subproblem on a large time scale and the cooperative task scheduling subproblem on a small time scale together. Algorithm 2 presents the joint optimization strategy for the RAN slicing subproblem and cooperative task scheduling.
[0158] Algorithm 2: Joint Optimization of RAN Slicing and Task Scheduling
[0159] Input: Total physical resources within each base station and vehicle and task information within the entire system.
[0160] Output: RAN slice decisions and task scheduling decisions within each slice window.
[0161]
[0162] First, the system determines the length of the slice window based on task information from historical data. Once the slice window is determined, the task scheduling decision for the (w-1)th slice window is made. As known conditions for solving problem P3, and to solve for the RAN slice decision. Task scheduling decision for the first slice window Based on historical data, the slice window w is divided into multiple scheduling slots of equal size. Within each scheduling time slot, the RAN slice decision will be made. As known conditions for solving problem P5, the task scheduling decisions within each scheduling slot are obtained. Each base station processes tasks according to the task scheduling decisions. At the end of the last scheduling slot, the system integrates the task scheduling decisions within each scheduling slot into the task scheduling decision for the slice window w. And record it as historical data for use by the (w+1)th slice window.
[0163] The joint optimization strategy enables the alternation and long-term operation of RAN slicing and task scheduling. By leveraging the similarity of traffic flow in adjacent time periods, and using the task scheduling decision of the previous slice window as known conditions, the RAN slicing decision is obtained. This not only reduces the system's computational burden but also improves the applicability of the slicing decision.
[0164] 6 Experimental Design and Results Analysis
[0165] This section verifies the effectiveness of the invention through a series of simulation experiments. In the experimental hardware environment, the CPU used is an AMD Ryzen 5 3500X, which contains 6 cores and 6 threads; the GPU is an NVIDIA GeForce GTX 1660 SUPER. The experimental environment is implemented using Python 3.6.8 and PyTorch 1.7.1. To simulate a traffic network environment, a road network scenario is considered, consisting of 5 intersecting roads forming two squares (and...). Figure 1 Similar to the grid (with a side length of 1000m), it contains 5 macro base stations with a coverage radius of 500m, each with a transmit power of 40dBm. The MEC controller is placed at the center of the 5 macro base stations and is connected to them via wired connection. To make the simulation closer to the real environment, the traffic flow data selected for this experiment comes from the OpenITS open data platform. The arrival rate of vehicle-generated tasks follows a Poisson distribution. Delay-sensitive tasks are intelligent vehicle control commands, with delay constraints ranging from 50ms to 1s; delay-tolerant tasks are high-definition map downloads from in-vehicle devices, with delay constraints ranging from 3s to 10s. To ensure the diversity of task information in the simulation experiment, the delay constraints for each task are given randomly with probability within the constraints. Other parameters are shown in Table 1.
[0166] Table 1 Simulation Parameters
[0167] Table 1: Simulation parameters
[0168]
[0169] To objectively evaluate performance, the experiment selected three representative task offloading strategies for comparison, including:
[0170] • Task offloading method based on maximum signal-to-interference-plus-noise ratio (Max-SINR)
[23] The RAN slice ratio is divided on average. When the controller performs task scheduling, it selects the base station with the highest signal-to-interference-plus-noise ratio connected to the vehicle.
[0171] • Random task scheduling method
[24] The RAN slice ratio is randomly assigned, and the controller randomly selects base stations when scheduling tasks.
[0172] • Distance-based vehicle association method (RSE-online)
[25] The RAN slice ratio is divided on average, and when the controller performs task scheduling, it prioritizes the base station closest to the vehicle.
[0173] First, assess the impact of increased available resource blocks (spectrum resource blocks and compute resource blocks) on task completion rate. Figure 4a This demonstrates the impact of increasing spectrum resources on task completion rate when the number of computing resources is fixed at 15. The task completion rate of each scheme continuously improves. After the number of spectrum resource blocks increases to 15, the task completion rate of each scheme gradually stabilizes. Sufficient spectrum resources provide the controller with greater decision space, which is a necessary condition for performance improvement, but not the only one. Next, we examine the impact of increasing computing resources on performance when the number of sub-channels is fixed at 15. Figure 4b As shown, the task success rate rises rapidly in the initial stage, but performance no longer improves significantly after the number of computing resource blocks increases to 16. This is because the upper limit of the system's processing capacity is determined by both types of resources; once the number of tasks is saturated, simply increasing computing or spectrum resources is unlikely to improve system performance.
[0174] Figure 5 This paper demonstrates the probability distribution of successful task latency when the spectrum and computing resource blocks are each fixed at 15 blocks, and latency-sensitive tasks account for 40%. From... Figure 5 It can be seen that approximately 30% of tasks have a delay of less than 1 second, while the proportion of tasks with delays between 1 and 3 seconds remains unchanged. This is because tasks with delays of less than 1 second are considered latency-sensitive, while latency-tolerant tasks have a delay exceeding 3 seconds. The cumulative probability of task delays within the range of 3.5 to 5 seconds increases from 44.3% to 88.6%, verifying that latency-tolerant tasks under the present invention are highly likely to be completed within 5 seconds. A total of 98.9% of tasks have a delay of less than 7 seconds.
[0175] Figure 6 The impact of changes in traffic flow on global resource utilization was assessed. Higher vehicle density corresponds to higher traffic flow. When the vehicle density is 0.1 vehicles / m²... 2At that time, the global resource utilization of all four schemes was below 50%. This is because tasks in the network are sparse, some base stations are idle, and the system resources cannot be fully utilized. Furthermore, it can be seen that the global resource utilization increases continuously with increasing vehicle density. Compared with Max-SINR and RSE-online, the resource utilization of this scheme increased by 29% and 10%, respectively. When the vehicle density increases to 0.3 vehicles / m², the utilization rate of this scheme is significantly higher. 2 Subsequently, RSE-online and our proposed solution showed significantly higher resource utilization than other solutions. This is because increased vehicle density leads to a greater number of tasks, and deep reinforcement learning, by comprehensively considering various factors, can make optimal scheduling decisions more quickly, reducing task processing latency and increasing system resource utilization. However, resource utilization cannot reach 100%. This is because vehicles must be within the coverage area of a base station to connect and offload tasks; base stations far from vehicles cannot provide service.
[0176] Figure 7 The impact of increasing the proportion of latency-sensitive tasks on task completion rate was evaluated. As the proportion of latency-sensitive tasks increased, the task completion rate decreased. This is because the QoS constraints of latency-sensitive tasks require more resources for processing. Increasing the proportion of latency-sensitive tasks serves as a stress test on the system's processing capacity. Compared to other solutions, the proposed method improves task completion rate by making appropriate task scheduling decisions based on environmental information, and exhibits stronger robustness, especially under extreme conditions.
[0177] 7 Summary
[0178] This invention proposes a dynamic RAN slicing framework oriented towards task offloading, which not only achieves service QoS isolation but also improves the robustness of system processing. For task scheduling, this invention designs a cooperative task offloading strategy and introduces deep reinforcement learning for decision-making, improving the task completion rate for vehicular users. Simulation results show that, compared with existing solutions, the proposed scheme effectively increases the number of completed tasks, improves system resource utilization, and achieves fairness in network services.
[0179] References:
[0180] [1]Zhuang W,Ye Q,et al.SDN / NFV-Empowered Future IoV with EnhancedCommunication Computing and Caching[J].Proceedings of the IEEE,2020,108(2):274-291.
[0181] [2]Ning Z,Hu X,et al.A Cooperative Quality-Aware Service AccessSystem for Social Internet of Vehicles[J].IEEE Internet of Things Journal,2017,5(4):2506-2517.
[0182] [3]Martínez-cruz,Alfonso,et al.Security on In-Vehicle CommunicationProtocols:Issues,Challenges,and Future Research Directions[J].ComputerCommunications,2021,180:1-20.
[0183] [4]Siriwardhana,Y.,Porambage,P.,et al.A Survey on Mobile AugmentedReality with 5G Mobile Edge Computing:Architectures,Applications,andTechnical Aspects[J].IEEE Communications Surveys&Tutorials,2021,23(2):1160-1192.
[0184] [5]Zhang W,Zhang Z,Chao H.Cooperative Fog Computing for Dealing withBig Data in the Internet of Vehicles:Architecture and Hierarchical ResourceManagement[J].IEEE Communications Magazine,2017,55(12):60-67.
[0185] [6]Sexton,C.,Marchetti,N.,et al.Customization and Trade-Offs in 5GRAN Slicing[J].IEEE Communications Magazine,2019,57(4):116-122.
[0186] [7]Qureshi,K.N.,Ahmad,E.,et al.Network Functions Virtualization forMobile Core and Heterogeneous Cellular Networks[J].Wireless PersonalCommunications,2022,122(3):2543–2559.
[0187] [8]Haque,I.T.,Abu-Ghazaleh,N.Wireless Software Defined Networking:ASurvey and Taxonomy[J].IEEE Communications Surveys&Tutorials,2016,18(4):2713-2737.
[0188] [9]Addad,R.A.,Taleb,T.,et al.Network Slice Mobility in NextGeneration Mobile Systems:Challenges and Potential Solutions[J].IEEE Network,2020,34(1):84-93.
[0189]
[10] Lu X,Yi B,Wang X-W.5G Network Resource Slice Management Mechanismin Software-Defined Networking / Network Function Virtualization[J].Journal ofChinese Computer Systems,2021,42(5):1082-1087.
[0190]
[11] Zhu S-F,Cai J-H,et al.Multi-Objective Optimal Offloading Decisionfor Cloud-Edge Collaborative Computing Scenario in Internet of Vehicles[J].Journal on Communications,2022,43(6):223-234.
[0191]
[12] Xu X-L,Fang Z-J,et al.A Deep Reinforcement Learning-BasedDistributed Service Offloading Method for Edge Computing Empowered Internetof Vehicles[J].Chinese Journal of Computers,2021,44(12):2382-2405.
[0192]
[13] Dai P,Hu K,et al.Asynchronous Deep Reinforcement Learning forData-Driven Task Offloading in MEC-Empowered Vehicular Networks[C].IEEEConference on Computer Communications,2021:1-10.
[0193]
[14] Omar H.A.,Zhuang W,et al.Performance Evaluation of VeMACSupporting Safety Applications in Vehicular Networks[J].IEEE Transactions onEmerging Topics in Computing,2013,1(1):69-83.
[0194]
[15] Xu X,Zhang X,et al.Adaptive Computation Offloading with Edge for5G-Envisioned Internet of Connected Vehicles[J].IEEE Transactions onIntelligent Transportation Systems,2020,22(8):5213-5222.
[0195]
[16] Liu L,Chen C,et al.Joint Intelligent Optimization of TaskOffloading and Service Caching for Vehicular Edge Computing[J].Journal onCommunications,2021,42(1):18-26.
[0196]
[17] Su L,Yu S-C.A Brief Review of Monitoring and Interaction Systemsin Intelligent Vehicle Cabin[C].International Symposium on ProjectManagement,2021:622-634.
[0197]
[18] Javanmardi,E.,Gu Y,et al.Autonomous Vehicle Self-LocalizationBased on Abstract Map and Multi-Channel LiDAR in Urban Area[J].IATSSResearch,2019,43(1):1-13.
[0198]
[19] Erceg,V.,Greenstein,L.,et al.An Empirically Based Path Loss Modelfor Wireless Channels in Suburban Environments[J].IEEE Journal on SelectedAreas in Communications,1999,17(7):1205-1211.
[0199]
[20] Fowler,S.,Hall,C.H.,et al.Analysis of Vehicular Wireless ChannelCommunication via Queueing Theory Model[C].IEEE International Conference onCommunications,2014:1736-1741.
[0200]
[21] Xue J, Wang Z, et al. Task Allocation Optimization Scheme Based on Queuing Theory for Mobile Edge Computing in 5G Heterogeneous Networks[J]. Mobile Information Systems, 2020:1-12.
[0201]
[22] Li Y, Hu X, et al. Deep Reinforcement Learning: Another Perspective for Unsupervised Wireless Localization[J]. IEEE Internet of Things, 2019, 7(7):6279-6287.
[0202]
[23] Wu W, Chen N, et al. Dynamic RAN Slicing for Service-Oriented Vehicular Networks via Constrained Learning[J]. IEEE Journal on Selected Areas in Communications, 2020, 39(7), 2076-2089.
[0203]
[24] Shukry, S., Fahmy, Y.. Traffic Load Access Barring Scheme for Random Access Channel in Massive Machine-to-Machine and Human-to-Human Devices Coexistence in LTE-A[J]. International Journal of Communication Systems, 2021, 34(8):e4777.
[0204]
[25] Tang L, Zhao G, et al. Queue-Aware Reliable Embedding Algorithm for 5G Network Slicing[J]. Computer Networks, 2018, 146(9):138-150.
[0205] Chinese references attached:
[0206]
[10] Lu Xu, Yi Bo, Wang Xingwei. 5G network resource slicing management mechanism under SDN / NFV[J]. Small and Microcomputer Systems, 2021, 42(5):1082-1087.
[0207]
[11] Zhu Sifeng, Cai Jianghao, et al. Multi-objective optimization offloading decision in cloud-edge collaborative computing scenario of Internet of Vehicles [J]. Journal of Communications, 2022, 43(6):223-234.
[0208]
[12] Xu Xiaolong, Fang Zijie, et al. Distributed service offloading method based on deep reinforcement learning in the edge computing environment of vehicle networking[J]. Chinese Journal of Computers, 2021, 44(12):2382-2405.
[0209]
[16] Liu Lei, Chen Chen, et al. Joint intelligent optimization of task offloading and service caching in vehicle edge computing [J]. Journal of Communications, 2021, 42(1):18-26.
Claims
1. A joint optimization method for RAN slicing and task offloading assisted by deep reinforcement learning in vehicle-to-everything (V2X) networks, characterized by: The joint optimization method is applied in MEC-assisted vehicle-to-everything (V2X) systems. In this system: the MEC-based controller and base station are connected via wired connections; vehicles only connect to the base station to offload tasks when they are within its coverage area; vehicle-mounted tasks within the base station's coverage area are all offloaded to the controller for scheduling; the controller allocates tasks in real time and assigns them to appropriate base stations for processing; after receiving a task, the base station allocates physical resources for the task and processes it; finally, the base station transmits the processing result back to the vehicle; even when a vehicle is within the coverage area of multiple base stations, it only associates with a single base station in the same time slot to offload tasks; the physical resources include spectrum resources and computing resources. The goal of the joint optimization method is to maximize the number of vehicle-to-everything (V2X) tasks completed. The steps of the joint optimization method include: Step 1) A service-oriented RAN slicing framework is adopted, and time is divided into multiple slice windows of equal length; each slice window is divided into scheduling slots of equal length; resource slicing is performed on slice windows of large time scales, and task scheduling is performed on scheduling slots of small time scales. Based on the queuing model, the joint optimization problem of RAN slicing and task offloading is modeled as a joint optimization problem of maximizing the number of long-term tasks completed under coupling constraints and resource constraints; Step 2) Decouple the joint optimization problem into the RAN slicing subproblem and the cooperative task scheduling subproblem: The slicing method employs an optimization approach, allocating physical resources to RAN slices with a slice window period to solve the RAN slicing subproblem; a task scheduling strategy based on a deep reinforcement learning algorithm is used to solve the cooperative task scheduling subproblem. Step 3) Use a joint optimization strategy to jointly solve the RAN slicing subproblem and the cooperative task scheduling subproblem; In step 1), the completion status of the slice window w depends on the RAN slicing strategy and the cooperative task scheduling strategy. in: a. A set of spectrum resource strategies for RAN slicing and set of computing resource strategies They are respectively represented as , and , b. Collection of collaborative task scheduling strategies Represented as , Define binary variables , This binary variable represents whether the task processing meets the latency requirements after vehicle i connects to base station j in the w-th slice window; if the latency requirements are met, then... ,otherwise ; This represents the uplink transmission rate when vehicle i submits task m to base station j. Task types o=1 and o=2 represent latency-sensitive tasks and latency-tolerant tasks, respectively; The physical resources of each base station are divided into two task-offload-oriented RAN slices, namely the first slice and the second slice, which support latency-sensitive tasks and latency-tolerant tasks, respectively. In the slice window w, the amount of spectrum and computing resources allocated to base station j for the two types of slices is expressed as follows: and ; Under the condition of satisfying the delay constraint, when the task is completed, the system obtains the corresponding benefit; if the task is not completed, the system incurs the corresponding loss. Definition 1: The total reward the system receives when the task is completed and the delay requirement is met within the w-th slice window. : , in This represents the revenue factor for a task with request type 'o' on base station j. Definition 2: The total loss incurred by the system when a task fails to meet its latency requirements within the w-th slice window. : , in This represents the loss factor corresponding to the task with request task type 'o' on base station j. Represents a set of base stations; This represents the set of tasks of type O collected by base station j within scheduling time slot t; time is divided into multiple slice windows of equal length, and each slice window is divided into scheduling time slots of equal length; With the goal of maximizing the number of vehicle tasks completed, the dynamic RAN slicing problem P0 is modeled as follows: , The constraints include: a, Ensure that the number of sub-channels allocated to each base station j is positive; b、 ; c. This ensures that the spectrum and computing resources allocated to each vehicle by each base station do not exceed the total number of resources it holds. d、 This ensures that each vehicle can only connect to a single ground base station; e , This ensures the stability of queues in the queuing system, and also shows that the RAN resource slicing decision and task scheduling decision are coupled, i.e., coupled constraints. This indicates the service strength of the offloading queue with request task type O in base station j. Indicates base station The service intensity of the processing queue o; This represents the set of scheduling slots contained in the slice window w; In step 2), the RAN slice resource allocation method oriented towards task offloading solves the RAN slice sub-problem: RAN slicing subproblem P1 is a given task scheduling decision By optimizing RAN slicing decisions Maximize the number of tasks completed in the system, i.e. , The constraints include: , and ; Transform P1 into a one-shot optimization problem P2 with a period of slice windows: , The constraints include: , , , ; Solving problem P2 using the Lagrange multiplier method transforms an optimization problem with multiple variables and constraints into an extremum problem with an unconstrained system of equations with multiple variables. The problem was transformed into : , Given a task scheduling policy, the controller calculates the specific number of tasks that each base station can handle; then, it constructs a RAN slicing sub-problem based on the task attributes, QoS requirements, and the resource holdings of each base station. calculate To obtain an optimal RAN slicing scheme ; In step 2), a task scheduling strategy based on deep reinforcement learning is used to solve the task scheduling sub-problem P4: The objective of task scheduling subproblem P4 is to make decisions based on a given RAN slice. By optimizing task scheduling decisions To maximize the number of tasks completed by the system; , The constraints include: , , ; question In this context, resource allocation within each slice window is independent, and correspondingly, task scheduling within each slice window, under a fixed RAN slice decision, is also independent; therefore, the solution to the problem... In this case, the long-run optimization problem is decomposed into short-run optimization problems within each scheduling time slot; the short-run optimization problem belongs to the Markov decision problem with a finite horizon. Reconstruct the task scheduling subproblem within a single slice window into a Markov decision problem: The controller is abstracted as an agent; in the training rounds At that time, the controller observes the state of the environment and records it as... Then based on The controller takes task scheduling decisions. ; After an action is performed, the environment provides a corresponding reward. Meanwhile, based on the state transition probability Transform the state of the environment into a new state. The state space, action space, and reward are represented as follows: State space S: Task scheduling needs to consider multiple factors in the global road network, including task parameters, vehicle information, the location of each base station, resources, and queue status; using Describe the system state, represented as , Action space A: The system in the training round The task scheduling description is an action. Actions are formulated based on the current environmental state and the problem. The corresponding optimization variables are, i.e. , in, Represents training rounds Internal task scheduling decisions; in order to satisfy constraints Each action takes only 0 or 1; Reward R: The reward is used to evaluate the quality of an action performed in a given state; by establishing a reward mechanism, the neural network updates and optimizes with the goal of maximizing the reward; based on Definition 1 and Definition 2, the reward is represented as... , The base station receives and processes tasks according to the decisions made by deep reinforcement learning; if a task can be processed normally, the system receives a reward to affirm the action; penalties are added to prevent the controller from making unreasonable decisions. make Let represent the set of candidate scheduling strategies; for the current scheduling slot t, the objective is to find the scheduling strategy that maximizes the system reward, denoted as . , in, This represents the selected task scheduling strategy. Represents the training round Discount factor; Problem P5 is solved using the Deep Q-Learning Network (DQN) algorithm.
2. The joint optimization method according to claim 1, characterized in that: In step 2), the method for solving problem P5 using the Deep Q-Learning Network (DQN) algorithm is as follows: Construct a Q-table where the reward for each action is estimated and stored in the Q-table within the state space; the action value function is expressed as: , The weights represent the weights of the neural network; the maximum reward for each state in the Q-table represents the maximum possible reward in the future. By querying the Q table, the action with the maximum profit in each state can be determined. identified as , Next, using Bellman's equation, the values in the Q table are obtained. The calculation process is as follows: , In the formula, Represents learning rate, Represents the greedy probability; The task scheduling strategy obtained by the DQN algorithm is the associated selection when each task is unloaded.
3. The joint optimization method according to claim 1, characterized in that: In step 3), First, the system determines the length of the slice window based on the task information in the historical data; Once the slice window is determined, the task scheduling decision within the (w-1)th slice window will be made. As a problem to be solved Given the conditions, solve for the RAN slice decision. Task scheduling decision for the first slice window Provided by historical data; Divide the slice window w into multiple scheduling slots of equal size. Within each scheduling time slot, the RAN slice decision will be made. As a problem to be solved Given the conditions, the task scheduling decision within each scheduling slot is obtained; Each base station processes tasks according to the task scheduling decision; At the end of the last scheduling slot, the system integrates the task scheduling decisions within each scheduling slot into a single task scheduling decision for the slice window w. And record it as historical data for use by the (w+1)th slice window.
Citation Information
Patent Citations
Dynamic resource slicing method for air-ground integrated Internet of Vehicles
CN115103376A
