CN106385420A - ECU software download method and device - Google Patents

ECU software download method and device Download PDF

Info

Publication number
CN106385420A
CN106385420A CN201610866116.2A CN201610866116A CN106385420A CN 106385420 A CN106385420 A CN 106385420A CN 201610866116 A CN201610866116 A CN 201610866116A CN 106385420 A CN106385420 A CN 106385420A
Authority
CN
China
Prior art keywords
software
ecu
mobile device
download
automobile gateway
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610866116.2A
Other languages
Chinese (zh)
Inventor
陶蒙华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201610866116.2A priority Critical patent/CN106385420A/en
Publication of CN106385420A publication Critical patent/CN106385420A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Power Engineering (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides an ECU software download method and device. An authentication server performs user identity authentication on a mobile device before a software server issues ECU software to be updated, and ECU software state information of each ECU is acquired by using the mobile device through an automobile gateway and encrypted and then reported to a software download server after passing of authentication so that the software download server is enabled to determine the ECU software to be updated and the security of ECU software downloading can be enhanced; and the mobile device receives the ECU software to be updated issued by the software download server, the ECU software to be updated is issued to each ECU through the automobile gateway, and the software updating state information of the ECU software to be updated is reported to the software download server so as to complete, the user can perform ECU software downloading anytime and anywhere without going to the 4S shop, and thus timeliness and convenience of ECU software downloading can be enhanced under the premise of guaranteeing security and reliability.

Description

A kind of ECU software method for down loading and device
Technical field
The present invention relates to communication technical field is and in particular to a kind of ECU software method for down loading and device.
Background technology
Mobile Internet automobile is combined, as mobile Internet industry, the inter-trade new product producing with orthodox car industry Industry is paid close attention to by people in recent years.Mobile Internet automobile is different from traditional automobile, not only comprises for safeguarding automobile The conventional interior network of basic function, also comprises the outer communication system of car for mobile communication, for for automobile provide car and car, Car and the communication services such as road equipment, car and service providing platform.Orthodox car by under the promotion of development of Mobile Internet technology by Gradually intelligent, it is that automobile provides more rich application content, more convenient occupation mode, safer driving environment.Now Automobile be integrated with substantial amounts of electronic control unit (Electronic Control Unit, ECU) to realize such as power supply pipe Reason, seat belt controls, and auxiliary is parked, the function such as door contact interrupter.If the various ECU of automobile will be carried out with software upgrading or more Newly, or if the software failure of these ECU or under attack, when needing to be reinstalled, relate to ECU's Software download and installation.Mode that is the simplest and saving trouble just is by remote upgrade, and existing telecommunication mode is such as passed through 2G/3G/4G, can solve upgrade technical need, this be accomplished by ensure automobile software download have height safety and Reliability.But again and again expose the event of assault automobile in recent years, automobile information directly influences safely the driving of automobile The data-privacy rights and interests of safety and user.Based on such present situation, only low to the safety requirements software of present automobile, such as The navigation software of car-mounted terminal, Infotainment application software are downloaded by the Internet and upgrade, and require for high safety Body control system, chassis control system, if will upgrade, typically all deliver to producer or 4S shop carry out upgrading and more Newly, the phenomenon of recalling of such as current trend is changed and upgrading it is simply that car is delivered to 4S shop.
The wireless communication module (such as 3G communication module) of operator is embedded into car-mounted terminal by existing automobile information In, car-mounted terminal and Batch Processing supporting system real-time Communication for Power, to realize car networking message transmission and application, such as road Transport information, audio visual entertainment service, vehicle location and navigation, real-time route planning, vehicle anti-theft etc. are applied, and these applications are not ECU software including body of a motor car and chassis is downloaded and is updated.Due to current automobile informationization do not take effective enough Measure, to ensure the safety of automobile software download class application, be result in most of automobiles at present and also do not entered using long-range method Row software download and renewal, if there is problem or need down loading updating, typically carry out upgrade maintenance to 4S shop.
Mobile Internet automobile software download and renewal safety are related to background server safety, communications network security, car Mounted terminal safety and electronic apparatus system several aspects safely, with automobile towards intellectuality, automatization, unpiloted direction Development, if the software upgrading work accounting for the automotive electronics device that automobile total value is more than 50% all to be carried out by 4S shop, time-consuming, Arduously, high cost, and just can solve it cannot be guaranteed that going wrong, therefore, need a kind of ECU software download scenarios badly to solve. at once Certainly above-mentioned technical problem.
Content of the invention
The present invention is directed to above-mentioned deficiency present in prior art, provides a kind of ECU software method for down loading and device, in order to At least partly solve existing ECU software download scenarios reliability and promptness is poor, the problem of high cost.
The present invention is to solve above-mentioned technical problem, adopts the following technical scheme that:
The present invention provides a kind of ECU software method for down loading, and methods described includes:
Mobile device and certificate server carry out authenticating user identification, when described certificate server leads to authenticating user identification Later, described mobile device obtains the status information of the ECU software of each ECU by automobile gateway, and the state by each ECU software Software download is reported after information encryption;
Described mobile device receives the ECU software to be updated that software download sends, and will be described to be updated After ECU software deciphering, each ECU is handed down to by described automobile gateway;
Described mobile device obtains the software upgrading status information of described ECU software to be updated by automobile gateway, and Described software upgrading state information report is given described software download.
Further, before described mobile device obtains the status information of ECU software of each ECU by automobile gateway, institute Method of stating also includes:
Described mobile device and described automobile gateway carry out device authentication, if device authentication is passed through, pass through automobile gateway Obtain the status information of the ECU software of each ECU.
Preferably, described mobile device and described automobile gateway carry out device authentication, specifically include:
Described mobile device sends the device authentication request of the hardware number carrying this equipment to described automobile gateway, with Described automobile gateway is made to carry out device authentication according to described hardware number and default hardware number to described mobile device, if two Person is consistent, then device authentication is passed through;
Described mobile device receives the result that described automobile gateway returns.
Preferably, described mobile device and certificate server carry out authenticating user identification, specifically include:
Described mobile device sends the authenticating user identification request carrying user cipher to certificate server, so that described Certificate server according to described user cipher and is preset in local user cipher and carries out user identity to described mobile device and recognize Card;
Described mobile device receives the user's body carrying software download address that described certificate server returns Part authentication result;
Report software download after the described status information encryption by each ECU software, specifically include:
By the status information encryption of each ECU software, and according to described software download address, will be each after encryption The state information report of ECU software is to software download.
Further, described by described software upgrading state information report give described software download after, described Method also includes:
Receive the download completion notice that described certificate server sends, described download completion notice is described software download clothes Business device is according to described software upgrading status information determines that described ECU software to be updated is fully completed after renewal and is sent to Certificate server.
The present invention also provides a kind of mobile device, including processing module, processing module include authenticating user identification unit and Software download unit;
Described authenticating user identification unit is used for, and carries out authenticating user identification with certificate server;
Described software download unit is used for, after described certificate server passes through to authenticating user identification, by grid motor Close the status information of the ECU software obtaining each ECU, and report software download clothes by after the status information encryption of each ECU software Business device;Receive the ECU software to be updated that software download sends, and will be logical after described ECU software deciphering to be updated Cross described automobile gateway and be handed down to each ECU;Obtain the software upgrading state letter of described ECU software to be updated by automobile gateway Breath, and described software upgrading state information report is given described software download.
Further, described processing module also includes device authentication unit,
Described device authentication unit is used for, and obtains the ECU software of each ECU by automobile gateway in described software download unit Status information before, carry out device authentication with described automobile gateway;
Described software download unit specifically for when device authentication is passed through, obtaining the ECU of each ECU by automobile gateway The status information of software.
Preferably, described device authentication unit specifically for sending the hardware carrying this equipment to described automobile gateway Numbering device authentication request so that described automobile gateway according to described hardware number and default hardware number to described movement Device carries out device authentication, if the two is consistent, device authentication is passed through;Receive the result that described automobile gateway returns.
Preferably, described authenticating user identification unit is specifically for sending to certificate server and carrying user cipher Authenticating user identification is asked, so that described certificate server according to described user cipher and is preset in local user cipher to institute State mobile device and carry out authenticating user identification;Receive that described certificate server returns carries software download address Authenticating user identification result;
Described software download unit is specifically for by the status information encryption of each ECU software, and according to described software download Server address, by the state information report of each ECU software after encryption to software download.
Further, described software download unit is additionally operable to, described soft giving described software upgrading state information report After part download server, receive the download completion notice that described certificate server sends, described download completion notice is described According to described software upgrading status information, software download determines that described ECU software to be updated is fully completed after renewal It is sent to described certificate server.
Before the present invention issues ECU software to be updated in software server, by certificate server to mobile device users Authentication, after certification is passed through, just obtains the status information of the ECU software of each ECU using mobile device by automobile gateway And after encrypting, report software download, so that software download determines ECU software to be updated, improve The safety that ECU software is downloaded;Mobile device receives the ECU software to be updated that software download issues, by automobile Gateway is handed down to each ECU, and by the software upgrading state information report of ECU software to be updated to software download, from And complete, user can carry out ECU software download whenever and wherever possible, need not go to 4S shop again, thus ensureing safety and reliability On the premise of, improve promptness and the convenience that ECU software is downloaded.
Brief description
Fig. 1 is the system architecture diagram of the embodiment of the present invention;
Fig. 2 is that ECU software provided in an embodiment of the present invention downloads flow chart;
Fig. 3 is the structural representation of mobile device provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the present invention, clear, complete description is carried out to the technical scheme in the present invention, show So, described embodiment is a part of embodiment of the present invention, rather than whole embodiments.Based on the enforcement in the present invention Example, the every other embodiment that those of ordinary skill in the art are obtained on the premise of not making creative work, all belong to In the scope of protection of the invention.
Below in conjunction with Fig. 1,2, the short message transmission flow of the present invention is described in detail.
As shown in figure 1, the ECU software method for down loading of the present invention be applied to including:Software download, authentication service In device, the system of mobile device, automobile gateway and multiple ECU, automobile gateway and each ECU constitute car-mounted terminal, mobile device with Automobile gateway is detachably connected, and mobile device, automobile gateway and each ECU are arranged on vehicle.Certificate server takes for operator Business device, the legitimacy for the user identity to mobile device is authenticated.
The various electronic control systems of automobile pass through CAN (Controller Area Network, controller local area network) It is connected on automobile gateway.The control system being connected with automobile gateway is included:Drive system, comfort system, information system, instrument System, diagnostic system, constitute a complete automotive networking system by automobile gateway.It is connected with each CAN system Different ECU, including:Light ECU, car door ECU, power management ECU, sensor ECU, in-car air-conditioner ECU, tire pressure monitoring ECU, The parameter such as behavior act, state, index parameter in in-car monitoring ECU etc., these ECU monitoring vehicle traveling process.
Automobile gateway stretches out a slot, and this slot is fixed on certain position of in-car, and mobile device can be allowed to insert, This slot, in addition to can powering for mobile device, is also used as carrying out the interface of information exchange with mobile device.
The all ECU providers being cooperated with some auto vendor, while providing hardware, are also provided to auto vendor Corresponding software, after the integrated assembling test of auto vendor passes through, corresponding software is put into these hardware and softwares by producer In software download, if follow-up ECU software has redaction or upgraded version, ECU provider is according to the feedback of user Situation and application demand, develop new ECU software version, up-to-date ECU software version are not periodically uploaded under ECU software Carry on server, software download is connected with the certificate server of operator.
After user takes mobile device at distributor, the business hall of operator is needed to activate mobile device, and by state Border mobile subscriber unique identifier IMSI (International Mobile Subscriber Indentity) and key Ki with And international mobile equipment identification number IMEI (International Mobile Equipment Identity) write mobile device Memory module in, because user can roam, therefore participate in authenticate NE, including access registration center VLR (Visited Location Register), moving exchanging center MSC (Mobile Switching Center), ownership place note Volume center HLR (Home Location Register), AUC AuC (Authentication Center), its correlation letter Breath also writes the memory element of mobile device.In addition, in order to ensure this mobile device do not falsely used by others it is desirable to user reserve user Password, so that the legitimacy of the follow-up certificate server certification user when carrying out ECU software download.
It should be noted that in order to also pre- in the safety and reliability improving ECU software download further, automobile gateway It is provided with the hardware encoding of mobile device, so that subsequently automobile gateway is able to verify that mobile device when carrying out ECU software download Legitimacy.Wherein, a mobile device has unique hardware encoding, and hardware encoding can be identified for that the identity of this mobile device.
Below in conjunction with Fig. 2, the ECU software describing the present invention in detail downloads flow process.As shown in Fig. 2 described ECU software is downloaded Flow process comprises the following steps:
Step 21, mobile device and certificate server carry out authenticating user identification.
After mobile device inserts the slot of automobile gateway, communication module therein starts, state normally backward authentication service Start networking identifying procedure initiated by device.Specifically, user inputs after 6 passwords according to prompting on the touch screen of mobile device, Communication module sends the authenticating user identification request carrying user cipher to certificate server, and certificate server is according to described use Family password and be preset in local user cipher authenticating user identification is carried out to described mobile device, and return to mobile device and use Family identity authentication result.Authentication authorization and accounting server is close by being preset in local user in the user cipher receiving and initialization procedure Code-phase compares, and when the two is identical, illustrates that this user is validated user, authenticating user identification passes through.Now, certificate server will The authenticating user identification result carrying software download address returns to mobile device, so as subsequent movement device according to This address and download server interact.
The present invention carries out authenticating user identification first with certificate server to mobile device, after only certification is passed through, just accuses Know the address of mobile device download server, effectively guarantee reliability and the safety of ECU software download, not only can avoid him People falsely uses the situation of mobile device, and only validated user just can know the address of download server, effectively prevents hacker Download server is attacked.
Step 22, after certificate server passes through to authenticating user identification, mobile device obtains each ECU by automobile gateway ECU software status information.
Specifically, automobile gateway initiates inquiry request to the ECU in all buses, and ECU, according to described inquiry request, checks The current ECU software state of this equipment (includes ECU software version, last time update time, the whether information such as fault), and by ECU Application state reports automobile gateway, and automobile gateway collects the ECU software status information that each ECU reports, and generates ECU software State information list simultaneously reports mobile device.
Step 23, mobile device reports software download by after the status information encryption of each ECU software.
Specifically, mobile device by comprise the state information list of all ECU software status informations through encryption key by It is sent to ECU software download server according to after AES encryption, AES is by mobile device and ECU software download server Make an appointment, such as hash algorithm SHA-3, SHA-256 algorithm etc..Encryption key is when mobile device is in initialization, by transporting The handler of battalion business business hall is stored in the memory module of mobile device according to the agreement write that depot and operator reach 's.
Mobile device, according to described software download address (being sent by certificate server in step 21), will add The status information (i.e. the state information list of ECU software) of each ECU software after close reports software download.
Step 24, mobile device receives the ECU software to be updated that software download sends.
Specifically, software download is by described in the status information of the described ECU software receiving and local record The status information of ECU software compares, and determines ECU software to be updated, and by these ECU software to be updated with both sides about It is sent to mobile device after fixed AES encryption.
Step 25, mobile device is described by being handed down to by described automobile gateway after described ECU software deciphering to be updated ECU.
Specifically, the encryption and decryption mode that mobile device is arranged according to both sides is (i.e. each to be updated by the packet receiving ECU software) be decrypted after, be sent to automobile gateway, ECU software to be updated is sent to corresponding ECU by automobile gateway, by This ECU carries out ECU software renewal.
Step 26, mobile device obtains the software upgrading status information of described ECU software to be updated by automobile gateway.
Specifically, after the completion of ECU software renewal, ECU reports this ECU software more new state information to automobile gateway (can include version information of current ECU software etc.), automobile gateway collects this ECU software more new state letter of each ECU Breath, the software upgrading status information of each ECU software after collecting is sent to mobile device.
Step 27, described software upgrading state information report is given described software download by mobile device.
Specifically, after mobile device has collected the software upgrading status information of all of ECU software to be updated, by each ECU The software upgrading status information of software (i.e. each ECU software to be updated) reports software download after being encrypted, so that Whether software download judges that each ECU software is downloaded and completes.
The present invention be can be seen that before software server issues ECU software to be updated by step 21-27, by recognizing Card server, to mobile device users authentication, after certification is passed through, just utilizes mobile device to obtain by automobile gateway each The status information of the ECU software of ECU simultaneously reports software download, so that software download is determined treating after encrypting The ECU software updating, improves the safety of ECU software download;What mobile device reception software download issued treats more New ECU software, is handed down to each ECU, and the software upgrading state information report by ECU software to be updated by automobile gateway To software download, thus completing, user can carry out ECU software download whenever and wherever possible, need not go to 4S shop again, thus On the premise of ensureing safety and reliability, improve promptness and the convenience that ECU software is downloaded.
Further, before step 22, described flow process can also comprise the following steps 21 ':
Step 21 ', mobile device and described automobile gateway carry out device authentication.
Specifically, mobile device sends the device authentication request of the hardware number carrying this equipment to automobile gateway, with Automobile gateway is made to carry out device authentication according to described hardware number and default hardware number to mobile device.Mobile device hard Part numbering is previously written when automobile dispatches from the factory in automobile gateway, and an automobile is mutually matched with corresponding mobile device and just can complete The download of ECU software and renewal.If automobile gateway judges hardware number and the default hardware in this equipment of mobile device transmission Numbering is consistent, then device authentication is passed through, and automobile gateway returns this result to mobile device, and mobile device receives automobile gateway The result returning, if confirming, device authentication is passed through, and obtains the status information of each ECU software of ECU by automobile gateway (i.e. execution step 22), thus start ECU software download.If according to the result, mobile device confirms that device authentication is not passed through, Then flow process terminates, no longer execution step 22.
Carry out device authentication by before carrying out ECU software download, moving device with described automobile gateway, it is to avoid Using cloned devices, can ensure, in terms of device hardware, the safety and reliability that ECU software is downloaded further, realize user Identity and the double authentication of equipment identities.
Further, after step 27, methods described is further comprising the steps of:
Step 28, software download judges described ECU software to be updated according to described software upgrading status information Whether it is fully completed renewal, if so, then execution step 29, otherwise, the ECU software not updated is sent to mobile device.
Specifically, the software upgrading status information of each ECU software that mobile device is reported by software download and basis The status information of the described ECU software of ground record compares, and judges whether described each ECU software to be updated is fully completed more Newly, if being fully completed renewal, sending to mobile device and downloading completion notice (i.e. execution step 29).If described each to be updated ECU software is not fully completed renewal, then judge whether to occur to update fault, if so, then software download can be by software Update fault message and be sent to 4S shop, be located by the staff's decision problem of 4S shop, if it is desired, 4S shop staff can be straight Connect and contact with user, allow it return to 4S shop and detected further and keep in repair.If software download is judged not occurring more New fault, then send ECU software to be updated accordingly to mobile device again so that corresponding ECU again to update ECU soft Part.
Step 29, software download sends to certificate server and downloads completion notice, so that certificate server is by institute State download completion notice and be transmitted to mobile device.
It should be noted that ECU software updates being implemented by each ECU, after ECU software is downloaded and is pushed to ECU, by ECU carries out each software upgrading process, and this process belongs to prior art, will not be described here.
It should be noted that during ECU software is downloaded and updated, automobile needs to stop action.Generally, every time It is a small amount of that ECU software is downloaded, and is not in all ECU software simultaneously need to the phenomenon downloaded, the therefore time will not be oversize.Treat After the completion of downloading and updating, display screen display ' completing ' printed words of mobile device, or prompting of sounding a buzzer completes, Si Jicai Mobile device can be removed, and use automobile.
Based on identical technology design, the embodiment of the present invention also provides a kind of mobile device, as shown in figure 3, this mobile dress Put and can include:Processing module 31, this mobile device is user's mini-plant subsidiary when buying automobile, and it has process mould Block 31 and memory module 32, processing module 31 includes authenticating user identification unit 311 and software download unit 312.This mobile dress Put and also there is a fritter touch display screen, so that the relevant information after display ECU software download and completion statuses, can also input User cipher, to ensure that validated user could use it.This mobile device is built-in with the communication module 33 that an operator provides, This communication module 33 can with the 2G/3G/4G network service of operator, thus completing the download reporting with ECU software of information, And ensure the security and the reliability communicating.This mobile device also has the socket supporting with the slot of automobile gateway, when user needs When using mobile device, by slot above-mentioned for the insertion of this mobile device, it is drawn off after being finished, therefore avoids permanent Online.
As shown in figure 3, described mobile device includes processing module 31, processing module 31 includes authenticating user identification unit 311 and software download unit 312.
Authenticating user identification unit 311 is used for, and carries out authenticating user identification with certificate server.
Software download unit 312 is used for, after described certificate server passes through to authenticating user identification, by automobile gateway Obtain the status information of the ECU software of each ECU, and report software download service by after the status information encryption of each ECU software Device;Receive the ECU software to be updated that software download sends, and pass through after described ECU software deciphering to be updated Described automobile gateway is handed down to each ECU;Obtain the software upgrading state letter of described ECU software to be updated by automobile gateway Breath, and described software upgrading state information report is given described software download.
Further, processing module 31 also includes device authentication unit 313, and device authentication unit 313 is used for, under software Before carrier unit 312 obtains the status information of ECU software of each ECU by automobile gateway, carry out equipment with described automobile gateway Checking.
Software download unit 312 is specifically for when device authentication is passed through, the ECU obtaining each ECU by automobile gateway is soft The status information of part.
Preferably, device authentication unit 313 specifically for sending the hardware volume carrying this equipment to described automobile gateway Number device authentication request so that described automobile gateway according to described hardware number and default hardware number to described mobile dress Put and carry out device authentication, if the two is consistent, device authentication is passed through;Receive the result that described automobile gateway returns.
Preferably, authenticating user identification unit 311 specifically for sending the use carrying user cipher to certificate server Family ID authentication request, so that described certificate server according to described user cipher and is preset in local user cipher to described Mobile device carries out authenticating user identification;Receive the use carrying software download address that described certificate server returns Family identity authentication result.
Software download unit 312 is specifically for by the status information encryption of each ECU software, and according to described software download Server address, by the state information report of each ECU software after encryption to software download.
Further, software download unit 312 is additionally operable to, and described software upgrading state information report is being given described software After download server, receive the download completion notice that described certificate server sends, described download completion notice is described soft Part download server is determined described ECU software to be updated to be fully completed after renewal according to described software upgrading status information and is sent out Give described certificate server.
The present invention is suitable for the young mobiles such as various electric automobiles, pilotless automobile.
It is understood that the embodiment of above principle being intended to be merely illustrative of the present and the exemplary enforcement adopting Mode, but the invention is not limited in this.For those skilled in the art, in the essence without departing from the present invention In the case of god and essence, various modifications and improvement can be made, these modifications and improvement are also considered as protection scope of the present invention.

Claims (10)

1. a kind of ECU software method for down loading is it is characterised in that methods described includes:
Mobile device and certificate server carry out authenticating user identification, when described certificate server passes through to authenticating user identification Afterwards, described mobile device obtains the status information of the ECU software of each ECU, and the state letter by each ECU software by automobile gateway Software download is reported after encryption for information;
Described mobile device receives the ECU software to be updated that software download sends, and will be soft for described ECU to be updated After part deciphering, each ECU is handed down to by described automobile gateway;
Described mobile device obtains the software upgrading status information of described ECU software to be updated by automobile gateway, and by institute State software upgrading state information report to described software download.
2. the method for claim 1 is it is characterised in that described mobile device obtains the ECU of each ECU by automobile gateway Before the status information of software, methods described also includes:
Described mobile device and described automobile gateway carry out device authentication, if device authentication is passed through, are obtained by automobile gateway The status information of the ECU software of each ECU.
3. method as claimed in claim 2 is it is characterised in that described mobile device and described automobile gateway carry out equipment tests Card, specifically includes:
Described mobile device sends the device authentication request of the hardware number carrying this equipment to described automobile gateway, so that institute State automobile gateway and device authentication carried out to described mobile device according to described hardware number and default hardware number, if the two one Cause, then device authentication is passed through;
Described mobile device receives the result that described automobile gateway returns.
4. the method for claim 1 is it is characterised in that described mobile device and certificate server carry out user identity recognizes Card, specifically includes:
Described mobile device sends the authenticating user identification request carrying user cipher to certificate server, so that described certification Server according to described user cipher and is preset in local user cipher and carries out authenticating user identification to described mobile device;
The user identity carrying software download address that described mobile device receives described certificate server return is recognized Card result;
Report software download after the described status information encryption by each ECU software, specifically include:
By the status information encryption of each ECU software, and according to described software download address, will be soft for each ECU after encryption The state information report of part is to software download.
5. the method as described in any one of claim 1-4 it is characterised in that described by described software upgrading state information report After described software download, methods described also includes:
Receive the download completion notice that described certificate server sends, described download completion notice is described software download Determine that described ECU software to be updated is fully completed after renewal according to described software upgrading status information and be sent to described certification Server.
6. it is characterised in that including processing module, processing module includes authenticating user identification unit and software to a kind of mobile device Download unit;
Described authenticating user identification unit is used for, and carries out authenticating user identification with certificate server;
Described software download unit is used for, and after described certificate server passes through to authenticating user identification, is obtained by automobile gateway Take the status information of the ECU software of each ECU, and report software download by after the status information encryption of each ECU software; Receive the ECU software to be updated that software download sends, and described by passing through after described ECU software deciphering to be updated Automobile gateway is handed down to each ECU;Obtain the software upgrading status information of described ECU software to be updated by automobile gateway, and Described software upgrading state information report is given described software download.
7. mobile device as claimed in claim 6 is it is characterised in that described processing module also includes device authentication unit,
Described device authentication unit is used for, and obtains the shape of the ECU software of each ECU by automobile gateway in described software download unit Before state information, carry out device authentication with described automobile gateway;
Described software download unit specifically for when device authentication is passed through, obtaining the ECU software of each ECU by automobile gateway Status information.
8. mobile device as claimed in claim 7 is it is characterised in that described device authentication unit is specifically for described vapour Car gateway sends the device authentication request of the hardware number carrying this equipment, so that described automobile gateway is compiled according to described hardware Number and default hardware number device authentication is carried out to described mobile device, if the two is consistent, device authentication is passed through;Receive institute State the result of automobile gateway return.
9. mobile device as claimed in claim 6 is it is characterised in that described authenticating user identification unit is specifically for recognizing Card server sends the authenticating user identification request carrying user cipher, so that described certificate server is close according to described user Code and be preset in local user cipher authenticating user identification is carried out to described mobile device;Receive described certificate server to return The authenticating user identification result carrying software download address;
Described software download unit is specifically for by the status information encryption of each ECU software, and according to described software download service Device address, by the state information report of each ECU software after encryption to software download.
10. the mobile device as described in any one of claim 6-9 is it is characterised in that described software download unit is additionally operable to, After described software upgrading state information report is given described software download, receive under described certificate server transmission Carry completion notice, described download completion notice is that described software download is determined according to described software upgrading status information Described ECU software to be updated is sent to described certificate server after being fully completed renewal.
CN201610866116.2A 2016-09-29 2016-09-29 ECU software download method and device Pending CN106385420A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610866116.2A CN106385420A (en) 2016-09-29 2016-09-29 ECU software download method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610866116.2A CN106385420A (en) 2016-09-29 2016-09-29 ECU software download method and device

Publications (1)

Publication Number Publication Date
CN106385420A true CN106385420A (en) 2017-02-08

Family

ID=57936089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610866116.2A Pending CN106385420A (en) 2016-09-29 2016-09-29 ECU software download method and device

Country Status (1)

Country Link
CN (1) CN106385420A (en)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106897627A (en) * 2017-02-21 2017-06-27 成都信息工程大学 It is a kind of to ensure the method that automobile ECU is immune against attacks and automatically updates
CN107132788A (en) * 2017-03-30 2017-09-05 深圳市元征科技股份有限公司 A kind of vehicle electronic control unit writes with a brush dipped in Chinese ink method and apparatus automatically
CN107580322A (en) * 2017-08-28 2018-01-12 驭势科技(北京)有限公司 Upgrade method, device and the automatic driving vehicle of automatic driving vehicle software systems
CN107864207A (en) * 2017-11-14 2018-03-30 上海赫千电子科技有限公司 A kind of ECU software upgrade method based on vehicle-mounted Ethernet
CN108153562A (en) * 2017-12-26 2018-06-12 浙江中科正方电子技术有限公司 A kind of new-energy automobile ECU teleprograms more new management system and method
CN108454538A (en) * 2017-02-17 2018-08-28 联合汽车电子有限公司 Vehicle Electronic Control Unit updating system
CN109154890A (en) * 2016-06-13 2019-01-04 歌乐株式会社 Software renewing apparatus and software update system
CN109408082A (en) * 2018-08-30 2019-03-01 百度在线网络技术(北京)有限公司 Upgrade method, device, equipment and readable storage medium storing program for executing based on third-party platform
CN110224907A (en) * 2018-03-01 2019-09-10 上海汽车集团股份有限公司 A kind of updating system of vehicle-mounted ECU, method and terminal
CN110888662A (en) * 2019-08-09 2020-03-17 中国第一汽车股份有限公司 Vehicle remote silent upgrading method and device, vehicle and storage medium
CN110908696A (en) * 2019-11-21 2020-03-24 安徽江淮汽车集团股份有限公司 Remote upgrading method, device, equipment and storage medium for automobile color screen instrument
CN111107513A (en) * 2019-12-05 2020-05-05 中国联合网络通信集团有限公司 Management method and management subsystem of road side unit and V2X message access gateway
CN111262962A (en) * 2020-01-16 2020-06-09 天津大学 Configuration method for automatically binding license plate and equipment number
CN111279310A (en) * 2017-10-24 2020-06-12 华为国际有限公司 Vehicle-mounted equipment upgrading method and related equipment
CN111722860A (en) * 2020-06-16 2020-09-29 东软睿驰汽车技术(沈阳)有限公司 OTA (over the air) upgrading method and device based on finite state machine
CN111736868A (en) * 2020-06-17 2020-10-02 北京航空航天大学 Automobile remote updating method based on identity identification and bidirectional verification
CN112713999A (en) * 2020-12-28 2021-04-27 北京航空航天大学 Networked automobile safety remote updating method based on bidirectional identity authentication
CN113411460A (en) * 2020-03-16 2021-09-17 富士施乐实业发展(中国)有限公司 Installation method and device of customized software
CN113612804A (en) * 2021-10-08 2021-11-05 江铃汽车股份有限公司 Vehicle configuration upgrading method and system, storage medium and intelligent gateway
CN114237734A (en) * 2021-11-23 2022-03-25 芯发威达电子(上海)有限公司 Computer startup software self-protection method, system, terminal and storage medium
US11356425B2 (en) 2018-11-30 2022-06-07 Paccar Inc Techniques for improving security of encrypted vehicle software updates
US11449327B2 (en) 2018-11-30 2022-09-20 Paccar Inc Error-resilient over-the-air software updates for vehicles
US11847201B2 (en) 2019-11-19 2023-12-19 Micron Technology, Inc. Authenticating a device using a remote host
WO2024001572A1 (en) * 2022-06-30 2024-01-04 中国第一汽车股份有限公司 Controller function updating method and system, vehicle, and server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1696900A (en) * 2004-05-13 2005-11-16 通用汽车公司 Method and system for remote reflash
CN104333576A (en) * 2014-10-21 2015-02-04 普华基础软件股份有限公司 ECU (Electronic Control Unit) upgrading device and method
CN105094901A (en) * 2015-07-14 2015-11-25 广州橙行智动汽车科技有限公司 Remote after-service on-line ECU refresh method and diagnosis apparatus
US20160264071A1 (en) * 2014-05-08 2016-09-15 Panasonic Intellectual Property Corporation Of America In-vehicle network system, electronic control unit, and update processing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1696900A (en) * 2004-05-13 2005-11-16 通用汽车公司 Method and system for remote reflash
US20160264071A1 (en) * 2014-05-08 2016-09-15 Panasonic Intellectual Property Corporation Of America In-vehicle network system, electronic control unit, and update processing method
CN104333576A (en) * 2014-10-21 2015-02-04 普华基础软件股份有限公司 ECU (Electronic Control Unit) upgrading device and method
CN105094901A (en) * 2015-07-14 2015-11-25 广州橙行智动汽车科技有限公司 Remote after-service on-line ECU refresh method and diagnosis apparatus

Cited By (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109154890A (en) * 2016-06-13 2019-01-04 歌乐株式会社 Software renewing apparatus and software update system
CN108454538A (en) * 2017-02-17 2018-08-28 联合汽车电子有限公司 Vehicle Electronic Control Unit updating system
CN106897627A (en) * 2017-02-21 2017-06-27 成都信息工程大学 It is a kind of to ensure the method that automobile ECU is immune against attacks and automatically updates
CN106897627B (en) * 2017-02-21 2020-02-11 成都信息工程大学 Method for ensuring automobile ECU to be free from attack and automatically updated
CN107132788A (en) * 2017-03-30 2017-09-05 深圳市元征科技股份有限公司 A kind of vehicle electronic control unit writes with a brush dipped in Chinese ink method and apparatus automatically
CN107580322A (en) * 2017-08-28 2018-01-12 驭势科技(北京)有限公司 Upgrade method, device and the automatic driving vehicle of automatic driving vehicle software systems
US11662991B2 (en) 2017-10-24 2023-05-30 Huawei International Pte. Ltd. Vehicle-mounted device upgrade method and related device
CN111279310A (en) * 2017-10-24 2020-06-12 华为国际有限公司 Vehicle-mounted equipment upgrading method and related equipment
CN111279310B (en) * 2017-10-24 2023-09-12 华为国际有限公司 Vehicle-mounted equipment upgrading method and related equipment
CN107864207A (en) * 2017-11-14 2018-03-30 上海赫千电子科技有限公司 A kind of ECU software upgrade method based on vehicle-mounted Ethernet
CN107864207B (en) * 2017-11-14 2020-12-08 上海赫千电子科技有限公司 ECU software upgrading method based on vehicle-mounted Ethernet
CN108153562A (en) * 2017-12-26 2018-06-12 浙江中科正方电子技术有限公司 A kind of new-energy automobile ECU teleprograms more new management system and method
CN108153562B (en) * 2017-12-26 2021-03-02 浙江中科正方电子技术有限公司 System and method for remote program update management of ECU of new energy automobile
CN110224907A (en) * 2018-03-01 2019-09-10 上海汽车集团股份有限公司 A kind of updating system of vehicle-mounted ECU, method and terminal
CN109408082A (en) * 2018-08-30 2019-03-01 百度在线网络技术(北京)有限公司 Upgrade method, device, equipment and readable storage medium storing program for executing based on third-party platform
US11449327B2 (en) 2018-11-30 2022-09-20 Paccar Inc Error-resilient over-the-air software updates for vehicles
US11356425B2 (en) 2018-11-30 2022-06-07 Paccar Inc Techniques for improving security of encrypted vehicle software updates
CN110888662A (en) * 2019-08-09 2020-03-17 中国第一汽车股份有限公司 Vehicle remote silent upgrading method and device, vehicle and storage medium
US11847201B2 (en) 2019-11-19 2023-12-19 Micron Technology, Inc. Authenticating a device using a remote host
CN110908696B (en) * 2019-11-21 2021-02-23 安徽江淮汽车集团股份有限公司 Remote upgrading method, device, equipment and storage medium for automobile color screen instrument
CN110908696A (en) * 2019-11-21 2020-03-24 安徽江淮汽车集团股份有限公司 Remote upgrading method, device, equipment and storage medium for automobile color screen instrument
CN111107513A (en) * 2019-12-05 2020-05-05 中国联合网络通信集团有限公司 Management method and management subsystem of road side unit and V2X message access gateway
CN111262962A (en) * 2020-01-16 2020-06-09 天津大学 Configuration method for automatically binding license plate and equipment number
CN113411460A (en) * 2020-03-16 2021-09-17 富士施乐实业发展(中国)有限公司 Installation method and device of customized software
CN111722860B (en) * 2020-06-16 2024-02-02 东软睿驰汽车技术(沈阳)有限公司 OTA upgrading method and device based on finite state machine
CN111722860A (en) * 2020-06-16 2020-09-29 东软睿驰汽车技术(沈阳)有限公司 OTA (over the air) upgrading method and device based on finite state machine
CN111736868A (en) * 2020-06-17 2020-10-02 北京航空航天大学 Automobile remote updating method based on identity identification and bidirectional verification
CN112713999B (en) * 2020-12-28 2021-10-19 北京航空航天大学 Networked automobile safety remote updating method based on bidirectional identity authentication
CN112713999A (en) * 2020-12-28 2021-04-27 北京航空航天大学 Networked automobile safety remote updating method based on bidirectional identity authentication
CN113612804B (en) * 2021-10-08 2021-12-14 江铃汽车股份有限公司 Vehicle configuration upgrading method and system, storage medium and intelligent gateway
CN113612804A (en) * 2021-10-08 2021-11-05 江铃汽车股份有限公司 Vehicle configuration upgrading method and system, storage medium and intelligent gateway
CN114237734A (en) * 2021-11-23 2022-03-25 芯发威达电子(上海)有限公司 Computer startup software self-protection method, system, terminal and storage medium
WO2024001572A1 (en) * 2022-06-30 2024-01-04 中国第一汽车股份有限公司 Controller function updating method and system, vehicle, and server

Similar Documents

Publication Publication Date Title
CN106385420A (en) ECU software download method and device
CN107085870B (en) Regulating vehicle access using encryption methods
CN111788811B (en) Secure communication between onboard electronic control units
CN109842862B (en) Establishing a secure short-range wireless communication connection in a vehicle
US9577997B2 (en) Authentication system and authentication method
CN106899540B (en) Update method, management system, eUICC and the terminal of user contracting data
CN105187376B (en) The safety communicating method of automotive interior network in car networking
US8222989B2 (en) Method for the protection of a movable object, especially a vehicle, against unauthorized use
WO2021135258A1 (en) Method and apparatus for using vehicle based on smart key
US8725135B2 (en) System and method for using a mobile terminal in a motor vehicle for updating the software of on-board computers
US6839710B2 (en) Method and system for maintaining a configuration history of a vehicle
US20050125669A1 (en) Method and apparatus for using a secure credential infrastructure to access vehicle components
JP2019080326A (en) Method for controlling access to in-vehicle wireless network
CN110324335B (en) Automobile software upgrading method and system based on electronic mobile certificate
CN108701384B (en) Method for monitoring access to electronically controllable devices
US20170118023A1 (en) Method for authorizing a software update in a motor vehicle
EP2466759B1 (en) Method and system for changing a selected home operator of a machine to machine equipment
CN103677892A (en) Authorization scheme to enable special privilege mode in secure electronic control unit
CN103679005A (en) Method to enable development mode of a secure electronic control unit
WO2019035275A1 (en) Vehicle safety system and vehicle safety method
US11245523B2 (en) Method for implementing client side credential control to authorize access to a protected device
CN109661794A (en) Key for controlling access is appointed
CN113709695A (en) Vehicle use authorization method and system
JP2018098572A (en) Distribution system, data security device, distribution method, and computer program
JP4567602B2 (en) Authentication device, authenticated device, and key update method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170208

RJ01 Rejection of invention patent application after publication