KR102572300B1 - Apparatus and method for debugging with secure connecting function - Google Patents

Apparatus and method for debugging with secure connecting function Download PDF

Info

Publication number
KR102572300B1
KR102572300B1 KR1020160148967A KR20160148967A KR102572300B1 KR 102572300 B1 KR102572300 B1 KR 102572300B1 KR 1020160148967 A KR1020160148967 A KR 1020160148967A KR 20160148967 A KR20160148967 A KR 20160148967A KR 102572300 B1 KR102572300 B1 KR 102572300B1
Authority
KR
South Korea
Prior art keywords
debugging
signal
pwm signal
vehicle multimedia
multimedia device
Prior art date
Application number
KR1020160148967A
Other languages
Korean (ko)
Other versions
KR20180051972A (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 KR1020160148967A priority Critical patent/KR102572300B1/en
Publication of KR20180051972A publication Critical patent/KR20180051972A/en
Application granted granted Critical
Publication of KR102572300B1 publication Critical patent/KR102572300B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0736Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function
    • G06F11/0739Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function in a data processing system embedded in automotive or aircraft systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Debugging And Monitoring (AREA)

Abstract

본 발명의 일면에 따른 디버깅 방법은, 차량용 멀티미디어 장치와 디버깅 장치를 포함하는 차량 디버깅 시스템에 의해 수행되는 디버깅 방법에 있어서, 상기 차량용 멀티미디어 장치가 아날로그 신호를 생성하여 상기 디버깅 장치로 전송하는 단계; 상기 디버깅 장치가 상기 수신한 아날로그 신호를 PWM 신호로 변환하는 단계; 상기 디버깅 장치가 상기 변환한 PWM 신호를 상기 차량용 멀티미디어 장치로 전송하는 단계; 상기 차량용 멀티미디어 장치가 상기 수신한 PWM 신호를 아날로그 신호로 변환하여 상기 생성한 아날로그 신호와 비교하는 단계; 및 상기 비교결과 일치하는 경우 상기 차량용 멀티미디어 장치가 상기 디버깅 장치로 디버깅을 위한 정보를 송신하는 단계를 포함하는 것을 특징으로 한다.A debugging method according to an aspect of the present invention is a debugging method performed by a vehicle debugging system including a vehicle multimedia device and a debugging device, comprising: generating an analog signal by the vehicle multimedia device and transmitting the analog signal to the debugging device; converting, by the debugging device, the received analog signal into a PWM signal; transmitting, by the debugging device, the converted PWM signal to the in-vehicle multimedia device; converting the received PWM signal into an analog signal and comparing it with the generated analog signal by the in-vehicle multimedia device; and transmitting, by the in-vehicle multimedia device, information for debugging to the debugging device when the comparison result matches.

Description

보안 접속 기능을 가지는 디버깅 장치 및 그 방법{APPARATUS AND METHOD FOR DEBUGGING WITH SECURE CONNECTING FUNCTION}Debugging device and method having secure connection function {APPARATUS AND METHOD FOR DEBUGGING WITH SECURE CONNECTING FUNCTION}

본 발명은 디버깅 장치 및 그 방법에 관한 것으로서, 보다 구체적으로는 차량용 헤드유닛(Head Unit)에 접속하여 디버깅을 수행하기 위한 디버깅 장치에 보안 기능이 추가된 디버깅 장치와 그 방법에 관한 것이다.The present invention relates to a debugging device and a method thereof, and more particularly, to a debugging device in which a security function is added to a debugging device for performing debugging by connecting to a vehicle head unit and a method thereof.

종래의 차량용 헤드유닛이나 AVN(Audio Video Navigation) 또는 기타 기기에는 이들 기기의 개발이나 사용 중 발생하는 각종 문제점들을 해결하기 위해 UART(Universal asynchronous receiver/transmitter) 통신 또는 USB(Universal Serial Bus) 통신 라인을 구비하였다.Conventional vehicle head units, AVN (Audio Video Navigation) or other devices require UART (Universal asynchronous receiver/transmitter) communication or USB (Universal Serial Bus) communication lines to solve various problems that occur during development or use of these devices. provided.

디버깅 장치는 이러한 통신라인을 통해 제어신호를 송신하거나 디버깅 로그를 수신하여 차량 내 부품들을 테스트하고 문제점을 파악하여 해결하는데 이용한다.The debugging device transmits a control signal or receives a debugging log through such a communication line to test parts in the vehicle and to identify and solve problems.

하지만 UART 또는 USB 통신 라인에는 아무런 보안 대책이 없기 때문에 외부에서 권한이 없는 해커가 접속하여 해킹을 시도하는 경우 무방비 상태로 노출될 수 밖에 없는 문제가 있다.However, since there is no security measure in the UART or USB communication line, there is a problem in that if an unauthorized hacker accesses and attempts hacking from the outside, it is inevitably exposed in a defenseless state.

최근 차량에서 전자 부품이 차지하는 비율이 높아지고 있고, 자율주행이나 AEB(Autonomous Emergency Braking) 등 차량을 직접적으로 제어하는 상황도 많아지면서 해킹에 의해 차량을 제어하지 못하게 되면 자칫 큰 사고로 이어질 수도 있다.Recently, the proportion of electronic parts in vehicles is increasing, and as there are more situations in which vehicles are directly controlled, such as autonomous driving or AEB (Autonomous Emergency Braking), failure to control the vehicle by hacking can lead to a serious accident.

이러한 문제를 해결하기 위해 디버깅 장치 또는 차량 부품에 보안 모듈을 사용하여 보안 모듈에 의한 인증이 된 경우에만 사용자의 접속을 허용하는 방법이 사용되지만, 보안 모듈을 이용하기 위한 별도의 비용이 발생하게 되고, 시스템이 복잡해지므로 오류 발생 확률이 높아지는 문제가 여전히 존재한다.In order to solve this problem, a method of allowing user access only when a security module is used in a debugging device or vehicle part and authenticated by the security module is used, but a separate cost is incurred to use the security module. However, as the system becomes more complex, the problem of increasing the probability of error still exists.

본 발명은 전술한 바와 같은 기술적 배경에서 안출된 것으로서, 차량 내 시스템에 무단으로 접속하는 것을 방지하기 위해 보안 기능이 추가된 디버깅 장치 및 그 방법을 제공하는 것을 목적으로 한다.The present invention has been made in the technical background as described above, and an object of the present invention is to provide a debugging device and method to which a security function is added to prevent unauthorized access to an in-vehicle system.

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

전술한 목적을 달성하기 위한 본 발명의 일면에 따른 디버깅 장치는, 차량용 멀티미디어 장치와 신호를 송수신하는 통신부, 상기 차량용 멀티미디어 장치로부터 수신한 신호를 PWM 신호로 변환하는 보안신호 생성부, 상기 변환된 PWM 신호를 상기 통신부를 통해 상기 차량용 멀티미디어 장치로 전송하는 제어부 및 사용자의 조작에 의해 설정되는 스위치를 포함하고, 상기 보안신호 생성부는 수신한 상기 신호의 전압, 상기 스위치의 입력, 및 상기 통신부가 다운로드한 소프트웨어에 의해 정해지는 파라미터값에 기초하여 수신한 상기 신호를 상기 PWM 신호로 변환한다.Debugging apparatus according to an aspect of the present invention for achieving the above object, a communication unit for transmitting and receiving signals to and from a vehicle multimedia device, a security signal generation unit for converting a signal received from the vehicle multimedia device into a PWM signal, the converted PWM A control unit for transmitting a signal to the in-vehicle multimedia device through the communication unit and a switch set by a user's manipulation, wherein the security signal generation unit includes a voltage of the signal received, input of the switch, and information downloaded by the communication unit. The received signal is converted into the PWM signal based on a parameter value determined by software.

본 발명의 다른 일면에 따른 차량용 멀티미디어 장치는, 디버깅 장치로 전송할 아날로그 신호를 생성하는 보안 신호 생성부, 상기 디버깅 장치로 상기 아날로그 신호를 송신하고, 상기 디버깅 장치로부터 상기 아날로그 신호를 변환한 PWM 신호를 수신하는 통신부, 상기 보안 신호 생성부에서 생성한 아날로그 신호를 PWM 신호로 변환하는 보안 신호 변환부 및 상기 통신부에서 수신한 PWM 신호와 상기 보안 신호 변환부에서 변환한 PWM 신호를 비교하여 일치하는 경우 상기 통신부를 통해 상기 디버깅 장치로 디버깅 정보를 송신하는 제어부를 포함하고, 상기 제어부는 상기 비교하여 일치하지 않는 경우 상기 통신부를 통하여 상기 아날로그 신호를 다시 송신하고 상기 PWM 신호를 다시 수신하여, 상기 통신부에서 수신한 PWM 신호와 상기 보안 신호 변환부에서 변환한 PWM 신호를 비교하는 것을 기설정된 횟수만큼 반복한다.In-vehicle multimedia device according to another aspect of the present invention, a security signal generating unit for generating an analog signal to be transmitted to a debugging device, transmitting the analog signal to the debugging device, and converting the analog signal from the debugging device to a PWM signal The receiving communication unit, the security signal conversion unit for converting the analog signal generated by the security signal generation unit into a PWM signal, and the PWM signal received from the communication unit compare the PWM signal converted by the security signal conversion unit, and if they match, the And a control unit for transmitting debugging information to the debugging device through a communication unit, wherein the control unit transmits the analog signal again through the communication unit and receives the PWM signal again through the communication unit when the comparison is not identical, so that the communication unit receives the information. Comparing one PWM signal with the PWM signal converted by the secure signal conversion unit is repeated a predetermined number of times.

본 발명의 또 다른 일면에 따른 디버깅 방법은, 차량용 멀티미디어 장치와 디버깅 장치를 포함하는 차량 디버깅 시스템에 의해 수행되는 디버깅 방법에 있어서, 상기 차량용 멀티미디어 장치가 아날로그 신호를 생성하여 상기 디버깅 장치로 전송하는 단계; 상기 디버깅 장치가 상기 수신한 아날로그 신호를 PWM 신호로 변환하는 단계; 상기 디버깅 장치가 상기 변환한 PWM 신호를 상기 차량용 멀티미디어 장치로 전송하는 단계; 상기 차량용 멀티미디어 장치가 상기 수신한 PWM 신호를 아날로그 신호로 변환하여 상기 생성한 아날로그 신호와 비교하는 단계; 및 상기 비교결과 일치하는 경우 상기 차량용 멀티미디어 장치가 상기 디버깅 장치로 디버깅을 위한 정보를 송신하는 단계를 포함하는 것을 특징으로 한다.A debugging method according to another aspect of the present invention is a debugging method performed by a vehicle debugging system including a vehicle multimedia device and a debugging device, wherein the vehicle multimedia device generates an analog signal and transmits it to the debugging device. ; converting, by the debugging device, the received analog signal into a PWM signal; transmitting, by the debugging device, the converted PWM signal to the in-vehicle multimedia device; converting the received PWM signal into an analog signal and comparing it with the generated analog signal by the in-vehicle multimedia device; and transmitting, by the in-vehicle multimedia device, information for debugging to the debugging device when the comparison results match.

본 발명에 따르면, 단순한 하드웨어 추가에 의해 큰 비용 상승 없이 보안을 강화함으로써 해킹에 의한 차량 접속 시도를 차단할 수 있는 효과가 있다.According to the present invention, there is an effect of blocking an attempt to access a vehicle by hacking by strengthening security without a large increase in cost by simply adding hardware.

도 1은 본 발명의 일실시예에 따른 디버깅 장치의 구조도.
도 2는 본 발명의 일실시예에 따른 차량용 멀티미디어 장치의 구조도.
도 3은 본 발명의 일실시예에 따른 차량용 디버깅 시스템에서 수행되는 디버깅 방법의 흐름도.
1 is a structural diagram of a debugging device according to an embodiment of the present invention;
2 is a structural diagram of a multimedia device for a vehicle according to an embodiment of the present invention.
3 is a flowchart of a debugging method performed in a vehicle debugging system according to an embodiment of the present invention.

본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 것이며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하며, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 한편, 본 명세서에서 사용된 용어는 실시예들을 설명하기 위한 것이며 본 발명을 제한하고자 하는 것은 아니다. 본 명세서에서, 단수형은 문구에서 특별히 언급하지 않는 한 복수형도 포함한다. 명세서에서 사용되는 "포함한다(comprises)" 및/또는 "포함하는(comprising)"은 언급된 구성소자, 단계, 동작 및/또는 소자는 하나 이상의 다른 구성소자, 단계, 동작 및/또는 소자의 존재 또는 추가를 배제하지 않는다.Advantages and features of the present invention, and methods of achieving them, will become clear with reference to the detailed description of the following embodiments taken in conjunction with the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below, but will be implemented in various different forms, only these embodiments make the disclosure of the present invention complete, and common knowledge in the art to which the present invention belongs. It is provided to fully inform the holder of the scope of the invention, and the present invention is only defined by the scope of the claims. Meanwhile, terms used in this specification are for describing the embodiments and are not intended to limit the present invention. In this specification, singular forms also include plural forms unless specifically stated otherwise in a phrase. As used herein, "comprises" and/or "comprising" means that a stated component, step, operation, and/or element is the presence of one or more other components, steps, operations, and/or elements. or do not rule out additions.

이하, 본 발명의 바람직한 실시예에 대하여 첨부한 도면을 참조하여 상세히 설명하기로 한다. Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 일실시예에 따른 디버깅 장치의 구조도를 나타낸다.1 shows a structural diagram of a debugging device according to an embodiment of the present invention.

디버깅 장치(100)는 스위치(110), 제어부(120), 보안 신호 생성부(130) 및 통신부(140)를 포함한다.The debugging device 100 includes a switch 110, a control unit 120, a security signal generator 130, and a communication unit 140.

스위치(110)는 사용자의 조작에 의해 on/off 값을 갖는 토글스위치이거나 복수의 토글스위치를 조합하여 임의의 입력값을 만들어내는데 사용된다.The switch 110 is a toggle switch having an on/off value by a user's manipulation or is used to create an arbitrary input value by combining a plurality of toggle switches.

스위치(110)에 의해 입력된 값은 보안 신호 생성부(130)에서 PWM 변환신호를 만들어내는데 이용된다.The value input by the switch 110 is used in the secure signal generating unit 130 to generate a PWM conversion signal.

통신부(140)는 디버깅이 필요한 차량용 멀티미디어 장치(200)와 신호를 주고받는데 사용된다.The communication unit 140 is used to exchange signals with the in-vehicle multimedia device 200 requiring debugging.

차량용 멀티미디어 장치(200)와 교환하는 신호는 JTAG, USB 또는 UART 등의 디버깅 신호(102), 보안을 위해 차량용 멀티미디어 장치(200)에서 발생시키는 아날로그 신호(104) 및 디버깅 장치(106)에서 변환한 PWM 신호(106)를 포함한다.Signals exchanged with the in-vehicle multimedia device 200 include a debugging signal 102 such as JTAG, USB, or UART, an analog signal 104 generated by the in-vehicle multimedia device 200 for security, and a debugging device 106 converted PWM signal 106.

보안 신호 생성부(130)는 통신부(140)를 통하여 전달받은 아날로그 신호를 PWM 신호로 변환한다. 변환되는 신호는 PWM 신호 외의 신호일 수 있다.The security signal generation unit 130 converts the analog signal transmitted through the communication unit 140 into a PWM signal. The signal to be converted may be a signal other than a PWM signal.

보안 신호 생성부(130)에서 생성되는 PWM 신호는 수학식 1에 의해 결정된다.The PWM signal generated by the security signal generator 130 is determined by Equation 1.

Figure 112016109654130-pat00001
Figure 112016109654130-pat00001

PWM 신호(f_PWM)는 입력되는 아날로그 전압(V_IN)과 스위치 입력(?SW?_INPUT) 및 파라미터값(parameter)에 의해 생성되는데, 파라미터 값은 디버깅 장치에서 다운로드한 소프트웨어에 의해 정해진다. 소프트웨어는 통신부(140)를 통해 외부에서 다운로드 할 수 있다.The PWM signal (f_PWM) is generated by an input analog voltage (V_IN), a switch input (?SW?_INPUT), and a parameter value. The parameter value is determined by software downloaded from a debugging device. Software can be downloaded from the outside through the communication unit 140 .

변환된 PWM 신호(106)는 보안 신호 생성부(130)에서 차량용 멀티미디어 장치(200)로 직접 전송하거나 통신부(140)를 통하여 전송할 수 있다.The converted PWM signal 106 may be directly transmitted from the security signal generating unit 130 to the in-vehicle multimedia device 200 or transmitted through the communication unit 140 .

제어부(120)는 보안 신호 생성부(130)에서 변환한 PWM 신호를 통신부를 통해 차량용 멀티미디어 장치(200)로 송신하거나 보안 신호 생성부(130)에서 직접 송신하도록 제어한다.The controller 120 transmits the PWM signal converted by the secure signal generator 130 to the in-vehicle multimedia device 200 through the communication unit or directly transmits the PWM signal from the secure signal generator 130 .

도 2는 본 발명의 일실시예에 따른 차량용 멀티미디어 장치(200)의 구조도를 나타낸다.2 shows a structural diagram of an in-vehicle multimedia device 200 according to an embodiment of the present invention.

차량용 멀티미디어 장치(200)는 통신부(210), 보안 신호 생성부(220), 보안 신호 변환부(230) 및 제어부(240)를 포함한다.The in-vehicle multimedia device 200 includes a communication unit 210, a security signal generation unit 220, a security signal conversion unit 230, and a control unit 240.

통신부(210)는 디버깅 장치(100) 또는 관리서버(300)와 신호를 교환하는데 이용된다. 통신부(210)는 이를 위해 텔레매틱스 등의 장치를 포함할 수 있다.The communication unit 210 is used to exchange signals with the debugging device 100 or the management server 300 . The communication unit 210 may include a device such as telematics for this purpose.

보안 신호 생성부(220)는 디버깅 장치(100)로 전송하기 위한 아날로그 신호를 생성한다.The security signal generator 220 generates an analog signal to be transmitted to the debugging device 100.

보안 신호 변환부(230)는 디버깅 장치(100)로부터 수신한 PWM신호를 보안 신호 생성부(220)에서 생성한 아날로그 신호와 비교하기 위해 아날로그 신호로 변환한다. 또는 보안 신호 생성부(220)에서 생성하여 디버깅 장치(100)로 전송한 아날로그 신호를 PWM신호로 변환하는 것도 가능하다.The security signal conversion unit 230 converts the PWM signal received from the debugging device 100 into an analog signal for comparison with the analog signal generated by the security signal generation unit 220 . Alternatively, it is also possible to convert the analog signal generated by the secure signal generating unit 220 and transmitted to the debugging device 100 into a PWM signal.

제어부(240)는 보안 신호 생성부(220)에서 생성한 신호와 디버깅 장치(100)에서 수신한 신호를 비교하여 해킹 여부를 판단하게 된다.The control unit 240 compares the signal generated by the security signal generator 220 with the signal received by the debugging device 100 to determine whether or not hacking has occurred.

전술한 것처럼 아날로그 신호끼리 비교하는 것도 가능하고, 변환된 PWM 신호끼리 비교하는 방법도 가능하다.As described above, it is possible to compare analog signals, and a method of comparing converted PWM signals is also possible.

비교한 결과 일치하는 경우 제어부(240)는 디버깅 장치(100)로 디버깅에 필요한 로그 정보 등 관련 정보를 전송한다.If the results of comparison match, the control unit 240 transmits related information such as log information necessary for debugging to the debugging device 100 .

하지만 비교한 결과가 일치하지 않는 경우 관리서버(300)에 해킹 시도가 있었음을 통보하게 되고 디버깅 장치(100)로의 로그정보 송신을 중단하게 된다.However, if the comparison results do not match, the management server 300 is notified that a hacking attempt has occurred, and the transmission of log information to the debugging device 100 is stopped.

비교결과가 일치하지 않아 디버깅 장치(100)로의 로그정보 송신을 중단한 후에는 관리서버(300)로부터 해제신호를 수신하기 전까지는 모든 시스템 설정의 변경이 허용되지 않도록 할 수 있다.After the transmission of log information to the debugging device 100 is stopped because the comparison result does not match, all system settings may not be changed until a release signal is received from the management server 300 .

이때, 디버깅 장치(100)로의 로그정보 송신 중단뿐 아니라 모든 방법에 의한 소프트웨어 설정 및 소프트웨어 업그레이드도 중단하게 된다.At this time, not only transmission of log information to the debugging device 100 is stopped, but also software setting and software upgrade by all methods are stopped.

이후 관리서버(300)로부터 해제신호를 수신하면, 보안 신호 생성부(220)에서 아날로그 신호를 생성하여 디버깅 장치(100)로 신호를 전송하고 PWM 신호를 수신하여 비교하는 단계를 반복하여 디버깅 장치(100)의 적법한 접속을 판단하고, 적법한 접속이 확인되면 제어부(240)는 로그정보 송신과 소프트웨어 설정 및 소프트웨어 업그레이드를 재개한다.Then, when the release signal is received from the management server 300, the security signal generating unit 220 generates an analog signal, transmits the signal to the debugging device 100, and repeats the step of receiving and comparing the PWM signal to the debugging device ( 100) determines a legitimate connection, and if the legitimate connection is confirmed, the control unit 240 resumes log information transmission, software setting, and software upgrade.

제어부(240)는 일시적인 오류가 발생하여 비교 결과가 일치하지 않을 수 있기 때문에, 비교 결과가 일치하지 않더라도 바로 전송을 중단하는 것이 아니라 미리 설정한 일정한 횟수만큼 아날로그 신호 전송과 PWM신호 수신을 반복한 후 기설정된 횟수 이상 비교 결과가 일치하지 않는 경우에만 디버깅 로그 전송을 차단할 수 있다.Since the comparison result may not match due to a temporary error, the control unit 240 does not immediately stop transmission even if the comparison result does not match, but repeats analog signal transmission and PWM signal reception a predetermined number of times. Debugging log transmission may be blocked only when comparison results do not match more than a predetermined number of times.

관리서버(300)는 차량용 멀티미디어 장치(200)로부터 해킹 시도를 전송받으면, 텔레매틱 메시지 등을 통해 차량용 멀티미디어 장치(200)에서 디버깅 장치(100)로 디버깅 로그 메시지 출력을 중단할 것을 명령한다.When receiving a hacking attempt from the in-vehicle multimedia device 200, the management server 300 commands the in-vehicle multimedia device 200 to the debugging device 100 to stop outputting a debugging log message through a telematic message or the like.

차량용 멀티미디어 장치(200)는 관리서버(300)에 의해 해제 조치가 있기 전까지는 디버깅 로그 메시지 출력을 중단하고, 모든 소프트웨어 설정의 변경을 중단하게 된다.The in-vehicle multimedia device 200 stops outputting debugging log messages and stops changing all software settings until a release action is taken by the management server 300 .

도 3은 본 발명의 일실시예에 따른 디버깅 방법의 흐름도를 나타낸다.3 shows a flowchart of a debugging method according to an embodiment of the present invention.

차량용 멀티미디어 장치(200)는 부팅 후 아날로그 신호를 생성하여 디버깅 장치(100)로 전송한다.After booting, the in-vehicle multimedia device 200 generates an analog signal and transmits it to the debugging device 100 .

디버깅 장치(100)는 아날로그 신호를 수신하면 이를 PWM 신호로 변환한다. PWM 신호로의 변환은 디버깅 장치(100)의 스위치와 디버깅 장치(100)에 설치된 소프트웨어가 연동되어 이루어지게 되고 자세한 사항은 전술한 바와 같다.Upon receiving the analog signal, the debugging device 100 converts it into a PWM signal. The conversion to the PWM signal is performed in conjunction with the switch of the debugging device 100 and the software installed in the debugging device 100, and details are as described above.

디버깅 장치(100)는 변환한 PWM 신호를 차량용 멀티미디어 장치(200)로 전송한다.The debugging device 100 transmits the converted PWM signal to the vehicle multimedia device 200 .

차량용 멀티미디어 장치(200)는 수신한 PWM 신호를 아날로그 신호로 변환하여 직접 생성한 아날로그 신호와 비교하여 디버깅 장치(100)가 적법하게 접속된 것인지 확인한다.The in-vehicle multimedia device 200 converts the received PWM signal into an analog signal and compares it with a directly generated analog signal to determine whether the debugging device 100 is properly connected.

비교 결과 대응되는 것으로 판단되면 차량용 멀티미디어 장치(200)는 디버깅 장치(100)로 디버깅 로그를 포함한 디버깅 정보를 송신한다.If it is determined that the comparison results correspond, the in-vehicle multimedia device 200 transmits debugging information including a debugging log to the debugging device 100 .

디버깅 장치(100)에서 생성된 PWM 신호는 아날로그 신호와 스위치 값 및 소프트웨어에 의해 설정되는 파라미터 값을 반영하여 생성되므로, 차량용 멀티미디어 장치(200)는 이를 고려하여 PWM 신호를 아날로그 신호로 변환하거나, 디버깅 장치(100)와 같은 알고리즘으로 아날로그 신호를 PWM 신호로 변환하여 비교하는 것도 가능하다.Since the PWM signal generated by the debugging device 100 is generated by reflecting the analog signal, the switch value, and the parameter value set by software, the automotive multimedia device 200 considers this to convert the PWM signal into an analog signal or to debug the PWM signal. It is also possible to compare analog signals by converting them into PWM signals with the same algorithm as in the device 100 .

만일 비교 결과가 대응되지 않는 것으로 판단되면 차량용 멀티미디어 장치(200)는 관리서버(300)로 해킹 시도가 있었음을 전송하고, 디버깅 장치(100)로의 디버깅 정보 송신을 중단한다.If it is determined that the comparison result does not correspond, the in-vehicle multimedia device 200 transmits that a hacking attempt has occurred to the management server 300 and stops transmitting debugging information to the debugging device 100 .

차량용 멀티미디어 장치(200)는 관리서버(300)에 의해 해제 조치가 있기 전까지는 디버깅 정보 송신을 중단할 뿐 아니라 모든 소프트웨어 설정의 변경을 중단하게 된다.The in-vehicle multimedia device 200 stops transmitting debugging information and also stops changing all software settings until a release action is taken by the management server 300 .

이때, 차량용 멀티미디어 장치(200)는 디버깅 장치(100)로부터의 설정 변경은 물론 JTAG/USB/UART 등의 디버깅 통신 라인이나 무선 통신을 통한 설정 변경 등 모든 방법에 의한 소프트웨어 설정 변경이나 소프트웨어 업그레이드를 중단한다.At this time, the in-vehicle multimedia device 200 stops software setting changes or software upgrades by all methods, such as setting changes from the debugging device 100, debugging communication lines such as JTAG/USB/UART, or setting changes through wireless communication. do.

이후 관리서버(300)에 의한 해제조치가 있으면 디버깅 장치(100)와 차량용 멀티미디어 장치(200) 가 아날로그 신호와 PWM 신호를 교환하여 디버깅 장치(100)의 적법한 접속을 판단하는 단계를 반복하고, 차량용 멀티미디어 장치(200)는 적법한 접속이 확인되면 디버깅 정보 송신과 소프트웨어 설정 변경 등을 재개한다.Thereafter, if there is a release action by the management server 300, the debugging device 100 and the vehicle multimedia device 200 exchange analog signals and PWM signals to repeat the step of determining the legitimate connection of the debugging device 100, and for the vehicle When a legitimate connection is confirmed, the multimedia device 200 resumes sending debugging information and changing software settings.

비교 결과가 일시적인 오류에 의해 잘못될 수도 있으므로, 차량용 멀티미디어 장치(200)는 아날로그 신호의 송신과 PWM 신호의 수신을 기설정된 횟수만큼 반복하여 재시도 할 수 있다.Since the comparison result may be erroneous due to a temporary error, the in-vehicle multimedia apparatus 200 may repeat and retry transmission of the analog signal and reception of the PWM signal a preset number of times.

이 경우 재시도 횟수 중 일정 횟수 이상 비교결과가 일치하면 디버깅 정보 송신을 재개한다.In this case, the transmission of debugging information is resumed if the comparison result coincides with a certain number or more of the number of retries.

이상과 같은 디버깅 장치, 차량용 멀티미디어 장치 및 관리서버를 포함하여 이루어지는 디버깅 시스템에 의해 이루어지는 디버깅 방법에 의해 허가 없이 무단으로 차량의 시스템에 접근하려는 해킹 시도를 미리 차단할 수 있고, 따라서 차량의 보안을 강화할 수 있는 효과가 있다.Hacking attempts to access the vehicle system without permission can be blocked in advance by the debugging method performed by the debugging system including the debugging device, the vehicle multimedia device, and the management server as described above, and thus the vehicle security can be strengthened. There is an effect.

이상, 본 발명의 구성에 대하여 첨부 도면을 참조하여 상세히 설명하였으나, 이는 예시에 불과한 것으로서, 본 발명이 속하는 기술분야에 통상의 지식을 가진자라면 본 발명의 기술적 사상의 범위 내에서 다양한 변형과 변경이 가능함은 물론이다. 따라서 본 발명의 보호 범위는 전술한 실시예에 국한되어서는 아니되며 이하의 특허청구범위의 기재에 의하여 정해져야 할 것이다.In the above, the configuration of the present invention has been described in detail with reference to the accompanying drawings, but this is only an example, and various modifications and changes within the scope of the technical idea of the present invention to those skilled in the art to which the present invention belongs Of course this is possible. Therefore, the scope of protection of the present invention should not be limited to the above-described embodiments, but should be defined by the description of the claims below.

100: 디버깅 장치 110: 스위치
120: 제어부 130: 보안신호 생성부
140: 통신부
200: 차량용 멀티미디어 장치
210: 통신부 220: 보안신호 생성부
230: 보안신호 변환부 240: 제어부
300: 관리서버
100: debugging device 110: switch
120: control unit 130: security signal generator
140: communication department
200: vehicle multimedia device
210: communication unit 220: security signal generation unit
230: security signal conversion unit 240: control unit
300: management server

Claims (8)

차량용 멀티미디어 장치와 신호를 송수신하는 통신부;
상기 차량용 멀티미디어 장치로부터 수신한 신호를 PWM 신호로 변환하는 보안신호 생성부;
상기 변환된 PWM 신호를 상기 통신부를 통해 상기 차량용 멀티미디어 장치로 전송하는 제어부; 및
사용자의 조작에 의해 설정되는 스위치를 포함하고,
상기 보안신호 생성부는 수신한 상기 신호의 전압, 상기 스위치의 입력, 및 상기 통신부가 다운로드한 소프트웨어에 의해 정해지는 파라미터값에 기초하여 수신한 상기 신호를 상기 PWM 신호로 변환하는 것인 디버깅 장치.
A communication unit for transmitting and receiving signals to and from the in-vehicle multimedia device;
a secure signal generating unit that converts the signal received from the vehicle multimedia device into a PWM signal;
a controller for transmitting the converted PWM signal to the in-vehicle multimedia device through the communication unit; and
Including a switch set by a user's operation,
Wherein the security signal generating unit converts the received signal into the PWM signal based on a voltage of the received signal, an input of the switch, and a parameter value determined by software downloaded by the communication unit.
삭제delete 디버깅 장치로 전송할 아날로그 신호를 생성하는 보안 신호 생성부;
상기 디버깅 장치로 상기 아날로그 신호를 송신하고, 상기 디버깅 장치로부터 상기 아날로그 신호를 변환한 PWM 신호를 수신하는 통신부;
상기 보안 신호 생성부에서 생성한 아날로그 신호를 PWM 신호로 변환하는 보안 신호 변환부; 및
상기 통신부에서 수신한 PWM 신호와 상기 보안 신호 변환부에서 변환한 PWM 신호를 비교하여 일치하는 경우 상기 통신부를 통해 상기 디버깅 장치로 디버깅 정보를 송신하는 제어부;
를 포함하고,
상기 제어부는
상기 비교하여 일치하지 않는 경우 상기 통신부를 통하여 상기 아날로그 신호를 다시 송신하고 상기 PWM 신호를 다시 수신하여, 상기 통신부에서 수신한 PWM 신호와 상기 보안 신호 변환부에서 변환한 PWM 신호를 비교하는 것을 기설정된 횟수만큼 반복하는 것
인 차량용 멀티미디어 장치.
A secure signal generation unit for generating an analog signal to be transmitted to the debugging device;
a communication unit for transmitting the analog signal to the debugging device and receiving a PWM signal obtained by converting the analog signal from the debugging device;
a security signal conversion unit that converts the analog signal generated by the security signal generation unit into a PWM signal; and
a control unit that compares the PWM signal received from the communication unit and the PWM signal converted from the secure signal conversion unit and transmits debugging information to the debugging device through the communication unit when they match;
including,
The control unit
If the comparison does not match, the analog signal is transmitted again through the communication unit and the PWM signal is received again, and the PWM signal received by the communication unit and the PWM signal converted by the secure signal conversion unit are compared. repeat the number of times
In-vehicle multimedia device.
제3항에 있어서, 상기 제어부는
상기 비교하여 일치하지 않는 경우 상기 통신부를 통해 상기 디버깅 장치로 디버깅 정보를 송신하는 것을 중단하는 것
인 차량용 멀티미디어 장치.
The method of claim 3, wherein the control unit
Stopping the transmission of debugging information to the debugging device through the communication unit when the comparison does not match.
In-vehicle multimedia device.
삭제delete 차량용 멀티미디어 장치와 디버깅 장치를 포함하는 차량 디버깅 시스템에 의해 수행되는 디버깅 방법에 있어서,
상기 차량용 멀티미디어 장치가 아날로그 신호를 생성하여 상기 디버깅 장치로 전송하는 단계;
상기 디버깅 장치가 상기 수신한 아날로그 신호를 PWM 신호로 변환하는 단계;
상기 디버깅 장치가 상기 변환한 PWM 신호를 상기 차량용 멀티미디어 장치로 전송하는 단계;
상기 차량용 멀티미디어 장치가 상기 생성한 아날로그 신호를 PWM 신호로 변환하여 상기 수신한 PWM 신호와 비교하는 단계; 및
상기 비교결과 일치하는 경우 상기 차량용 멀티미디어 장치가 상기 디버깅 장치로 디버깅을 위한 정보를 송신하는 단계;
를 포함하는 디버깅 방법.
A debugging method performed by a vehicle debugging system including a vehicle multimedia device and a debugging device,
generating an analog signal by the in-vehicle multimedia device and transmitting the analog signal to the debugging device;
converting, by the debugging device, the received analog signal into a PWM signal;
transmitting, by the debugging device, the converted PWM signal to the in-vehicle multimedia device;
converting the analog signal generated by the in-vehicle multimedia device into a PWM signal and comparing the PWM signal with the received PWM signal; and
transmitting, by the in-vehicle multimedia device, information for debugging to the debugging device when the comparison results match;
Debugging method including.
제6항에 있어서, 상기 비교하는 단계 이후에
상기 비교결과 일치하지 않는 경우 상기 차량용 멀티미디어 장치가 상기 디버깅 장치의 상기 멀티미디어 장치로의 변환한 PWM 신호 전송 시도를 미리 설정된 지점으로 전송하고, 상기 디버깅 장치로의 디버깅을 위한 정보 송신을 중단하는 단계;를 더 포함하는 것
인 디버깅 방법.
The method of claim 6, wherein after the comparing step
If the comparison result does not match, the in-vehicle multimedia device transmitting the converted PWM signal transmission attempt of the debugging device to the multimedia device to a preset point, and stopping transmission of information for debugging to the debugging device; to further include
In-debugging method.
제6항에 있어서, 상기 비교하는 단계 이후에
상기 비교결과 일치하지 않는 경우 상기 디버깅 장치로 전송하는 단계 내지 상기 수신한 PWM 신호와 비교하는 단계를 기설정된 횟수만큼 반복하는 것
인 디버깅 방법.

The method of claim 6, wherein after the comparing step
If the comparison result does not match, repeating the step of transmitting to the debugging device or the step of comparing with the received PWM signal a predetermined number of times.
In-debugging method.

KR1020160148967A 2016-11-09 2016-11-09 Apparatus and method for debugging with secure connecting function KR102572300B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160148967A KR102572300B1 (en) 2016-11-09 2016-11-09 Apparatus and method for debugging with secure connecting function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160148967A KR102572300B1 (en) 2016-11-09 2016-11-09 Apparatus and method for debugging with secure connecting function

Publications (2)

Publication Number Publication Date
KR20180051972A KR20180051972A (en) 2018-05-17
KR102572300B1 true KR102572300B1 (en) 2023-08-29

Family

ID=62486085

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160148967A KR102572300B1 (en) 2016-11-09 2016-11-09 Apparatus and method for debugging with secure connecting function

Country Status (1)

Country Link
KR (1) KR102572300B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116545886B (en) * 2023-05-11 2024-02-13 镁佳(北京)科技有限公司 Data transmission system based on vehicle

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102116025B1 (en) * 2013-05-13 2020-05-28 현대모비스 주식회사 Apparatus and Method Debugging Software of Vehicle's ECU

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
민병권 외 2인, ‘철도차량용 추진제어장치의 고능률 PWM기법에 관한 연구’, 전자공학회논문지 제35권 S편 제10호, 1998.10.*

Also Published As

Publication number Publication date
KR20180051972A (en) 2018-05-17

Similar Documents

Publication Publication Date Title
US10255428B2 (en) Apparatus and method for testing normality of shared data
EP2786543B1 (en) Secure message filtering to vehicle electronic control units with secure provisioning of message filtering rules
US9843597B2 (en) Controller area network bus monitor
CN109040285B (en) Method and device for safety authentication of vehicle-mounted network, storage medium and vehicle
WO2017167188A1 (en) Secure communication method and apparatus for vehicle, multimedia system for vehicle, and vehicle
WO2017152864A1 (en) Secure communication method and apparatus for vehicle, vehicle multimedia system, and vehicle
WO2018173732A1 (en) On-board communication device, computer program, and message determination method
CN112153646B (en) Authentication method, equipment and system
EP3429158A1 (en) Secure communication method and apparatus for vehicle, vehicle multimedia system, and vehicle
CN108482308B (en) Electric vehicle safety control method and device, storage medium and electric vehicle
JP2019071572A (en) Control apparatus and control method
CN115002168A (en) Safety detection method for vehicle remote control and vehicle-mounted system
US20190340850A1 (en) Method and Terminal For Controlling the Establishment of a Vehicle Accident Report
KR102572300B1 (en) Apparatus and method for debugging with secure connecting function
US20220166787A1 (en) Link anomaly detector
CN111459869B (en) Data access method, device, equipment and storage medium
CN103823702A (en) Application installation method and electronic equipment
CN110752917A (en) Vehicle access control method, device and system
US20220377068A1 (en) Vehicle control device, vehicle, vehicle control method, and non-transitory recording medium
JP2023102696A (en) Communication device, vehicle, communication method and program
CN112776738A (en) Vehicle-mounted docking station, system, automobile, external device access method and medium
US9954864B2 (en) Providing safe operation of a subsystem within a safety-critical system
CN115296813B (en) Identity authentication method and system for automobile Ethernet controller
CN117056982B (en) Multi-machine data signing verification method, system and storage medium
CN109560983B (en) Data communication method and device for vehicle network

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant