KR20110057371A - Method and apparatus for transmission and conversion of ethernet-can frame - Google Patents

Method and apparatus for transmission and conversion of ethernet-can frame Download PDF

Info

Publication number
KR20110057371A
KR20110057371A KR1020090113745A KR20090113745A KR20110057371A KR 20110057371 A KR20110057371 A KR 20110057371A KR 1020090113745 A KR1020090113745 A KR 1020090113745A KR 20090113745 A KR20090113745 A KR 20090113745A KR 20110057371 A KR20110057371 A KR 20110057371A
Authority
KR
South Korea
Prior art keywords
frame
ethernet
network
received
ethernet frame
Prior art date
Application number
KR1020090113745A
Other languages
Korean (ko)
Other versions
KR101206894B1 (en
Inventor
황현용
한태만
Original Assignee
한국전자통신연구원
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 한국전자통신연구원 filed Critical 한국전자통신연구원
Priority to KR1020090113745A priority Critical patent/KR101206894B1/en
Publication of KR20110057371A publication Critical patent/KR20110057371A/en
Application granted granted Critical
Publication of KR101206894B1 publication Critical patent/KR101206894B1/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/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • H04L49/351Switches specially adapted for specific applications for local area network [LAN], e.g. Ethernet switches
    • 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

PURPOSE: An Ethernet-CAN(Controller Area Network) frame conversion transmitting device and method thereof capable are provided to effectively change a frame for transmitting data of a CAN network and packet network. CONSTITUTION: A switching unit(120) interlinks a packet network and a CAN network. An Ethernet frame interface unit(110) changes an Ethernet frame, which is received from the packet network, into a CAN frame. An Ethernet frame interface unit transmits the CAN frame through a switching unit to the CAN network. A CAN frame interface unit changes a CAN frame, which is received from the CAN network, into the Ethernet frame.

Description

이더넷-캔 프레임 변환 전송 장치 및 방법{METHOD AND APPARATUS FOR TRANSMISSION AND CONVERSION OF ETHERNET-CAN FRAME}TECHNOD AND APPARATUS FOR TRANSMISSION AND CONVERSION OF ETHERNET-CAN FRAME}

본 발명은 이더넷-캔 프레임 변환 전송 장치 및 방법에 관한 것으로서, 더욱 상세하게는 패킷 네트워크와 캔(Controller Area Network, CAN) 네트워크와의 데이터 교환을 위한 프레임 변환 전송 장치 및 방법에 관한 것이다.The present invention relates to an Ethernet-can frame conversion transmission apparatus and method, and more particularly, to a frame conversion transmission apparatus and method for data exchange between a packet network and a CAN (Controller Area Network, CAN) network.

본 발명은 지식경제부의 IT성장동력기술개발 사업의 일환으로 수행한 연구로부터 도출된 것이다[과제관리번호 : 2008-S-007-02, 과제명 : 차량 전장용 통합제어 SW 플랫폼 개발].The present invention is derived from a study conducted as part of the IT growth engine technology development project of the Ministry of Knowledge Economy [Task Management Number: 2008-S-007-02, Title: Development of integrated control SW platform for vehicle electronics].

주지하는 바와 같이, CAN 네트워크는 매우 높은 보안 레벨을 가지는 분산된 실시간 제어를 지원하는 효율적인 시리얼 통신 프로토콜이다. 이러한 CAN 네트워크는 멀티 마스터 지원, 우선순위 처리, 그리고 정교한 오류 검출 등의 장점들을 가져서 산업체, 특히 차량 내부에서 데이터를 전달하기 위한 자동차용 네트워크에서 널리 사용되고 있다.As noted, CAN networks are efficient serial communication protocols that support distributed real-time control with very high security levels. These CAN networks are widely used in industry, especially in automotive networks for delivering data inside the vehicle, with the advantages of multi-master support, priority handling, and sophisticated error detection.

컴퓨터 및 인터넷 통신을 위한 패킷 네트워크는 인터넷 사용자 및 기존 데이터 서비스의 폭발적인 증가와 더불어 디지털 방송, 화상 전화, VoD(Video on Demand), IPTV(Internet Protocol Television), VoIP(Voice over IP) 등과 같은 다양한 종류의 멀티미디어 서비스 및 허브, 스위치, 라우터 등과 같은 첨단 장비들의 개발로 인하여 LAN(Local Area Network) 및 WAN(Wide Area Network) 등에서 널리 사용되고 있다.Packet networks for computer and Internet communications have seen an explosion in the number of Internet users and existing data services, along with a wide variety of applications such as digital broadcasting, video telephony, Video on Demand (VOD), Internet Protocol Television (IPTV), and Voice over IP (VoIP). It is widely used in local area network (LAN) and wide area network (WAN) due to the development of advanced services such as multimedia services and hubs, switches and routers.

과거의 자동차는 사람 또는 물건을 나르기 위한 단순한 운송 시스템에 불과하였으나 현재의 자동차는 기존 운송 시스템의 기능 이외에 정보와 오락의 기능을 부가한 인포테인먼트(Infortainment, Information + Entertainment) 시스템으로서 사용되고 있다. 따라서 차량용 멀티미디어 서비스를 지원하기 위한 CAN 네트워크는 이러한 인포테인먼트를 지원하기 위하여 일반적인 데이터 서비스와 새로운 형태의 멀티미디어 서비스를 제공하는 패킷 네트워크의 데이터를 이용할 필요가 있다.In the past, the automobile was merely a transportation system for carrying people or goods, but the current automobile is used as an infotainment (information + entertainment) system that adds information and entertainment functions in addition to the functions of the existing transportation system. Therefore, the CAN network for supporting a vehicle multimedia service needs to use data of a packet network that provides a general data service and a new type of multimedia service to support such infotainment.

그러나 CAN 네트워크의 데이터 전달을 위한 CAN 프레임과 패킷 네트워크의 데이터 전달을 위한 이더넷 프레임은 프레임의 형태가 서로 다르기 때문에 프레임의 변환 없이 전달하는 것이 불가능한 문제점이 있었다.However, the CAN frame for data transmission of the CAN network and the Ethernet frame for data transmission of the packet network have a problem that it is impossible to transmit without converting the frame because the frames are different.

본 발명은 이와 같은 종래 기술의 문제점을 해결하기 위해 제안한 것으로서, CAN 네트워크와 패킷 네트워크의 데이터 전달을 위하여 프레임을 효과적으로 변형시켜주는 프레임 변환 전송 장치 및 방법을 제공한다.The present invention has been proposed to solve the above problems of the prior art, and provides a frame conversion transmission apparatus and method for effectively transforming a frame for data transmission of a CAN network and a packet network.

본 발명의 제 1 관점으로서 이더넷-CAN 프레임 변환 전송 장치는, 패킷 네트워크와 CAN 네트워크를 연결하는 스위칭부와, 상기 패킷 네트워크로부터 수신한 이더넷 프레임을 CAN 프레임으로 변환하여 상기 스위칭부를 통해 상기 CAN 네트워크로 송신하는 이더넷 프레임 인터페이스부와, 상기 CAN 네트워크로부터 수신한 CAN 프레임을 이더넷 프레임으로 변환하여 상기 스위칭부를 통해 상기 패킷 네트워크로 송신하는 CAN 프레임 인터페이스부를 포함한다.In accordance with a first aspect of the present invention, an Ethernet-CAN frame conversion transmission apparatus includes a switching unit connecting a packet network and a CAN network, and converting an Ethernet frame received from the packet network into a CAN frame to the CAN network through the switching unit. The Ethernet frame interface unit for transmitting, and the CAN frame interface unit for converting the CAN frame received from the CAN network into an Ethernet frame to transmit to the packet network through the switching unit.

여기서, 상기 이더넷 프레임 인터페이스부는, 상기 패킷 네트워크로부터 수신한 이더넷 프레임이 일반적인 이더넷 프레임일 경우에 상기 일반적인 이더넷 프레임의 DA(Destination Address)를 이용하여 상기 CAN 프레임의 중재 필드를 생성한다.Herein, when the Ethernet frame received from the packet network is a general Ethernet frame, the Ethernet frame interface unit generates an arbitration field of the CAN frame by using a destination address (DA) of the general Ethernet frame.

상기 이더넷 프레임 인터페이스부는, 상기 패킷 네트워크로부터 수신한 이더넷 프레임이 MPLS 프레임일 경우에 상기 MPLS 프레임의 라벨을 이용하여 상기 CAN 프레임의 중재 필드를 생성한다.The Ethernet frame interface unit generates an arbitration field of the CAN frame using a label of the MPLS frame when the Ethernet frame received from the packet network is an MPLS frame.

상기 이더넷 프레임 인터페이스부는, 상기 패킷 네트워크로부터 수신한 이더넷 프레임이 VLAN 이더넷 프레임일 경우에 상기 VLAN 이더넷 프레임의 VLAN 식별자를 이용하여 상기 CAN 프레임의 중재 필드 내부의 식별 정보를 생성한다.When the Ethernet frame received from the packet network is a VLAN Ethernet frame, the Ethernet frame interface unit generates identification information in an arbitration field of the CAN frame using a VLAN identifier of the VLAN Ethernet frame.

상기 CAN 프레임 인터페이스부는, 상기 CAN 네트워크로부터 수신한 CAN 프레임의 중재 필드를 이용하여 상기 이더넷 프레임의 DA와 상기 MPLS 프레임의 라벨 또는 상기 VLAN 이더넷 프레임의 VLAN 식별자 중에서 어느 하나를 생성한다.The CAN frame interface unit generates one of a DA of the Ethernet frame, a label of the MPLS frame, and a VLAN identifier of the VLAN Ethernet frame by using an arbitration field of the CAN frame received from the CAN network.

본 발명의 제 2 관점으로서 이더넷-CAN 프레임 변환 전송 방법은, 패킷 네트워크로부터 이더넷 프레임을 수신하는 단계와, 수신한 상기 이더넷 프레임을 분석하여 전달할 네트워크를 결정하는 단계와, 결정한 상기 네트워크가 CAN 네트워크일 경우에 상기 이더넷 프레임을 CAN 프레임으로 변환하는 단계와, 변환한 상기 CAN 프레임을 상기 CAN 네트워크로 전송하는 단계를 포함한다.According to a second aspect of the present invention, an Ethernet-CAN frame conversion transmission method includes receiving an Ethernet frame from a packet network, analyzing the received Ethernet frame, determining a network to be forwarded, and determining that the network is a CAN network. And converting the Ethernet frame into a CAN frame, and transmitting the converted CAN frame to the CAN network.

여기서, 상기 CAN 프레임으로 변환하는 단계는, 상기 패킷 네트워크로부터 수신한 이더넷 프레임이 일반적인 이더넷 프레임일 경우에 상기 일반적인 이더넷 프레임의 DA를 이용하여 상기 CAN 프레임의 중재 필드를 생성한다.In the converting into the CAN frame, when the Ethernet frame received from the packet network is a general Ethernet frame, an arbitration field of the CAN frame is generated using the DA of the general Ethernet frame.

상기 CAN 프레임으로 변환하는 단계는, 상기 패킷 네트워크로부터 수신한 이더넷 프레임이 MPLS 프레임일 경우에 상기 MPLS 프레임의 라벨을 이용하여 상기 CAN 프레임의 중재 필드를 생성한다.In the converting to the CAN frame, when the Ethernet frame received from the packet network is an MPLS frame, an arbitration field of the CAN frame is generated using a label of the MPLS frame.

상기 CAN 프레임으로 변환하는 단계는, 상기 패킷 네트워크로부터 수신한 이더넷 프레임이 VLAN 이더넷 프레임일 경우에 상기 VLAN 이더넷 프레임의 VLAN 식별자를 이용하여 상기 CAN 프레임의 중재 필드 내부의 식별 정보를 생성한다.In the converting to the CAN frame, when the Ethernet frame received from the packet network is a VLAN Ethernet frame, identification information in the arbitration field of the CAN frame is generated using a VLAN identifier of the VLAN Ethernet frame.

본 발명의 제 3 관점으로서 이더넷-CAN 프레임 변환 전송 방법은, CAN 네트 워크로부터 CAN 프레임을 수신하는 단계와, 수신한 상기 CAN 프레임을 분석하여 전달할 네트워크를 결정하는 단계와, 결정한 상기 네트워크가 이더넷 네트워크일 경우에 상기 CAN 프레임을 일반적인 이더넷 프레임과 MPLS 프레임 또는 VLAN 이더넷 프레임 중에서 어느 하나의 프레임으로 변환하는 단계와, 변환한 상기 어느 하나의 프레임을 상기 이더넷 네트워크로 전송하는 단계를 포함한다.According to a third aspect of the present invention, an Ethernet-CAN frame conversion transmission method includes receiving a CAN frame from a CAN network, analyzing a received CAN frame, determining a network to be transmitted, and determining that the network is an Ethernet network. In one case, converting the CAN frame into any one of the general Ethernet frame, MPLS frame or VLAN Ethernet frame, and transmitting the converted one frame to the Ethernet network.

여기서, 상기 어느 하나의 프레임으로 변환하는 단계는, 상기 CAN 네트워크로부터 수신한 CAN 프레임의 중재 필드를 이용하여 상기 이더넷 프레임의 DA와 상기 MPLS 프레임의 라벨 또는 상기 VLAN 이더넷 프레임의 VLAN 식별자 중에서 어느 하나를 생성한다.The converting into any one frame may include selecting one of DA of the Ethernet frame, a label of the MPLS frame, and a VLAN identifier of the VLAN Ethernet frame using an arbitration field of the CAN frame received from the CAN network. Create

본 발명의 실시예에 의하면, 패킷 네트워크에서 데이터를 전송하는 이더넷 프레임을 CAN 네트워크에서 데이터를 전송하는 CAN 프레임으로 변형시키는 것이 가능하기 때문에 다양한 종류의 데이터를 자동차 네트워크로 전달하는 등의 인포테인먼트 지원이 가능하다.According to an embodiment of the present invention, since it is possible to transform an Ethernet frame transmitting data in a packet network into a CAN frame transmitting data in a CAN network, it is possible to support infotainment such as transferring various types of data to an automobile network. Do.

또한 CAN 네트워크에서 데이터를 전송하는 CAN 프레임을 패킷 네트워크에서 데이터를 전송하는 이더넷 프레임으로 변형시키는 경우에 E-type 정보를 이용하여 일반적인 이더넷 프레임, MPLS 프레임, 그리고 VLAN(Vertual LAN) 태그 프레임을 구분하여 표시하므로 여러 유형의 프레임을 생성하는 것이 가능하다. 이로써, 패킷 네트워크를 이용하여 진단(diagnostic) 테스트를 손쉽게 할 수 있는 효과가 있다.Also, in case of converting CAN frame transmitting data in CAN network into Ethernet frame transmitting data in packet network, E-type information is used to classify general Ethernet frame, MPLS frame and VLAN (Vertual LAN) tag frame. It is possible to create different types of frames because of the display. As a result, it is possible to easily perform diagnostic tests using a packet network.

본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하고, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다.Advantages and features of the present invention and methods for achieving them will be apparent with reference to the embodiments described below in detail with the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below, but can be implemented in various different forms, and only the embodiments make the disclosure of the present invention complete, and the general knowledge in the art to which the present invention belongs. It is provided to fully inform the person having the scope of the invention, which is defined only by the scope of the claims.

본 발명의 실시예들을 설명함에 있어서 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다. 그리고 후술되는 용어들은 본 발명의 실시예에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다. 그러므로 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다. In describing the embodiments of the present invention, if it is determined that a detailed description of a known function or configuration may unnecessarily obscure the gist of the present invention, the detailed description thereof will be omitted. In addition, terms to be described below are terms defined in consideration of functions in the embodiments of the present invention, which may vary according to intentions or customs of users and operators. Therefore, the definition should be based on the contents throughout this specification.

첨부된 블록도의 각 블록과 흐름도의 각 단계의 조합들은 컴퓨터 프로그램 인스트럭션들에 의해 수행될 수도 있다. 이들 컴퓨터 프로그램 인스트럭션들은 범용 컴퓨터, 특수용 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비의 프로세서에 탑재될 수 있으므로, 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비의 프로세서를 통해 수행되는 그 인스트럭션들이 블록도의 각 블록 또는 흐름도의 각 단계에서 설명된 기능들을 수행하는 수단을 생성하게 된다. 이들 컴퓨터 프로그램 인스트럭션들은 특정 방식으로 기능을 구현하기 위해 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비를 지향할 수 있는 컴퓨터 이용 가능 또는 컴퓨터 판독 가능 메모리에 저장되는 것도 가능하므로, 그 컴퓨터 이용가능 또는 컴퓨터 판독 가능 메모리에 저장된 인스트럭션들은 블록도의 각 블록 또는 흐름도 각 단계에서 설명된 기능을 수행하는 인스트럭션 수단을 내포하는 제조 품목을 생산하는 것도 가능하다. 컴퓨터 프로그램 인스트럭션들은 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비 상에 탑재되는 것도 가능하므로, 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비 상에서 일련의 동작 단계들이 수행되어 컴퓨터로 실행되는 프로세스를 생성해서 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비를 수행하는 인스트럭션들은 블록도의 각 블록 및 흐름도의 각 단계에서 설명된 기능들을 실행하기 위한 단계들을 제공하는 것도 가능하다. Combinations of each block of the accompanying block diagram and each step of the flowchart may be performed by computer program instructions. These computer program instructions may be mounted on a processor of a general purpose computer, special purpose computer, or other programmable data processing equipment such that instructions executed through the processor of the computer or other programmable data processing equipment may not be included in each block or flowchart of the block diagram. It will create means for performing the functions described in each step. These computer program instructions may be stored in a computer usable or computer readable memory that can be directed to a computer or other programmable data processing equipment to implement functionality in a particular manner, and thus the computer usable or computer readable memory. It is also possible for the instructions stored in to produce an article of manufacture containing instruction means for performing the functions described in each block or flowchart of each step of the block diagram. Computer program instructions may also be mounted on a computer or other programmable data processing equipment, such that a series of operating steps may be performed on the computer or other programmable data processing equipment to create a computer-implemented process to create a computer or other programmable data. Instructions that perform processing equipment may also provide steps for performing the functions described in each block of the block diagram and in each step of the flowchart.

또한, 각 블록 또는 각 단계는 특정된 논리적 기능(들)을 실행하기 위한 하나 이상의 실행 가능한 인스트럭션들을 포함하는 모듈, 세그먼트 또는 코드의 일부를 나타낼 수 있다. 또, 몇 가지 대체 실시예들에서는 블록들 또는 단계들에서 언급된 기능들이 순서를 벗어나서 발생하는 것도 가능함을 주목해야 한다. 예컨대, 잇달아 도시되어 있는 두 개의 블록들 또는 단계들은 사실 실질적으로 동시에 수행되는 것도 가능하고 또는 그 블록들 또는 단계들이 때때로 해당하는 기능에 따라 역순으로 수행되는 것도 가능하다.In addition, each block or step may represent a portion of a module, segment or code that includes one or more executable instructions for executing a specified logical function (s). It should also be noted that in some alternative embodiments, the functions noted in the blocks or steps may occur out of order. For example, the two blocks or steps shown in succession may in fact be executed substantially concurrently or the blocks or steps may sometimes be performed in the reverse order, depending on the functionality involved.

도 1은 본 발명의 실시예에 따른 이더넷-CAN 프레임 변환 전송 장치의 블록 구성도이다.1 is a block diagram of an Ethernet-CAN frame conversion transmission apparatus according to an embodiment of the present invention.

이에 나타낸 바와 같이 이더넷-CAN 프레임 변환 전송 장치(100)는, 패킷 네트워크에 연결되어 이더넷 프레임을 송수신하는 이더넷 프레임 인터페이스부(110), 패킷 네트워크와 CAN 네트워크를 연결하는 스위칭부(120)와, CAN 네트워크에 연결되어 CAN 프레임을 송수신하는 CAN 프레임 인터페이스부(130) 등을 포함하여 구성된다.As shown therein, the Ethernet-CAN frame conversion transmission apparatus 100 includes: an Ethernet frame interface unit 110 connected to a packet network to transmit and receive an Ethernet frame, a switching unit 120 connecting a packet network to a CAN network, and CAN. It is configured to include a CAN frame interface unit 130 connected to the network for transmitting and receiving CAN frames.

이더넷 프레임 인터페이스부(110)는 물리연결부(111), 프레임 송수신부(112), 이더넷 프레임 분석부(113), 이더넷 프레임 처리부(114), 룩업 테이블(115) 등을 포함하여 구성된다. 물리연결부(111)는 이더넷 프레임 인터페이스부(110)를 물리(physical)층으로 연결한다. 프레임 송수신부(112)는 MAC(Media Access Control) 프레임을 송수신한다. 이더넷 프레임 분석부(113)는 이더넷 프레임을 분석한다. 이더넷 프레임 처리부(114)는 수신된 이더넷 프레임이 CAN 네트워크로 전달되는 경우에 이더넷 프레임을 CAN 프레임으로 변환시킨다. 룩업 테이블(lookup table)(115)은 이더넷 프레임의 목적지 주소 정보와 CAN 프레임의 식별(identifier) 정보를 저장한다.The Ethernet frame interface unit 110 includes a physical connection unit 111, a frame transmission and reception unit 112, an Ethernet frame analysis unit 113, an Ethernet frame processing unit 114, a lookup table 115 and the like. The physical connection unit 111 connects the Ethernet frame interface unit 110 to a physical layer. The frame transceiver 112 transmits and receives a MAC (Media Access Control) frame. The Ethernet frame analyzer 113 analyzes the Ethernet frame. The Ethernet frame processor 114 converts the Ethernet frame into a CAN frame when the received Ethernet frame is transferred to the CAN network. The lookup table 115 stores the destination address information of the Ethernet frame and the identifier information of the CAN frame.

CAN 프레임 인터페이스부(130)는 물리연결부(131), 프레임 송수신부(132), CAN 프레임 분석부(133), CAN 프레임 처리부(134), 룩업 테이블(135) 등을 포함하여 구성된다. 물리연결부(131)는 CAN 프레임 인터페이스부(130)를 물리층으로 연결한다. 프레임 송수신부(132)는 CAN 프레임을 송수신한다. 이더넷 프레임 분석부(133)는 CAN 프레임을 분석한다. CAN 프레임 처리부(134)는 수신된 CAN 프레 임이 패킷 네트워크로 전달되는 경우에 CAN 프레임을 이더넷 프레임으로 변환시킨다. 룩업 테이블(135)은 CAN 프레임의 식별 정보와 이더넷 프레임의 목적지 주소 정보를 저장한다.The CAN frame interface unit 130 includes a physical connection unit 131, a frame transceiver unit 132, a CAN frame analyzer 133, a CAN frame processor 134, a lookup table 135, and the like. The physical connection unit 131 connects the CAN frame interface unit 130 to the physical layer. The frame transceiver 132 transmits and receives a CAN frame. The Ethernet frame analyzer 133 analyzes the CAN frame. The CAN frame processing unit 134 converts the CAN frame into an Ethernet frame when the received CAN frame is transferred to the packet network. The lookup table 135 stores identification information of the CAN frame and destination address information of the Ethernet frame.

이와 같은 이더넷-CAN 프레임 변환 전송 장치(100)는 패킷 네트워크와 CAN 네트워크 사이의 게이트웨이 장치라 할 수 있다.The Ethernet-CAN frame conversion transmission apparatus 100 may be referred to as a gateway device between a packet network and a CAN network.

도 2는 일반적인 이더넷 프레임과 MPLS(Multiprotocol Label Switching) 프레임, 그리고 CAN 프레임의 포맷을 보여주는 구조도이다.2 is a structural diagram showing a format of a general Ethernet frame, a multiprotocol label switching (MPLS) frame, and a CAN frame.

이더넷 프레임(210)는 동기를 맞추는 기능을 갖는 프리엠블(preamble)(211), 프레임의 시작을 나타내는 기능을 갖는 SFD(Start Frame Delimiter)(212), 목적지 주소를 나타내는 기능을 갖는 DA(Destination Address)(213), 출발지 주소를 나타내는 기능을 갖는 SA(Source Address)(214), 이더넷 프레임의 유형을 나타내는 기능을 갖는 E-type(215), 전송하고자 하는 데이터를 나타내는 데이터(216), 그리고 프레임의 오류를 검출하는 기능을 갖는 FCS(Frame Check Sequence)(217)로 구성된다.The Ethernet frame 210 includes a preamble 211 having a function of synchronizing, a Start Frame Delimiter (SFD) 212 having a function of indicating the start of a frame, and a DA (Destination Address) having a function of indicating a destination address. 213, a Source Address (214) having a function of indicating a source address, an E-type 215 having a function of indicating a type of an Ethernet frame, data 216 indicating a data to be transmitted, and a frame. It consists of a frame check sequence (FCS) 217 having a function of detecting an error.

MPLS 프레임(220)은 동기를 맞추는 기능을 갖는 프리엠블(221), 프레임의 시작을 나타내는 기능을 갖는 SFD(222), 목적지 주소를 나타내는 기능을 갖는 DA(223), 출발지 주소를 나타내는 기능을 갖는 SA(224), 이더넷 프레임의 유형을 나타내는 기능을 갖는 E-type(225), 데이터 포워딩을 위한 라벨(Label)(226), 전송하고자 하는 데이터를 나타내는 데이터(227), 그리고 프레임의 오류를 검출하는 기 능을 갖는 FCS(228)로 구성된다.The MPLS frame 220 includes a preamble 221 having a function of synchronizing, a SFD 222 having a function of indicating the start of the frame, a DA 223 having a function of indicating a destination address, and a function of indicating a starting address. SA 224, E-type 225 having the function of indicating the type of Ethernet frame, label 226 for data forwarding, data 227 indicating the data to be transmitted, and error in the frame It consists of an FCS (228) having a function.

CAN 프레임(230)은 프레임의 시작을 알려주는 기능을 갖는 시작 프레임(start of frame)(231), 식별 정보와 CAN 프레임의 종류를 나타내는 기능을 갖는 중재 필드(arbitration field)(232), 데이터 필드의 길이와 CAN 프레임의 종류를 나타내는 기능을 갖는 제어(control) 필드(233), 전송하고자 하는 데이터를 나타내는 데이터 필드(234), 프레임의 오류를 검출하는 기능을 갖는 CRC(Cyclic Redundancy Check) 필드(235), 프레임이 정확하게 수신되었음을 알려주는 기능을 갖는 ACK(ACKnowledge) 필드(236), 그리고 프레임의 끝을 알려주는 기능을 갖는 종단 프레임(end of frame)(237)로 구성된다.The CAN frame 230 includes a start of frame 231 having a function of notifying the start of a frame, an arbitration field 232 having a function of indicating identification information and a type of a CAN frame, and a data field. A control field 233 having a function of indicating the length of a frame and a type of a CAN frame, a data field 234 indicating a data to be transmitted, and a cyclic redundancy check (CRC) field having a function of detecting an error of a frame ( 235, an ACK (ACKnowledge) field 236 having a function of indicating that the frame has been correctly received, and an end of frame 237 having a function of indicating the end of the frame.

도 3은 본 발명의 실시예에 따른 이더넷-CAN 프레임 변환 전송 장치가 패킷 네트워크의 이더넷 프레임을 CAN 네트워크로 전송하는 경우에 프레임 처리 절차를 나타낸 흐름도이다.3 is a flowchart illustrating a frame processing procedure when an Ethernet-CAN frame conversion transmission apparatus transmits an Ethernet frame of a packet network to a CAN network according to an embodiment of the present invention.

먼저, 물리연결부(111)에 의해 이더넷 프레임 인터페이스부(110)가 패킷 네트워크의 물리층에 연결되며, 프레임 송수신부(112)가 이더넷 프레임을 수신한다(S301).First, the Ethernet frame interface unit 110 is connected to the physical layer of the packet network by the physical connection unit 111, the frame transceiver 112 receives the Ethernet frame (S301).

이더넷 프레임 분석부(113)는 수신된 이더넷 프레임의 정보들을 분석 및 추출하며(S302), 이더넷 프레임 처리부(114)는 이더넷 프레임 분석부(113)가 추출한 정보들에 의거하여 이더넷 프레임을 어떠한 네트워크로 전송할지를 결정한다(S303).The Ethernet frame analyzer 113 analyzes and extracts the information of the received Ethernet frame (S302), and the Ethernet frame processor 114 converts the Ethernet frame into a network based on the information extracted by the Ethernet frame analyzer 113. It is determined whether to transmit (S303).

이더넷 프레임 처리부(114)는 이더넷 프레임을 CAN 네트워크로 전송할 경우에 이더넷 프레임의 패킷 데이터를 CAN 프레임의 길이에 맞도록 분할(fragmentation)한다(S304).When transmitting the Ethernet frame to the CAN network, the Ethernet frame processing unit 114 splits packet data of the Ethernet frame to fit the length of the CAN frame (S304).

이더넷 프레임이 일반적인 이더넷 프레임인 경우에 DA(213)를 이용하여 CAN 프레임의 중재 필드(232)를 생성하고, MPLS 프레임인 경우에 라벨(226)을 이용하여 CAN 프레임의 중재 필드(232)를 생성한다. 또한 생성된 중재 필드(232)와 데이터(216 또는 227)를 이용하여 CAN 프레임을 생성한 후에 스위칭부(120)를 통해 CAN 네트워크로 전송한다(S305).If the Ethernet frame is a general Ethernet frame, the mediation field 232 of the CAN frame is generated using the DA 213, and if the MPLS frame, the mediation field 232 of the CAN frame is generated using the label 226. do. In addition, after generating the CAN frame using the generated arbitration field 232 and the data (216 or 227) and transmits to the CAN network through the switching unit 120 (S305).

도 4는 본 발명의 실시예에 따라 패킷 네트워크의 이더넷 프레임을 CAN 프레임으로 변환하는 과정을 나타낸 도면이다.4 is a diagram illustrating a process of converting an Ethernet frame of a packet network into a CAN frame according to an embodiment of the present invention.

이더넷 프레임 인터페이스부(110)의 이더넷 프레임 처리부(114)는 수신된 이더넷 프레임(210)의 DA(213)를 가지고 룩업 테이블(115)에서 룩업과정을 통하여 CAN 프레임의 중재 필드(232)인 중재 필드 0(232a)을 생성한다.The Ethernet frame processing unit 114 of the Ethernet frame interface unit 110 has an DA 213 of the received Ethernet frame 210 and an arbitration field which is an arbitration field 232 of the CAN frame through a lookup process in the lookup table 115. Produces 0 (232a).

또한 CAN 프레임이 전송할 수 있는 데이터의 사이즈가 한정되어 있으므로 이더넷 프레임의 데이터(216)를 데이터 1(216a), 데이터 2(216b), 데이터 3(216c), 그리고 데이터 4(216d)로 분할시킨다.In addition, since the size of data that can be transmitted by the CAN frame is limited, the data 216 of the Ethernet frame is divided into data 1 216a, data 2 216b, data 3 216c, and data 4 216d.

아울러 이더넷 프레임 처리부(114)는 생성된 중재 필드 0(232a)과 분할된 데이터 1 내지 데이터 4(216a 내지 216d)를 이용하여 CAN 프레임 1(230a), CAN 프레임 2(230b), CAN 프레임 3(230c), 그리고 CAN 프레임 4(230d)를 생성한 후에 CAN 네트워크로 전송한다.In addition, the Ethernet frame processing unit 114 uses the generated arbitration field 0 (232a) and the divided data 1 to data 4 (216a to 216d) to perform CAN frame 1 230a, CAN frame 2 230b, and CAN frame 3 ( 230c) and CAN frame 4 (230d) is generated and transmitted to the CAN network.

도 5는 본 발명의 실시예에 따라 패킷 네트워크의 MPLS 프레임을 CAN 프레임으로 변환하는 과정을 나타낸 도면이다.5 is a diagram illustrating a process of converting an MPLS frame of a packet network into a CAN frame according to an embodiment of the present invention.

이더넷 프레임 인터페이스부(110)의 이더넷 프레임 처리부(114)는 수신된 MPLS 프레임(220)의 라벨(226)를 가지고 룩업 테이블(115)에서 룩업과정을 통하여 CAN 프레임의 중재 필드(232)인 중재 필드 1(232b)을 생성한다.The arbitration field, which is the arbitration field 232 of the CAN frame through the lookup process in the lookup table 115 with the label 226 of the received MPLS frame 220, is carried out by the Ethernet frame processing unit 114 of the Ethernet frame interface unit 110. Produces 1 (232b).

또한 CAN 프레임이 전송할 수 있는 데이터의 사이즈가 한정되어 있으므로 MPLS 프레임(220)의 데이터(227)를 데이터 1(227a), 데이터 2(227b), 데이터 3(227c), 그리고 데이터 4(227d)로 분할시킨다.In addition, since the size of data that a CAN frame can transmit is limited, the data 227 of the MPLS frame 220 is converted into data 1 227a, data 2 227b, data 3 227c, and data 4 227d. Split

아울러 이더넷 프레임 처리부(114)는 생성된 중재 필드 1(232b)과 분할된 데이터 1 내지 데이터 4(227a 내지 227d)를 이용하여 CAN 프레임 1(230e), CAN 프레임 2(230f), CAN 프레임 3(230g), 그리고 CAN 프레임 4(230h)를 생성한 후에 CAN 네트워크로 전송한다.In addition, the Ethernet frame processing unit 114 uses the generated arbitration field 1 (232b) and the divided data 1 to data 4 (227a to 227d) for CAN frame 1 230e, CAN frame 2 230f, and CAN frame 3 ( 230g), and then CAN frame 4 (230h) is generated and transmitted to the CAN network.

한편, 이더넷 프레임 인터페이스부(110)의 이더넷 프레임 처리부(114)는 이더넷 프레임(210)의 DA(213)와 MPLS 프레임(220)의 라벨(226) 및 VLAN 태그 프레임의 VLAN 식별자(ID)를 이용하여 CAN 프레임의 중재 필드(232) 내부의 식별 정보를 생성하며, 생성된 CAN 프레임을 CAN 네트워크로 전송할 수 있다. 여기서, CAN 프레임의 데이터 필드를 형성하는 것은 앞서 설명한 CAN 프레임을 형성하는 것과 동일 한 방법으로 형성할 수 있다.Meanwhile, the Ethernet frame processor 114 of the Ethernet frame interface 110 uses the label 226 of the DA 213 of the Ethernet frame 210 and the label 226 of the MPLS frame 220 and the VLAN identifier (ID) of the VLAN tag frame. By generating identification information in the arbitration field 232 of the CAN frame, the generated CAN frame can be transmitted to the CAN network. Here, forming the data field of the CAN frame may be formed in the same manner as forming the CAN frame described above.

도 6은 본 발명의 실시예에 따른 이더넷-CAN 프레임 변환 전송 장치가 CAN 네트워크의 CAN 프레임을 패킷 네트워크로 전송하는 경우에 프레임 처리 절차를 나타낸 흐름도이다.6 is a flowchart illustrating a frame processing procedure when the Ethernet-CAN frame conversion transmission apparatus according to an embodiment of the present invention transmits a CAN frame of a CAN network to a packet network.

먼저, 물리연결부(131)에 의해 CAN 프레임 인터페이스부(130)가 CAN 네트워크의 물리층에 연결되며, 프레임 송수신부(132)가 CAN 프레임을 수신한다(S401).First, the CAN frame interface unit 130 is connected to the physical layer of the CAN network by the physical connection unit 131, the frame transceiver 132 receives the CAN frame (S401).

CAN 프레임 분석부(133)는 수신된 CAN 프레임의 정보들을 분석 및 추출하며(S402), CAN 프레임 처리부(134)는 CAN 프레임 분석부(133)가 추출한 정보들에 의거하여 CAN 프레임을 어떠한 네트워크로 전송할지를 결정한다(S403).The CAN frame analyzer 133 analyzes and extracts information of the received CAN frame (S402), and the CAN frame processor 134 converts the CAN frame into a network based on the information extracted by the CAN frame analyzer 133. It is determined whether to transmit (S403).

CAN 프레임 처리부(134)는 송신될 프레임이 일반적인 이더넷 프레임(210)인 경우에 CAN 프레임(230)의 중재 필드(232)를 가지고 룩업 테이블(135)에서 룩업과정을 통하여 DA(213)을 생성하고, 송신될 프레임이 MPLS 프레임(220)인 경우에 CAN 프레임의 중재 필드(232)를 가지고 룩업 테이블(135)에서 룩업과정을 통하여 라벨(226)을 생성한다. 또한 송신될 프레임의 유형에 따라 생성된 DA(213) 또는 라벨(226)과 데이터 필드(234)를 이용하여 이더넷 프레임(210) 또는 MPLS 프레임(220)을 생성한 후에 스위칭부(120)를 통해 패킷 네트워크로 전송한다(S404).The CAN frame processing unit 134 generates the DA 213 through a lookup process in the lookup table 135 with the arbitration field 232 of the CAN frame 230 when the frame to be transmitted is a general Ethernet frame 210. When the frame to be transmitted is the MPLS frame 220, the label 226 is generated through the lookup process in the lookup table 135 with the arbitration field 232 of the CAN frame. In addition, after generating the Ethernet frame 210 or the MPLS frame 220 using the DA 213 or the label 226 and the data field 234 generated according to the type of the frame to be transmitted, the switching unit 120 The packet is transmitted to the network (S404).

도 7은 본 발명의 실시예에 따라 CAN 네트워크의 CAN 프레임을 이더넷 프레 임으로 변환하는 과정을 나타낸 도면이다.7 is a diagram illustrating a process of converting a CAN frame of a CAN network into an Ethernet frame according to an embodiment of the present invention.

CAN 프레임 인터페이스부(130)의 CAN 프레임 처리부(134)는 CAN 프레임(230)의 중재 필드(232)를 가지고 룩업 테이블(135)에서 룩업과정을 통하여 이더넷 프레임의 DA(213)를 생성한다. 또한 데이터 필드(234)의 사이즈가 너무 작아서 최소 이더넷 사이즈를 만족할 수 없는 경우에는 패딩(padding) 1(216b)을 삽입하여 데이터 1(216a)과 패딩 1(216b)로 최소 이더넷 사이즈를 만족시킨다. 또한 패킷 네트워크 내부에 이더넷 프레임(230)이라는 것을 알리기 위하여 전용 이더넷 타입(Ether-type)인 E-type A(0ㅧ0800)(215a)를 사용하며, 생성된 이더넷 프레임(210a)을 패킷 네트워크로 전송한다.The CAN frame processing unit 134 of the CAN frame interface unit 130 generates the DA 213 of the Ethernet frame through the lookup process in the lookup table 135 with the arbitration field 232 of the CAN frame 230. If the size of the data field 234 is too small to satisfy the minimum Ethernet size, padding 1 216b is inserted to satisfy the minimum Ethernet size with data 1 216a and padding 1 216b. In addition, E-type A (0 ㅧ 0800) 215a, which is a dedicated Ethernet type, is used to inform the Ethernet network 230 in the packet network, and the generated Ethernet frame 210a is converted into a packet network. send.

도 8은 본 발명의 실시예에 따라 CAN 네트워크의 CAN 프레임을 MPLS 프레임으로 변환하는 과정을 나타낸 도면이다.8 is a diagram illustrating a process of converting a CAN frame of a CAN network into an MPLS frame according to an embodiment of the present invention.

CAN 프레임 인터페이스부(130)의 CAN 프레임 처리부(134)는 수신된 CAN 프레임(230)의 중재 필드(232)를 가지고 룩업 테이블(135)에서 룩업과정을 통하여 MPLS 프레임(220)의 라벨(226)을 생성한다. 또한 데이터 필드(234)의 사이즈가 너무 작아서 최소 이더넷 사이즈를 만족할 수 없는 경우에는 패딩 2(227b)를 삽입하여 데이터 2(227a)와 패딩 2(227b)로 최소 이더넷 사이즈를 만족시킨다. 또한 패킷 네트워크 내부에 MPLS 프레임(220)이라는 것을 알리기 위하여 전용 이더넷 타입인 E-type B(0ㅧ8847)(225a)를 사용하며, 생성된 MPLS 프레임(220a)을 패킷 네트워크로 전송한다.The CAN frame processing unit 134 of the CAN frame interface unit 130 has the arbitration field 232 of the received CAN frame 230 and the label 226 of the MPLS frame 220 through the lookup process in the lookup table 135. Create If the size of the data field 234 is too small to satisfy the minimum Ethernet size, padding 2 227b is inserted to satisfy the minimum Ethernet size with data 2 227a and padding 2 227b. In addition, E-type B (0x8847) 225a, which is a dedicated Ethernet type, is used to inform that the MPLS frame 220 is inside the packet network, and the generated MPLS frame 220a is transmitted to the packet network.

한편, CAN 프레임 인터페이스부(130)의 CAN 프레임 처리부(134)는 CAN 프레임(230)의 중재 필드(232)를 이용하여 VLAN 이더넷 프레임의 VLAN 식별자(ID)를 생성하며, 생성된 VLAN 이더넷 프레임을 패킷 네트워크로 전송할 수 있다. 이때, VLAN 이더넷 프레임이라는 것을 알리기 위하여 전용 이더넷 타입인 E-type C(0ㅧ8100)를 사용한다. 여기서, VLAN 이더넷 프레임의 데이터 정보를 형성하는 것은 앞서 설명한 이더넷 프레임을 형성하는 것과 동일한 방법으로 형성할 수 있다.Meanwhile, the CAN frame processing unit 134 of the CAN frame interface unit 130 generates a VLAN identifier (ID) of the VLAN Ethernet frame using the arbitration field 232 of the CAN frame 230 and generates the VLAN Ethernet frame. Packets can be sent over the network. At this time, E-type C (0 ㅧ 8100), which is a dedicated Ethernet type, is used to inform that it is a VLAN Ethernet frame. Here, forming the data information of the VLAN Ethernet frame may be formed in the same manner as forming the Ethernet frame described above.

도 1은 본 발명의 실시예에 따른 이더넷-CAN 프레임 변환 전송 장치의 블록 구성도,1 is a block diagram of an Ethernet-CAN frame conversion transmission apparatus according to an embodiment of the present invention;

도 2는 일반적인 이더넷 프레임과 MPLS 프레임, 그리고 CAN 프레임의 포맷을 보여주는 구조도,2 is a structural diagram showing the format of a general Ethernet frame, MPLS frame, and CAN frame,

도 3은 본 발명의 실시예에 따른 이더넷-CAN 프레임 변환 전송 장치가 패킷 네트워크의 이더넷 프레임을 CAN 네트워크로 전송하는 경우에 프레임 처리 절차를 나타낸 흐름도,3 is a flowchart illustrating a frame processing procedure when an Ethernet-CAN frame conversion transmission apparatus transmits an Ethernet frame of a packet network to a CAN network according to an embodiment of the present invention;

도 4는 본 발명의 실시예에 따라 패킷 네트워크의 이더넷 프레임을 CAN 프레임으로 변환하는 과정을 나타낸 도면,4 is a diagram illustrating a process of converting an Ethernet frame of a packet network into a CAN frame according to an embodiment of the present invention;

도 5는 본 발명의 실시예에 따라 패킷 네트워크의 MPLS 프레임을 CAN 프레임으로 변환하는 과정을 나타낸 도면,5 is a diagram illustrating a process of converting an MPLS frame of a packet network into a CAN frame according to an embodiment of the present invention;

도 6은 본 발명의 실시예에 따른 이더넷-CAN 프레임 변환 전송 장치가 CAN 네트워크의 CAN 프레임을 패킷 네트워크로 전송하는 경우에 프레임 처리 절차를 나타낸 흐름도,6 is a flowchart illustrating a frame processing procedure when an Ethernet-CAN frame conversion transmission apparatus transmits a CAN frame of a CAN network to a packet network according to an embodiment of the present invention;

도 7은 본 발명의 실시예에 따라 CAN 네트워크의 CAN 프레임을 이더넷 프레임으로 변환하는 과정을 나타낸 도면,7 is a view showing a process of converting a CAN frame of a CAN network into an Ethernet frame according to an embodiment of the present invention;

도 8은 본 발명의 실시예에 따라 CAN 네트워크의 CAN 프레임을 MPLS 프레임으로 변환하는 과정을 나타낸 도면.8 is a diagram illustrating a process of converting a CAN frame of a CAN network into an MPLS frame according to an embodiment of the present invention.

<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>

100 : 이더넷-CAN 프레임 변환 전송 장치100: Ethernet-CAN frame conversion transmission device

110 : 이더넷 프레임 인터페이스부110: Ethernet frame interface unit

113 : 이더넷 프레임 분석부113: Ethernet frame analyzer

114 : 이더넷 프레임 처리부114: Ethernet frame processing unit

120 : 스위칭부120: switching unit

130 : CAN 프레임 인터페이스부130: CAN frame interface unit

133 : CAN 프레임 분석부133: CAN frame analysis unit

134 : CAN 프레임 처리부134: CAN frame processing unit

Claims (10)

패킷 네트워크와 캔(CAN) 네트워크를 연결하는 스위칭부와,A switching unit for connecting a packet network and a CAN network, 상기 패킷 네트워크로부터 수신한 이더넷 프레임을 CAN 프레임으로 변환하여 상기 스위칭부를 통해 상기 CAN 네트워크로 송신하는 이더넷 프레임 인터페이스부와,An Ethernet frame interface unit converting the Ethernet frame received from the packet network into a CAN frame and transmitting the CAN frame to the CAN network through the switching unit; 상기 CAN 네트워크로부터 수신한 CAN 프레임을 이더넷 프레임으로 변환하여 상기 스위칭부를 통해 상기 패킷 네트워크로 송신하는 CAN 프레임 인터페이스부CAN frame interface unit for converting the CAN frame received from the CAN network into an Ethernet frame and transmitting to the packet network through the switching unit 를 포함하는 이더넷-캔 프레임 변환 전송 장치.Ethernet-can frame conversion transmission device comprising a. 제 1 항에 있어서,The method of claim 1, 상기 이더넷 프레임 인터페이스부는, 상기 패킷 네트워크로부터 수신한 이더넷 프레임이 일반적인 이더넷 프레임일 경우에 상기 일반적인 이더넷 프레임의 DA(Destination Address)를 이용하여 상기 CAN 프레임의 중재 필드를 생성하는 이더넷-캔 프레임 변환 전송 장치.The Ethernet frame interface unit, when the Ethernet frame received from the packet network is a general Ethernet frame Ethernet-can frame conversion transmission apparatus for generating an arbitration field of the CAN frame using the DA (Destination Address) of the general Ethernet frame . 제 1 항에 있어서,The method of claim 1, 상기 이더넷 프레임 인터페이스부는, 상기 패킷 네트워크로부터 수신한 이더넷 프레임이 MPLS 프레임일 경우에 상기 MPLS 프레임의 라벨을 이용하여 상기 CAN 프레임의 중재 필드를 생성하는 이더넷-캔 프레임 변환 전송 장치.And the Ethernet frame interface unit generates an arbitration field of the CAN frame using the label of the MPLS frame when the Ethernet frame received from the packet network is an MPLS frame. 제 1 항에 있어서,The method of claim 1, 상기 이더넷 프레임 인터페이스부는, 상기 패킷 네트워크로부터 수신한 이더넷 프레임이 VLAN 이더넷 프레임일 경우에 상기 VLAN 이더넷 프레임의 VLAN 식별자를 이용하여 상기 CAN 프레임의 중재 필드 내부의 식별 정보를 생성하는 이더넷-캔 프레임 변환 전송 장치.When the Ethernet frame received from the packet network is a VLAN Ethernet frame, the Ethernet frame interface unit uses the VLAN identifier of the VLAN Ethernet frame to generate identification information in the arbitration field of the CAN frame. Device. 제 1 항에 있어서,The method of claim 1, 상기 CAN 프레임 인터페이스부는, 상기 CAN 네트워크로부터 수신한 CAN 프레임의 중재 필드를 이용하여 상기 이더넷 프레임의 DA(Destination Address)와 라벨 또는 VLAN 식별자 중에서 어느 하나를 생성하는 이더넷-캔 프레임 변환 전송 장치.And the CAN frame interface unit generates one of a DA (Destination Address) and a label or VLAN identifier of the Ethernet frame by using an arbitration field of the CAN frame received from the CAN network. 이더넷-캔 프레임 변환 전송 장치에 의한 이더넷-캔(CAN) 프레임 변환 전송 방법으로서,An Ethernet-CAN frame conversion transmission method using an Ethernet-CAN frame conversion transmission device, 패킷 네트워크로부터 이더넷 프레임을 수신하는 단계와,Receiving an Ethernet frame from a packet network, 수신한 상기 이더넷 프레임을 분석하여 전달할 네트워크를 결정하는 단계와,Analyzing the received Ethernet frames to determine a network to be forwarded; 결정한 상기 네트워크가 CAN 네트워크일 경우에 상기 이더넷 프레임을 CAN 프레임으로 변환하는 단계와,Converting the Ethernet frame into a CAN frame when the determined network is a CAN network; 변환한 상기 CAN 프레임을 상기 CAN 네트워크로 전송하는 단계Transmitting the converted CAN frame to the CAN network 를 포함하는 이더넷-캔 프레임 변환 전송 방법.Ethernet-can frame conversion transmission method comprising a. 제 6 항에 있어서,The method of claim 6, 상기 CAN 프레임으로 변환하는 단계는, 상기 패킷 네트워크로부터 수신한 이더넷 프레임이 일반적인 이더넷 프레임일 경우에 상기 일반적인 이더넷 프레임의 DA(Destination Address)를 이용하여 상기 CAN 프레임의 중재 필드를 생성하는 이더넷-캔 프레임 변환 전송 방법.The converting into the CAN frame may include: an Ethernet-can frame that generates an arbitration field of the CAN frame by using a destination address (DA) of the general Ethernet frame when the Ethernet frame received from the packet network is a general Ethernet frame. Conversion transfer method. 제 6 항에 있어서,The method of claim 6, 상기 CAN 프레임으로 변환하는 단계는, 상기 패킷 네트워크로부터 수신한 이더넷 프레임이 MPLS 프레임일 경우에 상기 MPLS 프레임의 라벨을 이용하여 상기 CAN 프레임의 중재 필드를 생성하는 이더넷-캔 프레임 변환 전송 방법.The converting to the CAN frame may include generating an arbitration field of the CAN frame by using a label of the MPLS frame when the Ethernet frame received from the packet network is an MPLS frame. 제 6 항에 있어서,The method of claim 6, 상기 CAN 프레임으로 변환하는 단계는, 상기 패킷 네트워크로부터 수신한 이더넷 프레임이 VLAN 이더넷 프레임일 경우에 상기 VLAN 이더넷 프레임의 VLAN 식별자를 이용하여 상기 CAN 프레임의 중재 필드 내부의 식별 정보를 생성하는 이더넷-캔 프레임 변환 전송 방법.The converting into the CAN frame may include: Ethernet-can generating identification information in an arbitration field of the CAN frame by using a VLAN identifier of the VLAN Ethernet frame when the Ethernet frame received from the packet network is a VLAN Ethernet frame. Frame conversion transmission method. 이더넷-캔 프레임 변환 전송 장치에 의한 이더넷-캔(CAN) 프레임 변환 전송 방법으로서,An Ethernet-CAN frame conversion transmission method using an Ethernet-CAN frame conversion transmission device, CAN 네트워크로부터 CAN 프레임을 수신하는 단계와,Receiving a CAN frame from a CAN network, 수신한 상기 CAN 프레임을 분석하여 전달할 네트워크를 결정하는 단계와,Analyzing the received CAN frames to determine a network to be delivered; 결정한 상기 네트워크가 이더넷 네트워크일 경우에 상기 CAN 프레임을 일반적인 이더넷 프레임과 MPLS 프레임 또는 VLAN 이더넷 프레임 중에서 어느 하나의 프레임으로 변환하는 단계와,Converting the CAN frame into one of a general Ethernet frame, an MPLS frame, and a VLAN Ethernet frame when the determined network is an Ethernet network; 변환한 상기 어느 하나의 프레임을 상기 이더넷 네트워크로 전송하는 단계Transmitting the converted one frame to the Ethernet network 를 포함하는 이더넷-캔 프레임 변환 전송 방법.Ethernet-can frame conversion transmission method comprising a.
KR1020090113745A 2009-11-24 2009-11-24 Method and apparatus for transmission and conversion of ethernet-can frame KR101206894B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090113745A KR101206894B1 (en) 2009-11-24 2009-11-24 Method and apparatus for transmission and conversion of ethernet-can frame

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090113745A KR101206894B1 (en) 2009-11-24 2009-11-24 Method and apparatus for transmission and conversion of ethernet-can frame

Publications (2)

Publication Number Publication Date
KR20110057371A true KR20110057371A (en) 2011-06-01
KR101206894B1 KR101206894B1 (en) 2012-11-30

Family

ID=44393015

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090113745A KR101206894B1 (en) 2009-11-24 2009-11-24 Method and apparatus for transmission and conversion of ethernet-can frame

Country Status (1)

Country Link
KR (1) KR101206894B1 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255800A (en) * 2011-06-24 2011-11-23 中国人民解放军国防科学技术大学 Method for converting data format between IP (Internet Protocol) data packages on CAN (Control Area Network) bus and CAN messages
EP2690827A3 (en) * 2012-07-23 2014-04-16 Broadcom Corporation Controller Area Network Communications Using Ethernet
US20140126584A1 (en) * 2012-11-06 2014-05-08 Electronics And Telecommunications Research Institute Frame conversion apparatus for converting controller area network frame into ethernet frame and frame conversion method thereof
KR101427871B1 (en) * 2012-12-20 2014-08-08 현대오트론 주식회사 Apparatus for monitoring status of ecu based on can communication in heterogeneous network and method thereof
KR101536141B1 (en) * 2014-02-13 2015-07-13 현대자동차주식회사 Apparatus and method for converting signal between ethernet and can in a vehicle
KR101601773B1 (en) * 2015-05-07 2016-03-09 서강대학교산학협력단 addressing method for ethernet message in vehicle network
US9432207B2 (en) 2013-07-01 2016-08-30 Hyundai Motor Company System and method for transferring message in ethernet based vehicle network
JP2018125601A (en) * 2017-01-30 2018-08-09 株式会社デンソー Repeating installation
WO2022005107A1 (en) * 2020-06-29 2022-01-06 주식회사 엘지에너지솔루션 Network routing device and method
WO2022096793A1 (en) * 2020-11-06 2022-05-12 Psa Automobiles Sa Hybrid protocol for a network inside a vehicle

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023277637A1 (en) * 2021-07-01 2023-01-05 엘지전자 주식회사 Signal processing apparatus and communication apparatus for vehicle, comprising same

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100775516B1 (en) 2006-08-18 2007-11-09 성균관대학교산학협력단 Control system of flexray and can and method thereof

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255800B (en) * 2011-06-24 2014-04-02 中国人民解放军国防科学技术大学 Method for converting data format between IP (Internet Protocol) data packages on CAN (Control Area Network) bus and CAN messages
CN102255800A (en) * 2011-06-24 2011-11-23 中国人民解放军国防科学技术大学 Method for converting data format between IP (Internet Protocol) data packages on CAN (Control Area Network) bus and CAN messages
EP2690827A3 (en) * 2012-07-23 2014-04-16 Broadcom Corporation Controller Area Network Communications Using Ethernet
US9215168B2 (en) 2012-07-23 2015-12-15 Broadcom Corporation Controller area network communications using ethernet
US20140126584A1 (en) * 2012-11-06 2014-05-08 Electronics And Telecommunications Research Institute Frame conversion apparatus for converting controller area network frame into ethernet frame and frame conversion method thereof
KR20140058214A (en) * 2012-11-06 2014-05-14 한국전자통신연구원 Frame conversion apparatus for converting controller area network frame to ethernet frame and frame conversion method threrof
US9294590B2 (en) 2012-11-06 2016-03-22 Electronics And Telecommunications Research Institute Frame conversion apparatus for converting controller area network frame into ethernet frame and frame conversion method thereof
KR101427871B1 (en) * 2012-12-20 2014-08-08 현대오트론 주식회사 Apparatus for monitoring status of ecu based on can communication in heterogeneous network and method thereof
US9432207B2 (en) 2013-07-01 2016-08-30 Hyundai Motor Company System and method for transferring message in ethernet based vehicle network
DE102014224877B4 (en) 2014-02-13 2024-01-25 Hyundai Motor Company Vehicle device for signal conversion between Ethernet and CAN communication and a control method therefor
KR101536141B1 (en) * 2014-02-13 2015-07-13 현대자동차주식회사 Apparatus and method for converting signal between ethernet and can in a vehicle
US9813525B2 (en) 2014-02-13 2017-11-07 Hyundai Motor Company In-vehicle apparatus for signal conversion between ethernet and CAN communication and control method thereof
KR101601773B1 (en) * 2015-05-07 2016-03-09 서강대학교산학협력단 addressing method for ethernet message in vehicle network
JP2018125601A (en) * 2017-01-30 2018-08-09 株式会社デンソー Repeating installation
WO2022005107A1 (en) * 2020-06-29 2022-01-06 주식회사 엘지에너지솔루션 Network routing device and method
US11831464B2 (en) 2020-06-29 2023-11-28 Lg Energy Solution, Ltd. Network routing device and method
WO2022096793A1 (en) * 2020-11-06 2022-05-12 Psa Automobiles Sa Hybrid protocol for a network inside a vehicle
FR3116170A1 (en) * 2020-11-06 2022-05-13 Psa Automobiles Sa Hybrid protocol for an internal vehicle network

Also Published As

Publication number Publication date
KR101206894B1 (en) 2012-11-30

Similar Documents

Publication Publication Date Title
KR101206894B1 (en) Method and apparatus for transmission and conversion of ethernet-can frame
KR102004926B1 (en) Frame conversion apparatus for converting Controller Area Network frame to Ethernet frame and frame conversion method threrof
JP6816281B2 (en) V2X communication device and its multimedia content transmission / reception method
KR101536141B1 (en) Apparatus and method for converting signal between ethernet and can in a vehicle
WO2015012645A1 (en) Method and apparatus for packet transmission supporting downloading and streaming
US10511668B2 (en) Method of transmitting and receiving data in vehicle network and apparatus for the same
CN102970227A (en) Method and device for achieving virtual extensible local area network (VXLAN) message transmitting in application specific integrated circuit (ASIC)
US8457123B2 (en) Use of the WLAN standard for C2C communication by adding new packet types
KR20140124255A (en) Gateway and Method for delivering Message thereof
ATE429763T1 (en) METHODS AND SYSTEMS FOR FORMING ETHERNET UPCHANNEL AND DOCSIS DOWNCHANNEL PACKETS BY APPENDING/REMOVAL OF PACKET LABELS TO SUPPORT DISTANCE NETWORK FUNCTIONS AND PACKET CLASSIFICATION
EP2026515A4 (en) A method for establishing the multicast lsp and a multicast data transfer system
JP2020504556A (en) Apparatus and method for V2X communication
CN103533103A (en) Communication method and device based on network address translation
US20110176411A1 (en) Method for protecting a pseudo-wire
CN102255787B (en) Message processing method based on quality of service and operator network edge equipment
CN102710510B (en) Information processing method, apparatus and system
KR101586601B1 (en) Apparatus and method for mapping ethernet address for interworking of can bus
US20060222181A1 (en) Method for transporting real-time audio and video data
KR20150003543A (en) Apparatus and method for forwarding can frame
US8149832B2 (en) Methods, systems, and computer program products for pushing and/or popping multiple multiprotocol label switching (MPLS) labels/shim headers at a single node
US20060224737A1 (en) Method for forming super frame used for transmitting isochronous data and asynchronous data in residential Ethernet system
CN110475160B (en) Method and device for transmitting video data across video network
WO2011100930A2 (en) Method and device for transmitting and receiving notification message for presence service
US20170127100A1 (en) Hybrid broadcast signal transmission and reception apparatus and transmission and reception method
CN103918227A (en) Communication system, communication method, edge device, edge device control method, edge device control program, non-edge device, non-edge device control method, and non-edge device control program

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20151028

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20161027

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee