Disclosure of Invention
The embodiment of the invention provides a remote upgrade control method, a remote upgrade control device and an automobile, which are used for solving the problem of how to remotely upgrade the software of a whole automobile controller.
In order to solve the above technical problem, an embodiment of the present invention provides a remote upgrade control method, where the method includes:
receiving a software downloading request signal sent by a remote control platform;
acquiring an upgrade file according to the software downloading request signal;
and upgrading the controller to be upgraded according to the upgrading file.
Further, the obtaining an upgrade file according to the software download request signal includes:
sending a software downloading prompt signal to an ICC (interior communication system) or a user side according to the software downloading request signal;
acquiring a download confirmation signal sent by the ICC or the user side according to the software download prompting signal;
and after receiving a download confirmation signal sent by the ICC or the user side, acquiring an upgrade file from a download platform.
Further, the upgrading the controller to be upgraded according to the upgrade file includes:
after receiving the upgrade file, sending an upgrade request signal to the ICC or the client;
acquiring an upgrade confirmation signal sent by the ICC or the client according to the upgrade request signal;
and upgrading the controller to be upgraded according to the upgrading confirmation signal.
Further, before upgrading the controller to be upgraded, the method includes:
decrypting the upgrade file;
performing security verification and integrity verification on the decrypted upgrade file;
and when the security authentication of the upgrade file passes and the integrity verification passes, upgrading the controller to be upgraded.
Further, the method further comprises:
and in the process of upgrading the controller to be upgraded, sending upgrade state information to the ICC, and displaying the upgrade state information by the ICC through a human-machine interface (HMI).
Further, the upgrade file includes: configuration files and software upgrade packages.
Further, the controller to be upgraded comprises: a vehicle-mounted telematics system T-BOX, an in-vehicle communication system ICC and an electronic control unit ECU.
The embodiment of the invention also provides a remote upgrading control device, which comprises:
the receiving module is used for receiving a software downloading request signal sent by the remote control platform;
the acquisition module is used for acquiring an upgrade file according to the software downloading request signal;
and the processing module is used for upgrading the controller to be upgraded according to the upgrading file.
Further, the obtaining module includes:
the first sending unit is used for sending a software downloading prompt signal to the ICC or the user side of the communication system in the vehicle according to the software downloading request signal;
a first obtaining unit, configured to obtain a download confirmation signal sent by the ICC or the user side according to the software download prompting signal;
and the second obtaining unit is used for obtaining the upgrade file from the download platform after receiving a download confirmation signal sent by the ICC or the user side.
The embodiment of the invention also provides an automobile which comprises the remote upgrading control device.
The invention has the beneficial effects that:
according to the scheme, when the vehicle software needs to be upgraded, the upgrade file is downloaded in a remote control mode, the controller program of the whole vehicle is upgraded, and potential risks such as BUG and security holes existing in the version of the old system are eliminated in time, so that the vehicle recall rate and the customer complaint rate are effectively reduced, and the user experience is improved.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
The invention provides a remote upgrade control method, a remote upgrade control device and an automobile, aiming at the problem of how to remotely upgrade the software of the whole automobile controller.
As shown in fig. 1, an embodiment of the present invention provides a remote upgrade control method, where the method includes:
step 11, receiving a software downloading request signal sent by a remote control platform;
step 12, obtaining an upgrade file according to the software downloading request signal;
andstep 13, upgrading the controller to be upgraded according to the upgrade file.
It should be noted that in the embodiments of the present invention, the telematics system T-BOX on the vehicle is used to implement the remote communication with the remote control platform and the download platform. The upgrade file includes: configuration files and software upgrade packages. The software upgrading package comprises at least one software upgrading package of the controller, and the configuration file comprises information such as upgrading sequence and mode of the controller. The controller to be upgraded comprises: a vehicle-mounted telematics system T-BOX, an in-vehicle communication system ICC and an electronic control unit ECU.
When the vehicle software needs to be upgraded, the upgrading file is downloaded in a remote control mode, the controller program of the whole vehicle is upgraded, and potential risks such as BUG, security holes and the like existing in an old system version are eliminated in time, so that the vehicle recall rate and the customer complaint rate are effectively reduced, and the user experience is improved.
It should be noted that, in The overall process of upgrading a controller of a vehicle by an Over-The-Air software upgrading technology of a FOTA (Firmware Over-The-Air) mobile terminal, an upgrade file is placed on a download platform, after detecting that a new upgrade file is added to The upgrade platform, a remote control platform sends a software download request signal to The vehicle needing to be upgraded by The upgrade file, that is, an upgrade task is issued, and when detecting The software download request signal, a T-BOX of The vehicle sends a software download prompt signal to an in-vehicle communication system ICC or a user side, preferably, The user side may be an APP on a mobile client, The APP is bound to a T-BOX of The vehicle, The T-BOX sends The software download request signal to The APP, and The user may authorize by The mobile terminal. The software downloading prompt signal comprises information such as controller name, downloading required time and downloading conditions, when an owner looks up the software downloading prompt through an ICC or a user side, whether the upgrade file is downloaded immediately is confirmed, and after the user authorizes downloading, the upgrade file is downloaded when a vehicle is connected with a network. Specifically, thestep 12 includes:
sending a software downloading prompt signal to an ICC (interior communication system) or a user side according to the software downloading request signal;
acquiring a download confirmation signal sent by the ICC or the user side according to the software download prompting signal;
and after receiving a download confirmation signal sent by the ICC or the user side, acquiring an upgrade file from a download platform.
It should be noted that, after downloading the upgrade file to the local, the T-BOX sends an upgrade request signal to the ICC or the client, and performs the upgrade after receiving the user authorization for the upgrade. Specifically, thestep 13 includes:
after receiving the upgrade file, sending an upgrade request signal to the ICC or the client;
acquiring an upgrade confirmation signal sent by the ICC or the client according to the upgrade request signal;
and upgrading the controller to be upgraded according to the upgrading confirmation signal.
It should be further noted that, in the embodiment of the present invention, the sending of the upgrade request signal may be sent to the ICC or the client by the remote control platform after the upgrade file is downloaded locally.
In the embodiment of the invention, the controller upgrading is divided into three types according to the size of the upgrading package of each controller and the communication mode of each controller and the T-BOX, namely T-BOX self-upgrading, ICC upgrading and ECU upgrading. Wherein the T-BOX self-elevating stage comprises: the system comprises MCU upgrading, processing module upgrading and communication module upgrading, wherein specifically, the processing module is an I.Mx8 chip for processing audio, voice and video, and the communication module is an AG35 chip. The T-BOX has a V2X (vehicle to uploading) function, the V2X function is centrally placed in an I.Mx8 chip, and the remote control and other extended applications are integrated in an AG35 chip, so that the T-BOX is upgraded from three parts, namely: MCU upgrading, I.Mx8 chip upgrading, namely processing module upgrading, AG35 chip upgrading, namely communication module upgrading.
The remote upgrade process is further described below with reference to fig. 2, where the T-BOX includes: the micro control unit MCU, AG35 chip and I.Mx8 chip. Specifically, the AG35 chip includes a FOTA module, a Socket Service module (Socket Service), a diagnostic module (Diagnostics), and a CAN management module (CANMgr), wherein the FOTA module includes: a Remote Server unit (Remote Server), a Download management unit (Download Manager), an ECU upgrade unit (ECU upgrade), an AG35 upgrade unit (AG35 upgrade), an MCU upgrade unit (MCU upgrade), and an I.Mx8 upgrade unit (I.Mx8 upgrade). It should be noted that the remote server unit of the FOTA module of the T-BOX communicates with the remote control platform through the socket service module using the TCP protocol to obtain the upgrade information, such as the number, name, upgrade sequence, upgrade mode, etc. of the upgraded controllers, preferably, data encryption and decryption are performed during the data transmission and reception process. The upgrading file is stored in the downloading platform, and a downloading management unit of an FOTA module of the T-BOX is connected with the downloading platform through an HTTP protocol and is used for downloading the upgrading file and verifying the integrity of the upgrading file. Wherein the T-BOX self-elevating stage comprises: MCU upgrading, processing module I.Mx8 upgrading and communication module AG35 upgrading, specifically aiming at MCU upgrading, the upgrading of MCU is realized by using IPC communication through the MCU upgrading unit of FOTA module. Aiming at the I.Mx8 upgrading, the I.Mx8 upgrading unit of the FOTA module uses IPC communication to realize the upgrading of the I.Mx8 chip. Aiming at AG35 upgrading, an AG35 upgrading unit of an FOTA module uses IPC communication to realize the upgrading of an AG35 chip. It should be noted that, when the ECU is upgraded, the ECU is upgraded through the ECU upgrading unit of the FOTA module via the diagnostic module, the CAN management module, the MCU and the CAN bus, wherein the diagnostic module is responsible for UDS message processing during the upgrade process, and the CAN management module is responsible for processing CAN data, and specifically, before the ECU is upgraded, the ECU is verified and authenticated with the ECU of the vehicle. Preferably, the CAN network environment needs to be set when the ECU is upgraded, specifically, the T-BOX sends a remote upgrade request instruction and a remote KL15 power-on request, the GW part segment UDS communication is prohibited, and meanwhile, the T-BOX flash flag bit in the VCU message, the GW prohibits information such as the UDS message route execution result, and the like are detected in real time. When ICC upgrade is performed, an AG35 chip sends an upgrade file to the ICC, so as to upgrade the ICC.
The embodiment of the invention also comprises the steps of communicating with the ICC by using a TCP and JSON custom protocol, sending the upgrade state information, and displaying the current upgrade state, such as the name of the current upgrade controller, the upgrade remaining time and other information to the user.
Specifically, instep 13, before upgrading the controller to be upgraded, the method includes:
decrypting the upgrade file;
performing security verification and integrity verification on the decrypted upgrade file;
and when the security authentication of the upgrade file passes and the integrity verification passes, upgrading the controller to be upgraded.
Specifically, in the process of upgrading, in order to show the current upgrading state, such as the name of the current upgrading controller, the upgrading remaining time, and other information to the user, the method further includes:
and in the process of upgrading the controller to be upgraded, sending upgrade state information to the ICC, and displaying the upgrade state information by the ICC through a human-machine interface (HMI).
It should be noted that, when the program upgrade fails, the embodiment of the present invention sets a response rollback design for different controller upgrades, and specifically, when the ECU upgrade fails, since the upgrade file is retained in the T-BOX, the upgrade operation is directly re-executed; ICC upgrade, AG35 upgrade, MCU upgrade and i.mx8 upgrade, because the upgrade file is large, the T-BOX does not reserve the corresponding upgrade file, and if the upgrade fails, it rolls back to the version before upgrade directly.
The remote upgrade control method provided by the embodiment of the invention covers the upgrade of all controllers of the whole vehicle, improves risk protection and information safety in the upgrade process from the service logic and software design, eliminates more potential risks such as BUG, security holes and the like in the old system version of each controller, effectively reduces the vehicle recall rate and the customer complaint rate, and improves the user experience.
As shown in fig. 3, an embodiment of the present invention further provides a remote upgrade control apparatus, where the apparatus includes:
a receivingmodule 31, configured to receive a software download request signal sent by a remote control platform;
an obtainingmodule 32, configured to obtain an upgrade file according to the software download request signal;
and theprocessing module 33 is configured to upgrade the controller to be upgraded according to the upgrade file.
It should be noted that, in the embodiment of the present invention, when the vehicle software needs to be upgraded, the upgrade file can be downloaded in a remote control manner, and the controller program of the entire vehicle is upgraded, so that potential risks such as BUG and security hole existing in the old system version are eliminated in time, thereby effectively reducing the vehicle recall rate and the customer complaint rate, and improving the user experience.
Specifically, the obtainingmodule 32 includes:
the first sending unit is used for sending a software downloading prompt signal to the ICC or the user side of the communication system in the vehicle according to the software downloading request signal;
a first obtaining unit, configured to obtain a download confirmation signal sent by the ICC or the user side according to the software download prompting signal;
and the second obtaining unit is used for obtaining the upgrade file from the download platform after receiving a download confirmation signal sent by the ICC or the user side.
Specifically, theprocessing module 33 includes:
the second sending module is used for sending an upgrade request signal to the ICC or the client after receiving the upgrade file;
a third obtaining module, configured to obtain an upgrade confirmation signal sent by the ICC or the client according to the upgrade request signal;
and the upgrading module is used for upgrading the controller to be upgraded according to the upgrading confirmation signal.
Specifically, theprocessing module 33 is further configured to decrypt the upgrade file; performing security verification and integrity verification on the decrypted upgrade file; and when the security authentication of the upgrade file passes and the integrity verification passes, upgrading the controller to be upgraded.
Specifically, the apparatus further comprises:
and the sending module is used for sending the upgrade state information to the ICC in the process of upgrading the controller to be upgraded, and the ICC displays the upgrade state information through a human-machine interface (HMI).
Specifically, the upgrade file includes: configuration files and software upgrade packages.
Specifically, the controller to be upgraded includes: a vehicle-mounted telematics system T-BOX, an in-vehicle communication system ICC and an electronic control unit ECU.
The embodiment of the invention also provides an automobile which comprises the remote upgrading control device.
It should be noted that, the automobile provided with the remote upgrade control device can download the upgrade file in a remote control mode when the automobile software needs to be upgraded, and upgrade the controller program of the whole automobile, so that potential risks such as BUG and security holes existing in the version of the old system can be eliminated in time, the vehicle recall rate and the customer complaint rate are effectively reduced, and the user experience is improved.
While the preferred embodiments of the present invention have been described, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the following claims.