KR20150010494A - Method for program update of electronic control unit - Google Patents

Method for program update of electronic control unit Download PDF

Info

Publication number
KR20150010494A
KR20150010494A KR20130085616A KR20130085616A KR20150010494A KR 20150010494 A KR20150010494 A KR 20150010494A KR 20130085616 A KR20130085616 A KR 20130085616A KR 20130085616 A KR20130085616 A KR 20130085616A KR 20150010494 A KR20150010494 A KR 20150010494A
Authority
KR
South Korea
Prior art keywords
program
electronic control
server
memory block
vehicle type
Prior art date
Application number
KR20130085616A
Other languages
Korean (ko)
Inventor
구본창
유재웅
Original Assignee
현대자동차주식회사
기아자동차주식회사
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 현대자동차주식회사, 기아자동차주식회사 filed Critical 현대자동차주식회사
Priority to KR20130085616A priority Critical patent/KR20150010494A/en
Publication of KR20150010494A publication Critical patent/KR20150010494A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention is disclosed in a program update method of an electronic control device that allows a program stored in a memory area of an electronic control device to perform an update in accordance with a final specification for each operating region / vehicle type in a vehicle production line so that complicated specification management can be excluded.
The present invention relates to a process for collecting sequence information from a production management server and analyzing specification for each operating area / vehicle type; A process of collecting the program according to the analyzed service area / vehicle type specification from the laboratory server; Allocating an ID to each memory block of the electronic control unit, updating the collected program, and simultaneously storing a unique number (unique code) of the production line equipment for security enhancement; Storing the checksum calculation method and the unique conversion expression for each memory block, and then storing the final checksum for each memory block to end the program update.

Description

[0001] METHOD FOR PROGRAM UPDATE OF ELECTRONIC CONTROL UNIT [0002]

The present invention relates to a program update method for an electronic control unit, and more particularly, a program stored in a memory area of an electronic control unit executes an update in accordance with a final specification of each vehicle / vehicle type in a production line of a vehicle, And a method for updating a program of an electronic control device.

A plurality of electronic control units (ECUs) for controlling different functions are mounted to provide accurate engine control and stability according to the running state of the vehicle.

The electronic control unit precisely controls the ignition timing, fuel injection, idling, etc. of the engine according to the updated program in the memory area and controls all parts of the vehicle such as the automatic transmission, the driving system, the braking system, .

The electronic control device manufacturer updates the mass production program in the memory area according to the final specifications of each vehicle / vehicle type and supplies it to vehicle manufacturers.

Therefore, the manufacturer of the electronic control device and the vehicle production company must separately manage the electronic control device according to the final specifications according to the vehicle operating region / vehicle type, and the authentication management must be performed for each operating region. Therefore, May occur.

Further, in the mass production line, sequencing and specification division are required for each part of the electronic control device, and complicated management problems may arise.

In addition, CRC (Cyclical Redundancy Check) checksums for all data are also stored in the memory area of the electronic control device in order to check the compatibility of the updated program or specifications, thereby enhancing the security of the electronic control device .

Accordingly, a CRC checksum error occurs when an arbitrary data change occurs in the process of reprogramming or updating an updated program in the electronic control unit, so that the operation of the electronic control unit can be stopped.

However, since the CRC checksum stored in the conventional electronic control device is merely a sum of data, valid data is changed in a specific area, and checksum can be maintained at a constant value when data in an unnecessary area is changed at the same time, .

For example, assuming that the valid data in area A is "$ 11" in the electronic control unit and the unnecessary data in area B is "$ 22", the checksum becomes "$ 33".

Therefore, assuming that valid data in area A is changed to "$ 00" and data in the area B, which is not necessary, is changed to "$ 33", the checksum becomes "$ 33" The control device may cause a problem that the abnormal program data is changed but the program data is normally operated.

Published Patent Publication No. 10-2005-0030316 (Mar. 30, 2005) Japanese Patent Application Laid-Open No. 10-2013-0046904 (Aug.

SUMMARY OF THE INVENTION The present invention has been developed in order to solve such a problem, and an object of the present invention is to provide an electronic control apparatus and a control method thereof, in which a program stored in a memory area of an electronic control apparatus is updated in accordance with a final specification for each operating region / A program update method of an electronic control device.

In addition, an attempt is made to provide safety and reliability by blocking an arbitrary program change by providing an enhanced security setting in the process of updating a program to an electronic control unit.

According to an embodiment of the present invention, there is provided a program update system of an electronic control apparatus including a production line server connecting a production management server and a laboratory server via a network, wherein the production line server collects production sequence information from a production management server And collects the program according to the operating area / vehicle type analyzed in the production sequence information from the laboratory server, allocates an ID to each memory block of the electronic control device, collects the collected ID from the laboratory server, (Inherent code) of the production line equipment is stored in the memory area in order to enhance the security of the electronic control unit, and the checksum calculation method and the unique conversion formula for each memory block are stored, To save a checksum and save the program update The program update system of the electronic control device according to Gong, is provided.

According to another embodiment of the present invention, there is provided a program updating method of an electronic control device, comprising the steps of: collecting production sequence information from a production management server and analyzing specification for each operating area / vehicle type; A process of collecting the program according to the analyzed service area / vehicle type specification from the laboratory server; Allocating an ID to each memory block of the electronic control unit, updating the collected program, and simultaneously storing a unique number (unique code) of the production line equipment for security enhancement; There is provided a program updating method of an electronic control unit including a method of calculating a checksum for each memory block and a method of storing a unique conversion expression and then storing a final checksum for each memory block to terminate the program update.

As described above, according to the embodiment of the present invention, the electronic control unit is collectively mounted on the vehicle in the production line, and the program update is executed according to the specification for each operating region / vehicle type, And management, thereby providing an effect of innovatively reducing the logistics cost.

In addition, although the electronic control system of the final specification takes 1.5 months from the overseas plant to the actual vehicle, the program update is provided according to the operating region / vehicle type specification in the production line, so that the final specification is applied to the actual vehicle Can be shortened.

In addition, since the checksum is managed for each data area in the process of updating the program, and the unique number of the production line equipment is included in the checksum calculation formula, it is impossible to arbitrarily change the updated program to provide enhanced security .

1 is a diagram showing a program update system of an electronic control apparatus according to an embodiment of the present invention.
2 is a flowchart illustrating a program update procedure of an electronic control apparatus according to an embodiment of the present invention.

Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily carry out the present invention.

The present invention may be embodied in many different forms and is not limited to the embodiments described herein.

In order to clearly illustrate the present invention, parts not related to the description are omitted, and the same or similar components are given the same reference numerals throughout the specification.

In addition, since the components shown in the drawings are arbitrarily shown for convenience of explanation, the present invention is not necessarily limited to those shown in the drawings.

FIG. 1 is a diagram illustrating a program update system of an electronic control apparatus according to an embodiment of the present invention, and FIG. 2 is a flowchart illustrating a program update procedure of an electronic control apparatus according to an embodiment of the present invention.

Referring to FIG. 1, the present invention includes a production management server 100 for managing production sequence information according to operating area / vehicle type specifications, and a research server 200 for managing programs according to operating area / vehicle type specifications, And is connected to the line server 300.

The production line server 300 analyzes specifications for each operating area / vehicle type from the production sequence information provided at the production management server 100 connected to the network (S101), and analyzes the specifications for each operating area / vehicle type analyzed from the laboratory server 200 (S102).

After that, the production line server 300 allocates an ID for each memory block formed in the electronic control device, and then updates the program according to the driving area / vehicle type specification collected from the laboratory server 200 in the allocated memory block (S104 ).

In order to enhance the security of the electronic control unit, the production line server 300 stores the unique number (equipment code) of the production line equipment in the memory area of the electronic control unit (S105).

The production line server 300 updates the programs in the memory block according to the travel area / vehicle type specifications collected from the research server 200 as described above and stores the unique number (equipment code) of the production line equipment. The checksum calculation method and the inherent conversion expression for each memory block are stored (S106).

The production line server 300 calculates and stores the final checksum by the checksum calculation method stored for each memory block, thereby completing the program update procedure in the production line (S107).

As described above, the unique number (equipment code) of the production line equipment is stored simultaneously with the update program, thereby providing enhanced security.

For example, suppose that the electronic control unit stores a checksum at the time of program update as follows.

(B area ($ 22) + (equipment code_2 ($ 22)) - (area A ($ 11) - equipment code_1 ($ 11)) = $ 44

If the data of the B area which is the effective data area is changed and the data of the A area which is the unnecessary data area is changed, the checksums are calculated as shown below.

(B area ($ 33) + (equipment code_2 ($ 22)) - (area A ($ 00) - equipment code_1 ($ 11)) = $ 55

Thus, the updated program in the electronic control unit is determined to be invalid and the operation is suspended.

While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. It will be understood that various modifications and changes may be made without departing from the scope of the appended claims.

100: production management server 200: laboratory server
300: Production line server

Claims (2)

1. A program update system of an electronic control apparatus including a production line server for connecting a production management server and a laboratory server via a network,
The production line server collects the production sequence information from the production management server and analyzes specifications for each operating area / vehicle type,
Collects a program according to the operating area / vehicle type specification analyzed from the production sequence information from the laboratory server,
Assigning an ID to each memory block of the electronic control unit, updating a program collected from the laboratory server,
In order to enhance the security of the electronic control unit, a unique number (unique code) of the production line equipment is stored in a memory area, a checksum calculation method and a unique conversion formula are stored for each memory block, And terminates the updating of the program.
A program updating method of an electronic control device,
A process of collecting production sequence information from the production management server and analyzing specifications for each operating region / vehicle type;
Collecting a program according to the analyzed driving area / vehicle type specification from a laboratory server;
Allocating an ID to each memory block of the electronic control unit, updating the collected program, and simultaneously storing a unique number (unique code) of the production line equipment for security enhancement;
Storing a checksum calculation method and a unique conversion expression for each memory block, and storing a final checksum for each memory block to terminate the program update;
And updating the program stored in the memory.
KR20130085616A 2013-07-19 2013-07-19 Method for program update of electronic control unit KR20150010494A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR20130085616A KR20150010494A (en) 2013-07-19 2013-07-19 Method for program update of electronic control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR20130085616A KR20150010494A (en) 2013-07-19 2013-07-19 Method for program update of electronic control unit

Publications (1)

Publication Number Publication Date
KR20150010494A true KR20150010494A (en) 2015-01-28

Family

ID=52482314

Family Applications (1)

Application Number Title Priority Date Filing Date
KR20130085616A KR20150010494A (en) 2013-07-19 2013-07-19 Method for program update of electronic control unit

Country Status (1)

Country Link
KR (1) KR20150010494A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180067845A (en) * 2016-12-13 2018-06-21 현대오트론 주식회사 Method for applying calibration data to vehicle using integrated software for multi vehicles and Apparatus thereof
US10971143B2 (en) 2017-09-29 2021-04-06 Samsung Electronics Co., Ltd. Input device, electronic device, system comprising the same and control method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180067845A (en) * 2016-12-13 2018-06-21 현대오트론 주식회사 Method for applying calibration data to vehicle using integrated software for multi vehicles and Apparatus thereof
US10971143B2 (en) 2017-09-29 2021-04-06 Samsung Electronics Co., Ltd. Input device, electronic device, system comprising the same and control method thereof

Similar Documents

Publication Publication Date Title
US9880927B2 (en) Functionally expandable vehicle control device and method for supplementing the functionality of a vehicle control device
US8978160B2 (en) Method for selective software rollback
CA2502113A1 (en) Method and system for remote reflash
US20070112773A1 (en) Method for assuring flash programming integrity
CN106874026A (en) For the method and apparatus via the air interface steadily firmware of more new vehicle
US20180321929A1 (en) Method and system for software installation in a vehicle
KR20080085934A (en) Remote management system having automatic update function
KR20130095763A (en) Method, system, and program for upgrading runtime environment of programmable logic controller
CN102103511A (en) Method and system for refreshing application program
CN105468384A (en) Vehicle-mounted controller programming system and method, server and programming terminal
AU2015271955B2 (en) Vehicle computer system with data backup
KR20150010494A (en) Method for program update of electronic control unit
JP2019109745A (en) Automobile electronic controller
EP3125111B1 (en) Software deployment in an aggregated end user system
JP6459851B2 (en) Electronic control device for vehicle
KR20150043732A (en) System and method for software update of vehicle controller
US9495182B2 (en) Apparatus of reconfigurable software mode management using runtime execution engine
US20110022757A1 (en) Method for Accessing Control Units Arranged in a Vehicle, Control Program and Communication Control Unit
JP2022007618A (en) Server, update management method, update management program and software update device
CN111831324A (en) Rail transit control device parameter configuration method based on functional safety
WO2018127394A1 (en) Scalable control system for a motor vehicle
ITMI20072178A1 (en) PROCEDURE FOR THE FUNCTIONING OF A CALCULATION UNIT
KR101469560B1 (en) Electronic control unit update apparatus for vehicle and method thereof
KR20080105527A (en) Method for updating software and calibration data of controller of car
US11579594B2 (en) Method and engineering system for modifying a program of an industrial automation component

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application