KR20130085832A - System and method for firmware update of smart key - Google Patents

System and method for firmware update of smart key Download PDF

Info

Publication number
KR20130085832A
KR20130085832A KR1020120006931A KR20120006931A KR20130085832A KR 20130085832 A KR20130085832 A KR 20130085832A KR 1020120006931 A KR1020120006931 A KR 1020120006931A KR 20120006931 A KR20120006931 A KR 20120006931A KR 20130085832 A KR20130085832 A KR 20130085832A
Authority
KR
South Korea
Prior art keywords
smart key
firmware update
data
firmware
update
Prior art date
Application number
KR1020120006931A
Other languages
Korean (ko)
Other versions
KR101847824B1 (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 KR1020120006931A priority Critical patent/KR101847824B1/en
Publication of KR20130085832A publication Critical patent/KR20130085832A/en
Application granted granted Critical
Publication of KR101847824B1 publication Critical patent/KR101847824B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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/10Fittings or systems for preventing or indicating unauthorised use or theft of vehicles actuating a signalling device
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • H02J50/20Circuit arrangements or systems for wireless supply or distribution of electric power using microwaves or radio frequency waves
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Power Engineering (AREA)
  • Mechanical Engineering (AREA)
  • Stored Programmes (AREA)

Abstract

PURPOSE: A smart key firmware update system and a method thereof are provided to prevent damage of a firmware update file by external noise. CONSTITUTION: A smart key (10) inspects residual capacity of a battery according to an update start signal transmitted from a smart module. The smart key outputs a response signal according to the inspection result. A smart key module (20) forms wireless network with the smart key. The smart key module transmits firmware update data or a radio carrier signal selectively according to the response signal. [Reference numerals] (11,23) Control unit; (12) Memory; (13,21) Transceiving / Receiving unit RF / LF; (14) Operating power charging unit; (22) Memory unit; (24) Input unit; (AA) New firmware; (BB) Existing firmware; (CC) Update agent; (EE) Data transmission; (FF) Response; (GG) Update file

Description

스마트 키 펌웨어 업데이트 시스템 및 방법{SYSTEM AND METHOD FOR FIRMWARE UPDATE OF SMART KEY}Smart key firmware update system and method {SYSTEM AND METHOD FOR FIRMWARE UPDATE OF SMART KEY}

본 발명은 차량 스마트 키의 펌웨어를 무선으로 업데이트하기 위한 시스템 및 그 방법에 관한 것으로서, 더욱 상세하게는 펌웨어 데이터 전송 시, 데이터 손실을 방지할 수 있는 시스템 및 방법에 관한 것이다.The present invention relates to a system and a method for wirelessly updating firmware of a vehicle smart key, and more particularly, to a system and a method capable of preventing data loss during firmware data transmission.

스마트 키, 또는 이동 통신 단말과 같은 휴대 단말기의 운영체제(OS)는 일반적으로 펌웨어(Firmware)를 통해 운용된다. 펌웨어는 데이터나 정보를 변경할 필요가 없는 핵심적인 소프트웨어를 롬(ROM) 등에 저장하여 하드웨어처럼 사용되는 프로그램을 의미한다. 이러한 펌웨어는 휴대 단말기의 안정된 성능과 버그 수정을 위해 제품의 출시 이후에도 새로운 버전이 지속적으로 개발될 수 있다. 새로운 버전의 펌웨어가 개발될 경우, 휴대 단말기의 사용자는 휴대 단말기의 펌웨어를 갱신할 수 있다.An operating system (OS) of a portable terminal such as a smart key or a mobile communication terminal is generally operated through firmware. Firmware refers to a program used as hardware by storing essential software that does not need to change data or information. This firmware can be continuously developed even after the release of the product for stable performance and bug fixes of the mobile terminal. When a new version of firmware is developed, the user of the portable terminal can update the firmware of the portable terminal.

특히, 최근에는 무선을 이용한 펌웨어 갱신 방법이 주목 받고 있는데, 대표적인 예로 포타(FOTA) 서비스를 들 수 있다. 포타 서비스는 기존 펌웨어와 새로운 버전의 펌웨어를 비교하여 서로 다른 부분만을 추출한 업데이트 파일을 무선 망을 통해 제공함으로써, 펌웨어를 갱신할 수 있도록 해주는 서비스이다. 일반적으로 업데이트 파일을 단말기 내부의 업데이트 파일 저장영역에 다운로드 후 재부팅하고, 재부팅 시, 업데이트 에이전트(Update Agent)가 구동되어 펌웨어를 갱신하고 저장된 델타 파일을 삭제하는 과정으로 펌웨어 업데이트 과정이 이루어진다.In particular, recently, a firmware update method using wireless has attracted attention, and a representative example is a FOTA service. The Porta service compares the existing firmware with a new version of firmware and provides an update file extracted only from different parts through a wireless network to update the firmware. In general, a firmware update process is performed by downloading an update file into an update file storage area inside the terminal and rebooting, and upon rebooting, an update agent is started to update firmware and delete a stored delta file.

그러나 상기와 같은 일반적인 펌웨어 업데이트 과정은 이동통신 사업자의 무선 망을 이용하여 포타 서버에 접속하는 것을 전제로 하며, 업데이트 파일 전송 중에 노이즈에 의한 데이터 손실 발생 시, 펌웨어가 손상되어 시스템의 신뢰성이 저하될 우려가 있으며, 또한 펌웨어 업데이트 중, 휴대 단말의 전원 부족 발생 시, 펌웨어가 손상되어 시스템의 신뢰성이 저하될 우려가 있다.However, the general firmware update process as described above is based on the premise of accessing the porta server using a wireless network of the mobile communication service provider. When data loss occurs due to noise during transmission of an update file, the firmware is damaged and the reliability of the system may be degraded. In addition, when the power supply of the portable terminal is insufficient during the firmware update, the firmware may be damaged and the reliability of the system may be degraded.

본 발명은 상술한 문제점을 해결하기 위하여, 외부 노이즈 등에 의해 펌웨어 업데이트 파일의 손상을 방지할 수 있는 업데이트 시스템 및 방법을 제공하는 것을 목적으로 한다.An object of the present invention is to provide an update system and method capable of preventing damage to a firmware update file due to external noise or the like, in order to solve the above-mentioned problem.

본 발명의 다른 목적은 펌웨어 업데이트 중, 전원 부족 시, 발생되는 펌웨어 손상을 방지하기 위하여, 업데이트에 필요한 전원을 자동으로 충전할 수 있는 업데이트 시스템 및 방법을 제공하는 것이다.Another object of the present invention is to provide an update system and method that can automatically charge the power required for the update, in order to prevent the firmware damage that occurs when the power supply is insufficient during the firmware update.

본 발명의 목적은 이상에서 언급한 목적으로 제한되지 않으며, 언급되지 않은 또 다른 목적들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.The objects of the present invention are not limited to the above-mentioned objects, and other objects not mentioned can be clearly understood by those skilled in the art from the following description.

전술한 목적을 달성하기 위한 본 발명의 일 면에 따른 스마트 키 펌웨어 업데이트 시스템은 스마트 모듈로부터 전송된 업데이트 시작 신호에 따라 배터리 잔여 용량을 검사하고, 그 결과에 따른 응답 신호를 출력하는 스마트 키, 상기 스마트 키와 무선 네트워크를 형성하여, 상기 응답 신호에 따라 선택적으로 펌웨어 업데이트 데이터 또는 무선 캐리어(Carrier) 신호를 전송하는 스마트 키 모듈을 포함한다.Smart key firmware update system according to an aspect of the present invention for achieving the above object is a smart key for checking the remaining battery capacity according to the update start signal transmitted from the smart module, and outputs a response signal according to the result, And a smart key module that forms a wireless network with a smart key and selectively transmits firmware update data or a wireless carrier signal according to the response signal.

여기서, 스마트 키 모듈은 상기 응답 신호가 상기 배터리 잔여 용량이 펌웨어 업데이트에 필요한 동작 전원에 미치지 못한다는 정보를 포함하는 경우, 상기 스마트 키의 전원 보충을 위한 무선 캐리어 신호를 전송하고, 상기 응답 신호가 상기 배터리 잔여 용량이 펌웨어 업데이트에 필요한 동작 전원을 상회한다는 정보를 포함하는 경우, 상기 펌웨어 업데이트 데이터를 상기 스마트 키로 전송하는 것을 특징으로 한다.Here, when the response signal includes information that the remaining battery capacity does not reach the operating power required for the firmware update, the smart key module transmits a wireless carrier signal for power supply of the smart key, and the response signal is When the battery remaining capacity includes information that exceeds the operating power required for the firmware update, the firmware update data is transmitted to the smart key.

또한, 스마트 키 모듈은 상기 펌웨어 업데이트 데이터를 기 설정된 단위 사이즈를 가지는 제1 단위 및 제2 단위 데이터로 분할하고, 상기 제1 단위 데이터를 기 설정된 횟수만큼 반복하여 전송한 후, 순차적으로 상기 제2 단위 데이터를 기 설정된 횟수만큼 반복하여 전송한다.The smart key module divides the firmware update data into first unit and second unit data having a predetermined unit size, repeatedly transmits the first unit data a predetermined number of times, and then sequentially stores the second unit data. The unit data is repeatedly transmitted a predetermined number of times.

이 때, 스마트 키는 반복적으로 전송되는 상기 제1 단위 데이터 각각에 대한 전송 오류 검사를 수행하고, 그 결과 정상으로 수신된 경우, 정상 수신 여부에 관한 응답 신호를 상기 스마트 키 모듈로 전송하고, 상기 스마트 키 모듈은 상기 정상 수신 여부에 관한 응답 신호를 수신한 경우, 상기 제1 단위 데이터에 대한 반복 전송을 중단하고, 상기 제2 단위 데이터 전송을 시작한다. At this time, the smart key performs a transmission error check on each of the repeatedly transmitted first unit data, and if it is normally received, transmits a response signal indicating whether the reception is normal to the smart key module. When the smart key module receives the response signal regarding whether the normal reception is received, the smart key module stops the repeated transmission of the first unit data and starts the second unit data transmission.

상술한 바와 같이 본 발명에 따르면, 스마트 키의 펌웨어 버그 수정 및 성능 향상을 위한 신규 펌웨어 발생 시, 사용자가 간단한 동작을 통해 무선으로 업데이트를 할 수 있다.As described above, according to the present invention, when a new firmware is generated for firmware bug fix and performance improvement of a smart key, the user can update the data wirelessly through a simple operation.

또한, 펌웨어 업데이트 시, 스마트 키에 필요한 동작 전압을 무선으로 충전함으로써, 스마트 키의 전원 부족 발생 시, 펌웨어가 손상되어 시스템의 신뢰성이 저하되는 것을 방지할 수 있다.In addition, by wirelessly charging the operating voltage required for the smart key during the firmware update, when the power supply of the smart key is insufficient, the firmware may be damaged and the reliability of the system may be prevented.

또한, 펌웨어 업데이트 시, 외부 노이즈에 의한 데이터 손실을 보정할 수 있는 이점도 있다.In addition, there is an advantage in that data loss caused by external noise can be corrected during firmware update.

도 1은 본 발명의 일 실시예에 따른 스마트 키 펌웨어 업데이트 시스템의 구성을 도시한 개략도.
도 2는 도 1의 시스템의 구체적인 구성을 도시한 블록도.
도 3은 펌웨어 업데이트 파일의 전송규약의 일 예를 도시한 예시도.
도 4는 본 발명의 다른 실시예에 따른 스마트 키 펌웨어 업데이트 방법을 도시한 순서도.
1 is a schematic diagram illustrating a configuration of a smart key firmware update system according to an embodiment of the present invention.
2 is a block diagram showing a specific configuration of the system of FIG.
3 is an exemplary diagram illustrating an example of a transfer protocol of a firmware update file.
Figure 4 is a flow chart illustrating a smart key firmware update method according to another embodiment of the present invention.

본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 것이며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하며, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 한편, 본 명세서에서 사용된 용어는 실시예들을 설명하기 위한 것이며 본 발명을 제한하고자 하는 것은 아니다. 본 명세서에서, 단수형은 문구에서 특별히 언급하지 않는 한 복수형도 포함한다.Advantages and features of the present invention and methods for achieving them will be apparent with reference to the embodiments described below in detail with the accompanying drawings. The present invention may, however, be embodied in many different forms and should not be construed as being limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. Is provided to fully convey the scope of the invention to those skilled in the art, and the invention is only defined by the scope of the claims. It is to be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. In the present specification, the singular form includes plural forms unless otherwise specified in the specification.

이하, 본 발명의 바람직한 실시예를 첨부된 도면들을 참조하여 상세히 설명한다. 우선 각 도면의 구성요소들에 참조부호를 부가함에 있어서, 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. 또한 본 발명을 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the drawings, the same reference numerals are used to designate the same or similar components throughout the drawings. In the following description of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear.

이하, 도 1 및 도 4를 참조하여, 본 발명의 실시예에 따른 스마트 키 펌웨어 업데이트 방법을 설명한다. 도 1은 본 발명의 일 실시예에 따른 스마트 키 펌웨어 업데이트 시스템의 구성을 도시한 개략도이고, 도 4는 본 발명의 다른 실시예에 따른 스마트 키 펌웨어 업데이트 방법을 도시한 순서도이다.Hereinafter, a smart key firmware update method according to an embodiment of the present invention will be described with reference to FIGS. 1 and 4. 1 is a schematic diagram showing the configuration of a smart key firmware update system according to an embodiment of the present invention, Figure 4 is a flow chart showing a smart key firmware update method according to another embodiment of the present invention.

도 1에 도시된 바와 같이, 본 발명의 일 실시예에 따른 스마트 키 펌웨어 업데이트 시스템은 스마트 키(10)와, 스마트 키 모듈(20)을 포함하여 구성된다. 스마트 키(10)는 전자 열쇠(key fob)라고 일컬어지며, 인증 메커니즘이 내장된 일종의 하드웨어 보안 토큰으로 볼 수 있다. 가정이나 차량의 열쇠 기능과 같이 스마트 키(10)는 네트워크 서비스와 정보 접근을 제어하는 역할을 한다.As shown in FIG. 1, the smart key firmware update system according to an embodiment of the present invention includes a smart key 10 and a smart key module 20. The smart key 10 is referred to as a key fob and can be viewed as a kind of hardware security token with a built-in authentication mechanism. Like a key function of a home or a vehicle, the smart key 10 controls network services and information access.

본 실시예에서 스마트 키(10)는 차량에 탑재된 스마트 키 모듈(20)과 무선 네트워크 망을 형성하여, 스마트 키 모듈(20)에서 직접적으로 펌웨어 업데이트 파일을 전송 받을 수 있다. 사용자는 스마트 키의 판매회사(자동차 회사 등)의 인터넷 웹사이트에 접속하여 스마트 키 펌웨어 최신 업데이트 파일을 별도의 저장 매체, 예를 들어 USB 등에 다운로드 한다. 다운로드한 업데이트 파일을 자동차 내부의 임의의 데이터 저장장소, 예를 들어 AVN 내부의 플래시메모리 영역에 저장한다.In this embodiment, the smart key 10 forms a wireless network with the smart key module 20 mounted on the vehicle, so that the firmware update file can be directly transmitted from the smart key module 20. The user accesses the Internet website of the smart key sales company (such as an automobile company) and downloads the latest update file of the smart key firmware to a separate storage medium, for example, USB. The downloaded update file is stored in an arbitrary data storage location inside the vehicle, for example, a flash memory area inside the AVN.

사용자는 스마트 키 모듈(20)에 장착된 임의의 버튼(업데이트 버튼)을 조작하여, 임의의 데이터 저장장소에 저장된 펌웨어 업데이트 데이터의 무선 전송을 시작한다. 이 때, 스마트 키 모듈(20)에서는 도 4에 도시된 바와 같이, 스마트 키(10)로 업데이트 시작 신호를 전송하고(S410), 이에 따라 스마트 키(10)는 배터리 잔여 용량을 검사하고(S420), 그 결과에 따른 응답 신호를 출력한다(S431, S432).The user operates any button (update button) mounted on the smart key module 20 to start wireless transmission of firmware update data stored in any data storage. In this case, as shown in FIG. 4, the smart key module 20 transmits an update start signal to the smart key 10 (S410). Accordingly, the smart key 10 checks the remaining battery capacity (S420). ), And outputs a response signal according to the result (S431, S432).

상기 응답 신호는 상기 배터리 잔여 용량이 펌웨어 업데이트에 필요한 동작 전원에 미치지 못한다는 정보일 수 있고, 또는 상기 응답 신호가 상기 배터리 잔여 용량이 펌웨어 업데이트에 필요한 동작 전원을 상회한다는 정보를 포함하는 경우 도 있다. The response signal may be information that the remaining battery capacity does not reach the operating power required for the firmware update, or the response signal may include information indicating that the remaining battery capacity exceeds the operating power required for the firmware update. .

스마트 키 모듈(20)은 스마트 키(10)와 무선 네트워크를 형성하여, 상기 응답 신호에 따라 선택적으로 펌웨어 업데이트 데이터 또는 무선 캐리어(Carrier) 신호를 스마트 키(10)로 전송한다. 구체적으로, 상기 응답 신호가 상기 배터리 잔여 용량이 펌웨어 업데이트에 필요한 동작 전원에 미치지 못한다는 정보를 포함하는 경우(S431), 스마트 키 모듈(20)은 스마트 키의 전원 보충을 위한 무선 캐리어 신호를 전송하고(S440), 이와 반대인 경우(S432)에는 펌웨어 업데이트 데이터를 스마트 키(10)로 전송한다. The smart key module 20 forms a wireless network with the smart key 10 and selectively transmits firmware update data or a wireless carrier signal to the smart key 10 according to the response signal. Specifically, when the response signal includes information that the remaining battery capacity does not reach the operating power required for the firmware update (S431), the smart key module 20 transmits a wireless carrier signal for replenishing the power of the smart key. (S440), and in the opposite case (S432), the firmware update data is transmitted to the smart key 10.

스마트 키 모듈(20)과 스마트 키(10) 간의 무선 네트워크를 이용하여 업데이트 데이터를 전송 시, 스마트 키(10)의 전원이 부족하게 되면 펌웨어가 손상되어 시스템의 신뢰성이 저하될 우려가 발생할 수도 있는데, 본 발명은 이와 같은 문제점을 해결하고자 펌웨어 업데이트 데이터를 전송하기 전, 스마트 키(10)의 배터리 잔여 용량 검사를 먼저 수행한 후, 잔여 용량이 펌웨어 업데이트에 필요한 동작 전원을 상회하는 경우에만 업데이트 데이터를 전송하고, 그렇지 않은 경우에는 무선 캐리어를 전송함으로써, 스마트 키(10)의 배터리를 충전시킬 수 있는 방법을 제공하는 것을 특징으로 한다.When transmitting update data using a wireless network between the smart key module 20 and the smart key 10, if the power of the smart key 10 is insufficient, the firmware may be damaged and the reliability of the system may be deteriorated. In order to solve this problem, the present invention performs the battery remaining capacity check of the smart key 10 before transmitting the firmware update data, and then updates only when the remaining capacity exceeds the operating power required for the firmware update. It is characterized in that it provides a method for charging the battery of the smart key 10, by transmitting the wireless carrier, if not.

한편, 스마트 키 모듈(20)에서 업데이트 데이터 전송 중에 노이즈에 의한 데이터 손실이 발생하는 경우, 펌웨어가 손상되어 시스템 신뢰성이 저하될 우려가 있는데, 이와 같은 문제점을 해결하기 위해, 본 발명은 업데이트 파일을 분할하여 전송하는 방법을 제공한다. On the other hand, when the data loss due to noise occurs during the update data transmission in the smart key module 20, there is a risk that the firmware is damaged and the system reliability is lowered. To solve such a problem, the present invention provides an update file It provides a method of dividing and transmitting.

상술한 바와 같이, 배터리 잔여 용량이 펌웨어 업데이트에 필요한 동작 전원을 상회하는 경우에만 업데이트 데이터가 전송되는데, 이 때 스마트 키 모듈(20)은 펌웨어 업데이트 데이터를 기 설정된 단위 사이즈를 가지는 제1 단위 및 제2 단위 데이터로 분할하고(S450), 상기 제1 단위 데이터를 기 설정된 횟수만큼 반복하여 전송한 후, 순차적으로 상기 제2 단위 데이터를 기 설정된 횟수만큼 반복하여 전송한다(S460).As described above, the update data is transmitted only when the remaining battery capacity exceeds the operating power required for the firmware update. At this time, the smart key module 20 stores the firmware update data in the first unit and the first unit having the preset unit size. After dividing the data into two unit data (S450) and repeatedly transmitting the first unit data by a predetermined number of times, the second unit data is repeatedly transmitted by the preset number of times (S460).

예를 들어, 업데이트할 펌웨어 데이터를 32Byte로 분할하고, 전송 시 발생 가능한 외부 노이즈에 의한 데이터 손실을 보정하기 위해, 분할된 데이터를 10회만큼 반복하여 전송한다. 예를 들어, 전송할 펌웨어 업데이트 데이터의 사이즈가 100Kbyte일 경우, 32Byte씩 분할하면, 3125개의 제1 단위 및 제2 단위 데이터로 나뉘게 되고, 각 단위 데이터를 10회씩 반복하여 전송하여야 하므로, 총 데이터 전송횟수는 31250회가 된다.For example, the firmware data to be updated is divided into 32 bytes, and in order to compensate for data loss due to external noise that may occur during transmission, the divided data is repeatedly transmitted 10 times. For example, if the size of the firmware update data to be transmitted is 100 Kbytes, if the data is divided into 32 bytes, the data is divided into 3125 first and second unit data, and each unit data needs to be repeatedly transmitted 10 times. Is 31250 times.

전송되는 각 단위 데이터(제1 단위 및 제2 단위 데이터로 표현 함)는 도 3에 도시된 바와 같은 전송 규약을 갖는다. 도시된 바와 같이, 각 단위 데이터는 헤더 영역과 프레임 영역으로 구성된다. 헤더 영역은 최초 1Byte의 메모리를 사용하며, 전송되는 업데이트 데이터의 순서에 관한 정보를 포함한다. 즉, 3125개의 단위 데이터 각각에 대한 전송 순서에 관한 정보를 포함한다. 프레임 영역에는 펌웨어 업데이트 데이터의 분할된 부분에 관한 정보를 포함한다.Each unit data to be transmitted (represented by the first unit and the second unit data) has a transmission protocol as shown in FIG. 3. As shown, each unit data is composed of a header area and a frame area. The header area uses the first 1 byte of memory and contains information about the order of update data transmitted. That is, information about the transmission order for each of the 3125 unit data is included. The frame area includes information about the divided portion of the firmware update data.

스마트 키(10)는 순차적으로 전송되는 각 단위 데이터를 수신하고, 이에 대한 오류 검사를 수행한다(S470). 구체적으로, 각 단위 데이터는 헤더 영역에 포함된 전송 순서에 관한 정보에 따라 순차적으로 전송되고, 해당 단위 데이터는 반복적으로 전송된다. 예를 들어, 첫째 전송 순서를 가지는 단위 데이터를 제1 단위 데이터로 하고, 그 이후의 전송 순서를 가지는 단위 데이터를 제2 단위 데이터라고 한다면, 제1 단위 데이터에 대한 전송이 먼저 이루어지고, 스마트 키(10)는 수신한 제1 단위 데이터에 오류가 있는지 여부를 검사한다.The smart key 10 receives unit data sequentially transmitted, and performs an error check (S470). Specifically, each unit data is sequentially transmitted according to the information about the transmission order included in the header area, and the corresponding unit data is repeatedly transmitted. For example, if the unit data having the first transmission order is referred to as the first unit data and the unit data having the subsequent transmission order is referred to as the second unit data, the first unit data is transmitted first, and the smart key 10 checks whether there is an error in the received first unit data.

검사 결과, 전송 오류가 있는 경우에는 이와 관련된 정보가 스마트 키 모듈(20)로 전송되고, 스마트 키 모듈(20)에서 제1 단위 데이터는 다시 전송된다. 각 단위 데이터의 전송 횟수는 기 정의되지만(예를 들어, 10회 전송), 전송된 단위 데이터가 정상인 것으로 판단된 경우에는 재전송은 중단된다.As a result of the inspection, when there is a transmission error, information related to this is transmitted to the smart key module 20, and the first unit data is transmitted again in the smart key module 20. Although the number of transmissions of each unit data is predefined (for example, 10 transmissions), when it is determined that the transmitted unit data is normal, retransmission is stopped.

예를 들어, 스마트 키(10)에서 수신된 제1 단위 데이터의 오류 검사 결과, 정상인 것으로 판단되며, 정상 수신 여부에 관한 응답 신호를 스마트 키 모듈(20)로 전송하고, 스마트 키 모듈(20)은 제1 단위 데이터에 대한 반복 전송을 중단하고, 상기 제2 단위 데이터 전송을 시작한다.For example, as a result of the error checking of the first unit data received from the smart key 10, it is determined that it is normal, and transmits a response signal regarding whether the reception is normal to the smart key module 20, and the smart key module 20. Stops the repeated transmission of the first unit data and starts the second unit data transmission.

한편, 오류 검사 결과, 정상인 것으로 판단된 단위 데이터는 스마트 키(10)에 누적되어 저장되며(S480), 분할된 모든 단위 데이터를 수신할 때까지 상술한 데이터 무선 전송은 반복적으로 수행된다(S490). 최종 단위 데이터의 수신을 완료한 스마트 키(10)는 자동으로 재부팅되고, 이때 내부 메모리의 신규 펌웨어 영역에 저장된 펌웨어 업데이트 파일로 업데이트가 실시된다(S491).Meanwhile, as a result of the error check, the unit data determined to be normal is accumulated and stored in the smart key 10 (S480), and the above-described data radio transmission is repeatedly performed until all the divided unit data are received (S490). . The smart key 10 which has completed the reception of the last unit data is automatically rebooted, and at this time, the update is performed with the firmware update file stored in the new firmware area of the internal memory (S491).

이하, 상술한 업데이트 방법이 구현되는 스마트 키 펌웨어 업데이트 시스템의 구체적인 구성을 도 2를 참조하여 설명한다. 도 2는 도 1의 시스템의 구체적인 구성을 도시한 블록도이다.Hereinafter, a detailed configuration of the smart key firmware update system implementing the above-described update method will be described with reference to FIG. 2. 2 is a block diagram showing a specific configuration of the system of FIG.

도시된 바와 같이, 스마트 키(10)는 제어부(11), 메모리부(12), 송/수신부(13), 동작전원 충전부(14)로 구성된다.As shown, the smart key 10 is composed of a control unit 11, a memory unit 12, a transmission / reception unit 13, the operating power charging unit 14.

메모리부(12)는 펌웨어를 저장하며, 펌웨어가 설치되는 영역을 제공한다. 구체적으로 기존 펌웨어가 설치되어 있는 영역과, 펌웨어 업데이트 데이터가 저장되는 신규 펌웨어 저장 영역으로 구성되며, 펌웨어 업데이트 데이터를 이용하여 신규 펌웨어를 설치하기 위한 업데이트 에이전트가 설치되어 있다.The memory unit 12 stores the firmware and provides an area in which the firmware is installed. In more detail, it is composed of an area in which existing firmware is installed and a new firmware storage area in which firmware update data is stored, and an update agent for installing new firmware using firmware update data is installed.

송/수신부(13)는 스마트 키 모듈(20)과 무선으로 데이터를 송수신하기 위한 네트워크 망 수단을 제공하고, 스마트 키 모듈(20)에서 전송되는 펌웨어 업데이트 시작 신호를 수신하여 제어부(11)로 전송한다.The transmitter / receiver 13 provides a network means for wirelessly transmitting and receiving data with the smart key module 20, receives a firmware update start signal transmitted from the smart key module 20, and transmits the signal to the controller 11. do.

제어부(11)는 수신된 펌웨어 업데이트 시작 신호를 트리거 신호로 하여, 배터리 잔여 용량을 검사하고, 검사 결과에 따른 응답 신호를 송/수신부(13)를 통해 스마트 키 모듈(20)로 전송한다. 상기 응답 신호가 포함하는 정보에 따라 스마트 키 모듈(20)이 수행하는 기능은 달라지게 된다. 이는 펌웨어 업데이트 데이터 전송과 무선 충전을 위한 캐리어 신호 전송으로 나뉠 수 있는데, 앞에서 구체적으로 설명하였으므로, 이에 대한 설명은 생략하도록 한다. The control unit 11 uses the received firmware update start signal as a trigger signal, inspects the remaining battery capacity, and transmits a response signal according to the test result to the smart key module 20 through the transmission / reception unit 13. The function performed by the smart key module 20 is changed according to the information included in the response signal. This may be divided into a firmware update data transmission and a carrier signal transmission for wireless charging. As described above, the description thereof will be omitted.

동작 전원 충전부(14)는 스마트 키 모듈(20)에서 전송되는 캐리어 신호를 이용하여 배터리 전원을 충전한다. 예를 들어, 동작 전원 충전부(14)는 복수의 커패시터를 가지는 회로 구성을 가질 수 있으며, 전송되는 캐리어 신호에 의해 커패시터는 충전되어, 펌웨어 업데이트를 실시할 때 필요한 전원 보충용으로 사용된다.The operation power charging unit 14 charges the battery power by using a carrier signal transmitted from the smart key module 20. For example, the operation power supply charging unit 14 may have a circuit configuration having a plurality of capacitors, and the capacitors are charged by the carrier signal transmitted, and are used for supplementing power required when performing a firmware update.

한편, 스마트 키 모듈(20)은 송/수신부(21), 메모리부(22), 제어부(23), 입력부(24)를 포함하여 구성된다.Meanwhile, the smart key module 20 includes a transmitter / receiver 21, a memory 22, a controller 23, and an input 24.

입력부(24)는 펌웨어 업데이트 시작 신호를 전송하기 위한 사용자 입력을 받기 위한 인터페이스를 제공한다. 입력부(24)는 버튼 형식일 수 있고, 사용자가 버튼을 조작하면, 제어부(23)는 이를 인식하여 송/수신부(21)를 통해 업데이트 시작 신호를 스마트 키(10)로 전송한다.The input unit 24 provides an interface for receiving a user input for transmitting a firmware update start signal. The input unit 24 may be in the form of a button, and when the user manipulates the button, the controller 23 recognizes this and transmits an update start signal to the smart key 10 through the transmitter / receiver 21.

제어부(23)는 펌웨어 업데이트 데이터 전송을 위한 전반적인 제어를 수행한다. 구체적으로, 제어부(23)는 메모리부(22)에 저장된 업데이트 데이터를 기 설정된 임의의 단위로 분할하고, 전송 순서에 따라 해당 단위 데이터를 순차적으로 스마트 키(10)로 전송한다. The controller 23 performs overall control for firmware update data transmission. Specifically, the controller 23 divides the update data stored in the memory unit 22 into a predetermined unit, and sequentially transmits the unit data to the smart key 10 according to the transmission order.

본 발명이 속하는 기술분야의 통상의 지식을 가진 자는 본 발명이 그 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다. 본 발명의 보호범위는 상기 상세한 설명보다는 후술하는 특허청구범위에 의하여 나타내어지며, 특허청구의 범위 그리고 그 균등 개념으로부터 도출되는 모든 변경 또는 변형된 형태가 본 발명의 범위에 포함되는 것으로 해석되어야 한다.
It will be understood by those skilled in the art that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. It is therefore to be understood that the above-described embodiments are illustrative in all aspects and not restrictive. The scope of the present invention is defined by the appended claims rather than the detailed description, and all changes or modifications derived from the scope of the claims and their equivalents should be construed as being included within the scope of the present invention.

Claims (8)

스마트 모듈로부터 전송된 업데이트 시작 신호에 따라 배터리 잔여 용량을 검사하고, 그 결과에 따른 응답 신호를 출력하는 스마트 키;
상기 스마트 키와 무선 네트워크를 형성하여, 상기 응답 신호에 따라 선택적으로 펌웨어 업데이트 데이터 또는 무선 캐리어(Carrier) 신호를 전송하는 스마트 키 모듈
을 포함하는 스마트 키 펌웨어 업데이트 시스템.
A smart key for checking a battery remaining capacity according to the update start signal transmitted from the smart module and outputting a response signal according to the result;
The smart key module forms a wireless network with the smart key and selectively transmits firmware update data or a wireless carrier signal according to the response signal.
Smart key firmware update system comprising a.
제1항에 있어서, 상기 스마트 키 모듈은,
상기 응답 신호가 상기 배터리 잔여 용량이 펌웨어 업데이트에 필요한 동작 전원에 미치지 못한다는 정보를 포함하는 경우, 상기 스마트 키의 전원 보충을 위한 무선 캐리어 신호를 전송하는 것
인 스마트 키 펌웨어 업데이트 시스템.
The method of claim 1, wherein the smart key module,
If the response signal includes information that the remaining battery capacity does not reach the operating power required for the firmware update, transmitting a wireless carrier signal for power replenishment of the smart key
Smart key firmware update system.
제1항에 있어서, 상기 스마트 키 모듈은,
상기 응답 신호가 상기 배터리 잔여 용량이 펌웨어 업데이트에 필요한 동작 전원을 상회한다는 정보를 포함하는 경우, 상기 펌웨어 업데이트 데이터를 상기 스마트 키로 전송하는 것
인 스마트 키 펌웨어 업데이트 시스템.
The method of claim 1, wherein the smart key module,
Transmitting the firmware update data to the smart key if the response signal includes information that the remaining battery capacity exceeds the operating power required for the firmware update.
Smart key firmware update system.
제3항에 있어서, 상기 스마트 키 모듈은,
상기 펌웨어 업데이트 데이터를 기 설정된 단위 사이즈를 가지는 제1 단위 및 제2 단위 데이터로 분할하고, 상기 제1 단위 데이터를 기 설정된 횟수만큼 반복하여 전송한 후, 순차적으로 상기 제2 단위 데이터를 기 설정된 횟수만큼 반복하여 전송하는 것
인 스마트 키 펌웨어 업데이트 시스템.
The method of claim 3, wherein the smart key module,
The firmware update data is divided into first unit and second unit data having a preset unit size, the first unit data is repeatedly transmitted for a preset number of times, and the second unit data is sequentially set. Transmitting repeatedly
Smart key firmware update system.
제3항에 있어서, 상기 스마트 키는,
반복적으로 전송되는 상기 제1 단위 데이터 각각에 대한 전송 오류 검사를 수행하고, 그 결과 정상으로 수신된 경우, 정상 수신 여부에 관한 응답 신호를 상기 스마트 키 모듈로 전송하는 것이고,
상기 스마트 키 모듈은 상기 정상 수신 여부에 관한 응답 신호를 수신한 경우, 상기 제1 단위 데이터에 대한 반복 전송을 중단하고, 상기 제2 단위 데이터 전송을 시작하는 것
인 스마트 키 펌웨어 업데이트 시스템.
The method of claim 3, wherein the smart key,
A transmission error check is performed on each of the first unit data repeatedly transmitted, and as a result, when a normal reception is received, a response signal indicating whether the reception is normal is transmitted to the smart key module;
When the smart key module receives the response signal indicating whether the normal reception is received, the smart key module stops the repeated transmission of the first unit data and starts the second unit data transmission.
Smart key firmware update system.
스마트 키와 상기 스마트 키의 펌웨어를 무선으로 업데이트 하기 위한 스마트 키 모듈을 포함하는 스마트 키 펌웨어 업데이트 시스템이 수행하는 업데이트 방법에 있어서,
상기 스마트 키 모듈이 펌웨어 업데이트 시작신호를 상기 스마트 키로 전송하는 단계;
상기 펌웨어 업데이트 시작신호를 트리거 신호로 하여, 상기 스마트 키가 배터리 잔여 용량을 검사하여 업데이트 동작 전원을 만족하는지 여부를 판단하는 단계; 및
판단 결과, 상기 배터리 잔여 용량이 펌웨어 업데이트에 필요한 동작 전원에 미치지 못한 경우, 상기 스마트 키 모듈이 상기 스마트 키의 전원 보충을 위한 무선 캐리어 신호를 상기 스마트 키로 전송하는 단계
를 포함하는 스마트 키 펌웨어 업데이트 방법.
An update method performed by a smart key firmware update system including a smart key and a smart key module for wirelessly updating firmware of the smart key.
Transmitting, by the smart key module, a firmware update start signal to the smart key;
Using the firmware update start signal as a trigger signal, determining whether the smart key satisfies an update operation power supply by checking a battery remaining capacity; And
As a result of the determination, when the remaining battery capacity does not reach the operating power required for the firmware update, the smart key module transmitting a wireless carrier signal to the smart key to replenish the power of the smart key;
Smart key firmware update method comprising a.
제6항에 있어서,
판단 결과, 상기 배터리 잔여 용량이 펌웨어 업데이트에 필요한 동작 전원을 상회하는 경우, 상기 스마트 키 모듈이 상기 펌웨어 업데이트 데이터를 상기 스마트 키로 전송하는 단계를 더 포함하되,
상기 업데이트 데이터를 전송하는 단계는,
상기 펌웨어 업데이트 데이터를 기 설정된 단위 사이즈를 가지는 제1 단위 및 제2 단위 데이터로 분할하는 단계; 및
상기 제1 단위 데이터 및 상기 제2 단위 데이터를 순차적으로 기 설정된 횟수만큼 반복하여 전송하는 단계를 포함하는 것
인 스마트 키 펌웨어 업데이트 방법.
The method according to claim 6,
If the remaining battery capacity exceeds the operating power required for the firmware update, the smart key module further comprises the step of transmitting the firmware update data to the smart key,
The transmitting of the update data may include:
Dividing the firmware update data into first and second unit data having a preset unit size; And
And repeatedly transmitting the first unit data and the second unit data sequentially a predetermined number of times.
Smart key firmware update method.
제7항에 있어서, 상기 반복하여 전송하는 단계는,
상기 스마트 키가 반복적으로 전송되는 상기 제1 단위 데이터 각각에 대한 전송 오류 검사를 수행하고, 그 결과 정상으로 수신된 경우, 정상 수신 여부에 관한 응답 신호를 전송 받는 단계; 및
상기 정상 수신 여부에 관한 응답 신호를 수신한 경우, 상기 제1 단위 데이터에 대한 반복 전송을 중단하고, 상기 제2 단위 데이터 전송을 시작하는 단계를 포함하는 것
인 스마트 키 펌웨어 업데이트 방법.
The method of claim 7, wherein the step of transmitting repeatedly,
Performing a transmission error check on each of the first unit data for which the smart key is repeatedly transmitted, and if it is normally received, receiving a response signal regarding whether the smart key is received normally; And
Stopping the repetitive transmission of the first unit data and starting the second unit data transmission when receiving the response signal regarding whether the normal reception is received.
Smart key firmware update method.
KR1020120006931A 2012-01-20 2012-01-20 System and method for firmware update of smart key KR101847824B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020120006931A KR101847824B1 (en) 2012-01-20 2012-01-20 System and method for firmware update of smart key

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020120006931A KR101847824B1 (en) 2012-01-20 2012-01-20 System and method for firmware update of smart key

Publications (2)

Publication Number Publication Date
KR20130085832A true KR20130085832A (en) 2013-07-30
KR101847824B1 KR101847824B1 (en) 2018-04-11

Family

ID=48995916

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120006931A KR101847824B1 (en) 2012-01-20 2012-01-20 System and method for firmware update of smart key

Country Status (1)

Country Link
KR (1) KR101847824B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150146327A (en) 2014-06-23 2015-12-31 에스케이플래닛 주식회사 Wireless charging equipment, terminal, service providing device, wireless charging system comprising the same, control method thereof and computer readable medium having computer program recorded therefor

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3772863A1 (en) * 2019-08-06 2021-02-10 Continental Automotive GmbH Electronic key and method for wireless flashing of an electronic key

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5410892B2 (en) * 2009-09-09 2014-02-05 株式会社東海理化電機製作所 Electronic key system and power supply method for electronic key

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150146327A (en) 2014-06-23 2015-12-31 에스케이플래닛 주식회사 Wireless charging equipment, terminal, service providing device, wireless charging system comprising the same, control method thereof and computer readable medium having computer program recorded therefor

Also Published As

Publication number Publication date
KR101847824B1 (en) 2018-04-11

Similar Documents

Publication Publication Date Title
CN110621011B (en) OTA firmware upgrading method and system based on Bluetooth device side
CN110460573B (en) ECU security upgrade management system and method applied to automobile
US9841970B2 (en) Vehicle control update methods and systems
US20140282467A1 (en) Method and Apparatus for Multiple Vehicle Software Module Reflash
US20150230044A1 (en) Updating vehicle software using a smartphone
CN110659046B (en) Firmware upgrading method, terminal, charging box, earphone and storage medium
CN110225487A (en) Profile generation, acquisition methods and relevant device and storage medium
CN110377307A (en) A kind of car body controller firmware upgrade method, terminal, system
CN106201586B (en) System upgrading method, terminal and system based on OTA
US20160306624A1 (en) Vehicle control storage methods and systems
US20120167071A1 (en) Software update apparatus and method of vehicle
KR101007739B1 (en) Method and system for providing fota service
KR101541112B1 (en) FOTA system and the method
CN111886576A (en) Method and apparatus for updating remote network device
CN101958933A (en) Method and device for upgrading terminal software
CN106484450A (en) A kind of method for upgrading software and device
US20130152069A1 (en) Method, apparatus and system for initiating terminal operation
CN111614765A (en) Vehicle OTA (over the air) upgrading method and system
CN103810004A (en) Method and device for upgrading embedded system as well as equipment
CN104317564A (en) Method and device for updating feature phone software
CN103916846A (en) Terminal application updating method, system and device
CN112416411B (en) Upgrading method and device, equipment end, server and computer readable medium
CN104965747A (en) Method and device for upgrading software
US20240211242A1 (en) Apparatus and method for optimally updating vehicle controller
CN104991796B (en) A kind of method and device continuously upgraded

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