KR102328570B1 - Ethernet switch unit and method for controlling thereof - Google Patents
Ethernet switch unit and method for controlling thereof Download PDFInfo
- Publication number
- KR102328570B1 KR102328570B1 KR1020200077388A KR20200077388A KR102328570B1 KR 102328570 B1 KR102328570 B1 KR 102328570B1 KR 1020200077388 A KR1020200077388 A KR 1020200077388A KR 20200077388 A KR20200077388 A KR 20200077388A KR 102328570 B1 KR102328570 B1 KR 102328570B1
- Authority
- KR
- South Korea
- Prior art keywords
- memory
- ethernet
- switch
- controller
- address
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/35—Switches specially adapted for specific applications
- H04L49/351—Switches specially adapted for specific applications for local area network [LAN], e.g. Ethernet switches
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/55—Prevention, detection or correction of errors
- H04L49/557—Error correction, e.g. fault recovery or fault tolerance
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/90—Buffering arrangements
- H04L49/9063—Intermediate storage in different physical parts of a node or terminal
- H04L49/9078—Intermediate storage in different physical parts of a node or terminal using an external memory or storage device
-
- H04L61/2038—
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
개시된 발명은 차량에 적용되는 이더넷 스위치 유닛 및 그 제어 방법에 관한 것이다.The disclosed invention relates to an Ethernet switch unit applied to a vehicle and a control method thereof.
차량 내 제어기들 간의 데이터 송수신을 위해 이용되는 네트워크로서, CAN(Controller Area Network), CAN FD(CAN with Flexible Data rate), 이더넷 네트워크(Ethernet Network) 등이 있다. CAN 통신 방식은 각 제어기 별로 할당되어 있는 메시지 ID의 우선 순위에 따라 데이터를 송신한다. 이더넷 통신은 제어기 간 Point-to-Point (1:1 통신) 방식을 이용하며, 스위치(Switch)를 이용하여 네트워크 확장이 가능하다.As a network used for data transmission/reception between controllers in a vehicle, there are a controller area network (CAN), a CAN with flexible data rate (CAN FD), an Ethernet network, and the like. The CAN communication method transmits data according to the priority of the message ID allocated to each controller. Ethernet communication uses a point-to-point (1:1 communication) method between controllers, and network expansion is possible using a switch.
차량에는 이더넷 스위치 유닛(Ethernet Switch Unit)이 마련되는데, 이더넷 스위치 유닛은 제어기들의 주소에 기초하여 신호를 전달할 수 있다. 이를 위해 이더넷 스위치 유닛은 이더넷 주소 리스트를 저장한다. 그런데, 이더넷 스위치 유닛에 인가되는 전압의 이상으로 인해 이더넷 스위치 유닛에 포함된 스위치가 리셋되는 경우, 이더넷 주소 리스트가 초기화될 수 있다. 이 경우 차량 내 제어기들 간 신호 전달이 불가능하게 되고, 각종 경고등 점등 및 일부 전장품의 기능이 실행되지 않는 현상이 발생하는 문제점이 있다.An Ethernet switch unit is provided in the vehicle, and the Ethernet switch unit may transmit signals based on addresses of controllers. For this purpose, the Ethernet switch unit stores the Ethernet address list. However, when the switch included in the Ethernet switch unit is reset due to an abnormality in the voltage applied to the Ethernet switch unit, the Ethernet address list may be initialized. In this case, there is a problem in that signal transmission between the controllers in the vehicle becomes impossible, various warning lights are turned on, and the functions of some electrical components are not executed.
개시된 발명은, 이더넷 스위치 유닛에 포함된 스위치가 리셋되는 경우에도 차량 내 제어기들 사이의 신호 전달을 정상적으로 수행할 수 있는 이더넷 스위치 유닛 및 그 제어 방법을 제공한다.The disclosed invention provides an Ethernet switch unit capable of normally performing signal transmission between in-vehicle controllers even when a switch included in the Ethernet switch unit is reset, and a control method thereof.
또한, 개시된 발명은, 송신 제어기의 주소와 수신 제어기의 주소가 이더넷 주소 리스트에서 확인될 경우에만 신호 전달을 수행함으로써 이더넷 통신의 신뢰성을 향상시킬 수 있는 이더넷 스위치 유닛 및 그 제어 방법을 제공한다.In addition, the disclosed invention provides an Ethernet switch unit capable of improving reliability of Ethernet communication and a control method thereof by performing signal transmission only when the address of the transmission controller and the address of the reception controller are confirmed in the Ethernet address list.
상술한 기술적 과제를 달성하기 위한 기술적 수단으로서, 일 실시예에 따른 이더넷 스위치 유닛은, 이더넷 주소 리스트를 저장하는 제1 메모리; 및 제2 메모리를 포함하고, 차량 내 제어기들 간 신호 전달을 수행하는 스위치;를 포함하고, 상기 스위치는 차량의 시동 시 상기 제1 메모리로부터 상기 이더넷 주소 리스트를 가져오기 하여 상기 제2 메모리에 저장하고, 인가되는 전압의 이상 발생으로 인해 리셋 되는 경우, 상기 제1 메모리로부터 상기 이더넷 주소 리스트를 다시 가져오기 하여 상기 제2 메모리에 저장할 수 있다.As a technical means for achieving the above-described technical problem, an Ethernet switch unit according to an embodiment includes: a first memory for storing an Ethernet address list; and a switch including a second memory and transferring signals between controllers in the vehicle, wherein the switch retrieves the Ethernet address list from the first memory and stores the list in the second memory when the vehicle is started and, when reset due to abnormal occurrence of an applied voltage, the Ethernet address list may be retrieved again from the first memory and stored in the second memory.
일 실시예에 따른 이더넷 스위치 유닛은, 이더넷 스위치 유닛의 진단을 수행하는 MCU(Micro Control Unit);를 더 포함하고, 상기 제1 메모리는 상기 스위치와 상기 MCU의 외부에 마련될 수 있다.The Ethernet switch unit according to an embodiment may further include a micro control unit (MCU) configured to diagnose the Ethernet switch unit, and the first memory may be provided outside the switch and the MCU.
상기 스위치는 상기 제2 메모리에 저장된 상기 이더넷 주소 리스트를 이용하여 상기 차량 내 제어기들 간 신호 전달을 수행할 수 있다.The switch may perform signal transmission between the controllers in the vehicle using the Ethernet address list stored in the second memory.
상기 스위치는 송신 제어기로부터 전송되는 신호에 포함된 수신 제어기의 주소를 상기 이더넷 주소 리스트에서 검색하고, 상기 수신 제어기의 주소가 확인되는 경우 상기 송신 제어기의 주소를 상기 이더넷 주소 리스트에서 검색하며, 상기 송신 제어기의 주소가 확인되는 경우 상기 송신 제어기로부터 전송되는 신호를 상기 수신 제어기로 전달할 수 있다.The switch searches the Ethernet address list for the address of the reception controller included in the signal transmitted from the transmission controller, and when the address of the reception controller is confirmed, searches for the address of the transmission controller from the Ethernet address list, and the transmission When the address of the controller is confirmed, the signal transmitted from the transmitting controller may be transferred to the receiving controller.
상기 스위치는 상기 수신 제어기의 주소가 확인되지 않거나 상기 송신 제어기의 주소가 확인되지 않는 경우 상기 송신 제어기로부터 전송된 신호를 폐기할 수 있다.The switch may discard the signal transmitted from the transmitting controller when the address of the receiving controller is not verified or the address of the transmitting controller is not verified.
상기 스위치는 상기 인가되는 전압이 미리 정해진 리셋 전압 이하로 강하되는 경우, 상기 전압의 이상이 발생한 것으로 판단할 수 있다.The switch may determine that an abnormality in the voltage has occurred when the applied voltage drops below a predetermined reset voltage.
일 실시예에 따른 이더넷 스위치 유닛의 제어 방법은, 차량의 시동 시 스위치 외부의 제1 메모리로부터 이더넷 주소 리스트를 가져오기 하여 스위치 내부의 제2 메모리에 저장하고; 및 상기 스위치에 인가되는 전압의 이상 발생으로 인해 상기 스위치가 리셋되는 경우, 상기 제1 메모리로부터 상기 이더넷 주소 리스트를 다시 가져오기 하여 상기 제2 메모리에 저장하는 것;을 포함할 수 있다.A method of controlling an Ethernet switch unit according to an embodiment includes: fetching an Ethernet address list from a first memory outside the switch when a vehicle is started and storing the list in a second memory inside the switch; and when the switch is reset due to abnormal occurrence of a voltage applied to the switch, retrieving the Ethernet address list from the first memory and storing the Ethernet address list in the second memory.
일 실시예에 따른 이더넷 스위치 유닛의 제어 방법은, 상기 스위치가 상기 제2 메모리에 저장된 상기 이더넷 주소 리스트를 이용하여 상기 차량 내 제어기들 간 신호 전달을 수행하는 것;을 더 포함할 수 있다.The method of controlling an Ethernet switch unit according to an embodiment may further include, by the switch, performing signal transmission between the controllers in the vehicle using the Ethernet address list stored in the second memory.
상기 차량 내 제어기들 간 신호 전달을 수행하는 것은, 송신 제어기로부터 전송되는 신호에 포함된 수신 제어기의 주소를 상기 이더넷 주소 리스트에서 검색하고; 상기 수신 제어기의 주소가 확인되는 경우 상기 송신 제어기의 주소를 상기 이더넷 주소 리스트에서 검색하며; 및 상기 송신 제어기의 주소가 확인되는 경우 상기 송신 제어기로부터 전송되는 신호를 상기 수신 제어기로 전달하는 것;을 포함할 수 있다.The transmitting of signals between the in-vehicle controllers may include: searching for an address of a receiving controller included in a signal transmitted from a transmitting controller from the Ethernet address list; when the address of the receiving controller is confirmed, the address of the transmitting controller is retrieved from the Ethernet address list; and transmitting a signal transmitted from the transmission controller to the reception controller when the address of the transmission controller is confirmed.
일 실시예에 따른 이더넷 스위치 유닛의 제어 방법은, 상기 수신 제어기의 주소가 확인되지 않거나 상기 송신 제어기의 주소가 확인되지 않는 경우 상기 송신 제어기로부터 전송된 신호를 폐기하는 것;을 더 포함할 수 있다.The method of controlling an Ethernet switch unit according to an embodiment may further include, when the address of the reception controller is not confirmed or the address of the transmission controller is not confirmed, discarding the signal transmitted from the transmission controller. .
일 실시예에 따른 이더넷 스위치 유닛의 제어 방법은, 상기 스위치에 인가되는 전압이 미리 정해진 리셋 전압 이하로 강하되는 경우, 상기 전압의 이상이 발생한 것으로 판단하는 것;을 더 포함할 수 있다.The method of controlling an Ethernet switch unit according to an embodiment may further include determining that an abnormality in the voltage has occurred when the voltage applied to the switch drops below a predetermined reset voltage.
개시된 이더넷 스위치 유닛 및 그 제어 방법은, 이더넷 스위치 유닛에 포함된 스위치가 리셋되는 경우에도 차량 내 제어기들 사이의 신호 전달을 정상적으로 수행할 수 있다. 따라서 이더넷 스위치 유닛의 성능이 향상될 수 있다.The disclosed Ethernet switch unit and its control method can normally perform signal transfer between in-vehicle controllers even when a switch included in the Ethernet switch unit is reset. Accordingly, the performance of the Ethernet switch unit may be improved.
또한, 개시된 이더넷 스위치 유닛 및 그 제어 방법은, 송신 제어기의 주소와 수신 제어기의 주소가 이더넷 주소 리스트에서 확인될 경우에만 신호 전달을 수행함으로써 이더넷 통신의 신뢰성을 향상시킬 수 있다.In addition, the disclosed Ethernet switch unit and its control method can improve the reliability of Ethernet communication by performing signal transmission only when the address of the transmission controller and the address of the reception controller are confirmed in the Ethernet address list.
도 1은 이더넷 스위치 유닛에 의해 형성되는 차량 내 네트워크를 설명한다.
도 2는 종래기술에 따른 이더넷 스위치 유닛의 구성을 도시한다.
도 3은 일 실시예에 따른 이더넷 스위치 유닛의 구성을 도시한다.
도 4 및 도 5는 일 실시예에 따른 이더넷 스위치 유닛의 제어 방법을 설명하는 순서도이다.1 illustrates an in-vehicle network formed by an Ethernet switch unit.
2 shows the configuration of an Ethernet switch unit according to the prior art.
3 shows a configuration of an Ethernet switch unit according to an embodiment.
4 and 5 are flowcharts illustrating a control method of an Ethernet switch unit according to an embodiment.
명세서 전체에 걸쳐 동일 참조 부호는 동일 구성요소를 지칭한다. 본 명세서가 실시예들의 모든 요소들을 설명하는 것은 아니며, 본 발명이 속하는 기술분야에서 일반적인 내용 또는 실시예들 간에 중복되는 내용은 생략한다. 명세서에서 사용되는 '부, 모듈, 부재, 블록'이라는 용어는 소프트웨어 또는 하드웨어로 구현될 수 있으며, 실시예들에 따라 복수의 '부, 모듈, 부재, 블록'이 하나의 구성요소로 구현되거나, 하나의 '부, 모듈, 부재, 블록'이 복수의 구성요소들을 포함하는 것도 가능하다.Like reference numerals refer to like elements throughout. This specification does not describe all elements of the embodiments, and general content in the technical field to which the present invention pertains or content that overlaps among the embodiments is omitted. The term 'part, module, member, block' used in the specification may be implemented in software or hardware, and according to embodiments, a plurality of 'part, module, member, block' may be implemented as one component, It is also possible for one 'part, module, member, block' to include a plurality of components.
명세서 전체에서, 어떤 부분이 다른 부분과 "연결"되어 있다고 할 때, 이는 직접적으로 연결되어 있는 경우뿐 아니라, 간접적으로 연결되어 있는 경우를 포함하고, 간접적인 연결은 무선 통신망을 통해 연결되는 것을 포함한다.Throughout the specification, when a part is "connected" with another part, it includes not only direct connection but also indirect connection, and indirect connection includes connection through a wireless communication network. do.
또한 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다.In addition, when a part "includes" a certain component, this means that other components may be further included, rather than excluding other components, unless otherwise stated.
제 1, 제 2 등의 용어는 하나의 구성요소를 다른 구성요소로부터 구별하기 위해 사용되는 것으로, 구성요소가 전술된 용어들에 의해 제한되는 것은 아니다. 단수의 표현은 문맥상 명백하게 예외가 있지 않는 한, 복수의 표현을 포함한다.Terms such as 1st, 2nd, etc. are used to distinguish one component from another component, and the component is not limited by the above-mentioned terms. The singular expression includes the plural expression unless the context clearly dictates otherwise.
각 단계들에 있어 식별부호는 설명의 편의를 위하여 사용되는 것으로 식별부호는 각 단계들의 순서를 설명하는 것이 아니며, 각 단계들은 문맥상 명백하게 특정 순서를 기재하지 않는 이상 명기된 순서와 다르게 실시될 수 있다.In each step, the identification code is used for convenience of description, and the identification code does not describe the order of each step, and each step may be performed differently from the specified order unless the specific order is clearly stated in the context. have.
이하 첨부된 도면들을 참고하여 본 발명의 작용 원리 및 실시예들에 대해 설명한다.Hereinafter, the working principle and embodiments of the present invention will be described with reference to the accompanying drawings.
도 1은 이더넷 스위치 유닛에 의해 형성되는 차량 내 네트워크를 설명한다.1 illustrates an in-vehicle network formed by an Ethernet switch unit.
도 1을 참조하면, 이더넷 스위치 유닛(10)은 차량에 마련된 전자 장치들과 연결되어 이더넷 통신을 수행할 수 있다. 차량에는 복수의 제어기가 마련될 수 있고, 이들은 이더넷 스위치 유닛(10)과 연결될 수 있다. 도 1에서는 제1 제어기(21), 제2 제어기(22), 제3 제어기(23) 및 제4 제어기(24)가 이더넷 스위치 유닛(10)에 연결된 것이 예시되어 있다.Referring to FIG. 1 , the Ethernet
예를 들면, 제1 제어기(21)는 카메라의 제어기일 수 있고, 제2 제어기(22)는 레이더의 제어기일 수 있으며, 제3 제어기(23)는 전자식 제동 제어 모듈(Electronic Brake Control Module)의 제어기일 수 있고, 제4 제어기(24)는 전자식 조향 장치(Electronic Power Steering, EPS)의 제어기일 수 있다. 이들은 이더넷 스위치 유닛(10)을 통해 신호를 송수신할 수 있다.For example, the
이더넷 스위치 유닛(10)은 차량 내 제어기들의 MAC(Media Access Control) 주소에 기초하여 제어기들 간 신호를 전달할 수 있다.The Ethernet
도 2는 종래기술에 따른 이더넷 스위치 유닛의 구성을 도시한다.2 shows the configuration of an Ethernet switch unit according to the prior art.
도 2를 참조하면, 종래의 이더넷 스위치 유닛(10)은, 이더넷 스위치 유닛의 진단을 수행하는 MCU(Micro Control Unit)(11) 및 차량 내 제어기들 간 신호 전달을 수행하는 스위치(12)를 포함한다. MCU(11)는 네트워트 매니지먼트를 수행할 수도 있다. 종래 이더넷 스위치 유닛(10)에서는 이더넷 주소 리스트가MCU(11)에 저장되어 있다.Referring to FIG. 2 , the conventional
차량이 시동하는 경우, 종래 이더넷 스위치 유닛(10)의 MCU(11)는 이더넷 주소 리스트를 스위치(12)에 전송하고, 스위치(12)는 이더넷 주소 리스트를 저장한다. 이더넷 주소 리스트는 제어기들 각각의 MAC 주소를 포함한다. 스위치(12)는 이더넷 주소 리스트를 이용하여 차량 내 송신 제어기(30)가 송신한 신호를 수신 제어기(40)로 전달한다. 송신 제어기(30)는 출발지 제어기로 정의되고, 수신 제어기(40)는 목적지 제어기로 정의될 수 있다.When the vehicle starts, the
그런데, 차량의 시동 시 이더넷 스위치 유닛(10)에 인가되는 전압의 이상이 발생할 수 있다. 전압 이상이 발생할 경우, 스위치(12)의 리셋에 의해 제어기들 간의 신호가 정상적으로 전달되지 않을 수 있다.However, an abnormality in the voltage applied to the
예를 들면, 스위치(12)에 인가되어야 할 정상 전압은 5[V]인데, 전압 강하가 발생하여 스위치(12)에 4[V]가 인가될 수 있다. 이 경우 스위치(12)는 리셋 될 수 있다. 스위치(12)가 리셋 되는 경우, 스위치(12)에 저장된 이더넷 주소 리스트가 초기화 또는 삭제될 수 있다.For example, the normal voltage to be applied to the
한편, MCU(11)가 리셋 되는 전압은 스위치(12)가 리셋 되는 전압과 상이하다. 다시 말해, 전압 강하로 인해 스위치(12)에 4[V]가 인가되어 스위치(12)가 리셋 되더라도, MCU(11)는 리셋 되지 않을 수 있다.Meanwhile, the voltage at which the
스위치(12)가 리셋 되는 경우, 스위치(12)는 MCU(11)로부터 다시 이더넷 주소 리스트를 받아야 한다. 그런데, MCU(11)는 리셋 되지 않기 때문에, MCU(11)는 이더넷 주소 리스트를 스위치(12)로 다시 전송하지 않는다. 따라서 스위치(12)는 제어기들 간의 신호를 정상적으로 전달할 수 없게 된다.When the
도 3은 일 실시예에 따른 이더넷 스위치 유닛의 구성을 도시한다.3 shows a configuration of an Ethernet switch unit according to an embodiment.
도 3을 참조하면, 일 실시예에 따른 이더넷 스위치 유닛(100)은, 이더넷 주소 리스트를 저장하는 제1 메모리(110) 및 차량 내 제어기들 간 신호 전달을 수행하는 스위치(120)를 포함할 수 있다. 스위치(120)는 제2 메모리(121)를 포함할 수 있다. 또한, 일 실시예에 따른 이더넷 스위치 유닛(100)은, 이더넷 스위치 유닛의 진단을 수행하는 MCU(Micro Control Unit)(130)를 포함할 수 있다. MCU(130)는 이더넷 스위치 유닛(100)의 동작을 제어할 수도 있다. 또한, MCU(130)는 제1 메모리(110) 및 스위치(120)와 전기적으로 연결될 수 있다.Referring to FIG. 3 , the
제1 메모리(110)는 스위치(120)와 MCU(130)의 외부에 마련된다. 제1 메모리(110)는 스위치(120), MCU(130)와 별개로 마련된다. 즉, 제1 메모리(110)는 스위치(120)의 외부에서 MCU(130)와 별도로 마련되고, 스위치(120) 내부의 제2 메모리(121)와 구별된다.The
제1 메모리(110)에는 이더넷 주소 리스트가 미리 저장될 수 있다. 제2 메모리(121)에는 스위치(120)의 작동에 따라 이더넷 주소 리스트가 저장될 수 있다. 또한, 제2 메모리(121)는 스위치(120)의 작동에 필요한 프로그램, 인스트럭션 및/또는 어플리케이션을 저장할 수 있다.An Ethernet address list may be previously stored in the
제1 메모리(110)는, 플래시 메모리, 롬(Read Only Memory, ROM), 이피롬(Erasable Programmable Read Only Memory: EPROM) 등의 비휘발성 메모리로 구현될 수 있다. 제2 메모리(121)는 S램(S-RAM), D램(D-RAM) 등의 휘발성 메모리로 구현될 수 있다. 뿐만 아니라, 제1 메모리(110)가 휘발성 메모리로 구현될 수도 있고, 제2 메모리(120)가 비휘발성 메모리로 구현될 수도 있다.The
스위치(120)는 차량의 시동 시 제1 메모리(110)로부터 이더넷 주소 리스트를 가져오기 하여 제2 메모리(121)에 저장할 수 있다. 스위치(120)는 인가되는 전압의 이상 발생으로 인해 리셋 되는 경우, 제1 메모리(110)로부터 이더넷 주소 리스트를 다시 가져오기 하여 제2 메모리(121)에 저장할 수 있다. 스위치(120)는 인가되는 전압이 미리 정해진 리셋 전압 이하로 강하되는 경우, 전압의 이상이 발생한 것으로 판단할 수 있다.The
스위치(120)는 제2 메모리(121)에 저장된 이더넷 주소 리스트를 이용하여 차량 내 제어기들 간 신호 전달을 수행할 수 있다.The
이와 같이, 도 2에서 설명된 종래의 이더넷 스위치 유닛(10)과는 다르게, 일 실시예에 따른 이더넷 스위치 유닛(100)은, 이더넷 주소 리스트를 MCU(130)가 아닌 외부의 제1 메모리(110)에 저장하고 스위치(120)가 리셋 되는 경우 제1 메모리(110)에 저장된 이더넷 주소 리스트를 스위치(120)로 다시 가져오기 함으로써, 전압 이상으로 인해 스위치(120)만 리셋 되고 MCU(130)는 리셋 되지 않을 때 생길 수 있는 이더넷 신호 전달 불가 현상을 방지할 수 있다.As such, unlike the conventional
다시 말해, 차량 내 전압 이상이 발생하더라도, 이더넷 스위치 유닛(100)은 이더넷 데이터(신호) 전달 기능을 수행하는 스위치(120)를 긴급 복구하여 이더넷 신호 전달을 정상적으로 수행할 수 있다.In other words, even when a voltage abnormality occurs in the vehicle, the
한편, 이더넷 스위치 유닛(100)은, 이더넷 네트워크 통신의 신뢰성 및 보안 성능 확보를 위해, 사양에 정의된 신호만 제어기들에 전달해야 한다. 이를 위해, 일 실시예에 따른 이더넷 스위치 유닛(100)의 스위치(120)는 제어기들 간 신호 전달을 다음과 같은 과정을 통해 수행할 수 있다.On the other hand, the
스위치(120)는, 송신 제어기(30)로부터 전송되는 신호에 포함된 수신 제어기(40)의 주소를 이더넷 주소 리스트에서 검색하고, 수신 제어기(40)의 주소가 확인되는 경우 송신 제어기(30)의 주소를 이더넷 주소 리스트에서 검색하며, 송신 제어기(30)의 주소가 확인되는 경우 송신 제어기(30)로부터 전송되는 신호를 수신 제어기(40)로 전달할 수 있다.The
스위치(120)는 이더넷 주소 리스트에서 수신 제어기(40)의 주소가 확인되지 않거나 송신 제어기(30)의 주소가 확인되지 않는 경우 송신 제어기(30)로부터 전송된 신호를 폐기할 수 있다. 즉, 송신 제어기(30)로부터 전송된 이더넷 신호가 수신 제어기(40)로 전달되지 않는다.The
도 4 및 도 5는 일 실시예에 따른 이더넷 스위치 유닛의 제어 방법을 설명하는 순서도이다.4 and 5 are flowcharts illustrating a control method of an Ethernet switch unit according to an embodiment.
도 4를 참조하면, 차량이 시동하고(401), 스위치(120)는 외부의 제1 메모리(110)로부터 이더넷 주소 리스트를 가져오기 하여 스위치(120) 내부의 제2 메모리(121)에 저장할 수 있다(402). 이후, 스위치(120)는 인가되는 전압의 이상 발생으로 인해 리셋 되는 경우, 제1 메모리(110)로부터 이더넷 주소 리스트를 다시 가져오기 하여 제2 메모리(121)에 저장할 수 있다(403, 404).Referring to FIG. 4 , when the vehicle starts ( 401 ), the
스위치(120)는 제2 메모리(121)에 저장된 이더넷 주소 리스트를 이용하여 차량 내 제어기들 간 신호 전달을 수행할 수 있다(405). 스위치(120)가 리셋 되지 않는 경우에는 제2 메모리(121)에 최초 저장된 이더넷 주소 리스트가 이용된다. 그러나 스위치(120)가 리셋 되는 경우에는 제1 메모리(110)로부터 다시 가져온 이더넷 주소 리스트가 이용된다.The
도 5를 참조하면, 스위치(120)는, 송신 제어기(30)로부터 전송되는 신호에 포함된 수신 제어기(40)의 주소를 이더넷 주소 리스트에서 검색할 수 있다(501). 스위치(120)는 수신 제어기(40)의 주소가 확인되는 경우 송신 제어기(30)의 주소를 이더넷 주소 리스트에서 검색할 수 있다(502, 503). 스위치(120)는 수신 제어기(40)의 주소가 확인되지 않는 경우 송신 제어기(30)로부터 전송된 신호를 폐기할 수 있다(502, 504). 스위치(120)는 송신 제어기(30)의 주소가 확인되는 경우 송신 제어기(30)로부터 전송되는 신호를 수신 제어기(40)로 전달할 수 있다(505, 506). 스위치(120)는 송신 제어기(30)의 주소가 확인되지 않는 경우 송신 제어기(30)로부터 전송된 신호를 폐기할 수 있다(505, 504).Referring to FIG. 5 , the
상술한 바와 같이, 개시된 이더넷 스위치 유닛 및 그 제어 방법은, 이더넷 스위치 유닛에 포함된 스위치가 리셋되는 경우에도 차량 내 제어기들 사이의 신호 전달을 정상적으로 수행할 수 있다. 따라서 이더넷 스위치 유닛의 성능이 향상될 수 있다.As described above, the disclosed Ethernet switch unit and its control method can normally perform signal transfer between in-vehicle controllers even when a switch included in the Ethernet switch unit is reset. Accordingly, the performance of the Ethernet switch unit may be improved.
또한, 개시된 이더넷 스위치 유닛 및 그 제어 방법은, 송신 제어기의 주소와 수신 제어기의 주소가 이더넷 주소 리스트에서 확인될 경우에만 신호 전달을 수행함으로써 이더넷 통신의 신뢰성을 향상시킬 수 있다.In addition, the disclosed Ethernet switch unit and its control method can improve the reliability of Ethernet communication by performing signal transmission only when the address of the transmission controller and the address of the reception controller are confirmed in the Ethernet address list.
한편, 개시된 실시예들은 컴퓨터에 의해 실행 가능한 명령어를 저장하는 기록매체의 형태로 구현될 수 있다. 명령어는 프로그램 코드의 형태로 저장될 수 있으며, 프로세서에 의해 실행되었을 때, 프로그램 모듈을 생성하여 개시된 실시예들의 동작을 수행할 수 있다. 기록매체는 컴퓨터로 읽을 수 있는 기록매체로 구현될 수 있다.Meanwhile, the disclosed embodiments may be implemented in the form of a recording medium storing instructions executable by a computer. Instructions may be stored in the form of program code, and when executed by a processor, may generate program modules to perform operations of the disclosed embodiments. The recording medium may be implemented as a computer-readable recording medium.
컴퓨터가 읽을 수 있는 기록매체로는 컴퓨터에 의하여 해독될 수 있는 명령어가 저장된 모든 종류의 기록 매체를 포함한다. 예를 들어, ROM(Read Only Memory), RAM(Random Access Memory), 자기 테이프, 자기 디스크, 플래쉬 메모리, 광 데이터 저장장치 등이 있을 수 있다. The computer-readable recording medium includes any type of recording medium in which instructions readable by the computer are stored. For example, there may be a read only memory (ROM), a random access memory (RAM), a magnetic tape, a magnetic disk, a flash memory, an optical data storage device, and the like.
이상에서와 같이 첨부된 도면을 참조하여 개시된 실시예들을 설명하였다. 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 본 발명의 기술적 사상이나 필수적인 특징을 변경하지 않고도, 개시된 실시예들과 다른 형태로 본 발명이 실시될 수 있음을 이해할 것이다. 개시된 실시예들은 예시적인 것이며, 한정적으로 해석되어서는 안 된다.The disclosed embodiments have been described with reference to the accompanying drawings as described above. Those of ordinary skill in the art to which the present invention pertains will understand that the present invention may be practiced in other forms than the disclosed embodiments without changing the technical spirit or essential features of the present invention. The disclosed embodiments are illustrative and should not be construed as limiting.
100: 이더넷 스위치 유닛
110: 제1 메모리
120: 스위치
130: MCU100: Ethernet switch unit
110: first memory
120: switch
130: MCU
Claims (11)
제2 메모리를 포함하고, 차량 내 송신 제어기와 수신 제어기 간 신호 전달을 수행하는 스위치;를 포함하고,
상기 스위치는, 차량의 시동 시 상기 제1 메모리로부터 상기 이더넷 주소 리스트를 가져오기 하여 상기 제2 메모리에 저장하고, 인가되는 전압의 이상 발생으로 인해 리셋 되는 경우, 상기 제1 메모리로부터 상기 이더넷 주소 리스트를 다시 가져오기 하여 상기 제2 메모리에 저장하고,
상기 스위치는, 상기 송신 제어기로부터 전송되는 신호에 포함된 상기 수신 제어기의 주소를 상기 제2메모리에 저장된 이더넷 주소 리스트에서 검색하고, 상기 수신 제어기의 주소가 확인되는 경우 상기 송신 제어기의 주소를 상기 제2메모리에 저장된 상기 이더넷 주소 리스트에서 검색하며, 상기 수신 제어기의 주소와 상기 송신 제어기의 주소가 모두 확인되는 경우 상기 송신 제어기로부터 전송되는 신호를 상기 수신 제어기로 전달하고, 상기 수신 제어기의 주소가 확인되지 않거나 상기 송신 제어기의 주소가 확인되지 않는 경우 상기 송신 제어기로부터 전송된 신호를 폐기하는 이더넷 스위치 유닛.a first memory for storing an Ethernet address list; and
A switch including a second memory and performing signal transfer between the in-vehicle transmission controller and the reception controller;
The switch fetches the Ethernet address list from the first memory when the vehicle is started, stores it in the second memory, and when reset due to abnormal occurrence of an applied voltage, the Ethernet address list from the first memory to fetch again and store it in the second memory,
The switch searches for the address of the reception controller included in the signal transmitted from the transmission controller from the Ethernet address list stored in the second memory, and when the address of the reception controller is confirmed, the address of the transmission controller is retrieved from the second memory. 2Search from the Ethernet address list stored in the memory, and if both the address of the receiving controller and the address of the transmitting controller are confirmed, the signal transmitted from the transmitting controller is transmitted to the receiving controller, and the address of the receiving controller is confirmed An Ethernet switch unit that discards a signal transmitted from the transmission controller if it is not or the address of the transmission controller is not verified.
이더넷 스위치 유닛의 진단을 수행하는 MCU(Micro Control Unit);를 더 포함하고,
상기 제1 메모리는
상기 스위치와 상기 MCU의 외부에 마련되는 이더넷 스위치 유닛.According to claim 1,
MCU (Micro Control Unit) for performing diagnosis of the Ethernet switch unit; further comprising,
the first memory
An Ethernet switch unit provided outside the switch and the MCU.
상기 MCU의 리셋 전압과 상기 스위치의 리셋 전압은 상이한 이더넷 스위치 유닛.3. The method of claim 2,
The reset voltage of the MCU and the reset voltage of the switch are different from each other.
상기 스위치는
상기 인가되는 전압이 미리 정해진 리셋 전압 이하로 강하되는 경우, 상기 전압의 이상이 발생한 것으로 판단하는 이더넷 스위치 유닛.According to claim 1,
the switch is
When the applied voltage drops below a predetermined reset voltage, the Ethernet switch unit determines that an abnormality in the voltage has occurred.
상기 스위치에 인가되는 전압의 이상 발생으로 인해 상기 스위치가 리셋되는 경우, 상기 제1 메모리로부터 상기 이더넷 주소 리스트를 다시 가져오기 하여 상기 제2 메모리에 저장하고;
상기 스위치가 상기 제2 메모리에 저장된 상기 이더넷 주소 리스트를 이용하여 상기 차량 내 제어기들 간 신호 전달을 수행하는 것;을 포함하고,
상기 차량 내 제어기들 간 신호 전달을 수행하는 것은,
송신 제어기로부터 전송되는 신호에 포함된 수신 제어기의 주소를 상기 제2메모리에 저장된 이더넷 주소 리스트에서 검색하고;
상기 수신 제어기의 주소가 확인되는 경우 상기 송신 제어기의 주소를 상기 제2메모리에 저장된 이더넷 주소 리스트에서 검색하며;
상기 수신 제어기의 주소와 상기 송신 제어기의 주소가 모두 확인되는 경우 상기 송신 제어기로부터 전송되는 신호를 상기 수신 제어기로 전달하고; 및
상기 수신 제어기의 주소가 확인되지 않거나 상기 송신 제어기의 주소가 확인되지 않는 경우 상기 송신 제어기로부터 전송된 신호를 폐기하는 것;을 포함하는 이더넷 스위치 유닛의 제어 방법.When the vehicle is started, the Ethernet address list is retrieved from the first memory outside the switch and stored in the second memory inside the switch; and
when the switch is reset due to abnormal occurrence of a voltage applied to the switch, retrieving the Ethernet address list from the first memory and storing the list in the second memory;
The switch performs signal transmission between the in-vehicle controllers using the Ethernet address list stored in the second memory;
To perform signal transmission between the in-vehicle controllers,
searching for the address of the reception controller included in the signal transmitted from the transmission controller from the Ethernet address list stored in the second memory;
when the address of the reception controller is confirmed, the address of the transmission controller is retrieved from the Ethernet address list stored in the second memory;
forwarding a signal transmitted from the transmission controller to the reception controller when both the address of the reception controller and the address of the transmission controller are confirmed; and
and discarding the signal transmitted from the transmission controller when the address of the reception controller is not confirmed or the address of the transmission controller is not confirmed.
상기 스위치에 인가되는 전압이 미리 정해진 리셋 전압 이하로 강하되는 경우, 상기 전압의 이상이 발생한 것으로 판단하는 것;을 더 포함하는 이더넷 스위치 유닛의 제어 방법.8. The method of claim 7,
When the voltage applied to the switch drops below a predetermined reset voltage, determining that the voltage is abnormal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020200077388A KR102328570B1 (en) | 2020-06-24 | 2020-06-24 | Ethernet switch unit and method for controlling thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020200077388A KR102328570B1 (en) | 2020-06-24 | 2020-06-24 | Ethernet switch unit and method for controlling thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
KR102328570B1 true KR102328570B1 (en) | 2021-11-19 |
Family
ID=78717964
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020200077388A KR102328570B1 (en) | 2020-06-24 | 2020-06-24 | Ethernet switch unit and method for controlling thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR102328570B1 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07129202A (en) * | 1993-10-28 | 1995-05-19 | Nippondenso Co Ltd | Data backup device of electronic control system |
KR20180029848A (en) * | 2016-09-12 | 2018-03-21 | 현대자동차주식회사 | System for verification of non-registered device based on imformation of ethernet switch and method for the same |
-
2020
- 2020-06-24 KR KR1020200077388A patent/KR102328570B1/en active IP Right Grant
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07129202A (en) * | 1993-10-28 | 1995-05-19 | Nippondenso Co Ltd | Data backup device of electronic control system |
KR20180029848A (en) * | 2016-09-12 | 2018-03-21 | 현대자동차주식회사 | System for verification of non-registered device based on imformation of ethernet switch and method for the same |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7244657B2 (en) | In-vehicle gateway communication method, in-vehicle gateway and intelligent vehicle | |
US10929206B2 (en) | System and method for outward communication in a computational storage device | |
US9081699B2 (en) | Relay device | |
EP3757810B1 (en) | Packet forwarding method, device, and system in nvme over fabric | |
US9787817B2 (en) | Communication system and control device | |
US20190387010A1 (en) | Method and device for handling an anomaly in a communication network | |
US20120198252A1 (en) | System and Method for Managing and Detecting Server Power Connections | |
CN109495320B (en) | Data message transmission method and device | |
US20070160075A1 (en) | Device, system and method of communicating between a bus controller and one or more remote terminals | |
US20130261878A1 (en) | Data output device for vehicle | |
US7058743B2 (en) | Method and device for dynamic interrupt target selection | |
US11544132B2 (en) | Communication apparatus, communication method, program, and communication system | |
JP2022510919A (en) | Network switch with endpoint and direct memory access controller for in-vehicle data transfer | |
KR102328570B1 (en) | Ethernet switch unit and method for controlling thereof | |
US11561922B2 (en) | Communication apparatus, communication method, program, and communication system | |
US20240162980A1 (en) | Fault Information Transmission Method and Apparatus, and Storage Medium | |
CN110870286B (en) | Fault tolerance processing method and device and server | |
JP2003172199A (en) | Program rewriting system for vehicular electronic control unit | |
EP2026505B1 (en) | Communication method for connection device, program for performing said communication method and connection device | |
US20170123398A1 (en) | Monitoring and control system and monitoring and control method | |
US10951734B1 (en) | Client electronic device, a vehicle, and a method of controlling the same | |
JP4042790B2 (en) | Electrical device and method for determining normal communication function in electrical device | |
US20170322893A1 (en) | Computing node to initiate an interrupt for a write request received over a memory fabric channel | |
US20240089142A1 (en) | Vehicle-mounted apparatus and a method for relaying | |
KR20180002535A (en) | Direct memory access control device and operating method for the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant |