Vehicle data processing method and device, electronic equipment and storage medium

Through data transmission based on the relationship between the subject and the data writer and reader in the vehicle communication network, combined with preset frame copying and elimination of configuration information, the cost increase problem caused by hardware replacement in the existing technology is solved, and high reliability is achieved Sexual communication and redundancy processing.

CN118694787APending Publication Date: 2024-09-24CHINA AUTOMOTIVE INNOVATION CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410785231.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

When a physical link fails, existing vehicles require hardware to replace the switching node to support frame replication and elimination mechanisms, resulting in increased hardware costs and the inability to achieve high-reliability communication.

Method used

By transmitting data in the vehicle communication network based on the correspondence between the subject, the data writer, and the data reader, the driving controller and actuator implement redundant processing of key data based on preset frame copying and elimination of configuration information. , avoiding hardware replacement of switching nodes.

Benefits of technology

It ensures high-reliability transmission and redundant processing of key signals without increasing hardware costs, and improves the reliability of vehicle data communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118694787A
    Figure CN118694787A
Patent Text Reader

Abstract

The invention relates to a vehicle data processing method and device, electronic equipment and a storage medium. The method comprises the steps that a driving controller determines a corresponding target theme based on the data type of currently obtained driving data; generating a target data stream based on a target data writer corresponding to the target topic; and copying the key data frames in the target data stream based on preset frame copying configuration information to obtain multiple groups of redundant frames. The actuator receives a plurality of groups of redundant frames sent by the corresponding driving controller; and selecting one group of redundant frames from the plurality of groups of redundant frames as a to-be-recovered frame group based on preset frame elimination configuration information, and performing data recovery processing on the to-be-recovered frame group to obtain a target recovered frame group. According to the invention, the driving controller and the corresponding actuator in the vehicle-mounted communication network architecture can realize redundancy processing of key data based on the preset frame copying and eliminating configuration information, and high-reliability communication can be realized without replacing an exchange node supporting a frame copying and eliminating mechanism.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle-mounted Ethernet, and in particular to a vehicle data processing method, device, electronic equipment and storage medium. Background Art

[0002] With the upgrade of vehicle intelligent driving capabilities, it is necessary to ensure the normal communication of key signals when physical links fail. At present, in order to ensure the high-reliability transmission of key signals in vehicles, it is generally necessary to use switching nodes that support the 802.1CB protocol (frame replication and elimination) to replicate and eliminate key data. The multiple copies of key data can be transmitted through different paths. However, for existing vehicles, it is necessary to replace the hardware of the switching nodes in the vehicle communication network architecture so that the switching nodes support the frame replication and elimination mechanism, which increases the hardware cost. Summary of the invention

[0003] In order to solve the above technical problems, the present invention discloses a vehicle data processing method, which can perform data transmission in a vehicle communication network based on the correspondence between a subject and a data writer and a data reader, and a driving controller and a corresponding actuator in the vehicle communication network architecture can realize redundant processing of key data based on preset frame replication and elimination configuration information, and high-reliability communication can be achieved without replacing a switching node that supports a frame replication and elimination mechanism.

[0004] In order to achieve the above object, the present invention provides a vehicle data processing method, characterized in that it is applied to a driving controller, and the method comprises:

[0005] Obtaining the correspondence between vehicle driving data types and preset topics;

[0006] Determining a target theme corresponding to the currently acquired driving data based on a data type of the currently acquired driving data and a correspondence between the vehicle driving data type and a preset theme;

[0007] Generate a target data stream based on a target data writer corresponding to the target subject;

[0008] Based on the preset frame duplication configuration information, key data frames in the target data stream are duplicated to obtain multiple groups of redundant frames.

[0009] In an optional embodiment, the actuator corresponding to the driving controller includes a preset data reader corresponding to each preset theme, and before obtaining the corresponding relationship between the vehicle driving data type and the preset theme, the method further includes:

[0010] generating a preset theme corresponding to at least one vehicle driving data type;

[0011] Determining a correspondence between the vehicle driving data type and a preset theme;

[0012] Creating a preset data writer corresponding to each preset theme; the driving controller includes at least one preset data writer;

[0013] Based on the topic subscription information of the executor, a corresponding relationship between a preset data writer corresponding to each preset topic and a preset data reader corresponding to each preset topic is established.

[0014] In an optional embodiment, the preset frame copy configuration information includes the number of frame copies and the starting value of the frame sequence number, and the key data frames in the target data stream are copied based on the preset frame copy configuration information to obtain multiple groups of redundant frames, including:

[0015] Based on the preset message header information, the key data frame is encapsulated to obtain an encapsulated key data frame;

[0016] Based on the number of frame copies, the encapsulated key data frame is copied to obtain multiple groups of redundant frames corresponding to the number of frame copies;

[0017] The frame sequence number corresponding to each data frame in the plurality of groups of redundant frames is determined based on the frame sequence number starting value; the same data frames have the same frame sequence number.

[0018] In an optional embodiment, the multiple groups of redundant frames correspond one-to-one to multiple preset virtual local area networks, the multiple nodes included in each preset virtual local area network do not form a ring network structure, and the preset frame replication configuration information also includes virtual local area network identifiers corresponding to the multiple preset virtual local area networks and a topic identifier corresponding to each preset topic;

[0019] After duplicating the key data frames in the target data stream based on the preset frame duplication configuration information to obtain multiple groups of redundant frames, the method further includes:

[0020] Determine the virtual local area network identifiers and the subject identifiers corresponding to the multiple groups of redundant frames respectively based on the preset frame replication configuration information; the subject identifiers corresponding to the multiple groups of redundant frames are the subject identifiers corresponding to the target subject;

[0021] Based on the virtual local area network identifiers and the subject identifiers respectively corresponding to the multiple groups of redundant frames, the multiple groups of redundant frames are sent to the target data readers corresponding to the target subject in the executor through the multiple preset virtual local area networks.

[0022] In an optional embodiment, the currently acquired driving data corresponds to at least one target topic, each target topic corresponds to a target data writer, and the generating of the target data stream based on the target data writer corresponding to the target topic includes:

[0023] When a plurality of first initial data streams are generated based on a target data writer corresponding to the at least one target subject, and the plurality of first initial data streams correspond to the same executor, the plurality of first initial data streams are packaged to obtain the target data stream.

[0024] The present invention also provides another vehicle data processing method, characterized in that it is applied to an actuator and comprises:

[0025] Obtaining a corresponding relationship between each preset subject and each preset data reader in the executor;

[0026] receiving a plurality of groups of redundant frames sent by a driving controller corresponding to the actuator;

[0027] Determine a target data reader corresponding to the target topic based on the target topics corresponding to the multiple groups of redundant frames and the corresponding relationship between each preset topic and each preset data reader in the executor;

[0028] Based on the preset frame elimination configuration information, a group of redundant frames is selected from the multiple groups of redundant frames as a group of frames to be restored, and data recovery processing is performed on the group of frames to be restored to obtain a target restored frame group;

[0029] The target recovery frame group is sent to a target data reader corresponding to the target topic.

[0030] In an optional embodiment, the driving controller includes a preset data writer corresponding to each preset subject, and before obtaining the corresponding relationship between each preset subject and each preset data reader in the actuator, the method further includes:

[0031] Creating a preset data reader corresponding to each preset topic; the executor includes at least one preset data reader;

[0032] Subscribing to the preset topic, generating topic subscription information, and establishing a corresponding relationship between a preset data writer corresponding to each preset topic and a preset data reader corresponding to each preset topic based on the topic subscription information;

[0033] Based on the correspondence between the preset data writer corresponding to each preset topic and the preset data reader corresponding to each preset topic, the correspondence between each preset topic and each preset data reader is determined.

[0034] In an optional embodiment, the preset frame elimination configuration information includes an independent recovery parameter and a sequence recovery parameter, and the step of selecting a group of redundant frames from the multiple groups of redundant frames as a to-be-recovered frame group based on the preset frame elimination configuration information, performing data recovery processing on the to-be-recovered frame group to obtain a target recovery frame group includes:

[0035] Based on the independent recovery parameters, the plurality of groups of redundant frames are respectively subjected to intra-group data frame deduplication processing to obtain a plurality of processed groups of redundant frames;

[0036] Based on the sequence recovery parameter, redundant frame group deduplication processing is performed on the processed multiple groups of redundant frames to obtain the frame group to be restored; the frame group to be restored is a group of redundant frames in the processed multiple groups of redundant frames;

[0037] Data recovery processing is performed on the frame group to be recovered to obtain the target recovery frame group.

[0038] In an optional embodiment, each second initial data stream received by the actuator corresponds to at least one target topic, and the receiving of multiple groups of redundant frames sent by the driving controller corresponding to the actuator includes:

[0039] When a plurality of second initial data streams corresponding to the at least one target subject are received, each of the second initial data streams is unpacked to obtain the plurality of groups of redundant frames.

[0040] The present invention also provides a vehicle data processing device, characterized in that it is applied to a driving controller, and the device comprises:

[0041] A first acquisition module is used to acquire a correspondence between a vehicle driving data type and a preset theme;

[0042] A theme determination module, configured to determine a target theme corresponding to the currently acquired driving data based on a data type of the currently acquired driving data and a correspondence between the vehicle driving data type and a preset theme;

[0043] A data generation module, used for generating a target data stream based on a target data writer corresponding to the target subject;

[0044] The data replication module is used to replicate the key data frames in the target data stream based on preset frame replication configuration information to obtain multiple groups of redundant frames.

[0045] The present invention also provides another vehicle data processing device, characterized in that it is applied to an actuator, and the device comprises:

[0046] A second acquisition module, used to acquire a corresponding relationship between each preset subject and each preset data reader in the executor;

[0047] A data receiving module, used for receiving a plurality of groups of redundant frames sent by a driving controller corresponding to the actuator;

[0048] A data reader determination module, configured to determine a target data reader corresponding to the target subject based on the target subjects corresponding to the multiple groups of redundant frames and the corresponding relationship between each preset subject and each preset data reader in the executor;

[0049] A data elimination module, configured to select a group of redundant frames from the plurality of groups of redundant frames as a group of frames to be restored based on preset frame elimination configuration information, and perform data recovery processing on the group of frames to be restored to obtain a target restored frame group;

[0050] A data sending module is used to send the target recovery frame group to a target data reader corresponding to the target subject.

[0051] The present invention also provides an electronic device, comprising a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the vehicle data processing method as described above.

[0052] The present invention also provides a computer-readable storage medium, in which at least one instruction or at least one program is stored. The at least one instruction or the at least one program is loaded and executed by a processor to implement the vehicle data processing method as described above.

[0053] Implementing the embodiments of the present invention has the following beneficial effects:

[0054] The vehicle data processing method disclosed in the present invention is that the driving controller determines the subject corresponding to the currently acquired driving data based on the data type of the currently acquired driving data, generates a data stream based on the data writer corresponding to the subject, and then copies the key data frames in the data stream based on the preset frame copy configuration information, so that the driving controller can realize redundant processing of key data. For existing vehicles, high-reliability communication of key data can be realized without hardware replacement of the switching nodes in the vehicle-mounted communication network architecture, so that the hardware cost will not increase. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] In order to more clearly illustrate the vehicle data processing method, device, electronic device and storage medium described in the present invention, the drawings required for the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0056] Figure 1 A schematic flow chart of a vehicle data processing method applied to a driving controller provided by an embodiment of the present invention;

[0057] Figure 2 A schematic diagram of a correspondence relationship between a preset subject and a preset data writer and a preset data reader provided in an embodiment of the present invention;

[0058] Figure 3 A schematic diagram of a vehicle data transmission process provided by an embodiment of the present invention;

[0059] Figure 4 A schematic flow chart of a vehicle data processing method applied to an actuator provided by an embodiment of the present invention;

[0060] Figure 5 A schematic diagram of the structure of a vehicle data processing device applied to a driving controller provided by an embodiment of the present invention;

[0061] Figure 6 A schematic diagram of the structure of a vehicle data processing device applied to an actuator provided by an embodiment of the present invention;

[0062] Figure 7 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0063] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0064] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention 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 interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.

[0065] Please refer to Figure 1 , which shows a flow chart of a vehicle data processing method applied to a driving controller provided by an embodiment of the present invention. This specification provides method operation steps as described in the embodiment or flow chart, but may include more or fewer operation steps based on conventional or non-creative labor. The order of steps listed in the embodiment is only one way of executing the steps among many, and does not represent the only execution order. When the actual system or server product is executed, it can be executed in the order of the method shown in the embodiment or the accompanying drawings. Specifically, Figure 1 As shown, the vehicle data processing method is applied to a driving controller, and the method comprises:

[0066] S101, obtaining a correspondence between a vehicle driving data type and a preset theme;

[0067] In an embodiment of the present specification, before the driving controller communicates with the corresponding actuator, the driving controller needs to register a data type and generate a preset topic based on the data type. Each preset topic corresponds to at least one data type. The data type in the embodiment of the present specification refers to the data type of the vehicle driving data corresponding to the driving controller, thereby determining the correspondence between the vehicle driving data type and the preset topic.

[0068] In the embodiment of the present specification, the actuator corresponding to the driving controller includes a preset data reader corresponding to each preset theme. Before obtaining the corresponding relationship between the vehicle driving data type and the preset theme, the method further includes:

[0069] generating a preset theme corresponding to at least one vehicle driving data type;

[0070] Determining a correspondence between the vehicle driving data type and a preset theme;

[0071] Creating a preset data writer corresponding to each preset theme; the driving controller includes at least one preset data writer;

[0072] Based on the topic subscription information of the executor, a corresponding relationship between a preset data writer corresponding to each preset topic and a preset data reader corresponding to each preset topic is established.

[0073] In the embodiment of the present specification, after the driving controller registers the vehicle driving data type, a preset topic corresponding to at least one vehicle driving data type is generated, that is, each preset topic corresponds to at least one vehicle driving data type, thereby determining the corresponding relationship between the vehicle driving data type and the preset topic;

[0074] In the embodiment of this specification, after the driving controller generates a preset topic, a preset data writer corresponding to each preset topic is created in the participant domain of the driving controller. A participant is the smallest unit participating in communication in the vehicle communication network architecture, and each preset topic corresponds to a preset data writer.

[0075] In the embodiment of the present specification, the actuator corresponding to the driving controller includes a preset data reader corresponding to each preset topic. After the actuator corresponding to the driving controller subscribes to the preset topic, the driving controller establishes a corresponding relationship between the preset data writer and the preset data reader corresponding to each preset topic based on the topic subscription information of the actuator; Figure 2 A schematic diagram of a correspondence relationship between a preset subject and a preset data writer and a preset data reader provided in an embodiment of the present invention, Figure 2 Take the driving controller generating two preset topics as an example, namely preset topic 1 and preset topic 2. For preset topic 1, the participant domain of the driving controller includes preset data writer 1 corresponding to preset topic 1, and the participant domain of the actuator includes preset data reader 1 corresponding to preset topic 1, that is, there is a corresponding relationship between preset topic 1, preset data writer 1 and preset data reader 1. Similarly, there is a corresponding relationship between preset topic 2, preset data writer 2 and preset data reader 2.

[0076] In the embodiments of this specification, the driving controller corresponds to at least one actuator, and the driving controller refers to a device for controlling the driving of the vehicle, such as a steering wheel and a brake pedal. Accordingly, the actuator corresponding to the driving controller refers to a vehicle actuator, such as an electric power steering system and an electronic parking brake system;

[0077] The embodiments of this specification perform data transmission in a vehicle communication network based on the correspondence between the subject and the data writer and the data reader. Furthermore, the driving controller and the corresponding actuator in the vehicle communication network architecture can realize redundant processing of key data based on preset frame replication and elimination configuration information. For existing vehicles, high-reliability communication of key data can be achieved without hardware replacement of the switching nodes in the vehicle communication network architecture.

[0078] S103, determining a target theme corresponding to the currently acquired driving data based on the data type of the currently acquired driving data and the correspondence between the vehicle driving data type and a preset theme;

[0079] In an embodiment of the present specification, after the driving controller acquires the driving data, it can determine at least one preset theme corresponding to the driving data, that is, the target theme corresponding to the driving data, based on the data type of the driving data and the correspondence between the vehicle driving data type and the preset themes.

[0080] S105, generating a target data stream based on a target data writer corresponding to the target subject;

[0081] In the embodiment of this specification, after determining the target subject corresponding to the currently acquired driving data, a target data stream is generated based on the target data writer corresponding to the target subject; Figure 2 As shown, if the target topic corresponding to the currently acquired driving data is preset topic 1, and the preset data writer corresponding to preset topic 1 is preset data writer 1, that is, the target data writer corresponding to the target topic is preset data writer 1, then the driving controller generates a target data stream corresponding to the currently acquired driving data based on preset data writer 1.

[0082] In an embodiment of the present specification, the currently acquired driving data corresponds to at least one target topic, each target topic corresponds to a target data writer, and the target data stream is generated based on the target data writer corresponding to the target topic, including:

[0083] When a plurality of first initial data streams are generated based on a target data writer corresponding to the at least one target subject, and the plurality of first initial data streams correspond to the same executor, the plurality of first initial data streams are packaged to obtain the target data stream.

[0084] In the embodiment of the present specification, since the currently acquired driving data corresponds to at least one target subject, and each target subject corresponds to a target data writer, the target data writer corresponding to the target subject may generate multiple first initial data streams. Specifically, if the currently acquired driving data corresponds to one target subject, the target data writer corresponding to the target subject may generate multiple first initial data streams, or if the currently acquired driving data corresponds to multiple target subjects, the target data writers corresponding to multiple target subjects may also generate multiple first initial data streams in total. In the case where multiple first initial data streams need to be transmitted to the same actuator, the multiple first initial data streams may be packaged and integrated to obtain the target data stream.

[0085] In the embodiment of this specification, when the data generated by the driving controller needs to be transmitted to the same actuator, the number of data transmissions can be reduced and the data transmission efficiency can be improved by packaging the data in the driving controller and unpacking the data in the actuator.

[0086] S107, based on preset frame duplication configuration information, duplicating key data frames in the target data stream to obtain multiple groups of redundant frames.

[0087] In an embodiment of the present specification, the preset frame copy configuration information includes the number of frame copies and the starting value of the frame sequence number, and the key data frames in the target data stream are copied based on the preset frame copy configuration information to obtain multiple groups of redundant frames, including:

[0088] Based on the preset message header information, the key data frame is encapsulated to obtain an encapsulated key data frame;

[0089] Based on the number of frame copies, the encapsulated key data frame is copied to obtain multiple groups of redundant frames corresponding to the number of frame copies;

[0090] The frame sequence number corresponding to each data frame in the plurality of groups of redundant frames is determined based on the frame sequence number starting value; the same data frames have the same frame sequence number.

[0091] In the embodiment of the present specification, by detecting the target data stream, a key data frame in the target data stream may be determined, and the key data frame may be one or more data frames in the target data stream;

[0092] In the embodiment of the present specification, based on the preset message header information, the key data frame is encapsulated with UDP (User Datagram Protocol), IP (Internet Protocol), RTAG (frame sequence number start value), CVLAN (Customer VLAN, inner VLAN tag), SVLAN (Service Provider VLAN, outer VLAN tag), and MAC (Medium Access Control) message headers in sequence to obtain the encapsulated key data frame;

[0093] In the embodiment of the present specification, the key data frame is copied according to the frame copy number included in the preset frame copy configuration information to obtain multiple groups of redundant frames; each group of redundant frames may include one or more data frames in the target data stream, and each group of redundant frames includes the same data frames;

[0094] In the embodiment of the present specification, according to the frame sequence number starting value included in the preset frame replication configuration information, a corresponding frame sequence number can be assigned to each data frame in the multiple groups of redundant frames, so that the same data frames have the same frame sequence number;

[0095] The driving controller in the embodiment of the present specification determines the subject corresponding to the currently acquired driving data based on the data type of the currently acquired driving data, generates a data stream based on the data writer corresponding to the subject, and then copies the key data frames in the data stream based on the preset frame copy configuration information, so that the driving controller can realize redundant processing of key data. For existing vehicles, there is no need to replace the hardware of the switching nodes in the vehicle-mounted communication network architecture to achieve high-reliability communication of key data, so that the hardware cost will not increase.

[0096] In the embodiment of the present specification, the multiple groups of redundant frames correspond to multiple preset virtual local area networks one by one, the multiple nodes included in each preset virtual local area network do not form a ring network structure, and the preset frame replication configuration information also includes virtual local area network identifiers corresponding to the multiple preset virtual local area networks and a topic identifier corresponding to each preset topic;

[0097] After duplicating the key data frames in the target data stream based on the preset frame duplication configuration information to obtain multiple groups of redundant frames, the method further includes:

[0098] Determine the virtual local area network identifiers and the subject identifiers corresponding to the multiple groups of redundant frames respectively based on the preset frame replication configuration information; the subject identifiers corresponding to the multiple groups of redundant frames are the subject identifiers corresponding to the target subject;

[0099] Based on the virtual local area network identifiers and the subject identifiers respectively corresponding to the multiple groups of redundant frames, the multiple groups of redundant frames are sent to the target data readers corresponding to the target subject in the executor through the multiple preset virtual local area networks.

[0100] In the embodiments of the present specification, a preset virtual local area network (VLAN, i.e., Virtual LAN) can logically divide physically connected networks into virtual local area networks that cannot directly communicate with each other; each preset virtual local area network includes multiple nodes, and the multiple nodes in each preset virtual local area network form a preset transmission path;

[0101] In the embodiment of the present specification, there are two or more preset transmission paths, and the preset transmission paths correspond one-to-one to the multiple preset virtual local area networks, and the preset transmission paths correspond one-to-one to the multiple groups of redundant frames, that is, each group of redundant frames has a corresponding preset virtual local area network and a preset transmission path;

[0102] In an embodiment of the present specification, the driving controller copies the key data frames in the target data stream to obtain multiple groups of redundant frames, and the multiple groups of redundant frames correspond one-to-one to multiple preset virtual local area networks, so that each group of redundant frames can be transmitted through different preset virtual local area networks respectively;

[0103] In an embodiment of the present specification, based on the virtual LAN identifiers of multiple preset virtual LANs included in the preset frame replication configuration information and the subject identifier of each preset subject, the virtual LAN identifiers and subject identifiers corresponding to multiple groups of redundant frames can be determined, the virtual LAN identifier corresponding to each group of redundant frames represents the preset sending path corresponding to each group of redundant frames, the virtual LAN identifier corresponding to each group of redundant frames is different, and the subject identifier corresponding to each group of redundant frames represents the target subject corresponding to each group of redundant frames, and then based on the virtual LAN identifiers and subject identifiers corresponding to the multiple groups of redundant frames, the multiple groups of redundant frames containing the target subject identifiers are respectively sent to the actuator corresponding to the driving controller through different preset virtual LANs, the actuator determines the target data reader corresponding to the target subject according to the target subject identifiers corresponding to the multiple groups of redundant frames, and finally sends the processed data to the target data reader corresponding to the target subject;

[0104] In the embodiments of this specification, the SVLAN tag may be used to identify a preset virtual local area network, and the CVLAN tag may be used to identify a preset subject;

[0105] Figure 3 A schematic diagram of a vehicle data transmission process provided in an embodiment of the present invention, wherein each preset virtual local area network includes multiple nodes, the nodes included in each preset virtual local area network do not constitute a ring network structure, and the multiple nodes in each preset virtual local area network form a corresponding preset sending path. Figure 3 Taking two preset virtual LANs as an example, the preset virtual LANs may be SVLANs, that is, the two preset virtual LANs are respectively the first preset virtual LAN SVLAN1 and the second preset virtual LAN SVLAN2, the nodes in the first preset virtual LAN include a driving controller, a switching node 1 and an actuator, the switching node 1 may include one or more switching nodes, and the first preset sending path corresponding to the first preset virtual LAN is a driving controller-switching node 1-actuator; the nodes in the second preset virtual LAN include a driving controller, a switching node 2 and an actuator, the switching node 2 may include one or more switching nodes, and the second preset sending path corresponding to the second preset virtual LAN is a driving controller-switching node 2-actuator. The driving controller copies the key data frames in the target data stream to obtain multiple groups of redundant frames corresponding one-to-one to multiple preset virtual LANs. Figure 3 Take two groups of redundant frames as an example, namely redundant frame group 1 and redundant frame group 2. Redundant frame group 1 and redundant frame group 2 contain the same data frames. Redundant frame group 1 corresponds to the first preset virtual local area network and the first preset transmission path, and redundant frame group 2 corresponds to the second preset virtual local area network and the second preset transmission path. Redundant frame group 1 can be transmitted to the executor via switching node 1 according to the first preset virtual local area network and the first preset transmission path corresponding to redundant frame group 1; redundant frame group 2 can be transmitted to the executor via switching node 2 according to the second preset virtual local area network and the second preset transmission path corresponding to redundant frame group 2;

[0106] The driving controller of the embodiment of the present specification sends multiple groups of redundant frames to the actuator corresponding to the driving controller through different preset virtual LANs based on the virtual LAN identifiers and subject identifiers corresponding to the multiple groups of redundant frames. Since the nodes in each preset virtual LAN do not form a ring network structure, broadcast storms can be avoided. At the same time, the transmission of multiple groups of redundant frames through different preset sending paths ensures the reliability of data transmission.

[0107] Please refer to Figure 4 , which is a flow chart of a vehicle data processing method applied to an actuator provided by an embodiment of the present invention. Figure 4 As shown, the vehicle data processing method is applied to an actuator, and the method includes:

[0108] S401, obtaining a correspondence between each preset subject and each preset data reader in the executor;

[0109] In an embodiment of the present specification, before the driving controller communicates with the corresponding actuator, the actuator needs to look up the preset topics and create a preset data reader corresponding to each preset topic. Since each preset topic corresponds to a preset data reader, the correspondence between each preset topic and each preset data reader in the actuator can be determined.

[0110] In an embodiment of the present specification, the driving controller includes a preset data writer corresponding to each preset subject, and before obtaining the corresponding relationship between each preset subject and each preset data reader in the actuator, the method further includes:

[0111] Creating a preset data reader corresponding to each preset topic; the executor includes at least one preset data reader;

[0112] Subscribing to the preset topic, generating topic subscription information, and establishing a corresponding relationship between a preset data writer corresponding to each preset topic and a preset data reader corresponding to each preset topic based on the topic subscription information;

[0113] Based on the correspondence between the preset data writer corresponding to each preset topic and the preset data reader corresponding to each preset topic, the correspondence between each preset topic and each preset data reader is determined.

[0114] In the embodiment of this specification, the executor creates a preset data reader corresponding to each preset topic in the participant domain of the executor, and each preset topic corresponds to a preset data reader;

[0115] In the embodiment of the present specification, after the executor subscribes to the preset topic, it generates topic subscription information and sends the topic subscription information to the driving controller that generates the preset topic. The driving controller and the executor can establish a connection relationship based on the topic subscription information, specifically referring to the corresponding relationship between the preset data writer and the preset data reader corresponding to each preset topic;

[0116] The embodiments of this specification perform data transmission in a vehicle communication network based on the correspondence between the subject and the data writer and the data reader. Furthermore, the actuator in the vehicle communication network architecture can implement redundant processing of key data based on preset frame elimination configuration information. For existing vehicles, high-reliability communication of key data can be achieved without hardware replacement of the switching nodes in the vehicle communication network architecture, so that the hardware cost will not increase.

[0117] S403, receiving a plurality of groups of redundant frames sent by a driving controller corresponding to the actuator;

[0118] In an embodiment of the present specification, each second initial data stream received by the actuator corresponds to at least one target topic, and the receiving of multiple groups of redundant frames sent by the driving controller corresponding to the actuator includes:

[0119] When a plurality of second initial data streams corresponding to the at least one target subject are received, each of the second initial data streams is unpacked to obtain the plurality of groups of redundant frames.

[0120] In the embodiment of the present specification, when a target data writer corresponding to a target subject generates multiple first initial data streams, and the multiple first initial data streams need to be transmitted to the same actuator, the driving controller can package the multiple first initial data streams, and then perform redundancy processing on the key data therein to obtain multiple second initial data streams, and then send the multiple second initial data streams to the actuator; accordingly, the actuator needs to unpack each received second initial data stream and restore the packaged multiple second initial data streams into multiple groups of redundant frames;

[0121] In the embodiment of this specification, when the data generated by the driving controller needs to be transmitted to the same actuator, the number of data transmissions can be reduced and the data transmission efficiency can be improved by packaging the data in the driving controller and unpacking the data in the actuator.

[0122] S405, determining a target data reader corresponding to the target topic based on the target topics corresponding to the multiple groups of redundant frames and the corresponding relationship between each preset topic and each preset data reader in the executor;

[0123] In an embodiment of the present specification, each group of redundant frames may include a subject identifier of a target subject. The executor may determine the target subject corresponding to each group of redundant frames based on the subject identifier corresponding to each group of redundant frames, and then determine the target data reader corresponding to the target subject based on the correspondence between each preset subject and each preset data reader in the executor.

[0124] S407, based on the preset frame elimination configuration information, selecting a group of redundant frames from the multiple groups of redundant frames as a group of frames to be restored, performing data recovery processing on the group of frames to be restored, and obtaining a target restored frame group;

[0125] In the embodiment of the present specification, the preset frame elimination configuration information includes an independent recovery parameter and a sequence recovery parameter. The method of selecting a group of redundant frames from the multiple groups of redundant frames as a to-be-recovered frame group based on the preset frame elimination configuration information, performing data recovery processing on the to-be-recovered frame group, and obtaining a target recovery frame group includes:

[0126] Based on the independent recovery parameters, the plurality of groups of redundant frames are respectively subjected to intra-group data frame deduplication processing to obtain a plurality of processed groups of redundant frames;

[0127] Based on the sequence recovery parameter, redundant frame group deduplication processing is performed on the processed multiple groups of redundant frames to obtain the frame group to be restored; the frame group to be restored is a group of redundant frames in the processed multiple groups of redundant frames;

[0128] Data recovery processing is performed on the frame group to be recovered to obtain the target recovery frame group.

[0129] In the embodiment of the present specification, multiple groups of redundant frames can be identified based on the identification field included in the preset frame elimination configuration information to determine the duplicate data frames that need to be eliminated;

[0130] In the embodiment of the present specification, the independent recovery parameter refers to a parameter related to an independent recovery function (IRF). Based on the independent recovery parameter included in the preset frame elimination configuration information, repeated data frames in each group of redundant frames can be identified and deleted, thereby achieving deduplication of data frames within a group of multiple groups of redundant frames, and obtaining multiple groups of processed redundant frames;

[0131] In the embodiment of the present specification, the sequence recovery parameter refers to a parameter related to a sequence recovery function (SRF). Based on the sequence recovery parameter included in the preset frame elimination configuration information, repeated redundant frames in multiple groups of redundant frames can be identified, a group of redundant frames with complete data in the multiple groups of redundant frames is retained as a frame group to be recovered, and the remaining redundant frames in the multiple groups of redundant frames except the frame group to be recovered are deleted, thereby achieving deduplication of the redundant frame groups of the processed multiple groups of redundant frames to obtain the frame group to be recovered;

[0132] In the embodiment of the present specification, the data recovery processing performed on the frame group to be recovered may be stripping of the message header, and after the processing, the target recovery frame group may be obtained;

[0133] The actuator in the vehicle communication network architecture of the embodiment of this specification can realize redundant processing of key data based on preset frame elimination configuration information. For existing vehicles, high-reliability communication of key data can be achieved without hardware replacement of the switching nodes in the vehicle communication network architecture, so that the hardware cost will not increase.

[0134] S409: Send the target recovery frame group to a target data reader corresponding to the target topic.

[0135] In an embodiment of the present specification, based on the target topics corresponding to multiple groups of redundant frames, and the correspondence between each preset topic and each preset data reader in the executor, the target data reader corresponding to the target topic can be determined, that is, the target data reader corresponding to the target recovery frame group, so that the target recovery frame group can be sent to the corresponding target data reader.

[0136] It can be seen from the above-mentioned embodiment of the vehicle data processing method provided by the present invention that the driving controller of the embodiment of the present invention obtains the correspondence between the vehicle driving data type and the preset subject; based on the data type of the currently acquired driving data and the correspondence between the vehicle driving data type and the preset subject, determines the target subject corresponding to the currently acquired driving data; generates a target data stream based on the target data writer corresponding to the target subject; based on the preset frame replication configuration information, replicates the key data frames in the target data stream to obtain multiple groups of redundant frames. The executor of the embodiment of the present invention obtains the correspondence between each preset subject and each preset data reader in the executor; receives multiple groups of redundant frames sent by the driving controller corresponding to the executor; based on the target subject corresponding to the multiple groups of redundant frames and the correspondence between each preset subject and each preset data reader in the executor, determines the target data reader corresponding to the target subject; based on the preset frame elimination configuration information, selects a group of redundant frames from the multiple groups of redundant frames as the frame group to be restored, performs data recovery processing on the frame group to be restored, and obtains the target recovery frame group; sends the target recovery frame group to the target data reader corresponding to the target subject. The technical solution provided in the embodiments of this specification can perform data transmission in the vehicle communication network based on the correspondence between the subject and the data writer and data reader, and the driving controller and the corresponding actuator in the vehicle communication network architecture can realize redundant processing of key data based on preset frame replication and elimination configuration information. For existing vehicles, high-reliability communication of key data can be achieved without hardware replacement of the switching nodes in the vehicle communication network architecture, so that the hardware cost will not increase.

[0137] The embodiment of the present invention also provides a vehicle data processing device, such as Figure 5 As shown, it is a structural schematic diagram of a vehicle data processing device applied to a driving controller provided by an embodiment of the present invention; specifically, the device includes:

[0138] A first acquisition module 510 is used to acquire a correspondence between a vehicle driving data type and a preset theme;

[0139] The theme determination module 520 is used to determine the target theme corresponding to the currently acquired driving data based on the data type of the currently acquired driving data and the corresponding relationship between the vehicle driving data type and the preset theme;

[0140] A data generation module 530, configured to generate a target data stream based on a target data writer corresponding to the target subject;

[0141] The data replication module 540 is used to replicate the key data frames in the target data stream based on preset frame replication configuration information to obtain multiple groups of redundant frames.

[0142] In the embodiment of the present specification, the actuator corresponding to the driving controller includes a preset data reader corresponding to each preset theme, and the device further includes:

[0143] A theme generation module, used to generate a preset theme corresponding to at least one vehicle driving data type;

[0144] A first determination module, used to determine the correspondence between the vehicle driving data type and a preset theme;

[0145] A data writer creation module, used to create a preset data writer corresponding to each preset theme; the driving controller includes at least one preset data writer;

[0146] The connection module is used to establish a corresponding relationship between a preset data writer corresponding to each preset topic and a preset data reader corresponding to each preset topic based on the topic subscription information of the executor.

[0147] In the embodiment of the present specification, the preset frame copy configuration information includes the number of frame copies and the starting value of the frame sequence number, and the data copy module 540 includes:

[0148] An encapsulation unit, configured to encapsulate the key data frame based on preset message header information to obtain an encapsulated key data frame;

[0149] A duplication unit, configured to duplicate the encapsulated key data frame based on the number of frame duplications to obtain a plurality of groups of redundant frames corresponding to the number of frame duplications;

[0150] A frame sequence number determination unit is used to determine the frame sequence number corresponding to each data frame in the multiple groups of redundant frames based on the frame sequence number starting value; the same data frames have the same frame sequence number.

[0151] In the embodiment of the present specification, the multiple groups of redundant frames correspond to multiple preset virtual local area networks one by one, the multiple nodes included in each preset virtual local area network do not form a ring network structure, the preset frame replication configuration information also includes the virtual local area network identifiers corresponding to the multiple preset virtual local area networks and the topic identifier corresponding to each preset topic, and the device also includes:

[0152] An identification determination module, used to determine the virtual local area network identifications and the subject identifications corresponding to the multiple groups of redundant frames respectively based on the preset frame replication configuration information; the subject identifications corresponding to the multiple groups of redundant frames are the subject identifications corresponding to the target subject;

[0153] The data transmission module is used to send the multiple groups of redundant frames to the target data reader corresponding to the target topic in the executor through the multiple preset virtual local area networks based on the virtual local area network identifiers and topic identifiers respectively corresponding to the multiple groups of redundant frames.

[0154] In the embodiment of the present specification, the currently acquired driving data corresponds to at least one target subject, each target subject corresponds to a target data writer, and the data generation module 530 includes:

[0155] A packaging unit is used to package the multiple first initial data streams to obtain the target data stream when the multiple first initial data streams are generated based on the target data writer corresponding to the at least one target subject and the multiple first initial data streams correspond to the same executor.

[0156] The embodiment of the present invention also provides another vehicle data processing device, such as Figure 6 As shown, it is a structural schematic diagram of a vehicle data processing device applied to an actuator provided by an embodiment of the present invention; specifically, the device includes:

[0157] A second acquisition module 610 is used to acquire a corresponding relationship between each preset subject and each preset data reader in the executor;

[0158] A data receiving module 620, configured to receive a plurality of groups of redundant frames sent by a driving controller corresponding to the actuator;

[0159] A data reader determination module 630, configured to determine a target data reader corresponding to the target subject based on the target subjects corresponding to the multiple groups of redundant frames and the corresponding relationship between each preset subject and each preset data reader in the executor;

[0160] The data elimination module 640 is used to select a group of redundant frames from the multiple groups of redundant frames as a group of frames to be restored based on preset frame elimination configuration information, and perform data recovery processing on the group of frames to be restored to obtain a target restored frame group;

[0161] The data sending module 650 is used to send the target recovery frame group to a target data reader corresponding to the target topic.

[0162] In the embodiment of the present specification, the driving controller includes a preset data writer corresponding to each preset theme, and the device further includes:

[0163] A data reader creation module, used to create a preset data reader corresponding to each preset topic; the executor includes at least one preset data reader;

[0164] A topic subscription module, used to subscribe to the preset topic, generate topic subscription information, and establish a corresponding relationship between a preset data writer corresponding to each preset topic and a preset data reader corresponding to each preset topic based on the topic subscription information;

[0165] The second determination module is used to determine the correspondence between each preset topic and each preset data reader based on the correspondence between the preset data writer corresponding to each preset topic and the preset data reader corresponding to each preset topic.

[0166] In the embodiment of the present specification, the preset frame elimination configuration information includes independent recovery parameters and sequence recovery parameters, and the data elimination module 640 includes:

[0167] A first deduplication unit, configured to perform intra-group data frame deduplication processing on the multiple groups of redundant frames based on the independent recovery parameters to obtain multiple groups of redundant frames after processing;

[0168] A second deduplication unit is configured to perform redundant frame group deduplication processing on the processed multiple groups of redundant frames based on the sequence recovery parameter to obtain the frame group to be restored; the frame group to be restored is a group of redundant frames in the processed multiple groups of redundant frames;

[0169] The data recovery unit is used to perform data recovery processing on the frame group to be recovered to obtain the target recovery frame group.

[0170] In the embodiment of the present specification, each second initial data stream received by the executor corresponds to at least one target topic, and the data receiving module 620 includes:

[0171] The unpacking unit is used to, upon receiving a plurality of second initial data streams corresponding to the at least one target subject, unpack each of the second initial data streams to obtain the plurality of groups of redundant frames.

[0172] An embodiment of the present invention also provides an electronic device, comprising a processor and a memory; the memory stores one or more instructions, and the one or more instructions are suitable for the processor to load and execute to implement the vehicle data processing method as described in the above method embodiment.

[0173] The memory can be used to store software programs and modules. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs required for functions, etc.; the data storage area can store data created according to the use of the device, etc. In addition, the memory can include a high-speed random access memory and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device or other volatile solid-state storage device. Accordingly, the memory can also include a memory controller to provide the processor with access to the memory.

[0174] Figure 7 Schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. The internal structure of the electronic device may include but is not limited to: a processor 701, a memory 702, and a communication interface 703, wherein the processor 701, the memory 702, and the communication interface 703 in the electronic device may be connected by a bus or other means. Figure 7 The example of connecting through bus is taken in the following.

[0175] Among them, the processor 701 (or CPU (Central Processing Unit)) is the computing core and control core of the electronic device. The communication interface 703 is used for communication between the memory 702 and the processor 701. The memory 702 (Memory) is used to store programs and data. It can be understood that the memory here can be a high-speed RAM storage device or a non-volatile storage device (non-volatile memory), such as at least one disk storage device; optionally, it can also be at least one storage device located away from the aforementioned processor. The memory provides a storage space, which stores the operating system of the electronic device, which may include but is not limited to: Windows system (an operating system), Linux system (an operating system), etc., and the present invention does not limit this; and, a computer program (including program code) suitable for being loaded and executed by the processor is also stored in the storage space. In the embodiment of this specification, the processor 701 loads and executes the computer program stored in the memory 702 to implement the vehicle data processing method provided in the above method embodiment.

[0176] An embodiment of the present invention also provides a computer-readable storage medium, which can be set in an electronic device to store at least one instruction, at least one program, code set or instruction set related to a vehicle data processing method in a method embodiment. The at least one instruction, the at least one program, the code set or instruction set can be loaded and executed by a processor of the electronic device to implement the vehicle data processing method provided by the above-mentioned method embodiment.

[0177] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.

[0178] It should be noted that the sequence of the embodiments of the present invention described above is for description only and does not represent the advantages and disadvantages of the embodiments. The above describes specific embodiments of this specification, and other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0179] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0180] Those skilled in the art will appreciate that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk, or an optical disk, etc.

[0181] The above disclosure is only a preferred embodiment of the present invention, which certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.

Claims

1. A vehicle data processing method, characterized in that: Applied to a driving controller, the method comprises: Obtaining the correspondence between vehicle driving data types and preset topics; Determining a target theme corresponding to the currently acquired driving data based on a data type of the currently acquired driving data and a correspondence between the vehicle driving data type and a preset theme; Generate a target data stream based on a target data writer corresponding to the target subject; Based on the preset frame duplication configuration information, key data frames in the target data stream are duplicated to obtain multiple groups of redundant frames.

2. The vehicle data processing method according to claim 1, characterized in that: The actuator corresponding to the driving controller includes a preset data reader corresponding to each preset topic. Before obtaining the corresponding relationship between the vehicle driving data type and the preset topic, the method further includes: generating a preset theme corresponding to at least one vehicle driving data type; Determining a correspondence between the vehicle driving data type and a preset theme; Creating a preset data writer corresponding to each preset theme; the driving controller includes at least one preset data writer; Based on the topic subscription information of the executor, a corresponding relationship between a preset data writer corresponding to each preset topic and a preset data reader corresponding to each preset topic is established.

3. The vehicle data processing method according to claim 1, characterized in that: The preset frame copy configuration information includes the number of frame copies and the starting value of the frame sequence number. Based on the preset frame copy configuration information, the key data frames in the target data stream are copied to obtain multiple groups of redundant frames, including: Based on the preset message header information, the key data frame is encapsulated to obtain an encapsulated key data frame; Based on the number of frame copies, the encapsulated key data frame is copied to obtain multiple groups of redundant frames corresponding to the number of frame copies; The frame sequence number corresponding to each data frame in the plurality of groups of redundant frames is determined based on the frame sequence number starting value; the same data frames have the same frame sequence number.

4. The vehicle data processing method according to claim 1, characterized in that: The multiple groups of redundant frames correspond to multiple preset virtual local area networks one by one, the multiple nodes included in each preset virtual local area network do not form a ring network structure, and the preset frame replication configuration information also includes virtual local area network identifiers corresponding to the multiple preset virtual local area networks and a topic identifier corresponding to each preset topic; After duplicating the key data frames in the target data stream based on the preset frame duplication configuration information to obtain multiple groups of redundant frames, the method further includes: Determine the virtual local area network identifiers and the subject identifiers corresponding to the multiple groups of redundant frames respectively based on the preset frame replication configuration information; the subject identifiers corresponding to the multiple groups of redundant frames are the subject identifiers corresponding to the target subject; Based on the virtual local area network identifiers and the subject identifiers respectively corresponding to the multiple groups of redundant frames, the multiple groups of redundant frames are sent to the target data readers corresponding to the target subject in the executor through the multiple preset virtual local area networks.

5. The vehicle data processing method according to claim 1, characterized in that: The currently acquired driving data corresponds to at least one target topic, each target topic corresponds to a target data writer, and the target data stream is generated based on the target data writer corresponding to the target topic, including: When a plurality of first initial data streams are generated based on a target data writer corresponding to the at least one target subject, and the plurality of first initial data streams correspond to the same executor, the plurality of first initial data streams are packaged to obtain the target data stream.

6. A vehicle data processing method, characterized in that: Applied to an actuator, the method comprises: Obtaining a corresponding relationship between each preset subject and each preset data reader in the executor; receiving a plurality of groups of redundant frames sent by a driving controller corresponding to the actuator; Determine a target data reader corresponding to the target topic based on the target topics corresponding to the multiple groups of redundant frames and the corresponding relationship between each preset topic and each preset data reader in the executor; Based on the preset frame elimination configuration information, a group of redundant frames is selected from the multiple groups of redundant frames as a group of frames to be restored, and data recovery processing is performed on the group of frames to be restored to obtain a target restored frame group; The target recovery frame group is sent to a target data reader corresponding to the target topic.

7. The vehicle data processing method according to claim 6, characterized in that: The driving controller includes a preset data writer corresponding to each preset subject. Before acquiring the corresponding relationship between each preset subject and each preset data reader in the actuator, the method further includes: Creating a preset data reader corresponding to each preset topic; the executor includes at least one preset data reader; Subscribing to the preset topic, generating topic subscription information, and establishing a corresponding relationship between a preset data writer corresponding to each preset topic and a preset data reader corresponding to each preset topic based on the topic subscription information; Based on the correspondence between the preset data writer corresponding to each preset topic and the preset data reader corresponding to each preset topic, the correspondence between each preset topic and each preset data reader is determined.

8. The vehicle data processing method according to claim 6, characterized in that: The preset frame erasure configuration information includes an independent recovery parameter and a sequence recovery parameter. The method of selecting a group of redundant frames from the multiple groups of redundant frames as a to-be-recovered frame group based on the preset frame erasure configuration information, performing data recovery processing on the to-be-recovered frame group to obtain a target recovery frame group includes: Based on the independent recovery parameters, the plurality of groups of redundant frames are respectively subjected to intra-group data frame deduplication processing to obtain a plurality of processed groups of redundant frames; Based on the sequence recovery parameter, redundant frame group deduplication processing is performed on the processed multiple groups of redundant frames to obtain the frame group to be restored; the frame group to be restored is a group of redundant frames in the processed multiple groups of redundant frames; Data recovery processing is performed on the frame group to be recovered to obtain the target recovery frame group.

9. The vehicle data processing method according to claim 6, characterized in that: Each second initial data stream received by the actuator corresponds to at least one target topic, and the receiving of multiple groups of redundant frames sent by the driving controller corresponding to the actuator includes: When a plurality of second initial data streams corresponding to the at least one target subject are received, each of the second initial data streams is unpacked to obtain the plurality of groups of redundant frames.

10. A vehicle data processing device, characterized in that: Applied to a driving controller, the device comprises: A first acquisition module is used to acquire a correspondence between a vehicle driving data type and a preset theme; A theme determination module, configured to determine a target theme corresponding to the currently acquired driving data based on a data type of the currently acquired driving data and a correspondence between the vehicle driving data type and a preset theme; A data generation module, used for generating a target data stream based on a target data writer corresponding to the target subject; The data replication module is used to replicate the key data frames in the target data stream based on preset frame replication configuration information to obtain multiple groups of redundant frames.

11. A vehicle data processing device, characterized in that: Applied to an actuator, the device comprises: A second acquisition module, used to acquire a corresponding relationship between each preset subject and each preset data reader in the executor; A data receiving module, used for receiving a plurality of groups of redundant frames sent by a driving controller corresponding to the actuator; A data reader determination module, configured to determine a target data reader corresponding to the target subject based on the target subjects corresponding to the multiple groups of redundant frames and the corresponding relationship between each preset subject and each preset data reader in the executor; A data elimination module, configured to select a group of redundant frames from the plurality of groups of redundant frames as a group of frames to be restored based on preset frame elimination configuration information, and perform data recovery processing on the group of frames to be restored to obtain a target restored frame group; A data sending module is used to send the target recovery frame group to a target data reader corresponding to the target subject.

12. An electronic device, characterized in that: The device includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the vehicle data processing method as described in claims 1-9.

13. A computer-readable storage medium, characterized in that: The storage medium stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the vehicle data processing method as described in claims 1-9.