KR20060021699A - Data communication method of remote system - Google Patents
Data communication method of remote system Download PDFInfo
- Publication number
- KR20060021699A KR20060021699A KR1020040070548A KR20040070548A KR20060021699A KR 20060021699 A KR20060021699 A KR 20060021699A KR 1020040070548 A KR1020040070548 A KR 1020040070548A KR 20040070548 A KR20040070548 A KR 20040070548A KR 20060021699 A KR20060021699 A KR 20060021699A
- Authority
- KR
- South Korea
- Prior art keywords
- data
- code
- unique
- remote control
- counter code
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q9/00—Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
- H04Q9/04—Arrangements for synchronous operation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3226—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Signal Processing (AREA)
- Lock And Its Accessories (AREA)
Abstract
본 발명은 리모콘 시스템의 데이터 통신 방법을 공개한다. 이 리모콘 시스템의 데이터 통신 방법은 상기 리모콘은 키 버튼이 선택되면, 상기 동기 카운터 코드를 증가하고, 상기 증가된 동기 카운터 코드를 이용하여 상기 리모콘의 고유 아이디를 암호화한 후, 상기 암호화된 고유 아이디와 상기 키 버튼과 상기 증가된 동기 카운터 코드의 정보를 포함하는 데이터를 생성하여 반복 송신하는 데이터 송신 단계와, 상기 리모콘 수신기는 상기 데이터를 수신하고, 상기 데이터로부터 상기 암호화된 고유 아이디와 상기 키 버튼과 상기 동기 카운터 코드를 획득하고, 상기 암호화된 고유 아이디의 정보와 상기 획득한 동기 카운터 코드를 이용하여 상기 데이터의 유효 여부를 판단하는 판단 단계와, 상기 리모콘 수신기는 상기 판단 단계를 통해 상기 데이터가 유효하다고 판단되면, 상기 획득한 키 버튼의 정보에 대응되는 작업을 수행하고, 상기 판단 단계를 통해 상기 데이터가 유효하지 않다고 판단되면, 상기 데이터를 폐기하는 것을 특징으로 하는 프레임 사용 단계를 구비하는 것을 특징으로 한다. 따라서 본 발명의 리모콘 시스템의 데이터 통신 방법은 보다 안전한 데이터 통신을 지원하여 준다. The present invention discloses a data communication method of a remote control system. In the data communication method of the remote control system, when the key button is selected, the remote controller increases the sync counter code, encrypts the unique ID of the remote controller using the increased sync counter code, and then encrypts the unique ID with the encrypted unique ID. A data transmission step of generating and repeatedly transmitting data including the key button and the information of the incremented sync counter code, and the remote control receiver receives the data, and the encrypted unique ID and the key button from the data; A determination step of acquiring the synchronization counter code, and determining whether the data is valid using the encrypted unique ID information and the acquired synchronization counter code; and the remote controller receiver validates the data through the determination step. If it is determined to correspond to the information of the obtained key button It performs the operation, and when determined that the data is not available via the determination step, characterized in that it comprises a frame used step, characterized in that for discarding the data. Therefore, the data communication method of the remote control system of the present invention supports more secure data communication.
Description
도 1은 일반적인 차량에 장착되는 리모콘 시스템의 구성도.1 is a configuration diagram of a remote control system mounted on a general vehicle.
도 2는 본 발명에 따른 데이터의 프레임 포맷을 개략적으로 도시한 도면.2 schematically illustrates the frame format of data according to the invention;
도 3a는 리모콘의 데이터 송신 방법을 설명하기 위한 흐름도.3A is a flowchart for explaining a data transmission method of a remote controller.
도 3b는 리모콘 수신기의 데이터 수신 및 인증 방법을 설명하기 위한 흐름도.3B is a flowchart for explaining a data reception and authentication method of a remote control receiver.
도 4는 도 3a의 리모콘의 데이터 송신 방법을 설명하기 위한 타이밍도.4 is a timing diagram for explaining a data transmission method of the remote controller of FIG. 3A.
본 발명은 리모콘 시스템의 데이터 통신 방법에 관한 것으로, 특히 차량에 설치되는 리모콘 시스템의 무선 데이터의 사용 방지 및 암호화 기능을 제공하는 리모콘 시스템의 데이터 통신 방법에 관한 것이다.The present invention relates to a data communication method of a remote control system, and more particularly, to a data communication method of a remote control system that provides a function of preventing and encrypting wireless data of a remote control system installed in a vehicle.
도 1은 일반적인 차량에 장착되는 리모콘 시스템의 구성도를 도시한 도면으로, 리모콘(1)은 사용자에 의해 휴대되며, 리모콘 수신기(2)는 차량에 설치된다. FIG. 1 is a diagram illustrating a configuration of a remote control system mounted on a general vehicle, in which a
리모콘(1)은 내부적으로 고유 아이디 정보를 저장하고, 외부적으로는 시동, 경보, 도어락기능들 각각을 선택하기 위한 키 버튼들(11~13)을 구비한다. 이에 사용자가 특정 키 버튼(11)을 선택하면, 선택된 키 버튼(11)의 정보와 고유 아이디 정보를 포함하는 데이터를 생성하여, 생성된 데이터를 무선으로 리모콘 수신기(2)에 송신한다. The
그리고 리모콘 수신기(2)는 자신과 무선 통신을 수행할 리모콘(1)의 고유 아이디 정보를 내부적으로 저장하고, 내부에 저장된 고유 아이디와 동일한 고유 아이디를 가지는 데이터가 전송되면, 전송된 데이터를 해석하여 키 버튼의 정보를 획득하고, 이에 따른 작업을 수행하여 준다. The
이와 같이 리모콘(1)과 리모콘 수신기(2)로 구성되는 리모콘 시스템은 사용자의 사용 편이를 극대화하기 위해 무선 데이터 통신을 수행한다. As such, the remote control system composed of the
그러나 무선 데이터 통신은 동일한 전송 매체(즉, 공기)를 다양한 무선 통신 장비 및 장치에 의해 공유하는 특성으로 인해, 허가 또는 인증받지 못한 사용자 즉, 차량의 소유주 이외의 사람에 의해 데이터가 무단으로 사용될 위험을 가지게 된다. Wireless data communications, however, share the same transmission medium (i.e. air) by various wireless communications equipment and devices, and therefore the risk of unauthorized use of data by unauthorized or unauthorized users, ie, persons other than the owner of the vehicle. Will have
특히, 이때 리모콘 시스템에서 사용되는 데이터는 기본적으로 리모콘의 고유 아이디를 포함하고, 경우에 따라서는 차량의 문을 열기 위한 키 버튼 정보 또는 차량의 시동을 걸기 위한 키 버튼 정보를 포함하게 된다. In particular, the data used in the remote control system basically includes a unique ID of the remote control, and in some cases, includes key button information for opening the door of the vehicle or key button information for starting the vehicle.
이에 허가 또는 인증받지 못한 사용자 즉, 차량의 소유주 이외의 사람이 데이터를 악용하는 경우, 차량의 도난까지도 가능하게 한다.This permits theft of the vehicle even when unauthorized or unauthorized users, ie, persons other than the owner of the vehicle, abuse the data.
따라서 리모콘 시스템에서는 데이터의 무단 사용을 방지하기 위한 통신 방법 이 절실히 필요로 하게 되었다. Therefore, the remote control system is urgently needed a communication method to prevent unauthorized use of data.
본 발명의 목적은 데이터를 암호화하고, 이를 인증하는 방법을 제공하여 데이터의 무단 사용을 방지하는 리모콘 시스템의 데이터 송신 방법을 제공하는 것이다. An object of the present invention is to provide a data transmission method of a remote control system that provides a method of encrypting data and authenticating the data to prevent unauthorized use of the data.
상기의 목적을 달성하기 위한 본 발명의 리모콘 시스템의 데이터 통신 방법은 상기 리모콘은 키 버튼이 선택되면, 상기 동기 카운터 코드를 증가하고, 상기 증가된 동기 카운터 코드를 이용하여 상기 리모콘의 고유 아이디를 암호화한 후, 상기 암호화된 고유 아이디와 상기 키 버튼과 상기 증가된 동기 카운터 코드의 정보를 포함하는 데이터를 생성하여 반복 송신하는 데이터 송신 단계와, 상기 리모콘 수신기는 상기 데이터를 수신하고, 상기 데이터로부터 상기 암호화된 고유 아이디와 상기 키 버튼과 상기 동기 카운터 코드를 획득하고, 상기 암호화된 고유 아이디의 정보와 상기 획득한 동기 카운터 코드를 이용하여 상기 데이터의 유효 여부를 판단하는 판단 단계와, 상기 리모콘 수신기는 상기 판단 단계를 통해 상기 데이터가 유효하다고 판단되면, 상기 획득한 키 버튼의 정보에 대응되는 작업을 수행하고, 상기 판단 단계를 통해 상기 데이터가 유효하지 않다고 판단되면, 상기 데이터를 폐기하는 것을 특징으로 하는 프레임 사용 단계를 구비하는 것을 특징으로 한다.In the data communication method of the remote control system of the present invention for achieving the above object, if the remote control key button is selected, increasing the sync counter code, and encrypts the unique ID of the remote control using the increased sync counter code And a data transmission step of generating and repeatedly transmitting data including the encrypted unique ID, the key button, and the information of the increased synchronization counter code, and the remote control receiver receiving the data, and receiving the data from the data. A determination step of obtaining an encrypted unique ID, the key button, and the sync counter code, and determining whether the data is valid using the encrypted unique ID information and the obtained sync counter code; If it is determined through the determination step that the data is valid And performing a task corresponding to the obtained key button information, and discarding the data if it is determined that the data is not valid through the determining step.
상기의 목적을 달성하기 위한 본 발명의 리모콘 시스템에서의 리모콘의 데이터 송신 방법은 상기 키 버튼이 선택되면, 상기 동기 카운터 코드를 증가하고, 상 기 동기 카운터 코드를 이용하여 상기 리모콘의 고유 아이디를 암호화한 후, 상기 암호화된 고유 아이디와 상기 키 버튼과 상기 증가된 동기 카운터 코드의 정보를 포함하는 데이터를 생성하는 데이터 생성 단계와, 상기 생성된 데이터를 반복 송신하는 데이터 송신 단계를 구비하는 것을 특징으로 한다. In the remote control system data transmission method of the present invention for achieving the above object, if the key button is selected, the synchronization counter code is increased, and the unique ID of the remote controller is encrypted using the synchronization counter code. And a data generation step of generating data including the encrypted unique ID, the key button, and information of the increased synchronization counter code, and a data transmission step of repeatedly transmitting the generated data. do.
상기의 목적을 달성하기 위한 본 발명의 리모콘 시스템에서의 리모콘 수신기의 데이터 수신 및 인증 방법은 데이터를 수신하면, 상기 수신한 데이터로부터 암호화된 고유 아이디와 키 버튼과 동기 카운터 코드를 획득하는 데이터 수신 단계와, 상기 획득한 동기 카운터 코드와 상기 저장된 동기 카운터 코드를 비교하는 제 1 비교 단계와, 상기 획득한 동기 카운터 코드를 이용하여 상기 암호화된 고유 아이디를 복호화하여 상기 고유 아이디를 획득하고, 상기 획득한 고유 아이디와 상기 저장된 고유 아이디를 비교하는 제 2 비교 단계와, 상기 제 1 비교 단계를 통해 상기 획득한 동기 카운터 코드가 상기 저장된 동기 카운터 코드보다 크고, 상기 제 2 비교 단계를 통해 상기 획득한 고유 아이디와 상기 저장된 고유 아이디가 동일함이 확인되면, 상기 수신한 데이터를 유효한 데이터로 인증하고, 상기 획득한 키 버튼의 정보에 대응되는 작업을 수행하는 인증 단계를 구비하는 것을 특징으로 한다.Data reception and authentication method of the remote control receiver in the remote control system of the present invention for achieving the above object is a data reception step of obtaining an encrypted unique ID and key buttons and a sync counter code from the received data when receiving the data; And a first comparing step of comparing the obtained sync counter code with the stored sync counter code, and using the obtained sync counter code to decrypt the encrypted unique ID to obtain the unique ID. A second comparison step of comparing a unique ID with the stored unique ID, and the obtained synchronization counter code is greater than the stored synchronization counter code through the first comparison step, and the obtained unique ID is obtained through the second comparison step. If it is confirmed that and the stored unique ID is the same, the reception Authentication data to a valid data, and characterized by comprising an authentication step of performing the operation corresponding to the information of the acquired key buttons.
이하, 첨부한 도면을 참고로 하여 본 발명의 리모콘 시스템의 데이터 통신 방법을 설명하면 다음과 같다.Hereinafter, a data communication method of the remote control system of the present invention will be described with reference to the accompanying drawings.
도 2는 본 발명에 따른 데이터의 프레임 포맷을 개략적으로 도시한 도면으로, 계속하여 도면을 참조하면, 프레임은 프리엠블 영역(TP), 헤더 영역(TH), 랜덤 코드 영역(TR), 키 데이터 영역(TD), 동기 카운터 코드 영역(TS), 및 체크 섬 영역(TC)으로 구성된다. FIG. 2 is a diagram schematically illustrating a frame format of data according to the present invention. Referring to the drawings, the frame includes a preamble area TP, a header area TH, a random code area TR, and key data. Area TD, sync counter code area TS, and check sum area TC.
그리고 프리엠블 영역(TP)에는 40 비트의 프리엠블 코드가, 헤더 영역(TH)에는 4비트의 헤더 코드가, 랜덤 코드 영역(TR)에는 20 비트의 랜덤 코드가, 키 데이터 영역(TD)에는 6 비트의 키 데이터가, 동기 카운터 코드 영역(TS)에는 20 비트의 동기 카운터 코드가, 및 체크 섬 영역(TC)에는 체크 섬 코드가 각각 저장된다.A 40-bit preamble code is included in the preamble area TP, a 4-bit header code is included in the header area TH, a 20-bit random code is included in the random code area TR, and a key code area TD. Six bits of key data are stored in a sync counter code area TS of 20 bits, and a check sum code is stored in a check sum area TC, respectively.
프리엠블 코드는 리모콘 수신기에 새로운 프레임의 도착을 통지하고, 리모콘과 리모콘 수신기간의 동기를 맞추기 위한 것으로, 본 발명에서의 프리엠블 코드는 "0" 값을 가지는 40 비트열로 구성된다. The preamble code informs the remote control receiver of the arrival of a new frame and synchronizes the remote control with the remote control receiver. The preamble code according to the present invention is composed of a 40-bit string having a value of "0".
헤더 코드는 프리엠블 코드의 송신을 종료하고 실제 데이터의 송신이 시작됨을 알려준다. 즉, 프레임의 시작점을 알려주기 위한 것이다. 본 발명에서의 헤더 코드는 "1010" 값을 가지는 4 비트열을 가진다. The header code ends the transmission of the preamble code and informs that the actual data transmission starts. That is, to inform the starting point of the frame. The header code in the present invention has a 4-bit string having a value of "1010".
랜덤 코드는 암호화된 리모콘의 고유 아이디 정보를 가진다. 본 발명의 랜덤 코드는 리모콘의 고유 아이디와 동기 카운터 코드를 배타적 논리합(XOR : exclusive OR)하여 생성된다. The random code has unique ID information of the encrypted remote controller. The random code of the present invention is generated by exclusive OR of a unique ID of a remote controller and a sync counter code.
이때 리모콘의 고유 아이디는 리모콘 시스템의 생산 공정상에서, 생산자가 리모콘에 할당한 제품 생산 번호 또는 제품의 생산자가 설정한 고유 번호가 될 수 있다. In this case, the unique ID of the remote controller may be a product serial number assigned by the producer to the remote controller or a unique number set by the producer of the product in the production process of the remote controller system.
그리고 리모콘의 고유 아이디는 리모콘과 데이터 통신을 수행할 리모콘 수신기에도 저장된다. 이는 리모콘 수신기가 자신과 데이터 통신을 수행할 즉, 자신에 대응되는 리모콘을 인식할 수 있도록 하기 위함이다 The unique ID of the remote controller is also stored in the remote controller receiver to perform data communication with the remote controller. This is to allow the remote control receiver to perform data communication with itself, that is, to recognize the remote control corresponding to the remote control receiver.
키 데이터는 사용자가 선택한 리모콘의 키 버튼의 정보를 가진다. The key data has information of key buttons of the remote controller selected by the user.
동기 카운터 코드는 데이터의 불법 사용을 방지하고, 제품의 고유 아이디의 암호화를 수행하기 위한 정보를 가진다. 즉, 동기 카운터 코드는 프레임의 인증 작업, 및 데이터의 암호화를 지원하기 위한 정보를 가진다. The sync counter code has information for preventing illegal use of data and for encrypting the unique ID of the product. That is, the sync counter code has information for supporting the authentication operation of the frame and the encryption of the data.
여기서, 동기 카운터 코드로는 리모콘의 키 버튼 선택 횟수 값이 적용되며, 키 버튼 선택 횟수 값은 사용자가 리모콘의 키 버튼을 누를 때 마다, 소정의 단위 값을 가지며 증가되는 값이다. Here, the key button selection count value of the remote controller is applied as the sync counter code, and the key button selection count value is incremented with a predetermined unit value every time the user presses a key button of the remote controller.
본 발명의 리모콘은 특정 키 버튼을 새로이 선택된 경우에만 새로운 데이터를 생성하여 송신하므로, 각 데이터의 동기 카운터 코드로 적용되는 키 버튼 선택 횟수는 항상 상이해진다. 즉, 각 데이터의 동기 카운터 코드는 항상 상이한 값을 가지게 된다. 이를 이용하여 데이터의 유효성 여부를 인증하는 방법에 대해서는 이하에서 보다 상세히 설명하기로 한다.Since the remote controller of the present invention generates and transmits new data only when a specific key button is newly selected, the number of times of key button selection applied to the sync counter code of each data is always different. In other words, the sync counter code of each data always has a different value. A method of authenticating data validity using the same will be described in more detail below.
체크 섬 코드는 수신된 데이터의 에러 여부를 확인할 수 있도록 한다. 본 발명에서의 체크 섬 코드는 20 비트의 랜덤 코드, 6비트의 데이터, 및 20 비트의 동기 카운터 코드 각각이 8비트로 변환된 후 합산되어, 8비트의 체크 섬 코드로 변환된다. 이는 공지된 기술이므로 상세한 설명은 생략하도록 한다. The checksum code allows you to check whether the received data is in error. In the present invention, each of the 20-bit random code, the 6-bit data, and the 20-bit sync counter code is converted into 8 bits, summed, and then converted into an 8-bit check sum code. Since this is a known technique, a detailed description thereof will be omitted.
그리고 도2의 데이터는 2진수로 표현되며, 동기가 코드 자체에 포함되어 있어서 수신단(본 발명에서는 리모콘 수신기)에서 동기를 자동으로 맞출 수 있도록 하는 맨체스터 코딩 방법을 이용하여 코딩된다. The data of FIG. 2 is represented by a binary number, and is coded using a Manchester coding method in which synchronization is included in the code itself so that the receiving end (in the present invention, the remote control receiver) can automatically synchronize the synchronization.
또한 맨체스터 코딩 방법은 데이터의 직류(DC) 성분의 억제하고, 데이터의 에러 발견을 용이하도록 하는 효과를 제공한다. 이는 공지된 기술이므로 상세한 설명은 생략하도록 한다. The Manchester coding method also provides the effect of suppressing the direct current (DC) component of the data and facilitating error detection of the data. Since this is a known technique, a detailed description thereof will be omitted.
도 3a 및 도 3b는 본 발명에 따른 리모콘 시스템의 데이터 통신 방법을 설명하기 위한 도면이다. 도 3a는 리모콘의 데이터 송신 방법을 설명하기 위한 흐름도이고, 도 3b는 리모콘 수신기의 데이터 수신 및 인증 방법을 설명하기 위한 흐름도이다.3A and 3B are diagrams for explaining a data communication method of a remote control system according to the present invention. 3A is a flowchart illustrating a data transmission method of a remote controller, and FIG. 3B is a flowchart illustrating a data reception and authentication method of a remote controller receiver.
리모콘와 리모콘 수신기가 처음 데이터 통신을 수행하는 경우, 초기화된 상태이며, 초기화 상태의 리모콘과 리모콘 수신기 각각은 동기 카운터 코드로 "0"을 설정하고, 사용자가 리모콘의 키 버튼을 한번 누를 때마다 동기 카운터 코드 값이 "1" 만큼 증가한다고 가정한다. 또한 초기화 상태의 리모콘은 데이터 송신횟수를 "0"으로 설정한다고 가정한다. When the remote control and the remote control receiver perform data communication for the first time, they are initialized, and each of the remote control and the remote control receiver in the initialization state sets "0" as the synchronization counter code, and the synchronization counter is pressed whenever the user presses a key button on the remote control. Assume that the code value is increased by "1". In addition, it is assumed that the remote controller in the initialization state sets the data transmission frequency to "0".
계속하여 도 3a를 참조하여 리모콘의 데이터 송신 방법을 설명하기로 한다. Subsequently, a method of transmitting data of the remote controller will be described with reference to FIG. 3A.
사용자가 특정 키 버튼을 선택되면, 리모콘은 이를 감지하고, 키 버튼 선택 횟수를 "1" 만큼 증가한다. 그리고 리모콘은 40 비트의 프리엠블 코드를 생성하여, 리모콘 수신기로 송신한다(단계 S11).When the user selects a specific key button, the remote controller detects this and increases the number of key button selections by "1". The remote controller generates a 40-bit preamble code and transmits it to the remote controller receiver (step S11).
그리고 프레임의 시작점을 알려주기 위한 4비트의 헤더 코드를 생성하여, 리모콘 수신기로 송신한다(단계 S12).Then, a 4-bit header code for generating the start point of the frame is generated and transmitted to the remote control receiver (step S12).
리모콘의 고유 아이디와 단계 S11을 통해 증가된 값을 가지는 동기 카운터 코드를 배타적 논리합하여 리모콘의 고유 아이디를 암호화하고 이를 랜덤 코드로 설정하고, 이 랜덤 코드를 리모콘 수신기로 송신한다(단계 S13).The exclusive ID of the remote controller and the sync counter code having the value increased in step S11 are exclusively ORed to encrypt the unique ID of the remote controller, set it as a random code, and transmit the random code to the remote controller receiver (step S13).
그리고 사용자가 선택한 키 버튼 정보에 대응되는 6 비트의 키 데이터를 생성하여, 리모콘 수신기로 송신한다(단계 S14).Then, 6-bit key data corresponding to the key button information selected by the user is generated and transmitted to the remote control receiver (step S14).
단계 S11을 통해 증가된 값을 가지는 키 버튼 선택 횟수를 동기 카운터 코드로 설정하고, 이 동기 카운터 코드를 리모콘 수신기로 송신한다(단계 S15).In step S11, the number of key button selections having an increased value is set as the sync counter code, and the sync counter code is transmitted to the remote control receiver (step S15).
랜덤 코드, 데이터, 및 동기 카운터 코드 각각을 8 비트 데이터 형태로 변환하고, 변환된 데이터를 모두 합하여 8비트의 체크 섬 코드를 생성하고, 생성된 체크 섬 코드를 리모콘 수신기로 송신한다(단계 S16).Convert each of the random code, data, and sync counter code into 8-bit data form, add the converted data together to generate an 8-bit checksum code, and transmit the generated checksum code to the remote control receiver (step S16). .
이에 생성이 완료된 프레임을 무선으로 리모콘 수신기에 제공하고, 리모콘의 데이터 송신횟수를 "1"만큼 증가한다(단계 S17).The generated frame is then wirelessly provided to the remote control receiver, and the number of data transmissions of the remote control is increased by " 1 " (step S17).
그리고 임의의 값을 가지는 데이터로 구성되는 인터 프레임 신호를 생성하여 송신한 뒤(단계 S18), 현재의 데이터 송신회수가 "3"보다 작으면(단계 S19) 다시 단계 S12로 진행하여 동일한 데이터를 두 번 더 송신한 뒤 리모콘의 데이터 송신 방법을 종료한다. After generating and transmitting an inter frame signal composed of data having an arbitrary value (step S18), if the current number of data transmissions is smaller than "3" (step S19), the process proceeds to step S12 again to write the same data. After transmitting again, the data transmission method of the remote controller is terminated.
이와 같이 동일한 데이터를 복수회 반복 송신하는 것은, 무선 데이터 통신을 수행하기 위한 채널에 일시적인 혼선이 발생하거나, 리모콘에 대응되는 리모콘 수신기가 일시적으로 데이터를 수신할 수 없는 상태일 때 발생하는 데이터 송신의 실패를 보상하기 위한 것이다.Repeated transmission of the same data a plurality of times is a data transmission that occurs when a temporary crosstalk occurs in a channel for performing wireless data communication or when a remote control receiver corresponding to a remote controller cannot temporarily receive data. It is to compensate for failure.
그리고 동일한 데이터를 반복 송신하는 경우, 단계 S11을 거치지 않고 단계 S12로 진행하는 것은, 리모콘 수신기가 프리엠블 데이터를 수신하면 새로운 값을 가지는 데이터를 새로이 수신한다고 판단하게 때문이다. In the case where the same data is repeatedly transmitted, the process proceeds to step S12 without passing through step S11 because the remote control receiver determines that the data having the new value is newly received when the preamble data is received.
이에 리모콘은 새로운 값을 가지는 데이터를 최초로 송신하는 경우에는 단계 S11~S16을 통해 프리엠블 코드를 포함하는 데이터를 생성하여 송신하고, 이미 한번 전송된 데이터를 다시 송신하는 경우에는 단계 S12~S16을 통해 프리엠블 코드를 포함하지 않는 데이터를 생성하여 송신하여 준다. When the remote controller transmits data having a new value for the first time, the remote controller generates and transmits data including the preamble code through steps S11 to S16, and when transmitting data that has already been transmitted once, through steps S12 to S16. Generate and transmit data that does not contain a preamble code.
이어서 도 3b를 참조하여 리모콘 수신기의 데이터 수신 및 인증 방법을 설명하기로 한다. Next, a method of receiving and authenticating data of the remote control receiver will be described with reference to FIG. 3B.
리모콘 수신기는 리모콘으로부터 프리엠블 코드를 수신하면, 새로운 값을 가지는 데이터가 송신되기 시작함을 확인한다(단계 S21).When the remote control receiver receives the preamble code from the remote control, it confirms that data having a new value starts to be transmitted (step S21).
그리고 헤더 코드, 랜덤 코드, 키 데이터, 동기 카운터 코드, 및 체크 섬 코드를 순차적으로 수신한다(단계 S22). Then, the header code, the random code, the key data, the sync counter code, and the check sum code are sequentially received (step S22).
그러면 수신된 체크 섬 코드를 이용하여 수신된 데이터의 에러 여부를 확인한다(단계 S23). 체크 섬 코드를 이용한 데이터의 에러 여부를 확인하는 기술은 공지된 기술이므로 이에 대한 상세한 설명은 생략하기로 한다. Then, the received checksum code is used to check whether the received data is in error (step S23). Since a technique for checking whether an error of data using a check sum code is a known technique, a detailed description thereof will be omitted.
단계 S22를 통해 수신한 데이터에 에러가 있음이 확인되면(단계 S24), 동일한 데이터를 다시 수신하기 위해 인터 프레임을 수신하는지 확인하고, 인터 프레임을 수신하였으면(S25), 다시 단계 S22로 진행한다. If it is confirmed that there is an error in the data received in step S22 (step S24), it is checked whether an inter frame is received in order to receive the same data again, and if an inter frame is received (S25), the process goes back to step S22.
반면에 수신한 데이터에 에러가 없음이 확인되면, 리모콘 수신기는 수신된 데이터의 유효성 여부를 인증하기 위해, 수신된 데이터의 동기 카운터 코드와 리모콘 수신기내에 저장되어 있는 동기 카운터 코드와 비교한다. 비교 결과, 수신된 동 기 카운터 코드가 리모콘 수신기내에 저장되어 있는 동기 카운터 코드보다 크면(단계 S26), 수신된 데이터를 유효한 데이터로 1차 인증한다(단계 S27). On the other hand, if it is confirmed that there is no error in the received data, the remote control receiver compares the synchronization counter code of the received data with the synchronization counter code stored in the remote control receiver to verify whether the received data is valid. As a result of the comparison, if the received sync counter code is larger than the sync counter code stored in the remote control receiver (step S26), the received data is first authenticated as valid data (step S27).
이때의 리모콘 수신기는 단계 S27을 수행할 때까지 초기화시에 설정된(또는 이전에 저장된) 동기 카운터 코드를 그대로 저장하고 있다. 반면에 리모콘이 송신한 새로운 데이터는 도 3a에서와 같이 증가된 동기 카운터 코드와 이에 따라 변경된 값을 가지는 랜덤 코드를 포함한다. The remote control receiver at this time stores the sync counter code set at the time of initialization (or previously stored) as it is until step S27 is performed. On the other hand, the new data transmitted by the remote controller includes an increased sync counter code and a random code having a changed value as shown in FIG. 3A.
이에 리모콘 수신기는 항상 새로이 수신된 데이터에 포함된 동기 카운터 코드보다 작은 값을 가지는 동기 카운터 코드를 저장하고 있게 된다.The remote control receiver always stores a sync counter code having a value smaller than the sync counter code included in the newly received data.
본 발명에서는 이러한 리모콘 수신기 동작 특성을 착안하여 동기 카운터 코드를 비교함으로써 수신된 데이터의 유효성 여부를 판단하여 준다.In the present invention, by considering the operating characteristics of the remote control receiver to determine the validity of the received data by comparing the synchronization counter code.
이어서 1차 인증이 정상적으로 완료되었으면 수신한 랜덤 코드를 동기 카운터 코드로 복호화하여 리모콘의 고유 아이디를 획득한다(단계 S28). Subsequently, if the primary authentication is completed normally, the received random code is decoded into a sync counter code to obtain a unique ID of the remote controller (step S28).
단계 S29를 통해 획득된 리모콘의 고유 아이디와 리모콘 수신기내에 저장되어 있는 고유 아이디를 비교하고(단계 S29), 비교 결과 수신된 리모콘의 고유 아이디와 리모콘 수신기내에 저장되어 있는 고유 아이디가 동일하면, 수신된 데이터를 유효한 데이터로 2차 인증한다(단계 S210). Comparing the unique ID of the remote control obtained through the step S29 and the unique ID stored in the remote control receiver (step S29), if the unique ID of the received remote control and the unique ID stored in the remote control receiver is the same as the result of the comparison, The data is secondly authenticated as valid data (step S210).
그러면 리모콘 수신기는 수신된 데이터의 키 데이터를 키 버튼 정보를 획득하고, 이에 따른 작업을 수행한 후(단계 S211), 본 발명의 리모콘 수신기의 데이터 수신 및 인증 방법을 종료한다. Then, the remote control receiver acquires key button information on the received key data of the data, and performs a corresponding operation (step S211), and then ends the data receiving and authentication method of the remote control receiver of the present invention.
반면에 수신한 데이터에 에러가 발생하였으나 더 이상 인터 프레임이 수신되 지 않거나(단계 S25), 단계 S26을 통한 1차 인증과 단계 S29를 통한 2차 인증 작업이 정상적으로 이루어지지 못하면 리모콘 수신기는 수신된 데이터를 사용할 수 없는 데이터로 판단하고, 폐기 한 후(단계 S212), 본 발명의 리모콘 수신기의 데이터 수신 및 인증 방법을 종료한다. On the other hand, if there is an error in the received data but no further inter frame is received (step S25), or if the first authentication through step S26 and the second authentication through step S29 are not performed normally, the remote controller receiver receives the received data. After determining that the data is not available and discarding it (step S212), the method for receiving and authenticating the data of the remote control receiver of the present invention is terminated.
도 4는 도 3a의 리모콘의 데이터 송신 방법을 설명하기 위한 타이밍도를 나타낸 도면이다. 4 is a timing diagram illustrating a data transmission method of the remote controller of FIG. 3A.
도면에 도시된 바와 같이, 리모콘은 동일한 데이터를 반복 송신하여 준다. As shown in the figure, the remote controller repeatedly transmits the same data.
계속하여 도면을 참조하면, 리모콘은 사용자가 특정 키 버튼을 선택하면, 이를 감지하여 프리엠블 영역(TP), 헤더 영역(TH), 랜덤 코드 영역(TR), 키 데이터 영역(TD), 동기 카운터 코드 영역(TS), 및 체크섬영역(TC)으로 구성되는 데이터를 생성하고, 이를 리모콘으로 1 차 전송하여 준다(31).Continuing to refer to the drawing, the remote controller detects when a user selects a specific key button and detects the preamble area TP, the header area TH, the random code area TR, the key data area TD, and the synchronization counter. The data consisting of the code area TS and the checksum area TC is generated and transmitted to the remote controller primary (31).
데이터의 1 차 전송이 완료되면, 인터 프레임(IF)을 생성하여 리모콘으로 1 차 전송한 후(32), 이어서 헤더 영역(TH), 랜덤 코드 영역(TR), 키 데이터 영역(TD), 동기 카운터 코드 영역(TS), 및 체크섬영역(TC)를 생성하고, 이를 리모콘으로 2 차 전송하여 준다(33).When the primary transmission of data is completed, the inter frame IF is generated and first transmitted to the
그리고 데이터의 1 차 전송이 완료되면, 다시 인터 프레임(IF)을 생성하여 리모콘으로 2 차 전송한 후(34), 데이터의 2차 전송시와 동일하게 헤더 영역(TH), 랜덤 코드 영역(TR), 키 데이터 영역(TD), 동기 카운터 코드 영역(TS), 및 체크섬영역(TC)으로 구성되는 데이터를 생성하고, 이를 리모콘으로 3 차 전송한 후(35), 본 발명의 리모콘의 데이터 송신 방법을 종료하여 준다. When the primary transmission of the data is completed, the inter frame IF is again generated and transmitted to the remote controller secondaryly (34), and then the header region TH and the random code region TR are the same as when the secondary transmission of the data is performed. ), Generate the data consisting of the key data area TD, the sync counter code area TS, and the checksum area TC, and transmit the data to the remote control three times (35), and then transmit the data of the remote control of the present invention. End the method.
이때의 인터 프레임은 데이터의 전송이 완료되었음을 통보함과 동시에 차후에 기전송된 데이터와 동일한 데이터가 다시 한번 더 전송됨을 알려주는 역할을 수행한다. At this time, the inter frame notifies that the data transmission is completed and at the same time serves to inform that the same data as the previously transmitted data is transmitted once again.
이와 같이 본 발명의 리모콘 시스템의 데이터 통신 방법의 경우, 리모콘은 데이터를 전송할 때 마다 동기 카운터 코드를 새로이 생성하고, 새로이 생성된 동기 카운터 코드를 이용하여 새로운 랜덤 코드를 생성(즉, 리모콘의 고유 아이디를 새로이 암호화)한다. As described above, in the data communication method of the remote controller system of the present invention, the remote controller generates a new sync counter code each time data is transmitted, and generates a new random code using the newly generated sync counter code (that is, the unique ID of the remote controller). New encryption).
그리고 리모콘 수신기는 리모콘으로부터 새로운 값을 가지는 동기 카운터 코드를 이용하여 1차 인증 작업을, 새로운 값을 가지는 랜덤 코드를이용하여 2 차 인증 작업을 각각 수행하여 준다. The remote control receiver performs a first authentication operation using a sync counter code having a new value from the remote control and a second authentication operation using a random code having a new value.
이에 리모콘 시스템의 데이터를 인증받지 못한 사용자 즉, 차량의 소유주 이외의 사람이 획득 및 복사하고, 이를 이용하여 특정 작업(차량의 문을 열거나, 시동을 거는 작업등)을 수행하고자 하더라도, 복사된 데이터의 동기 카운터 코드 및 랜덤 코드는 이미 사용할 수 없는 정보를 가지게 되어 무효한 데이터가 된다. Therefore, even if the user of the remote control system, other than the owner of the vehicle, acquires and copies the data of the remote control system and wants to perform a specific task (such as opening a vehicle door or starting a vehicle), the copied data is copied. The sync counter code and the random code of the data already have information which cannot be used, and become invalid data.
이에 본 발명의 리모콘 시스템의 데이터 통신 방법은 보다 안전한 데이터 통신을 지원하여 준다. Accordingly, the data communication method of the remote control system of the present invention supports more secure data communication.
또한 이상에서는 본 발명의 실시예로 리모콘과 리모콘 수신기로 구성되는 리모콘 시스템으로 한정하여 설명하였지만, 이는 바람직한 실시예일뿐, 데이터의 무단 사용을 방지하기 위한 통신 방법이 필요한 각종 리모콘 시스템이라면 상기의 방법을 채택하고 이용할 수 있음은 당연하다. In addition, the above-described embodiments of the present invention are limited to a remote control system including a remote control and a remote control receiver. However, this is only a preferred embodiment, and various remote control systems that require a communication method for preventing unauthorized use of data may be used. It is natural to adopt and use them.
상기에서는 본 발명의 바람직한 실시 예를 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.Although the above has been described with reference to a preferred embodiment of the present invention, those skilled in the art will be variously modified and changed within the scope of the invention without departing from the spirit and scope of the invention described in the claims below. I can understand that you can.
본 발명의 리모콘 시스템의 데이터 통신 방법은 리모콘 시스템의 데이터 통신 방법의 경우, 리모콘은 새로운 데이터를 전송할 때 마다 데이터의 동기 카운터 코드와 랜덤 코드를 변경하여 주고, 리모콘 수신기는 이에 따른 인증 작업을 수행하여 준다.In the data communication method of the remote control system of the present invention, in the case of the data communication method of the remote control system, the remote control changes the synchronization counter code and the random code of the data every time new data is transmitted, and the remote control receiver performs authentication accordingly. give.
따라서 본 발명의 리모콘 시스템의 데이터 통신 방법은 보다 안전한 데이터 통신을 지원하여 준다. Therefore, the data communication method of the remote control system of the present invention supports more secure data communication.
Claims (18)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020040070548A KR100630366B1 (en) | 2004-09-03 | 2004-09-03 | data communication method of remote system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020040070548A KR100630366B1 (en) | 2004-09-03 | 2004-09-03 | data communication method of remote system |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20060021699A true KR20060021699A (en) | 2006-03-08 |
KR100630366B1 KR100630366B1 (en) | 2006-09-29 |
Family
ID=37128483
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020040070548A KR100630366B1 (en) | 2004-09-03 | 2004-09-03 | data communication method of remote system |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100630366B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013112187A1 (en) * | 2012-01-27 | 2013-08-01 | Intuit Inc. | Secure peer discovery and authentication using a shared secret |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101532837B1 (en) * | 2013-09-10 | 2015-06-30 | 인천대학교 산학협력단 | Method and system for controling device using wireless communication |
-
2004
- 2004-09-03 KR KR1020040070548A patent/KR100630366B1/en not_active IP Right Cessation
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013112187A1 (en) * | 2012-01-27 | 2013-08-01 | Intuit Inc. | Secure peer discovery and authentication using a shared secret |
GB2512249A (en) * | 2012-01-27 | 2014-09-24 | Intuit Inc | Secure peer discovery and authentication using a shared secret |
GB2512249B (en) * | 2012-01-27 | 2020-04-29 | Intuit Inc | Secure peer discovery and authentication using a shared secret |
Also Published As
Publication number | Publication date |
---|---|
KR100630366B1 (en) | 2006-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5191610A (en) | Remote operating system having secure communication of encoded messages and automatic re-synchronization | |
US5144667A (en) | Method of secure remote access | |
US5978483A (en) | Securely encrypted remote keyless entry system | |
US7231041B2 (en) | Method, device, and system for secure motor vehicle remote keyless entry | |
JP4666943B2 (en) | ID tag, tag reader, ID tag security system, and ID tag transmission restoration method | |
JP2003318894A (en) | Method for processing authentication between pieces of apparatus using challenge and response system | |
JPH05336108A (en) | Radio communication system | |
JP5073307B2 (en) | Cryptographic data communication system | |
KR100630366B1 (en) | data communication method of remote system | |
JP4787434B2 (en) | ENCRYPTION METHOD, COMMUNICATION SYSTEM, DATA INPUT DEVICE | |
EP3556051B1 (en) | Apparatuses, system, and methods for controlling an actuator through a wireless communications system | |
JP2003512784A (en) | Video signal authentication system | |
JP2000022682A (en) | Receiver device, equipment and method for radio transmission | |
WO1998036527A1 (en) | Authentication system, authentication device, authentication data producing device, and authentication method | |
JP4985236B2 (en) | Error control device | |
KR102219618B1 (en) | One-way radio communication device for hacking repel and digital door lock included the device | |
KR100866848B1 (en) | Hiding method and apparatus for a message cipher communications on radio channel | |
RU2274899C2 (en) | Portable device and method for accessing device activated by key data | |
JP2001227217A (en) | Keyless entry system | |
JPH10190651A (en) | Remote control system | |
JP2003273864A (en) | Qualification authentication method | |
JP3015680U (en) | Cordless telephone with anti-theft function | |
JP2901902B2 (en) | Electronic lock device | |
JP4746296B2 (en) | Encryption key setting system, data communication apparatus, and encryption key setting method | |
JP4013993B2 (en) | Error control apparatus, error control method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20100928 Year of fee payment: 5 |
|
LAPS | Lapse due to unpaid annual fee |