Double-layer UAV-assisted vehicle networking signal coverage method

The double-layer UAV-assisted IoV signal coverage method solves the problem of excessive computing resource demand during traffic congestion. By predicting and dynamically deploying UAVs, UAV trajectories and task allocation are optimized to achieve efficient computing. Resource utilization and low-latency IoV signal coverage.

CN117939429BActive Publication Date: 2024-09-20GUANGDONG UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311403249.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-26
Publication Date
2024-09-20
Estimated Expiration
2043-10-26

AI Technical Summary

Technical Problem

In the case of traffic congestion, the vehicle's demand for computing resources far exceeds the amount of computing that a single-layer UAV can carry, resulting in a sharp decrease in task processing performance and an increase in latency.

Method used

Adopting a two-layer UAV-assisted Internet of Vehicles signal coverage method, by predicting ground mission needs, the first layer of UAVs is divided into target areas and deployed, and the second layer of UAVs is calculated and deployed based on the actual demand to optimize the task complement. The flight trajectory of the second-layer UAV is designed to minimize energy consumption, and edge nodes are used to share road information to optimize task allocation and computing resource utilization.

Benefits of technology

It achieves more comprehensive and efficient regional coverage, reduces UAV flight energy consumption and the total number of computing tasks, improves the utilization efficiency and processing performance of computing resources, and reduces latency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117939429B
    Figure CN117939429B
Patent Text Reader

Abstract

The present invention relates to unmanned aerial vehicle task offloading and edge computing, and more specifically, to a dual-layer unmanned aerial vehicle assisted vehicle network signal coverage method. The present invention takes into account the computing, flight, and information transmission behaviors of the second-layer unmanned aerial vehicle, comprehensively considers the computing energy consumption, flight energy consumption, and communication energy consumption, and dynamically deploys the optimal flight trajectory of the unmanned aerial vehicle on this basis. When the actual task volume in the first-layer meta-area is less than or equal to the predicted demand, the meta-area is not considered when planning the trajectory of the second-layer unmanned aerial vehicle. When the actual task demand in the first-layer meta-area is greater than the predicted task demand, the second-layer unmanned aerial vehicle energy consumption is minimized, and the optimal execution computing task path is planned for the unmanned aerial vehicle to assist the first-layer unmanned aerial vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the fields of drone task offloading and edge computing, and more specifically, to a double-layer drone-assisted vehicle networking signal coverage method. Background Art

[0002] With the popularization of 5G communications, vehicles' demands for various transportation are also increasing. In particular, "tidal" traffic jams often occur during peak hours in the morning and evening, generating a large number of complex computing tasks. Since the vehicle's own computing power is limited and it cannot fully handle these tasks, it will cause a large delay, affecting the service quality. Edge computing with drones as mobile terminals can offload a large number of tasks to the edge nodes of drones, reduce task computing delays, and alleviate task congestion. Edge nodes can process delay-sensitive mobile application services near the devices where data is generated, and process corresponding computing tasks, reducing the amount of tasks transmitted to the central cloud. Drone edge nodes can be deployed in different locations according to demand, so as to improve the performance of processing tasks and reduce the total delay required for their services.

[0003] In most of the current literature related to drone edge-assisted computing, only a single layer of drones is considered for planning and deployment based on the predicted demand for traffic tasks. When the traffic computing task volume is abnormal, such as traffic congestion in certain areas due to special reasons such as car accidents, the demand for computing resources by congested vehicles in the same time period is quite large, and the amount of tasks generated far exceeds the computing capacity that locally deployed drones can bear. If more edge nodes are not provided, the task processing performance will be sharply reduced and huge delays will be generated. Summary of the invention

[0004] In order to overcome the defect of the above-mentioned prior art that when traffic congestion occurs in certain areas due to special reasons such as traffic accidents, the congested vehicles have a considerable demand for computing resources in the same time period, and the amount of tasks generated far exceeds the computing amount that locally deployed drones can bear, the present invention provides a double-layer drone-assisted Internet of Vehicles signal coverage method.

[0005] The present invention aims to solve the above technical problems at least to a certain extent.

[0006] In order to solve the above technical problems, the technical solution of the present invention is as follows:

[0007] The double-layer UAV-assisted vehicle networking signal coverage method includes the following steps:

[0008] S1: Forecast ground mission requirements;

[0009] S2: Divide the target area according to the predicted value of ground mission demand obtained in step S1, and deploy the first layer of drones evenly in the target area;

[0010] S3: Calculate the task replenishment quantity according to the actual task demand of the first-layer drones and deploy the second-layer drones;

[0011] S4: Optimize the task replenishment of the second-layer UAVs according to the road information shared by the edge nodes and minimize the total flight energy consumption of the second-layer UAVs.

[0012] In step S2, the target area is divided according to the predicted value of ground mission demand, and the first layer of drones are evenly deployed in the target area. Specifically, the target area is divided into multiple areas according to the mission prediction value, and the mission prediction value of each area is equal. One drone is deployed in each area, and the drones are stationary and hover in the corresponding area to provide services, and are at the same constant height from the ground.

[0013] Before deploying a drone in each area, the method also includes: allocating different drones to hover in different areas in advance according to the distance between the drone parking charging station and the hovering point and the service demand predicted by the road traffic situation.

[0014] In step S3, the calculation of the task supplement quantity according to the actual task demand quantity of the first-layer drones includes the following steps:

[0015] S3.1: Calculate the difference between the predicted task demand and the actual task demand:

[0016] T j =I j -I o

[0017] In the formula, I j is the actual task demand of the j-th area, I o is the forecast task demand of each area, T j Replenish the task volume;

[0018] S3.2: Deploy the second layer of drones according to the task replenishment obtained in step S3.1.

[0019] The second layer of drones are deployed according to the task replenishment amount, specifically: when T j ≤0, the actual task demand in the area is less than the predicted task demand, and the first-layer UAVs above the area have no task requests for the second-layer UAVs; when T j When >0, the actual task demand in the area is greater than the predicted task demand, and the first-layer drones above the area have task requests for the second-layer drones.

[0020] In step S3, the deployment of the second layer of drones is specifically: assigning a drone with redundant computing capacity to fly between the drones of the first layer of drones. At any time, the distance between the second layer of drones and the first layer of drones hovering in the air above the area is expressed as:

[0021]

[0022] O(t) is the position of the second-layer drone in the tth time slot. t ,y t ,z t ] T (0≤t≤M), h0 is the constant height of the drone, [x j ,y j ] T is the position of the UAV in the jth block area, o j is the position where the jth UAV on the first layer is hovering, o j =[x j ,y j ,h0] T , considering the flight speed and performance of the drone, after flying for a period of time, the position O(M) needs to return to the initial position O(0) for charging, specifically:

[0023] O(M)=O(0)

[0024] The flight speed v(t) and acceleration a(t) of the drone at time slot t:

[0025]

[0026]

[0027] Among them, δ t is a fixed time step.

[0028] At the same time, the flight speed and acceleration of the drone meet the following constraints:

[0029] Flight speed limit: v(t)≤v max

[0030] Acceleration limit: a(t)≤a(t) max .

[0031] In step S4, the task volume of the second-layer drone is optimized according to the road information shared by the edge nodes. Specifically, after the second-layer drone receives the supplementary task from the first-layer drone, it calculates the task similarity of each unloaded data through the computing power required to complete the supplementary task and the change of the position of the second-layer drone during the execution of the supplementary task, and classifies the tasks with similar task similarity into the same category of tasks.

[0032] The task similarity φ is:

[0033]

[0034] Where α and β are weights, is the task start time, φ is the task similarity, is the task end time, O(t) is the position of the second-layer UAV in the tth time slot, t is the time required for the task, and v(t) is the flight speed of the second-layer UAV.

[0035] In step S4, the minimization of the total energy consumption of the second-layer UAV flight is specifically as follows:

[0036] Minimize the total energy consumption of the second-layer drones and optimize the three-dimensional flight trajectory of the second-layer drones

[0037]

[0038] E fly is the flight energy consumption of the second-layer UAV, E calculation is the computing energy consumption of the second-layer drone, E up is the information transmission energy consumption of the second-layer UAV, a(t) is the instantaneous acceleration of the second-layer UAV, and O(t) is the position of the second-layer UAV u0 in the tth time slot;

[0039] In a certain time slot, the flight energy consumption of the second-layer drone can be expressed as:

[0040]

[0041] Where g represents the acceleration due to gravity. γ1 and γ2 are fixed parameters related to wing area, aircraft weight, and air density;

[0042] When the task replenishment amount T j If it is greater than 0, the supplementary task needs to be offloaded to the second-layer drone for assistance.

[0043] The computational energy of performing the supplementary tasks from the first-layer drones in a certain time slot can be expressed as:

[0044]

[0045] Among them, T j is the amount of supplementary tasks unloaded from the first-layer UAV to the second-layer UAV in time slot t, x i is the number of computation cycles to execute 1 bit, k is a constant related to the hardware architecture of the first-layer drone itself, is the CPU cycle frequency of time slot t;

[0046] The communication energy consumption of task offloading in region j in time slot L can be expressed as:

[0047]

[0048] in, is the part of the maximum power allocated to the first layer of drones in area j in time slot L, P is the maximum transmission power of the first layer of drones, and the first layer of drones in area j unloads communication energy to For the boundary, that is

[0049]

[0050] In the formula, The maximum unloaded communication energy of the first-layer UAV in region j.

[0051] Therefore, if the first-layer UAVs are close, the energy consumption of users on communication can be reduced. On the other hand, for computing energy consumption, the minimum amount of input data that the first-layer UAVs in region j need to offload is T j , specifically:

[0052]

[0053] in The maximum computing energy that can be achieved by replenishing the second-level tasks, The parameter k is a constant related to the hardware architecture.

[0054] The constraint function for minimizing the total energy consumption of the second-level UAV flight is:

[0055] The second layer drone needs to return to its original position to charge after flying for a period of time to ensure stable communication services:

[0056] O(M)=O(0)

[0057] The second-tier drone cannot fly faster than the rated speed:

[0058] v(t)≤v max

[0059] The second level of the drone’s flight acceleration cannot exceed the upper limit:

[0060] a(t)≤a(t) max

[0061] The CPU cycle frequency of the second-layer drone cannot be greater than the maximum CPU cycle frequency:

[0062]

[0063] The communication energy unloading of the second-layer UAV in region j needs to be bounded by the maximum communication energy:

[0064]

[0065] The computing power of the second-tier drones may be redundant to meet the underlying service requirements:

[0066]

[0067] Compared with the prior art, the technical solution of the present invention has the following beneficial effects:

[0068] The present invention constructs a UAV flight energy consumption function model, thereby minimizing the total flight energy consumption, optimizing the UAV trajectory, and realizing energy-saving communication between two layers of UAVs. In addition, after the task receiver, i.e., the second-layer UAV, receives the task from the first-layer UAV, it calculates the task similarity of each unloaded data by considering the computing power required to complete the task and the change of the UAV position during the execution of the task, and classifies the tasks with similar task similarity into one category, shares the calculation results, thereby reducing the total amount of computing tasks, reducing the energy loss during the execution of the task, and further optimizing the UAV flight trajectory. The present invention can cover a specific area more comprehensively and efficiently, consider the mobility of the UAV, and improve the utilization efficiency of computing resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] Figure 1 A model diagram of a deployment system of a double-layer UAV according to the present invention;

[0070] Figure 2 It is a task similarity illustration diagram described in the present invention;

[0071] Figure 3 This is a diagram illustrating the task similarity described in this embodiment. DETAILED DESCRIPTION

[0072] The drawings are for illustrative purposes only and should not be construed as limiting the present patent;

[0073] In order to better illustrate the present embodiment, some parts in the drawings may be omitted, enlarged or reduced, and do not represent the size of the actual product;

[0074] It is understandable to those skilled in the art that some well-known structures and their descriptions may be omitted in the drawings.

[0075] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0076] Example 1

[0077] Double-layer UAV-assisted vehicle networking signal coverage method, such as Figure 1 As shown, the following steps are included:

[0078] S1: Forecast ground mission requirements;

[0079] S2: Divide the target area according to the predicted value of ground mission demand obtained in step S1, and deploy the first layer of drones evenly in the target area;

[0080] S3: Calculate the task replenishment quantity according to the actual task demand of the first-layer drones and deploy the second-layer drones;

[0081] S4: Optimize the task replenishment of the second-layer UAVs according to the road information shared by the edge nodes and minimize the total flight energy consumption of the second-layer UAVs.

[0082] The double-layer drone coverage of the present invention utilizes two layers of drones working together to achieve comprehensive coverage of the area. The first layer of drones hovers still at a specific fixed position to provide stable services, and the second layer of drones hovers and moves between various service points in need to supplement the service supply of the first layer of drones. They can be quickly deployed to different service locations according to actual service needs to assist the first layer of drones in completing tasks. On the one hand, it can optimize resource utilization and reduce redundant computing resources. On the other hand, it can improve coverage efficiency, improve data transmission and processing capabilities, and enhance the mobility of drones in processing dynamically distributed information.

[0083] Example 2

[0084] This embodiment further discloses the following contents based on the embodiment 1:

[0085] In step S2, Figure 2 As shown, the target area is divided according to the predicted value of ground mission demand, and the first layer of drones are evenly deployed in the target area. Specifically, the target area is divided into multiple areas according to the mission prediction value, and the mission prediction value of each area is equal. One drone is deployed in each area, and the drones are stationary and hover in the corresponding area to provide services, and are at the same constant height from the ground.

[0086] In the specific implementation process, in order to cover as much road information as possible, the present invention networks the region and divides the study area into N regions according to the task prediction amount, so that the task prediction demand of each region is I o are equal, and the position of the jth block is recorded as s j =[x j ,y j ] T , one UAV is deployed over each area, with a total of N UAVs, denoted as U = {u1,u2,…,u N}, the stationary hovering provides services in the corresponding area, and the height from the ground is the same constant height h0, so the position of the jth UAV stationary hovering can be recorded as oj =[x j ,y j ,h0] T ,It can connect to the cloud carried by the second layer quadrotor UAV in each time slot after the start of each flight cycle, and send an offloading task request according to the task requirements.

[0087] Example 3

[0088] This embodiment further discloses the following contents based on Embodiments 1 and 2:

[0089] Before deploying a drone in each area, the method also includes: allocating different drones to hover in different areas in advance according to the distance between the drone parking charging station and the hovering point and the service demand predicted by the road traffic situation.

[0090] In step S3, the calculation of the task supplement quantity according to the actual task demand quantity of the first-layer drones includes the following steps:

[0091] S3.1: Calculate the difference between the predicted task demand and the actual task demand:

[0092] T j =I j -I o

[0093] In the formula, I j is the actual task demand of the j-th area, I o is the forecast task demand of each area, T j Replenish the task volume;

[0094] S3.2: Deploy the second layer of drones according to the task replenishment obtained in step S3.1.

[0095] The second layer of drones are deployed according to the task replenishment amount, specifically: when T j ≤0, the actual task demand in the area is less than the predicted task demand, and the first-layer UAVs above the area have no task requests for the second-layer UAVs; when T j When >0, the actual task demand in the area is greater than the predicted task demand, and the first-layer drones above the area have task requests for the second-layer drones.

[0096] In step S3, the deployment of the second layer of drones is specifically: assigning a drone with redundant computing capacity to fly between the drones of the first layer of drones. At any time, the distance between the second layer of drones and the first layer of drones hovering in the air above the area is expressed as:

[0097]

[0098] O(t) is the position of the second-layer drone in the tth time slot. t ,y t ,z t ] T (0≤t≤M), h0 is the constant height of the drone, [x j ,y j ] T is the position of the UAV in the jth block area, o j is the position where the jth UAV on the first layer is hovering, o j =[x j ,y j ,h0] T , considering the flight speed and performance of the drone, after flying for a period of time, the position O(M) needs to return to the initial position O(0) for charging, specifically:

[0099] O(M)=O(0)

[0100] The flight speed v(t) and acceleration a(t) of the drone at time slot t:

[0101]

[0102]

[0103] Among them, δ t is a fixed time step.

[0104] At the same time, the flight speed and acceleration of the drone meet the following constraints:

[0105] Flight speed limit: v(t)≤v max

[0106] Acceleration limit: a(t)≤a(t) max .

[0107] Example 4

[0108] This embodiment further discloses the following contents based on Embodiments 1, 2 and 3:

[0109] In step S4, the task volume of the second-layer drone is optimized according to the road information shared by the edge nodes. Specifically, after the second-layer drone receives the supplementary task from the first-layer drone, it calculates the task similarity of each unloaded data through the computing power required to complete the supplementary task and the change of the position of the second-layer drone during the execution of the supplementary task, and classifies the tasks with similar task similarity into the same category of tasks.

[0110] If the first-layer drone needs to be unloaded to u0 for auxiliary computing, the upload wireless transmission delay of the unloaded task is:

[0111]

[0112] Since the amount of data outputted by the calculation result is usually much smaller than the amount of input data, in the process of calculating the communication energy consumption, usually only the data upload time is considered, and the download time is ignored. j When the task is assigned to the target node u0. If the target node has unfinished tasks, the task will enter the task queue. When all previous tasks in the task queue are completed in order, it is the turn of the task to be executed. At this time, a queuing delay t is generated. q .

[0113] Task start time Task end time

[0114] Task similarity can be expressed as:

[0115]

[0116] Where α and β are weights, is the task start time, φ is the task similarity, is the task end time, O(t) is the position of the second-layer UAV in the tth time slot, t is the time required for the task, v(t) is the flight speed of the second-layer UAV, the first term is the ratio of the task operation cost to the required time, that is, the computing power required to complete the task, and the second term is the change of the position of u0 during the execution of the task. Based on this collaborative model, the amount of information processed by u0 is reduced, the task is unloaded to the edge node u0, the information resource cache is reduced, and the overhead of the same type of tasks is reduced to a certain extent:

[0117] T j =T j1 +T j2 -T cj1j2

[0118] In the specific implementation process, Figure 3 As shown, the collaboration between similar tasks is demonstrated. Similar unloading tasks belong to the drones connected to the second-layer edge node u0. The task similarity is calculated by the task collaboration controller of the edge node, including the task end time and task overhead. According to the task collaboration controller, tasks with similar tasks are classified into one category and the calculation results are shared to reduce the total task demand of the second-layer drones.

[0119] In the current research on unloading tasks, in the process of unloading and processing tasks, one-to-one task docking is usually considered, that is, the task receiver receives the task issued by the task publisher, and after processing the task, transmits the calculation result to the corresponding task publisher. The dynamic deployment of the drone of the present invention considers the task and the task strategy comprehensively considers the task similarity, that is, the calculation results of tasks with similar task processing volume have information validity and can be shared, thereby reducing the total task demand. The task similarity proposed by the present invention not only improves the task processing efficiency, but also can deploy the drone for the optimal unloading processing task path, minimizing energy loss. The first-layer drone calculates the task similarity for the processing task, and the task collaboration controller classifies the tasks with similar task similarity into a category of tasks, and shares the calculation results with the second-layer drones, reducing the total task demand of the second-layer drones.

[0120] Example 5

[0121] This embodiment, based on Embodiments 1, 2, 3 and 4, continues to disclose the following contents:

[0122] In step S4, the minimization of the total energy consumption of the second-layer UAV flight is specifically as follows:

[0123] Minimize the total energy consumption of the second-layer drones and optimize the three-dimensional flight trajectory of the second-layer drones

[0124]

[0125] E fly is the flight energy consumption of the second-layer UAV, E calculation is the computing energy consumption of the second-layer drone, E up is the information transmission energy consumption of the second-layer UAV, a(t) is the instantaneous acceleration of the second-layer UAV, and O(t) is the position of the second-layer UAV u0 in the tth time slot;

[0126] Because drone u0 needs to fly or hover to receive unloading tasks from drones in different areas of the first layer and serve different regional service points, flight energy consumption will be generated.

[0127] The propulsion energy consumption is related to the instantaneous acceleration and speed of the UAV. At a certain time slot t, the propulsion energy consumption can be expressed as:

[0128]

[0129] In the formula, g represents the acceleration of gravity, γ1 and γ2 are fixed parameters related to wing area, aircraft weight and air density;

[0130] When the task replenishment amount T j If it is greater than 0, the supplementary task needs to be offloaded to the second-layer drone for assistance.

[0131] Due to the limited power and computing capacity of the first-layer drones, when the actual task demand is greater than the predicted task demand, that is, the task supplement amount T j If it is greater than 0, some tasks T j Unload to u0 to assist in processing.

[0132] In a certain time slot t, the first layer of drone u is executed i The computational energy of the offloaded task can be expressed as:

[0133]

[0134] Among them, T j is the amount of supplementary tasks unloaded from the first-layer UAV to the second-layer UAV in time slot t, x i is the number of computation cycles to execute 1 bit, k is a constant related to the hardware architecture of the first-layer drone itself, is the CPU cycle frequency of time slot t;

[0135] The energy consumption of receiving data by the task receiver is often closely related to the transmission power of the task publisher to offload the task. The task communication energy of region j in time slot L (communication energy consumption of task offloading) can be expressed as:

[0136]

[0137] in, is the part of the maximum power allocated to the first layer of drones in area j in time slot L, P is the maximum transmission power of the first layer of drones, and the first layer of drones in area j unloads communication energy to For the boundary, that is

[0138]

[0139] In the formula, The maximum unloaded communication energy of the first-layer UAV in region j.

[0140] Therefore, if the distance between drones is close, the energy consumption of users in communication can be reduced. On the other hand, for computing energy consumption, we consider that the distance between drones in region j and u j The minimum amount of input data that needs to be unloaded is T j , thereby ensuring the local computing energy under the user's computing energy requirements, that is,

[0141]

[0142] in The maximum computing energy that can be achieved by replenishing the second-level tasks, The parameter k is a constant related to the hardware architecture.

[0143] The constraint function for minimizing the total energy consumption of the second-level UAV flight is:

[0144] The second layer drone needs to return to its original position to charge after flying for a period of time to ensure stable communication services:

[0145] O(M)=O(0)

[0146] The second-tier drone cannot fly faster than the rated speed:

[0147] v(t)≤v max

[0148] The second level of the drone’s flight acceleration cannot exceed the upper limit:

[0149] a(t)≤a(t) max

[0150] The CPU cycle frequency of the second-layer drone cannot be greater than the maximum CPU cycle frequency:

[0151]

[0152] The communication energy unloading of the second-layer UAV in region j needs to be bounded by the maximum communication energy:

[0153]

[0154] The computing power of the second-tier drones may be redundant to meet the underlying service requirements:

[0155]

[0156] Example 6

[0157] This embodiment, based on Embodiments 1, 2, 3, 4 and 5, continues to disclose the following contents:

[0158] Since the probability of LOS link in UAV communication is very high, it is assumed that the first-layer UAV to UAV and the second-layer UAV communication link are controlled by the Loss channel, and the Doppler shift in the communication can be compensated at the receiver. At the same time, considering that the communication quality is related to the distance between the receiving edge points, the channel gain follows the free space path loss model and can be expressed as;

[0159]

[0160] Reference distance d j (t) = channel power β0 at 1m, and the power transmission P of the drone is constant, then the instantaneous channel capacity in bit / s is:

[0161]

[0162] Channel bandwidth B, Gaussian white noise power σ at the drone receiver 2 , d j (t) = Reference receive signal-to-noise ratio when 1m.

[0163] The task computation amount W of the first-layer UAV unloaded to the second-layer UAV u0 at a certain time slot t t , CPU cycle frequency in time slot L u0 The number of calculation cycles required to execute 1 bit of data x j .

[0164] In addition, for the second-layer drone-assisted edge computing, drone u above regional node j j The CPU cycle frequency is fixed at The present invention takes into account the CPU characteristics of the DVFS technology. The CPU cycle frequency can be increased or decreased according to the size of the computing load, with the maximum CPU cycle frequency As a boundary, the CPU cycle frequency of the drone can be expressed as:

[0165]

[0166] In the specific implementation process, after the second-layer drones receive task unloading from the first-layer drones over areas with too many processing tasks, they merge tasks with similarities and plan and deploy the second-layer drone trajectories with the goal of minimizing drone energy consumption. Since flight energy consumption accounts for the highest proportion of energy consumption, minimizing energy consumption should shorten the path of the drone through all areas. At the same time, the areas that require the assistance of the second-layer drones meet the condition of no priority distinction, so the problem of minimizing drone flight trajectories can be simplified to the TSP problem.

[0167] The genetic algorithm model is used to solve the objective function. The process is as follows:

[0168] For the regions processed by the first layer, each region that needs a drone is first treated as a gene, and all the required regions are encoded to obtain a set of chromosomes with possible solutions. j =[x j ,y j ,h0] T The path length d(o j ,o k ), defined as the fitness function It is used to calculate the flight trajectory of the drone through all areas. For the problem of optimizing the flight path, that is, minimizing the flight energy consumption, it is necessary to find the solution x m , so that f(xm ) value is the smallest.

[0169] The data of the paths with stronger fitness among all the paths obtained after encoding are selected as parents for crossover, and the crossover points are randomly selected in the path for gene exchange to obtain new data, and then the new data generated is mutated with a small probability of disturbance, that is, a gene in the chromosome is inverted. However, the result of doing so may not necessarily reduce the length of the path, that is, it is possible that the better solutions generated in each generation are lost in the inheritance process, slowing down the speed of obtaining the optimal solution. In order to enable the algorithm to obtain a better solution as quickly as possible and improve the convergence of the genetic algorithm, an individual optimization self-learning process is added during the mutation operation, that is, after a gene mutates, the fitness of the newly generated chromosome is calculated. If the fitness is smaller, that is, the obtained path is shorter, it is retained; otherwise, the original solution is kept unchanged. If no better solution is obtained for N / 3 consecutive times, the process ends, where N represents the number of vertices from the starting point to the end point.

[0170] After the crossover and mutation operation, a new offspring is generated. Finally, the offspring data is used as the flight path decision, and the objective function is optimized by minimizing the flight path as the reward. After several iterations of the genetic algorithm, the final optimal flight path solution is decoded to realize the mapping from the encoding space to the solution space, and an approximate optimal solution that can be used as the objective function problem is obtained. After training, the optimal flight path obtained can be used to provide it to the drone in advance to meet the predicted vehicle service needs.

[0171] The same or similar reference numerals correspond to the same or similar components;

[0172] The terms used in the drawings to describe positional relationships are only used for illustrative purposes and should not be construed as limiting this patent;

[0173] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the embodiments here. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the claims of the present invention.

Claims

1. A double-layer UAV-assisted vehicle networking signal coverage method, characterized in that: The following steps are involved: S1: Forecast ground mission requirements; S2: Divide the ground mission demand prediction value obtained in step S1 into multiple target areas, divide the target area into multiple areas according to the mission prediction value, and the mission prediction value of each area is equal. A first-layer drone is deployed in each area. The first-layer drones are stationary and hover in the corresponding area to provide services, and are at the same constant height from the ground; S3: Calculate the task replenishment amount according to the actual task demand of the first-layer drones, and deploy the second-layer drones according to the task replenishment amount, including the following steps: S3.1: Calculate the difference between the predicted task demand and the actual task demand: T j =I j -I o In the formula, I j is the actual task demand of the j-th area, I o is the forecast task demand of each area, T j Replenish the task volume; S3.2: Deploy the second layer of drones according to the task replenishment obtained in step S3.1, including: Assign a second-layer drone with redundant computing capacity to fly between the drones of the first layer. At any time, the distance between the second-layer drones and the first-layer drones hovering stationary over the area is: O(t) is the position of the second-layer drone in the tth time slot. t ,y t , z t ] T (0≤t≤M), h0 is the constant height of the drone, [x j ,y j ] T is the position of the UAV in the jth block area, o j is the position where the jth first-layer UAV is hovering, o j =[x j ,y j , h0] T After flying for a period of time, the position O(M) needs to return to the initial position O(0) for charging, including: O(M)=O(0) Calculate the flight speed and acceleration of the second-layer drone, specifically: The flight speed v(t) and acceleration a(t) of the second-layer drone at time slot t: Among them, δ t is a fixed time step, L is the unit time; The flight speed and acceleration of the second-layer drone meet the constraints: Flight speed limit: v(t)≤v max Acceleration limit: a(t)≤a(t) max ; S4: Optimize the task supplement amount of the second-layer UAV according to the road information shared by the edge nodes, and minimize the total flight energy consumption of the second-layer UAV, including: after the second-layer UAV receives the supplementary task from the first-layer UAV, it calculates the task similarity of each unloading data through the computing power required to complete the supplementary task and the change of the position of the second-layer UAV during the execution of the supplementary task, and classifies the tasks with similar task similarity into the same category of tasks.

2. The double-layer UAV-assisted vehicle networking signal coverage method according to claim 1 is characterized in that: Before deploying a drone in each area, the method also includes: allocating different drones to hover in different areas in advance according to the distance between the drone parking charging station and the hovering point and the service demand predicted by the road traffic situation.

3. The double-layer UAV-assisted vehicle networking signal coverage method according to claim 1 is characterized in that: The second layer of UAVs are deployed according to the task replenishment amount, including: when T j ≤0, the actual task demand in the area is less than the predicted task demand, and the first-layer UAVs above the area have no task requests for the second-layer UAVs; when T j When >0, the actual task demand in the area is greater than the predicted task demand, and the first-layer drones above the area have task requests for the second-layer drones.

4. The double-layer UAV-assisted vehicle networking signal coverage method according to claim 1 is characterized in that: The task similarity φ is: Where α and β are weights, is the task start time, φ is the task similarity, is the task end time, O(t) is the position of the second-layer UAV in the tth time slot, t is the time required for the task, and v(t) is the flight speed of the second-layer UAV.

5. The double-layer UAV-assisted vehicle networking signal coverage method according to claim 1 is characterized in that: In step S4, the minimization of the total energy consumption of the second-layer UAV flight is specifically as follows: Minimize the total energy consumption of the second-layer drones and optimize the three-dimensional flight trajectory of the second-layer drones, including: E f1y is the flight energy consumption of the second-layer UAV, E calculation is the computing energy consumption of the second-layer drone, E up is the information transmission energy consumption of the second-layer UAV, a(t) is the instantaneous acceleration of the second-layer UAV, and O(t) is the position of the second-layer UAV u0 in the tth time slot; In a certain time slot, the flight energy consumption of the second-layer drone is: Where g is the acceleration due to gravity, γ1 is the first fixed parameter related to the wing area, aircraft weight and air density, and γ2 is the second fixed parameter related to the wing area, aircraft weight and air density; When the task replenishment amount T j If it is greater than 0, the supplementary task needs to be offloaded to the second-layer drone for assistance; The computational energy of performing the supplementary tasks from the first-layer drones in a certain time slot is expressed as: Among them, T j is the amount of supplementary tasks unloaded from the first-layer UAV to the second-layer UAV in time slot t, x i is the number of computation cycles to execute 1 bit, k is a constant related to the hardware architecture of the first-layer drone itself, is the CPU cycle frequency of time slot t; The communication energy consumption of task offloading in region j in time slot L is: in, is the part of the maximum power allocated to the first layer of drones in area j in time slot L, P is the maximum transmission power of the first layer of drones, and the first layer of drones in area j unloads communication energy to The boundaries include: In the formula, The maximum unloaded communication energy for the first layer of drones in region j; If the first-layer drones are close, the energy consumption of users in communication is reduced. For computing energy consumption, the minimum amount of input data that the first-layer drones in region j need to offload is T j , specifically: in The maximum computing energy that can be achieved by replenishing the second-level tasks, To calculate the parameters of the energy consumption constraint, the parameter k is a constant related to the hardware architecture.

6. The double-layer UAV-assisted vehicle networking signal coverage method according to claim 1 is characterized in that: The constraint function for minimizing the total energy consumption of the second-level UAV flight is: The second layer drone needs to return to its original position to charge after flying for a period of time to ensure stable communication services: O(M)=0(0) The second-tier drone cannot fly faster than the rated speed: v(t)≤v max The second level of the drone’s flight acceleration cannot exceed the upper limit: a(t)≤a(t)ma x The CPU cycle frequency of the second-layer drone cannot be greater than the maximum CPU cycle frequency: The communication energy unloading of the second-layer UAV in region j needs to be bounded by the maximum communication energy: The computing power of the second-tier drones may be redundant to meet the underlying service requirements: