Multi-time scale air-ground integrated network optimization method and system driven by edge computing
By adopting the multi-time scale hierarchical DRL method in the air-ground integrated network, combined with high-level DQN and low-level IDDPG agents, the problems of network management and resource utilization are solved, efficient task processing and resource management are achieved, and system performance and stability.
Patent Information
- Application Number
- CN202410543027.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-01
- Publication Date
- 2024-09-03
AI Technical Summary
In air-ground integrated networks, complexity and dynamics make network management and optimization difficult, especially how to achieve effective resource utilization and cost control while ensuring service quality. The design and training of hierarchical deep reinforcement learning algorithms also face challenges. , it is necessary to carry out customized development for specific application scenarios, and consider the convergence speed and generalization ability of the algorithm.
The MEC-driven air-ground integrated network joint optimization method based on multi-time scale hierarchical DRL is used to achieve task placement and replacement, task offloading rate, access control, drone placement and flight time through a master-slave dual-layer deep reinforcement learning network. Joint optimization of key parameters such as high-level DQN agents and low-level IDDPG agents is used to design complex optimization algorithms to adapt to highly dynamic environments.
It achieves efficient task processing and resource utilization, significantly improves system performance and resource management efficiency, maintains service continuity and stability in a dynamic environment, reduces operating costs, and improves the overall performance and economic benefits of the system.
Smart Images

Figure CN118590910A
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of wireless communication technology, and in particular to a method and system for joint optimization of an MEC-driven air-ground integrated network based on multi-time scale hierarchical DRL. Background Art
[0002] With the rapid development of wireless communication and Internet of Things technologies, smart applications such as smart factories, online games, and smart transportation are constantly emerging, and the requirements for computing power and response speed are increasing. However, IoT devices and user devices (UDs) are often limited in computing power and battery life and cannot meet these high-demand applications. Multi-access Edge Computing (MEC) as a solution can effectively address these challenges by equipping wireless network edge nodes with storage and computing power, providing low-latency, high-computing services and extending the battery life of UDs. As a new type of network architecture, the air-ground integrated network can provide coverage services for remote areas, disaster areas, etc., and unmanned aerial vehicle (UAV) communication plays an important role in it. The flexibility and rapid deployment capability of UAV communication enable it to solve the network vulnerability problem caused by limited terrestrial infrastructure. Applying MEC to UAV networks based on air-ground integrated networks can not only promote wireless communications, disaster relief and other applications in remote areas, but also provide better service quality and scalability for UDs.
[0003] However, there are still some challenges and problems when applying hierarchical deep reinforcement learning (DRL) to MEC-driven air-ground integrated networks. First, the complexity and dynamics of air-ground integrated networks make network management and optimization difficult. Factors such as the flight trajectory of drones, the stability of communication links, and the coverage of ground base stations will affect network performance and require refined control and scheduling. Secondly, the deployment and resource allocation of MEC servers is also a key issue. How to achieve effective resource utilization and cost control while ensuring service quality is a difficult problem that needs to be solved. In addition, the design and training of hierarchical deep reinforcement learning algorithms is also a challenge, which requires customized development for specific application scenarios and consideration of factors such as the convergence speed and generalization ability of the algorithm.
[0004] 1) Network architecture and integration issues
[0005] The air-ground integrated network itself is complex and heterogeneous, including different communication protocols, transmission technologies, network topologies, etc. To achieve seamless integration with mobile edge computing, it is necessary to build a network architecture that can support high bandwidth, low latency, and high reliability. This requires the improvement and optimization of existing network protocols and technologies to adapt to the characteristics of the air-ground integrated network. Secondly, the fusion problem is also a key problem. The air nodes in the air-ground integrated network are usually highly mobile and dynamic, while the ground network is relatively stable. Therefore, how to achieve dynamic connection, resource sharing, and collaborative work between air nodes and ground networks is a problem that needs to be solved. This involves multiple aspects such as dynamic adjustment of network topology, effective allocation and management of resources, and real-time and reliability of data transmission.
[0006] 2) Data transmission, synchronization and computing resource coordination issues
[0007] In an air-ground integrated network, the real-time, reliability, and synchronization of data transmission are critical to mobile edge computing. Since the air-ground network involves two completely different communication environments, air and ground, data transmission faces many challenges. Aerial nodes experience problems such as rapid movement, signal attenuation, and communication interruption, while ground networks are affected by physical obstacles such as buildings and terrain. Therefore, it is necessary to design an efficient data transmission mechanism to ensure fast and stable data transmission and reduce transmission delays and packet loss rates. In an air-ground integrated network, data transmission between air nodes and ground networks needs to be highly synchronized to ensure the accuracy and consistency of business data. However, due to the complexity and dynamics of the network environment, synchronization problems are often difficult to solve.
[0008] In the air-ground integrated network, computing resources are distributed on nodes in different geographical locations. On the one hand, it is necessary to reasonably schedule computing resources based on factors such as the real-time nature of the business, the amount of computing, and the size of the data to ensure that the business can be processed in a timely manner; on the other hand, it is also necessary to consider the optimal use of resources to avoid waste and excessive consumption of resources. In order to achieve the coordinated optimization of data transmission and computing resources, it is necessary to build an intelligent resource scheduling system. The system can monitor the network status and the use of computing resources in real time, make intelligent decisions based on business needs and resource conditions, and achieve coordinated cooperation between data transmission and computing resources.
[0009] 3) Time-sensitive issues
[0010] In the scenario of air-ground integrated network empowering MEC, different tasks may have different time requirements, so time sensitivity consideration is particularly important. Within a frame, the optimization of task placement and replacement focuses more on how to effectively distribute tasks to different computing nodes to achieve overall performance optimization. In each time slot, the optimization of drone deployment, flight time, access control, and task offloading rate focuses more on real-time decision-making and adjustment. These decisions are directly affected by the current system status and require fast response to optimize the real-time performance of the system.
[0011] Taking into account different time sensitivities, the optimization algorithm needs to be able to flexibly handle decision problems at different time scales and be able to optimize overall performance while meeting real-time requirements. This usually requires the design of complex optimization algorithms to comprehensively consider the requirements and constraints of different time scales and achieve comprehensive improvement of system performance.
[0012] 4) Dynamic optimization problem
[0013] In the MEC system scenario based on the air-ground integrated network, since user requests are random, channel conditions are highly dynamic, and various variables are tightly coupled with different constraints, it is quite difficult to solve this problem. In this case, we need to design an algorithm with higher performance. Aiming at the characteristics of DRL algorithm that is not easily affected by environmental dynamics and focuses on long-term performance, a hierarchical DRL algorithm is proposed to adapt to highly dynamic environments to achieve target optimization with low complexity and good performance. Summary of the invention
[0014] In view of the problems existing in the prior art, the present invention provides a MEC-driven air-ground integrated network joint optimization method and system based on multi-time scale hierarchical DRL, specifically involving collaborative task placement and replacement, joint task offloading rate of UDs and UAVs, access control of UDs, and joint optimization of UAV placement and UAV flight time optimization strategy.
[0015] The present invention is implemented in this way. The present invention is a MEC-driven air-ground integrated network joint optimization method and system based on multi-time scale hierarchical DRL. The system realizes the joint optimization of key parameters such as task placement and replacement, task offloading rate, access control, drone placement and flight time in the air-ground integrated network by combining a master-slave double-layer deep reinforcement learning network, including the following steps:
[0016] S101, system initialization, including the parameters of the main Q network ω, the parameters of the target Q network ω - , the parameters θ and w of the main Actor and Critic network, the parameters θ of the target Actor and Critic network - =θ and w -=w, number of iterations L, number of iterations per iteration (i.e. number of frames K), number of time slots per frame T, initialization of the learning rate of the DQN network α1, learning rates α2 and β2 corresponding to the Critic and Actor networks, discount factor γ, initialization of the replay buffer size D high and D low , mini-batch sizes M1 and M2, OU noise Ξ(t) for motion exploration; initialization of network layout parameters, such as the number of ground mobile UDs I and other task parameters;
[0017] S102, the agent interacts with the environment; at the beginning of each cycle, the system state s of the high-level DQN agent is initialized high ; Use the ∈-greedy strategy to select the high-level action a of the DQN agent high (k), obtain the task placement and replacement strategy of the frame;
[0018] S103, the agent executes the generated action and determines whether the constraints are met to generate a temporary high-level reward indicator If the constraints are satisfied, then In each time slot within the frame, the IDDPG agent is used to perform low-level task processing related optimization, otherwise
[0019] S104, initialize the state s of the low-level IDDPG agent low (t), using probabilistic random sampling to convert continuous output values into binary access control, the IDDPG agent performs actions The joint task offloading ratio of UDs and UAVs in the time slot, the admission control of UDs, UAV placement and UAV flight time optimization strategy are obtained;
[0020] S105, the agent receives a reward r after executing the generated action low (t), the lower level state is transformed into the next state s low (t+1);
[0021] S106, storing the current experience in the experience playback buffer D low ; If the buffer is full, delete the oldest experience to make room; from Randomly extract the low-level experience of M2, where It is a set of small batches of low-level experience sets extracted;
[0022] S107, calculate the TD target and TD error of the low-level IDDPG agent; update the main low-level Actor network and Critic network; update the target Actor network and Critic network;
[0023] S108, update the parameters of the Actor and Critic networks based on the small batch experience; update the parameters of the target Actor and Critic networks according to the updated parameters of the main Actor and Critic networks;
[0024] S109, in the last time slot of the frame, after the IDDPG agent gets its reward, the high-level DQN agent gets the high-level reward r high (k), and the state transitions to the next state s high (k+1);
[0025] S110, storing the current experience in the experience playback buffer D high ; If the buffer is full, delete the oldest experience to make room; sample a small batch of experience M1 from the experience replay buffer, use the state and action as the input of the DQN main network, and get the estimated Q value;
[0026] S111, calculate the TD target and TD error of the high-level DQN agent, update the main DQN network and the target DQN network, and update the target Q network parameters according to the updated main Q network parameters;
[0027] S112, repeat iterative training, select the optimal action according to the corresponding action Q value in each state, obtain the maximum benefit, and finally obtain the optimal task placement and replacement, the joint task offloading rate of UDs and UAVs, the access control of UDs, UAV placement and UAV flight time optimization strategy.
[0028] Furthermore, at the beginning of each cycle, S102 initializes the system state s of the high-level DQN agent. high ; where the status is represented by:
[0029] s high ={r(k),N(k-1)},
[0030] in represents the task request of the kth frame of UDs; Indicates whether there is task h on the drone at the end of the k-1th frame or the beginning of the kth frame; the high-level action a of the DQN agent is selected using the ∈-greedy strategy high (k), we get the task placement and replacement strategy for the frame, and the action is expressed as:
[0031]
[0032] in is the task placement decision; It is a task replacement decision.
[0033] Furthermore, the calculation formula of the temporary reward in S103 is as follows:
[0034]
[0035] Among them, (C1) is a binary constraint on task placement and replacement; (C2) means that only when n h The task placement is valid only when (k-1) = 0, that is, the task placement can be performed in the kth frame only when the task h does not exist in the drone in the k-1th frame; (C3) means that only when n h When (k-1) = 1, task replacement is valid, that is, only when task h exists in the drone in the k-1th frame can the task replacement decision be made in the kth frame; (C4) is the constraint that task placement and replacement cannot be performed at the same time, that is, at most one can be performed in the same frame; (C5) indicates that the amount of deployed tasks cannot exceed the storage capacity of the drone. The high-level temporary reward is designed as an indicator of whether it is necessary to perform low-level optimization. When When , that is, the task placement and replacement satisfy the constraints (C1)-(C5), and therefore are feasible, we will perform low-level optimization through the IDDPG agent; when When the placement and replacement of tasks is not feasible, it is meaningless to perform low-level optimization, because the high-level solution and the low-level solution together constitute the problem When the high-level solution is not feasible, no matter how the low-level solution is, the entire solution is also not feasible.
[0036] Furthermore, the state s of the low-level IDDPG agent is initialized in S104. low (t), where the state is represented by:
[0037]
[0038] in is the task deployment condition, indicating whether task h has been deployed on the UAV at the beginning of time slot t; I rm (t-1) is the number of UDs remaining at the end of the last time slot; u(t) = {u x (t),u y (t)} is the horizontal coordinate of the UAV at the beginning of time slot t; in It is an indicator of whether there is an obstruction between the UDi and the drone; It is an indicator whether there is a blockage between the drone and the BS. is the horizontal coordinate of UDi in time slot t; we denote the state space of the low-level IDDPG agent as It is the collection of all lower-level states.
[0039] Using probabilistic random sampling to convert continuous output values into binary access control, the IDDPG agent performs actions The action is represented by:
[0040]
[0041] in represents the drone deployment strategy; is the task offloading rate of UDs; is the UAV’s task offloading rate; is the flight time of the drone; where a i (t) is the access control policy of UDi. The action space of IDDPG agent is expressed as It is the set of all feasible solutions for the variables involved in the task processing.
[0042] Furthermore, in S105, the agent performs the generated action and obtains a reward r low (t), the lower level state is transformed into the next state s low (t+1); the reward calculation formula is as follows:
[0043]
[0044] Among them, the first term refers to the benefit of using the drone when UDs accesses drone j and offloads part of the task to the drone; the second term refers to the operating cost of the drone at time slot t, and the third part is the economic expenditure of the drone for task deployment. (C6) and (C7) are the mobility constraints for drone placement, where (C6) is the mobility speed constraint and (C7) is the mobility direction angle constraint; (C8) is the constraint on the flight time of the drone in each time slot; (C9) is the binary constraint for access control; constraints (C10) and (C11) are TDMA constraints, where (C10) ensures that only one UD is allowed to access the drone in each time slot t, and (C11) requires that each UD can only be assigned to one time slot in each frame; (C12) and (C13) are constraints for partial task offloading of UDs; (C14) is a constraint for partial task offloading of drones; (C15) is a quality of service constraint, requiring that the scheduling task of each time slot t be processed within the current time slot.
[0045] Furthermore, the main actor network prediction in S107 is as follows:
[0046]
[0047] And the target actor network makes predictions based on:
[0048]
[0049] Leading critics network predictions:
[0050]
[0051] And the target critic network makes predictions based on:
[0052]
[0053] Calculate the TD target according to the following formula:
[0054]
[0055] And the TD error is obtained according to the following formula:
[0056]
[0057] Update the critic network according to the following formula:
[0058]
[0059] Update the actor network according to the following formula:
[0060]
[0061] Furthermore, the update formula for updating the target Actor and Critic network parameters according to the updated main Actor and Critic network parameters in S108 is as follows:
[0062] θ - ←ζ·θ+(1-ζ)·θ - ,
[0063] w - ←ζ·w+(1-ζ)·w - ,
[0064] Where θ represents the parameters of the current policy network, θ - represents the parameters of the target strategy network, w represents the parameters of the current value network, and w - Represents the parameters of the target value network, ζ∈[0,1] is a hyperparameter that needs to be manually adjusted.
[0065] Furthermore, the calculation formula for the high-level reward in S109 is as follows:
[0066] r high (k)=Profit(k),
[0067] Where Profit(k) is the profit of the system during each k-frame period, which is our objective function.
[0068] Furthermore, the S110: storing the current experience in the experience playback buffer D high ; If the buffer is full, delete the oldest experience to make room; sample a small batch of experience M1 from the experience replay buffer, use the state and action as the input of the DQN main network, and get the estimated Q value:
[0069] q high (k) m =Q(s high (k) m ,a high (k) m ;ω),
[0070] Where ω is the weight of the main Q network;
[0071] Will s high (k+1) m As input to the target network, we get:
[0072]
[0073] Among them, ω - is the weight of the target Q network.
[0074] Furthermore, in S111, a temporal difference (TD) target is calculated and generated according to the following formula:
[0075]
[0076] And according to the calculated TD error:
[0077]
[0078] Update the main DQN network:
[0079]
[0080] Where α1 is the learning rate; the target DQN network is updated according to the following formula:
[0081]
[0082] in, is a hyperparameter that needs to be manually tuned.
[0083] Another object of the present invention is to provide a MEC-driven air-ground integrated network joint optimization method based on a multi-time scale hierarchical DRL and a MEC-driven air-ground integrated network joint optimization system based on a multi-time scale hierarchical DRL, the system comprising:
[0084] System initialization module, used to initialize the deep Q network algorithm parameters, including the parameters ω of the main Q network and the parameters ω of the target Q network - ;
[0085] Used to initialize the parameters of the deep deterministic policy gradient algorithm, including the parameters θ and w of the main Actor and Critic network, and the parameters θ of the target Actor and Critic network - =θ and w - =w;
[0086] Used to set the number of iterations L, the number of iterations per iteration (i.e. the number of frames K), and the number of time slots in each frame T;
[0087] The learning rate α1 used to initialize the DQN network, the learning rates α2 and β2 corresponding to the Critic and Actor networks, the discount factor γ, and the initial replay buffer size D high and D low , mini-batch sizes M1 and M2 and OU noise Ξ(t) for action exploration;
[0088] Configuration module, used to set application-specific parameters, including mission parameters such as the number of ground mobile UDs;
[0089] The agent module is used to generate actions based on the current high-level network state at the beginning of each cycle, and has the function of using a greedy strategy to the generated actions; it is used to generate actions based on the current low-level network state at the beginning of each cycle, and has the function of adding exploration noise to the generated actions;
[0090] Action execution module, used to perform task placement and replacement; used to perform joint task offloading rate of UDs and UAVs, access control of UDs, UAV placement and UAV flight time optimization strategy;
[0091] A reward acquisition module is used to execute actions and calculate temporary rewards. The reward acquisition module is designed based on whether the system's constraints are met and is a judgment module for determining whether to perform low-level optimization;
[0092] The reward acquisition module is used to calculate the reward based on the executed action and the current state, the reward based on the benefits of all devices in the system in the current time slot, and the reward based on the benefits of all devices in the system at the end of the frame;
[0093] The state transfer module is used to transfer the low-level system state from the current state to the next state;
[0094] The experience replay module is used to store the experience tuples of each low-level system state, action, reward, and next state;
[0095] The data sampling module is used to extract mini-batchM1 from the experience stored in the experience replay module for learning;
[0096] A network update module, used to update the main Q network, the main Actor network and the main Critic network according to the information obtained by the data sampling module, and the module includes a parameter optimization unit that uses a gradient descent method to adjust the network parameters;
[0097] A parameter update module is used to update the parameters of the target Q network, the target Actor network, and the target Critic network according to the parameters of the main network. This module adopts a soft update strategy, in which the target network parameters are the parameter synchronization unit of the weighted average of the main network parameters;
[0098] Network update module, parameter update module, used to update the target Actor network and target Critic network according to the main network parameters. This module adopts a soft update strategy, in which the target network parameters are the parameter synchronization unit of the weighted average of the main network parameters.
[0099] In combination with the above technical solutions and the technical problems solved, the advantages and positive effects of the technical solutions to be protected by the present invention are as follows:
[0100] First, the present invention has important benefits in edge computing and air-ground integrated network integration. The specific analysis is as follows:
[0101] The first is efficient processing and dynamic adaptability. The present invention introduces MEC into the air-ground integrated network, uses drones as aerial computing nodes, and provides task processing services for ground UDs. This greatly improves the efficiency of task processing, especially when processing tasks that are sensitive to delays. The collaborative work of drones and ground cloud centers can significantly reduce task processing delays. At the same time, since drones use time-division multiplexing access, they can flexibly provide task offloading and processing services for different UDs in different time slots according to different user needs and channel conditions, thereby adapting to highly dynamic environments. This dynamic adaptability enables the system to cope with various emergencies and changes, ensuring the continuity and stability of services.
[0102] The second is multi-time scale optimization and resource management. The present invention describes the problem as a multi-time scale optimization problem. This optimization strategy can comprehensively consider the needs of different time scales, thereby achieving more sophisticated resource management. Optimizing task placement and replacement within a frame can ensure the rationality and effectiveness of resource allocation in the long term; while optimizing drone deployment, flight time, access control, and task offloading rate in each time slot can ensure high quality and efficiency of services in the short term. This optimization strategy can make full use of limited resources and improve the overall performance and economic benefits of the system.
[0103] Finally, there is the innovative hierarchical DRL algorithm and mixed integer optimization. In view of the fact that traditional optimization methods are difficult to cope with highly dynamic environments and complex constraints, this paper proposes an innovative hierarchical DRL algorithm. The algorithm utilizes the characteristics of DRL, can adaptively handle dynamically changing environments, and obtain optimization strategies through long-term learning. The high-level DQN agent is responsible for frame-level task placement and replacement strategies, while the low-level IDDPG agent is responsible for slot-level optimization. It is particularly worth mentioning that the low-level IDDPG algorithm can handle optimization problems with mixed integer characteristics, including the output of continuous variables and probabilistic decisions of discrete access control, by improving the traditional DDPG algorithm, which makes the algorithm more flexible and practical. This innovative algorithm design not only reduces the complexity of the solution, but also improves the optimization performance and robustness of the system.
[0104] Second, the significant technical progress achieved by the present invention is to realize a joint optimization method of MEC-driven air-ground integrated network system with hierarchical DRL, which has made significant progress in the following key aspects:
[0105] 1) Efficient task placement and replacement strategy
[0106] This method greatly improves resource utilization efficiency and system performance in edge computing environments by introducing an efficient task placement and replacement strategy. Under the action of high-level DQN agents, the task placement and replacement strategy can comprehensively consider the requirements of tasks, the status of resources, and the dynamic changes of the network. Through long-term learning and optimization, the DQN agent can accurately evaluate the value of different tasks in different locations and place and replace tasks according to actual conditions.
[0107] 2) Flexible drone deployment and flight time optimization solutions
[0108] This method comprehensively considers factors such as the UAV's flight speed, path planning, task distribution, and the location of the ground cloud center. By adjusting the UAV's flight trajectory and speed in real time, it ensures that the UAV can reach the task processing area in the shortest time and return quickly after completing the task. This optimization strategy not only improves the UAV's task processing efficiency, but also reduces operating costs, bringing greater economic profits to operators.
[0109] 3) Collaborative drone and user device offloading strategy
[0110] This method proposes an intelligent task offloading strategy, which dynamically determines which tasks should be offloaded to the UAV and which tasks should be retained on the UDs according to factors such as the characteristics of the task, the computing power of the UDs, and the load of the UAV. By reasonably allocating the amount of task offloading, the computing resources of the UAV can be fully utilized to improve the speed and efficiency of task processing. At the same time, the strategy can also be adjusted in real time according to factors such as network conditions and the location of the UAV to ensure the reliability and stability of task offloading. This intelligent task offloading strategy not only improves the performance of the system, but also reduces energy consumption and operating costs. By offloading some tasks to the UAV, the computing burden of the UDs can be reduced and their service life can be extended. At the same time, due to the high flexibility and mobility of the UAV, it can be quickly deployed to the task processing area as needed, which improves the response speed and reliability of the system.
[0111] 4) Intelligent access control strategy
[0112] By introducing advanced learning mechanisms, the system can intelligently adjust the access control policy of user devices to adapt to dynamically changing network conditions. This enhances network stability and user experience.
[0113] 5) Integration of Deep Reinforcement Learning
[0114] Combining deep reinforcement learning algorithms with edge computing systems enables the system to self-learn and adapt based on real-time data, and proposes an innovative hierarchical DRL algorithm with mixed integer optimization to make optimal decisions without explicit instructions. This adaptive capability is critical for handling complex and dynamically changing edge computing environments.
[0115] 6) Profit maximization optimization
[0116] This method not only focuses on improving the long-term economic benefits of operators through a carefully designed reward mechanism, but also invisibly promotes energy efficiency and environmental sustainability. The core of the profit maximization optimization method is to ensure that every investment can get the maximum return through intelligent resource management and strategy optimization.
[0117] 7) Improvement of system stability and reliability
[0118] By accurately calculating and optimizing the immediate rewards after action execution and state transitions, this approach enhances the stability and reliability of the system, especially when processing large amounts of data and high concurrent requests.
[0119] 8) The network’s autonomous learning and optimization capabilities
[0120] This method enables the system to continuously optimize its decision-making process through continuous iterative training and experience-based network updates, thereby improving overall performance.
[0121] 9) Joint optimization problem: In the existing technology, key parameters such as task placement and replacement, task offloading rate, access control, drone placement and flight time in the air-ground integrated network are often optimized separately rather than jointly, which leads to inefficient network resource utilization and performance bottlenecks.
[0122] 10) Complexity and dynamism: The air-ground integrated network involves multiple nodes on the ground and in the air. Its dynamism and complexity make it difficult for traditional optimization methods to cope with it.
[0123] 11) Real-time and efficiency: Existing methods often have problems of large computational complexity and slow response speed when dealing with real-time network optimization problems, which makes it difficult to meet the needs of real-time optimization.
[0124] Technological advancements:
[0125] 12) Joint optimization framework: The present invention realizes the joint optimization of multiple key parameters in the air-ground integrated network through a master-slave double-layer deep reinforcement learning network, thereby improving the overall utilization efficiency of network resources.
[0126] 13) Efficient optimization algorithm: It adopts deep reinforcement learning algorithm, which can handle complex and dynamic network environments. Through the interaction between intelligent agents and the environment, it adjusts the optimization strategy in real time to adapt to changes in network status.
[0127] 14) Hierarchical optimization strategy: Through the master-slave dual-layer network structure, hierarchical optimization of high-level and low-level strategies is achieved. The high-level strategy is responsible for task placement and replacement, and the low-level strategy is responsible for detailed operations such as task offloading rate and access control. This hierarchical strategy not only ensures global optimization, but also improves optimization efficiency.
[0128] 15) Reward mechanism design: The present invention designs a temporary reward mechanism as an indicator of whether the high-level solution is feasible, thereby guiding the low-level optimization. This mechanism effectively improves the pertinence and efficiency of the optimization process.
[0129] 16) Real-time performance and response speed: Through real-time learning and optimization of deep reinforcement learning algorithms, the present invention can quickly adapt to changes in the network environment, achieve real-time optimization, and improve response speed and optimization effect.
[0130] Third, the edge computing system optimization method based on the combination of air-ground integrated network and deep reinforcement learning provided by the present invention is based on the use of mathematical models to guide the behavior and learning process of the system. The technical effects brought by these mathematical models can be discussed based on their characteristics:
[0131] 1) Calculation of rewards
[0132] The calculation formulas for temporary rewards, low-level rewards, and high-level rewards focus on maximizing profits for all devices in the system.
[0133] Cost savings: Improvements in energy efficiency can significantly reduce operating costs in the long term, especially in resource-intensive edge computing environments.
[0134] Profit maximization: By directly linking rewards to profits, this approach encourages the system to discover strategies that maximize profits, resulting in more profits.
[0135] 1) Update of the main Q network, main Actor and Critic network
[0136] Update the current policy network by randomly sampling small batches of experience data and using the gradient ascent method.
[0137] Policy optimization: By continuously adjusting the policy network parameters, the system can learn and adopt more effective decision-making strategies.
[0138] Improved responsiveness: Using small batches of data enables the network to quickly adapt to environmental changes, enhancing the system's dynamic adjustment capabilities.
[0139] 3) Loss function of TD target and Critic network
[0140] The loss function is calculated based on the temporal difference TD target and the Q value predicted by the Critic network and updated by the gradient descent method.
[0141] Learning stability: Using the TD objective as a basis can balance the learning process and avoid instability caused by large prediction errors.
[0142] Performance optimization: By accurately calculating the loss function and updating the network, the accuracy and efficiency of system decision-making are improved.
[0143] 4) Parameter update formula
[0144] The method of updating the target network parameters using the main Q network, main Actor and Critic network parameters is described, involving the current network and target network parameters.
[0145] The strategy gradually approaches: By gradually updating the target network parameters, the system can smoothly transition to the new strategy and prevent performance fluctuations due to drastic changes.
[0146] Continuous learning and adaptation: This continuous parameter update mechanism ensures that the system can adapt to long-term environmental changes.
[0147] The application of the mathematical model provided by the present invention not only improves the operating efficiency and decision-making quality of the edge computing system, but also enhances its adaptability to environmental changes and long-term stability. These technical effects are crucial for modern edge computing environments that process large amounts of data and high-frequency interactions.
[0148] Fourth, as auxiliary evidence of the inventiveness of the claims of the present invention, it is also reflected in the expected benefits and commercial value after the technical solution is transformed into:
[0149] The present invention realizes the joint optimization of the MEC-driven air-ground integrated network through the introduction of multi-time scale layered DRL, significantly improving the network performance and service quality. This can not only meet the growing demand for high-performance computing, but also optimize resource utilization and reduce operating costs. In terms of commercial applications, the present invention can be widely used in the fields of intelligent transportation, drone delivery, disaster emergency response, etc., bringing significant economic and social benefits to related industries. Therefore, the present invention has broad market prospects and huge commercial value. BRIEF DESCRIPTION OF THE DRAWINGS
[0150] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0151] Figure 1 It is a flow chart of a method for joint optimization of an MEC-driven air-ground integrated network based on multi-time-scale hierarchical DRL provided by an embodiment of the present invention;
[0152] Figure 2 It is an applicable scene graph provided by an embodiment of the present invention.
[0153] Figure 3 It is a flowchart for implementing the research method of MEC-driven air-ground integrated network joint optimization profit maximization based on multi-time scale layered DRL provided in an embodiment of the present invention.
[0154] Figure 4 It is a structural diagram of the MEC-driven air-ground integrated network joint optimization system based on multi-time scale hierarchical DRL provided in an embodiment of the present invention.
[0155] Figure 5 It is a comprehensive convergence performance comparison diagram provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0156] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0157] The core innovation of the present invention is to introduce a method based on multi-time scale hierarchical deep reinforcement learning (DRL) to optimize the air-ground integrated network driven by mobile edge computing (MEC). By adopting a master-slave two-layer architecture, the upper DQN network is mainly responsible for high-level policy decisions, such as task placement and replacement, while the lower IDDPG network optimizes the specific action execution of each time slot, such as task offloading rate, access control, and deployment and scheduling of unmanned aerial vehicles (UAVs). This hierarchical approach not only effectively handles dynamically changing network environments and decision-making problems at different time scales, but also realizes the joint optimization of multiple key parameters, greatly improving system performance and resource utilization efficiency. In addition, the continuous interaction between the intelligent agent and the environment, combined with experience playback and network update mechanisms, ensures real-time adaptation and long-term optimization of strategies, and provides an efficient and reliable optimization solution for MEC-driven air-ground integrated networks.
[0158] Example 1: City Emergency Response System
[0159] In the urban emergency response system, the MEC-driven air-ground integrated network joint optimization method and system based on multi-time scale hierarchical DRL can effectively respond to public emergencies (such as natural disasters, large-scale accidents, etc.) and ensure the rapid transmission and processing of key information:
[0160] S101: The system is initially set to an urban environment, taking into account building distribution, population density, and communication infrastructure. The initial network layout includes a large number of mobile user devices (UDs) and unmanned aerial vehicles (UAVs) in the city as mobile edge computing nodes.
[0161] S102: When public events occur, high-level DQN agents preliminarily evaluate task placement and replacement strategies to ensure that critical data and communication requests are prioritized.
[0162] S103-S111: The IDDPG agent refines task offloading decisions, access control, and dynamic deployment and scheduling of UAVs to maximize resource utilization and minimize response time.
[0163] S112: The iterative optimization process ensures that the system continues to provide optimal communication and computing services throughout the entire event processing cycle, ultimately forming an optimized network deployment and scheduling strategy for emergency response.
[0164] This embodiment can be widely used in the emergency management system of smart cities to improve the city's ability to respond to emergencies and ensure public safety.
[0165] Example 2: Large-scale event network support system
[0166] In view of the network demand during large-scale events (such as sports events, music festivals, etc.), the optimization method based on the present invention can improve the quality of on-site network services and enhance user experience:
[0167] S101: System initialization is set up based on the characteristics of the event venue and the expected user density, and a sufficient number of UDs and UAVs are deployed to ensure full coverage of the event area.
[0168] S102: At the beginning of an activity, the high-level DQN agent determines the preliminary task placement and replacement strategy based on the activity type and the number of participants to ensure the priority of key services (such as emergency communications and multimedia transmission).
[0169] S103-S111: The IDDPG agent adjusts UDs access control and UAVs deployment in each time slot, responds to changes in network demand at the event site in real time, and optimizes data transmission paths and computing resource allocation.
[0170] S112: Through continuous iterative training and optimization, the system adaptively adjusts the network configuration throughout the activity to ensure the provision of efficient and stable network services.
[0171] This embodiment is suitable for network support of large-scale public activities. By optimizing network resource configuration and task scheduling, it can greatly improve the on-site network service level and enhance user experience.
[0172] The present invention significantly improves the performance and efficiency of air-ground integrated network optimization through technical means such as a joint optimization framework, an efficient optimization algorithm, a hierarchical optimization strategy, and a reward mechanism design, solves key problems in the prior art, and provides a new and effective method for optimizing air-ground integrated networks.
[0173] Example 1
[0174] In view of the problems existing in the existing technology, this paper provides a research method for maximizing the profit of MEC-driven air-ground integrated network joint optimization based on multi-time scale hierarchical DRL. Figure 2 is a scene graph to which the method of the present invention can be applied. First, the number of ground mobile UDs I is initialized, and the set of UDs is represented as A UAV and a ground BS, the number of iterations L, the number of iterations per iteration (i.e. the number of frames K), the number of time slots in each frame T
[0175] In the relevant scenario, at the beginning of each time slot, UDs need to complete H tasks, which are set by Indicates that a general task h can be represented by a five-tuple Here, D h is the size of the input data of the task (in bits); h is the processing density of the task, that is, the CPU cycles required to execute each bit of input data; h is the size of the output calculation result, which is larger than the input data D h is much smaller and will be ignored in the following text; h is the storage space required to deploy the task instance of task h; is the maximum tolerable task processing delay of task h. This paper assumes That is, the task should be completed within each time slot.
[0176] The present invention establishes a multi-time-scale optimization problem in an air-ground integrated network supporting MEC and based on TDMA. First, the time axis is divided into coarse-grained time scales, called frames, and then each frame is further divided into some fine-grained time units, called time slots. Assume that there are K frames in total, and each frame contains T time slots. The sets of frames and time slots are represented as and The length of each time slot is τ. The system works in TDMA mode, that is, different time slots are assigned to different UDs for data transmission, and each time slot can only be used by one UD to communicate with the UAV in one frame, so there is no interference between UDs. Moreover, we require that the task of each UD should be completed within the time slot assigned to it, with coarse-grained placement and replacement of long-time scale joint tasks, fine-grained short-time scale joint task offloading rate of UDs and UAVs, access control of UDs, UAV placement and optimization of UAV flight time to maximize the long-term average economic profit of the operator.
[0177] The MEC server is deployed on the drone, and the two are regarded as the same entity. The BS integrates a powerful high-performance cloud server and is connected to the power grid with a stable energy supply. However, in the relevant scenarios, we assume that there is no direct communication link between UDs and BS, such as in disasters or remote areas, and UDs can only communicate with drones, or communicate with BS and be relayed by drones. A controller is deployed at the base station, which will collect dynamic information of UDs, drones, and tasks. Based on this information, the base station will make decisions on network operation and optimization. The collected information can be described as follows. UDs information refers to the information of the user device itself, such as bandwidth, transmission power, task processing capability, etc.; drone information mainly refers to the feasible communication resources, computing resources, storage resources, fronthaul resources, deployed tasks, etc. of the drone; application information is used to describe the characteristics of the task, such as application type, required input data volume, computing amount, task execution delay, etc.
[0178] Example 2
[0179] Considering the dynamic characteristics of the network and the uncertainty of information acquisition, the problem becomes quite intractable. In order to solve it effectively, the problem is reconstructed as a Markov decision process. A hierarchical DRL algorithm is proposed to effectively solve the problem, in which the high-level DQN agent is used to obtain the coarse-grained optimization of each frame, while the low-level IDDPG agent is used to obtain the fine-grained optimization of each time slot. The IDDPG agent is improved on the basis of the traditional DDPG, which regards the continuous output of the access control as the probability of the access control task is 1, thus adapting to the mixed integer characteristics of our short time scale optimization within each time slot.
[0180] like Figure 1 As shown, the embodiment of the present invention provides a MEC-driven air-ground integrated network joint optimization method based on hierarchical DRL, which specifically includes the following steps:
[0181] S101, system initialization, including the parameters of the main Q network ω, the parameters of the target Q network ω - , the parameters θ and w of the main Actor and Critic network, the parameters θ of the target Actor and Critic network - =θ and w - =w, number of iterations L, number of iterations per iteration (i.e. number of frames K), number of time slots per frame T, initialization of the learning rate of the DQN network α1, learning rates α2 and β2 corresponding to the Critic and Actor networks, discount factor γ, initialization of the replay buffer size D high and D low , mini-batch sizes M1 and M2, and OU noise Ξ(t) for motion exploration; initialize network layout parameters, such as the number of ground mobile UDs I and other task parameters;
[0182] S102, the agent interacts with the environment; at the beginning of each cycle, the system state s of the high-level DQN agent is initialized high ; Use the ∈-greedy strategy to select the high-level action a of the DQN agent high (k), obtain the task placement and replacement strategy of the frame;
[0183] S103, the agent executes the generated action and determines whether the constraints are met to generate a temporary high-level reward indicator If the constraints are satisfied, then In each time slot within the frame, the IDDPG agent is used to perform low-level task processing related optimization, otherwise
[0184] S104, initialize the state s of the low-level IDDPG agent low(t), using probabilistic random sampling to convert continuous output values into binary access control, the IDDPG agent performs actions The joint task offloading ratio of UDs and UAVs in the time slot, the admission control of UDs, UAV placement and UAV flight time optimization strategy are obtained;
[0185] S105, the agent receives a reward r after executing the generated action low (t), the lower level state is transformed into the next state s low (t+1);
[0186] S106, storing the current experience in the experience playback buffer D low ; If the buffer is full, the oldest experience is deleted to make room. Randomly extract the low-level experience of M2, where It is a set of small batches of low-level experience sets extracted;
[0187] S107, calculate the TD target and TD error of the low-level IDDPG agent; update the main low-level Actor network and Critic network. Update the target Actor network and Critic network;
[0188] S108, update the parameters of the Actor and Critic networks based on the small batch experience; update the parameters of the target Actor and Critic networks according to the updated parameters of the main Actor and Critic networks;
[0189] S109, in the last time slot of the frame, after the IDDPG agent gets its reward, the high-level DQN agent gets the high-level reward r high (k), and the state transitions to the next state s high (k+1);
[0190] S110, storing the current experience in the experience playback buffer D high ; If the buffer is full, delete the oldest experience to make room; sample a small batch of experience M1 from the experience replay buffer, use the state and action as the input of the DQN main network, and get the estimated Q value;
[0191] S111, calculate the TD target and TD error of the high-level DQN agent, update the main DQN network and the target DQN network, and update the target Q network parameters according to the updated main Q network parameters;
[0192] S112, repeat iterative training, select the optimal action according to the corresponding action Q value in each state, obtain the maximum benefit, and finally obtain the optimal task placement and replacement, the joint task offloading rate of UDs and UAVs, the access control of UDs, UAV placement and UAV flight time optimization strategy.
[0193] like Figure 3 As shown, an implementation flowchart of the research method for MEC-driven air-ground integrated network joint optimization profit maximization based on multi-time scale hierarchical DRL provided in an embodiment of the present invention.
[0194] Furthermore, in S102, the agent interacts with the environment; at the beginning of each cycle, the system state s of the high-level DQN agent is initialized high ; where the status is represented by:
[0195] s high ={r(k),N(k-1)},
[0196] in represents the task request of the kth frame of UDs; Indicates whether there is task h on the drone at the end of the k-1th frame or the beginning of the kth frame. The high-level action a of the DQN agent is selected using the ∈-greedy strategy high (k), we get the task placement and replacement strategy for the frame, and the action is expressed as:
[0197]
[0198] in is the task placement decision; It is a task replacement decision.
[0199] Further, the S103: the agent executes the generated action and determines whether the constraint is satisfied to generate a temporary high-level reward indicator If the constraints are satisfied, then In each time slot within the frame, the IDDPG agent is used to perform low-level task processing related optimization, otherwise The calculation formula for the temporary reward is as follows:
[0200]
[0201] Among them, (C1) is a binary constraint on task placement and replacement; (C2) means that only when n h The task placement is valid only when (k-1) = 0, that is, the task placement can be performed in the kth frame only when the task h does not exist in the drone in the k-1th frame; (C3) means that only when n hWhen (k-1) = 1, task replacement is valid, that is, only when task h exists in the drone in the k-1th frame can the task replacement decision be made in the kth frame; (C4) is the constraint that task placement and replacement cannot be performed at the same time, that is, at most one can be performed in the same frame; (C5) indicates that the amount of deployed tasks cannot exceed the storage capacity of the drone. The high-level temporary reward is designed as an indicator of whether it is necessary to perform low-level optimization. When When , that is, the task placement and replacement satisfy the constraints (C1)-(C5), and therefore are feasible, we will perform low-level optimization through the IDDPG agent; when When , that is, the placement and replacement of tasks are not feasible, it is meaningless to perform low-level optimization. Since the high-level solution and the low-level solution together constitute the solution to problem (P1), when the high-level solution is not feasible, no matter what the low-level solution is, the entire solution is also not feasible.
[0202] Further, the S104: Initialize the state s of the low-level IDDPG agent low (t), where the state is represented by:
[0203]
[0204] in is the task deployment condition, indicating whether task h has been deployed on the UAV at the beginning of time slot t; I rm (t-1) is the number of UDs remaining at the end of the last time slot; u(t) = {u x (t),u y (t)} is the horizontal coordinate of the UAV at the beginning of time slot t; in It is an indicator of whether there is an obstruction between the UDi and the drone; It is an indicator whether there is a blockage between the drone and the BS. is the horizontal coordinate of UDi in time slot t; we denote the state space of the low-level IDDPG agent as It is the collection of all lower-level states.
[0205] Using probabilistic random sampling to convert continuous output values into binary access control, the IDDPG agent performs actions The action is represented by:
[0206]
[0207] in represents the drone deployment strategy; is the task offloading rate of UDs; is the UAV’s task offloading rate; is the flight time of the drone; where a i (t) is the access control policy of UDi. The action space of IDDPG agent is expressed as It is the set of all feasible solutions for the variables involved in the task processing.
[0208] Furthermore, in S105: the agent performs the generated action and obtains a reward r low (t), the lower level state is transformed into the next state s low (t+1). The reward calculation formula is as follows:
[0209]
[0210] Among them, the first term refers to the benefit of using the drone when UDs accesses drone j and offloads part of the task to the drone; the second term refers to the operating cost of the drone at time slot t, and the third part is the economic expenditure of the drone for task deployment. (C6) and (C7) are the mobility constraints for drone placement, where (C6) is the mobility speed constraint and (C7) is the mobility direction angle constraint; (C8) is the constraint on the flight time of the drone in each time slot; (C9) is the binary constraint for access control; constraints (C10) and (C11) are TDMA constraints, where (C10) ensures that only one UD is allowed to access the drone in each time slot t, and (C11) requires that each UD can only be assigned to one time slot in each frame; (C12) and (C13) are constraints for partial task offloading of UDs; (C14) is a constraint for partial task offloading of drones; (C15) is a quality of service constraint, requiring that the scheduling task of each time slot t be processed within the current time slot.
[0211] Further, the S107: calculates the TD target and TD error of the low-level IDDPG agent; updates the main low-level Actor network and Critic network; and updates the target Actor network and Critic network.
[0212] The main actor network predictions are as follows:
[0213]
[0214] And the target actor network makes predictions based on:
[0215]
[0216] Leading critics network predictions:
[0217]
[0218] And the target critic network makes predictions based on:
[0219]
[0220] Calculate the TD target according to the following formula:
[0221]
[0222] And the TD error is obtained according to the following formula:
[0223]
[0224] Update the critic network according to the following formula:
[0225]
[0226] Update the actor network according to the following formula:
[0227]
[0228] Furthermore, the S108: updating the parameters of the target Actor and Critic network based on the small batch experience; the updating formula for updating the parameters of the target Actor and Critic network according to the updated main Actor and Critic network parameters is as follows:
[0229] θ - ←ζ·θ+(1-ζ)·θ - ,
[0230] w - ←ζ·w+(1-ζ)·w - ,
[0231] Where θ represents the parameters of the current policy network, θ - represents the parameters of the target strategy network, w represents the parameters of the current value network, and w - Represents the parameters of the target value network, ζ∈[0,1] is a hyperparameter that needs to be manually adjusted.
[0232] Further, in the last time slot of the frame, after the IDDPG agent obtains its reward, the high-level DQN agent obtains the high-level reward, i.e., the profit r of the frame. high (k), and the state transitions to the next state s high (k+1). The calculation formula for high-level rewards is as follows:
[0233] r high (k)=Profit(k),
[0234] Where Profit(k) is the profit of the system during each k-frame period, which is our objective function.
[0235] Furthermore, the S110: storing the current experience in the experience playback buffer D high ; If the buffer is full, delete the oldest experience to make room; sample a small batch of experience M1 from the experience replay buffer, use the state and action as the input of the DQN main network, and get the estimated Q value:
[0236] q high (k) m =Q(s high (k) m ,a high (k) m ;ω),
[0237] Where ω is the weight of the main Q network.
[0238] Will s high (k+1) m As input to the target network, we get:
[0239]
[0240] Among them, ω - is the weight of the target Q network.
[0241] Furthermore, the S111: calculates the TD target and TD error of the high-level DQN agent, updates the main DQN network and the target DQN network; updates the parameters of the target Q network based on the small batch experience; and updates the target Q network parameters according to the updated main Q network parameters.
[0242] The temporal difference (TD) target is calculated according to the following formula:
[0243]
[0244] And according to the calculated TD error:
[0245]
[0246] Update the main DQN network:
[0247]
[0248] Where α1 is the learning rate. Update the target DQN network according to the following formula:
[0249]
[0250] in, is a hyperparameter that needs to be manually tuned.
[0251] In order to elaborate on the MEC-driven air-ground integrated network joint optimization method of hierarchical DRL, the present invention provides two specific application embodiments, including key details of the implementation scheme.
[0252] Application Example 1: Wireless Communication Optimization in Remote Areas
[0253] 1) System initialization
[0254] In the wireless communication system in remote areas, the main Q network, main actor and critic network are first deployed, corresponding to the high-level DQN agent and the low-level IDDPG agent respectively. The network parameters are initialized, including learning rate, discount factor, experience replay buffer size, etc. At the same time, multiple communication base stations and drones are deployed in remote areas as aerial relay stations to expand the communication coverage.
[0255] 2) Hierarchical DRL agent interacts with the environment
[0256] The high-level DQN agent is responsible for the long-term task placement and replacement strategy, which generates actions based on the communication needs of remote areas, the status of base stations and drones, such as adjusting the transmission power of base stations, the flight trajectory of drones, etc. These actions are aimed at optimizing the coverage and signal quality of the communication network.
[0257] The low-level IDDPG agent is responsible for short-term drone deployment, flight time optimization, and access control. It generates specific actions based on the guidance of high-level strategies, combined with real-time channel conditions, user requests, and drone status, such as adjusting drone communication parameters and optimizing data transmission rates. In the process of action generation, the agent adds appropriate exploration noise to discover more effective communication strategies.
[0258] 3) Action execution and reward acquisition
[0259] After executing the actions generated by the high-level and low-level agents, the system obtains immediate rewards based on the performance changes of the communication network. The reward signal is calculated based on indicators such as communication quality, signal stability, and data transmission rate. The system state transitions to the next state, which involves changes in user locations, fluctuations in channel conditions, and new communication requests.
[0260] 4) Optimization and update
[0261] Based on the collected experience data (state, action, reward and next state), the high-level and low-level agents update their Q network, Actor and Critic network respectively. Through the training process of the hierarchical DRL algorithm, the agent gradually learns the optimization strategy to adapt to the wireless communication environment in remote areas. The optimization process not only focuses on improving the communication quality, but also focuses on reducing the energy consumption of equipment and drones to achieve sustainable communication services.
[0262] 5) Performance evaluation and tuning
[0263] The performance of the hierarchical DRL algorithm is evaluated through simulation experiments or field tests. Key indicators such as the coverage, signal quality, and data transmission rate of the communication network are analyzed and compared with traditional methods. According to the evaluation results, the algorithm parameters are adjusted and optimized to further improve the performance and stability of the communication network. Through the above steps, the MEC-driven air-ground integrated network joint optimization method of the hierarchical DRL proposed in the present invention can effectively solve the challenges faced by wireless communications in remote areas and improve communication quality and user experience.
[0264] Application Example 2: Emergency rescue communication guarantee in disaster-hit areas
[0265] 1) System initialization
[0266] The main DQN network and IDDPG network are urgently deployed in the disaster-hit area as high-level and low-level intelligent agents to initialize relevant network parameters. At the same time, multiple emergency rescue communication equipment are configured, including communication relay stations carried by drones and temporary ground communication base stations.
[0267] 2) Agent-environment interaction
[0268] Each communication device generates actions based on the real-time communication needs and channel conditions of the disaster area, such as adjusting the communication frequency, power allocation, or the flight trajectory of the drone. The generation of actions not only considers the current communication strategy, but also the environmental noise and uncertainty, so as to find a more efficient communication guarantee strategy in the exploration.
[0269] 3) Action execution and reward acquisition
[0270] After executing the action, you will get instant rewards based on key indicators such as the stability of the communication link, data transmission rate and latency. At the same time, the system status will be updated to reflect changes in the communication environment in the disaster area and the working status of the communication equipment.
[0271] 4) Network update and optimization
[0272] Using the collected data and rewards, the high-level DQN network and the low-level IDDPG network in the hierarchical DRL algorithm are collaboratively optimized. The high-level DQN network is responsible for the formulation of long-term communication strategies, while the low-level IDDPG network is responsible for the optimal allocation of short-term communication resources. Through continuous iteration and training, the algorithm gradually improves the stability and efficiency of the communication system, ensuring unimpeded communication during emergency rescue operations.
[0273] 5) Emergency rescue communication guarantee
[0274] Through the hierarchical DRL algorithm of the present invention, intelligent management and optimization of the emergency rescue communication system in the disaster area are achieved. The algorithm focuses on improving the stability of the communication link and the efficiency of data transmission, reducing communication delays, and ensuring that the rescue team can obtain disaster information and coordinate rescue operations in real time. This not only improves the success rate of rescue operations, but also reduces the waste of rescue resources and casualties caused by poor communication. Through the above steps, the present invention provides an efficient and intelligent solution for emergency rescue communication security in disaster-stricken areas, and provides strong support for the successful implementation of rescue operations.
[0275] In these two embodiments, the MEC-driven air-ground integrated network joint optimization method of hierarchical DRL provides an efficient, reliable and energy-saving solution for different application scenarios, from remote areas to disaster-stricken areas, demonstrating its wide application potential and technical advantages.
[0276] In order to comprehensively evaluate the performance of the present invention, we compared it with several benchmark algorithms. These benchmark algorithms have different characteristics and advantages, but are representative in dealing with similar problems. By comparing the performance of these algorithms under the same conditions, we can more clearly understand where the present invention performs well and where it is insufficient.
[0277] 1. UAV processing: In this algorithm, the unloading rate of all UDs is fixed to and, while the unloading rate of UAV is set to.
[0278] 2. BS processing: In this algorithm, the offloading rate of all UDs is fixed to and, while the offloading rate of UAV is set to . This means that all UDs offload all their input data to UAVs, which then offload the data received from UDs to BS for further processing.
[0279] 3. DDPG: This algorithm relies on random decision-making for task placement and replacement. DDPG plays a key role in jointly optimizing the placement of drones within each time slot, the flight time of drones, task offloading, and access control.
[0280] 4. Random access control: Since we use TDMA, each time slot can only be used for one UD. In this algorithm, the access control is randomly determined, that is, each time slot is assigned to a random UD for task offloading.
[0281] 5. Random Drone Placement: This algorithm involves randomly determining drone placement decisions. Therefore, the drones will fly at random speeds in randomly selected directions.
[0282] 6. The present invention: It represents the proposed multi-time-scale hierarchical DRL algorithm.
[0283] exist Figure 5In this paper, we show the convergence performance of all the above algorithms under the default parameter settings. The convergence performance is evaluated based on three performance indicators: convergence speed, convergence stability, and the reward value obtained. The results show that the proposed method has a faster convergence speed and almost reaches convergence in the first 10 iterations. However, the proposed algorithm performs well in terms of reward and stability. On the one hand, it obtains the highest reward. In addition, after the 50th iteration, the reward of the proposed method remains relatively stable, while the other algorithms show varying degrees of fluctuations.
[0284] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any modifications, equivalent substitutions and improvements made by any technician familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principle of the present invention should be covered by the protection scope of the present invention.
Claims
1. A MEC-driven air-ground integrated network joint optimization method based on multi-time scale hierarchical DRL, characterized in that: A method based on multi-time-scale hierarchical deep reinforcement learning (DRL) is used to optimize the air-ground integrated network driven by mobile edge computing (MEC). By adopting a master-slave two-layer architecture, the upper-layer DQN network is mainly responsible for high-level policy decisions, while the lower-layer IDDPG network optimizes the specific action execution of each time slot.
2. The MEC-driven air-ground integrated network joint optimization method based on multi-time scale hierarchical DRL as claimed in claim 1 is characterized in that: The following steps are involved: S101, system initialization, including the parameters of the main Q network ω, the parameters of the target Q network ω - , the parameters θ and w of the main Actor and Critic network, the parameters θ of the target Actor and Critic network - =θ and w - =w, number of iterations L, number of iterations per iteration, i.e. number of frames K, number of time slots in each frame T, initialization of the learning rate α1 of the DQN network, learning rates α2 and β2 corresponding to the Critic and Actor networks, discount factor γ, initialization of the replay buffer size D high and D low , mini-batch sizes M1 and M2, OU noise Ξ(t) for motion exploration; initialization of network layout parameters, such as the number of ground mobile UDs I and other task parameters; S102, the agent interacts with the environment; at the beginning of each cycle, the system state s of the high-level DQN agent is initialized high ; Use the ∈-greedy strategy to select the high-level action a of the DQN agent high (k), obtain the task placement and replacement strategy of the frame; S103, the agent executes the generated action and determines whether the constraints are met to generate a temporary high-level reward indicator If the constraints are satisfied, then In each time slot within the frame, the IDDPG agent is used to perform low-level task processing related optimization, otherwise S104, initialize the state s of the low-level IDDPG agent low (t), using probabilistic random sampling to convert continuous output values into binary access control, the IDDPG agent performs actions The joint task offloading ratio of UDs and UAVs in the time slot, the admission control of UDs, UAV placement and UAV flight time optimization strategy are obtained; S105, the agent receives a reward r after executing the generated action low (t), the lower level state is transformed into the next state s low (t+1); S106, storing the current experience in the experience playback buffer D low ; If the buffer is full, the oldest experience is deleted to make room; Randomly extract the low-level experience of M2, where It is a set of small batches of low-level experience sets extracted; S107, calculate the TD target and TD error of the low-level IDDPG agent; update the main low-level Actor network and Critic network; update the target Actor network and Critic network; S108, update the parameters of the Actor and Critic networks based on the small batch experience; update the parameters of the target Actor and Critic networks according to the updated parameters of the main Actor and Critic networks; S109, in the last time slot of the frame, after the IDPG agent gets its reward, the high-level DQN agent gets the high-level reward r high (k), and the state transitions to the next state s high (k+1); S110, storing the current experience in the experience playback buffer D high ; If the buffer is full, delete the oldest experience to make room; sample a small batch of experience M1 from the experience replay buffer, use the state and action as the input of the DQN main network, and get the estimated Q value; S111, calculate the TD target and TD error of the high-level DQN agent, update the main DQN network and the target DQN network, and update the target Q network parameters according to the updated main Q network parameters; S112, repeat iterative training, select the optimal action according to the corresponding action Q value in each state, obtain the maximum benefit, and finally obtain the optimal task placement and replacement, the joint task offloading rate of UDs and UAVs, the access control of UDs, UAV placement and UAV flight time optimization strategy.
3. The MEC-driven air-ground integrated network joint optimization method based on multi-time scale hierarchical DRL as claimed in claim 1 is characterized in that: At the beginning of each cycle, S102 initializes the system state s of the high-level DQN agent. high ; where the status is represented by: s high ={r(k),N(k-1)}, in represents the task request of the kth frame of UDs; Indicates whether there is task h on the drone at the end of the k-1th frame or the beginning of the kth frame; the high-level action a of the DQN agent is selected using the ∈-greedy strategy high (k), we get the task placement and replacement strategy for the frame, and the action is expressed as: in is the task placement decision; It is a task replacement decision.
4. The MEC-driven air-ground integrated network joint optimization method based on multi-time scale hierarchical DRL as claimed in claim 1 is characterized in that: In S103, the agent executes the generated action and determines whether the constraint is satisfied to generate a temporary high-level reward indicator. The calculation formula for temporary reward is as follows: Among them, (C1) is a binary constraint on task placement and replacement; (C2) means that only when n h The task placement is valid only when (k-1) = 0, that is, the task placement can be performed in the kth frame only when the task h does not exist in the drone in the k-1th frame; (C3) means that only when n h When (k-1)=1, task replacement is valid, that is, only when task h exists in the UAV in the k-1th frame can the task replacement decision be made in the kth frame; (C4) is the constraint that task placement and replacement cannot be performed at the same time, that is, at most one can be performed in the same frame; (C5) means that the amount of deployed tasks cannot exceed the storage capacity of the UAV; when When , that is, task placement and replacement satisfy constraints (C1)-(C5), it is feasible to perform low-level optimization through the IDDPG agent; when When the placement and replacement of tasks is not feasible, it is meaningless to perform low-level optimization, because the high-level solution and the low-level solution together constitute the problem When the high-level solution is infeasible, no matter what the low-level solution is, the entire solution is also infeasible; The state s of the low-level IDDPG agent is initialized in S104 low (t), where the state is represented by: in is the task deployment condition, indicating whether task h has been deployed on the UAV at the beginning of time slot t; I rm (t-1) is the number of UDs remaining at the end of the last time slot; u(t) = {u x (t),u y (t)} is the horizontal coordinate of the UAV at the beginning of time slot t; in It is an indicator of whether there is an obstruction between the UDi and the drone; It is an indicator of whether there is a blockage between the drone and the BS; is the horizontal coordinate of UDi in time slot t; the state space of the low-level IDDPG agent is recorded as is the set of all lower-level states; Using probabilistic random sampling to convert continuous output values into binary access control, the IDDPG agent performs actions The action is represented by: in represents the drone deployment strategy; is the task offloading rate of UDs; is the UAV’s task offloading rate; is the flight time of the drone; where a i (t) is the access control strategy of UDi; the action space of IDDPG agent is expressed as It is the set of all feasible solutions for the variables involved in task processing.
5. The MEC-driven air-ground integrated network joint optimization method based on multi-time scale hierarchical DRL as claimed in claim 1 is characterized in that: In S105, the agent performs the generated action and obtains a reward r low (t), the lower level state is transformed into the next state s low (t+1); the reward calculation formula is as follows: Among them, the first term refers to the benefit of using the drone when UDs access drone j and offload part of the task to the drone; the second term refers to the operating cost of the drone at time slot t, and the third part is the economic expenditure of the drone for task deployment; (C6) and (C7) are the mobility constraints for drone placement, where (C6) is the mobility speed constraint and (C7) is the mobility direction angle constraint; (C8) is the constraint on the flight time of the drone in each time slot; (C9) is the binary constraint for access control; constraints (C10) and (C11) are TDMA constraints, where (C10) ensures that only one UD is allowed to access the drone in each time slot t, and (C11) requires that each UD can only be assigned to one time slot in each frame; (C12) and (C13) are constraints for partial task offloading of UDs; (C14) is a constraint for partial task offloading of drones; (C15) is a quality of service constraint, requiring that the scheduling task of each time slot t be processed within the current time slot.
6. The MEC-driven air-ground integrated network joint optimization method based on multi-time scale hierarchical DRL as claimed in claim 1, characterized in that: The main actor network prediction in S107 is as follows: And the target actor network makes predictions based on: Leading critics network predictions: And the target critic network makes predictions based on: Calculate the TD target according to the following formula: And the TD error is obtained according to the following formula: Update the critic network according to the following formula: Update the actor network according to the following formula:
7. The MEC-driven air-ground integrated network joint optimization method based on multi-time scale hierarchical DRL as claimed in claim 1 is characterized in that: The update formula for updating the target Actor and Critic network parameters according to the updated main Actor and Critic network parameters in S108 is as follows: i - ←ζ·θ+(1-ζ)·θ - , In - ←ζ·w+(1-ζ)·w - , Where θ represents the parameters of the current policy network, θ - represents the parameters of the target strategy network, w represents the parameters of the current value network, and w - Represents the parameters of the target value network, ζ∈[0,1] is a hyperparameter that needs to be manually adjusted.
8. The MEC-driven air-ground integrated network joint optimization method based on multi-time scale hierarchical DRL as claimed in claim 1, characterized in that: The calculation formula for the S109 mid-level and high-level rewards is as follows: r high (k)=Profit(k), Where Profit(k) is the profit of the system during each k-frame period, which is our objective function.
9. The MEC-driven air-ground integrated network joint optimization method based on multi-time scale hierarchical DRL as claimed in claim 1, characterized in that: S110: storing the current experience in the experience playback buffer D high ; If the buffer is full, delete the oldest experience to make room; sample a small batch of experience M1 from the experience replay buffer, use the state and action as the input of the DQN main network, and get the estimated Q value: q high (k) m =Q(s high (k) m ,a high (k) m ;ω), Where ω is the weight of the main Q network; Will s high (k+1) m As input to the target network, we get: Among them, ω - is the weight of the target Q network; Furthermore, in S111, a temporal difference (TD) target is calculated and generated according to the following formula: And according to the calculated TD error: Update the main DQN network: Where α1 is the learning rate; the target DQN network is updated according to the following formula: in, is a hyperparameter that needs to be manually tuned.
10. A MEC-driven air-ground integrated network joint optimization system based on multi-time scale hierarchical DRL according to any one of claims 1 to 9, characterized in that: The system comprises: System initialization module, used to initialize the deep Q network algorithm parameters, including the parameters ω of the main Q network and the parameters ω of the target Q network - ; Used to initialize the parameters of the deep deterministic policy gradient algorithm, including the parameters θ and w of the main Actor and Critic network, and the parameters θ of the target Actor and Critic network - =θ and w - =w; Used to set the number of iterations L, the number of iterations per iteration (i.e. the number of frames K), and the number of time slots in each frame T; The learning rate α1 used to initialize the DQN network, the learning rates α2 and β2 corresponding to the Critic and Actor networks, the discount factor γ, and the initial replay buffer size D high and D low , mini-batch sizes M1 and M2 and OU noise Ξ(t) for action exploration; Configuration module, used to set application-specific parameters, including mission parameters such as the number of ground mobile UDs; The agent module is used to generate actions based on the current high-level network state at the beginning of each cycle, and has the function of using a greedy strategy to the generated actions; it is used to generate actions based on the current low-level network state at the beginning of each cycle, and has the function of adding exploration noise to the generated actions; Action execution module, used to perform task placement and replacement; used to perform joint task offloading rate of UDs and UAVs, access control of UDs, UAV placement and UAV flight time optimization strategy; A reward acquisition module is used to execute actions and calculate temporary rewards. The reward acquisition module is designed based on whether the system's constraints are met and is a judgment module for determining whether to perform low-level optimization; The reward acquisition module is used to calculate the reward based on the executed action and the current state, the reward based on the benefits of all devices in the system in the current time slot, and the reward based on the benefits of all devices in the system at the end of the frame; The state transfer module is used to transfer the low-level system state from the current state to the next state; The experience replay module is used to store the experience tuples of each low-level system state, action, reward, and next state; The data sampling module is used to extract mini-batchM1 from the experience stored in the experience replay module for learning; A network update module, used to update the main Q network, the main Actor network and the main Critic network according to the information obtained by the data sampling module, and the module includes a parameter optimization unit that uses a gradient descent method to adjust the network parameters; A parameter update module is used to update the parameters of the target Q network, the target Actor network, and the target Critic network according to the parameters of the main network. This module adopts a soft update strategy, in which the target network parameters are the parameter synchronization unit of the weighted average of the main network parameters; Network update module, parameter update module, used to update the target Actor network and target Critic network according to the main network parameters. This module adopts a soft update strategy, in which the target network parameters are the parameter synchronization unit of the weighted average of the main network parameters.
Citation Information
Cited By
Construction method, control method and system of flight control network
CN119668277A
Flight control network construction method, control method and system
CN119668277B
