CN115016826A - Upgrading method and device for vehicle-mounted controller, computer equipment and storage medium - Google Patents

Upgrading method and device for vehicle-mounted controller, computer equipment and storage medium Download PDF

Info

Publication number
CN115016826A
CN115016826A CN202210694706.7A CN202210694706A CN115016826A CN 115016826 A CN115016826 A CN 115016826A CN 202210694706 A CN202210694706 A CN 202210694706A CN 115016826 A CN115016826 A CN 115016826A
Authority
CN
China
Prior art keywords
vehicle
mounted controller
upgrading
upgrade
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210694706.7A
Other languages
Chinese (zh)
Inventor
黄柏玲
张辉
王柏淇
郑岩
卢晶
谢良辉
崔健
柴旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FAW Jiefang Automotive Co Ltd
Original Assignee
FAW Jiefang Automotive Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by FAW Jiefang Automotive Co Ltd filed Critical FAW Jiefang Automotive Co Ltd
Priority to CN202210694706.7A priority Critical patent/CN115016826A/en
Publication of CN115016826A publication Critical patent/CN115016826A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/656Updates while running
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application relates to an upgrading method and device of a vehicle-mounted controller, a computer device, a storage medium and a computer program product. The method comprises the following steps: obtaining an upgrading instruction of the vehicle-mounted controller; judging whether the vehicle-mounted controller is in an operating state or not according to the upgrading instruction; if the vehicle-mounted controller is in the running state, displaying the upgrade progress prompt information and acquiring the attribute information of the vehicle-mounted controller; acquiring a differential upgrade package and upgrade information of the vehicle-mounted controller under the condition that the display interface continuously displays the upgrade progress prompt information; judging whether the vehicle-mounted controller continues to execute upgrading or not according to the attribute information and the upgrading information; if the vehicle-mounted controller continues to execute upgrading, controlling the vehicle-mounted controller to be upgraded according to the differential upgrading packet; if the vehicle-mounted controller cannot execute the upgrading, controlling a display interface to display upgrading failure prompt information; by adopting the method, the upgrading efficiency can be improved.

Description

Upgrading method and device for vehicle-mounted controller, computer equipment and storage medium
Technical Field
The present application relates to the field of electronic and electrical technologies, and in particular, to an upgrade method and apparatus for a vehicle-mounted controller, a computer device, and a storage medium.
Background
With the continuous development of automobile intelligent networking and electronic and electrical technologies, the quantity of software on a vehicle is more and more, and besides the requirements of users on driving safety and driving experience are higher and higher, the requirements of users on vehicle-mounted controllers are also higher and higher.
In the related art, Over-the-Air Technology (OTA) is generally used to perform remote upgrade for the vehicle-mounted controller, and the OTA Technology not only can solve the failure of the vehicle-mounted controller for the user, but also can provide new functions for the user. However, conventional OTAs have not been able to meet the needs of users. Because, in the remote upgrading process, there is a certain requirement for the vehicle state and the retention time of the vehicle state, for example, in the process of upgrading the vehicle-mounted controller by using the OTA technology, the user cannot operate the vehicle, and in addition, along with the abundance of the functions of the vehicle-mounted device, the upgrade package of the vehicle-mounted controller is also larger and larger, and the waiting time of the user is longer and longer due to the full package upgrade. Therefore, an upgrading method for the vehicle-mounted controller is urgently needed at present.
Disclosure of Invention
In view of the above, it is necessary to provide an upgrading method and apparatus for an onboard controller, a computer device, a computer readable storage medium, and a computer program product.
In a first aspect, the application provides a method for upgrading an onboard controller. The method comprises the following steps:
obtaining an upgrading instruction of the vehicle-mounted controller;
judging whether the vehicle-mounted controller is in an operating state or not according to the upgrading instruction;
if the vehicle-mounted controller is in the running state, displaying upgrading progress prompt information and acquiring attribute information of the vehicle-mounted controller, wherein the attribute information comprises manufacturer information, part numbers, part versions and vehicle type codes;
acquiring a differential upgrade package and upgrade information of the vehicle-mounted controller under the condition that the display interface continuously displays the upgrade progress prompt information;
judging whether the vehicle-mounted controller continues to execute upgrading or not according to the attribute information and the upgrading information;
if the vehicle-mounted controller continues to execute upgrading, controlling the vehicle-mounted controller to be upgraded according to the differential upgrading packet;
and if the vehicle-mounted controller cannot execute the upgrading, controlling a display interface to display upgrading failure prompt information.
In one embodiment, before obtaining the differential upgrade package and the upgrade information of the vehicle-mounted controller, the method includes:
judging whether the interval duration between the initial display time and the current time of the upgrade progress prompt message is smaller than a preset duration or not in real time;
if the upgrade progress prompt information is smaller than the preset upgrade progress prompt information, controlling a display interface to continuously display the upgrade progress prompt information;
and if not, stopping displaying the upgrade progress prompt information and controlling the vehicle-mounted controller to stop upgrading.
In one embodiment, the upgrade information includes required manufacturer information, required part number, required part version, and required vehicle type code; judging whether the vehicle-mounted controller continues to execute upgrading according to the attribute information and the upgrading information, wherein the judging step comprises the following steps:
if the manufacturer information is inconsistent with the required manufacturer information, the part number is inconsistent with the required part number, the part version is inconsistent with the required part version, or the vehicle type code is inconsistent with the required vehicle type code, the vehicle-mounted controller stops executing the upgrading;
and if the manufacturer information is consistent with the required manufacturer information, the part number is consistent with the required part number, the part version is consistent with the required part version, and the vehicle model code is consistent with the required vehicle model code, the vehicle-mounted controller continuously executes upgrading.
In one embodiment, controlling the upgrading of the vehicle-mounted controller according to the differential upgrading package comprises the following steps:
restoring the differential upgrade package into a restoration upgrade package according to a differential algorithm corresponding to the differential upgrade package, and outputting an upgrade signal, wherein the upgrade signal is used for prompting the vehicle-mounted controller to upgrade;
and controlling the vehicle-mounted controller to upgrade according to the upgrade signal and the reduction upgrade packet.
In one embodiment, the upgrade information further includes version numbers; after the control on-board controller upgrades, include:
acquiring an upgrade completion signal, wherein the upgrade success signal is used for indicating the vehicle-mounted controller to complete the upgrade;
judging whether the vehicle-mounted controller can execute a restart instruction or not according to the upgrade completion signal;
if the vehicle-mounted controller can execute the restarting instruction, controlling the vehicle-mounted controller to restart, and acquiring various version numbers of the restarted vehicle-mounted controller;
and judging whether the vehicle-mounted controller is successfully upgraded or not according to the version numbers in the upgrading information and the version numbers of the vehicle-mounted controller.
In one embodiment, the version numbers include a hardware version number, a software version number, and a data version number; judging whether the vehicle-mounted controller is successfully upgraded according to the version numbers in the upgrading information and the version numbers of the vehicle-mounted controller, wherein the judging step comprises the following steps:
if the hardware version number in the vehicle-mounted controller and the upgrading information is the same, the software version number in the vehicle-mounted controller and the upgrading information is the same, and the data version number in the vehicle-mounted controller and the upgrading information is the same, the vehicle-mounted controller is upgraded successfully;
if the hardware version number in the vehicle-mounted controller is different from that in the upgrading information, the software version number in the vehicle-mounted controller is different from that in the upgrading information, or the data version number in the vehicle-mounted controller is different from that in the upgrading information, the vehicle-mounted controller fails to be upgraded.
In a second aspect, the application further provides an upgrading device of the vehicle-mounted controller. The device comprises:
the first acquisition module is used for acquiring an upgrading instruction of the vehicle-mounted controller;
the first judgment module is used for judging whether the vehicle-mounted controller is in the running state or not according to the upgrading instruction;
the second acquisition module is used for displaying the upgrade progress prompt information and acquiring the attribute information of the vehicle-mounted controller if the vehicle-mounted controller is in the running state, wherein the attribute information comprises manufacturer information, part numbers, part versions and vehicle type codes;
the third acquisition module is used for acquiring the differential upgrade package and the upgrade information of the vehicle-mounted controller under the condition that the upgrade progress prompt information is continuously displayed on the display interface;
the second judging module is used for judging whether the vehicle-mounted controller continues to execute upgrading according to the attribute information and the upgrading information;
the first control module is used for controlling the vehicle-mounted controller to be upgraded according to the differential upgrade package if the vehicle-mounted controller continues to execute the upgrade;
and the second control module is used for controlling the display interface to display the upgrade failure prompt information if the vehicle-mounted controller cannot execute the upgrade.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the following steps when executing the computer program:
obtaining an upgrading instruction of the vehicle-mounted controller;
judging whether the vehicle-mounted controller is in an operating state or not according to the upgrading instruction;
if the vehicle-mounted controller is in the running state, displaying upgrading progress prompt information and acquiring attribute information of the vehicle-mounted controller, wherein the attribute information comprises manufacturer information, part numbers, part versions and vehicle type codes;
acquiring a differential upgrade package and upgrade information of the vehicle-mounted controller under the condition that the display interface continuously displays the upgrade progress prompt information;
judging whether the vehicle-mounted controller continues to execute upgrading or not according to the attribute information and the upgrading information;
if the vehicle-mounted controller continues to execute upgrading, controlling the vehicle-mounted controller to be upgraded according to the differential upgrading packet;
and if the vehicle-mounted controller cannot execute the upgrading, controlling a display interface to display upgrading failure prompt information.
In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
obtaining an upgrading instruction of the vehicle-mounted controller;
judging whether the vehicle-mounted controller is in an operating state or not according to the upgrading instruction;
if the vehicle-mounted controller is in the running state, displaying upgrading progress prompt information and acquiring attribute information of the vehicle-mounted controller, wherein the attribute information comprises manufacturer information, part numbers, part versions and vehicle type codes;
acquiring a differential upgrade package and upgrade information of the vehicle-mounted controller under the condition that the display interface continuously displays the upgrade progress prompt information;
judging whether the vehicle-mounted controller continues to execute upgrading or not according to the attribute information and the upgrading information;
if the vehicle-mounted controller continues to execute upgrading, controlling the vehicle-mounted controller to be upgraded according to the differential upgrading packet;
and if the vehicle-mounted controller cannot execute the upgrading, controlling a display interface to display upgrading failure prompt information.
In a fifth aspect, the present application further provides a computer program product. The computer program product comprising a computer program which when executed by a processor performs the steps of:
obtaining an upgrading instruction of the vehicle-mounted controller;
judging whether the vehicle-mounted controller is in an operating state or not according to the upgrading instruction;
if the vehicle-mounted controller is in the running state, displaying upgrading progress prompt information and acquiring attribute information of the vehicle-mounted controller, wherein the attribute information comprises manufacturer information, part numbers, part versions and vehicle type codes;
acquiring a differential upgrade package and upgrade information of the vehicle-mounted controller under the condition that the display interface continuously displays the upgrade progress prompt information;
judging whether the vehicle-mounted controller continues to execute upgrading or not according to the attribute information and the upgrading information;
if the vehicle-mounted controller continues to execute upgrading, controlling the vehicle-mounted controller to be upgraded according to the differential upgrading packet;
and if the vehicle-mounted controller cannot execute the upgrading, controlling a display interface to display upgrading failure prompt information.
The method, the device, the computer equipment, the storage medium and the computer program product for upgrading the vehicle-mounted controller are used for obtaining the upgrading instruction of the vehicle-mounted controller; judging whether the vehicle-mounted controller is in an operating state or not according to the upgrading instruction; if the vehicle-mounted controller is in the running state, displaying upgrading progress prompt information and acquiring attribute information of the vehicle-mounted controller, wherein the attribute information comprises manufacturer information, part numbers, part versions and vehicle type codes; acquiring a differential upgrade package and upgrade information of the vehicle-mounted controller under the condition that the display interface continuously displays the upgrade progress prompt information; judging whether the vehicle-mounted controller continues to execute upgrading or not according to the attribute information and the upgrading information; if the vehicle-mounted controller continues to execute upgrading, controlling the vehicle-mounted controller to be upgraded according to the differential upgrading packet; if the vehicle-mounted controller cannot execute the upgrading, controlling a display interface to display upgrading failure prompt information; the upgrading time of the vehicle-mounted controller can be shortened, and therefore the upgrading efficiency of the vehicle-mounted controller is improved.
Drawings
FIG. 1 is a diagram of an application environment of a method for upgrading a vehicle controller according to an embodiment;
FIG. 2 is a schematic flow chart diagram of a method for upgrading an onboard controller in one embodiment;
FIG. 3 is a flowchart illustrating a method for upgrading a vehicle-mounted controller according to another embodiment;
FIG. 4 is a block diagram of an upgrade apparatus for an onboard controller according to an embodiment;
FIG. 5 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The upgrading method of the vehicle-mounted controller provided by the embodiment of the application can be applied to the application environment shown in fig. 1. Wherein the terminal 101 communicates with the server 102 via a network. The data storage system may store data that the server 102 needs to process. The data storage system may be integrated on the server 102 or may be placed on the cloud or other network server. The terminal 101 obtains the upgrade data stored in the server 102 and controls the vehicle-mounted controller to upgrade. The terminal 101 may be but not limited to various personal computers, notebook computers, smart phones, tablet computers, internet of things devices and portable wearable devices, and the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart car-mounted devices, and the like. The server 102 may be implemented as a stand-alone server or as a server cluster comprised of multiple servers.
In one embodiment, as shown in fig. 2, a method for upgrading a vehicle-mounted controller is provided, which is described by taking the method as an example for being applied to the terminal in fig. 1, and includes the following steps:
201. obtaining an upgrading instruction of the vehicle-mounted controller;
202. judging whether the vehicle-mounted controller is in an operating state or not according to the upgrading instruction;
203. if the vehicle-mounted controller is in the running state, displaying upgrading progress prompt information and acquiring attribute information of the vehicle-mounted controller, wherein the attribute information comprises manufacturer information, part numbers, part versions and vehicle type codes;
204. acquiring a differential upgrade package and upgrade information of the vehicle-mounted controller under the condition that the display interface continuously displays the upgrade progress prompt information;
205. judging whether the vehicle-mounted controller continues to execute upgrading or not according to the attribute information and the upgrading information;
206. if the vehicle-mounted controller continues to execute upgrading, controlling the vehicle-mounted controller to be upgraded according to the differential upgrading packet;
207. and if the vehicle-mounted controller cannot execute the upgrading, controlling a display interface to display upgrading failure prompt information.
In step 202, the upgrade instruction is output by the cloud server, the server sends the upgrade instruction of the vehicle-mounted controller to the vehicle-mounted terminal through a vehicle networking system (TBOX), and the vehicle-mounted terminal notifies the vehicle-mounted controller of upgrading according to the upgrade instruction. For the communication mode between the car networking system and the car terminal, the embodiment of the invention does not specifically limit the communication mode, and includes but is not limited to: USB communication and ethernet communication.
In step 202, the operation status of the vehicle-mounted controller means that the vehicle-mounted controller can work normally. Whether the vehicle-mounted controller works normally is determined by the vehicle-mounted terminal, and when the vehicle-mounted terminal is in a continuous running state, the vehicle-mounted controller works normally; when the vehicle-mounted terminal stops operating, the vehicle-mounted controller stops operating after continuing operating for a preset time from the moment when the vehicle-mounted terminal stops operating.
Specifically, the vehicle-mounted terminal informs the vehicle-mounted controller to prepare for upgrading according to the received upgrading instruction. If the vehicle is in a safe state, the onboard controller confirms that the upgrade is possible. And after the vehicle-mounted controller confirms that the upgrading can be performed, the vehicle-mounted terminal returns upgrading confirmation information to the cloud server through the TBOX and controls the display interface to display upgrading progress prompt information. Wherein the vehicle being in a safe state means that the vehicle engine is off.
In addition, in the process of upgrading the vehicle-mounted controller, in order to avoid the influence of the operation of the user on the upgrading of the vehicle-mounted controller and the information transmission, the user is prohibited from performing other operations; for example, the physical key is prohibited from being activated, the execution of an external control command is prohibited, and the engine is prohibited from being activated. Therefore, when the prompt message of the upgrading progress is displayed, the display interface also displays the prompt message for prohibiting other operations of the user.
It is worth mentioning that if the display interface displays the upgrade failure prompt information, whether the vehicle-mounted controller is damaged or not needs to be determined according to the actual state of the vehicle controller, and if the vehicle-mounted controller is damaged, the display interface needs to be controlled to display the maintenance prompt information of the vehicle-mounted controller; and if the vehicle-mounted controller is not damaged, acquiring a new upgrade package to upgrade the vehicle-mounted controller.
According to the method provided by the embodiment of the invention, the vehicle-mounted controller is upgraded by acquiring the differential upgrade package, so that the storage space is saved, the upgrade time of the vehicle-mounted controller can be reduced, and the upgrade efficiency of the vehicle-mounted controller is improved.
With reference to the content of the foregoing embodiment, in an embodiment, before obtaining the differential upgrade package and the upgrade information of the vehicle-mounted controller, the method includes:
judging whether the interval duration between the initial display time and the current time of the upgrade progress prompt message is smaller than a preset duration or not in real time;
if the upgrade progress prompt information is smaller than the preset upgrade progress prompt information, controlling a display interface to continuously display the upgrade progress prompt information;
and if not, stopping displaying the upgrade progress prompt information and controlling the vehicle-mounted controller to stop upgrading.
Specifically, the vehicle-mounted terminal judges whether the interval duration between the initial display time and the current time of the upgrade progress prompt message is smaller than a preset duration in real time, and if so, controls the display interface to continuously display the upgrade progress prompt message; and if not, the vehicle-mounted controller controls the display interface to stop displaying the upgrade progress prompt information. The preset duration is not specifically limited in the embodiment of the present invention, and may be set according to actual conditions.
For example, the preset time may be 30 minutes, and if the vehicle-mounted terminal does not receive the differential upgrade package and the upgrade information after the upgrade progress prompt information is displayed for 30 minutes, the display interface stops displaying the upgrade progress prompt information, and the vehicle-mounted controller stops upgrading.
According to the method provided by the embodiment of the invention, the upgrading process of the vehicle-mounted controller can be determined by judging whether the interval duration between the initial display time of the upgrading progress prompt message and the current time is less than the preset duration or not.
With reference to the content of the above embodiment, in one embodiment, the upgrade information includes information of a required manufacturer, a required part number, a required part version, and a required vehicle type code; judging whether the vehicle-mounted controller continues to execute the upgrade or not according to the attribute information and the upgrade information, wherein the judging step comprises the following steps:
if the manufacturer information is inconsistent with the required manufacturer information, the part number is inconsistent with the required part number, the part version is inconsistent with the required part version, or the vehicle type code is inconsistent with the required vehicle type code, the vehicle-mounted controller stops executing the upgrading;
and if the manufacturer information is consistent with the required manufacturer information, the part number is consistent with the required part number, the part version is consistent with the required part version, and the vehicle model code is consistent with the required vehicle model code, the vehicle-mounted controller continuously executes upgrading.
The upgrading information is used for judging whether the differential upgrading packet can be used for upgrading the vehicle-mounted controller or not, and the attribute information is stored in the vehicle-mounted controller. Specifically, the vehicle-mounted controller judges whether the differential upgrade package can be used for upgrading according to the attribute information and the upgrade information, if not, the vehicle-mounted controller stops executing the upgrade, and controls the display interface to display upgrade failure prompt information through the vehicle-mounted terminal.
According to the method provided by the embodiment of the invention, whether the vehicle-mounted controller continues to execute the upgrading can be judged through the attribute information and the upgrading information.
With reference to the content of the foregoing embodiments, in one embodiment, controlling the upgrade of the vehicle-mounted controller according to the differential upgrade package includes:
restoring the differential upgrade package into a restoration upgrade package according to a differential algorithm corresponding to the differential upgrade package, and outputting an upgrade signal, wherein the upgrade signal is used for prompting the vehicle-mounted controller to upgrade;
and controlling the vehicle-mounted controller to upgrade according to the upgrade signal and the reduction upgrade packet.
Wherein the difference algorithm is stored in the vehicle-mounted controller; the differential upgrading packet comprises a part of upgrading programs; the upgrading signal is sent by the vehicle-mounted terminal and received by the vehicle-mounted controller.
Specifically, the vehicle-mounted controller stores the program backup of the current non-upgraded version into the local before performing the upgrade according to the restoration upgrade package. And if the upgrading of the vehicle-mounted controller fails, calling a local backup program for the running of the vehicle-mounted controller.
In addition, in the upgrading process of the vehicle-mounted controller, if the upgrading of the vehicle-mounted controller fails, the information of the upgrading failure of the vehicle-mounted controller is determined, and the information is returned to the vehicle-mounted terminal.
According to the method provided by the embodiment of the invention, the upgrading of the vehicle-mounted controller is controlled through the differential upgrading packet, the utilization rate of the memory of the vehicle can be reduced, and meanwhile, the transmission time of upgrading data can be reduced, so that the upgrading efficiency of the vehicle-mounted controller is improved.
With reference to the content of the foregoing embodiment, in an embodiment, the upgrade information further includes version numbers; after the control on-board controller upgrades, include:
acquiring an upgrade completion signal, wherein the upgrade success signal is used for indicating the vehicle-mounted controller to complete the upgrade;
judging whether the vehicle-mounted controller can execute a restart instruction or not according to the upgrade completion signal;
if the vehicle-mounted controller can execute the restarting instruction, controlling the vehicle-mounted controller to restart, and acquiring various version numbers of the restarted vehicle-mounted controller;
and judging whether the vehicle-mounted controller is successfully upgraded or not according to the version numbers in the upgrading information and the version numbers of the vehicle-mounted controller.
Specifically, after the vehicle-mounted controller finishes upgrading, an upgrading finishing signal is output, and a display interface is controlled to display upgrading finishing information according to the upgrading finishing signal; when the display interface displays the upgrade completion information, judging whether the vehicle-mounted controller meets the restarting condition, if so, controlling the vehicle-mounted controller to restart according to the restarting instruction; and if not, controlling a display interface to display upgrading failure information.
According to the method provided by the embodiment of the invention, whether the vehicle-mounted controller can be restarted can be judged through the upgrading completion signal, so that whether the vehicle-mounted controller is upgraded successfully can be judged.
With reference to the content of the foregoing embodiments, in one embodiment, each version number includes a hardware version number, a software version number, and a data version number; judging whether the vehicle-mounted controller is successfully upgraded according to the version numbers in the upgrade information and the version numbers of the vehicle-mounted controller, wherein the judging step comprises the following steps:
if the hardware version number in the vehicle-mounted controller and the upgrading information is the same, the software version number in the vehicle-mounted controller and the upgrading information is the same, and the data version number in the vehicle-mounted controller and the upgrading information is the same, the vehicle-mounted controller is upgraded successfully;
if the hardware version number in the vehicle-mounted controller and the upgrading information is different, the software version number in the vehicle-mounted controller and the upgrading information is different, or the data version number in the vehicle-mounted controller and the upgrading information is different, the vehicle-mounted controller fails to be upgraded.
And all the version numbers in the upgrading information are the highest version numbers. Specifically, whether each version number of the vehicle-mounted controller is the highest version number or not can be judged according to each version number in the upgrade information and each version number of the vehicle-mounted controller, and if all the version numbers of the vehicle-mounted controller are the highest version numbers, the vehicle-mounted controller is upgraded successfully. And if any one of the version numbers of the vehicle-mounted controller is not the highest version number, the vehicle-mounted controller fails to be upgraded, and the vehicle-mounted controller acquires the program of the local backup to run.
According to the method provided by the embodiment of the invention, whether the vehicle-mounted controller is upgraded successfully can be judged by upgrading various version numbers in the information and various version numbers of the vehicle-mounted controller.
In combination with the content of the foregoing embodiment, in an embodiment, as shown in fig. 3, a method for upgrading an onboard controller further includes:
301. the server at the cloud end initiates an upgrading instruction of the vehicle-mounted controller, and the vehicle-mounted terminal informs the vehicle-mounted controller of upgrading according to the upgrading instruction;
302. and after the vehicle-mounted controller confirms that the upgrading can be carried out, returning a confirmation signal of the vehicle-mounted controller to the cloud server.
303. And after the server at the cloud end receives the confirmation signal, the server at the cloud end sends a corresponding differential upgrade package and upgrade information to the vehicle-mounted terminal.
304. And when the vehicle-mounted controller determines that the upgrading information is correct, the vehicle-mounted terminal transmits the differential upgrading packet to the vehicle-mounted controller according to the file transmission protocol, the vehicle-mounted controller restores the differential upgrading packet into an upgrading program, and when the vehicle-mounted controller restores the differential upgrading packet, the vehicle-mounted controller sends a restoration completion signal to the vehicle-mounted terminal and finally the vehicle-mounted controller upgrades according to the upgrading program.
According to the method provided by the embodiment of the invention, the vehicle-mounted controller can be upgraded through the differential upgrade package, so that the upgrade time of the vehicle-mounted controller can be shortened, and the upgrade efficiency of the vehicle-mounted controller is further improved.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the application also provides an upgrading device of the vehicle-mounted controller, which is used for realizing the upgrading method of the vehicle-mounted controller. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the method, so specific limitations in the following embodiment of the upgrading device for one or more vehicle-mounted controllers can be referred to the limitations on the upgrading method for the vehicle-mounted controllers, and are not described herein again.
In one embodiment, as shown in fig. 4, there is provided an upgrading apparatus of an in-vehicle controller, including: a first obtaining module 401, a first determining module 402, a second obtaining module 403, a third obtaining module 404, a second determining module 405, a first control module 406, and a second control module 407, where:
a first obtaining module 401, configured to obtain an upgrade instruction of the vehicle-mounted controller;
a first judging module 402, configured to judge whether the vehicle-mounted controller is in an operating state according to the upgrade instruction;
a second obtaining module 403, configured to display an upgrade progress prompt message if the vehicle-mounted controller is in an operating state, and obtain attribute information of the vehicle-mounted controller, where the attribute information includes manufacturer information, a part number, a part version, and a vehicle type code;
a third obtaining module 404, configured to obtain a differential upgrade package and upgrade information of the vehicle-mounted controller when the display interface continuously displays the upgrade progress prompt information;
a second judging module 405, configured to judge whether the vehicle-mounted controller continues to execute the upgrade according to the attribute information and the upgrade information;
the first control module 406 is configured to control the on-board controller to be upgraded according to the differential upgrade package if the on-board controller continues to perform the upgrade;
and the second control module 407 is configured to control the display interface to display an upgrade failure prompt message if the vehicle-mounted controller cannot execute the upgrade.
In one embodiment, the third obtaining module 404 includes:
the judging submodule is used for judging whether the interval duration between the initial display time of the upgrade progress prompting information and the current time is smaller than the preset duration in real time;
the first control submodule is used for controlling the display interface to continuously display the upgrading progress prompt information if the upgrading progress prompt information is smaller than the first control submodule;
and the second control submodule is used for stopping displaying the upgrade progress prompt information if the upgrade progress prompt information is not smaller than the first control submodule and controlling the vehicle-mounted controller to stop upgrading.
In one embodiment, the second determining module 405 includes:
the first execution sub-module is used for stopping the vehicle-mounted controller from executing upgrading if the manufacturer information is inconsistent with the required manufacturer information, the part number is inconsistent with the required part number, the part version is inconsistent with the required part version, or the vehicle type code is inconsistent with the required vehicle type code;
and the second execution submodule is used for continuously executing upgrading by the vehicle-mounted controller if the manufacturer information is consistent with the required manufacturer information, the part number is consistent with the required part number, the part version is consistent with the required part version, and the vehicle type code is consistent with the required vehicle type code.
In one embodiment, the first control module 406 includes:
the restoring submodule is used for restoring the differential upgrading packet into a restoring upgrading packet according to a differential algorithm corresponding to the differential upgrading packet and outputting an upgrading signal, and the upgrading signal is used for prompting the vehicle-mounted controller to upgrade;
and the third control sub-module is used for controlling the vehicle-mounted controller to be upgraded according to the upgrade signal and the reduction upgrade packet.
In one embodiment, a third control sub-module includes:
the acquisition unit is used for acquiring an upgrade completion signal, and the upgrade success signal is used for indicating the vehicle-mounted controller to complete the upgrade;
the first judgment unit is used for judging whether the vehicle-mounted controller can execute a restart instruction or not according to the upgrade completion signal;
the control unit is used for controlling the vehicle-mounted controller to restart if the vehicle-mounted controller can execute a restart instruction, and acquiring various version numbers of the restarted vehicle-mounted controller;
and the second judgment unit is used for judging whether the vehicle-mounted controller is upgraded successfully or not according to the version numbers in the upgrading information and the version numbers of the vehicle-mounted controller.
In one embodiment, the second determination unit includes:
the first judging subunit is used for judging that the vehicle-mounted controller is successfully upgraded if the vehicle-mounted controller is the same as the hardware version number in the upgrading information, the vehicle-mounted controller is the same as the software version number in the upgrading information and the vehicle-mounted controller is the same as the data version number in the upgrading information;
and the second judgment subunit is used for failing to upgrade the vehicle-mounted controller if the hardware version number in the vehicle-mounted controller is different from that in the upgrade information, the software version number in the vehicle-mounted controller is different from that in the upgrade information, or the data version number in the vehicle-mounted controller is different from that in the upgrade information.
The modules in the upgrading device of the vehicle-mounted controller can be wholly or partially realized through software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 5. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a method of upgrading an onboard controller. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
obtaining an upgrading instruction of the vehicle-mounted controller;
judging whether the vehicle-mounted controller is in an operating state or not according to the upgrading instruction;
if the vehicle-mounted controller is in the running state, displaying upgrading progress prompt information and acquiring attribute information of the vehicle-mounted controller, wherein the attribute information comprises manufacturer information, part numbers, part versions and vehicle type codes;
acquiring a differential upgrade package and upgrade information of the vehicle-mounted controller under the condition that the display interface continuously displays the upgrade progress prompt information;
judging whether the vehicle-mounted controller continues to execute upgrading or not according to the attribute information and the upgrading information;
if the vehicle-mounted controller continues to execute upgrading, controlling the vehicle-mounted controller to be upgraded according to the differential upgrading packet;
and if the vehicle-mounted controller cannot execute the upgrading, controlling a display interface to display upgrading failure prompt information.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
judging whether the interval duration between the initial display time and the current time of the upgrade progress prompt message is smaller than a preset duration or not in real time;
if the number of the upgrade progress prompt messages is smaller than the preset threshold, controlling a display interface to continuously display the upgrade progress prompt messages;
and if not, stopping displaying the upgrade progress prompt information and controlling the vehicle-mounted controller to stop upgrading.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
if the manufacturer information is inconsistent with the required manufacturer information, the part number is inconsistent with the required part number, the part version is inconsistent with the required part version, or the vehicle type code is inconsistent with the required vehicle type code, the vehicle-mounted controller stops executing the upgrading;
and if the manufacturer information is consistent with the required manufacturer information, the part number is consistent with the required part number, the part version is consistent with the required part version, and the vehicle model code is consistent with the required vehicle model code, the vehicle-mounted controller continuously executes upgrading.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
restoring the differential upgrade package into a restoration upgrade package according to a differential algorithm corresponding to the differential upgrade package, and outputting an upgrade signal, wherein the upgrade signal is used for prompting the vehicle-mounted controller to upgrade;
and controlling the vehicle-mounted controller to upgrade according to the upgrade signal and the reduction upgrade packet.
In one embodiment, the processor when executing the computer program further performs the steps of:
acquiring an upgrade completion signal, wherein the upgrade success signal is used for indicating the vehicle-mounted controller to complete the upgrade;
judging whether the vehicle-mounted controller can execute a restart instruction or not according to the upgrade completion signal;
if the vehicle-mounted controller can execute the restarting instruction, controlling the vehicle-mounted controller to restart and acquiring various version numbers of the vehicle-mounted controller after restarting;
and judging whether the vehicle-mounted controller is successfully upgraded or not according to the version numbers in the upgrading information and the version numbers of the vehicle-mounted controller.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
if the hardware version number in the vehicle-mounted controller and the upgrading information is the same, the software version number in the vehicle-mounted controller and the upgrading information is the same, and the data version number in the vehicle-mounted controller and the upgrading information is the same, the vehicle-mounted controller is upgraded successfully;
if the hardware version number in the vehicle-mounted controller is different from that in the upgrading information, the software version number in the vehicle-mounted controller is different from that in the upgrading information, or the data version number in the vehicle-mounted controller is different from that in the upgrading information, the vehicle-mounted controller fails to be upgraded.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
obtaining an upgrading instruction of the vehicle-mounted controller;
judging whether the vehicle-mounted controller is in an operating state or not according to the upgrading instruction;
if the vehicle-mounted controller is in the running state, displaying upgrading progress prompt information and acquiring attribute information of the vehicle-mounted controller, wherein the attribute information comprises manufacturer information, part numbers, part versions and vehicle type codes;
acquiring a differential upgrade package and upgrade information of the vehicle-mounted controller under the condition that the display interface continuously displays the upgrade progress prompt information;
judging whether the vehicle-mounted controller continues to execute upgrading or not according to the attribute information and the upgrading information;
if the vehicle-mounted controller continues to execute upgrading, controlling the vehicle-mounted controller to be upgraded according to the differential upgrading packet;
and if the vehicle-mounted controller cannot execute the upgrading, controlling a display interface to display upgrading failure prompt information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
judging whether the interval duration between the initial display time and the current time of the upgrade progress prompt message is smaller than a preset duration or not in real time;
if the number of the upgrade progress prompt messages is smaller than the preset threshold, controlling a display interface to continuously display the upgrade progress prompt messages;
and if not, stopping displaying the upgrade progress prompt information and controlling the vehicle-mounted controller to stop upgrading.
In one embodiment, the computer program when executed by the processor further performs the steps of:
if the manufacturer information is inconsistent with the required manufacturer information, the part number is inconsistent with the required part number, the part version is inconsistent with the required part version, or the vehicle type code is inconsistent with the required vehicle type code, the vehicle-mounted controller stops executing the upgrading;
and if the manufacturer information is consistent with the required manufacturer information, the part number is consistent with the required part number, the part version is consistent with the required part version, and the vehicle model code is consistent with the required vehicle model code, the vehicle-mounted controller continuously executes upgrading.
In one embodiment, the computer program when executed by the processor further performs the steps of:
restoring the differential upgrade package into a restoration upgrade package according to a differential algorithm corresponding to the differential upgrade package, and outputting an upgrade signal, wherein the upgrade signal is used for prompting the vehicle-mounted controller to upgrade;
and controlling the vehicle-mounted controller to upgrade according to the upgrade signal and the reduction upgrade packet.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring an upgrade completion signal, wherein the upgrade success signal is used for indicating the vehicle-mounted controller to complete the upgrade;
judging whether the vehicle-mounted controller can execute a restart instruction or not according to the upgrade completion signal;
if the vehicle-mounted controller can execute the restarting instruction, controlling the vehicle-mounted controller to restart, and acquiring various version numbers of the restarted vehicle-mounted controller;
and judging whether the vehicle-mounted controller is successfully upgraded or not according to the version numbers in the upgrading information and the version numbers of the vehicle-mounted controller.
In one embodiment, the computer program when executed by the processor further performs the steps of:
if the hardware version number in the vehicle-mounted controller and the upgrading information is the same, the software version number in the vehicle-mounted controller and the upgrading information is the same, and the data version number in the vehicle-mounted controller and the upgrading information is the same, the vehicle-mounted controller is upgraded successfully;
if the hardware version number in the vehicle-mounted controller is different from that in the upgrading information, the software version number in the vehicle-mounted controller is different from that in the upgrading information, or the data version number in the vehicle-mounted controller is different from that in the upgrading information, the vehicle-mounted controller fails to be upgraded.
In one embodiment, a computer program product is provided, comprising a computer program which when executed by a processor performs the steps of:
obtaining an upgrading instruction of the vehicle-mounted controller;
judging whether the vehicle-mounted controller is in an operating state or not according to the upgrading instruction;
if the vehicle-mounted controller is in the running state, displaying upgrading progress prompt information and acquiring attribute information of the vehicle-mounted controller, wherein the attribute information comprises manufacturer information, part numbers, part versions and vehicle type codes;
acquiring a differential upgrade package and upgrade information of the vehicle-mounted controller under the condition that the display interface continuously displays the upgrade progress prompt information;
judging whether the vehicle-mounted controller continues to execute upgrading or not according to the attribute information and the upgrading information;
if the vehicle-mounted controller continues to execute upgrading, controlling the vehicle-mounted controller to be upgraded according to the differential upgrading packet;
and if the vehicle-mounted controller cannot execute the upgrading, controlling a display interface to display upgrading failure prompt information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
judging whether the interval duration between the initial display time of the upgrade progress prompt message and the current time is less than a preset duration in real time;
if the upgrade progress prompt information is smaller than the preset upgrade progress prompt information, controlling a display interface to continuously display the upgrade progress prompt information;
and if not, stopping displaying the upgrade progress prompt information and controlling the vehicle-mounted controller to stop upgrading.
In one embodiment, the computer program when executed by the processor further performs the steps of:
if the manufacturer information is inconsistent with the required manufacturer information, the part number is inconsistent with the required part number, the part version is inconsistent with the required part version, or the vehicle type code is inconsistent with the required vehicle type code, the vehicle-mounted controller stops executing the upgrading;
and if the manufacturer information is consistent with the required manufacturer information, the part number is consistent with the required part number, the part version is consistent with the required part version, and the vehicle model code is consistent with the required vehicle model code, the vehicle-mounted controller continuously executes upgrading.
In one embodiment, the computer program when executed by the processor further performs the steps of:
restoring the differential upgrade package into a restoration upgrade package according to a differential algorithm corresponding to the differential upgrade package, and outputting an upgrade signal, wherein the upgrade signal is used for prompting the vehicle-mounted controller to upgrade;
and controlling the vehicle-mounted controller to upgrade according to the upgrade signal and the reduction upgrade packet.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring an upgrade completion signal, wherein the upgrade success signal is used for indicating the vehicle-mounted controller to complete the upgrade;
judging whether the vehicle-mounted controller can execute a restart instruction or not according to the upgrade completion signal;
if the vehicle-mounted controller can execute the restarting instruction, controlling the vehicle-mounted controller to restart, and acquiring various version numbers of the restarted vehicle-mounted controller;
and judging whether the vehicle-mounted controller is successfully upgraded or not according to the version numbers in the upgrading information and the version numbers of the vehicle-mounted controller.
In one embodiment, the computer program when executed by the processor further performs the steps of:
if the hardware version number in the vehicle-mounted controller and the upgrading information is the same, the software version number in the vehicle-mounted controller and the upgrading information is the same, and the data version number in the vehicle-mounted controller and the upgrading information is the same, the vehicle-mounted controller is upgraded successfully;
if the hardware version number in the vehicle-mounted controller and the upgrading information is different, the software version number in the vehicle-mounted controller and the upgrading information is different, or the data version number in the vehicle-mounted controller and the upgrading information is different, the vehicle-mounted controller fails to be upgraded.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), Magnetic Random Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (10)

1. A method for upgrading an on-board controller, the method comprising:
obtaining an upgrading instruction of the vehicle-mounted controller;
judging whether the vehicle-mounted controller is in an operating state or not according to the upgrading instruction;
if the vehicle-mounted controller is in the running state, displaying upgrade progress prompt information and acquiring attribute information of the vehicle-mounted controller, wherein the attribute information comprises manufacturer information, part numbers, part versions and vehicle type codes;
acquiring a differential upgrade package and upgrade information of the vehicle-mounted controller under the condition that the upgrade progress prompt information is continuously displayed on a display interface;
judging whether the vehicle-mounted controller continues to execute upgrading or not according to the attribute information and the upgrading information;
if the vehicle-mounted controller continues to execute upgrading, controlling the vehicle-mounted controller to be upgraded according to the differential upgrading packet;
and if the vehicle-mounted controller cannot execute the upgrading, controlling the display interface to display upgrading failure prompt information.
2. The method of claim 1, wherein prior to obtaining the differential upgrade package and upgrade information for the on-board controller, comprising:
judging whether the interval duration between the initial display time and the current time of the upgrade progress prompt message is smaller than a preset duration or not in real time;
if the upgrade progress prompt information is smaller than the upgrade progress prompt information, controlling the display interface to continuously display the upgrade progress prompt information;
and if not, stopping displaying the upgrade progress prompt information and controlling the vehicle-mounted controller to stop upgrading.
3. The method of claim 2, wherein the upgrade information includes required manufacturer information, required part number, required part version, and required vehicle type code; the judging whether the vehicle-mounted controller continues to execute the upgrading according to the attribute information and the upgrading information comprises the following steps:
if the manufacturer information is inconsistent with the required manufacturer information, the part number is inconsistent with the required part number, the part version is inconsistent with the required part version, or the vehicle type code is inconsistent with the required vehicle type code, the vehicle-mounted controller stops executing upgrading;
and if the manufacturer information is consistent with the required manufacturer information, the part number is consistent with the required part number, the part version is consistent with the required part version, and the vehicle type code is consistent with the required vehicle type code, the vehicle-mounted controller continuously executes upgrading.
4. The method of claim 1, wherein said controlling the on-board controller to upgrade according to the differential upgrade package comprises:
restoring the differential upgrade package into a restoration upgrade package according to a differential algorithm corresponding to the differential upgrade package, and outputting an upgrade signal, wherein the upgrade signal is used for prompting the vehicle-mounted controller to upgrade;
and controlling the vehicle-mounted controller to upgrade according to the upgrade signal and the restoration upgrade package.
5. The method of claim 4, wherein the upgrade information further comprises version numbers; after the control of the vehicle-mounted controller is upgraded, the method comprises the following steps:
acquiring an upgrade completion signal, wherein the upgrade success signal is used for indicating the vehicle-mounted controller to complete the upgrade;
judging whether the vehicle-mounted controller can execute a restart instruction or not according to the upgrade completion signal;
if the vehicle-mounted controller can execute a restart instruction, controlling the vehicle-mounted controller to restart, and acquiring various version numbers of the vehicle-mounted controller after restarting;
and judging whether the vehicle-mounted controller is upgraded successfully or not according to the version numbers in the upgrading information and the version numbers of the vehicle-mounted controller.
6. The method of claim 5, wherein the version numbers comprise a hardware version number, a software version number, and a data version number; the judging whether the vehicle-mounted controller is successfully upgraded according to the version numbers in the upgrading information and the version numbers of the vehicle-mounted controller comprises the following steps:
if the hardware version number in the vehicle-mounted controller and the upgrading information is the same, the software version number in the vehicle-mounted controller and the upgrading information is the same, and the data version number in the vehicle-mounted controller and the upgrading information is the same, the vehicle-mounted controller is upgraded successfully;
if the hardware version number in the vehicle-mounted controller is different from that in the upgrading information, the software version number in the vehicle-mounted controller is different from that in the upgrading information, or the data version number in the vehicle-mounted controller is different from that in the upgrading information, the upgrading of the vehicle-mounted controller fails.
7. An apparatus for upgrading a controller mounted on a vehicle, the apparatus comprising:
the first acquisition module is used for acquiring an upgrading instruction of the vehicle-mounted controller;
the first judgment module is used for judging whether the vehicle-mounted controller is in an operating state or not according to the upgrading instruction;
the second acquisition module is used for displaying upgrade progress prompt information and acquiring attribute information of the vehicle-mounted controller if the vehicle-mounted controller is in an operating state, wherein the attribute information comprises manufacturer information, part numbers, part versions and vehicle type codes;
the third obtaining module is used for obtaining the differential upgrade package and the upgrade information of the vehicle-mounted controller under the condition that the upgrade progress prompt information is continuously displayed on a display interface;
the second judgment module is used for judging whether the vehicle-mounted controller continues to execute upgrading according to the attribute information and the upgrading information;
the first control module is used for controlling the vehicle-mounted controller to be upgraded according to the differential upgrade package if the vehicle-mounted controller continues to execute upgrading;
and the second control module is used for controlling the display interface to display the upgrade failure prompt information if the vehicle-mounted controller cannot execute the upgrade.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 6 when executed by a processor.
CN202210694706.7A 2022-06-20 2022-06-20 Upgrading method and device for vehicle-mounted controller, computer equipment and storage medium Pending CN115016826A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210694706.7A CN115016826A (en) 2022-06-20 2022-06-20 Upgrading method and device for vehicle-mounted controller, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210694706.7A CN115016826A (en) 2022-06-20 2022-06-20 Upgrading method and device for vehicle-mounted controller, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115016826A true CN115016826A (en) 2022-09-06

Family

ID=83074951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210694706.7A Pending CN115016826A (en) 2022-06-20 2022-06-20 Upgrading method and device for vehicle-mounted controller, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115016826A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018041061A1 (en) * 2016-08-29 2018-03-08 深圳市中兴微电子技术有限公司 Onboard device upgrade method, device, system and computer storage medium
CN111698307A (en) * 2020-06-04 2020-09-22 中国第一汽车股份有限公司 Vehicle remote upgrading method, device, equipment and storage medium
CN112817631A (en) * 2021-01-29 2021-05-18 一汽解放汽车有限公司 Vehicle-mounted controller upgrading method, device, equipment and storage medium
CN113608763A (en) * 2021-07-30 2021-11-05 上海华兴数字科技有限公司 Vehicle-mounted OTA upgrading method, device, equipment and operation machine
CN114579153A (en) * 2020-11-30 2022-06-03 博泰车联网科技(上海)股份有限公司 Upgrading method and device, computer readable storage medium and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018041061A1 (en) * 2016-08-29 2018-03-08 深圳市中兴微电子技术有限公司 Onboard device upgrade method, device, system and computer storage medium
CN111698307A (en) * 2020-06-04 2020-09-22 中国第一汽车股份有限公司 Vehicle remote upgrading method, device, equipment and storage medium
CN114579153A (en) * 2020-11-30 2022-06-03 博泰车联网科技(上海)股份有限公司 Upgrading method and device, computer readable storage medium and electronic equipment
CN112817631A (en) * 2021-01-29 2021-05-18 一汽解放汽车有限公司 Vehicle-mounted controller upgrading method, device, equipment and storage medium
CN113608763A (en) * 2021-07-30 2021-11-05 上海华兴数字科技有限公司 Vehicle-mounted OTA upgrading method, device, equipment and operation machine

Similar Documents

Publication Publication Date Title
US20210132937A1 (en) Vehicle control device, program update method, and program update system
CN112817625A (en) System upgrading method and device, electronic equipment and storage medium
US20240069906A1 (en) Server, software update system, distribution method, and non-transitory storage medium
JP6547904B2 (en) CONTROL DEVICE, PROGRAM UPDATE METHOD, AND COMPUTER PROGRAM
US11449329B2 (en) Vehicle control device and program update system
CN113934445A (en) Equipment firmware upgrading system, method and device, computer equipment and storage medium
US9841963B2 (en) Method and apparatus for managing application
CN115016826A (en) Upgrading method and device for vehicle-mounted controller, computer equipment and storage medium
US20220391192A1 (en) Ota master, center, system, method, non-transitory storage medium, and vehicle
US11995429B2 (en) Software update device, update control method, non-transitory storage medium, and server
US20220391194A1 (en) Ota master, system, method, non-transitory storage medium, and vehicle
KR20200121657A (en) Apparatus and method for providing update of vehicle
US20220244946A1 (en) Ota master, update control method, non-transitory storage medium, and vehicle
CN114915554A (en) Remote upgrading method and device, computer equipment and storage medium
CN110968852B (en) Virtual machine password management method, system, equipment and computer storage medium
CN113672258A (en) System upgrading method and device for vehicle, computer equipment and storage medium
CN112306527A (en) Server upgrading method and device, computer equipment and storage medium
US20220405080A1 (en) Ota master, system, method, non-transitory storage medium, and vehicle
US11954480B2 (en) Center, OTA master, system, method, non-transitory storage medium, and vehicle
US20220405083A1 (en) Ota master, system, method, non-transitory storage medium, and vehicle
CN118245085A (en) System forced upgrade method and device, storage medium and computer equipment
US20220391193A1 (en) Ota master, system, method, non-transitory storage medium, and vehicle
US20220342653A1 (en) Ota master, center, system, update method, non-transitory storage medium, and vehicle
US20230036444A1 (en) System, method, and non-transitory storage medium
EP4047477A1 (en) Ota master, center, system, update method, non-transitory storage medium, and vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination