KR102246322B1 - Diagnostic system and method for vehicle - Google Patents

Diagnostic system and method for vehicle Download PDF

Info

Publication number
KR102246322B1
KR102246322B1 KR1020140162240A KR20140162240A KR102246322B1 KR 102246322 B1 KR102246322 B1 KR 102246322B1 KR 1020140162240 A KR1020140162240 A KR 1020140162240A KR 20140162240 A KR20140162240 A KR 20140162240A KR 102246322 B1 KR102246322 B1 KR 102246322B1
Authority
KR
South Korea
Prior art keywords
diagnosis
security
pattern
programs
program
Prior art date
Application number
KR1020140162240A
Other languages
Korean (ko)
Other versions
KR20160060269A (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 KR1020140162240A priority Critical patent/KR102246322B1/en
Publication of KR20160060269A publication Critical patent/KR20160060269A/en
Application granted granted Critical
Publication of KR102246322B1 publication Critical patent/KR102246322B1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W50/04Monitoring the functioning of the control system
    • B60W50/045Monitoring control system parameters
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W50/04Monitoring the functioning of the control system
    • B60W50/045Monitoring control system parameters
    • B60W2050/046Monitoring control system parameters involving external transmission of data to or from the vehicle, e.g. via telemetry, satellite, Global Positioning System [GPS]

Abstract

본 발명은 차량 진단 시스템 및 방법에 관한 것으로서, 본 시스템은, 외부의 진단기와 통신하는 통신부; 차량의 동작을 위한 프로그램들이 설치되면, 진단기와의 통신을 통해 프로그램들의 진단을 위한 동작을 수행하는 진단제어부; 프로그램들의 진단이 완료되면, 프로그램들에 대한 보안설정여부를 결정하는 진단비교부;를 포함한다. 이에 의해, 각 프로그램들의 진단시 보안을 해제하기 위해 소요되는 시간을 감소시켜 생산성 향상을 도모할 수 있다. The present invention relates to a vehicle diagnostic system and method, the system comprising: a communication unit for communicating with an external diagnostic device; When programs for operating the vehicle are installed, the diagnostic control unit performs an operation for diagnosing the programs through communication with the diagnostic device; And a diagnosis and comparison unit that determines whether or not to set security for the programs when diagnosis of the programs is completed. Accordingly, it is possible to improve productivity by reducing the time required to release security when diagnosing each program.

Description

차량 진단 시스템 및 방법{DIAGNOSTIC SYSTEM AND METHOD FOR VEHICLE}Vehicle diagnostic system and method {DIAGNOSTIC SYSTEM AND METHOD FOR VEHICLE}

본 발명은 차량 진단 시스템 및 방법에 관한 것으로서, 보다 상세하게는, 초기에 차량의 동작을 위한 프로그램들을 설치한 후, 보안이 설정되지 않은 상태에서 각 프로그램들을 진단하고, 진단이 완료되면 보안을 설정하도록 함으로써, 각 프로그램들의 진단시 보안을 해제하기 위해 소요되는 시간을 감소시켜 생산성 향상을 도모할 수 있도록 하는 차량 진단 시스템 및 방법에 관한 것이다. The present invention relates to a vehicle diagnosis system and method, and more particularly, after initially installing programs for operation of a vehicle, diagnosing each program in a state in which security is not set, and setting security when the diagnosis is completed. By doing so, it relates to a vehicle diagnosis system and method for improving productivity by reducing the time required to release security when diagnosing each program.

ECU(Electronic Control Unit)는 차량의 주요 어셈블리를 제어하고 관리하는 기능을 가진 제어장치로서, 차량에는 어셈블리에 따라 다수의 ECU가 설치되어 각 어셈블리를 제어한다. An ECU (Electronic Control Unit) is a control device having a function of controlling and managing major assemblies of a vehicle, and a number of ECUs are installed in the vehicle according to the assembly to control each assembly.

이러한 각 ECU에는 각 어셈블리를 제어하기 위한 프로그램들이 설치된다. 초기에 ECU에 프로그램들이 설치되면, 프로그램들이 제대로 동작하는지 시험하기 위해서 진단기를 이용한 진단공정이 수행된다. 이때, 프로그램들 중 보안이 필요한 정보들을 가지고 있는 프로그램들은 이미 보안이 설정되어 있다. 이에 따라, 진단기에서 보안이 설정된 프로그램을 진단하기 위해서는 먼저 보안 알고리즘을 이용하여 보안을 해제하여야 한다. Programs for controlling each assembly are installed in each of these ECUs. When programs are initially installed in the ECU, a diagnostic process using a diagnostic device is performed to test whether the programs work properly. At this time, among the programs, programs that have information requiring security are already set up for security. Accordingly, in order to diagnose a program for which security is set in the diagnostic device, the security must first be released using a security algorithm.

보안 알고리즘을 통과하기 위해, 진단기에서는 ECU로 보안해제용 정보를 요청하는 신호를 전송한다. ECU에서는 요청신호에 대해 제1보안정보를 진단기로 제공하고, 진단기에서는 제1보안정보를 이용하여 제2보안정보를 생성하여 ECU로 전송한다. ECU에서는 진단기로부터 제공된 제2보안정보와 ECU가 가지고 있는 제2보안정보를 비교하여 일치하면, 보안을 해제한다. In order to pass the security algorithm, the diagnostic device transmits a signal requesting information for security release to the ECU. The ECU provides first security information for the request signal to a diagnostic device, and the diagnostic device generates second security information using the first security information and transmits it to the ECU. The ECU compares the second security information provided from the diagnostic device with the second security information possessed by the ECU and, if they match, releases the security.

이러한 보안 알고리즘의 해제과정을 수행하기 위해서는 수 초에서 수십 초가 소요되므로, 여러 프로그램에 대해 보안 알고리즘을 수행하면, 진단공정의 전체 소요시간이 길어진다. 게다가 보안 알고리즘의 해제과정에서 진단기가 가지고 있는 보안정보와 ECU가 가지고 있는 보안정보가 불일치하는 경우, 보안 해제과정이 실패하고, 실패 횟수가 미리 설정된 횟수를 초과하면 소정의 시간을 대기해야 한다. 게다가 보안 알고리즘은 각 생산업체에서 설정되어 납품되기 때문에 보안 알고리즘을 해제하지 못하는 경우, 공정라인에서는 해결하기가 어려워 생산업체에 도움을 요청해야 한다. 따라서, 보안 알고리즘의 해제와 실패로 인한 대기에 의해 전체 생산공정이 길어지므로, 생산성이 저하되고 이는 원가상승으로 이어진다. Since it takes several seconds to tens of seconds to perform the unlocking process of such a security algorithm, if the security algorithm is performed for several programs, the overall time required for the diagnosis process is lengthened. In addition, when the security information of the diagnostic device and the security information of the ECU are inconsistent during the security algorithm release process, the security release process fails, and if the number of failures exceeds a preset number, a predetermined time must be waited. In addition, since the security algorithm is set and delivered by each manufacturer, if the security algorithm cannot be released, it is difficult to solve it in the process line, so you must ask the manufacturer for help. Therefore, the entire production process is lengthened by the wait due to the release and failure of the security algorithm, which leads to a decrease in productivity, which leads to an increase in cost.

본 발명은, 초기에 차량의 동작을 위한 프로그램들을 설치한 후, 보안이 설정되지 않은 상태에서 각 프로그램들을 진단하고, 진단이 완료되면 보안을 설정하도록 함으로써, 각 프로그램들의 진단시 보안을 해제하기 위해 소요되는 시간을 감소시켜 생산성 향상을 도모할 수 있도록 하는 차량 진단 시스템 및 방법을 제안한다. The present invention diagnoses each program in a state in which security is not set after initial installation of programs for operation of a vehicle, and sets security when the diagnosis is completed, in order to release security when diagnosing each program. A vehicle diagnosis system and method are proposed that reduce the time required to improve productivity.

상기 목적은, 외부의 진단기와 통신하는 통신부; 차량의 동작을 위한 프로그램들이 설치되면, 상기 진단기와의 통신을 통해 상기 프로그램들의 진단을 위한 동작을 수행하는 진단제어부; 및 상기 프로그램들의 진단이 완료되면, 상기 프로그램들에 대한 보안설정여부를 결정하는 진단비교부;를 포함하는 것을 특징으로 하는 차량 진단 시스템에 의해 달성될 수 있다. The object is a communication unit that communicates with an external diagnostic device; When programs for operation of the vehicle are installed, the diagnosis control unit performs an operation for diagnosis of the programs through communication with the diagnosis device; And a diagnosis comparison unit that determines whether or not to set security for the programs when diagnosis of the programs is completed.

상기 목적은, 차량의 동작을 위한 프로그램들이 설치되는 단계; 상기 프로그램들의 진단을 위한 동작을 수행하는 진단단계; 및 상기 프로그램들의 진단이 완료되면, 상기 프로그램들에 대한 보안설정여부를 결정하는 보안결정단계;를 포함하는 것을 특징으로 하는 차량 진단 방법에 의해서도 달성될 수 있다. The object is to install programs for operation of the vehicle; A diagnostic step of performing an operation for diagnosing the programs; And a security decision step of determining whether or not to set security for the programs when the diagnosis of the programs is completed.

본 발명에서는 초기 프로그램들의 설치후, 보안이 설정되지 아니한 상태에서 각 프로그램들의 동작을 진단하는 진단공정이 수행되도록 한 다음, 미리 설정된 패턴대로 진단공정이 수행된 경우에는 보안이 설정되도록 한다. 이에 따라, 진단공정이 수행되는 동안에는 보안이 설정된 프로그램이 없기 때문에 보안 해제를 위한 별도의 시간이 소요되지 아니하므로, 진단공정을 포함하는 생산공정을 신속하게 수행할 수 있으며, 원가상승을 방지할 수 있다. In the present invention, after installation of initial programs, a diagnostic process for diagnosing the operation of each program is performed in a state in which security is not set, and security is set when the diagnostic process is performed according to a preset pattern. Accordingly, since there is no security program during the diagnosis process, it does not take a separate time for security release, so the production process including the diagnosis process can be quickly performed, and cost increase can be prevented. have.

도 1은 본 발명에 따른 차량 진단 시스템의 구성블록도,
도 2는 도 1의 차량 진단 시스템에서 실시 진단패턴과 기준 진단패턴을 비교하는 구성을 보인 블록도,
도 3은 도 1의 차량 진단 시스템에서 프로그램 설치 초기에 차량을 진단하고 보안을 설정하는 과정을 보인 흐름도이다.
1 is a block diagram of a vehicle diagnosis system according to the present invention;
FIG. 2 is a block diagram showing a configuration for comparing an implementation diagnosis pattern and a reference diagnosis pattern in the vehicle diagnosis system of FIG. 1;
FIG. 3 is a flowchart illustrating a process of diagnosing a vehicle and setting security at the initial stage of program installation in the vehicle diagnosis system of FIG. 1.

이하, 본 발명의 일부 실시예들을 예시적인 도면을 통해 상세하게 설명한다. 각 도면의 구성 요소들에 참조부호를 부가함에 있어서, 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. 또한, 본 발명을 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다.Hereinafter, some embodiments of the present invention will be described in detail through exemplary drawings. In adding reference numerals to elements of each drawing, it should be noted that the same elements are assigned the same numerals as possible, even if they are indicated on different drawings. In addition, in describing the present invention, when it is determined that a detailed description of a related known configuration or function may obscure the subject matter of the present invention, a detailed description thereof will be omitted.

또한, 본 발명의 구성 요소를 설명하는 데 있어서, 제 1, 제 2, A, B, (a), (b) 등의 용어를 사용할 수 있다. 이러한 용어는 그 구성 요소를 다른 구성 요소와 구별하기 위한 것일 뿐, 그 용어에 의해 해당 구성 요소의 본질이나 차례 또는 순서 등이 한정되지 않는다. 어떤 구성 요소가 다른 구성요소에 "연결", "결합" 또는 "접속"된다고 기재된 경우, 그 구성 요소는 그 다른 구성요소에 직접적으로 연결되거나 또는 접속될 수 있지만, 각 구성 요소 사이에 또 다른 구성 요소가 "연결", "결합" 또는 "접속"될 수도 있다고 이해되어야 할 것이다.In addition, in describing the constituent elements of the present invention, terms such as first, second, A, B, (a) and (b) may be used. These terms are for distinguishing the constituent element from other constituent elements, and the nature, order, or order of the constituent element is not limited by the term. When a component is described as being "connected", "coupled" or "connected" to another component, the component may be directly connected or connected to that other component, but another component between each component It will be understood that elements may be “connected”, “coupled” or “connected”.

도 1은 본 발명에 따른 차량 진단 시스템의 블록구성도이다. 1 is a block diagram of a vehicle diagnosis system according to the present invention.

본 발명에 따른 차량 진단 시스템(1)은, 차량의 동작을 위한 프로그램들을 설치한 후, 보안이 설정되지 아니한 상태에서 프로그램들이 정상적으로 동작하는지를 진단하여 실시 진단패턴을 생성하고, 실시 진단패턴이 미리 설정된 기준 진단패턴과 일치하는지 여부에 따라 보안 설정여부를 결정하도록 한다. In the vehicle diagnosis system 1 according to the present invention, after installing programs for the operation of the vehicle, it diagnoses whether the programs normally operate in a state in which security is not set to generate an execution diagnosis pattern, and the execution diagnosis pattern is set in advance. Determine whether or not to set security according to whether or not it matches the standard diagnosis pattern.

본 차량 진단 시스템(1)은, 진단기(50)와 차량의 ECU(10)를 포함할 수 있다.The vehicle diagnosis system 1 may include a diagnosis device 50 and an ECU 10 of a vehicle.

진단기(50)는 자동차 또는 단품의 생산공정에서 마지막으로 이루어지는 진당공정에 사용되는 장비로서, 차량 진단용 프로토콜을 이용하여 ECU(10)와의 통신하여 ECU(10)에 설치된 프로그램들이 정상적으로 작동하는지 검사한다. The diagnostic device 50 is an equipment used in the final diagnosis process in the production process of a vehicle or a single product, and checks whether programs installed in the ECU 10 operate normally by communicating with the ECU 10 using a vehicle diagnosis protocol.

차량의 ECU(10)는, 외부의 진단기(50)와 통신하는 통신부(15), 진단기(50)에서 생성된 진단정보를 임시저장하는 임시저장부(20), 임시저장부(20)에 저장된 진단정보를 저장하는 진단결과 저장부(25), 기준 진단패턴이 저장된 기준패턴 저장부(30), 진단기(50)로부터의 요청에 따라 진단동작을 수행하는 진단제어부(35), 기준 진단패턴과 진단기(50)에서 실시된 진단정보를 비교하여 보안 설정 여부를 결정하는 진단비교부(40), 보안을 설정 및 해제하는 보안제어부(45)를 포함할 수 있다. The ECU 10 of the vehicle is stored in the communication unit 15 that communicates with the external diagnosis unit 50, the temporary storage unit 20 temporarily storing the diagnosis information generated by the diagnosis unit 50, and the temporary storage unit 20. A diagnosis result storage unit 25 storing diagnosis information, a reference pattern storage unit 30 storing a reference diagnosis pattern, a diagnosis control unit 35 performing a diagnosis operation according to a request from the diagnosis device 50, a reference diagnosis pattern, and A diagnosis comparison unit 40 that compares diagnosis information performed by the diagnosis device 50 to determine whether to set security, and a security control unit 45 that sets and releases security.

통신부(15)는, 차량용 통신 프로토콜인 CAN (Controller Area Network), LIN (Local Interconnect Network), Flexray 중 하나를 사용하여 외부의 진단기(50)와 통신할 수 있으며, ECU(10)와 진단기(50) 간의 정보 교환을 지원한다. The communication unit 15 may communicate with an external diagnostic device 50 using one of vehicle communication protocols CAN (Controller Area Network), LIN (Local Interconnect Network), and Flexray, and the ECU 10 and the diagnostic device 50 ) To support the exchange of information.

임시저장부(20)는 휘발성 메모리로 형성되며, 진단기(50)에서 차량에 설치된 프로그램들을 진단하여 생성된 실시 진단패턴들과 진단결과를 일시적으로 저장한다. The temporary storage unit 20 is formed of a volatile memory, and temporarily stores execution diagnosis patterns and diagnosis results generated by diagnosing programs installed in the vehicle by the diagnosis device 50.

차량에 설치된 각 프로그램은 프로그램의 정상작동여부를 확인하기 위한 고유의 진단패턴에 따라 진단되며, 진단기(50)에서는 고유의 진단패턴에 따라 각 프로그램을 진단하여 실시 진단패턴과 진단결과를 생성하게 된다. 각 프로그램은 그 기능이 상이하므로 각각의 실시 진단패턴을 갖게 되고, 이에 따라, 차량에 N개의 프로그램이 설치된 경우, 진단기(50)에서 각 프로그램들을 진단하면 N개의 실시 진단패턴이 생성될 수 있다. Each program installed in the vehicle is diagnosed according to a unique diagnosis pattern to check whether the program is operating normally, and the diagnosis device 50 diagnoses each program according to its own diagnosis pattern to generate an implementation diagnosis pattern and diagnosis result. . Since each program has a different function, each program has a respective implementation diagnosis pattern. Accordingly, when N programs are installed in the vehicle, N implementation diagnosis patterns may be generated when each program is diagnosed by the diagnostic device 50.

따라서, 임시저장부(20)에는 한번의 진단공정이 수행되면, N개의 실시 진단패턴이 순차적으로 저장된다. 임시저장부(20)에 저장된 N개의 실시 진단패턴과 지난결과는 진단결과 저장부(25)로 전달되어 저장된다. Accordingly, when one diagnosis process is performed in the temporary storage unit 20, N implementation diagnosis patterns are sequentially stored. The N execution diagnosis patterns and past results stored in the temporary storage unit 20 are transferred to and stored in the diagnosis result storage unit 25.

진단결과 저장부(25)는 비휘발성 메모리로 형성되며, 임시저장부(20)에 임시저장된 N개의 실시 진단패턴 및 진단결과를 제공받아 저장할 수 있다. The diagnosis result storage unit 25 is formed of a nonvolatile memory, and may receive and store N execution diagnosis patterns and diagnosis results temporarily stored in the temporary storage unit 20.

진단결과 저장부(25)에는, 하나의 루틴으로 완료된 진단공정에 대해 N개의 실시 진단패턴을 제공받으며, N개의 실시 진단패턴을 하나의 파일로 모아 저장할 수 있다. 즉, 진단공정이 여러번 이루어지면, 진단결과 저장부(25)에는 각 진단공정에서 생성된 N개의 실시 진단패턴들을 하나의 파일로 묶은 다수의 파일이 저장된다. 이때, 진단공정은 동일한 날짜에 여러번 이루어질 수도 있고, 다른 날짜에 이루어질 수도 있으므로, 진단공정을 날짜와 시행횟수에 따라 구분하여 저장하는 것이 바람직하다. 이렇게 진단결과 저장부(25)에 저장된 실시 진단패턴 및 진단결과는 차량의 진단 히스토리를 형성하며, 언제든지 필요에 따라 인출하여 차량의 진단 히스토리를 확인할 수 있다. The diagnosis result storage unit 25 may receive N execution diagnosis patterns for a diagnosis process completed with one routine, and may collect and store the N execution diagnosis patterns as a single file. That is, when the diagnosis process is performed several times, the diagnosis result storage unit 25 stores a plurality of files in which N implementation diagnosis patterns generated in each diagnosis process are grouped into one file. At this time, since the diagnosis process may be performed several times on the same day or on different days, it is preferable to store the diagnosis process separately according to the date and the number of trials. In this way, the implementation diagnosis pattern and the diagnosis result stored in the diagnosis result storage unit 25 form a diagnosis history of the vehicle, and can be retrieved at any time to check the diagnosis history of the vehicle.

기준패턴 저장부(30)는 비휘발성 메모리로 형성되며, 진단공정시 각 프로그램에 대해 미리 설정된 다수의 기준 진단패턴이 저장되어 있다. 각 기준 진단패턴은, 차량에 설치된 각 프로그램들을 진단하는 내용이 포함되어 있으며, 하나의 프로그램에 대해 하나의 기준 진단패턴이 생성되어 있다. 각 기준 진단패턴은 진단기(50)에서 생성된 실시 진단패턴과 비교되어 진단공정의 수행시 각 프로그램에 대한 진단이 제대로 이루어졌는지를 판단하는 기준이 될 수 있다. 각 기준 진단패턴은 설계자에 의해 변경될 수 있으며, 변경된 기준 진단패턴에 따라 진단기(50)에서 실시하는 진단패턴도 변경되어야 한다. The reference pattern storage unit 30 is formed of a nonvolatile memory, and stores a plurality of reference diagnosis patterns preset for each program during the diagnosis process. Each reference diagnosis pattern includes contents for diagnosing each program installed in the vehicle, and one reference diagnosis pattern is generated for one program. Each reference diagnosis pattern may be compared with an implementation diagnosis pattern generated by the diagnosis device 50 to serve as a criterion for determining whether diagnosis for each program is properly performed when the diagnosis process is performed. Each reference diagnosis pattern may be changed by a designer, and a diagnosis pattern performed by the diagnosis device 50 must also be changed according to the changed reference diagnosis pattern.

진단제어부(35)는, 진단기(50)로부터의 진단요청신호에 따라 각 프로그램들의 동작을 제어하고, 제어된 결과를 진단기(50)로 전달할 수 있다. 이때, 진단기(50)에서는 진단제어부(35)로부터 각 프로그램들에서 수행된 제어결과를 제공받으면, 각 프로그램들이 제대로 동작하고 있는지를 판단할 수 있다. The diagnosis control unit 35 may control the operation of each program according to a diagnosis request signal from the diagnosis unit 50 and transmit the controlled result to the diagnosis unit 50. In this case, when the diagnostic device 50 receives control results performed in each of the programs from the diagnostic control unit 35, it is possible to determine whether each program is operating properly.

예를 들어, 진단기(50)에서 모터의 동작을 제어할 것을 진단제어부(35)로 요청하면, 진단제어부(35)에서는 모터의 동작을 제어하고, 제어결과를 진단기(50)로 전달한다. 이때, 진단기(50)에서는 실시 진단패턴을 이용하여 모터의 동작을 제어하도록 진단제어부(35)에 요청한다. 진단기(50)에서는 진단제어부(35)에서 실시 진단패턴에 따라 수행한 모터의 제어결과를 제공받아 모터가 제대로 동작하는지를 판단한다. 판단결과, 모터가 제대로 제어되고 있으면, 진단기(50)에서는 다음 객체에 대한 진단요청신호를 진단제어부(35)로 전달한다. 반면, 모터가 제대로 제어되고 있지 아니하면, 진단기(50)에서는 모터의 동작이 제대로 수행되지 않았으므로, 이를 처리할 것을 요청하는 메시지를 진단기(50)에 표시하게 된다. For example, if the diagnosis control unit 35 requests that the diagnosis unit 50 control the operation of the motor, the diagnosis control unit 35 controls the operation of the motor and transmits the control result to the diagnosis unit 50. At this time, the diagnosis device 50 requests the diagnosis control unit 35 to control the operation of the motor using the implementation diagnosis pattern. The diagnostic device 50 receives the control result of the motor performed by the diagnostic control unit 35 according to the diagnostic pattern implemented and determines whether the motor is operating properly. As a result of the determination, if the motor is properly controlled, the diagnosis device 50 transmits a diagnosis request signal for the next object to the diagnosis control unit 35. On the other hand, if the motor is not properly controlled, the diagnostic device 50 displays a message requesting processing of the motor because the motor has not been properly operated.

진단비교부(40)는, 도 2에 도시된 바와 같이, 임시저장부(20)에 저장된 각 실시 진단패턴과, 기준패턴 저장부(30)에 저장된 각 기준 진단패턴을 인출하여 상호 비교하고, 비교결과에 따라 보안 설정 여부를 결정할 수 있다. As shown in FIG. 2, the diagnosis and comparison unit 40 retrieves each implementation diagnosis pattern stored in the temporary storage unit 20 and each reference diagnosis pattern stored in the reference pattern storage unit 30, and compares them with each other. Depending on the result, it is possible to decide whether to set security or not.

진단비교부(40)는, 각 실시 진단패턴과 각 기준 진단패턴이 일치하면, 보안을 설정할 것을 결정하고, 각 실시 진단패턴과 각 기준 진단패턴이 일치하지 아니하면, 진단기(50)로 명령신호를 전달하여 진단을 다시 실시할 것을 요청할 수 있다. The diagnosis and comparison unit 40 determines to set security when each implementation diagnosis pattern and each reference diagnosis pattern match, and when each implementation diagnosis pattern and each reference diagnosis pattern do not match, the diagnosis and comparison unit 40 transmits a command signal to the diagnosis device 50. Can be communicated and requested to re-do the diagnosis.

이러한 진단비교부(40)는 진단기(50)에서 진단을 시작하고, 하나의 프로그램에 대한 진단이 완료되어 하나의 실시 진단패턴이 생성되고, 임시저장부(20)에 실시 진단패턴이 저장되면, 임시저장부(20)에 저장된 실시 진단패턴과, 해당 프로그램에 대한 기준 진단패턴을 기준패턴 저장부(30)로부터 인출한다. 그런 다음, 진단비교부(40)는 실시 진단패턴과 기준 진단패턴을 비교하여 양자가 일치하는지 여부를 확인할 수 있다. When the diagnosis and comparison unit 40 starts diagnosis in the diagnosis unit 50, diagnosis of one program is completed, one execution diagnosis pattern is generated, and the execution diagnosis pattern is stored in the temporary storage unit 20, a temporary The implementation diagnosis pattern stored in the storage unit 20 and the reference diagnosis pattern for the corresponding program are retrieved from the reference pattern storage unit 30. Then, the diagnosis comparison unit 40 may compare the implementation diagnosis pattern and the reference diagnosis pattern to determine whether the two are identical.

진단비교부(40)에서 모든 실시 진단패턴과 모든 기준 진단패턴이 일치한다고 판단되면, 진단비교부(40)는 보안제어부(45)로 보안을 설정하라는 신호를 제공할 수 있다. When the diagnosis and comparison unit 40 determines that all the implementation diagnosis patterns and all the reference diagnosis patterns match, the diagnosis and comparison unit 40 may provide a signal to the security control unit 45 to set security.

보안제어부(45)는, 차량에 설치된 프로그램 중 보안이 필요한 프로그램에만 보안을 설정할 수도 있고, 프로그램 전부에 대해 보안을 설정할 수도 있다. The security control unit 45 may set security only for programs that require security among programs installed in the vehicle, or may set security for all programs.

보안제어부(45)는, 보안이 설정된 프로그램에 대해 추후에 진단서비스를 수행할 때, 미리 설정된 보안해제과정을 통해 보안을 해제할 수 있다. The security control unit 45 may release the security through a preset security release process when performing a diagnostic service on a program for which security is set later.

진단기(50)가 보안제어부(45)에 랜덤 시드(random seed)를 요청하면, 보안제어부(45)는 요청에 포함된 정보를 이용하여 요청이 정당한 것인지 확인하고, 정당한 것이면 시드(seed)를 생성하여 진단기(50)로 전송한다. 진단기(50)와 보안제어부(45)는 생성된 시드를 이용하여 키(key) 값을 각각 계산하고, 진단기(50)는 키 값을 보안제어부(45)로 전송한다. 보안제어부(45)에서는 진단기(50)에서 생성된 키 값과 보안제어부(45)에서 생성된 키 값이 동일하면, 보안을 해제한다. When the diagnostic device 50 requests a random seed from the security control unit 45, the security control unit 45 checks whether the request is legitimate by using the information included in the request, and generates a seed if it is legitimate. Then, it is transmitted to the diagnostic device 50. The diagnostic device 50 and the security control unit 45 respectively calculate a key value using the generated seed, and the diagnostic device 50 transmits the key value to the security control unit 45. The security control unit 45 releases the security when the key value generated by the diagnostic device 50 and the key value generated by the security control unit 45 are the same.

이러한 구성에 의한 차량 진단 시스템(1)에서 초기에 차량을 진단하고 보안을 설정하는 과정을 도 3을 참조하여 설명하면 다음과 같다. A process of initially diagnosing a vehicle and setting security in the vehicle diagnosis system 1 having such a configuration will be described below with reference to FIG. 3.

초기에 차량의 ECU(10)에 모터, 센서 등의 동작을 제어하기 위한 프로그램들이 설치되면(S300), 프로그램들이 제대로 동작하기 위한 진단공정을 수행하기 위해 진단기(50)를 ECU(10)에 연결한다. Initially, if programs for controlling the operation of motors and sensors are installed in the ECU 10 of the vehicle (S300), the diagnostic device 50 is connected to the ECU 10 in order to perform a diagnostic process for the programs to operate properly. do.

진단기(50)가 ECU(10)에 연결되어 진단공정이 시작되면(S310), 진단기(50)에서는 각 프로그램들의 동작을 요청하는 신호를 ECU(10)로 전달하고, ECU(10)의 진단제어부(35)에서는 진단기(50)에서 요청한대로 각 프로그램들을 동작시킨 다음, 수행결과를 진단기(50)로 전달한다. 그러면, 진단기(50)에서는 수행결과를 이용하여 프로그램이 제대로 동작하는지를 판단할 수 있다. ECU(10)에서는 진단기(50)에서 프로그램의 진단을 위해 요청한 동작들을 실시 진단패턴에 대한 정보로 임시저장부(20)에 저장한다(S320). When the diagnostic device 50 is connected to the ECU 10 and the diagnostic process starts (S310), the diagnostic device 50 transmits a signal requesting the operation of each program to the ECU 10, and the diagnostic control unit of the ECU 10 In (35), each program is operated as requested by the diagnostic device 50, and then the execution result is transmitted to the diagnostic device 50. Then, the diagnostic device 50 may determine whether the program is operating properly using the execution result. The ECU 10 stores operations requested for diagnosis of a program from the diagnosis device 50 in the temporary storage unit 20 as information on an execution diagnosis pattern (S320).

만약 프로그램이 제대로 동작하지 아니한 경우(S330), 진단기(50)는 프로그램의 수정이 필요하다는 메시지를 진단기(50)의 화면에 표시하는 한편(S335), ECU(10)로 메시지를 전달하여 진단결과 저장부(25)에 저장되도록 한다. 그리고 진단기(50)는 해당 프로그램에 대한 수정이 이루어질 때까지 진단공정을 중지시킨다. If the program does not operate properly (S330), the diagnostic device 50 displays a message indicating that the program needs to be modified on the screen of the diagnostic device 50 (S335), and transmits the message to the ECU 10 to obtain a diagnosis result. It is to be stored in the storage unit 25. In addition, the diagnostic device 50 stops the diagnostic process until the corresponding program is modified.

프로그램이 제대로 동작하여 임시저장부(20)에 실시 진단패턴과 진단결과가 저장되면, 진단비교부(40)에서는 임시저장부(20)에 저장된 프로그램에 대한 실시 진단패턴과 기준패턴 저장부(30)에 저장된 기준 진단패턴을 비교한다(S340). 실시 진단패턴과 기준 진단패턴이 일치하면, 진단비교부(40)에서는 보안제어부(45)로 보안을 설정하라는 메시지를 전달한다. 보안제어부(45)에서는 미리 설정된 보안과정을 통해 보안을 설정한다(S350). When the program is properly operated and the execution diagnosis pattern and the diagnosis result are stored in the temporary storage unit 20, the diagnosis comparison unit 40 includes the execution diagnosis pattern and reference pattern storage unit 30 for the program stored in the temporary storage unit 20. The reference diagnostic pattern stored in the is compared (S340). If the implementation diagnosis pattern and the reference diagnosis pattern match, the diagnosis and comparison unit 40 transmits a message to the security control unit 45 to set security. The security control unit 45 sets security through a preset security process (S350).

한편, 실시 진단패턴과 기준 진단패턴이 일치하지 아니하면, 진단비교부(40)에서는 진단 순서가 잘못되었다는 메시지를 진단기(50)로 전송하여 진단공정이 다시 이루어지도록 한다(S345). On the other hand, if the implementation diagnosis pattern and the reference diagnosis pattern do not match, the diagnosis comparison unit 40 transmits a message indicating that the diagnosis order is wrong to the diagnosis unit 50 so that the diagnosis process is performed again (S345).

그런 다음, 진단비교부(40)에서는 모든 프로그램에 대한 진단이 완료되었는지를 확인한다(S360). 모든 프로그램에 대한 진단이 완료되면, 진단공정을 완료한다. Then, the diagnosis comparison unit 40 checks whether the diagnosis for all programs is completed (S360). When the diagnosis for all programs is completed, the diagnosis process is completed.

이렇게 진단공정의 완료후 각 프로그램에 보안이 설정되면, 이후에 진단공정이 필요할 경우에는 보안을 해제하는 과정이 선행되어야 한다. If security is set for each program after completion of the diagnosis process, if the diagnosis process is required later, the process of canceling the security must be preceded.

이와 같이, 본 발명에서는 초기 프로그램들의 설치후, 보안이 설정되지 아니한 상태에서 진단기(50)를 연결하여 각 프로그램들의 동작을 진단하는 진단공정이 수행되도록 한 다음, 진단기(50)에서의 진단공정이 미리 설정된 패턴대로 수행된 경우에는 보안이 설정되도록 한다. 이에 따라, 진단공정이 수행되는 동안에는 보안이 설정된 프로그램이 없기 때문에 보안프로그램의 해제를 위한 별도의 시간이 소요되지 아니하므로, 진단공정을 포함하는 생산공정을 신속하게 수행할 수 있으며, 원가상승을 방지할 수 있다. As described above, in the present invention, after installation of the initial programs, the diagnostic process of diagnosing the operation of each program is performed by connecting the diagnostic device 50 in a state in which security is not set, and then the diagnostic process in the diagnostic device 50 is performed. If it is performed according to a preset pattern, security is set. Accordingly, since there is no security program during the diagnosis process, it does not take a separate time for canceling the security program, so the production process including the diagnosis process can be quickly performed, and the cost increase can be prevented. can do.

전술한 실시예에서 언급한 표준내용 또는 표준문서들은 명세서의 설명을 간략하게 하기 위해 생략한 것으로 본 명세서의 일부를 구성한다. 따라서, 위 표준내용 및 표준문서들의 일부의 내용을 본 명세서에 추가하거나 청구범위에 기재하는 것은 본 발명의 범위에 해당하는 것으로 해석되어야 한다. The standard contents or standard documents mentioned in the above-described embodiments are omitted to simplify the description of the specification and constitute a part of the present specification. Accordingly, it should be construed as falling within the scope of the present invention to add the contents of the standard contents and some of the standard documents to the present specification or to describe in the claims.

이상의 설명은 본 발명의 기술사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. 따라서, 본 발명에 개시된 실시예들은 본 발명의 기술사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 발명의 기술사상의 범위가 한정되는 것은 아니다. 본 발명의 보호범위는 아래의 청구범위에 의하여 해석되어야하며, 그와 동등한 범위내에 있는 모든 기술사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.The above description is merely illustrative of the technical idea of the present invention, and those of ordinary skill in the art to which the present invention pertains will be able to make various modifications and variations without departing from the essential characteristics of the present invention. Accordingly, the embodiments disclosed in the present invention are not intended to limit the technical idea of the present invention, but to explain the technical idea, and the scope of the technical idea of the present invention is not limited by these embodiments. The scope of protection of the present invention should be interpreted by the following claims, and all technical ideas within the scope equivalent thereto should be construed as being included in the scope of the present invention.

1 : 차량 진단 시스템 10 : ECU
15 : 통신부 20 : 임시저장부
25 : 진단결과 저장부 30 : 기준패턴 저장부
35 : 제어부 40 : 진단비교부
45 : 보안제어부 50 : 진단기
1: vehicle diagnostic system 10: ECU
15: communication unit 20: temporary storage unit
25: diagnosis result storage unit 30: reference pattern storage unit
35: control unit 40: diagnosis and comparison unit
45: security control unit 50: diagnostic device

Claims (10)

외부의 진단기와 통신하는 통신부;
차량의 동작을 위한 프로그램들이 설치되면, 보안이 설정되지 아니한 상태에서 상기 진단기와의 통신을 통해 상기 프로그램들의 진단을 위한 동작을 수행하는 진단제어부; 및
상기 프로그램들의 진단이 완료되면, 상기 프로그램들에 대한 보안설정여부를 결정하는 진단비교부;를 포함하고,
상기 진단비교부는, 각 프로그램의 진단시 생성되며 상기 각 프로그램의 진단내용을 포함하는 실시 진단패턴과, 상기 각 프로그램에 대해 미리 설정된 기준 진단패턴을 비교하는 것을 특징으로 하는 차량 진단 시스템.
A communication unit that communicates with an external diagnostic device;
A diagnostic control unit configured to perform an operation for diagnosing the programs through communication with the diagnostic device in a state in which security is not set when programs for operating the vehicle are installed; And
When the diagnosis of the programs is completed, a diagnosis comparison unit that determines whether or not to set security for the programs; Including,
The diagnostic comparison unit is a vehicle diagnostic system, characterized in that for comparing the execution diagnostic pattern, which is generated when each program is diagnosed and includes the diagnostic contents of each program, and a reference diagnostic pattern set in advance for each program.
삭제delete ◈청구항 3은(는) 설정등록료 납부시 포기되었습니다.◈◈ Claim 3 was abandoned upon payment of the set registration fee.◈ 제1항에 있어서,
상기 진단비교부는 상기 각 프로그램에 대해 상기 실시 진단패턴과 상기 기준 진단패턴이 일치하면, 상기 각 프로그램에 대한 보안을 결정하는 것을 특징으로 하는 차량 진단 시스템.
The method of claim 1,
And the diagnostic comparison unit determines security for each program when the implementation diagnosis pattern and the reference diagnosis pattern match for each program.
◈청구항 4은(는) 설정등록료 납부시 포기되었습니다.◈◈ Claim 4 was abandoned upon payment of the set registration fee. 제1항에 있어서,
상기 진단비교부는, 상기 실시 진단패턴과 상기 기준 진단패턴이 일치하지 않는 경우, 상기 진단기로 재진단을 요청하는 것을 특징으로 하는 차량 진단 시스템.
The method of claim 1,
The diagnosis comparing unit, when the implementation diagnosis pattern and the reference diagnosis pattern do not match, requesting a re-diagnosis by the diagnosis system.
제1항에 있어서,
상기 각 프로그램에 대한 실시 진단패턴을 임시저장하는 임시저장부와, 상기 기준 진단패턴이 저장된 기준패턴 저장부를 더 포함하는 것을 특징으로 하는 차량 진단 시스템.
The method of claim 1,
And a temporary storage unit for temporarily storing an implementation diagnosis pattern for each program, and a reference pattern storage unit in which the reference diagnosis pattern is stored.
제1항에 있어서,
상기 진단비교부로부터의 결정에 따라 상기 각 프로그램의 보안을 설정하는 보안제어부를 더 포함하는 것을 특징으로 하는 차량 진단 시스템.
The method of claim 1,
And a security control unit configured to set the security of each program according to a decision from the diagnosis and comparison unit.
차량의 동작을 위한 프로그램들이 설치되는 단계;
보안이 설정되지 아니한 상태에서 상기 프로그램들의 진단을 위한 동작을 수행하는 진단단계; 및
상기 프로그램들의 진단이 완료되면, 상기 프로그램들에 대한 보안설정여부를 결정하는 보안결정단계;를 포함하고,
상기 보안결정단계는, 각 프로그램의 진단시 생성되며 상기 각 프로그램의 진단내용을 포함하는 실시 진단패턴과, 상기 각 프로그램에 대해 미리 설정된 기준 진단패턴을 비교하는 단계를 포함하는 것을 특징으로 하는 차량 진단 방법.
Installing programs for operation of the vehicle;
A diagnosis step of performing an operation for diagnosing the programs in a state in which security is not set; And
When the diagnosis of the programs is completed, a security decision step of determining whether to set security for the programs; Including,
The security determination step includes comparing an implementation diagnosis pattern that is generated at the time of diagnosis of each program and includes diagnosis contents of each program and a reference diagnosis pattern set in advance for each program. Way.
삭제delete 제7항에 있어서,
상기 보안결정단계는, 상기 각 프로그램에 대해 상기 실시 진단패턴과 상기 기준 진단패턴이 일치하면, 상기 프로그램들에 대한 보안을 결정하는 단계를 포함하는 것을 특징으로 하는 차량 진단 방법.
The method of claim 7,
And the step of determining security includes determining security for the programs when the implementation diagnosis pattern and the reference diagnosis pattern are identical for each of the programs.
제7항에 있어서,
상기 보안결정단계는, 상기 실시 진단패턴과 상기 기준 진단패턴이 일치하지 않는 경우, 재진단을 요청하는 단계를 포함하는 것을 특징으로 하는 차량 진단 방법.
The method of claim 7,
And the step of determining security comprises requesting a re-diagnosis when the implementation diagnosis pattern and the reference diagnosis pattern do not match.
KR1020140162240A 2014-11-20 2014-11-20 Diagnostic system and method for vehicle KR102246322B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140162240A KR102246322B1 (en) 2014-11-20 2014-11-20 Diagnostic system and method for vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140162240A KR102246322B1 (en) 2014-11-20 2014-11-20 Diagnostic system and method for vehicle

Publications (2)

Publication Number Publication Date
KR20160060269A KR20160060269A (en) 2016-05-30
KR102246322B1 true KR102246322B1 (en) 2021-04-29

Family

ID=57124481

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140162240A KR102246322B1 (en) 2014-11-20 2014-11-20 Diagnostic system and method for vehicle

Country Status (1)

Country Link
KR (1) KR102246322B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003283494A (en) * 2002-03-27 2003-10-03 Ntt Docomo Inc Access control method of communication terminal, certification program providing device, management device and communication terminal
JP2007065893A (en) 2005-08-30 2007-03-15 Mitsubishi Electric Corp Program provision device and onboard information system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110059420A (en) * 2009-11-27 2011-06-02 한국전자통신연구원 Apparatus and method for diagnosing of electronic control unit for vehicles
KR101295508B1 (en) * 2011-09-09 2013-08-23 주식회사 팬택 Method and Apparatus for operating an application in smart device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003283494A (en) * 2002-03-27 2003-10-03 Ntt Docomo Inc Access control method of communication terminal, certification program providing device, management device and communication terminal
JP2007065893A (en) 2005-08-30 2007-03-15 Mitsubishi Electric Corp Program provision device and onboard information system

Also Published As

Publication number Publication date
KR20160060269A (en) 2016-05-30

Similar Documents

Publication Publication Date Title
US9544300B2 (en) Method and system for providing device-specific operator data for an automation device in an automation installation
CN104572320B (en) Method for confirming correction program and information processing equipment
US10268557B2 (en) Network monitoring device, network system, and computer program product
CN106059754A (en) Vehicle data processing method and system, and devices
JP2018133743A (en) Monitoring device, communication system, vehicle, monitoring method, and computer program
US20180321929A1 (en) Method and system for software installation in a vehicle
CN107659948B (en) Method and device for controlling access of AP (access point)
WO2022017125A1 (en) Program flashing method and apparatus, vehicle, and storage medium
WO2020054396A1 (en) Relay device for vehicle
US10250434B2 (en) Electronic control apparatus
US20170026236A1 (en) A method and a system for the deterministic autoconfiguration of a device
KR102246322B1 (en) Diagnostic system and method for vehicle
JP6483461B2 (en) Management method, management program, management device, management system, and information processing method
JP6459851B2 (en) Electronic control device for vehicle
CN113411311B (en) ECU diagnosis authorization verification method, storage medium and system
JP2016112909A (en) On-vehicle network system
CN115118577A (en) Method and device for determining remote upgrade abnormal reason, electronic equipment and storage medium
JP7167579B2 (en) electronic controller
KR20220024905A (en) How to talk to a computer on the vehicle's onboard bus
CN114967634A (en) Processor diagnostic device, processor diagnostic method, and electronic apparatus
CN108845561B (en) Remote fault diagnosis method, remote fault diagnosis device and system
WO2018037894A1 (en) Authentication device for vehicles
US10402347B2 (en) Data processing device
JP6024604B2 (en) Communication device
JP4734096B2 (en) Elevator control system

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