An on-vehicle ECU flashing control method, control card, control system and program product

By integrating the control of the MCU and parallel data bus transmission through flashing, the cumbersome and inefficient problems in the vehicle ECU flashing process are solved, achieving efficient and reliable ECU flashing management and improving user autonomy and space utilization.

CN122308867APending Publication Date: 2026-06-30SHANGHAI DPIN ELECTRONIC TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHANGHAI DPIN ELECTRONIC TECH CO LTD
Filing Date
2026-03-25
Publication Date
2026-06-30

AI Technical Summary

Technical Problem

Existing vehicle ECU flashing technology suffers from problems such as being cumbersome and complex, time-consuming, having low user controllability, and being unable to achieve personalized configurations, especially in the process of flashing multiple ECU models, where efficiency is low.

Method used

The system employs a flashing control MCU for comprehensive control. Through parallel transmission and status registration of the data transmission bus, it coordinates the flashing tasks of each ECU. Combined with the flexible selection of OBD interface and OTA path, it achieves efficient management of data storage and transmission.

Benefits of technology

It simplifies the flashing process, improves flashing speed and reliability, enhances user freedom and space utilization in flashing tasks, and avoids ECU flashing conflicts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122308867A_ABST
    Figure CN122308867A_ABST
Patent Text Reader

Abstract

This application relates to the field of vehicle software upgrade technology, specifically to a method, system, and product for controlling the flashing of vehicle ECUs. The method includes: S1, a flashing control MCU obtains a flashing request and sends a flashing initialization signal to the vehicle ECU; S2, the vehicle ECU executes the flashing initialization process and sends a feedback signal to the flashing control MCU, registering as an online vehicle ECU; S3, the flashing control MCU obtains the flashing program package, unpacks it to obtain flashing subroutine packages, and stores them separately for different data transmission buses corresponding to different online vehicle ECUs; S4, after unpacking, the flashing control MCU executes a data transmission task, transmitting the flashing subroutine packages in parallel to the online vehicle ECUs via different data transmission buses, and the online vehicle ECU reads the flashing subroutine packages and executes the flashing process; S5, after completing the flashing process, the online vehicle ECU restarts and executes the subsequent flashing process. This application enables convenient, efficient, and controllable flashing of vehicle ECUs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle software upgrade technology, specifically to a method, system, and product for flashing and controlling an on-board ECU. Background Technology

[0002] Currently, the main method for reprogramming vehicle ECUs is to establish a wired connection between a host computer and the vehicle's ECU via the onboard OBD interface, enabling data transmission and reprogramming control. For example, at a vehicle service center, professional technicians provide the reprogramming files via PC or dedicated equipment and execute the reprogramming process. In addition, OTA (Over-The-Air) online reprogramming technology is gradually maturing, allowing users to remotely reprogram their vehicles via wireless networks, greatly improving the convenience of vehicle reprogramming.

[0003] With the increasing electrification and intelligence of vehicles, higher technical requirements are being placed on vehicle control software updates and firmware flashing. Currently, both OBD-based flashing and OTA flashing have certain shortcomings. Due to the large number and variety of vehicle ECUs, flashing different ECUs requires configuring the corresponding communication ports and buses for each ECU and executing separate flashing procedures, which is cumbersome, inefficient, and time-consuming as the control software size increases. Furthermore, users have limited control and participation in the flashing process, making personalized configuration impossible. Summary of the Invention

[0004] Firstly, this application provides a method for flashing and controlling an on-board ECU, the technical solution of which includes the following steps: S1, The flashing control MCU obtains the flashing request and sends a flashing initialization signal to the vehicle ECU; S2, the vehicle ECU executes the flashing initialization process based on the flashing initialization signal, and sends a feedback signal to the flashing control MCU after completing the flashing initialization process. The flashing control MCU registers the vehicle ECU as an online vehicle ECU based on the feedback signal. S3, the flashing control MCU obtains the flashing program package, unpacks it, obtains the flashing sub-program package corresponding to different online vehicle ECUs, and stores the flashing sub-program package in different cache areas according to the different data transmission buses of different online vehicle ECUs; S4. After the flashing control MCU completes the unpacking, it executes the data transmission task, transmitting the flashing subroutine package in parallel to the online vehicle ECU via different data transmission buses. The online vehicle ECU reads the flashing subroutine package and executes the flashing process. After the online vehicle ECU flashing process is completed, the S5 is restarted and the flashing process is executed again.

[0005] By adopting the above technical solution, the flashing control MCU comprehensively controls the flashing of each vehicle ECU, realizing the status registration of the vehicle ECU and the control of flashing data storage and transmission. This enables the coordination of the flashing tasks of each vehicle ECU and avoids conflicts. At the same time, during each flashing operation, the flashing data is stored and transmitted in parallel according to the type of data transmission bus, which can significantly improve the utilization rate of the vehicle channel bandwidth, speed up the flashing speed of vehicle ECUs, and improve the reliability of data transmission.

[0006] Preferably, in S1, a connection is established between the host computer and the write control MCU, and the host computer sends the write request to the write control MCU.

[0007] Preferably, the host computer establishes a connection with the flashing control MCU in the following ways: the field terminal engine and the OBD interface are connected via a wired connection cable and then connected to the flashing control MCU; or the remote cloud engine and the vehicle T-Box are connected wirelessly and then connected to the flashing control MCU.

[0008] The above technical solution enables the bridging of the host computer and the vehicle ECU by the flashing control MCU, decoupling the bus connection method of the vehicle ECU from the data transmission method of the host computer. It allows the selection of either a field terminal engine or a remote cloud engine to implement the flashing process according to actual needs, and is compatible with wired or wireless Ethernet connections via the OBD interface.

[0009] Preferably, in S3, each flashing sub-package in the flashing program package is configured with a serial number, and different flashing sub-packages in the same cache area are sorted according to the serial number; in S4, when any different flashing sub-packages are transmitted to different online vehicle ECUs via the same data transmission bus, they are transmitted in order according to the sequence.

[0010] The above technical solution enables data transmission to be performed on only one flashing program sub-packet at a time during the data flashing process, thereby improving data transmission efficiency and ensuring data transmission reliability.

[0011] Preferably, in S3, after the flashing control MCU obtains the flashing subroutine package, it compares the vehicle ECU corresponding to the flashing subroutine package with the online vehicle ECU. If the vehicle ECU corresponding to the flashing subroutine package does not exist in the range of online vehicle ECUs, the flashing subroutine package is removed from the data transmission task and recorded.

[0012] The above technical solution can avoid errors caused by the flashing program subpackage failing to find the corresponding online vehicle ECU, and can also remove flashing program subpackages without a corresponding online vehicle ECU from the transmission task, thereby improving the overall efficiency of the flashing task.

[0013] Preferably, in S4, after the flashing control MCU completes unpacking, it sends a signal to the host computer to complete unpacking. The host computer then selects the flashing subroutine packages, removes the unselected flashing subroutine packages from the data transmission task, and records them.

[0014] The above technical solution allows users to choose the specific flashing subroutine package to be executed for the flashing task according to their needs, thus increasing the user's freedom in configuring the flashing task.

[0015] Secondly, the vehicle ECU flashing control card provided in this application adopts a technical solution including a host computer connection communication port, a flashing control MCU, a cache module, a bus output interface, and a log image storage port; The host computer connection communication port includes a wired communication interface or a wireless communication interface; The flashing control MCU connects to the host computer via the host computer's communication port, obtains the flashing program package, unpacks the flashing program package to obtain the flashing sub-program packages corresponding to different online vehicle ECUs, and stores the flashing sub-program packages in different cache areas of the cache module according to the different data transmission buses of different online vehicle ECUs. The flashing control MCU executes data transmission tasks based on the selection of flashing subroutine packages, and transmits the flashing program subroutines in parallel to the online vehicle ECU through different bus output interfaces via different data transmission buses; The log mirroring storage port performs port mirroring on the acquisition of the flashing program package, the unpacking of the flashing program package, the selection of the flashing subroutine package, and the output of each bus output interface, and transmits the data to the built-in memory for storage.

[0016] Thirdly, the vehicle ECU flashing control system provided in this application includes a vehicle ECU. The technical solution adopted includes a vehicle ECU, which sends a signal to the flashing control MCU to register as an online vehicle ECU. The flashing control MCU selects a flashing subroutine package based on the registration of the online vehicle ECU.

[0017] Fourthly, the computer program product provided in this application employs a technical solution including a computer program or instructions, which enables the computer program or instructions to implement the steps in the above-mentioned vehicle ECU flashing control method.

[0018] In summary, this application includes at least one of the following beneficial technical effects: 1. This application achieves comprehensive control of the flashing process by flashing the control MCU. It eliminates the need to control the flashing of each vehicle ECU separately. Executing a single flashing program package can complete the flashing task of all vehicle ECUs. No manual intervention is required during the flashing process, which simplifies the flashing process and avoids flashing control conflicts between different vehicle ECUs.

[0019] 2. This application uses the communication bus type of the vehicle ECU to cache and transmit flashing data. Different communication buses execute flashing data transmission in parallel, and a single communication bus transmits the flashing program of a single vehicle ECU at a time, which can effectively improve the flashing data transmission efficiency and improve the transmission reliability.

[0020] 3. Because an independent flashing control MCU is used to acquire and transmit the flashing program, the acquisition of the flashing program is decoupled from the flashing control of the vehicle ECU. Therefore, this application does not limit the specific path for acquiring the flashing program. The flashing program package can be transmitted through the OBD interface or the OTA channel. At the same time, the specific flashing sub-program package can be selected and controlled by the host computer, which expands the user's freedom of flashing control.

[0021] 4. This application can achieve comprehensive control of different vehicle ECUs and different communication buses through a single card swipe, with high integration and saving vehicle interior space. Attached Figure Description

[0022] Figure 1 This is a flowchart illustrating a vehicle ECU flashing control method according to an embodiment of this application; Figure 2 This is a schematic diagram of the architecture of an on-board ECU flashing control card in an embodiment of this application; Figure 3 This is a schematic diagram of the vehicle ECU architecture of a vehicle ECU flashing control system according to an embodiment of this application; Figure 4 This is a schematic diagram of an exemplary electronic device architecture in an embodiment of this application. Detailed Implementation

[0023] This specific embodiment is merely an explanation of this application and is not intended to limit it. After reading this specification, those skilled in the art can make modifications to this embodiment without contributing any inventive step, but such modifications are protected by patent law as long as they are within the scope of this application.

[0024] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application. It should be noted that in the optional embodiments of this application, the object information and other related data involved require the permission or consent of the object when the embodiments of this application are applied to specific products or technologies, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. That is to say, if the embodiments of this application involve data related to the object, it needs to be obtained with the authorization and consent of the object, the authorization and consent of the relevant departments, and in compliance with the relevant laws, regulations, and standards of the country and region. If personal information is involved in the embodiments, the acquisition of all personal information requires the consent of the individual. If sensitive information is involved, the separate consent of the information subject is required, and the embodiments also need to be implemented with the authorization and consent of the object.

[0025] The embodiments of this application will now be described in further detail with reference to the accompanying drawings.

[0026] This application provides a vehicle ECU flashing control method, offering a convenient and efficient solution for vehicle users, especially those of ordinary family passenger vehicles, to flash their entire vehicle. When implementing this flashing solution, users can choose to go to a 4S store for on-site flashing control under the guidance of professionals, or they can perform the flashing control independently from any location.

[0027] Please see Figure 1 The present application provides an embodiment of a vehicle ECU flashing control method, which specifically includes the following steps.

[0028] S1, the flashing control MCU obtains the flashing request and sends a flashing initialization signal to the vehicle ECU.

[0029] It should be noted that the flashing control MCU is integrated on the vehicle ECU flashing control card. The vehicle ECU flashing control card is installed in the vehicle and connected to the vehicle communication port, including connecting to the OBD interface and connecting to the vehicle T-Box, thereby realizing data transmission.

[0030] The host computer establishes a connection with the flashing control MCU via the vehicle's communication port. One specific implementation involves a wired connection between the field terminal engine and the OBD interface via a cable, which is then connected to the flashing control MCU. The field terminal engine can be a PC or other control PDA device such as a smartphone. The field terminal engine can obtain the flashing program package via various methods such as USB flash drive, optical disc transfer, or cloud download, and then send a flashing request to the flashing control MCU through the control APP.

[0031] Another specific implementation involves a remote cloud engine wirelessly connecting to the in-vehicle T-Box and then accessing the flashing control MCU. After the user completes device identity and location verification, they send a flashing control command to the remote cloud engine's server. The remote cloud engine then sends a flashing request and flashing program package to the flashing control MCU via the in-vehicle T-Box.

[0032] Since the flashing request and the transmission of the flashing program package are controlled and allocated by the flashing control MCU, the flashing control path can be freely selected based on the vehicle ECU locking the transmission bus.

[0033] S2, the vehicle ECU executes the flashing initialization process based on the flashing initialization signal, and sends a feedback signal to the flashing control MCU after completing the flashing initialization process. The flashing control MCU registers the vehicle ECU as an online vehicle ECU based on the feedback signal.

[0034] The flashing initialization process includes controlling the vehicle ECU to enter an extended session, checking whether the vehicle ECU meets the flashing conditions, and disabling non-diagnostic communication of the vehicle ECU. The vehicle ECU executes the flashing initialization process based on the flashing initialization signal, preparing the environment for flashing the vehicle ECU. This is the currently accepted preparation process for flashing vehicle ECUs.

[0035] Based on this, the flashing initialization process actually performs a full-vehicle ECU diagnostic. The onboard ECUs send feedback signals to the flashing control MCU, allowing the MCU to understand the current online status of all vehicle terminals, providing a basis for subsequent selection of flashing sub-packages. Simultaneously, when preparing and providing flashing packages, vehicle suppliers no longer need to customize flashing packages for specific vehicle configurations. Instead, they can provide a unified, full-content flashing package, allowing the flashing control MCU to select the specific flashing target based on the registered online onboard ECUs. This simplifies the flashing package preparation process and reduces workload. This solution also simplifies flashing package version management, enabling the creation of a vehicle-wide flashing package version number. It eliminates the need to determine the flashing version and execute the flashing process for each individual onboard ECU, making it easier for users to understand, remember, and control the content of their selected vehicle-wide flashing version.

[0036] S3, the flashing control MCU obtains the flashing program package, unpacks it, obtains the flashing program sub-packages corresponding to different online vehicle ECUs, and stores the flashing program sub-packages in different cache areas according to the different data transmission buses of different online vehicle ECUs.

[0037] In the embodiments of this application, instead of directly transmitting the flashing program package to the vehicle ECU and executing the flashing process, the flashing program package is unpacked to obtain the corresponding flashing subroutine packages for each vehicle ECU, and temporarily stored in a cache area. The cache area is integrated on the vehicle ECU flashing control card. Since different vehicle ECUs use different communication buses based on their functional requirements, cost considerations, functional safety isolation requirements, etc., and the data transmission speeds of different communication buses are also different, distinguishing the communication buses and performing parallel transmission of different buses can fully utilize the communication bus bandwidth and improve data transmission efficiency.

[0038] In one specific embodiment of this application, the vehicle ECU flashing control card has two CAN / CAN FD bus output ports, two LIN bus output ports, and one vehicle Ethernet output port. Other output ports, such as FlexRay ports, can be added according to actual needs. Each output port has a corresponding buffer area for storing the flashing subroutine package for that channel. The output ports can be connected to a vehicle gateway to achieve more complex topologies and perform data transmission.

[0039] Each flashing program subpackage is configured with a serial number. Different flashing program subpackages within the unified cache area are sorted according to the serial number. The purpose is to arrange the flashing program subpackages of different vehicle ECUs using the same bus in an orderly manner, so that a single bus can execute the transmission task of a single flashing program subpackage at the same time, avoiding multiple tasks occupying the same line and affecting transmission efficiency and stability.

[0040] After the flashing control MCU obtains the flashing program sub-package, it compares the corresponding vehicle ECU with the registered online vehicle ECUs. If the vehicle ECU corresponding to the flashing program sub-package does not exist within the range of online vehicle ECUs, the flashing program sub-package is removed from the data transmission task and recorded. Through the above steps, the flashing program sub-package to be transmitted can be matched with the vehicle ECU to be flashed by the current device, avoiding the transmission of irrelevant flashing program sub-packages without a valid target, which would cause transmission errors and slow down the transmission progress.

[0041] S4: After the flashing control MCU completes unpacking, it executes the data transmission task. The flashing program sub-package is transmitted in parallel to the online vehicle ECU via different data transmission buses. The online vehicle ECU reads the flashing program sub-package and executes the flashing process. When any different flashing program sub-packages are transmitted to different online vehicle ECUs via the same data transmission bus, they are transmitted sequentially according to their order.

[0042] In another embodiment, the vehicle ECU flashing control method also includes a flashing task selection function. After the flashing control MCU completes unpacking, it sends a completion unpacking signal to the host computer. The host computer then selects the flashing program sub-packages, removing any unselected sub-packages from the data transmission task and recording them. For example, the host computer is a smartphone. Upon receiving the completion unpacking signal, the app enters the selection interface, where the user can intuitively see the flashing sub-packages to be executed, the corresponding vehicle ECU and vehicle terminal, and the specific optimization content for each vehicle terminal. The user can then select the specific flashing sub-package to be executed according to their needs, giving them greater participation and freedom in the flashing process. The flashing control MCU removes any unselected flashing program sub-packages from the data transmission task and records them.

[0043] After the online vehicle ECU flashing process is completed, the S5 is restarted and the flashing process is executed again.

[0044] The post-flashing process specifically includes restoring vehicle communication, clearing fault codes of the target ECU, and verifying the software version to ensure that the ECU runs stably under the updated control program and to safely and smoothly restore the vehicle bus network from the flashing state to the normal working state.

[0045] In another embodiment, each vehicle ECU has a first storage area and a second storage area. The original control program is stored in one storage area, and the flashing program subpackage is stored in the other. During the online flashing process of the vehicle ECU, the updated control program obtained from the flashing program subpackage is verified, specifically including integrity verification, consistency compatibility verification, and functional validity verification, to ensure the reliability of the updated control program. If the verification passes, the updated control program is used as the current control program; if the verification fails, it is rolled back to the original control program as the current control program. Storage areas not containing the current control program are marked as storage areas for the flashing program subpackage in the next flashing operation and overwritten. Through the verification and rollback mechanisms, the functional safety of the ECU and the normal operation of the vehicle can be maximized.

[0046] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0047] Please see Figure 2 An embodiment of this application provides a vehicle-mounted ECU flashing control card, which includes a host computer connection communication port 1, a flashing control MCU 2, a cache module 3, a bus output interface 4, and a log image storage module 5.

[0048] The host computer connection communication port 1 includes a wired communication interface 11 or a wireless communication interface 12. More specifically, the wired communication interface 11 connects to the vehicle's OBD interface, and the field terminal engine connects to the vehicle's OBD interface via a connecting cable to access the vehicle's ECU flashing control card. The wireless communication interface 12 connects to the vehicle's T-Box, accesses an external Ethernet network through the vehicle's T-Box, and connects to the remote cloud engine.

[0049] The flashing control MCU 2 connects to the host computer via communication port 1, obtains the flashing program package, unpacks the flashing program package to obtain the flashing program sub-packages corresponding to different online vehicle ECUs, and stores the flashing program sub-packages in different cache areas of the cache module 3 according to the different data transmission buses of different online vehicle ECUs.

[0050] The flashing control MCU 2 executes data transmission tasks based on the selection of flashing program sub-packages, transmitting the flashing program sub-packages in parallel to the online vehicle ECU via different bus output interfaces 4 and different data transmission buses. In the embodiments of this application, the vehicle ECU flashing control card is equipped with two CAN / CAN FD bus output ports, two LIN bus output ports, and one vehicle Ethernet output port.

[0051] The log mirroring storage module 5 uses port mirroring to mirror the acquisition, unpacking, selection of sub-packages, and output of each bus output interface of the flashing program package, transmitting the data to its built-in memory. This built-in memory uses an SD card and an SD card reader for easy removal, allowing it to be taken out and sent to a professional technician for log review in case of an unrecoverable flashing failure.

[0052] In addition, the vehicle ECU flashing control card can also be equipped with an external USB interface for firmware flashing and board upgrades.

[0053] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0054] Please see Figure 3 An embodiment of this application provides an on-board ECU flashing control system, including an on-board ECU 6. The on-board ECU 6 sends a signal to a flashing control MCU to register as an online on-board ECU. The flashing control MCU selects a flashing program subpackage based on the online registration of the on-board ECU. The on-board ECU 6 includes a first storage area 61 and a second storage area 62. The original control program is stored in one storage area, and the flashing program subpackage is stored in the other storage area. The on-board ECU obtains an updated control program based on the flashing program subpackage. If the verification is successful, the updated control program is adopted as the current control program; if the verification fails, the original control program is rolled back as the current control program.

[0055] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the vehicle ECU flashing control card and vehicle ECU flashing control system described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0056] An embodiment of this application provides a computer program product, which includes a computer program or instructions that enable the computer program or instructions to implement the steps in the above-described vehicle ECU flashing control method.

[0057] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.

[0058] Please see Figure 4The following describes an exemplary electronic device provided in the embodiments of this application. This electronic device acts as a field terminal engine, connecting to an on-board ECU flashing control card via an on-board OBD interface. The electronic device includes a processor, a memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database stores data for the flashing package. The network interface connects to other external terminals or networks to obtain the stored flashing package, for example, via a USB storage device or by downloading the flashing package over a network. The network interface also communicates with the on-board OBD interface via a connection cable. When the computer program is executed by the processor, it implements the on-board ECU flashing control method in the embodiments of this application.

[0059] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.

Claims

1. A method for controlling the flashing of an on-board ECU, characterized in that, Includes the following steps; S1, The flashing control MCU obtains the flashing request and sends a flashing initialization signal to the vehicle ECU; S2, the vehicle ECU executes the flashing initialization process based on the flashing initialization signal, and sends a feedback signal to the flashing control MCU after completing the flashing initialization process. The flashing control MCU registers the vehicle ECU as an online vehicle ECU based on the feedback signal. S3, the flashing control MCU obtains the flashing program package, unpacks it, obtains the flashing sub-program package corresponding to different online vehicle ECUs, and stores the flashing sub-program package in different cache areas according to the different data transmission buses of different online vehicle ECUs; S4. After the flashing control MCU completes the unpacking, it executes the data transmission task, transmitting the flashing subroutine package in parallel to the online vehicle ECU via different data transmission buses. The online vehicle ECU reads the flashing subroutine package and executes the flashing process. After the online vehicle ECU flashing process is completed, the S5 is restarted and the flashing process is executed again.

2. The vehicle ECU flashing control method according to claim 1, characterized in that, In S1, a connection is established between the host computer and the write control MCU, and the host computer sends the write request to the write control MCU.

3. The vehicle ECU flashing control method according to claim 2, characterized in that, The methods for establishing a connection between the host computer and the flashing control MCU include: the field terminal engine and the OBD interface are connected via a wired connection cable, and then connected to the flashing control MCU; or the remote cloud engine and the vehicle T-Box are connected wirelessly, and then connected to the flashing control MCU.

4. The vehicle ECU flashing control method according to claim 1, characterized in that, In S3, each flashing sub-package in the flashing program package is configured with a serial number, and different flashing sub-packages in the same cache area are sorted according to the serial number; in S4, when any different flashing sub-packages are transmitted to different online vehicle ECUs via the same data transmission bus, they are transmitted in order according to the sequence.

5. The vehicle ECU flashing control method according to claim 1, characterized in that, In S3, after the flashing control MCU obtains the flashing subroutine package, it compares the vehicle ECU corresponding to the flashing subroutine package with the online vehicle ECU. If the vehicle ECU corresponding to the flashing subroutine package does not exist in the range of online vehicle ECUs, the flashing subroutine package is removed from the data transmission task and recorded.

6. The vehicle ECU flashing control method according to claim 1, characterized in that, In S4, after the flashing control MCU completes unpacking, it sends a signal to the host computer to complete unpacking. The host computer then selects the flashing subroutine packages, removes the unselected flashing subroutine packages from the data transmission task, and records them.

7. A vehicle-mounted ECU flashing control card, characterized in that, This includes a host computer connection communication port, a flashing control MCU, a cache module, a bus output interface, and a log image storage port; The host computer connection communication port includes a wired communication interface or a wireless communication interface; The flashing control MCU connects to the host computer via the host computer's communication port, obtains the flashing program package, unpacks the flashing program package to obtain the flashing sub-program packages corresponding to different online vehicle ECUs, and stores the flashing sub-program packages in different cache areas of the cache module according to the different data transmission buses of different online vehicle ECUs. The flashing control MCU executes data transmission tasks based on the selection of flashing subroutine packages, and transmits the flashing program subroutines in parallel to the online vehicle ECU through different bus output interfaces via different data transmission buses; The log mirroring storage port performs port mirroring on the acquisition of the flashing program package, the unpacking of the flashing program package, the selection of the flashing subroutine package, and the output of each bus output interface, and transmits the data to the built-in memory for storage.

8. A vehicle ECU flashing control system using a vehicle ECU flashing control card as described in claim 7, comprising a vehicle ECU, characterized in that, The vehicle ECU sends a signal to the flashing control MCU to register as an online vehicle ECU, and the flashing control MCU selects the flashing subroutine package based on the online vehicle ECU registration.

9. A computer program product, characterized in that, The computer program product includes a computer program or instructions that enable the computer program or instructions to perform the steps in the vehicle ECU flashing control method according to any one of claims 1 to 6.