KR20100054597A - Rolling code control method of passive keyless entry system - Google Patents

Rolling code control method of passive keyless entry system Download PDF

Info

Publication number
KR20100054597A
KR20100054597A KR1020080113576A KR20080113576A KR20100054597A KR 20100054597 A KR20100054597 A KR 20100054597A KR 1020080113576 A KR1020080113576 A KR 1020080113576A KR 20080113576 A KR20080113576 A KR 20080113576A KR 20100054597 A KR20100054597 A KR 20100054597A
Authority
KR
South Korea
Prior art keywords
rolling code
smart card
main unit
code
rolling
Prior art date
Application number
KR1020080113576A
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 KR1020080113576A priority Critical patent/KR20100054597A/en
Publication of KR20100054597A publication Critical patent/KR20100054597A/en

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R25/00Fittings or systems for preventing or indicating unauthorised use or theft of vehicles
    • B60R25/01Fittings or systems for preventing or indicating unauthorised use or theft of vehicles operating on vehicle systems or fittings, e.g. on doors, seats or windscreens
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R25/00Fittings or systems for preventing or indicating unauthorised use or theft of vehicles
    • B60R25/01Fittings or systems for preventing or indicating unauthorised use or theft of vehicles operating on vehicle systems or fittings, e.g. on doors, seats or windscreens
    • B60R25/04Fittings or systems for preventing or indicating unauthorised use or theft of vehicles operating on vehicle systems or fittings, e.g. on doors, seats or windscreens operating on the propulsion system, e.g. engine or drive motor
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C2009/00753Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by active electrical keys
    • G07C2009/00769Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by active electrical keys with data transmission performed by wireless means
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C2209/00Indexing scheme relating to groups G07C9/00 - G07C9/38
    • G07C2209/06Involving synchronization or resynchronization between transmitter and receiver; reordering of codes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

PURPOSE: The rolling code control method of a passive keyless entry system is provided to prevent the overflow of a rolling code by synchronizing a smart card and a main unit. CONSTITUTION: An entry code includes an identification code and a rolling code. A smart card(10) transmits the entry code to a main unit(30). If the variation of the rolling code is approach to a maximum value, the main unit transfers command data for the synchronization of the rolling code to the smart card. The rolling code of the smart card is synchronized. The smart card transmits the synchronization performance data of the rolling code to the main unit.

Description

PKE 시스템의 롤링코드 제어방법{Rolling code control method of Passive Keyless Entry system} Rolling code control method of Passive Keyless Entry System

본 발명은 PKE 시스템에 관한 것으로서, 보다 상세하게는 PKE 시스템을 이루는 스마트 카드와 차량에 설치되는 메인 유닛 간의 통신 시 스마트 카드에서 메인 유닛으로 입력되는 롤링코드의 변수 크기가 최대치에 가까운 일정 범위를 포함할 경우, 스마트 카드와 메인 유닛이 동기화 및 초기화되어 롤링코드의 오버플로우(Over Flow)를 방지할 수 있는 PKE 시스템의 롤링코드 제어방법에 관한 것이다.The present invention relates to a PKE system, and more particularly, includes a range in which a variable size of a rolling code input from the smart card to the main unit is close to a maximum value when communicating between the smart card constituting the PKE system and the main unit installed in the vehicle. In this case, the present invention relates to a rolling code control method of a PKE system, in which a smart card and a main unit are synchronized and initialized to prevent an overflow of a rolling code.

일반적으로, PKE 시스템(Passive Keyless Entry system)은 운전자 또는 차량의 소유자가 차량의 근접된 위치에서 무선으로 차량을 제어하는 시스템으로서, 차량 도어(Door)의 개방(Unlock) 및 폐쇄(Lock), 차량의 시동 등에 사용되고 있다.In general, a Passive Keyless Entry System (PKE) system is a system in which a driver or owner of a vehicle wirelessly controls a vehicle in a proximity position of a vehicle, and includes an unlock and lock of a door of a vehicle. It is used for starting.

이러한 PKE 시스템은 운전자 또는 차량의 소유자가 갖는 스마트 카드(Smart Card)와 차량에 부착되어 인증 및 제어를 담당하는 메인 유닛(Main Unit)을 포함하여 구성된다.The PKE system includes a smart card owned by the driver or the owner of the vehicle and a main unit attached to the vehicle and responsible for authentication and control.

여기서, 상기 스마트 카드는 RF(Radio Frequency) 송신기능과 LF(Low Frequency) 수신기능을 갖으며, 상기 메인 유닛은 RF(Radio Frequency) 수신기능과 LF(Low Frequency) 송신기능을 갖는다.Here, the smart card has a radio frequency (RF) transmission function and a low frequency (LF) reception function. The main unit has a radio frequency (RF) reception function and a low frequency (LF) transmission function.

상술한 바와 같은 PKE 시스템의 스마트 카드에 메인 유닛으로 통신을 수행할 경우, 상기 스마트 카드에서 메인 유닛으로 송신하는 ID(Identification)코드와 롤링코드 등의 엔트리코드는 무선 데이터의 복제 등을 방지하기 위하여 암호화하며, 상기 스마트 카드에서 메인 유닛으로 송신되는 롤링코드가 매번 변화하게 된다.When communicating with the smart card of the PKE system as a main unit as described above, an entry code such as an identification code and a rolling code transmitted from the smart card to the main unit is used to prevent duplication of wireless data. It encrypts and the rolling code transmitted from the smart card to the main unit changes every time.

이렇게 상기 스마트 카드와 메인 유닛의 통신 시 스마트 카드에서 메인 유닛으로 송신하는 롤링코드가 매번 순차적으로 증가하도록 이루어짐으로써 상기 스마트 카드에서 메인 유닛에 입력되는 롤링코드가 상기 메인 유닛에 저장된 롤링코드보다 큰 값일 경우, 상기 메인 유닛은 입력되는 롤링코드를 유효한 값으로 인정함과 동시에 운전자 또는 차량 소유주가 원하는 동작을 수행하고, 상기 스마트 카드에서 메인 유닛에 입력되는 롤링코드가 상기 메인 유닛에 저장된 롤링코드보다 작은 값일 경우, 상기 메인 유닛은 입력되는 롤링코드를 유효한 값으로 인정하지 않음과 동시에 동작을 수행하지 않는다. When the smart card communicates with the main unit, the rolling code transmitted from the smart card to the main unit is sequentially increased every time so that the rolling code input from the smart card to the main unit is greater than the rolling code stored in the main unit. In this case, the main unit recognizes the input rolling code as a valid value and at the same time performs a desired operation by the driver or vehicle owner, and the rolling code input to the main unit from the smart card is smaller than the rolling code stored in the main unit. In this case, the main unit does not recognize an input rolling code as a valid value and does not perform an operation at the same time.

여기서, 상기 스마트 카드에서 메인 유닛에 반복적으로 입력되는 롤링코드는 통상 그 최대치가 60000 ~ 70000 정도의 값을 가짐으로써 스마트 카드에서 메인 유닛으로 입력되는 롤링코드의 변수 크기가 최대치에 도달하였을 경우, 상기 스마트 카드는 메인 유닛으로 상기 메인 유닛에 기 저장되어 있던 롤링코드보다 높은 숫자의 롤링코드를 송신할 수 없으며, 이로 인해 차량에 설치되는 메인 유닛은 스마트 카드를 통하여 송신되는 롤링코드를 인식하지 않게 되는 오버플로우(overflow) 현 상이 발생된다.Here, the rolling code repeatedly input to the main unit in the smart card has a maximum value of about 60000 to 70000, and when the variable size of the rolling code input to the main unit from the smart card reaches the maximum value, The smart card cannot transmit a rolling code of a higher number than the rolling code previously stored in the main unit to the main unit, so that the main unit installed in the vehicle does not recognize the rolling code transmitted through the smart card. Overflow phenomenon occurs.

상술한 바와 같이, 상기 스마트 카드에서 송신하는 롤링코드를 차량의 메인 유닛에서 인식하지 않을 경우, 스마트 카드와 차량의 메인 유닛을 초기화 또는 동기화하여야 하나, 운전자 또는 차량의 소유자가 직접 스마트 카드외 메인 유닛을 초기화 또는 동기화하기 어려우며, 이로 인해 차량의 구매처 또는 A/S 센터를 방문 및 이용하여야 한다는 등의 번거로운 문제점이 있었다.As described above, when the rolling code transmitted from the smart card is not recognized by the main unit of the vehicle, the smart card and the main unit of the vehicle must be initialized or synchronized, but the driver or the owner of the vehicle directly directly the main unit other than the smart card. It is difficult to initialize or synchronize, and this has caused troublesome problems such as visiting and using a place of purchase of a vehicle or an after-sales service center.

한편, 이러한 문제점을 해결하기 위하여 스마트 카드의 롤링코드의 변수 크기를 확장하는 방법이 제안되었으나, 롤링코드의 확장 시 스마트 카드와 차량의 메인 유닛 사이에 송/수신하는 데이터양 또는 데이터의 길이가 길어짐으로써 스마트 카드와 메인 유닛 사이의 통신 시간 및 데이터 전송 속도가 길어진다는 문제점이 있었다.On the other hand, in order to solve this problem, a method of extending the variable size of the rolling code of the smart card has been proposed, but when the rolling code is extended, the amount of data or the length of data transmitted / received between the smart card and the main unit of the vehicle becomes long. As a result, the communication time and data transfer rate between the smart card and the main unit are increased.

본 발명은 상기한 바와 같은 문제점을 해결하기 위하여 안출된 것으로, PKE 시스템에서 운전자가 갖는 스마트 카드에 수신기능을 부가하여 차량에 설치되는 메인 유닛에서 전송되는 송신 데이터를 수신하도록 이루어져 스마트 카드에서 메인 유닛으로 ID(Identification)코드 및 롤링코드 등의 엔트리코드의 입력 시 롤링코드의 변수 크기가 유효한 범위 내의 유효값일 경우, 작업을 수행하고, 롤링코드의 변수 크기가 최대치에 가까운 일정 범위를 포함할 경우, 메인 유닛이 스마트 카드에 롤링코드의 동기화 및 초기화를 명령하고, 스마트 카드가 롤링코드의 동기화 및 초기화 명령을 수행하였을 경우, 메인 유닛이 롤링코드를 동기화 및 초기화시켜 PKE 시스템의 오버 플로우(Over Flow)를 방지할 수 있는 PKE 시스템의 롤링코드 제어방법을 제공하는 것을 목적으로 한다.SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and by adding a receiving function to the smart card of the driver in the PKE system to receive the transmission data transmitted from the main unit installed in the vehicle, the main unit in the smart card If the variable size of the rolling code is a valid value within a valid range when inputting an entry code such as an ID (Identification) code and a rolling code, the operation is performed, and if the variable size of the rolling code includes a certain range close to the maximum value, When the main unit instructs the smart card to synchronize and initialize the rolling code, and the smart card performs the synchronizing and initialization of the rolling code, the main unit synchronizes and initializes the rolling code to overflow the PKE system. To provide a rolling code control method of the PKE system that can prevent the The.

상기한 바와 같은 목적을 달성하기 위하여 본 발명은, 운전자가 지닌 스마트 카드와, 차량에 설치되는 메인 유닛을 포함하는 PKE 시스템에 있어서, 상기 스마트 카드에 LF 수신기능이 부가되되, 상기 스마트 카드에서 메인 유닛에 전송되는 ID코드와 롤링코드를 포함하는 엔트리코드의 전송 시 상기 롤링코드의 변수 크기가 최대치에 가까운 일정 범위를 포함할 경우, 상기 메인 유닛이 스마트 카드에 롤링코드의 동기화 명령 데이터를 전송하여 스마트 카드의 롤링코드를 동기화시키고, 상 기 스마트 카드가 롤링코드의 동기화 명령을 수행하여 동기화된 후 상기 메인 유닛에 롤링코드의 동기화 수행 데이터를 전송하여 메인 유닛이 자동으로 롤링코드를 동기화하는 것을 특징으로 한다.In order to achieve the above object, the present invention, in the PKE system including a smart card and a main unit installed in the vehicle, the LF receiving function is added to the smart card, the main in the smart card If the variable size of the rolling code includes a certain range close to the maximum when the entry code including the ID code and the rolling code transmitted to the unit is transmitted, the main unit transmits the rolling command synchronization command data to the smart card. Synchronize the rolling code of the smart card, and the main unit automatically synchronizes the rolling code by transmitting the rolling code synchronization data to the main unit after the smart card is synchronized by performing a rolling code synchronization command. It is done.

여기서, 상기 스마트 카드 및 메인 유닛이 동기화하기 위하여 최대치에 가까운 롤링코드의 변수 크기는 롤링코드 최대치의 3~5% 내, 외로 이루어진다.Here, in order for the smart card and the main unit to synchronize, the variable size of the rolling code close to the maximum is made within 3 to 5% of the maximum of the rolling code.

한편, 상기 스마트 카드와 메인 유닛에 메모리가 구비되어 상호 송/수신한 롤링코드를 저장 및 저장된 롤링코드를 읽거나 기록하도록 이루어진다.On the other hand, the smart card and the main unit is provided with a memory to store the mutually transmitted and received rolling code and to read or write the stored rolling code.

이때, 상기 메모리가 2개 이상의 메모리 영역을 포함하는 백업 메모리를 갖도록 이루어져 오류 발생 시 백업 메모리에서 유효한 데이터를 다시 읽거나 기록하도록 이루어진다.In this case, the memory is configured to have a backup memory including two or more memory areas to read or write valid data in the backup memory when an error occurs.

한편, 상기 스마트 카드와 메인 유닛의 메모리에 롤링코드의 저장 및 저장된 롤링코드를 읽거나 기록 시 정상적인 읽기 및 기록 시 에러 체크 프레임이 0으로 셋팅되도록 이루어지고, 오류 발생 시 에러 체크 프레임이 1로 셋팅되도록 이루어져 에러 체크 프레임이 1로 셋팅된 상태를 유지할 경우, 백업 메모리에 저장되 있던 롤링코드를 다시 불러들여 읽거나 기록하도록 이루어진다.On the other hand, in the smart card and the memory of the main unit, when the reading and recording of the stored rolling code and the stored rolling code, the error check frame is set to 0 during normal reading and writing, and the error check frame is set to 1 when an error occurs. If the error check frame is set to 1, the rolling code stored in the backup memory is read and read or written.

이상에서 설명한 바와 같이 상기와 같은 구성을 갖는 본 발명은, PKE 시스템에서 스마트 카드와 메인 유닛간에 양방향 통신이 가능하여 스마트 카드의 롤링코드 변수 크기가 최대치에 가까운 일정 범위에 도달할 경우, 스마트 카드 및 메인 유닛의 동기화 및 초기화가 자동으로 이루어짐으로써 스마트 카드의 비연속적이고, 불규칙적인 키 조작에 의한 변화에 의해 롤링코드의 오버플로우(Over Flow) 현상을 방지할 수 있어 PKE 시스템을 동기화 및 초기화하기 위하여 정비소 또는 A/S 센터를 방문할 필요가 없으며, 이로 인해 PKE 시스템의 신뢰성 및 보안성을 향상시킬 수 있다는 등의 효과를 거둘 수 있다.As described above, the present invention having the configuration as described above enables the bi-directional communication between the smart card and the main unit in the PKE system, so that when the rolling code variable size of the smart card reaches a certain range close to the maximum, the smart card and By synchronizing and initializing the main unit automatically, it is possible to prevent the rolling code overflow caused by the change of the smart card's discontinuous and irregular key operation, so that the PKE system can be synchronized and initialized. There is no need to visit workshops or after-sales centers, which can improve the reliability and security of the PKE system.

이하, 본 발명에 의한 바람직한 실시예를 첨부된 도면을 참조하면서 상세히 설명한다. 또한, 본 실시예는 본 발명의 권리범위를 한정하는 것은 아니고 단지 예시로 제시된 것이며, 그 기술적 요지를 이탈하지 않는 범위 내에서 다양한 변경이 가능하다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In addition, the present embodiment is not intended to limit the scope of the present invention, but is presented by way of example only, and various modifications may be made without departing from the technical gist of the present invention.

도 1은 차량에 적용되는 PKE 시스템을 개략적으로 나타내는 도면이고, 도 2는 본 발명에 의한 PKE 시스템의 구성을 개략적으로 나타내는 도면이고, 도 3은 본 발명에 의한 PKE 시스템의 롤링코드 제어방법을 나타내는 흐름도이다.1 is a diagram schematically illustrating a PKE system applied to a vehicle, FIG. 2 is a diagram schematically illustrating a configuration of a PKE system according to the present invention, and FIG. 3 is a diagram illustrating a rolling code control method of a PKE system according to the present invention. It is a flow chart.

도면에서 도시하고 있는 바와 같이, 본 발명에 의한 PKE 시스템(1)은 운전자가 갖는 스마트 카드(Smart Card : 10)와 차량에 설치되어 상기 스마트 카드(10)에 무선으로 송/수신가능하게 이루어져 인증 및 제어를 담당하는 메인 유닛(Main Unit : 30)을 포함하여 구성된다.As shown in the figure, the PKE system 1 according to the present invention is installed in a vehicle with a smart card (Smart Card: 10) that the driver has made it possible to wirelessly transmit / receive to the smart card (10) authentication And it is configured to include a main unit (Main Unit: 30) in charge of the control.

상기한 바와 같은 PKE 시스템(1)의 롤링코드 제어방법은 상기 스마트 카드(10)에서 메인 유닛(30)에 ID(Identification)코드와 롤링코드 등의 엔트리코드 를 전송하고, 상기 메인 유닛(30)이 스마트 카드(10)를 통해 입력된 엔트리코드의 암호를 해독하고, 해독한 엔트리코드에서 운전자의 ID코드를 검사한다.The rolling code control method of the PKE system 1 as described above transmits an entry code such as an identification code and a rolling code from the smart card 10 to the main unit 30, and the main unit 30. The entry code inputted through the smart card 10 is decrypted, and the ID code of the driver is examined from the decrypted entry code.

이렇게 메인 유닛(30)이 상기 스마트 카드(10)에서 전송된 엔트리코드 중 ID코드의 유효성을 검사한 후 검사된 ID코드가 운전자의 ID코드일 경우, 상기 롤링코드 변수 크기의 유효범위를 확인한다.When the main unit 30 checks the validity of the ID code among the entry codes transmitted from the smart card 10 and checks the valid range of the size of the rolling code variable when the checked ID code is the driver's ID code. .

이때, 상기 스마트 카드(10)에서 전송된 롤링코드 변수 크기의 유효범위가 최대치에 가까운 일정 범위를 포함할 경우, 상기 메인 유닛(30)이 상기 스마트 카드(10)에 동기화 명령 데이터를 전송하여 스마트 카드(10)를 동기화시키고, 상기 스마트 카드(10)가 동기화 명령을 수행하여 동기화된 후 상기 메인 유닛(30)에 동기화 수행 데이터를 전송하며, 메인 유닛(30)이 상기 스마트 카드(10)의 동기화가 수행되었음을 감지한 후 자동으로 동기화한다.In this case, when the effective range of the rolling code variable size transmitted from the smart card 10 includes a predetermined range close to the maximum value, the main unit 30 transmits the synchronization command data to the smart card 10 to generate a smart range. The card 10 is synchronized, the smart card 10 performs a synchronization command to be synchronized, and then transmits synchronization performance data to the main unit 30, and the main unit 30 is connected to the smart card 10. Automatically synchronize after detecting synchronization.

예를 들면, 롤링코드의 최대치를 70000이라고 설정하고, 상기 스마트 카드(10)를 지닌 운전자가 차량의 메인 유닛(30)과 통신이 불가능한 일정 거리 이상에서 스마트 카드(10)를 반복적으로 조작하여 스마트 카드(10)의 롤링코드 변수 크기를 계속적으로 증가시키다가 차량의 메인 유닛(30)과 통신이 가능한 일정 거리 내에 진입할 경우, 스마트 카드(10)는 증가된 롤링코드를 메인 유닛(30)에 전송하고, 상기 스마트 카드(10)에서 전송된 증가된 롤링코드가 메인 유닛(30)에 기 저장 및 설정되어 있는 롤링코드 최대치의 3%(67900~70000) 또는 5%(66500~70000) 내의 일정 범위에 포함되면 메인 유닛(30)이 상기 스마트 카드(10)에 동기화 명령 데이터를 전송하여 동기화시키고, 스마트 카드(10)가 동기화 명령을 수행하면 메인 유 닛(30)이 자동으로 동기화한다.For example, the maximum value of the rolling code is set to 70000, and the driver having the smart card 10 repeatedly operates the smart card 10 over a predetermined distance at which communication with the main unit 30 of the vehicle is impossible. When the size of the rolling code variable of the card 10 is continuously increased and enters a certain distance that can communicate with the main unit 30 of the vehicle, the smart card 10 sends the increased rolling code to the main unit 30. And the rolling code transmitted from the smart card 10 is fixed within 3% (67900 to 70000) or 5% (66500 to 70000) of the maximum rolling code previously stored and set in the main unit 30. When included in the range, the main unit 30 transmits the synchronization command data to the smart card 10 to synchronize, and when the smart card 10 performs the synchronization command, the main unit 30 automatically synchronizes.

본 발명의 일 실시예에서는 상기 롤링코드 최대치에 가까운 일정 범위의 변수 크기를 롤링코드 최대치의 3% 또는 5% 내의 범위로 나타내고 있으나, 상기 롤링코드 최대치에 따른 변수 크기의 유효범위는 변경가능하게 이루어지는 것이 바람직하다.In one embodiment of the present invention, the variable size of the range close to the maximum rolling code is represented as a range within 3% or 5% of the maximum rolling code, but the effective range of the variable size according to the maximum rolling code is changeable. It is preferable.

이때, 상기 스마트 카드(10)에는 차량에 설치되는 메인 유닛(30)에 엔트리코드를 전송하기 위한 RF 송신 기능외에 상기 메인 유닛(30)에서 전송되는 동기화 명령을 전송받기 위한 LF 수신 기능이 더 부가되는 것이 바람직하다.In this case, in addition to the RF transmission function for transmitting an entry code to the main unit 30 installed in the vehicle, the smart card 10 further includes an LF receiving function for receiving a synchronization command transmitted from the main unit 30. It is preferable to be.

상기한 바와 같이, 운전자가 스마트 카드(10)의 비연속적이고, 불규칙적인 키 조작에 의해 스마트 카드(10)의 롤링코드 변수 크기의 유효범위를 반복적으로 검사하고, 상기 스마트 카드(10)의 변수 크기가 최대치에 도달할 경우, 메인 유닛(30)이 스마트 카드(10)를 동기화시킴과 동시에 동기화됨으로써 스마트 카드(10) 및 메인 유닛(30)을 동기화하여 재사용하기 위한 별도의 절차 및 동작을 수행할 필요가 없다.As described above, the driver repeatedly checks the effective range of the rolling code variable size of the smart card 10 by discontinuous and irregular key manipulation of the smart card 10, and the variable of the smart card 10. When the size reaches the maximum value, the main unit 30 synchronizes the smart card 10 and at the same time, performs separate procedures and operations for synchronizing and reusing the smart card 10 and the main unit 30. There is no need to do it.

여기서, 상기 스마트 카드(10)에서 메인 유닛(30)으로 전송되는 ID코드와 롤링코드를 포함하는 엔트리코드는 스마트 카드(10)와 메인 유닛(30)에 동시에 저장되며, 이를 위하여 상기 스마트 카드(10)와 메인 유닛(30)에는 메모리(미도시)가 구비되는 것이 바람직하며, 상기 메모리는 EEPROM(Electrically Erasable Programmable Ready-Only Memory), 플레쉬 메모리(Flash Memory) 또는 F-RAM(Ferroelectric Random Access Memory) 등의 비휘발성 메모리로 이루어지는 것 이 바람직하다.Here, an entry code including an ID code and a rolling code transmitted from the smart card 10 to the main unit 30 is simultaneously stored in the smart card 10 and the main unit 30. 10) and the main unit 30 is preferably provided with a memory (not shown), the memory is EEPROM (Electrically Erasable Programmable Ready-Only Memory), Flash Memory (F-RAM) or Ferroelectric Random Access Memory (F-RAM) It is preferable that it is made of a nonvolatile memory such as).

본 발명의 일 실시예에서는 상기 스마트 카드(10)와 메인 유닛(30)에 구비되는 메모리가 EEPROM(Electrically Erasable Programmable Ready-Only Memory), 플레쉬 메모리(Flash Memory) 또는 F-RAM(Ferroelectric Random Access Memory)으로 이루어져 있으나, 반복적인 기록 및 삭제가 가능하다면 상기 스마트 카드(10)와 메인 유닛(30)에 구비되는 메모리가 기타 다양한 메모리로 이루어지는 것도 가능하다.In an embodiment of the present invention, the memory provided in the smart card 10 and the main unit 30 may include an electrically erasable programmable ready-only memory (EEPROM), a flash memory, or a ferroelectric random access memory (F-RAM). However, if the repetitive recording and deletion is possible, the memory provided in the smart card 10 and the main unit 30 may be made of various other memories.

이때, 상기 스마트 카드(10)와 메인 유닛(30)에 각각 구비되는 메모리는 롤링코드의 읽기 및 기록 시 오류를 방지하기 위하여 적어도 2개 이상의 메모리 영역의 백업 메모리를 갖도록 이루어지는 것이 바람직하며, 이로 인해 오류 발생 시 백업 메모리로부터 유효한 데이터를 다시 읽거나 기록하도록 이루어지는 것이 바람직하다.At this time, the memory provided in each of the smart card 10 and the main unit 30 is preferably made to have a backup memory of at least two or more memory areas in order to prevent errors during reading and writing of the rolling code, It is desirable to be able to read or write valid data from backup memory again in the event of an error.

또한, 상기 스마트 카드(10)와 메인 유닛(30)은 저장 및 저장되어 있던 롤링코드를 불러들여 읽거나 기록 시 에러 체크 프레임을 1로 셋팅하고, 정상적인 읽기 및 기록이 완료되었을 경우, 0으로 셋팅되도록 이루어짐으로써 읽거나 기록 중에 오류로 인해 데이터가 잘못 읽혀지거나, 기록되어 에러 체크 프레임이 1로 셋팅된 상태를 유지할 경우, 기존에 저장되어 있던 데이터를 백업 메모리에서 다시 불러 들여 재셋팅하도록 이루어지는 것도 가능하다.In addition, the smart card 10 and the main unit 30 set an error check frame to 1 when reading or writing a stored code stored and stored, and set to 0 when normal reading and writing is completed. If the data is read incorrectly due to an error during reading or writing, or if the error check frame is set to 1 and the error check frame is set to 1, the previously stored data may be recalled from the backup memory and reset. Do.

한편, 본 발명의 일 실시예에서는 상기 스마트 카드(10)와 메인 유닛(30)에 저장 및 저장되어 있는 롤링코드를 읽거나 기록 시 발생될 수 있는 에러를 에러 체 크 프레임에 의해 정상적으로 읽거나 기록하도록 이루어져 있으나, 롤링코드의 저장 시 전원의 OFF 또는 오동작에 의해 스마트 카드(10) 및 메인 유닛(30)이 잘못된 값을 읽거나, 기록하거나, 저장하는 것을 방지하기 위하여 정상/에러를 판별할 수 있는 일반적인 에러 플레그를 사용하도록 이루어지는 것도 가능하다.Meanwhile, in an embodiment of the present invention, an error that may occur when reading or writing a rolling code stored and stored in the smart card 10 and the main unit 30 is normally read or recorded by an error check frame. However, when the rolling code is stored, normal / error can be determined in order to prevent the smart card 10 and the main unit 30 from reading, recording, or storing an incorrect value due to a power off or malfunction. It is also possible to use a common error flag.

이때, 상기 스마트 카드(10)와 메인 유닛(30)의 각 메모리에 저장되어 있는 ID코드 및 롤링코드를 포함하는 엔트리코드 데이터에 이상이 있을 경우, 상기 스마트 카드(10)는 메인 유닛(30)의 데이터를 전송받아 이용하고, 상기 메인 유닛(30)은 상기 스마트 카드(10)의 데이터를 전송받아 이용하는 등 ID코드 및 롤링코드를 포함하는 엔트리코드의 2중 체크가 가능하다.At this time, when there is an error in the entry code data including the ID code and the rolling code stored in each memory of the smart card 10 and the main unit 30, the smart card 10 is the main unit 30 The main unit 30 can receive and use the data of the smart card 10 and can double check the entry code including the ID code and the rolling code.

이하, 본 발명에 의한 PKE 시스템(1)의 롤링코드 제어방법을 설명한다.Hereinafter, a rolling code control method of the PKE system 1 according to the present invention will be described.

먼저, 운전자 또는 차량의 소유주가 갖는 스마트 카드(10)와 차량에 설치되는 메인 유닛(30)이 통신을 수행한다.First, the smart card 10 owned by the driver or the owner of the vehicle and the main unit 30 installed in the vehicle communicate.

여기서, 상기 스마트 카드(10)가 ID코드와 롤링코드를 포함하는 엔트리코드 등의 데이터를 암호화시킨 후 변조된 RF 데이터를 메인 유닛(30)에 송신하고, 상기 메인 유닛(30)이 수신한 데이터를 복조한 후 암호를 해독하여 ID코드와 롤링코드가 유효한 값인지 확인한다.Here, the smart card 10 encrypts data such as an entry code including an ID code and a rolling code, and then transmits modulated RF data to the main unit 30, and the data received by the main unit 30. After demodulating, decrypt and verify that ID and rolling code are valid values.

이때, 상기 스마트 카드(10)가 메인 유닛(30)에 ID코드와 롤링코드를 포함하는 엔트리코드의 전송 시 메인 유닛(30)으로 전송한 롤링코드를 메모리에 저장한다.At this time, the smart card 10 stores the rolling code transmitted to the main unit 30 when the entry code including the ID code and the rolling code to the main unit 30 in the memory.

그리고, 상기 메인 유닛(30)은 스마트 카드(10)에서 전송된 엔트리코드 중 ID코드의 유효성을 검사한 후 검사된 ID코드가 운전자의 ID코드일 경우, 상기 롤링코드 변수 크기의 유효범위를 확인한다.The main unit 30 checks the valid range of the size of the rolling code variable when the checked ID code is the driver's ID code after checking the validity of the ID code among the entry codes transmitted from the smart card 10. do.

이렇게 상기 메인 유닛(30)이 유효범위를 확인하여 스마트 카드(10)에서 전송된 롤링코드의 값이 메인 유닛(30)에 저장되어 있는 롤링코드의 값보다 클 경우, 상기 스마트 카드(10)에서 전송된 롤링코드를 유효한 값으로 인식하여 원하는 동작을 수행함과 동시에 롤링코드를 메모리에 새롭게 저장한다.When the main unit 30 checks the effective range and the value of the rolling code transmitted from the smart card 10 is greater than the value of the rolling code stored in the main unit 30, the smart card 10 It recognizes the transmitted rolling code as a valid value, performs a desired operation, and simultaneously stores the rolling code in memory.

상기한 바와 같이, 상기 메인 유닛(30)이 스마트 카드(10)에서 전송되되, 1 이상 씩 증가된 롤링코드를 전송받고, 전송받은 롤링코드를 반복적으로 저장하며, 상기 스마트 카드(10)는 메인 유닛(30)에 전송한 롤링코드를 반복적으로 저장한다.As described above, the main unit 30 is transmitted from the smart card 10, receiving a rolling code increased by one or more, repeatedly storing the received rolling code, and the smart card 10 is the main The rolling code transmitted to the unit 30 is repeatedly stored.

이때, 운전자의 키 조작에 의해 스마트 카드(10)의 롤링코드가 반복적으로 높아지고, 이로 인해 차량에 설치되는 메인 유닛(30)의 롤링코드 또한 반복적으로 높아져 스마트 카드(10)의 변수 크기가 최대치에 가까운 일정 범위를 포함할 경우, 상기 메인 유닛(30)은 스마트 카드(10)에 롤링코드의 동기화 명령 데이터를 전송한다.At this time, the rolling code of the smart card 10 is repeatedly increased by the driver's key operation. As a result, the rolling code of the main unit 30 installed in the vehicle is also repeatedly increased, thereby increasing the variable size of the smart card 10 to the maximum value. When it includes a certain range close, the main unit 30 transmits the rolling command data of the rolling code to the smart card (10).

예를 들어, 상기 스마트 카드(10)에서 메인 유닛(30)으로 입력되는 롤링코드의 최대치가 70000 정도일 경우, 스마트 카드(10)에서 메인 유닛(30)으로 입력되는 변수 크기가 최대치에 가까운 3%(67900~70000) 내지 5%(66500~70000) 내의 일정 범위에 도달 또는 이를 포함하면 상기 메인 유닛(30)은 스마트 카드(10)에 롤링코드의 동기화 명령 데이터를 전송한다. For example, when the maximum value of the rolling code input from the smart card 10 to the main unit 30 is about 70000, the variable size input from the smart card 10 to the main unit 30 is close to 3%. The main unit 30 transmits the rolling command synchronization data of the rolling code to the smart card 10 when it reaches or includes a predetermined range within the range (67900 to 70000) to 5% (66500 to 70000).

이때, 상기 롤링코드의 최대치 또는 최대치에 가까운 일정 범위는 다양하게 가변가능하게 이루어지는 것이 바람직하다.At this time, it is preferable that the predetermined range close to the maximum value or the maximum value of the rolling cord is made variable.

이렇게 상기 메인 유닛(30)이 스마트 카드(10)에 롤링코드의 동기화 명령을 전송할 경우, 상기 스마트 카드(10)가 메모리에 저장되어 있는 롤링코드의 동기화 명령을 수행하여 동기화된 후 상기 메인 유닛(30)에 동기화 수행 데이터를 전송하고, 상기 메인 유닛(30)이 스마트 카드(10)에서 전송된 동기화 수행 데이터를 감지한 후 자동으로 동기화한다.When the main unit 30 transmits a rolling code synchronization command to the smart card 10, the smart card 10 performs a synchronization command of the rolling code stored in a memory and is synchronized with the main unit ( 30, the synchronization performance data is transmitted, and the main unit 30 automatically synchronizes after detecting the synchronization performance data transmitted from the smart card 10.

상기한 바와 같이, 상기 메인 유닛(30)이 스마트 카드(10)에서 반복적으로 전송되는 롤링코드의 유효 범위를 체크한 후 스마트 카드(10)에서 전송되는 롤링코드의 변수 크기가 최대치에 도달하였을 경우, 스마트 카드(10)를 동기화시킴과 동시에 메인 유닛(30)이 동기화됨으로써 롤링코드의 오버플로우(overflow) 현상을 방지할 수 있으며, 스마트 카드(10)와 메인 유닛(30)의 롤링코드를 동기화하여 재사용하기 위해 차량의 구매처 또는 A/S 센터를 방문 및 이용하지 않아도 되는 등 사용이 간편해진다.As described above, when the main unit 30 checks the effective range of the rolling code repeatedly transmitted from the smart card 10 and the variable size of the rolling code transmitted from the smart card 10 reaches the maximum value. By synchronizing the smart card 10 and the main unit 30 at the same time, the overflow of the rolling code can be prevented, and the rolling codes of the smart card 10 and the main unit 30 are synchronized. It is easy to use, such as not having to visit and use the place of purchase of the vehicle or the after-sales center for reuse.

이때, 상기 스마트 카드(10)와 메인 유닛(30)에 구비되는 메모리에 의하여 스마트 카드(10)의 롤링코드 및 메인 유닛(30)의 롤링코드가 반복적으로 저장된다.In this case, the rolling code of the smart card 10 and the rolling code of the main unit 30 are repeatedly stored by the memory provided in the smart card 10 and the main unit 30.

본 발명은 특정의 실시예와 관련하여 도시 및 설명하였지만, 첨부 특허청구의 범위에 의해 나타난 발명의 사상 및 영역으로부터 벗어나지 않는 한도 내에서 다양한 개조 및 변화가 가능하다는 것을 당업계에서 통상의 지식을 가진 자라면 누 구나 쉽게 알 수 있을 것이다.While the invention has been shown and described with respect to particular embodiments, it will be understood by those skilled in the art that various modifications and changes can be made without departing from the spirit and scope of the invention as indicated by the appended claims. If you grow up, everyone will be able to easily know.

도 1은 차량에 적용되는 PKE 시스템을 개략적으로 나타내는 도면,1 is a view schematically showing a PKE system applied to a vehicle;

도 2는 본 발명에 의한 PKE 시스템의 구성을 개략적으로 나타내는 도면,2 is a view schematically showing the configuration of a PKE system according to the present invention;

도 3은 본 발명에 의한 PKE 시스템의 롤링코드 제어방법을 나타내는 흐름도.3 is a flowchart illustrating a rolling code control method of a PKE system according to the present invention;

<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>

1 : PKE 시스템, 10 : 스마트 카드,1: PKE system, 10: smart card,

30 : 메인 유닛.30: main unit.

Claims (5)

운전자가 지닌 스마트 카드(10)와, 차량에 설치되는 메인 유닛(30)을 포함하는 PKE 시스템(1)에 있어서,In the PKE system (1) comprising a smart card (10) that the driver has, and the main unit (30) installed in the vehicle, 상기 스마트 카드(10)에 LF 수신기능이 부가되되, 상기 스마트 카드(10)에서 메인 유닛(30)에 전송되는 ID코드와 롤링코드를 포함하는 엔트리코드의 전송 시 상기 롤링코드의 변수 크기가 최대치에 가까운 일정 범위를 포함할 경우, 상기 메인 유닛(30)이 스마트 카드(10)에 롤링코드의 동기화 명령 데이터를 전송하여 스마트 카드(10)의 롤링코드를 동기화시키고, 상기 스마트 카드(10)가 롤링코드의 동기화 명령을 수행하여 동기화된 후 상기 메인 유닛(30)에 롤링코드의 동기화 수행 데이터를 전송하여 메인 유닛(30)이 자동으로 롤링코드를 동기화하는 것을 특징으로 하는 PKE 시스템의 롤링코드 제어방법.LF receiving function is added to the smart card 10, the variable size of the rolling code is the maximum value when the entry code including the ID code and the rolling code transmitted from the smart card 10 to the main unit 30 When the main unit 30 includes a predetermined range close to, the main unit 30 transmits a rolling code synchronization command data to the smart card 10 to synchronize the rolling code of the smart card 10, and the smart card 10 Rolling code control of the PKE system, characterized in that the main unit 30 automatically synchronizes the rolling code by transmitting a rolling code synchronization data to the main unit 30 after being synchronized by performing a rolling code synchronization command Way. 제1항에 있어서,The method of claim 1, 상기 스마트 카드(10) 및 메인 유닛(30)이 동기화하기 위하여 최대치에 가까운 롤링코드의 변수 크기는 롤링코드 최대치의 3~5% 내, 외로 이루어지는 것을 특징으로 하는 PKE 시스템의 롤링코드 제어방법.Rolling code control method of the PKE system, characterized in that the variable size of the rolling code close to the maximum in order to synchronize the smart card (10) and the main unit (30) within 3 ~ 5% of the maximum rolling code. 제1항에 있어서,The method of claim 1, 상기 스마트 카드(10)와 메인 유닛(30)에 메모리가 구비되어 상호 송/수신한 롤링코드를 저장 및 저장된 롤링코드를 읽거나 기록하도록 이루어지는 것을 특징으로 하는 PKE 시스템의 롤링코드 제어방법.Rolling code control method of the PKE system, characterized in that the smart card (10) and the main unit (30) is provided with a memory to store and transmit or receive a rolling code and to read or record the stored rolling code. 제3항에 있어서,The method of claim 3, 상기 메모리가 2개 이상의 메모리 영역을 포함하는 백업 메모리를 갖도록 이루어져 오류 발생 시 백업 메모리에서 유효한 데이터를 다시 읽거나 기록하도록 이루어지는 것을 특징으로 하는 PKE 시스템의 롤링코드 제어방법.Rolling code control method of a PKE system, characterized in that the memory has a backup memory including two or more memory areas to re-read or write valid data in the backup memory when an error occurs. 제4항에 있어서,The method of claim 4, wherein 상기 스마트 카드(10)와 메인 유닛(30)의 메모리에 롤링코드의 저장 및 저장된 롤링코드를 읽거나 기록 시 정상적인 읽기 및 기록 시 에러 체크 프레임이 0으로 셋팅되도록 이루어지고, 오류 발생 시 에러 체크 프레임이 1로 셋팅되도록 이루어져 에러 체크 프레임이 1로 셋팅된 상태를 유지할 경우, 백업 메모리에 저장되 있던 롤링코드를 다시 불러들여 읽거나 기록하도록 이루어지는 것을 특징으로 하는 PKE 시스템의 롤링코드 제어방법.When reading or writing a rolling code stored or stored in a memory of the smart card 10 and the main unit 30, an error check frame is set to 0 during normal reading and writing, and an error check frame when an error occurs. If the error check frame is set to 1 is set to 1, the rolling code control method of the PKE system, characterized in that for reloading and reading or writing the rolling code stored in the backup memory.
KR1020080113576A 2008-11-14 2008-11-14 Rolling code control method of passive keyless entry system KR20100054597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080113576A KR20100054597A (en) 2008-11-14 2008-11-14 Rolling code control method of passive keyless entry system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080113576A KR20100054597A (en) 2008-11-14 2008-11-14 Rolling code control method of passive keyless entry system

Publications (1)

Publication Number Publication Date
KR20100054597A true KR20100054597A (en) 2010-05-25

Family

ID=42279305

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080113576A KR20100054597A (en) 2008-11-14 2008-11-14 Rolling code control method of passive keyless entry system

Country Status (1)

Country Link
KR (1) KR20100054597A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101417820B1 (en) * 2012-12-10 2014-07-16 현대오트론 주식회사 Keyless Entry Control Method of Vehicle

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101417820B1 (en) * 2012-12-10 2014-07-16 현대오트론 주식회사 Keyless Entry Control Method of Vehicle

Similar Documents

Publication Publication Date Title
US7327216B2 (en) Secret key programming technique for transponders using encryption
JP6908451B2 (en) Car sharing system and car sharing method
US4907270A (en) Method for certifying the authenticity of a datum exchanged between two devices connected locally or remotely by a transmission line
KR100590671B1 (en) Secure memory having anti-wire tapping
EP0455135B2 (en) Security module for radio telephone
JP5521803B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION SYSTEM
US8566611B2 (en) Electronic device, unlocking method, and program
US20100306549A1 (en) Method and device for managing access control
US20080303631A1 (en) Mass Storage Device With Locking Mechanism
JP4651212B2 (en) Portable information storage medium and authentication method thereof
JP2008059450A (en) Vehicle information rewriting system
CN100545861C (en) A kind of transmission method with the radio-frequency (RF) tag storage organization that transmits the control of encryption and access rights
JP2006118122A (en) Key management system
US20090184799A1 (en) Information storage medium and information storage medium processing apparatus
CN101976362B (en) Radio frequency identification tag access method based on bitmap and device
CN101667255B (en) Security authentication method, device and system for radio frequency identification
JP4765608B2 (en) Data processing apparatus, data processing program, and data processing system
KR100476494B1 (en) Storage medium, read/write apparatus, card system, encryption key utilization method, station service system, and card issuing apparatus
KR20100054597A (en) Rolling code control method of passive keyless entry system
US20220134998A1 (en) Card key and method of controlling vehicle using the same
JP7389692B2 (en) Vehicle rental system
JP4091611B2 (en) Authentication registration processing apparatus and authentication registration processing method
JP5692441B2 (en) Information processing apparatus, information processing method, and program
US20230054306A1 (en) Communication system, apparatus, method for controlling apparatus, and method for manufacturing mobile device
CN118283562A (en) NFC car key information acquisition method and device, electronic equipment and storage medium

Legal Events

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