Internet of vehicles end-to-end data transmission method and device, storage medium and program product
Through the end-to-end data transmission method of the Internet of Vehicles, intermediate node forwarding and location coordinates are used to determine the shortest path, which solves the information transmission delay problem caused by the limited processing speed of the cloud server and improves the transmission efficiency and packet arrival rate.
Patent Information
- Application Number
- CN202410811784.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-06-21
AI Technical Summary
When cloud servers process the ever-increasing data of Internet of Vehicles systems, they cause problems with high information transmission delays.
Through the end-to-end data transmission method of the Internet of Vehicles, the identification and location coordinates of the current node and the target node are obtained, and the transmission distance is determined. If the preset distance is exceeded, the intermediate node is selected for forwarding, gradually reducing the sector range of the transmission path, and sending it directly to the target node. , avoid cloud server forwarding and optimize transmission routes and number of nodes.
It reduces the information transmission delay of the Internet of Vehicles system, improves the packet arrival rate, reduces invalid transmission, and improves transmission efficiency.
Smart Images

Figure CN118828784A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information communication technology, and in particular to a vehicle network end-to-end data transmission method, device, storage medium and program product. Background Art
[0002] The Internet of Vehicles (IoV) is an intelligent transportation system that connects vehicles and road infrastructure through wireless communication technology. By connecting vehicles, road infrastructure and other related entities through communication technology, information exchange and coordinated actions can be achieved, traffic safety can be improved, traffic congestion can be reduced, and exhaust emissions can be reduced, providing drivers and passengers with a more convenient travel experience.
[0003] At present, the traditional wireless communication method of the Internet of Vehicles includes: using a cloud server as a central platform to receive and forward information sent by vehicles or road infrastructure to realize information exchange between vehicles and road infrastructure.
[0004] However, as the number of cars in my country gradually increases, the terminal base in the Internet of Vehicles system is getting larger and larger, and the data that cloud servers need to process is also gradually increasing. However, the processing speed of cloud servers is limited, which will lead to high information transmission delays in the Internet of Vehicles system. Summary of the invention
[0005] In view of this, embodiments of the present invention provide a method, device, storage medium and program product for end-to-end data transmission in an Internet of Vehicles to eliminate or improve one or more defects in the prior art.
[0006] One aspect of the present invention provides a vehicle network end-to-end data transmission method, the method comprising the following steps:
[0007] In response to the currently received transmission information, obtaining a current node identifier corresponding to the current node;
[0008] Compare the current node identifier with the target node identifier carried in the transmission information to obtain a comparison result; the comparison result is used to indicate whether the current node identifier is the same as the target node identifier;
[0009] When the comparison result indicates that the current node identifier is different from the target node identifier, obtaining the position coordinates of the current node;
[0010] Based on the position coordinates of the current node and the position coordinates of the target node, determine the current distance between the current node and the target node;
[0011] In the case where the current distance is greater than the preset transmission distance corresponding to the current node, an intermediate node is determined within the preset transmission distance of the current node; the intermediate node is close to the target node within the preset transmission distance;
[0012] The transmission information is sent to the intermediate node, so that the intermediate node, when receiving the transmission information, executes the step of obtaining the current node identifier corresponding to the current node in response to the currently received transmission information.
[0013] In some embodiments of the present invention, determining an intermediate node within a preset transmission distance of a current node includes:
[0014] Get the shortest transmission path between the current node and the target node;
[0015] Among the nodes on the shortest transmission path, an intermediate node is determined based on a preset transmission distance and a distance between each node and a target node.
[0016] In some embodiments of the present invention, obtaining the shortest transmission path between the current node and the target node includes:
[0017] Send the target node identifier and the current node identifier to the cloud server, so that after receiving the target node identifier and the current node identifier, the cloud server generates the shortest transmission path based on the node location information uploaded in real time by each node and returns it;
[0018] Receive the shortest transmission path returned by the cloud server.
[0019] In some embodiments of the present invention, when the current distance is less than or equal to the preset transmission distance corresponding to the current node, the method further includes: sending the transmission data to the target node according to the shortest transmission path.
[0020] In some embodiments of the present invention, the transmission data includes forwarding parameters, which include the number of original data packets of the transmission data, the number of data packets received by the current node, the number of nodes passed by the transmission data, the first sending time of the transmission data, and the time when the current node receives the transmission information; before obtaining the current node identifier corresponding to the current node, it also includes: updating the forwarding parameters.
[0021] In some embodiments of the present invention, when the comparison result indicates that the current node identifier is the same as the target node identifier, the method further includes:
[0022] The packet arrival rate corresponding to the transmitted data is calculated based on the number of original data packets of the transmitted data and the number of data packets received by the current node; and / or, the number of routing hops corresponding to the transmitted data is calculated based on the number of nodes passed by the transmitted data; and / or, the transmission delay corresponding to the transmitted data is calculated based on the first sending time of the transmitted data and the time when the current node receives the transmitted information.
[0023] In some embodiments of the present invention, when the comparison result indicates that the current node identifier is the same as the target node identifier, the method further includes:
[0024] The transmission information is compared with the historical transmission information, and if the transmission information is included in the historical transmission information, the transmission information is ignored.
[0025] Another aspect of the present invention provides an end-to-end data transmission device for the Internet of Vehicles, including a processor, a memory, and a computer program / instructions stored in the memory, wherein the processor is used to execute the computer program / instructions, and when the computer program / instructions are executed, the device implements the steps of the aforementioned end-to-end data transmission method for the Internet of Vehicles.
[0026] Another aspect of the present invention provides a computer-readable storage medium having a computer program / instruction stored thereon, which, when executed by a processor, implements the steps of the aforementioned vehicle network end-to-end data transmission method.
[0027] Another aspect of the present invention provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the aforementioned vehicle network end-to-end data transmission method.
[0028] The vehicle network end-to-end data transmission method and device of the present invention obtains the current node identifier corresponding to the current node in response to the currently received transmission information; compares the current node identifier with the target node identifier carried in the transmission information to obtain a comparison result; when the comparison result indicates that the current node identifier is different from the target node identifier, obtains the position coordinates of the current node; determines the current distance between the current node and the target node based on the position coordinates of the current node and the position coordinates of the target node; when the current distance is greater than the preset transmission distance corresponding to the current node, determines the intermediate node within the preset transmission distance of the current node; sends the transmission information to the intermediate node, so that the intermediate node executes the step of obtaining the current node identifier corresponding to the current node in response to the currently received transmission information when receiving the transmission information; it can solve the problem that the data that needs to be processed by the cloud server is gradually increasing, and the processing speed of the cloud server is increasing. The problem of high information transmission delay in the Internet of Vehicles system is limited. In the Internet of Vehicles system, the node that receives the transmission information is regarded as the current node. Whenever the transmission information is transmitted from the current node to the next node, the next node is set as the new current node. This operation is repeated to continuously reduce the fan-shaped range of the transmission path, reduce non-optimal transmission routes, gradually approach the target node, and send the transmission information to the target node. There is no need to use a cloud server to forward the transmission information. Therefore, it can avoid the cloud server from causing high transmission delays due to the need to process more information, thereby reducing the delay in information transmission in the Internet of Vehicles system. At the same time, by calculating the distance between the current node and the target node and the preset transmission distance of the current node, the number of vehicle nodes that send and receive information is continuously limited and reduced, the number of forwarding times of the transmission information during the transmission process is optimized, and the invalid transmission of the transmission information is reduced. Therefore, the packet arrival rate when the transmission information arrives at the target node can be improved.
[0029] Additional advantages, purposes, and features of the present invention will be described in part in the following description, and will become apparent to those skilled in the art after studying the following, or may be learned from the practice of the present invention. The purposes and other advantages of the present invention may be achieved and obtained by the structures specifically indicated in the specification and the accompanying drawings.
[0030] Those skilled in the art will appreciate that the objectives and advantages that can be achieved with the present invention are not limited to the above specific description, and the above and other objectives that can be achieved by the present invention will be more clearly understood from the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The drawings described herein are used to provide a further understanding of the present invention, constitute a part of the present application, and do not constitute a limitation of the present invention. In the drawings:
[0032] Figure 1A flowchart of an end-to-end data transmission method for an Internet of Vehicles provided by an embodiment of the present invention.
[0033] Figure 2 A schematic diagram of a vehicle networking system provided by an embodiment of the present invention.
[0034] Figure 3 A diagram showing the relationship between packet arrival rate and number of iterations provided in one embodiment of the present invention.
[0035] Figure 4 A graph showing the relationship between average transmission delay and number of iterations provided in one embodiment of the present invention.
[0036] Figure 5 A relationship diagram between the average number of routing hops and the number of iterations provided in an embodiment of the present invention.
[0037] Figure 6 A block diagram of an end-to-end data transmission device for an Internet of Vehicles provided in accordance with another embodiment of the present invention. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments and the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.
[0039] It should also be noted that, in order to avoid obscuring the present invention due to unnecessary details, only structures and / or processing steps closely related to the solutions according to the present invention are shown in the accompanying drawings, while other details that are not closely related to the present invention are omitted.
[0040] It should be emphasized that the term “include / comprises” when used herein refers to the presence of features, elements, steps or components, but does not exclude the presence or addition of one or more other features, elements, steps or components.
[0041] It should also be noted that, unless otherwise specified, the term “connection” herein may refer not only to a direct connection but also to an indirect connection with an intermediate.
[0042] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the accompanying drawings, the same reference numerals represent the same or similar components, or the same or similar steps.
[0043] The present invention provides an end-to-end data transmission method for the Internet of Vehicles, which is an intelligent transportation system based on Internet technology, connecting and interacting each vehicle as a node. Through the application of sensors, 5G communication equipment and data processing technology, the Internet of Vehicles enables vehicles to achieve real-time communication and data exchange with other vehicles, infrastructure and cloud platforms. Through the Internet of Vehicles, vehicles can exchange information in real time, including traffic congestion, traffic light status, road conditions, accident alarms, etc. At the same time, it can also be connected to urban infrastructure, such as traffic lights, roadside parking facilities, charging piles, etc., to achieve more efficient and intelligent traffic management and services.
[0044] Figure 1 FIG. 1 is a flow chart of a vehicle network end-to-end data transmission method according to an embodiment of the present invention. Figure 1 As shown, the end-to-end data transmission method of the Internet of Vehicles includes at least the following steps S101 to S106:
[0045] S101, in response to currently received transmission information, obtaining a current node identifier corresponding to a current node.
[0046] The transmission information includes information generated by the urban public transportation system, smart city system or urban infrastructure service system and sent to the current node. For example, the Internet of Vehicles system can connect with the urban public transportation system to enable the vehicle node to receive information such as traffic congestion and facility location generated by urban public transportation tools or facilities; or the Internet of Vehicles system can integrate with the urban emergency management system to enable the vehicle node to receive information such as accident warnings generated by the urban emergency management system.
[0047] Alternatively, the transmission information also includes information forwarded by other nodes to the current node. For example, taking the source node as node A, the current node as node B, and the target node as node C, node A generates transmission information and forwards the transmission information to node C through node B.
[0048] In some embodiments of the present invention, the Internet of Vehicles system constructed by each vehicle node can send transmission information from the source node to the target node. The transmission node carries a target node identifier corresponding to the target node, and the target node identifier is used to uniquely indicate the target node. In the process of forwarding the transmission information by the Internet of Vehicles system, the node receiving the transmission information determines whether it is the target node based on the target node identifier carried in the transmission information and the current node identifier stored locally. Among them, the target node identifier is used to uniquely indicate the target node, and the current node identifier is used to uniquely indicate the current node that currently receives the transmission information.
[0049] S102, comparing the current node identifier with the target node identifier carried in the transmission information to obtain a comparison result; the comparison result is used to indicate whether the current node identifier is the same as the target node identifier.
[0050] The node identifier may be a combination of letters, numbers or characters. Different nodes correspond to different node identifiers. This embodiment does not limit the implementation method of the node identifier.
[0051] In some embodiments of the present invention, the identifier corresponding to the node currently receiving the transmission information is compared with the target node identifier carried in the transmission information to determine whether the current node is the target node. When the current node identifier corresponding to the current node is the same as the target node identifier, the current node is determined to be the target node; when the current node identifier is different from the target node identifier but is the same as the target node identifier, the transmission information is forwarded via the current node.
[0052] S103: When the comparison result indicates that the current node identifier is different from the target node identifier, obtain the position coordinates of the current node.
[0053] In some embodiments of the present invention, when the comparison result indicates that the current node identifier is different from the target node identifier, that is, the current node is not the target node, the current node forwards the transmission information to the target node.
[0054] In order to reduce the range circle of vehicle nodes that include all information transmission and reception, in some embodiments of the present invention, a target node or a vehicle node that can serve as an intermediate node is determined among the vehicle nodes within a fan-shaped range determined by the position coordinates of the current node as the center and the preset transmission distance of the current node as the radius.
[0055] The preset transmission distance of the current node is a distance preset according to the effective radiation radius of the communication device installed at the current node. The preset transmission distances corresponding to different nodes are different or the same, and this embodiment does not limit the implementation method of the preset transmission distance.
[0056] In some embodiments of the present invention, the current node obtains the position coordinates through a combination of one or more technologies including Global Positioning System (GPS) technology, cellular network positioning technology, or Inertial Navigation System (INS) technology.
[0057] In actual implementation, the current node may also exchange location information and sensor data with other vehicle nodes or roadside unit nodes in the Internet of Vehicles system to perform collaborative positioning and obtain location coordinates. This embodiment does not limit the implementation method of the current node obtaining the location coordinates.
[0058] In some embodiments of the present invention, when the comparison result indicates that the current node identifier is the same as the target node identifier, the method further includes: comparing the transmission information with historical transmission information, and ignoring the transmission information if the historical transmission information includes the transmission information.
[0059] S104, determining a current distance between the current node and the target node based on the position coordinates of the current node and the position coordinates of the target node.
[0060] In some embodiments of the present invention, before determining the current distance between the current node and the target node based on the position coordinates of the current node and the position coordinates of the target node, the current node also needs to obtain the position coordinates of the target node.
[0061] In one example, the target node can obtain the location coordinates of the target node through a combination of one or more technologies such as the Global Positioning System (GPS) technology, cellular network positioning technology, or inertial navigation system (INS) technology, and upload the location coordinates and the target node identifier corresponding to the target node to the cloud server in real time. The current node sends the target node identifier carried in the transmission information to the cloud server, so that the cloud server can query the location coordinates of the target node according to the target node identifier and return it.
[0062] Specifically, before determining the current distance between the current node and the target node based on the position coordinates of the current node and the position coordinates of the target node, it also includes: generating a position coordinate query instruction based on the target node identifier; sending the position coordinate query instruction to the cloud server, so that the cloud server obtains the position coordinates of the target node based on the target node identifier when receiving the position coordinate query instruction, and returns it; receiving the position coordinates of the target node returned by the cloud server.
[0063] For example: take the current node as node A and the target node as node B; during driving, node A and node B send location coordinates and node identifiers to the cloud server in real time; node A sends the node identifier of node B carried in the transmission information to the cloud server, and the cloud server queries the location coordinates of node B based on the node identifier of node B sent by node A and sends them to node A.
[0064] In another example, the current node may also exchange location information and sensor data with other vehicle nodes or roadside unit nodes in the Internet of Vehicles system to perform collaborative positioning and obtain the location coordinates of the target node.
[0065] For example, taking the current node as node A and the target node as node B, when node B is outside the preset propagation distance of node A, node A can obtain the location coordinates of node B through forwarding by other nodes between node A and node B.
[0066] After the current distance is calculated based on the position coordinates of the current node and the target node, the current distance is compared with the preset transmission distance corresponding to the current node. When the current distance is less than or equal to the preset transmission distance, that is, when the target node is within the preset transmission distance of the current node, the current node directly sends the transmission information to the target node.
[0067] When the current distance is greater than the preset transmission distance, that is, when the target node is outside the preset transmission distance of the current node, Figure 3 As shown, the current node also needs to determine the node closest to the target node within the preset transmission distance as an intermediate node, and send the transmission information to the intermediate node.
[0068] S105: When the current distance is greater than the preset transmission distance corresponding to the current node, determine an intermediate node within the preset transmission distance of the current node.
[0069] Among them, the intermediate node is close to the target node within the preset transmission distance. For example, take the current node as node A and the target node as node B; within the preset transmission distance of the current node A, there are nodes C and D; when the distance between node C and node B is less than the distance between node D and node B, node C is determined as the intermediate node; when the distance between node C and node B is greater than the distance between node D and node B, node D is determined as the intermediate node.
[0070] In some embodiments of the present invention, before determining the intermediate node, it is also necessary to first determine the shortest transmission path between the current node and the target node, and determine the intermediate node among the nodes on the shortest transmission path. In this way, the transmission distance of the transmitted information in the Internet of Vehicles system can be minimized, unnecessary forwarding can be avoided, and transmission delay and signal attenuation during transmission can be reduced. At the same time, because the number of routers through which the transmitted information passes is smaller, the forwarding and processing time of the router is shorter, thereby improving transmission efficiency and reducing transmission delay.
[0071] Specifically, within the preset transmission distance of the current node, an intermediate node is determined, including: obtaining the shortest transmission path between the current node and the target node; among each node on the shortest transmission path, an intermediate node is determined based on the preset transmission distance and the distance between each node and the target node.
[0072] Among them, obtaining the shortest transmission path between the current node and the target node includes: sending the target node identifier and the current node identifier to the cloud server, so that after receiving the target node identifier and the current node identifier, the cloud server generates and returns the shortest transmission path based on the node position information uploaded by each node in real time; receiving the shortest transmission path returned by the cloud server.
[0073] In some embodiments of the present invention, the cloud server needs to dynamically obtain the network topology through network protocols (such as routing protocols, neighbor discovery protocols, etc.), analyze the topological structure of the Internet of Vehicles system, and understand the connection relationship between each vehicle node; then, the cloud server uses the shortest path algorithm to calculate the shortest path from the current node to the target node. The shortest path algorithm includes but is not limited to the Dijkstra algorithm, the Bellman-Ford algorithm, or the Floyd-Warshall algorithm.
[0074] In addition, in some embodiments of the present invention, the cloud server can also provide more accurate traffic forecasts and decision support by deeply mining and analyzing a large amount of vehicle data based on the location information and big data analysis technology uploaded in real time by each vehicle node in the Internet of Vehicles system, thereby improving the intelligence level of the entire transportation system.
[0075] When the current distance is less than or equal to the preset transmission distance corresponding to the current node, that is, when the target node is within the preset transmission range of the current node, the target node is the node on the shortest transmission path. At this time, it is only necessary to send the transmission data to the target node according to the shortest transmission path.
[0076] Specifically, when the current distance is less than or equal to the preset transmission distance corresponding to the current node, it also includes: sending the transmission data to the target node according to the shortest transmission path.
[0077] In addition, in some embodiments of the present invention, the transmission data includes forwarding parameters, which include the number of original data packets of the transmission data, the number of data packets received by the current node, the number of nodes passed by the transmission data, the first sending time of the transmission data, and the time when the current node receives the transmission information.
[0078] Specifically, before obtaining the current node identifier corresponding to the current node, the method further includes: updating a forwarding parameter.
[0079] In some embodiments of the present invention, when the comparison result indicates that the current node identifier is the same as the target node identifier, it also includes: calculating the packet arrival rate corresponding to the transmission data based on the number of original data packets of the transmission data and the number of data packets received by the current node; and / or, calculating the number of routing hops corresponding to the transmission data based on the number of nodes passed by the transmission data; and / or, calculating the transmission delay corresponding to the transmission data based on the first sending time of the transmission data and the time when the current node receives the transmission information.
[0080] The packet arrival rate can be expressed as follows:
[0081] ∝=N dn / N on
[0082] Where ∝ is the packet arrival rate corresponding to the transmission information reaching the current node, N dn N is the number of data packets corresponding to the transmission information received by the current node; on Indicates the number of original data packets corresponding to the transmission data sent from the source node.
[0083] The routing hop count can be expressed as follows:
[0084] N rhc =N-1
[0085] Where N rhc is the number of routing hops corresponding to the transmission process of the transmission information; N is the number of nodes passed by the transmission process of the transmission information.
[0086] The transmission delay can be expressed as follows:
[0087] t=t dn -t on
[0088] In the formula, t represents the transmission delay corresponding to the transmission information; t on Indicates the first sending time of the transmission data; t dn Indicates the time when the current node receives the transmission information.
[0089] In some embodiments of the present invention, the number of routing hops for data transmission is optimized according to the packet arrival rate, and the invalid transmission of information is limited, thereby reducing the transmission delay and improving the packet arrival rate.
[0090] In some embodiments of the present invention, through simulation verification, an iterative optimization algorithm is used to further improve the end-to-end transmission efficiency. In order to ensure the shortest path as much as possible, each iteration makes the distance of each hop closer to the transmission limit distance than the original solution. Therefore, Figures 3 to 5As shown in the figure, receivedCom is the packet arrival rate, average delay is the average transmission delay, and average hops is the average routing hop number. Although the packet arrival rate will decrease slightly (with the increase of transmission distance, the signal strength will weaken, thus affecting the transmission of data packets), the total transmission distance from the source node to the target node can be regarded as unchanged, so the average routing hop number will decrease, and the corresponding average delay will also decrease as the average routing hop number decreases. Based on this, in some embodiments of the present invention, by sacrificing a little packet arrival rate, the transmission of transmitted information can still be guaranteed to have a high reliability. At the same time, the average transmission delay and average hop number are greatly improved, and the average routing hop number and average transmission delay are reduced.
[0091] In some embodiments of the present invention, in a simulation platform, simulation modeling tools Simulation of Urban Mobility (SUMO), OMNeT++ and Vehicles in Network Simulation (Veins) are combined to realize the simulation of the multi-channel / multi-hop data transmission process of the Internet of Vehicles system, breaking through the limitations of hardware conditions in actual scenarios, and verifying the effectiveness and robustness of the proposed algorithm by testing the algorithm performance of large-scale road networks and group vehicle data under high concurrency conditions.
[0092] S106, sending the transmission information to the intermediate node, so that the intermediate node executes the step of obtaining the current node identifier corresponding to the current node in response to the currently received transmission information when receiving the transmission information.
[0093] In some embodiments of the present invention, a recursive idea is adopted to first set the routing protocol of each node, determine the next transmission direction of the transmitted information, set the next receiving node as the new sending node, and continuously reduce the transmission range according to the geometric relationship between the positions of the nodes until the transmission information is successfully transmitted to the target node, completing the multi-hop transmission.
[0094] Specifically, after the current node sends the transmission information to the intermediate node, when the intermediate node receives the transmission information, the intermediate node will be regarded as a new current node, and step S101 will be executed, and the above steps will be repeated until the target node receives the transmission information.
[0095] In summary, the vehicle network end-to-end data transmission method provided by the present invention obtains the current node identifier corresponding to the current node in response to the currently received transmission information; compares the current node identifier with the target node identifier carried in the transmission information to obtain a comparison result; when the comparison result indicates that the current node identifier is different from the target node identifier, obtains the position coordinates of the current node; determines the current distance between the current node and the target node based on the position coordinates of the current node and the position coordinates of the target node; when the current distance is greater than the preset transmission distance corresponding to the current node, determines the intermediate node within the preset transmission distance of the current node; sends the transmission information to the intermediate node, so that the intermediate node executes the step of obtaining the current node identifier corresponding to the current node in response to the currently received transmission information when receiving the transmission information; it can solve the problem that the data that needs to be processed by the cloud server is gradually increasing, and the processing of the cloud server is The problem of high information transmission delay in the Internet of Vehicles system caused by limited speed; in the Internet of Vehicles system, the node that receives the transmission information is regarded as the current node. Whenever the transmission information is transmitted from the current node to the next node, the next node is set as the new current node, and this operation is repeated to continuously narrow the fan-shaped range of the transmission path, reduce non-optimal transmission routes, gradually approach the target node, and send the transmission information to the target node without using a cloud server to forward the transmission information. Therefore, it can avoid the cloud server from causing high transmission delays due to the need to process more information, thereby reducing the delay in information transmission in the Internet of Vehicles system; at the same time, by calculating the distance between the current node and the target node and the preset transmission distance of the current node, the number of vehicle nodes that send and receive information is continuously limited and reduced, the number of forwarding times of the transmission information during the transmission process is optimized, and the invalid transmission of the transmission information is reduced. Therefore, the packet arrival rate when the transmission information arrives at the target node can be improved.
[0096] Corresponding to the above method, the present invention also provides a vehicle network end-to-end data transmission device, the device includes a computer device, such as Figure 6 As shown, the computer device includes a processor 610 and a memory 620, the memory 620 stores computer instructions, and the processor 610 is used to execute the computer instructions stored in the memory 620. When the computer instructions are executed by the processor 610, the device implements the steps of the above-mentioned Internet of Vehicles end-to-end data transmission method.
[0097] The processor 610 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 610 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 610 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 610 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 610 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0098] The memory 610 may include one or more computer-readable storage media, which may be non-transitory. The memory 610 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 610 is used to store at least one instruction, which is used to be executed by the processor 610 to implement the vehicle network end-to-end data transmission method provided in the method embodiment of the present application.
[0099] In some embodiments, the vehicle network end-to-end data transmission device may also optionally include: a peripheral device interface and at least one peripheral device. The processor 610, the memory 610 and the peripheral device interface may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface via a bus, a signal line or a circuit board. Schematically, the peripheral devices include but are not limited to: a radio frequency circuit, a touch display screen, an audio circuit, and a power supply.
[0100] Of course, the Internet of Vehicles end-to-end data transmission device may also include fewer or more components, which is not limited in this embodiment.
[0101] The embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the end-to-end data transmission method of the vehicle network provided by the method embodiment are implemented. The computer-readable storage medium can be a tangible storage medium, such as a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a floppy disk, a hard disk, a removable storage disk, a CD-ROM, or any other form of storage medium known in the technical field.
[0102] An embodiment of the present invention also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the vehicle network end-to-end data transmission method provided in the method embodiment of the present application.
[0103] It should be understood by those skilled in the art that the exemplary components, systems and methods described in conjunction with the embodiments disclosed herein can be implemented in hardware, software or a combination of the two. Whether it is implemented in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.
[0104] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.
[0105] In the present invention, features described and / or illustrated for one embodiment may be used in the same or similar manner in one or more other embodiments, and / or combined with features of other embodiments or replace features of other embodiments.
[0106] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the embodiments of the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A vehicle network end-to-end data transmission method, characterized in that: The method comprises the following steps: In response to the currently received transmission information, obtaining a current node identifier corresponding to the current node; Comparing the current node identifier with the target node identifier carried in the transmission information to obtain a comparison result; the comparison result is used to indicate whether the current node identifier is the same as the target node identifier; When the comparison result indicates that the current node identifier is different from the target node identifier, obtaining the position coordinates of the current node; Determine a current distance between the current node and the target node based on the position coordinates of the current node and the position coordinates of the target node; In the case where the current distance is greater than the preset transmission distance corresponding to the current node, an intermediate node is determined within the preset transmission distance of the current node; the intermediate node is close to the target node within the preset transmission distance; The transmission information is sent to the intermediate node, so that the intermediate node, when receiving the transmission information, executes the step of acquiring the current node identifier corresponding to the current node in response to the currently received transmission information.
2. The method according to claim 1, characterized in that The step of determining an intermediate node within the preset transmission distance of the current node includes: Obtaining the shortest transmission path between the current node and the target node; Among the nodes on the shortest transmission path, the intermediate node is determined based on the preset transmission distance and the distance between the nodes and the target node.
3. The method according to claim 2, characterized in that The obtaining the shortest transmission path between the current node and the target node includes: Sending the target node identifier and the current node identifier to the cloud server, so that after receiving the target node identifier and the current node identifier, the cloud server generates the shortest transmission path based on the node position information uploaded by each node in real time and returns it; Receive the shortest transmission path returned by the cloud server.
4. The method according to claim 2, characterized in that: In a case where the current distance is less than or equal to a preset transmission distance corresponding to the current node, the method further includes: sending the transmission data to the target node according to the shortest transmission path.
5. The method according to claim 1, characterized in that The transmission data includes forwarding parameters, which include the number of original data packets of the transmission data, the number of data packets received by the current node, the number of nodes through which the transmission data passes, the first sending time of the transmission data, and the time when the current node receives the transmission information; Before obtaining the current node identifier corresponding to the current node, the method further includes: updating the forwarding parameter.
6. The method according to claim 5, characterized in that When the comparison result indicates that the current node identifier is the same as the target node identifier, the method further includes: Based on the number of original data packets of the transmission data and the number of data packets received by the current node, the packet arrival rate corresponding to the transmission data is calculated; and / or, based on the number of nodes passed by the transmission data, the number of routing hops corresponding to the transmission data is calculated; and / or, based on the first sending time of the transmission data and the time when the current node receives the transmission information, the transmission delay corresponding to the transmission data is calculated.
7. The method according to claim 1, characterized in that When the comparison result indicates that the current node identifier is the same as the target node identifier, the method further includes: The transmission information is compared with historical transmission information, and when the historical transmission information includes the transmission information, the transmission information is ignored.
8. A vehicle network end-to-end data transmission device, comprising a processor, a memory, and a computer program / instruction stored in the memory, characterized in that: The processor is used to execute the computer program / instructions. When the computer program / instructions are executed, the device implements the steps of the method according to any one of claims 1 to 7.
9. A computer-readable storage medium having a computer program / instruction stored thereon, characterized in that: When the computer program / instructions are executed by a processor, the steps of the method as claimed in any one of claims 1 to 7 are implemented.
10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Routing method in vehicular ad hoc network based on content integrality and geographic crossroads
CN104185164A
Network topology construction method and device
CN106685745A
Position estimation device, position estimation system and mobile node
JP2023122345A
Apparatus and method for transmitting the data byoptimum path determination in the mobile ad-hoc network
KR1020050102714A
