KR102275144B1 - Can frame-ethernet packet converting method in domain control unit - Google Patents
Can frame-ethernet packet converting method in domain control unit Download PDFInfo
- Publication number
- KR102275144B1 KR102275144B1 KR1020190176461A KR20190176461A KR102275144B1 KR 102275144 B1 KR102275144 B1 KR 102275144B1 KR 1020190176461 A KR1020190176461 A KR 1020190176461A KR 20190176461 A KR20190176461 A KR 20190176461A KR 102275144 B1 KR102275144 B1 KR 102275144B1
- Authority
- KR
- South Korea
- Prior art keywords
- frames
- ethernet packet
- converting
- ethernet
- module
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40006—Architecture of a communication node
- H04L12/40013—Details regarding a bus controller
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40052—High-speed IEEE 1394 serial bus
- H04L12/40071—Packet processing; Packet format
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40208—Bus networks characterized by the use of a particular bus standard
- H04L2012/40215—Controller Area Network CAN
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40267—Bus for use in transportation systems
- H04L2012/40273—Bus for use in transportation systems the transportation system being a vehicle
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Security & Cryptography (AREA)
- Small-Scale Networks (AREA)
- Communication Control (AREA)
Abstract
본 발명에 따른 차량 도메인 제어기(DCU; Domain Control Unit)의 CAN(Controller Area Network) 프레임-이더넷 패킷 변환 방법은, 송신기에서 SOME-IP 모듈을 통하여 제 1 CAN 프레임들을 제 1 이더넷 패킷으로 변환하는 단계, 및 수신기에서 상기 SOME-IP 모듈을 통하여 제 2 이더넷 패킷을 제 2 CAN 프레임들로 변환하는 단계를 포함할 수 있다.A method for converting a CAN (Controller Area Network) frame-Ethernet packet of a domain control unit (DCU) of a vehicle domain controller (DCU) according to the present invention comprises the steps of converting first CAN frames into first Ethernet packets through a SOME-IP module in a transmitter , and converting a second Ethernet packet into second CAN frames through the SOME-IP module at the receiver.
Description
본 발명은 차량 도메인 제어기(DCU; Domain Control Unit) 및 그것의 CAN 프레임-이더넷 패킷 변환 방법에 관한 것이다.The present invention relates to a vehicle domain controller (DCU) and its CAN frame-Ethernet packet conversion method.
차량 통신분야는 CAN(Controller Area Network) 통신이 폭넓게 쓰이고 있으며, 현재도 광범위하게 사용되고 있다. 하지만 차량의 통신량이 증가함에 따라, CAN 통신의 데이터 전송량과 속도에 따른 제약 사항이 대두되고 있다. CAN-FD와 같은 데이터량을 증가시킨 프로토콜이 있지만, 차량 Ethernet 통신으로 빠르게 대체되고 있다. AUTOSAR 플랫폼은 자동차 플랫폼 분야의 국제표준 사양을 의미한다. 단일 프로세서의 MCU(Micro Control Unit) 기반 Real Time를 강조한 Classic AUTOSAR와 AP(Application Processor) 기반의 고성능 칩을 기반으로 Adaptive AUTOSAR로 구분된다. 여기서 Adaptive AUTOSAR의 핵심 모듈로 기능을 제공하는 SOME-IP (Scalable Service Oriented Middleware over IP(Internet Protocol))는 SOA(Service Oriented Architecture) 기반의 Ethernet 통신 기능을 제공하고 있다. In the vehicle communication field, CAN (Controller Area Network) communication is widely used, and is still widely used today. However, as the communication volume of the vehicle increases, restrictions according to the data transmission amount and speed of CAN communication are emerging. There are protocols that increase the amount of data, such as CAN-FD, but they are rapidly being replaced by vehicle Ethernet communication. The AUTOSAR platform refers to the international standard specification in the field of automotive platforms. It is divided into Classic AUTOSAR that emphasizes Real Time based on MCU (Micro Control Unit) of a single processor and Adaptive AUTOSAR based on high-performance chip based on AP (Application Processor). Here, as a core module of Adaptive AUTOSAR, SOME-IP (Scalable Service Oriented Middleware over IP (Internet Protocol)) provides an Ethernet communication function based on SOA (Service Oriented Architecture).
본 발명의 목적은 고성능의 통신을 제공하는 차량 도메인 제어기 및 그것의 CAN 프레임-이더넷 패킷 변환 방법을 제공하는데 있다.SUMMARY OF THE INVENTION It is an object of the present invention to provide a vehicle domain controller providing high-performance communication and a CAN frame-Ethernet packet conversion method thereof.
본 발명의 실시 예에 따른 차량 도메인 제어기(DCU; Domain Control Unit)의 CAN(Controller Area Network) 프레임-이더넷 패킷 변환 방법은, 송신기에서 SOME-IP 모듈을 통하여 제 1 CAN 프레임들을 제 1 이더넷 패킷으로 변환하는 단계; 및 수신기에서 상기 SOME-IP 모듈을 통하여 제 2 이더넷 패킷을 제 2 CAN 프레임들로 변환하는 단계를 포함할 수 있다.In the method for converting a CAN (Controller Area Network) frame-Ethernet packet of a vehicle domain controller (DCU) according to an embodiment of the present invention, a transmitter converts first CAN frames into a first Ethernet packet through a SOME-IP module. converting; and converting the second Ethernet packet into second CAN frames through the SOME-IP module in the receiver.
실시 예에 있어서, 상기 제 1 이더넷 패킷으로 변환하는 단계는, 상기 송신기에서 외부의 CAN 장치로부터 제 1 CAN 프레임들을 수신하는 단계를 포함할 수 있다.In an embodiment, converting the first Ethernet packet into the first Ethernet packet may include receiving the first CAN frames from an external CAN device in the transmitter.
실시 예에 있어서, 상기 제 1 이더넷 패킷으로 변환하는 단계는, 상기 송신기에서 상기 제 1 CAN 프레임들의 각각의 Message ID 및 Message Type의 정의하는 단계를 포함할 수 있다.In an embodiment, the converting into the first Ethernet packet may include defining each Message ID and Message Type of the first CAN frames in the transmitter.
실시 예에 있어서, 상기 제 1 이더넷 패킷으로 변환하는 단계는, 상기 SOME-IP 모듈에서 상기 제 1 CAN 프레임들의 각각의 Message ID 및 Message Type을 이용하여 상기 제 1 CAN 프레임들을 직렬화함으로써 상기 제 1 이더넷 패킷을 생성하는 단계를 더 포함할 수 있다.In an embodiment, the converting into the first Ethernet packet comprises serializing the first CAN frames by using the Message ID and Message Type of each of the first CAN frames in the SOME-IP module. The method may further include generating a packet.
실시 예에 있어서, 상기 제 1 이더넷 패킷으로 변환하는 단계는, 상기 제 1 CAN 프레임들의 각각을 서비스 형태로 변환하는 단계를 더 포함할 수 있다.In an embodiment, the converting into the first Ethernet packet may further include converting each of the first CAN frames into a service form.
실시 예에 있어서, 상기 서비스 형태로 변환하는 단계는, 상기 제 1 CAN 프레임들의 각각으로부터 헤더 정보를 추출하는 단계; 및 매핑 테이블을 이용하여 상기 제 1 CAN 프레임들의 각각에 대한 Service ID, Method ID, Client ID, Message Type을 설정하는 단계를 포함하고, 상기 매핑 테이블은 CAN 신호와 SOME-IP 헤더 정보에 대한 매트릭스를 포함하는 것을 특징으로 할 수 있다.In an embodiment, the converting to the service form comprises: extracting header information from each of the first CAN frames; and setting a Service ID, Method ID, Client ID, and Message Type for each of the first CAN frames using a mapping table, wherein the mapping table provides a matrix for CAN signal and SOME-IP header information. It may be characterized by including.
실시 예에 있어서, 상기 제 2 CAN 프레임들로 변환하는 단계는, 상기 수신기에서 외부의 이더넷 장치로부터 상기 제 2 이더넷 패킷을 수신하는 단계를 포함할 수 있다.In an embodiment, the converting into the second CAN frames may include receiving the second Ethernet packet from an external Ethernet device at the receiver.
실시 예에 있어서, 상기 제 2 CAN 프레임들로 변환하는 단계는, 상기 SOME-IP 모듈에서 상기 제 2 이더넷 패킷을 역직렬화하는 단계를 포함할 수 있다.In an embodiment, the converting into the second CAN frames may include deserializing the second Ethernet packet in the SOME-IP module.
실시 예에 있어서, 상기 제 2 CAN 프레임들로 변환하는 단계는, 매핑 테이블을 이용하여 상기 역직렬화된 제 2 이더넷 패킷으로부터 SOME-IP 헤더 정보로부터 CAN message ID를 원복하는 단계; 및 상기 역직렬화된 제 2 이더넷 패킷으로부터 제 2 CAN 프레임들을 원복하는 단계를 더 포함하고, 상기 매핑 테이블은 CAN 신호와 SOME-IP 헤더 정보에 대한 매트릭스를 포함하는 것을 특징으로 한다.In an embodiment, the converting into the second CAN frames includes: recovering a CAN message ID from SOME-IP header information from the deserialized second Ethernet packet using a mapping table; and recovering second CAN frames from the deserialized second Ethernet packet, wherein the mapping table includes a matrix for CAN signal and SOME-IP header information.
본 발명의 실시 예에 따른 이더넷 네트워크에 연결된 고성능 제어기와 CAN(Controller Area Network)에 연결된 복수의 전자 제어 유닛들 사이에 연결된 차량 도메인 제어기(Domain Control Unit)는, 상기 제 1 복수의 전자 제어 유닛들의 중에서 적어도 하나로부터 제 1 CAN 프레임들을 수신하고, SOME-IP 모듈을 통하여 상기 제 1 CAN 프레임들을 직렬화함으로써 제 1 이더넷 패킷으로 변환하는 송신기; 및 상기 고성능 제어기로부터 제 2 이더넷 패킷을 수신하고, 상기 SOME-IP 모듈을 통하여 제 2 이더넷 패킷을 역직렬화함으로써, 제 2 CAN 프레임들로 변환하는 수신기를 포함할 수 있다.A vehicle domain controller (Domain Control Unit) connected between a high-performance controller connected to an Ethernet network and a plurality of electronic control units connected to a CAN (Controller Area Network) according to an embodiment of the present invention, the first plurality of electronic control units a transmitter for receiving first CAN frames from at least one among them, and converting the first CAN frames into a first Ethernet packet by serializing the first CAN frames through a SOME-IP module; and a receiver that receives the second Ethernet packet from the high-performance controller and converts the second Ethernet packet into second CAN frames by deserializing the second Ethernet packet through the SOME-IP module.
실시 예에 있어서, 상기 송신기 및 상기 수신기의 각각은, CAN 신호 정보와 서비스 정보 사이의 매핑 테이블을 이용하여 CAN 프레임-이더넷 패킷 변환을 수행하는 것을 특징으로 한다.In an embodiment, each of the transmitter and the receiver performs CAN frame-Ethernet packet conversion using a mapping table between CAN signal information and service information.
실시 예에 있어서, 상기 송신기는 상기 제 1 CAN 프레임들의 각각으로 SOME-IP 헤더를 구성하는 것을 특징으로 한다.In an embodiment, the transmitter configures a SOME-IP header with each of the first CAN frames.
실시 예에 있어서, 상기 송신기는 상기 SOME-IP 헤더 정보를 이용하여 수신 장치를 확인하는 것을 특징으로 한다.In an embodiment, the transmitter identifies the receiving device using the SOME-IP header information.
실시 예에 있어서, 상기 수신기는 상기 제 2 CAN 프레임들을 UDP(User Datagram Protocol)으로 CAN 장치로 전송하는 것을 특징으로 한다.In an embodiment, the receiver transmits the second CAN frames to the CAN device using User Datagram Protocol (UDP).
본 발명의 실시 예에 따른 차량 도메인 제어기 및 그것의 CAN 프레임-이더넷 패킷 변환 방법은, SOME-IP Message ID, Message Type 설정을 위해 각 라우터 기능을 제공하는 디바이스에 연결된 CAN 네트워크의 디바이스에 대한 정보를 mapping을 구비함으로써 SOME-IP 모듈의 직렬화/역직렬화를 지원할 수 있다.The vehicle domain controller and its CAN frame-Ethernet packet conversion method according to an embodiment of the present invention provide information on devices of a CAN network connected to devices providing each router function for SOME-IP Message ID and Message Type settings. By providing mapping, it is possible to support serialization/deserialization of SOME-IP module.
본 발명의 실시 예에 따른 차량 도메인 제어기의 CAN 프레임-이더넷 패킷 변환 방법은, CAN 프로토콜에 명시된 각 프레임에 대한 구조체의 최소한의 설정과 추가 개발을 통해 SOME-IP 프로토콜의 위반 없이 CAN-Ethernet 변환 통신을 수행할 수 있다.The CAN frame-Ethernet packet conversion method of the vehicle domain controller according to an embodiment of the present invention communicates CAN-Ethernet conversion without violating the SOME-IP protocol through the minimum setting and additional development of a structure for each frame specified in the CAN protocol. can be performed.
본 발명의 실시 예에 따른 차량 도메인 제어기의 CAN 프레임-이더넷 패킷 변환 방법은, Adaptive AUTOSAR 플랫폼을 사용할 수 있는 모든 Device에 공통 적용 가능하다.The CAN frame-Ethernet packet conversion method of the vehicle domain controller according to an embodiment of the present invention is commonly applicable to all devices that can use the Adaptive AUTOSAR platform.
본 발명의 실시 예에 따른 차량 도메인 제어기의 CAN 프레임-이더넷 패킷 변환 방법은, 기존 인터페이스나 프로토콜의 변경없이 최소한의 설정과 코드 추가로 CAN-Ethernet 변환 통신을 수행할 수 있다.The CAN frame-Ethernet packet conversion method of the vehicle domain controller according to an embodiment of the present invention can perform CAN-Ethernet conversion communication with minimal configuration and code addition without changing an existing interface or protocol.
본 발명의 실시 예에 따른 차량 도메인 제어기의 CAN 프레임-이더넷 패킷 변환 방법은, 고성능 AP에서 직렬화/역직렬화 기능을 효율적으로 제공함에 따라 통신 효율의 이득을 높일 수 있다.The CAN frame-Ethernet packet conversion method of the vehicle domain controller according to an embodiment of the present invention can increase communication efficiency gain by efficiently providing a serialization/deserialization function in a high-performance AP.
본 발명의 실시 예에 따른 차량 도메인 제어기의 CAN 프레임-이더넷 패킷 변환 방법은, 이더넷 디바이스 간의 통신과 CAN↔Ethernet 변환 통신에 대해 Message ID와 Message Type으로 구분 가능하다.The CAN frame-Ethernet packet conversion method of the vehicle domain controller according to an embodiment of the present invention can be classified into a Message ID and a Message Type for communication between Ethernet devices and CAN↔Ethernet conversion communication.
본 발명의 실시 예에 따른 차량 도메인 제어기의 CAN 프레임-이더넷 패킷 변환 방법은, 이더넷 디바이스에서 CAN ↔ Ethernet 변환 통신에 대해 검토를 필요치 않는다.The CAN frame-Ethernet packet conversion method of the vehicle domain controller according to the embodiment of the present invention does not require a review of CAN ↔ Ethernet conversion communication in the Ethernet device.
본 발명의 실시 예에 따른 차량 도메인 제어기의 CAN 프레임-이더넷 패킷 변환 방법은, 개발이 완료된 경우 설정만으로 다른 프로젝트에서 활용되므로 재활용성을 높일 수 있다.The CAN frame-Ethernet packet conversion method of the vehicle domain controller according to an embodiment of the present invention can be used in other projects only by setting it when development is completed, so that recyclability can be improved.
이하에 첨부되는 도면들은 본 실시 예에 관한 이해를 돕기 위한 것으로, 상세한 설명과 함께 실시 예들을 제공한다. 다만, 본 실시예의 기술적 특징이 특정 도면에 한정되는 것은 아니며, 각 도면에서 개시하는 특징들은 서로 조합되어 새로운 실시 예로 구성될 수 있다.
도 1은 일반적인 SOME-IP 통신의 처리 과정을 보여주는 도면이다.
도 2는 일반적인 SOME-IP의 통신 동작을 보여주는 도면이다.
도 3은 본 발명의 실시 예에 따른 시스템 레벨 아키텍처를 예시적으로 보여주는 도면이다.
도 4는 본 발명의 실시 예에 따른 네트워크 시스템(20)을 예시적으로 보여주는 도면이다.
도 5는 본 발명의 실시 예에 따른 SOME-IP 모듈(100)에서 복수의 CAN 프레임들을 직접 처리하는 과정을 예시적으로 보여주는 도면이다.
도 6은 이더넷 장치(21-M)와 라우터(23)은 각각의 SOME-IP 모듈을 이용하여 CAN 프레임 변환 및 전송이 이루어지는 영역을 예시적으로 보여주는 도면이다.
도 7은 본 발명의 실시 예에 따른 SOME-IP 모듈을 이용하여 CAN 프레임 변환 및 전송을 보여주는 도면이다.
도 8은 본 발명의 다른 실시 예에 따른 SOME-IP 모듈을 이용하여 CAN 프레임 변환 및 전송을 보여주는 도면이다.
도 9는 본 발명의 실시 예에 따른 SOME-IP 모듈의 서비스 통신 방법을 예시적으로 보여주는 도면이다.
도 10은 본 발명의 실시 예에 따른 CAN 통신 프레임의 서비스 변환 매핑 테이블을 이용하여 Method 변환을 예시적으로 보여주는 도면이다.
도 11은 본 발명의 실시 예에 따른 CAN 통신 프레임의 서비스 변환 매핑 테이블을 이용하여 Event 변환을 예시적으로 보여주는 도면이다.
도 12는 본 발명의 실시 예에 따른 차량 도메인 제어기의 CAN 프레임-이더넷 패킷 변환 동작을 예시적으로 보여주는 흐름도이다.The accompanying drawings are provided to help understanding of the present embodiment, and provide embodiments together with detailed description. However, the technical features of the present embodiment are not limited to specific drawings, and features disclosed in each drawing may be combined with each other to constitute a new embodiment.
1 is a diagram showing a processing process of a general SOME-IP communication.
2 is a diagram illustrating a general SOME-IP communication operation.
3 is a diagram exemplarily showing a system level architecture according to an embodiment of the present invention.
4 is a diagram exemplarily showing a
5 is a diagram exemplarily illustrating a process of directly processing a plurality of CAN frames in the SOME-
FIG. 6 is a diagram exemplarily illustrating an area in which the Ethernet device 21-M and the
7 is a diagram illustrating CAN frame conversion and transmission using the SOME-IP module according to an embodiment of the present invention.
8 is a diagram illustrating CAN frame conversion and transmission using the SOME-IP module according to another embodiment of the present invention.
9 is a diagram exemplarily illustrating a service communication method of a SOME-IP module according to an embodiment of the present invention.
10 is a diagram exemplarily showing method conversion using a service conversion mapping table of a CAN communication frame according to an embodiment of the present invention.
11 is a diagram exemplarily illustrating event conversion using a service conversion mapping table of a CAN communication frame according to an embodiment of the present invention.
12 is a flowchart exemplarily illustrating a CAN frame-Ethernet packet conversion operation of a vehicle domain controller according to an embodiment of the present invention.
아래에서는 도면들을 이용하여 본 발명의 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있을 정도로 본 발명의 내용을 명확하고 상세하게 기재할 것이다.Hereinafter, the contents of the present invention will be described clearly and in detail to the extent that those skilled in the art can easily implement it using the drawings.
본 발명은 다양한 변경을 가할 수 있고 여러 가지 형태를 가질 수 있는 바, 특정 실시 예들을 도면에 예시하고 본문에 상세하게 설명하고자 한다. 그러나 이는 본 발명을 특정한 개시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 제 1, 제 2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다.Since the present invention can have various changes and can have various forms, specific embodiments are illustrated in the drawings and described in detail in the text. However, this is not intended to limit the present invention to the specific disclosed form, it should be understood to include all modifications, equivalents and substitutes included in the spirit and scope of the present invention. Terms such as first, second, etc. may be used to describe various elements, but the elements should not be limited by the terms.
상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로 사용될 수 있다. 예를 들어, 본 발명의 권리 범위로부터 이탈되지 않은 채 제 1 구성요소는 제 2 구성요소로 명명될 수 있고, 유사하게 제 2 구성요소도 제 1 구성요소로 명명될 수 있다. 어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 혹은 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다.The above terms may be used for the purpose of distinguishing one component from another. For example, without departing from the scope of the present invention, a first component may be referred to as a second component, and similarly, a second component may also be referred to as a first component. When an element is referred to as being “connected” or “connected” to another element, it is understood that it may be directly connected or connected to the other element, but other elements may exist in between. it should be On the other hand, when it is said that a certain element is "directly connected" or "directly connected" to another element, it should be understood that no other element is present in the middle.
구성요소들 간의 관계를 설명하는 다른 표현들, 즉 "~사이에"와 "바로 ~사이에" 혹은 "~에 이웃하는"과 "~에 직접 이웃하는" 등도 마찬가지로 해석되어야 한다. 본 출원에서 사용한 용어는 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다.Other expressions describing the relationship between components, such as "between" and "immediately between" or "neighboring to" and "directly adjacent to", should be interpreted similarly. The terms used in the present application are only used to describe specific embodiments, and are not intended to limit the present invention. The singular expression includes the plural expression unless the context clearly dictates otherwise.
본 출원에서, "포함하다" 혹은 "가지다" 등의 용어는 실시된 특징, 숫자, 단계, 동작, 구성요소, 부분품 혹은 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 혹은 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부분품 혹은 이들을 조합한 것들의 존재 혹은 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다. 다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미이다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥상 가지는 의미와 일치하는 의미인 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.In the present application, terms such as “comprise” or “have” are intended to designate the presence of an embodied feature, number, step, operation, component, part, or combination thereof, but one or more other features or numbers , it should be understood that it does not preclude the possibility of the existence or addition of steps, operations, components, parts, or combinations thereof. Unless defined otherwise, all terms used herein, including technical and scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Terms such as those defined in commonly used dictionaries should be interpreted as meanings consistent with the context of the related art, and unless explicitly defined in the present application, they are not to be interpreted in an ideal or excessively formal meaning. .
본 발명은 AUTOSAR SOME-IP(Scalable Service Oriented Middleware over IP) 모듈을 이용한 CAN 통신 프레임 변환을 개시한다.The present invention discloses CAN communication frame conversion using an AUTOSAR SOME-IP (Scalable Service Oriented Middleware over IP) module.
도 1은 일반적인 SOME-IP 통신의 처리 과정을 보여주는 도면이다. 도 1을 참조하면, 어플리케이션 기능과 동작을 서비스 형태로 바꾸고, 플랫폼 아래에서 독립적으로 통신이 수행되고 있다.1 is a diagram showing a processing process of a general SOME-IP communication. Referring to FIG. 1 , application functions and operations are converted into service types, and communication is performed independently under a platform.
도 2는 일반적인 SOME-IP의 통신 동작을 보여주는 도면이다. 도 2를 참조하면, SOME-IP는 데이터 송수신시 method, event, field를 사용한다. 여기서 method는 클라이언트가 서버에 요청(Remote Procedure Call)하고, 리턴 값의 유무에 따라서 2 가지 형태를 갖는다. event는 서버에서 이벤트를 요청하고 결과를 받고 싶을 때 사용된다. field는 서비스의 데이터에 대한 접근 방식을 나타낸다. 예를 들어, get/set/notifier의 3 가지 형태가 존재한다.2 is a diagram illustrating a general SOME-IP communication operation. Referring to FIG. 2 , SOME-IP uses methods, events, and fields when transmitting and receiving data. Here, the method has two types depending on whether the client makes a request to the server (remote procedure call) and whether there is a return value. event is used when you want to request an event from the server and receive the result. The field indicates the access method to the data of the service. For example, there are 3 types of get/set/notifier.
도 3은 본 발명의 실시 예에 따른 시스템 레벨 아키텍처를 예시적으로 보여주는 도면이다. 도 3를 참조하면, 시스템 레벨 아키텍처(10)는 복수의 고성능 제어기(11, 12)를 포함할 수 있다. 고성능 제어기(11)는 복수의 도메인 제어 유닛들을 관리하도록 구현될 수 있다. 각 도메인 제어 유닛들은 복수의 ECU들을 관리할 수 있다. 고성능 제어기(12)는 하나의 도메인 제어 유닛을 관리하도록 구현될 수 있다.3 is a diagram exemplarily showing a system level architecture according to an embodiment of the present invention. Referring to FIG. 3 , the
일반적으로 기능 아키텍처 구조에서 널리 쓰인 CAN 시그널 통신 방식은 시그널을 이더넷 패킷에 실어 통신하고 이를 제어하는 DCU를 활용한 도메인 아키텍처 방식으로 진화하였고, 이보다 진화된 형태로 고성능 제어기를 활용해 DCU (Domain Control Unit)을 제어하는 시스템 레벨 아키텍처 발전하는 중이다. 도메인 아키텍처에서 CAN ↔ 이더넷 통신 프레임 변경 방법이 제안되고 있다. 변환기능을 위해 개발된 모듈이 탑재된 DCU가 설계되었고, Application에서도 DCU에서 사용하는 프로토콜에 따라 개발을 하여 CAN ↔ 이더넷 아키텍처간 통신이 가능하다. 본 발명의 시스템 레벨 아키텍처(10)에서, 각각의 DCU와 고성능 제어기(Application Processor)에 SOME/IP가 활용되고 있다. SOME/IP를 활용하여 CAN 프레임을 효율적으로 변환하고 SOA 형태로 전송하는 것이 필요하다.In general, the CAN signal communication method widely used in the functional architecture structure has evolved into a domain architecture method using a DCU that communicates and controls the signal by putting a signal on an Ethernet packet. In a more advanced form, the DCU (Domain Control Unit (DCU) ) to control the system level architecture is evolving. A method of changing the CAN ↔ Ethernet communication frame has been proposed in the domain architecture. The DCU equipped with the module developed for the conversion function is designed, and the application is developed according to the protocol used in the DCU so that communication between CAN ↔ Ethernet architecture is possible. In the system-
도 4는 본 발명의 실시 예에 따른 네트워크 시스템(20)을 예시적으로 보여주는 도면이다. 도 4를 참조하면, 네트워크 시스템(20)은 이더넷 네트워크(21)에 연결된 이더넷 장치들(21-1 ~ 21-M), CAN 네트워크(22)에 연결된 CAN 장치들(22-1 ~ 22-N), 및 라우터(23)를 포함할 수 있다.4 is a diagram exemplarily showing a
이더넷 장치들(21-1 ~ 21-M)의 각각은 단지 이더넷 통신만 수행할 수 있다.Each of the Ethernet devices 21-1 to 21-M can only perform Ethernet communication.
CAN 장치들(22-1 ~ 22-N)의 각각은 단지 CAN 통신만 수행할 수 있다.Each of the CAN devices 22-1 to 22-N may only perform CAN communication.
라우터(23)는 CAN 장치와 이더넷 장치 사이에 송수신을 하도록 구현될 수 있다. 라우터(23)는 도 3에 도시된 DCU를 포함할 수 있다.The
도 5는 본 발명의 실시 예에 따른 SOME-IP 모듈(100)에서 복수의 CAN 프레임들을 직접 처리하는 과정을 예시적으로 보여주는 도면이다.5 is a diagram exemplarily illustrating a process of directly processing a plurality of CAN frames in the SOME-
SOME-IP 모듈(100)은 데이터 직렬화/역직렬화를 수행할 수 있다. 즉, SOME-IP 모듈은 CAN 프레임 ↔ Ethernet 프레임 변환을 수행할 수 있다. 또한, SOME-IP 모듈(100)은 통신 상태 혹은 서비스를 관리할 수 있다. 또한, SOME-IP 모듈(100)은 Ethernet 송수신을 할 수 있다. 예를 들어, SOME-IP 모듈(100)은 패킷 송수신을 제어할 수 있다.The SOME-
도 5을 참조하면, SOME-IP 모듈(100)은 송신기(200)의 복수의 CAN 프레임들을 수신하여 데이터 직렬화 시킬 수 있다. 또한, SOME-IP 모듈(100)은 직렬화된 데이터를 데이터 역직렬화 시킴으로써 수신기(300)로 복수의 CAN 프레임들을 전송할 수 있다.Referring to FIG. 5 , the SOME-
도 6은 이더넷 장치(21-M)와 라우터(23)은 각각의 SOME-IP 모듈을 이용하여 CAN 프레임 변환 및 전송이 이루어지는 영역을 예시적으로 보여주는 도면이다.FIG. 6 is a diagram exemplarily illustrating an area in which the Ethernet device 21-M and the
도 7은 본 발명의 실시 예에 따른 SOME-IP 모듈을 이용하여 CAN 프레임 변환 및 전송을 보여주는 도면이다. 7 is a diagram illustrating CAN frame conversion and transmission using the SOME-IP module according to an embodiment of the present invention.
실시 예에 있어서, 송신기는 CAN 프레임을 수신하고, Message ID 및 Message Type를 정의하고, SOME-IP에서 직렬화시키고, 이더넷 패킷 송신(Message ID)를 수행할 수 있다. 실시 예에 있어서, 수신기는 이더넷 패킷을 수신하고, SOME-IP 역직렬화시고, CAN 프레임을 구분(Message Type)하고, CAN 데이터를 처리할 수 있다.In an embodiment, the transmitter may receive a CAN frame, define a Message ID and a Message Type, serialize it in SOME-IP, and perform Ethernet packet transmission (Message ID). In an embodiment, the receiver may receive an Ethernet packet, deserialize SOME-IP, classify a CAN frame (Message Type), and process CAN data.
도 7를 참조하면, 라우터(23)의 송신 동작은 다음과 같이 진행될 수 있다. 라우터(23)는 CAN 프레임을 수신하고, Message ID 및 Message Type를 정의하고, SOME-IP 모듈을 이용하여 직렬화시키고, 직렬화된 이더넷 패킷을 송신할 수 있다. 이더넷 장치(21-M)의 수신 동작은 다음과 같이 진행될 수 있다. 이더넷 장치(21-M)은 이더넷 패킷을 수신하고, SOME-IP 모듈에서 역직렬화 시키고, CAN 프레임 여부를 판별하고, 어플리케이션(APP)에 CAN 데이터를 전송할 수 있다. 이더넷 장치(21-M)의 송신 동작은 다음과 같이 진행될 수 있다. 이더넷 장치(21-M)은 어플리케이션(APP)의 CAN 데이터를 수신하고, Message ID 및 Message Type을 정의하고, SOME-IP 모듈을 이용하여 직렬화시키고, 직렬화된 이더넷 패킷을 송신할 수 있다. 라우터(23)의 수신 동작은 다음과 같이 진행될 수 있다. 라우터(23)은 이더넷 패킷을 수신하고, SOME-IP 모듈에서 역직렬화 시키고, CAN 프레임 여부를 판별하고, CAN 프레임을 송신할 수 있다.Referring to FIG. 7 , the transmission operation of the
한편, 본 발명의 실시 예에 따른 SOME-IP 모듈을 통한 CAN 프레임 변환 및 전송 과정은 서비스 형태로 변환하는 과정을 더 포함할 수 있다.Meanwhile, the process of converting and transmitting a CAN frame through the SOME-IP module according to an embodiment of the present invention may further include a process of converting to a service form.
도 8은 본 발명의 다른 실시 예에 따른 SOME-IP 모듈을 이용하여 CAN 프레임 변환 및 전송을 보여주는 도면이다. 8 is a diagram illustrating CAN frame conversion and transmission using the SOME-IP module according to another embodiment of the present invention.
실시 예에 있어서, 송신기는 CAN 프레임을 수신하고, 서비스 형태로 변환되고, Message ID 및 Message Type를 정의하고, SOME-IP에서 직렬화시키고, 이더넷 패킷 송신(Message ID)를 수행할 수 있다. 실시 예에 있어서, 수신기는 이더넷 패킷을 수신하고, SOME-IP 역직렬화시고, 신호 형태로 변환되고, CAN 프레임을 구분(Message Type)하고, CAN 데이터를 처리할 수 있다.In an embodiment, the transmitter may receive a CAN frame, be converted into a service form, define a Message ID and Message Type, serialize in SOME-IP, and perform Ethernet packet transmission (Message ID). In an embodiment, the receiver may receive an Ethernet packet, deserialize SOME-IP, convert it into a signal form, classify a CAN frame (Message Type), and process CAN data.
도 8을 참조하면, 라우터(23)는 CAN 송신 버퍼 및 수신 버퍼를 포함할 수 있다. 매핑 테이블은 CAN 신호와 SOME-IP 헤더 정보의 매트릭스를 포함할 수 있다. 서비스 탐색기(service finder)는 CAN Message ID을 이용하여 헤더 정보를 추출할 수 있다. 서비스 탐색기는 Service ID, Method ID, Client ID, Message Type를 설정할 수 있다. 신호 탐색기(signal finder)는 SOME-IP 헤더 정보를 이용하여 CAN Message ID로 원복할 수 있다. 메시지 직렬화기는 CAN 데이터를 SOME-IP 페이로드로 변환시킬 수 있다. 메시지 역직렬화기는 SOME-IP 메시지를 CAN 데이터로 원복할 수 있다.Referring to FIG. 8 , the
도 9는 본 발명의 실시 예에 따른 SOME-IP 모듈의 서비스 통신 방법을 예시적으로 보여주는 도면이다. 도 9를 참조하면, SOA를 위해서 Adaptive AUTOSAR 통신 매니저가 이용될 수 있다. 어플리케이션은 Proxy-Skeleton 구조를 채용함으로써, Class/Function 형태로 제공되는 proxy에 접근할 수 있다. 통신 매니저는 대응하는 proxy에 연결된 서비스의 skeleton과 통신함으로써, 서비스와 데이터 교환을 책임질 수 있다. 실시 예에 있어서, proxy-skeleton 사이의 통신 방법은 SOME-IP 모듈을 통하여 데이터 교환을 지원할 수 있다. 실시 예에 있어서, proxy와 skeleton 사이의 데이터 송수신 방법은, Method, Event, Field를 지원할 수 있다.9 is a diagram exemplarily illustrating a service communication method of a SOME-IP module according to an embodiment of the present invention. Referring to FIG. 9 , an Adaptive AUTOSAR communication manager may be used for SOA. By adopting the Proxy-Skeleton structure, the application can access the proxy provided in the form of Class/Function. The communication manager can be responsible for exchanging data with the service by communicating with the skeleton of the service connected to the corresponding proxy. In an embodiment, the communication method between proxy-skeletons may support data exchange through the SOME-IP module. In an embodiment, the data transmission/reception method between the proxy and the skeleton may support Method, Event, and Field.
도 10은 본 발명의 실시 예에 따른 CAN 통신 프레임의 서비스 변환 매핑 테이블을 이용하여 Method 변환을 예시적으로 보여주는 도면이다. 도 10을 참조하면, 매핑 테이블을 이용하 서비스 ↔ 신호 변환이 가능하다. Method, Event, Field 동작에 대응하는 매핑 테이블이 설계될 것이다. 실시 예에 있어서, CAN 메시지는 하나의 argument를 구성할 수 있다. 여기서 하나의 argument 마다 64 비트 크기까지 할당 가능하다. 실시 예에 있어서, Message ID는 Method ID로 치환함으로써 Method 통신에 사용 가능하다. 실시 예에 있어서, Client ID를 조정함으로써 특정 skeleton과 Method 통신이 가능하다.10 is a diagram exemplarily showing method conversion using a service conversion mapping table of a CAN communication frame according to an embodiment of the present invention. Referring to FIG. 10 , service ↔ signal conversion is possible using a mapping table. Mapping tables corresponding to Method, Event, and Field actions will be designed. In an embodiment, the CAN message may constitute one argument. Here, up to 64-bit size can be allocated for each argument. In an embodiment, the Message ID can be used for method communication by replacing it with a Method ID. In an embodiment, it is possible to communicate with a specific skeleton and method by adjusting the Client ID.
도 11은 본 발명의 실시 예에 따른 CAN 통신 프레임의 서비스 변환 매핑 테이블을 이용하여 Event 변환을 예시적으로 보여주는 도면이다. 도 11을 참조하면, 매핑 테이블을 이용하 서비스 ↔ 신호 변환이 가능하다. Event, Field 동작에 대응하는 매핑 테이블이 설계될 것이다. 실시 예에 있어서, 복수의 CAN 메시지들의 데이터 정보를 취합하고, Event 형태의 통신이 가능하다. 예를 들어, polling으로 데이터가 취합될 수 있다. 실시 예에 있어서, Message ID는 Method ID로 치환함으로써 Method 통신에 사용 가능하다. 실시 예에 있어서, Event group에 등록된 복수의 Client들에서 Event 수행이 가능하다.11 is a diagram exemplarily illustrating event conversion using a service conversion mapping table of a CAN communication frame according to an embodiment of the present invention. Referring to FIG. 11 , service ↔ signal conversion is possible using a mapping table. A mapping table corresponding to Event and Field actions will be designed. In an embodiment, data information of a plurality of CAN messages is collected, and event-type communication is possible. For example, data may be aggregated by polling. In an embodiment, the Message ID can be used for method communication by replacing it with a Method ID. In an embodiment, it is possible to perform an event in a plurality of clients registered in the event group.
도 12는 본 발명의 실시 예에 따른 차량 도메인 제어기의 동작을 예시적으로 보여주는 흐름도이다. 도 1 내지 도 12를 참조하면, 차량 도메인 제어기의 동작은 다음과 같이 진행될 수 있다.12 is a flowchart illustrating an operation of a vehicle domain controller according to an embodiment of the present invention. 1 to 12 , the operation of the vehicle domain controller may proceed as follows.
차량 도메인 제어기의 송신기(200)는 SOME-IP 모듈(100)을 이용하여 제 1 CAN 프레임들을 제 1 이더넷 패킷으로 변환할 수 있다(S100). 차량 도메인 제어기의 수신기(300)는 SOME-IP 모듈(100)을 이용하여 제 2 이더넷 패킷을 제 2 CAN 프레임들로 변환할 수 있다(S120).The
실시 예에 있어서, 제 1 이더넷 패킷으로 변환하는 것은, 송신기(200)에서 외부의 CAN 장치로부터 제 1 CAN 프레임들을 수신하는 것을 포함할 수 있다.In an embodiment, converting the first Ethernet packet may include receiving the first CAN frames from an external CAN device in the
실시 예에 있어서, 제 1 이더넷 패킷으로 변환하는 것은, 송신기(200)에서 제 1 CAN 프레임들의 각각의 Message ID 및 Message Type의 정의하는 것을 포함할 수 있다.In an embodiment, converting to the first Ethernet packet may include defining each Message ID and Message Type of the first CAN frames in the
실시 예에 있어서, 제 1 이더넷 패킷으로 변환하는 것은, SOME-IP 모듈(100)에서 상기 제 1 CAN 프레임들의 각각의 Message ID 및 Message Type을 이용하여 제 1 CAN 프레임들을 직렬화함으로써 상기 제 1 이더넷 패킷을 생성하는 것을 더 포함할 수 있다.In an embodiment, converting the first Ethernet packet to the first Ethernet packet by serializing the first CAN frames using the Message ID and Message Type of each of the first CAN frames in the SOME-
실시 예에 있어서, 제 1 이더넷 패킷으로 변환하는 것은, 제 1 CAN 프레임들의 각각을 서비스 형태로 변환하는 것을 더 포함할 수 있다.In an embodiment, the converting into the first Ethernet packet may further include converting each of the first CAN frames into a service form.
실시 예에 있어서, 서비스 형태로 변환하는 것은, 제 1 CAN 프레임들의 각각으로부터 헤더 정보를 추출하는 단계; 및 매핑 테이블을 이용하여 제 1 CAN 프레임들의 각각에 대한 Service ID, Method ID, Client ID, Message Type을 설정하는 것을 포함할 수 있다. 여기서 매핑 테이블은 CAN 신호와 SOME-IP 헤더 정보에 대한 매트릭스를 포함할 수 있다.In an embodiment, converting to a service form includes: extracting header information from each of the first CAN frames; and setting Service ID, Method ID, Client ID, and Message Type for each of the first CAN frames by using the mapping table. Here, the mapping table may include a matrix for CAN signal and SOME-IP header information.
실시 예에 있어서, 제 2 CAN 프레임들로 변환하는 것은, 수신기(300)에서 외부의 이더넷 장치로부터 상기 제 2 이더넷 패킷을 수신하는 것을 포함할 수 있다.In an embodiment, converting the second CAN frames may include receiving the second Ethernet packet from an external Ethernet device in the receiver 300 .
실시 예에 있어서, 제 2 CAN 프레임들로 변환하는 것은, SOME-IP 모듈(100)에서 제 2 이더넷 패킷을 역직렬화하는 것을 포함할 수 있다.In an embodiment, converting the second CAN frames may include deserializing the second Ethernet packet in the SOME-
실시 예에 있어서, 제 2 CAN 프레임들로 변환하는 것은, 매핑 테이블을 이용하여 역직렬화된 제 2 이더넷 패킷으로부터 SOME-IP 헤더 정보로부터 CAN message ID를 원복하는 것과 역직렬화된 제 2 이더넷 패킷으로부터 제 2 CAN 프레임들을 원복하는 것을 더 포함할 수 있다.In an embodiment, the conversion to the second CAN frames includes recovering the CAN message ID from the SOME-IP header information from the deserialized second Ethernet packet using a mapping table and the second from the deserialized second Ethernet packet. It may further include reconstructing 2 CAN frames.
본 발명의 실시 예에 따른 이더넷 네트워크에 연결된 고성능 제어기와 CAN(Controller Area Network)에 연결된 복수의 전자 제어 유닛들 사이에 연결된 차량 도메인 제어기(Domain Control Unit)는, 제 1 복수의 전자 제어 유닛들의 중에서 적어도 하나로부터 제 1 CAN 프레임들을 수신하고, SOME-IP 모듈(100)을 통하여 제 1 CAN 프레임들을 직렬화함으로써 제 1 이더넷 패킷으로 변환하는 송신기(200); 및 고성능 제어기로부터 제 2 이더넷 패킷을 수신하고, SOME-IP 모듈(100)을 통하여 제 2 이더넷 패킷을 역직렬화함으로써, 제 2 CAN 프레임들로 변환하는 수신기(300)를 포함할 수 있다.A vehicle domain controller (Domain Control Unit) connected between a high-performance controller connected to an Ethernet network and a plurality of electronic control units connected to a CAN (Controller Area Network) according to an embodiment of the present invention, among the first plurality of electronic control units a
실시 예에 있어서, 송신기(200) 및 수신기(300)의 각각은, CAN 신호 정보와 서비스 정보 사이의 매핑 테이블을 이용하여 CAN 프레임-이더넷 패킷 변환을 수행하는 것을 특징으로 한다.In an embodiment, each of the
실시 예에 있어서, 송신기(200)는 제 1 CAN 프레임들의 각각으로 SOME-IP 헤더를 구성하는 것을 특징으로 한다.In an embodiment, the
실시 예에 있어서, 송신기(200)는 SOME-IP 헤더 정보를 이용하여 수신 장치를 확인하는 것을 특징으로 한다.In an embodiment, the
실시 예에 있어서, 수신기(300)는 제 2 CAN 프레임들을 UDP(User Datagram Protocol)으로 CAN 장치로 전송하는 것을 특징으로 한다.In an embodiment, the receiver 300 transmits the second CAN frames to the CAN device using User Datagram Protocol (UDP).
본 발명에 따른 단계들 및/또는 동작들은 기술분야의 통상의 기술자에 의해 이해될 수 있는 것과 같이, 다른 순서로, 또는 병렬적으로, 또는 다른 에포크(epoch) 등을 위해 다른 실시 예들에서 동시에 일어날 수 있다.Steps and/or operations according to the present invention may occur concurrently in different embodiments, either in a different order, or in parallel, or for different epochs, etc., as would be understood by one of ordinary skill in the art. can
실시 예에 따라서는, 단계들 및/또는 동작들의 일부 또는 전부는 하나 이상의 비-일시적 컴퓨터-판독가능 매체에 저장된 명령, 프로그램, 상호작용 데이터 구조(interactive data structure), 클라이언트 및/또는 서버를 구동하는 하나 이상의 프로세서들을 사용하여 적어도 일부가 구현되거나 또는 수행될 수 있다. 하나 이상의 비-일시적 컴퓨터-판독가능 매체는 예시적으로 소프트웨어, 펌웨어, 하드웨어, 및/또는 그것들의 어떠한 조합일 수 있다. 또한, 본 명세서에서 논의된 "모듈"의 기능은 소프트웨어, 펌웨어, 하드웨어, 및/또는 그것들의 어떠한 조합으로 구현될 수 있다.Depending on the embodiment, some or all of the steps and/or operations run instructions, programs, interactive data structures, clients and/or servers stored in one or more non-transitory computer-readable media. At least some may be implemented or performed using one or more processors. The one or more non-transitory computer-readable media may be illustratively software, firmware, hardware, and/or any combination thereof. Further, the functionality of a “module” discussed herein may be implemented in software, firmware, hardware, and/or any combination thereof.
본 발명의 실시 예들의 하나 이상의 동작들/단계들/모듈들을 구현/수행하기 위한 하나 이상의 비-일시적 컴퓨터-판독가능 매체 및/또는 수단들은 ASICs(application-specific integrated circuits), 표준 집적 회로들, 마이크로 컨트롤러를 포함하는, 적절한 명령들을 수행하는 컨트롤러, 및/또는 임베디드 컨트롤러, FPGAs(field-programmable gate arrays), CPLDs(complex programmable logic devices), 및 그와 같은 것들을 포함할 수 있지만, 여기에 한정되지는 않는다.One or more non-transitory computer-readable media and/or means for implementing/performing one or more acts/steps/modules of embodiments of the present invention may include application-specific integrated circuits (ASICs), standard integrated circuits, may include, but are not limited to, controllers that perform appropriate instructions, including microcontrollers, and/or embedded controllers, field-programmable gate arrays (FPGAs), complex programmable logic devices (CPLDs), and the like. does not
본 발명의 실시 예에 따른 차량 도메인 제어기의 CAN 프레임-이더넷 패킷 변환 방법은, 고성능 AP에서 직렬화/역직렬화 기능을 효율적으로 제공함에 따라 통신 효율의 이득을 높일 수 있다.The CAN frame-Ethernet packet conversion method of the vehicle domain controller according to an embodiment of the present invention can increase communication efficiency gain by efficiently providing a serialization/deserialization function in a high-performance AP.
본 발명의 실시 예에 따른 차량 도메인 제어기의 CAN 프레임-이더넷 패킷 변환 방법은, 이더넷 디바이스 간의 통신과 CAN↔Ethernet 변환 통신에 대해 Message ID와 Message Type으로 구분 가능하다.The CAN frame-Ethernet packet conversion method of the vehicle domain controller according to an embodiment of the present invention can be classified into a Message ID and a Message Type for communication between Ethernet devices and CAN↔Ethernet conversion communication.
본 발명의 실시 예에 따른 차량 도메인 제어기의 CAN 프레임-이더넷 패킷 변환 방법은, 이더넷 디바이스에서 CAN ↔ Ethernet 변환 통신에 대해 검토를 필요치 않는다.The CAN frame-Ethernet packet conversion method of the vehicle domain controller according to an embodiment of the present invention does not require a review of CAN ↔ Ethernet conversion communication in the Ethernet device.
본 발명의 실시 예에 따른 차량 도메인 제어기의 CAN 프레임-이더넷 패킷 변환 방법은, 개발이 완료된 경우 설정만으로 다른 프로젝트에서 활용되므로 재활용성을 높일 수 있다.The CAN frame-Ethernet packet conversion method of the vehicle domain controller according to an embodiment of the present invention can be used in other projects only by setting it when development is completed, so that recyclability can be improved.
한편, 상술된 본 발명의 내용은 발명을 실시하기 위한 구체적인 실시 예들에 불과하다. 본 발명은 구체적이고 실제로 이용할 수 있는 수단 자체뿐 아니라, 장차 기술로 활용할 수 있는 추상적이고 개념적인 아이디어인 기술적 사상을 포함할 것이다.On the other hand, the contents of the present invention described above are only specific examples for carrying out the invention. The present invention will include not only concrete and practically usable means, but also technical ideas, which are abstract and conceptual ideas that can be utilized as future technologies.
10: 네트워크 아키텍처
11, 12: 고성능 제어기
20: 네트워크 시스템
21: 이더넷 네트워크
22: CAN 네트워크
21-1 ~ 21-M: 이더넷 장치
22-1 ~ 21-N: CAN 장치
23: 라우터
100: SOME-IP 모듈
200: 송신기
300: 수신기10: Network Architecture
11, 12: high-performance controller
20: network system
21: Ethernet Network
22: CAN Network
21-1 to 21-M: Ethernet device
22-1 to 21-N: CAN device
23: router
100: SOME-IP module
200: transmitter
300: receiver
Claims (14)
송신기에서 SOME-IP 모듈을 통하여 제 1 CAN 프레임들을 제 1 이더넷 패킷으로 변환하는 단계; 및
수신기에서 상기 SOME-IP 모듈을 통하여 제 2 이더넷 패킷을 제 2 CAN 프레임들로 변환하는 단계를 포함하고,
상기 제 1 이더넷 패킷으로 변환하는 단계는,
상기 송신기에서 상기 제 1 CAN 프레임들의 각각의 Message ID 및 Message Type을 정의하는 단계와,
상기 SOME-IP 모듈에서 상기 제 1 CAN 프레임들의 각각의 Message ID 및 Message Type을 이용하여 상기 제 1 CAN 프레임들을 직렬화함으로써 상기 제 1 이더넷 패킷을 생성하는 단계를 포함하고,
상기 제 1 이더넷 패킷으로 변환하는 단계는,
상기 제 1 CAN 프레임들의 각각을 서비스 형태로 변환하는 단계를 더 포함하되,
상기 서비스 형태로 변환하는 단계는,
상기 제 1 CAN 프레임들의 각각으로부터 헤더 정보를 추출하는 단계; 및
매핑 테이블을 이용하여 상기 제 1 CAN 프레임들의 각각에 대한 Service ID, Method ID, Client ID, 및 Message Type을 설정하는 단계를 포함하고,
상기 매핑 테이블은 CAN 신호와 SOME-IP 헤더 정보에 대한 매트릭스를 포함하는 것을 특징으로 하는 방법.A method for converting a CAN (Controller Area Network) frame to an Ethernet packet of a vehicle domain controller (DCU), the method comprising:
converting the first CAN frames into first Ethernet packets through the SOME-IP module in the transmitter; and
converting a second Ethernet packet into second CAN frames through the SOME-IP module in a receiver,
The converting into the first Ethernet packet comprises:
defining each Message ID and Message Type of the first CAN frames in the transmitter;
Generating the first Ethernet packet by serializing the first CAN frames using the Message ID and Message Type of each of the first CAN frames in the SOME-IP module,
The converting into the first Ethernet packet comprises:
Further comprising the step of converting each of the first CAN frames into a service form,
The step of converting to the service form is,
extracting header information from each of the first CAN frames; and
Using a mapping table to set the Service ID, Method ID, Client ID, and Message Type for each of the first CAN frames,
The mapping table comprises a matrix for CAN signal and SOME-IP header information.
상기 제 1 이더넷 패킷으로 변환하는 단계는,
상기 송신기에서 외부의 CAN 장치로부터 제 1 CAN 프레임들을 수신하는 단계를 포함하는 방법.The method of claim 1,
The converting into the first Ethernet packet comprises:
and receiving, at the transmitter, first CAN frames from an external CAN device.
상기 제 2 CAN 프레임들로 변환하는 단계는,
상기 수신기에서 외부의 이더넷 장치로부터 상기 제 2 이더넷 패킷을 수신하는 단계를 포함하는 방법.The method of claim 1,
The converting into the second CAN frames comprises:
and receiving the second Ethernet packet from an external Ethernet device at the receiver.
상기 제 2 CAN 프레임들로 변환하는 단계는,
상기 SOME-IP 모듈에서 상기 제 2 이더넷 패킷을 역직렬화하는 단계를 포함하는 방법.The method of claim 1,
The converting into the second CAN frames comprises:
and deserializing the second Ethernet packet in the SOME-IP module.
상기 제 2 CAN 프레임들로 변환하는 단계는,
매핑 테이블을 이용하여 상기 역직렬화된 제 2 이더넷 패킷으로부터 SOME-IP 헤더 정보로부터 CAN message ID를 원복하는 단계; 및
상기 역직렬화된 제 2 이더넷 패킷으로부터 제 2 CAN 프레임들을 원복하는 단계를 더 포함하고,
상기 매핑 테이블은 CAN 신호와 SOME-IP 헤더 정보에 대한 매트릭스를 포함하는 것을 특징으로 하는 방법.9. The method of claim 8,
The converting into the second CAN frames comprises:
recovering a CAN message ID from SOME-IP header information from the deserialized second Ethernet packet using a mapping table; and
The method further comprising the step of recovering second CAN frames from the deserialized second Ethernet packet,
The mapping table comprises a matrix for CAN signal and SOME-IP header information.
상기 복수의 전자 제어 유닛들의 중에서 적어도 하나로부터 제 1 CAN 프레임들을 수신하고, SOME-IP 모듈을 통하여 상기 제 1 CAN 프레임들을 직렬화함으로써 제 1 이더넷 패킷으로 변환하는 송신기; 및
상기 고성능 제어기로부터 제 2 이더넷 패킷을 수신하고, 상기 SOME-IP 모듈을 통하여 제 2 이더넷 패킷을 역직렬화함으로써, 제 2 CAN 프레임들로 변환하는 수신기를 포함하고,
상기 송신기는, 상기 제 1 CAN 프레임들의 각각의 Message ID 및 Message Type을 정의하고,
상기 SOME-IP 모듈에서 상기 제 1 CAN 프레임들의 각각의 Message ID 및 Message Type을 이용하여 상기 제 1 CAN 프레임들을 직렬화함으로써 상기 제 1 이더넷 패킷을 생성하고,
상기 SOME-IP 모듈은, 상기 제 1 CAN 프레임들의 각각을 서비스 형태로 변환하되,
상기 서비스 형태로 변환하는 것은,
상기 제 1 CAN 프레임들의 각각으로부터 헤더 정보를 추출하고, 매핑 테이블을 이용하여 상기 제 1 CAN 프레임들의 각각에 대한 Service ID, Method ID, Client ID, Message Type을 설정하며, 상기 매핑 테이블은 CAN 신호와 SOME-IP 헤더 정보에 대한 매트릭스를 포함하는 것을 특징으로 하는 차량 도메인 제어기.A vehicle domain controller connected between a high-performance controller connected to an Ethernet network and a plurality of electronic control units connected to a controller area network (CAN), comprising:
a transmitter receiving first CAN frames from at least one of the plurality of electronic control units and converting the first CAN frames into a first Ethernet packet by serializing the first CAN frames through a SOME-IP module; and
and a receiver for receiving a second Ethernet packet from the high-performance controller and converting the second Ethernet packet into second CAN frames by deserializing the second Ethernet packet through the SOME-IP module,
The transmitter defines a Message ID and a Message Type of each of the first CAN frames,
The SOME-IP module generates the first Ethernet packet by serializing the first CAN frames using each Message ID and Message Type of the first CAN frames,
The SOME-IP module converts each of the first CAN frames into a service form,
Converting to the above service form,
Header information is extracted from each of the first CAN frames, and Service ID, Method ID, Client ID, and Message Type are set for each of the first CAN frames using a mapping table, and the mapping table is a CAN signal and A vehicle domain controller comprising a matrix for SOME-IP header information.
상기 송신기 및 상기 수신기의 각각은, CAN 신호 정보와 서비스 정보 사이의 상기 매핑 테이블을 이용하여 CAN 프레임-이더넷 패킷 변환을 수행하는 것을 특징으로 하는 차량 도메인 제어기.11. The method of claim 10,
Each of the transmitter and the receiver performs CAN frame-Ethernet packet conversion using the mapping table between CAN signal information and service information.
상기 송신기는 상기 SOME-IP 헤더 정보를 이용하여 수신 장치를 확인하는 것을 특징으로 하는 차량 도메인 제어기.11. The method of claim 10,
and the transmitter identifies a receiving device using the SOME-IP header information.
상기 수신기는 상기 제 2 CAN 프레임들을 UDP(User Datagram Protocol)으로 CAN 장치로 전송하는 것을 특징으로 하는 차량 도메인 제어기.12. The method of claim 11,
The receiver transmits the second CAN frames to a CAN device using User Datagram Protocol (UDP).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020190176461A KR102275144B1 (en) | 2019-12-27 | 2019-12-27 | Can frame-ethernet packet converting method in domain control unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020190176461A KR102275144B1 (en) | 2019-12-27 | 2019-12-27 | Can frame-ethernet packet converting method in domain control unit |
Publications (1)
Publication Number | Publication Date |
---|---|
KR102275144B1 true KR102275144B1 (en) | 2021-07-07 |
Family
ID=76862468
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020190176461A Active KR102275144B1 (en) | 2019-12-27 | 2019-12-27 | Can frame-ethernet packet converting method in domain control unit |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR102275144B1 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114647429A (en) * | 2022-03-18 | 2022-06-21 | 重庆长安汽车股份有限公司 | Terminal function updating method based on AI intelligent assistant scene action protocol |
CN114884912A (en) * | 2022-04-12 | 2022-08-09 | 阿尔特汽车技术股份有限公司 | Communication method, system, equipment and computer readable storage medium of SOA architecture |
CN114885306A (en) * | 2022-05-11 | 2022-08-09 | 智道网联科技(北京)有限公司 | Method for sharing multi-terminal screen in vehicle, vehicle-mounted terminal equipment and system |
CN114945038A (en) * | 2022-04-18 | 2022-08-26 | 阿尔特汽车技术股份有限公司 | Communication method, system, equipment and readable storage medium based on SOA architecture |
CN115001897A (en) * | 2022-06-30 | 2022-09-02 | 阿波罗智能技术(北京)有限公司 | Communication method and device, electronic equipment and automatic driving vehicle |
CN115334114A (en) * | 2022-08-08 | 2022-11-11 | 小米汽车科技有限公司 | System architecture, transmission method, vehicle, medium and chip for static object recognition |
CN115499461A (en) * | 2022-08-23 | 2022-12-20 | 重庆长安汽车股份有限公司 | Data acquisition method and system, cloud server, vehicle and storage medium |
CN115834476A (en) * | 2022-11-16 | 2023-03-21 | 嬴彻星创智能科技(上海)有限公司 | Vehicle-mounted routing device, communication conversion equipment, vehicle control system and vehicle |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20140124255A (en) * | 2013-04-16 | 2014-10-24 | 한국전자통신연구원 | Gateway and Method for delivering Message thereof |
KR101612819B1 (en) * | 2014-11-18 | 2016-04-15 | 현대자동차주식회사 | Method and apparatus for processing SOME/IP stream interworking AVB technology |
CN110460621A (en) * | 2019-09-10 | 2019-11-15 | 上海怿星电子科技有限公司 | A kind of industry ethernet based on SOME/IP agreement and CAN bus data transfer device and system |
CN110535740A (en) | 2019-08-29 | 2019-12-03 | 华人运通(江苏)技术有限公司 | Signal processing method, device, storage medium and terminal |
-
2019
- 2019-12-27 KR KR1020190176461A patent/KR102275144B1/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20140124255A (en) * | 2013-04-16 | 2014-10-24 | 한국전자통신연구원 | Gateway and Method for delivering Message thereof |
KR101612819B1 (en) * | 2014-11-18 | 2016-04-15 | 현대자동차주식회사 | Method and apparatus for processing SOME/IP stream interworking AVB technology |
CN110535740A (en) | 2019-08-29 | 2019-12-03 | 华人运通(江苏)技术有限公司 | Signal processing method, device, storage medium and terminal |
CN110460621A (en) * | 2019-09-10 | 2019-11-15 | 上海怿星电子科技有限公司 | A kind of industry ethernet based on SOME/IP agreement and CAN bus data transfer device and system |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114647429A (en) * | 2022-03-18 | 2022-06-21 | 重庆长安汽车股份有限公司 | Terminal function updating method based on AI intelligent assistant scene action protocol |
CN114884912A (en) * | 2022-04-12 | 2022-08-09 | 阿尔特汽车技术股份有限公司 | Communication method, system, equipment and computer readable storage medium of SOA architecture |
CN114945038A (en) * | 2022-04-18 | 2022-08-26 | 阿尔特汽车技术股份有限公司 | Communication method, system, equipment and readable storage medium based on SOA architecture |
CN114885306A (en) * | 2022-05-11 | 2022-08-09 | 智道网联科技(北京)有限公司 | Method for sharing multi-terminal screen in vehicle, vehicle-mounted terminal equipment and system |
CN115001897A (en) * | 2022-06-30 | 2022-09-02 | 阿波罗智能技术(北京)有限公司 | Communication method and device, electronic equipment and automatic driving vehicle |
CN115001897B (en) * | 2022-06-30 | 2024-03-15 | 阿波罗智能技术(北京)有限公司 | Communication method and device, electronic equipment and automatic driving vehicle |
CN115334114A (en) * | 2022-08-08 | 2022-11-11 | 小米汽车科技有限公司 | System architecture, transmission method, vehicle, medium and chip for static object recognition |
CN115499461A (en) * | 2022-08-23 | 2022-12-20 | 重庆长安汽车股份有限公司 | Data acquisition method and system, cloud server, vehicle and storage medium |
CN115834476A (en) * | 2022-11-16 | 2023-03-21 | 嬴彻星创智能科技(上海)有限公司 | Vehicle-mounted routing device, communication conversion equipment, vehicle control system and vehicle |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102275144B1 (en) | Can frame-ethernet packet converting method in domain control unit | |
US9185627B2 (en) | Low cost mesh network capability | |
US10609125B2 (en) | Method and system for transmitting communication data | |
CN108199942A (en) | Vehicle diagnosis method, device, equipment, system and diagnosis connection equipment | |
CN114501593B (en) | Network slice access method, device, system and storage medium | |
CN102170366B (en) | Method, device and system for communicating with single board | |
US20230140769A1 (en) | REMOTE RECONFIGURATION SYSTEM FOR INTERNET OF THINGS (IoT) INTELLIGENT SENSING TERMINAL | |
CN114301981B (en) | A chip service agent method and related equipment | |
CN106301956A (en) | A kind of network equipments configuration management method based on NETCONF | |
CN111479336A (en) | Software framework and development platform of WI-FI chipset | |
CN115022408A (en) | Service grid-based data transmission method and device, and electronic equipment | |
CN112559472B (en) | File transmission method, device, computer equipment and storage medium | |
CN101312412B (en) | Ethernet transmission system based on embedded technique | |
CN114025016B (en) | Data forwarding method, device and storage medium | |
CN111147582A (en) | Voice interaction method and device, computer equipment and storage medium | |
CN116582364A (en) | Data access method, system, device, electronic equipment and readable storage medium | |
CN106534052B (en) | Communication processing method and electronic equipment | |
Noman et al. | From threads to events: Adapting a lightweight middleware for Contiki OS | |
CN109582481B (en) | Transmission method, device and equipment of call result and storage medium | |
CN113938469A (en) | non-SIP protocol terminal and SIP protocol terminal conversation method, gateway and SIP server | |
WO2022192307A1 (en) | Flexible communication-device management via multiple user interfaces | |
CN114615321A (en) | Traffic processing method and device | |
CN104104663B (en) | A kind of distribution invocation framenort, equipment and its data transmission method | |
CN113065049A (en) | Data capture method and device, storage medium and electronic equipment | |
CN111240867A (en) | Information communication system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20191227 |
|
PA0201 | Request for examination | ||
PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 20201021 Patent event code: PE09021S01D |
|
E701 | Decision to grant or registration of patent right | ||
PE0701 | Decision of registration |
Patent event code: PE07011S01D Comment text: Decision to Grant Registration Patent event date: 20210527 |
|
GRNT | Written decision to grant | ||
PR0701 | Registration of establishment |
Comment text: Registration of Establishment Patent event date: 20210702 Patent event code: PR07011E01D |
|
PR1002 | Payment of registration fee |
Payment date: 20210702 End annual number: 3 Start annual number: 1 |
|
PG1601 | Publication of registration |