CN111722860A - OTA (over the air) upgrading method and device based on finite state machine - Google Patents
OTA (over the air) upgrading method and device based on finite state machine Download PDFInfo
- Publication number
- CN111722860A CN111722860A CN202010552191.8A CN202010552191A CN111722860A CN 111722860 A CN111722860 A CN 111722860A CN 202010552191 A CN202010552191 A CN 202010552191A CN 111722860 A CN111722860 A CN 111722860A
- Authority
- CN
- China
- Prior art keywords
- upgrading
- upgrade
- state
- node
- download
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 87
- 230000008569 process Effects 0.000 claims abstract description 39
- 238000004891 communication Methods 0.000 claims abstract description 15
- 238000004590 computer program Methods 0.000 claims description 6
- 230000004044 response Effects 0.000 claims description 4
- 230000003993 interaction Effects 0.000 description 7
- 230000007246 mechanism Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 238000011161 development Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 102100034112 Alkyldihydroxyacetonephosphate synthase, peroxisomal Human genes 0.000 description 1
- 101000799143 Homo sapiens Alkyldihydroxyacetonephosphate synthase, peroxisomal Proteins 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000000848 angular dependent Auger electron spectroscopy Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005111 flow chemistry technique Methods 0.000 description 1
- 230000030279 gene silencing Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000011282 treatment Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides an OTA upgrading method and device based on a finite state machine, which are applied to an upgrading node of a vehicle end finite state machine with an OTA upgrading agent process, wherein the method comprises the steps of establishing communication connection with a cloud server and sending query information to the cloud server if the upgrading node is in an idle state and receives the query information sent by an upgrading end, so that the cloud server determines the upgrading information according to the query information; responding to a download driving instruction sent by the upgrading end, finishing the download operation of the upgrading packet according to the upgrading information, transferring the state of the upgrading node to a download finishing state, and feeding back the download finishing result to the upgrading end so that the upgrading end upgrades the ECU on the basis of the upgrading packet; and responding to an upgrade completion driving instruction sent by an upgrade end, if the ECUs corresponding to the upgrade package are upgraded, converting the state of the upgrade node into an idle state, and adapting to different upgrade requirements through the deployment of an OTA upgrade agent process of a finite state machine.
Description
Technical Field
The invention relates to the technical field of OTA upgrading, in particular to a finite state machine-based OTA upgrading method and device.
Background
With the development of the automobile industry and the increasing of automobile software bugs, OTA (Over-the-air technology Over-the-air download, also called online upgrade) is being sought by many host factories. And the cloud server pushes the updated version to the vehicle end according to the version information and the vehicle information reported by the vehicle end, and the vehicle end downloads the upgrade package and carries out version upgrade.
In the development process of OTA upgrading of the whole vehicle, for OTA suppliers, because the number of Electronic Control Units (ECUs) to be refreshed and the refreshing priority of different host factories are different, the development of the OTA vehicle end is difficult to adapt to the requirements of all the host factories. In addition, the current OTA (on-board technology over the air) upgrading mode and the off-line refreshing mode cannot coexist, and diversified upgrading scenes cannot be met.
Disclosure of Invention
In view of this, the present invention provides a finite state machine-based OTA upgrade method and apparatus, which can adapt to different upgrade requirements by deploying an OTA upgrade agent process of a finite state machine.
In a first aspect, an embodiment provides an OTA upgrading method based on a finite state machine, which is applied to an upgrading node of a vehicle-end finite state machine, where the upgrading node is deployed with an OTA upgrading agent process, and the method includes:
if the upgrading node is in an idle state and receives query information sent by an upgrading end, establishing communication connection with a cloud server, and sending the query information to the cloud server so that the cloud server can determine upgrading information according to the query information, wherein the query information comprises vehicle information, ECU version information, ECU types and ECU number, and the cloud server is configured with upgrading information corresponding to each ECU in advance;
responding to a download driving instruction sent by the upgrading end, finishing the download operation of an upgrading package according to the upgrading information, transferring the state of the upgrading node to a download finishing state, and feeding back a download finishing result to the upgrading end so that the upgrading end upgrades the ECU on the basis of the upgrading package;
and responding to an upgrade completion driving instruction sent by the upgrade end, and if the ECUs corresponding to the upgrade package are upgraded completely, switching the state of the upgrade node to an idle state, wherein the upgrade completion driving instruction is sent by the upgrade end under the condition that the upgrade operation of the ECUs is completed.
In an alternative embodiment, the method further comprises:
the method comprises the steps of connecting with an upper computer to obtain an offline upgrade package in the upper computer;
and sending the off-line upgrading package to the upgrading end so that the upgrading end is upgraded on the basis of the off-line upgrading package.
In an optional embodiment, the upgrade package corresponds to one or more ECU upgrade tasks, and if the upgrade package corresponds to one ECU upgrade task, the upgrade information includes a task ID generated by the cloud server according to the query information.
In an optional embodiment, before the step of responding to the download driving instruction sent by the upgrade end, the method further includes:
and receiving the upgrading information sent by the cloud server, feeding the upgrading information back to an upgrading end, and switching the state of the upgrading node to a state ready for upgrading.
In an optional embodiment, the step of responding to a download driving instruction sent by the upgrade end, completing a download operation of an upgrade package according to the upgrade information, transferring the state of the upgrade node to a download complete state, and feeding back a download complete result to the upgrade end includes:
receiving a download starting driving instruction sent by the upgrade end, downloading an upgrade package according to a download address in the upgrade information, and switching the state of the upgrade node to a download state;
receiving a download progress acquisition instruction sent by the upgrading end, and feeding back the download progress of the upgrading package to the upgrading end;
and if the upgrade package is completely downloaded and the downloaded upgrade package is verified, feeding back a downloading finish result to the upgrade end, and switching the state of the upgrade node to a downloading finish state.
In an optional embodiment, the step of responding to an upgrade completion driving instruction sent by the upgrade end, and if all the ECUs corresponding to the upgrade package are upgraded, turning the state of the upgrade node to an idle state includes:
receiving an upgrade driving instruction sent by the upgrade end, uploading upgrade starting information to the cloud server, and transferring the state of the upgrade node to upgrade;
when the upgrading end completes the upgrading operation of the ECU based on the upgrading packet, receiving an upgrading completion driving instruction sent by the upgrading end, uploading upgrading completion information to the cloud server, and switching the state of the upgrading node to an upgrading completion state;
and if the ECU corresponding to the upgrade package finishes upgrading, the state of the upgrade node is switched to an idle state.
In an alternative embodiment, the method further comprises:
and responding to a drive termination instruction sent by the upgrading end, and transferring the state of the upgrading node to an upgrading completion state.
In a second aspect, an embodiment provides an OTA upgrading apparatus based on a finite state machine, which is applied to an upgrade node of a vehicle-end finite state machine, where an OTA upgrading agent process is deployed on the upgrade node, and the apparatus includes:
the query module is in an idle state and receives query information sent by an upgrading end, and is in communication connection with a cloud server and used for sending the query information to the cloud server so that the cloud server can determine upgrading information according to the query information, wherein the query information comprises vehicle information, ECU version information, ECU types and ECU number, and the cloud server is configured with upgrading information corresponding to each ECU in advance;
the download module is used for responding to a download driving instruction sent by the upgrade end, finishing the download operation of an upgrade package according to the upgrade information, transferring the state of the upgrade node to a download finishing state, and feeding back a download finishing result to the upgrade end so that the upgrade end upgrades the ECU on the basis of the upgrade package;
and the upgrading module is used for responding to an upgrading completion driving instruction sent by the upgrading end, and if the ECU corresponding to the upgrading packet is upgraded completely, the state of the upgrading node is switched to an idle state, wherein the upgrading completion driving instruction is sent by the upgrading end under the condition that the upgrading operation of the ECU is completed.
In a third aspect, an embodiment provides an electronic device, including a memory and a processor, where the memory stores a computer program operable on the processor, and the processor implements the steps of the method described in any one of the foregoing embodiments when executing the computer program.
In a fourth aspect, embodiments provide a machine-readable storage medium having stored thereon machine-executable instructions that, when invoked and executed by a processor, cause the processor to carry out the steps of the method of any preceding embodiment.
According to the OTA upgrading method and device based on the finite state machine, the finite state machine is applied to the vehicle end, the OTA upgrading agent process is deployed at the upgrading node of the finite state machine, interaction is respectively carried out between the OTA upgrading agent process and the vehicle end upgrading end and the cloud server, and corresponding operation is automatically completed through state conversion of the upgrading node. If the current node is idle, the upgrade node establishes communication with the cloud server according to query information of the upgrade end, and the cloud server determines corresponding upgrade information based on the query information so as to meet upgrade requirements of various different host factories; the upgrade node completes the download operation of the upgrade package based on the upgrade information according to the download driving instruction of the upgrade end, the node state is set as download completion, and the download completion result is fed back to the upgrade end, so that the upgrade end performs ECU upgrade according to the upgrade package; when the ECU in the upgrading package is upgraded, the upgrading completion driving instruction sent by the upgrading end is received, the node state is set to be upgraded, and after all the ECUs in the upgrading package are upgraded, the upgrading node state is set to be idle, so that different upgrading requirements can be met.
Additional features and advantages of the disclosure will be set forth in the description which follows, or in part may be learned by the practice of the above-described techniques of the disclosure, or may be learned by practice of the disclosure.
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of an OTA upgrading method based on a finite state machine according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an upgrade state transition based on a finite state machine according to an embodiment of the present invention;
fig. 3 is a schematic diagram of multi-end interaction of an OTA upgrading adaptive method based on a finite state machine according to an embodiment of the present invention;
fig. 4 is a functional block diagram of an OTA upgrading apparatus based on a finite state machine according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a hardware architecture of an electronic device according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
At present, for different host plant requirements, each OTA provider proposes a scheme for upgrading the whole vehicle, the processing flows of the scheme are the same in large diameter, and processing is performed from three aspects of cloud end, pipe end and vehicle end, and the general flow is as follows:
1) the OTA provider uploads the upgrade package to a cloud OTA server;
2) the vehicle end and the OTA server establish safe connection through the tube end;
3) the vehicle end reports version information and vehicle information;
4) the server pushes the updated version information to the vehicle end;
5) man-machine interaction (interaction between a user and a vehicle end) is carried out, and the upgrade package is confirmed to be downloaded;
6) the vehicle end establishes a safe connection with the server and downloads the upgrade package;
7) confirming upgrading through man-machine interaction;
8) the vehicle end starts to be upgraded;
9) and finishing the upgrading of the vehicle end.
Since each host factory has different upgrading requirements for different types of vehicles, different types and numbers of ECUs, the supplier needs to execute the upgrading process once for the upgrading requirement of each host factory, which is cumbersome.
In addition, some host plants may have developed offline refresh programs, and if the ECU is currently upgraded in an OTA manner, the existing offline refresh upgrade programs cannot be adapted to the existing offline refresh upgrade programs. If the current vehicle end adopts the OTA upgrading mode, the developed offline refreshing program cannot be applied to upgrading, or if the developed offline refreshing program is applied to upgrading, the ECU cannot be upgraded in the OTA mode. Namely, the OTA upgrading mode redeveloped by the vehicle end and the upgrading mode refreshed by the original off-line are independent from each other, cannot be applied together, and cannot be adapted to the diversified upgrading application scene of the current vehicle end.
Based on this, the OTA upgrading method and apparatus based on the finite state machine provided by the embodiment of the present invention can adapt to different upgrading requirements by deploying the OTA upgrading agent process of the finite state machine.
To facilitate understanding of the embodiment, first, a detailed description is given to an OTA upgrading method based on a finite state machine disclosed in the embodiment of the present invention, where an agent program at an OTA vehicle end may be deployed on an upgrading host node of the finite state machine, and may be adapted to various languages and various environments for operation.
Fig. 1 is a flowchart of an OTA upgrading method based on a finite state machine according to an embodiment of the present invention.
As shown in fig. 1, the OTA upgrading method based on finite state machines is applied to an upgrading node of a vehicle-end finite state machine, wherein an (OTA Agent) upgrading Agent process is deployed in the upgrading node to support the service flow processing of the vehicle end and the OTA server, and the method comprises the following steps:
step S102, if the upgrading node is in an idle state and receives query information sent by an upgrading end, communication connection is established with a cloud server, the query information is sent to the cloud server, so that the cloud server determines upgrading information according to the query information, the query information comprises vehicle information, ECU version information, ECU types and ECU number, and the cloud server is configured with upgrading information corresponding to each ECU in advance.
And step S104, responding to a download driving instruction sent by the upgrading end, finishing the download operation of the upgrading packet according to the upgrading information, transferring the state of the upgrading node to a download finishing state, and feeding back the download finishing result to the upgrading end so that the upgrading end upgrades the ECU on the basis of the upgrading packet.
And step S106, responding to an upgrade completion driving instruction sent by the upgrade end, and if the ECUs corresponding to the upgrade package are upgraded completely, switching the state of the upgrade node to an idle state, wherein the upgrade completion driving instruction is sent by the upgrade end under the condition that the upgrade operation of the ECUs is completed.
In a preferred embodiment of practical application, a finite state machine is applied to a vehicle end, an OTA upgrade agent process is deployed at an upgrade node of the finite state machine, the OTA upgrade agent process interacts with an upgrade end and a cloud server of the vehicle end respectively, and corresponding operation is automatically completed through state conversion of the upgrade node. If the current node is idle, the upgrade node establishes communication with the cloud server according to query information of the upgrade end, and the cloud server determines corresponding upgrade information based on the query information so as to meet upgrade requirements of various different host factories; the upgrade node completes the download operation of the upgrade package based on the upgrade information according to the download driving instruction of the upgrade end, the node state is set as download completion, and the download completion result is fed back to the upgrade end, so that the upgrade end performs ECU upgrade according to the upgrade package; when the ECU in the upgrading package is upgraded, the upgrading completion driving instruction sent by the upgrading end is received, the node state is set to be upgraded, and after all the ECUs in the upgrading package are upgraded, the upgrading node state is set to be idle, so that different upgrading requirements can be met.
The agent process of the OTA vehicle end adopts a self-adaptive mode of a finite state machine, and various active states in the OTA upgrading process are fully displayed. But is not limited to, several of the states described in the present invention and can be extended to other states without departing from the spirit of the present invention.
In an alternative implementation, the method in the embodiment of the present invention further includes the following steps:
step 1.1), connecting with an upper computer to obtain an offline upgrade package in the upper computer;
here, the upper computer may include a diagnostic apparatus, an intelligent device or a PC terminal, and the OTA upgrade node may be connected to the upper computer through communication methods such as wireless communication, a USB interface, and bluetooth, and an offline upgrade package may be obtained.
And step 1.2), sending the offline upgrade package to an upgrade end so that the upgrade end can upgrade based on the offline upgrade package.
According to the embodiment of the invention, the OTA agent process is introduced, so that the upgrading end of the vehicle end can be decoupled from the OTA Server (cloud Server), and the OTA agent process completes the safe interaction with the cloud Server, so that the OTA upgrading is safer and more reliable, and meanwhile, the OTA agent can be adapted to the original offline refreshing program of a host factory, the cost for redevelopment of the upgrading program is saved, or the secondary development cost for offline refreshing is saved. The vehicle end applying the embodiment of the invention can be connected with the cloud server through the upgrading node of the OTA agent process to realize a remote OTA upgrading mode, and can upgrade the ECU according to the original offline refreshing program through the connection of the upgrading node of the OTA agent process and the upper computer to adapt to diversified vehicle end upgrading scenes.
In an optional embodiment, the upgrade package corresponds to one or more ECU upgrade tasks, and if the upgrade package corresponds to one ECU upgrade task, the upgrade information includes a task ID generated by the cloud server according to the query information.
Here, for the case that the upgrade package corresponds to one or more ECU upgrade tasks, two upgrade mechanisms are respectively corresponding: the mechanism of the upgrading package corresponding to a plurality of ECU upgrading tasks is all in one, and the mechanism of the upgrading package corresponding to one ECU upgrading task is one by one. Here, the cloud server may determine current upgrade information and an upgrade mechanism according to the vehicle model of the host manufacturer corresponding to the upgrade or the number and the type of the upgrade ECUs in the query information. The cloud server can be configured with the upgrading information corresponding to each ECU and the upgrading sequence of each ECU in advance or select an upgrading mechanism when upgrading a plurality of ECUs with stronger/weaker dependence.
It should be noted that the types of the ECU may include an electronic control system, an intelligent vehicle-mounted system, and an information entertainment system, wherein the electronic control system may include a vehicle body control system, a battery management system, a power control system, a chassis control system, a safety control system, and a vehicle-mounted bluetooth system; the intelligent vehicle-mounted class can comprise an intelligent cabin, a display screen design, an instrument, an automatic driving control unit ((ADAS Domain Controller UnitADCU), a vehicle networking TBOX (telematics BOX)), and the information entertainment system can comprise vehicle-mounted entertainment services, GPS navigation and mobile communication services.
The whole vehicle architecture of each vehicle factory is different, so the upgrading sequence of each ECU is not fixed, and the upgrading sequence of each ECU can be set according to the requirements of the host factory.
In order to more clearly explain the embodiment of the present invention, the node status and the event type corresponding to the node are explained separately, as shown in fig. 2. Wherein the node state includes:
idle: the OTA Agent process is in a silent state;
preparing for upgrading: entering a state of being prepared for upgrading after processing an upgrading task issued by an OTA server;
in the downloading: the current upgrade task is downloading an upgrade package;
and (3) finishing downloading: the current upgrading task completes the downloading of the upgrading packet;
in the updating process: the current upgrading task is in the refreshing process;
and (3) finishing upgrading: the current upgrade task is complete.
Here, all message events (driving commands) are driven by the upgrade end of the vehicle end, that is, there is an upgrade end to send to the upgrade node of the OTAAgent process. And finally, the upgrading end completes the final flash upgrading according to the legal upgrading packet downloaded to the local and the decision of the user. The event types may include:
query information RequestTask: requesting for upgrading task query, and customizing and reporting OTA vehicle information, ECU version information and the like according to different requirements of a vehicle end;
start downloading DownloadStart: requesting to start downloading;
cancel download DownloadCancel: canceling/terminal downloading;
percentage of progress Percent: requesting a percentage of downloads to read;
starting upgrading: informing the start of updating;
and (4) canceling upgrading: canceling the updating;
and (3) finishing upgrading: and the update is completed.
On the basis of the node state and the event type, the upgrade node state transition situation of the vehicle end based on a finite state machine is described with reference to fig. 2. In a finite state machine, the OTA Agent processes various node states of the upgrading node, and completes upgrading interaction with the OTA Server cloud Server under the condition of receiving corresponding event drive of a correct type. The method mainly comprises the steps of establishing a secure connection with an OTA Server cloud Server, completing secure communication, completing secure downloading, supporting breakpoint continuous transmission, completing downloading results, reporting upgrading results and the like. The upgrading end of the vehicle end is decoupled with the OTA Server cloud Server, and the vehicle end upgrading system can be adapted no matter how different the number of the vehicle end upgrading ECUs and the upgrading sequence of the ECUs are. Meanwhile, when the OTA Agent node state is driven by an error event, the OTA Agent prompts an error to the upgrading end, and the upgrading end can carry out self-adjustment according to the upgrading flow.
Here, an upgrade flow of the all in one mode is described first, and the refreshed versions of the ECUs are packaged into an upgrade package by using a certain preset policy and a certain security mechanism, which is referred to as the all in one mode. The upgrading package of the mode can be downloaded once to achieve the purpose of upgrading a plurality of ECUs, and the OTA Agent state machine only needs to be matched with one task driver. It should be noted that if the dependency relationship of each ECU is not strong, in order to save the number of downloads, all in one mode may be adopted for upgrading.
When the initial state of the OTAAgent upgrading node is idle, waiting for an upgrading end to initiate a query message.
In an alternative embodiment, before step S104, the method further comprises:
and 2.1) receiving the upgrading information sent by the cloud server, feeding the upgrading information back to an upgrading end, and switching the state of an upgrading node to a state ready for upgrading.
The upgrading node of the OTA Agent process is driven by the query information requestTask, is connected with the OTAServer cloud Server, reports all ECU information and necessary vehicle information in the query message, returns the upgrading information to the upgrading end after receiving the upgrading information correctly responded by the cloud Server OTA Server, and at the moment, the upgrading node of the OTAAgent process automatically shifts to a state of 'preparation for upgrading'.
In an alternative embodiment, step S104 includes:
step 3.1), receiving a download starting driving instruction sent by an upgrading end, downloading an upgrading packet according to a download address in upgrading information, and switching the state of an upgrading node to a downloading state;
here, the upgrade node of the OTA Agent process is driven by the start download instruction, and starts downloading the upgrade package according to the download address in the upgrade information responded by the server, and the state of the upgrade node is changed to "downloading";
step 3.2), receiving a download progress acquisition instruction sent by the upgrading end, and feeding back the download progress of the upgrading package to the upgrading end;
and 3.3) if the upgrade package is completely downloaded and the downloaded upgrade package is verified, feeding back the downloading completion result to the upgrade end, and switching the state of the upgrade node to the downloading completion state.
Here, in the downloading process of the OTA Agent upgrade package, the upgrade end sends a percentage of progress percentage to obtain the downloading progress, and the OTA Agent processes the upgrade node to feed back the downloading progress. When the upgrading package of the OTA Agent upgrading node is downloaded, local upgrading package verification is carried out; when the upgrade end sends the progress percentage again, the OTA Agent upgrade node feeds back the download completion result to the upgrade end, and the state is switched to 'download completion'.
In an alternative embodiment, step S106 can be further implemented by the following steps, including:
step 4.1), receiving an upgrade driving instruction sent by an upgrade end, uploading upgrade starting information to a cloud server, and transferring the state of an upgrade node to upgrade;
here, the OTA Agent upgrade node is driven by the upgrade start instruction, and securely transmits the message of 'vehicle end start upgrade' to the cloud Server OTA Server through the tube end, and the state is changed into 'update'.
Step 4.2), when the upgrading end completes the upgrading operation of the ECU based on the upgrading packet, receiving an upgrading completion driving instruction sent by the upgrading end, uploading upgrading completion information to the cloud server, and switching the state of the upgrading node to an upgrading completion state;
the OTA Agent upgrading node is driven by an upgrading ending UpdateEnd instruction, a message of 'vehicle end upgrading' is safely transmitted through a pipe end and reported to the cloud end Server OTA Server, and the state of the upgrading node is changed into 'upgrading is finished';
and 4.3) if the upgrading of each ECU corresponding to the upgrading packet is completed, the state of the upgrading node is switched to an idle state.
If no other upgrade task exists (namely, all ECUs in the upgrade package are upgraded), the state of the upgrade node is recovered to be idle, the OTA Agent upgrade node is silent, and the next upgrade task is waited.
As an alternative embodiment, for the ECUs that need to be upgraded and have strong dependency on each other, which may cause interference, the upgrade may be performed in a one by one mode. The upgrading process of each ECU is divided into different upgrading tasks in the cloud Server OTA Server. And each ECU is upgraded successively, the version is dependent, and in order to avoid the situation, the oneby mode is adopted for upgrading. Each ECU of the mode corresponds to different upgrading packages respectively, except the idle state, other states of the state machine of the OTA Agent at the vehicle end are distinguished by task IDs, multiple task driving is adapted, and the specific processing flow is as follows:
step 5.1), the OTA Agent upgrades the node initial state for "being idle", wait for the upgrading end to initiate the inquiry information;
and 5.2) the OTA Agent upgrading node is driven by the query information, establishes connection with the cloud Server OTA Server, and reports the information of the ECU to be upgraded, the relevant ECU and the necessary vehicle information in the query information message. After receiving the upgrading information correctly responded by the cloud end Server OTA Server, feeding the upgrading information back to an upgrading end, and marking the state of each task as a 'preparation for upgrading' state by an OTA Agent upgrading node according to a task ID;
and 5.3), the upgrading end sends a download start starting instruction according to the task ID to drive the OTA Agent upgrading node. The OTA Agent upgrading node searches an upgrading task downloading address issued from the server according to the task ID, the OTAAgent upgrading node starts to download an upgrading packet, and the state of the corresponding task ID is switched to be downloaded;
and 5.4) in the downloading process of the OTA Agent upgrade package, the upgrade end sends a progress percentage percent instruction according to the task ID to acquire the upgrade progress, and the OTA Agent upgrade node feeds back the download progress. After the upgrade package of the OTA Agent upgrade node is downloaded, finishing the verification of the local upgrade package, when the upgrade end sends the progress percentage again, the OTA Agent upgrade node feeds back the download finish result to the upgrade end, and the upgrade node state is changed into 'download finish';
step 5.5), the OTA Agent upgrade node is driven by the upgrade start instruction, the message of 'vehicle end upgrade start' is safely transmitted by the tube end and reported to the cloud end Server OTA Server, and the state of the upgrade node is changed into 'upgrade';
step 5.6), the OTA Agent upgrade node is driven by an upgrade end UpdateEnd instruction, a message of 'vehicle end upgrade is completed' is safely transmitted through a pipe end and reported to a cloud end Server OTA Server, and the state of the upgrade node is changed into 'upgrade is completed';
and 5.7), judging whether other upgrading tasks exist at present by the OTA Agent upgrading node, if so, turning to the step 5.3), if no other upgrading tasks exist, restoring the state to be idle, silencing the OTA Agent, and waiting for the next updating task.
The task ID is generated by the cloud server based on the query information, and the cloud server records the task ID as a unique identifier corresponding to the upgraded ECU. As an alternative embodiment, the upgrade node sends a request for obtaining the recorded content of the task ID1 to the cloud server, and the cloud server determines the target content based on the task ID 1.
In an optional implementation, the method in the embodiment of the present invention further includes:
and 6.1) responding to a drive termination instruction sent by the upgrading end, and transferring the state of the upgrading node to an upgrading completion state.
For example, an upgrading node of the OTA Agent state machine is in a state of 'preparing for upgrading', an upgrading end interacts with a user, or the downloading is cancelled and terminated due to other reasons, a downloading cancelling download cancel instruction is notified to the OTA Agent upgrading node, the OTAAgent upgrading node is driven, the upgrading node state enters 'upgrading completion', no other upgrading tasks are judged, and the state is changed to 'idle';
for another example, the upgrade node of the OTA Agent state machine is in a downloading state, the upgrade end interacts with the user, or the downloading is interrupted due to other reasons, the OTA Agent upgrade node is notified of downloading cancellation, the OTA Agent upgrade node is driven, the upgrade node state enters an upgrade completion state, no other upgrade task is judged, and the upgrade node state is changed to an idle state;
for another example, the upgrade node of the OTA Agent state machine is in a "download complete" state, the upgrade end interacts with the user, or cancels the upgrade due to other reasons, notifies the OTA Agent of canceling the download UpdateCancel, the OTA Agent is driven, the state enters "upgrade complete", it is determined that there are no other upgrade tasks, and the upgrade node state is changed to "idle".
Aiming at the difference of the OTA at the vehicle end, the embodiment of the invention is based on a finite state machine and carries out different vehicle end upgrading treatments, thereby realizing a self-adaptive OTA vehicle end upgrading mode and meeting the OTA whole vehicle upgrading requirements of different host factories. Meanwhile, the embodiment of the invention decouples the processing flow of the upgrading end of the vehicle end and the OTA cloud server, and can reuse the originally developed offline refreshing program of the host factory to a great extent on the basis of adopting an OTA upgrading mode.
As shown in fig. 3, an embodiment of the present invention further provides an OTA upgrade self-adapting method for a finite state machine, which is applied to a cloud side, a vehicle side, and a user side, where the cloud side includes a cloud Server OTA Server, the vehicle side includes an OTA Agent, an upgrade node deploying an OTA Agent process and an Update app upgrade end in the finite state machine, and the user side may include an intelligent terminal, or a user may directly interact with the upgrade end in the vehicle side, and specifically includes the following steps:
step S201, the cloud server prepares an upgrade package;
step S202, the upgrade node is powered on and started, and waits for a query message;
step S203, the upgrading end sends a query message to the upgrading node, queries the upgrading version and waits for a query result;
step S204, the upgrade node establishes connection with the cloud server, and an upgrade task is inquired;
step S205, the cloud server returns the upgrade information to the upgrade node;
step S206, the upgrading node returns upgrading information to the upgrading end;
step S207, the upgrading end initiates an inquiry to the intelligent terminal of the user side to judge whether to download;
step S2071, if the user side sends the instruction of canceling the download to the upgrading end;
step S20711, the upgrade end sends a download cancellation command to the upgrade node;
step S20712, the upgrade node reports a download cancellation instruction to the cloud server;
step S20713, the cloud server displays a download cancellation instruction via the web;
step S208, if the user side sends a command for starting downloading to the upgrading end;
step S209, the upgrading end sends a download starting instruction to the upgrading node;
step S210, the upgrade node starts downloading based on the instruction;
step S211, the upgrading node reports a download starting instruction to the cloud server;
step S212, the cloud server displays a download starting instruction through a web;
step S213, the upgrade node returns the download state to the upgrade end;
step S214, the upgrading end obtains the downloading progress;
step S215, the upgrade node returns a download progress to the upgrade end;
step S216, the upgrading end displays the downloading progress to the user side;
step S2161, if the user side sends an instruction for canceling the downloading to the upgrading end;
step S2162, the upgrading end sends a download canceling instruction to the upgrading node;
step S2163, the upgrade node reports a download cancellation instruction to the cloud server;
step S2164, the cloud server displays a download canceling instruction through the web;
step S217, if the downloading is completed, the upgrading node informs the upgrading end of the completion of the downloading;
step S218, if the downloading is completed, the upgrading node reports the completion of the downloading to the cloud server;
step S219, the cloud server displays a download completion indication through the web;
step S220, the upgrading end processes downloading operation;
step S221, the upgrading end sends an inquiry to the user side to judge whether to upgrade;
step S2211, if the user side sends a cancel upgrade to the upgrade end;
step S2212, the upgrading end sends an upgrading canceling instruction to the upgrading node;
step S2213, the upgrade node reports an upgrade cancellation instruction to the cloud server;
step S2214, the cloud server displays an upgrade cancellation instruction through the web;
step S222, if the user side sends the upgrade to the upgrade end;
step S223, the upgrade end processes the upgrade;
step S224, the upgrading end sends an upgrading starting instruction to the upgrading node;
step S225, the upgrading node reports an upgrading starting instruction to the cloud server;
step S226, the cloud server displays an upgrade starting instruction through the web;
step S227, the upgrading end displays the upgrading progress to the user side;
step S228, the upgrading end sends an upgrading end instruction to the upgrading node;
step S229, the upgrade node reports the upgrade end result to the cloud server;
step S230, the cloud server displays an upgrade ending result through a web;
step S231, the cloud server returns a cloud response result to the upgrade node;
and step S232, the upgrading node returns a cloud response result to the upgrading end.
As shown in fig. 4, an embodiment provides an OTA upgrading apparatus 400 based on a finite state machine, which is applied to an upgrading node of a finite state machine at a vehicle end, where an OTA upgrading agent process is deployed, and the apparatus includes:
the query module 401 is configured to establish a communication connection with a cloud server if the upgrade node is in an idle state and receives query information sent by an upgrade end, and is configured to send the query information to the cloud server so that the cloud server determines upgrade information according to the query information, where the query information includes vehicle information, ECU version information, ECU types and ECU numbers, and the cloud server is configured with upgrade information corresponding to each ECU in advance;
a download module 402, configured to respond to a download driving instruction sent by the upgrade end, complete a download operation of an upgrade package according to the upgrade information, turn the state of the upgrade node to a download complete state, and feed back a download complete result to the upgrade end, so that the upgrade end upgrades the ECU based on the upgrade package;
the upgrade module 403 is configured to respond to an upgrade completion driving instruction sent by the upgrade end, and if all the ECUs corresponding to the upgrade package are upgraded, turn the state of the upgrade node to an idle state, where the upgrade completion driving instruction is sent by the upgrade end when the upgrade operation of the ECU is completed.
In an optional embodiment, the upgrade module is further specifically configured to connect with an upper computer, and acquire an offline upgrade package in the upper computer; and sending the off-line upgrading package to the upgrading end so that the upgrading end is upgraded on the basis of the off-line upgrading package.
In an optional embodiment, the upgrade package corresponds to one or more ECU upgrade tasks, and if the upgrade package corresponds to one ECU upgrade task, the upgrade information includes a task ID generated by the cloud server according to the query information.
In an optional implementation manner, the system further includes a preparation module, configured to receive the upgrade information sent by the cloud server, feed the upgrade information back to an upgrade end, and turn the state of the upgrade node to a state ready for upgrade.
In an optional embodiment, the download module is further specifically configured to receive a download start driving instruction sent by the upgrade end, download the upgrade package according to a download address in the upgrade information, and transfer the state of the upgrade node to a downloading state; receiving a download progress acquisition instruction sent by the upgrading end, and feeding back the download progress of the upgrading package to the upgrading end; and if the upgrade package is completely downloaded and the downloaded upgrade package is verified, feeding back a downloading finish result to the upgrade end, and switching the state of the upgrade node to a downloading finish state.
In an optional implementation manner, the upgrade module is further specifically configured to receive an upgrade driving instruction sent by the upgrade end, upload upgrade start information to the cloud server, and transfer the state of the upgrade node to upgrade; when the upgrading end completes the upgrading operation of the ECU based on the upgrading packet, receiving an upgrading completion driving instruction sent by the upgrading end, uploading upgrading completion information to the cloud server, and switching the state of the upgrading node to an upgrading completion state; and if the ECU corresponding to the upgrade package finishes upgrading, the state of the upgrade node is switched to an idle state.
In an optional implementation manner, the upgrade module is further specifically configured to respond to a termination driving instruction sent by the upgrade end, and turn the state of the upgrade node to an upgrade complete state.
Fig. 5 is a hardware architecture diagram of an electronic device 500 according to an embodiment of the present invention. Referring to fig. 5, the electronic device 500 includes: a machine-readable storage medium 501 and a processor 502, and may further include a non-volatile storage medium 503, a communication interface 504, and a bus 505; the machine-readable storage medium 501, the processor 502, the non-volatile storage medium 503, and the communication interface 504 are in communication with each other via a bus 505. The processor 502 may perform the above embodiments describing the finite state machine based OTA upgrade method by reading and executing machine executable instructions of the finite state machine based OTA upgrade adaptation in the machine readable storage medium 501.
A machine-readable storage medium as referred to herein may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and the like. For example, the machine-readable storage medium may be: a RAM (random Access Memory), a volatile Memory, a non-volatile Memory, a flash Memory, a storage drive (e.g., a hard drive), any type of storage disk (e.g., an optical disk, a dvd, etc.), or similar storage medium, or a combination thereof.
The non-volatile medium may be non-volatile memory, flash memory, a storage drive (e.g., a hard drive), any type of storage disk (e.g., an optical disk, dvd, etc.), or similar non-volatile storage medium, or a combination thereof.
It can be understood that, for the specific operation method of each functional module in this embodiment, reference may be made to the detailed description of the corresponding step in the foregoing method embodiment, and no repeated description is provided herein.
The computer-readable storage medium provided in the embodiments of the present invention stores a computer program, and when executed, the computer program code may implement any one of the OTA upgrading methods based on a finite state machine described in the foregoing embodiments, for specific implementation, refer to the method embodiments, which are not described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein.
Claims (10)
1. An OTA upgrading method based on a finite state machine is characterized in that the OTA upgrading method is applied to an upgrading node of a vehicle end finite state machine, and an OTA upgrading agent process is deployed on the upgrading node, and the method comprises the following steps:
if the upgrading node is in an idle state and receives query information sent by an upgrading end, establishing communication connection with a cloud server, and sending the query information to the cloud server so that the cloud server can determine upgrading information according to the query information, wherein the query information comprises vehicle information, ECU version information, ECU types and ECU number, and the cloud server is configured with upgrading information corresponding to each ECU in advance;
responding to a download driving instruction sent by the upgrading end, finishing the download operation of an upgrading package according to the upgrading information, transferring the state of the upgrading node to a download finishing state, and feeding back a download finishing result to the upgrading end so that the upgrading end upgrades the ECU on the basis of the upgrading package;
and responding to an upgrade completion driving instruction sent by the upgrade end, and if the ECUs corresponding to the upgrade package are upgraded completely, switching the state of the upgrade node to an idle state, wherein the upgrade completion driving instruction is sent by the upgrade end under the condition that the upgrade operation of the ECUs is completed.
2. The method of claim 1, further comprising:
the method comprises the steps of connecting with an upper computer to obtain an offline upgrade package in the upper computer;
and sending the off-line upgrading package to the upgrading end so that the upgrading end is upgraded on the basis of the off-line upgrading package.
3. The method according to claim 1, wherein the upgrade package corresponds to one or more ECU upgrade tasks, and if the upgrade package corresponds to one ECU upgrade task, the upgrade information includes a task ID generated by the cloud server according to the query information.
4. The method of claim 1, wherein prior to the step of responding to the download driver command sent by the upgrade side, the method further comprises:
and receiving the upgrading information sent by the cloud server, feeding the upgrading information back to an upgrading end, and switching the state of the upgrading node to a state ready for upgrading.
5. The method according to claim 3, wherein the step of completing the downloading operation of the upgrade package according to the upgrade information in response to the download driving instruction sent by the upgrade end, transferring the state of the upgrade node to a download complete state, and feeding back a download complete result to the upgrade end comprises:
receiving a download starting driving instruction sent by the upgrade end, downloading an upgrade package according to a download address in the upgrade information, and switching the state of the upgrade node to a download state;
receiving a download progress acquisition instruction sent by the upgrading end, and feeding back the download progress of the upgrading package to the upgrading end;
and if the upgrade package is completely downloaded and the downloaded upgrade package is verified, feeding back a downloading finish result to the upgrade end, and switching the state of the upgrade node to a downloading finish state.
6. The method according to claim 3, wherein the step of turning the state of the upgrade node to an idle state if all the ECUs corresponding to the upgrade package are upgraded in response to an upgrade completion driving instruction sent by the upgrade end includes:
receiving an upgrade driving instruction sent by the upgrade end, uploading upgrade starting information to the cloud server, and transferring the state of the upgrade node to upgrade;
when the upgrading end completes the upgrading operation of the ECU based on the upgrading packet, receiving an upgrading completion driving instruction sent by the upgrading end, uploading upgrading completion information to the cloud server, and switching the state of the upgrading node to an upgrading completion state;
and if the ECU corresponding to the upgrade package finishes upgrading, the state of the upgrade node is switched to an idle state.
7. The method of claim 3, further comprising:
and responding to a drive termination instruction sent by the upgrading end, and transferring the state of the upgrading node to an upgrading completion state.
8. An OTA upgrading device based on finite state machine is characterized in that the device is applied to an upgrading node of a vehicle end finite state machine, an OTA upgrading agent process is deployed on the upgrading node, and the device comprises:
the query module is in an idle state and receives query information sent by an upgrading end, and is in communication connection with a cloud server and used for sending the query information to the cloud server so that the cloud server can determine upgrading information according to the query information, wherein the query information comprises vehicle information, ECU version information, ECU types and ECU number, and the cloud server is configured with upgrading information corresponding to each ECU in advance;
the download module is used for responding to a download driving instruction sent by the upgrade end, finishing the download operation of an upgrade package according to the upgrade information, transferring the state of the upgrade node to a download finishing state, and feeding back a download finishing result to the upgrade end so that the upgrade end upgrades the ECU on the basis of the upgrade package;
and the upgrading module is used for responding to an upgrading completion driving instruction sent by the upgrading end, and if the ECU corresponding to the upgrading packet is upgraded completely, the state of the upgrading node is switched to an idle state, wherein the upgrading completion driving instruction is sent by the upgrading end under the condition that the upgrading operation of the ECU is completed.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program operable on the processor, and wherein the processor implements the steps of the method of any of claims 1 to 7 when executing the computer program.
10. A machine-readable storage medium having stored thereon machine-executable instructions which, when invoked and executed by a processor, cause the processor to carry out the steps of the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010552191.8A CN111722860B (en) | 2020-06-16 | 2020-06-16 | OTA upgrading method and device based on finite state machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010552191.8A CN111722860B (en) | 2020-06-16 | 2020-06-16 | OTA upgrading method and device based on finite state machine |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111722860A true CN111722860A (en) | 2020-09-29 |
CN111722860B CN111722860B (en) | 2024-02-02 |
Family
ID=72566955
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010552191.8A Active CN111722860B (en) | 2020-06-16 | 2020-06-16 | OTA upgrading method and device based on finite state machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111722860B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112256310A (en) * | 2020-11-13 | 2021-01-22 | 上海伟世通汽车电子系统有限公司 | Vehicle instrument OTA upgrading system and method |
CN112286556A (en) * | 2020-10-30 | 2021-01-29 | 芯讯通无线科技(上海)有限公司 | Communication equipment and remote upgrading method of MCU thereof |
CN112764780A (en) * | 2021-01-25 | 2021-05-07 | 北京华顺信安信息技术有限公司 | Application batch automatic upgrading method suitable for DCC multi-node server |
CN113094075A (en) * | 2021-03-02 | 2021-07-09 | 厦门亿联网络技术股份有限公司 | Firmware upgrading method and device, terminal equipment and computer readable storage medium |
CN113190250A (en) * | 2021-04-30 | 2021-07-30 | 延锋汽车饰件系统有限公司 | Cabin software upgrading method, electronic equipment and readable storage medium |
CN113656061A (en) * | 2021-08-20 | 2021-11-16 | 成都亨通光通信有限公司 | 5G communication power supply firmware updating method and updating device |
CN113905061A (en) * | 2021-07-30 | 2022-01-07 | 联合汽车电子有限公司 | Information processing method, device, chip, diagnostic instrument, equipment and vehicle |
CN114003262A (en) * | 2021-11-11 | 2022-02-01 | 镁佳(北京)科技有限公司 | Online upgrade control method, device and equipment based on finite-state machine |
CN115051919A (en) * | 2022-06-30 | 2022-09-13 | 深圳市云洲创新科技有限公司 | OTA (over the air) upgrading system and OTA upgrading method |
CN116541138A (en) * | 2022-01-26 | 2023-08-04 | 比亚迪股份有限公司 | OTA upgrade interruption method, electronic device, vehicle and storage medium |
Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160335073A1 (en) * | 2015-05-14 | 2016-11-17 | Airbiquity Inc. | Centralized management of mobile-assisted motor vehicle software upgrading and vehicle data analytics |
DE102016210676A1 (en) * | 2015-06-16 | 2016-12-22 | Lear Corporation | A method of updating ECUs using differential update packages |
CN106325947A (en) * | 2016-09-18 | 2017-01-11 | 北京方研矩行科技有限公司 | Method for upgrading OTA (over-the-air technology) firmware based on state machine |
CN106385420A (en) * | 2016-09-29 | 2017-02-08 | 中国联合网络通信集团有限公司 | ECU software download method and device |
CN108769226A (en) * | 2018-06-05 | 2018-11-06 | 北京智行者科技有限公司 | The OAT upgrade methods and car-mounted terminal of vehicle |
CN108810082A (en) * | 2018-04-24 | 2018-11-13 | 江苏金坛长荡湖新能源科技有限公司 | A kind of new-energy automobile control module remotely writes with a brush dipped in Chinese ink method |
US20190050217A1 (en) * | 2018-03-30 | 2019-02-14 | Intel Corporation | Systems, methods and apparatus for distributed software/firmware update and software versioning system for automated vehicles |
CN110032382A (en) * | 2019-03-25 | 2019-07-19 | 深圳猛犸电动科技有限公司 | A kind of vehicle electronic control unit upgrade method, system and terminal device |
CN110224907A (en) * | 2018-03-01 | 2019-09-10 | 上海汽车集团股份有限公司 | A kind of updating system of vehicle-mounted ECU, method and terminal |
CN110365510A (en) * | 2018-04-10 | 2019-10-22 | 上海仪电(集团)有限公司中央研究院 | It is a kind of can to network node batch OTA upgrade things-internet gateway and OTA upgrade method |
CN110928567A (en) * | 2019-11-27 | 2020-03-27 | 安徽江淮汽车集团股份有限公司 | Vehicle system upgrading method, terminal device and computer-readable storage medium |
CN110955444A (en) * | 2019-12-04 | 2020-04-03 | 福尔达车联网(深圳)有限公司 | Vehicle ECU upgrading method, system, terminal and storage medium |
CN111031115A (en) * | 2019-11-28 | 2020-04-17 | 安徽江淮汽车集团股份有限公司 | Electronic controller version updating system and method based on Internet of vehicles |
CN111061499A (en) * | 2019-12-31 | 2020-04-24 | 上海赫千电子科技有限公司 | ECU updating method and system based on file system |
CN111158718A (en) * | 2019-12-26 | 2020-05-15 | 智车优行科技(北京)有限公司 | Local communication server, OTA (over the air) upgrading method thereof and cloud server |
CN111190633A (en) * | 2020-01-03 | 2020-05-22 | 东风汽车集团有限公司 | OTA (over the air) upgrading system and method for whole electric control unit |
CN111258611A (en) * | 2020-01-22 | 2020-06-09 | 重庆长安汽车股份有限公司 | Method for upgrading firmware of whole vehicle in air |
US20200186620A1 (en) * | 2018-12-06 | 2020-06-11 | Ford Global Technologies, Llc | Upgradeable vehicle |
-
2020
- 2020-06-16 CN CN202010552191.8A patent/CN111722860B/en active Active
Patent Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160335073A1 (en) * | 2015-05-14 | 2016-11-17 | Airbiquity Inc. | Centralized management of mobile-assisted motor vehicle software upgrading and vehicle data analytics |
DE102016210676A1 (en) * | 2015-06-16 | 2016-12-22 | Lear Corporation | A method of updating ECUs using differential update packages |
CN106325947A (en) * | 2016-09-18 | 2017-01-11 | 北京方研矩行科技有限公司 | Method for upgrading OTA (over-the-air technology) firmware based on state machine |
CN106385420A (en) * | 2016-09-29 | 2017-02-08 | 中国联合网络通信集团有限公司 | ECU software download method and device |
CN110224907A (en) * | 2018-03-01 | 2019-09-10 | 上海汽车集团股份有限公司 | A kind of updating system of vehicle-mounted ECU, method and terminal |
US20190050217A1 (en) * | 2018-03-30 | 2019-02-14 | Intel Corporation | Systems, methods and apparatus for distributed software/firmware update and software versioning system for automated vehicles |
CN110365510A (en) * | 2018-04-10 | 2019-10-22 | 上海仪电(集团)有限公司中央研究院 | It is a kind of can to network node batch OTA upgrade things-internet gateway and OTA upgrade method |
CN108810082A (en) * | 2018-04-24 | 2018-11-13 | 江苏金坛长荡湖新能源科技有限公司 | A kind of new-energy automobile control module remotely writes with a brush dipped in Chinese ink method |
CN108769226A (en) * | 2018-06-05 | 2018-11-06 | 北京智行者科技有限公司 | The OAT upgrade methods and car-mounted terminal of vehicle |
US20200186620A1 (en) * | 2018-12-06 | 2020-06-11 | Ford Global Technologies, Llc | Upgradeable vehicle |
CN110032382A (en) * | 2019-03-25 | 2019-07-19 | 深圳猛犸电动科技有限公司 | A kind of vehicle electronic control unit upgrade method, system and terminal device |
CN110928567A (en) * | 2019-11-27 | 2020-03-27 | 安徽江淮汽车集团股份有限公司 | Vehicle system upgrading method, terminal device and computer-readable storage medium |
CN111031115A (en) * | 2019-11-28 | 2020-04-17 | 安徽江淮汽车集团股份有限公司 | Electronic controller version updating system and method based on Internet of vehicles |
CN110955444A (en) * | 2019-12-04 | 2020-04-03 | 福尔达车联网(深圳)有限公司 | Vehicle ECU upgrading method, system, terminal and storage medium |
CN111158718A (en) * | 2019-12-26 | 2020-05-15 | 智车优行科技(北京)有限公司 | Local communication server, OTA (over the air) upgrading method thereof and cloud server |
CN111061499A (en) * | 2019-12-31 | 2020-04-24 | 上海赫千电子科技有限公司 | ECU updating method and system based on file system |
CN111190633A (en) * | 2020-01-03 | 2020-05-22 | 东风汽车集团有限公司 | OTA (over the air) upgrading system and method for whole electric control unit |
CN111258611A (en) * | 2020-01-22 | 2020-06-09 | 重庆长安汽车股份有限公司 | Method for upgrading firmware of whole vehicle in air |
Non-Patent Citations (5)
Title |
---|
B. KIM等: "ECU Software Updating Scenario Using OTA Technology through Mobile Communication Network", 《2018 IEEE 3RD INTERNATIONAL CONFERENCE ON COMMUNICATION AND INFORMATION SYSTEMS (ICCIS)》, pages 67 - 72 * |
JUNKO YOSHIDA: "Car to Cloud: From Apps to Whole-Car Updates", pages 1 - 7, Retrieved from the Internet <URL:《https://www.eetimes.com/car-to-cloud-from-apps-to-whole-car-updates/2/》> * |
冯万军等: "整车OTA系统中的车身动力域ECU升级与软件匹配", 《2019中国汽车工程学会年会论文集》, pages 259 - 263 * |
小木子: "汽车OTA介绍", pages 1 - 5, Retrieved from the Internet <URL:《https://zhuanlan.zhihu.com/p/86449761?utm_id=0》> * |
王栋梁等: "智能网联汽车整车OTA功能设计研究", 《汽车技术》, no. 10, pages 29 - 33 * |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112286556A (en) * | 2020-10-30 | 2021-01-29 | 芯讯通无线科技(上海)有限公司 | Communication equipment and remote upgrading method of MCU thereof |
CN112256310A (en) * | 2020-11-13 | 2021-01-22 | 上海伟世通汽车电子系统有限公司 | Vehicle instrument OTA upgrading system and method |
CN112764780A (en) * | 2021-01-25 | 2021-05-07 | 北京华顺信安信息技术有限公司 | Application batch automatic upgrading method suitable for DCC multi-node server |
CN113094075A (en) * | 2021-03-02 | 2021-07-09 | 厦门亿联网络技术股份有限公司 | Firmware upgrading method and device, terminal equipment and computer readable storage medium |
CN113190250A (en) * | 2021-04-30 | 2021-07-30 | 延锋汽车饰件系统有限公司 | Cabin software upgrading method, electronic equipment and readable storage medium |
CN113905061A (en) * | 2021-07-30 | 2022-01-07 | 联合汽车电子有限公司 | Information processing method, device, chip, diagnostic instrument, equipment and vehicle |
CN113656061A (en) * | 2021-08-20 | 2021-11-16 | 成都亨通光通信有限公司 | 5G communication power supply firmware updating method and updating device |
CN113656061B (en) * | 2021-08-20 | 2023-12-15 | 成都亨通光通信有限公司 | 5G communication power supply firmware updating method and updating device |
CN114003262A (en) * | 2021-11-11 | 2022-02-01 | 镁佳(北京)科技有限公司 | Online upgrade control method, device and equipment based on finite-state machine |
CN116541138A (en) * | 2022-01-26 | 2023-08-04 | 比亚迪股份有限公司 | OTA upgrade interruption method, electronic device, vehicle and storage medium |
CN115051919A (en) * | 2022-06-30 | 2022-09-13 | 深圳市云洲创新科技有限公司 | OTA (over the air) upgrading system and OTA upgrading method |
CN115051919B (en) * | 2022-06-30 | 2024-07-12 | 深圳市云洲创新科技有限公司 | OTA upgrading system and OTA upgrading method |
Also Published As
Publication number | Publication date |
---|---|
CN111722860B (en) | 2024-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111722860B (en) | OTA upgrading method and device based on finite state machine | |
US9557981B2 (en) | Method and apparatus for automatic module upgrade | |
CN106708988A (en) | Urban rail transit electronic map sharing method and system | |
CN111061499A (en) | ECU updating method and system based on file system | |
CN104580351A (en) | Programming vehicle modules from remote devices and related methods and systems | |
CN110442363B (en) | Vehicle ECU upgrading control method | |
CN111782234A (en) | Vehicle-mounted software flashing method, control device, central processing unit and automobile | |
KR20120019870A (en) | Software upgrade apparatus and method for a vehicle controller | |
CN114363385B (en) | Method, system, equipment and storage medium for updating automobile end software by cloud | |
CN213303011U (en) | OTA-based vehicle ECU upgrading system | |
US20240069906A1 (en) | Server, software update system, distribution method, and non-transitory storage medium | |
CN112905214A (en) | Remote upgrading method, device, equipment and storage medium | |
CN108008964B (en) | Vehicle-mounted network system, management method of vehicle-mounted software and vehicle | |
CN115291907A (en) | Vehicle upgrading method, device and system | |
CN113791800A (en) | Automatic parking control module remote upgrading method and system and automobile | |
CN114531431A (en) | Bluetooth-based multi-device OTA (over the air) upgrading method, electronic device, storage medium and program product | |
JP5551045B2 (en) | Program rewriting system for vehicles | |
EP4446874A1 (en) | Ecu remote upgrading method and system | |
US20220413831A1 (en) | Center, ota master, method, non-transitory storage medium, and vehicle | |
SE542382C2 (en) | Method and server arrangement for producing a control unit for use in a vehicle | |
CN113630437A (en) | Vehicle control unit upgrading method and device and vehicle | |
CN114906160A (en) | Vehicle control and task processing method and device, computing equipment and system | |
CN112363744A (en) | Method and system for upgrading automobile data recorder firmware and storage medium | |
US20240118886A1 (en) | Mobile equipment and software distribution system | |
US20240118885A1 (en) | User equipment, software update system, control method, and non-transitory 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |