CN115827004A - OTA (over the air) upgrading method and system for vehicle, vehicle and storage medium - Google Patents

OTA (over the air) upgrading method and system for vehicle, vehicle and storage medium Download PDF

Info

Publication number
CN115827004A
CN115827004A CN202211511146.3A CN202211511146A CN115827004A CN 115827004 A CN115827004 A CN 115827004A CN 202211511146 A CN202211511146 A CN 202211511146A CN 115827004 A CN115827004 A CN 115827004A
Authority
CN
China
Prior art keywords
ota
vehicle
controller
information
upgrading
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
CN202211511146.3A
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.)
Chongqing Changan Automobile Co Ltd
Original Assignee
Chongqing Changan Automobile 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 Chongqing Changan Automobile Co Ltd filed Critical Chongqing Changan Automobile Co Ltd
Priority to CN202211511146.3A priority Critical patent/CN115827004A/en
Publication of CN115827004A publication Critical patent/CN115827004A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The present application relates to the field of vehicle control, and in particular, to a method and a system for OTA upgrade of a vehicle, and a storage medium. The OTA upgrading method of the vehicle applied to the OTA service platform comprises the following steps: acquiring a software version state of the vehicle controller according to a software version acquisition instruction output by the OTA interactive platform; outputting software version information to an OTA interactive platform; acquiring an upgrading recovery instruction output by an OTA interactive platform, and acquiring vehicle environment signals within preset time according to the upgrading recovery instruction to obtain signal abnormality controller information; outputting the signal abnormality controller information to an OTA interactive platform; and controlling the vehicle controller to carry out OTA upgrading according to the installation recovery instruction output by the OTA interactive platform. By the method, the driving state of the vehicle can be judged, and the OTA upgrading process is realized on the premise of ensuring driving safety.

Description

OTA (over the air) upgrading method and system for vehicle, vehicle and storage medium
Technical Field
The present application relates to the field of vehicle control, and in particular, to a method and a system for OTA upgrade of a vehicle, and a storage medium.
Background
In the OTA upgrading process of the related art, a corresponding solution is not provided usually when the vehicle controller is abnormal to cause upgrading failure, so that the OTA of the vehicle cannot be upgraded well in time according to the requirements of a user. Therefore, how to realize OTA upgrade of the vehicle as much as possible according to the user requirements on the premise of ensuring the driving safety of the vehicle becomes a problem to be solved urgently.
Disclosure of Invention
In order to solve the problems, the application provides a vehicle OTA upgrading method, a vehicle OTA upgrading system, a vehicle and a storage medium. The OTA upgrading method for the vehicle can evaluate environmental factors and realize OTA upgrading of the vehicle on the premise of ensuring the driving safety of the vehicle.
The application provides an OTA upgrading method of a vehicle, which is applied to an OTA service platform, the vehicle further comprises an OTA interaction platform, and the method comprises the following steps:
acquiring a software version state of a vehicle controller according to a software version acquisition instruction output by the OTA interactive platform;
outputting the software version information to the OTA interactive platform;
acquiring an upgrading recovery instruction output by the OTA interactive platform, acquiring vehicle state signals within preset time according to the upgrading recovery instruction, judging the validity of the signals, and marking abnormal signals to obtain signal abnormal controller information;
outputting the signal abnormality controller information to the OTA interactive platform;
and executing a recovery installation strategy when the signal is abnormal according to the recovery installation instruction output by the OTA interactive platform, and controlling the vehicle controller to carry out OTA upgrade.
The OTA upgrading method can acquire the abnormal information of the vehicle controller according to the execution result of the OTA interaction platform, and then the OTA upgrading process of the vehicle is executed through the evaluation of the abnormal information. Specifically, the method comprises the steps of firstly, obtaining an instruction according to a software version output by an OTA interactive platform, respectively calling software version states of all vehicle controllers in a vehicle, and outputting the called software version states to the OTA interactive platform; through data processing of the OTA interaction platform, the method can acquire the upgrading recovery instruction output by the OTA interaction platform, so that the vehicle state signal output by the vehicle controller is continuously acquired within the preset time according to the upgrading recovery instruction, and the abnormal signal is marked according to the acquired vehicle state signal to generate signal abnormal controller information. Further, the method outputs the signal abnormal controller information to the OTA interaction platform, so that the OTA interaction platform confirms the state of the vehicle controller and obtains a recovery installation instruction output by the OTA interaction platform, and the vehicle is controlled to perform OTA upgrading according to the recovery installation instruction.
In some embodiments, the obtaining an upgrade restoration instruction output by the OTA interaction platform and acquiring a vehicle state signal within a preset time according to the condition checking instruction to obtain signal anomaly controller information includes:
continuously acquiring a vehicle state signal output by a vehicle controller according to preset acquisition time;
recording the corresponding vehicle controller which does not obtain the vehicle state signal within the preset obtaining time to obtain the signal abnormal controller information;
and outputting the signal abnormality controller information to the OTA interactive platform.
In some embodiments, the controlling the vehicle controller to perform OTA upgrade according to the reinstallation instruction output by the OTA interaction platform includes:
analyzing the installation recovery instruction to obtain first limit data;
outputting the first limiting data to the OTA interactive platform;
updating the vehicle state signal according to the condition checking instruction output by the OTA interactive platform to obtain updated state information;
controlling the vehicle controller to perform OTA upgrading under the condition that the updated state information meets the preset condition;
or under the condition that the updating state information does not meet the preset condition, outputting a report that the condition does not meet the preset condition to the OTA interactive platform.
In some embodiments, the controlling the vehicle controller to perform OTA upgrade in the case that the updated state information satisfies a preset condition includes:
analyzing the signal information of the vehicle controller to obtain electric quantity information, vehicle speed information, gear information, a hand brake state and an engine state;
and generating a judgment threshold according to the preset condition, wherein the electric quantity condition is met by default, and controlling the vehicle controller to carry out OTA (over the air) upgrading under the condition that at least two conditions are met in the gear information, the handbrake state and the engine state.
In certain embodiments, the method further comprises:
outputting the current installation progress according to the installation state query instruction output by the OTA interactive platform;
and acquiring a forced installation instruction output by the OTA interactive platform, and directly controlling the vehicle controller to carry out OTA upgrade.
The application also provides an OTA upgrading method of the vehicle, which is applied to an OTA interactive platform and comprises the following steps:
outputting a software version acquisition instruction to the OTA service platform to acquire software version information;
checking the software version information according to prestored local version information to obtain version abnormal controller information;
outputting a condition checking instruction to the OTA service platform according to the version abnormal controller information to obtain vehicle controller signal information;
screening out the controllers with abnormal signals according to the obtained signal information of the vehicle controller;
matching the version abnormal controller information with the signal abnormal controller information;
and outputting a mounting restoring instruction according to the matching result.
The OTA upgrading method can check and match the state of the current vehicle controller according to the OTA service platform, firstly outputs an upgrading recovery instruction when a matching result is obtained, and outputs a recovery installation instruction after the preset condition is met. Specifically, the method can output a version acquisition instruction to the OTA service platform to acquire the software version information, and compare the acquired software version information with the pre-stored local version information one by one to query whether a controller with abnormal version information exists. And when some unmatched software version information exists in the local version information in the software version information, the vehicle controller corresponding to the unmatched software version information is used as a version abnormality controller to obtain version abnormality controller information, so that an upgrade recovery instruction is output according to the version abnormality controller information, and the OTA service platform obtains signal abnormality controller information according to a recovery installation condition check instruction. Further, the method can match according to the version abnormity controller information and the signal abnormity controller information to output a matching result which can be used for calibrating the abnormity controller, and outputs a recovery installation instruction according to the matching result, so that the OTA service platform can perform OTA upgrade on the vehicle according to the recovery installation instruction. By the method, the working condition of the vehicle controller can be effectively obtained, and OTA upgrading is carried out on the vehicle under the condition that the vehicle controller works abnormally and normal running of the vehicle is not influenced.
In some embodiments, the outputting the software version obtaining instruction to the OTA service platform to obtain the software version information includes:
acquiring a vehicle installation state;
and inquiring the vehicle installation state according to a preset vehicle state, and outputting the software version acquisition instruction according to an inquiry result.
In some embodiments, said matching said version exception controller information and said signal exception controller information comprises:
analyzing a first controller corresponding to the version abnormal controller information;
a second controller corresponding to the signal abnormality controller information is analyzed;
under the condition that the first controller and the second controller are the same controller, outputting the matching result; alternatively, in a case where the first controller and the second controller are different controllers, a matching failure report is output.
In certain embodiments, the method further comprises:
acquiring first limit data output by the OTA service platform;
under the condition that the first limiting data meet preset conditions, outputting a confirmation installation instruction to the OTA service platform;
and obtaining an installation failure report output by the OTA service platform according to the execution result of the OTA service platform on the installation confirmation instruction.
In some embodiments, the outputting an installation confirmation instruction to the OTA service platform in the case that the first limitation data meets a preset condition includes:
analyzing the first limiting data to obtain updated electric quantity information, vehicle speed information, gear information, a hand brake state and an engine state;
and generating a judgment threshold according to the preset condition, outputting a confirmation installation instruction to the OTA service platform under the condition that at least two of the updated gear information, the updated handbrake state and the updated engine state meet the judgment threshold after the updated electric quantity information is satisfied by default.
In certain embodiments, the method further comprises:
periodically outputting an installation state query instruction to an OTA service platform according to a preset query interval, and acquiring the current installation progress;
and when the number of times of the continuously acquired current state progress of abnormal installation exceeds a preset error threshold, outputting a forced installation instruction to the OTA service platform so that the OTA service platform directly controls the vehicle controller to perform OTA upgrade according to the forced installation instruction.
The present application further provides a vehicle OTA upgrade system, which in some embodiments comprises:
the OTA service platform is used for realizing the OTA upgrading method applied to the vehicle of the OTA service platform;
the OTA interactive platform is used for realizing the OTA upgrading method applied to the vehicle of the OTA interactive platform.
The cloud server is used for outputting OTA upgrading software to the OTA interaction platform;
the vehicle controller is in communication connection with the OTA service platform and is used for outputting a software version state and a vehicle environment signal to the OTA service platform; and the OTA upgrading software is also used for performing OTA upgrading according to the OTA upgrading software.
The present application further provides a vehicle, comprising:
a memory; and the number of the first and second groups,
a processor communicatively coupled to the memory; wherein the content of the first and second substances,
the memory stores instructions that can be executed by the processor, and by executing the instructions, the processor can implement any one of the above OTA upgrade methods applied to a vehicle of an OTA service platform or any one of the above OTA upgrade methods applied to a vehicle of an OTA interaction platform.
The application also provides a computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium and can be executed by a computer to realize any one of the above OTA upgrading method applied to a vehicle of an OTA service platform or any one of the above OTA upgrading method applied to a vehicle of an OTA interaction platform.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of an OTA upgrading method applied to a vehicle of an OTA service platform according to the present application;
fig. 2 is a schematic flowchart of a specific embodiment of an OTA upgrading method applied to a vehicle of an OTA service platform according to the present application;
fig. 3 is a schematic flowchart of a further specific method for upgrading an OTA of a vehicle applied to an OTA service platform according to the present application;
fig. 4 is a schematic flowchart of a further specific method for upgrading an OTA of a vehicle applied to an OTA service platform according to the present application;
fig. 5 is a schematic flowchart of a further specific method for upgrading an OTA of a vehicle applied to an OTA service platform according to the present application;
fig. 6 is a flowchart illustrating an OTA upgrading method applied to a vehicle of an OTA interaction platform according to the present application;
fig. 7 is a specific flowchart of a vehicle OTA upgrading method applied to an OTA interactive platform according to the present application;
fig. 8 is a further detailed flowchart of an OTA upgrading method applied to a vehicle of an OTA interaction platform according to the present application;
fig. 9 is a schematic diagram of communication interaction between an OTA interaction platform and an OTA service platform provided in the present application;
fig. 10 is a further detailed flowchart of a vehicle OTA upgrading method applied to an OTA interactive platform according to the present application;
fig. 11 is a further detailed flowchart of an OTA upgrading method applied to a vehicle of an OTA interaction platform according to the present application;
fig. 12 is a further detailed flowchart of a vehicle OTA upgrading method applied to an OTA interactive platform according to the present application;
fig. 13 is a schematic diagram of communication interaction between an OTA interaction platform and an OTA service platform provided in accordance with the present application;
FIG. 14 is a schematic diagram of an OTA upgrade system for a vehicle according to the present application;
FIG. 15 is a schematic structural diagram of a vehicle according to the present application.
Description of the reference numerals: the OTA upgrading system 10, the OTA service platform 11, the OTA interaction platform 12, the cloud server 13, the vehicle controller 14, the vehicle 100, the memory 110 and the processor 120.
Detailed Description
Reference will now be made in detail to the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
The OTA upgrading method for the vehicle can evaluate environmental factors and realize OTA upgrading of the vehicle on the premise of ensuring the driving safety of the vehicle.
Referring to fig. 1, the present application provides an OTA upgrading method for a vehicle, which is applied to an OTA service platform, wherein the vehicle further includes an OTA interaction platform, and the method includes:
and S11, acquiring the software version state of the vehicle controller according to the software version acquisition instruction output by the OTA interactive platform.
And S12, outputting the software version information to the OTA interactive platform.
And S13, acquiring an upgrading recovery instruction output by the OTA interactive platform, and acquiring vehicle state signals within preset time according to the upgrading recovery instruction to obtain signal abnormality controller information.
And S14, outputting the signal abnormality controller information to the OTA interactive platform.
And S15, controlling the vehicle controller to carry out OTA upgrading according to the installation recovery instruction output by the OTA interactive platform.
The OTA upgrading method can acquire the abnormal information of the vehicle controller according to the execution result of the OTA interaction platform, and then the OTA upgrading process of the vehicle is executed through evaluation of the abnormal information. Specifically, the method comprises the steps of firstly obtaining an instruction according to a software version output by an OTA interactive platform, respectively calling software version states of all vehicle controllers in a vehicle, and outputting the called software version states to the OTA interactive platform. Through data processing of the OTA interaction platform, the method can acquire the installation recovery condition checking upgrading recovery instruction output by the OTA interaction platform, so as to continuously acquire the vehicle state signal output by the vehicle controller within the preset time according to the upgrading recovery instruction, and mark the controller with abnormal signal according to the acquired vehicle state signal, so as to generate signal abnormal controller information. Further, the method outputs the signal abnormal controller information to the OTA interaction platform, so that the OTA interaction platform confirms the state of the vehicle controller and obtains a recovery installation instruction output by the OTA interaction platform, and the vehicle is controlled to perform OTA upgrading according to the recovery installation instruction.
In some specific embodiments, after the OTA service platform acquires the installation resuming instruction output by the OTA interaction platform, OTA upgrade software can be called from the OTA interaction platform, and the vehicle controller is controlled to perform OTA upgrade according to the OTA upgrade software.
Referring to fig. 2, in some embodiments, S13 includes:
s131, continuously acquiring a vehicle state signal corresponding to the vehicle controller according to preset acquisition time.
S132, recording the corresponding vehicle controller which does not obtain the vehicle state signal within the preset obtaining time to obtain the signal abnormal controller information;
and S133, outputting the signal abnormality controller information to the OTA interactive platform.
The method can screen out abnormal controllers for the acquired vehicle state signals. Specifically, the method includes the steps that firstly, status signals output by a vehicle controller are continuously collected within preset obtaining time, and further, after the preset obtaining time is over, the obtained vehicle status signals can be collected through an OTA service platform and compared with the vehicle status signals needing to be obtained, so that whether part of vehicle status signals which are not obtained exist or not is inquired. When the vehicle state signal which is not acquired exists, the method can inquire the vehicle controller corresponding to the vehicle state signal which is not acquired, and the vehicle controller is used as an abnormal controller to output signal abnormal controller information to the OTA interaction platform. According to the method, the abnormal controller is marked, the vehicle controller with the abnormality can be marked for the OTA interaction platform, the OTA interaction platform can evaluate whether the vehicle controller is abnormal or not according to the signal abnormality controller information, and whether OTA recovery is carried out on the vehicle abnormality controller or not is selected according to the evaluation result. The OTA upgrading requirement is met, and meanwhile, the running safety of the vehicle is greatly guaranteed.
In some specific embodiments, the method controls the OTA service platform to receive the CAN signal to the vehicle controller at intervals in a preset receiving time length so as to accurately acquire the state signal output by the vehicle controller, takes ten times of the preset receiving time length as a collecting timeout time, starts timing after a condition checking instruction is received, and checks the acquisition state of the vehicle state signal after the timing is finished. And when the vehicle environment state signal is not acquired, marking the controller corresponding to the state signal which is not acquired as an abnormal controller.
Referring to fig. 3, in some embodiments, S15 includes:
and S151, analyzing the installation recovery instruction to obtain first limit data.
And S152, outputting the first limiting data to the OTA interactive platform.
And S153, updating the vehicle state information according to the installation confirmation instruction output by the OTA interactive platform to obtain the updated state information.
And S154, controlling the vehicle controller to perform OTA upgrading under the condition that the updated state information meets the preset condition.
And S155, or outputting an installation failure report to the OTA interactive platform under the condition that the updated state information does not meet the preset condition.
The method can evaluate whether the OTA upgrade can be carried out on the vehicle currently according to the installation resuming instruction, and carry out the OTA upgrade on the vehicle on the premise of ensuring the driving safety, or suspend the OTA upgrade on the vehicle on the condition that the driving safety can not be ensured. Specifically, the method can analyze the recovery installation instruction to obtain the first limitation data, and output the first limitation data to the OTA interaction platform for data evaluation. When the OTA interaction platform outputs the condition checking instruction, the method controls the OTA service platform to update the vehicle state information to obtain the updated state information, and then judges that OTA upgrading can be carried out under the condition that the updated state information meets the preset condition, or suspends the OTA upgrading process to ensure the driving safety of the vehicle under the condition that the updated environment signal does not meet the preset condition.
In some specific embodiments, the method may analyze the reinstallation instruction to acquire the vehicle state information to obtain the current vehicle state, and adjust the invalid signal to the valid signal according to a preset change manner to obtain the first limitation data, so as to reduce a threshold for determining whether to execute the OTA upgrade procedure within an acceptable range that meets driving safety performance, so as to improve the probability of successful execution of the OTA upgrade method. Specifically, the analyzed vehicle state information comprises finished vehicle electric quantity information, vehicle speed, a hand brake state, a gear position and an engine state, when the method detects that invalid signals exist in the finished vehicle hand brake state, the gear position and the engine state, if any two of the invalid signals are valid, the other invalid signal is set to be valid, the electric quantity signal is valid all the time by default, and first limit data are output.
Referring to fig. 4, in some embodiments, S154 includes:
s1541, analyzing the updated state information to obtain electric quantity information, vehicle speed, hand brake state, gear position and engine state.
S1542, generating a judgment threshold according to preset conditions, and controlling a vehicle controller to perform OTA (over the air) upgrading under the condition that at least two conditions meeting the judgment threshold exist in the gear information, the handbrake state and the engine state and the vehicle speed is below zero.
The method can analyze and update the vehicle signal information and evaluate whether the current vehicle can be subjected to OTA (over the air) upgrading or not by combining preset conditions. Specifically, the method can analyze the updated vehicle signal to obtain the gear information, the hand brake state and the engine state output by the vehicle controller, and judge the gear information, the hand brake state and the engine state according to the judgment threshold corresponding to the preset condition. The judgment basis of the method is that the gear information is P gear, the hand brake state is hand brake pull-up, and the engine state is engine stop, when at least two judgment bases are met, the method determines that the limitation of the judgment threshold is currently met, and performs OTA upgrading on the vehicle.
Referring to fig. 5, the ota upgrading method further includes:
and S16, outputting the current installation progress according to the installation state query instruction output by the OTA interactive platform.
And S17, acquiring a forced installation instruction output by the OTA interactive platform, and directly controlling the vehicle controller to carry out OTA upgrading.
The method can also forcibly carry out OTA upgrade of the automobile under the condition that OTA upgrade frequently fails. Specifically, the OTA upgrading method can acquire the OTA upgrading installation progress of the current vehicle according to the installation state query instruction sent by the OTA interactive platform in the OTA upgrading process of the vehicle, and send the current installation progress so that the OTA interactive platform collects the acquired current installation progress, and accordingly the forced installation instruction output by the OTA interactive platform is acquired, the OTA service platform is controlled to skip all detection of the current vehicle state, and the OTA upgrading process is directly executed.
Referring to fig. 6, the present application further provides an OTA upgrading method for a vehicle, applied to an OTA interaction platform, including:
and S21, outputting a software version acquisition instruction to the OTA service platform to acquire software version information.
And S22, checking the software version information according to the pre-stored local version information to obtain version abnormal controller information.
And S23, outputting an upgrading recovery instruction to the OTA interactive platform according to the version abnormal controller information so as to acquire the signal abnormal controller information.
And S24, matching the version abnormality controller information and the signal abnormality controller information.
And S25, outputting a mounting restoring instruction according to the matching result.
The OTA upgrading method can check and match the state of the current vehicle controller according to the OTA service platform, and the matching result is an output installation recovery instruction. Specifically, the method can output a version acquisition instruction to the OTA service platform to acquire the software version information, and compare the acquired software version information with the pre-stored local version information one by one to query whether a controller with abnormal version information exists. And when some unmatched software version information exists in the local version information in the software version information, the vehicle controller corresponding to the unmatched software version information is used as a version abnormality controller to obtain version abnormality controller information, so that an upgrade recovery instruction is output according to the version abnormality controller information, and the OTA service platform obtains signal abnormality controller information according to the upgrade recovery instruction. Further, the method can match according to the version abnormity controller information and the signal abnormity controller information to output a matching result which can be used for calibrating the abnormity controller, and outputs a recovery installation instruction according to the matching result, so that the OTA service platform can perform OTA upgrade on the vehicle according to the recovery installation instruction. By the method, the working condition of the vehicle controller can be effectively acquired, and OTA (over the air) upgrading can be carried out on the vehicle under the condition that the vehicle controller works abnormally and normal running of the vehicle is not influenced.
Referring to fig. 7, in some embodiments, S22 includes:
and S221, acquiring a vehicle installation state.
S222, inquiring the installation state of the vehicle according to the preset vehicle state, and outputting a software version acquisition instruction according to an inquiry result.
The method can evaluate whether the vehicle can execute the OTA upgrading process according to the current running state of the vehicle. Specifically, the method comprises the steps of firstly inquiring and acquiring the vehicle installation state through an OTA interactive platform. The vehicle installation state can be the electric quantity of the whole vehicle, the vehicle speed, the hand brake state, the gear position, the starting state and the starting state. The preset vehicle state can include whether the electric quantity of the whole vehicle reaches the standard or not, whether the vehicle speed is below a specified speed upper limit value or not, whether the hand brake state is the pull-up state or not, whether the gear position is the P gear or not and whether the engine state is the stop state or not. When the above conditions are all satisfied, the method can obtain the query result and output the software version installation instruction to start executing the OTA upgrading method provided by the application.
Referring to fig. 8, in some embodiments, S24 includes:
and S241, analyzing the first controller corresponding to the version abnormal controller information.
And S242, analyzing a second controller corresponding to the signal abnormal controller information.
And S243, outputting the matching result under the condition that the first controller and the second controller are the same type of controllers. Alternatively, in the case where the first controller and the second controller are different types of controllers, a matching failure report is output.
The method can judge the working state of the abnormal controller through the acquired information, thereby controlling the OTA service platform to realize the OTA upgrading process. Specifically, the method can analyze the first controller corresponding to the version abnormal controller information, and can also analyze the second controller corresponding to the signal abnormal controller information. And identifying whether the first controller and the second controller are the same controller by comparing the first controller with the second controller. If the first controller and the second controller are the same type of controller, the method can output the matching result to judge that the first controller and the second controller are only abnormal at present so as to control the vehicle to continue the OTA upgrading process. Alternatively, if the first controller and the second controller are not the same type of controller, the method may output a matching failure report to stop the OTA upgrade process to avoid the vehicle driving entering a dangerous state due to the OTA upgrade process.
Referring to fig. 9, specifically, the method may obtain a version initiating handset instruction after the OTA interaction platform is powered on, so that the OTA service platform collects software versions of the respective vehicle controllers, records an abnormal version number as FF, and sends the version initiating handset instruction to the OTA interaction platform, and when the OTA interaction platform detects a controller with the version number of FF, the OTA interaction platform performs record storage and simultaneously triggers a recovery installation check, so that the OTA service platform checks whether recovery is possible, and outputs information of the abnormal signal controller to the OTA interaction platform. The OTA interaction platform can take the acquired abnormal signal controller as an invalid signal and compare the invalid signal with the controller with the previous version number of FF. And when the two are consistent, judging that the controller fails, and executing a recovery installation process to control the vehicle controller to carry out OTA upgrading.
Referring to fig. 10, in some embodiments, the OTA upgrading method further includes:
and S26, acquiring first limit data output by the OTA service platform.
And S27, outputting a confirmation installation instruction to the OTA service platform under the condition that the first limiting data meets the preset condition.
And S28, obtaining an installation failure report output by the OTA service platform according to the execution result of the OTA service platform on the installation confirmation instruction.
The OTA upgrading method provided by the application can be used for confirming whether the current vehicle state meets the OTA upgrading requirement again according to the first limiting data and selecting whether the OTA of the vehicle is upgraded or not. Specifically, the method may match the acquired first limitation data with a preset condition, so that when the first limitation data meets the preset condition, an installation confirmation instruction is output to the OTA service platform, or, when the first limitation data does not meet the preset condition, an installation failure report is output.
Referring to fig. 11, in some embodiments, S27 includes:
and S271, analyzing the first limiting data to obtain gear updating data, hand brake updating state and engine updating state.
And S272, generating a judgment threshold value according to a preset condition, and outputting a confirmation installation instruction to the OTA service platform under the condition that at least two judgment threshold values are met in the gear updating information, the handbrake updating state and the engine updating state.
The method can accurately measure the current vehicle condition according to the specific parameters in the first limiting data so as to predict whether OTA upgrading can be carried out. Specifically, the first limiting data is analyzed, and the method can obtain gear updating information, handbrake state updating and engine state updating. The judgment threshold corresponding to the preset condition may be: updating the gear information to be P gear, updating the hand brake state to be pull-up state and updating the engine state to be stop state. When any one of the three conditions is at least two, the method can output a confirmation installation instruction to the OTA service platform so that the OTA service platform can perform OTA upgrade on the vehicle.
Specifically, the first limitation data may further include other information, such as current vehicle electric quantity and current vehicle speed information. The method also can restrict the current electric quantity of the whole vehicle and the current vehicle speed information by preset conditions. When any one of the current vehicle electric quantity and the current vehicle speed information does not reach the constraint range of the preset condition, the method can output an update failure report to stop OTA (over the air) upgrading of the vehicle.
Referring to fig. 12, in some embodiments, the OTA upgrade method further includes:
and S28, periodically outputting an installation state query instruction to the OTA service platform according to the preset query interval, and acquiring the current installation progress.
And S29, when the number of times of the current state progress obtained continuously is that the installation is abnormal exceeds a preset error threshold, outputting a forced installation instruction to the OTA service platform, so that the OTA service platform directly controls the vehicle controller to perform OTA upgrading according to the forced installation instruction.
The OTA upgrading method provided by the application can also monitor the installation progress of the OTA upgrading of the vehicle after the vehicle starts to be upgraded, and can predict whether the forced upgrading is needed or not according to the installation progress. Specifically, the method can periodically output the installation state query instruction to the OTA service platform according to the preset query interval, so that the OTA service platform can periodically output the current installation progress to the OTA interaction platform. The OTA interactive platform can continuously acquire each current installation progress and inquire the installation condition corresponding to the current installation progress. Wherein the installation condition comprises normal installation and abnormal installation. When the OTA interaction platform controlled by the method continuously acquires that the times of abnormal installation exceed the preset error threshold, the method can control the OTA interaction platform to output a forced installation instruction to the OTA service platform so that the OTA service platform directly controls the vehicle controller to carry out OTA upgrade. Therefore, OTA upgrading of the vehicle can be realized in time, and OTA upgrading failure of the vehicle caused by some read-write problems or software rewriting abnormity is avoided.
Specifically, referring to fig. 13, after entering the installation process, the method may query the installation progress of the OTA service platform in real time through the OTA interaction platform. The OTA service platform can take an initial default value as a starting point, forms a quantized installation progress according to an actual installation progress, and feeds back the quantized installation progress to the OTA interactive platform. And when the OTA service platform acquires that the current installation is not completed, further inquiring the progress again within the preset 5s until five times of inquiry or successful installation is inquired. After the query times are accumulated for five times, the method can control the OTA interaction platform to initiate a forced security process so that the OTA service platform can carry out forced OTA upgrade. Or the installation success information is inquired before the inquiry is carried out for five times, and the current count value is cleared to facilitate subsequent recounting.
Referring to fig. 14, the present application further provides an OTA upgrade system 10 for a vehicle, comprising:
the OTA service platform 11 is used for realizing any OTA upgrading method applied to the OTA service platform 11 and used for a vehicle.
The OTA interactive platform 12 is used for realizing any OTA upgrading method applied to the OTA interactive platform 12 and used for vehicles.
The cloud server 13, the cloud server 13 is used for outputting the OTA upgrade software to the OTA interaction platform 12.
And the vehicle controller 14, the vehicle controller 14 is in communication connection with the OTA service platform 11, and the vehicle controller 14 is used for outputting the software version state and the vehicle environment signal to the OTA service platform 11. And the OTA upgrading module is also used for performing OTA upgrading according to the OTA upgrading software.
The OTA upgrading system 10 provided by the application can transmit OTA upgrading software to the OTA interaction platform 12 through the cloud server 13, and enable the OTA interaction platform 12 to execute any one of the above OTA upgrading methods applied to a vehicle of the OTA service platform 11, so as to control the OTA interaction platform 12 to control the vehicle controller 14 to perform OTA upgrading through the OTA upgrading software according to any one of the above OTA upgrading methods applied to a vehicle of the OTA interaction platform 12. According to the software version state and the vehicle environment signal acquired by the vehicle controller 14, the OTA upgrading method under the safe driving state can be effectively judged whether the abnormal state of the vehicle controller 14 can affect the OTA upgrading method under the safe driving state or not, and therefore OTA upgrading of the vehicle is achieved on the premise that the driving safety of the vehicle is guaranteed.
Referring to fig. 14, the present application further provides a vehicle 100 comprising:
a memory 110. And a processor 120 communicatively coupled to the memory 110. The memory 110 stores instructions, and the processor 120 executes the instructions stored in the memory, and by executing the instructions, the processor 120 can implement any one of the above-mentioned OTA upgrade method applied to a vehicle of an OTA service platform or any one of the above-mentioned OTA upgrade method applied to a vehicle of an OTA interaction platform.
The vehicle provided by the present application can implement any one of the above OTA upgrading methods applied to a vehicle of an OTA interaction platform or any one of the above OTA upgrading methods applied to a vehicle of an OTA service platform by executing the instructions stored in the memory 110 through the processor 120, so as to achieve the beneficial effects of the above OTA upgrading method applied to a vehicle. The beneficial effects of the OTA upgrading method for a vehicle have been described in detail above, and are not described herein.
The application also provides a computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, and the computer can execute the computer-executable instructions to realize any one of the OTA upgrading method applied to the vehicle of the OTA interactive platform or any one of the OTA upgrading method applied to the vehicle of the OTA service platform.
By executing the computer program stored in the computer-readable storage medium, the application can realize that the processor can realize any one of the above OTA upgrading methods applied to a vehicle of an OTA interaction platform, or realize any one of the above OTA upgrading methods applied to a vehicle of an OTA service platform, thereby achieving the beneficial effects of the above OTA upgrading method applied to a vehicle. The beneficial effects of the OTA upgrading method for a vehicle have been described in detail above, and are not described herein.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or N embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more N executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of implementing the embodiments of the present application.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware that is related to instructions of a program, and the program may be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (14)

1. An OTA upgrading method of a vehicle is applied to an OTA service platform, and is characterized in that the vehicle further comprises an OTA interaction platform, and the method comprises the following steps:
the OTA service platform acquires an instruction according to the software version output by the OTA interaction platform and acquires the software version state of the vehicle controller;
the OTA service platform outputs the software version information to the OTA interaction platform;
the OTA service platform acquires an upgrading recovery instruction output by the OTA interaction platform, acquires a vehicle controller signal required to be judged for OTA upgrading within a preset time according to the upgrading recovery instruction, judges the validity of the signal and marks an abnormal signal;
the OTA service platform outputs the signal abnormality controller information to the OTA interaction platform;
and the OTA service platform executes a recovery installation strategy when the signal is abnormal according to the recovery installation instruction output by the OTA interaction platform, and controls the controller with the signal abnormality to carry out OTA recovery installation.
2. The OTA upgrading method for vehicles according to claim 1, wherein the OTA service platform obtains an upgrade recovery command output by the OTA interaction platform, and collects vehicle controller signals within a preset time according to the upgrade recovery command to obtain signal anomaly controller information, including:
continuously acquiring a vehicle controller signal required to be judged by OTA upgrading according to preset acquisition time;
recording that the vehicle controller corresponding to the signal providing the preset condition is not obtained within the preset obtaining time to obtain the signal abnormity controller information;
and outputting the signal abnormality controller information to the OTA interactive platform.
3. The OTA upgrade method for a vehicle according to claim 1, wherein the OTA service platform controls the vehicle controller to perform OTA upgrade according to the installation resuming command output by the OTA interaction platform, comprising:
checking whether the current vehicle environment meets the upgrading condition preset by a recovery strategy or not according to the condition checking instruction output by the OTA interactive platform;
controlling the vehicle controller to perform OTA upgrading under the condition that the current vehicle environment meets a preset condition; or
And under the condition that the current vehicle environment does not meet the preset condition, outputting an installation failure report to the OTA interactive platform.
4. The OTA upgrading method for the vehicle according to claim 3, wherein the controlling the vehicle controller to perform OTA upgrading if the current vehicle environment meets preset conditions comprises:
updating the current vehicle state information according to the condition checking instruction output by the OTA interactive platform;
analyzing the signal information of the vehicle controller to obtain electric quantity information, vehicle speed information, gear information, a hand brake state and an engine state;
and generating a judgment threshold according to the preset condition, wherein the electric quantity condition is met by default, and controlling the vehicle controller to carry out OTA (over the air) upgrading under the condition that at least two conditions are met in the gear information, the handbrake state and the engine state.
5. The OTA upgrade method for a vehicle of claim 3, further comprising:
outputting the current installation progress according to the installation state query instruction output by the OTA interactive platform;
and acquiring a forced installation instruction output by the OTA interactive platform, and directly controlling the vehicle controller to carry out OTA upgrade.
6. An OTA upgrading method of a vehicle is applied to an OTA interactive platform and is characterized by comprising the following steps:
outputting a software version acquisition instruction to the OTA service platform to acquire software version information;
checking the software version information according to prestored local version information to obtain version abnormal controller information;
outputting a condition checking instruction to the OTA service platform according to the version abnormal controller information to obtain vehicle controller signal information;
screening out the controllers with abnormal signals according to the obtained signal information of the vehicle controller;
matching the version abnormal controller information with the signal abnormal controller information;
and outputting a mounting restoring instruction according to the matching result.
7. The OTA upgrade method for vehicle of claim 6, wherein the outputting the software version get command to the OTA service platform to get the software version information comprises:
acquiring the current state of the vehicle;
and comparing the current state of the vehicle according to a preset vehicle state, and outputting the software version acquisition instruction according to a comparison result.
8. The OTA upgrade method for a vehicle of claim 6, wherein the matching the version exception controller information and the signal exception controller information comprises:
analyzing a first controller corresponding to the version abnormal controller information;
a second controller corresponding to the signal abnormality controller information is analyzed;
outputting the matching result under the condition that the first controller and the second controller are the same controller; alternatively, in a case where the first controller and the second controller are different controllers, a matching failure report is output.
9. The OTA upgrade method for a vehicle of claim 6, further comprising:
acquiring first limit data output by the OTA service platform;
under the condition that the first limiting data meet preset conditions, outputting an installation confirmation instruction to the OTA service platform;
and obtaining an installation failure report output by the OTA service platform according to the execution result of the OTA service platform on the installation confirmation instruction.
10. The OTA upgrading method for vehicle according to claim 9, wherein the outputting a confirmation installation instruction to the OTA service platform in case that the first limitation data satisfies a preset condition comprises:
analyzing the first limiting data to obtain updated electric quantity information, vehicle speed information, gear information, a hand brake state and an engine state;
and generating a judgment threshold according to the preset condition, wherein the default electric quantity condition is met, and outputting a confirmation installation instruction to the OTA service platform under the condition that at least two conditions meeting the judgment threshold exist in the updated gear information, the updated handbrake state and the updated engine state.
11. The OTA upgrade method for a vehicle of claim 6, further comprising:
periodically outputting an installation state query instruction to an OTA service platform according to a preset query interval, and acquiring the current installation progress;
and when the number of times of the continuously acquired current state progress of abnormal installation exceeds a preset error threshold, outputting a forced installation instruction to the OTA service platform so that the OTA service platform directly controls the vehicle controller to perform OTA upgrade according to the forced installation instruction.
12. An OTA upgrade system for a vehicle, comprising:
an OTA service platform for implementing an OTA upgrade method for a vehicle as claimed in any one of claims 1 to 5;
an OTA interaction platform for implementing an OTA upgrade method for a vehicle as claimed in any one of claims 6 to 11;
the cloud server is used for outputting OTA upgrading software to the OTA interaction platform;
the vehicle controller is in communication connection with the OTA service platform and is used for outputting a software version state and a state signal to the OTA service platform; and the OTA upgrading software is also used for performing OTA upgrading according to the OTA upgrading software.
13. A vehicle, characterized by comprising:
a memory; and a processor communicatively coupled to the memory; wherein the memory stores instructions executable by the processor to perform the instructions stored in the memory, the processor being capable of implementing a vehicle OTA upgrade method as claimed in any one of claims 1 to 5 or implementing a vehicle OTA upgrade method as claimed in any one of claims 6 to 11 by executing the instructions.
14. A computer readable storage medium having stored thereon computer executable instructions executable by a computer to implement a vehicle OTA upgrade method as claimed in any one of claims 1 to 5 or a vehicle OTA upgrade method as claimed in any one of claims 6 to 11.
CN202211511146.3A 2022-11-29 2022-11-29 OTA (over the air) upgrading method and system for vehicle, vehicle and storage medium Pending CN115827004A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211511146.3A CN115827004A (en) 2022-11-29 2022-11-29 OTA (over the air) upgrading method and system for vehicle, vehicle and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211511146.3A CN115827004A (en) 2022-11-29 2022-11-29 OTA (over the air) upgrading method and system for vehicle, vehicle and storage medium

Publications (1)

Publication Number Publication Date
CN115827004A true CN115827004A (en) 2023-03-21

Family

ID=85532604

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211511146.3A Pending CN115827004A (en) 2022-11-29 2022-11-29 OTA (over the air) upgrading method and system for vehicle, vehicle and storage medium

Country Status (1)

Country Link
CN (1) CN115827004A (en)

Similar Documents

Publication Publication Date Title
US6782345B1 (en) Systems and methods for diagnosing electronic systems
US10723361B2 (en) Monitoring apparatus, communication system, vehicle, monitoring method, and non-transitory storage medium
US8676432B2 (en) Fault prediction framework using temporal data mining
US7345580B2 (en) Alarm management system
US20100042287A1 (en) Proactive vehicle system management and maintenance by using diagnostic and prognostic information
US20140208306A1 (en) Control system having automatic component software management
US20050066019A1 (en) Computer application and methods for autonomic upgrade maintenance of computer hardware, operating systems and application software
US20180321929A1 (en) Method and system for software installation in a vehicle
CN111634160B (en) Method for establishing communication connection with tire pressure monitoring system, device and electronic equipment thereof
JP2007326425A (en) Communication controlling unit, trouble analyzing center, and trouble analyzing method
KR20150064474A (en) Software upgrade method for vehicle controller
CN111989678A (en) Information processing apparatus, information processing method, and program
CN113597545A (en) Portable wireless connection diagnostic system for vehicle
CN110203157B (en) Auxiliary diagnosis device for abnormal battery power failure, server and system comprising auxiliary diagnosis device
CN108763005B (en) Memory ECC fault error reporting method and system
JP2001506021A (en) Method of inspecting components of a vehicle system
JP2007248070A (en) Vehicle running test device
CN115827004A (en) OTA (over the air) upgrading method and system for vehicle, vehicle and storage medium
KR102255599B1 (en) System and method for providing vehicle diagnosis service
CN112054925A (en) Method and device for deploying background service
CN116257270A (en) Vehicle, upgrading method and device of vehicle
CN113126589A (en) Vehicle-mounted self-diagnosis method, vehicle-mounted intelligent system and self-diagnosis system
CN111204347A (en) Control method and device of vehicle configuration information and vehicle
US20160011932A1 (en) Method for Monitoring Software in a Road Vehicle
CN113919455A (en) Vehicle repair detection method and device, vehicle and storage medium

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