Program updating processing method, device and system and electronic equipment

By switching to the old version of FOTA program with successful historical updates in the vehicle, the problem of firmware system update failure caused by abnormal new version of FOTA program is solved, which improves the update success rate and firmware performance and reduces the repair cost.

CN119493688APending Publication Date: 2025-02-21BEIJING CO WHEELS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311017165.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-14
Publication Date
2025-02-21

AI Technical Summary

Technical Problem

An exception occurred during the execution of the new version of FOTA program, causing the firmware system update to fail and requires manual repair, which increased the repair cost.

Method used

By receiving instructions from the cloud server in the vehicle, switch to using the old version of the FOTA program with successful historical updates to update the firmware system.

Benefits of technology

It improves the success rate of firmware system updates, reduces damage and subsequent repair problems caused by failure to be successful in time, extends the average service life of the firmware, and reduces repair costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119493688A_ABST
    Figure CN119493688A_ABST
Patent Text Reader

Abstract

The invention relates to a program updating processing method, device and system and electronic equipment, and relates to the technical field of data processing.The method comprises the steps that a cloud server issues first updating data used for updating a firmware system to a vehicle, and the first updating data comprises a first FOTA program; then receiving update error information sent by the vehicle, wherein the update error information is generated under the condition that the first FOTA program runs abnormally in the firmware system updating process; according to the updating error reporting information, indication information is issued to the vehicle, the indication information is used for indicating the vehicle to switch to use a second FOTA program to update the firmware system, and the second FOTA program is an FOTA program used by successful historical updating of the firmware system. Compared with the prior art, when the vehicle uses the FOTA program of the new version to update abnormally, the vehicle is indicated to use the FOTA program of the old version, and the success rate of updating the vehicle firmware system is increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a program update processing method, device, system and electronic equipment. Background Art

[0002] The vehicle mobile terminal's over-the-air software upgrade (Firmware Over-The-Air, FOTA) can update the vehicle's firmware system through the network. It is a major control program for vehicle upgrades. For example, using the FOTA program to update the various modules and components of the vehicle can help the vehicle upgrade new functions and solve old problems. In order to meet more needs, the FOTA program itself also needs to be continuously updated and the FOTA function itself needs to be optimized to meet the update needs.

[0003] At present, in the related technology, a new version of the FOTA program can be carried in the firmware system update data sent from the cloud server, and then by executing the new version of the FOTA program, the various modules and components of the vehicle can be updated and repaired based on the firmware system update data.

[0004] However, if an exception occurs in the new version of the FOTA program itself during its execution, not only will the firmware system update fail, but maintenance personnel will also need to perform manual repairs, which will in turn result in a large repair cost. Summary of the invention

[0005] In view of this, the present application provides a program update processing method, device, system and electronic device, the main purpose of which is to improve the current technical problem that if an abnormality occurs in the new version of the FOTA program itself during the execution of the new version of the FOTA program, it will not only cause the firmware system update to fail, but also require maintenance personnel to perform manual repairs, which will in turn result in higher repair costs.

[0006] In a first aspect, the present application provides a method for processing program updates, comprising:

[0007] Sending first update data for updating a firmware system to the vehicle, wherein the first update data includes a first FOTA program;

[0008] receiving update error information sent by the vehicle, where the update error information is generated when the first FOTA program runs abnormally during the firmware system update process;

[0009] Based on the update error information, an instruction message is sent to the vehicle, wherein the instruction message is used to instruct the vehicle to switch to using a second FOTA program to update the firmware system, and the second FOTA program is the FOTA program used for successful historical updates of the firmware system.

[0010] In a second aspect, the present application provides a method for processing program updates, comprising:

[0011] Receiving first update data for updating a firmware system sent by a cloud server, wherein the first update data includes a first FOTA program;

[0012] When the first FOTA program runs abnormally during the firmware system update process, sending update error information to the cloud server;

[0013] Receiving instruction information sent by the cloud server according to the update error information;

[0014] According to the indication information, switch to use a second FOTA program to update the firmware system, where the second FOTA program is the FOTA program used for successful historical updates of the firmware system.

[0015] In a third aspect, the present application provides a program update processing device, comprising:

[0016] A sending module is configured to send first update data for updating a firmware system to the vehicle, wherein the first update data includes a first FOTA program;

[0017] a receiving module configured to receive update error information sent by the vehicle, wherein the update error information is generated when the first FOTA program runs abnormally during the firmware system update process;

[0018] The sending module is also configured to send instruction information to the vehicle based on the update error information, and the instruction information is used to instruct the vehicle to switch to a second FOTA program to update the firmware system, and the second FOTA program is the FOTA program used for successful historical updates of the firmware system.

[0019] In a fourth aspect, the present application provides a program update processing device, comprising:

[0020] A receiving module is configured to receive first update data for updating the firmware system sent by the cloud server, wherein the first update data includes a first FOTA program;

[0021] A sending module, configured to send update error information to the cloud server when the first FOTA program runs abnormally during the firmware system update process;

[0022] The receiving module is further configured to receive instruction information sent by the cloud server according to the update error information;

[0023] The switching module is configured to switch to using a second FOTA program to update the firmware system according to the indication information, where the second FOTA program is the FOTA program used for successful historical updates of the firmware system.

[0024] In a fifth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method described in the first aspect or the method described in the second aspect is implemented.

[0025] In a sixth aspect, the present application provides an electronic device, comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the method of the first aspect or the method of the second aspect when executing the computer program.

[0026] In a seventh aspect, the present application provides a program update processing system, comprising: a cloud server and at least one vehicle; wherein the cloud server executes the method of the first aspect described above; and the vehicle executes the method of the second aspect described above.

[0027] By means of the above technical scheme, the present application provides a program update processing method, device, system and electronic device, specifically, the cloud server first sends the first update data for updating the firmware system to the vehicle, the first update data includes the first FOTA program; then receives the update error message sent by the vehicle, the update error message is generated when the first FOTA program has an abnormal operation during the firmware system update process; the cloud server then sends the instruction information to the vehicle based on the update error message, the instruction information is used to instruct the vehicle to switch to the second FOTA program to update the firmware system, the second FOTA program is the FOTA program used for the successful historical update of the firmware system. Compared with the current prior art, the present application provides a program update processing method, which can send update data and instruction information from the cloud, when the vehicle uses the new version of the FOTA program to update abnormally, instruct the vehicle to use the old version of the FOTA program, increase the success rate of the vehicle firmware system update, to a certain extent reduce the damage caused by the failure to update the vehicle solid-state system in time, reduce the generation of subsequent repair problems, thereby improving the performance of the vehicle firmware system, increasing the average service life of the vehicle firmware, and reducing the cost of repairing the vehicle firmware system.

[0028] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0030] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0031] Figure 1 A schematic diagram showing a flow chart of a program update processing method provided by an embodiment of the present application;

[0032] Figure 2 A schematic diagram showing an example provided by an embodiment of the present application;

[0033] Figure 3 A schematic diagram showing an example provided by an embodiment of the present application;

[0034] Figure 4 A schematic diagram showing a flow chart of a program update processing method provided by an embodiment of the present application;

[0035] Figure 5 A schematic diagram of the structure of a program update processing device provided in an embodiment of the present application is shown;

[0036] Figure 6 A schematic diagram of the structure of a program update processing device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0037] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the scheme of the present application will be further described below. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0038] In order to improve the current technical problem that if an exception occurs in the new version of the FOTA program itself during the execution of the new version of the FOTA program, not only will the firmware system update fail, but also maintenance personnel will need to perform manual repairs, which will in turn lead to a large repair cost. This embodiment provides a program update processing method that can be applied to a cloud server for execution, such as Figure 1 As shown, the method includes:

[0039] Step 101: Send first update data for updating a firmware system to a vehicle.

[0040] The first update data includes a first FOTA program.

[0041] Automobile FOTA can update the vehicle's firmware system through the Internet. The vehicle's firmware system can be the control system for core components such as the engine, motor, gearbox, chassis suspension, etc., which is not specifically limited here.

[0042] In an embodiment of the present application, the first update data may be update data and a FOTA program for updating the vehicle's firmware system. The first FOTA program is a new version of the FOTA program issued by the cloud server according to the functional requirements of the vehicle's firmware system. The FOTA program is used to update the vehicle's firmware system.

[0043] Optionally, if the vehicle's motor needs to be updated, the cloud server can obtain update data required to update the vehicle's motor, namely, first update data, and the update data includes a new version of the FOTA program, namely, the first FOTA program.

[0044] Step 102: Receive update error information sent by the vehicle.

[0045] Among them, the update error information is generated when the first FOTA program runs abnormally during the firmware system update process.

[0046] In an embodiment of the present application, the update error information may be an error message sent by the vehicle to the cloud server when an update error or update failure occurs when the vehicle uses the first FOAT program to update the firmware system.

[0047] Optionally, the cloud server may determine, through the error message sent by the vehicle, that the first FOAT program sent by the cloud server is not applicable to the firmware system of the current vehicle.

[0048] Step 103: Send instruction information to the vehicle based on the updated error information.

[0049] Among them, the indication information is used to instruct the vehicle to switch to using a second FOTA program to update the firmware system, and the second FOTA program is the FOTA program used for successful historical updates of the firmware system.

[0050] In the embodiment of the present application, FOTA is a main control program for vehicle upgrades, which is used to update other modules and components of the vehicle, upgrade new functions, and solve old problems. However, FOTA itself is also a program that needs to be continuously iterated and added functions (for the continuous optimization of FOTA program speed, traffic saving, and space saving), and FOTA also needs to be particularly stable, otherwise, once there are batch problems related to upgrades, it will not be possible to repair its own problems through remote upgrades due to the inability to update. In the end, users are required to go to the store for processing, which generates a relatively large workload. At the same time, for the test verification of FOTA, there are too many modules and scenes involved in the whole vehicle upgrade, and any changes cannot guarantee that the test can cover most scenes to ensure the high reliability of FOTA. For the iteration of the FOTA program, it is a more contradictory point. There is currently no way to solve this contradiction.

[0051] Optionally, the cloud server instructs the vehicle to update again using a second FOTA program that has a higher update success rate than using the first FOTA program.

[0052] FOTA can bring about an upgrade at the vehicle system level, and is a vehicle software update function that is higher than OTA (Over The Air, online upgrade). FOTA refers to remote vehicle software upgrades, and is an important indicator for judging smart electric vehicles. Vehicles with FOTA capabilities will be able to: upgrade the vehicle's electronic control unit (ECU), vehicle system firmware, etc.; users do not need to go to offline service centers or connect external devices; they can obtain upgrade packages and perform upgrades and updates through cloud servers, achieving rapid iteration of functions, as well as continuous optimization of vehicle usage experience and driving experience.

[0053] Compared with the current existing technology, this embodiment provides a program update processing method, which can send update data and instruction information through the cloud. When an exception occurs when the vehicle uses the new version of the FOTA program to update, the vehicle is instructed to use the old version of the FOTA program, thereby increasing the success rate of the vehicle firmware system update, and to a certain extent reducing the damage to the vehicle's solid-state system caused by failure to update in time, reducing the occurrence of subsequent repair problems, thereby improving the performance of the vehicle firmware system, increasing the average service life of the vehicle firmware, and reducing the cost of repairing the vehicle firmware system.

[0054] Furthermore, based on the above Figure 1 The content of the embodiment may optionally include, before step 103: obtaining the historical update record of the firmware system; determining, from the historical update record, the third FOTA program used for each successful update of the firmware system; and using the third FOTA program with the most successful updates, or the third FOTA program used for the last successful update of the firmware system, as the second FOTA program.

[0055] In an embodiment of the present application, the historical update record of the firmware system may specifically include the FOTA program used by the firmware system for each update and the corresponding update results, and the update results may include update success results and update failure results.

[0056] Optionally, after the firmware system fails to update using the first FOTA program, the cloud server can obtain information about the FOTA program with the most successful updates in the historical update records, and instruct the vehicle firmware system to update again using the FOTA program.

[0057] Optionally, after the firmware system fails to update using the first FOTA program, the cloud server may use the information of the FOTA program that was successfully used in the last system update in the historical update record to instruct the vehicle firmware system to update again using the FOTA program.

[0058] In an embodiment of the present application, the cloud server instructs the vehicle to use the FOTA program with the most successful updates in the historical update records, or instructs the vehicle to use the FOTA program that was successfully used in the last system update in the historical update records. This can improve the success rate of the second update of the firmware system to a certain extent and improve the success efficiency of the firmware system update.

[0059] Optionally, the first update data further includes a second FOTA program, or the indication information includes the second FOTA program.

[0060] In the embodiments of the present application, Figure 2 As shown, the first update data sent by the cloud server may directly include the FOTA program with the most successful updates in the historical update records, or the FOTA program used for the last successful update of the system. The first update data received by the vehicle may include two FOTA programs. When an error occurs when updating with the new version of the FOTA program, another FOTA program included in the update data may be directly used for another update, which can improve the efficiency of successful updating to a certain extent.

[0061] Exemplarily, taking the first update data sent by the cloud server as data packet 1, and the firmware system to be updated as system A, data packet 1 may include the update data required to update system A as well as the F1 program and the F2 program. The F1 program is a new version of the FOTA program, and the F2 program is a FOTA program recorded in the historical update record. If system A is updated using the F1 program and an update error occurs, the F2 program contained in data packet 1 can be used to update system A again.

[0062] Optionally, step 103 may specifically include: replacing the first FOTA program contained in the first update data with the second FOTA program according to the update error information, to obtain second update data of the firmware system; and sending indication information containing the second update data to the vehicle.

[0063] In an embodiment of the present application, while the cloud server sends an instruction message to the vehicle, the FOTA program instructing the vehicle to update again in the instruction message can also be input into the first update data, replacing the new version of the FOTA program used when the vehicle update failed in the first update data, and obtaining the second update data, which is then sent to the vehicle.

[0064] Exemplarily, based on the above example, if an error occurs when updating system A using data packet 1, the cloud server replaces the F1 program in data packet 1 with the F2 program, generates data packet 2, and sends it to the vehicle. The vehicle can use data packet 2 to update the firmware system according to the instruction information.

[0065] Optionally, the method of this embodiment may also include: recording the FOTA program used to successfully update the vehicle's firmware system; and sending third update data of the firmware system to other vehicles of the same model and / or the same batch as the vehicle based on the recorded FOTA program.

[0066] For example, Figure 3 As shown, the FOTA program used to successfully update the vehicle firmware is recorded, and the FOTA program is issued to other vehicles of the same model and / or the same batch as the vehicle. This can improve the upgrade efficiency of the vehicle's firmware system to a certain extent and reduce the occurrence of update errors in vehicles of the same batch or the same model.

[0067] Exemplarily, based on the above example, if the firmware system is successfully upgraded using the F2 program, the F2 program will be configured in data packet 1 in the same batch or the same model of vehicles and sent to the vehicles to improve the success rate of the vehicle update.

[0068] Compared with the current existing technology, this embodiment provides a program update processing method, which can send update data and instruction information through the cloud. When an exception occurs when the vehicle uses the new version of the FOTA program to update, the vehicle is instructed to use the old version of the FOTA program, thereby increasing the success rate of the vehicle firmware system update, and to a certain extent reducing the damage to the vehicle's solid-state system caused by failure to update in time, reducing the occurrence of subsequent repair problems, thereby improving the performance of the vehicle firmware system, increasing the average service life of the vehicle firmware, and reducing the cost of repairing the vehicle firmware system.

[0069] To illustrate the processing of the vehicle, further, this embodiment also provides a program update processing method, which is applied to the vehicle, such as Figure 4 As shown, the method includes:

[0070] Step 201: Receive first update data for updating a firmware system sent by a cloud server.

[0071] The first update data includes a first FOTA program.

[0072] In an embodiment of the present application, the vehicle receives first update data sent by a cloud server for updating, and uses a first FOTA program included in the first update data to update the firmware system.

[0073] Step 202: When the first FOTA program runs abnormally during the firmware system update process, an update error message is sent to the cloud server.

[0074] Optionally, if an update exception occurs when the vehicle updates the firmware system, an update error message is generated and sent to the cloud server.

[0075] Step 203: Receive instruction information sent by the cloud server according to the update error information.

[0076] Step 204: According to the instruction information, switch to using the second FOTA program to update the firmware system.

[0077] Among them, the second FOTA program is the FOTA program used for successful historical updates of the firmware system.

[0078] In an embodiment of the present application, the vehicle obtains a second FOTA program based on the instruction information sent by the cloud server and updates the firmware system again.

[0079] Compared with the current existing technology, this embodiment provides a program update processing method, which can send update data and instruction information through the cloud. When an abnormality occurs when the vehicle uses the new version of the FOTA program to update, it can instruct the vehicle to use the old version of the FOTA program, thereby increasing the success rate of the vehicle firmware system update, and to a certain extent reducing the damage to the vehicle solid-state system caused by the failure to update in time, reducing the occurrence of subsequent repair problems, thereby improving the performance of the vehicle firmware system, increasing the average service life of the vehicle firmware, and reducing the cost of repairing the vehicle firmware system. Furthermore, based on the above Figure 4 The content of the embodiment, optionally, step 204 may specifically include: according to the indication information, obtaining the third FOTA program used for the last successful update of the firmware system saved in the vehicle as the second FOTA program; using the second FOTA program to update the firmware system based on the first update data.

[0080] Optionally, after step 201 , the following may be included: if the firmware system is successfully updated using the first FOTA program, the first FOTA program is saved in the vehicle.

[0081] In an embodiment of the present application, the vehicle uses the first update data to update the firmware system. If an update exception occurs, the FOTA program that was successfully used in the last update of the firmware system can be obtained according to the indication information and updated again. If the update is successful, the FOTA program that was successfully updated can be saved in the vehicle's on-board system, etc., which is not specifically limited here.

[0082] Exemplarily, taking the first update data sent by the cloud server as data packet 1, and the firmware system to be updated as system A, data packet 1 may include the update data and F1 program required to update system A. If an abnormality occurs when the vehicle updates the firmware system, the F3 program used for the successful update of the previous layer of the vehicle firmware system can be obtained according to the indication information for update. If the update is successful, the F3 program will be saved in the vehicle.

[0083] Optionally, the embodiment of the present application distinguishes the online upgrade business logic according to the cloud push when it is running in a dynamic manner, which can better control the risk of iteration, solve the problems of difficult verification and high stability requirements of special programs such as FOTA, and speed up the iteration speed of the FOTA program. At the same time, there is a better way to ensure the success rate of vehicle push. Two FOTA versions can be included in the same version, and the cloud push can be used to decide which business logic to execute.

[0084] Compared with the current existing technology, this embodiment provides a program update processing method, which can send update data and instruction information through the cloud. When an exception occurs when the vehicle uses the new version of the FOTA program to update, the vehicle is instructed to use the old version of the FOTA program, thereby increasing the success rate of the vehicle firmware system update, and to a certain extent reducing the damage to the vehicle's solid-state system caused by failure to update in time, reducing the occurrence of subsequent repair problems, thereby improving the performance of the vehicle firmware system, increasing the average service life of the vehicle firmware, and reducing the cost of repairing the vehicle firmware system.

[0085] Further, as Figure 1 The specific implementation of the method shown in the embodiment provides a program update processing device, such as Figure 5 As shown, the device includes: a sending module 31 and a receiving module 32.

[0086] A sending module 31 is configured to send first update data for updating a firmware system to the vehicle, wherein the first update data includes a first FOTA program;

[0087] A receiving module 32 is configured to receive update error information sent by the vehicle, where the update error information is generated when the first FOTA program runs abnormally during the firmware system update process;

[0088] The sending module 31 is also configured to send instruction information to the vehicle based on the update error information, and the instruction information is used to instruct the vehicle to switch to a second FOTA program to update the firmware system, and the second FOTA program is the FOTA program used for successful historical updates of the firmware system.

[0089] In a specific application scenario, the sending module 31 is also configured to obtain the historical update records of the firmware system; determine the third FOTA program used for each successful update of the firmware system from the historical update records; and use the third FOTA program with the most successful updates, or the third FOTA program used for the last successful update of the firmware system, as the second FOTA program.

[0090] In a specific application scenario, the first update data further includes the second FOTA program, or the indication information includes the second FOTA program.

[0091] In a specific application scenario, the sending module 31 is specifically configured to replace the first FOTA program contained in the first update data with the second FOTA program based on the update error information, so as to obtain the second update data of the firmware system; and send the indication information containing the second update data to the vehicle.

[0092] In a specific application scenario, the sending module 31 is also configured to record the FOTA program used to successfully update the firmware system of the vehicle; based on the recorded FOTA program, the third update data of the firmware system is sent to other vehicles of the same model and / or the same batch as the vehicle. It should be noted that other corresponding descriptions of the functional units involved in the data detection device provided in this embodiment can be referred to. Figure 1 The corresponding description will not be repeated here.

[0093] Further, as Figure 4 The specific implementation of the method shown in the embodiment provides a program update processing device, such as Figure 6 As shown, the device includes: a receiving module 41, a sending module 42, and a switching module 43.

[0094] The receiving module 41 is configured to receive first update data for updating the firmware system sent by the cloud server, wherein the first update data includes a first FOTA program;

[0095] A sending module 42, configured to send an update error message to the cloud server when the first FOTA program runs abnormally during the firmware system update process;

[0096] The receiving module 41 is further configured to receive the indication information sent by the cloud server according to the update error information;

[0097] The switching module 43 is configured to switch to using a second FOTA program to update the firmware system according to the indication information, where the second FOTA program is the FOTA program used for successful historical updates of the firmware system.

[0098] In a specific application scenario, the switching module 43 is further configured to obtain, based on the indication information, a third FOTA program used for the last successful update of the firmware system saved in the vehicle as the second FOTA program; and use the second FOTA program to update the firmware system based on the first update data.

[0099] In a specific application scenario, the receiving module 41 is further configured to save the first FOTA program in the vehicle if the firmware system is successfully updated using the first FOTA program.

[0100] It should be noted that for other corresponding descriptions of the functional units involved in the data detection device provided in this embodiment, reference can be made to Figure 4 The corresponding description in will not be repeated here.

[0101] Based on the above Figure 1 The method shown in the embodiment also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned Figure 1 Based on the above method. Figure 4 The method shown in the embodiment also provides another computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by the processor, the above-mentioned Figure 4 The method shown.

[0102] Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, USB flash drive, mobile hard disk, etc.), including a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods of various implementation scenarios of the present application.

[0103] Based on the above Figure 1 The method shown, and Figure 5 In order to achieve the above-mentioned purpose, the embodiment of the present application also provides an electronic device, which can be configured on the cloud server side, and the device includes a storage medium and a processor; the storage medium is used to store a computer program; the processor is used to execute the computer program to achieve the above-mentioned Figure 1 The method shown.

[0104] Based on the above Figure 4 The method shown, and Figure 6 In order to achieve the above-mentioned purpose, the embodiment of the present application also provides an electronic device, which can be configured on the vehicle side, and the device includes a storage medium and a processor; the storage medium is used to store a computer program; the processor is used to execute the computer program to achieve the above-mentioned Figure 4 The method shown.

[0105] Optionally, the above-mentioned physical device may also include a user interface, a network interface, a camera, a radio frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, etc. The user interface may include a display, an input unit such as a keyboard, etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), etc.

[0106] Those skilled in the art will appreciate that the above-mentioned physical device structure provided in this embodiment does not constitute a limitation on the physical device, and may include more or fewer components, or a combination of certain components, or different arrangements of components.

[0107] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the above-mentioned physical device, and supports the operation of the information processing program and other software and / or programs. The network communication module is used to realize the communication between the components inside the storage medium, and the communication with other hardware and software in the information processing physical device.

[0108] Based on the contents of the above embodiments, the present application also provides a program update processing system, including: a cloud server and at least one vehicle. Specifically, the cloud server can execute the following Figure 1 The method shown; the vehicle can execute as follows Figure 4 The method described.

[0109] Through the description of the above implementation methods, those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform, or by hardware. By applying the solution of this embodiment, compared with the current prior art, this embodiment provides a program update processing method, which can send update data and instruction information through the cloud. When an abnormality occurs when the vehicle uses the new version of the FOTA program to update, the vehicle is instructed to use the old version of the FOTA program, which increases the success rate of the vehicle firmware system update, reduces the damage to the vehicle solid-state system due to failure to update in time to a certain extent, reduces the generation of subsequent repair problems, and thus improves the performance of the vehicle firmware system, increases the average service life of the vehicle firmware, and reduces the cost of repairing the vehicle firmware system.

[0110] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprises" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0111] The above is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features applied for herein.

Claims

1. A program update processing method, characterized in that: include: Sending first update data for updating a firmware system to the vehicle, wherein the first update data includes a first FOTA program; receiving update error information sent by the vehicle, where the update error information is generated when the first FOTA program runs abnormally during the firmware system update process; Based on the update error information, an instruction message is sent to the vehicle, wherein the instruction message is used to instruct the vehicle to switch to using a second FOTA program to update the firmware system, and the second FOTA program is the FOTA program used for successful historical updates of the firmware system.

2. The method according to claim 1, characterized in that Before sending instruction information to the vehicle according to the update error information, the method further includes: Obtaining historical update records of the firmware system; Determine, from the historical update records, a third FOTA program used for each successful update of the firmware system; The third FOTA program with the largest number of successful updates, or the third FOTA program used for the last successful update of the firmware system, is used as the second FOTA program.

3. The method according to claim 2, characterized in that The first update data further includes the second FOTA program, or the indication information includes the second FOTA program.

4. The method according to claim 2, characterized in that: The sending of instruction information to the vehicle according to the update error information includes: According to the update error information, replacing the first FOTA program contained in the first update data with the second FOTA program to obtain second update data of the firmware system; The instruction information including the second update data is sent to the vehicle.

5. The method according to claim 1, characterized in that The method further comprises: Record the FOTA program used to successfully update the firmware system of the vehicle; According to the recorded FOTA procedure, third update data of the firmware system is sent to other vehicles of the same model and / or the same batch as the vehicle.

6. A program update processing method, characterized in that: include: Receiving first update data for updating a firmware system sent by a cloud server, wherein the first update data includes a first FOTA program; When the first FOTA program runs abnormally during the firmware system update process, sending update error information to the cloud server; Receiving instruction information sent by the cloud server according to the update error information; According to the indication information, switch to use a second FOTA program to update the firmware system, where the second FOTA program is the FOTA program used for successful historical updates of the firmware system.

7. The method according to claim 6, characterized in that The step of switching to use a second FOTA program to update the firmware system according to the indication information includes: According to the instruction information, a third FOTA program used for the last successful update of the firmware system stored in the vehicle is obtained as the second FOTA program; The firmware system is updated based on the first update data using the second FOTA program.

8. The method according to claim 6, characterized in that After receiving the first update data of the firmware system sent by the cloud server, the method further includes: If the firmware system is successfully updated using the first FOTA program, the first FOTA program is saved in the vehicle.

9. A program update processing system, characterized in that: include: A cloud server and at least one vehicle; The cloud server executes the method as claimed in any one of claims 1 to 5; The vehicle performs the method according to any one of claims 6 to 8.

10. A program update processing device, characterized in that: include: A sending module is configured to send first update data for updating a firmware system to the vehicle, wherein the first update data includes a first FOTA program; a receiving module configured to receive update error information sent by the vehicle, wherein the update error information is generated when the first FOTA program runs abnormally during the firmware system update process; The sending module is also configured to send instruction information to the vehicle based on the update error information, and the instruction information is used to instruct the vehicle to switch to a second FOTA program to update the firmware system, and the second FOTA program is the FOTA program used for successful historical updates of the firmware system.

11. A program update processing device, characterized in that: include: A receiving module is configured to receive first update data for updating the firmware system sent by the cloud server, wherein the first update data includes a first FOTA program; A sending module, configured to send update error information to the cloud server when the first FOTA program runs abnormally during the firmware system update process; The receiving module is further configured to receive instruction information sent by the cloud server according to the update error information; The switching module is configured to switch to using a second FOTA program to update the firmware system according to the indication information, where the second FOTA program is the FOTA program used for successful historical updates of the firmware system.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.

13. An electronic device comprising a storage medium, a processor, and a computer program stored in the storage medium and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 8 is implemented.