Data transmission method and device for vehicle ad hoc network
By optimizing transmission path selection in the vehicle ad hoc network based on environmental information and vehicle health, the problem of increased latency in existing technologies is solved, and more efficient data transmission is achieved.
Patent Information
- Application Number
- CN202111326314.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-10
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2041-11-10
AI Technical Summary
In a vehicle ad hoc network, the existing technology selects the transmission path with the largest cumulative connection lifetime for data transmission, which may lead to increased latency and reduced transmission efficiency, especially when it is difficult for the vehicle to transmit data to the target roadside unit in a timely manner.
By determining the environmental information of the first transmission path, based on the traffic density, transmission quality and vehicle health of the path, a suitable target vehicle is selected to optimize the data transmission path and avoid increased delays caused by traffic jams or vehicle failures.
It reduces data transmission delay, improves data transmission efficiency, and ensures that vehicles can exchange data with roadside units in a timely and effective manner.
Smart Images

Figure CN116112892B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a data transmission method and device for a vehicle ad hoc network. Background Art
[0002] As a new type of mobile self-organizing network, Vehicular Ad Hoc Network is an important component of intelligent transportation system applications.
[0003] Currently, in VENOs, vehicles constantly generate real-time task requests while driving, requiring data to be uploaded to roadside units (RSUs) for computation. Due to the high speed of vehicles, the time it takes to pass through each RSU is short. Consequently, data for the same task request may be transmitted to multiple RSUs, and then migrated between them, significantly increasing the latency of the entire transmission process.
[0004] In the prior art, in order to upload data from the same vehicle to the same roadside unit as much as possible, reduce latency, and increase upload speed, the transmission path with the largest cumulative connection life is usually selected as the actual transmission path from multiple transmission paths from the vehicle requesting data upload to the target roadside unit within the communication range of the target roadside unit.
[0005] However, if the transmission path with the largest cumulative connection life is selected for data transmission, it may be difficult for vehicles on this transmission path to transmit data to the target roadside unit in a timely manner, which will increase the data transmission delay and reduce the data transmission efficiency. Summary of the Invention
[0006] The present invention provides a data transmission method and device for a vehicle ad hoc network, which are used to solve the defect of large data transmission delay in the prior art, reduce the data transmission delay, and improve the data transmission efficiency.
[0007] In a first aspect, the present invention provides a data transmission method for a vehicle ad hoc network, comprising:
[0008] determining a first transmission path between a first target vehicle and a target roadside unit;
[0009] Acquiring environmental information of the first transmission path;
[0010] When it is determined based on the environmental information of the first transmission path that the first transmission path satisfies a target condition, determining a second target vehicle based on the health of each vehicle in the vehicle cluster to which the first target vehicle belongs;
[0011] Sending information of the first transmission path and information of the second target vehicle to the first target vehicle, so that the first target vehicle transmits data to the target roadside unit based on the first transmission path and the second target vehicle;
[0012] The first transmission path is a transmission path having the largest cumulative connection life among all transmission paths between the first target vehicle and the target roadside unit.
[0013] In one embodiment, after obtaining the environment information of the first transmission path, the method further includes:
[0014] determining a second transmission path between the first target vehicle and the target roadside unit when it is determined based on the environmental information of the first transmission path that the first transmission path does not meet the target condition;
[0015] Determining a third target vehicle based on the health of each vehicle in the vehicle cluster to which the first target vehicle belongs;
[0016] Sending information about the second transmission path and information about the third target vehicle to the first target vehicle, so that the first target vehicle transmits data to the target roadside unit based on the second transmission path and the third target vehicle;
[0017] The second transmission path is a transmission path with the shortest transmission time among all transmission paths between the first target vehicle and the target roadside unit.
[0018] In one embodiment, obtaining the environment information of the first transmission path specifically includes:
[0019] Sending a data request to each roadside unit covered by the first transmission path, so that the roadside unit forwards the data request to a first vehicle whose distance from the roadside unit is less than a distance threshold, and returns status information returned by the first vehicle;
[0020] obtaining status information of each of the first vehicles;
[0021] acquiring environmental information of each transmission path based on the status information of each first vehicle;
[0022] The environmental information includes at least one of traffic density, transmission quality and average vehicle speed.
[0023] In one embodiment, determining that the first transmission path meets a target condition based on the environment information of the first transmission path specifically includes:
[0024] When the environment information of the first transmission path is greater than a first threshold, or the environment information of the first transmission path is a maximum value among the environment information of the various transmission paths, it is determined that the first transmission path meets the target condition.
[0025] In one embodiment, the acquiring of the environmental information of each transmission path based on the status information of each first vehicle specifically includes:
[0026] Obtaining a transmission quality of the first vehicle on the transmission path based on the length of the transmission path, the sequence number of the first vehicle on the transmission path, and the sum of traffic densities of the transmission paths;
[0027] The transmission quality of the transmission path is acquired based on the transmission quality of each of the first vehicles on the transmission path.
[0028] In one embodiment, determining the second transmission path between the first target vehicle and the target roadside unit specifically includes:
[0029] Selecting two unmerged transmission paths from the transmission paths and merging them to obtain a plurality of merged paths;
[0030] The second transmission path is determined based on the correlation coefficients corresponding to the combined paths.
[0031] In one embodiment, determining the second transmission path based on the correlation coefficient corresponding to each of the combined paths specifically includes:
[0032] Obtaining correlation coefficients between the two merged paths with the longest travel times and other merged paths;
[0033] The combined path corresponding to the minimum value of the correlation coefficients is determined as the second transmission path.
[0034] In a second aspect, the present invention provides a data transmission device for a vehicle ad hoc network, comprising:
[0035] A first determining module, configured to determine a first transmission path between a first target vehicle and a target roadside unit;
[0036] An information acquisition module, configured to acquire environmental information of the first transmission path;
[0037] a second determining module, configured to determine a second target vehicle based on the health of each vehicle in the vehicle cluster to which the first target vehicle belongs, when it is determined based on the environmental information of the first transmission path that the first transmission path meets the target condition;
[0038] an information sending module, configured to send information of the first transmission path and information of the second target vehicle to the first target vehicle, so that the first target vehicle transmits data to the target roadside unit based on the first transmission path and the second target vehicle;
[0039] The first transmission path is a transmission path having the largest cumulative connection life among all transmission paths between the first target vehicle and the target roadside unit.
[0040] In a third aspect, the present invention provides an electronic device comprising a processor and a memory storing a computer program, wherein the processor implements the steps of any one of the above-mentioned data transmission methods for a vehicle ad hoc network when executing the computer program.
[0041] In a fourth aspect, the present invention provides a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, and the computer program is used to enable the processor to execute the steps of any one of the above-mentioned data transmission methods for vehicle ad hoc networks.
[0042] The data transmission method and device for a vehicle ad hoc network provided by the present invention, after determining the transmission path with the largest cumulative connection life result, determine whether the transmission path is a transmission path that meets the requirements based on the environmental information of the transmission path. If the transmission path is a transmission path that meets the requirements, determine the second target vehicle based on the health of each vehicle on the transmission path, so that the first target vehicle transmits data to the target roadside unit based on the first transmission path and the second target vehicle. This can avoid the situation where the vehicles on the transmission path are unable to approach the target roadside unit due to current or future traffic jams or vehicle failures, which takes a long time and increases the data transmission delay. This can reduce the data transmission delay and improve the data transmission efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0044] Figure 1 This is one of the flow charts of the data transmission method for a vehicle ad hoc network provided by the present invention;
[0045] Figure 2 It is a schematic diagram of obtaining environmental information of a first transmission path in the data transmission method for a vehicle ad hoc network provided by the present invention;
[0046] Figure 3 This is the second flow chart of the data transmission method for a vehicle ad hoc network provided by the present invention;
[0047] Figure 4 It is a structural diagram of a data transmission device for a vehicle ad hoc network provided by the present invention;
[0048] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0049] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0050] The following combination Figure 1-Figure 5 The present invention describes a data transmission method and device for a vehicle ad hoc network.
[0051] Figure 1 This is one of the flow charts of the data transmission method for vehicle ad hoc network provided by the present invention. Figure 1 The data transmission method for a vehicle ad hoc network provided by an embodiment of the present application is described. Figure 1 As shown, the method includes: step 101, determining a first transmission path between a first target vehicle and a target roadside unit.
[0052] The first transmission path is a transmission path having the largest cumulative connection life among all transmission paths between the first target vehicle and the target roadside unit.
[0053] Specifically, the data transmission method for a vehicle ad hoc network provided in an embodiment of the present invention is performed by a data transmission device for a vehicle ad hoc network, which may be a cloud server.
[0054] Given the high mobility of vehicles, one step in improving the efficiency of data uploads from vehicles to roadside units (RSUs) in dynamic topological environments is to cluster vehicles to form clusters. Vehicle clustering methods used in VANETs typically use a characteristic as a criterion, grouping vehicles with similar characteristics into the same set and vehicles with different characteristics into different sets. Given the mobility of vehicles, clustering typically uses characteristic criteria related to the relative distance and speed between vehicles. The cluster head vehicle is the vehicle in the cluster used for communication with the RSU, while the other vehicles are referred to as member vehicles.
[0055] The first target vehicle is a vehicle that requests to transmit data to the roadside unit. The first target vehicle can send a data transmission request to the head vehicle of the vehicle cluster to which it belongs, and the head vehicle of the cluster sends the data transmission request to the cloud server.
[0056] After receiving the data transmission request, the cloud server can determine a target RSU from multiple RSUs that responds to the data upload request, perform data edge computing on the target RSU, and plan a stable transmission path for the first target vehicle. The transmission path is the path for data transmission between the first target vehicle and the target RSU. The vehicles on the transmission path (hereinafter referred to as collaborative vehicles) are collaborators for the first target vehicle to upload data. The vehicles on the transmission path and the first target vehicle belong to the same vehicle cluster.
[0057] The cloud server may determine, as the first transmission path, the transmission path with the largest cumulative connection lifetime among the transmission paths (hereinafter referred to as "transmission paths") between the first target vehicle and the target roadside unit. The connection lifetime is typically determined based on the relative distance and relative speed between vehicles, and the connection lifetime between neighboring vehicles with the same speed is considered infinite.
[0058] The transmission path of cluster member vehicle A is set to path L; for cluster member vehicle B, where vehicle A and vehicle B are not the same vehicle, if vehicle B is a neighbor of vehicle A, then vehicle A and vehicle B are connected, and the connection weight between the two vehicles is 1, and the connection lifetime is α, otherwise the connection weight is set to -1; traverse all cluster member vehicles to determine the connection weight between vehicle A and vehicle B. After the loop is completed, the vehicle cluster is abstracted into an undirected weighted graph.
[0059] If path L is not fully planned, the cluster member vehicles are traversed to find a path: If vehicle B has not been traversed, and vehicle B is the vehicle in the cluster with the longest connection lifetime with vehicle A, and vehicle B is within the coverage area of the target roadside unit, then vehicle B is added to the set of traversed vehicles. For any cluster member vehicle C, vehicle C is a neighbor of vehicle B. If C has been traversed, but the minimum value between vehicle A's connection lifetime with vehicle B and vehicle B's connection lifetime with vehicle C is greater than the connection lifetime between vehicle A and vehicle C, then the connection lifetime between vehicle A and vehicle C is the minimum value. If the lifetime of the currently selected path does not cause the lifetime of the path selected in the previous step to roll back, then vehicle B is added to the current transmission path to form a new transmission path.
[0060] The vehicles in the cluster are traversed in a loop until there is no vehicle B that has not been traversed, and vehicle B is the vehicle with the longest connection life with vehicle A in the vehicle cluster. Vehicle B is within the coverage range of the target roadside unit, and the transmission path planning for vehicle A is completed.
[0061] Through the above steps, the cloud server can determine the first transmission path.
[0062] Step 102: Obtain environmental information of the first transmission path.
[0063] Specifically, the environmental information of the first transmission path may include at least one of traffic density, transmission quality, and average vehicle speed of the first transmission path.
[0064] The environmental information of the first transmission path may be used to measure whether a traffic jam currently occurs on the first transmission path or the probability of a traffic jam occurring in the future.
[0065] Optionally, the cloud server may obtain the environmental information of the first transmission path based on status information reported by vehicles in the vehicle cluster to which the first target vehicle belongs.
[0066] Step 103 : When it is determined based on the environmental information of the first transmission path that the first transmission path meets the target condition, a second target vehicle is determined based on the health of each vehicle in the vehicle cluster to which the first target vehicle belongs.
[0067] Specifically, the target condition is used to determine whether the first transmission path is the best path.
[0068] When it is determined that the first transmission path is currently experiencing a traffic jam, or there is a high probability that a traffic jam may occur in the future, it is determined that the transmission path is not a transmission path that meets the demand and does not meet the target condition; conversely, when it is determined that there is no traffic jam on the transmission path currently or in the future, it is considered that the transmission path is a transmission path that meets the demand and meets the target condition.
[0069] For example, a threshold for environmental information can be set. If the environmental information of the first transmission path is greater than the threshold, the first transmission path is determined to meet the target condition; if the environmental information of the first transmission path is less than the threshold, the first transmission path is determined to not meet the target condition. The threshold for environmental information can be set based on actual conditions, and the embodiments of the present invention do not limit the specific value of the threshold for environmental information.
[0070] When the first transmission path is the optimal path, based on the health of each vehicle in the vehicle cluster to which the first target vehicle belongs, a vehicle with a health greater than a first health threshold in the first transmission path may be determined as a second target vehicle. The second target vehicle is a cooperative vehicle.
[0071] The first health threshold can be pre-set according to actual conditions. The embodiment of the present invention does not specifically limit the specific value of the first health threshold.
[0072] The health of the vehicle can be uploaded to the cloud server in advance by the vehicle.
[0073] The health assessment device provided on the vehicle can assess the health of the vehicle based on any commonly used vehicle health assessment method and according to the conditions of multiple core components of the vehicle.
[0074] For example, the health evaluation device may evaluate the process behavior and network status of a TBOX (Telematics Box), an IVI (In-Vehicle Infotainment), a gateway, etc., to obtain the health of the vehicle.
[0075] By taking health into account, possible data loss situations can be avoided.
[0076] Step 104 : Send information of the first transmission path and information of the second target vehicle to the first target vehicle, so that the first target vehicle transmits data to the target roadside unit based on the first transmission path and the second target vehicle.
[0077] Specifically, after the cloud server determines the first transmission path and the second target vehicle, it may send information about the first transmission path and information about the second target vehicle to the first target vehicle.
[0078] The first target vehicle divides the data to be transmitted into multiple data segments with the same number as the second target vehicles, and distributes the divided data segments to each second target vehicle, so that each second target vehicle sends the corresponding data segment to the target roadside unit, thereby realizing data transmission between the first target vehicle and the target roadside unit.
[0079] For example, when the number of second target vehicles is 6, the first target vehicle can evenly divide the data to be transmitted into 6 data segments. The second target vehicles are A, B, C, D, E, and F, and the corresponding data segments are data segment 1, data segment 2, data segment 3, data segment 4, data segment 5, and data segment 6; the first target vehicle sends each data segment to each second target vehicle through multi-hop V2V (Vehicle-to-Vehicle Communication) communication. Specifically, the first target vehicle can send data segments 1-6 to vehicle A; after vehicle A receives data segments 1-6, it keeps data segment 1 and sends data segments 2-6 to vehicle B; after vehicle B receives data segments 2-6, it keeps data segment 2 and sends data segments 3-6 to vehicle C; the first target vehicle does not send the data segments directly to vehicle B, but transfers them through vehicle A, with the first target vehicle to vehicle A being the first hop, and the second hop from vehicle A to vehicle B, and so on, thereby sending each data segment to each second target vehicle; vehicle A uploads data segment 1 to the target roadside unit, vehicle B uploads data segment 2 to the target roadside unit, and so on, until all the data of the first target vehicle is uploaded to realize collaborative data upload.
[0080] Optionally, the first target vehicle divides the data to be transmitted into multiple data segments with the same number as the second target vehicles. The data segments can be divided equally based on the amount of data, or the data segments can be divided based on the transmission rate (or load) of each second target vehicle, so that the amount of data in the data segments transmitted by different second target vehicles can be the same or different.
[0081] For example, if a second target vehicle has a smaller load, meaning a faster transmission rate, the data segment it is responsible for transmitting can be relatively larger. Conversely, if a second target vehicle has a larger load, meaning a slower transmission rate, the data segment it is responsible for transmitting can be relatively smaller. This approach avoids the phenomenon of evenly distributing the data to be transmitted, resulting in a lower overall data transmission rate. This improves the overall data transmission rate and reduces the overall data transmission time (i.e., the total time it takes from the first target vehicle sending the data to be transmitted to the target roadside unit receiving all the data to be transmitted).
[0082] Compared with the equal division method, the unequal division method can further increase the data transmission rate.
[0083] It should be noted that in actual applications, the transmission path with the longest connection life may not necessarily have the highest data transmission efficiency. For example, after a vehicle enters the communication range of a roadside unit, it is still x meters away from the location where the roadside unit can upload data. At this time, if there is a traffic jam ahead on the path or the vehicle breaks down, the vehicle cannot continue to move forward or can only move forward at a lower speed, which makes the connection time between the vehicle and the roadside unit longer. In the above situation, although the connection time between the vehicle and the roadside unit is longer under this path, if this path is selected for data transmission, due to the unsmooth path, it may cause the vehicle to spend more time traveling to the location where the roadside unit can upload data, which is more likely to increase data transmission delay and reduce data transmission efficiency; or, due to the vehicle breaking down, it cannot transmit data, thereby reducing data transmission efficiency, which runs counter to the goal of reducing delay and improving data transmission efficiency.
[0084] In an embodiment of the present invention, after determining the transmission path with the largest cumulative result of the connection life, the embodiment of the present invention determines whether the transmission path is a transmission path that meets the requirements based on the environmental information of the transmission path. If the transmission path is a transmission path that meets the requirements, the embodiment of the present invention determines the second target vehicle based on the health of each vehicle on the transmission path, so that the first target vehicle transmits data to the target roadside unit based on the first transmission path and the second target vehicle. This can avoid the situation where the vehicles on the transmission path are unable to approach the target roadside unit due to current or future traffic jams or vehicle failures, which takes a long time and increases the data transmission delay. This can reduce the data transmission delay and improve the data transmission efficiency.
[0085] Based on the content of any of the above embodiments, after obtaining the environmental information of the first transmission path, the method also includes: determining a second transmission path between the first target vehicle and the target roadside unit when it is determined based on the environmental information of the first transmission path that the first transmission path does not meet the target condition.
[0086] The second transmission path is a transmission path with the shortest transmission time among all transmission paths between the first target vehicle and the target roadside unit.
[0087] Specifically, when the first transmission path is not the optimal path, based on a preset algorithm, the transmission path with the shortest transmission time can be selected from the various transmission paths between the first target vehicle and the target roadside unit as the transmission path that meets the requirements (the transmission path that meets the requirements in this case is the second transmission path).
[0088] Transmission time refers to the total time it takes for the first target vehicle to send the data to be transmitted and for the target roadside unit to receive all the data to be transmitted.
[0089] The cloud server may obtain the transmission rate of each of the above transmission paths and select any one of the paths having a transmission rate greater than a preset transmission rate threshold as the second transmission path.
[0090] The transmission rate threshold can be set according to actual conditions, and the embodiment of the present invention does not specifically limit the specific value of the transmission rate threshold.
[0091] If the transmission rate of the transmission path is greater than the preset transmission rate threshold, it means that the traffic condition of the transmission path is good, there is no traffic jam at present, and the probability of traffic jam in the future is also small.
[0092] A third target vehicle is determined based on the health of each vehicle in the vehicle cluster to which the first target vehicle belongs.
[0093] Specifically, based on the health of each vehicle in the vehicle cluster to which the first target vehicle belongs, a vehicle in the second transmission path whose health is greater than a second health threshold may be determined as the third target vehicle. The third target vehicle is a cooperative vehicle.
[0094] The second health threshold can be pre-set according to actual conditions. The embodiment of the present invention does not specifically limit the specific value of the second health threshold. The value of the second health threshold can be the same as or different from the value of the first health threshold.
[0095] The method for obtaining the health of the vehicles in the vehicle cluster to which the first target vehicle belongs can be referred to the aforementioned embodiment and will not be described in detail here.
[0096] The information of the second transmission path and the information of the third target vehicle are sent to the first target vehicle, so that the first target vehicle transmits data to the target roadside unit based on the second transmission path and the third target vehicle.
[0097] Specifically, after determining the second transmission path and the third target vehicle, the cloud server may send information about the second transmission path and information about the third target vehicle to the first target vehicle.
[0098] The first target vehicle divides the data to be transmitted into multiple data segments with the same number as the third target vehicles, and distributes the divided data segments to each third target vehicle, so that each third target vehicle sends the corresponding data segment to the target roadside unit, thereby realizing data transmission between the first target vehicle and the target roadside unit.
[0099] The first target vehicle divides the data to be transmitted into multiple data segments with the same number as the third target vehicles. The data segments can be divided equally based on the amount of data, or the data segments can be divided based on the transmission rate (or load) of each third target vehicle, so that the amount of data in the data segments transmitted by different third target vehicles can be the same or different.
[0100] The specific steps for the first target vehicle to transmit data to the target roadside unit based on the second transmission path and the third target vehicle are similar to the specific steps for the first target vehicle to transmit data to the target roadside unit based on the first transmission path and the second target vehicle, and will not be repeated here.
[0101] In an embodiment of the present invention, after determining the transmission path with the largest cumulative connection life result, the embodiment determines whether the transmission path is a transmission path that meets the requirements based on the environmental information of the transmission path. If the transmission path is not the transmission path that meets the requirements, based on a preset algorithm, the second transmission path with the smallest transmission time is selected from the various transmission paths between the first target vehicle and the target roadside unit, and the third target vehicle is determined based on the health of each vehicle on the second transmission path, so that the first target vehicle transmits data to the target roadside unit based on the second transmission path and the third target vehicle, which does not depend on the connection life between each vehicle and the roadside unit. This can avoid the situation where the transmission path with the largest cumulative connection life result is unable to approach the target roadside unit due to current or future traffic jams or vehicle failures, which takes a long time and increases the data transmission delay. This can reduce the data transmission delay and improve the data transmission efficiency.
[0102] Based on the content of any of the above embodiments, obtaining the environmental information of the first transmission path specifically includes: sending a data request to each roadside unit covered by the first transmission path, so that the roadside unit forwards the data request to the first vehicle whose distance from the roadside unit is less than a distance threshold, and returns the status information returned by the first vehicle.
[0103] Specifically, Figure 2 FIG. 1 shows a schematic diagram of obtaining the environment information of the first transmission path. Figure 2 The cloud server sends a data request to each roadside unit covered by the first transmission path. The data request may carry timestamp information. The data request is used to obtain information about each vehicle on each transmission path.
[0104] After receiving the data request from the cloud server, each roadside unit forwards the data request to the first vehicle within a preset distance threshold. Each first vehicle within the preset distance threshold has only one roadside unit closest to it.
[0105] The distance threshold may be set according to actual conditions, and the embodiment of the present invention does not specifically limit the specific value of the distance threshold.
[0106] After receiving the data request forwarded by the roadside unit, each first vehicle packages its own status information based on its own identification information and sends the packaged status information to the roadside unit so that the roadside unit forwards the packaged status information to the cloud server.
[0107] The status information includes the identifier of the vehicle's current travel path, the current timestamp, the transmission distance to the nearest roadside unit, and whether a fault has occurred.
[0108] The status information of each first vehicle is obtained.
[0109] Specifically, the cloud server can receive the status information of each first vehicle forwarded by each roadside unit.
[0110] Based on the status information of each first vehicle, environmental information of each transmission path is acquired.
[0111] The environmental information includes at least one of traffic density, transmission quality and average vehicle speed.
[0112] Specifically, when the vehicle density on a transmission path (i.e., the traffic density of the transmission path) exceeds a density threshold, a traffic jam may occur. Furthermore, when a traffic jam occurs, the speeds of vehicles on the transmission path are typically low. Therefore, vehicle density and speed can be used to assess vehicle transmission quality, indicating whether the transmission path is currently congested or whether a traffic jam will occur in the future.
[0113] For example, if the transmission quality is less than a preset transmission quality threshold, it is considered that a traffic jam may occur. Alternatively, if the average speed of vehicles on the transmission path is less than a preset speed threshold, it is considered that a traffic jam may occur.
[0114] Therefore, it can be determined whether the first transmission path is a transmission path that meets the requirements based on the transmission quality of the first transmission path and the average driving speed of vehicles on the first transmission path.
[0115] After receiving the status information of each first vehicle, the cloud server can determine the total number N of transmission paths according to the identifier of each path, and determine the number k of first vehicles according to the number of received status information.
[0116] λ Tn The traffic density of the nth transmission path is the ratio between the length of the transmission path and the number of first vehicles on the transmission path.
[0117] Total traffic density λ T , which is equal to the sum of the traffic densities of all transmission paths, and its calculation formula is as follows:
[0118]
[0119] Wherein, n represents the serial number of the transmission path; N represents the total number of transmission paths, n=1,2,..,N.
[0120] The average vehicle speed can be obtained by the following steps:
[0121] Determine the roadside unit closest to the vehicle cluster to which the first target vehicle belongs, and calculate the average number of vehicles on the N transmission paths within the transmission range d for this roadside unit.
[0122]
[0123] According to the average number of vehicles, the average arrival rate μ of vehicles within the transmission range d over a period of time is determined:
[0124]
[0125] Among them, t d Indicates the average arrival time.
[0126] According to the average arrival rate, the average speed of each vehicle is predicted if this transmission path is selected.
[0127]
[0128] The embodiment of the present invention sends a data request to each roadside unit covered by the first transmission path, so that the roadside unit forwards the data request to the first vehicle whose distance to the roadside unit is less than a distance threshold, and returns the status information returned by the first vehicle. Based on the status information returned by each first vehicle, the environmental information of each transmission path is obtained, and more accurate environmental information can be obtained, so that it can be more accurately determined whether the first transmission path is a transmission path that meets the requirements.
[0129] Based on the content of any of the above embodiments, determining that the first transmission path meets the target condition based on the environmental information of the first transmission path specifically includes: determining that the first transmission path meets the target condition when the environmental information of the first transmission path is greater than a first threshold, or when the environmental information of the first transmission path is the maximum value among the environmental information of each transmission path.
[0130] Specifically, data processing can be used to make the environmental information of the first transmission path negatively correlated with the probability of traffic jams and failures.
[0131] Optionally, at least one of the inverse of traffic density, transmission quality, and average vehicle speed may be used as the environmental information of the first transmission path.
[0132] Optionally, the reciprocal of the traffic density is greater than a preset first threshold corresponding to the reciprocal of the traffic density, indicating that the probability of a traffic jam is small.
[0133] Optionally, the transmission quality is greater than a preset first threshold corresponding to the transmission quality, indicating that the probability of traffic jam is small.
[0134] Optionally, the average vehicle speed is greater than a preset first threshold corresponding to the average vehicle speed, indicating that the probability of a traffic jam is small.
[0135] Therefore, when the environmental information of the first transmission path is greater than the first threshold, it can be determined that the first transmission path meets the target condition and is a transmission path that meets the requirements.
[0136] Optionally, the environmental information of the first transmission path is the maximum value among the environmental information of each transmission path, indicating that the first transmission path is the current optimal transmission path and there is no transmission path with a shorter transmission time than the first transmission path. It can also be determined that the first transmission path meets the target conditions and is a transmission path that meets the requirements.
[0137] In the embodiment of the present invention, when the environment information of the first transmission path is greater than the first threshold value, or the environment information of the first transmission path is the maximum value among the environment information of various transmission paths, it is determined that the first transmission path meets the target condition.
[0138] Based on the content of any of the above embodiments, based on the status information of each first vehicle, the environmental information of each transmission path is obtained, specifically including: based on the length of the transmission path, the serial number of the first vehicle on the transmission path and the sum of the traffic density of each transmission path, obtaining the transmission quality of the first vehicle on the transmission path.
[0139] Specifically, assuming that the vehicles on the transmission path follow the Poisson distribution and discrete-time Markov chain model within a limited transmission range, the transmission quality probability function P(i) of the first vehicle i traveling on the transmission path of length l can be expressed as:
[0140]
[0141] Where k represents the total number of vehicles on the transmission path; λ T Represents the total traffic density.
[0142] The transmission quality of the transmission path is acquired based on the transmission quality of each first vehicle on the transmission path.
[0143] Specifically, the transmission quality of each first vehicle on the transmission path may be processed based on a mathematical statistics method to obtain the transmission quality of the transmission path.
[0144] Optionally, the minimum value of the transmission qualities of the first vehicles on the transmission path may be determined as the transmission quality of the transmission path.
[0145] Optionally, the average value or weighted average value (the weight can be determined based on the distance between the first vehicle and the target roadside unit, the greater the distance, the greater the weight) of the transmission quality of each first vehicle on the transmission path can be determined as the transmission quality of the transmission path.
[0146] The embodiment of the present invention obtains the transmission quality of the first vehicle on the transmission path based on the length of the transmission path, the serial number of the first vehicle on the transmission path and the sum of the traffic densities of each transmission path, and obtains the transmission quality of the transmission path based on the transmission quality of each first vehicle on the transmission path. Therefore, a more accurate transmission quality of the transmission path can be obtained, thereby more accurately determining whether the first transmission path is a transmission path that meets the requirements.
[0147] Based on the content of any of the above embodiments, determining the second transmission path between the first target vehicle and the target roadside unit specifically includes: selecting two unmerged transmission paths from the transmission paths to merge, to obtain multiple merged paths.
[0148] Specifically, the mean and variance of each transmission path in the multiple transmission paths are calculated respectively. Then, based on the mean and variance of each transmission path, the extreme value theory is applied to recursively combine the relevant information of each transmission path. Finally, the optimal transmission path calculated by the preset objective function is used as the second transmission path.
[0149] Assume that the transmission path R consists of a set of arcs π, and the travel time t on each arc follows an arbitrary distribution with a mean of μ t , the variance is The correlation of travel time between transmission paths is ρ; the covariance between transmission paths is σ = ρ xy σ x σ y Among them, ρ xy represents the correlation between transmission path x and transmission path y, σ x represents the covariance of the transmission path x, σ y represents the covariance of the transmission path y.
[0150] The extreme value theory is applied to recursively combine the relevant information of each transmission path, that is, two unmerged transmission paths are selected without replacement to merge to obtain a merged path, thereby obtaining multiple merged paths.
[0151] Optionally, traverse each transmission path and randomly select two transmission paths as transmission paths to be merged. Assuming that the randomly selected transmission paths are R1 and R2, the two transmission paths are merged; after the merging, two transmission paths are randomly selected from R3,…,RN as transmission paths to be merged and merged; and so on, until there are no unmerged transmission paths.
[0152] It should be noted that, when N is an odd number, the last unmerged transmission path may be directly used as the merged path, or the last three unmerged transmission paths may be merged to obtain a merged path.
[0153] A second transmission path is determined based on the correlation coefficients corresponding to the combined paths.
[0154] Specifically, based on the correlation coefficients corresponding to the combined paths, the transmission path with the smallest correlation coefficient may be selected as the second transmission path.
[0155] Since the correlation coefficient is the smallest, the time spent on transmitting data on this transmission path is short. Therefore, the method for determining the optimal transmission path provided in this embodiment can determine the transmission path with the shortest transmission time.
[0156] The embodiment of the present invention merges the transmission paths to obtain a merged path, and determines the second transmission path based on the correlation coefficients corresponding to the merged paths. It can determine the transmission path with the shortest transmission time among the transmission paths between the first target vehicle and the target roadside unit. The first target vehicle transmits data to the target roadside unit independently of the connection life between the vehicles and the roadside unit. It can avoid the situation where the transmission path with the largest cumulative connection life is unable to approach the target roadside unit due to current or future traffic jams or vehicle failures, which takes a long time and increases the data transmission delay. It can reduce the data transmission delay and improve the data transmission efficiency.
[0157] Based on the content of any of the above embodiments, the second transmission path is determined based on the correlation coefficients corresponding to the merged paths, specifically including: obtaining the correlation coefficients between the two merged paths with the longest travel time and the other merged paths.
[0158] Specifically, for each merged path, the travel time of the merged path is obtained. The travel time refers to the total time required to complete the merged path.
[0159] Select the two merged paths Ri and Rn with the longest travel time, and obtain the correlation coefficients of Ri, Rn and the remaining merged paths based on the mean and variance of the travel time on each arc corresponding to Ri and Rn.
[0160]
[0161] Where α represents the deviation coefficient between paths; φ represents the cumulative distribution function of the standard normal distribution.
[0162]
[0163] The combined path corresponding to the minimum value of the correlation coefficient is determined as the second transmission path.
[0164] Specifically, the minimum value among the correlation coefficients corresponding to the combined paths is determined, and the combined path corresponding to the minimum value is determined as the second transmission path.
[0165] The embodiment of the present invention merges the transmission paths to obtain a merged path, and determines the second transmission path based on the correlation coefficients corresponding to the merged paths. It can determine the transmission path with the shortest transmission time among the transmission paths between the first target vehicle and the target roadside unit. The first target vehicle transmits data to the target roadside unit independently of the connection life between the vehicles and the roadside unit. It can avoid the situation where the transmission path with the largest cumulative connection life is unable to approach the target roadside unit due to current or future traffic jams or vehicle failures, which takes a long time and increases the data transmission delay. It can reduce the data transmission delay and improve the data transmission efficiency.
[0166] To facilitate understanding of the above embodiments of the present invention, a complete implementation process of a data transmission method for a vehicle ad hoc network is described below.
[0167] like Figure 3 As shown, the data transmission method for a vehicle ad hoc network may include the following steps:
[0168] Step 301 : Select a transmission path with the largest cumulative connection life from multiple paths between a vehicle requesting to upload data and a target roadside unit.
[0169] The vehicle requesting to upload data is the first target vehicle, and the transmission path with the largest cumulative connection life is the first transmission path.
[0170] Step 302 , obtaining the environment information of the transmission path, and determining whether the transmission path is the optimal transmission path; if so, executing step 303 ; if not, executing step 304 .
[0171] If the transmission path meets the target condition, the transmission path is the optimal transmission path; otherwise, the transmission path is not the optimal transmission path.
[0172] Step 303: If the transmission path is the optimal transmission path, the health of each vehicle in the vehicle cluster to which the vehicle requesting to upload data belongs is further determined, and the optimal transmission vehicle is selected.
[0173] For the first transmission path, the optimal transmission vehicle is the second target vehicle.
[0174] Step 304: If the transmission path is not the optimal transmission path, determine the optimal transmission path and the optimal transmission vehicle according to a preset algorithm.
[0175] The optimal transmission path determined in step 304 is the second transmission path; for the second transmission path, the optimal transmission vehicle is the third target vehicle.
[0176] Step 305 : Transmit data according to the determined optimal transmission path and optimal transmission vehicle.
[0177] The data transmission device for a vehicle ad hoc network provided by the present invention is described below. The data transmission device for a vehicle ad hoc network described below and the data transmission method for a vehicle ad hoc network described above can refer to each other.
[0178] Figure 4 This is a schematic diagram of the structure of the data transmission device for vehicle ad hoc network provided by the present invention. Based on the content of any of the above embodiments, Figure 4 As shown, the data transmission device for a vehicle ad hoc network includes a first determination module 401, an information acquisition module 402, a second determination module 403 and an information sending module 404, wherein:
[0179] A first determining module 401 is configured to determine a first transmission path between a first target vehicle and a target roadside unit;
[0180] An information acquisition module 402 is configured to acquire environmental information of a first transmission path;
[0181] A second determination module 403 is configured to determine a second target vehicle based on the health of each vehicle in the vehicle cluster to which the first target vehicle belongs, when it is determined based on the environmental information of the first transmission path that the first transmission path meets the target condition;
[0182] An information sending module 404 is configured to send information about the first transmission path and information about the second target vehicle to the first target vehicle, so that the first target vehicle transmits data to the target roadside unit based on the first transmission path and the second target vehicle;
[0183] The first transmission path is a transmission path having the largest cumulative connection life among all transmission paths between the first target vehicle and the target roadside unit.
[0184] Specifically, the first determination module 401 , the information acquisition module 402 , the second determination module 403 and the information sending module 404 are electrically connected in sequence.
[0185] The first determining module 401 may determine, among the transmission paths between the first target vehicle and the target roadside unit, a transmission path having the largest cumulative connection life as the first transmission path.
[0186] The information acquisition module 402 may acquire the environmental information of the first transmission path based on the status information reported by the vehicles in the vehicle cluster to which the first target vehicle belongs.
[0187] When the first transmission path is the optimal path, the second determination module 403 may determine a vehicle in the first transmission path having a health greater than a first health threshold as a second target vehicle based on the health of each vehicle in the vehicle cluster to which the first target vehicle belongs.
[0188] The information sending module 404 sends the information of the first transmission path and the information of the second target vehicle to the first target vehicle.
[0189] The first target vehicle divides the data to be transmitted into multiple data segments with the same number as the second target vehicles, and distributes the divided data segments to each second target vehicle, so that each second target vehicle sends the corresponding data segment to the target roadside unit, thereby realizing data transmission between the first target vehicle and the target roadside unit.
[0190] Optionally, the data transmission device for a vehicle ad hoc network may further include:
[0191] a third determining module, configured to determine a second transmission path between the first target vehicle and the target roadside unit when it is determined based on the environmental information of the first transmission path that the first transmission path does not meet the target condition;
[0192] The second determination module may also be used to determine a third target vehicle based on the health of each vehicle in the vehicle cluster to which the first target vehicle belongs;
[0193] The information sending module may also be used to send information of the second transmission path and information of the third target vehicle to the first target vehicle, so that the first target vehicle transmits data to the target roadside unit based on the second transmission path and the third target vehicle;
[0194] The second transmission path is a transmission path with the shortest transmission time among all transmission paths between the first target vehicle and the target roadside unit.
[0195] Optionally, the information acquisition module 402 may include:
[0196] a request sending unit, configured to send a data request to each roadside unit covered by the first transmission path, so that the roadside unit forwards the data request to a first vehicle whose distance from the roadside unit is less than a distance threshold, and returns status information returned by the first vehicle;
[0197] an information receiving unit, configured to obtain status information of each first vehicle;
[0198] an information acquisition unit, configured to acquire environmental information of each transmission path based on the status information of each first vehicle;
[0199] The environmental information includes at least one of traffic density, transmission quality and average vehicle speed.
[0200] Optionally, the second determining module 403 may be specifically configured to determine that the first transmission path meets the target condition when the environment information of the first transmission path is greater than a first threshold or the environment information of the first transmission path is the maximum value among the environment information of all transmission paths.
[0201] Optionally, the information acquisition unit may be specifically configured to:
[0202] Obtaining a transmission quality of the first vehicle on the transmission path based on the length of the transmission path, the sequence number of the first vehicle on the transmission path, and the sum of traffic densities of the transmission paths;
[0203] The transmission quality of the transmission path is acquired based on the transmission quality of each first vehicle on the transmission path.
[0204] Optionally, the third determining module may include:
[0205] A path merging unit, configured to select two unmerged transmission paths from among the transmission paths and merge them to obtain a plurality of merged paths;
[0206] The path determination unit is configured to determine a second transmission path based on the correlation coefficients corresponding to the combined paths.
[0207] Optionally, the path determination unit may be specifically configured to:
[0208] Get the correlation coefficients between the two merged routes with the longest travel time and other merged routes;
[0209] The combined path corresponding to the minimum value of the correlation coefficient is determined as the second transmission path.
[0210] The data transmission device for a vehicle ad hoc network provided in an embodiment of the present invention is used to execute the above-mentioned data transmission method for a vehicle ad hoc network of the present invention. Its implementation method is consistent with the implementation method of the data transmission method for a vehicle ad hoc network provided by the present invention, and can achieve the same beneficial effects, which will not be repeated here.
[0211] The data transmission device for a vehicle ad hoc network is used in the data transmission method for a vehicle ad hoc network in the aforementioned embodiments. Therefore, the description and definition of the data transmission method for a vehicle ad hoc network in the aforementioned embodiments can be used to understand the various execution modules in the embodiments of the present invention.
[0212] In an embodiment of the present invention, after determining the transmission path with the largest cumulative result of the connection life, the embodiment of the present invention determines whether the transmission path is a transmission path that meets the requirements based on the environmental information of the transmission path. If the transmission path is a transmission path that meets the requirements, the embodiment of the present invention determines the second target vehicle based on the health of each vehicle on the transmission path, so that the first target vehicle transmits data to the target roadside unit based on the first transmission path and the second target vehicle. This can avoid the situation where the vehicles on the transmission path are unable to approach the target roadside unit due to current or future traffic jams or vehicle failures, which takes a long time and increases the data transmission delay. This can reduce the data transmission delay and improve the data transmission efficiency.
[0213] The electronic device and storage medium provided by the present invention are described below. The electronic device and storage medium described below and the data transmission method for a vehicle ad hoc network described above can be referenced to each other.
[0214] Figure 5 An example of a physical structure diagram of an electronic device is shown below. Figure 5 As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530, and a communication bus 540, wherein the processor 510, the communication interface 520, and the memory 530 communicate with each other via the communication bus 540. The processor 510 may call a computer program in the memory 530 to execute the steps of a data transmission method for a vehicle ad hoc network, for example, including: determining a first transmission path between a first target vehicle and a target roadside unit; obtaining environmental information of the first transmission path; if it is determined based on the environmental information of the first transmission path that the first transmission path meets the target condition, determining a second target vehicle based on the health of each vehicle in the vehicle cluster to which the first target vehicle belongs; sending information about the first transmission path and information about the second target vehicle to the first target vehicle, so that the first target vehicle transmits data to the target roadside unit based on the first transmission path and the second target vehicle; wherein the first transmission path is the transmission path with the largest cumulative connection life among the transmission paths between the first target vehicle and the target roadside unit.
[0215] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0216] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the steps of the data transmission method for vehicle self-organizing network provided by the above methods, for example, including: determining a first transmission path between a first target vehicle and a target roadside unit; obtaining environmental information of the first transmission path; when it is determined based on the environmental information of the first transmission path that the first transmission path meets the target condition, determining a second target vehicle based on the health of each vehicle in the vehicle cluster to which the first target vehicle belongs; sending information about the first transmission path and information about the second target vehicle to the first target vehicle, so that the first target vehicle transmits data to the target roadside unit based on the first transmission path and the second target vehicle; wherein the first transmission path is the transmission path with the largest cumulative connection life among all the transmission paths between the first target vehicle and the target roadside unit.
[0217] On the other hand, an embodiment of the present application also provides a processor-readable storage medium, which stores a computer program, and the computer program is used to enable the processor to execute the steps of the methods provided in the above embodiments, for example, including: determining a first transmission path between a first target vehicle and a target roadside unit; obtaining environmental information of the first transmission path; when it is determined based on the environmental information of the first transmission path that the first transmission path meets the target condition, determining a second target vehicle based on the health of each vehicle in the vehicle cluster to which the first target vehicle belongs; sending information about the first transmission path and information about the second target vehicle to the first target vehicle, so that the first target vehicle transmits data to the target roadside unit based on the first transmission path and the second target vehicle; wherein the first transmission path is the transmission path with the largest cumulative connection life among all the transmission paths between the first target vehicle and the target roadside unit.
[0218] The processor-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO)), optical storage (such as CDs, DVDs, BDs, HVDs, etc.), and semiconductor storage (such as ROMs, EPROMs, EEPROMs, non-volatile memories (NANDFLASH), solid-state drives (SSDs)), etc.
[0219] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0220] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.
[0221] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A data transmission method for a vehicle ad hoc network, characterized in that: include: determining a first transmission path between a first target vehicle and a target roadside unit; Acquiring environmental information of the first transmission path; When it is determined based on the environmental information of the first transmission path that the first transmission path satisfies a target condition, determining a second target vehicle based on the health of each vehicle in the vehicle cluster to which the first target vehicle belongs; Sending information of the first transmission path and information of the second target vehicle to the first target vehicle, so that the first target vehicle transmits data to the target roadside unit based on the first transmission path and the second target vehicle; The first transmission path is the transmission path with the largest cumulative connection life among the transmission paths between the first target vehicle and the target roadside unit; The acquiring of the environment information of the first transmission path specifically includes: Sending a data request to each roadside unit covered by the first transmission path, so that the roadside unit forwards the data request to a first vehicle whose distance from the roadside unit is less than a distance threshold, and returns status information returned by the first vehicle; obtaining status information of each of the first vehicles; acquiring environmental information of each transmission path based on the status information of each first vehicle; The environmental information includes at least one of traffic density, transmission quality and average vehicle speed.
2. The data transmission method for a vehicle ad hoc network according to claim 1, characterized in that: After acquiring the environment information of the first transmission path, the method further includes: determining a second transmission path between the first target vehicle and the target roadside unit when it is determined based on the environmental information of the first transmission path that the first transmission path does not meet the target condition; Determining a third target vehicle based on the health of each vehicle in the vehicle cluster to which the first target vehicle belongs; Sending information about the second transmission path and information about the third target vehicle to the first target vehicle, so that the first target vehicle transmits data to the target roadside unit based on the second transmission path and the third target vehicle; The second transmission path is a transmission path with the shortest transmission time among all transmission paths between the first target vehicle and the target roadside unit.
3. The data transmission method for a vehicle ad hoc network according to claim 1, characterized in that: Determining, based on the environment information of the first transmission path, that the first transmission path meets the target condition specifically includes: When the environment information of the first transmission path is greater than a first threshold, or the environment information of the first transmission path is a maximum value among the environment information of the various transmission paths, it is determined that the first transmission path meets the target condition.
4. The data transmission method for a vehicle ad hoc network according to claim 1, characterized in that: The acquiring, based on the status information of each of the first vehicles, the environmental information of each of the transmission paths specifically includes: Obtaining a transmission quality of the first vehicle on the transmission path based on the length of the transmission path, the sequence number of the first vehicle on the transmission path, and the sum of traffic densities of the transmission paths; The transmission quality of the transmission path is acquired based on the transmission quality of each of the first vehicles on the transmission path.
5. The data transmission method for a vehicle ad hoc network according to claim 2, characterized in that: The determining of a second transmission path between the first target vehicle and the target roadside unit specifically includes: Selecting two unmerged transmission paths from the transmission paths and merging them to obtain a plurality of merged paths; The second transmission path is determined based on the correlation coefficients corresponding to the combined paths.
6. The data transmission method for a vehicle ad hoc network according to claim 5, characterized in that: Determining the second transmission path based on the correlation coefficients corresponding to the combined paths specifically includes: Obtaining correlation coefficients between the two merged paths with the longest travel times and other merged paths; The combined path corresponding to the minimum value of the correlation coefficients is determined as the second transmission path.
7. A data transmission device for a vehicle ad hoc network, characterized in that: include: A first determining module, configured to determine a first transmission path between a first target vehicle and a target roadside unit; An information acquisition module, configured to acquire environmental information of the first transmission path; a second determining module, configured to determine a second target vehicle based on the health of each vehicle in the vehicle cluster to which the first target vehicle belongs, when it is determined based on the environmental information of the first transmission path that the first transmission path meets the target condition; an information sending module, configured to send information of the first transmission path and information of the second target vehicle to the first target vehicle, so that the first target vehicle transmits data to the target roadside unit based on the first transmission path and the second target vehicle; The first transmission path is the transmission path with the largest cumulative connection life among the transmission paths between the first target vehicle and the target roadside unit; The information acquisition module includes: a request sending unit, configured to send a data request to each roadside unit covered by the first transmission path, so that the roadside unit forwards the data request to a first vehicle whose distance from the roadside unit is less than a distance threshold, and returns status information returned by the first vehicle; an information receiving unit, configured to obtain status information of each of the first vehicles; an information acquisition unit, configured to acquire environmental information of each transmission path based on the status information of each first vehicle; The environmental information includes at least one of traffic density, transmission quality and average vehicle speed.
8. An electronic device comprising a processor and a memory storing a computer program, characterized in that: When the processor executes the computer program, the steps of the data transmission method for a vehicle ad hoc network according to any one of claims 1 to 6 are implemented.
9. A processor-readable storage medium, characterized in that: The processor-readable storage medium stores a computer program, and the computer program is used to enable the processor to execute the steps of the data transmission method for a vehicle ad hoc network according to any one of claims 1 to 6.
Citation Information
Patent Citations
Mobile edge data uploading method and system for vehicle ad hoc network
CN111194018A