KR20140057878A - Data rstoration mehtod of re-programing and data rstoration apparatus - Google Patents

Data rstoration mehtod of re-programing and data rstoration apparatus Download PDF

Info

Publication number
KR20140057878A
KR20140057878A KR1020120124179A KR20120124179A KR20140057878A KR 20140057878 A KR20140057878 A KR 20140057878A KR 1020120124179 A KR1020120124179 A KR 1020120124179A KR 20120124179 A KR20120124179 A KR 20120124179A KR 20140057878 A KR20140057878 A KR 20140057878A
Authority
KR
South Korea
Prior art keywords
data
information
channel information
name information
name
Prior art date
Application number
KR1020120124179A
Other languages
Korean (ko)
Other versions
KR102174882B1 (en
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 KR1020120124179A priority Critical patent/KR102174882B1/en
Publication of KR20140057878A publication Critical patent/KR20140057878A/en
Application granted granted Critical
Publication of KR102174882B1 publication Critical patent/KR102174882B1/en

Links

Images

Classifications

    • 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/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline, look ahead
    • G06F9/3861Recovery, e.g. branch miss-prediction, exception handling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0238Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
    • G06F12/0246Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/16Protection against loss of memory contents
    • 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
    • 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
    • G06F9/445Program loading or initiating

Abstract

The present invention discloses a data restoring device and method in re-programming. According to the present invention, the method includes: after storing channel information and name information of pre-stored previous data and channel information and name information of data received during a re-programming execution process in a predetermined area of a memory separately when requesting re-programming, performing re-programming on data in which the channel information and name information of previous data match channel information and name information of new data and setting the channel information and name information of un-matched previous data as an initial value. Therefore, by completely restoring data at a re-programming request, the stability and reliability of an electronic control device can be improved.

Description

리 프로그래밍 시 데이터 복구 방법 및 장치{DATA RSTORATION MEHTOD OF RE-PROGRAMING AND DATA RSTORATION APPARATUS}BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data restoration method,

본 발명은 리 프로그래밍 시 데이터 복구 방법 및 장치에 관한 것으로, 더욱 상세하게는 리 프로그래밍 요청 시 기존의 데이터가 저장된 데이터 채널 정보 및 이름 정보와 리프로그래밍 과정에서 저장된 데이터 채널 정보 및 이름 정보를 토대로 리 프로그래밍 시 데이터를 완전하게 복구할 수 있도록 한 방법 및 장치에 관한 것이다.The present invention relates to a data recovery method and apparatus for reprogramming, and more particularly, to a method and apparatus for data reprogramming in reprogramming, The present invention relates to a method and an apparatus for fully recovering data at a time.

통상적으로, 전자제어장치를 양산한 이후 엔진제어유닛에 프로그래밍되어 있는 프로그램을 재차 리 프로그래밍하는 경우가 있다.Generally, there is a case where the program which is programmed in the engine control unit is re-programmed again after mass production of the electronic control unit.

예컨대, 전자제어장치 내의 엔진제어유닛에 대해 리 프로그래밍을 하고자 하는 경우 엔진제어유닛과 연결된 캔 통신 라인에 외부 스캔 툴을 연결하여 리 프로그래밍을 개시한다.For example, when it is desired to reprogram the engine control unit in the electronic control unit, the external scan tool is connected to the CAN communication line connected to the engine control unit to start reprogramming.

전자제어장치내의 메모리는 리 프로그래밍 시 저장된 데이터를 보존하기 위해, 도 1에 도시된 바와 같이, 수신되는 데이터 이외에 데이터에 대한 관련 정보, 예를 들어, 데이터의 전체 사이즈 및 체크섬(Check sum) 정보, 들을 함께 저장되어 있다.The memory in the electronic control unit may store related information on the data in addition to the received data, for example, the total size and checksum information of the data, as shown in FIG. 1, They are stored together.

리 프로그램 요청 시 수신된 데이터의 관련 정보와 기 저장된 데이터의 관련 정보를 토대로 수신된 데이터의 유효성 여부를 판단하고 판단 결과 유효한 데이터로 판단되는 경우 수신된 데이터로 리 프로그래밍을 실행한다.When it is determined that the received data is valid, it is determined that the received data is valid based on the related information of the received data and the related information of the stored data.

이때 수신된 데이터의 관련 정보와 기 저장된 데이터의 관련 정보가 상이하여 유효하지 아니하다고 판단되는 경우 수신된 리 프로그래밍이 실행되지 아니하고, 데이터가 복구되지 않는 문제점이 있었다.At this time, if it is determined that the related information of the received data is different from the related information of the stored data, the received reprogramming is not performed and the data is not recovered.

따라서, 본 발명은 상기의 문제점을 해결하기 위해 창출된 것으로, 본 발명의 목적은 리 프로그래밍 요청 시 기 저장된 데이터의 채널 정보 및 이름 정보와 리 프로그래밍 과정에서 수신된 데이터의 채널 정보 및 이름 정보를 메모리의 소정 영역에 별도로 각각 저장한 후 이전 데이터의 채널 정보 및 이름 정보를 신규 데이터의 채널 정보 및 이름 정보에 일치하는 데이터에 대해 리 프로그래밍을 실행하고 일치하지 아니한 이전 데이터의 채널 정보 및 이름 정보를 초기값으로 설정함에 따라, 리 프로그래밍 요청 시 데이터를 완전하게 복구하기 위한 리 프로그래밍 시 데이터 복구 방법 및 장치를 제공하고자 함에 있다.The present invention has been made in order to solve the above problems, and an object of the present invention is to provide an apparatus and a method for recording and reproducing channel information and name information of previously stored data, The channel information and the name information of the previous data are reprogrammed with respect to the data corresponding to the channel information and the name information of the new data and the channel information and the name information of the unmatched previous data are stored in the initial Values, it is an object of the present invention to provide a data recovery method and apparatus for reprogramming data to be completely recovered when a reprogramming request is made.

상기 목적을 달성하기 위한 본 발명의 실시 예에 따른 리 프로그래밍 시 데이터 복구 방법은, According to an aspect of the present invention,

전자제어장치에 대한 리 프로그래밍 요청 시 기 저장된 이전 데이터의 채널 정보 및 이름 정보를 메모리의 소정 영역에 저장하는 이전 데이터 정보 저장 단계;A previous data information storing step of storing channel information and name information of previously stored data in a predetermined area of the memory when a reprogramming of the electronic control device is requested;

리 프로그램 실행 시 수신된 데이터를 저장한 후 신규 데이터의 채널 정보 및 이름 정보를 메모리에 저장하는 신규 데이터 정보 저장 단계; 및A new data information storing step of storing the channel information and the name information of the new data in the memory after storing the received data when executing the reprogram; And

상기 이전 데이터의 채널 정보 및 이름 정보와 신규 데이터의 채널 정보 및 이름 정보를 비교하고 비교 결과를 토대로 데이터를 복구하는 데이터 복구 단계를 포함하는 것을 특징으로 한다.And a data recovery step of comparing the channel information and the name information of the previous data with the channel information and the name information of the new data and restoring the data based on the comparison result.

상기 데이터 복구 단계는,The data recovery step may include:

상기 이전 데이터의 채널 정보 및 이름 정보와 신규 데이터의 채널 정보 및 이름 정보가 일치하는 경우 리 프로그래밍을 통해 수신된 데이터를 저장하도록 구비되는 것이 바람직하다 할 것이다.And to store the data received through reprogramming when the channel information and the name information of the previous data match with the channel information and the name information of the new data.

상기 데이터 복구 단계는,The data recovery step may include:

상기 이전 데이터의 채널 정보 및 이름 정보와 신규 데이터의 채널 정보 및 이름 정보가 일치하지 아니한 경우 이전 데이터의 채널 정보 및 이름 정보를 초기값으로 설정하도록 구비되는 것이 바람직하다 할 것이다. When the channel information and the name information of the previous data do not coincide with the channel information and the name information of the new data, the channel information and the name information of the previous data are set as initial values.

상기 목적을 달성하기 위한 본 발명의 실시 예에 따른 리 프로그래밍 시 데이터 복구 장치는,According to an aspect of the present invention, there is provided a data re-

헤더(header), 데이터(data), 및 꼬리말(footer) 순의 데이터 구조로 수신된 데이터를 저장되는 메모리를 포함하되,A memory for storing received data in a data structure in header, data, and footer order,

상기 메모리는, The memory comprising:

리 프로그래밍 요청 시 데이터 구조의 꼬리말에 저장된 기 저장된 이전 데이터의 채널 정보 및 이름 정보를 저장하고, 리 프로그래밍 실행 시 수신된 신규 데이터의 채널 정보 및 이름 정보를 각각 소정 영역에 저장하고,Storing channel information and name information of pre-stored previous data stored in a footer of a data structure upon a reprogramming request, storing channel information and name information of the received new data in a predetermined area when executing reprogramming,

상기 이전 데이터의 채널 정보 및 이름 정보와 신규 데이터의 채널 정보 및 이름 정보를 비교하고 비교 결과를 토대로 리 프로그래밍을 실행하여 수신된 데이터를 복구하는 제어 모듈을 더 포함하는 것을 특징으로 한다.And a control module for comparing the channel information and name information of the previous data with the channel information and name information of the new data, and performing reprogramming based on the comparison result to recover the received data.

상기 제어 모듈은 The control module

상기 이전 데이터의 채널 정보 및 이름 정보와 신규 데이터의 채널 정보 및 이름 정보가 일치하는 경우 리 프로그래밍을 실행하여 수신된 신규 데이터를 저장하도록 구비되는 것이 바람직하다 할 것이다.And to store the received new data by performing reprogramming when channel information and name information of the previous data match with channel information and name information of the new data.

상기 제어 모듈은,The control module includes:

상기 이전 데이터의 채널 정보 및 이름 정보와 신규 데이터의 채널 정보 및 이름 정보가 일치하지 아니한 경우 이전 데이터의 채널 정보 및 이름 정보를 초기값으로 저장하도록 구비되는 것이 바람직하다 할 것이다. When the channel information and the name information of the previous data do not match with the channel information and the name information of the new data, the channel information and the name information of the previous data are stored as initial values.

이상에서 설명한 바와 같이, 본 발명의 실시 예에 따른 리 프로그래밍 시 데이터 복구 장치 및 방법은, 리 프로그래밍 요청 시 기 저장된 데이터의 채널 정보 및 이름 정보와 리 프로그래밍 과정에서 수신된 데이터의 채널 정보 및 이름 정보를 메모리의 소정 영역에 별도로 각각 저장한 후 이전 데이터의 채널 정보 및 이름 정보를 신규 데이터의 채널 정보 및 이름 정보에 일치하는 데이터에 대해 리 프로그래밍을 실행하고 일치하지 아니한 이전 데이터의 채널 정보 및 이름 정보를 초기값으로 설정함에 따라, 리 프로그래밍 요청 시 데이터를 완전하게 복구하여 전자제어장치에 대한 안정성 및 신뢰성을 더욱 향상시킬 수 있는 효과를 얻는다.As described above, in the reprogramming data recovery apparatus and method according to the embodiment of the present invention, when the reprogramming is requested, channel information and name information of previously stored data, channel information of received data and name information The channel information and the name information of the previous data are reprogrammed with respect to the data corresponding to the channel information and the name information of the new data and the channel information and the name information Is set to an initial value, the data can be completely restored at the time of a reprogramming request, so that the stability and reliability of the electronic control apparatus can be further improved.

본 명세서에서 첨부되는 다음의 도면 들은 본 발명의 바람직한 실시예를 예시하는 것이며, 후술하는 발명의 상세한 설명과 함께 본 발명의 기술사상을 더욱 이해시키는 역할을 하는 것이므로, 본 발명은 그러한 도면에 기재된 사항에만 한정되어 해석되어서는 아니된다.
도 1은 일반적인 메모리의 구성을 보인 도이다.
도 2는 본 발명의 실시 예에 따른 리 프로그래밍 시 데이터 복구 장치의 구성을 보인 도이다,
도 3은 도 2에 도시된 메모리의 구성을 보인 도이다.
도 4는 본 발명의 실시 예에 따른 리 프로그래밍 시 데이터 복구 과정을 보인 흐름도이다.
BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate preferred embodiments of the invention and, together with the description of the invention given below, serve to further understand the technical idea of the invention. And should not be construed as limiting.
1 is a diagram showing a general memory configuration.
FIG. 2 is a diagram illustrating the configuration of a data recovery device in a re-programming according to an embodiment of the present invention.
3 is a diagram showing the configuration of the memory shown in FIG.
FIG. 4 is a flowchart illustrating a data recovery process in reprogramming according to an embodiment of the present invention.

본 발명과 본 발명의 동작상의 이점 및 본 발명의 실시에 의하여 달성되는 목적을 충분히 이해하기 위해서는 본 발명의 바람직한 실시 예를 예시하는 첨부 도면 및 도면에 기재된 내용을 참조하여야 한다. In order to fully understand the present invention, operational advantages of the present invention, and objects achieved by the practice of the present invention, reference should be made to the accompanying drawings and the accompanying drawings which illustrate preferred embodiments of the present invention.

이하, 첨부한 도면을 참조하여 본 발명의 바람직한 실시 예를 설명함으로써, 본 발명을 상세히 설명한다. 각 도면에 제시된 동일한 참조 부호는 동일한 부재를 나타낸다. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the preferred embodiments of the present invention with reference to the accompanying drawings. Like reference symbols in the drawings denote like elements.

도 1은 본 발명에 따른 리 프로그래밍 시 데이터 복구 장치의 구성을 보인 도이고, 도 2는 도 1에 도시된 메모리에 저장된 데이터의 채널 정보 및 이름 정보를 보인 도이다. 도 1 및 도 2를 참조하면, 본 발명에 따른 리 프로그래밍 시 데이터 복구 장치는, 메모리(11) 및 메모리(11)에 저장된 데이터들을 제어하는 제어 모듈(13)를 구비될 수 있다.FIG. 1 is a diagram illustrating a configuration of a data recovery apparatus according to the present invention. FIG. 2 is a diagram showing channel information and name information of data stored in the memory shown in FIG. Referring to FIGS. 1 and 2, the data recovery device in accordance with the present invention may include a memory 11 and a control module 13 for controlling data stored in the memory 11.

여기서, 상기 메모리(11)는, 도 2에 도시된 바와 같이, 헤더(header), 데이터(data), 및 꼬리말(footer)의 데이터 구조로 데이터가 저장되며, 여기서 상기 꼬리말은 데이터의 사이즈, 체크섬, 및 채널 정보를 포함한다.As shown in FIG. 2, the memory 11 stores data in a data structure of a header, data, and a footer, and the footer stores data size, , And channel information.

그리고, 상기 메모리(11)는, 상기 꼬리말에 저장된 데이터의 채널 정보에 대응되어 채널의 이름 정보를 생성하여 데이터의 채널 정보 및 이름 정보를 별도의 소정 영역에 저장한다.The memory 11 generates channel name information corresponding to the channel information of the data stored in the footer, and stores the channel information and the name information of the data in a separate predetermined area.

한편, 리 프로그래밍 요청 시 도 2에 도시된 메모리의 소정 영역에 저장된 이전 데이터의 채널 정보 및 이름 정보를 메모리의 소정 영역에 별도로 저장한다 On the other hand, when the reprogramming is requested, channel information and name information of previous data stored in a predetermined area of the memory shown in FIG. 2 are separately stored in a predetermined area of the memory

이어 리 프로그래밍 실행 시 수신되는 신규 데이터 역시 헤더(header), 데이터(data), 및 꼬리말(footer)의 데이터 구조로 데이터가 저장되며, 여기서 상기 꼬리말은 데이터의 사이즈, 체크섬, 및 채널 정보를 포함한다.The new data received at the time of the subsequent programming also stores data in a data structure of header, data, and footer, where the footer includes data size, checksum, and channel information .

그리고, 상기 메모리(11)는, 상기 꼬리말에 저장된 데이터의 채널 정보에 대응되어 채널의 이름 정보를 생성하여 데이터의 채널 정보 및 이름 정보를 별도의 소정 영역에 저장한다. The memory 11 generates channel name information corresponding to the channel information of the data stored in the footer, and stores the channel information and the name information of the data in a separate predetermined area.

이어 상기 제어 모듈(13)는 이전 데이터의 채널 정보 및 이름 정보를 신규 데이터의 채널 정보 및 이름 정보에 일치하는 데이터에 대해 리 프로그래밍을 실행하고 일치하지 아니한 이전 데이터의 채널 정보 및 이름 정보를 초기값으로 설정하도록 구비된다.The control module 13 then reprograms the channel information and the name information of the previous data to the channel information of the new data and the data that matches the name information and sets the channel information and name information of the unmatched previous data to the initial value .

즉, 상기 이전 데이터의 채널 정보 1 및 이름 정보 “AAA”와 신규 데이터의 채널 정보 5 및 이름 정보 “HHH”는 일치하지 아니하므로, 상기 제어 모듈(13)은 이전 데이터의 채널 정보 1 및 이름 정보 ”AAA”를 초기값으로 업데이트한다.That is, since the channel information 1 and the name information " AAA " of the previous data do not coincide with the channel information 5 and the name information " HHH " of the new data, the control module 13 obtains channel information 1 and name information Update "AAA" to the initial value.

한편, 상기 이전 데이터의 채널 정보 2 및 이름 정보 “BBB”와 신규 데이터의 채널 정보 2 및 이름 정보 “BBB”는 일치하므로, 상기 제어 모듈(13)은 신규 데이터로 리 프로그래밍을 실행한다.On the other hand, the channel information 2 and the name information " BBB " of the previous data coincide with the channel information 2 and the name information " BBB " of the new data. Therefore, the control module 13 performs reprogramming with new data.

이러한 구성에 의하면, 제어 모듈에서, 리 프로그래밍 요청 시 기 저장된 이전 데이터의 채널 정보 및 이름 정보와 리 프로그래밍 실행 과정에서 수신된 데이터의 채널 정보 및 이름 정보를 메모리의 소정 영역에 별도로 각각 저장한 후 이전 데이터의 채널 정보 및 이름 정보를 신규 데이터의 채널 정보 및 이름 정보에 일치하는 데이터에 대해 리 프로그래밍을 실행하고 일치하지 아니한 이전 데이터의 채널 정보 및 이름 정보를 초기값으로 설정함에 따라, 리 프로그래밍 요청 시 데이터를 완전하게 복구하여 전자제어장치에 대한 안정성 및 신뢰성을 더욱 향상시킬 수 있게 된다.According to such a configuration, in the control module, channel information and name information of previously stored data and channel information and name information of data received in a reprogram execution process are separately stored in a predetermined area of the memory, respectively, The channel information and the name information of the data are reprogrammed with respect to the data matching the channel information and the name information of the new data and the channel information and the name information of the old data that do not match are set to the initial values, The data can be completely restored and the stability and reliability of the electronic control apparatus can be further improved.

기 저장된 이전 데이터의 채널 정보 및 이름 정보와 리 프로그래밍 실행 과정에서 수신된 데이터의 채널 정보 및 이름 정보를 메모리의 소정 영역에 별도로 각각 저장한 후 이전 데이터의 채널 정보 및 이름 정보를 신규 데이터의 채널 정보 및 이름 정보에 일치하는 데이터에 대해 리 프로그래밍을 실행하고 일치하지 아니한 이전 데이터의 채널 정보 및 이름 정보를 초기값으로 설정하는 일련의 과정을 도 4를 참조하여 보다 구체적으로 설명한다. The channel information and the name information of the previously stored data and the channel information and the name information of the data received in the reprogram execution process are separately stored in a predetermined area of the memory and then channel information and name information of the previous data are stored in the channel information And a series of processes for performing reprogramming on the data matching the name information and setting the channel information and the name information of the old data that do not match to the initial value will be described in more detail with reference to FIG.

도 4는 도 1에 도시된 제어 모듈의 리 프로그래밍 시 데이터 복구 과정을 보인 흐름도로서, 도 2 내지 도 4를 참조하여 본 발명의 실시 예에 따른 리 프로그래밍 시 데이터 복구 과정을 설명한다.FIG. 4 is a flowchart illustrating a data restoration process in the re-programming of the control module shown in FIG. 1. Referring to FIGS. 2 to 4, a data restoration process according to an embodiment of the present invention will be described.

우선, 상기 메모리(11)는, 리 프로그래밍 요청 시 기 저장된 이전 데이터의 채널 정보 및 이름 정보를 도 2에 도시된 바와 같이 저장한다(단계 101, 103).First, the memory 11 stores channel information and name information of previously stored data at the time of a reprogramming request as shown in FIG. 2 (steps 101 and 103).

이어 상기 제어 모듈(13)은, 리 프로그래밍을 실행하고 이때 수신된 신규 데이터의 채널 정보 및 이름 정보를 메모리의 소정 영역에 저장한다(단계 105, 107).Then, the control module 13 performs reprogramming, and stores the channel information and the name information of the received new data in a predetermined area of the memory (steps 105 and 107).

그리고, 상기 단계(103)에서 저장된 이전 데이터의 채널 정보 및 이름 정보와 단계(107)에서 저장된 신규 데이터의 채널 정보 및 이름 정보를 제공받은 제어 모듈(13)은 이전 데이터의 채널 정보 및 이름 정보와 신규 데이터의 채널 정보 및 이름 정보를 비교한다(단계 109), The control module 13 receiving the channel information and name information of the previous data stored in the step 103 and the channel information and name information of the new data stored in the step 107 receives the channel information of the previous data, The channel information of the new data and the name information are compared (step 109)

이때 상기 단계(107)에서 이전 데이터의 채널 정보 및 이름 정보와 신규 데이터의 채널 정보 및 이름 정보가 일치하는 경우 상기 제어 모듈(13)은 체크섬을 토대로 데이터의 유효성을 인증한 후 유효성으로 인증된 데이터를 메모리(11)에 저장한다(단계 111).If the channel information and the name information of the previous data match with the channel information and the name information of the new data in step 107, the control module 13 authenticates the validity of the data based on the checksum, In the memory 11 (step 111).

이어 상기 제어 모듈(13)은, 리 프로그래밍 실행이 완료되었는 지를 판단하고 리 프로그래밍 실행이 완료된 경우(단계 113) 본 프로그램을 종료하고, 리 프로그래밍 실행이 완료되지 아니한 경우 상기 단계(105)로 진행하여 리 프로그래밍 실행 중 다음 데이터를 수신하고, 다음 데이터의 채널 정보 및 이름 정보를 메모리의 소정 영역에 저장한다.Then, the control module 13 determines whether or not the reprogramming has been completed. If the reprogramming has been completed (step 113), the program is terminated. If the reprogramming has not been completed, the control module 13 proceeds to step 105 During the reprogramming, the next data is received and the channel information and name information of the next data are stored in a predetermined area of the memory.

한편 상기 제어 모듈(13)은 단계(109)에서 이전 데이터의 채널 정보 및 이름 정보와 신규 데이터의 채널 정보 및 이름 정보가 일치하지 아니한 경우 상기 이전 데이터의 채널 정보 및 이름 정보를 초기화한 후 상기 단계(113)으로 진행한다(단계 115).If the channel information and the name information of the previous data and the channel information and the name information of the new data do not match in step 109, the control module 13 initializes channel information and name information of the previous data, The process proceeds to step 113 (step 115).

본 발명의 실시 예에 따르면, 리 프로그래밍 요청 시 기 저장된 이전 데이터의 채널 정보 및 이름 정보와 리 프로그래밍 실행 과정에서 수신된 데이터의 채널 정보 및 이름 정보를 메모리의 소정 영역에 별도로 각각 저장한 후 이전 데이터의 채널 정보 및 이름 정보를 신규 데이터의 채널 정보 및 이름 정보에 일치하는 데이터에 대해 리 프로그래밍을 실행하고 일치하지 아니한 이전 데이터의 채널 정보 및 이름 정보를 초기값으로 설정함에 따라, 리 프로그래밍 요청 시 데이터를 완전하게 복구하여 전자제어장치에 대한 안정성 및 신뢰성을 더욱 향상시킬 수 있게 된다.According to an embodiment of the present invention, channel information and name information of previously stored data and channel information and name information of data received in a reprogramming process are separately stored in a predetermined area of a memory at the time of a reprogramming request, The channel information and the name information of the new data are reprogrammed with respect to the data corresponding to the channel information and the name information of the new data, and the channel information and the name information of the old data that do not match are set to the initial values, The stability and reliability of the electronic control unit can be further improved.

지금까지 본 발명을 바람직한 실시 예를 참조하여 상세히 설명하였지만, 본 발명이 상기한 실시 예에 한정되는 것은 아니며, 이하의 특허청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 누구든지 다양한 변형 또는 수정이 가능한 범위까지 본 발명의 기술적 사상이 미친다 할 것이다.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, but, on the contrary, It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

리 프로그래밍 요청 시 기 저장된 이전 데이터의 채널 정보 및 이름 정보와 리 프로그래밍 실행 과정에서 수신된 데이터의 채널 정보 및 이름 정보를 메모리의 소정 영역에 별도로 각각 저장한 후 이전 데이터의 채널 정보 및 이름 정보를 신규 데이터의 채널 정보 및 이름 정보에 일치하는 데이터에 대해 리 프로그래밍을 실행하고 일치하지 아니한 이전 데이터의 채널 정보 및 이름 정보를 초기값으로 설정함에 따라, 리 프로그래밍 요청 시 데이터를 완전하게 복구하여 전자제어장치에 대한 안정성 및 신뢰성을 더욱 향상시킬 수 있는 리 프로그래밍 시 데이터 복구 장치 및 방법에 대한 운용의 정확성 및 신뢰도 측면, 더 나아가 성능 효율 면에 매우 큰 진보를 가져올 수 있으며, 적용되는 차량의 시판 또는 영업의 가능성이 충분할 뿐만 아니라 현실적으로 명백하게 실시할 수 있는 정도이므로 산업상 이용가능성이 있는 발명이다.The channel information and the name information of the previously stored data and the channel information and the name information of the received data in the reprogramming process are separately stored in a predetermined area of the memory, The channel information and the name information of the data are reprogrammed with respect to the data corresponding to the channel information and the name information, and the channel information and the name information of the previous data that do not match are set as initial values, The reliability and reliability of the data recovery apparatus and method for reprogramming, which can further improve stability and reliability of the vehicle, and further improve the performance efficiency, Not only is it possible, Since apparently enough to be carried by the invention that has industrial applicability.

Claims (6)

전자제어장치에 대한 리 프로그래밍 요청 시 기 저장된 이전 데이터의 채널 정보 및 이름 정보를 메모리의 소정 영역에 저장하는 이전 데이터 정보 저장 단계;
리 프로그램 실행 시 수신된 데이터를 저장한 후 신규 데이터의 채널 정보 및 이름 정보를 메모리에 저장하는 신규 데이터 정보 저장 단계; 및
상기 이전 데이터의 채널 정보 및 이름 정보와 신규 데이터의 채널 정보 및 이름 정보를 비교하고 비교 결과를 토대로 데이터를 복구하는 데이터 복구 단계를 포함하는 것을 특징으로 하는 리 프로그래밍 시 데이터 복구 방법.
A previous data information storing step of storing channel information and name information of previously stored data in a predetermined area of the memory when a reprogramming of the electronic control device is requested;
A new data information storing step of storing the channel information and the name information of the new data in the memory after storing the received data when executing the reprogram; And
And a data recovery step of comparing channel information and name information of the previous data with channel information and name information of the new data, and restoring data based on the comparison result.
제1항에 있어서, 상기 데이터 복구 단계는,
상기 이전 데이터의 채널 정보 및 이름 정보와 신규 데이터의 채널 정보 및 이름 정보가 일치하는 경우 리 프로그래밍을 통해 수신된 데이터를 저장하도록 구비되는 것을 특징으로 하는 리 프로그래밍 시 데이터 복구 방법.
The method of claim 1,
And storing the data received through reprogramming when the channel information and the name information of the previous data match with the channel information and the name information of the new data.
제1항에 있어서, 상기 데이터 복구 단계는,
상기 이전 데이터의 채널 정보 및 이름 정보와 신규 데이터의 채널 정보 및 이름 정보가 일치하지 아니한 경우 이전 데이터의 채널 정보 및 이름 정보를 초기값으로 설정하도록 구비되는 것을 특징으로 하는 리 프로그래밍 시 데이터 복구 방법.
The method of claim 1,
And setting the channel information and the name information of the previous data to an initial value when the channel information and the name information of the previous data do not match the channel information and the name information of the new data.
헤더(header), 데이터(data), 및 꼬리말(footer) 순의 데이터 구조로 수신된 데이터를 저장되는 메모리를 포함하되,
상기 메모리는,
리 프로그래밍 요청 시 데이터 구조의 꼬리말에 저장된 기 저장된 이전 데이터의 채널 정보 및 이름 정보를 저장하고, 리 프로그래밍 실행 시 수신된 신규 데이터의 채널 정보 및 이름 정보를 각각 소정 영역에 저장하고,
상기 이전 데이터의 채널 정보 및 이름 정보와 신규 데이터의 채널 정보 및 이름 정보를 비교하고 비교 결과를 토대로 리 프로그래밍을 실행하여 수신된 데이터를 복구하는 제어 모듈을 더 포함하는 것을 특징으로 하는 리 프로그래밍 시 데이터 복구 장치.
A memory for storing received data in a data structure in header, data, and footer order,
The memory comprising:
Storing channel information and name information of pre-stored previous data stored in a footer of a data structure upon a reprogramming request, storing channel information and name information of the received new data in a predetermined area when executing reprogramming,
Further comprising a control module for comparing channel information and name information of the previous data with channel information and name information of new data, and performing reprogramming based on the comparison result to recover the received data. Recovery device.
제4항에 있어서, 상기 제어 모듈은
상기 이전 데이터의 채널 정보 및 이름 정보와 신규 데이터의 채널 정보 및 이름 정보가 일치하는 경우 리 프로그래밍을 실행하여 수신된 신규 데이터를 저장하도록 구비되는 것을 특징으로 하는 리 프로그래밍 시 데이터 복구 장치.
5. The apparatus of claim 4, wherein the control module
And when the channel information and the name information of the previous data match with the channel information and the name information of the new data, re-programming is performed to store the received new data.
제4항에 있어서, 상기 제어 모듈은,
상기 이전 데이터의 채널 정보 및 이름 정보와 신규 데이터의 채널 정보 및 이름 정보가 일치하지 아니한 경우 이전 데이터의 채널 정보 및 이름 정보를 초기값으로 저장하도록 구비되는 것을 특징으로 하는 리 프로그래밍 시 데이터 복구 장치.


5. The apparatus of claim 4,
When the channel information and the name information of the previous data do not match with the channel information and the name information of the new data, the channel information and the name information of the previous data are stored as initial values.


KR1020120124179A 2012-11-05 2012-11-05 Data rstoration mehtod of re-programing and data rstoration apparatus KR102174882B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020120124179A KR102174882B1 (en) 2012-11-05 2012-11-05 Data rstoration mehtod of re-programing and data rstoration apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020120124179A KR102174882B1 (en) 2012-11-05 2012-11-05 Data rstoration mehtod of re-programing and data rstoration apparatus

Publications (2)

Publication Number Publication Date
KR20140057878A true KR20140057878A (en) 2014-05-14
KR102174882B1 KR102174882B1 (en) 2020-11-05

Family

ID=50888400

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120124179A KR102174882B1 (en) 2012-11-05 2012-11-05 Data rstoration mehtod of re-programing and data rstoration apparatus

Country Status (1)

Country Link
KR (1) KR102174882B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210070676A (en) 2019-12-05 2021-06-15 박노흥 Production method of fermented Epimedium koreanum Nakai and Angelica, Codonopsis lanceolata, Onion, Artemisia Linne, Ginseng by using Pineapple

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080042502A (en) * 2006-11-10 2008-05-15 현대자동차주식회사 Electronic control unit for vehicle and method of control program setup thereof
KR20080060658A (en) * 2006-12-27 2008-07-02 (주)아이디스 Multimedia storage device and data recovering method of the device
KR100873302B1 (en) * 2006-08-29 2008-12-09 콘티넨탈 오토모티브 시스템 주식회사 Method for reprogramming electric control unit of car
US8078861B1 (en) * 2008-02-13 2011-12-13 Omnimgtrix, LLC Remote processor reprogramming

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100873302B1 (en) * 2006-08-29 2008-12-09 콘티넨탈 오토모티브 시스템 주식회사 Method for reprogramming electric control unit of car
KR20080042502A (en) * 2006-11-10 2008-05-15 현대자동차주식회사 Electronic control unit for vehicle and method of control program setup thereof
KR20080060658A (en) * 2006-12-27 2008-07-02 (주)아이디스 Multimedia storage device and data recovering method of the device
US8078861B1 (en) * 2008-02-13 2011-12-13 Omnimgtrix, LLC Remote processor reprogramming

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210070676A (en) 2019-12-05 2021-06-15 박노흥 Production method of fermented Epimedium koreanum Nakai and Angelica, Codonopsis lanceolata, Onion, Artemisia Linne, Ginseng by using Pineapple

Also Published As

Publication number Publication date
KR102174882B1 (en) 2020-11-05

Similar Documents

Publication Publication Date Title
US8195945B2 (en) Secure digital certificate storing scheme for flash memory and electronic apparatus
US9864599B2 (en) Firmware update method in two-chip solution for secure terminal
US9667074B2 (en) Apparatus and method for updating remote standalone firmware
WO2018016199A1 (en) Data overwriting device and data overwriting program
CN102684882B (en) Verification method and checking equipment
TW200403672A (en) Method for programming a flash memory cell
WO2018209958A1 (en) Upgradable file upgrading method, set top box and storage medium
JP6793667B2 (en) Application download method and equipment
CN105701427A (en) Method and device for writing data into intelligent card
CN108037932B (en) SPI-NAND configuration file acquisition method and device
KR20140057878A (en) Data rstoration mehtod of re-programing and data rstoration apparatus
CN103533534A (en) Firmware wireless upgrading method for DECT (Digital Enhanced Cordless Telecommunications) mobile phone
CN108170459B (en) Software upgrading method, intelligent terminal and device with storage function
CN104778424A (en) Method for preventing ROM (Read Only Memory) root obtaining on basis of smart television
CN105653332A (en) MCU system and burning method capable of correcting OTP (One Time Programmable) burning problem
US20120008393A1 (en) Nonvolatile memory device and operation method thereof
JP2010079382A (en) Software update method
CN109697993B (en) Data error correction method and device
CN111586081B (en) Internet of things implementation method based on object model
CN103544034B (en) A kind of method, system and the set top box of the driving of dynamic load set top box
CN108874405B (en) OpenStack environment upgrading method
CN111158773A (en) Method and system for KS (Key sheet) guided automatic batch installation
CN112015450A (en) Method and device for loading control page of intelligent device and storage medium
US10440000B2 (en) Secure data provisioning
US20090256589A1 (en) Programmable device, electronic device, and method for controlling programmable device

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E90F Notification of reason for final refusal
E90F Notification of reason for final refusal
E701 Decision to grant or registration of patent right