CN-122027658-A - Data transmission method, vehicle, area controller and storage medium
Abstract
The present application relates to the field of vehicle-mounted communications, and in particular, to a data transmission method, a vehicle, a regional controller, and a storage medium. The data transmission method is applied to a regional controller, the regional controller is in communication connection with a data acquisition node, the method comprises the steps of determining target acquisition data, grouping the target acquisition data to obtain a plurality of data unit groups, wherein the target acquisition data comprises protocol data units to be uploaded to the data acquisition node, the plurality of data unit groups comprise a first data unit group and a second data unit group, distributing a first time window for the first data unit group and a second time window for the second data unit group, transmitting the first data unit group to the data acquisition node if the current time is in the first time window, and transmitting the second data unit group to the data acquisition node if the current time is in the second time window. The application can reduce the communication load between the regional controller and the data acquisition node.
Inventors
- ZHANG XIN
- XU HUIMIN
- ZHOU YANG
Assignees
- 浙江吉利控股集团有限公司
- 吉利汽车研究院(宁波)有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260318
Claims (10)
- 1. A data transmission method for use with an area controller in a vehicle, the area controller being communicatively coupled to a data collection node in the vehicle, the data transmission method comprising: Determining target acquisition data, wherein the target acquisition data comprises protocol data units to be uploaded to the data acquisition node; Grouping the target acquisition data to obtain a plurality of data unit groups, wherein the plurality of data unit groups at least comprise a first data unit group and a second data unit group; in a preset data acquisition time period, a first time window is allocated for the first data unit group, and a second time window is allocated for the second data unit group; If the current time is within the first time window, transmitting the first data unit group to the data acquisition node; And if the current time is in the second time window, transmitting the second data unit group to the data acquisition node.
- 2. The data transmission method according to claim 1, wherein transmitting the first data unit group to the data collection node if the current time is within the first time window comprises: if the current time is within the first time window, enabling a first routing path, disabling a second routing path and transmitting the first data unit group through the first routing path; The first routing path is a routing path for transmitting the first data unit group from the area controller to the data acquisition node, and the second routing path is a routing path for transmitting the second data unit group from the area controller to the data acquisition node; and if the current time is in the second time window, transmitting the second data unit group to the data acquisition node, including: And if the current time is within the second time window, enabling the second routing path, disabling the first routing path and transmitting the second data unit group through the second routing path.
- 3. The data transmission method of claim 1, wherein the plurality of data unit groups further comprises a third data unit group, the data transmission method further comprising: maintaining a third routing path in an enabled state during the data acquisition period; the third routing path is a routing path for transmitting the third data unit group from the area controller to the data acquisition node; transmitting the third set of data units over the third routing path.
- 4. The data transmission method of claim 3, wherein the first data unit group and the second data unit group are both data unit groups capable of reducing data transmission frequency, the third data unit group is a data unit group incapable of reducing data transmission frequency, and the grouping the target acquisition data to obtain a plurality of data unit groups comprises: grouping the target acquisition data based on a preset frequency-reducing grouping strategy to obtain a plurality of data unit groups; Wherein the down-conversion grouping strategy is used for indicating the data type of the protocol data unit in the data unit group capable of reducing the data transmission frequency and the data type of the protocol data unit in the data unit group incapable of reducing the data transmission frequency.
- 5. The data transmission method of claim 1, wherein the area controller is communicatively connected to a data upload node in the vehicle, and the determining the target collected data comprises: Acquiring candidate acquisition data from the data uploading node; and responding to the data acquisition instruction of the data acquisition node, and screening the target acquisition data from the candidate acquisition data, wherein the data acquisition instruction comprises the data type to be acquired by the data acquisition node.
- 6. The data transmission method of claim 5, further comprising, after said determining that the target collects data: And maintaining a fourth routing path in a disabled state in the data acquisition time period, wherein the fourth routing path is a routing path for transmitting non-target acquisition data from the area controller to the data acquisition node, and the non-target acquisition data is data except the target acquisition data in the candidate acquisition data.
- 7. The data transmission method according to any one of claims 1 to 6, characterized in that the data transmission method further comprises: If the vehicle type configuration of the vehicle changes, acquiring updated vehicle configuration words; Determining an upstream node of a route required by the target acquisition data based on the updated vehicle configuration word; And configuring a target address of the target acquisition data route as a network address of the upstream node through a socket adapter.
- 8. A vehicle, characterized in that the vehicle includes regional controller and data acquisition node, data acquisition node with regional controller communication connection, set up by data transmission device in the regional controller, data transmission device includes: The data acquisition module is used for determining target acquisition data, wherein the target acquisition data comprises protocol data units to be uploaded to the data acquisition node; The data grouping module is used for grouping the target acquisition data to obtain a plurality of data unit groups, wherein the plurality of data unit groups at least comprise a first data unit group and a second data unit group; The time distribution module is used for distributing a first time window for the first data unit group and a second time window for the second data unit group in a preset data acquisition time period; The first time-sharing transmission module is used for transmitting the first data unit group to the data acquisition node if the current time is within the first time window; And the second time division transmission module is used for transmitting the second data unit group to the data acquisition node if the current time is in the second time window.
- 9. A zone controller comprising a processor and a memory, wherein the memory is for storing instructions, the processor is for invoking the instructions in the memory to cause the zone controller to perform the data transmission method according to any of claims 1 to 7.
- 10. A computer readable storage medium storing computer instructions which, when run on a zone controller, cause the zone controller to perform the data transmission method of any one of claims 1 to 7.
Description
Data transmission method, vehicle, area controller and storage medium Technical Field The present application relates to the field of vehicle-mounted communications, and in particular, to a data transmission method, a vehicle, a regional controller, and a storage medium. Background At present, the centralized and intelligent level of a vehicle electronic system is continuously improved, and the high-efficiency, flexible and low-load cloud acquisition and real-time monitoring of the operation data of each functional module of a vehicle body are realized, so that the vehicle electronic system becomes one of the key requirements for intelligent vehicle development. The traditional vehicle data acquisition and cloud loading scheme generally adopts a static pre-configuration mode, namely, in a development stage, a communication link and a period for reporting data by each vehicle body controller are solidified. After the vehicle is electrified, the data acquisition related signals are forwarded to a central data acquisition node (such as a central computing platform or gateway) in a full quantity through the regional controller according to a preset period, and then are uniformly processed by the data acquisition node and uploaded to the cloud. However, this approach can result in excessive communication load between the data acquisition node and the regional controller. Disclosure of Invention In view of the foregoing, embodiments of the present application provide a data transmission method, a vehicle, an area controller, and a storage medium, which can reduce an excessive communication load between a data acquisition node and the area controller. In a first aspect, an embodiment of the present application provides a data transmission method, which is applied to an area controller in a vehicle, where the area controller is communicatively connected to a data acquisition node in the vehicle, and the data transmission method includes: Determining target acquisition data, wherein the target acquisition data comprises protocol data units to be uploaded to the data acquisition node; Grouping the target acquisition data to obtain a plurality of data unit groups, wherein the plurality of data unit groups at least comprise a first data unit group and a second data unit group; in a preset data acquisition time period, a first time window is allocated for the first data unit group, and a second time window is allocated for the second data unit group; If the current time is within the first time window, transmitting the first data unit group to the data acquisition node; And if the current time is in the second time window, transmitting the second data unit group to the data acquisition node. Compared with centralized transmission of collected data, the regional controller of the embodiment of the application groups the target collected data, transmits corresponding data unit groups in corresponding time windows, reduces the total number of routing messages of the regional controller at the same moment, can realize route frequency reduction, effectively reduces the communication load between the regional controller and the data collection node, improves the system stability, and meets the system performance index. In some embodiments, if the current time is within the first time window, transmitting the first data unit group to the data acquisition node includes: if the current time is within the first time window, enabling a first routing path, disabling a second routing path and transmitting the first data unit group through the first routing path; The first routing path is a routing path for transmitting the first data unit group from the area controller to the data acquisition node, and the second routing path is a routing path for transmitting the second data unit group from the area controller to the data acquisition node; and if the current time is in the second time window, transmitting the second data unit group to the data acquisition node, including: And if the current time is within the second time window, enabling the second routing path, disabling the first routing path and transmitting the second data unit group through the second routing path. Aiming at the first routing path and the second routing path, the embodiment of the application enables one routing path and disables the other routing path in the same time window, can provide powerful support for time-sharing data transmission of the first data unit group and the second data unit group, and enables the transmission links of the data unit groups to be more independent and stable. In some embodiments, the plurality of data unit groups further includes a third data unit group, and the data transmission method further includes: maintaining a third routing path in an enabled state during the data acquisition period; the third routing path is a routing path for transmitting the third data unit group from the area controller to the data acquisition node;