CN106469072A - Vehicle program updating system and vehicle method for updating program - Google Patents

Vehicle program updating system and vehicle method for updating program Download PDF

Info

Publication number
CN106469072A
CN106469072A CN201510510468.XA CN201510510468A CN106469072A CN 106469072 A CN106469072 A CN 106469072A CN 201510510468 A CN201510510468 A CN 201510510468A CN 106469072 A CN106469072 A CN 106469072A
Authority
CN
China
Prior art keywords
host computer
setting
nodes
program
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510510468.XA
Other languages
Chinese (zh)
Other versions
CN106469072B (en
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.)
BYD Co Ltd
Original Assignee
BYD 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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN201510510468.XA priority Critical patent/CN106469072B/en
Publication of CN106469072A publication Critical patent/CN106469072A/en
Application granted granted Critical
Publication of CN106469072B publication Critical patent/CN106469072B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • Small-Scale Networks (AREA)

Abstract

In vehicle program updating system disclosed by the invention, the plurality of electronic control unit is all connected with this CAN to be correspondingly formed multiple nodes.This host computer is used for controlling this nodes all to forbid the transmission of message and forbid the setting of DTC by this CAN, afterwards, this host computer is used for the setting node sending application program to be updated by this CAN to the plurality of node, and keeps other nodes of the plurality of node to forbid the transmission of message and forbid the setting of DTC.After the completion of the application program update of this setting node, this host computer is used for controlling this nodes all to recover the transmission of message and the setting of DTC by this CAN.Above-mentioned vehicle program updating system, when entering line program renewal to setting node, keeping other nodes to forbid the transmission of message and forbid the setting of DTC, thus reducing CAN load factor, improving the success rate of CAN program renewal.Invention additionally discloses a kind of vehicle method for updating program.

Description

Vehicle program updating system and vehicle method for updating program
Technical field
The present invention relates in vehicular field, more specifically, being related to a kind of vehicle program updating system and a kind of vehicle program Update method.
Background technology
In the vehicle body network agreement of existing various vehicles, CAN (Controller Area Network, controller LAN) bus has the advantages that high speed, real-time is good, possess error diagnosiss, obtain the most in In-vehicle networking It is widely applied, the commonly used CAN of therefore existing vehicle control device is as communication media.
With the development of automotive electronic technology, electronic control unit (Electronic Control Unit, ECU) is increasingly How to be applied on Hyundai Motor.Due to a variety of causes in Electronic Control software development process, after entrucking, ECU In application program there may be certain defect or application program needs to change, be at this moment accomplished by the application in ECU Program is safeguarded or is upgraded.Because ECU is difficult to dismounting after the assembling of car load factory, therefore pass through automobile CAN total It is the simplest, convenient, rapid implementation that line carries out reprogramming to the application program in ECU.
Quantity just because of ECU gets more and more, and the data in CAN also gets more and more, when total by CAN During line more new procedures, the change of total inorganic nitrogen moment frequently can lead to greatly program and updates unsuccessfully.
Content of the invention
It is contemplated that at least solving one of technical problem present in prior art.For this reason, the present invention needs to provide one kind Vehicle program updating system and a kind of vehicle method for updating program.
A kind of vehicle program updating system, including host computer, CAN and multiple electronic control unit.The plurality of electricity Sub-control unit is all connected with this CAN to be correspondingly formed multiple nodes.This host computer is used for by this CAN This nodes all are controlled to forbid the transmission of message and forbid the setting of DTC, afterwards, this host computer is used for by this CAN Application program to be updated is sent to a setting node of the plurality of node by bus, and keeps other of the plurality of node Node is forbidden the transmission of message and is forbidden the setting of DTC.After the completion of the application program update of this setting node, on this Position machine is used for controlling this nodes all to recover the transmission of message and the setting of DTC by this CAN.
Above-mentioned vehicle program updating system, when entering line program renewal to setting node, keeps other nodes to forbid message Sending and forbid the setting of DTC, thus reducing CAN load factor, improving the success rate that CAN program updates.
In one embodiment, this vehicle program updating system includes onboard diagnostic system interface, this onboard diagnostic system Interface connects this CAN and this host computer.
In one embodiment, this vehicle program updating system includes car-mounted terminal, and this car-mounted terminal connects this CAN Bus and this host computer.
In one embodiment, this host computer is used for entering diagnosis meeting by this CAN to this nodes all request Words pattern.This nodes all are used for according to the request entering diagnostic session pattern, send session response to this host computer.Should Host computer is used for, according to this session response, controlling this nodes all to forbid the transmission of message by this CAN and forbidding The setting of DTC.
In one embodiment, after the completion of the application program update of this setting node, this setting node is used for by being somebody's turn to do CAN sends renewal and completes signal to this host computer.This host computer is used for completing signal according to this renewal, by this CAN sends recovery request to this nodes all.This nodes all are used for, according to this recovery request, recovering message Transmission and the setting of DTC.
A kind of vehicle method for updating program, comprises the following steps:
S1:Host computer by CAN control all nodes of being connected in this CAN forbid message transmission and Forbid the setting of DTC, enter step S2 afterwards;
S2:Application program to be updated is sent by this CAN and sets to one of this nodes all by this host computer Determine node, and keep other nodes to forbid the transmission of message and forbid the setting of DTC, enter step S3 afterwards;
S3:After the completion of the application program update of this setting node, this host computer passes through this CAN and controls all being somebody's turn to do Node recovers the transmission of message and the setting of DTC.
In one embodiment, step S1, step S2 and step S3 all include:This host computer passes through OBD System interface connects this CAN.
In one embodiment, step S1, step S2 and step S3 all include:This host computer passes through car-mounted terminal Connect this CAN.
In one embodiment, step S1 includes:
This host computer passes through this CAN asks to enter diagnostic session pattern to this nodes all;
This nodes all, according to the request entering diagnostic session pattern, send session response to this host computer;
This host computer, according to this session response, controls this nodes all to forbid transmission and the taboo of message by this CAN The only setting of DTC.
In one embodiment, step S3 includes:
After the completion of the application program update of this setting node, this setting node sends renewal by this CAN and completes Signal is to this host computer;
This host computer completes signal according to this renewal, is sent by this CAN and recovers message to this nodes all;
This nodes all, according to this recovery message, recover the transmission of message and the setting of DTC.
The additional aspect of the present invention and advantage will be set forth in part in the description, and partly will become from the following description Substantially, or by the practice of the present invention recognize.
Brief description
The above-mentioned and/or additional aspect of the present invention and advantage will become from reference to the description to embodiment for the accompanying drawings below Substantially and easy to understand, wherein:
Fig. 1 is the module diagram of the vehicle program updating system of better embodiment of the present invention;
Fig. 2 is the network topological diagram of the vehicle program updating system of better embodiment of the present invention;
Fig. 3 is the framework schematic diagram of the vehicle program updating system of better embodiment of the present invention;
Fig. 4 is another framework schematic diagram of the vehicle program updating system of better embodiment of the present invention;
Fig. 5 is the another framework schematic diagram of the vehicle program updating system of better embodiment of the present invention;
Fig. 6 is the renewal principle schematic of the vehicle program updating system of better embodiment of the present invention;
Fig. 7 is the flow chart of the program renewal of the vehicle program updating system of better embodiment of the present invention;
Fig. 8 is the schematic flow sheet of the vehicle method for updating program of better embodiment of the present invention.
Specific embodiment
Embodiments of the present invention are described below in detail, the example of described embodiment is shown in the drawings, wherein ad initio extremely The element that same or similar label represents same or similar element or has same or like function eventually.Below by ginseng The embodiment examining Description of Drawings is exemplary, is only used for explaining the present invention, and is not considered as limiting the invention.
In describing the invention it is to be understood that term " first ", " second " are only used for describing purpose, and It is not intended that instruction or hint relative importance or the implicit quantity indicating indicated technical characteristic.Thus, limit There is " first ", the feature of " second " can be expressed or implicitly include one or more described feature.At this In the description of invention, " multiple " are meant that two or more, unless otherwise expressly limited specifically.
In describing the invention, it should be noted that unless otherwise clearly defined and limited, term " installation ", " being connected ", " connection " should be interpreted broadly, for example, it may be being fixedly connected or being detachably connected, or It is integrally connected;Can be to be mechanically connected or electrically connect or can be in communication with each other;Can be to be joined directly together, Can be indirectly connected to by intermediary, can be the connection of two element internals or the interaction relationship of two elements. For the ordinary skill in the art, above-mentioned term specifically containing in the present invention can be understood as the case may be Justice.
Following disclosure provides many different embodiments or example for realizing the different structure of the present invention.For letter Change disclosure of the invention, hereinafter to the part of specific examples be set for describing.Certainly, they are only merely illustrative, And purpose does not lie in the restriction present invention.Additionally, the present invention can repeat reference numerals and/or reference in different examples Letter, this repeat to be for purposes of simplicity and clarity, itself do not indicate discussed various embodiment and/or set Relation between fixed.Additionally, the invention provides various specific technique and material example, but this area is common Technical staff can be appreciated that the application of other techniques and/or the use of other materials.
Refer to Fig. 1, the vehicle program updating system 100 of better embodiment of the present invention includes host computer 102, CAN Bus 104 and multiple electronic control unit (ECU).
The plurality of electronic control unit is all connected with this CAN 104 to be correspondingly formed multiple nodes 106.This embodiment party In formula, each electronic control unit is internally connected with CAN controller and CAN transceiver, and electronic control unit passes through CAN transceiver is connected in CAN 104, forms CAN network topological diagram, and then forms corresponding multiple nodes 106, as shown in Figure 2.Electronic control unit in CAN network is all supported by CAN more new procedures and CAN net Electronic control unit on network all supports diagnostic session.
This host computer 102 connects the plurality of node 106 by CAN 104, and for by this CAN 104 control this nodes 106 all are forbidden the transmission of message and are forbidden the setting of DTC, afterwards, this host computer 102 For application program to be updated being sent to one of the plurality of node 106 setting section by this CAN 104 Point 106, and keep the other nodes 106 in the plurality of node 106 to forbid the transmission of message and forbid setting of DTC Put.After the completion of the application program update of this setting node 106, this host computer 102 is used for by this CAN 104 control this nodes 106 all to recover the transmission of message and the setting of DTC.
Specifically, host computer 102 can be any one in PC, mobile terminal, server etc..Please join Fig. 3, In some embodiments, this vehicle program updating system 100 includes the onboard diagnostic system (On-Board of vehicle 200 Diagnostic, OBD) interface 108, in this CAN 104 of this onboard diagnostic system interface 108 connection and this Position machine 102.This host computer 102 is connected by wired mode or wireless mode with this CAN 104, wired mode E.g. host computer 102 is connected to OBD interface 108, Jin Erlian by CAN box 110 (or OBD switching box) Connect CAN 104.For example, when host computer 102 is PC, one end connection of CAN box 110 is upper The USB interface of machine 102, the other end of CAN box 110 connects OBD interface 108.
Wireless mode may include remote-wireless mode and near radio mode, and remote-wireless mode can be using movement The mode that communication network is attached.For example, mobile communication module pluggable on OBD interface 108, host computer 102 Carry out radio communication with mobile communication module and be connected with CAN 104.
Near radio mode can be the mode being attached using bluetooth module.For example, host computer 102 is mobile terminal, Bluetooth module pluggable on OBD interface 108, host computer 102 and bluetooth module carry out radio communication and and CAN Bus 104 connects.Program to be updated on mobile terminal can be downloaded from server.
Please join Fig. 4~Fig. 5, in some embodiments, this vehicle program updating system 100 includes the vehicle-mounted end of vehicle End 112, this car-mounted terminal 112 connects this CAN 104 and this host computer 102.This host computer 102 with should CAN 104 wirelessly connects.
Wireless mode may include remote-wireless mode and near radio mode, and remote-wireless mode can be using movement The mode that communication network is attached.For example, Fig. 4 please be join, host computer 102 is server, in car-mounted terminal 112 Be equipped with mobile communication module 114, host computer 102 and mobile communication module 114 carry out radio communication and and CAN 104 connections.
Near radio mode can be the mode being attached using bluetooth module.For example, Fig. 5, host computer 102 please be join It is mobile terminal, car-mounted terminal 112 is built-in with bluetooth module 116, host computer 102 and bluetooth module 116 are carried out no Line is communicated and is connected with CAN 104.And the program to be updated on mobile terminal can be downloaded from server 500.
It is pointed out that no matter host computer 102 is connected by wired mode with CAN 104, or by no Line mode connects, and host computer 102 all includes realizing that wired mode connects and/or wireless mode connects corresponding hardware and soft Part, for example, in above-mentioned remote-wireless mode, host computer 102 also includes mobile communication module, host computer 102 Mobile communication module communicated with mobile communication module that is car-mounted terminal 112 or being plugged on OBD interface 108 With transmission signal and data etc..
When entering line program renewal, program to be updated is passed through wired mode or is sent wirelessly to by host computer 102 On the setting node 106 of CAN 104, or pass through wired mode or be sent wirelessly to car-mounted terminal 112, Car-mounted terminal 112 sends program to be updated to the setting node 106 of CAN 104 again.Set node 106 is, for example, program node to be updated.
This host computer 102 is used for asking to enter diagnostic session pattern to all nodes 106 by this CAN 104. The plurality of node 106 is used for according to the request entering diagnostic session pattern, sends session response to this host computer 102.Should Host computer 102 is used for according to this session response, controls all nodes 106 to forbid message by this CAN 104 Transmission and the setting forbidding DTC.
After the completion of the application program update of this setting node 106, this setting node 106 is used for by this CAN 104 transmission renewals complete signal to this host computer 102.This host computer 102 is used for completing signal according to this renewal, passes through This CAN 104 sends recovers message to all nodes 106.All nodes 106 are used for according to this recovery message, Recover the transmission of message and the setting of DTC.
Specifically, incorporated by reference to Fig. 6, after host computer 102 receives session response, host computer 102 sends all nodes to be prohibited Only the request of the transmission of CAN message, after all nodes 106 receive the request of the transmission forbidding message, forbids message Transmission, send the first response to host computer 102 simultaneously.
Host computer 102, according to the first response, sends the request that all nodes forbid the setting of DTC, and all nodes 106 connect After receiving the request of the setting forbidding DTC, forbid the setting of DTC.Meanwhile, all nodes 106 send the second response To host computer 102.Host computer 102 is promised according to second, issues program to be updated to the setting section of CAN 104 On point 106, ask not needing other nodes 106 of renewal program to keep diagnostic session pattern simultaneously.Now, set node 106 entrance program generation patterns, other nodes 106 keep diagnostic session pattern.
After the completion of setting the program renewal of node 106, host computer 102 completes signal according to the renewal setting node 106 transmission, Send the request that all nodes recover the transmission of message, after all nodes 106 receive the request of transmission recovering message, extensive The transmission of multiple message, sends the 3rd response to host computer 102 simultaneously.
Host computer 102, according to the 3rd response, sends the request that all nodes recover the setting of DTC, and each node 106 receives To recovering, after the request of setting of DTC, to recover the setting of DTC, send the 4th response to host computer 102, so far simultaneously Whole program renewal process completes.It is pointed out that the CAN controller of each node 106 can be according to host computer 102 The request sent, controls corresponding node 106 to execute corresponding operation, for example, forbids the transmission of message and recovers sending out of message The above operation such as send.
Please join Fig. 7, line program be entered with the node 1 in CAN network and is updated to example explanation:
Step 1:Host computer 102 prepares first to send message during the more program of new node 1, notifies all sections in CAN Point 106 will forbid the transmission of message;
Step 2:On network, all nodes 106 including node 1 receive after notice, stop the transmission of message immediately simultaneously Send the first response to host computer 102;
Step 3:After host computer 102 receives the first response, all nodes 106 then sending on network all forbid fault The request of the setting of code;
Step 4:On network, all nodes 106 including node 1 receive after request, stop the setting of DTC immediately And send the second response to host computer 102;
Step 5:After host computer 102 receives the second response, issue the program of node 1 simultaneously also downward message notify on network Other nodes 106 in addition to node 1 keep with the above state (stopping the transmission of message and the setting of DTC);
Step 6:Node 1 enters line program and updates, and other nodes 106 continue to keep forbidding the transmission of message and the setting of DTC;
Step 7:Node 1 program then jumps to step 8 after the completion of updating, and otherwise jumps to step 6;
Step 8:After the completion of the program of node 1 updates, host computer 102 sends request, notifies all nodes 106 on network Recover the transmission of message;
Step 9:After all nodes 106 on network receive the request of transmission recovering message, recover the transmission of message immediately And send the 3rd response to host computer 102;
Step 10:After host computer 102 receives the 3rd response, all nodes 106 sending on network all recover DTC The request of setting;
Step 11:After all nodes 106 on network receive the request of setting recovering DTC, recover DTC immediately Arrange and send the 4th response to host computer 102.So far whole software upgrading process terminates.
Further, since node 1 is after more new procedures, automatically the transmission of message and the setting of DTC can be recovered, so step 9 And in step 10, the recovery request of the setting of node 1 transmission of message that also negligible host computer 102 issues and DTC.
In sum, above-mentioned vehicle program updating system 100, when entering line program renewal to setting node 106, keeps Other nodes 106 are forbidden the transmission of message and are forbidden the setting of DTC, thus reducing CAN 104 load factor, carry The success rate that high CAN 104 program updates.
Please join Fig. 8, better embodiment of the present invention provides a kind of vehicle method for updating program.This vehicle method for updating program Can be realized by the vehicle program updating system 100 of embodiment of above.This vehicle method for updating program comprises the following steps:
S1:Host computer 102 passes through CAN 104 and controls all nodes 106 being connected in this CAN 104 The transmission forbidding message and the setting forbidding DTC, enter step S2 afterwards;
S2:This host computer 102 is sent application program to be updated to this nodes all by this CAN 104 One of 106 setting nodes 106, and keep other nodes 106 to forbid the transmission of message and forbid the setting of DTC, Enter step S3 afterwards;
S3:After the completion of the application program update of this setting node 106, this host computer 102 passes through this CAN 104 control this nodes 106 all to recover the transmission of message and the setting of DTC.
In above-mentioned vehicle method for updating program, this host computer 102 and this CAN 104 pass through wired mode or nothing Line mode connects.For example, host computer 102 connects the OBD of vehicle program updating system 100 by CAN box 110 Interface 108, and then carry out wired connection with CAN 104, or host computer 102 pass through bluetooth module 116 with Car-mounted terminal 112 connects, and then is wirelessly connected with CAN 104.
When entering line program renewal, program to be updated is passed through wired mode or is sent wirelessly to by host computer 102 On the setting node 106 of CAN 104, or wirelessly send to car-mounted terminal 112, car-mounted terminal 112 Again program to be updated is sent to the setting node 106 of CAN 104.Setting node 106 is, for example, journey Sequence node to be updated.
In step sl, this host computer 102 passes through this CAN 104 to the request entrance diagnosis of all nodes 106 Conversation modes.All nodes 106, according to the request entering diagnostic session pattern, send session response to this host computer 102. This host computer 102, according to this session response, controls all nodes 106 to forbid message by this CAN 104 Send and forbid the setting of DTC.
Specifically, after host computer 102 receives session response, host computer 102 sends the transmission that all nodes forbid message Request, after all nodes 106 receive the request of the transmission forbidding message, forbid the transmission of message, simultaneously send first Response is to host computer 102.
Host computer 102, according to the first response, sends the request that all nodes forbid the setting of DTC, and all nodes 106 connect After receiving the request of the setting forbidding DTC, forbid the setting of DTC.Meanwhile, all nodes 106 send the second response To host computer 102.
In step s 2, host computer 102 is promised according to second, issues program to be updated setting to CAN 104 Determine on node 106, ask not needing other nodes 106 of renewal program to keep diagnostic session pattern simultaneously.Now, set Node 106 enters program generation patterns, and other nodes 106 keep diagnostic session pattern.
In step s3, after the completion of the application program update of this setting node 106, this setting node 106 passes through should CAN 104 sends renewal and completes signal to this host computer 102.This host computer 102 completes signal according to this renewal, Sent by this CAN 104 and recover message to all nodes 106.All nodes 106 according to this recovery message, Recover the transmission of message and the setting of DTC.
Specifically, after the completion of setting the program renewal of node 106, host computer 102 is according to the renewal setting node 106 transmission Complete signal, send the request that all nodes recover the transmission of message, all nodes 106 receive the transmission recovering message After request, recover the transmission of message, send the 3rd response to host computer 102 simultaneously.
Host computer 102, according to the 3rd response, sends the request that all nodes recover the setting of DTC, and each node 106 receives To after the request of setting of recovery DTC, recover the setting of DTC, send the 4th response to host computer 102 simultaneously.So far Whole program renewal process completes.
The not deployed other parts of above-mentioned vehicle method for updating program can join the vehicle program updating system 100 of embodiment of above Identical or corresponding part, here is no longer developed in details in.
In sum, above-mentioned vehicle method for updating program, when entering line program renewal to setting node 106, keeps other Node 106 is forbidden the transmission of message and is forbidden the setting of DTC, thus reducing CAN 104 load factor, improves CAN The success rate that bus 104 program updates.
In the description of this specification, reference term " embodiment ", " some embodiments ", " schematically The description of embodiment ", " example ", " specific example " or " some examples " etc. means with reference to described embodiment party The specific features of formula or example description, structure, material or feature are contained at least one embodiment of the present invention or show In example.In this manual, identical embodiment or example are not necessarily referring to the schematic representation of above-mentioned term. And, the specific features of description, structure, material or feature can be in any one or more embodiments or examples In combine in an appropriate manner.
Additionally, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint are relatively heavy The property wanted or the implicit quantity indicating indicated technical characteristic.Thus, " first ", the feature of " second " are defined Can express or implicitly include at least one this feature.In describing the invention, " multiple " are meant that at least Two, such as two, three etc., unless otherwise expressly limited specifically.
In flow chart or here any process described otherwise above or method description are construed as, represent and include one Individual or more be used for realizing the module of the code of the executable instruction of step, fragment or portions of specific logical function or process Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussion Sequentially, including according to involved function by substantially simultaneously in the way of or in the opposite order, carry out perform function, this should be by Embodiments of the invention person of ordinary skill in the field understood.
Represent in flow charts or here logic described otherwise above and/or step, for example, it is possible to be considered as to use In the order list of the executable instruction realizing logic function, may be embodied in any computer-readable medium, with For instruction execution system, device or equipment (system as computer based system, including processor or other can be from Instruction execution system, device or equipment instruction fetch the system of execute instruction) use, or combine these instruction execution systems, Device or equipment and use.For the purpose of this specification, " computer-readable medium " can be any can comprise, store, Communication, propagation or transmission procedure for instruction execution system, device or equipment or combine these instruction execution systems, device Or equipment and the device that uses.The more specifically example (non-exhaustive list) of computer-readable medium includes following:Tool There are the electrical connection section (electronic installation) of one or more wirings, portable computer diskette box (magnetic device), random access memory Memorizer (RAM), read only memory (ROM), erasable edit read-only storage (EPROM or flash Memorizer), fiber device, and portable optic disk read-only storage (CDROM).In addition, computer-readable is situated between Matter can even is that the paper that can print described program thereon or other suitable media because can for example by paper or Other media carry out optical scanning, then enter edlin, interpretation or are processed to electricity with other suitable methods if necessary Submode obtains described program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, multiple steps or method can with storage in memory and by suitable instruction execution system execute soft Part or firmware are realizing.For example, if realized with hardware, with the same in another embodiment, available this area public affairs Any one of following technology known or their combination are realizing:Have and patrol for logic function is realized to data signal Collect the discrete logic of gate circuit, there is the special IC of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method carries The program that can be by completes come the hardware to instruct correlation, and described program can be stored in a kind of computer-readable storage medium In matter, this program upon execution, including one or a combination set of the step of embodiment of the method.
Additionally, can be integrated in a processing module in each functional unit in each embodiment of the present invention or Unit is individually physically present it is also possible to two or more units are integrated in a module.Above-mentioned integrated mould Block both can be to be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.Described integrated module If using realization in the form of software function module and as in terms of when independent production marketing or use it is also possible to be stored in one In calculation machine read/write memory medium.
Storage medium mentioned above can be read only memory, disk or CD etc..Although being shown and described herein above Embodiments of the invention are it is to be understood that above-described embodiment is exemplary it is impossible to be interpreted as the limit to the present invention System, those of ordinary skill in the art can be changed to above-described embodiment within the scope of the invention, changes, replace And modification.

Claims (10)

1. a kind of vehicle program updating system is it is characterised in that include:
Host computer;
CAN;
Multiple electronic control units, the plurality of electronic control unit is all connected with this CAN to be correspondingly formed multiple nodes;
This host computer is used for controlling this nodes all to forbid the transmission of message and forbid setting of DTC by this CAN Put, afterwards, this host computer is used for sending application program to be updated to the one of the plurality of node by this CAN Individual setting node, and keep other nodes of the plurality of node to forbid the transmission of message and forbid the setting of DTC;
After the completion of the application program update of this setting node, this host computer is used for controlling all being somebody's turn to do by this CAN Node recovers the transmission of message and the setting of DTC.
2. vehicle program updating system as claimed in claim 1 is it is characterised in that this vehicle program updating system bag Include onboard diagnostic system interface, this onboard diagnostic system interface connects this CAN and this host computer.
3. vehicle program updating system as claimed in claim 1 is it is characterised in that this vehicle program updating system bag Include car-mounted terminal, this car-mounted terminal connects this CAN and this host computer.
4. vehicle program updating system as claimed in claim 1 is it is characterised in that this host computer is used for by this CAN Bus asks to enter diagnostic session pattern to this nodes all;
This nodes all are used for according to the request entering diagnostic session pattern, send session response to this host computer;
This host computer is used for, according to this session response, controlling this nodes all to forbid the transmission of message by this CAN And forbid the setting of DTC.
5. vehicle program updating system as claimed in claim 4 is it is characterised in that application journey in this setting node After the completion of sequence updates, this setting node is used for completing signal to this host computer by the transmission renewal of this CAN;
This host computer is used for completing signal according to this renewal, sends recovery request to this nodes all by this CAN;
This nodes all are used for, according to this recovery request, recovering the transmission of message and the setting of DTC.
6. a kind of vehicle method for updating program is it is characterised in that comprise the following steps:
S1:Host computer by CAN control all nodes of being connected in this CAN forbid message transmission and Forbid the setting of DTC, enter step S2 afterwards;
S2:Application program to be updated is sent by this CAN and sets to one of this nodes all by this host computer Determine node, and keep other nodes to forbid the transmission of message and forbid the setting of DTC, enter step S3 afterwards;
S3:After the completion of the application program update of this setting node, this host computer passes through this CAN and controls all being somebody's turn to do Node recovers the transmission of message and the setting of DTC.
7. vehicle method for updating program as claimed in claim 6 is it is characterised in that step S1, step S2 and step Rapid S3 all includes:This host computer connects this CAN by onboard diagnostic system interface.
8. vehicle method for updating program as claimed in claim 6 is it is characterised in that step S1, step S2 and step Rapid S3 all includes:This host computer connects this CAN by car-mounted terminal.
9. vehicle method for updating program as claimed in claim 6 is it is characterised in that step S1 includes:
This host computer passes through this CAN asks to enter diagnostic session pattern to this nodes all;
This nodes all, according to the request entering diagnostic session pattern, send session response to this host computer;
This host computer, according to this session response, controls this nodes all to forbid transmission and the taboo of message by this CAN The only setting of DTC.
10. vehicle method for updating program as claimed in claim 9 is it is characterised in that step S3 includes:
After the completion of the application program update of this setting node, this setting node sends renewal by this CAN and completes Signal is to this host computer;
This host computer completes signal according to this renewal, is sent by this CAN and recovers message to this nodes all;
This nodes all, according to this recovery message, recover the transmission of message and the setting of DTC.
CN201510510468.XA 2015-08-19 2015-08-19 Vehicle program updating system and vehicle program updating method Active CN106469072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510510468.XA CN106469072B (en) 2015-08-19 2015-08-19 Vehicle program updating system and vehicle program updating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510510468.XA CN106469072B (en) 2015-08-19 2015-08-19 Vehicle program updating system and vehicle program updating method

Publications (2)

Publication Number Publication Date
CN106469072A true CN106469072A (en) 2017-03-01
CN106469072B CN106469072B (en) 2019-12-20

Family

ID=58214513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510510468.XA Active CN106469072B (en) 2015-08-19 2015-08-19 Vehicle program updating system and vehicle program updating method

Country Status (1)

Country Link
CN (1) CN106469072B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804254A (en) * 2017-05-04 2018-11-13 沃尔沃汽车公司 Method and system for troubleshooting during vehicle medium-long range installation software
CN109733413A (en) * 2018-12-28 2019-05-10 北京新能源汽车股份有限公司 Vehicle remote refreshing method and device
CN110262445A (en) * 2018-03-12 2019-09-20 丰田自动车株式会社 Vehicle console device
CN110290158A (en) * 2018-03-19 2019-09-27 比亚迪股份有限公司 The update method and system of Train Communication Network node
CN110362057A (en) * 2018-04-09 2019-10-22 上海擎感智能科技有限公司 Update method, system, readable storage medium storing program for executing and the terminal of vehicle electronic circuit module
CN111736873A (en) * 2020-06-22 2020-10-02 中国第一汽车股份有限公司 Program updating method, device, equipment and storage medium of electronic control unit
CN112083946A (en) * 2020-09-17 2020-12-15 南方电网科学研究院有限责任公司 Method, device, terminal and medium for estimating program load rate of direct current protection system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090216401A1 (en) * 2008-02-27 2009-08-27 Underdal Olav M Feedback loop on diagnostic procedure
CN201914192U (en) * 2010-12-24 2011-08-03 陈言平 Controller Area Network (CAN) bus control system of electric vehicle
CN103513997A (en) * 2012-06-21 2014-01-15 比亚迪股份有限公司 Program recording method and system used for bus network
CN103616830A (en) * 2013-12-02 2014-03-05 北京经纬恒润科技有限公司 Car controller flash control method and device and car bus system
CN103810131A (en) * 2014-02-24 2014-05-21 重庆邮电大学 Bluetooth and CAN data conversion device and method for vehicle-mounted system
CN104333576A (en) * 2014-10-21 2015-02-04 普华基础软件股份有限公司 ECU (Electronic Control Unit) upgrading device and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090216401A1 (en) * 2008-02-27 2009-08-27 Underdal Olav M Feedback loop on diagnostic procedure
CN201914192U (en) * 2010-12-24 2011-08-03 陈言平 Controller Area Network (CAN) bus control system of electric vehicle
CN103513997A (en) * 2012-06-21 2014-01-15 比亚迪股份有限公司 Program recording method and system used for bus network
CN103616830A (en) * 2013-12-02 2014-03-05 北京经纬恒润科技有限公司 Car controller flash control method and device and car bus system
CN103810131A (en) * 2014-02-24 2014-05-21 重庆邮电大学 Bluetooth and CAN data conversion device and method for vehicle-mounted system
CN104333576A (en) * 2014-10-21 2015-02-04 普华基础软件股份有限公司 ECU (Electronic Control Unit) upgrading device and method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804254A (en) * 2017-05-04 2018-11-13 沃尔沃汽车公司 Method and system for troubleshooting during vehicle medium-long range installation software
CN110262445A (en) * 2018-03-12 2019-09-20 丰田自动车株式会社 Vehicle console device
CN110290158A (en) * 2018-03-19 2019-09-27 比亚迪股份有限公司 The update method and system of Train Communication Network node
CN110290158B (en) * 2018-03-19 2021-09-03 比亚迪股份有限公司 Method and system for updating train communication network nodes
CN110362057A (en) * 2018-04-09 2019-10-22 上海擎感智能科技有限公司 Update method, system, readable storage medium storing program for executing and the terminal of vehicle electronic circuit module
CN109733413A (en) * 2018-12-28 2019-05-10 北京新能源汽车股份有限公司 Vehicle remote refreshing method and device
CN111736873A (en) * 2020-06-22 2020-10-02 中国第一汽车股份有限公司 Program updating method, device, equipment and storage medium of electronic control unit
CN111736873B (en) * 2020-06-22 2023-02-24 中国第一汽车股份有限公司 Program updating method, device, equipment and storage medium of electronic control unit
CN112083946A (en) * 2020-09-17 2020-12-15 南方电网科学研究院有限责任公司 Method, device, terminal and medium for estimating program load rate of direct current protection system
CN112083946B (en) * 2020-09-17 2024-02-06 南方电网科学研究院有限责任公司 Method, device, terminal and medium for predicting program load rate of direct current protection system

Also Published As

Publication number Publication date
CN106469072B (en) 2019-12-20

Similar Documents

Publication Publication Date Title
CN106469072A (en) Vehicle program updating system and vehicle method for updating program
CN206178371U (en) Control navigation equipment in car electric system , on -vehicle teleprocessing ware and car
CN107450518A (en) A kind of program upgrade apparatus and its control method based on vehicle-mounted Ethernet framework
EP2754268B1 (en) Vehicle comfort system for using and/or controlling vehicle functions with the assistance of mobile device
CN105278994A (en) Updating method and updating system for vehicle-mounted ECU software
CN102043680B (en) Method and system for refreshing ECU (Electronic Control Unit) embedded software and downloading program
CN111679836B (en) Automobile ECU flashing system and method
CN103345243A (en) Method and device for brushing vehicle electronic control unit program
CN105501006B (en) A kind of TPMS automatic matchings method and device
CN103279369A (en) Automatic upgrade system and method for automobile diagnosis instrument based on CAN bus
CN107015838A (en) A kind of upgrade-system of sensing device and system for monitoring pressure in tyre
CN213303011U (en) OTA-based vehicle ECU upgrading system
CN109740911A (en) A kind of the workshop EOL production method and system of remote controlled vehicle functions
CN104539007A (en) Method and device for distributing identification information to battery monitoring unit
CN102033765B (en) BCM (Body Control Module) program upgrading method and vehicle-mounted electronic control system upgrading method
CN114363385B (en) Method, system, equipment and storage medium for updating automobile end software by cloud
CN108241514A (en) Vehicle-mounted program updating method and device
CN108008964A (en) Vehicle netbios, the management method and vehicle of vehicle-mounted software
CN113625690A (en) Intelligent diagnosis method and system for automobile and mobile terminal
CN202110528U (en) ECU (electrical conversion unit) embedded type software refreshing and downloading programming system
CN111061237A (en) Vehicle identification code flashing method and vehicle identification code flashing system
CN116009922A (en) Vehicle, software flashing method and device for vehicle and storage medium
CN107391215A (en) The system that a kind of ECU embedded softwares refresh and download programming
CN113485734A (en) Automatic vehicle configuration flashing method
CN107393327A (en) A kind of information cuing method, detection device and vehicle arrangement

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant