CN101470411B - System and method for safely updating ECU data - Google Patents
System and method for safely updating ECU data Download PDFInfo
- Publication number
- CN101470411B CN101470411B CN2007100946583A CN200710094658A CN101470411B CN 101470411 B CN101470411 B CN 101470411B CN 2007100946583 A CN2007100946583 A CN 2007100946583A CN 200710094658 A CN200710094658 A CN 200710094658A CN 101470411 B CN101470411 B CN 101470411B
- Authority
- CN
- China
- Prior art keywords
- upgrading
- ecu
- information
- upgrade
- data
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Stored Programmes (AREA)
- Storage Device Security (AREA)
Abstract
The invention discloses an ECU data safety upgrading system, which is characterized by comprising an encrypted file generating module, a user management module and an upgrading module, wherein the encrypted file generating module is used for generating upgrade information packet files after encrypting ECU data and control information, the user management module dispenses corresponding registration codes according to request codes provided by users for users' right management and after-sale records, the upgrading module utilizes a USB softdog and user information to verify the uses' rights, and then obtains and compares the information of electronic controllers needed to be upgraded with the control information in the upgrade information packets, if meeting requirements, the upgrade information packet files are decrypted, and ECU is upgraded by downloading data within allowable address range. The ECU data safety upgrading system is capable of carrying out ECU upgrading operations through technicians at a service station, and has the advantages of low cost, fast response and easy operation while guaranteeing data safety.
Description
Technical field
The present invention relates to a kind of system of Motronic control maps unit control system ECU data upgrading, particularly a kind of system of ECU data security upgrading.The invention still further relates to a kind of method of ECU data security upgrading.
Background technology
Along with the intensified competition of domestic automobile industry, it is more and more faster that each big motor corporation releases the speed of new car, and the compression of construction cycle has brought the risk of ECU data.And because various factors, in automotive development, stage after sale, the client can require the current release data of ECU are refreshed.It mostly is the hand-held diagnostic device that traditional ECU refreshes used diagnosis communication instrument, the cost height of this equipment, strongly professional, when using it to carry out the ECU upgrading, usually employing withdrawal plant area refreshes or sends the slip-stick artist to go to the scene to carry out refresh data specially, and this dual mode all can bring very big cost problem, simultaneously owing to the time cycle of Refresh Data is longer, also must cause customer satisfaction to descend, so be not suitable for promoting the use of.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of system of ECU data security upgrading, and it can control the engine data upgrading, guarantees data security, and realizes low cost, fast-response, easy-operating purpose.
For solving the problems of the technologies described above, the system of ECU data security upgrading of the present invention comprises the encrypt file generation module, is used for ECU data and control information are encrypted back generation upgrade information APMB package; User management module according to the application code that the user provides, distributes corresponding registration code, is used for the management of rights of using and record after sale; The upgrading module, utilize USB softdog and user profile to check user's rights of using, information conforms to and confirms as deciphering upgrade information APMB package behind the validated user (information is not inconsistent and confirms as the disabled user, stop ROMPaq), obtaining the information of the electronic controller that needs upgrading and the control information in the described upgrade information bag afterwards compares, condition meets just deciphers upgrade information APMB package (condition does not meet and stops ROMPaq), and data download is carried out the ECU upgrading in the range address that allows.
The method of ECU data security upgrading of the present invention, it comprises the steps:
To the step of ECU data encryption, ECU data and corresponding control information are encrypted generation upgrade information APMB package;
The step of user's registration according to the application code that comprises the maintenance station relevant information that the user provides, distributes the registration code of a correspondence;
The checking step of information before the upgrading, check user's rights of using (can confirm) earlier by registration code and hardware encipher dog, information conforms to and confirms as deciphering upgrade information APMB package behind the validated user (information be not inconsistent confirm as the disabled user then stop ROMPaq), read the information (can be hardware sequence number and software version number) of the electronic controller that needs upgrading, compare with the control information in the described upgrade information bag, the information download and upgrade data that just conform in the range address that allows are carried out ECU upgrading (information does not conform to and just stops ROMPaq).
The system and method for ECU data security upgrading of the present invention, can be issued to the after-sale service station of various places by automobile manufacturing company, is car owner's ECU data of directly upgrading by the after-sale service station technician by the PC computer, exempted and needed to use the hand-held diagnostic device, by original factory slip-stick artist toward on-site maintenance or regain the situation that plant area upgrades, under the prerequisite of guaranteeing data security property, realize low cost, fast-response, easy-operating purpose.
Description of drawings
The present invention is further detailed explanation below in conjunction with accompanying drawing and embodiment:
Fig. 1 is a system schematic of the present invention;
Fig. 2 is a method flow synoptic diagram of the present invention.
Embodiment
Motronic control maps unit control system ECU data upgrading tool is the core instrument of engine management system exploitation, data maintenance.The system of ECU data security upgrading of the present invention, comprise as the lower module (see figure 1): the encrypt file generation module, be used for ECU data and corresponding control information are encrypted back generation upgrade information APMB package, realize the security control of data, ciphering process can adopt 64 bit encryption technology; User management module according to the application code that comprises the relevant information of maintenance station computer that user (certain 4S store) provides, distributes the registration code of a correspondence, is used for the management of rights of using and record after sale; Upgrading module based on the PC computer, the registration code that utilizes USB softdog (mode of USB Dongle registration) and user to import is checked user's rights of using, after information is correctly promptly confirmed as validated user, otherwise for disabled user's program can be closed automatically, decipher the upgrade information APMB package afterwards, and obtain the information (comprising hardware sequence number and software version number) of original controller by communication, compare with the control information in the described upgrade information bag, condition meets just deciphers the upgrade information APMB package, data download is carried out the ECU upgrading in the range address that allows, the final stage of data upgradings check data check and, and write the maintenance station station number and follow the tracks of.After the data download is finished, write user identification code (being used to write down upgrade information), finish whole upgrade step.Concrete example is that upgradeable ECU software is three kinds of A, B and C in the upgrade information bag, and the ECU software in the original controller that obtains is A, so can upgrade with this upgrade information APMB package, promptly data download is carried out the ECU upgrading in the allowed band of A.
Above-mentioned upgrading module based on the PC computer, its hardware are the most frequently used PC computer, and its upgrade software adopts the KWP2000 diagnosing protocol, and it can realize the communication modes of COM port or USB port, carries out communication with electronic controller.The principle of ECU data upgrading, be to be connected to COM port or USB port on the PC by the wire harness that links to each other with OBD II diagnostics port, PC computer, send the diagnosing protocol order that ECU supports, from the upgrade software of PC computer, download new data, to finish the purpose that the program or the data of its different addresses are upgraded.Above-mentioned ECU data security upgrade-system can be an ECU data upgrade software through encrypting, move on PC by USB softdog and user's registration code, connect the COM port of the PC that this upgrade software is housed or USB port respectively and need OBD II diagnostics port in the electronic controller of upgrading through wire harness, realize communication between the two, in the operation ROMPaq, finish upgrading to electronic controller.
The present invention also provides a kind of method (see figure 2) of ECU data security upgrading, and it comprises:
(1) to the step of ECU data encryption.With the binary file in the ECU data (as the hex file) with security requirements, be encrypted as the upgrade information APMB package of final use, realize the security control of data.Encryption can be adopted 64 bit encryption technology.Above-mentioned encryption with binary file of security requirements can be finished by the RIP generation module, as hex file elder generation process format conversion, and adding refreshes required data control information (as version number, hard piece number etc.), generate the RIP file after encrypting, comprise data historian in the RIP file, verification and etc. information;
(2) step of user's registration.According to the application code that comprises maintenance station computer relevant information that the user provides, distribute the registration code of a correspondence, be used for the management of rights of using and record after sale.By registration code feedback use information, and software distribution maintenance station number is arranged;
(3) checking step of information before the upgrading.The use of upgrade software realizes communication by ECU upgrading tool PC computer and the electronic controller that needs upgrading, at first, check user right by USB softdog and registration code, be confirmed to be (disabled user can close automatically) after the validated user, the operation upgrade software, deciphered the upgrade information APMB package before this, obtain the information of the electronic controller that needs upgrading by communication, as hardware sequence number and software version number etc., with in the upgrade information bag after related control information is compared mutually, judge whether current electronic controller allows upgrading, as information conforms then in allowed limits data download upgrade, and the final stage of data upgradings check data check and, write the maintenance station station number so that follow the tracks of.
In one embodiment, the hardware that upgrading is adopted is the PC computer, and the ECU upgrade software adopts the KWP2000 diagnosing protocol, and it can realize the communication modes of COM port or USB port.The principle of data upgrading, be by with electronic controller in OBDII diagnostics port, the COM port of PC computer or the wire harness that USB port links to each other, send the diagnosing protocol order that ECU supports, from the PC computer, download new ECU data, to finish the purpose that the program or the data of its different addresses are upgraded.Whole process has detailed information, and has complete mistake proofing to handle, and is easy to use.In concrete the use, when moving this upgrade software, the system requirements user selects ECU type (hardware sequence number and software version number), refresh baud rate (controller specific baud rate), information such as communication connected mode, selection RIP file, according to above input option, the RIP file of opening is decrypted, be reduced to binary data file.Set up communication afterwards, press ECU escalation policy sending controling instruction, send the diagnostic command that ECU supports, after the data message checking by ECU, data download in the range address that allows, and to data downloaded carry out verification and verification.Soft to ECU for the convenience of the user, hardware information confirms, this software also can attach to provide and read ID, reads/functions such as clear diagnostic trouble code.
A concrete ROMPaq operational process is: behind the start-up routine, judge according to registration code and USB softdog whether the active user is validated user, and conforming to as information is then to carry out follow-up decryption oprerations according to user's upgrade option earlier, otherwise the release program.As select normal upgrade step for use, the control information of then checking in the information of current ECU and the upgrading data packet is compared, and as by then carrying out the escalation process of ECU, then skips checking to control information as adopting development mode.After data are downloaded end, write user identification code (so that carrying out follow-up tracking), finish whole upgrade step.
The system of ECU data security upgrading of the present invention, ECU data upgrade-system based on the PC computer, can adopt the most frequently used PC computer as upgrading tool, by automobile manufacturing company upgrade software is issued to the after-sale service station of various places, when data need be upgraded, the after-sale service station technician just can install this software and refresh ECU for the car owner, improve data security thus, do not needed additionally to make upgrading tool simultaneously, realized low cost, fast-response, easy-operating purpose.
Claims (8)
1. the system of an ECU data security upgrading is characterized in that: comprise the encrypt file generation module, be used for ECU data and control information are encrypted back generation upgrade information APMB package; User management module according to the application code that the user provides, distributes corresponding registration code, is used for the management of rights of using and record after sale; The upgrading module, used hardware is ordinary individual's computer, upgrade software in the described upgrading module adopts the KWP2000 diagnosing protocol, COM port on described ordinary individual's computer or USB port link to each other with OBD II diagnostics port on the described ECU that needs upgrading by wire harness, utilize USB softdog and registration code to check user's rights of using, information conforms to and confirms as deciphering upgrade information APMB package behind the validated user, information is not inconsistent then and logs off, obtaining the information of the ECU that needs upgrading and the control information in the described upgrade information bag afterwards compares, the condition coupling is just downloaded the ECU data and is carried out the ECU upgrading in the range address that allows, condition does not match and then logs off.
2. according to the system of the described ECU data security upgrading of claim 1, it is characterized in that: encrypt the 64 bit encryption technology of employing in the described encrypt file generation module.
3. according to the system of claim 1 or the upgrading of 2 described ECU data securities, it is characterized in that: in the described upgrading module, the final stage of ECU upgrading carry out data check and check.
4. the method for ECU data security upgrading, it is characterized in that: it comprises the steps:
To the step of ECU data encryption, ECU data and corresponding control information are encrypted generation upgrade information APMB package;
The step of user's registration according to the application code that comprises the maintenance station relevant information that the user provides, distributes the registration code of a correspondence;
The checking step of information before the upgrading, user's rights of using are checked by elder generation according to USB softdog and registration code, information conforms to and confirms as deciphering upgrade information APMB package behind the validated user, information is not inconsistent then and logs off, read the information of the ECU that needs upgrading afterwards, compare with the control information in the described upgrade information bag, the condition coupling is just downloaded the ECU data and is carried out the ECU upgrading in the range address that allows, and condition does not match and then logs off.
5. according to the method for the described ECU data security of claim 4 upgrading, it is characterized in that: described to ECU data encryption adopt 64 bit encryption technology.
6. according to the method for claim 4 or the upgrading of 5 described ECU data securities, it is characterized in that: the hardware of upgrading is ordinary individual's computer, upgrade software adopts the KWP2000 diagnosing protocol, and COM port on the described PC or USB port link to each other by the OBD II diagnostics port on the ECU of wire harness and need upgrading.
7. according to the method for claim 4 or 5 described ECU data security upgradings, it is characterized in that: the information of the described ECU that need upgrade is hardware sequence number and software version number.
8. according to the method for the described ECU data security upgrading of claim 6, it is characterized in that: the information of the described electronic controller that need upgrade is hardware sequence number and software version number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007100946583A CN101470411B (en) | 2007-12-28 | 2007-12-28 | System and method for safely updating ECU data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007100946583A CN101470411B (en) | 2007-12-28 | 2007-12-28 | System and method for safely updating ECU data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101470411A CN101470411A (en) | 2009-07-01 |
CN101470411B true CN101470411B (en) | 2011-06-01 |
Family
ID=40827958
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007100946583A Expired - Fee Related CN101470411B (en) | 2007-12-28 | 2007-12-28 | System and method for safely updating ECU data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101470411B (en) |
Families Citing this family (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103166943A (en) * | 2011-12-19 | 2013-06-19 | 北汽福田汽车股份有限公司 | Method and system for encryption transmission electronic control unit (ECU) objective file |
CN102567018B (en) * | 2011-12-23 | 2015-09-09 | 北京经纬恒润科技有限公司 | The application program method for down loading that a kind of Vehicle Controller performs and system |
CN103713527B (en) * | 2012-09-29 | 2017-03-22 | 博世汽车部件(苏州)有限公司 | Refreshing method, writing apparatus and writing system for automobile electronic controller |
CN102929669B (en) * | 2012-10-29 | 2016-11-16 | 北京开元智信通软件有限公司 | A kind of embedded software upgrade method, system and device |
CN103439942A (en) * | 2013-08-23 | 2013-12-11 | 深圳市元征科技股份有限公司 | Vehicle trunk control method |
CN104090784B (en) * | 2014-06-11 | 2017-12-01 | 北京素志科技发展有限公司 | A kind of remote upgrade control method for smart card encryption lock |
CN104461669B (en) * | 2015-01-06 | 2018-01-23 | 上海华测导航技术股份有限公司 | The system and method for GNSS receiver upgrading is realized based on safe U disc |
CN104753962A (en) * | 2015-04-23 | 2015-07-01 | 厦门雅迅网络股份有限公司 | OBD (On-board diagnostics) safety management method and system |
JP6281535B2 (en) * | 2015-07-23 | 2018-02-21 | 株式会社デンソー | Relay device, ECU, and in-vehicle system |
CN106886424B (en) * | 2015-12-15 | 2021-08-27 | 安波福电子(苏州)有限公司 | Device and method for upgrading automobile software according to intelligent equipment |
US10762245B2 (en) * | 2015-12-17 | 2020-09-01 | Ncr Corporation | Input peripheral device security |
CN106372551A (en) * | 2016-08-26 | 2017-02-01 | 安徽全柴动力股份有限公司 | Error-proof ECU data brush-writing method and device |
CN106372545B (en) * | 2016-08-29 | 2020-09-11 | 北京新能源汽车股份有限公司 | Data processing method, vehicle-mounted automatic diagnosis system OBD controller and vehicle |
CN106599697B (en) * | 2016-11-30 | 2019-10-29 | 北京三未信安科技发展有限公司 | A kind of method and system of safety upgrade PCI cipher card card internal program |
CN106850311B (en) * | 2017-03-03 | 2019-12-13 | 上海蔚来汽车有限公司 | Data security transmission system and method for firmware upgrade |
JP6672243B2 (en) * | 2017-11-22 | 2020-03-25 | Kddi株式会社 | Data providing system, data providing device, data providing method, and data providing program |
CN109634533B (en) * | 2018-12-25 | 2021-10-22 | 深圳市元征科技股份有限公司 | ECU information unloading method and related device |
CN111381846B (en) * | 2018-12-29 | 2024-02-23 | 联合汽车电子有限公司 | Data verification method for safety refreshing of electronic controller |
CN109976770B (en) * | 2019-03-22 | 2023-02-28 | 深圳市元征科技股份有限公司 | ECU (electronic control Unit) flashing method and system and related equipment |
MX2021009503A (en) | 2020-02-14 | 2021-09-08 | Huawei Tech Co Ltd | Vehicle-mounted device upgrading method, and related apparatus. |
CN113569247B (en) * | 2020-04-28 | 2024-07-26 | 深圳绿米联创科技有限公司 | Equipment upgrading method, device and system and electronic equipment |
CN111600883A (en) * | 2020-05-15 | 2020-08-28 | 深圳市元征科技股份有限公司 | Vehicle diagnosis method and system, electronic equipment and storage medium |
CN112783056B (en) * | 2021-01-04 | 2022-09-23 | 潍柴动力股份有限公司 | Data programming method, device and equipment of ECU and storage medium |
CN116418670A (en) * | 2021-12-31 | 2023-07-11 | 比亚迪股份有限公司 | Upgrade method and device for multi-ECU system, electronic equipment and storage medium |
CN114756258B (en) * | 2022-01-04 | 2023-03-24 | 广州汽车集团股份有限公司 | ECU software refreshing method and system based on ODX |
CN116243939B (en) * | 2023-05-11 | 2023-07-21 | 深圳市驰普科达科技有限公司 | Method and device for installing software, electronic equipment and storage medium |
CN117272327B (en) * | 2023-10-31 | 2024-05-03 | 深圳市巨诺电子有限公司 | Set top box encryption upgrading method and set top box |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1491384A (en) * | 2001-02-16 | 2004-04-21 | 大众汽车有限公司 | Method and device for performing vehicle-specific programming of vehicle control untis |
CN1696900A (en) * | 2004-05-13 | 2005-11-16 | 通用汽车公司 | Method and system for remote reflash |
CN101080693A (en) * | 2004-12-14 | 2007-11-28 | 宝马股份公司 | System for using at least one mobile terminal device in a motor vehicle with an updating device |
-
2007
- 2007-12-28 CN CN2007100946583A patent/CN101470411B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1491384A (en) * | 2001-02-16 | 2004-04-21 | 大众汽车有限公司 | Method and device for performing vehicle-specific programming of vehicle control untis |
CN1696900A (en) * | 2004-05-13 | 2005-11-16 | 通用汽车公司 | Method and system for remote reflash |
CN101080693A (en) * | 2004-12-14 | 2007-11-28 | 宝马股份公司 | System for using at least one mobile terminal device in a motor vehicle with an updating device |
Also Published As
Publication number | Publication date |
---|---|
CN101470411A (en) | 2009-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101470411B (en) | System and method for safely updating ECU data | |
CN107924443B (en) | Firmware upgrading method and system for process control device | |
EP3648396B1 (en) | Maintenance system and maintenance method | |
CN101490721B (en) | Control of fleet vehicles with common transmitters | |
US8606217B2 (en) | Communication control system and method for performing a transmission of data | |
CN101390368B (en) | Managing secure access to a secure digital content in a portable communicating object | |
CN104468784A (en) | System and method for achieving vehicle-mounted unit software upgrade through DSRC interface | |
CN103723119B (en) | Electronic key registration system, method and control device | |
US11882213B2 (en) | Method for key generation upon request by a secure access device, using an electronic control unit of a vehicle | |
WO2004079565A3 (en) | Method for providing a software module to an automotive vehicle control unit, and computer program for executing the method | |
CN109976770B (en) | ECU (electronic control Unit) flashing method and system and related equipment | |
CN104158819A (en) | Safety authentication method of vehicle-mounted information entertainment terminal | |
CN105471874A (en) | Data transmission method and device | |
CN107041171A (en) | Low-power consumption bluetooth BLE equipment, data update system and method | |
CN103856321A (en) | Data encryption and decryption method and system | |
CN103258148B (en) | Control system, control device and program execution control method | |
US10668875B2 (en) | Management control device for a vehicle | |
JP5809502B2 (en) | Work machine and data communication system for work machine | |
CN110597546B (en) | Method for upgrading vehicle-mounted controller program and vehicle | |
CN104765316A (en) | Technology of adopting intelligent terminals as human-computer interface of industrial equipment control | |
CN113141593A (en) | Detection method and detection system for vehicle virtual key and upper computer | |
CN107329787A (en) | One kind updates terminal device program technic | |
CN112350900B (en) | Safety switch control method based on Bluetooth and WeChat applet | |
WO2005081650A2 (en) | A system and a method for communication with an electronic unit in vehicles | |
US8639924B2 (en) | Method for processing secure program using key distribution protocol in server/client |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110601 Termination date: 20201228 |
|
CF01 | Termination of patent right due to non-payment of annual fee |