A UAV-assisted caching method in a vehicular network based on geographic location

By introducing geolocation-assisted UAV caching technology into the vehicle network and collaboratively optimizing caching strategies and flight trajectories, the problem of large communication load and time extension in the vehicle network is solved, and more efficient content delivery and caching success rates are achieved.

CN116261180BActive Publication Date: 2024-10-18NANJING UNIV OF POSTS & TELECOMM
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The heavy communication load in the vehicle network results in prolonged service requests for vehicle users, and poor network stability, making it difficult to effectively reduce the average request delay and improve the cache success rate.

Method used

Introducing drones with caching functions, designing a collaborative caching mechanism and optimizing drone flight trajectories based on geographical location, and jointly optimizing each node's caching strategy and drone flight trajectories to reduce average request latency and improve cache success rate. Specific steps include dividing content into two categories: local content and ordinary content, building a collaborative caching mechanism, analyzing the delay required for vehicle users to obtain content, establishing a content preference list, determining the cache ratio, and using exhaustive and greedy algorithms to optimize caching decisions and flight trajectory.

Benefits of technology

It effectively reduces the average request delay of vehicle users, improves the cache success rate, and improves the performance and service quality of the vehicle network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116261180B_ABST
    Figure CN116261180B_ABST
Patent Text Reader

Abstract

In view of the problem that the communication load of the vehicle network in the city is large and the time it takes for vehicle users to request services is prolonged, the present invention proposes a method for drone-assisted caching in the vehicle network based on geographic location. The content is divided into local content and ordinary content. Mobile vehicle users and drones only cache ordinary content. Roadside units with fixed positions cache local content and ordinary content in proportion. A content delivery method is designed, and the content request delay of the vehicle network over a period of time is analyzed, and an optimization problem for minimizing the average request delay is established. In order to solve this problem, a joint optimization method for drone trajectory and node caching decision is designed. First, the proportion of roadside units caching ordinary content is optimized through an exhaustive method, and then the caching decision of each roadside unit and drone is determined through a preference-based exchange collaborative caching method. Finally, a trajectory optimization method based on a greedy algorithm is used to further optimize the drone trajectory.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of caching in an in-vehicle network, and in particular to a method for assisting caching by a drone in an in-vehicle network based on geographic location. Background Art

[0002] With the advancement of science and technology, people's demand for vehicle transportation is growing, and applications such as intelligent transportation, unmanned driving, road safety and in-car entertainment are gradually gaining attention. Vehicles need to communicate with each other to exchange information to get a better driving experience, such as road safety information and entertainment information. Therefore, vehicular ad-hoc networks (VANETs) have appeared in people's lives. However, vehicle users in vehicular networks have the characteristics of high-speed mobility, which makes the network topology change quickly and the communication of vehicles is very unstable. Therefore, in order to improve the service quality of vehicular networks and reduce the communication load of the network, people have introduced cache technology into the Internet of Vehicles. The cache technology in the Internet of Vehicles is to cache content at various nodes such as roadside units (RSUs) and vehicles at the edge of the network, so that vehicles can directly obtain the required content from surrounding nodes, effectively shortening the communication distance for requesting vehicles to obtain content, and reducing the traffic load of content servers and networks. Summary of the invention

[0003] The purpose of the present invention is to propose a method for UAV-assisted caching in an in-vehicle network based on geographic location. The method aims to solve the problem that the communication load of the in-vehicle network in the city is large and the time spent by vehicle users requesting services is prolonged. A UAV with a caching function is introduced into the in-vehicle network, and a suitable caching method is designed under the condition that the influence of geographic location on user requests is considered. The system performance is improved by jointly optimizing the caching strategy of each node and the flight trajectory of the UAV, thereby reducing the average request delay and improving the caching success rate.

[0004] Technical solution: To solve the above technical problems, the technical solution adopted by the present invention is:

[0005] In a first aspect, the present invention provides a method for drone-assisted caching in a vehicle network based on geographic location, comprising: introducing a drone into the vehicle network, and jointly considering the caching decisions of roadside units, drones, and vehicle users while considering the impact of geographic location on vehicle user requests, thereby reducing the average request delay and improving the caching success rate. The method comprises: performing the following steps according to a preset period:

[0006] S1. Divide the content into two categories: local content and general content;

[0007] Local content refers to content related to the local geographic location, including nearby traffic information and commercial information. Users will only request this type of content when passing through the corresponding road section; ordinary content includes entertainment information, news, and weather. This type of content is not related to the geographic location, and users may request it at any location;

[0008] S2. Build a collaborative caching mechanism based on local content and common content;

[0009] S3. Constructing the delivery decision of vehicle users to obtain content in different situations;

[0010] S4. Analyze the delay required for vehicle users to obtain content based on the delivery decision and collaborative caching mechanism, and construct an optimization problem P for minimizing the average request delay of vehicle users in the vehicle network within the time period T;

[0011] S5. Based on the optimization problem P, establish a content preference list for the drone and the roadside unit without considering the mutual influence between the nodes, perform initial caching according to the content preference list, and then use an exhaustive method to determine the cache ratio of local content and common content cached by the roadside unit;

[0012] S6. Based on the optimization problem P and the determined cache ratio of the roadside unit, determine the cache decision of each roadside unit and the drone using a preference-based exchange cooperative cache method;

[0013] S7. Based on the optimization problem P, the cache ratio of the roadside unit and the cache decision of the roadside unit and the UAV, the flight trajectory of the UAV is further optimized using a trajectory optimization method based on a greedy algorithm.

[0014] In step S2, a collaborative caching mechanism based on local content and common content is constructed, including:

[0015] S21. Assume that there are M road sections in total. A roadside unit is deployed beside each road section. A drone with a caching function is deployed above the road section to assist the roadside unit in providing services to vehicle users. The time period T is divided into multiple time slots. Each time slot has a corresponding driving direction and speed.

[0016] Mobile vehicle users and drones only cache common content, and fixed-position roadside units cache local content and common content in a certain ratio. m The cache capacity is CR m , then x m CR m of capacity is used to cache local content, and the remaining (1-x m )·CR m The capacity is used to cache common content, where x m Represents roadside unit Rm The proportion of cached local content;

[0017] S22. It is a roadside unit R m A collection of cache decision indicator variables, where It is a roadside unit R m For content i The cache indicator variable, if the roadside unit R m Cache content i ,but otherwise Same reason It is the set of cache decision indicator variables of the drone.

[0018] In some embodiments, in step S3, constructing a delivery decision for a vehicle user to obtain content in different situations includes:

[0019] S31. There are five ways for vehicle users to obtain content, represented by {1,…,e,…,E}, E=5, content delivery decision indicator variable Represents the vehicle user v n Get content f by method e at time slot t i ,otherwise Each vehicle can only obtain content in one way, i.e.

[0020] S32. The requesting vehicle first searches for the requested content within one hop range on the same-direction lane. If it can be found, the content source vehicle directly transmits the requested content to the requesting vehicle;

[0021] S33. If the requested content does not exist within one hop of the same lane of the vehicle, query the information in the reverse lane; calculate the time that the two vehicles can communicate by the vehicle speed and distance, and in response to the communication time being greater than the time required for content transmission and the vehicle in the reverse lane has cached the requested content, request the vehicle to obtain the requested content from the reverse lane;

[0022] S34. If neither the same-direction nor the opposite-direction vehicles within the communication range have cached the request content, and the requesting vehicle is within the coverage of the roadside unit, the roadside unit is queried for information. If the roadside unit has cached the request content, it will be directly transmitted to the requesting vehicle;

[0023] S35. If the requesting vehicle is not within the coverage of the roadside unit, or the roadside unit does not cache the requested content, but the requesting vehicle is within the coverage of the drone, the drone is queried for information, and if the requested content is found, the drone transmits the content to the requesting vehicle;

[0024] S36. If the requested content is not found in the drone, but the drone is within the communication range of the roadside unit, and the roadside unit has cached the requested content, the drone will act as a relay and forward the content from the roadside unit to the requesting vehicle;

[0025] S37. If the above methods cannot obtain the content, and the waiting time D W The maximum allowed waiting time has not been exceeded The vehicle user will continue to wait and re-perform S32 to S36 in the next time slot until a feasible delivery method is found. If a suitable decision is not found within the maximum waiting time or the communication link is disconnected during content transmission, the content request is deemed to have failed.

[0026] In some embodiments, in step S4, analyzing the time delay required for the vehicle user to obtain the content includes:

[0027] S41. When the vehicle user v n From time t0, other vehicles v n’ Get content i hour, or According to Shannon's formula, the vehicle user v in time slot t n With v n’ The rate at which content is transferred between It is expressed as:

[0028]

[0029] Where B represents bandwidth, P n' Is the content source vehicle v n’ The transmission power, σ 2 is the Gaussian white noise variance at the receiver, G n,n' (t) is the time slot v n and v n’ The channel gain between n',n (t) = x·d n',n (t) -δ , δ is the path loss exponent, χ is the channel fading gain, d n',n (t) is v n With v n’ The distance between

[0030] Assume that the length of each time slot is D, and the current time slot is the lth time slot after t0, denoted as t l , then the amount of data that can be transmitted in this time slot is Assuming that all contents are of equal size, i.e., s, the amount of data not transmitted in this time slot is If s r (t l )>s c (tl ), indicating that the content cannot be delivered in the current time slot and will continue to be transmitted in the next time slot; if s r (t l )≤s c (t l ), indicating that the current time slot can complete content delivery, and the time used to transmit data in this time slot is Content transmission ends at this time slot; use t L+1 represents the time slot when content delivery is completed, that is, the vehicle user completely obtains the requested content within the L+1th time slot after t0, then the vehicle user v n From other vehicles n’ Get content i The transmission delay It is expressed as:

[0031]

[0032] S42. When the vehicle user v n From time t0, directly through the roadside unit R m Get content i hour, According to Shannon's formula, the roadside unit R in time slot t m To vehicle user v n The rate at which content is transmitted is expressed as:

[0033]

[0034] Where B represents bandwidth, P m YesR m The transmission power, G m,n (t) is the time slot R m and v n The channel gain between m,n (t) = x·d m,n (t) -δ , d m,n (t) is R m With v n The distance between L+1 represents the time slot when content delivery is completed, that is, the vehicle user completely obtains the requested content within the L+1th time slot after t0, then the vehicle user v n From the roadside unit R m Get content i The transmission delay The expression is:

[0035]

[0036] S43. When the vehicle user v nFrom time t0, the content f is obtained by drone i hour, For the communication between UAV and vehicle users, a probability-based air-to-ground communication model is used, which includes two communication channels: line-of-sight channel and non-line-of-sight channel;

[0037] The probability of line-of-sight channel transmission P LoS :

[0038]

[0039] The probability of non-line-of-sight channel transmission P NLoS =1-P LoS , where θ represents the elevation angle from the UAV to the vehicle user, β1 and β2 are constant parameters affected by environmental factors;

[0040] The path loss L between the UAV and its associated vehicle users in the line-of-sight channel Los , the path loss L between the non-line-of-sight channel transmission UAV and its associated vehicle users NLos It is expressed as:

[0041]

[0042] where η LoS and η NLos are the attenuation factors corresponding to line-of-sight links and non-line-of-sight links, respectively, and f c is the carrier frequency, c is the speed of light, Represents drone and vehicle users v n The distance between

[0043] Therefore, the average path loss of the UAV to vehicle user link is obtained for:

[0044]

[0045] Get the distance from the UAV to the vehicle user v in the t time slot n Content transfer rate for:

[0046]

[0047] Where B represents bandwidth, P U represents the transmission power of the UAV, Represents drone and vehicle users v n The distance between 2 is the Gaussian white noise variance at the receiver; vehicle user v n Get content from drone i The transmission delay for:

[0048]

[0049] S44. If the vehicle user v n From time t0, the drone relays the signal from the roadside unit R m Get the content f i ,Right now The transmission delay Equal to roadside unit R m The delay of sending the content to the drone plus the delay of the drone forwarding the content to v n Delay for:

[0050]

[0051] Where L' means that the drone completely obtains the request content in the L'+1th time slot after t0. Represents roadside unit R m Communication rate with the drone.

[0052] In some embodiments, in step S4, the optimization problem P of minimizing the average request delay of vehicle users in the vehicle network within the time period T is expressed as:

[0053]

[0054] st(C1)0≤x m ≤1,m∈(0,M)

[0055]

[0056]

[0057]

[0058] Where D ave represents the average request delay of vehicle users, They represent content transmission time and waiting time respectively; N represents the total number of vehicle users; I represents the total number of content; E represents the RU of content delivery method

[0059] Set; X represents the set of local content cache ratios of all roadside units; Y and Y represent the content caching decision sets of roadside units and drones, respectively; G represents the drone trajectory;

[0060] Constraint (C1) represents the cache ratio x in the roadside unit m The value range is 0 to 1; (C2) indicates that the cache content data size cannot exceed the maximum cache capacity. It is a roadside unit Rm For content i The cache indicator variable, s is the content size, Is drone for content f i The cache decision indicator variable is CR and CU, respectively, which represent the cache capacity of the roadside unit and the UAV; (C3) is the flight speed V of the UAV. U Constraints must be set so that the maximum speed cannot be exceeded. (C4) represents the cache decision indicator variable y of the roadside unit R , the drone’s cache decision indicator variable y U , content request indicator variable and content delivery indicator variables The value is 0 or 1.

[0061] In some embodiments, step S5 includes:

[0062] S51. When the trajectory G of the drone within the time period T is known, the initial preference list of the roadside unit for each content is established, and the cache ratio of the roadside unit is optimized according to the initial preference list. At this time, the optimization problem P is expressed as P1:

[0063]

[0064] st(C1)0≤x m ≤1,m∈(0,M)

[0065] S52. First, establish a preference list for each cache node;

[0066] For roadside units R m First, when the locations, cached contents, and requests of all vehicle users are known, the average content request delay D0 is calculated when all nodes except vehicle users do not cache content within the T time period, and then the average content request delay D0 is calculated except R m All roadside units and drones outside of the vehicle user do not cache any content, R m Only cache normal content in f i Average content request delay D in time period T m,i , D0-D m,i The value of R is considered to be the case without considering the influence between nodes. m Cache f i The income is taken as R m For f i The initial preference weight of m For the preference weights of all common contents, sort the contents in descending order according to the preference weights to obtain R mPreference list for common content; In summary, each roadside unit has two preference lists: a local content preference list and a common content preference list, while the drone only caches common content and only has a common content preference list;

[0067] S53. Initialize the cache decision according to the content preference list. The maximum cache content quantity of the drone is Then the drone will cache the first CN in its normal content preference list U local content; the maximum number of cached content for roadside units is The content caching decision will be made according to the order of the local content and common content preference list, based on the cache ratio, with the roadside unit R m For example, the maximum number of cached contents is CN m , the local content cache ratio is x m , it will cache the previous local content preference list content and the first in the general content preference list Contents, in Represents R m The amount of local content cached in

[0068] S54. Traverse all cache ratios, each ratio corresponds to a cache solution, calculate the corresponding average content request delay in the T time period, compare all delays, and use the cache ratio corresponding to the minimum delay as the final local content cache ratio of the roadside unit.

[0069] In some embodiments, in step S6, the caching decision of each roadside unit and the drone is determined using a preference-based exchange cooperative caching method, including:

[0070] S61. When the cache ratio of local content in the roadside unit and the flight trajectory of the drone are known, the common content cache decision of the drone and the roadside unit is further optimized, and the optimization problem P is simplified to:

[0071]

[0072]

[0073] (C4)y R ,y U ∈(0,1)

[0074] S62. Design a preference-based exchange collaborative caching method; Assume that the roadside units and drones have already performed initial caching according to the initial content preference list and the optimized cache ratio, and regard the caching decisions of all roadside units and drones as a set Y = {Y1,…,Yk ,…,Y K}, where K = M + 1; exchange the common content preference list of each node to be optimized (all roadside units and drones), specifically R m For example, R m The previous one that cached its general content preference list content, the content request delay of the vehicle network in time period T is From the list from the first content to the last content in the list content switching cache decision, specifically For example, the content exchange process of Content and Calculate the average content request latency in time period T under this caching decision. if Then keep this cache decision, swap the positions of the two contents in the preference list, and end exchange of content; if The exchange of the two content cache decisions is canceled, and the initial cache decision is continued. The content continues to be exchanged forward, that is, with the content switching cache decision, repeat the above steps until the result is less than The delay or completion of all previous exchange of contents; complete the After exchanging the contents, continue to perform the The exchange of contents proceeds backwards in sequence;

[0075] S63. Content in R m The lower the ranking of the preference list, the higher the m The fewer vehicles and users nearby request the content, the closer the end of the list is to the previous one. The probability of content switching cache decision is small. In order to reduce the number of calculations, a maximum number of switching failures rep is preset. max , if in R m During the optimization process, continuous rep max Content not available with previous content switching cache decision, then directly end the R m Optimize cache decisions.

[0076] In some embodiments, in step S7, the flight trajectory of the UAV is further optimized using a trajectory optimization method based on a greedy algorithm, including:

[0077] S71. When the cache decision is known, the trajectory G of the drone in the time period T is further optimized, and the optimization problem P is simplified to:

[0078]

[0079]

[0080] S72. Because the request delay of the vehicle user needs to wait until the content is completely transmitted before it can be calculated, and the number of successful content delivery can reflect the size of the total delay, the more successful times, the smaller the total delay, so the number of successful content delivery in the vehicle network is used as the basis for measuring the quality of the trajectory; first, the time period T is divided into multiple small time periods, and each small time period is used as a trajectory optimization cycle; secondly, the trajectory of each cycle is optimized in turn. For a cycle, according to the position of the drone and the length of the cycle, all destinations that can be reached within this cycle are listed, and the corresponding trajectories are generated. The number of successful content delivery corresponding to these trajectories is calculated, and the one with the largest number of times is selected as the final trajectory of this cycle. The destination reached is the initial position of the next trajectory optimization cycle until all cycles are optimized.

[0081] In a second aspect, the present invention provides a drone-assisted caching device in a vehicle-mounted network based on geographic location, including a processor and a storage medium;

[0082] The storage medium is used to store instructions;

[0083] The processor is used to operate according to the instructions to execute the steps of the method according to the first aspect.

[0084] In a third aspect, the present invention provides a storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method described in the first aspect.

[0085] Beneficial effects: The method and device for drone-assisted caching in a vehicle-mounted network based on geographic location provided by the present invention have the following advantages: BRIEF DESCRIPTION OF THE DRAWINGS

[0086] Figure 1 is a schematic diagram of a flow chart provided according to an embodiment of the present invention;

[0087] Figure 2 Schematic diagram of a system model provided according to an embodiment of the present invention. DETAILED DESCRIPTION

[0088] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.

[0089] In the description of the present invention, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0090] Example 1

[0091] A method for assisting caching of drones in a vehicle network based on geographic location, comprising:

[0092] The UAV is introduced into the vehicle network, and the cache decision of the roadside unit, the UAV and the vehicle user is jointly considered under the condition of considering the influence of the geographical location on the vehicle user request, so as to reduce the average request delay and improve the cache success rate. The method includes: performing the following steps according to the preset period:

[0093] S1. Content is divided into two categories: local content and general content. Local content refers to content related to the local geographic location. Local content includes nearby traffic information and commercial information. Users will only request this type of content when passing through the corresponding road section. General content includes entertainment information, news, and weather. This type of content is not related to the geographic location and users may request it at any location.

[0094] S2. Build a collaborative caching mechanism based on local content and common content;

[0095] S3. Constructing the delivery decision of vehicle users to obtain content in different situations;

[0096] S4. Analyze the delay required for vehicle users to obtain content based on the delivery decision and collaborative caching mechanism, and construct an optimization problem P for minimizing the average request delay of vehicle users in the vehicle network within the time period T;

[0097] S5. Based on the optimization problem P, establish a content preference list for the drone and the roadside unit without considering the mutual influence between the nodes, perform initial caching according to the content preference list, and then use an exhaustive method to determine the cache ratio of local content and common content cached by the roadside unit;

[0098] S6. Based on the optimization problem P and the determined cache ratio of the roadside unit, determine the cache decision of each roadside unit and the drone using a preference-based exchange cooperative cache method;

[0099] S7. Based on the optimization problem P, the cache ratio of the roadside unit and the cache decision of the roadside unit and the UAV, the flight trajectory of the UAV is further optimized using a trajectory optimization method based on a greedy algorithm.

[0100] Reference Figure 1 , Figure 2 The embodiment of the present invention provides a method for assisting caching of drones in a vehicle network based on geographic location. A drone with a caching function is introduced into the vehicle network. A suitable caching method is designed under the condition that the influence of geographic location on user requests is considered, thereby reducing the average request delay and improving the request success rate. The communication radius of the roadside unit is 150m, the communication radius of the drone is 100m, and the communication radius of the vehicle is 50m.

[0101] S1. Content is divided into two categories: local content and general content. Local content refers to content related to the local geographic location, such as nearby traffic information and commercial information. Users will only request this type of content when passing through the corresponding road section. General content includes entertainment information, news, weather and other content. This type of content is not related to the geographic location and users may request it at any location.

[0102] S2. Develop a collaborative caching mechanism based on local content and common content;

[0103] S3. Making delivery decisions, vehicle users have different ways of obtaining content in different situations;

[0104] S4. Analyze the latency required for vehicle users to obtain content based on delivery decisions and cache mechanisms;

[0105] S5. Establish a content preference list for drones and roadside units without considering the mutual influence between nodes, and perform initial caching based on this list, and then use an exhaustive method to determine the ratio of local content and common content cached by the roadside unit;

[0106] S6. Use the preference-based exchange cooperative caching method to determine the caching decisions of each roadside unit and drone;

[0107] S7. Use the trajectory optimization method based on the greedy algorithm to further optimize the flight trajectory of the UAV;

[0108] In step S3, the specific steps of formulating a collaborative caching mechanism based on local content and common content are as follows:

[0109] S21. Assume that there are m road sections in total. A roadside unit is deployed next to each road section. A drone with caching function is deployed above the road section to assist the roadside unit in providing services to vehicle users. The time period T is divided into multiple time slots. Each time slot has a corresponding driving direction and speed.

[0110] Since the cache capacity of vehicle users is small and they are mobile, only common content is cached. Vehicles cache content according to popularity probability. UAVs are also mobile, and their cache decisions will affect the flight trajectory of the UAV. If local content is cached, the UAV may stay on a certain road section for a long time, so only common content is cached in the UAV. The location of the roadside unit is fixed, which is suitable for caching local content of the road section. Therefore, it is allowed to cache local content and common content according to a certain ratio. If the roadside unit R m The cache capacity is CR m , then x m CR m of capacity is used to cache local content, and the remaining (1-x m )·CR m The capacity is used to cache common content, where x m Represents R m The proportion of local content cached.

[0111] S22. YesR m A collection of cache decision indicator variables, where YesR m For content i The cache indicator variable, if R m Cache content i ,but otherwise Same reason It is the set of cache decision indicator variables of the drone.

[0112] The specific steps of making a delivery decision in step S2 are as follows:

[0113] S31. The ways in which vehicle users obtain content can be divided into five categories, represented as {1,…,e,…,E}, E=5, content delivery decision indicator variable Represents the vehicle user v n Get content f by method e at time slot t i ,otherwise Each vehicle can only obtain content in one way, i.e.

[0114] S32. The requesting vehicle first searches for the requested content within one hop range on the same-direction lane. If it can be found, the content source vehicle directly transmits the requested content to the requesting vehicle;

[0115] S33. If the requested content does not exist within one hop of the vehicle's same lane, the information is queried in the opposite lane. Since the time between vehicles traveling in opposite directions is short, the success rate of content delivery is low. The time that the two vehicles can communicate is calculated by the vehicle speed and distance. Only when the communication time is greater than the time required for content transmission and the vehicle in the opposite lane has cached the requested content, the requesting vehicle will choose to obtain the content from the opposite lane;

[0116] S34. If neither the same-direction nor the opposite-direction vehicles within the communication range have cached the request content, and the requesting vehicle is within the coverage of the roadside unit, the roadside unit is queried for information. If the roadside unit has cached the request content, it will be directly transmitted to the requesting vehicle;

[0117] S35. If the requesting vehicle is not within the coverage of the roadside unit, or the roadside unit does not cache the requested content, but the requesting vehicle is within the coverage of the drone, the drone is queried for information, and if the requested content is found, the drone transmits the content to the requesting vehicle.

[0118] S36. If the requested content is not found in the drone, but the drone is within the communication range of the roadside unit, and the roadside unit has cached the requested content, the drone will act as a relay and forward the content from the roadside unit to the requesting vehicle;

[0119] S37. If the above methods cannot obtain the content, and the waiting time D W The maximum allowed waiting time has not been exceeded The vehicle user will continue to wait and repeat the first five steps in the next time slot until a feasible delivery method is found. If a suitable decision is not found within the maximum waiting time or the communication link is disconnected during content transmission, the content request is considered failed.

[0120] In step S4, the specific steps of analyzing the time delay required for the vehicle user to obtain the content are as follows:

[0121] S41. When the vehicle user v n From time t0, other vehicles v n’ Get content i hour, or According to Shannon's formula, the vehicle user v in time slot t n With v n’ The rate of content transmission between

[0122]

[0123] Where P n' Is the content source vehicle v n’ The transmission power, σ 2 is the Gaussian white noise variance at the receiver, Gn,n' (t) is the time slot v n and v n’ The channel gain between n',n (t) = x·d n',n (t) -δ , δ is the path loss exponent, χ is the channel fading gain, d n',n (t) is v n With v n’ Assume that the length of each time slot is D, and the current time slot is the lth time slot after t0, expressed as t l , then the amount of data that can be transmitted in this time slot is The amount of data that has not been transmitted in this time slot is If s r (t l )>s c (t l ), indicating that the content cannot be delivered in the current time slot and will continue to be transmitted in the next time slot; if s r (t l )≤s c (t l ), indicating that the content can be delivered in the current time slot, and the time used to transmit data in this time slot is Content transmission ends at this time slot. L+1 represents the time slot when content delivery is completed, that is, the vehicle user completely obtains the requested content within the L+1th time slot after t0, then v n From v n’ Get f i The transmission delay It can be expressed as:

[0124]

[0125] S42. When the vehicle user v n From time t0, directly through the roadside unit R m Get content i hour, According to Shannon's formula, R m To v n The rate at which content is transmitted is expressed as:

[0126]

[0127] Where P m YesR m The transmission power, G m,n (t) is the time slot R m and v n The channel gain between m,n (t) = x·d m,n(t) -δ , d m,n (t) is R m With v n The distance between n The process of acquiring content is similar to S41, with a transmission delay of The expression is:

[0128]

[0129] S43. When the vehicle user v n From time t0, the content f is obtained by drone i hour, For the communication between UAV and vehicle users, a probability-based air-to-ground communication model is considered, which includes two communication channels: line-of-sight channel and non-line-of-sight channel. The probability of line-of-sight transmission is:

[0130]

[0131] The probability of non-line-of-sight transmission is P NLoS =1-P LoS , where θ represents the elevation angle from the UAV to the vehicle user, and β1 and β2 are constant parameters affected by environmental factors. The path loss between the UAV and its associated vehicle user can be expressed as

[0132]

[0133] where η LoS and η NLos is the attenuation factor corresponding to line-of-sight links and non-line-of-sight links, f c is the carrier frequency, c is the speed of light, d u,n (t) represents the drone and vehicle users v n Therefore, the average path loss of the link from the UAV to the vehicle user can be obtained as

[0134]

[0135] The distance from the UAV to the vehicle user v in the time slot t can be obtained n The content transfer rate is:

[0136]

[0137] Where B represents bandwidth, P U represents the transmission power of the UAV, σ 2 is the variance of the Gaussian white noise at the receiver. n The process of obtaining content is similar to S41, and the transmission delay is:

[0138]

[0139] S44. If the vehicle user v n From time t0, the drone relays the signal from the roadside unit R m Get the content f i ,Right now The transmission delay Equal to R m The delay of sending the content to the drone plus the delay of the drone forwarding the content to v n The delay is:

[0140]

[0141] Where L' means that the drone completely obtains the request content in the L'+1th time slot after t0. Represents R m The communication rate with the drone, L' and The calculation of is the same as that in S41.

[0142] S45. Combining the above analysis of latency, the optimization problem of minimizing the average request latency of vehicle users in the vehicle network within time period T can be expressed as:

[0143]

[0144] st(C1)0≤x m ≤1,m∈(0,M)

[0145]

[0146]

[0147]

[0148] Among them, constraint (C1) indicates that the value range of the cache ratio in the roadside unit is 0 to 1; (C2) indicates that the cache content data size cannot exceed the maximum cache capacity; (C3) is a constraint on the flight speed of the drone; (C4) represents the cache decision indicator variable, content request indicator variable and content delivery indicator variable, which takes the value of 0 or 1.

[0149] In step S5, the specific steps for the drone and the roadside unit to establish a content preference list are as follows:

[0150] S51. When the trajectory G of the drone in the time period T is known, the initial preference list of the roadside unit for each content can be established. Based on this list, the cache ratio of the roadside unit can be optimized. At this time, the optimization problem is expressed as:

[0151]

[0152] st(C1)0≤x m ≤1,m∈(0,M)

[0153] S52. First, establish a preference list for each cache node. m For example, first, when the locations, cached content, and requests of all vehicle users are known, the average content request delay D0 is calculated when all nodes except vehicle users do not cache content within the T time period, and then the average content request delay D0 is calculated except for R m All roadside units and drones outside of the vehicle user do not cache any content, R m Only cache normal content in f i Average content request delay D in time period T m,i , D0-D m,i The value of R is considered to be the case without considering the influence between nodes. m Cache f i The income is taken as R m For f i The initial preference weight of . Similarly, R can be calculated m For the preference weights of all common contents, sort the contents in descending order according to the preference weights to obtain R m Preference list for common content. In summary, each roadside unit has two preference lists: a local content preference list and a common content preference list, while the drone only caches common content and has only a common content preference list.

[0154] S53. Initialize the cache decision according to the content preference list. The maximum cache content quantity of the drone is Then the drone will cache the first CN in its normal content preference list U local content. The maximum number of cached content for a roadside unit is The content caching decision will be made according to the order of the local content and common content preference list, based on the cache ratio, with the roadside unit R m For example, the maximum number of cached contents is CN m , the local content cache ratio is x m , it will cache the previous local content preference list content and the first in the general content preference list Contents, in Represents R m The amount of local content cached in

[0155] S54. All cache ratios are traversed, each ratio corresponds to a cache solution, and the corresponding average content request delay in the T time period can be calculated. All delays are compared, and the cache ratio corresponding to the minimum delay is used as the final local content cache ratio of the roadside unit.

[0156] In step S6, the specific steps of using the preference-based exchange cooperative caching method to determine the caching decision of each roadside unit and drone are as follows:

[0157] S61. When the cache ratio of local content in the roadside unit and the flight trajectory of the drone are known, the common content caching decision of the drone and the roadside unit is further optimized. The problem can be simplified as follows:

[0158]

[0159]

[0160] (C4)y R ,y U ∈(0,1)

[0161] S62. Design a preference-based exchange collaborative caching method. Assume that the roadside units and drones have already performed initial caching according to the initial content preference list and the optimized cache ratio. For the convenience of discussion, the caching decisions of all roadside units and drones are regarded as a set Y = {Y1,…,Y k ,…,Y K}, where K = M + 1. The common content preference list of each node to be optimized (all roadside units and drones) is exchanged, specifically R m For example, R m The previous one that cached its general content preference list content, the content request delay of the vehicle network in time period T is From the list from the first content to the last content in the list content switching cache decision, specifically For example, the content exchange process of Content and Calculate the average content request latency in time period T under this caching decision. if Then keep this cache decision, swap the positions of the two contents in the preference list, and end exchange of content; if The exchange of the two content cache decisions is canceled, and the initial cache decision is continued. The content continues to be exchanged forward, that is, with the content switching cache decision, repeat the above steps until the result is less than The delay or completion of all previous The exchange of content is completed. After exchanging the contents, continue to perform the The exchange of contents proceeds backwards one by one.

[0162] S63. Content in R m The lower the ranking of the preference list, the higher the m The fewer vehicles and users nearby request the content, the closer the end of the list is to the previous one. The probability of content switching cache decision is small. In order to reduce the number of calculations, a maximum number of switching failures rep is set. max , if in R m During the optimization process, continuous rep max Content not available with previous content switching cache decision, then directly end the R m Optimize cache decisions.

[0163] In step S7, the specific steps of using the trajectory optimization method based on the greedy algorithm to further optimize the flight trajectory of the drone are as follows:

[0164] S71. When the cache decision is known, the problem of further optimizing the trajectory G of the drone in the time period T can be simplified as follows:

[0165]

[0166]

[0167] S72. Because the request delay of the vehicle user needs to wait until the content is completely transmitted before it can be calculated, and the number of successful content delivery can reflect the size of the total delay, the more successful times, the smaller the total delay, so the number of successful content delivery in the vehicle network is used as the basis for measuring the quality of the trajectory. First, in order to reduce the amount of calculation, the time period T is divided into multiple small time periods, and each small time period is used as a trajectory optimization cycle. Secondly, optimize the trajectory of each cycle in turn. For a cycle, according to the position of the drone and the length of the cycle, all destinations that can be reached within this cycle can be listed, and the corresponding trajectories are generated. The number of successful content delivery corresponding to these trajectories is calculated, and the one with the most times is selected as the final trajectory of this cycle. The destination reached is the initial position of the next trajectory optimization cycle until all cycles are optimized.

[0168] Example 2

[0169] In a second aspect, the present embodiment provides a drone auxiliary cache device in a vehicle network based on geographic location, including a processor and a storage medium;

[0170] The storage medium is used to store instructions;

[0171] The processor is used to operate according to the instructions to execute the steps of the method according to embodiment 1.

[0172] Example 3

[0173] In a third aspect, this embodiment provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in Example 1 are implemented.

[0174] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0175] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0176] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0177] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0178] The embodiments of the present invention are described in detail above with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge scope of ordinary technicians in this field without departing from the purpose of the present invention.

Claims

1. A method for drone-assisted caching in a vehicle network based on geographic location, characterized in that: The UAV is introduced into the vehicle network, and the cache decision of the roadside unit, the UAV and the vehicle user is jointly considered under the condition of considering the influence of the geographical location on the vehicle user request, so as to reduce the average request delay and improve the cache success rate. The method includes: performing the following steps according to the preset period: S1. Divide the content into two categories: local content and general content; S2. Build a collaborative caching mechanism based on local content and common content; S3. Constructing the delivery decisions of vehicle users to obtain content in different situations; S4. Analyze the delay required for vehicle users to obtain content based on the delivery decision and collaborative caching mechanism, and construct an optimization problem P for minimizing the average request delay of vehicle users in the vehicle network within the time period T; S5. Based on the optimization problem P, establish a content preference list for the drone and the roadside unit without considering the mutual influence between the nodes, perform initial caching according to the content preference list, and then use an exhaustive method to determine the cache ratio of local content and common content cached by the roadside unit; S6. Based on the optimization problem P and the determined cache ratio of the roadside unit, determine the cache decision of each roadside unit and the drone using a preference-based exchange cooperative cache method; S7. Based on the optimization problem P, the cache ratio of the roadside unit and the cache decision of the roadside unit and the drone, the flight trajectory of the drone is further optimized using a trajectory optimization method based on a greedy algorithm; In step S2, a collaborative caching mechanism based on local content and common content is constructed, including: S21. Assume that there are M road sections in total. A roadside unit is deployed beside each road section. A drone with a caching function is deployed above the road section to assist the roadside unit in providing services to vehicle users. The time period T is divided into multiple time slots. Each time slot has a corresponding driving direction and speed. Mobile vehicle users and drones only cache common content, and fixed-position roadside units cache local content and common content in a certain ratio. m The cache capacity is CR m , then x m CR m of capacity is used to cache local content, and the remaining (1-x m )·CR m The capacity is used to cache common content, where x m Represents roadside unit R m The proportion of cached local content; S22. It is a roadside unit R m A collection of cache decision indicator variables, where It is a roadside unit R m For content i The cache indicator variable, if the roadside unit R m Cache content i ,but otherwise Same reason is the set of cache decision indicator variables of the drone; In step S3, constructing a delivery decision for vehicle users to obtain content in different situations includes: S31. There are five ways for vehicle users to obtain content, represented by {1,…,e,…,E}, E=5, content delivery decision indicator variable Represents the vehicle user v n Get content f by method e at time slot t i ,otherwise Each vehicle can only obtain content in one way, i.e. S32. The requesting vehicle first searches for the requested content within one hop range on the same-direction lane. If it can be found, the content source vehicle directly transmits the requested content to the requesting vehicle; S33. If the requested content does not exist within one hop of the same lane of the vehicle, query the information in the reverse lane; calculate the time that the two vehicles can communicate by the vehicle speed and distance, and in response to the communication time being greater than the time required for content transmission and the vehicle in the reverse lane has cached the requested content, request the vehicle to obtain the requested content from the reverse lane; S34. If neither the same-direction nor the opposite-direction vehicles within the communication range have cached the request content, and the requesting vehicle is within the coverage of the roadside unit, the roadside unit is queried for information. If the roadside unit has cached the request content, it will be directly transmitted to the requesting vehicle; S35. If the requesting vehicle is not within the coverage of the roadside unit, or the roadside unit does not cache the requested content, but the requesting vehicle is within the coverage of the drone, the drone is queried for information, and if the requested content is found, the drone transmits the content to the requesting vehicle; S36. If the requested content is not found in the drone, but the drone is within the communication range of the roadside unit, and the roadside unit has cached the requested content, the drone will act as a relay and forward the content from the roadside unit to the requesting vehicle; S37. If the above methods cannot obtain the content, and the waiting time D W The maximum allowed waiting time has not been exceeded The vehicle user will continue to wait and re-perform S32 to S36 in the next time slot until a feasible delivery method is found. If a suitable decision is not found within the maximum waiting time or the communication link is disconnected during content transmission, the content request is deemed to have failed; In step S4, analyzing the time delay required for the vehicle user to obtain the content includes: S41. When the vehicle user v n From time t0, other vehicles v n’ Get content i hour, or According to Shannon's formula, the vehicle user v in time slot t n With v n’ The rate at which content is transferred between It is expressed as: Where B represents bandwidth, P n' Is the content source vehicle v n’ The transmission power, σ 2 is the Gaussian white noise variance at the receiver, G n,n' (t) is the time slot v n and v n’ The channel gain between n',n (t) = x·d n',n (t) -δ , δ is the path loss exponent, χ is the channel fading gain, d n',n (t) is the distance between vn and vn'; Assume that the length of each time slot is D, and the current time slot is the lth time slot after t0, denoted as t l , then the amount of data that can be transmitted in this time slot is Assuming that all contents are of equal size, i.e., s, the amount of data not transmitted in this time slot is If s r (t l )>s c (t l ), indicating that the content cannot be delivered in the current time slot and will continue to be transmitted in the next time slot; if s r (t l )≤s c (t l ), indicating that the current time slot can complete content delivery, and the time used to transmit data in this time slot is Content transmission ends at this time slot; use t L+1 represents the time slot when content delivery is completed, that is, the vehicle user completely obtains the requested content within the L+1th time slot after t0, then the vehicle user v n From other vehicles n’ Get content i The transmission delay It is expressed as: S42. When the vehicle user v n From time t0, directly through the roadside unit R m Get content i hour, According to Shannon's formula, the roadside unit R in time slot t m To vehicle user v n The rate at which content is transmitted is expressed as: Where B represents bandwidth, P m YesR m The transmission power, G m,n (t) is the time slot R m and v n The channel gain between m,n (t) = x·d m,n (t) -δ , d m,n (t) is R m With v n The distance between L+1 represents the time slot when content delivery is completed, that is, the vehicle user completely obtains the requested content within the L+1th time slot after t0, then the vehicle user v n From the roadside unit R m Get content i The transmission delay The expression is: S43. When the vehicle user v n From time t0, the content f is obtained by drone i hour, For the communication between UAV and vehicle users, a probability-based air-to-ground communication model is used, which includes two communication channels: line-of-sight channel and non-line-of-sight channel; The probability of line-of-sight channel transmission P LoS : The probability of non-line-of-sight channel transmission P NLoS =1-P LoS , where θ represents the elevation angle from the UAV to the vehicle user, β1 and β2 are constant parameters affected by environmental factors; The path loss L between the UAV and its associated vehicle users in the line-of-sight channel Los , the path loss L between the non-line-of-sight channel transmission UAV and its associated vehicle users NLos It is expressed as: where η LoS and η NLos are the attenuation factors corresponding to line-of-sight links and non-line-of-sight links, respectively, and f c is the carrier frequency, c is the speed of light, Represents drone and vehicle users v n The distance between Therefore, the average path loss of the UAV to vehicle user link is obtained for: Get the distance from the drone to the vehicle user v in time slot t n Content transfer rate for: Where B represents bandwidth, P U represents the transmission power of the drone, Represents drone and vehicle users v n The distance between 2 is the Gaussian white noise variance at the receiver; vehicle user v n Get content from drone i The transmission delay for: S44. If the vehicle user v n From time t0, the drone relays the signal from the roadside unit R m Get the content f i ,Right now The transmission delay Equal to roadside unit R m The delay of sending the content to the drone plus the delay of the drone forwarding the content to v n Delay for: Where L' means that the drone completely obtains the request content in the L'+1th time slot after t0. Represents roadside unit R m Communication rate with the drone; In step S4, the optimization problem P of minimizing the average request delay of vehicle users in the vehicle network within the time period T is expressed as: Where D ave represents the average request delay of vehicle users, Respectively represent content transmission time and waiting time; N represents the total number of vehicle users; I represents the total number of content; E represents the set of content delivery methods; X represents the set of local content cache ratios of all roadside units; Y R and Y U represents the content caching decision set of roadside units and drones respectively; G represents the trajectory of the drone; constraint C1 represents the cache ratio x in the roadside unit m The value range is 0 to 1; C2 means that the cache content data size cannot exceed the maximum cache capacity. It is a roadside unit R m For content i The cache indicator variable, s is the content size, Is drone for content f i The cache decision indicator variable is CR and CU, respectively, which represent the cache capacity of the roadside unit and the UAV; C3 is the flight speed V of the UAV. U Constraints must be set so that the maximum speed cannot be exceeded. C4 represents the caching decision indicator variable y of the roadside unit R , the drone’s cache decision indicator variable y U , content request indicator variable and content delivery indicator variables The value is 0 or 1; The step S5 comprises: S51. When the trajectory G of the drone within the time period T is known, the initial preference list of the roadside unit for each content is established, and the cache ratio of the roadside unit is optimized according to the initial preference list. At this time, the optimization problem P is expressed as P1: S52. First, establish a preference list for each cache node; For roadside units R m First, when the locations, cached contents, and requests of all vehicle users are known, the average content request delay D0 is calculated when all nodes except vehicle users do not cache content within the T time period, and then the average content request delay D0 is calculated except R m All roadside units and drones outside of vehicles do not cache any content, R m Only cache normal content in f i Average content request delay D in time period T m,i , D0-D m,i The value of R is considered to be the case without considering the influence between nodes. m Cache f i The income is taken as R m For f i The initial preference weight of m For the preference weights of all common contents, sort the contents in descending order according to the preference weights to obtain R m Preference list for common content; In summary, each roadside unit has two preference lists: a local content preference list and a common content preference list, while the drone only caches common content and only has a common content preference list; S53. Initialize the cache decision according to the content preference list. The maximum cache content quantity of the drone is Then the drone will cache the first CN in its normal content preference list U local content; the maximum number of cached content for roadside units is The content caching decision will be made according to the order of the local content and common content preference list, based on the cache ratio, with the roadside unit R m For example, the maximum number of cached contents is CN m , the local content cache ratio is x m , it will cache the previous local content preference list content and the first in the general content preference list Contents, in Represents R m The amount of local content cached in S54. Traverse all cache ratios, each ratio corresponds to a cache solution, calculate the corresponding average content request delay in the T time period, compare all delays, and use the cache ratio corresponding to the minimum delay as the final local content cache ratio of the roadside unit; In step S6, the preference-based exchange cooperative caching method is used to determine the caching decision of each roadside unit and the drone, including: S61. When the cache ratio of local content in the roadside unit and the flight trajectory of the drone are known, the common content cache decision of the drone and the roadside unit is further optimized, and the optimization problem P is simplified to: S62. Design a preference-based exchange collaborative caching method; Assume that the roadside units and drones have already performed initial caching according to the initial content preference list and the optimized cache ratio, and regard the caching decisions of all roadside units and drones as a set Y = {Y1,…,Y k ,…,Y K }, where K = M + 1; the nodes to be optimized are all roadside units and drones, and the common content preference list of each node to be optimized is exchanged, specifically R m For example, R m The previous one that cached its general content preference list content, the content request delay of the vehicle network in time period T is From the list from the first content to the last content in the list content switching cache decision, specifically For example, the content exchange process of Content and Calculate the average content request latency in time period T under this caching decision. if Then keep this cache decision, swap the positions of the two contents in the preference list, and end exchange of content; if The exchange of the two content cache decisions is canceled, and the initial cache decision is continued. The content continues to be exchanged forward, that is, with the content switching cache decision, repeat the above steps until the result is less than The delay or completion of all previous exchange of contents; complete the After exchanging the contents, continue to perform the The exchange of contents proceeds backwards in sequence; S63. Content in R m The lower the ranking of the preference list, the higher the m The fewer vehicles and users nearby request the content, the closer the end of the list is to the previous one. The probability of content switching cache decision is small. In order to reduce the number of calculations, a maximum number of switching failures rep is preset. max , if in R m During the optimization process, continuous rep max Content not available with previous content switching cache decision, then directly end the R m Cache decision optimization; In step S7, the flight trajectory of the UAV is further optimized using a trajectory optimization method based on a greedy algorithm, including: S71. When the cache decision is known, the trajectory G of the drone in the time period T is further optimized, and the optimization problem P is simplified to: S72. Because the request delay of the vehicle user needs to wait until the content is completely transmitted before it can be calculated, and the number of successful content delivery can reflect the size of the total delay, the more successful times, the smaller the total delay, so the number of successful content delivery in the vehicle network is used as the basis for measuring the quality of the trajectory; first, the time period T is divided into multiple small time periods, and each small time period is used as a trajectory optimization cycle; secondly, the trajectory of each cycle is optimized in turn. For a cycle, according to the position of the drone and the length of the cycle, all destinations that can be reached within this cycle are listed, and the corresponding trajectories are generated. The number of successful content delivery corresponding to these trajectories is calculated, and the one with the largest number of times is selected as the final trajectory of this cycle. The destination reached is the initial position of the next trajectory optimization cycle until all cycles are optimized.

2. A drone-assisted caching device in a vehicle-mounted network based on geographic location, characterized in that: including processor and storage medium; The storage medium is used to store instructions; The processor is configured to operate according to the instructions to execute the method according to claim 1.

3. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method of claim 1 is implemented.

Citation Information

Patent Citations

  • Unmanned aerial vehicle network deployment and resource allocation method and device

    CN113163377A

  • Method for assisting edge Internet of Vehicles service and content hybrid caching by unmanned aerial vehicle

    CN115174481A