Remote dynamic upgrade control method and system of vehicle controller, vehicle and equipment
By prohibiting the vehicle controller from recording diagnostic faults and sending application messages during remote upgrades, and dynamically adjusting the write rate according to the vehicle's operating conditions, the safety hazards caused by excessive bus load and the problem of low upgrade efficiency are solved, thus enabling the normal operation of vehicle functions and improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ANHUI DEEPWAY TECHNOLOGY CO LTD
- Filing Date
- 2026-02-24
- Publication Date
- 2026-05-19
AI Technical Summary
Existing vehicle systems are prone to interference with critical control message transmission due to excessive bus load during remote upgrades, leading to safety hazards. Furthermore, the effective operating time of vehicles is compressed during the upgrade process, affecting user experience and economic benefits.
By prohibiting the vehicle controller from recording diagnostic faults and sending application messages during remote upgrades, and dynamically adjusting the write rate according to vehicle operating conditions, including vehicle speed and power status judgment, the upgrade process is optimized to avoid excessive bus load.
While improving upgrade efficiency, we ensure the normal operation of vehicle functions, reduce safety hazards during the upgrade process, and enhance user experience and economic benefits.
Smart Images

Figure CN122064358A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle network communication technology, and in particular to a remote dynamic upgrade control method, system, vehicle and equipment for a vehicle controller. Background Technology
[0002] In existing vehicle systems, remote upgrades are typically only supported when the vehicle is stationary, which significantly reduces the effective operating time of the vehicle, affecting user experience and economic benefits. Although a few vehicle systems support upgrades while charging or in operation, they usually use a fixed rate to uniformly flash the controller, lacking the ability to dynamically adapt to the real-time operating conditions of the vehicle. During the upgrade process, the bus load may be too high, interfering with the transmission of critical control messages and thus causing safety hazards. Summary of the Invention
[0003] Based on this, the present invention provides a remote dynamic upgrade control method, system, vehicle and equipment for vehicle controllers. By prohibiting the vehicle controller from recording diagnostic faults and sending application messages during remote upgrades, and dynamically adjusting the write rate according to the vehicle's operating conditions, the upgrade efficiency can be improved while ensuring the normal operation of vehicle functions.
[0004] Firstly, a remote dynamic upgrade control method for a vehicle controller is provided, comprising: Obtain the vehicle's speed, braking status, and power status; When the conditions for remote upgrade are met, the controllers in the vehicle are prohibited from recording diagnostic faults and sending application messages. Perform the upgrade operation on the target controller according to the preset write rate; Based on the braking state and power supply state, determine whether the vehicle is in a pre-start state; If so, the application message sending of each controller is enabled, and the write rate is adjusted according to the vehicle speed.
[0005] Furthermore, before prohibiting the controllers in the vehicle from recording diagnostic faults and sending application messages when the remote upgrade conditions are met, the method further includes: Based on the power status, determine whether the vehicle is in a sleep state; If so, the entire vehicle will be activated when the preset remote upgrade time is reached; If the vehicle is not in a dormant state when the preset remote upgrade time is reached, then the remote upgrade conditions are deemed met.
[0006] Further, determining whether the vehicle is in a pre-start state based on the braking state and power supply state includes: When the vehicle's power is activated and the braking is engaged, the vehicle is determined to be in a pre-start state.
[0007] Further, adjusting the write rate based on the vehicle speed includes: When the vehicle speed is less than a first vehicle speed threshold, the write frame interval is adjusted to the first write frame interval; when the vehicle speed is greater than a second vehicle speed threshold, the write frame interval is adjusted to the second write frame interval. The first vehicle speed threshold is less than the second vehicle speed threshold, and the first write frame interval is less than the second write frame interval.
[0008] Furthermore, after adjusting the write rate according to the vehicle speed, the method further includes: Determine whether an accelerator pedal signal is detected within a predetermined time period; If no detection is detected, the controllers are prohibited from sending application messages, and the write / fetch rate is restored to its pre-adjustment state.
[0009] Furthermore, it also includes: If the message period of a certain controller is greater than the preset message period threshold, the write / fetch rate is adjusted.
[0010] Furthermore, it also includes: After the remote upgrade is completed, it is determined whether the zone switching conditions are met based on the vehicle speed, braking status, and power status. If the conditions are met, the target controller is restarted and switched to another storage partition for operation.
[0011] Secondly, a remote dynamic upgrade control system for a vehicle controller is provided, comprising: The acquisition module is used to acquire the vehicle's speed, braking status, and power status. The first control module is used to prevent the controllers in the vehicle from recording diagnostic faults and sending application messages when the conditions for remote upgrade are met. The upgrade module is used to perform upgrade operations on the target controller according to a preset write / fetch rate; The judgment module is used to determine whether the vehicle is in a pre-start state based on the braking state and the power supply state. The second control module is used to enable the application message sending of each controller and adjust the write rate according to the vehicle speed.
[0012] Thirdly, a vehicle is provided, comprising: a remote dynamic upgrade control system for the vehicle controller as described in the second aspect above.
[0013] Fourthly, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements the remote dynamic upgrade control method for a vehicle controller according to the first aspect described above.
[0014] The embodiments of this application first acquire the vehicle's speed, braking status, and power status. When the remote upgrade conditions are met, the recording of diagnostic faults and the sending of application messages by the controllers in the vehicle are prohibited. Then, the upgrade operation is performed on the target controller according to a preset write rate. Next, based on the braking status and power status, it is determined whether the vehicle is in a pre-start state. If so, the sending of application messages by each controller is enabled, and the write rate is adjusted according to the vehicle speed. Thus, by prohibiting the vehicle controller from recording diagnostic faults and sending application messages during remote upgrades, and dynamically adjusting the write rate according to the vehicle's operating conditions, upgrade efficiency can be improved while ensuring the normal operation of vehicle functions. Attached Figure Description
[0015] Other features, objects, and advantages of this application will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings: Figure 1 A flowchart of a remote dynamic upgrade control method for a vehicle controller provided in an embodiment of this application; Figure 2 This is a structural block diagram of a remote dynamic upgrade control system for a vehicle controller provided in an embodiment of this application; Figure 3 This is a structural block diagram of a computer device provided in an embodiment of this application. Detailed Implementation
[0016] The present application will now be described in further detail with reference to the embodiments and accompanying drawings. It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the application. Furthermore, it should be noted that, for ease of description, only the parts relevant to the application are shown in the accompanying drawings.
[0017] It should be noted that, unless otherwise specified, the embodiments and features of the embodiments in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.
[0018] The following describes in detail, with reference to the accompanying drawings, a remote dynamic upgrade control method, system, vehicle, and device for a vehicle controller according to embodiments of this application.
[0019] Before describing the remote dynamic upgrade control method of the vehicle controller according to an embodiment of the present invention, the vehicle is first described. In the embodiment of the present invention, the vehicle is a semi-trailer tractor, including a tractor and a trailer.
[0020] Figure 1 This is a flowchart of a remote dynamic upgrade control method for a vehicle controller according to an embodiment of this application. Figure 1 As shown, a remote dynamic upgrade control method for a vehicle controller according to an embodiment of this application includes the following steps: S101: Obtain the vehicle's speed, braking status, and power status.
[0021] S102: When the conditions for remote upgrade are met, the controllers in the vehicle are prohibited from recording diagnostic faults and sending application messages.
[0022] In one embodiment of this application, before prohibiting the controllers in the vehicle from recording diagnostic faults and sending application messages when the remote upgrade conditions are met, the method further includes: determining whether the vehicle is in a sleep state based on the power status; if so, waking up the entire vehicle when a preset remote upgrade time is reached; if the vehicle is not in a sleep state when the preset remote upgrade time is reached, it is determined that the remote upgrade conditions are met.
[0023] After determining that the vehicle meets the conditions for remote upgrade, the remote control box TBOX sends 0x85 and 0x28 unified diagnostic service commands to each controller in sequence. The 0x85 service command is used to prevent each controller from recording diagnostic fault codes to avoid accidentally triggering fault responses during the upgrade process, which could cause the system to enter an error state. The 0x28 service command is used to prevent each controller from sending application messages to release bus bandwidth and avoid excessive bus load that could lead to upgrade failure.
[0024] S103: Perform an upgrade operation on the target controller according to the preset write / fetch rate.
[0025] In a specific example, the write rate is set to a write frame interval of 0.3ms. During this process, the remote control box TBOX writes upgrade data to the target controller's storage partition at a write frame interval of 0.3ms.
[0026] S104: Based on the braking state and power supply state, determine whether the vehicle is in a pre-start state.
[0027] In one embodiment of this application, determining whether the vehicle is in a pre-start state based on the braking state and the power state includes: determining that the vehicle is in a pre-start state when the vehicle's power is activated and the braking state is engaged.
[0028] Specifically, when the vehicle's brake pedal is depressed or the ignition switch is turned on, it indicates that the braking is engaged. When the vehicle's power is activated and the braking is engaged, it indicates that the driver intends to start the vehicle, meaning the vehicle is in a pre-start state.
[0029] S105: If so, enable the application message sending of each controller and adjust the write rate according to the vehicle speed.
[0030] Specifically, when the vehicle is determined to be in a pre-start state, it means that the vehicle may be about to start. At this time, a 0x28 service command is sent to each controller to enable the application message transmission of each controller and ensure that the vehicle can respond to the operation normally; at the same time, the write rate is reduced to provide bus resources for vehicle driving.
[0031] In one embodiment of this application, adjusting the write rate according to the vehicle speed includes: when the vehicle speed is less than a first vehicle speed threshold, adjusting the write frame interval to a first write frame interval; when the vehicle speed is greater than a second vehicle speed threshold, adjusting the write frame interval to a second write frame interval, wherein the first vehicle speed threshold is less than the second vehicle speed threshold, and the first write frame interval is less than the second write frame interval.
[0032] In a specific example, the first vehicle speed threshold is set to 2 km / h, the second vehicle speed threshold is set to 3 km / h, the first write frame interval is set to 2 ms, and the second write frame interval is set to 5 ms. That is, when the vehicle speed is <2 km / h, the write frame interval is adjusted to 2 ms; when the vehicle speed is >3 km / h, the write frame interval is adjusted to 5 ms. Specifically, when the vehicle speed is low, the vehicle may be in the initial stage of operation, and the driver's operation frequency and precision requirements are low, resulting in less real-time bus pressure. Therefore, a certain amount of bus bandwidth can be allocated to the upgrade task. When the vehicle speed exceeds the second speed threshold, it indicates that the vehicle is already in normal operation and requires more bus resources. Therefore, a larger write frame interval is used to reduce the bandwidth occupied by the upgrade task.
[0033] In one embodiment of this application, after adjusting the write rate according to the vehicle speed, the method further includes: determining whether an accelerator pedal signal is detected within a predetermined time; if not detected, prohibiting each controller from sending application messages and restoring the write rate to the state before adjustment.
[0034] For example, if no accelerator pedal signal is detected within 2 minutes of being in the pre-start state, indicating that the driver is not actually driving, the remote control box TBOX will resend the 0x28 service command to each controller to prevent them from sending application messages and restore the high-speed flashing rate. During this process, the status of the brake pedal will be continuously monitored, and once it is pressed again, the system will return to the pre-start state.
[0035] In one embodiment of this application, the method further includes: if the message period of a certain controller is greater than a preset message period threshold, then the write / fetch rate is adjusted.
[0036] Specifically, after entering the pre-start state, the remote control box TBOX will continuously monitor the sending period of application messages of each controller. If it finds that the message period of a certain controller exceeds the preset message period threshold, it means that the bus overload has occurred. Then, the refresh frame interval will be gradually increased until the bus load returns to stability, thereby ensuring that the driving function is not affected.
[0037] In one embodiment of this application, the method further includes: after the remote upgrade is completed, determining whether the partition switching conditions are met based on the vehicle speed, braking status, and power status; if the conditions are met, restarting the target controller and switching to another storage partition for operation.
[0038] Specifically, the system is configured with two storage partitions, A and B. If the current program runs on storage partition A, then during a remote upgrade, storage partition B is flashed. After the upgrade is complete, if the partition switching conditions are met, the target controller is restarted and switched to running on storage partition B. The next upgrade will then flash partition A. This achieves dual-partition rotation, ensuring the reliability of the upgrade process.
[0039] According to the remote dynamic upgrade control method for vehicle controllers of the present invention, the vehicle speed, braking status, and power status are first acquired. When the remote upgrade conditions are met, the recording of diagnostic faults and the sending of application messages by each controller in the vehicle are prohibited. Then, the upgrade operation is performed on the target controller according to a preset write rate. Next, based on the braking status and power status, it is determined whether the vehicle is in a pre-start state. If so, the sending of application messages by each controller is enabled, and the write rate is adjusted according to the vehicle speed. Thus, by prohibiting the vehicle controller from recording diagnostic faults and sending application messages during remote upgrades, and dynamically adjusting the write rate according to the vehicle's operating conditions, the upgrade efficiency can be improved while ensuring the normal operation of vehicle functions.
[0040] Figure 2 This is a structural block diagram of a remote dynamic upgrade control system for a vehicle controller according to an embodiment of this application. Figure 2 As shown, a remote dynamic upgrade control system for a vehicle controller according to an embodiment of this application includes: an acquisition module 210, a first control module 220, an upgrade module 230, a judgment module 240, and a second control module 250, wherein: The acquisition module 210 is used to acquire the vehicle's speed, braking status, and power status. The first control module 220 is used to prevent the controllers in the vehicle from recording diagnostic faults and sending application messages when the conditions for remote upgrade are met. Upgrade module 230 is used to perform upgrade operations on the target controller according to a preset write / rewrite rate; The judgment module 240 is used to determine whether the vehicle is in a pre-start state based on the braking state and the power supply state. The second control module 250 is used to enable the application message transmission of each controller and adjust the write rate according to the vehicle speed.
[0041] According to the remote dynamic upgrade control system for vehicle controllers in this application embodiment, the vehicle speed, braking status, and power status are first acquired. When the remote upgrade conditions are met, the recording of diagnostic faults and the sending of application messages by each controller in the vehicle are prohibited. Then, the upgrade operation is performed on the target controller according to a preset write rate. Next, based on the braking status and power status, it is determined whether the vehicle is in a pre-start state. If so, the sending of application messages by each controller is enabled, and the write rate is adjusted according to the vehicle speed. Thus, by prohibiting the vehicle controller from recording diagnostic faults and sending application messages during remote upgrades, and dynamically adjusting the write rate according to the vehicle's operating conditions, the upgrade efficiency can be improved while ensuring the normal operation of vehicle functions.
[0042] Specific limitations regarding the remote dynamic upgrade control system for vehicle controllers can be found in the limitations of the remote dynamic upgrade control method for vehicle controllers described above, and will not be repeated here. Each module of the aforementioned remote dynamic upgrade control system for vehicle controllers can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the corresponding operations of each module.
[0043] Furthermore, embodiments of this application provide a vehicle, including a remote dynamic upgrade control system for a vehicle controller according to any of the above embodiments. The vehicle first acquires its speed, braking status, and power status; when remote upgrade conditions are met, it prohibits each controller in the vehicle from recording diagnostic faults and sending application messages; then, it performs an upgrade operation on the target controller according to a preset write rate; next, it determines whether the vehicle is in a pre-start state based on the braking status and power status; if so, it enables the sending of application messages by each controller and adjusts the write rate according to the vehicle speed. Thus, by prohibiting the vehicle controller from recording diagnostic faults and sending application messages during remote upgrades and dynamically adjusting the write rate according to the vehicle's operating conditions, upgrade efficiency can be improved while ensuring the normal operation of vehicle functions.
[0044] Furthermore, other components and functions of the vehicle according to the embodiments of this application are known to those skilled in the art and will not be described in detail here.
[0045] In one embodiment, a computer device is provided. Figure 3This is a structural block diagram of the computer device provided in the embodiments of this application, with reference to... Figure 3 The computer device includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the aforementioned flexible fuel content identification method embodiment. For example, it executes: acquiring the vehicle's speed, braking status, and power status; When the conditions for remote upgrade are met, the controllers in the vehicle are prohibited from recording diagnostic faults and sending application messages. Perform the upgrade operation on the target controller according to the preset write rate; Based on the braking state and power supply state, determine whether the vehicle is in a pre-start state; If so, the application message sending of each controller is enabled, and the write rate is adjusted according to the vehicle speed.
[0046] 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. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical storage, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.
[0047] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0048] The above embodiments merely illustrate several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A remote dynamic upgrade control method for a vehicle controller, characterized in that, include: Obtain the vehicle's speed, braking status, and power status; When the conditions for remote upgrade are met, the controllers in the vehicle are prohibited from recording diagnostic faults and sending application messages. Perform the upgrade operation on the target controller according to the preset write rate; Based on the braking state and power supply state, determine whether the vehicle is in a pre-start state; If so, the application message sending of each controller is enabled, and the write rate is adjusted according to the vehicle speed.
2. The remote dynamic upgrade control method for a vehicle controller according to claim 1, characterized in that, Before prohibiting controllers in the vehicle from recording diagnostic faults and sending application messages when remote upgrade conditions are met, the following is also included: Based on the power status, determine whether the vehicle is in a sleep state; If so, the entire vehicle will be activated when the preset remote upgrade time is reached; If the vehicle is not in a dormant state when the preset remote upgrade time is reached, then the remote upgrade conditions are deemed met.
3. The remote dynamic upgrade control method for the vehicle controller according to claim 1, characterized in that, The step of determining whether the vehicle is in a pre-start state based on the braking state and power supply state includes: When the vehicle's power is activated and the braking is engaged, the vehicle is determined to be in a pre-start state.
4. The remote dynamic upgrade control method for a vehicle controller according to claim 1, characterized in that, The step of adjusting the write rate based on the vehicle speed includes: When the vehicle speed is less than a first vehicle speed threshold, the write frame interval is adjusted to the first write frame interval; when the vehicle speed is greater than a second vehicle speed threshold, the write frame interval is adjusted to the second write frame interval. The first vehicle speed threshold is less than the second vehicle speed threshold, and the first write frame interval is less than the second write frame interval.
5. The remote dynamic upgrade control method for a vehicle controller according to claim 1, characterized in that, After adjusting the write rate according to the vehicle speed, the method further includes: Determine whether an accelerator pedal signal is detected within a predetermined time period; If no detection is detected, the controllers are prohibited from sending application messages, and the write / fetch rate is restored to its pre-adjustment state.
6. The remote dynamic upgrade control method for the vehicle controller according to claim 1, characterized in that, Also includes: If the message period of a certain controller is greater than the preset message period threshold, the write / fetch rate is adjusted.
7. The remote dynamic upgrade control method for a vehicle controller according to claim 1, characterized in that, Also includes: After the remote upgrade is completed, it is determined whether the zone switching conditions are met based on the vehicle speed, braking status, and power status. If the conditions are met, the target controller is restarted and switched to another storage partition for operation.
8. A remote dynamic upgrade control system for a vehicle controller, characterized in that, include: The acquisition module is used to acquire the vehicle's speed, braking status, and power status. The first control module is used to prevent the controllers in the vehicle from recording diagnostic faults and sending application messages when the conditions for remote upgrade are met. The upgrade module is used to perform upgrade operations on the target controller according to a preset write / fetch rate; The judgment module is used to determine whether the vehicle is in a pre-start state based on the braking state and the power supply state. The second control module is used to enable the application message sending of each controller and adjust the write rate according to the vehicle speed.
9. A vehicle, characterized in that, include: The remote dynamic upgrade control system for the vehicle controller according to claim 8.
10. A computing device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, when the processor executes the computer program, it implements the remote dynamic upgrade control method for a vehicle controller according to any one of claims 1-7.