CN109189422A - A kind of remote upgrade method and device of electronic control unit - Google Patents

A kind of remote upgrade method and device of electronic control unit Download PDF

Info

Publication number
CN109189422A
CN109189422A CN201810915104.3A CN201810915104A CN109189422A CN 109189422 A CN109189422 A CN 109189422A CN 201810915104 A CN201810915104 A CN 201810915104A CN 109189422 A CN109189422 A CN 109189422A
Authority
CN
China
Prior art keywords
ecu
status information
car
upgrading
software
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
CN201810915104.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.)
Beijing Electric Vehicle Co Ltd
Original Assignee
Beijing Electric Vehicle 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 Beijing Electric Vehicle Co Ltd filed Critical Beijing Electric Vehicle Co Ltd
Priority to CN201810915104.3A priority Critical patent/CN109189422A/en
Publication of CN109189422A publication Critical patent/CN109189422A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The embodiment of the present invention provides the remote upgrade method and device of a kind of electronic control unit, this method comprises: receiving the first software upgrade package that the upgrading platform is sent, wherein, first software upgrade package includes the upgrade file of the first car status information and electronic control unit ECU, and first car status information includes components information corresponding with the ECU;Receive the upgrade command of the upgrading platform or user's transmission;First car status information is compared with the second car status information, wherein second car status information includes the components information of vehicle where car-mounted terminal;If first car status information matches with second car status information, the ECU is upgraded according to first software upgrade package.The embodiment of the invention provides a kind of stronger ECU remote upgrade technologies of practicability.

Description

A kind of remote upgrade method and device of electronic control unit
Technical field
The present invention relates to automotive field more particularly to the remote upgrade methods and device of a kind of electronic control unit.
Background technique
As automobile industry is increasingly to electrified, net connectionization, intelligent development, ECU (electronic control unit, Electronic Control Unit) it is widely used in automobile.And automobile progress function optimization, function are recalled in order to reduce The negative effect of high cost and market brought by increasing or decreasing and repair etc., remote automobile ECU upgrade technique meet the tendency of and It is raw.
Existing automobile ECU remote upgrade technology is also immature, needs to develop the stronger ECU remote upgrade skill of practicability Art.
Summary of the invention
The embodiment of the present invention provides the remote upgrade method and device of a kind of electronic control unit, to solve to need reality at present The problem of ECU remote upgrade technology stronger with property.
In a first aspect, being applied to vehicle-mounted the embodiment of the invention provides a kind of remote upgrade method of electronic control unit Terminal, which comprises
Receive the first software upgrade package that the upgrading platform is sent, wherein first software upgrade package includes first The upgrade file of car status information and electronic control unit ECU, first car status information include and the ECU phase Corresponding components information;
Receive the upgrade command of the upgrading platform or user's transmission;
First car status information is compared with the second car status information, wherein second vehicle-state Information includes the components information of vehicle where car-mounted terminal;
If first car status information matches with second car status information, according to first software Upgrade package upgrades the ECU.
Second aspect, the embodiment of the invention provides a kind of remote upgrade methods of electronic control unit, are applied to upgrading Platform, which comprises
Receive the third car status information that the car-mounted terminal of target vehicle is sent, wherein the third vehicle-state letter Breath includes the components information of the target vehicle;
The ECU for needing to carry out software upgrading is determined according to the third car status information;
Obtain the first software upgrade package, wherein first software upgrade package includes the first car status information and institute The upgrade file of ECU is stated, first car status information includes components information corresponding with the ECU;
First software upgrade package is sent to the car-mounted terminal of target vehicle.
The third aspect, the embodiment of the invention provides a kind of remote upgrade devices of electronic control unit, are applied to vehicle-mounted Terminal, described device include:
First receiving module receives the first software upgrade package that the upgrading platform is sent, wherein the first software liter Grade packet includes the first car status information and the upgrade file of electronic control unit ECU, the first car status information packet Include components information corresponding with the ECU;
Second receiving module receives the upgrade command of the upgrading platform or user's transmission;
First comparison module compares first car status information with the second car status information, wherein described Second car status information includes the components information of vehicle where car-mounted terminal;
First upgraded module, if first car status information matches with second car status information, root The ECU is upgraded according to first software upgrade package.
Fourth aspect, the embodiment of the invention provides a kind of remote upgrade devices of electronic control unit, are applied to upgrading Platform, described device include:
First receiving module receives the third car status information that the car-mounted terminal of target vehicle is sent, wherein described the Three car status informations include the components information of the target vehicle;
Determining module determines the ECU for needing to carry out software upgrading according to the third car status information;
First obtains module, obtains the first software upgrade package, wherein first software upgrade package includes the first vehicle shape The upgrade file of state information and the ECU, first car status information include components letter corresponding with the ECU Breath;
First software upgrade package is sent to the car-mounted terminal of target vehicle by the first sending module.
The first software upgrade package that the upgrading platform is sent is received in the embodiment of the present invention, wherein first software Upgrade package includes the upgrade file of the first car status information and electronic control unit ECU, first car status information Including components information corresponding with the ECU;
Receive the upgrade command of the upgrading platform or user's transmission;
First car status information is compared with the second car status information, wherein second vehicle-state Information includes the components information of vehicle where car-mounted terminal;
If first car status information matches with second car status information, according to first software Upgrade package upgrades the ECU.
5th aspect, the embodiment of the present invention also provide a kind of remote upgrade device of electronic control unit, comprising: storage Device, processor and it is stored in the computer program that can be run on the memory and on the processor, the processor is held The remote upgrade side of the electronic control unit of car-mounted terminal side provided in an embodiment of the present invention is realized when the row computer program Step or the processor in method realize upgrading platform side provided in an embodiment of the present invention when executing the computer program Electronic control unit remote upgrade method in step.
6th aspect, the embodiment of the present invention also provide a kind of computer readable storage medium, are stored thereon with computer journey Sequence, the program realize the long-range liter of the electronic control unit of car-mounted terminal side provided in an embodiment of the present invention when being executed by processor Step or the program in grade method realize the electronics of upgrading platform side provided in an embodiment of the present invention when being executed by processor Step in the remote upgrade method of control unit.
In the embodiment of the present invention, the first software upgrade package that the upgrading platform is sent is received, wherein first software Upgrade package includes the upgrade file of the first car status information and electronic control unit ECU, first car status information Including components information corresponding with the ECU;Receive the upgrade command of the upgrading platform or user's transmission;It will be described First car status information is compared with the second car status information, wherein second car status information includes vehicle-mounted end The components information of vehicle where end;If first car status information matches with second car status information, The ECU is upgraded according to first software upgrade package, to provide a kind of stronger ECU remote upgrade of practicability Technology.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of flow chart of the remote upgrade method of electronic control unit provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the remote upgrade method of another electronic control unit provided in an embodiment of the present invention;
Fig. 3 is a kind of structure chart of the remote upgrade device of electronic control unit provided in an embodiment of the present invention;
Fig. 4 is the structure chart of the remote upgrade device of another electronic control unit provided in an embodiment of the present invention;
Fig. 5 is the structure chart of the remote upgrade device of another electronic control unit provided in an embodiment of the present invention;
Fig. 6 is the structure chart of the remote upgrade device of another electronic control unit provided in an embodiment of the present invention;
Fig. 7 is the structure chart of the remote upgrade device of another electronic control unit provided in an embodiment of the present invention;
Fig. 8 is the structure chart of the remote upgrade device of another electronic control unit provided in an embodiment of the present invention;
Fig. 9 is the structure chart of the remote upgrade device of another electronic control unit provided in an embodiment of the present invention;
Figure 10 is the structure chart of the remote upgrade device of another electronic control unit provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Referring to Figure 1, Fig. 1 is a kind of process of the remote upgrade method of electronic control unit provided in an embodiment of the present invention Figure, this method are applied to car-mounted terminal, comprising:
Step 101 receives the first software upgrade package that the upgrading platform is sent, wherein first software upgrade package Upgrade file including the first car status information and electronic control unit ECU, first car status information include with The corresponding components information of the ECU;
Wherein, the car-mounted terminal of the vehicle can directly be communicated with upgrading platform, can also pass through other vehicles With the upgrading Platform communication.The vehicle includes at least one ECU, can be to the ECU by the upgrade file of the ECU Upgraded.The corresponding components information of the ECU may include the software version information of the ECU, can also include the ECU Hardware revision information and ECU control both hardware revision informations of component in any one or both.For example, described When ECU is engine electronic control unit, the hardware revision information of the component of the ECU control is the hardware version of engine Information.
Step 102, the upgrade command for receiving the upgrading platform or user's transmission;
Wherein it is possible to receive the upgrade command that upgrading platform is sent by network, or it can be and receive user in mobile phone Related software on the upgrade command that issues, be also possible to receive under user issues on the display interface of car-mounted terminal and bristle with anger It enables, the embodiment of the present invention is to this without limiting.
Step 103 compares first car status information with the second car status information, wherein described second Car status information includes the components information of vehicle where car-mounted terminal;
Wherein, the components information of vehicle where the car-mounted terminal may include the software version of the ECU of the vehicle Information, can also be any in both the hardware revision information of component of the hardware revision information including the ECU and ECU control One or both.The components information of vehicle may include the corresponding Components information of ECU where the car-mounted terminal.
If step 104, first car status information match with second car status information, according to First software upgrade package upgrades the ECU.
Wherein, first car status information and second car status information, which match, can be first vehicle The corresponding Components information of ECU and in second car status information corresponding with the ECU zero in status information Part portion information is identical.Such as: if in first car status information including the software version information of ECU, the hardware version of the ECU The hardware revision information three of this information and the component of ECU control, then this three is respectively and in the second car status information The software version information of ECU, the hardware revision information of the ECU and the hardware revision information of the ECU component controlled correspond to it is identical, Then first car status information matches with second car status information.
By matching before ECU is upgraded to the corresponding components information of ECU, whether software upgrade package is judged Matching needs to carry out the ECU of software upgrading, avoids the caused software liter of component because of situations such as replacement ECU or ECU control The problem of grade packet mismatches and leads to upgrading failure.
Optionally, the remote upgrade method further include:
If first car status information and second car status information mismatch, by the first vehicle shape State information and the unmatched message of the second car status information are sent to upgrading platform;
Receive the message for the stopping upgrading that the upgrading platform is sent;
Stopping upgrades the ECU.
Wherein, described to send first car status information and the unmatched message of second car status information To upgrading platform can be by first car status information with the unmatched components of the second car status information Information is sent to upgrading platform, is also possible to mismatch first car status information and second car status information Related ECU is sent to upgrading platform, and the embodiment of the present invention is to this without limiting.
By the way that first car status information and the unmatched message of the second car status information are sent to liter Grade platform, informing upgrading platform software upgrade package, there may be problems, receive disappearing for the stopping upgrading that the upgrading platform is sent It ceases and stops upgrading the ECU, can be avoided and ECU is upgraded and leads to ECU using the software upgrade package of mistake It is unable to normal use.
Optionally, after the ECU is upgraded the method also includes:
The first software version information after obtaining the ECU upgrading;
First software version information is compared with the second software version information, second software version information is The target version information of upgrading;
If first software version information and second software version information mismatch, sent out to the upgrading platform Send the ECU upgrading failure news.
Wherein, the target version information of upgrading, which can be, carries in first software upgrade package, is also possible to described Upgrading platform is handed down to the car-mounted terminal.First software version information and second software version information mismatch It can be the version number in first software version information and the version number in second software version information be not identical, It can be the software flag bit in the software flag bit and second software version information in first software version information Not identical, the embodiment of the present invention is to this without limiting.
The first software version information is matched with the second software version information after the ECU is upgraded, it can Whether verification upgrading succeeds.
Optionally, the remote upgrade method further include:
The second software upgrade package that the upgrading platform is sent is received, second software upgrade package includes the ECU liter The upgrade file of software version before grade.
The ECU is upgraded according to second software upgrade package.
When the ECU upgrades failure, the ECU is upgraded by second software upgrade package, by the version of ECU Originally the software version before being restored to the ECU upgrading, even if guaranteeing that the upgrading failure ECU can still work normally.
Fig. 2 is referred to, Fig. 2 is the stream in a kind of remote upgrade method of electronic control unit provided in an embodiment of the present invention Cheng Tu, this method are applied to upgrading platform, which comprises
The third car status information that step 201, the car-mounted terminal for receiving target vehicle are sent, wherein the third vehicle Status information includes the components information of the target vehicle.
Wherein, the components information of the target vehicle may include the software version information of the ECU of the vehicle, may be used also With include in the hardware revision information of the ECU and both the hardware revision information of component of ECU control any one or two Person.
Step 202 determines the ECU for needing to carry out software upgrading according to the third car status information.
Wherein, the upgrading platform can carry out vehicle data management.The vehicle data management includes vehicle management, vehicle Management and software management.The vehicle management can look forward to BOM by big data or vehicle, and (Bill of Materia, material are clear It is single) etc. development & productions system different automobile types and configuration are managed;The vehicle management can software and hardware information to vehicle into Row summarizes;The software management, which can be, is managed the software version of ECU, and the software release name of the ECU can wrap Include the corresponding components information of the ECU.The upgrading platform can realize by way of building data platform, can also be with Platform is looked forward to by existing vehicle vehicle to be docked, and information is directly acquired.It is described that need are determined according to the third car status information The ECU of software upgrading is carried out, can be and match the third car status information in the vehicle data of the upgrading platform, Such as: the current version information of ECU is matched, if there are the current versions that the software version of ECU is higher than the ECU on upgrading platform This, then illustrate that the ECU needs to carry out software upgrading.If upgraded on platform, there is no the softwares of the current version higher than ECU Version then illustrates that the ECU does not need to carry out software upgrading.
Step 203 obtains the first software upgrade package, wherein first software upgrade package is believed including the first vehicle-state The upgrade file of breath and the ECU, first car status information includes components information corresponding with the ECU.
Wherein, after the upgrading platform determines the ECU for needing to carry out software upgrading, upgrading task, the liter can be created Grade task includes the current software version of the ECU and the targeted update version of the ECU.The first software upgrading of the acquisition Packet, which can be according to the software release name of the ECU in software management described in the targeted update version match of the ECU, to be obtained The upgrade file of the ECU is also possible to match the software version name of the ECU in the software management according to the upgrading task Claim to obtain the upgrade file of the ECU, the embodiment of the present invention is to this without limiting.The corresponding components letter of the ECU Breath may include the software version information of the ECU, can also hardware revision information and the component of ECU control including the ECU Hardware revision information the two in any one or both.
Step 204, the car-mounted terminal that first software upgrade package is sent to target vehicle.
By obtaining the first software upgrade package according to third car status information in upgrading platform, it is ensured that upgrading platform will not Issue the first software upgrade package of mistake.
Optionally, the remote upgrade method further include:
If the first car status information and the second car status information that receive the car-mounted terminal transmission are unmatched Message then sends the message for stopping upgrading to the car-mounted terminal of target vehicle.
When first car status information and the second car status information mismatch, the upgrading platform, which is sent, to be stopped The message of upgrading can be avoided and be upgraded to ECU using the software upgrade package of mistake and ECU is caused to be unable to normal use.
Optionally, the remote upgrade method further include:
Software version before obtaining the ECU upgrading;
Obtain the second software upgrade package of the upgrade file including the software version;
If the ECU upgrading failure news that the car-mounted terminal is sent is received, by second software upgrading Packet is sent to the car-mounted terminal.
When the ECU upgrades failure, second software upgrade package is sent to car-mounted terminal by upgrading platform, it will The version of ECU is restored to the software version before the ECU upgrading, even if guaranteeing that the upgrading failure ECU still is able to normal work Make.
Below with one embodiment, the remote upgrade method of electronic control unit provided in an embodiment of the present invention is lifted Example explanation:
Upgrade the corresponding components information of ECU that platform obtains vehicle by remote diagnosis or other modes, it can be with The corresponding components information of the ECU and the software release name automatic comparison acquisition of upgrading platform side are upgraded Vehicle, the ECU that vehicle is upgraded and the ECU upgrade file, and the upgrade file is packaged into software Upgrade package, the software upgrade package include the corresponding components information of the ECU, and the components information includes the soft of ECU The hardware revision information of the component of part version information, the hardware revision information of the ECU and ECU control;
Mission dispatching will be upgraded to car-mounted terminal by upgrading platform, and the upgrading task includes the software upgrade package;
After car-mounted terminal receives upgrading task, before being upgraded, the corresponding components information of ECU is read Take, the components information of reading matched with the components information in software upgrade package, if read components information with Components information in software upgrade package mismatches, then the car-mounted terminal sends the components information read to platform, and The car-mounted terminal is forbidden upgrading;
If the components information in the components information and software upgrade package that read matches, the car-mounted terminal is carried out Upgrading;
After the completion of upgrading, car-mounted terminal read upgrading after ECU software version information, if upgrading after ECU software version Information and the target version information of upgrading match, then upgrade successfully;
If the software version information of ECU and the target version information of upgrading do not match that after upgrading, upgrade failure, it is described The upgrading failure news is sent to upgrading platform by car-mounted terminal;
After the upgrading platform receives the upgrading failure news that the car-mounted terminal is sent, by the second software upgrade package It is sent to the car-mounted terminal, second software upgrade package includes the upgrade file of the software version before the ECU upgrading;
The car-mounted terminal is upgraded according to second software upgrade package.
Fig. 3 is referred to, Fig. 3 is a kind of structure of the remote upgrade device of electronic control unit provided in an embodiment of the present invention Figure, the device are applied to car-mounted terminal, and the remote upgrade device 300 of electronic control unit includes:
First receiving module 301 receives the first software upgrade package that the upgrading platform is sent, wherein described first is soft Part upgrade package includes the upgrade file of the first car status information and electronic control unit ECU, the first vehicle-state letter Breath includes components information corresponding with the ECU;
Second receiving module 302 receives the upgrade command of the upgrading platform or user's transmission;
First comparison module 303 compares first car status information with the second car status information, wherein Second car status information includes the components information of vehicle where car-mounted terminal;
First upgraded module 304, if first car status information matches with second car status information, The ECU is upgraded according to first software upgrade package.
Optionally, as shown in figure 4, the remote upgrade device 300 of the electronic control unit further include:
First sending module 305, if first car status information and second car status information mismatch, First car status information and the unmatched message of the second car status information are sent to upgrading platform;
Third receiving module 306 receives the message for the stopping upgrading that the upgrading platform is sent;
Stop upgraded module 307, stopping upgrades the ECU.
Optionally, as shown in figure 5, the remote upgrade device 300 of the electronic control unit further include:
Module 308 is obtained, the first software version information after obtaining the ECU upgrading;
Second comparison module 309 compares first software version information with the second software version information, and described Two software version informations are the target version information of upgrading;
Second sending module 310, if first software version information and second software version information mismatch, The ECU, which is sent, to the upgrading platform upgrades failure news.
Optionally, as shown in fig. 6, the remote upgrade device 300 of the electronic control unit further include:
4th receiving module 311 receives the second software upgrade package that the upgrading platform is sent, second software upgrading Packet includes the upgrade file of the software version before ECU upgrading.
Second upgraded module 312 upgrades the ECU according to second software upgrade package.
The remote upgrade device of electronic control unit provided in an embodiment of the present invention can be realized in the embodiment of the method for Fig. 1 Each process, to avoid repeating, which is not described herein again.The remote upgrade device of the electronic control unit provides a kind of practical The stronger ECU remote upgrade technology of property.
Fig. 7 is referred to, Fig. 7 is the knot of the remote upgrade device of another electronic control unit provided in an embodiment of the present invention Composition, the device are applied to upgrading platform, and the remote upgrade device 400 of electronic control unit includes:
First receiving module 401 receives the third car status information that the car-mounted terminal of target vehicle is sent, wherein institute State the components information that third car status information includes the target vehicle;
Determining module 402 determines the ECU for needing to carry out software upgrading according to the third car status information;
First obtains module 403, obtains the first software upgrade package, wherein first software upgrade package includes the first vehicle The upgrade file of status information and the ECU, first car status information includes zero corresponding with the ECU Part information;
First software upgrade package is sent to the car-mounted terminal of target vehicle by the first sending module 404.
Optionally, as shown in figure 8, the remote upgrade device 400 of the electronic control unit further include:
Second sending module 405, if receiving the first car status information and the second vehicle that the car-mounted terminal is sent The unmatched message of status information then sends the message for stopping upgrading to the car-mounted terminal of target vehicle.
Optionally, as shown in figure 9, the remote upgrade device 400 of the electronic control unit further include:
Second obtains module 406, the software version before obtaining the ECU upgrading;
Third obtains module 407, obtains the second software upgrade package of the upgrade file including the software version;
Second sending module 408 will if receiving the ECU upgrading failure news that the car-mounted terminal is sent Second software upgrade package is sent to the car-mounted terminal.
The remote upgrade device of electronic control unit provided in an embodiment of the present invention can be realized in the embodiment of the method for Fig. 2 Each process, to avoid repeating, which is not described herein again.The remote upgrade device of the electronic control unit provides a kind of practical The stronger ECU remote upgrade technology of property.
0, Figure 10 is the remote upgrade device of another electronic control unit provided in an embodiment of the present invention referring to Figure 1 Structure chart, as shown in Figure 10, the remote upgrade device of the electronic control unit include: memory 501, processor 500 and storage On the memory 501 and the computer program that can be run on the processor 500, in which:
The processor 500 is used to read the program in memory 501, executes following process:
Receive the first software upgrade package that the upgrading platform is sent, wherein first software upgrade package includes first The upgrade file of car status information and electronic control unit ECU, first car status information include and the ECU phase Corresponding components information;
Receive the upgrade command of the upgrading platform or user's transmission;
First car status information is compared with the second car status information, wherein second vehicle-state Information includes the components information of vehicle where car-mounted terminal;
If first car status information matches with second car status information, according to first software Upgrade package upgrades the ECU.
In Figure 10, bus architecture may include the bus and bridge of any number of interconnection, specifically be represented by processor 500 One or more processors and the various circuits of memory that represent of memory 501 link together.Bus architecture can be with Various other circuits of such as peripheral equipment, voltage-stablizer and management circuit or the like are linked together, these are all these Well known to field, therefore, it will not be further described herein.Bus interface provides interface.
Processor 500, which is responsible for management bus architecture and common processing, memory 501, can store processor 500 and is holding Used data when row operation.
It should be noted that memory 501 does not limit only on the remote upgrade device of electronic control unit, can incite somebody to action Memory 501 and the separation of processor 500 are in different geographical locations.
Optionally, the process that the processor 500 executes further include:
If first car status information and second car status information mismatch, by the first vehicle shape State information and the unmatched message of the second car status information are sent to upgrading platform;
Receive the message for the stopping upgrading that the upgrading platform is sent;
Stopping upgrades the ECU.
Optionally, the process that the processor 500 executes further include:
The first software version information after obtaining the ECU upgrading;
First software version information is compared with the second software version information, second software version information is The target version information of upgrading;
If first software version information and second software version information mismatch, sent out to the upgrading platform Send the ECU upgrading failure news.
Optionally, the process that the processor 500 executes further include:
The second software upgrade package that the upgrading platform is sent is received, second software upgrade package includes the ECU liter The upgrade file of software version before grade.
The ECU is upgraded according to second software upgrade package.
Or:
The processor 500 is used to read the program in memory 501, executes following process:
Receive the third car status information that the car-mounted terminal of target vehicle is sent, wherein the third vehicle-state letter Breath includes the components information of the target vehicle;
The ECU for needing to carry out software upgrading is determined according to the third car status information;
Obtain the first software upgrade package, wherein first software upgrade package includes the first car status information and institute The upgrade file of ECU is stated, first car status information includes components information corresponding with the ECU;
First software upgrade package is sent to the car-mounted terminal of target vehicle.
Optionally, the process that the processor 500 executes further include:
If the first car status information and the second car status information that receive the car-mounted terminal transmission are unmatched Message then sends the message for stopping upgrading to the car-mounted terminal of target vehicle.
Optionally, the process that the processor 500 executes further include:
Software version before obtaining the ECU upgrading;
Obtain the second software upgrade package of the upgrade file including the software version;
If the ECU upgrading failure news that the car-mounted terminal is sent is received, by second software upgrading Packet is sent to the car-mounted terminal.
It should be noted that being filled in embodiment of the method applied to the remote upgrade of electronic control unit in the embodiment of the present invention Any embodiment set can realize by the remote upgrade device of the above-mentioned electronic control unit in the present embodiment, and Reach identical beneficial effect, details are not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored thereon with computer program, the program In the remote upgrade method for realizing the electronic control unit of car-mounted terminal side provided in an embodiment of the present invention when being executed by processor The step of or the program electronic control unit of upgrading platform side provided in an embodiment of the present invention is realized when being executed by processor Remote upgrade method in step, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, institute The computer readable storage medium stated, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (15)

1. a kind of remote upgrade method of electronic control unit is applied to car-mounted terminal characterized by comprising
Receive the first software upgrade package that the upgrading platform is sent, wherein first software upgrade package includes the first vehicle The upgrade file of status information and electronic control unit ECU, first car status information include corresponding with the ECU Components information;
Receive the upgrade command of the upgrading platform or user's transmission;
First car status information is compared with the second car status information, wherein second car status information Components information including vehicle where car-mounted terminal;
If first car status information matches with second car status information, according to first software upgrading Packet upgrades the ECU.
2. remote upgrade method as described in claim 1, which is characterized in that the method also includes:
If first car status information and second car status information mismatch, first vehicle-state is believed Breath is sent to upgrading platform with the unmatched message of the second car status information;
Receive the message for the stopping upgrading that the upgrading platform is sent;
Stopping upgrades the ECU.
3. remote upgrade method as described in claim 1, which is characterized in that the method is also after the ECU is upgraded Include:
The first software version information after obtaining the ECU upgrading;
First software version information is compared with the second software version information, second software version information is upgrading Target version information;
If first software version information and second software version information mismatch, institute is sent to the upgrading platform State ECU upgrading failure news.
4. remote upgrade method as claimed in claim 3, which is characterized in that the method also includes:
The second software upgrade package that the upgrading platform is sent is received, second software upgrade package includes before the ECU upgrades Software version upgrade file;
The ECU is upgraded according to second software upgrade package.
5. a kind of remote upgrade method of electronic control unit is applied to upgrading platform characterized by comprising
Receive the third car status information that the car-mounted terminal of target vehicle is sent, wherein the third car status information packet Include the components information of the target vehicle;
The ECU for needing to carry out software upgrading is determined according to the third car status information;
Obtain the first software upgrade package, wherein first software upgrade package includes the first car status information and the ECU Upgrade file, first car status information includes components information corresponding with the ECU;
First software upgrade package is sent to the car-mounted terminal of target vehicle.
6. remote upgrade method as claimed in claim 5, which is characterized in that the method also includes:
If receiving the first car status information and the unmatched message of the second car status information that the car-mounted terminal is sent, The message for stopping upgrading then being sent to the car-mounted terminal of target vehicle.
7. remote upgrade method as claimed in claim 5, which is characterized in that the method also includes:
Software version before obtaining the ECU upgrading;
Obtain the second software upgrade package of the upgrade file including the software version;
If receiving the ECU upgrading failure news that the car-mounted terminal is sent, second software upgrade package is sent out Give the car-mounted terminal.
8. a kind of remote upgrade device of electronic control unit is applied to car-mounted terminal characterized by comprising
First receiving module receives the first software upgrade package that the upgrading platform is sent, wherein first software upgrade package Upgrade file including the first car status information and electronic control unit ECU, first car status information include with The corresponding components information of the ECU;
Second receiving module receives the upgrade command of the upgrading platform or user's transmission;
First comparison module compares first car status information with the second car status information, wherein described second Car status information includes the components information of vehicle where car-mounted terminal;
First upgraded module, if first car status information matches with second car status information, according to institute The first software upgrade package is stated to upgrade the ECU.
9. remote upgrade device as claimed in claim 8, which is characterized in that described device further include:
First sending module will be described if first car status information and second car status information mismatch First car status information and the unmatched message of the second car status information are sent to upgrading platform;
Third receiving module receives the message for the stopping upgrading that the upgrading platform is sent;
Stop upgraded module, stopping upgrades the ECU.
10. remote upgrade device as claimed in claim 8, which is characterized in that described device further include:
Module is obtained, the first software version information after obtaining the ECU upgrading;
Second comparison module compares first software version information with the second software version information, second software Version information is the target version information of upgrading;
Second sending module, if first software version information and second software version information mismatch, to described Upgrade platform and sends the ECU upgrading failure news.
11. remote upgrade device as claimed in claim 10, which is characterized in that described device further include:
4th receiving module, receives the second software upgrade package that the upgrading platform is sent, and second software upgrade package includes The upgrade file of software version before the ECU upgrading;
Second upgraded module upgrades the ECU according to second software upgrade package.
12. a kind of remote upgrade device of electronic control unit is applied to upgrading platform characterized by comprising
First receiving module receives the third car status information that the car-mounted terminal of target vehicle is sent, wherein the third vehicle Status information includes the components information of the target vehicle;
Determining module determines the ECU for needing to carry out software upgrading according to the third car status information;
First obtains module, obtains the first software upgrade package, wherein first software upgrade package is believed including the first vehicle-state The upgrade file of breath and the ECU, first car status information includes components information corresponding with the ECU;
First software upgrade package is sent to the car-mounted terminal of target vehicle by the first sending module.
13. remote upgrade device as claimed in claim 12, which is characterized in that described device further include:
Second sending module, if receiving the first car status information and the second car status information that the car-mounted terminal is sent Unmatched message then sends the message for stopping upgrading to the car-mounted terminal of target vehicle.
14. remote upgrade device as claimed in claim 12, which is characterized in that described device further include:
Second obtains module, the software version before obtaining the ECU upgrading;
Third obtains module, obtains the second software upgrade package of the upgrade file including the software version;
Second sending module, if the ECU upgrading failure news that the car-mounted terminal is sent is received, by described second Software upgrade package is sent to the car-mounted terminal.
15. a kind of remote upgrade device of electronic control unit characterized by comprising memory, processor and be stored in institute The computer program that can be run on memory and on the processor is stated, the processor executes real when the computer program The now step in the remote upgrade method of electronic control unit according to any one of claims 1 to 4 or the program quilt The step in the remote upgrade method of the electronic control unit as described in any one of claim 5 to 7 is realized when processor executes Suddenly.
CN201810915104.3A 2018-08-13 2018-08-13 A kind of remote upgrade method and device of electronic control unit Pending CN109189422A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810915104.3A CN109189422A (en) 2018-08-13 2018-08-13 A kind of remote upgrade method and device of electronic control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810915104.3A CN109189422A (en) 2018-08-13 2018-08-13 A kind of remote upgrade method and device of electronic control unit

Publications (1)

Publication Number Publication Date
CN109189422A true CN109189422A (en) 2019-01-11

Family

ID=64921600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810915104.3A Pending CN109189422A (en) 2018-08-13 2018-08-13 A kind of remote upgrade method and device of electronic control unit

Country Status (1)

Country Link
CN (1) CN109189422A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795124A (en) * 2019-10-18 2020-02-14 安徽江淮汽车集团股份有限公司 Remote upgrading method, device, equipment and storage medium for automobile safety part
CN110806894A (en) * 2019-10-31 2020-02-18 安徽江淮汽车集团股份有限公司 Automobile part software version management method, equipment, storage medium and device
CN113094073A (en) * 2021-04-29 2021-07-09 芜湖雄狮汽车科技有限公司 Vehicle remote upgrading method and device and server
CN113377403A (en) * 2021-06-25 2021-09-10 奇瑞汽车股份有限公司 Vehicle remote software upgrading method and device
CN113760334A (en) * 2021-09-27 2021-12-07 北京国家新能源汽车技术创新中心有限公司 ECU program flashing method and device
WO2022198527A1 (en) * 2021-03-24 2022-09-29 华为技术有限公司 Method and apparatus for upgrading terminal
US20230107783A1 (en) * 2020-03-26 2023-04-06 Autonetworks Technologies, Ltd. In-vehicle information processing apparatus, information processing method, and server program

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060066150A1 (en) * 2004-09-01 2006-03-30 Honda Motor Co., Ltd. Assembly line control system and immobilizer data protocol and communication process flow
CN103631607A (en) * 2012-08-21 2014-03-12 广州汽车集团股份有限公司 Vehicle-mounted ECU software refreshing mistake proofing method and system
CN104539668A (en) * 2014-12-16 2015-04-22 北京新能源汽车股份有限公司 Method and system for remotely updating software program in automobile
WO2016193278A1 (en) * 2015-06-01 2016-12-08 Opensynergy Gmbh Method for updating a control unit for an automotive vehicle, control unit for an automotive vehicle, and computer program product
CN107533491A (en) * 2015-09-14 2018-01-02 松下电器(美国)知识产权公司 Gateway apparatus, firmware update and control program
CN107577473A (en) * 2017-08-24 2018-01-12 苏州汇川联合动力系统有限公司 The multi-point remote method for burn-recording and system of a kind of electric automobile software upgrading
CN108132795A (en) * 2018-01-02 2018-06-08 北京新能源汽车股份有限公司 The Oftware updating method and device of a kind of electronic control unit

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060066150A1 (en) * 2004-09-01 2006-03-30 Honda Motor Co., Ltd. Assembly line control system and immobilizer data protocol and communication process flow
CN103631607A (en) * 2012-08-21 2014-03-12 广州汽车集团股份有限公司 Vehicle-mounted ECU software refreshing mistake proofing method and system
CN104539668A (en) * 2014-12-16 2015-04-22 北京新能源汽车股份有限公司 Method and system for remotely updating software program in automobile
WO2016193278A1 (en) * 2015-06-01 2016-12-08 Opensynergy Gmbh Method for updating a control unit for an automotive vehicle, control unit for an automotive vehicle, and computer program product
CN107533491A (en) * 2015-09-14 2018-01-02 松下电器(美国)知识产权公司 Gateway apparatus, firmware update and control program
CN107577473A (en) * 2017-08-24 2018-01-12 苏州汇川联合动力系统有限公司 The multi-point remote method for burn-recording and system of a kind of electric automobile software upgrading
CN108132795A (en) * 2018-01-02 2018-06-08 北京新能源汽车股份有限公司 The Oftware updating method and device of a kind of electronic control unit

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795124A (en) * 2019-10-18 2020-02-14 安徽江淮汽车集团股份有限公司 Remote upgrading method, device, equipment and storage medium for automobile safety part
CN110806894A (en) * 2019-10-31 2020-02-18 安徽江淮汽车集团股份有限公司 Automobile part software version management method, equipment, storage medium and device
CN110806894B (en) * 2019-10-31 2021-02-05 安徽江淮汽车集团股份有限公司 Automobile part software version management method, equipment, storage medium and device
US20230107783A1 (en) * 2020-03-26 2023-04-06 Autonetworks Technologies, Ltd. In-vehicle information processing apparatus, information processing method, and server program
WO2022198527A1 (en) * 2021-03-24 2022-09-29 华为技术有限公司 Method and apparatus for upgrading terminal
CN113094073A (en) * 2021-04-29 2021-07-09 芜湖雄狮汽车科技有限公司 Vehicle remote upgrading method and device and server
CN113094073B (en) * 2021-04-29 2024-03-12 芜湖雄狮汽车科技有限公司 Vehicle remote upgrading method, device and server
CN113377403A (en) * 2021-06-25 2021-09-10 奇瑞汽车股份有限公司 Vehicle remote software upgrading method and device
CN113760334A (en) * 2021-09-27 2021-12-07 北京国家新能源汽车技术创新中心有限公司 ECU program flashing method and device

Similar Documents

Publication Publication Date Title
CN109189422A (en) A kind of remote upgrade method and device of electronic control unit
CN105208112A (en) Automobile controller software remote upgrade method and internet-of-vehicle system
CN108701064B (en) Program update system, program update method, and computer program
CN107992321A (en) ECU software update method, device, vehicle-mounted T-BOX and vehicle
CN109032653A (en) Pilotless automobile car-mounted terminal upgrade method, device, equipment and storage medium
EP2811696A1 (en) Train-information management device and method for selecting control software therefor
CN110147242A (en) Upgrading in the downloading of space relies on inspection method and device, storage medium and terminal
CN108241498A (en) A kind of mobile unit upgrade method, device and vehicle
CN112328282A (en) Remote upgrading method, equipment, device and medium for vehicle-mounted central control system
CN113434168A (en) Vehicle-mounted network architecture self-adaptive upgrading method based on intelligent hardware computing power
CN112015489A (en) Management method, device, storage medium and system for vehicle-mounted software
CN110288055A (en) The anti-mixed management method of part, electronic device, equipment and storage medium
CN114675855A (en) Vehicle software remote upgrading method and device and platform equipment
CN108920962A (en) Firmware downloads sign test method, firmware dissemination method, mobile terminal and server
CN108471456A (en) Vehicle mounted communication module upgrade-system and upgrade method
CN103067499A (en) Data processing method and processing device
CN114915554B (en) Remote upgrading method, device, computer equipment and storage medium
CN110389780A (en) Edition data processing method, system and equipment
CN113050960A (en) OTA (over the air) upgrading method and device, vehicle-mounted terminal and storage medium
JPH03502750A (en) Methods and systems for communicating information and controlling components
CN108535692A (en) A kind of bus location method and car position system
CN106851535A (en) Method and device for sharing Bluetooth by multiple systems
CN112230953A (en) Visual navigation aid equipment firmware upgrading method and device, computer equipment and medium
CN113296811A (en) Vehicle body OTA remote upgrading system and method based on networking vehicle-mounted terminal
CN110618826A (en) Method and device for updating application program and terminal equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190111

RJ01 Rejection of invention patent application after publication