Non-ground network-oriented multi-level cache and asynchronous update cache decision-making method
The ant colony algorithm is used to select LEO satellites and the DQN neural network to collaboratively manage the cache, which solves the inter-satellite propagation delay and computational complexity problems of the LEO satellite selection method in 6G communications, achieves efficient cache update and transmission services, and satisfies the requirements of ground intelligence QoS requirements for connected cars.
Patent Information
- Application Number
- CN202410919987.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-09-24
AI Technical Summary
When deploying 6G communications with existing technologies, the LEO satellite selection method fails to effectively consider inter-satellite propagation delay and computational complexity, resulting in slow cache selection or high transmission packet loss rate, and the deep reinforcement learning method results in complex network structure and difficulty in training. It is large and difficult to meet the QoS requirements of ground intelligent connected vehicles.
A multi-level cache and asynchronous update cache decision-making method for non-terrestrial networks is proposed. LEO satellites are selected through the ant colony algorithm to reduce inter-satellite propagation delay, and DQN neural network is used for cache decision-making, and UAV and LEO satellites are coordinated for cache management. , to achieve customized transmission services.
It reduces system propagation delay and packet loss rate, improves cache resource utilization, meets the high-quality transmission requirements of ground vehicles, and significantly reduces packet loss rate and cache update time especially under low-load, medium-load and high-load networks. .
Smart Images

Figure CN118694425A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle networking and non-ground network technology, and mainly to a multi-level cache and asynchronous update cache decision method for a non-ground network. Background Art
[0002] With the development and application of 6G technology, the next generation of in-vehicle services such as traffic flow perception, vision sharing and virtual reality entertainment systems will be deployed more and more in intelligent connected cars with higher quality, providing drivers and passengers with a more comfortable and safe driving and riding experience. However, the implementation of the above services usually requires downloading a large amount of data from the cloud server. The transmission delay generated through this channel is high, which makes it difficult to meet the QoS requirements of the next generation of in-vehicle 6G services. In urban traffic, it is usually adopted to store files with high popularity and strict latency requirements on edge facilities to accelerate the download process, improve QoS, and reduce the pressure on cloud servers. However, 6G communication technology requires that wireless transmission be seamless and ubiquitous in remote and rugged areas such as mountains, deserts, and grasslands. The construction and maintenance costs of deploying conventional edge facilities such as base stations and roadside units to achieve this requirement will be greatly increased, making it difficult to apply in actual development and construction. Therefore, non-ground networks including UAV drones and LEO low-orbit satellites are the main choice for deploying 6G communication and caching services in such areas.
[0003] At present, there are several urgent problems to be solved when deploying cache services in non-terrestrial networks. First, due to the high redundancy of LEO satellites, selecting all LEO satellites as cache satellites will not only cause communication interference between LEO satellites, affecting the transmission rate and stability, but also cause a waste of cache space, that is, adjacent satellites may cache the same files, thereby occupying the storage space required by LEO satellites to provide other services. However, the selection of cache LEO satellites requires that each file be routed between satellites. This problem can be modeled as a minimum covering set problem, which can be transformed into a traveling salesman problem, a known NP-hard problem that cannot find a global optimal solution in polynomial time. Therefore, an approximate algorithm that can find a suboptimal solution is an important solution; the high dynamics of LEO satellites further requires that the LEO cache satellite selection algorithm has the ability to converge quickly; secondly, due to the different communication and cache capabilities of LEO satellites and UAVs, the cache, communication capabilities and service QoS requirements of non-ground network nodes cannot be coordinated and unified; finally, unlike ground equipment interconnected by optical fiber, the cache update of the non-ground network and the file download service of the ground intelligent connected car share spectrum resources, which means that if there are too many download and update tasks at the same time, the transmission rate and cache update rate for a single task will be significantly reduced, thereby reducing QoS.
[0004] In summary, for the LEO cache satellite selection problem, the existing methods mainly model the problem as a minimum covering set problem, and use methods such as event update graphs and approximate algorithms to solve the problem. These two commonly used methods do not comprehensively consider the strict requirements of LEO satellites on computational complexity and the actual propagation delay between LEO satellites, which leads to the problem of slow selection of LEO cache satellites or high transmission packet loss rate; at the same time, for the cache decision problem of LEO cache satellites and UAVs, Deep Reinforcement Learning is currently used to make centralized and batch decisions on the cache space of the two devices. However, on the one hand, the centralized deep reinforcement learning method will make the DRL network structure more complex and increase the difficulty of training; on the other hand, batch updates will cause the download update task delay to be too long, making it difficult to meet the QoS requirements of ground intelligent connected vehicle services. Summary of the invention
[0005] In order to overcome the shortcomings of the prior art, the present invention provides a multi-level caching and asynchronous update caching decision method for non-ground networks, aiming at the problem that the existing LEO caching satellite selection method does not comprehensively consider the inter-satellite propagation delay, computational complexity and the centralized and batch DRL update methods are difficult to meet QoS requirements.
[0006] The present invention proposes a multi-level caching and asynchronous update cache decision method for non-ground networks. Firstly, a cache LEO satellite selection algorithm is constructed to minimize the inter-satellite propagation delay of the selected cache LEO satellite. Secondly, based on the constructed cache LEO satellite selection algorithm, a multi-level cache decision model is constructed to make cache decisions for LEO cache satellite sets and UAV equipment, so as to provide customized transmission services for ground vehicles.
[0007] A multi-level cache and asynchronous update cache decision method for non-terrestrial networks includes the following steps:
[0008] Step 1: Build a cache LEO satellite selection algorithm;
[0009] Step 1.1: Use simulation software to build a LEO satellite model;
[0010] Establishing LEO satellite models for LEO satellites in different orbits; the LEO satellite model includes coordinate information of the LEO satellite and a topological structure of the LEO satellite; the topological structure of the LEO satellite is constructed according to the coordinate information of the LEO satellite; and the nodes in the topological structure of the LEO satellite are LEO satellites;
[0011] Step 1.2, initialize the LEO satellite model;
[0012] The topological graph structure of the LEO satellite is supplemented with a topological complete graph; the parameters of each node in the topological complete graph include pheromones; based on the topological graph structure of the LEO satellite, the topological complete graph sets the edges between nodes that were originally unreachable to each other to be reachable, and the weights of the reachable edges are set to be infinite;
[0013] Step 1.3: Build and initialize the ant colony model;
[0014] The ant colony model includes ant agents and the number of ant agents; the parameters of each ant agent are: LEO cache satellite set, starting node, coverage map and taboo table; the LEO cache satellite set includes the set of LEO cache satellites selected by the agent and the set of visibility of the nodes selected by the agent as cache LEO satellites; visibility is the average propagation delay per degree of the node; the higher the visibility of the node, the greater the amount of pheromone left when the pheromone is updated after being selected as a LEO cache satellite by the ant agent; pheromone is the density of the ant agent selecting any satellite as a cache satellite;
[0015] The LEO cache satellite set is the LEO satellites that are selected as cache satellites; the starting node is the starting node of the ant agent in the complete topological graph;
[0016] The coverage graph is a topological graph; the nodes of the coverage graph are all LEO satellites; during initialization, the weights of the coverage graph edges are reset to 1;
[0017] The taboo table includes the LEO satellites that the ant agent has passed and the LEO satellites whose edges are completely covered. The taboo table is used to mark which LEO satellites the agent has passed. The LEO satellites that have passed are not allowed to pass again;
[0018] Step 1.4, the ant colony agent traverses the complete topological graph;
[0019] Traverse each ant agent in the ant colony. For the current ant agent, first determine whether there are any optional nodes in the taboo table of the current ant agent. If there are no optional nodes, mark the current agent as stopped and transfer to the next ant agent as the current ant agent; if there are optional nodes, calculate the visibility of the current agent to each possible node, and calculate the transition probability of the current agent to each possible node; the transition probability is the probability that the agent chooses the node as the next hop;
[0020] The condition for judging whether there are optional nodes in the Agent's taboo table is as follows: judging whether the number of nodes in the taboo table is equal to the number of all LEO satellites in the LEO satellite model. If the number of nodes in the taboo table is equal to the number of all LEO satellites in the LEO satellite model, it indicates that there are no optional nodes. If they are not equal, there are optional nodes.
[0021] Each agent selects the next node according to the sampling distribution of the transition probability, adds the selected node to the current agent taboo table and the LEO cache satellite set at the same time, and resets the weights of all edges connected to the selected node in the coverage graph to 0; at this time, the agent transfers to the next selected node, counts the current node into the passed nodes, and records the visibility from the previous node to the next node;
[0022] When all agents are stopped, that is, all LEO satellites are included in the taboo table of each agent, the agent updates the pheromone of the node on the topological complete graph according to the node and visibility recorded by the agent; output the LEO cache satellite set of the last agent after the ant colony traversal is completed and the sum of the propagation delays between each LEO satellite in the LEO cache satellite set;
[0023] Step 2: construct a multi-level cache decision model, and make cache decisions for the LEO cache satellite set and UAV equipment according to the LEO cache satellite set obtained in step 1, so as to provide customized transmission services for ground vehicles;
[0024] The steps to build a multi-level cache algorithm are:
[0025] Step 2.1: Build a DQN neural network and deploy it on LEO satellites and drones;
[0026] The DQN neural network is a reinforcement learning model based on the Deep Q Network. The carriers deployed by the DQN neural network include drones and LEO satellites. The input of the DQN neural network is the state space connected to the carrier. The output of the DQN neural network is the Q value of each action that the carrier may take in the carrier action space.
[0027] If the carrier is a drone, the state space of the carrier is the drone state space, which includes the propagation delay of the files that may be requested collected in the drone, the file popularity of the files that may be requested, the service density at the current moment, the request status of the next service cluster, the maximum reception of each file in the current cluster, and the delay consumption ratio of each file in the current cluster; if the carrier is a LEO satellite, the state space of the carrier is the LEO satellite state space, which includes the remaining time of the service area covered at the current moment collected by the LEO satellite, the union of the file cache space of the drones that can access the LEO satellite, the file cache space of the LEO satellite, the request status within the coverage area, and the file popularity;
[0028] The Q value is the long-term reward that the DQN neural network can obtain after performing an action in the carrier action space. The long-term reward is the sum of all instantaneous rewards that the carrier can obtain from the current moment to the end of the simulation;
[0029] If the carrier is a UAV, the carrier's instantaneous reward is the sum of the ratio of the actual time delay for all vehicles connected to the UAV and completing the transmission task to receive the file to the square of the maximum delay for the vehicle to request the file; the shorter the actual time consumed by the vehicle to complete the transmission task, the greater the instantaneous reward of the UAV;
[0030] If the carrier is a LEO satellite, the instantaneous reward is the cache hit rate of the LEO satellite at the current moment. The cache hit rate is the ratio of the number of files requested by all vehicles connected to the LEO satellite that are cached by the LEO satellite to the number of vehicles connected to the LEO satellite. The higher the cache hit rate, the greater the instantaneous reward of the LEO satellite.
[0031] The carrier action space includes the cache decisions that the carrier may take, i.e. swapping out any file from the carrier cache and swapping in any file from the uncached file;
[0032] After the DQN neural network outputs the Q value, it generates a random number in (0,1). If the random number is greater than the greed factor, the action with the largest Q value is selected as the action taken by the carrier; if the random number is less than or equal to the greed factor, an action is randomly selected as the action taken by the carrier; the greed factor is 0.9;
[0033] The loss calculated by the DQN neural network is: the sum of the instantaneous reward obtained by the action taken by the carrier in the current state space and the Q value of the action taken by the carrier in the current state space, minus the maximum Q value output by the action taken by the carrier in the current state space transferred to the next moment as the input of the new state space;
[0034] The DQN neural network calculates the gradient based on the loss and updates the DQN neural network by stochastic gradient descent to update the DQN neural network;
[0035] When the change in the total rewards obtained by the DQN neural network in each round of training is less than 1%, the DQN neural network is considered to have converged;
[0036] Step 2.2: Initialize vehicle location information and request file information;
[0037] Vehicles are the main body of communication between the ground and drones or LEO satellites; obtain the location information of all ground vehicles, the popularity of files requested by all vehicles, the maximum delay of files requested by vehicles, the time consumed by the vehicles at the current moment when receiving the files requested by the vehicles, and the proportion of received files; the popularity of a file is the probability of a vehicle requesting a file;
[0038] Step 2.3: Cluster vehicles;
[0039] Taking the vehicle location information at the current moment as input, the distance between vehicles is clustered using a clustering algorithm, and the drone will provide services for the vehicle cluster with the generated clusters;
[0040] Step 2.4: The drone determines its own location information;
[0041] The drone calculates the gravity of each cluster based on the vehicle's current location information, the popularity of the file requested by the vehicle, the maximum delay of the file requested by the vehicle, the time consumed by the vehicle at the current moment when receiving the file requested by the vehicle, and the proportion of the received files, and determines the next service cluster, that is, the mobile position at the next moment;
[0042] The gravitational pull of a cluster is determined by the proportion of files requested by vehicles in the cluster that are cached in the drone, the proportion of time taken by vehicles in the cluster to request files that exceeds the maximum delay threshold, and the distance between the cluster and the drone. The more files requested by vehicles in the cluster are cached by the drone, the more times the time taken by vehicles in the cluster to request files is about to exceed the maximum delay threshold of the files, and the closer the cluster is to the drone, the greater the gravitational pull of the cluster. The gravitational pull of a cluster indicates the interest of each drone in each cluster.
[0043] Step 2.5: Train the DQN neural network deployed on the drone and the DQN neural network deployed on the LEO satellite respectively;
[0044] The drone uses the current state space as input, executes the DQN neural network training process, and outputs the Q value of each action;
[0045] The LEO satellite uses the current state space as input, executes the DQN neural network training process, and outputs the Q value of each action;
[0046] Step 2.6: Determine whether the DQN neural network deployed on the drone and LEO satellite has converged;
[0047] If one of the DQN neural networks deployed on the UAV and the LEO satellite has not converged, go to step 2.7; if all the DQN neural networks deployed on the UAV and the LEO satellite have converged, the process ends. At this time, the DQN neural network model deployed on the UAV and the LEO satellite is a multi-level cache and asynchronous update decision model, which can flexibly cache decisions for the LEO satellite and UAV devices, so as to provide customized and high-quality transmission services for ground vehicles.
[0048] Step 2.7: Update the vehicle location information and the requested file information;
[0049] The vehicle updates its location information based on its speed and direction of travel. The vehicle calculates the current file transfer rate based on the files currently cached in the drone and LEO satellite. The drone updates the maximum file reception in the drone state space and the file delay consumption ratio in the current cluster. If the delay of the vehicle receiving the file exceeds the maximum delay of receiving the file or the task of receiving the file has been completed, the vehicle requests a new file.
[0050] Step 2.8: Update the drone's location information;
[0051] The drone takes the average coordinates of the next selected service cluster as its position at the next moment, updates the drone's position information, and proceeds to step 2.3.
[0052] Furthermore, in step 1, the steps of constructing a cache LEO satellite selection algorithm are:
[0053] S1, use STK to obtain the motion coordinates of each LEO satellite at each time and initialize the parameters;
[0054] In the STK simulation software, the motion of the LEO satellite set S is modeled, where S = {s1,…,s k ,…s K},s k is the kth LEO satellite in the LEO satellite set, K is the number of LEO satellites in the LEO satellite set;
[0055] The STK simulation software gives the time t s k Coordinates And calculate s based on the coordinates k With s k′ Distance where s k′ ∈S,s k ≠s k′, and generate a topological complete graph based on the distance Where V comp is a complete graph G t The node set in V comp The nodes contained in are the LEO satellites in S. It's G t The set of middle edges, The weight of each edge in is Weight For k With s k′ The propagation delay between k With s k′ If the two are not reachable, Set to infinity; The calculation expression is as follows:
[0056]
[0057] Where c is the speed of light;
[0058] Initialize the set of ant agents ∈ = {ε1,...,ε m ,...,ε M}, where ε m is the mth ant Agent in ∈; and in G t Initialize the starting pheromone for each node in (s k )° is s k The degree of; t is the global time, and the initial value of t is 0;
[0059] S2, at the beginning of each round, initialize the temporary data structure for each agent;
[0060] At the beginning of each round, for each ε m Initialize the taboo table Taboo Table Indicates that all edges have been marked as covered. k , is ε m The set of selected LEO cache satellites, including ε m The selected LEO satellite k ; Used to store selected LEO cache satellite collections and coverage maps Used to record which edges are covered, for each ε m Specify starting s k node;
[0061] S3, in each round, each agent decides the next hop based on the pheromone concentration of each node and the visibility to each node, and updates the temporary data structure;
[0062] In each round, ε m Calculate the current ε m The LEO satellite is connected and not LEO satellites in k′ Visibility Then calculate the transition probability ε m According to each The probability sampling selects the next hop satellite s k′ , and s k′ join in and Will Middle Pointer k′ The weight of the edge is reset to 0;
[0063] ε m Calculate all possible next hops Then calculate the transition probability of all feasible next hops Update after reaching the next hop and
[0064] S4, ε m according to The selected LEO satellite updates the pheromone on the node;
[0065] Pheromones The updated expression is as follows:
[0066]
[0067] in, is the soft update factor and Ω is the pheromone constant.
[0068] Furthermore, in step S3, each agent decides the next hop based on the pheromone concentration of each node and the visibility to each node, and updates the temporary data structure in the following specific process:
[0069] S301, for each ε m , if ε m Not stopped, that is If all LEO satellites in the STK simulation software are not included, go to S302; if ε m Stopped, that is If all LEO satellites in the STK simulation software are included, then go to S4;
[0070] S302, εm Calculate the visibility of each possible next hop Then calculate each possible next hop
[0071] visibility The calculation expression is as follows:
[0072]
[0073] The higher the visibility, the greater the amount of pheromone left when updating pheromones after being selected as a LEO cache satellite by the ant agent;
[0074] After the visibility calculation is completed, the possible next hop s is calculated k The transition probability Transition probability The calculation expression is as follows:
[0075]
[0076] Among them, α is the pheromone weight factor, β is the visibility weight factor;
[0077] S303, ε m According to each Select the next hop based on probability distribution;
[0078] S304, ε m The next hop s will be selected k′ Join and
[0079] S305, ε m Will All points in k′ The weight of the edge is reset to 0; at this time, for each edge not in The LEO satellite in the Are the weights of the edges connected to it all 0? If all are 0, add it If there is an edge connected to it with a weight of 1, then proceed to determine the next one that is not in LEO satellites in the
[0080] S306, calculation Does it contain all LEO satellite nodes? If it does, then ε m Mark as stopped and go to S301 to run the next ε m If it does not contain all LEO satellite nodes, it will directly go to S301 and run the next ε m .
[0081] Furthermore, in step 2, a multi-level cache decision model is constructed, and the specific steps of making a cache decision for the LEO cache satellite set and the UAV device according to the LEO cache satellite set obtained in step 1 are as follows:
[0082] S5, initializing the vehicle and UAV;
[0083] Initialize the UAV cluster U, vehicle cluster V and file cluster F, where U = {u1,…,u j ,…,u J}, V={v1,…,v i ,…,v I}, F={f1,…,f q ,…,f Q},u j is the jth UAV in U, and U contains J UAVs in total, v i is the i-th vehicle in V, and V contains a total of I vehicles, f q is the qth file in F, and F contains Q files in total;
[0084] The vehicle enters the simulation scene according to the Poisson distribution, and the vehicle v i At time t, the horizontal and vertical coordinates are and The position of the vehicle is represented by The vehicle selects a file from F as the currently requested file and uses the nearest UAV within the communication range as the network access device. If there is no UAV within the communication range, the LEO satellite with the longest remaining coverage time in the LEO cache satellite set currently covering the area where the vehicle is located is used as the access device;
[0085] S6, clustering the vehicles at the current moment, and calculating the position of the UAV at the next moment based on the gravitational force of each cluster on each UAV;
[0086] Use DBSCAN to cluster vehicles, and the generated cluster set is in for The e-th cluster in , and There are E clusters in total; each UAV calculates the gravity of each cluster Pick the average coordinates of the cluster with the strongest attraction As the moving position at the next moment;
[0087] S7, the drone makes a cache decision based on the drone state space and updates its own DQN neural network;
[0088] The transmission delay of each drone collecting and obtaining each file Popularity of each file Service density at the current moment Request status of the next service cluster The maximum receiving ratio of each file in the current cluster And the delay consumption ratio For each drone state space; Specifically refers to What file requests were received; service density for How many types of files are requested in the ; select a file to swap out in each drone cache space, and the swap index is Select a file from the uncached files to swap in, the swap index is Get rewards in the environment based on the combination of state and action And update the drone's DQN neural network;
[0089] S8, the LEO satellite in the LEO cache satellite set makes a cache decision based on the LEO satellite state space, updates its own DQN neural network, and checks whether the DQN neural networks on the LEO satellite and the UAV converge;
[0090] Each LEO satellite in the LEO cache satellite set calculates the remaining coverage time in the current service area The union of the cache spaces of the UAVs in the coverage area Its own cache space Requests within own coverage area Q t (s k ,U), and file popularity As the LEO satellite state space; Q t (s k ,U) specifically refers to s k Which file requests are received? The LEO satellite in the LEO cache satellite set selects a file in the cache space to swap out. The swap out index is Select a file from the uncached files to swap in, the swap index is Get rewards in the environment based on the combination of state and action And update the DQN neural network of LEO satellite;
[0091] If one of the DQN neural networks deployed on the UAV and the LEO satellite has not converged, then go to S6; if all the DQN neural networks deployed on the UAV and the LEO satellite have converged, then the process ends and all the DQN neural network models deployed on the UAV and the LEO satellite are output; the condition for the DQN neural network to converge is when the change in the total rewards obtained by the DQN neural network in each round of training is less than 1%;
[0092] S9, at each moment, each vehicle determines the device and rate of receiving the file, and updates its own position and request information;
[0093] Each vehicle selects a file request node based on the cache status of all drones and LEO satellites in the connected LEO cache satellite set, records the actual delay and hit status after receiving the file, selects a new request file and updates the vehicle's
[0094] S10, judging whether the LEO cache satellite has left the current coverage area, that is Is it 0? If it is left, the process ends; if it is not left, it goes to S5.
[0095] Furthermore, in step S6, the average coordinates of the clusters The calculation method is as follows:
[0096]
[0097] Where count(·) represents the number of How many cars are currently in the .
[0098] Furthermore, in step 6, the gravitational force of the cluster The calculation steps are:
[0099] For every u j , each clustering pair u j The force of gravity The calculation method is as follows:
[0100]
[0101] in, is a constant, representing the gravitational constant, the gravitational constant The value of is 100; ζ is the gravitational weight factor, and the gravitational weight factor ζ is 0.5; is the vehicle v at time t i Receive f q The time consumed; To receive f q The maximum delay of S Fis a vector containing the file sizes of all possible requested files; is a vector representing the current cluster Which files are requested? is u at time t j Caching decisions for individual files; are the coordinates of the drone, and for u j The horizontal and vertical coordinates at time t are, for u j The default altitude of the drone is always
[0102] Furthermore, in step S8, the remaining coverage time in the current service area The calculation method is as follows:
[0103] O C is the center of the Earth, R e is the radius of the earth, L is the actual height of the LEO satellite in the LEO cache satellite set; first calculate s k and v i The elevation angle between The expression to be evaluated is as follows:
[0104]
[0105] in and Yes k longitude and latitude; and Is the vehicle v i The longitude and latitude of is an intermediate variable; furthermore, the total time of the LEO satellite coverage area in the LEO cache satellite set The calculation expression is as follows:
[0106]
[0107] Where KPL is Kepler's constant, is the angle between the center of the Earth and the satellite, T S is the period of the satellite's rotation around the earth; finally, according to The angle at time t Calculate the remaining service time of LEO satellites in the LEO cache satellite set within the service range The calculation expression is as follows:
[0108]
[0109] in and For k and v i between the minimum and maximum elevation angles.
[0110] Furthermore, in step S9, the specific process of the vehicle selecting a file request node and receiving the file is:
[0111] S901, for each vehicle, determine whether the vehicle can currently access the UAV, if it can access, proceed to S902, if not, proceed to S904;
[0112] S902, determining whether the currently connected UAV has cached the file being requested by the vehicle, and if the UAV has cached the file being requested by the vehicle, The UAV transmits the data at a rate of , and proceeds to S901 to run the next vehicle. If the UAV does not cache the file being requested by the vehicle, proceeds to S903;
[0113] S903, determine whether other UAVs except the access UAV have cached the file requested by the vehicle, if so, split the unit time into two time periods, and the access UAV of the vehicle first caches the file requested by other UAVs. Download the file to the local u at the rate j′ ∈U, then The data is transmitted to the corresponding vehicle at a rate, and after the execution is completed, the process proceeds to S901 to run the next vehicle; if other UAVs do not cache the corresponding file requested by the vehicle, the process proceeds to S904;
[0114] S904, determine whether the LEO satellite in the connected LEO cache satellite set has cached the file requested by the vehicle. If so, directly The rate is transmitted to the vehicle, and after the execution is completed, it goes to S901 to run the next vehicle. Since the altitude of the UAV is much different from the altitude of the LEO cache satellite, it is considered Otherwise, the unit time is split into two time periods. At the first sub-time period, the LEO satellite in the LEO cache satellite set accessed by the vehicle is first obtained from other LEO cache satellites. The file is downloaded to the local computer at a rate of The speed is transmitted to the vehicle.
[0115] Furthermore, in step S902, the calculation The steps are:
[0116] First, the visible communication P of UAV to ground vehicle communication LoS and the probability of invisible communication P NLoS To model:
[0117] p LoS=(1+ae -b(θ-a) ) -1
[0118] p NLoS =1-p LoS
[0119] Among them, a, b and θ are two environmental constants and the elevation angle of the drone;
[0120] Secondly, for the visible communication path loss L LoS and the path loss L for invisible communication NLoS To model:
[0121]
[0122] Among them, η LoS is the visible communication attenuation factor, η NLoS is the attenuation factor of invisible communication, f is the carrier frequency, c is the speed of light, h uj is the flight altitude of the drone;
[0123] Therefore, the average path loss of UAV to ground communication is Calculated as:
[0124]
[0125] and then, The calculation expression is as follows:
[0126]
[0127] Among them, B U is the transmission bandwidth of UAV, P U is the transmission power of UAV, σ 2 is the ground noise; ρ t (u j ) is the time u at t j The service density, ρ t (u j ) indicates the current u j How many transfer tasks are being performed simultaneously.
[0128] Furthermore, in step S903, The calculation steps are:
[0129] Communication rate between UAVs at time t u j′ ∈U and u j′ ≠u j , it can be seen that the communication path loss L Los As input parameters, The calculation expression is as follows:
[0130]
[0131] where ρ t (u j′ ) is the time u at t j′ The service density represents the current u j′ How many transfer tasks are being performed simultaneously.
[0132] Furthermore, in S904, the calculation The steps are:
[0133] First, calculate the air-to-ground power attenuation h 2 , the calculation expression is as follows:
[0134]
[0135] Among them, G TS G is the transmission gain of the LEO satellite in the LEO buffer satellite set; RU is the receiving gain of UAV; λ is the carrier wavelength, H S is the altitude of the LEO cache satellite, F Rain is the rain attenuation factor;
[0136] The calculation expression is as follows:
[0137]
[0138] Among them, B S The transmission bandwidth of the LEO buffer satellite, P S is the transmission power, is the space noise; the FDMA access method is used between the LEO satellite and the UAV, and ρ t (s k ) is the time t s k The service density represents the current s k How many tasks are being transferred simultaneously.
[0139] Furthermore, the calculation in S904 The steps are:
[0140] First, the inter-satellite power attenuation is modeled and the calculation expression is:
[0141]
[0142] Among them, G RS The receiving gain of the LEO satellites in the LEO buffer satellite set; then, The calculation expression is as follows:
[0143]
[0144] where ρ t (s k′ ) is the time t s k′ The service density represents the current s k′ How many tasks are being transferred simultaneously.
[0145] Furthermore, the access method adopted between the LEO satellite and the UAV includes FDMA.
[0146] The beneficial effects of the present invention are as follows: the present invention provides a multi-level cache and cache asynchronous update decision scheme for non-terrestrial networks, which first selects a suitable LEO cache satellite through DM-ACO, and reduces system propagation delay and inter-satellite transmission packet loss, and increases cache resource utilization, while ensuring that each file is globally reachable in the LEO satellite network; secondly, after the LEO cache satellite selection is completed, the present invention further proposes a MADRL-HCAU scheme, which not only considers cross-layer and inter-layer device collaboration, and flexibly caches files to UAV and LEO cache satellites according to ground user needs, but also replaces large-scale updates of cache files through UAV movement, thereby reducing network traffic peaks and propagation and update delays, and providing customized QoS for Internet of Vehicles users. Compared with the common ACO that does not consider the intersatellite system delay and the method that does not perform satellite selection, the DM-ACO algorithm of the present invention can reduce the packet loss rate by 2% and 5.27% in a low-load network to a level lower than 5.58%, and the cache update time can be reduced by 0.12 seconds and 0.58 seconds to a level lower than 5.43 seconds; in a medium-load network, the packet loss rate can be reduced by 1.75% and 5.70% to a level lower than 15.95%, and the cache update time can be reduced by 0.09 seconds and 0.20 seconds to a level lower than 6.20 seconds; in a high-load network, the packet loss rate can be reduced by 1.30% and 4.45% to a level lower than 22.65%, and the cache update time can be reduced by 0.10 seconds and 0.15 seconds to a level lower than 6.37 seconds. When the proposed DM-ACO algorithm is used in conjunction with asynchronous updates, under low network load, its packet loss rate can be reduced by an additional 1.50% to a level below 4.1%, and the cache update latency can be reduced by an additional 1.53 seconds to a level below 3.90 seconds; under medium network load, its packet loss rate can be reduced by an additional 7.55% to a level below 8.4%, and the cache update latency can be reduced by an additional 1.97 seconds to a level below 4.21 seconds; under high network load, its packet loss rate can be reduced by an additional 12.22% to a level below 10.43%, and the cache update latency can be reduced by an additional 2.1 seconds to a level below 4.27 seconds.The proposed MADRL-HCAU strategy is compared with the popularity-driven caching method (Popularity Aware, PA) and the traditional Last in First Out method (Last in First Out). In the case of a constant number of files, under low network load, its overall hit rate is 14.75% and 9.15% higher than the baseline method, reaching a level higher than 79.8%, and its transmission delay is 1.43 seconds and 1.58 seconds lower than the baseline method, reaching a level lower than 7.67 seconds; under medium network load, its overall hit rate is 11.3% and 3.35% higher than the baseline method, reaching a level higher than 78.15%, and its transmission delay is 1.26 seconds and 1.62 seconds lower than the baseline method, reaching a level lower than 7.88 seconds; under high network load, its overall hit rate is 10.8% and 5.4% higher than the baseline method, reaching a level higher than 77.0%, and its transmission delay is 1.13 seconds and 1.68 seconds lower than the baseline method, reaching a level lower than 8.04 seconds. In addition, under medium network load, as the number of files increases, the performance of MADRL-HCAU and the baseline method will degrade, but the degradation rate of the proposed MADRL-HCAU is slower than that of the baseline method. Specifically, for every increase of four files, the overall hit rate decreases by 5.02%, 15.1% and 10.1%, respectively, and the overall average transmission delay increases by 0.09 seconds, 2.94 seconds and 3.31 seconds, respectively. BRIEF DESCRIPTION OF THE DRAWINGS
[0147] Figure 1 It is the basic flow chart of the present invention;
[0148] Figure 2 is a schematic diagram of a scenario to which the present invention is applicable;
[0149] Figure 3 It is a flow chart of DM-ACO operation;
[0150] Figure 4 It is a schematic diagram for calculating LEO satellite coverage time;
[0151] Figure 5 This is a comparison chart of packet loss rates for different LEO cache satellite selection algorithms;
[0152] Figure 6 This is a comparison chart of cache update delays for different LEO cache satellite selection algorithms;
[0153] Figure 7 This is a comparison chart of packet loss rates under different cache update methods;
[0154] Figure 8 This is a comparison chart of cache update latency under different cache update methods;
[0155] Fig. 9 This is a performance comparison chart of the overall cache hit rate as the number of vehicle requests changes under different cache decision methods;
[0156] Fig.10 This is a performance comparison chart of average transmission delay as the number of vehicle requests changes under different cache decision methods;
[0157] Fig.11 This is a performance comparison chart of the overall cache hit rate as the number of files changes under different cache decision methods;
[0158] Fig.12 This is a performance comparison chart showing the average transmission delay as the number of files changes under different cache decision methods;
[0159] Among them, ① is the cache LEO satellite, ② is the relay LEO satellite, ③ is the intersatellite link, ④ is the multicast connection, ⑤ is the drone, and ⑥ is the vehicle clustering. DETAILED DESCRIPTION
[0160] The technical solution adopted by the present invention to solve the technical problem includes the following steps:
[0161] Step 1: construct a cache LEO satellite selection algorithm to minimize the inter-satellite propagation delay of the selected cache LEO satellite;
[0162] Using STK simulation software, STK stands for Satellite Tools Kit, to model LEO satellites in different orbits, obtain the coordinate information of each LEO satellite, and calculate the topological structure of the LEO satellite based on the coordinate information of each LEO satellite;
[0163] Agent is the ant of the ant colony algorithm, and the number of agents is initialized;
[0164] Initialize the topological graph structure of the LEO satellite, and supplement the topological structure graph of the LEO satellite into a topological complete graph. The nodes in the topological complete graph are LEO satellites, and the weights corresponding to the nodes in the topological complete graph that are unreachable by routing are reset to infinity.
[0165] Initialize the pheromone of each node in the complete topology graph; the pheromone is the density of the ant agent selecting any LEO satellite as a cache satellite. The more ant agents select any LEO satellite as a cache satellite, the higher the pheromone concentration of the selected LEO satellite, and the higher the probability that other ant agents select the selected LEO satellite as a cache satellite.
[0166] Initialize the number of algorithm runs;
[0167] Initialize the pheromone of each node in the topological complete graph to the degree of the node;
[0168] The process of ant colony initialization is as follows: Initialize a coverage map for each Agent The overlay is a topological map; the nodes of the overlay are all LEO satellites; when the overlay is initialized, the weight of the overlay edge is reset to 1; the paths marked in the overlay icon have been passed by the agent, and the weight of the paths passed by the agent will be set to 0;
[0169] Initialize a taboo list for each agent. The taboo list includes LEO satellites that the ant has passed and LEO satellites whose edges are completely covered. The taboo list is used to mark which LEO satellites the agent has passed. LEO satellites that have passed are not allowed to pass again. Initialize a LEO cache satellite set for each agent to record the LEO satellites selected as cache satellites. Initialize the starting LEO satellite for each agent.
[0170] The process of ant colony traversal is as follows: traverse each Agent, for the current Agent, first determine whether there are optional nodes in the current Agent's taboo table, if there are no optional nodes, mark the current Agent as stopped, and transfer to the next Agent as the current Agent; if there are optional nodes, calculate the visibility of the current Agent to each possible node, and calculate the transfer probability of the current Agent to each possible node; the condition for determining whether there are optional nodes in the Agent's taboo table is: determine whether the number of nodes in the taboo table is equal to the number of all LEO satellites in the STK simulation, if the number of nodes in the taboo table is equal to the number of all LEO satellites in the STK simulation, it indicates that there are no optional nodes, if they are not equal, there are optional nodes;
[0171] Each agent selects the next node as the target node according to the transition probability distribution, adds the selected node to the taboo table and the LEO cache satellite set at the same time, and resets the weights of all edges connected to the selected edges in the coverage graph to 0; at this time, the agent transfers to the next node, counts the next node into the passed nodes, and records the visibility from the previous node to the next node;
[0172] When all agents are stopped, that is, all LEO satellites are included in the taboo table of each agent, the pheromone is updated on the topological complete graph according to the path and pheromone recorded by the agent, and the set of selected LEO cache satellites in the current round and the sum of the propagation delays between the selected LEO cache satellites are output;
[0173] The specific steps of constructing a cache LEO satellite selection algorithm to minimize the inter-satellite propagation delay of the selected cache LEO satellite are as follows:
[0174] S1, use STK to obtain the motion coordinates of each LEO satellite at each time and initialize the parameters;
[0175] In the STK simulation software, the motion of the LEO satellite set S is modeled, where S = {s1,…,s k ,…s K},s k is the kth LEO satellite in the LEO satellite set, K is the number of LEO satellites in the LEO satellite set;
[0176] The STK simulation software gives the time t s k Coordinates And calculate s based on the coordinates k With s k′ Distance where s k′ ∈S,s k ≠s k′ , and generate a topological complete graph based on the distance Where V comp is a complete graph G t The node set in V comp The nodes contained in are the LEO satellites in S. It's G t The set of middle edges, The weight of each edge in is Weight For k With s k′ The propagation delay between k With s k′ If the two are not reachable, Set to infinity; The calculation expression is as follows:
[0177]
[0178] Where c is the speed of light;
[0179] Initialize the set of ant agents ∈ = {ε1,...,ε m ,...,ε M}, where ε m is the mth ant Agent in ∈; and in G t Initialize the starting pheromone for each node in (s k )° is s k The degree of; t is the global time, and the initial value of t is 0;
[0180] S2, at the beginning of each round, initialize the temporary data structure for each agent;
[0181] At the beginning of each round, for each ε m Initialize the taboo table Taboo Table indicates that all edges have been marked as covered. k , is ε m The set of selected LEO cache satellites, including ε m The selected LEO satellite k ; Used to store selected LEO cache satellite collections and coverage maps Used to record which edges are covered, for each ε m Specify starting s k node;
[0182] S3, in each round, each agent decides the next hop based on the pheromone concentration of each node and the visibility to each node, and updates the temporary data structure;
[0183] In each round, ε m Calculate the current ε m The LEO satellite is connected and not LEO satellites in k′ Visibility Then calculate the transition probability ε m According to each The probability sampling selects the next hop satellite s k′ , and s k′ join in and Will Middle Pointer k′ The weight of the edge is reset to 0;
[0184] ε m Calculate all possible next hops Then calculate the transition probability of all feasible next hops Update after reaching the next hop and
[0185] The specific process of step S3 is:
[0186] S301, for each ε m , if ε m Not stopped, that is If all LEO satellites in the STK simulation software are not included, go to S302; if ε m Stopped, that is If all LEO satellites in the STK simulation software are included, then go to S4;
[0187] S302, ε m Calculate the visibility of each possible next hop Then calculate each possible next hop
[0188] visibility The calculation expression is as follows:
[0189]
[0190] After the visibility calculation is completed, the possible next hop s is calculated k The transition probability Transition probability The calculation expression is as follows:
[0191]
[0192] Among them, α is the pheromone weight factor, β is the visibility weight factor;
[0193] S303, ε m According to each Select the next hop based on probability distribution;
[0194] S304, ε m The next hop s will be selected k′ Join and
[0195] S305, ε m Will All points in k′ The weight of the edge is reset to 0; at this time, for each edge not in The LEO satellite in the Are the weights of the edges connected to it all 0? If all are 0, add it If there is an edge connected to it with a weight of 1, then proceed to determine the next one that is not in LEO satellites in the
[0196] S306, calculation Does it contain all LEO satellite nodes? If it does, then ε m Mark as stopped and go to S301 to run the next ε m If it does not contain all LEO satellite nodes, it will directly go to S301 and run the next ε m ;
[0197] S4, εm according to The selected LEO satellite updates the pheromone on the node;
[0198] Pheromones The updated expression is as follows:
[0199]
[0200] in, is the soft update factor, Ω is the pheromone constant;
[0201] Step 2: construct a multi-level cache decision model, and make cache decisions for the LEO cache satellite set and UAV equipment according to the LEO cache satellite set obtained in step 1, so as to provide customized transmission services for ground vehicles;
[0202] The method to construct a multi-level cache algorithm is:
[0203] Obtain the location information of all ground vehicles, the popularity of the file requested by each vehicle, the delay threshold, the time consumed to receive the file at the current moment, and the proportion of the file received;
[0204] Using vehicle location information as input, the DBSCAN algorithm is used to cluster vehicles. The DBSCAN algorithm is Density-Based Spatial Clustering of Applications with Noise. The drone will provide services for vehicle clusters with the generated clusters.
[0205] The drone calculates the gravity of each cluster based on the location information of the vehicle, the popularity of the file requested by each vehicle, the delay threshold, the time consumed to receive the file at the current moment, and the proportion of the file received, and then determines the next service cluster, that is, the mobile position at the next moment; the gravity of the cluster is the interest level of each drone in each cluster;
[0206] Each drone independently deploys a reinforcement learning model based on Deep Q Network, that is, deploys a DQN neural network;
[0207] The drone collects the propagation delay of the files that may be requested by each vehicle, the popularity of the files, the service density at the current moment, the request status of the next service cluster, the maximum reception of each file in the current cluster, and the delay consumption ratio of each file in the current cluster as the drone state space, and swaps out any files in the drone's cache space and selects a file from the uncached files to swap in. Note that the files swapped out and swapped in may be the same. Based on the state-action combination, it obtains rewards from the environment and updates the DQN neural network.
[0208] A DQN neural network is deployed in each LEO satellite. According to the LEO cache satellite set selected in step 1, the remaining time of each LEO satellite in the LEO cache satellite set covering the service area at the current moment is calculated, and the remaining time of covering the service area at the current moment, the union of the cache spaces of drones within the range, the cache space of the LEO satellite, the request status within the coverage range, and the file popularity are used as the LEO satellite state space; the LEO satellite in the LEO cache satellite set swaps out any single file in the satellite cache space and selects a file from the uncached file to swap in, obtains rewards from the environment according to the state-action combination, and updates the DQN neural network;
[0209] The specific steps to build a multi-level cache algorithm are:
[0210] S5, initializing the vehicle and UAV;
[0211] Initialize the UAV cluster U, vehicle cluster V and file cluster F, where U = {u1,…,u j ,…,u J}, V={v1,…,v i ,…,v I}, F={f1,…,f q ,…,f Q},u j is the jth UAV in U, and U contains J UAVs in total, v i is the i-th vehicle in V, and V contains a total of I vehicles, f q is the qth file in F, and F contains Q files in total;
[0212] The vehicle enters the simulation scene according to the Poisson distribution, and the vehicle v i At time t, the horizontal and vertical coordinates are and The position of the vehicle is represented by The vehicle selects a file from F as the currently requested file and uses the nearest UAV within the communication range as the network access device. If there is no UAV within the communication range, the LEO satellite with the longest remaining coverage time in the LEO cache satellite set currently covering the area where the vehicle is located is used as the access device;
[0213] S6, clustering the vehicles at the current moment, and calculating the position of the UAV at the next moment based on the gravitational force of each cluster on each UAV;
[0214] Use DBSCAN to cluster vehicles, and the generated cluster set is in for The e-th cluster in , and There are E clusters in total; each UAV calculates the gravity of each cluster Pick the average coordinates of the cluster with the strongest attraction As the moving position at the next moment;
[0215] The average coordinate of the cluster The calculation method of is as follows:
[0216]
[0217] Where count(·) represents the number of How many cars are currently present in ?
[0218] For every u j , each clustering pair u j The force of gravity The calculation method of is as follows:
[0219]
[0220] in, is a constant, representing the gravitational constant, the gravitational constant The value of is 100; ζ is the gravitational weight factor, and the gravitational weight factor ζ is 0.5; is the vehicle v at time t i Receive f q The time consumed; To receive f q The maximum delay of S F is a vector containing the file sizes of all possible requested files; is a vector representing the current cluster Which files are requested? is u at time t j Caching decisions for individual files; are the coordinates of the drone, and for u j The horizontal and vertical coordinates at time t are, for u j The default altitude of the drone is always
[0221] S7, the drone makes a cache decision based on the drone state space and updates its own DQN neural network;
[0222] The transmission delay of each drone collecting and obtaining each file Popularity of each file Service density at the current moment Request status of the next service cluster The maximum receiving ratio of each file in the current cluster And the delay consumption ratio For each drone state space; Specifically refers to What file requests were received; service density for How many types of files are requested in the ; select a file to swap out in each drone cache space, and the swap index is Select a file from the uncached files to swap in, the swap index is Get rewards in the environment based on the combination of state and action And update the drone's DQN neural network;
[0223] S8, the LEO satellite in the LEO cache satellite set makes a cache decision based on the LEO satellite state space, updates its own DQN neural network, and checks whether the DQN neural networks on the LEO satellite and the UAV converge;
[0224] Each LEO satellite in the LEO cache satellite set calculates the remaining coverage time in the current service area The union of the cache spaces of the UAVs in the coverage area Its own cache space Requests within own coverage area Q t (s k ,U), and file popularity As the LEO satellite state space; Q t (s k ,U) specifically refers to s k Which file requests are received? The LEO satellite in the LEO cache satellite set selects a file in the cache space to swap out. The swap out index is Select a file from the uncached files to swap in, the swap index is Get rewards in the environment based on the combination of state and action And update the DQN neural network of LEO satellite;
[0225] If one of the DQN neural networks deployed on the UAV and the LEO satellite has not converged, then go to S6; if all the DQN neural networks deployed on the UAV and the LEO satellite have converged, then the process ends and all the DQN neural network models deployed on the UAV and the LEO satellite are output; the condition for the DQN neural network to converge is when the change in the total rewards obtained by the DQN neural network in each round of training is less than 1%;
[0226] Remaining coverage time in the current service area The calculation method is as follows:
[0227] like Figure 4 , O C is the center of the Earth, R e is the radius of the earth, L is the actual height of the LEO satellite in the LEO cache satellite set; first calculate s k and v i The elevation angle between The expression to be evaluated is as follows:
[0228]
[0229] in and Yes k longitude and latitude; and Is the vehicle v i The longitude and latitude of is an intermediate variable; furthermore, the total time of the LEO satellite coverage area in the LEO cache satellite set The calculation expression is as follows:
[0230]
[0231] Where KPL is Kepler's constant, is the angle between the center of the Earth and the satellite, T S is the period of the satellite's rotation around the earth; finally, according to The angle at time t Calculate the remaining service time of LEO satellites in the LEO cache satellite set within the service range The calculation expression is as follows:
[0232]
[0233] in and For k and v i minimum and maximum elevation angles between;
[0234] S9, at each moment, each vehicle determines the device and rate of receiving the file, and updates its own position and request information;
[0235] Each vehicle selects a file request node based on the cache status of all drones and LEO satellites in the connected LEO cache satellite set, records the actual delay and hit status after receiving the file, selects a new request file and updates the vehicle's
[0236] The specific process of the vehicle selecting a file request node and receiving the file is:
[0237] S901, for each vehicle, determine whether the vehicle can currently access the UAV, if it can access, proceed to S902, if not, proceed to S904;
[0238] S902, determining whether the currently connected UAV has cached the file being requested by the vehicle, and if the UAV has cached the file being requested by the vehicle, The UAV transmits the data at a rate of , and proceeds to S901 to run the next vehicle. If the UAV does not cache the file being requested by the vehicle, proceeds to S903;
[0239] S903, determine whether other UAVs except the access UAV have cached the file requested by the vehicle, if so, split the unit time into two time periods, and the access UAV of the vehicle first caches the file requested by other UAVs. Download the file to the local u at the rate j′ ∈U, then The data is transmitted to the corresponding vehicle at a rate, and after the execution is completed, the process proceeds to S901 to run the next vehicle; if other UAVs do not cache the corresponding file requested by the vehicle, the process proceeds to S904;
[0240] S904, determine whether the LEO satellite in the connected LEO cache satellite set has cached the file requested by the vehicle. If so, directly The rate is transmitted to the vehicle, and after the execution is completed, it goes to S901 to run the next vehicle. Since the altitude of the UAV is much different from the altitude of the LEO cache satellite, it is considered Otherwise, the unit time is split into two time periods. At the first sub-time period, the LEO satellite in the LEO cache satellite set accessed by the vehicle is first obtained from other LEO cache satellites. The file is downloaded to the local computer at a rate of The rate is transmitted to the vehicle;
[0241] calculate The steps are:
[0242] First, the visible communication P of UAV to ground vehicle communication LoS and the probability of invisible communication P NLoS To model:
[0243] p LoS =(1+ae -b(θ-a) ) -1
[0244] p NLoS =1-p LoS
[0245] Among them, a, b and θ are two environmental constants and the elevation angle of the drone;
[0246] Secondly, for the visible communication path loss L LoS and the path loss L for invisible communication NLoS To model:
[0247]
[0248] Among them, η LoS is the visible communication attenuation factor, η NLoS is the attenuation factor of invisible communication, f is the carrier frequency, c is the speed of light, is the flight altitude of the drone;
[0249] Therefore, the average path loss of UAV to ground communication is Calculated as:
[0250]
[0251] and then, The calculation expression is as follows:
[0252]
[0253] Among them, B U is the transmission bandwidth of UAV, P U is the transmission power of UAV, σ 2 is the ground noise; ρ t (u j ) is the time u at t j The service density represents the current u j How many transfer tasks are being performed simultaneously?
[0254] In particular, the FDMA access method is used between LEO satellites and UAVs. FDMA stands for Frequency Division Multiple Access, ρ t (u j ) is the current u j How many tasks are transmitted simultaneously? FDMA can effectively ensure the continuity and stability of the transmission service, thereby ensuring QoS. Currently, both LEO satellites and UAVs support multicast. Therefore, even if LEO satellites and UAVs currently transmit multiple tasks simultaneously, the bandwidth allocated to each task can still meet the QoS requirements in most cases.
[0255] In particular, the communication rate between UAVs at time t is The path loss of visible communication is L LoS As input parameters, The calculation expression is as follows:
[0256]
[0257] where ρ t (u j′ ) is the time u at t j′ The service density represents the current u j′ How many transfer tasks are being performed simultaneously?
[0258] calculate The steps are:
[0259] First, calculate the air-to-ground power attenuation h 2 , the calculation expression is as follows:
[0260]
[0261] Among them, G TS G is the transmission gain of the LEO satellite in the LEO buffer satellite set; RU is the receiving gain of UAV; λ is the carrier wavelength, H S is the altitude of the LEO cache satellite, F Rain is the rain attenuation factor;
[0262] The calculation expression is as follows:
[0263]
[0264] Among them, B S The transmission bandwidth of the LEO buffer satellite, P S is the transmission power, is the space noise; FDMA is used to calculate the transmission rate, and ρ t (s k ) is the time t s k The service density represents the current s k How many tasks are transmitted simultaneously?
[0265] calculate The steps are:
[0266] First, the inter-satellite power attenuation is modeled and the calculation expression is:
[0267]
[0268] Among them, G RS The receiving gain of the LEO satellites in the LEO buffer satellite set; then, The calculation expression is as follows:
[0269]
[0270] Among them, ρ t (s k′ ) is the time t s k′ The service density represents the current s k′ How many tasks are transmitted simultaneously?
[0271] S10, judging whether the LEO cache satellite has left the current coverage area, that is Is it 0? If it is left, the process ends; if it is not left, it goes to S5.
[0272] The present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0273] In this embodiment, a simulation system for a multi-level cache and asynchronous update cache decision scheme for non-ground networks is assigned. In this embodiment, a two-way four-lane road is considered, which is 1000m long and 800m wide. A vehicle enters the road scene at a speed of 10m / s and obeys a Poisson distribution with a parameter of [1,6] and a step size of 1. Figure 2 As shown, in the space layer, there are 6 LEO satellite orbits, each with 15 LEO satellites, with an altitude of 800km, a cache capacity of 1.5GB, and a transmission frequency, power, and antenna gain of 12.5GHz, 30dbm, and 65dbi. In the sky layer, under the coverage of each LEO satellite, 3 UAVs are deployed, with a cache capacity of 1GB, a communication coverage radius of 100m, and a transmission frequency, power, and antenna gain of 30MHz, 24dbm, and 65dbi. The noise power of the space layer and the ground layer is 5*10 -20 W / Hz, 5*10 -18 W / Hz, and the rain attenuation factor is 6db. The attenuation factors and elevation angles of the visible and invisible communications of the drone are 1, 20, and 0.464rad. The pheromone weight factor in DM-ACO is 1, and the visibility weight factor is 0.5. The pheromone constant and soft update factor are 100 and 0.6. When a vehicle enters the scene, it will request files based on its location with the actual file area popularity. The number of candidate files requested is [16,36], and the step size is 4. The file size is [50,100,150]MB, and the latency requirement is [10,15,20] seconds. The file popularity follows the Zipf distribution with parameter 1.
[0274] In summary, the present invention provides a multi-level cache and cache asynchronous update decision scheme for non-terrestrial networks. First, the scheme selects a suitable LEO cache satellite through DM-ACO to reduce system propagation delay and inter-satellite transmission packet loss, and increase cache resource utilization, while ensuring that all files are globally reachable in the LEO satellite network. Secondly, after the selection of the LEO cache satellite, the present invention further proposes a multi-level cache and asynchronous update scheme, which not only considers cross-layer and inter-layer device collaboration, and flexibly caches files in UAV and LEO cache satellites according to ground user needs, but also replaces large-scale updates of cache files through UAV movement, thereby reducing network traffic peaks and propagation and update delays, and providing customized QoS for Internet of Vehicles users. Figure 5 and Figure 6 As shown, compared with the common ACO that does not consider the intersatellite system delay and the method without satellite selection, the packet loss rate of the DM-ACO algorithm of the present invention can be reduced by an average of 1.68% and 5.14%, reaching an average level below 14.72%, and the cache update time can be reduced by an average of 0.11 seconds and 0.29 seconds, reaching an average level below 6.01 seconds. Figure 7 and Figure 8 As shown in Figure 2, when the proposed DM-ACO algorithm is used in conjunction with asynchronous updates, the packet loss rate can be reduced by an additional 7.09% to an average of less than 7.64%, and the cache update latency can be reduced by an additional 1.87 seconds to an average of less than 4.13 seconds. Fig. 9 and Fig.10 As shown in the figure, compared with PA and LIFO, the proposed multi-level cache strategy can improve its overall hit rate by an average of 12.3% and 5.9% under different request numbers, and can reach an average of more than 78.3%; its average transmission delay can be reduced by an average of 1.27 seconds and 1.36 seconds, reaching an average of less than 7.86 seconds. Fig.11 and Fig.12 As shown, under different file numbers, its overall hit rate can be improved by an average of 18.2% and 8.4% compared with the aforementioned comparison methods and can reach an average of more than 81.1%; its transmission delay is reduced by an average of 3.53 seconds and 3.98 seconds, and can reach an average of less than 7.49 seconds.
Claims
1. A multi-level cache and asynchronous update cache decision method for non-terrestrial networks, characterized in that: The steps include: Step 1: Build a cache LEO satellite selection algorithm; Step 1.1: Use simulation software to build a LEO satellite model; Establishing LEO satellite models for LEO satellites in different orbits; the LEO satellite model includes coordinate information of the LEO satellite and a topological structure of the LEO satellite; the topological structure of the LEO satellite is constructed according to the coordinate information of the LEO satellite; and the nodes in the topological structure of the LEO satellite are LEO satellites; Step 1.2, initialize the LEO satellite model; The topological graph structure of the LEO satellite is supplemented with a topological complete graph; the parameters of each node in the topological complete graph include pheromones; based on the topological graph structure of the LEO satellite, the topological complete graph sets the edges between nodes that were originally unreachable to each other to be reachable, and the weights of the reachable edges are set to be infinite; Step 1.3: Build and initialize the ant colony model; The ant colony model includes ant agents and the number of ant agents; the parameters of each ant agent are: LEO cache satellite set, starting node, coverage map and taboo table; the LEO cache satellite set includes the set of LEO satellites selected by the agent as cache and the set of visibility of the nodes selected by the agent as cache LEO satellites; Visibility is the average propagation delay per degree of a node; the higher the visibility of a node, the greater the amount of pheromone left when the pheromone is updated after being selected as a LEO cache satellite by the ant agent; pheromone is the density of the ant agent selecting any satellite as a cache satellite; The LEO cache satellite set is the LEO satellites selected as cache satellites; the starting node is the starting node of the ant agent in the topological complete graph; The coverage graph is a topological graph; the nodes of the coverage graph are all LEO satellites; during initialization, the weights of the coverage graph edges are reset to 1; The taboo table includes the LEO satellites that the ant agent has passed and the LEO satellites whose edges are completely covered. The taboo table is used to mark which LEO satellites the agent has passed. The LEO satellites that have passed are not allowed to pass again; Step 1.4, the ant colony agent traverses the complete topological graph; Traverse each ant agent in the ant colony. For the current ant agent, first determine whether there are any optional nodes in the taboo table of the current ant agent. If there are no optional nodes, mark the current agent as stopped and transfer to the next ant agent as the current ant agent; If there are optional nodes, calculate the visibility of the current agent to each possible node, and calculate the transition probability of the current agent to each possible node; The transition probability is the probability that the agent chooses this node as the next hop; The condition for judging whether there are optional nodes in the Agent's taboo table is as follows: judging whether the number of nodes in the taboo table is equal to the number of all LEO satellites in the LEO satellite model. If the number of nodes in the taboo table is equal to the number of all LEO satellites in the LEO satellite model, it indicates that there are no optional nodes. If they are not equal, there are optional nodes. Each agent selects the next node according to the sampling distribution of the transition probability, adds the selected node to the current agent taboo table and the LEO cache satellite set at the same time, and resets the weights of all edges connected to the selected node in the coverage graph to 0; at this time, the agent transfers to the next selected node, counts the current node into the passed nodes, and records the visibility from the previous node to the next node; When all agents are stopped, that is, all LEO satellites are included in the taboo table of each agent, the agent updates the pheromone of the node on the topological complete graph according to the node and visibility recorded by the agent; output the LEO cache satellite set of the last agent after the ant colony traversal is completed and the sum of the propagation delays between each LEO satellite in the LEO cache satellite set; Step 2: construct a multi-level cache decision model, and make cache decisions for the LEO cache satellite set and UAV equipment according to the LEO cache satellite set obtained in step 1, so as to provide customized transmission services for ground vehicles; The steps to build a multi-level cache algorithm are: Step 2.1: Build a DQN neural network and deploy it on LEO satellites and drones; The DQN neural network is a reinforcement learning model based on the Deep Q Network. The carriers deployed by the DQN neural network include drones and LEO satellites. The input of the DQN neural network is the state space connected to the carrier. The output of the DQN neural network is the Q value of each action that the carrier may take in the carrier action space. If the carrier is a drone, the state space of the carrier is the drone state space, which includes the propagation delay of the files that may be requested, the file popularity of the files that may be requested, the service density at the current moment, the request status of the next service cluster, the maximum reception of each file in the current cluster, and the delay consumption ratio of each file in the current cluster. If the carrier is a LEO satellite, the carrier's state space is the LEO satellite state space, which includes the remaining time of the current coverage service area collected by the LEO satellite, the union of the file cache space of the drone that can access the LEO satellite, the file cache space of the LEO satellite, the request status within the coverage area, and the file popularity; The Q value is the long-term reward that the DQN neural network can obtain after performing an action in the carrier action space. The long-term reward is the sum of all instantaneous rewards that the carrier can obtain from the current moment to the end of the simulation; If the carrier is a UAV, the carrier's instantaneous reward is the sum of the ratio of the actual time delay for all vehicles connected to the UAV and completing the transmission task to receive the file to the square of the maximum delay for the vehicle to request the file; the shorter the actual time consumed by the vehicle to complete the transmission task, the greater the instantaneous reward of the UAV; If the carrier is a LEO satellite, the instantaneous reward is the cache hit rate of the LEO satellite at the current moment. The cache hit rate is the ratio of the number of files requested by all vehicles connected to the LEO satellite that are cached by the LEO satellite to the number of vehicles connected to the LEO satellite. The higher the cache hit rate, the greater the instantaneous reward of the LEO satellite. The carrier action space includes the cache decisions that the carrier may take, i.e. swapping out any file from the carrier cache and swapping in any file from the uncached file; After the DQN neural network outputs the Q value, it generates a random number in (0,1). If the random number is greater than the greed factor, the action with the largest Q value is selected as the action taken by the carrier; if the random number is less than or equal to the greed factor, an action is randomly selected as the action taken by the carrier; the greed factor is 0.9; The loss calculated by the DQN neural network is: the sum of the instantaneous reward obtained by the action taken by the carrier in the current state space and the Q value of the action taken by the carrier in the current state space, minus the maximum Q value output by the action taken by the carrier in the current state space transferred to the next moment as the input of the new state space; The DQN neural network calculates the gradient based on the loss and updates the DQN neural network by stochastic gradient descent to update the DQN neural network; When the change in the total rewards obtained by the DQN neural network in each round of training is less than 1%, the DQN neural network is considered to have converged; Step 2.2: Initialize vehicle location information and request file information; The vehicle is the main body of communication between the ground and the drone or LEO satellite; obtain the location information of all vehicles on the ground, the popularity of the files requested by all vehicles, the maximum delay of the files requested by the vehicle, the time consumed by the vehicle at the current moment when receiving the files requested by the vehicle, and the proportion of the received files; The popularity of a file is the probability that a vehicle requests the file; Step 2.3: Cluster vehicles; Taking the vehicle location information at the current moment as input, the distance between vehicles is clustered using a clustering algorithm, and the drone will provide services for the vehicle cluster with the generated clusters; Step 2.4: The drone determines its own location information; The drone calculates the gravity of each cluster based on the vehicle's current location information, the popularity of the file requested by the vehicle, the maximum delay of the file requested by the vehicle, the time consumed by the vehicle at the current moment when receiving the file requested by the vehicle, and the proportion of the received files, and determines the next service cluster, that is, the mobile position at the next moment; The gravitational pull of a cluster is determined by the proportion of files requested by vehicles in the cluster that are cached in the drone, the proportion of time taken by vehicles in the cluster to request files that exceeds the maximum delay threshold, and the distance between the cluster and the drone. The more files requested by vehicles in the cluster are cached by the drone, the more times the time taken by vehicles in the cluster to request files is about to exceed the maximum delay threshold of the files, and the closer the cluster is to the drone, the greater the gravitational pull of the cluster. The gravitational pull of a cluster indicates the interest of each drone in each cluster. Step 2.5: Train the DQN neural network deployed on the drone and the DQN neural network deployed on the LEO satellite respectively; The drone uses the current state space as input, executes the DQN neural network training process, and outputs the Q value of each action; The LEO satellite uses the current state space as input, executes the DQN neural network training process, and outputs the Q value of each action; Step 2.6: Determine whether the DQN neural network deployed on the drone and LEO satellite has converged; If one of the DQN neural networks deployed on the UAV and the LEO satellite has not converged, go to step 2.7; if all the DQN neural networks deployed on the UAV and the LEO satellite have converged, the process ends. At this time, the DQN neural network model deployed on the UAV and the LEO satellite is a multi-level cache and asynchronous update decision model, which can flexibly cache decisions for the LEO satellite and UAV devices, so as to provide customized and high-quality transmission services for ground vehicles. Step 2.7: Update the vehicle location information and the requested file information; The vehicle updates its location information based on its speed and direction of travel. The vehicle calculates the current file transfer rate based on the files currently cached in the drone and LEO satellite. The drone updates the maximum reception of files in the drone state space and the file delay consumption ratio in the current cluster. If the delay of the vehicle receiving the file exceeds the maximum delay of receiving the file or the task of receiving the file has been completed, the vehicle requests a new file; Step 2.8: Update the drone's location information; The drone takes the average coordinates of the next selected service cluster as its position at the next moment, updates the drone's position information, and proceeds to step 2.
3.
2. The method for multi-level caching and asynchronous update caching decision for non-terrestrial networks according to claim 1, characterized in that: In step 1, the steps of constructing a cache LEO satellite selection algorithm are: S1, use STK to obtain the motion coordinates of each LEO satellite at each time and initialize the parameters; In the STK simulation software, the motion of the LEO satellite set S is modeled, where S = {s1,…,s k ,…s K },s k is the kth LEO satellite in the LEO satellite set, K is the number of LEO satellites in the LEO satellite set; the STK simulation software gives the time t s k Coordinates And calculate s based on the coordinates k With s k′ Distance where s k′ ∈S,s k ≠s k′ , and generate a topological complete graph based on the distance Where V comp is a complete graph G t The node set in V comp The nodes contained in are the LEO satellites in S. It's G t The set of middle edges, The weight of each edge in is Weight For k With s k′ The propagation delay between k With s k′ If the two are not reachable, Set to infinity; The calculation expression is as follows: Where c is the speed of light; Initialize the set of ant agents ∈ = {ε1,...,ε m ,...,ε M }, where ε m is the mth ant Agent in ∈; and in G t Initialize the starting pheromone for each node in (s k )° is s k The degree of; t is the global time, and the initial value of t is 0; S2, at the beginning of each round, initialize the temporary data structure for each agent; At the beginning of each round, for each ε m Initialize the taboo table Taboo Table Indicates that all edges have been marked as covered. k , is ε m The set of selected LEO cache satellites, including ε m The selected LEO satellite k ; Used to store selected LEO cache satellite collections and coverage maps Used to record which edges are covered, for each ε m Specify starting s k node; S3, in each round, each agent decides the next hop based on the pheromone concentration of each node and the visibility to each node, and updates the temporary data structure; In each round, ε m Calculate the current ε m The LEO satellite is connected and not LEO satellites in k′ Visibility Then calculate the transition probability ε m According to each The probability sampling selects the next hop satellite s k′ , and s k′ join in and Will Middle Pointer k′ The weight of the edge is reset to 0; ε m Calculate all possible next hops Then calculate the transition probability of all feasible next hops Update after reaching the next hop and S4, ε m according to The selected LEO satellite updates the pheromone on the node; Pheromones The updated expression is as follows: in, is the soft update factor and Ω is the pheromone constant.
3. The method for multi-level caching and asynchronous update caching decision for non-terrestrial networks according to claim 2, characterized in that: In step S3, each agent decides the next hop based on the pheromone concentration of each node and the visibility to each node, and updates the temporary data structure in the following specific process: S301, for each ε m , if ε m Not stopped, that is If all LEO satellites in the STK simulation software are not included, go to S302; if ε m Stopped, that is If all LEO satellites in the STK simulation software are included, then go to S4; S302, ε m Calculate the visibility of each possible next hop Then calculate each possible next hop visibility The calculation expression is as follows: The higher the visibility, the greater the amount of pheromone left when updating pheromones after being selected as a LEO cache satellite by the ant agent; After the visibility calculation is completed, the possible next hop s is calculated k The transition probability Transition probability The calculation expression is as follows: Among them, α is the pheromone weight factor, β is the visibility weight factor; S303, ε m According to each Select the next hop based on probability distribution; S304, ε m The next hop s will be selected k′ Join and S305, ε m Will All points in k′ The weight of the edge is reset to 0; at this time, for each edge not in The LEO satellite in the Are the weights of the edges connected to it all 0? If all are 0, add it If there is an edge connected to it with a weight of 1, then proceed to determine the next one that is not in LEO satellites in the S306, calculation Does it contain all LEO satellite nodes? If it contains all nodes, then ε m Mark as stopped and go to S301 to run the next ε m If it does not contain all LEO satellite nodes, it will directly go to S301 and run the next ε m .
4. The method for multi-level caching and asynchronous update caching decision for non-terrestrial networks according to claim 1, characterized in that: In the step 2, a multi-level cache decision model is constructed. According to the LEO cache satellite set obtained in step 1, the specific steps of making a cache decision for the LEO cache satellite set and the UAV device are as follows: S5, initializing the vehicle and UAV; Initialize the UAV cluster U, vehicle cluster V and file cluster F, where U = {u1,…,u j ,…,u J }, V={v1,…,v i ,…,v I }, F={f1,…,f q ,…,f Q },u j is the jth UAV in U, and U contains J UAVs in total, v i is the i-th vehicle in V, and V contains a total of I vehicles, f q is the qth file in F, and F contains Q files in total; The vehicle enters the simulation scene according to the Poisson distribution, and the vehicle v i At time t, the horizontal and vertical coordinates are and The position of the vehicle is represented by The vehicle selects a file from F as the currently requested file and uses the nearest UAV within the communication range as the network access device. If there is no UAV within the communication range, the LEO satellite with the longest remaining coverage time in the LEO cache satellite set currently covering the area where the vehicle is located is used as the access device; S6, clustering the vehicles at the current moment, and calculating the position of the UAV at the next moment based on the gravitational force of each cluster on each UAV; Use DBSCAN to cluster vehicles, and the generated cluster set is in for The e-th cluster in , and There are E clusters in total; each UAV calculates the gravity of each cluster Pick the average coordinates of the cluster with the strongest attraction As the moving position at the next moment; S7, the drone makes a cache decision based on the drone state space and updates its own DQN neural network; The transmission delay of each drone collecting and obtaining each file Popularity of each file Service density at the current moment Request status of the next service cluster The maximum receiving ratio of each file in the current cluster And the delay consumption ratio For each drone state space; Specifically refers to What file requests were received; service density for How many types of files are requested in the ; select a file to swap out in each drone cache space, and the swap index is Select a file from the uncached files to swap in, the swap index is Get rewards in the environment based on the combination of state and action And update the drone's DQN neural network; S8, the LEO satellite in the LEO cache satellite set makes a cache decision based on the LEO satellite state space, updates its own DQN neural network, and checks whether the DQN neural networks on the LEO satellite and the UAV converge; Each LEO satellite in the LEO cache satellite set calculates the remaining coverage time in the current service area The union of the cache spaces of the UAVs in the coverage area Its own cache space Requests within own coverage area Q t (s k ,U), and file popularity As the LEO satellite state space; Q t (s k ,U) specifically refers to s k Which file requests are received? The LEO satellite in the LEO cache satellite set selects a file in the cache space to swap out. The swap out index is Select a file from the uncached files to swap in, the swap index is Get rewards in the environment based on the combination of state and action And update the DQN neural network of LEO satellite; If one of the DQN neural networks deployed on the UAV and the LEO satellite has not converged, then go to S6; if all the DQN neural networks deployed on the UAV and the LEO satellite have converged, then the process ends and all the DQN neural network models deployed on the UAV and the LEO satellite are output; the condition for the DQN neural network to converge is when the change in the total rewards obtained by the DQN neural network in each round of training is less than 1%; S9, at each moment, each vehicle determines the device and rate of receiving the file, and updates its own position and request information; Each vehicle selects a file request node based on the cache status of all drones and LEO satellites in the connected LEO cache satellite set, records the actual delay and hit status after receiving the file, selects a new request file and updates the vehicle's S10, judging whether the LEO cache satellite has left the current coverage area, that is Is it 0? If it is left, the process ends; if it is not left, it goes to S5.
5. The method for multi-level caching and asynchronous update caching decision for non-terrestrial networks according to claim 4, characterized in that: In step S6, the average coordinates of the clusters The calculation method is as follows: Where count(·) represents the number of How many vehicles currently exist in .
6. The method for multi-level caching and asynchronous update caching decision for non-terrestrial networks according to claim 4, characterized in that: In step 6, the gravity of the cluster The calculation steps are: For every u j , each clustering pair u j The force of gravity The calculation method is as follows: in, is a constant, representing the gravitational constant, the gravitational constant The value of is 100; ζ is the gravitational weight factor, and the gravitational weight factor ζ is 0.5; is the vehicle v at time t i Receive f q The time consumed; To receive f q The maximum delay of S F is a vector containing the file sizes of all possible requested files; is a vector representing the current cluster Which files are requested? is u at time t j Caching decisions for individual files; are the coordinates of the drone, and for u j The horizontal and vertical coordinates at time t are, for u j The default altitude of the drone is always 7. The method for multi-level caching and asynchronous update caching decision for non-terrestrial networks according to claim 4, characterized in that: In step S8, the remaining coverage time in the current service area The calculation method is as follows: O C is the center of the Earth, R e is the radius of the earth, L is the actual height of the LEO satellite in the LEO cache satellite set; first calculate s k and v i The elevation angle between The expression to be evaluated is as follows: in and Yes k longitude and latitude; and Is the vehicle v i The longitude and latitude of is an intermediate variable; furthermore, the total time of the LEO satellite coverage area in the LEO cache satellite set The calculation expression is as follows: Where KPL is Kepler's constant, is the angle between the center of the Earth and the satellite, T S is the period of the satellite's rotation around the earth; finally, according to The angle at time t Calculate the remaining service time of LEO satellites in the LEO cache satellite set within the service range The calculation expression is as follows: in and For k and v i between the minimum and maximum elevation angles.
8. The method for multi-level caching and asynchronous update caching decision for non-terrestrial networks according to claim 4, characterized in that: In step S9, the specific steps for the vehicle to determine the device and rate of receiving the file and update its own position and request information are: S901, for each vehicle, determine whether the vehicle can currently access the UAV, if it can access, proceed to S902, if not, proceed to S904; S902, determining whether the currently connected UAV has cached the file being requested by the vehicle, and if the UAV has cached the file being requested by the vehicle, The UAV transmits the data at a rate of , and proceeds to S901 to run the next vehicle. If the UAV does not cache the file being requested by the vehicle, proceeds to S903; S903, determine whether other UAVs except the access UAV have cached the file requested by the vehicle, if so, split the unit time into two time periods, and the access UAV of the vehicle first caches the file requested by other UAVs. Download the file to the local u at the rate j′ ∈U, then The data is transmitted to the corresponding vehicle at a rate, and after the execution is completed, the process proceeds to S901 to run the next vehicle; if other UAVs do not cache the corresponding file requested by the vehicle, the process proceeds to S904; S904, determine whether the LEO satellite in the connected LEO cache satellite set has cached the file requested by the vehicle. If so, directly The rate is transmitted to the vehicle, and after the execution is completed, it goes to S901 to run the next vehicle. Since the altitude of the UAV is much different from the altitude of the LEO cache satellite, it is considered Otherwise, the unit time is split into two time periods. At the first sub-time period, the LEO satellite in the LEO cache satellite set accessed by the vehicle is first obtained from other LEO cache satellites. The file is downloaded to the local computer at a rate of The speed is transmitted to the vehicle.
9. The method for multi-level caching and asynchronous update caching decision for non-terrestrial networks according to claim 8, characterized in that: In step S902, the calculation The steps are: First, the visible communication P of UAV to ground vehicle communication LoS and the probability of invisible communication P NLoS To model: p LoS =(1+ae -b(θ-a) ) -1 p NLoS =1-p LoS Among them, a, b and θ are two environmental constants and the elevation angle of the drone; Secondly, for the visible communication path loss L LoS and the path loss L for invisible communication NLoS To model: Among them, η LoS is the visible communication attenuation factor, η NLoS is the attenuation factor of invisible communication, f is the carrier frequency, c is the speed of light, is the flight altitude of the drone; Therefore, the average path loss of UAV to ground communication is Calculated as: and then, The calculation expression is as follows: Among them, B U is the transmission bandwidth of UAV, P U is the transmission power of UAV, σ 2 is the ground noise; ρ t (u j ) is the time u at t j The service density, ρ t (u j ) indicates the current u j How many transfer tasks are being performed simultaneously.
10. The method for multi-level caching and asynchronous updating of cache decision for non-terrestrial networks according to claim 8, characterized in that: In step S903, The calculation steps are: Communication rate between UAVs at time t u j′ ∈U and u j′ ≠u j , it can be seen that the communication path loss L LoS As input parameters, The calculation expression is as follows: where ρ t (u j′ ) is the time u at t j′ The service density represents the current u j′ How many transfer tasks are being performed simultaneously.
11. The method for multi-level caching and asynchronous updating of cache decision for non-terrestrial networks according to claim 8, characterized in that: In S904, calculation The steps are: First, calculate the air-to-ground power attenuation h 2 , the calculation expression is as follows: Among them, G TS G is the transmission gain of the LEO satellite in the LEO buffer satellite set; RU is the receiving gain of UAV; λ is the carrier wavelength, H S is the altitude of the LEO cache satellite, F Rain is the rain attenuation factor; The calculation expression is as follows: Among them, B S The transmission bandwidth of the LEO buffer satellite, P S is the transmission power, is the space noise; the FDMA access method is used between the LEO satellite and the UAV, and ρ t (s k ) is the time t s k The service density represents the current s k How many tasks are being transferred simultaneously.
12. The method for multi-level caching and asynchronous updating of cache decision for non-terrestrial networks according to claim 8, characterized in that: The calculation in S904 The steps are: First, the inter-satellite power attenuation is modeled and the calculation expression is: Among them, G RS The receiving gain of the LEO satellites in the LEO buffer satellite set; then, The calculation expression is as follows: where ρ t (s k′ ) is the time t s k′ The service density represents the current s k′ How many tasks are being transferred simultaneously.
Citation Information
Cited By
Satellite constellation fuel filling task planning method based on improved ant colony algorithm
CN120087698A
