Vehicle-mounted controller software upgrading data transmission method and system and storage medium
By monitoring the network status and bandwidth prediction model of the device controller, and dynamically adjusting the transmission parameters, the problem of low data transmission efficiency for onboard controller software upgrades is solved, and efficient data transmission for software upgrades is achieved.
Patent Information
- Application Number
- CN202511554721.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-28
- Publication Date
- 2026-02-10
AI Technical Summary
Traditional vehicle controller software upgrade solutions suffer from low data transmission efficiency and long upgrade times, making it impossible to achieve efficient software upgrades.
By monitoring the network status of the device controller through the flashing device, the maximum data block length is determined, and the target transmission parameters, including block size, packet size and transmission rate, are dynamically determined in combination with the bandwidth prediction model to achieve efficient data transmission.
It improves the efficiency of data transmission for vehicle controller software upgrades, ensures efficient collaboration between the area controller and the device controller, enhances transmission efficiency, and reduces upgrade time.
Smart Images

Figure CN121509418A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle technology, and in particular to a method, system, and storage medium for transmitting data during software upgrades of an onboard controller. Background Technology
[0002] With the development of automotive intelligence, software-defined vehicles have become a core trend, and upgrading the onboard controller software has become a key means of iterating vehicle functions. Traditional onboard controller software upgrade solutions often employ fixed packet size, rate limiting, or congestion control based on Transmission Control Protocol / Internet Protocol (TCP / IP) protocols for software upgrade data transmission, resulting in low data transmission efficiency and long upgrade times. Therefore, how to efficiently achieve data transmission for onboard controller software upgrades is a pressing technical problem that needs to be solved. Summary of the Invention
[0003] This invention provides a method, system, and storage medium for transmitting data during vehicle controller software upgrades, which can improve the efficiency of data transmission during vehicle controller software upgrades.
[0004] In a first aspect, embodiments of the present invention provide a method for transmitting data during software upgrades of an in-vehicle controller, applied to an in-vehicle controller software upgrade data transmission system, the system including a flashing device, a region controller, and a device controller, the method comprising:
[0005] The software upgrade request is transmitted from the area controller to the device controller via the writing device.
[0006] The network status of the counterpart controller is monitored based on the software upgrade request, the maximum data block length that the counterpart controller can process at one time is determined, and the maximum data block length is fed back to the writing device via the area controller.
[0007] The flashing device determines the target transmission parameters of the software upgrade data to be transmitted based on the maximum data block length and bandwidth prediction model, and transmits the software upgrade data to be transmitted to the counterpart controller via the area controller based on the target transmission parameters.
[0008] Furthermore, the target transmission parameters for the software upgrade data to be transmitted are determined based on the maximum data block length and bandwidth prediction model, including:
[0009] Monitor the link network status and input the link network status into the bandwidth prediction model to determine the predicted bandwidth;
[0010] Based on the maximum data block length and the predicted bandwidth, the target transmission parameters for the software upgrade data to be transmitted are determined. The target transmission parameters include at least the target block size, the target packet size, and the target transmission rate.
[0011] Furthermore, based on the maximum data block length and the predicted bandwidth, the target transmission parameters for the software upgrade data to be transmitted are determined, including:
[0012] The target packet size is determined based on the maximum data block length and the predicted bandwidth.
[0013] The target transmission rate is dynamically matched based on the target packet size and the predicted bandwidth.
[0014] The target block size is determined based on the target transmission rate and the target packet size.
[0015] Furthermore, based on the target transmission parameters, transmitting the software upgrade data to be transmitted via the area controller to the counterparty controller includes:
[0016] The software upgrade data to be transmitted is divided into blocks based on the target block size to obtain data blocks to be transmitted.
[0017] The data block to be transmitted is divided into packets based on the target packet size to obtain the data packet to be transmitted;
[0018] The data packet to be transmitted is transmitted from the area controller to the counterparty controller via the target transmission rate.
[0019] Furthermore, in transparent transmission mode, the area controller facilitates data interaction between the writing device and the counterpart controller.
[0020] Furthermore, in the transparent transmission mode, the data transmission integrates a dual-mode verification mechanism of end-to-end cyclic redundancy check and data block sequence number redundancy check.
[0021] Furthermore, the writing device, the area controller, and the device controller communicate with each other via Ethernet.
[0022] Secondly, embodiments of the present invention provide a vehicle controller software upgrade data transmission system, the system including a flashing device, a region controller, and a device controller;
[0023] The writing device is used to transmit a software upgrade request to the device controller via the area controller;
[0024] The counterpart controller is used to monitor the network status of the counterpart controller based on the software upgrade request, determine the maximum data block length that the counterpart controller can process at one time, and feed back the maximum data block length to the writing device through the area controller.
[0025] The writing device is used to determine the target transmission parameters of the software upgrade data to be transmitted based on the maximum data block length and bandwidth prediction model, and transmit the software upgrade data to be transmitted to the counterpart controller via the area controller based on the target transmission parameters.
[0026] Furthermore, the writing / brushing device is specifically used for:
[0027] Monitor the link network status and input the link network status into the bandwidth prediction model to determine the predicted bandwidth;
[0028] Based on the maximum data block length and the predicted bandwidth, the target transmission parameters for the software upgrade data to be transmitted are determined. The target transmission parameters include at least the target block size, the target packet size, and the target transmission rate.
[0029] Thirdly, embodiments of the present invention provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect.
[0030] The technical solution of this invention involves transmitting a software upgrade request from the area controller to the counterpart device controller via the flashing device. The counterpart device controller monitors its network status based on the software upgrade request, determines the maximum data block length it can process in a single operation, and feeds back the maximum data block length to the flashing device via the area controller. The flashing device then determines the target transmission parameters for the software upgrade data to be transmitted based on the maximum data block length and a bandwidth prediction model, and transmits the software upgrade data to the counterpart device controller via the area controller based on these target transmission parameters. This solution dynamically determines the target transmission parameters for the software upgrade data based on the maximum data block length fed back by the counterpart device controller and the bandwidth prediction of the bandwidth prediction model, ensuring efficient collaboration between the area controller and the counterpart device controller and improving the efficiency of vehicle controller software upgrade data transmission.
[0031] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0032] To more clearly illustrate the technical solutions in the embodiments of the present invention, 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 the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0033] Figure 1 This is a flowchart of a vehicle controller software upgrade data transmission method according to Embodiment 1 of the present invention;
[0034] Figure 2 This is a schematic diagram of a vehicle controller software upgrade data transmission system according to Embodiment 2 of the present invention. Detailed Implementation
[0035] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0036] It should be noted that the terms "first," "second," etc., used in this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0037] Example 1
[0038] Figure 1 This is a flowchart of a vehicle controller software upgrade data transmission method according to Embodiment 1 of the present invention. This embodiment is applicable to the situation of implementing vehicle controller software upgrade data transmission. The method can be applied to a vehicle controller software upgrade data transmission system, which includes a flashing device, a region controller, and a device controller.
[0039] like Figure 1 As shown, the method includes:
[0040] S110. The software upgrade request is transmitted from the area controller to the device controller via the writing device.
[0041] In this embodiment of the invention, the flashing device can be a tool used to flash the software of the vehicle controller, such as a diagnostic tool, which is not limited here. The flashing device can act as a data transmission master node, used to initiate and control the data transmission process. The data to be transmitted in the data transmission process is the software upgrade data to be transmitted, which is the data to be transmitted for upgrading the vehicle controller software, and is not limited here.
[0042] In this embodiment of the invention, the area controller can be a vehicle domain controller (VDC), which is the core control unit responsible for area-level data interaction, device management, and functional coordination. The area controller can act as a data transmission routing node, responsible for data forwarding, filtering, and path selection, and is a key hub connecting different data transmission sub-nodes.
[0043] In this embodiment of the invention, the device controller can be a specific controller object that requires software upgrades, such as a cockpit-related controller or a communication-related controller. The device controller can act as a data transmission sub-node, responsible for generating, receiving, or executing specific data, and is managed by the data transmission master node and the data transmission routing node. It is understood that the device controller needs to undergo software upgrades through a flashing device, following a specific process, to optimize functionality, fix vulnerabilities, or add new features.
[0044] It should be noted that the flashing device communicates with the area controller, and the area controller communicates with the counterpart controller. The counterpart controller connected to the area controller can be one or more, which is not limited here. Optionally, the flashing device, the area controller, and the counterpart controller exchange data via Ethernet communication. That is, these three entities establish a communication link through the vehicle-mounted Ethernet to complete data transmission, command exchange, and status feedback during the software flashing process.
[0045] The software upgrade process for a device controller can be initiated using a flashing device. Specifically, the flashing device transmits a software upgrade request for the device controller to the area controller via Ethernet communication. This software upgrade request is the instruction, signal, or operation that triggers or initiates the software upgrade process, indicating that the device controller needs a software upgrade. Upon receiving the software upgrade request from the flashing device, the area controller parses the request to determine the device controller requiring the upgrade and forwards the request to that controller via Ethernet communication.
[0046] S120. Based on the software upgrade request, monitor the network status of the counterpart controller through the counterpart controller, determine the maximum data block length that the counterpart controller can process at one time, and feed back the maximum data block length to the writing device through the area controller.
[0047] Upon receiving a software upgrade request, the device controller monitors its own network status, such as bandwidth, packet loss rate, and latency. Based on this monitoring, it calculates and generates the maximum data block length that the device controller can process in a single operation. This maximum data block length represents the maximum size of the data block that the device controller can process in a single operation. The device controller then encapsulates this maximum data block length into a response message and transmits it to the area controller via Ethernet communication. Upon receiving the response message, the area controller forwards it to the flashing device. The flashing device receives and parses the response message to obtain the maximum data block length that the device controller can process in a single operation.
[0048] S130. Using the writing device, the target transmission parameters of the software upgrade data to be transmitted are determined according to the maximum data block length and bandwidth prediction model, and the software upgrade data to be transmitted is transmitted to the device controller via the area controller based on the target transmission parameters.
[0049] A bandwidth prediction model is a model that estimates network bandwidth resources in advance over a period of time by analyzing historical data and current network conditions. It can be a pre-trained model, and there is no limitation here.
[0050] In this step, the amount of data transmitted each time is adjusted by the flashing device based on the maximum data block length. Combined with a pre-built bandwidth prediction model forecasting network bandwidth resources for a future period, the size of the data packets used for transmitting the software upgrade data is dynamically adjusted. Furthermore, the transmission rate is dynamically matched within the vehicle-mounted Ethernet network, and the data block size is determined to ensure a balance between transmission efficiency and link load. The determined data packet size, transmission rate, and data block size for data transmission are the target transmission parameters for the software upgrade data.
[0051] The flashing device divides the data upgrade data to be transmitted into blocks and packets according to the data block size and data packet size indicated by the target transmission parameters. Then, based on the transmission rate indicated by the target transmission parameters, the data packets to be transmitted are transmitted to the area controller via Ethernet communication. The area controller, in coordination with the flashing device's transmission parameters adjustment, forwards the data packets transmitted by the flashing device to the device controller via Ethernet communication.
[0052] After all data packets have been transmitted, the device controller can integrate the received data packets to obtain complete software upgrade data to be transmitted, and then upgrade the device controller's software based on the software upgrade data to be transmitted.
[0053] The technical solution of this invention involves transmitting a software upgrade request from the area controller to the counterpart device controller via the flashing device. The counterpart device controller monitors its network status based on the software upgrade request, determines the maximum data block length it can process in a single operation, and feeds back the maximum data block length to the flashing device via the area controller. The flashing device then determines the target transmission parameters for the software upgrade data to be transmitted based on the maximum data block length and a bandwidth prediction model, and transmits the software upgrade data to the counterpart device controller via the area controller based on these target transmission parameters. This solution dynamically determines the target transmission parameters for the software upgrade data based on the maximum data block length fed back by the counterpart device controller and the bandwidth prediction of the bandwidth prediction model, ensuring efficient collaboration between the area controller and the counterpart device controller and improving the efficiency of vehicle controller software upgrade data transmission.
[0054] In one embodiment, determining the target transmission parameters for the software upgrade data to be transmitted based on the maximum data block length and bandwidth prediction model includes:
[0055] Monitor the link network status and input the link network status into the bandwidth prediction model to determine the predicted bandwidth;
[0056] Based on the maximum data block length and the predicted bandwidth, the target transmission parameters for the software upgrade data to be transmitted are determined. The target transmission parameters include at least the target block size, the target packet size, and the target transmission rate.
[0057] This means that by using a flashing device, parameters such as bandwidth, latency, and packet loss rate of each controller in the link are collected in real time to determine the link network status. The link network status is then input into the bandwidth prediction model, which can output the predicted bandwidth. The predicted bandwidth can be understood as the network bandwidth resources predicted by the bandwidth prediction model for a future period of time.
[0058] Based on the maximum data block length and predicted bandwidth, the target transmission parameters for the software upgrade data to be transmitted are determined. This can be achieved dynamically through a cross-platform adaptive algorithm, the implementation logic of which is as follows: In a gigabit Ethernet environment, when the model predicts sufficient bandwidth, the amount of data transmitted in a single transmission is increased from the default bit width, combined with the maximum data block length; in a 100 Mbps Ethernet scenario, the transmission rate is limited to the link's tolerable threshold through an algorithm to avoid buffer overflow; in high packet loss scenarios, fast retransmission is enabled to reduce retransmission latency, or in low latency scenarios, large-block transmission is used to optimize throughput. The advantage of this setting is that, if the data transmission routing node uses gigabit Ethernet and the data transmission sub-node uses 100 Mbps Ethernet, the packet size can be dynamically adjusted to adapt to changes in bandwidth; the adaptive algorithm supports seamless adaptation of cross-platform nodes, and through protocol conversion, it completes data transmission tasks between multiple platforms, realizing global scheduling and resource allocation of upgrade tasks, reducing manual intervention.
[0059] In one embodiment, the target transmission parameters for the software upgrade data to be transmitted are determined based on the maximum data block length and the predicted bandwidth, including:
[0060] The target packet size is determined based on the maximum data block length and the predicted bandwidth.
[0061] The target transmission rate is dynamically matched based on the target packet size and the predicted bandwidth.
[0062] The target block size is determined based on the target transmission rate and the target packet size.
[0063] Determine the target packet size. Specifically: if the predicted bandwidth is sufficient, such as if the predicted bandwidth is greater than or equal to the set bandwidth threshold (without limitation), then the target packet size adopts the maximum data block length to improve transmission efficiency; if the predicted bandwidth is tight, such as if the predicted bandwidth is lower than the set bandwidth threshold, then the target packet size is lower than the maximum data block length to reserve bandwidth to cope with fluctuations.
[0064] Determine the target transmission rate. Specifically, calculate the initial transmission rate based on the target packet size, and adjust the initial transmission rate in combination with the predicted bandwidth to obtain the target transmission rate, so as to match the link carrying capacity.
[0065] Determine the target chunk size, specifically: determine the target chunk size based on the target packet size (integer multiples) and the target transmission rate (timeout constraint) to achieve efficient data transmission.
[0066] In one embodiment, transmitting the software upgrade data to be transmitted via the area controller to the counterparty controller based on the target transmission parameters includes:
[0067] The software upgrade data to be transmitted is divided into blocks based on the target block size to obtain data blocks to be transmitted.
[0068] The data block to be transmitted is divided into packets based on the target packet size to obtain the data packet to be transmitted;
[0069] The data packet to be transmitted is transmitted from the area controller to the counterparty controller via the target transmission rate.
[0070] The software upgrade data to be transmitted is divided into multiple data blocks according to the target block size; each data block is further divided into multiple data packets according to the target packet size; the flashing device sends the data packets to be transmitted to the area controller in block-to-packet order according to the target transmission rate, that is, it first transmits all the data packets to be transmitted for data block 1, then transmits all the data packets to be transmitted for data block 2, and so on; the area controller acts as a relay, forwarding the data packets to be transmitted to the counterpart device controller, so that the counterpart device controller can receive the data packets to be transmitted.
[0071] In one embodiment, the area controller, in transparent mode, facilitates data interaction between the writing device and the counterpart controller.
[0072] In this transparent transmission mode, when the flashing device and the device controller are exchanging data, the area controller acts as a data relay station between them. In transparent transmission mode, the area controller does not modify, parse, or process the data during transmission; it simply acts as a relay channel for data transmission.
[0073] In one embodiment, in the transparent transmission mode, the data transmission integrates a dual-mode verification mechanism of end-to-end cyclic redundancy check and data block sequence number redundancy check. End-to-end cyclic redundancy check ensures the integrity of the entire software upgrade data to be transmitted, while data block sequence number redundancy check can quickly locate packet loss or errors during transmission.
[0074] This invention, based on a centralized and domain-controlled automotive electronic and electrical architecture, proposes a software-upgradeable flow control and data transmission method, which enables vehicle-side controller software upgrades. This method has the following advantages:
[0075] Dynamic bandwidth adaptation: By introducing a bandwidth prediction model trained on historical transmission data, it can predict link bandwidth change trends in advance and dynamically adjust the packet rate and chunk size of data transmission services. This ensures efficient collaboration between high / low bandwidth controllers and maximizes network transmission performance. Compared to traditional static chunking strategies, transmission efficiency is improved by 30%.
[0076] Enhanced pass-through control: In pass-through mode, traffic awareness and traffic control logic are integrated to achieve dynamic adjustment of rate and packet size. It also integrates a dual-mode mechanism of end-to-end cyclic redundancy check and data block sequence number redundancy check to balance transmission efficiency and stability.
[0077] Automated Management: Adaptive algorithms enable cross-platform protocol conversion and resource scheduling, dynamically switching between compression and encryption strategies. When link bandwidth is low, compression algorithms are automatically activated to improve transmission efficiency; when bandwidth is ample, compression is disabled to reduce overhead, while encryption is enabled to ensure data security. By combining real-time packet loss rate and latency data, transmission strategies are dynamically adjusted, reducing manual intervention, improving cross-platform adaptation efficiency, and lowering development and maintenance costs.
[0078] Example 2
[0079] Figure 2 This is a schematic diagram of a vehicle controller software upgrade data transmission system according to Embodiment 2 of the present invention. This embodiment is applicable to situations involving vehicle controller software upgrade data transmission. Figure 2 As shown, the system includes a flashing device, a region controller, and a device controller. The flashing device is communicatively connected to the region controller, and the region controller is communicatively connected to the device controller. The device controller can be one or more. Figure 2 The diagram shows an exemplary system architecture when there is only one device controller.
[0080] The writing device is used to transmit a software upgrade request to the device controller via the area controller;
[0081] The counterpart controller is used to monitor the network status of the counterpart controller based on the software upgrade request, determine the maximum data block length that the counterpart controller can process at one time, and feed back the maximum data block length to the writing device through the area controller.
[0082] The writing device is used to determine the target transmission parameters of the software upgrade data to be transmitted based on the maximum data block length and bandwidth prediction model, and transmit the software upgrade data to be transmitted to the counterpart controller via the area controller based on the target transmission parameters.
[0083] The technical solution of this invention involves transmitting a software upgrade request from the area controller to the counterpart device controller via the flashing device. The counterpart device controller monitors its network status based on the software upgrade request, determines the maximum data block length it can process in a single operation, and feeds back the maximum data block length to the flashing device via the area controller. The flashing device then determines the target transmission parameters for the software upgrade data to be transmitted based on the maximum data block length and a bandwidth prediction model, and transmits the software upgrade data to the counterpart device controller via the area controller based on these target transmission parameters. This solution dynamically determines the target transmission parameters for the software upgrade data based on the maximum data block length fed back by the counterpart device controller and the bandwidth prediction of the bandwidth prediction model, ensuring efficient collaboration between the area controller and the counterpart device controller and improving the efficiency of vehicle controller software upgrade data transmission.
[0084] Furthermore, the writing / brushing device is specifically used for:
[0085] Monitor the link network status and input the link network status into the bandwidth prediction model to determine the predicted bandwidth;
[0086] Based on the maximum data block length and the predicted bandwidth, the target transmission parameters for the software upgrade data to be transmitted are determined. The target transmission parameters include at least the target block size, the target packet size, and the target transmission rate.
[0087] Furthermore, the writing / brushing device is specifically used for:
[0088] The target packet size is determined based on the maximum data block length and the predicted bandwidth.
[0089] The target transmission rate is dynamically matched based on the target packet size and the predicted bandwidth.
[0090] The target block size is determined based on the target transmission rate and the target packet size.
[0091] Furthermore, the writing / brushing device is specifically used for:
[0092] The software upgrade data to be transmitted is divided into blocks based on the target block size to obtain data blocks to be transmitted.
[0093] The data block to be transmitted is divided into packets based on the target packet size to obtain the data packet to be transmitted;
[0094] The data packet to be transmitted is transmitted from the area controller to the counterparty controller via the target transmission rate.
[0095] Furthermore, in transparent transmission mode, the area controller facilitates data interaction between the writing device and the counterpart controller.
[0096] Furthermore, in the transparent transmission mode, the data transmission integrates a dual-mode verification mechanism of end-to-end cyclic redundancy check and data block sequence number redundancy check.
[0097] Furthermore, the writing device, the area controller, and the device controller communicate with each other via Ethernet.
[0098] The vehicle controller software upgrade data transmission system provided in this embodiment of the invention can execute the vehicle controller software upgrade data transmission method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0099] This invention also provides a computer-readable storage medium storing a computer program that, when executed, implements the vehicle controller software upgrade data transmission method provided in any embodiment of this invention.
[0100] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on 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 fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0101] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0102] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A method for data transmission during vehicle-mounted controller software upgrades, characterized in that, A method for data transmission in an on-board controller software upgrade system, the system comprising a flashing device, a region controller, and a device controller, comprising: The software upgrade request is transmitted from the area controller to the device controller via the writing device. The network status of the counterpart controller is monitored based on the software upgrade request, the maximum data block length that the counterpart controller can process at one time is determined, and the maximum data block length is fed back to the writing device via the area controller. The flashing device determines the target transmission parameters of the software upgrade data to be transmitted based on the maximum data block length and bandwidth prediction model, and transmits the software upgrade data to be transmitted to the counterpart controller via the area controller based on the target transmission parameters.
2. The method according to claim 1, characterized in that, The target transmission parameters for the software upgrade data to be transmitted are determined based on the maximum data block length and bandwidth prediction model, including: Monitor the link network status and input the link network status into the bandwidth prediction model to determine the predicted bandwidth; Based on the maximum data block length and the predicted bandwidth, the target transmission parameters for the software upgrade data to be transmitted are determined. The target transmission parameters include at least the target block size, the target packet size, and the target transmission rate.
3. The method according to claim 2, characterized in that, Based on the maximum data block length and the predicted bandwidth, the target transmission parameters for the software upgrade data to be transmitted are determined, including: The target packet size is determined based on the maximum data block length and the predicted bandwidth. The target transmission rate is dynamically matched based on the target packet size and the predicted bandwidth. The target block size is determined based on the target transmission rate and the target packet size.
4. The method according to claim 2, characterized in that, Based on the target transmission parameters, the software upgrade data to be transmitted is transmitted from the area controller to the counterparty controller, including: The software upgrade data to be transmitted is divided into blocks based on the target block size to obtain data blocks to be transmitted. The data block to be transmitted is divided into packets based on the target packet size to obtain the data packet to be transmitted; The data packet to be transmitted is transmitted from the area controller to the counterparty controller via the target transmission rate.
5. The method according to claim 1, characterized in that, In transparent transmission mode, the area controller facilitates data interaction between the writing device and the device controller.
6. The method according to claim 5, characterized in that, In the transparent transmission mode, the data transmission integrates a dual-mode verification mechanism of end-to-end cyclic redundancy check and data block sequence number redundancy check.
7. The method according to claim 1, characterized in that, The writing device, the area controller, and the device controller communicate with each other via Ethernet.
8. A vehicle-mounted controller software upgrade data transmission system, characterized in that, The system includes a writing device, a region controller, and a device controller; The writing device is used to transmit a software upgrade request to the device controller via the area controller; The counterpart controller is used to monitor the network status of the counterpart controller based on the software upgrade request, determine the maximum data block length that the counterpart controller can process at one time, and feed back the maximum data block length to the writing device through the area controller. The writing device is used to determine the target transmission parameters of the software upgrade data to be transmitted based on the maximum data block length and bandwidth prediction model, and transmit the software upgrade data to be transmitted to the counterpart controller via the area controller based on the target transmission parameters.
9. The system according to claim 8, characterized in that, The writing / brushing device is specifically used for: Monitor the link network status and input the link network status into the bandwidth prediction model to determine the predicted bandwidth; Based on the maximum data block length and the predicted bandwidth, the target transmission parameters for the software upgrade data to be transmitted are determined. The target transmission parameters include at least the target block size, the target packet size, and the target transmission rate.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-7.