CN-121979538-A - Wireless upgrade interruption method and device for vehicle, vehicle and system
Abstract
The embodiment of the invention provides a wireless upgrade interruption method, device, vehicle and system of a vehicle, which can determine an upgrade stage of an electronic control unit and a type of the electronic control unit in a current upgrade task in response to an interruption trigger signal, execute different interruption operations on the electronic control unit according to the upgrade stage of the electronic control unit and/or the type of the electronic control unit, break the limitation that a user cannot use the vehicle after upgrade starting, meet the requirement of sudden emergency travel of the user, provide a safe and reliable upgrade interruption mechanism, avoid software system damage, inconsistent data and safety risk possibly caused by forced interruption, and ensure the use flexibility of the vehicle and the safety and reliability of the upgrade process.
Inventors
- CHEN LUSHENG
- LIU XIAOLI
- HUANG DAFEI
- LIU XIAOFEI
- ZHAO JIANFEI
Assignees
- 重庆赛力斯凤凰智创科技有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20251209
Claims (10)
- 1. A wireless upgrade interruption method for a vehicle, the method comprising: responding to an interrupt trigger signal, and determining an upgrading stage of an electronic control unit and a type of the electronic control unit in a current upgrading task; and executing different interrupt operations on the electronic control unit according to the upgrading stage of the electronic control unit and/or the type of the electronic control unit.
- 2. The wireless upgrade interruption method of claim 1, further comprising: acquiring an interrupt trigger signal initiated by a vehicle-mounted human-computer interaction interface or a mobile terminal application program; And/or the number of the groups of groups, And generating an interrupt trigger signal when the abnormality of the system key state parameters of the vehicle is detected, wherein the system key state parameters comprise at least one of storage battery electric quantity, network signal strength and vehicle speed.
- 3. The wireless upgrade interruption method according to claim 1, wherein said performing different interruption operations on said electronic control unit according to an upgrade phase of said electronic control unit and/or a type of said electronic control unit comprises: and if the type of the electronic control unit in the current upgrading task is a first type electronic control unit, stopping updating the first type electronic control unit, and returning the version of the first type electronic control unit to the version before updating according to the interrupt trigger signal.
- 4. The wireless upgrade interruption method according to claim 1, wherein said performing different interruption operations on said electronic control unit according to an upgrade phase of said electronic control unit and/or a type of said electronic control unit comprises: If the type of the electronic control unit in the current upgrading task is a second type electronic control unit and the second type electronic control unit is in a pre-programming stage or a main programming stage, stopping updating the second type electronic control unit and executing a post-programming flow of the second type electronic control unit; And if the type of the electronic control unit in the current upgrading task is a second type electronic control unit and the second type electronic control unit is in a post programming stage, directly executing a post programming flow of the second type electronic control unit.
- 5. The wireless upgrade interruption method of claim 1, further comprising: Before initiating a wireless upgrading task, creating an upgrading task list and a rollback snapshot, wherein the rollback snapshot is used for recording a software version and configuration data of the electronic control unit before upgrading; and upgrading the electronic control unit according to the upgrade task list and the rollback snapshot.
- 6. The wireless upgrade interruption method of claim 1, further comprising: An interrupt event report is generated and stored after the interrupt operation is performed, wherein the interrupt event report comprises at least one of an interrupt trigger reason, an upgrade stage of each electronic control unit when the interrupt is performed, and a list of electronic control units which have been successfully upgraded and have not been successfully upgraded.
- 7. The wireless upgrade interruption method of claim 6, further comprising: and automatically initiating a continuous upgrading task aiming at unsuccessful upgrading of the electronic control unit when a preset condition is met based on the interrupt event report.
- 8. A wireless upgrade interruption device for a vehicle, the device comprising: the response module is used for responding to the interrupt trigger signal and determining the upgrading stage of the electronic control unit and the type of the electronic control unit in the current upgrading task; And the execution module is used for executing different interrupt operations on the electronic control unit according to the upgrading stage of the electronic control unit and/or the type of the electronic control unit.
- 9. A vehicle comprising a processor, a memory and a computer program stored on the memory and operable on the processor, the computer program when executed by the processor implementing the steps of the wireless upgrade interruption method of the vehicle of any one of claims 1-7.
- 10. A wireless upgrade system for a vehicle, the system comprising: a whole car domain controller, an intelligent driving domain controller and a cabin domain controller; the intelligent driving domain controller is respectively connected with the whole car domain controller and the cabin domain controller; The cabin domain controller is used for responding to the interrupt trigger signal, determining the upgrading stage of the electronic control unit and the type of the electronic control unit in the whole vehicle domain controller and the intelligent driving domain controller, and generating a corresponding interrupt operation strategy according to the upgrading stage of the electronic control unit and/or the type of the electronic control unit; And the whole-vehicle-domain controller and the intelligent driving-domain controller are used for executing corresponding interrupt operation according to the interrupt operation strategy.
Description
Wireless upgrade interruption method and device for vehicle, vehicle and system Technical Field The present invention relates to the field of vehicle technologies, and in particular, to a method, an apparatus, a vehicle, and a system for interrupting wireless upgrade of a vehicle. Background With the development of intelligent network connection new energy automobile technology, the OTA technology has become a core means for iterating vehicle functions and repairing software defects of an automobile enterprise, however, once the traditional OTA upgrading process is started, a user cannot use a vehicle during the process, a safe and reliable upgrading interrupt mechanism is lacking, and if the user interrupts the upgrading forcibly due to sudden emergency travel demands, serious problems such as software system damage, inconsistent data, safety risks and the like are easily caused. Disclosure of Invention In view of the foregoing, embodiments of the present invention have been developed to provide a wireless upgrade interruption method, apparatus, vehicle, and system for a vehicle that overcome, or at least partially solve, the foregoing problems. In a first aspect, an embodiment of the present invention provides a wireless upgrade interruption method for a vehicle, where the method includes: responding to an interrupt trigger signal, and determining an upgrading stage of an electronic control unit and a type of the electronic control unit in a current upgrading task; and executing different interrupt operations on the electronic control unit according to the upgrading stage of the electronic control unit and/or the type of the electronic control unit. Optionally, the method further comprises: acquiring an interrupt trigger signal initiated by a vehicle-mounted human-computer interaction interface or a mobile terminal application program; And/or the number of the groups of groups, And generating an interrupt trigger signal when the abnormality of the system key state parameters of the vehicle is detected, wherein the system key state parameters comprise at least one of storage battery electric quantity, network signal strength and vehicle speed. Optionally, the step of performing different interrupt operations on the electronic control unit according to an upgrade stage of the electronic control unit and/or a type of the electronic control unit includes: and if the type of the electronic control unit in the current upgrading task is a first type electronic control unit, stopping updating the first type electronic control unit, and returning the version of the first type electronic control unit to the version before updating according to the interrupt trigger signal. Optionally, the step of performing different interrupt operations on the electronic control unit according to an upgrade stage of the electronic control unit and/or a type of the electronic control unit includes: If the type of the electronic control unit in the current upgrading task is a second type electronic control unit and the second type electronic control unit is in a pre-programming stage or a main programming stage, stopping updating the second type electronic control unit and executing a post-programming flow of the second type electronic control unit; And if the type of the electronic control unit in the current upgrading task is a second type electronic control unit and the second type electronic control unit is in a post programming stage, directly executing a post programming flow of the second type electronic control unit. Optionally, the method further comprises: Before initiating a wireless upgrading task, creating an upgrading task list and a rollback snapshot, wherein the rollback snapshot is used for recording a software version and configuration data of the electronic control unit before upgrading; and upgrading the electronic control unit according to the upgrade task list and the rollback snapshot. Optionally, the method further comprises: An interrupt event report is generated and stored after the interrupt operation is performed, wherein the interrupt event report comprises at least one of an interrupt trigger reason, an upgrade stage of each electronic control unit when the interrupt is performed, and a list of electronic control units which have been successfully upgraded and have not been successfully upgraded. Optionally, the method further comprises: and automatically initiating a continuous upgrading task aiming at unsuccessful upgrading of the electronic control unit when a preset condition is met based on the interrupt event report. In a second aspect, the present invention also discloses a wireless upgrade interruption device for a vehicle, the device comprising: the response module is used for responding to the interrupt trigger signal and determining the upgrading stage of the electronic control unit and the type of the electronic control unit in the current upgrading task; And the execution module is used for