Summary of the invention
The present invention is intended to solve one of technical matters in above-mentioned correlation technique at least to a certain extent.
For this reason, one object of the present invention is the update method proposing a kind of vehicle-mounted ECU software, and the method effectively can improve long-distance vehicular ECU software upgrading efficiency, reduces the maintenance cost of system.
Another object of the present invention is the renewal system proposing a kind of vehicle-mounted ECU software.
For achieving the above object, one aspect of the present invention embodiment proposes a kind of update method of vehicle-mounted ECU software, comprises the following steps: receive the update instruction that operating terminal sends; More new data corresponding to vehicle-mounted ECU software is obtained according to described update instruction; Target vehicle is determined by VIN code; And more new data described in sending to described target vehicle, and upgrade described vehicle-mounted ECU software by car-mounted terminal.
According to the update method of the vehicle-mounted ECU software that the embodiment of the present invention proposes, after reception update instruction, target vehicle is determined by VIN code, thus send more new data to target vehicle, realize upgrading the vehicle-mounted ECU software of batch vehicle, not only there is higher adaptability and reliability, and effectively can improve long-distance vehicular ECU software upgrading efficiency, and reduce the maintenance cost of system, improve the experience of user.
In addition, the update method of vehicle ECU according to the above embodiment of the present invention can also have following additional technical characteristic:
Further, in one embodiment of the invention, describedly upgrade described vehicle-mounted ECU software by car-mounted terminal, comprise further: obtain the update time that user is arranged; After arriving described update time, judge whether the status information of described target vehicle meets and preset update condition; And if meet described default update condition, then vehicle-mounted ECU software according to described renewal Data Update.
Wherein, in one embodiment of the invention, after vehicle-mounted ECU software according to described renewal Data Update, also comprise: open the described vehicle-mounted ECU software after upgrading and carry out self-inspection.
Further, in one embodiment of the invention, described send to target vehicle described in more new data, comprise further: described more new data is encrypted, and by described in after encryption more new data be sent to described target vehicle.
Further, in one embodiment of the invention, described according to described renewal Data Update vehicle-mounted ECU software, comprise further: to described in after encryption more new data verify, and after verification succeeds more new data described in deciphering.
The present invention on the other hand embodiment proposes a kind of renewal system of vehicle-mounted ECU software, comprising: car-mounted terminal; Operating terminal, for sending update instruction, and carries out data communication with described car-mounted terminal; And server, for receiving described update instruction, to obtain more new data corresponding to ECU system according to described update instruction, and determine target vehicle by VIN code, with more new data described in sending to target vehicle, to upgrade described vehicle-mounted ECU software by described car-mounted terminal.
According to the renewal system of the vehicle-mounted ECU software that the embodiment of the present invention proposes, after reception update instruction, target vehicle is determined by VIN code, thus send more new data to target vehicle, realize upgrading the vehicle-mounted ECU software of batch vehicle, not only there is higher adaptability and reliability, and effectively can improve long-distance vehicular ECU software upgrading efficiency, and reduce the maintenance cost of system, improve the experience of user
In addition, the renewal system of vehicle-mounted ECU software according to the above embodiment of the present invention can also have following additional technical characteristic:
Further, in one embodiment of the invention, described car-mounted terminal specifically for: obtain user arrange update time; After arriving described update time, judge whether the status information of described target vehicle meets and preset update condition; And if meet described default update condition, then vehicle-mounted ECU software according to described renewal Data Update.
Wherein, in one embodiment of the invention, after vehicle-mounted ECU software according to described renewal Data Update, also comprise: open the described vehicle-mounted ECU software after upgrading and carry out self-inspection.
Further, in one embodiment of the invention, described send to target vehicle described in more new data, comprise further: described more new data is encrypted, and by described in after encryption more new data be sent to described target vehicle.
Further, in one embodiment of the invention, described according to described renewal Data Update vehicle-mounted ECU software, comprise further: to described in after encryption more new data verify, and after verification succeeds more new data described in deciphering.
The aspect that the present invention adds and advantage will part provide in the following description, and part will become obvious from the following description, or be recognized by practice of the present invention.
Embodiment
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Be exemplary below by the embodiment be described with reference to the drawings, be intended to for explaining the present invention, and can not limitation of the present invention be interpreted as.
In addition, term " first ", " second " only for describing object, and can not be interpreted as instruction or hint relative importance or imply the quantity indicating indicated technical characteristic.Thus, be limited with " first ", the feature of " second " can express or impliedly comprise one or more these features.In describing the invention, the implication of " multiple " is two or more, unless otherwise expressly limited specifically.
In the present invention, unless otherwise clearly defined and limited, the term such as term " installation ", " being connected ", " connection ", " fixing " should be interpreted broadly, and such as, can be fixedly connected with, also can be removably connect, or connect integratedly; Can be mechanical connection, also can be electrical connection; Can be directly be connected, also indirectly can be connected by intermediary, can be the connection of two element internals.For the ordinary skill in the art, above-mentioned term concrete meaning in the present invention can be understood as the case may be.
In the present invention, unless otherwise clearly defined and limited, fisrt feature second feature it " on " or D score can comprise the first and second features and directly contact, also can comprise the first and second features and not be directly contact but by the other characterisation contact between them.And, fisrt feature second feature " on ", " top " and " above " comprise fisrt feature directly over second feature and oblique upper, or only represent that fisrt feature level height is higher than second feature.Fisrt feature second feature " under ", " below " and " below " comprise fisrt feature immediately below second feature and tiltedly below, or only represent that fisrt feature level height is less than second feature.
Describe update method and the renewal system of the vehicle-mounted ECU software proposed according to the embodiment of the present invention with reference to the accompanying drawings, describe the update method of the vehicle-mounted ECU software proposed according to the embodiment of the present invention first with reference to the accompanying drawings.With reference to shown in Fig. 1, the update method of this vehicle-mounted ECU software, comprises the following steps:
S101, receives the update instruction that operating terminal sends.
Briefly, with reference to shown in Fig. 2, operating personnel only need at operating terminal Operational Management System, such as log in vehicle-mounted ECU software upgrading task at operating terminal, load ECU software upgrading data namely more new data to server, designated software upgating object vehicle and target vehicle (can specify with the VIN code of vehicle), subject vehicle whether controlled (communicated by GPRS and whether effectively judge) is confirmed by object car query function, send out data publication instruction, the renewal of vehicle-mounted ECU can be realized, simple and convenient, time saving and energy saving.
S102, obtains more new data corresponding to vehicle-mounted ECU software according to update instruction.
It should be noted that, with reference to shown in Fig. 2, server is used for operational system, and system management memory file, namely the management function of system is provided.
Particularly, the management function of system can comprise:
The login of 1, remote software update task;
2, the inquiry of task is logged in;
3, subject vehicle status queries;
4, task termination;
5, task terminates;
6, the loading (as data are read into server) of more new data;
7, the formulation (as data available load mode is formulated) of upgating object vehicle;
8, data publication instruction is upgraded; And
9, sign on is upgraded.
S103, determines target vehicle by VIN (VehicleIdentificationNumber, vehicle identification code) code.
S104, sends more new data to target vehicle, and upgrades vehicle-mounted ECU software by car-mounted terminal.
Further, in one embodiment of the invention, send more new data to target vehicle, comprise further: more new data is encrypted, and the more new data after encryption is sent to target vehicle.
That is, data are encrypted before being loaded into system, data are all encrypted in systems in which and in the transmission, data are decrypted before being updated to ECU, the Data Update of deciphering in vehicle-mounted ECU, after having upgraded, is deleted data decryption by system, improve security, ensure the reliability of system.
Further, in one embodiment of the invention, upgrade vehicle-mounted ECU software by car-mounted terminal, comprise further: obtain the update time that user is arranged; After arriving update time, judge whether the status information of vehicle meets and preset update condition; And if meet default update condition, then according to renewal Data Update vehicle-mounted ECU software.
Exactly, the status information that default update condition can upgrade for the suitable vehicles pre-set, in addition, except update time, user also can add other alternative conditions, after the alternative condition reaching user, and the state of vehicle is applicable to the renewal of ECU software, then carry out next step.
Further, in one embodiment of the invention, according to renewal Data Update vehicle-mounted ECU software, comprise further: the more new data after encryption is verified, and after verification succeeds, deciphers more new data.
For example, data add CRC (CyclicRedundancyCheck before transmission, cyclic redundancy check (CRC) code) check code, use CRC check code to verify after transmission, it is obstructed out-of-date to verify, and carries out transmission process again, repeatedly during transfer check failure, be judged as communication abnormality, stop upgrading, thus ensure integrality and the correctness of data better.
In addition, in one embodiment of the invention, after according to renewal Data Update vehicle-mounted ECU software, also comprise: open the vehicle-mounted ECU software after upgrading and carry out self-inspection.
Be understandable that, software data can be activated, if can not normally start, then need the function returning to former data after upgrading.
Particularly, in one embodiment of the invention, with reference to shown in Fig. 2, vehicle-mounted ECU is the object of remote update, the Bootloader of ECU to have upgraded application software after start the function of application software.Self-detection result is also dealt into CAN (ControllerAreaNetwork, controller local area network) on the net by application software initiated rear self-inspection.Wherein, T-BOX is installed and is contacted by CAN communication with vehicle-mounted ECU onboard, is responsible for transmitting with the radio communication of monitor supervision platform and data.
Wherein, server to receive after instruction will more new data by GPRS (GeneralPacketRadioService, GPRS (General Packet Radio Service)) wireless communication function is transferred to T-Box, by object car query function, operating personnel confirm that the data transmission of all object cars all completes after, send out and upgrade sign on, after server receives instruction, instruction is passed to the T-Box of object car, ECU update request is sent by CAN communication to VCU after T-Box receives instruction, on middle control display station, the applicable time that information allows driver's selective system upgrade is shown after VCU receives update request, whether the rear supervision of selection that VCU receives driver reaches the alternative condition of driver, judge after reaching condition whether the state of vehicle is applicable to the renewal of ECU software, start to upgrade by CAN communication notice T-Box after judging OK, the software having upgraded rear ECU can be activated and self-inspection is normal, and normal condition is notified T-Box by CAN communication, T-Box to receive message feedback after normal notice to server, operating personnel confirm after more new capital completes of all subject vehicle by vehicle-state query function, send out task END instruction, end task.It should be noted that, VCU is entire car controller, is the one of vehicle-mounted ECU, and the renewal with car-mounted terminal controls and judges whether vehicle-state meets the function of update condition.
According to the update method of the vehicle-mounted ECU software that the embodiment of the present invention proposes, after reception update instruction, target vehicle is determined by VIN code, thus send more new data to target vehicle, and after vehicle meets update condition, upgrade vehicle-mounted ECU software, realize upgrading the vehicle-mounted ECU software of batch vehicle, and by being encrypted and checking treatment data, improve the security of transmission, ensure integrality and the correctness of data better, and upgrade end and do further self-inspection, not only there is higher adaptability and reliability, and effectively can improve long-distance vehicular ECU software upgrading efficiency, and reduce the maintenance cost of system, improve the experience of user.
Next describes the renewal system of the vehicle-mounted ECU software proposed according to the embodiment of the present invention with reference to the accompanying drawings.With reference to shown in Fig. 3, the renewal system 10 of this vehicle-mounted ECU software comprises: car-mounted terminal 100, operating terminal 200 and server 300.
Wherein, operating terminal 200 for sending update instruction, and carries out data communication with car-mounted terminal 100.Server 300, for receiving update instruction, to obtain more new data corresponding to ECU software according to update instruction, and determines target vehicle by VIN code, to send more new data to target vehicle, to upgrade vehicle-mounted ECU software by car-mounted terminal.The renewal system 100 of the embodiment of the present invention can improve the renewal efficiency of long-distance vehicular ECU software, and reduces the maintenance cost of system, especially effectively can improve the vehicle-mounted ECU software upgrading efficiency of batch remote vehicle, simple and convenient.
Particularly, operating personnel only need at operating terminal 200 Operational Management System, such as log in vehicle-mounted ECU software upgrading task at operating terminal, load ECU software upgrading data post more new data to server, designated software upgating object vehicle and target vehicle (can specify with the VIN code of vehicle), subject vehicle whether controlled (communicated by GPRS and whether effectively judge) is confirmed by object car query function, send out data publication instruction, vehicle-mounted ECU can be realized, simple and convenient, time saving and energy saving.
Server 300 is for operational system, and system management memory file, namely the management function of system is provided.Particularly, the management function of system can comprise:
The login of 1, remote software update task;
2, the inquiry of task is logged in;
3, subject vehicle status queries;
4, task termination;
5, task terminates;
6, the loading (as data are read into server) of more new data;
7, the formulation (as data available load mode is formulated) of upgating object vehicle;
8, data publication instruction is upgraded; And
9, sign on is upgraded.
Further, in one embodiment of the invention, car-mounted terminal 100 specifically for: obtain user arrange update time; After arriving update time, judge whether the status information of vehicle meets and preset update condition; And if meet default update condition, then according to renewal Data Update vehicle-mounted ECU software.
Exactly, the status information that default update condition can upgrade for the suitable vehicles pre-set, in addition, except update time, user also can add other alternative conditions, after the alternative condition reaching user, and the state of vehicle is applicable to the renewal of ECU software, then carry out next step.
Wherein, in one embodiment of the invention, after according to renewal Data Update vehicle-mounted ECU software, also comprise: open the vehicle-mounted ECU software after upgrading and carry out self-inspection.
Be understandable that, software data can be activated, if can not normally start, then need the function returning to former data after upgrading.
Further, in one embodiment of the invention, send more new data to target vehicle, comprise further: more new data is encrypted, and the more new data after encryption is sent to target vehicle.
That is, data are encrypted before being loaded into system, data are all encrypted in systems in which and in the transmission, data are decrypted before being updated to ECU, the Data Update of deciphering in vehicle-mounted ECU, after having upgraded, is deleted data decryption by system, improve security, ensure the reliability of system.
Further, in one embodiment of the invention, according to renewal Data Update vehicle-mounted ECU software, comprise further: the more new data after encryption is verified, and after verification succeeds, deciphers more new data.
For example, data add CRC check code before transmission, use CRC check code to verify after transmission, it is obstructed out-of-date to verify, and carries out transmission process again, repeatedly during transfer check failure, be judged as communication abnormality, stop upgrading, thus ensure integrality and the correctness of data better.
It should be noted that, the specific implementation of the system of the embodiment of the present invention and the specific implementation of method part similar, in order to reduce redundancy, do not repeat herein.
According to the renewal system of the vehicle-mounted ECU software that the embodiment of the present invention proposes, after reception update instruction, target vehicle is determined by VIN code, thus send more new data to target vehicle, and after vehicle meets update condition, upgrade vehicle-mounted ECU software, realize upgrading the vehicle-mounted ECU software of batch vehicle, and by being encrypted and checking treatment data, improve the security of transmission, ensure integrality and the correctness of data better, and upgrade end and do further self-inspection, not only there is higher adaptability and reliability, and effectively can improve long-distance vehicular ECU software upgrading efficiency, and reduce the maintenance cost of system, improve the experience of user.
Describe and can be understood in process flow diagram or in this any process otherwise described or method, represent and comprise one or more for realizing the module of the code of the executable instruction of the step of specific logical function or process, fragment or part, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can not according to order that is shown or that discuss, comprise according to involved function by the mode while of basic or by contrary order, carry out n-back test, this should understand by embodiments of the invention person of ordinary skill in the field.
In flow charts represent or in this logic otherwise described and/or step, such as, the sequencing list of the executable instruction for realizing logic function can be considered to, may be embodied in any computer-readable medium, for instruction execution system, device or equipment (as computer based system, comprise the system of processor or other can from instruction execution system, device or equipment instruction fetch and perform the system of instruction) use, or to use in conjunction with these instruction execution systems, device or equipment.With regard to this instructions, " computer-readable medium " can be anyly can to comprise, store, communicate, propagate or transmission procedure for instruction execution system, device or equipment or the device that uses in conjunction with these instruction execution systems, device or equipment.The example more specifically (non-exhaustive list) of computer-readable medium comprises following: the electrical connection section (electronic installation) with one or more wiring, portable computer diskette box (magnetic device), random access memory (RAM), ROM (read-only memory) (ROM), erasablely edit ROM (read-only memory) (EPROM or flash memory), fiber device, and portable optic disk ROM (read-only memory) (CDROM).In addition, computer-readable medium can be even paper or other suitable media that can print described program thereon, because can such as by carrying out optical scanning to paper or other media, then carry out editing, decipher or carry out process with other suitable methods if desired and electronically obtain described program, be then stored in computer memory.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple step or method can with to store in memory and the software performed by suitable instruction execution system or firmware realize.Such as, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: the discrete logic with the logic gates for realizing logic function to data-signal, 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 realizing all or part of step that above-described embodiment method carries is that the hardware that can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, this program perform time, step comprising embodiment of the method one or a combination set of.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, also can be that the independent physics of unit exists, also can be integrated in a module by two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.If described integrated module using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.
The above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
In the description of this instructions, specific features, structure, material or feature that the description of reference term " embodiment ", " some embodiments ", " example ", " concrete example " or " some examples " etc. means to describe in conjunction with this embodiment or example are contained at least one embodiment of the present invention or example.In this manual, identical embodiment or example are not necessarily referred to the schematic representation of above-mentioned term.And the specific features of description, structure, material or feature can combine in an appropriate manner in any one or more embodiment or example.
Although illustrate and describe embodiments of the invention above, be understandable that, above-described embodiment is exemplary, can not be interpreted as limitation of the present invention, those of ordinary skill in the art can change above-described embodiment within the scope of the invention when not departing from principle of the present invention and aim, revising, replacing and modification.