The invention relates to an electronic controller program updating method and device, an electronic controller and a storage medium. The method comprises the following steps: when at least one of a power-on operation and a reset operation is carried out on the electronic controller, determining current to-be-verified target entrance information in the electronic controller; if the target entry information passes the validity verification, acquiring a target program, so that the effectiveness of the target entry information of the target program can be ensured; if the target program does not pass the integrity verification, acquiring a backup program corresponding to the target program. and if the backup program passes the integrity verification, updating the target program of the electronic controller into the backup program. Therefore, when the integrity verification of the target program is unsuccessful, the control function and the communication function of the electronic controller can be automatically recovered by updating the target program into the effective backup program, so that the running safety of the automobile is ensured.
本申请涉及一种电子控制器程序的更新方法、装置、电子控制器和存储介质。所述方法包括:在发生对电子控制器进行上电操作和复位操作中的至少一种操作时,确定该电子控制器中当前待校验的目标入口信息。若该目标入口信息通过有效性校验,则获取目标程序。这样,能够确保目标程序的目标入口信息的有效性。若该目标程序未通过完整性校验,则获取与该目标程序对应的备份程序。若该备份程序通过完整性校验,则将电子控制器的目标程序更新为该备份程序。这样,在目标程序的完整性校验不成功时,通过将目标程序更新为有效的备份程序,能够自动恢复电子控制器的控制功能和通讯功能,从而确保汽车运行的安全性。
Electronic controller program updating method and device and electronic controller
电子控制器程序的更新方法、装置、电子控制器
2022-01-18
Patent
Electronic Resource
Chinese
ELECTRONIC CONTROLLER AND METHOD FOR CONTROLLING ELECTRONIC CONTROLLER
European Patent Office | 2022
|Vehicle controller program security updating method, device, equipment and medium
European Patent Office | 2023
|ELECTRONIC CONTROLLER, VEHICLE AND ELECTRONIC CONTROLLER MANUFACTURING METHOD
European Patent Office | 2017
|