CN110297649A - Method, system and the equipment of software upgrading are carried out to the electronic control unit of vehicle - Google Patents
Method, system and the equipment of software upgrading are carried out to the electronic control unit of vehicle Download PDFInfo
- Publication number
- CN110297649A CN110297649A CN201910512102.4A CN201910512102A CN110297649A CN 110297649 A CN110297649 A CN 110297649A CN 201910512102 A CN201910512102 A CN 201910512102A CN 110297649 A CN110297649 A CN 110297649A
- Authority
- CN
- China
- Prior art keywords
- control unit
- software upgrading
- electronic control
- vehicle
- updated
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000004891 communication Methods 0.000 claims abstract description 62
- 230000004044 response Effects 0.000 claims abstract description 7
- 238000012795 verification Methods 0.000 claims description 10
- 230000005611 electricity Effects 0.000 claims 1
- 230000001419 dependent effect Effects 0.000 abstract description 3
- 230000008569 process Effects 0.000 description 17
- 230000006870 function Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 6
- 230000003993 interaction Effects 0.000 description 4
- 238000000151 deposition Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 210000003733 optic disk Anatomy 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The present embodiments relate to method, system and equipment that the electronic control unit of a kind of pair of vehicle carries out software upgrading.This method comprises: there are software upgrading packets in removable storage unit in response to detecting access, software upgrading packet is obtained, software upgrading packet includes the update file being updated for the software of at least one electronic control unit of vehicle;Software upgrading packet based on acquisition, determines electronic control unit to be updated in vehicle;Determine software upgrading mode associated with electronic control unit to be updated, software upgrading mode is dependent on the communication modes between the central control system of electronic control unit and vehicle to be updated;And it is based on software upgrading mode, software upgrading is carried out to electronic control unit to be updated.The embodiment of the present invention solves the problems, such as that software upgrading more new tool is skimble-scamble, can be updated to all ECU to accurate exhaustive, and the efficiency and reliability of software upgrading is greatly improved.
Description
Technical field
Present invention relates in general to technical field of vehicle, and in particular to the electronic control unit of a kind of pair of vehicle carries out software
Method, system and the equipment of update.
Background technique
With being constantly progressive for modern automobile industry technology, occur many intelligent automobiles in the market.The master of intelligent automobile
It is characterized in the vehicle system for having feature-rich, the realization of these functions depends on the various electronic control units of vehicle
(ECU, Electronic Control Unit).For example, vehicle is generally all preset with the fast development of automatic Pilot technology
Realize the ECU of automatic Pilot.
In the R&D process of vehicle and after listing, intelligent vehicle needs to carry out multiple software iteration, soft every time
After part version updating, software upgrade job is held to factory end and after sale and brings very big pressure.Common software upgrading or update
Mode be by space download technology (OTA, Over-the-Air Technology) remotely realize.However, OTA upgrading according to
Rely the quality in network communication, the effective means of factory end inventory's vehicle upgrading can not be become.In addition, currently carrying out software to ECU
The means disunity of update is easy to cause the software upgrading omitted to certain controllers.
Summary of the invention
In view of the above-mentioned problems, the electronic control unit that the embodiment of the present invention provides a kind of pair of vehicle carries out software upgrading
Method, system and equipment.
In the first aspect of the present invention, the method that the electronic control unit of a kind of pair of vehicle carries out software upgrading is provided.It should
Method includes: that there are software upgrading packets in the removable storage unit of access in response to detecting, obtains software upgrading packet, software
Updating includes the update file being updated for the software of at least one electronic control unit of vehicle;Based on the soft of acquisition
Part updates packet, determines electronic control unit to be updated in vehicle;Determination is associated with electronic control unit to be updated soft
Part update mode, software upgrading mode is dependent on logical between the central control system of electronic control unit and vehicle to be updated
News mode;And it is based on software upgrading mode, software upgrading is carried out to electronic control unit to be updated.
In certain embodiments, method further include: create corresponding between the electronic control unit of vehicle and communication modes
Relationship, communication modes include USB communication modes and CAN communication mode, and are passed through using the electronic control unit of CAN communication mode
It is connect by gateway apparatus with central control system.
In certain embodiments, determine that electronic control unit to be updated in vehicle includes: that identification software updates in packet
The description information of file is updated, description information includes version number and vehicle configuration information;And it is based on description information, it determines to more
New electronic control unit.
In certain embodiments, method further include: detect the driving status of vehicle;And meet in response to driving status soft
Part update condition carries out software upgrading to electronic control unit to be updated.
In certain embodiments, determine that software upgrading mode associated with electronic control unit to be updated includes: base
In updating document location of the file in software upgrading packet, software upgrading mode is determined.
In certain embodiments, the mark of file instruction electronic control unit is updated, wherein determining and to be updated electronics
The associated software upgrading mode of control unit includes: based on the mark and vehicle for updating electronic control unit indicated by file
Electronic control unit and communication modes between corresponding relationship, determine software upgrading mode.
In certain embodiments, software upgrading packet is carried out to electronic control unit to be updated based on software upgrading mode
It includes: when software upgrading mode is USB update mode, checksum update file, and after verification passes through, to electronics to be updated
Control unit is based on updating file progress software upgrading;And when software upgrading mode is CAN update mode, checksum update text
Part, and after verification passes through, be based on CAN bus with electronic control unit to be updated and establish communication, and to be updated
Electronic control unit is based on updating file progress software upgrading.
In certain embodiments, electronic control unit to be updated in vehicle is determined further include: show determining to be updated
Electronic control unit;And selection information to the electronic control unit of display is received, to confirm electronic control to be updated
Unit.
In the second aspect of the present invention, the system that the electronic control unit of a kind of pair of vehicle carries out software upgrading is provided.It should
System includes the multiple electronic control units and central control system of vehicle, and multiple electronic control units pass through the communication side USB
One of formula and CAN communication mode are communicated with central control system, and central control system is retouched according to a first aspect of the present invention
The method stated carries out software upgrading to the electronic control unit of vehicle.
In the third aspect of the present invention, a kind of vehicle electronic device is provided, including processor and is stored with depositing for instruction
Reservoir, instruction promote vehicle electronic device to execute described method according to a first aspect of the present invention when being executed by processor.
The embodiment of the present invention will update unification to the software upgrading of ECU and be carried out by vehicle system, solve software upgrading
The skimble-scamble problem of more new tool can be updated all ECU to accurate exhaustive;In addition, without it is other such as
The external equipment of special upgrade equipment, diagnostic equipment, and without using external network, after software version update, without investment
Too many manpower and tool resources only can be rapidly completed inventory's vehicle using conventional removable storage device and vehicle is soft after sale
Part upgrading, is greatly improved the efficiency and reliability of software upgrading.
Detailed description of the invention
Fig. 1 shows the schematic block diagram according to Vehicular system according to an embodiment of the present invention;
Fig. 2 shows electronic control units used for vehicles according to an embodiment of the present invention to carry out the system of software upgrading
Schematic block diagram;
Fig. 3 shows the process that the electronic control unit according to an embodiment of the present invention to vehicle carries out the method for software upgrading
Figure;
Fig. 4 shows the process that the electronic control unit according to an embodiment of the present invention to vehicle carries out the process of software upgrading
Figure;And
Fig. 5 shows the block diagram for being suitable for realizing the electronic equipment of the embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with specific embodiment, and reference
Attached drawing, the present invention is described in more detail.But as known to those skilled in the art, the invention is not limited to attached drawings and following reality
Apply example.
As described herein, term " includes " and its various variants are construed as open-ended term, it means that " packet
It includes but is not limited to ".Term "based" is construed as " being based at least partially on ".Term " one embodiment " it is understood that
For " at least one embodiment ".Term " another embodiment " is construed as " at least one other embodiment ".
As previously mentioned, will do it large-scale inventory's vehicle and vehicle processing after sale after software version update every time, need
The cooperation upgrading of the tool resources such as many manpower and special upgrade equipment, diagnostic equipment is put into, and software upgrading may need
A variety of specific purpose tools are wanted to upgrade, it is likely that the update to certain controllers is caused to omit.In view of this, the embodiment of the present invention provides
The electronic control unit of a kind of pair of vehicle carries out the scheme of software upgrading, it is intended at least be able to solve these problems.
Herein, electronic control unit includes the various controls and processing component that various functions are realized in vehicle, such as
Realize the wireless communication module that the list-directed instrument controller of instrument, the car body controller of realization Body Control, realization wirelessly communicate
Etc..Electronic control unit is interacted with vehicle system, and vehicle system here is to realize vehicle central or central controlled
System, such as based on the central control system of vehicle operating system, vehicle system herein can be mutual with central control system
Change use.
The embodiment of the present invention is further described with reference to the accompanying drawing.Inventors noted that for current intelligent vapour
Vehicle can configure various controllers to according to the various different function that it is realized using different communication modes and vehicle device system
System interacts.Advantageously, different communication modes are suitable for a variety of demands such as different message capacities.
Fig. 1 shows the schematic block diagram of Vehicular system 100 according to an embodiment of the present invention.As shown, system 100 is wrapped
Include vehicle system 110 and various electronic control unit ECU 121-128.Wherein, certain ECU pass through USB communication modes and vehicle device
The interaction of system 110, certain ECU pass through controller local area network (CAN, Controller Area Network) and vehicle system
110 interactions.
Specifically go out as shown in the figure, instrument controller 121 and wireless communication module 122 pass through USB communication modes and vehicle device
System communication, wireless communication module 122 may include such as 4G or 5G module.In general, these controllers or module and vehicle body system
The interaction data of system is frequent and data volume is big, and software upgrade package is also huger, and the transmission rate of CAN bus is limited, because
This, is advantageous using USB communication modes.
The relevant controller of the car body of car body controller 123, air-conditioner controller 124, louver controller 125 etc accesses vehicle
Body CAN network, the relevant control of vehicle power of gearbox control 126, engine controller 127, gear controller 128 etc
Device accesses power CAN network.Similarly, other ECU can also access corresponding CAN network.In the present embodiment, each CAN net
Network is interacted via amusement CAN network with vehicle system 110 by gateway module 130.
It should be understood that vehicle system 110 supports multiple communication modes, USB communication modes and CAN communication side are included at least
Formula.CAN bus communication protocol is followed by each ECU that CAN network communicates, gateway module 130 realizes the forwarding of data packet, routing
Etc. functions.In addition, following USB communication protocol by each ECU that USB communication modes communicate.
Other than considering communication modes in the ECU software upgrading to vehicle, the embodiment of the present invention is by software upgrading
It is unified to be upgraded by vehicle system, without particular devices such as special upgrade equipment, diagnostic equipments, without external network
It supports.As a result, after software version update, without putting into excessive manpower and tool resources, can be rapidly completed inventory's vehicle and
Vehicle software upgrades after sale, and working efficiency is greatly improved.
Fig. 2 shows the systems that electronic control unit used for vehicles according to an embodiment of the present invention carries out software upgrading
200 schematic block diagram.As shown, the vehicle system 210 in system 200 includes USB communication module 211 and CAN communication mould
Block 212.The ECU of update to be upgraded respectively can be interacted and be communicated with USB communication module 211 or CAN communication module 212.
Specifically, ECU 220 to be updated is connected by usb signal line D+, D- and USB communication module 211, ECU 222 to be updated
It is connect via gateway module 221 with CAN communication module 212 using CAN bus (CAN_H, CAN_L).
According to an embodiment of the invention, software upgrading packet is stored in removable storage device 230.Removable storage device
230 include various portable, removable general or specialized storage equipment, USB flash disk, SD card, mobile hard disk etc..The software is more
It newly include the software update file for one or more ECU.When removable storage device 230 accesses vehicle by USB interface
Machine system 210, update module 213 recognize software upgrading packet, by the extraction and analysis to software upgrading packet, determine to be updated
All ECU.It is direct by vehicle system for the ECU that USB updates and then according to the different upgrading update modes of these ECU
Interaction is completed to update;For the ECU that CAN bus updates, connection is established by gateway module 221 and ECU, completes upgrading.Specifically
Process will be described in more detail below.
It is appreciated that the function realization of update module 213 can be embedded into vehicle system 210, such as center control
A part of system processed controls the process of software upgrading and carries out relevant information processing.In addition, vehicle system 210 also mentions
For debugging port, so that when vehicle system can not start update due to software issue, commissioning device 231 can be by debugging end
Mouth access is repaired.
Fig. 3 shows the method 300 that the electronic control unit according to an embodiment of the present invention to vehicle carries out software upgrading
Flow chart, method 300 can realize at the vehicle system of system 100 and 200.
310, when there are software upgrading packet, acquisition software upgrading packets in the removable storage unit for detect access.It is soft
It includes the update file being updated for the software of at least one electronic control unit of vehicle that part, which updates,.Implement at one
Example in, software upgrading packet include update file description information, the description information may include version number, update file it is targeted
ECU mark and vehicle configuration information etc..In other words, software upgrading packet includes attribute and the vehicle device system for updating file
The information united to identify upgating object.
320, the software upgrading packet based on acquisition determines electronic control unit to be updated in vehicle.According to the present invention
One embodiment, vehicle system identification software update packet in update file description information, description information may include version
This number, the mark of ECU that is directed to of software upgrading and vehicle configuration information etc..It is each by comparing vehicle according to description information
The version number of ECU, and judge whether vehicle configuration required by software upgrading meets, to ensure that ECU to be updated is can to rise
Grade, so that it is determined that ECU to be updated.
In another embodiment, vehicle system also to user show according to analysis software upgrading packet and determination it is to be updated
Electronic control unit, so that user further confirms that the ECU for wanting to update.It is determined for example, being shown by graphical interface of user
Each ECU icon, when user by click selection etc. operation, select and confirm want update ECU when, vehicle system receive
To the selection information of the ECU of display, to confirm electronic control unit to be updated.
330, software upgrading mode associated with electronic control unit to be updated is determined.Software upgrading mode relies on
Communication modes between the central control system (or vehicle system) of electronic control unit and vehicle to be updated, such as preceding institute
It states, communication modes may include USB communication and CAN communication, and use the electronic control unit of CAN communication can be via gateway
Device is connect with central control system.
According to one embodiment of present invention, vehicle system creates and safeguards the electronic control unit and communication modes of vehicle
Between corresponding relationship.For each of being determined ECU to be updated 320, according to the mark for updating ECU indicated by file
Knowledge and the corresponding relationship between ECU and communication modes, the software upgrading mode for determining each ECU to be updated namely USB are more
New paragon or CAN update mode.
In another embodiment, the update file of different update mode can be placed on different files by software upgrading packet
The update file of different update mode is placed for example, by using different files, or uses different memory node positions in position
It sets storage and updates file etc., distinguish different update modes by this method.Correspondingly, vehicle system can be based on update file
Document location in software upgrading packet determines software upgrading mode.
340, it is based on software upgrading mode, software upgrading is carried out to electronic control unit to be updated.According to different
Software upgrading mode, i.e. USB update mode or CAN update mode, vehicle system is with corresponding communication protocol and accordingly
Process carries out software upgrading to ECU to be updated.
In order to further describe the embodiment of the present invention, Fig. 4 shows the electronics according to an embodiment of the present invention to vehicle
Control unit carries out the flow chart of the process 400 of software upgrading, and process 400 can be real at the vehicle system of system 100 and 200
It is existing.
It 401, detects there are software upgrading packet in removable storage device, software upgrading packet includes being directed to vehicle extremely
The update file that the software of a few electronic control unit is updated.Judge whether vehicle-state meets carry out software 403
The update condition of update.According to an embodiment of the invention, in order to ensure the enforcement that the software upgrading on ECU does not influence vehicle is pacified
Entirely, update condition include need vehicle hang P grade, remain stationary speed be 0, and car battery power voltage value should be greater than it is a certain
Threshold value, such as 12V.
When judging that vehicle-state is unsatisfactory for carrying out the update condition of software upgrading 403, process 400 terminates;When judgement is full
When sufficient update condition, then judge whether the format of software upgrading packet is correct 405, only when format is correct, in 406 identifications
Update file in software upgrading packet.It include one or more update files in software upgrading packet, each update file is for spy
Fixed ECU.Next, updating file for each, corresponding update treatment process is carried out.
407, a certain description information for updating file is obtained, including version number, updates targeted ECU mark, vehicle
The relevant informations such as configuration information.Then, judge whether the update file can be used for the ECU software of this vehicle more in 409 and 411
Newly, in another words, it is determined that going out whether ECU corresponding to the update file is ECU to be updated.
Specifically, judging whether the version of current ECU is legacy version 409, and judge whether this vehicle meets 411
Configuration state required by the update file.When being judged as YES, it is current can to determine that the update file can be used for this vehicle
ECU software upgrading.When being judged as NO in 409 or 411, it is meant that software upgrading cannot be carried out to corresponding ECU, therefore
Next update file is judged whether there is 410, continues to obtain next update in software upgrading packet and if so, returning to 407
The description information of file updates file if there is no other, then process 400 terminates.
When determining progress ECU software update, software cryptography verifications are carried out 413, and then judge whether verification leads to 415
It crosses.When verification does not pass through, terminate the software upgrading for being directed to current ECU, jumps to 410 and judge whether there is next update text
Part, to continue with next update file in software upgrading packet;When passed the verification, software upgrading mode is determined 417,
According to as previously indicated, vehicle system can determine that updating ECU corresponding to file is suitable for USB update mode or CAN update
Mode.
When determination is USB update mode, software upgrading is directly executed 419.When judging that software upgrading terminates 421
When, 435 judgement software upgrading packets are jumped to the presence or absence of next update file, to obtain next update in software upgrading packet
The file information, into the renewal process for being directed to next ECU.If judging that software upgrading is not finished 421, liter can be reattempted to
Grade, judges whether the frequency of failure reaches pre-determined number (such as 3 times) 423, when not reaching pre-determined number, returns to 419 again
Execute software upgrading, if the frequency of failure reaches pre-determined number still and can not upgrade update 435 judge whether there is it is next more
Whether new file, i.e. all ECU involved in software upgrading packet are complete update.If there is no next update file,
Update is completed in i.e. all ECU, and process 400 terminates 437;If not all ECU completes to update, returns to 407 and continue
Obtain the description information of next update file in software upgrading packet.
When 417 determinations are CAN update modes, are established and communicated by gateway apparatus and ECU 425, and in 427 judgements
When communication is established, software upgrading is executed 429.If failing to establish with the CAN communication of ECU, continue to judge software upgrading 435
Packet whether there is next update file, to obtain next update the file information in software upgrading packet.With USB update mode class
Seemingly, whether after executing software upgrading, judging to update 431 terminates and judges to update unsuccessful numbers 433, works as update
At the end of go to 435 accordingly and judge whether that all ECU involved in software upgrading packet are complete update.It is not tied when updating
Beam, it tries the software upgrading of current ECU is executed again, if returned when 433 judge that the frequency of failure does not reach pre-determined number
It returns 425 and re-executes software upgrading for current ECU, if the frequency of failure reaches pre-determined number and can not still upgrade update,
435 judge whether there is next update file, and only all ECU involved in the software upgrading packet are complete update, mistake
Journey 400 terminates.
It is appreciated that although being not limited to said sequence based on specifically the above method and process is sequentially described,
Different steps can be executed parallel or be executed in reverse order, these feasible schemes are in protection model of the invention
Within enclosing.
The electronic control unit to vehicle as depicted in figures 1 and 2 provided in an embodiment of the present invention carries out software upgrading
System, multiple electronic control units and central control system (vehicle system) including vehicle, multiple electronic control units
It is communicated by one of USB communication modes and CAN communication mode with central control system, central control system is according to method
300 or process 400 software upgrading is carried out to the electronic control unit of vehicle.
From the above-mentioned description to the embodiment of the present invention as it can be seen that the embodiment of the present invention will update unification to the software upgrading of ECU
Carried out by vehicle system, solve the problems, such as that software upgrading more new tool is skimble-scamble, can accurate exhaustive to all ECU
It is updated;In addition, without other such as special upgrade equipment, the external equipment of diagnostic equipment, and without using outside
Network, without putting into too many manpower and tool resources, only utilizes conventional removable storage device after software version update
Inventory's vehicle can be rapidly completed and vehicle software upgrades after sale, working efficiency is greatly improved.
Fig. 5 shows the block diagram for being suitable for realizing the electronic equipment 500 of the embodiment of the present invention.Equipment 500 can be used to
Realize a part of vehicle system or central control system.As shown, equipment 500 includes processor 510.Processor 510 is controlled
The operations and functions of control equipment 500.For example, in certain embodiments, processor 510 can be by means of coupled memory
The instruction 530 that is stored in 520 executes various operations.Memory 520 can be any conjunction suitable for local technical environment
Suitable type, and can use any suitable data storage technology to realize, including but not limited to depositing based on semiconductor
Memory device, magnetic memory device and system, light storage device and system.Although illustrate only a memory cell in Fig. 5,
It is the memory cell that can have multiple physics different in equipment 500.
Processor 510 can be any suitable type suitable for local technical environment, and may include but unlimited
In general purpose computer, special purpose computer, microcontroller, digital signal controller (DSP) and based on controller multicore control
One or more of device framework is multiple.Equipment 500 also may include multiple processors 510.
When equipment 500 serves as vehicle system or part of it, processor 510 promotes equipment 500 when executing instruction 530
Movement is executed, to realize above with reference to Fig. 1-Fig. 4 method 300 described and process 400.According to an embodiment of the invention, movement
Include: that there are software upgrading packets in the removable storage unit of access in response to detecting, obtains software upgrading packet, software upgrading
Packet includes the update file being updated for the software of at least one electronic control unit of vehicle;Software based on acquisition is more
New packet, determines electronic control unit to be updated in vehicle;Determine software associated with electronic control unit to be updated more
New paragon, software upgrading mode is dependent on the communication side between the central control system of electronic control unit and vehicle to be updated
Formula;And it is based on software upgrading mode, software upgrading is carried out to electronic control unit to be updated.
In certain embodiments, it acts further include: create corresponding between the electronic control unit of vehicle and communication modes
Relationship, communication modes include USB communication modes and CAN communication mode, and are passed through using the electronic control unit of CAN communication mode
It is connect by gateway apparatus with central control system.
In certain embodiments, determine that electronic control unit to be updated in vehicle includes: that identification software updates in packet
The description information of file is updated, description information includes version number and vehicle configuration information;And it is based on description information, it determines to more
New electronic control unit.In one embodiment, electronic control unit to be updated in vehicle is determined further include: display determines
Electronic control unit to be updated;And reception is to the selection information of the electronic control unit of display, it is to be updated to confirm
Electronic control unit.
In certain embodiments, it acts further include: detect the driving status of vehicle;And meet in response to driving status soft
Part update condition carries out software upgrading to electronic control unit to be updated.
In certain embodiments, determine that software upgrading mode associated with electronic control unit to be updated includes: base
In updating document location of the file in software upgrading packet, software upgrading mode is determined.In certain embodiments, file is updated to refer to
Show the mark of electronic control unit, wherein determining that software upgrading mode associated with electronic control unit to be updated includes:
Based on pair updated indicated by file between the mark of electronic control unit and the electronic control unit of vehicle and communication modes
It should be related to, determine software upgrading mode.
In certain embodiments, software upgrading packet is carried out to electronic control unit to be updated based on software upgrading mode
It includes: when software upgrading mode is USB update mode, checksum update file, and after verification passes through, to electronics to be updated
Control unit is based on updating file progress software upgrading;And when software upgrading mode is CAN update mode, checksum update text
Part, and after verification passes through, be based on CAN bus with electronic control unit to be updated and establish communication, and to be updated
Electronic control unit is based on updating file progress software upgrading.
It will be understood by those skilled in the art that in flow charts indicate or logic described otherwise above herein and/or
Step may be embodied in and appoint for example, being considered the order list of the executable instruction for realizing logic function
In what computer-readable medium, for instruction execution system, device or equipment (such as computer based system including processor
System or other can be from instruction execution system, device or equipment instruction fetch and the system executed instruction) use, or combine this
A little instruction execution systems, device or equipment and use.For the purpose of this specification, " computer-readable medium " can be it is any can be with
Include, store, communicate, propagate, or transport program is for instruction execution system, device or equipment or in conjunction with these instruction execution systems
System, device or equipment and the device used.
The more specific example (non-exhaustive list) of computer-readable medium include the following: there are one or more wirings
Electrical connection section (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiment or examples in can be combined in any suitable manner.
More than, embodiments of the present invention are illustrated.But the present invention is not limited to above embodiment.It is all
Within the spirit and principles in the present invention, any modification, equivalent substitution, improvement and etc. done should be included in guarantor of the invention
Within the scope of shield.
Claims (10)
1. the method that the electronic control unit of a kind of pair of vehicle carries out software upgrading characterized by comprising
There are software upgrading packets in removable storage unit in response to detecting access, obtain the software upgrading packet, described
Software upgrading packet includes the update file being updated for the software of at least one electronic control unit of vehicle;
The software upgrading packet based on acquisition, determines electronic control unit to be updated in vehicle;
Determine that software upgrading mode associated with the electronic control unit to be updated, the software upgrading mode depend on
Communication modes between the central control system of the electronic control unit and vehicle to be updated;And
Based on the software upgrading mode, software upgrading is carried out to the electronic control unit to be updated.
2. the method according to claim 1, wherein further include:
The corresponding relationship between the electronic control unit and the communication modes of vehicle is created, the communication modes include USB logical
News mode and CAN communication mode, and using the CAN communication mode electronic control unit via gateway apparatus and it is described in
Entreat control system connection.
3. the method according to claim 1, wherein wherein determining electronic control unit packet to be updated in vehicle
It includes:
Identify the description information of the update file in the software upgrading packet, the description information includes version number and vehicle
Configuration information;And
Based on the description information, electronic control unit to be updated is determined.
4. the method according to claim 1, wherein further include:
Detect the driving status of vehicle;And
Meet software upgrading condition in response to the driving status, software is carried out more to the electronic control unit to be updated
Newly.
5. the method according to claim 1, wherein wherein determining and the electronic control unit phase to be updated
Associated software upgrading mode includes:
Document location based on the update file in the software upgrading packet, determines the software upgrading mode.
6. according to the method described in claim 2, it is characterized in that, it is described update file instruction electronic control unit mark,
Wherein determine that software upgrading mode associated with the electronic control unit to be updated includes:
Based on the mark of electronic control unit and the electronic control unit of vehicle and the communication indicated by the update file
The corresponding relationship between mode determines the software upgrading mode.
7. the method according to claim 1, wherein wherein based on the software upgrading mode to described to be updated
Electronic control unit carry out software upgrading include:
When the software upgrading mode is USB update mode, the update file is verified, and after the verification passes through,
The update file is based on to the electronic control unit to be updated and carries out software upgrading;And
When the software upgrading mode is CAN update mode, the update file is verified, and after the verification passes through,
CAN bus is based on the electronic control unit to be updated and establishes communication, and to the electronic control unit to be updated
Software upgrading is carried out based on the update file.
8. according to the method described in claim 3, it is characterized in that, wherein determining electronic control unit to be updated in vehicle also
Include:
Show the determining electronic control unit to be updated;And
The selection information to the electronic control unit of display is received, to confirm electronic control unit to be updated.
9. the system that the electronic control unit of a kind of pair of vehicle carries out software upgrading, which is characterized in that multiple electricity including vehicle
Sub-control unit and central control system, the multiple electronic control unit by USB communication modes and CAN communication mode it
One is communicated with the central control system, the central control system side according to claim 1 to 8
Method carries out software upgrading to the electronic control unit of vehicle.
10. a kind of vehicle electronic device characterized by comprising
Processor;And
It is stored with the memory of instruction, described instruction promotes the vehicle electronic device to execute root when being executed by the processor
According to method of any of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910512102.4A CN110297649A (en) | 2019-06-13 | 2019-06-13 | Method, system and the equipment of software upgrading are carried out to the electronic control unit of vehicle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910512102.4A CN110297649A (en) | 2019-06-13 | 2019-06-13 | Method, system and the equipment of software upgrading are carried out to the electronic control unit of vehicle |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110297649A true CN110297649A (en) | 2019-10-01 |
Family
ID=68028065
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910512102.4A Pending CN110297649A (en) | 2019-06-13 | 2019-06-13 | Method, system and the equipment of software upgrading are carried out to the electronic control unit of vehicle |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110297649A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110928567A (en) * | 2019-11-27 | 2020-03-27 | 安徽江淮汽车集团股份有限公司 | Vehicle system upgrading method, terminal device and computer-readable storage medium |
CN112202920A (en) * | 2020-10-23 | 2021-01-08 | 上海擎感智能科技有限公司 | Vehicle machine system upgrading method and device |
CN112506536A (en) * | 2020-11-12 | 2021-03-16 | 东风汽车集团有限公司 | Vehicle-mounted controller software updating method, device, equipment and medium |
CN112787862A (en) * | 2021-01-04 | 2021-05-11 | 东风柳州汽车有限公司 | Vehicle data flashing method and device based on gateway and storage medium |
CN112866176A (en) * | 2019-11-26 | 2021-05-28 | 广州汽车集团股份有限公司 | Network access method, vehicle-mounted electronic control unit and T-BOX |
CN115220959A (en) * | 2022-05-25 | 2022-10-21 | 广州汽车集团股份有限公司 | Data backup method and system and vehicle |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150220321A1 (en) * | 2014-02-06 | 2015-08-06 | Hyundai Motor Company | Method of updating software for vehicle |
CN106354526A (en) * | 2016-08-16 | 2017-01-25 | 北京汽车股份有限公司 | Updating method and system of car-mounted terminal |
CN106656565A (en) * | 2016-11-15 | 2017-05-10 | 广州汽车集团股份有限公司 | Automobile controller remote update method, device and system |
CN109062594A (en) * | 2018-07-20 | 2018-12-21 | 武汉科技大学 | A kind of method that automobile ECU program automatic safe upgrades under embedded QNX/Linux |
CN109597634A (en) * | 2018-10-24 | 2019-04-09 | 北京汽车集团有限公司 | The method, apparatus and vehicle of more new vehicle ECU |
-
2019
- 2019-06-13 CN CN201910512102.4A patent/CN110297649A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150220321A1 (en) * | 2014-02-06 | 2015-08-06 | Hyundai Motor Company | Method of updating software for vehicle |
CN106354526A (en) * | 2016-08-16 | 2017-01-25 | 北京汽车股份有限公司 | Updating method and system of car-mounted terminal |
CN106656565A (en) * | 2016-11-15 | 2017-05-10 | 广州汽车集团股份有限公司 | Automobile controller remote update method, device and system |
CN109062594A (en) * | 2018-07-20 | 2018-12-21 | 武汉科技大学 | A kind of method that automobile ECU program automatic safe upgrades under embedded QNX/Linux |
CN109597634A (en) * | 2018-10-24 | 2019-04-09 | 北京汽车集团有限公司 | The method, apparatus and vehicle of more new vehicle ECU |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112866176A (en) * | 2019-11-26 | 2021-05-28 | 广州汽车集团股份有限公司 | Network access method, vehicle-mounted electronic control unit and T-BOX |
CN112866176B (en) * | 2019-11-26 | 2023-04-18 | 广州汽车集团股份有限公司 | Network access method, vehicle-mounted electronic control unit and T-BOX |
CN110928567A (en) * | 2019-11-27 | 2020-03-27 | 安徽江淮汽车集团股份有限公司 | Vehicle system upgrading method, terminal device and computer-readable storage medium |
CN112202920A (en) * | 2020-10-23 | 2021-01-08 | 上海擎感智能科技有限公司 | Vehicle machine system upgrading method and device |
CN112202920B (en) * | 2020-10-23 | 2023-12-29 | 上海擎感智能科技有限公司 | Vehicle-mounted system upgrading method and device |
CN112506536A (en) * | 2020-11-12 | 2021-03-16 | 东风汽车集团有限公司 | Vehicle-mounted controller software updating method, device, equipment and medium |
CN112787862A (en) * | 2021-01-04 | 2021-05-11 | 东风柳州汽车有限公司 | Vehicle data flashing method and device based on gateway and storage medium |
CN115220959A (en) * | 2022-05-25 | 2022-10-21 | 广州汽车集团股份有限公司 | Data backup method and system and vehicle |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110297649A (en) | Method, system and the equipment of software upgrading are carried out to the electronic control unit of vehicle | |
CN105487883B (en) | Method and system for updating vehicle computing system | |
CN108769226A (en) | The OAT upgrade methods and car-mounted terminal of vehicle | |
CN111158718A (en) | Local communication server, OTA (over the air) upgrading method thereof and cloud server | |
CN108446129B (en) | Method and apparatus for multi-cycle vehicle software update compliance processing | |
CN110928567A (en) | Vehicle system upgrading method, terminal device and computer-readable storage medium | |
CN111277477B (en) | FOTA system supporting simultaneous upgrading of vehicle-mounted multiple network segments | |
CN111381844A (en) | Method and device for updating vehicle ECU firmware | |
WO2021203604A1 (en) | Update test method and apparatus for vehicle component, and computer device and storage medium | |
CN108241494A (en) | Vehicle Electronic Control Unit upgrade method, device, vehicle control electronics and vehicle | |
KR101913706B1 (en) | Lin Network Multi-Channel BootLoader Apparatus And Loading Method Thereof | |
CN106020870A (en) | System and method for quick upgrading of firmware of full liquid crystal instrument | |
CN213303011U (en) | OTA-based vehicle ECU upgrading system | |
CN111708555A (en) | Data processing device, method and system | |
CN108121560A (en) | Difference bag upgrade method, device, terminal and computer readable storage medium | |
CN114363385A (en) | Method, system, equipment and storage medium for cloud updating of automobile end software | |
CN118069189A (en) | Upgrade method, vehicle upgrade system, computer equipment and storage medium | |
CN114064091A (en) | OTA (over the air) upgrade control method and device, electronic equipment and automatic driving vehicle | |
CN114281374A (en) | Remote flash method and system for vehicle electronic control unit and storage medium | |
CN113791800A (en) | Automatic parking control module remote upgrading method and system and automobile | |
CN111628918B (en) | Control method and device of vehicle-mounted communication system and vehicle | |
CN116560688A (en) | Software updating method for domain controller | |
CN110794735A (en) | Remote control device and method | |
CN116866172A (en) | Diagnostic flashing system, method, device and medium in automobile OTA upgrading process | |
KR20110087111A (en) | Avn head unit and ecu upgrade system using bluetooth and method thereof |
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: 20191001 |
|
RJ01 | Rejection of invention patent application after publication |