KR20240039462A - method of analyzing and gathering vehicle data for CAN DataBase - Google Patents

method of analyzing and gathering vehicle data for CAN DataBase Download PDF

Info

Publication number
KR20240039462A
KR20240039462A KR1020220118071A KR20220118071A KR20240039462A KR 20240039462 A KR20240039462 A KR 20240039462A KR 1020220118071 A KR1020220118071 A KR 1020220118071A KR 20220118071 A KR20220118071 A KR 20220118071A KR 20240039462 A KR20240039462 A KR 20240039462A
Authority
KR
South Korea
Prior art keywords
vehicle
data
analysis
database
messages
Prior art date
Application number
KR1020220118071A
Other languages
Korean (ko)
Inventor
이택구
Original Assignee
주식회사 리트빅
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 리트빅 filed Critical 주식회사 리트빅
Priority to KR1020220118071A priority Critical patent/KR20240039462A/en
Publication of KR20240039462A publication Critical patent/KR20240039462A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40052High-speed IEEE 1394 serial bus
    • H04L12/40071Packet processing; Packet format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40013Details regarding a bus controller
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/40273Bus for use in transportation systems the transportation system being a vehicle

Abstract

본 발명은 CAN 통신에 연동하는 차량 장치의 설계에 필요한 CAN 데이터베이스 구축을 위해 CAN 통신 프로토콜 분석을 효과적으로 수행할 수 있는 차량용 데이터의 분석 및 수집 기술에 관한 것이다. 본 발명에 따르면 차량용 전자장치 설계를 위한 CAN 통신 프로토콜 분석을 효과적으로 수행할 수 있는 장점이 있다. 특히, 본 발명에 따르면 애프터마켓 업체들이 OEM으로부터 CAN 통신 프로토콜의 상세 사양을 제공받지 않더라도 신규 차량에 대한 CAN 데이터베이스를 효과적으로 구축할 수 있어 차량용 애프터마켓 제품을 빠르게 설계할 수 있고 제품의 품질도 제고할 수 있어 애프터마켓 제품 경쟁력 개선과 소비자 권익을 보호할 수 있는 장점이 있다. The present invention relates to vehicle data analysis and collection technology that can effectively perform CAN communication protocol analysis to build a CAN database necessary for the design of vehicle devices linked to CAN communication. According to the present invention, there is an advantage of effectively performing CAN communication protocol analysis for designing automotive electronic devices. In particular, according to the present invention, aftermarket companies can effectively build a CAN database for new vehicles even if they are not provided with detailed specifications of the CAN communication protocol from the OEM, allowing them to quickly design aftermarket products for vehicles and improve product quality. This has the advantage of improving the competitiveness of aftermarket products and protecting consumer rights.

Description

CAN 데이터베이스를 위한 차량용 데이터의 분석 및 수집 방법 {method of analyzing and gathering vehicle data for CAN DataBase}Method of analyzing and gathering vehicle data for CAN database {method of analyzing and gathering vehicle data for CAN DataBase}

본 발명은 CAN 통신에 연동하는 차량 장치의 설계에 필요한 CAN 데이터베이스 구축을 위해 CAN 통신 프로토콜 분석을 효과적으로 수행할 수 있는 차량용 데이터의 분석 및 수집 기술에 관한 것이다. The present invention relates to vehicle data analysis and collection technology that can effectively perform CAN communication protocol analysis to build a CAN database necessary for the design of vehicle devices linked to CAN communication.

일반적으로 차량 내부 통신을 위해서 CAN 통신이 사용된다. [도 1]은 일반적인 차량용 CAN 통신 시스템을 나타내는 개념도이다. CAN communication is generally used for internal vehicle communication. [Figure 1] is a conceptual diagram showing a general CAN communication system for vehicles.

CAN(Controller Area Network)은 차량 내에서 호스트 컴퓨터 없이 전자모듈이 서로 통신하기 위해 설계된 표준 통신 규격이다. 엔진 제어기(10), 변속기 제어기(20), 브레이크 제어기(30), 스티어링 제어기(40) 등과 같이 차량의 전자제어장치(ECU)는 CAN 프로토콜을 사용하여 통신한다. 또한, 차량의 각종 주변장치(50 ~ 70), 예컨대 네비게이션 장치, 블랙박스 장치, 헤드업 디스플레이(HUD) 장치, 서라운드뷰 모니터링(SVM) 장치 등도 CAN 통신에 의해 데이터를 주고받는다. CAN (Controller Area Network) is a standard communication standard designed to allow electronic modules to communicate with each other in a vehicle without a host computer. The vehicle's electronic control unit (ECU), such as the engine controller 10, transmission controller 20, brake controller 30, and steering controller 40, communicates using the CAN protocol. In addition, various peripheral devices (50 to 70) of the vehicle, such as navigation devices, black box devices, head-up display (HUD) devices, and surround view monitoring (SVM) devices, also exchange data through CAN communication.

[도 1]에 도시된 바와 같이 CAN 통신에서는 2가닥의 꼬임선(twisted pair wire)에 의해 CAN 버스(bus)를 구성하고 복수의 노드(10 ~ 70)가 이 CAN 버스에 병렬로 연결된다. CAN 통신 프로토콜에서 각 노드(10 ~ 70)는 CAN 버스에 메세지를 브로드캐스트 전송하고 CAN 버스로부터 자신에게 필요한 메세지를 선택적으로 수신한다.As shown in [Figure 1], in CAN communication, a CAN bus is formed by two twisted pair wires, and a plurality of nodes (10 to 70) are connected in parallel to this CAN bus. In the CAN communication protocol, each node (10 to 70) broadcasts and transmits messages to the CAN bus and selectively receives messages it needs from the CAN bus.

[도 2]는 CAN 통신 프로토콜에 따른 CAN 메세지의 내부 구성을 나타내는 도면이다. [Figure 2] is a diagram showing the internal structure of a CAN message according to the CAN communication protocol.

각 노드(10 ~ 70)는 자신의 CAN ID와 CAN Data를 담아 메세지를 송신하는데, CAN 메세지의 구체적인 사항은 각 회사(OEM사)마다 조금씩 상이하다. 그런데, CAN 메세지의 상세 사양은 해당 회사의 보안사항으로 외부의 애프터마켓 업체에게 공개하지 않는다. Each node (10 to 70) transmits a message containing its CAN ID and CAN Data, but the specific details of the CAN message are slightly different for each company (OEM company). However, the detailed specifications of the CAN message are not disclosed to external aftermarket companies due to the company's security concerns.

그에 따라, 애프터마켓 업체는 신규 차량이 출시될 때마다 해당 차량을 입수하고 그 차량에서 일어나는 CAN 통신의 프로토콜을 직접 분석 및 수집한다. 이 CAN 통신 프로토콜의 분석 결과에 기초하여 자신의 애프터마켓 제품인 HUD, 네비게이션, 블랙박스 등에 해당 차량에 대한 차량 연동 특화 기능을 구현한다. Accordingly, whenever a new vehicle is released, aftermarket companies acquire the vehicle and directly analyze and collect the CAN communication protocol that occurs in the vehicle. Based on the analysis results of this CAN communication protocol, specialized vehicle interlocking functions for the vehicle are implemented in the company's aftermarket products such as HUD, navigation, black box, etc.

[도 3]은 종래기술에서 CAN 통신 프로토콜을 분석하여 차량용 데이터를 수집하는 구성을 나타내는 예시도이다. [Figure 3] is an example diagram showing a configuration for collecting vehicle data by analyzing the CAN communication protocol in the prior art.

[도 3]을 참조하면, 분석 대상 차량(100)과 분석 엔지니어의 컴퓨터(200)를 예컨대 OBD(On-board diagnostics) 접속구(101)로 연결한다. 분석 엔지니어의 컴퓨터(200)에서는 CAN 프로토콜 분석 소프트웨어가 작동하고 있다. 분석 엔지니어의 컴퓨터(200)는 CAN 버스를 통해 오고가는 메세지들을 획득하며, CAN 프로토콜 분석 소프트웨어는 이렇게 획득한 CAN 메세지들을 분석한다. Referring to Figure 3, the analysis target vehicle 100 and the analysis engineer's computer 200 are connected, for example, through an OBD (On-board diagnostics) connector 101. CAN protocol analysis software is running on the analysis engineer's computer 200. The analysis engineer's computer 200 acquires messages passing through the CAN bus, and CAN protocol analysis software analyzes the CAN messages obtained in this way.

차량용 데이터의 분석에는 분석 대상 차량(100) 및 분석 엔지니어의 컴퓨터(200) 뿐만 아니라 CAN 프로토콜 분석 엔지니어의 실력이 매우 중요하다. CAN 프로토콜 분석 엔지니어는 CAN 통신의 수많은 데이터를 분석하여 유용한 정보를 추출한다. 일반적으로는 해당 OEM사의 기존 CAN 데이터베이스(CAN 통신의 프로토콜 데이터베이스)를 참조하거나 분석 대상 차량(100)을 이리저리 동작시켜가면서(예: 변속기 조작, 브레이크 조작) 그 과정에서 변경되는 데이터 값을 찾아간다.In analyzing vehicle data, the skills of the CAN protocol analysis engineer as well as the vehicle to be analyzed (100) and the analysis engineer's computer (200) are very important. CAN protocol analysis engineers analyze numerous data from CAN communications and extract useful information. In general, the OEM company's existing CAN database (CAN communication protocol database) is referred to or the vehicle 100 to be analyzed is operated here and there (e.g., transmission operation, brake operation) to find data values that change in the process.

이러한 CAN 메세지 분석을 통하여 컴퓨터(200)는 CAN 데이터베이스(DB)를 구축한다. CAN 데이터베이스는 각 노드(10 ~ 70) 별로 CAN 메세지에 포함된 정보를 수집한 데이터베이스이다. CAN 데이터베이스에는 각 노드(10 ~ 70)가 송수신하는 CAN 메세지의 구체적인 필드 사양이 포함된다. 예를 들어, 차량 속도, 차량 변속기 기어 상태, 와이퍼 동작 상태 등에 대응하여 CAN 메세지의 CAN Data 필드의 각 비트가 어떻게 채워지는지에 관한 정보를 CAN 데이터베이스로 구축한다. Through analysis of these CAN messages, the computer 200 builds a CAN database (DB). The CAN database is a database that collects information contained in CAN messages for each node (10 to 70). The CAN database includes specific field specifications of CAN messages transmitted and received by each node (10 to 70). For example, information on how each bit of the CAN Data field of a CAN message is filled in response to vehicle speed, vehicle transmission gear status, wiper operation status, etc. is built into a CAN database.

[도 4]는 차량용 CAN 메세지의 CAN Data 필드 사양의 예시도이고 [도 5]는 차량용 CAN 데이터베이스의 예시도이다. [Figure 4] is an example of the CAN Data field specifications of a vehicle CAN message, and [Figure 5] is an example of a vehicle CAN database.

[도 4]는 차량용 CAN 메세지의 CAN Data 필드 사양의 예시도로서 차량계기판(클러스터)의 차량 속도 및 차량 기어 상태에 관한 정보가 CAN Data 필드에 어떻게 반영되는지 구체적으로 나타낸다. [Figure 4] is an example of the CAN Data field specifications of a vehicle CAN message and specifically shows how information about the vehicle speed and vehicle gear status of the vehicle instrument panel (cluster) is reflected in the CAN Data field.

[도 5]는 차량용 CAN 데이터베이스의 예시도로서 1개 노드(예: 20)가 송수신하는 CAN 메세지별 신호 사양을 구체적으로 나타낸다. [도 5]를 참조하면 CAN 메세지에 포함된 데이터 값을 처리함에 있어서 여러가지 요소, 예컨대 몇 비트(bit)의 정보를 사용할지(Length), 데이터의 정렬 순서가 인텔 방식인지 아니면 모토로라 방식인지(Byte Order), 시그널의 값에 얼마의 환산값을 곱셈 연산할지(Factor) 등에 관한 정보가 포함되어 있다. 따라서, [도 5]와 같은 CAN 데이터베이스가 확보되어야 CAN 메세지를 활용할 수 있는 것이다. [Figure 5] is an example diagram of a vehicle CAN database and specifically shows signal specifications for each CAN message transmitted and received by one node (e.g., 20). Referring to [Figure 5], in processing the data value included in the CAN message, various factors are discussed, such as how many bits of information to use (Length) and whether the data sorting order is Intel or Motorola (Byte). Order) and how much the conversion value is to be multiplied by the signal value (Factor), etc. are included. Therefore, CAN messages can be utilized only when a CAN database as shown in [Figure 5] is secured.

일반적으로 OEM의 1차 부품사는 OEM으로부터 CAN 통신 프로토콜의 상세 사양을 제공받아 제품을 만들 수 있다. 반면, 애프터마켓 업체들은 OEM 업체로부터 CAN 통신 프로토콜의 상세 사양을 제공받지 못하므로 애프터마켓 제품(네비게이션 장치, 블랙박스 장치, HUD 장치, SVM 장치 등)을 만들기 위해서는 [도 3]의 구성을 통해 CAN 통신 프로토콜을 분석하여 CAN 데이터베이스를 구축해야 한다. 이 과정은 CAN 프로토콜 분석 엔지니어들이 자신의 경험을 살려 수백 개의 데이터 프로토콜을 직접 수동 분석하는 작업을 요구하며, 이를 통해 각 애프터마켓 업체마다 차량별 CAN 통신 프로토콜 정보를 습득하였다. 그리고, 신규 차종이 출시되면 이 소모적인 과정을 반복해야 한다.In general, the OEM's primary component company can manufacture products by receiving detailed specifications of the CAN communication protocol from the OEM. On the other hand, aftermarket companies do not receive detailed specifications of the CAN communication protocol from OEM companies, so in order to make aftermarket products (navigation devices, black box devices, HUD devices, SVM devices, etc.), CAN is required through the configuration shown in [Figure 3]. A CAN database must be built by analyzing the communication protocol. This process requires CAN protocol analysis engineers to manually analyze hundreds of data protocols using their experience, and through this, each aftermarket company acquired vehicle-specific CAN communication protocol information. And, when a new model is released, this exhausting process must be repeated.

대한민국 등록특허 10-1088798호(2011.11.25) "CAN 통신을 이용한 프로토콜 메시지 전송 방법"Republic of Korea Patent No. 10-1088798 (2011.11.25) “Protocol message transmission method using CAN communication” 대한민국 공개특허 10-2002-0097370호(2002.12.31) "하이브리드 전기 차량에서 CAN 통신을 이용한 표시장치 및 방법"Republic of Korea Patent Publication No. 10-2002-0097370 (2002.12.31) “Display device and method using CAN communication in hybrid electric vehicle”

본 발명의 목적은 CAN 통신에 연동하는 차량 장치의 설계에 필요한 CAN 데이터베이스 구축을 위해 CAN 통신 프로토콜 분석을 효과적으로 수행할 수 있는 차량용 데이터의 분석 및 수집 기술을 제공하는 것이다. The purpose of the present invention is to provide vehicle data analysis and collection technology that can effectively perform CAN communication protocol analysis in order to build a CAN database necessary for the design of vehicle devices linked to CAN communication.

본 발명의 해결 과제는 이 사항에 제한되지 않으며 본 명세서의 기재로부터 다른 해결 과제가 이해될 수 있다. The problem to be solved by the present invention is not limited to this matter, and other problems to be solved can be understood from the description in this specification.

상기의 목적을 달성하기 위하여 본 발명은 분석 수집 장치(300)가 CAN(Controller Area Network) 통신에 연동하는 차량 장치의 설계에 필요한 CAN 데이터베이스 구축을 위해 수행하는 차량용 데이터의 분석 및 수집 방법을 제공한다. In order to achieve the above object, the present invention provides a method of analyzing and collecting vehicle data performed by the analysis collection device 300 to build a CAN database necessary for the design of vehicle devices linked to CAN (Controller Area Network) communication. .

본 발명에 따른 CAN 데이터베이스를 위한 차량용 데이터의 분석 및 수집 방법은, 분석 수집 장치(300)의 데이터 수집부(310)가 분석 대상 차량(100)에 대한 차량 노드 단위의 일련의 차량 기능 조작에 대응하여 CAN 버스로 브로드캐스트 전송되는 다수의 CAN 메세지를 수집하는 차량용 데이터 수집 단계; 분석 수집 장치(300)의 데이터 분류부(320)가 차량 노드 단위 및 차량 기능 조작 안내에 대응하여 그 수집한 다수의 CAN 메세지를 분류하여 복수의 분류군을 생성하는 차량용 데이터 분류 단계; 분석 수집 장치(300)의 데이터 분석부(330)가 CAN 메세지의 분류군에 대해 CAN 데이터베이스의 후보를 획득하는 차량용 데이터 분석 단계; 분석 수집 장치(300)의 데이터 검증부(340)가 그 획득한 CAN 데이터베이스의 후보를 테스트 차량에 적용하여 차량 기능 조작에 대응하여 CAN 메세지의 정상 생성 여부를 확인하는 차량용 데이터 검증 단계;를 포함하여 구성될 수 있다. In the method of analyzing and collecting vehicle data for a CAN database according to the present invention, the data collection unit 310 of the analysis collection device 300 responds to a series of vehicle function operations at the vehicle node level for the vehicle 100 to be analyzed. A vehicle data collection step of collecting a plurality of CAN messages broadcasted to the CAN bus; A vehicle data classification step in which the data classification unit 320 of the analysis collection device 300 classifies a plurality of CAN messages collected in response to vehicle node units and vehicle function operation instructions to generate a plurality of classification groups; A vehicle data analysis step in which the data analysis unit 330 of the analysis collection device 300 acquires candidates for a CAN database for a classification group of CAN messages; Including a vehicle data verification step in which the data verification unit 340 of the analysis collection device 300 applies the acquired CAN database candidates to the test vehicle to check whether CAN messages are normally generated in response to vehicle function manipulation; It can be configured.

본 발명에서 차량용 데이터 수집 단계는, 분석 대상 차량(100)에 대하여 차량 노드 단위로 일련의 차량 기능 조작을 안내하는 단계; 차량 기능 조작의 안내에 따라 분석 대상 차량(100)에 인가되는 차량 기능 조작에 대응하여 CAN 버스로 브로드캐스트 전송되는 다수의 CAN 메세지를 획득하는 단계; 차량 기능 조작의 안내 전후의 데이터 변경을 기준으로 위 획득된 CAN 메세지를 구분하는 단계; 위 구분된 복수의 CAN 메세지를 위 안내된 차량 기능 조작과 매칭시켜 저장하는 단계;를 포함하여 구성될 수 있다. In the present invention, the vehicle data collection step includes guiding a series of vehicle function operations on a vehicle node basis for the vehicle 100 to be analyzed; Obtaining a plurality of CAN messages broadcast and transmitted to a CAN bus in response to a vehicle function operation applied to the analysis target vehicle 100 according to guidance on vehicle function operation; Classifying the CAN messages obtained above based on data changes before and after guidance on operating vehicle functions; It may be configured to include a step of matching and storing the plurality of CAN messages classified above with the vehicle function operation guided above.

본 발명에서 차량용 데이터 분류 단계는, 그 수집한 다수의 CAN 메세지 중에서 차량 노드 단위로 기능 유지 조작에 대응하여 차량 기능 조작 안내 전후에 데이터 변경이 없이 유지되고 있는 CAN 메세지를 분류하여 기능유지 메세지군을 생성하는 단계; 그 수집한 다수의 CAN 메세지 중에서 차량 노드 단위로 복수의 기능 변경 조작에 대응하여 차량 기능 조작 안내 전후에 데이터가 변경되는 CAN 메세지를 분류하여 기능조작 메세지군을 생성하는 단계;를 포함하여 구성될 수 있다. In the present invention, the vehicle data classification step is to classify CAN messages that are maintained without data change before and after the vehicle function operation guidance in response to function maintenance operations on a vehicle node basis among the collected CAN messages to form a group of function maintenance messages. generating step; It may be configured to include: generating a function operation message group by classifying CAN messages whose data is changed before and after vehicle function operation guidance in response to a plurality of function change operations on a vehicle node basis among the collected CAN messages; there is.

본 발명에서 차량용 데이터 분석 단계는, 미리 획득한 복수의 CAN 데이터베이스와 CAN 메세지 내의 CAN ID 비교를 통해 CAN 메세지의 분류군에 대해 공통 유형의 CAN 데이터베이스를 획득하는 단계; 분석 엔지니어로부터 CAN 메세지의 분류군에 대해 CAN 데이터베이스를 제공받는 단계;를 포함하여 구성될 수 있다. In the present invention, the vehicle data analysis step includes obtaining a CAN database of a common type for a class of CAN messages by comparing a plurality of CAN databases obtained in advance with the CAN ID in the CAN message; It may be configured to include a step of receiving a CAN database for a classification of CAN messages from an analysis engineer.

한편, 본 발명에 따른 컴퓨터프로그램은 컴퓨터에 이상과 같은 CAN 데이터베이스를 위한 차량용 데이터의 분석 및 수집 방법을 실행시키기 위하여 비휘발성 저장매체에 저장된 것이다.Meanwhile, the computer program according to the present invention is stored in a non-volatile storage medium in order to execute the above method of analyzing and collecting vehicle data for the CAN database on the computer.

본 발명에 따르면 차량용 전자장치 설계를 위한 CAN 통신 프로토콜 분석을 효과적으로 수행할 수 있는 장점이 있다. According to the present invention, there is an advantage of effectively performing CAN communication protocol analysis for designing automotive electronic devices.

특히, 본 발명에 따르면 애프터마켓 업체들이 OEM으로부터 CAN 통신 프로토콜의 상세 사양을 제공받지 않더라도 신규 차량에 대한 CAN 데이터베이스를 효과적으로 구축할 수 있어 차량용 애프터마켓 제품을 빠르게 설계할 수 있고 제품의 품질도 제고할 수 있어 애프터마켓 제품 경쟁력 개선과 소비자 권익을 보호할 수 있는 장점이 있다. In particular, according to the present invention, aftermarket companies can effectively build a CAN database for new vehicles even if they are not provided with detailed specifications of the CAN communication protocol from the OEM, allowing them to quickly design aftermarket products for vehicles and improve product quality. This has the advantage of improving the competitiveness of aftermarket products and protecting consumer rights.

[도 1]은 일반적인 차량용 CAN 통신 구성을 나타내는 개념도.
[도 2]는 CAN 통신 프로토콜에 따른 CAN 메세지의 내부 구성을 나타내는 도면.
[도 3]은 일반적인 차량용 데이터의 수집 시스템을 나타내는 예시도.
[도 4]는 차량용 CAN 메세지의 CAN Data 필드 사양의 예시도.
[도 5]는 차량용 CAN 데이터베이스의 예시도.
[도 6]은 본 발명에 따른 차량용 데이터의 분석 및 수집 시스템을 나타내는 도면.
[도 7]은 본 발명에 따른 CAN 데이터베이스를 위한 차량용 데이터의 분석 및 수집 프로세스를 나타내는 순서도.
[도 8]은 본 발명에서 차량용 데이터의 수집 프로세스를 나타내는 순서도.
[도 9]는 본 발명에서 차량용 데이터의 분류 프로세스의 일 실시예 개념도.
[도 10]은 본 발명에서 차량용 데이터의 분석 프로세스를 나타내는 순서도.
[도 11]은 본 발명에서 차량용 데이터의 검증 프로세스를 나타내는 순서도.
[Figure 1] is a conceptual diagram showing a typical CAN communication configuration for vehicles.
[Figure 2] is a diagram showing the internal structure of a CAN message according to the CAN communication protocol.
[Figure 3] is an example diagram showing a general vehicle data collection system.
[Figure 4] is an example of the CAN Data field specifications of a vehicle CAN message.
[Figure 5] is an example diagram of a vehicle CAN database.
[Figure 6] is a diagram showing a system for analyzing and collecting vehicle data according to the present invention.
[Figure 7] is a flowchart showing the analysis and collection process of vehicle data for the CAN database according to the present invention.
[Figure 8] is a flowchart showing the vehicle data collection process in the present invention.
[Figure 9] is a conceptual diagram of an embodiment of a classification process for vehicle data in the present invention.
[Figure 10] is a flowchart showing the analysis process of vehicle data in the present invention.
[Figure 11] is a flowchart showing the verification process of vehicle data in the present invention.

이하에서는 도면을 참조하여 본 발명을 상세하게 설명한다. Hereinafter, the present invention will be described in detail with reference to the drawings.

[도 6]은 본 발명에 따른 차량용 데이터의 분석 및 수집 시스템을 나타내는 도면이고, [도 7]은 본 발명에 따른 CAN 데이터베이스를 위한 차량용 데이터의 분석 및 수집 프로세스를 나타내는 순서도이다. [FIG. 6] is a diagram showing an analysis and collection system for vehicle data according to the present invention, and [FIG. 7] is a flowchart showing the analysis and collection process of vehicle data for a CAN database according to the present invention.

[도 6]을 참조하면, 본 발명에서는 분석 대상 차량(100)의 CAN 버스에 분석 수집 장치(300)가 연결되어 CAN 버스를 통해 오고가는 메세지들을 획득하고 분석한다. 분석 수집 장치(300)는 데이터 수집부(310), 데이터 분류부(320), 데이터 분석부(330), 데이터 검증부(340)를 구비하며 이를 통해 [도 7]에 나타낸 차량용 데이터의 분석 및 수집 프로세스를 수행한다. 이 과정을 통하여 분석 수집 장치(300)는 분석 대상 차량(100)에 대한 CAN 데이터베이스(CAN DB)를 획득한다. Referring to [FIG. 6], in the present invention, the analysis collection device 300 is connected to the CAN bus of the analysis target vehicle 100 to obtain and analyze messages passing through the CAN bus. The analysis collection device 300 includes a data collection unit 310, a data classification unit 320, a data analysis unit 330, and a data verification unit 340, through which the vehicle data shown in [FIG. 7] is analyzed and Perform the collection process. Through this process, the analysis collection device 300 acquires a CAN database (CAN DB) for the analysis target vehicle 100.

단계 (S100) : 먼저, 분석 수집 장치(300)의 데이터 수집부(310)가 분석 대상 차량(100)에 대한 일련의 차량 기능 조작에 대응하여 CAN 버스에 브로드캐스트 전송되는 복수의 CAN 메세지를 수집한다. 이를 위해, 데이터 수집부(310)는 분석 대상 차량(100)에 대해 여러가지 기능 조작을 수행하도록 안내하고, 그 기능 조작에 대응하여 CAN 버스 상으로 브로드캐스트 전송되는 CAN 메세지를 CAN 버스로부터 수집한다. Step (S100): First, the data collection unit 310 of the analysis collection device 300 collects a plurality of CAN messages broadcasted to the CAN bus in response to a series of vehicle function operations for the analysis target vehicle 100. do. To this end, the data collection unit 310 guides the analysis target vehicle 100 to perform various functional operations and collects CAN messages broadcast and transmitted on the CAN bus in response to the functional operations from the CAN bus.

단계 (S200) : 다음으로, 분석 수집 장치(300)의 데이터 분류부(320)가 데이터 수집부(310)가 수집한 다수의 CAN 메세지를 차량 노드 단위 및 차량 기능 조작 안내에 대응하여 분류한다. Step (S200): Next, the data classification unit 320 of the analysis collection device 300 classifies the plurality of CAN messages collected by the data collection unit 310 in response to vehicle node units and vehicle function operation guidance.

데이터 분류부(320)는 데이터 수집부(310)가 획득한 다수의 CAN 메세지를 어느 노드(10 ~ 70) 및 어느 기능 조작과 관련되어 있는지 식별하고 그에 따라 CAN 메세지에 대한 분류군을 결정한다. 예를 들어, 데이터 수집부(310)가 획득한 다수의 CAN 메세지 중에서 스티어링 제어기(40)와 관련된 CAN 메세지를 선별한다. 그리고 나서, 이들 선별된 CAN 메세지에 대하여 어떠한 차량 스티어링 조작과 관련되어 있는지를 식별하여 CAN 메세지를 분류한다. The data classification unit 320 identifies which nodes (10 to 70) and which function operations the plurality of CAN messages obtained by the data collection unit 310 are related to, and determines a classification group for the CAN messages accordingly. For example, the data collection unit 310 selects CAN messages related to the steering controller 40 from among the plurality of CAN messages obtained. Then, for these selected CAN messages, the CAN messages are classified by identifying which vehicle steering operation they are related to.

데이터 분류부(320)는 다수의 CAN 메세지를 차량 노드 단위 및 차량 기능 조작 안내에 대응하여 분류하는 작업을 수행하며, 이를 통해 다수의 CAN 메세지로부터 복수의 분류군을 생성한다. 각각의 분류군에는 하나 혹은 복수의 CAN 메세지가 포함되어 있다. The data classification unit 320 performs the task of classifying multiple CAN messages in response to vehicle node units and vehicle function operation instructions, and creates a plurality of classification groups from the multiple CAN messages. Each taxonomic group contains one or more CAN messages.

단계 (S300) : 다음으로, 분석 수집 장치(300)의 데이터 분석부(330)가 CAN 메세지의 분류군에 대해 CAN 데이터베이스의 후보를 획득한다. 이때, CAN 데이터베이스의 후보는 미리 획득한 복수의 CAN 데이터베이스와 CAN 메세지 내의 CAN ID 비교를 통해 획득할 수도 있고, 분석 엔지니어가 수행하는 CAN 메세지 분석에 의해 획득할 수도 있다. Step (S300): Next, the data analysis unit 330 of the analysis collection device 300 obtains candidates from the CAN database for the classification group of the CAN message. At this time, the CAN database candidate may be obtained through comparison of a plurality of CAN databases obtained in advance and the CAN ID in the CAN message, or may be obtained through CAN message analysis performed by an analysis engineer.

단계 (S400) : 다음으로, 분석 수집 장치(300)의 데이터 검증부(340)가 CAN 데이터베이스의 후보를 테스트 차량에 적용하여 차량 기능 조작에 대응하여 CAN 메세지의 정상 생성 여부를 확인한다. CAN 메세지가 정상 생성되면 CAN 메세지의 해당 분류군에 대해 CAN 데이터베이스가 획득된 것으로 처리한다. 반대로, CAN 메세지가 정상 생성되지 않는 경우에는 (S300)으로 되돌아가서 분석 엔지니어의 수동 분석에 의해 오류를 수정한다. Step (S400): Next, the data verification unit 340 of the analysis collection device 300 applies candidates from the CAN database to the test vehicle to check whether CAN messages are normally generated in response to vehicle function manipulation. If a CAN message is generated normally, it is processed as if a CAN database has been obtained for the corresponding taxonomic group of the CAN message. Conversely, if the CAN message is not generated properly, return to (S300) and correct the error through manual analysis by an analysis engineer.

[도 8]은 본 발명에서 분석 수집 장치(300)의 데이터 수집부(310)가 수행하는 차량용 데이터의 수집 프로세스(S100)를 나타내는 순서도이다. [FIG. 8] is a flowchart showing the vehicle data collection process (S100) performed by the data collection unit 310 of the analysis collection device 300 in the present invention.

단계 (S110) : 먼저, 분석 수집 장치(300)의 데이터 수집부(310)는 분석 대상 차량(100)에 대하여 사용자에게 일련의 차량 기능 조작을 안내한다. 이때, 차량 기능 조작은 차량의 노드 단위로 수행하는 것이 바람직하고, 각 노드에 대해 분석 엔지니어가 얻고자 하는 차량 정보와 관련된 여러가지 기능 조작을 수행하도록 안내한다. Step (S110): First, the data collection unit 310 of the analysis collection device 300 guides the user through a series of vehicle function operations for the analysis target vehicle 100. At this time, it is desirable to perform vehicle function manipulation on a node-by-vehicle basis, and each node is guided to perform various functional manipulations related to the vehicle information that the analysis engineer wishes to obtain.

예를 들어, 스티어링 제어기(40)에 관련하여 다양한 기능 조작을 화면 또는 음성으로 사용자에게 안내할 수 있다. 이러한 기능 조작을 예로는 "핸들을 건드리지 마세요", "차량 핸들을 좌측 끝으로 돌리세요", "차량 핸들을 우측 끝으로 돌리세요", "바퀴를 정렬할 수 있도록 정중앙으로 돌리세요" 등을 들 수 있다.For example, operations of various functions related to the steering controller 40 may be guided to the user through a screen or voice. Examples of these functions include “Do not touch the steering wheel,” “Turn the steering wheel all the way to the left,” “Turn the steering wheel all the way to the right,” and “Turn the steering wheel to the center to align the wheels.” You can.

이때, 각 노드의 기능과 CAN 메세지와의 관련성을 상세하게 얻기 위하여 기능 조작을 다양하게 안내하는 것이 바람직하다. 예를 들어, 변속기 제어기(20)와 관련하여 차량의 기어 조작을 각각의 단 별로 변경하도록 안내하는 것이 바람직하다. At this time, it is desirable to provide various guidance on function manipulation in order to obtain detailed information on the relationship between the function of each node and the CAN message. For example, in relation to the transmission controller 20, it is desirable to guide the vehicle's gear operation to change for each gear.

단계 (S120) : 이러한 기능 조작 안내에 따라 사용자는 분석 대상 차량(100)에 대해 차량 기능 조작을 인가할 것이며, 그에 대응하여 분석 대상 차량(100)의 스티어링 제어기(40)는 CAN 통신 프로토콜에 따라 CAN 메세지를 브로드캐스트 전송할 것이다. 분석 수집 장치(300)의 데이터 수집부(310)는 이렇게 CAN 버스로 브로드캐스트 전송되는 다수의 CAN 메세지를 획득한다. Step (S120): According to these function operation instructions, the user will authorize vehicle function operation for the analysis target vehicle 100, and in response, the steering controller 40 of the analysis target vehicle 100 operates according to the CAN communication protocol. A CAN message will be broadcasted. The data collection unit 310 of the analysis collection device 300 acquires a plurality of CAN messages broadcast and transmitted through the CAN bus.

단계 (S130) : 분석 대상 차량(100)에 대한 차량 기능 조작 전후로 해당 노드에서 브로드캐스트 전송되는 CAN 메세지의 내용은 변화한다. 그에 따라, 분석 수집 장치(300)의 데이터 수집부(310)는 차량 기능 조작의 안내 전후의 데이터 변경을 기준으로 위 획득한 다수의 CAN 메세지를 구분한다. 즉, CAN 메세지의 해당 데이터 변경을 차량 기능 조작에 의한 것으로 다루는 것이다. Step (S130): The content of the CAN message broadcast from the corresponding node changes before and after operating the vehicle function for the vehicle 100 to be analyzed. Accordingly, the data collection unit 310 of the analysis collection device 300 distinguishes the plurality of CAN messages obtained above based on data changes before and after guidance on operating vehicle functions. In other words, the corresponding data change in the CAN message is treated as being caused by vehicle function manipulation.

단계 (S140) : 다음으로, 분석 수집 장치(300)의 데이터 수집부(310)는 그 구분된 복수의 CAN 메세지를 그 안내된 차량 기능 조작과 매칭시켜 저장한다. 예를 들어, (S110)에서 안내한 차량 기능 조작의 내용(예: 분류코드)과 (s120)에서 획득한 다수의 CAN 메세지를 매칭시켜 저장한다. Step (S140): Next, the data collection unit 310 of the analysis collection device 300 matches the plurality of classified CAN messages with the guided vehicle function operation and stores them. For example, the contents of the vehicle function operation (e.g., classification code) guided in (S110) and a number of CAN messages obtained in (s120) are matched and stored.

[도 9]는 본 발명에서 분석 수집 장치(300)의 데이터 분류부(320)가 수행하는 차량용 데이터의 분류 프로세스(S200)의 일 실시예 개념도이다. [FIG. 9] is a conceptual diagram of an embodiment of a classification process (S200) of vehicle data performed by the data classification unit 320 of the analysis collection device 300 in the present invention.

데이터 분류부(320)는 데이터 수집부(310)가 획득한 다수의 CAN 메세지를 어느 노드(10 ~ 70) 및 어느 기능 조작과 관련되어 있는지 식별하고 그에 따라 CAN 메세지에 대한 분류군을 결정한다. The data classification unit 320 identifies which nodes (10 to 70) and which function operations the plurality of CAN messages obtained by the data collection unit 310 are related to, and determines a classification group for the CAN messages accordingly.

이때, CAN 메세지 분류의 정확도를 높이기 위하여 차량 기능 조작을 기능 유지 조작과 기능 변경 조작으로 구분하여 처리하는 것이 바람직하다. 기능 유지 조작은 해당 노드에 관련된 차량 기능을 유지시키는 조작이다. 스티어링 제어기(40)의 경우에 "차량 핸들을 건드리지 않는 조작"을 들 수 있다. 반면, 기능 변경 조작은 해당 노드에 관련된 차량 기능을 변경시키는 조작이다. 스티어링 제어기(40)의 경우에 "차량 핸들을 좌측으로 돌리는 조작"을 들 수 있다. At this time, in order to increase the accuracy of CAN message classification, it is desirable to process vehicle function operations by dividing them into function maintenance operations and function change operations. The function maintenance operation is an operation that maintains vehicle functions related to the corresponding node. In the case of the steering controller 40, “operation without touching the vehicle steering wheel” may be mentioned. On the other hand, a function change operation is an operation that changes the vehicle function related to the corresponding node. In the case of the steering controller 40, an example is “an operation of turning the vehicle steering wheel to the left.”

데이터 분류부(320)는 기능 유지 조작에 대하여 CAN 메세지들 중에서 차량 기능 조작 안내 전후에 데이터 변경이 없이 유지되고 있는 CAN 메세지를 분류한다. 기능 유지 조작에서 데이터가 변경되고 있는 CAN 메세지들은 해당 노드의 해당 차량 기능과는 무관한 CAN 메세지들이다. 데이터 분류부(320)가 기능 유지 조작에 대응하여 분류해내는 CAN 메세지를 편의상 '기능유지 메세지군(10A, 40A)'이라고 부른다. The data classification unit 320 classifies CAN messages that are maintained without data change before and after vehicle function operation guidance among CAN messages regarding function maintenance operations. CAN messages whose data is being changed in the function maintenance operation are CAN messages that are unrelated to the corresponding vehicle function of the corresponding node. The CAN messages that the data classification unit 320 classifies in response to the function maintenance operation are called 'function maintenance message groups (10A, 40A)' for convenience.

데이터 분류부(320)는 기능 변경 조작에 대해서는 CAN 메세지들 중에서 차량 기능 조작 안내 전후에 데이터가 변경되는 CAN 메세지를 분류한다. 각각의 차량 기능 조작의 안내 전후에 데이터가 변경되는 CAN 메세지를 각각의 기능 변경 조작 별로 분류하여 분류군을 설정하는 것이다. 데이터 분류부(320)가 기능 변경 조작에 대응하여 분류해내는 CAN 메세지를 편의상 '기능조작 메세지군(10B, 40B)'이라고 부른다. The data classification unit 320 classifies CAN messages in which data is changed before and after vehicle function operation guidance among CAN messages regarding function change operations. CAN messages in which data is changed before and after the guidance of each vehicle function operation are classified by each function change operation to establish a classification group. The CAN messages that the data classification unit 320 classifies in response to the function change operation are called 'function operation message groups (10B, 40B)' for convenience.

[도 9]를 참조하면, 데이터 수집부(310)가 획득한 다수의 CAN 메세지를 데이터 분류부(320)는 각각의 노드(10 ~ 40) 별로 분류하고(10MSG, 40MSG), 이들 CAN 메세지를 기능유지 메세지군(10A, 40A)과 기능조작 메세지군(10B1 ~ 10B5; 40B1 ~ 40B5)으로 하위 분류하였다. Referring to [FIG. 9], the data classification unit 320 classifies the plurality of CAN messages obtained by the data collection unit 310 for each node (10 to 40) (10MSG, 40MSG), and classifies these CAN messages into It was subclassified into the function maintenance message group (10A, 40A) and the function manipulation message group (10B1 ~ 10B5; 40B1 ~ 40B5).

[도 10]은 본 발명에서 분석 수집 장치(300)의 데이터 분석부(330)가 수행하는 차량용 데이터의 분석 프로세스(S300)를 나타내는 순서도이다. [FIG. 10] is a flowchart showing the vehicle data analysis process (S300) performed by the data analysis unit 330 of the analysis collection device 300 in the present invention.

단계 (S310, S320) : 먼저, 분석 수집 장치(300)의 데이터 분석부(330)는 미리 획득한 복수의 CAN 데이터베이스와 CAN 메세지 내의 CAN ID 비교를 통해 CAN 메세지의 분류군에 대해 공통 유형의 CAN 데이터베이스를 획득한다. 이 공통 유형의 CAN 데이터베이스는 CAN 메세지의 해당 분류군에 대한 CAN 데이터베이스의 후보로서 다루어진다. Steps (S310, S320): First, the data analysis unit 330 of the analysis collection device 300 compares a plurality of CAN databases obtained in advance with the CAN ID in the CAN message to determine a common type of CAN database for the class of CAN messages. obtain. This common type of CAN database is treated as a candidate CAN database for the corresponding taxon of CAN messages.

바람직하게는 동일 OEM의 대하여 해당 분류군과 공통 유형의 CAN 데이터베이스를 분석 수집 장치(300)가 미리 확보하고 있을 수 있다. 이처럼 미리 획득해둔 여러 CAN 데이터베이스를 CAN 메세지의 분류군과 대조해보는 것이다. 미리 획득해둔 여러 CAN 데이터베이스와 CAN 메세지의 CAN ID 비교를 통하여 공통 유형의 CAN 데이터베이스를 찾을 수 있다. Preferably, the analysis collection device 300 may have previously secured a CAN database of the corresponding classification group and common type for the same OEM. In this way, various CAN databases obtained in advance are compared with the taxonomies of CAN messages. You can find a common type of CAN database by comparing CAN IDs of CAN messages with several previously acquired CAN databases.

현대차의 경우를 예로 들면 세대별 마스터 CAN 데이터베이스(Master CAN DB)를 기준으로 노드별 CAN ID를 할당한다. 아반떼 차량과 쏘나타 차량의 경우 동일 플랫폼을 가진다면 스티어링 제어기(40)에 대해 동일한 CAN 메세지(CAN ID) 프로토콜을 가질 가능성이 높다는 점을 반영한 것이다. For example, in the case of Hyundai Motors, CAN IDs are assigned to each node based on the Master CAN DB for each generation. This reflects the fact that if Avante and Sonata vehicles have the same platform, they are likely to have the same CAN message (CAN ID) protocol for the steering controller 40.

공통 유형의 CAN 데이터베이스를 획득한 경우, 차량용 데이터 검증 과정(S400)으로 진행한다.If a common type of CAN database is obtained, proceed to the vehicle data verification process (S400).

단계 (S330, S340) : 공통 유형의 CAN 데이터베이스를 찾지 못한 경우에는 데이터 분석부(330)는 CAN 메세지의 분류군에 대한 CAN 데이터베이스를 분석 엔지니어로부터 제공받는다. 이는 종래기술과 유사한 과정인데, 분석 엔지니어가 OEM 정보와 차량 연식 등의 정보를 참조하면서 CAN 메세지에 포함된 데이터 값을 처리하기 위한 요소들(예: Factor, Byte Order, Length 등)의 값을 조합해가며 CAN 메세지 분석을 시행한다. Steps (S330, S340): If a common type of CAN database is not found, the data analysis unit 330 receives a CAN database for the classification of CAN messages from an analysis engineer. This is a process similar to the prior art, in which an analysis engineer combines the values of elements (e.g. Factor, Byte Order, Length, etc.) to process the data value included in the CAN message while referring to information such as OEM information and vehicle year. CAN message analysis is performed over time.

CAN 메세지 분석이 완료되면 분석 엔지니어는 CAN 데이터베이스를 CAN 메세지의 해당 분류군에 대한 CAN 데이터베이스의 후보로서 데이터 분석부(330)로 제공한다. When the analysis of the CAN message is completed, the analysis engineer provides the CAN database to the data analysis unit 330 as a candidate for the CAN database for the corresponding class of CAN message.

[도 11]은 본 발명에서 분석 수집 장치(300)의 데이터 검증부(340)가 수행하는 차량용 데이터의 검증 프로세스(S400)를 나타내는 순서도이다. [FIG. 11] is a flowchart showing the vehicle data verification process (S400) performed by the data verification unit 340 of the analysis collection device 300 in the present invention.

단계 (S410, S420) : 먼저, 분석 수집 장치(300)의 데이터 검증부(340)는 데이터 분석부(330)가 획득한 CAN 데이터베이스의 후보를 미리 준비한 테스트 차량에 적용한다. 이 테스트 차량은 실제 차량일 수도 있고, 컴퓨터 시뮬레이션으로 생성된 가상의 차량일 수도 있다. Steps (S410, S420): First, the data verification unit 340 of the analysis collection device 300 applies the CAN database candidates obtained by the data analysis unit 330 to a test vehicle prepared in advance. This test vehicle may be a real vehicle or a virtual vehicle created through computer simulation.

그리고 나서, 사용자가 테스트 차량에 대해 여러가지 차량 기능 조작을 인가한다. 이때, (S100)에서와 마찬가지로 차량 기능 조작의 안내가 제공되고 사용자는 그 안내에 따라 차량 기능 조작을 인가하도록 구성되는 것이 바람직하다. 데이터 검증부(340)는 차량 기능 조작에 대응하여 해당 노드가 브로드캐스트 전송하는 CAN 메세지를 수집한다. The user then authorizes operation of various vehicle functions on the test vehicle. At this time, as in (S100), it is preferable that guidance for operating vehicle functions is provided and the user is configured to authorize operation of vehicle functions according to the guidance. The data verification unit 340 collects CAN messages broadcast and transmitted by the corresponding node in response to vehicle function manipulation.

단계 (S430 ~ S450) : 데이터 검증부(340)는 차량 기능 조작에 대응하여 CAN 메세지가 정상 생성되는지 여부를 확인한다. 변속기 제어기(20)의 경우를 예로 들면, 기어 P단인 경우에 CAN 메세지에 의해 P단이 표시되고 기어 R단으로 변경하였을 때 R단이 표시되는지 여부를 확인하는 것이다. 정상이면 제대로 표시될 것이고, 비정상이라면 현재 기어 상태와 상이한 상태를 표시할 것이다. 정상 혹은 비정상을 확인하는 과정은 컴퓨터 프로그램에 의해 자동화 수행될 수도 있고, 사용자가 정상 혹은 비정상을 입력하도록 구성될 수도 있다. Steps (S430 to S450): The data verification unit 340 checks whether a CAN message is normally generated in response to vehicle function manipulation. For example, in the case of the transmission controller 20, when the gear is in P gear, P gear is displayed by a CAN message, and when the gear is changed to R gear, it is checked whether R gear is displayed. If it is normal, it will be displayed properly, and if it is abnormal, it will display a status different from the current gear status. The process of confirming normality or abnormality may be performed automatically by a computer program, or may be configured to allow the user to input normality or abnormality.

CAN 메세지가 정상 생성되는 경우에는 CAN 메세지의 해당 분류군에 대해 CAN 데이터베이스가 획득된 것으로 처리한다. 해당 CAN 데이터베이스는 제품 개발에 적용하기 위해 저장한다. 반대로, CAN 메세지가 정상 생성되지 않는 경우에는 (S330)으로 되돌아가서 분석 엔지니어의 수동 분석에 의해 오류를 수정한다. If a CAN message is generated normally, it is processed as if a CAN database has been obtained for the corresponding taxonomy of the CAN message. The CAN database is stored for application to product development. Conversely, if the CAN message is not generated properly, return to (S330) and correct the error through manual analysis by an analysis engineer.

이상과 같은 본 발명에 의하면 CAN 데이터베이스 구축을 위한 차량용 데이터의 분석 및 수집 과정을 매우 효과적으로 수행할 수 있다. 수집 과정과 분석 과정을 통해 대량의 CAN 메세지 분류 및 차량용 데이터 처리를 자동으로 수행하므로 전체적인 프로세스 효율이 매우 높고, 검증 과정을 통해 분석 결과의 신뢰도를 높일 수 있다. According to the present invention as described above, the analysis and collection process of vehicle data for building a CAN database can be performed very effectively. By automatically classifying large amounts of CAN messages and processing vehicle data through the collection and analysis process, the overall process efficiency is very high, and the reliability of the analysis results can be increased through the verification process.

차량용 데이터는 차량 제조사마다 그리고 차량 모델마다 데이터 포맷이 상이하다. 차량용 데이터를 엔지니어가 수동으로 분석한다면 너무 많은 시간이 걸리는 문제점이 있으며, 효율을 높이기 위해 컴퓨터 프로그램으로 분석한다면 미리 설정해둔 특정 포맷에 해당하지 않는 경우에는 분석 값이 틀리게 나올 수 있는 문제점이 있다. 본 발명에 의하면 이와 같은 종래기술의 문제점을 해결할 수 있다. Vehicle data has different data formats for each vehicle manufacturer and vehicle model. If engineers manually analyze vehicle data, there is a problem that it takes too much time, and if they analyze vehicle data with a computer program to increase efficiency, there is a problem that the analysis value may be incorrect if it does not correspond to a specific format set in advance. According to the present invention, such problems of the prior art can be solved.

한편, 본 발명은 컴퓨터가 읽을 수 있는 비휘발성 기록매체에 컴퓨터가 읽을 수 있는 코드의 형태로 구현되는 것이 가능하다. 이러한 비휘발성 기록매체로는 다양한 형태의 스토리지 장치가 존재하는데 예컨대 하드디스크, SSD, CD-ROM, NAS, 자기테이프, 웹디스크, 클라우드 디스크 등이 있다. 또한, 본 발명은 네트워크로 연결된 다수의 스토리지 장치에 코드가 분산 저장되고 실행되는 형태로도 구현될 수 있다. 또한, 본 발명은 하드웨어와 결합되어 특정의 절차를 실행시키기 위하여 매체에 저장된 컴퓨터프로그램의 형태로 구현될 수도 있다. Meanwhile, the present invention can be implemented in the form of computer-readable code on a computer-readable non-volatile recording medium. These non-volatile recording media include various types of storage devices, such as hard disks, SSDs, CD-ROMs, NAS, magnetic tapes, web disks, and cloud disks. Additionally, the present invention can be implemented in a form in which code is distributed and stored and executed in a plurality of storage devices connected through a network. Additionally, the present invention may be implemented in the form of a computer program stored on a medium in order to execute a specific procedure in combination with hardware.

Claims (5)

분석 수집 장치(300)가 CAN(Controller Area Network) 통신에 연동하는 차량 장치의 설계에 필요한 CAN 데이터베이스 구축을 위해 수행하는 차량용 데이터의 분석 및 수집 방법으로서,
상기 분석 수집 장치(300)의 데이터 수집부(310)가 분석 대상 차량(100)에 대한 차량 노드 단위의 일련의 차량 기능 조작에 대응하여 CAN 버스로 브로드캐스트 전송되는 다수의 CAN 메세지를 수집하는 차량용 데이터 수집 단계;
상기 분석 수집 장치(300)의 데이터 분류부(320)가 차량 노드 단위 및 차량 기능 조작 안내에 대응하여 상기 수집한 다수의 CAN 메세지를 분류하여 복수의 분류군을 생성하는 차량용 데이터 분류 단계;
상기 분석 수집 장치(300)의 데이터 분석부(330)가 상기 CAN 메세지의 분류군에 대해 CAN 데이터베이스의 후보를 획득하는 차량용 데이터 분석 단계;
상기 분석 수집 장치(300)의 데이터 검증부(340)가 상기 획득한 CAN 데이터베이스의 후보를 테스트 차량에 적용하여 차량 기능 조작에 대응하여 CAN 메세지의 정상 생성 여부를 확인하는 차량용 데이터 검증 단계;
를 포함하여 구성되는 CAN 데이터베이스를 위한 차량용 데이터의 분석 및 수집 방법.
A method of analyzing and collecting vehicle data performed by the analysis collection device 300 to build a CAN database necessary for the design of a vehicle device linked to CAN (Controller Area Network) communication, comprising:
For vehicles in which the data collection unit 310 of the analysis collection device 300 collects a plurality of CAN messages broadcast and transmitted to the CAN bus in response to a series of vehicle function operations at the vehicle node level for the analysis target vehicle 100. data collection phase;
A vehicle data classification step in which the data classification unit 320 of the analysis and collection device 300 classifies the collected CAN messages in response to vehicle node units and vehicle function operation instructions to generate a plurality of classification groups;
A vehicle data analysis step in which the data analysis unit 330 of the analysis and collection device 300 obtains candidates for a CAN database for the classification group of the CAN message;
A vehicle data verification step in which the data verification unit 340 of the analysis collection device 300 applies the obtained CAN database candidates to a test vehicle to check whether a CAN message is normally generated in response to vehicle function manipulation;
Analysis and collection method of vehicle data for CAN database including.
청구항 1에 있어서,
상기 차량용 데이터 수집 단계는,
분석 대상 차량(100)에 대하여 차량 노드 단위로 일련의 차량 기능 조작을 안내하는 단계;
상기 차량 기능 조작의 안내에 따라 상기 분석 대상 차량(100)에 인가되는 차량 기능 조작에 대응하여 CAN 버스로 브로드캐스트 전송되는 다수의 CAN 메세지를 획득하는 단계;
상기 차량 기능 조작의 안내 전후의 데이터 변경을 기준으로 상기 획득된 CAN 메세지를 구분하는 단계;
상기 구분된 복수의 CAN 메세지를 상기 안내된 차량 기능 조작과 매칭시켜 저장하는 단계;
를 포함하여 구성되는 것을 특징으로 하는 CAN 데이터베이스를 위한 차량용 데이터의 분석 및 수집 방법.
In claim 1,
The vehicle data collection step is,
Guiding a series of vehicle function operations on a vehicle node basis for the vehicle 100 to be analyzed;
Obtaining a plurality of CAN messages broadcast and transmitted to a CAN bus in response to a vehicle function operation applied to the analysis target vehicle 100 according to the guidance of the vehicle function operation;
Classifying the obtained CAN message based on data changes before and after guidance on operating the vehicle function;
Matching and storing the plurality of divided CAN messages with the guided vehicle function operation;
A method of analyzing and collecting vehicle data for a CAN database, comprising:
청구항 2에 있어서,
상기 차량용 데이터 분류 단계는,
상기 수집한 다수의 CAN 메세지 중에서 차량 노드 단위로 기능 유지 조작에 대응하여 차량 기능 조작 안내 전후에 데이터 변경이 없이 유지되고 있는 CAN 메세지를 분류하여 기능유지 메세지군을 생성하는 단계;
상기 수집한 다수의 CAN 메세지 중에서 차량 노드 단위로 복수의 기능 변경 조작에 대응하여 차량 기능 조작 안내 전후에 데이터가 변경되는 CAN 메세지를 분류하여 기능조작 메세지군을 생성하는 단계;
를 포함하여 구성되는 것을 특징으로 하는 CAN 데이터베이스를 위한 차량용 데이터의 분석 및 수집 방법.
In claim 2,
The vehicle data classification step is,
Generating a group of function maintenance messages by classifying CAN messages maintained without data change before and after vehicle function operation guidance in response to function maintenance operations on a vehicle node basis among the collected CAN messages;
Generating a function operation message group by classifying CAN messages in which data is changed before and after vehicle function operation guidance in response to a plurality of function change operations on a vehicle node basis among the collected CAN messages;
A method of analyzing and collecting vehicle data for a CAN database, comprising:
청구항 3에 있어서,
상기 차량용 데이터 분석 단계는,
미리 획득한 복수의 CAN 데이터베이스와 CAN 메세지 내의 CAN ID 비교를 통해 상기 CAN 메세지의 분류군에 대해 공통 유형의 CAN 데이터베이스를 획득하는 단계;
분석 엔지니어로부터 상기 CAN 메세지의 분류군에 대해 CAN 데이터베이스를 제공받는 단계;
를 포함하여 구성되는 것을 특징으로 하는 CAN 데이터베이스를 위한 차량용 데이터의 분석 및 수집 방법.
In claim 3,
The vehicle data analysis step is,
Obtaining a CAN database of a common type for the classification group of the CAN message by comparing a plurality of CAN databases obtained in advance with the CAN ID in the CAN message;
Receiving a CAN database for the classification group of the CAN message from an analysis engineer;
A method of analyzing and collecting vehicle data for a CAN database, comprising:
컴퓨터에 청구항 1 내지 4 중 어느 하나의 항에 따른 CAN 데이터베이스를 위한 차량용 데이터의 분석 및 수집 방법을 실행시키기 위하여 저장매체에 저장된 컴퓨터프로그램.A computer program stored in a storage medium for executing a method of analyzing and collecting vehicle data for a CAN database according to any one of claims 1 to 4 on a computer.
KR1020220118071A 2022-09-19 2022-09-19 method of analyzing and gathering vehicle data for CAN DataBase KR20240039462A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020220118071A KR20240039462A (en) 2022-09-19 2022-09-19 method of analyzing and gathering vehicle data for CAN DataBase

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020220118071A KR20240039462A (en) 2022-09-19 2022-09-19 method of analyzing and gathering vehicle data for CAN DataBase

Publications (1)

Publication Number Publication Date
KR20240039462A true KR20240039462A (en) 2024-03-26

Family

ID=90472901

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220118071A KR20240039462A (en) 2022-09-19 2022-09-19 method of analyzing and gathering vehicle data for CAN DataBase

Country Status (1)

Country Link
KR (1) KR20240039462A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020097370A (en) 2001-06-20 2002-12-31 현대자동차주식회사 Display device and method using can communication in a hybrid electric vehicle
KR101088798B1 (en) 2010-03-25 2011-12-01 한국전력공사 Method for transmitting protocol message using CAN communication

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020097370A (en) 2001-06-20 2002-12-31 현대자동차주식회사 Display device and method using can communication in a hybrid electric vehicle
KR101088798B1 (en) 2010-03-25 2011-12-01 한국전력공사 Method for transmitting protocol message using CAN communication

Similar Documents

Publication Publication Date Title
CN111024405B (en) Automobile diagnosis method, related device and system
CN112367318B (en) Security processing method and computer
US9008865B2 (en) Method and device for managing, processing and monitoring parameters used on board aircraft
CN103337113B (en) Method and device for intelligently analyzing electronic day-to-day journals, as well as processor
CN101473283A (en) Multivariate monitoring of operating procedures
WO2014157056A1 (en) Source program analysis system, source program analysis method, and recording medium on which program is recorded
CN103003800A (en) Exception handling test device and method thereof
Young et al. Towards reverse engineering controller area network messages using machine learning
JP2019511061A (en) System and method for determining aircraft data recording frame configuration with a focus on maintenance
EP3720061B1 (en) Bit assignment estimating device, bit assignment estimating method, and program
KR20240039462A (en) method of analyzing and gathering vehicle data for CAN DataBase
Buscemi et al. A data-driven minimal approach for CAN bus reverse engineering
AU2012334801A1 (en) A method of analysing data
Dajsuren et al. Safety analysis method for cooperative driving systems
CN112306041A (en) Vehicle configuration information writing method and device and electronic equipment
CN115373366A (en) Interactive diagnosis system, diagnosis method and storage medium
CN106569944A (en) Constraint-tree-based onboard software test data analysis method
Mrowca et al. Discovering groups of signals in in-vehicle network traces for redundancy detection and functional grouping
CN114677039A (en) Vehicle running control evaluation method and device, readable storage medium and electronic equipment
CN114488997A (en) ECU (electronic control Unit) flashing method and device, electronic equipment and storage medium
Lutchen et al. AI-based classification of CAN measurements for network and ECU identification
Mrowca et al. Automated interpretation and reduction of in-vehicle network traces at a large scale
WO2024004351A1 (en) Processor system and failure diagnosis method
Bock et al. Analytical test effort estimation for multisensor driver assistance systems
CN110763487A (en) Remote intelligent diagnosis system for automobile detection line