CN116112892A - Data transmission method and device for vehicle ad hoc network - Google Patents
Data transmission method and device for vehicle ad hoc network Download PDFInfo
- Publication number
- CN116112892A CN116112892A CN202111326314.7A CN202111326314A CN116112892A CN 116112892 A CN116112892 A CN 116112892A CN 202111326314 A CN202111326314 A CN 202111326314A CN 116112892 A CN116112892 A CN 116112892A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- transmission path
- target
- transmission
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/0104—Measuring and analyzing of parameters relative to traffic conditions
- G08G1/0108—Measuring and analyzing of parameters relative to traffic conditions based on the source of data
- G08G1/0116—Measuring and analyzing of parameters relative to traffic conditions based on the source of data from roadside infrastructure, e.g. beacons
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/0104—Measuring and analyzing of parameters relative to traffic conditions
- G08G1/0125—Traffic data processing
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/0104—Measuring and analyzing of parameters relative to traffic conditions
- G08G1/0137—Measuring and analyzing of parameters relative to traffic conditions for specific applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
- H04W4/46—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for vehicle-to-vehicle communication [V2V]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a data transmission method and device for a vehicle ad hoc network, and belongs to the technical field of communication. Wherein the method comprises the following steps: determining a first transmission path between a first target vehicle and a target roadside unit; acquiring environment information of a first transmission path; determining a second target vehicle based on the health degree of each vehicle in the vehicle cluster to which the first target vehicle belongs under the condition that the first transmission path meets the target condition based on the environment information of the first transmission path; transmitting 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 connection life accumulation result. The data transmission method and the data transmission device for the vehicle ad hoc network can reduce the data transmission time delay and improve the data transmission efficiency.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data transmission method and apparatus for a vehicle ad hoc network.
Background
The vehicle ad hoc network (Vehicular Ad Hoc Network) is an important component of intelligent traffic system application as a novel mobile ad hoc network.
Currently, in a vehicle ad hoc network, a vehicle continuously generates a number of real-time task requests that need to be calculated by uploading data to a Road Side Unit (RSU) during running. Because the vehicle moves faster, the time for passing each road side unit is shorter, and after the data requested by the same task is transmitted to a plurality of road side units, the data migration is performed among the road side units, so that the time delay of the whole transmission process is greatly increased.
In the prior art, in order to upload data of the same vehicle to the same road side unit as much as possible, reduce the time delay and increase the upload rate, generally, one transmission path with the largest connection lifetime accumulation result is selected as an actual transmission path from a plurality of transmission paths from the vehicle requesting to upload data to the target road side unit existing in the communication range of the target road side unit.
However, the transmission path with the largest connection life accumulation result is selected for data transmission, so that the phenomenon that the vehicle on the transmission path is difficult to timely perform data transmission with the target road side unit may occur, and the phenomenon that the data transmission delay is increased and the data transmission efficiency is reduced is caused.
Disclosure of Invention
The invention provides a data transmission method and device for a vehicle ad hoc network, which are used for solving the defect of larger data transmission time delay in the prior art, reducing the data transmission time delay and improving the data transmission efficiency.
In a first aspect, the present invention provides a data transmission method for a vehicle ad hoc network, including:
determining a first transmission path between a first target vehicle and a target roadside unit;
acquiring environment information of the first transmission path;
determining a second target vehicle based on the health degree of each vehicle in the vehicle cluster to which the first target vehicle belongs under the condition that the first transmission path meets the target condition based on the environment information of the first transmission path;
transmitting 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 connection life accumulation result among the transmission paths between the first target vehicle and the target road side unit.
In one embodiment, after the acquiring the environmental 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 in a case where it is determined that the first transmission path does not satisfy the target condition based on the environmental information of the first transmission path;
determining a third target vehicle based on the health degree of each vehicle in the vehicle cluster to which the first target vehicle belongs;
transmitting 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;
the second transmission path is a transmission path with the smallest transmission time among the transmission paths between the first target vehicle and the target road side unit.
In one embodiment, the acquiring the environmental information of the first transmission path specifically includes:
transmitting a data request to each road side unit covered by the first transmission path, so that the road side unit forwards the data request to a first vehicle with a distance smaller than a distance threshold value between the road side unit and the road side unit, and returning state information returned by the first vehicle;
Acquiring state information of each first vehicle;
acquiring environmental information of each transmission path based on the state information of each first vehicle;
wherein the environmental information includes at least one of traffic density, transmission quality, and average running speed of the vehicle.
In one embodiment, determining that the first transmission path satisfies a target condition based on the environmental information of the first transmission path specifically includes:
and determining that the first transmission path meets a target condition when the environmental information of the first transmission path is greater than a first threshold value or the environmental information of the first transmission path is a maximum value among the environmental information of the respective transmission paths.
In one embodiment, the acquiring the environmental information of each transmission path based on the state information of each first vehicle specifically includes:
acquiring 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 the transmission paths;
and acquiring the transmission quality of the transmission path based on the transmission quality of each first vehicle on the transmission path.
In one embodiment, the determining the second transmission path between the first target vehicle and the target roadside unit specifically includes:
selecting two transmission paths from the transmission paths which are not combined to be combined to obtain a plurality of combined paths;
and determining the second transmission path based on the correlation coefficient corresponding to each merging path.
In one embodiment, determining the second transmission path based on the correlation coefficient corresponding to each of the combining paths specifically includes:
acquiring correlation coefficients between the two merging paths with the longest driving time and other merging paths;
and determining the merging path corresponding to the minimum value in the correlation coefficient as the second transmission path.
In a second aspect, the present invention provides a data transmission apparatus for a vehicle ad hoc network, comprising:
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 a health degree of each vehicle in a vehicle cluster to which the first target vehicle belongs, when it is determined that the first transmission path satisfies a target condition based on environmental information of the first transmission path;
An information transmitting module configured to transmit 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 connection life accumulation result among the transmission paths between the first target vehicle and the target road side unit.
In a third aspect, the present invention provides an electronic device comprising a processor and a memory storing a computer program, the processor implementing any of the steps of the data transmission method for a vehicle ad hoc network described above when executing the computer program.
In a fourth aspect, the present invention provides a processor-readable storage medium storing a computer program for causing the processor to execute the steps of any one of the above-described data transmission methods for vehicle ad hoc networks.
According to the data transmission method and device for the vehicle ad hoc network, whether the transmission path is the transmission path meeting the requirements is determined based on the environmental information of the transmission path after the transmission path with the largest connection life accumulation result is determined, and the second target vehicle is determined based on the health degree of each vehicle on the transmission path under the condition that the transmission path is the transmission path meeting the requirements, so that the first target vehicle transmits data to the target road side unit based on the first transmission path and the second target vehicle, the situation that the vehicle on the transmission path cannot approach the target road side unit due to traffic jam or traffic jam in the future or vehicle faults at present can be avoided, more time is spent, the data transmission delay is increased, the data transmission delay can be reduced, and the data transmission efficiency is improved.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a data transmission method for a vehicle ad hoc network according to the present invention;
fig. 2 is a schematic diagram of acquiring environmental information of a first transmission path in a data transmission method for a vehicle ad hoc network according to the present invention;
FIG. 3 is a second flow chart of a data transmission method for vehicle ad hoc network according to the present invention;
fig. 4 is a schematic structural diagram of a data transmission device for vehicle ad hoc network according to the present invention;
fig. 5 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The following describes a data transmission method and apparatus for a vehicle ad hoc network according to the present invention with reference to fig. 1 to 5.
Fig. 1 is a schematic flow chart of a data transmission method for a vehicle ad hoc network according to the present invention. The following describes a data transmission method for a vehicle ad hoc network according to an embodiment of the present application with reference to fig. 1. As shown in fig. 1, the method includes: step 101, determining a first transmission path between a first target vehicle and a target roadside unit.
The first transmission path is the transmission path with the largest connection life accumulation result among the transmission paths between the first target vehicle and the target road side unit.
Specifically, the execution main body of the data transmission method for the vehicle ad hoc network provided by the embodiment of the invention is a data transmission device for the vehicle ad hoc network. The apparatus may be a cloud server.
Based on the high-speed mobility of the vehicle, one of the steps of improving the data uploading efficiency from the vehicle to the road side unit under the dynamic topological environment is to cluster the vehicles to obtain a vehicle cluster. The vehicle clustering method used in VANET is generally based on a certain feature, and the vehicles with similar features are classified into the same set, and the vehicles with different features are classified into different sets. For mobility of vehicles, the characteristic criteria used in clustering are generally related to the relative distance between vehicles and the relative speed. The cluster head vehicle refers to a vehicle used for communicating with the road side unit in the vehicle cluster, and other vehicles are called member vehicles.
The first target vehicle is a vehicle requesting transmission of data to the roadside unit. The first target vehicle may send a data transmission request to a cluster head vehicle of a vehicle cluster to which the first target vehicle belongs, and the cluster head vehicle sends the data transmission request to the cloud server.
After the cloud server receives the data transmission request, a target road side unit responding to the data uploading request can be determined from a plurality of road side units, data edge calculation is performed on the target road side unit, and a stable transmission path is planned for the first target vehicle. The transmission path is a path for data transmission between the first target vehicle and the target roadside unit, and vehicles on the transmission path (hereinafter simply referred to as cooperative vehicles) are cooperators for data uploading by the first target vehicle. The vehicles on the transmission path belong to the same vehicle cluster as the first target vehicle.
The cloud server may determine, as the first transmission path, a transmission path having the largest connection lifetime accumulation result among the transmission paths (may be simply referred to as "transmission paths") between the first target vehicle and the target roadside unit. Wherein the connection life is generally determined according to the relative distance and relative speed between vehicles, and the connection life between neighboring vehicles of the same speed is considered to be infinite.
Setting a transmission path of the cluster member vehicle A as a path L; for a cluster member vehicle B, wherein the vehicle A and the vehicle B are not the same vehicle, if the vehicle B is a neighboring vehicle of the vehicle A, connecting the vehicle A and the vehicle B, wherein the connection weight between the two vehicles is 1, the connection life is alpha, and otherwise, resetting the connection weight to-1; and traversing all cluster member vehicles, determining the connection weight of the vehicle A and the vehicle B, and abstracting the vehicle cluster into an undirected weighted graph after the circulation is finished.
When the path L does not complete planning, traversing the cluster member vehicles to find the path: if vehicle B has not been traversed and vehicle B is the vehicle in the vehicle cluster that has the longest connection life with vehicle a, vehicle B is within the coverage of the target roadside unit, vehicle B is added to the traversed vehicle set. For any cluster member vehicle C, vehicle C is a neighboring vehicle of vehicle B, and if C has traversed, but the minimum value between the connection lifetime of vehicle a with vehicle B and the connection lifetime of vehicle B with vehicle C is greater than the connection lifetime between vehicle a and vehicle C, then the connection lifetime value of vehicle a with vehicle C is the minimum value. If the currently selected path life does not cause rollback of the path life selected in the previous step, adding the vehicle B to the current transmission path to form a new transmission path.
And circularly traversing the vehicles in the cluster until no vehicle B is not traversed yet, wherein the vehicle B is the vehicle with the longest connection life with the vehicle A in the vehicle cluster, the vehicle B is in the coverage range of the target road side unit, and the transmission path planning of the vehicle A is completed.
Through the steps, the cloud server can determine the first transmission path.
Specifically, the environmental information of the first transmission path may include at least one of traffic density, transmission quality, and average running speed of the vehicle of the first transmission path.
The environmental information of the first transmission path may be used to measure whether the first transmission path is blocked at present or whether the first transmission path is blocked in the future.
Optionally, the cloud server may acquire 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.
Step 103, determining a second target vehicle based on the health degree of each vehicle in the vehicle cluster to which the first target vehicle belongs when determining that the first transmission path meets the target condition based on the environmental information of the first transmission path.
Specifically, the target condition is used to determine whether the first transmission path is the optimal path.
When the first transmission path is determined to have traffic jam at present or the probability of traffic jam possibly occurring in the future is high, determining that the transmission path is not a transmission path meeting the requirement and does not meet the target condition; otherwise, when the condition that traffic jam does not occur in the current or future of the transmission path is determined, the transmission path is considered to be a transmission path meeting the requirement, and the target condition is met.
For example, a threshold value of the environment information may be set, and in the case where the environment information of the first transmission path is greater than the above threshold value, it is determined that the first transmission path satisfies the target condition; in the case where the environmental information of the first transmission path is smaller than the above-described threshold value, it is determined that the first transmission path does not satisfy the target condition. The threshold value of the environmental information may be set according to actual situations, and the embodiment of the present invention does not limit a specific value of the threshold value of the environmental information.
When the first transmission path is the optimal path, the vehicle having the health degree greater than the first health degree threshold in the first transmission path may be determined as the second target vehicle based on the health degree of each vehicle in the vehicle cluster to which the first target vehicle belongs. The second target vehicle is a cooperative vehicle.
The first health degree threshold value may be preset according to actual conditions. The embodiment of the present invention is not particularly limited with respect to the specific value of the first health degree threshold.
The health of the vehicle may be uploaded to the cloud server by the vehicle in advance.
The health degree evaluation device provided on the vehicle may evaluate the health degree of the vehicle based on the condition of a plurality of core components of the vehicle based on any one of the commonly used evaluation methods of the health degree of the vehicle.
For example, the health evaluation device may evaluate according to the progress behavior and network status of TBOX (Telematics Box), IVI (In-vehicle infotainment system, in-Vehicle Infotainment), gateway, and the like, and acquire the health of the vehicle.
By taking into account the health, the possible occurrence of data loss can be avoided.
Step 104, information of the first transmission path and information of the second target vehicle are sent to the first target vehicle, so that the first target vehicle transmits data to the target road side unit based on the first transmission path and the second target vehicle.
Specifically, after the cloud server determines the first transmission path and the second target vehicle, information of the first transmission path and information of the second target vehicle may be transmitted to the first target vehicle.
The first target vehicles divide the data to be transmitted into a plurality of data segments, the number of which is the same as that of the second target vehicles, and the divided data segments are distributed to the second target vehicles so that the second target vehicles send the corresponding data segments to the target road side units, and data transmission between the first target vehicles and the target road side units is achieved.
For example, in the case that the number of the second target vehicles is 6, the first target vehicle may uniformly divide the data to be transmitted into 6 data segments, the second target vehicles are A, B, C, D, E, F respectively, 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 respectively; the first target Vehicle sends each data segment to each second target Vehicle via a multi-hop V2V (Vehicle-to-Vehicle Communication) communication. Specifically, the first target vehicle may send data segments 1-6 to vehicle A; after the vehicle A receives the data segments 1-6, the data segment 1 is left, and the data segments 2-6 are sent to the vehicle B; after the vehicle B receives the data segments 2-6, the data segment 2 is left, and the data segments 3-6 are sent to the vehicle C; the first target vehicle does not directly send the data segments to the vehicle B, but transit through the vehicle A, the first jump is from the first target vehicle to the vehicle A, the second jump is from the vehicle A to the vehicle B, and so on, so that each data segment is sent to each second target vehicle; and the vehicle A uploads the data segment 1 to the target road side unit, the vehicle B uploads the data segment 2 to the target road side unit, and so on, all the data of the first target vehicle are uploaded, so that the collaborative data uploading is realized.
Alternatively, the first target vehicle divides the data to be transmitted into a plurality of data segments equal to the number of the second target vehicles, and the data segments may be divided based on the transmission rate (or load) of each second target vehicle in a manner of dividing the data segments equally based on the data volume, so that the data volumes of the data segments responsible for transmission by different second target vehicles may be the same or different.
For example, if a second target vehicle is less loaded, i.e. has a faster transmission rate, the amount of data of the data segment that the vehicle is responsible for transmitting may be relatively greater; conversely, if the load of a second target vehicle is high, i.e., the transmission rate is slow, the amount of data of the data segment that the vehicle is responsible for transmitting may be relatively small. By the method, the phenomenon that the overall data transmission rate is low due to the fact that the data to be transmitted are distributed evenly can be avoided, the overall data transmission rate is improved, and the overall data transmission time consumption (namely, the total time consumption of a first target vehicle for sending the data to be transmitted to a target road side unit for receiving all the data to be transmitted) is reduced.
Compared with the equal division mode, the unequal division mode can further improve the data transmission rate.
In practical applications, the transmission path with the largest service life is connected, and the data transmission efficiency is not necessarily the largest. For example, after the vehicle travels within the communication range of a certain roadside unit, the distance from the position where the roadside unit can upload data is x meters, at this time, if a traffic jam occurs in front of the path or the vehicle fails, the vehicle cannot continue to travel or can only travel at a lower speed, so that the connection time between the vehicle and the roadside unit is longer. In the above-mentioned case, although the connection time between the vehicle and the road side unit is long under the route, if the route is selected for data transmission, the route is not smooth, which may cause that the time spent when the vehicle travels to a position from the road side unit where the data can be uploaded is long, but the data transmission delay is more easily increased, and the data transmission efficiency is reduced; or, due to the failure of the vehicle, data cannot be transmitted, thereby reducing data transmission efficiency, contrary to the goal of reducing time delay and improving data transmission efficiency.
According to the embodiment of the invention, after the transmission path with the largest connection life accumulation result is determined, whether the transmission path is a transmission path meeting the requirement or not is determined based on the environmental information of the transmission path, and under the condition that the transmission path is the transmission path meeting the requirement, the second target vehicle is determined based on the health degree of each vehicle on the transmission path, so that the first target vehicle transmits data to the target road side unit based on the first transmission path and the second target vehicle, the situation that the vehicle on the transmission path cannot approach the target road side unit due to traffic jam or traffic jam in the future or vehicle faults at present can be avoided, more time is spent, the data transmission delay is increased, the data transmission time delay can be reduced, and the data transmission efficiency is improved.
Based on the foregoing any one of the embodiments, after acquiring the environmental information of the first transmission path, the method further includes: in a case where it is determined that the first transmission path does not satisfy the target condition based on the environmental information of the first transmission path, a second transmission path between the first target vehicle and the target roadside unit is determined.
The second transmission path is the transmission path with the smallest transmission time among the transmission paths between the first target vehicle and the target road side unit.
Specifically, in the case where the first transmission path is not the optimal path, a transmission path having the smallest transmission time may be selected as a transmission path satisfying the demand from among the transmission paths between the first target vehicle and the target roadside unit based on a preset algorithm (the transmission path satisfying the demand at this time is the second transmission path).
The transmission time refers to the total time taken by the first target vehicle to send the data to be transmitted to the target road side unit to receive all the data to be transmitted.
The cloud server may select any one of the transmission paths, in which the transmission rate is greater than a preset transmission rate threshold, as the second transmission path by acquiring the transmission rate of each of the transmission paths.
The transmission rate threshold may be set according to actual situations, and the specific value of the transmission rate threshold in the embodiment of the present invention is not specifically limited.
The transmission rate of the transmission path is larger than the preset transmission rate threshold, which indicates that the traffic condition of the transmission path is good, no traffic jam occurs at present and the probability of traffic jam in the future is small.
And determining a third target vehicle based on the health degree of each vehicle in the vehicle cluster to which the first target vehicle belongs.
Specifically, the vehicle whose health degree in the second transmission path is greater than the second health degree threshold value may be determined as the third target vehicle based on the health degrees of the respective vehicles in the vehicle cluster to which the first target vehicle belongs. The third target vehicle is a cooperative vehicle.
The second health degree threshold value may be preset according to actual conditions. The embodiment of the present invention is not particularly limited with respect to the specific value of the second health degree threshold. The value of the second health threshold may be the same as or different from the value of the first health threshold.
The method for obtaining the health degree of the vehicle in the vehicle cluster to which the first target vehicle belongs may refer to the foregoing embodiment, and will not be described herein.
And transmitting 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.
Specifically, after the cloud server determines the second transmission path and the third target vehicle, information of the second transmission path and information of the third target vehicle may be transmitted to the first target vehicle.
The first target vehicle divides the data to be transmitted into a plurality of data segments, the number of which is the same as that of the third target vehicles, and distributes the divided data segments to the third target vehicles so that the third target vehicles send the corresponding data segments to the target road side units, and data transmission between the first target vehicle and the target road side units is achieved.
The first target vehicle divides the data to be transmitted into a plurality of data segments, the number of which is the same as that of the third target vehicles, the data segments can be divided equally based on the data volume, and the data segments can be divided based on the transmission rate (or load) of each third target vehicle, so that the data volumes of the data segments which are responsible for transmission by different third target vehicles can be the same or different.
The specific steps of the first target vehicle transmitting data to the target roadside unit based on the second transmission path and the third target vehicle are similar to the specific steps of the first target vehicle transmitting data to the target roadside unit based on the first transmission path and the second target vehicle, and are not repeated here.
According to the embodiment of the invention, after the transmission path with the largest connection life accumulation result is determined, whether the transmission path is a transmission path meeting the requirement or not is determined based on the environmental information of the transmission path, and under the condition that the transmission path is not the transmission path meeting the requirement, a second transmission path with the smallest transmission time is selected from all transmission paths between a first target vehicle and a target road side unit based on a preset algorithm, and a third target vehicle is determined based on the health degree of all vehicles on the second transmission path, so that the first target vehicle transmits data to the target road side unit based on the second transmission path and the third target vehicle, the connection life between all vehicles and the road side unit is not depended, the situation that the transmission path with the largest connection life accumulation result is blocked at present or blocked at future time or the vehicle is failed can be avoided, the vehicles on the transmission path cannot approach the target road side unit, more time is spent, the condition of increasing the data transmission time delay is increased, and the data transmission efficiency is reduced.
Based on the content of any one of the foregoing embodiments, acquiring the environmental information of the first transmission path specifically includes: and sending the data request to each road side unit covered by the first transmission path, so that the road side unit forwards the data request to the first vehicle with the distance smaller than the distance threshold value from the road side unit, and returning the state information returned by the first vehicle.
Specifically, fig. 2 shows a schematic diagram of acquiring the environment information of the first transmission path. The cloud server sends a data request to each road side unit covered by the first transmission path as shown in fig. 2. The data request may carry timestamp information. The data request is used to acquire information of each vehicle on each transmission path.
After each road side unit receives the data request sent by the cloud server, the data request is forwarded to a first vehicle of which the distance between the data request and the first vehicle is smaller than a preset distance threshold value. Each first vehicle has only one nearest road side unit within the preset distance threshold range.
The distance threshold may be set according to actual situations, and the specific value of the distance threshold is not specifically limited in the embodiment of the present invention.
After each first vehicle receives the data request forwarded by the road side unit, the first vehicle packages the state information of the first vehicle based on the identification information of the first vehicle, and sends the packaged state information to the road side unit, so that the road side unit forwards the packaged state information to the cloud server.
The state information comprises information such as an identification of a current running path of the vehicle, a current time stamp, a transmission distance between the current time stamp and a nearest road side unit, and whether a fault occurs.
Status information of each first vehicle is acquired.
Specifically, the cloud server may receive status information of each first vehicle forwarded by each roadside unit.
Environmental information of each transmission path is acquired based on the state information of each first vehicle.
Wherein the environmental information includes at least one of traffic density, transmission quality, and average running speed of the vehicle.
Specifically, when the vehicle density on the transmission path (i.e., the traffic density of the transmission path) is greater than the density threshold, a traffic jam situation may occur; and when a traffic jam occurs, the traveling speed of each vehicle on the transmission path is generally small. Therefore, the transmission quality of the vehicle can be judged through the vehicle density and the vehicle speed to represent whether the transmission path is blocked or not at present or whether the transmission path is blocked in the future.
For example, if the transmission quality is less than a preset transmission quality threshold, it is considered that traffic congestion may occur. Or, if the average running speed of each vehicle on the transmission path is smaller than the preset speed threshold, it is considered that traffic jam may occur.
Therefore, it is possible to determine whether the first transmission path is a transmission path satisfying the demand based on the transmission quality of the first transmission path and the average running speed of the vehicle on the first transmission path.
After receiving the status information of each first vehicle, the cloud server may 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.
λ Tn Representing the traffic density of the nth transmission path. The traffic density of a transmission path refers to the ratio between the length of the transmission path and the number of first vehicles on the transmission path.
Total traffic density lambda T Equal to the sum of the traffic densities of all the transmission paths, the calculation formula is as follows:
Wherein n represents a sequence number of a transmission path; n represents the total number of transmission paths, n=1, 2.
The average running speed of the vehicle can be obtained by:
determining a road side unit nearest to a vehicle cluster to which the first target vehicle belongs, and calculating the average number of vehicles of N transmission paths in a transmission range d for the road side unit
Determining an average arrival rate mu of vehicles in the transmission range d over a period of time based on the average number of vehicles:
wherein t is d Indicating the average time to reach.
Predicting an average travel speed of each vehicle when the transmission path is selected based on the average arrival rate
According to the embodiment of the invention, the data request is sent to each road side unit covered by the first transmission path, so that the road side unit forwards the data request to the first vehicle with the distance smaller than the distance threshold value between the road side unit and the road side unit, the state information returned by the first vehicle is returned, the environment information of each transmission path is acquired based on the state information returned by each first vehicle, more accurate environment information can be acquired, and whether the first transmission path is a transmission path meeting the requirement can be judged more accurately.
Based on the content of any of the above embodiments, determining that the first transmission path satisfies the target condition based on the environmental information of the first transmission path specifically includes: in the case where the environmental information of the first transmission path is greater than the first threshold value, or the environmental information of the first transmission path is the maximum value among the environmental information of the respective transmission paths, it is determined that the first transmission path satisfies the target condition.
Specifically, the environmental information of the first transmission path may be inversely related to the probability of occurrence of traffic congestion and failure through data processing.
Alternatively, at least one of the reciprocal of the traffic density, the transmission quality, and the average running speed of the vehicle may be taken as the environmental information of the first transmission path.
Optionally, the reciprocal of the traffic density is greater than a preset first threshold corresponding to the reciprocal of the traffic density, which indicates that there is less chance of traffic congestion.
Optionally, the transmission quality is greater than a preset first threshold corresponding to the transmission quality, which indicates that the probability of traffic congestion is less.
Optionally, the average running speed of the vehicle is greater than a preset first threshold value corresponding to the average running speed of the vehicle, which indicates that the probability of traffic jam is smaller.
Therefore, in the case where the environmental information of the first transmission path is greater than the first threshold value, it can be determined that the first transmission path satisfies the target condition, and is a transmission path that satisfies the demand.
Alternatively, the environment information of the first transmission path is the maximum value among the environment information of the respective transmission paths, which indicates that the first transmission path is the currently optimal transmission path, there is no transmission path shorter than the transmission time of the first transmission path, and it may be determined that the first transmission path satisfies the target condition and is a transmission path satisfying the demand.
The embodiment of the invention determines that the first transmission path meets the target condition when the environmental information of the first transmission path is greater than a first threshold value or the environmental information of the first transmission path is the maximum value of the environmental information of each transmission path
Based on the content of any of the above embodiments, acquiring the environmental information of each transmission path based on the state information of each first vehicle specifically includes: the transmission quality of the first vehicle on the transmission path is obtained 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 the respective transmission paths.
In particular, assuming that vehicles on a transmission path follow poisson distribution and a discrete-time markov chain model within a limited transmission range, a transmission quality probability function P (i) of a first vehicle i traveling on the transmission path of length l can be expressed as:
where k represents the number of vehicles in the transmission path overall; lambda (lambda) T Representing the total traffic density.
The transmission quality of the transmission path is acquired based on the transmission quality of each first vehicle on the transmission path.
Specifically, the transmission quality of each first vehicle on the transmission path may be processed based on a mathematical statistical method, to obtain the transmission quality of the transmission path.
Alternatively, the minimum value of the transmission quality of each first vehicle on the transmission path may be determined as the transmission quality of the transmission path.
Alternatively, an average or weighted average of the transmission quality of each first vehicle on the transmission path (the weight may be determined according to the distance between the first vehicle and the target roadside unit, the greater the distance, the greater the weight) may be determined as the transmission quality of the transmission path.
According to the embodiment of the invention, the transmission quality of the first vehicle on the transmission path is acquired based on the length of the transmission path, the serial numbers of the first vehicles on the transmission path and the sum of the traffic densities of the transmission paths, and the transmission quality of the transmission path is acquired based on the transmission quality of the first vehicles on the transmission path, so that the transmission quality of the transmission path can be acquired more accurately, and whether the first transmission path is the transmission path meeting the requirement can be judged more accurately.
Based on the foregoing in any of the embodiments, determining the second transmission path between the first target vehicle and the target roadside unit specifically includes: and selecting two transmission paths from the uncombined transmission paths to be combined to obtain a plurality of combined paths.
Specifically, the mean value and the variance of each transmission path in a plurality of transmission paths are calculated respectively, and then, based on the mean value and the variance of each transmission path, the related information of each transmission path is recursively combined by applying extremum theory; and finally, calculating an optimal transmission path through a preset objective function to be used as a second transmission path.
Assuming that the transmission path R consists of a group of arcs pi, the running time t on each arc obeys arbitrary distribution, and the average value is mu t Variance isThe correlation of travel time between the transmission paths is ρ; covariance between transmission paths is σ=ρ xy σ x σ y . Wherein ρ is xy Representing the correlation between transmission path x and transmission path y, σ x Representing covariance of transmission path x, sigma y The covariance of the transmission path y is represented.
And recursively combining the related information of each transmission path by using an extremum theory, namely selecting two transmission paths from the non-combined transmission paths without replacement for combining to obtain combined paths, thereby obtaining a plurality of combined paths.
Optionally, traversing each transmission path, randomly selecting two transmission paths as transmission paths to be combined, and combining the two transmission paths on the assumption that the randomly selected transmission paths are R1 and R2; after merging, two transmission paths are randomly selected from R3, … and RN as transmission paths to be merged, and merging is carried out; and so on until there are no uncombined transmission paths.
Note that, when N is an odd number, the last uncombined transmission path may be directly used as a combining path, or the last three uncombined transmission paths may be combined to obtain a combined path.
And determining a second transmission path based on the correlation coefficient corresponding to each combining path.
Specifically, a transmission path having the smallest correlation coefficient may be selected as the second transmission path based on the correlation coefficient corresponding to each of the combining paths.
Since the correlation coefficient is the smallest, the time taken to transmit data on the transmission path is small, and therefore, by adopting the method for determining the optimal transmission path provided in this embodiment, the transmission path with the smallest transmission time can be determined.
According to the embodiment of the invention, the merging paths are obtained by merging the transmission paths, the second transmission path is determined based on the correlation coefficient corresponding to each merging path, the transmission path with the minimum transmission time in each transmission path between the first target vehicle and the target road side unit can be determined, the first target vehicle transmits data to the target road side unit, the connection service life between each vehicle and the road side unit is not depended, the problem that the transmission path with the maximum connection service life accumulation result is blocked at present or blocked in the future or the vehicle fails, the vehicles on the transmission path cannot approach the target road side unit, more time is spent, the data transmission time delay is increased, the data transmission time delay can be reduced, and the data transmission efficiency is improved.
Based on the foregoing in any one of the foregoing embodiments, determining the second transmission path based on the correlation coefficient corresponding to each combining path specifically includes: and acquiring correlation coefficients between the two merging paths with the longest driving time and other merging paths.
Specifically, for each merging path, the travel time of the merging path is acquired. Travel time refers to the total time required to complete the merged route.
And selecting two merging paths Ri and Rn with the longest running time, and acquiring correlation coefficients of Ri, rn and the rest merging paths according to the mean value and the variance of the running time on each arc corresponding to Ri and Rn.
Where α represents the offset coefficient between paths; phi represents the cumulative distribution function of the standard normal distribution.
And determining a merging path corresponding to the minimum value in the correlation coefficient as a second transmission path.
Specifically, the minimum value of the correlation coefficients corresponding to the respective combining paths is determined, and the combining path corresponding to the minimum value is determined as the second transmission path.
According to the embodiment of the invention, the merging paths are obtained by merging the transmission paths, the second transmission path is determined based on the correlation coefficient corresponding to each merging path, the transmission path with the minimum transmission time in each transmission path between the first target vehicle and the target road side unit can be determined, the first target vehicle transmits data to the target road side unit, the connection service life between each vehicle and the road side unit is not depended, the problem that the transmission path with the maximum connection service life accumulation result is blocked at present or blocked in the future or the vehicle fails, the vehicles on the transmission path cannot approach the target road side unit, more time is spent, the data transmission time delay is increased, the data transmission time delay can be reduced, and the data transmission efficiency is improved.
In order to facilitate an understanding of the above-described embodiments of the present invention, a complete implementation of the data transmission method for a vehicle ad hoc network will be described below.
As shown in fig. 3, the data transmission method for the vehicle ad hoc network may include the steps of:
The vehicle requesting to upload data is a first target vehicle, and the transmission path with the largest connection life accumulation result is a first transmission path.
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.
For the first transmission path, the optimal transmission vehicle is the second target vehicle.
The optimal transmission path determined in step 304 is a second transmission path; for the second transmission path, the optimal transmission vehicle is the third target vehicle.
And 305, transmitting data according to the determined optimal transmission path and the optimal transmission vehicle.
The data transmission device for vehicle ad hoc network provided by the invention is described below, and the data transmission device for vehicle ad hoc network described below and the data transmission method for vehicle ad hoc network described above can be referred to correspondingly.
Fig. 4 is a schematic structural diagram of a data transmission device for vehicle ad hoc network according to the present invention. Based on the content of any of the above embodiments, as shown in fig. 4, the data transmission apparatus for a vehicle ad hoc network includes a first determining module 401, an information obtaining module 402, a second determining module 403, and an information transmitting module 404, wherein:
a first determining module 401 for determining a first transmission path between the first target vehicle and the target roadside unit;
an information acquisition module 402, configured to acquire environmental information of a first transmission path;
A second determining module 403, configured to determine, when it is determined that the first transmission path satisfies the target condition based on the environmental information of the first transmission path, a second target vehicle based on the health degree of each vehicle in the vehicle cluster to which the first target vehicle belongs;
an information transmitting module 404, configured to transmit 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 connection life accumulation result among the transmission paths between the first target vehicle and the target road side unit.
Specifically, the first determination module 401, the information acquisition module 402, the second determination module 403, and the information transmission module 404 are electrically connected in order.
The first determining module 401 may determine, as the first transmission path, a transmission path having the largest connection lifetime accumulation result among the transmission paths between the first target vehicle and the target roadside unit.
The information obtaining module 402 may obtain 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.
The second determining module 403 may determine, when the first transmission path is the optimal path, a vehicle having a health degree greater than a first health degree threshold in the first transmission path as the second target vehicle based on the health degrees of the vehicles in the vehicle cluster to which the first target vehicle belongs.
The information transmission module 404 transmits the information of the first transmission path and the information of the second target vehicle to the first target vehicle.
The first target vehicles divide the data to be transmitted into a plurality of data segments, the number of which is the same as that of the second target vehicles, and the divided data segments are distributed to the second target vehicles so that the second target vehicles send the corresponding data segments to the target road side units, and data transmission between the first target vehicles and the target road side units is achieved.
Optionally, the data transmission device for vehicle ad hoc network may further include:
a third determination module configured to determine a second transmission path between the first target vehicle and the target roadside unit, in a case where it is determined that the first transmission path does not satisfy the target condition based on the environmental information of the first transmission path;
the second determining module is further configured to determine a third target vehicle based on the health degree of each vehicle in the vehicle cluster to which the first target vehicle belongs;
The information sending module is further used for sending the information of the second transmission path and the information of the third target vehicle to the first target vehicle so that the first target vehicle can transmit data to the target road side unit based on the second transmission path and the third target vehicle;
the second transmission path is the transmission path with the smallest transmission time among the transmission paths between the first target vehicle and the target road side unit.
Alternatively, the information acquisition module 402 may include:
the request issuing unit is used for sending a data request to each road side unit covered by the first transmission path, so that the road side unit forwards the data request to a first vehicle with the distance between the road side unit and the road side unit smaller than a distance threshold value, and returns state information returned by the first vehicle;
an information receiving unit for acquiring status information of each first vehicle;
an information acquisition unit configured to acquire environmental information of each transmission path based on state information of each first vehicle;
wherein the environmental information includes at least one of traffic density, transmission quality, and average running speed of the vehicle.
Alternatively, the second determining module 403 may be specifically configured to determine that the first transmission path satisfies the target condition in a case where the environmental information of the first transmission path is greater than the first threshold value, or where the environmental information of the first transmission path is a maximum value among the environmental information of the respective transmission paths.
Alternatively, the information acquisition unit may be specifically configured to:
acquiring 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 the transmission paths;
the transmission quality of the transmission path is acquired based on the transmission quality of each first vehicle on the transmission path.
Optionally, the third determining module may include:
a path merging unit, configured to select two transmission paths from the non-merged transmission paths to merge, so as to obtain multiple merged paths;
and the path determining unit is used for determining a second transmission path based on the correlation coefficient corresponding to each combined path.
Alternatively, the path determining unit may be specifically configured to:
acquiring correlation coefficients between two merging paths with the longest driving time and other merging paths;
and determining a merging path corresponding to the minimum value in the correlation coefficient as a second transmission path.
The data transmission device for the vehicle ad hoc network provided by the embodiment of the invention is used for executing the data transmission method for the vehicle ad hoc network, the implementation mode of the data transmission device for the vehicle ad hoc network is consistent with the implementation mode of the data transmission method for the vehicle ad hoc network provided by the invention, and the same beneficial effects can be achieved, and the detailed description is omitted.
The data transmission device for the vehicle ad hoc network is used for the data transmission method for the vehicle ad hoc network of each of the foregoing embodiments. Therefore, the description and definition in the data transmission method for vehicle ad hoc network in the foregoing embodiments may be used for understanding each execution module in the embodiments of the present invention.
According to the embodiment of the invention, after the transmission path with the largest connection life accumulation result is determined, whether the transmission path is a transmission path meeting the requirement or not is determined based on the environmental information of the transmission path, and under the condition that the transmission path is the transmission path meeting the requirement, the second target vehicle is determined based on the health degree of each vehicle on the transmission path, so that the first target vehicle transmits data to the target road side unit based on the first transmission path and the second target vehicle, the situation that the vehicle on the transmission path cannot approach the target road side unit due to traffic jam or traffic jam in the future or vehicle faults at present can be avoided, more time is spent, the data transmission delay is increased, the data transmission time delay can be reduced, and the data transmission efficiency is improved.
The electronic device and the storage medium provided by the invention are described below, and the electronic device and the storage medium described below and the data transmission method for the vehicle ad hoc network described above can be referred to correspondingly.
Fig. 5 illustrates a physical schematic diagram of an electronic device, as shown in fig. 5, which may include: processor 510, communication interface (Communication Interface) 520, memory 530, and communication bus 540, wherein processor 510, communication interface 520, memory 530 complete communication with each other through communication bus 540. Processor 510 may invoke a computer program in memory 530 to perform the steps of a data transmission method for a vehicle ad hoc network, including, for example: determining a first transmission path between a first target vehicle and a target roadside unit; acquiring environment information of a first transmission path; determining a second target vehicle based on the health degree of each vehicle in the vehicle cluster to which the first target vehicle belongs under the condition that the first transmission path meets the target condition based on the environment information of the first transmission path; transmitting 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 connection life accumulation result among the transmission paths between the first target vehicle and the target road side unit.
Further, the logic instructions in the memory 530 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, are capable of performing the steps of the data transmission method for vehicle ad hoc networks provided by the methods described above, for example comprising: determining a first transmission path between a first target vehicle and a target roadside unit; acquiring environment information of a first transmission path; determining a second target vehicle based on the health degree of each vehicle in the vehicle cluster to which the first target vehicle belongs under the condition that the first transmission path meets the target condition based on the environment information of the first transmission path; transmitting 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 connection life accumulation result among the transmission paths between the first target vehicle and the target road side unit.
In another aspect, embodiments of the present application further provide a processor-readable storage medium storing a computer program, where the computer program is configured to cause the processor to perform the steps of the method provided in the foregoing embodiments, for example, including: determining a first transmission path between a first target vehicle and a target roadside unit; acquiring environment information of a first transmission path; determining a second target vehicle based on the health degree of each vehicle in the vehicle cluster to which the first target vehicle belongs under the condition that the first transmission path meets the target condition based on the environment information of the first transmission path; transmitting 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 connection life accumulation result among the transmission paths between the first target vehicle and the target road side unit.
The processor-readable storage medium may be any available medium or data storage device that can be accessed by a processor, including, but not limited to, magnetic storage (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical storage (e.g., CD, DVD, BD, HVD, etc.), semiconductor storage (e.g., ROM, EPROM, EEPROM, nonvolatile storage (NAND FLASH), solid State Disk (SSD)), and the like.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (10)
1. A data transmission method for a vehicle ad hoc network, comprising:
determining a first transmission path between a first target vehicle and a target roadside unit;
acquiring environment information of the first transmission path;
determining a second target vehicle based on the health degree of each vehicle in the vehicle cluster to which the first target vehicle belongs under the condition that the first transmission path meets the target condition based on the environment information of the first transmission path;
transmitting 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 connection life accumulation result among the transmission paths between the first target vehicle and the target road side unit.
2. The data transmission method for a vehicular ad hoc network according to claim 1, wherein after said acquiring the environmental information of the first transmission path, the method further comprises:
determining a second transmission path between the first target vehicle and the target roadside unit in a case where it is determined that the first transmission path does not satisfy the target condition based on the environmental information of the first transmission path;
determining a third target vehicle based on the health degree of each vehicle in the vehicle cluster to which the first target vehicle belongs;
transmitting 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;
the second transmission path is a transmission path with the smallest transmission time among the transmission paths between the first target vehicle and the target road side unit.
3. The method for data transmission of a vehicle ad hoc network according to claim 1, wherein said obtaining the environmental information of the first transmission path specifically comprises:
transmitting a data request to each road side unit covered by the first transmission path, so that the road side unit forwards the data request to a first vehicle with a distance smaller than a distance threshold value between the road side unit and the road side unit, and returning state information returned by the first vehicle;
acquiring state information of each first vehicle;
acquiring environmental information of each transmission path based on the state information of each first vehicle;
wherein the environmental information includes at least one of traffic density, transmission quality, and average running speed of the vehicle.
4. The data transmission method for a vehicular ad hoc network according to claim 1, wherein determining that the first transmission path satisfies a target condition based on the environmental information of the first transmission path, specifically comprises:
and determining that the first transmission path meets a target condition when the environmental information of the first transmission path is greater than a first threshold value or the environmental information of the first transmission path is a maximum value among the environmental information of the respective transmission paths.
5. The data transmission method for a vehicle ad hoc network according to claim 3, wherein said obtaining environmental information of each transmission path based on the state information of each first vehicle, specifically comprises:
acquiring 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 the transmission paths;
and acquiring the transmission quality of the transmission path based on the transmission quality of each first vehicle on the transmission path.
6. The data transmission method for a vehicle ad hoc network according to claim 2, wherein said determining a second transmission path between said first target vehicle and said target roadside unit, specifically comprises:
selecting two transmission paths from the transmission paths which are not combined to be combined to obtain a plurality of combined paths;
and determining the second transmission path based on the correlation coefficient corresponding to each merging path.
7. The method for data transmission in a vehicle ad hoc network according to claim 6, wherein determining the second transmission path based on the correlation coefficient corresponding to each of the combining paths, specifically comprises:
Acquiring correlation coefficients between the two merging paths with the longest driving time and other merging paths;
and determining the merging path corresponding to the minimum value in the correlation coefficient as the second transmission path.
8. A data transmission device for a vehicle ad hoc network, comprising:
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 a health degree of each vehicle in a vehicle cluster to which the first target vehicle belongs, when it is determined that the first transmission path satisfies a target condition based on environmental information of the first transmission path;
an information transmitting module configured to transmit 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 connection life accumulation result among the transmission paths between the first target vehicle and the target road side unit.
9. An electronic device comprising a processor and a memory storing a computer program, characterized in that the processor implements the steps of the data transmission method for a vehicle ad hoc network according to any one of claims 1 to 7 when executing the computer program.
10. A processor-readable storage medium, characterized in that the processor-readable storage medium stores a computer program for causing 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 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111326314.7A CN116112892A (en) | 2021-11-10 | 2021-11-10 | Data transmission method and device for vehicle ad hoc network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111326314.7A CN116112892A (en) | 2021-11-10 | 2021-11-10 | Data transmission method and device for vehicle ad hoc network |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116112892A true CN116112892A (en) | 2023-05-12 |
Family
ID=86258438
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111326314.7A Pending CN116112892A (en) | 2021-11-10 | 2021-11-10 | Data transmission method and device for vehicle ad hoc network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116112892A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117579535A (en) * | 2024-01-15 | 2024-02-20 | 深圳市宇通联发科技有限公司 | Transmission path planning method, device, system and medium |
-
2021
- 2021-11-10 CN CN202111326314.7A patent/CN116112892A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117579535A (en) * | 2024-01-15 | 2024-02-20 | 深圳市宇通联发科技有限公司 | Transmission path planning method, device, system and medium |
CN117579535B (en) * | 2024-01-15 | 2024-04-09 | 深圳市宇通联发科技有限公司 | Transmission path planning method, device, system and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8160616B2 (en) | Dead spot prediction method for wireless vehicular applications | |
US10826808B2 (en) | Vehicle application enabling and network routing systems implemented based on latency characterization and projection | |
Li et al. | Resource management in fog-enhanced radio access network to support real-time vehicular services | |
US10768004B2 (en) | Travel routing selection system and methods implemented based on characterization of historical latency data | |
CN112382098A (en) | Traffic jam detection method and device, electronic equipment and storage medium | |
Mustafa et al. | Mobility prediction for efficient resources management in vehicular cloud computing | |
CN107360093B (en) | Unmanned aerial vehicle and satellite hybrid network communication routing method and system | |
CN116112892A (en) | Data transmission method and device for vehicle ad hoc network | |
CN116204315A (en) | Track-based dynamic task unloading method for vehicle resource pool in Internet of vehicles | |
CN115983187A (en) | Multi-strategy-based layer distribution method considering bus deviation | |
Li et al. | A traffic congestion aware vehicle-to-vehicle communication framework based on Voronoi diagram and information granularity | |
CN112235376B (en) | Electric vehicle information monitoring method and device and electric vehicle management system | |
Hossain et al. | Cloudlet dwell time model and resource availability for vehicular fog computing | |
Saritha et al. | Learning automata-based channel reservation scheme to enhance QoS in vehicular adhoc networks | |
CN116489668A (en) | Edge computing task unloading method based on high-altitude communication platform assistance | |
CN111866810B (en) | Internet of vehicles frequency spectrum allocation method and equipment | |
CN116321351A (en) | Internet of vehicles optimization method and system based on regional routing algorithm and vehicle | |
CN113207080B (en) | Data cooperative transmission method and device in VANET and electronic equipment | |
CN114827946A (en) | Task similarity-based edge calculation method and system in Internet of vehicles scene | |
Abboud et al. | Mobility modeling for vehicular communication networks | |
EP4211555A1 (en) | Scheduling for federated learning | |
Hedayati Majdabadi et al. | TCaS‐VN: A novel V2V communication scheme to improve traffic control and safety in vehicular cloud networks | |
Wadea et al. | Enhancing VANET connectivity through utilizing autonomous vehicles | |
Xu et al. | Offloading elastic transfers to opportunistic vehicular networks based on imperfect trajectory prediction | |
CN117896780B (en) | Vehicle-mounted mobile WIFI data processing method, device and system based on TBOX |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |