Intelligent networking data transmission method based on double channels, storage medium and device
By creating a dual-channel transmission method that integrates data format and data ontology channels, the high cost of data transmission and storage in existing technologies is solved, achieving more efficient data transmission and storage.
Patent Information
- Application Number
- CN202310530184.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-10
- Publication Date
- 2026-03-03
- Estimated Expiration
- 2043-05-10
AI Technical Summary
Existing vehicle-to-everything (V2X) data transmission methods suffer from poor flexibility in custom binary data structures, resulting in high data transmission and storage costs and making them unsuitable for the continuous data streams of intelligent connected platforms.
A dual-channel intelligent network data transmission method is adopted, which creates a data format channel for transmitting format and interpretation, and a data body channel for transmitting data body. The method also subscribes to both channels simultaneously to parse the data body, and adopts a custom data specification with greater versatility and flexibility.
It reduces message size, lowers data transmission and storage costs, and improves data transmission efficiency.
Smart Images

Figure CN116668509B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of autonomous driving and vehicle-to-everything (V2X) data transmission, specifically to a dual-channel intelligent connected data transmission method, storage medium, and device. Background Technology
[0002] In existing TBOX (vehicle-to-everything) terminal communication protocols, most use custom binary data structures. For example, custom binary data structures are developed based on the data definition methods in the relevant road transport vehicle satellite positioning system terminal communication protocols and data format standards. The defined single data format includes an identifier bit, message header, message body, checksum, and identifier bit.
[0003] However, such standards and specifications lack flexibility. Each message in the same batch shares a duplicate message header (of fixed length), and the length of the message body defined in the header overlaps with the information represented by the identifier. The identifier indicates the beginning and end positions of each message, which can be easily calculated from the message body length. When the number of messages is very large, this additional overhead places a significant burden on data transmission and storage. Furthermore, the data on intelligent connected platforms is a continuous data stream, such as hours of continuous video streams from vehicle cameras or tens of thousands of consecutive TBOX status data entries. Therefore, the current data transmission methods are no longer suitable for transmitting intelligent connected data. Summary of the Invention
[0004] In view of the shortcomings of the existing technology, the purpose of this invention is to provide a dual-channel intelligent network data transmission method, storage medium and device, which adopts a custom data specification with greater versatility and flexibility, thereby reducing message volume and reducing data transmission and storage costs.
[0005] To achieve the above objectives, this invention provides a dual-channel intelligent network data transmission method, which specifically includes the following steps:
[0006] Create a data format channel for transmitting data format and interpretation, and create a data body channel for transmitting the data body;
[0007] Simultaneously subscribe to the data format channel and the data body channel, and parse the data body of the data body channel according to the data format channel's data format and interpretation to achieve data reception.
[0008] Based on the above technical solution, the steps for creating a data format channel for transmitting data format and interpretation, and creating a data body channel for transmitting data body, include:
[0009] Create a data format channel and a data body channel to acquire data from the data bus to be transmitted;
[0010] Based on the data format channel, the format and interpretation of the acquired data are transmitted.
[0011] Based on the data ontology channel, the data body of the acquired data is transmitted.
[0012] Based on the above technical solution, the simultaneous subscription to the data format channel and the data body channel, and the parsing of the data body channel according to the data format and interpretation of the data format channel to achieve data reception, specifically includes the following steps:
[0013] Data subscribers simultaneously receive data format and interpretation data in the data format channel, and data body data in the data body channel.
[0014] The data format and interpretation in the data format channel are used to parse the data body in the data body channel, thereby enabling data reception.
[0015] Based on the above technical solution, the data includes TBOX data, autonomous driving-related video data, continuous point cloud data, and structured data.
[0016] Based on the above technical solution, the data transmission volume of the data body channel is greater than that of the data format channel.
[0017] Based on the above technical solution, the content transmitted in the data format channel includes static content and dynamic content.
[0018] Based on the above technical solution, the static content is used to indicate the format on which the data body is parsed.
[0019] Based on the above technical solution, the dynamic content is used to describe segments within the same data body.
[0020] The present invention provides a readable storage medium located in a PLC controller, on which a computer program is stored. When the program is executed by a processor, it implements the above-described intelligent network data transmission method based on dual channels.
[0021] The present invention provides a dual-channel intelligent network data transmission device, comprising:
[0022] The module creates a data format channel for transmitting data format and interpretation, and a data body channel for transmitting the data body.
[0023] The receiving module is used to drive data subscribers to subscribe to both the data format channel and the data body channel simultaneously, and to parse the data body of the data body channel according to the data format and interpretation of the data format channel, thereby realizing data reception.
[0024] Compared with the prior art, the advantages of the present invention are as follows: by creating a data format channel for transmitting data format and interpretation, and creating a data body channel for transmitting data body, the data subscriber can simultaneously subscribe to the data format channel and the data body channel, and parse the data body of the data body channel according to the data format and interpretation of the data format channel, thus realizing data reception. By adopting a custom data specification with greater versatility and flexibility, the size of messages can be reduced, and the cost of data transmission and storage can be reduced. Attached Figure Description
[0025] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0026] Figure 1 This is a flowchart of a dual-channel intelligent network data transmission method according to an embodiment of the present invention;
[0027] Figure 2 This is a schematic diagram of the dynamic content in this invention. Detailed Implementation
[0028] This invention provides a dual-channel intelligent connected data transmission method. It creates a data format channel for transmitting data format and interpretation, and a data body channel for transmitting the data body. Data subscribers can simultaneously subscribe to both the data format channel and the data body channel. By parsing the data body from the data body channel according to the data format and interpretation from the data format channel, data reception can be achieved. Employing a custom data specification with greater versatility and flexibility reduces message size and lowers data transmission and storage costs. This invention also provides a storage medium and a dual-channel intelligent connected data transmission device.
[0029] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are some embodiments of this application, but not all embodiments.
[0030] To address the challenges of diverse and complex data formats in intelligent connected vehicles, including a large amount of custom information and frequent format changes, this invention provides a dual-channel intelligent connected vehicle data transmission method. See also... Figure 1 As shown, the intelligent connected data transmission method based on dual channels provided in this embodiment of the invention specifically includes the following steps:
[0031] S1: Create a data format channel for transmitting data format and interpretation, and create a data body channel for transmitting data body;
[0032] In this invention, a data format channel is created for the transmission of data format and interpretation, and a data body channel is created for the transmission of the data body. Specific steps include:
[0033] S101: Create data format channel and data body channel, and obtain data from the data bus to be transmitted;
[0034] S102: Based on the data format channel, transmit the format and interpretation of the acquired data;
[0035] S103: Transmission of the data body of the acquired data based on the data body channel. It should be noted that the data transmission volume of the data body channel is greater than that of the data format channel.
[0036] This means using a dual-channel approach to transmit the same data. A smaller channel is used to transmit the data format and interpretation, and is called the data format channel; the other larger channel is used to transmit a series of data bodies, and is called the data body channel.
[0037] S2: Simultaneously subscribe to the data format channel and the data body channel, and parse the data body of the data body channel according to the data format channel's data format and interpretation to achieve data reception.
[0038] In this invention, both a data format channel and a data body channel are subscribed to simultaneously. Based on the data format and interpretation of the data format channel, the data body of the data body channel is parsed to achieve data reception. Specific steps include:
[0039] S201: The data subscriber simultaneously receives the data format and interpretation in the data format channel and the data body in the data body channel.
[0040] S202: Using the data format and interpretation in the data format channel, the data body in the data body channel is parsed to achieve data reception.
[0041] In other words, a data subscriber simultaneously accesses both a data format channel and a data ontology channel. By parsing the content of the data ontology channel based on the information in the data format channel, the data can be received.
[0042] In this invention, the data includes TBOX data, autonomous driving-related video data, continuous point cloud data, and structured data. That is, the data bus involves not only TBOX data, but also videos from the autonomous driving field, continuous point cloud data, and structured data such as JSON (a lightweight data exchange format) and XML (Extensible Markup Language).
[0043] In this invention, the content transmitted in the data format channel includes static content and dynamic content. Static content is used to indicate the format on which the data body is parsed, such as PNG, MP4, CSV, etc. Static content only needs to be read once by the data subscriber.
[0044] Dynamic content is used to describe segments within the same data body. For example, if the same data body contains multiple data items, then each piece of dynamic information corresponds to one data body. Figure 2 As shown, an array is used to represent a dynamic message. Each element in the array is an integer, used to indicate the starting position of a new data message within the corresponding data body. Figure 2 In this context, "producer" represents the data producer, and "subscriber" represents the data subscriber. For example, the array [0, 1024, 2048, 3096, 5098] indicates that the corresponding data body contains five data items, starting at points 0, 1024, 2048, 3096, and 5098 respectively. The first data item occupies space from 0 to 1023, and so on. The unit can be bit, byte, or word.
[0045] The following example illustrates the dual-channel intelligent network data transmission method of the present invention.
[0046] The dual-channel intelligent network data transmission method of this invention can theoretically be implemented using any message pipeline, including shared space. For example, it can be implemented using RocketMQ (a distributed message middleware), Kafka (a distributed messaging system), or even Redis (a key-value database, often used as a message queue).
[0047] The following steps, using Kafka as an example, specifically include:
[0048] A: The data production end generates a topic (assuming there is only one partition) for data format transmission;
[0049] B: The data production end generates a topic (assuming there is only one partition) for use in the transmission of the data ontology;
[0050] C: The data production end generates static parts for the data format theme, mainly static information such as the file format of the data body, such as .jpg format images, which are pushed as the first message of the format theme;
[0051] D: The data production end begins to push the static parts of the format theme one by one. Each message is an array, representing the division of data within the corresponding data body;
[0052] E: The data production end begins to push data bodies one by one. Each data body is composed of multiple images. The data body is only composed of the binary representations of these images connected end to end, without containing any format parsing information.
[0053] F: The subscriber counts the dynamic part of the format topic and the data topic respectively (the number of keys and locks must be the same to align), parses the Nth format information and the Nth data body. If the count finds that a certain topic is ahead, it waits for the other topic to be equal in terms of technology before it starts parsing the corresponding data body.
[0054] An embodiment of the present invention provides a dual-channel intelligent network data transmission method. By creating a data format channel for transmitting data format and interpretation, and a data body channel for transmitting data body, data subscribers can simultaneously subscribe to both the data format channel and the data body channel. Based on the data format and interpretation of the data format channel, the data body of the data body channel can be parsed to achieve data reception. By adopting a custom data specification with greater versatility and flexibility, the size of messages can be reduced, as well as the cost of data transmission and storage.
[0055] In one possible implementation, the present invention also provides a readable storage medium located in a PLC (Programmable Logic Controller) controller. The readable storage medium stores a computer program that, when executed by a processor, implements the steps of the dual-channel intelligent network data transmission method described below:
[0056] Create a data format channel for transmitting data format and interpretation, and create a data body channel for transmitting the data body;
[0057] Simultaneously subscribe to the data format channel and the data body channel, and parse the data body of the data body channel according to the data format channel's data format and interpretation to achieve data reception.
[0058] In this invention, a data format channel is created for the transmission of data format and interpretation, and a data body channel is created for the transmission of the data body. Specific steps include:
[0059] Create a data format channel and a data body channel to acquire data from the data bus to be transmitted;
[0060] Based on the data format channel, the format and interpretation of the acquired data are transmitted.
[0061] Based on the data ontology channel, the data body of the acquired data is transmitted.
[0062] In this invention, both a data format channel and a data body channel are subscribed to simultaneously. Based on the data format and interpretation of the data format channel, the data body of the data body channel is parsed to achieve data reception. Specific steps include:
[0063] Data subscribers simultaneously receive data format and interpretation data in the data format channel, and data body data in the data body channel.
[0064] The data format and interpretation in the data format channel are used to parse the data body in the data body channel, thereby enabling data reception.
[0065] In this invention, the data includes TBOX data, autonomous driving-related video data, continuous point cloud data, and structured data.
[0066] In this invention, the data transmission volume of the data body channel is greater than that of the data format channel.
[0067] In this invention, the content transmitted in the data format channel includes static content and dynamic content. Static content indicates the format on which the data body is parsed. Dynamic content describes the segments within the same data body.
[0068] By creating a data format channel for transmitting data format and interpretation, and a data ontology channel for transmitting data body, data subscribers can simultaneously subscribe to both the data format channel and the data ontology channel. Based on the data format and interpretation of the data format channel, they can parse the data body of the data ontology channel to receive data. By adopting a custom data specification with greater versatility and flexibility, the size of messages can be reduced, as well as the cost of data transmission and storage.
[0069] Storage media may be any combination of one or more computer-readable media. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. Computer-readable storage media may be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0070] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of transmitting, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wireline, optical fiber, RF, etc., or any suitable combination thereof.
[0071] Computer program code for performing the operations of this invention can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages—such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0072] This invention provides a dual-channel intelligent network data transmission device, including a creation module and a receiving module. It adopts a custom data specification with greater versatility and flexibility, which can reduce message volume and reduce data transmission and storage costs.
[0073] The creation module is used to create a data format channel for transmitting data format and interpretation, and a data body channel for transmitting data body. The receiving module is used to drive data subscribers to subscribe to both the data format channel and the data body channel simultaneously, and to parse the data body of the data body channel according to the data format and interpretation of the data format channel, thereby realizing data reception.
[0074] In this invention, a data format channel is created for the transmission of data format and interpretation, and a data body channel is created for the transmission of the data body. Specific steps include:
[0075] Create a data format channel and a data body channel to acquire data from the data bus to be transmitted;
[0076] Based on the data format channel, the format and interpretation of the acquired data are transmitted.
[0077] Based on the data ontology channel, the data body of the acquired data is transmitted.
[0078] This means using a dual-channel approach to transmit the same data. A smaller channel is used to transmit the data format and interpretation, and is called the data format channel; the other larger channel is used to transmit a series of data bodies, and is called the data body channel.
[0079] In this invention, both a data format channel and a data body channel are subscribed to simultaneously. Based on the data format and interpretation of the data format channel, the data body of the data body channel is parsed to achieve data reception. Specific steps include:
[0080] Data subscribers simultaneously receive data format and interpretation data in the data format channel, and data body data in the data body channel.
[0081] The data format and interpretation in the data format channel are used to parse the data body in the data body channel, thereby enabling data reception.
[0082] In other words, a data subscriber simultaneously accesses both a data format channel and a data ontology channel. By parsing the content of the data ontology channel based on the information in the data format channel, the data can be received.
[0083] In this invention, the data includes TBOX data, autonomous driving-related video data, continuous point cloud data, and structured data. That is, the data bus involves not only TBOX data, but also videos from the autonomous driving field, continuous point cloud data, and structured data such as JSON and XML.
[0084] In this invention, the data transmission volume of the data body channel is greater than that of the data format channel.
[0085] In this invention, the content transmitted in the data format channel includes static content and dynamic content. Static content indicates the format used to parse the data body, and only needs to be read once by the data subscriber. Dynamic content describes segments within the same data body. For example, if the same data body contains multiple data items, each dynamic message corresponds to one data body. An array is used to represent one dynamic message, and each element in the array is an integer indicating the starting position of a new data item within the corresponding data body.
[0086] The dual-channel intelligent network data transmission device of this invention creates a data format channel for transmitting data format and interpretation, and a data body channel for transmitting data body. Thus, data subscribers can subscribe to both the data format channel and the data body channel simultaneously, and parse the data body of the data body channel according to the data format and interpretation of the data format channel, thereby realizing data reception. By adopting a custom data specification with greater versatility and flexibility, the size of messages can be reduced, and the cost of data transmission and storage can be reduced.
[0087] Furthermore, this embodiment of the invention also provides a dual-channel intelligent connected data transmission system, including a creation unit and a receiving unit, which adopts a custom data specification with greater versatility and flexibility, thereby reducing message volume and reducing data transmission and storage costs.
[0088] The creation unit is used to create a data format channel for transmitting data format and interpretation, and to create a data body channel for transmitting data body. The receiving unit is used to drive data subscribers to subscribe to both the data format channel and the data body channel simultaneously, and to parse the data body of the data body channel according to the data format and interpretation of the data format channel, thereby realizing data reception.
[0089] In this invention, a data format channel is created for the transmission of data format and interpretation, and a data body channel is created for the transmission of the data body. Specific steps include:
[0090] Create a data format channel and a data body channel to acquire data from the data bus to be transmitted;
[0091] Based on the data format channel, the format and interpretation of the acquired data are transmitted.
[0092] Based on the data ontology channel, the data body of the acquired data is transmitted.
[0093] In this invention, both a data format channel and a data body channel are subscribed to simultaneously. Based on the data format and interpretation of the data format channel, the data body of the data body channel is parsed to achieve data reception. Specific steps include:
[0094] Data subscribers simultaneously receive data format and interpretation data in the data format channel, and data body data in the data body channel.
[0095] The data format and interpretation in the data format channel are used to parse the data body in the data body channel, thereby enabling data reception.
[0096] In this invention, the data includes TBOX data, autonomous driving-related video data, continuous point cloud data, and structured data.
[0097] In this invention, the data transmission volume of the data body channel is greater than that of the data format channel.
[0098] In this invention, the content transmitted in the data format channel includes static content and dynamic content. Static content indicates the format on which the data body is parsed. Dynamic content describes the segments within the same data body.
[0099] The dual-channel intelligent connected data transmission system of this invention creates a data format channel for transmitting data format and interpretation, and a data body channel for transmitting data body. Thus, data subscribers can subscribe to both the data format channel and the data body channel simultaneously, and parse the data body of the data body channel according to the data format and interpretation of the data format channel, thereby realizing data reception. By adopting a custom data specification with greater versatility and flexibility, the size of messages can be reduced, and the cost of data transmission and storage can be reduced.
[0100] The above description is merely a specific embodiment of this application, enabling those skilled in the art to understand or implement this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
[0101] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
Claims
1. A dual-channel based intelligent network connection data transmission method, characterized in that, Specifically comprising the following steps: Create a data format channel for transmitting data format and interpretation, and create a data body channel for transmitting data body; Simultaneously subscribe to the data format channel and the data body channel, and parse the data body of the data body channel according to the data format and interpretation of the data format channel, to realize data reception; The specific steps of creating the data format channel for transmitting the data format and the interpretation, and creating the data body channel for transmitting the data body include: Create a data format channel and a data body channel, and obtain data of a data bus to be transmitted; Based on the data format channel, transmit the format and interpretation of the obtained data; Based on the data body channel, transmit the data body of the obtained data; The specific steps of simultaneously subscribing to the data format channel and the data body channel, and parsing the data body of the data body channel according to the data format and interpretation of the data format channel to realize data reception include: The data subscriber simultaneously subscribes to the data format channel and the data body channel, receives the data format and interpretation in the data format channel, and receives the data body in the data body channel; The data subscriber simultaneously subscribes to the data format channel and the data body channel, receives the data format and interpretation in the data format channel, and receives the data body in the data body channel; The content transmitted in the data format channel includes static content and dynamic content; The static content is used to indicate how to parse the data body based on a format, and the static content is used for the data subscriber to read once; The dynamic content is used to describe segmentation in the same data body, and the same data body contains multiple data. Each dynamic information corresponds to a data body, and an array is used to represent a dynamic information. Each element in the array is an integer, which is used to represent the starting position of a new data in the corresponding data body. 2.The dual-channel based intelligent network connection data transmission method of claim 1, wherein: The data includes TBOX data, video data related to automatic driving, and continuous point cloud data. 3.The dual-channel based intelligent network connection data transmission method of claim 1, wherein: The data transmission amount of the data body channel is greater than the data transmission amount of the data format channel.
4. A readable storage medium, characterized by, A readable storage medium is located in a PLC controller. The readable storage medium stores a computer program. The program is executed by a processor to implement the intelligent network connection data transmission method based on the double-channel in any one of claims 1 to 3.
5. A dual-channel-based intelligent network connection data transmission device, characterized in that, Comprise: A creation module for creating a data format channel for transmitting data format and interpretation, and creating a data body channel for transmitting data body; A receiving module for driving a data subscriber to simultaneously subscribe to the data format channel and the data body channel, and parse the data body of the data body channel according to the data format and interpretation of the data format channel, to realize data reception; The specific steps of creating the data format channel for transmitting the data format and the interpretation, and creating the data body channel for transmitting the data body include: Create a data format channel and a data body channel, and obtain data of a data bus to be transmitted; Based on the data format channel, transmit the format and interpretation of the obtained data; Based on the data body channel, transmit the data body of the obtained data; The data subscriber simultaneously subscribes to a data format channel and a data body channel, receives data format and interpretation in the data format channel, and receives data body in the data body channel. The data subscriber simultaneously subscribes to a data format channel and a data body channel, receives data format and interpretation in the data format channel, and receives data body in the data body channel. The data subscriber simultaneously subscribes to a data format channel and a data body channel, receives data format and interpretation in the data format channel, and receives data body in the data body channel. The content transmitted in the data format channel includes static content and dynamic content. The static content is used to indicate the format based on which the data body is parsed, and the static content is used for one-time reading by the data subscriber. The dynamic content is used to describe the segmentation in the same data body, and the same data body contains multiple data. Each dynamic information corresponds to a data body, and an array is used to represent a dynamic information. Each element in the array is an integer, which is used to represent the starting position of a new data in the corresponding data body.
Citation Information
Patent Citations
Method and system for improving frequency domain resource allocation to realize application of LTE (Long Term Evolution) in Internet of Things
CN116056221A