Vehicle terminal data transmission method and device, and computer equipment
By forming a wireless grid network between vehicle terminals and equipment nodes, the location information and path cost of the device node are used to update the routing table, and the best transmission path is selected to solve the existing vehicle remote diagnosis technology in the unstable or coverage of the signal of the existing vehicle. The problem of poor time -effective effects realizes efficient and reliable vehicle terminal data transmission.
Patent Information
- Application Number
- CN202411886654.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-20
- Publication Date
- 2025-01-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing remote diagnosis technology of vehicles relies on a centralized architecture. The results are poor when the signal is unstable or the coverage is limited, making it difficult to meet the vehicle reliability and real-time fault diagnosis requirements under complex operating conditions.
By forming a wireless mesh network between vehicle terminals and equipment nodes, the location information and path cost of the equipment nodes are used to update the routing table, select the best transmission path, and achieve multi-hop transmission and reliable transmission of data.
The method of transmitting data through multiple device nodes reduces the bandwidth pressure of the direct communication of each device node and server, improves the scalability and communication efficiency of the system, and is suitable for environments with a signal difference or limited coverage.
Smart Images

Figure CN119364473A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method, device, and computer equipment for transmitting vehicle terminal data. Background Art
[0002] As engineering vehicles operate under complex working conditions, the demand for vehicle reliability and real-time fault diagnosis is increasing. Existing vehicle remote diagnosis technology usually relies on a centralized architecture, where vehicle nodes communicate directly with the central server through cellular networks or single-hop wireless communications, and mainly rely on a single network to transmit the vehicle's electronic controller (ECU, Electronic Control Unit) or sensor data to the central control system for fault diagnosis. Traditional vehicle communication systems are less effective in environments with unstable signals or limited coverage. Summary of the invention
[0003] Based on this, it is necessary to provide a vehicle terminal data transmission method, device, and computer equipment to address the above technical issues.
[0004] In a first aspect, the present application provides a method for transmitting vehicle terminal data. The method comprises:
[0005] Receiving broadcast information sent by device nodes within a target range of a source node, the source node and the device nodes forming a wireless mesh network;
[0006] updating a routing table of a source node based on the location information and path cost of the device node in the broadcast information, wherein the path cost includes a path cost from the device node to any other device node in the wireless mesh network, and the routing table is used to store a path and path cost from the source node to a target node in the wireless mesh network;
[0007] A first-ranked path is obtained based on the routing table as a transmission path, and the vehicle terminal data of the source node is transmitted to the target node through the transmission path, so that the target node transmits the vehicle terminal data to the server.
[0008] In one of the embodiments, the transmission path includes at least one device node, and after the source node transmits the vehicle terminal data to the first device node in the transmission path, it is confirmed whether a confirmation response message sent by the first device node is received;
[0009] If the source node receives the confirmation response message, it continues to transmit data until the vehicle terminal data is transmitted to the target node.
[0010] In one of the embodiments, the routing table includes multiple transmission paths. When the first-ranked transmission path is interrupted or a device node in the first-ranked transmission path moves, the routing table is updated to use the updated first-ranked transmission path as the path to be used.
[0011] In one embodiment, transmitting the vehicle terminal data of the source node to the target node through the transmission path includes:
[0012] Continuously monitoring the connection quality between the device nodes in the transmission path and the device nodes within the target range, and determining abnormal device nodes whose connection quality is lower than a preset threshold, so that the abnormal device nodes send routing request information;
[0013] After the abnormal device node receives the routing reply information from other device nodes, the routing table is updated and the transmission path is switched.
[0014] In one of the embodiments, the vehicle terminal data includes vehicle data of different priorities;
[0015] Prioritize the transmission of vehicle data with a priority higher than the preset transmission threshold.
[0016] In one of the embodiments, after determining the transmission path ranked first, the method further includes:
[0017] In the case where the source node does not receive a data response, the data response includes a response received after the source node sends data to the target node;
[0018] The vehicle terminal data is stored in a cache until a data response is received, and then the vehicle terminal data is transmitted to a target node.
[0019] In a second aspect, the present application further provides a vehicle terminal data transmission device, the device comprising:
[0020] A receiving module, used to receive broadcast information sent by device nodes within a target range of a source node, wherein the source node and the device nodes form a wireless mesh network;
[0021] An updating module, configured to update a routing table of a source node based on the location information and path cost of the device node in the broadcast information, wherein the path cost includes a path cost from the device node to any other device node in the wireless mesh network, and the routing table is configured to store a path and path cost from the source node to a target node in the wireless mesh network;
[0022] A transmission module is used to obtain the first-ranked path based on the routing table as a transmission path, and transmit the vehicle terminal data of the source node to the target node through the transmission path, so that the target node transmits the vehicle terminal data to the server.
[0023] In one of the embodiments, the transmission path includes at least one device node, and after the source node transmits the vehicle terminal data to the first device node in the transmission path, it is confirmed whether a confirmation response message sent by the first device node is received;
[0024] If the source node receives the confirmation response message, it continues to transmit data until the vehicle terminal data is transmitted to the target node.
[0025] In one of the embodiments, the routing table includes multiple transmission paths. When the first-ranked transmission path is interrupted or a device node in the first-ranked transmission path moves, the routing table is updated to use the updated first-ranked transmission path as the path to be used.
[0026] In one embodiment, transmitting the vehicle terminal data of the source node to the target node through the transmission path includes:
[0027] Continuously monitoring the connection quality between the device nodes in the transmission path and the device nodes within the target range, and determining abnormal device nodes whose connection quality is lower than a preset threshold, so that the abnormal device nodes send routing request information;
[0028] After the abnormal device node receives the routing reply information from other device nodes, the routing table is updated and the transmission path is switched.
[0029] In one of the embodiments, the vehicle terminal data includes vehicle data of different priorities;
[0030] Prioritize the transmission of vehicle data with a priority higher than the preset transmission threshold.
[0031] In one of the embodiments, after determining the transmission path ranked first, the apparatus further includes:
[0032] In the case where the source node does not receive a data response, the data response includes a response received after the source node sends data to the target node;
[0033] The vehicle terminal data is stored in a cache until a data response is received, and then the vehicle terminal data is transmitted to a target node.
[0034] In a third aspect, the present disclosure further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the vehicle terminal data transmission method are implemented.
[0035] In a fourth aspect, the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the vehicle terminal data transmission method are implemented.
[0036] In a fifth aspect, the present disclosure further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the vehicle terminal data transmission method are implemented.
[0037] The above-mentioned vehicle terminal data transmission method has at least the following beneficial effects:
[0038] In the embodiment scheme provided by the present disclosure, multiple device nodes can self-organize to form a wireless mesh network to achieve multi-hop transmission. Multi-hop communication transmits data through multiple device nodes in a collaborative manner, reducing the bandwidth pressure on each device node to directly communicate with the server, and improving the scalability and communication efficiency of the system. During the continuous movement of the node, the routing table can be updated according to the received location information and path cost of the device nodes within the target range, and the best transmission path can be selected.
[0039] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the conventional technology, the drawings required for use in the embodiments or the conventional technology descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0041] Figure 1 is a schematic diagram of a conventional vehicle communication architecture in one embodiment;
[0042] Figure 2 is a schematic diagram of a vehicle communication architecture in one embodiment;
[0043] Figure 3 A schematic diagram of a process flow of a method for transmitting vehicle terminal data in one embodiment;
[0044] Figure 4 A schematic diagram of transmission of vehicle terminal data between different nodes in one embodiment;
[0045] Figure 5 A schematic diagram of the transmission of vehicle terminal data in one embodiment;
[0046] Figure 6 A structural block diagram of a transmission device for vehicle terminal data in one embodiment;
[0047] Figure 7 is an internal structure diagram of a computer device in one embodiment;
[0048] Figure 8 The figure is a diagram of the internal structure of a server in one embodiment. DETAILED DESCRIPTION
[0049] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0050] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described here can be implemented in an order other than those illustrated or described here. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are only examples of devices and methods consistent with some aspects of the present disclosure as detailed in the attached claims. The terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, product or device including a series of elements includes not only those elements, but also other elements that are not explicitly listed, or also includes elements inherent to such process, method, product or device. In the absence of more restrictions, it is not excluded that there are other identical or equivalent elements in the process, method, product or device including the elements. For example, if the words first, second, etc. are used to represent the name, they do not represent any specific order.
[0051] Figure 1 Schematic diagram of a traditional vehicle communication architecture in one embodiment. In the traditional centralized communication architecture, the vehicle node 102 directly communicates with the central server 106 via a cellular network or single-hop wireless communication, and a remote communication terminal 104 (Telematics Box, Tbox) is installed on each vehicle, integrating the vehicle body network and wireless communication functions, and is transmitted to the central control system through a single network for fault diagnosis, using single-hop communication for data transmission.
[0052] The present disclosure provides a method for transmitting vehicle terminal data, which can be applied to Figure 2 In the application environment shown, Figure 2 Schematic diagram of vehicle communication architecture in one embodiment. Each vehicle 202 is equipped with a telematics box 204 (Tbox), which integrates vehicle body network and wireless communication functions. Multiple telematics terminals 204 can self-organize to form a network to achieve multi-hop transmission. Multi-hop communication transmits data through multiple nodes in collaboration, reducing the dependence on centralized base stations or relay towers, and enhancing the coverage and reliability of the network. It is suitable for engineering vehicles that are often in an environment with poor signals or far away from base stations, and transmits data to the server 206 through nodes in the network.
[0053] In some embodiments of the present disclosure, Figure 3 As shown, a method for transmitting vehicle terminal data is provided, and the method is applied to Figure 2 The method is described by taking the example of a server in the process of processing vehicle terminal data. It can be understood that the method can be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In a specific embodiment, the method can include the following steps:
[0054] S302: Receive broadcast information sent by device nodes within a target range of a source node, where the source node and the device nodes form a wireless mesh network.
[0055] A wireless mesh network may include a source node and multiple device nodes. The source node is the node that initiates data transmission. The source node can be a pre-set node or a node selected based on event triggering. For example, in a transmission system, when a node sensor detects an abnormal situation, the sensor node becomes a source node and is responsible for sending information to the specified destination node. Each node perceives its own position in real time through information such as Wi-Fi signal strength and GPS. The device nodes within the target range of the source node can be neighbor nodes of the source node or device nodes within a preset range, which can be determined based on the node's location information, signal strength, etc. Broadcast information is a communication method. The source node periodically receives broadcast information sent by device nodes within the target range. The broadcast information may include the current location, signal strength, path cost, etc. of the device node.
[0056] S304: Update the routing table of the source node based on the location information and path cost of the device node in the broadcast information, wherein the path cost includes the path cost from the device node to any other device node in the wireless mesh network, and the routing table is used to store the path and path cost from the source node to the target node in the wireless mesh network.
[0057] The source node parses the received broadcast information to obtain the location information and path cost of the device node. The location information can be used to calculate the distance or relative position between the device node and the source node, and the path cost can be used to evaluate the cost of reaching other device nodes from the current device node. The path cost can be calculated based on multiple factors, such as the signal strength (RSSI) between nodes, the transmission rate, the node load (Node Load), the number of network hops (Hop Count), etc. The path cost formula can be expressed as: Path Cost = α × RSSI + β × Hop Count + γ × Node Load, where α = 80%, β = 5%, γ = 15% are weight parameters, indicating the impact of different factors on the path cost. The above parameters are adjusted according to the specific working environment. This embodiment mainly adopts the weight parameters for the fault diagnosis function. If it needs to be extended to other functions, it needs to be adjusted according to the actual working conditions. The node can update the routing table based on the received location information and path cost of other device nodes. The routing table can be used to store the path and path cost of the source node to the target node or each device node in the wireless mesh network.
[0058] S306: Based on the routing table, a first-ranked path is obtained as a transmission path, and the vehicle terminal data of the source node is transmitted to the target node through the transmission path, so that the target node transmits the vehicle terminal data to the server.
[0059] All reachable paths are sorted according to the location information and path cost of the device nodes in the routing table, and all paths that can reach the target nodes are extracted from the routing table. All paths are sorted from small to large according to the path cost. The paths with lower path costs are ranked first, and the first ranked path is used as the transmission path. If it is necessary to pass through multiple device nodes to reach the target node, the data will be forwarded hop by hop along the selected path. After receiving the data, each intermediate device node determines the next device node according to its routing table and forwards the data to the next device node. Introducing edge computing into the remote communication terminal enables preliminary fault detection to be performed locally in the vehicle and obtain vehicle terminal data. Edge computing reduces unnecessary data transmission, reduces bandwidth requirements, and can achieve real-time response and processing of faults, speeding up diagnosis and reducing system response delays.
[0060] In the above-mentioned vehicle terminal data transmission method, multiple device nodes can self-organize to form a wireless mesh network to achieve multi-hop transmission. Multi-hop communication transmits data through multiple device nodes in a collaborative manner, reducing the bandwidth pressure on each device node to communicate directly with the server, and improving the scalability and communication efficiency of the system. During the continuous movement of the node, the routing table can be updated according to the received location information and path cost of the device nodes within the target range, and the best transmission path can be selected.
[0061] In some embodiments of the present disclosure, the transmission path includes at least one device node, and after the source node transmits the vehicle terminal data to the first device node in the transmission path, confirming whether a confirmation response message sent by the first device node is received;
[0062] If the source node receives the confirmation response message, it continues to transmit data until the vehicle terminal data is transmitted to the target node.
[0063] The transmission path may include multiple device nodes. The source node sends the vehicle terminal data to the next node. After receiving the vehicle terminal data, the next node will send an ACK message (confirmation message) to the source node. In a multi-hop network, each hop node will send an ACK message to the previous hop node until the ACK message returns to the source node to ensure the reliability of data transmission. If the source node does not receive the ACK message within the set time, it is considered that the data transmission has failed. At this time, the source node will re-transmit the data.
[0064] In some embodiments of the present disclosure, the routing table includes multiple transmission paths. When the first-ranked transmission path is interrupted or a device node in the first-ranked transmission path moves, the routing table is updated to use the updated first-ranked transmission path as the path to be used.
[0065] When it is detected that the path cost of the current path increases, for example, the signal weakens or the device node moves, or the device node leaves the current grid, the routing table will be automatically updated to find a path with a low path cost for switching. The routing table not only maintains an optimal path, but also maintains several alternative paths. Even if the optimal path is interrupted, the node can quickly switch to the alternative path to avoid communication interruption. It can automatically detect link failures in the network, dynamically update the routing table through other nodes, and automatically repair the communication link. The self-healing mechanism improves the fault tolerance and stability of the network, ensuring that data transmission can be quickly restored in the event of a network failure, greatly reducing vehicle downtime and improving system reliability and availability.
[0066] In some embodiments of the present disclosure, transmitting the vehicle terminal data of the source node to the target node through the transmission path includes:
[0067] Continuously monitoring the connection quality between the device nodes in the transmission path and the device nodes within the target range, and determining abnormal device nodes whose connection quality is lower than a preset threshold, so that the abnormal device nodes send routing request information;
[0068] After the abnormal device node receives the routing reply information from other device nodes, the routing table is updated and the transmission path is switched.
[0069] If the connection quality between the device node in the transmission path and the device node in the target range is lower than the set threshold, the path is considered invalid. The device node in the transmission path will broadcast RREQ (route request) information to find a new path. After receiving the response from other device nodes of RREQ, it will re-establish the connection and select the best path. Figure 4 This is a schematic diagram of the transmission of vehicle terminal data between different nodes in an embodiment, including node A, node B, a central control node, and a relay node. The central control node may be a node responsible for coordinating, managing, and controlling other nodes, and the relay node may be a node used to extend network coverage or improve signal quality.
[0070] In some embodiments of the present disclosure, the vehicle terminal data includes vehicle data of different priorities;
[0071] Prioritize the transmission of vehicle data with a priority higher than the preset transmission threshold.
[0072] Prioritize the transmission of critical data, such as fault information and emergency alarms, to ensure that important information can be delivered in a timely manner when the network load is large or the communication link is poor. Priorities can be set according to different types of data streams, and vehicle data with a priority higher than the preset transmission threshold can be transmitted first.
[0073] In some embodiments of the present disclosure, after determining the transmission path ranked first, the method further includes:
[0074] In the case where the source node does not receive a data response, the data response includes a response received after the source node sends data to the target node;
[0075] The vehicle terminal data is stored in a cache until a data response is received, and then the vehicle terminal data is transmitted to a target node.
[0076] When the target node is unreachable or the source node does not receive a response after sending data to the target node, the device nodes in the wireless mesh network have a cache mechanism to temporarily store data packets until the target node becomes reachable again before transmitting data. Figure 5 This is a schematic diagram of the transmission of vehicle terminal data in an embodiment, including remote fault diagnosis, emergency processing, and self-repair. Mesh nodes may refer to devices or points involved in data transmission.
[0077] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0078] Based on the same inventive concept, the disclosed embodiment also provides a vehicle terminal data transmission device for implementing the vehicle terminal data transmission method mentioned above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the vehicle terminal data transmission device embodiment provided below can refer to the limitations of the vehicle terminal data transmission method mentioned above, and will not be repeated here.
[0079] The device may include a system (including a distributed system), software (application), module, component, server, client, etc. that uses the method described in the embodiments of this specification and is combined with necessary implementation hardware. Based on the same innovative concept, the device in one or more embodiments provided in the embodiments of the present disclosure is as described in the following embodiments. Since the implementation scheme and method of the device to solve the problem are similar, the implementation of the specific device in the embodiments of this specification can refer to the implementation of the aforementioned method, and the repetitions will not be repeated. As used below, the term "unit" or "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.
[0080] In one embodiment, Figure 6 As shown, a vehicle terminal data transmission device 600 is provided, and the device may be the aforementioned server, or a module, component, device, unit, etc. integrated in the server. The vehicle terminal data transmission device 600 may include:
[0081] A receiving module 602, configured to receive broadcast information sent by a device node within a target range of a source node, wherein the source node and the device node form a wireless mesh network;
[0082] An updating module 604 is used to update a routing table of a source node based on the location information and path cost of the device node in the broadcast information, wherein the path cost includes a path cost from the device node to any other device node in the wireless mesh network, and the routing table is used to store a path and path cost from the source node to a target node in the wireless mesh network;
[0083] The transmission module 606 is used to obtain the first-ranked path based on the routing table as the transmission path, and transmit the vehicle terminal data of the source node to the target node through the transmission path, so that the target node transmits the vehicle terminal data to the server.
[0084] In one of the embodiments, the transmission path includes at least one device node, and after the source node transmits the vehicle terminal data to the first device node in the transmission path, it is confirmed whether a confirmation response message sent by the first device node is received;
[0085] If the source node receives the confirmation response message, it continues to transmit data until the vehicle terminal data is transmitted to the target node.
[0086] In one of the embodiments, the routing table includes multiple transmission paths. When the first-ranked transmission path is interrupted or a device node in the first-ranked transmission path moves, the routing table is updated to use the updated first-ranked transmission path as the path to be used.
[0087] In one embodiment, transmitting the vehicle terminal data of the source node to the target node through the transmission path includes:
[0088] Continuously monitoring the connection quality between the device nodes in the transmission path and the device nodes within the target range, and determining abnormal device nodes whose connection quality is lower than a preset threshold, so that the abnormal device nodes send routing request information;
[0089] After the abnormal device node receives the routing reply information from other device nodes, the routing table is updated and the transmission path is switched.
[0090] In one of the embodiments, the vehicle terminal data includes vehicle data of different priorities;
[0091] Prioritize the transmission of vehicle data with a priority higher than the preset transmission threshold.
[0092] In one of the embodiments, after determining the transmission path ranked first, the apparatus further includes:
[0093] In the case where the source node does not receive a data response, the data response includes a response received after the source node sends data to the target node;
[0094] The vehicle terminal data is stored in a cache until a data response is received, and then the vehicle terminal data is transmitted to a target node.
[0095] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0096] Each module in the above-mentioned transmission device for vehicle terminal data can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.
[0097] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 7 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store vehicle terminal data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for transmitting vehicle terminal data is implemented.
[0098] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 8As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for transmitting vehicle terminal data is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0099] Those skilled in the art will understand that Figure 7 , Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the scheme of the present disclosure, and does not constitute a limitation on the computer device to which the scheme of the present disclosure is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0100] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method described in any embodiment of the present disclosure is implemented.
[0101] In one embodiment, a computer program product is provided, including a computer program, which implements the method described in any embodiment of the present disclosure when executed by a processor.
[0102] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided by the present disclosure can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided by the present disclosure may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided by the present disclosure may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, etc., but are not limited to this.
[0103] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0104] The above-described embodiments only express several implementation methods of the present disclosure, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present invention. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present disclosure, and these all belong to the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the attached claims.
Claims
1. A method for transmitting vehicle terminal data, characterized in that: The method comprises: Receiving broadcast information sent by device nodes within a target range of a source node, the source node and the device nodes forming a wireless mesh network; updating a routing table of a source node based on the location information and path cost of the device node in the broadcast information, wherein the path cost includes a path cost from the device node to any other device node in the wireless mesh network, and the routing table is used to store a path and path cost from the source node to a target node in the wireless mesh network; A first-ranked path is obtained based on the routing table as a transmission path, and the vehicle terminal data of the source node is transmitted to the target node through the transmission path, so that the target node transmits the vehicle terminal data to the server.
2. The method according to claim 1, characterized in that The transmission path includes at least one device node, and after the source node transmits the vehicle terminal data to the first device node in the transmission path, confirming whether a confirmation response message sent by the first device node is received; If the source node receives the confirmation response message, it continues to transmit data until the vehicle terminal data is transmitted to the target node.
3. The method according to claim 1, characterized in that The routing table includes multiple transmission paths. When the first-ranked transmission path is interrupted or the device node in the first-ranked transmission path moves, the routing table is updated to use the updated first-ranked transmission path as the path to be used.
4. The method according to claim 1, characterized in that: The transmitting of the vehicle terminal data of the source node to the target node through the transmission path comprises: Continuously monitoring the connection quality between the device nodes in the transmission path and the device nodes within the target range, and determining abnormal device nodes whose connection quality is lower than a preset threshold, so that the abnormal device nodes send routing request information; After the abnormal device node receives the routing reply information from other device nodes, the routing table is updated and the transmission path is switched.
5. The method according to claim 1, characterized in that The vehicle terminal data includes vehicle data of different priorities; Prioritize the transmission of vehicle data with a priority higher than the preset transmission threshold.
6. The method according to claim 1, characterized in that After determining the transmission path ranked first, the method further includes: In the case where the source node does not receive a data response, the data response includes a response received after the source node sends data to the target node; The vehicle terminal data is stored in a cache until a data response is received, and then the vehicle terminal data is transmitted to a target node.
7. A vehicle terminal data transmission device, characterized in that: The device comprises: A receiving module, used to receive broadcast information sent by device nodes within a target range of a source node, wherein the source node and the device nodes form a wireless mesh network; An updating module, configured to update a routing table of a source node based on the location information and path cost of the device node in the broadcast information, wherein the path cost includes a path cost from the device node to any other device node in the wireless mesh network, and the routing table is configured to store a path and path cost from the source node to a target node in the wireless mesh network; A transmission module is used to obtain the first-ranked path based on the routing table as a transmission path, and transmit the vehicle terminal data of the source node to the target node through the transmission path, so that the target node transmits the vehicle terminal data to the server.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Electric power carrier communication routing method
CN102932257A
Mesh network data transmission method and device, gateway and storage medium
CN111614557A
Method and system for discovering survivability route of wireless ad hoc network
CN114760671A
Data transmission method and system, electronic equipment and storage medium
CN117896799A