US 11,985,238 B2
Vehicle-mounted device upgrade method and related device
Yanjiang Yang, Singapore (SG); Zhuo Wei, Singapore (SG); Hsiao-Ying Lin, Singapore (SG); He Wei, Shenzhen (CN); and Junqiang Shen, Shenzhen (CN)
Assigned to Huawei International Pte. Ltd., Singapore (SG)
Filed by Huawei International Pte. Ltd., Singapore (SG)
Filed on Oct. 30, 2020, as Appl. No. 17/085,878.
Application 17/085,878 is a continuation of application No. PCT/SG2018/050207, filed on Apr. 30, 2018.
Prior Publication US 2021/0051000 A1, Feb. 18, 2021
Int. Cl. G06F 21/00 (2013.01); G06F 8/65 (2018.01); H04L 9/08 (2006.01); H04L 29/06 (2006.01)
CPC H04L 9/088 (2013.01) [G06F 8/65 (2013.01)] 18 Claims
OG exemplary drawing
 
1. A vehicle-mounted device upgrade method, applied to a vehicle upgrade system that comprises an intelligent vehicle and a communications device, wherein the intelligent vehicle comprises a vehicle-mounted control device and a first to-be-upgraded vehicle-mounted device, and the method comprises:
receiving, by the vehicle-mounted control device, a first partial key sent by the communications device;
restoring, by the vehicle-mounted control device, a first key by using the first partial key and a second partial key that is stored on the vehicle-mounted control device;
performing, by the vehicle-mounted control device, secure processing on a first upgrade file by using the first key, to obtain a securely processed first upgrade file, wherein the secure processing comprises generating a first message authentication code (MAC), and the securely processed first upgrade file comprises the first upgrade file and the first MAC;
attempting to upgrade the first to-be-upgraded vehicle-mounted device; and
responsive to determining that the first to-be-upgraded vehicle-mounted device is successfully upgraded, indicating, by the vehicle-mounted control device, the communications device to update a rollback file of the first upgrade file; or
responsive to determining that the first to-be-upgraded vehicle-mounted device fails to be upgraded, obtaining, by the vehicle-mounted control device, a rollback file of the first upgrade file from the communications device, and sending the rollback file to the first to-be-upgraded vehicle-mounted device for a rollback operation.