KR20170142869A - Operation method of communication node for detecting fail in network - Google Patents

Operation method of communication node for detecting fail in network Download PDF

Info

Publication number
KR20170142869A
KR20170142869A KR1020170057983A KR20170057983A KR20170142869A KR 20170142869 A KR20170142869 A KR 20170142869A KR 1020170057983 A KR1020170057983 A KR 1020170057983A KR 20170057983 A KR20170057983 A KR 20170057983A KR 20170142869 A KR20170142869 A KR 20170142869A
Authority
KR
South Korea
Prior art keywords
communication node
frame
normal
communication
synchronization
Prior art date
Application number
KR1020170057983A
Other languages
Korean (ko)
Other versions
KR102250450B1 (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 US15/626,669 priority Critical patent/US10623291B2/en
Priority to CN201710472998.9A priority patent/CN107528684B/en
Priority to DE102017113564.2A priority patent/DE102017113564A1/en
Publication of KR20170142869A publication Critical patent/KR20170142869A/en
Application granted granted Critical
Publication of KR102250450B1 publication Critical patent/KR102250450B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0054Detection of the synchronisation error by features other than the received signal transition
    • 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/40234Local Interconnect Network LIN

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

Disclosed is an operation method of a communications node in a network. The operation method of a communications node, which is an operation method of a first communications node in an Ethernet-based vehicle network, comprises the following steps of: identifying a link status between the first communications node and each of a plurality of communications nodes included in the vehicle network; receiving a first frame from a second communications node whose link status is normal among the communications nodes; identifying a first time difference between a local time of the first communications node and a time stamp of the first frame; and determining a synchronization error between the first communications node and the second communications node based on the first time difference.

Description

네트워크에서 오류 검출을 위한 통신 노드의 동작 방법{OPERATION METHOD OF COMMUNICATION NODE FOR DETECTING FAIL IN NETWORK}[0001] OPERATION METHOD OF COMMUNICATION NODE FOR DETECTION FAIL IN NETWORK [0002]

본 발명은 네트워크에서 오류 검출을 위한 통신 노드의 동작 방법에 관한 것으로, 더욱 상세하게는 이더넷 기반의 차량 네트워크에서 이더넷 스위치를 사용하는 시스템의 오류를 검출하기 위한 통신 노드의 동작 방법에 관한 것이다.The present invention relates to a method of operating a communication node for error detection in a network, and more particularly, to a method of operating a communication node for detecting an error in a system using an Ethernet switch in an Ethernet-based vehicle network.

차량용 부품의 전자화가 급속도로 진행됨에 따라 차량에 탑재되는 전자 장치의 종류와 수가 크게 증가되고 있다. 전자 장치는 크게 파워트레인(power train) 제어 시스템, 바디(body) 제어 시스템, 새시(chassis) 제어 시스템, 차량 네트워크(network), 멀티미디어(multimedia) 시스템 등에서 사용될 수 있다. 파워트레인 제어 시스템은 엔진 제어 시스템, 자동 변속 제어 시스템 등을 의미할 수 있다. 바디 제어 시스템은 바디 전장품 제어 시스템, 편의 장치 제어 시스템, 램프(lamp) 제어 시스템 등을 의미할 수 있다. 새시 제어 시스템은 조향 장치 제어 시스템, 브레이크(brake) 제어 시스템, 서스팬션(suspension) 제어 시스템 등을 의미할 수 있다. 차량 네트워크는 CAN(controller area network), 플렉스레이(FlexRay) 기반의 네트워크, MOST(media oriented system transport) 기반의 네트워크 등을 의미할 수 있다. 멀티미디어 시스템은 항법 장치 시스템, 텔레메틱스(telematics) 시스템, 인포테인먼트(infotainment) 시스템 등을 의미할 수 있다.BACKGROUND ART [0002] With the rapid progress of electronicization of vehicle parts, the types and number of electronic devices mounted on vehicles have been greatly increased. Electronic devices can be largely used in a power train control system, a body control system, a chassis control system, a vehicle network, a multimedia system, and the like. The powertrain control system may mean an engine control system, an automatic shift control system, and the like. The body control system may refer to a body electrical equipment control system, a convenience device control system, a lamp control system, and the like. The chassis control system may refer to a steering control system, a brake control system, a suspension control system, and the like. The vehicle network may refer to a controller area network (CAN), a FlexRay-based network, or a MOST (media oriented system transport) based network. The multimedia system may refer to a navigation system, a telematics system, an infotainment system, or the like.

이러한 시스템들 및 시스템들 각각을 구성하는 전자 장치들은 차량 네트워크를 통해 연결되어 있으며, 전자 장치들 각각의 기능을 지원하기 위한 차량 네트워크가 요구되고 있다. CAN은 최대 1Mbps의 전송 속도를 지원할 수 있으며, 충돌된 프레임(frame)의 자동 재전송, CRC(cyclic redundancy check) 기반의 오류 검출 등을 지원할 수 있다. 플렉스레이 기반의 네트워크는 최대 10Mbps의 전송 속도를 지원할 수 있으며, 2채널을 통한 데이터의 동시 전송, 동기 방식의 데이터 전송 등을 지원할 수 있다. MOST 기반의 네트워크는 고품질의 멀티미디어를 위한 통신 네트워크로, 최대 150Mbps의 전송 속도를 지원할 수 있다.The electronic devices constituting each of these systems and systems are connected through a vehicle network, and a vehicle network is required to support the functions of each of the electronic devices. CAN can support transmission rates of up to 1Mbps, support automatic retransmission of collided frames, and support CRC (cyclic redundancy check) based error detection. FlexRay-based networks can support transmission speeds of up to 10 Mbps, support simultaneous transmission of data over two channels, and synchronous data transmission. The MOST-based network is a communication network for high-quality multimedia and can support transmission rates of up to 150Mbps.

한편, 차량의 텔레메틱스 시스템, 인포테인먼트 시스템, 향상된 안전 시스템 등은 높은 전송 속도, 시스템 확장성 등을 요구하며, CAN, 플렉스레이 기반의 네트워크 등은 이를 충분히 지원하지 못한다. MOST 기반의 네트워크는 CAN 및 플렉스레이 기반의 네트워크에 비해 높은 전송 속도를 지원할 수 있으나, 차량의 모든 네트워크에 MOST 기반의 네트워크가 적용되기 위해서는 많은 비용이 소모된다. 이러한 문제들에 의해, 차량 네트워크로 이더넷(ethernet) 기반의 네트워크가 고려될 수 있다. 이더넷 기반의 네트워크는 한 쌍의 권선을 통한 양방향 통신을 지원할 수 있으며, 최대 10Gbps의 전송 속도를 지원할 수 있다.On the other hand, vehicle telematics systems, infotainment systems, and enhanced safety systems require high transmission speeds and system scalability, and CAN and FlexRay-based networks do not fully support them. MOST-based networks can support higher transmission speeds than CAN- and FlexRay-based networks, but MOST-based networks are costly for all vehicle networks. Due to these problems, an ethernet-based network can be considered as a vehicle network. An Ethernet-based network can support bidirectional communication through a pair of windings and can support transmission rates up to 10 Gbps.

구체적으로, 차량 네트워크는 복수의 전자 장치들, 복수의 전자 장치들을 제어하는 복수의 ECU(electronic control unit)들 및 전자 장치와 ECU 간의 통신을 제어하는 스위치(switch)를 포함할 수 있다. 이와 같은, 차량 네트워크에서 복수의 ECU들 중 스위치와 연결된 제1 ECU는 복수의 ECU들 간의 연결 상태를 판단함으로써, 차량 네트워크 내의 링크에 대한 오류(fail)를 검출할 수 있다. 또한, 차량 네트워크에서 복수의 ECU들 중 스위치와 연결된 제1 ECU는 복수의 ECU들 및 복수의 전자 장치들 간의 동기화 오류를 검출하기 위한 별도의 알고리즘을 통해 오류를 검출할 수 있다. 또한, 차량 네트워크에서 제1 ECU는 복수의 ECU들 및 복수의 전자 장치들 간의 프레임 수신 오류를 검출하기 위한 별도의 알고리즘을 통해 오류를 검출할 수 있다.Specifically, the vehicle network may include a plurality of electronic devices, a plurality of electronic control units (ECUs) for controlling the plurality of electronic devices, and a switch for controlling communication between the electronic device and the ECU. In this way, the first ECU connected to the switch among the plurality of ECUs in the vehicle network can detect a failure for the link in the vehicle network by determining the connection state between the plurality of ECUs. Further, the first ECU connected to the switch among the plurality of ECUs in the vehicle network can detect an error through a separate algorithm for detecting synchronization errors between the plurality of ECUs and the plurality of electronic devices. In addition, in the vehicle network, the first ECU can detect an error through a separate algorithm for detecting frame reception errors between the plurality of ECUs and the plurality of electronic devices.

즉, 차량 네트워크에서 오류를 검출하는 제1 ECU는 오류를 검출하는 용도에 따라 서로 다른 별도의 알고리즘이 미리 구비되어야 하는 문제가 있다. 이에 따라, 차량 네트워크에서 오류를 검출하기 위한 복수의 알고리즘이 필요함으로써, 오류를 검출하는 제1 ECU의 동작에 부하가 발생하는 문제가 있다.That is, the first ECU that detects an error in the vehicle network has a problem that different algorithms that are different from each other must be provided in advance according to the purpose of detecting the error. Accordingly, a plurality of algorithms for detecting an error in the vehicle network are required, so that a load is generated in the operation of the first ECU that detects an error.

상기와 같은 문제점을 해결하기 위한 본 발명의 목적은 이더넷 기반의 차량 네트워크에서 링크에 대한 오류, 동기화 오류 및 프레임 수신에 대한 오류를 동시에 검출하기 위한 통신 노드의 동작 방법을 제공하는 데 있다.SUMMARY OF THE INVENTION An object of the present invention is to provide a method of operating a communication node for simultaneously detecting an error in a link, a synchronization error, and an error in receiving a frame in an Ethernet-based vehicle network.

상기 목적을 달성하기 위한 본 발명의 일 실시예에 따른 네트워크에서 오류를 검출하기 위한 통신 노드의 동작 방법은 이더넷(ethernet) 기반의 차량 네트워크에서 제1 통신 노드의 동작 방법으로서, 상기 차량 네트워크에 포함된 복수의 통신 노드들 각각과 상기 제1 통신 노드 간의 링크 상태를 확인하는 단계, 상기 복수의 통신 노드들 중에서 링크 상태가 정상인 제2 통신 노드로부터 제1 프레임을 수신하는 단계, 상기 제1 통신 노드의 로컬(local) 시간과 상기 제1 프레임의 타임 스탬프(time stamp) 간의 제1 시간 차이를 확인하는 단계 및 상기 제1 시간 차이에 기초하여 상기 제1 통신 노드 및 상기 제2 통신 노드 간의 동기 오류를 판단하는 단계를 포함한다.In accordance with another aspect of the present invention, there is provided a method of operating a communication node for detecting an error in a network, the method comprising: Receiving a first frame from a second communication node whose link status is normal among the plurality of communication nodes, determining a link status between each of the plurality of communication nodes and the first communication node, Determining a first time difference between a local time of the first communication node and a time stamp of the first frame based on the first time difference, .

여기서, 상기 제1 통신 노드의 동작 방법은 상기 제1 시간 차이를 기초로 판단된 동기가 정상이 아닌 경우, 동기 오류를 지시하는 지시자가 포함된 프레임을 생성하는 단계 및 상기 동기 오류를 지시하는 지시자가 포함된 프레임을 상기 제2 통신 노드로 전송하는 단계를 더 포함할 수 있다.Here, the operation method of the first communication node includes the steps of generating a frame including an indicator indicating a synchronization error when the synchronization determined based on the first time difference is not normal, And transmitting the frame including the first frame to the second communication node.

여기서, 상기 제1 통신 노드의 동작 방법은 상기 제1 차이를 기초로 판단된 동기가 정상인 경우, 상기 복수의 통신 노드들 중에서 링크 상태가 정상인 제3 통신 노드로부터 수신된 제2 프레임의 타임 스탬프와 상기 제1 프레임의 타임 스탬프 간의 제2 시간 차이를 확인하는 단계 및 상기 제2 시간 차이에 기초하여 상기 제1 통신 노드와 상기 제2 통신 노드 간의 동기 오류를 판단하는 단계를 더 포함할 수 있다.Here, if the synchronization determined based on the first difference is normal, the method of operating the first communication node may further include: comparing a time stamp of a second frame received from a third communication node whose link status is normal among the plurality of communication nodes, Determining a second time difference between time stamps of the first frame and determining a synchronization error between the first communication node and the second communication node based on the second time difference.

여기서, 상기 제1 통신 노드의 동작 방법은 상기 제2 시간 차이를 기초로 판단된 동기가 정상이 아닌 경우, 동기 오류를 지시하는 지시자가 포함된 프레임을 생성하는 단계 및 상기 동기 오류를 지시하는 지시자가 포함된 프레임을 상기 2 통신 노드 및 상기 제3 통신 노드로 전송하는 단계를 더 포함할 수 있다.Here, the operation method of the first communication node may include a step of generating a frame including an indicator indicating a synchronization error when the synchronization determined based on the second time difference is not normal, To the second communication node and the third communication node.

여기서, 상기 제1 통신 노드의 동작 방법은 상기 제2 시간 차이를 기초로 판단된 동기가 정상인 경우, 상기 제2 통신 노드 및 상기 제3 통신 노드 각각으로부터 복수의 프레임들을 수신하는 단계 및 상기 복수의 프레임들 각각의 시퀀스 번호(sequence number)의 연속성에 기초하여 프레임 오류를 확인하는 단계를 더 포함할 수 있다.Wherein the method of operating the first communication node includes receiving a plurality of frames from each of the second communication node and the third communication node when the determined synchronization based on the second time difference is normal, And confirming the frame error based on the continuity of the sequence number of each of the frames.

여기서, 상기 제1 통신 노드의 동작 방법은 상기 연속성에 기초하여 확인된 프레임이 정상이 아닌 경우, 상기 제2 통신 노드 및 상기 제3 통신 노드 중 상기 연속성에 기초하여 정상이 아닌 복수의 프레임들을 전송하는 적어도 하나의 통신 노드를 확인하는 단계, 상기 프레임의 손실을 지시하는 지시자가 포함된 프레임을 생성하는 단계 및 상기 프레임의 손실을 지시하는 지시자가 포함된 프레임을 상기 적어도 하나의 통신 노드로 전송하는 단계를 더 포함할 수 있다.Here, the method of operating the first communication node may include transmitting a plurality of non-normal frames based on the continuity among the second communication node and the third communication node when the frame confirmed based on the continuity is not normal The method comprising the steps of: identifying at least one communication node to which a frame is lost; generating a frame including an indication indicating loss of the frame; and transmitting a frame including an indicator indicating loss of the frame to the at least one communication node Step < / RTI >

여기서, 상기 제1 통신 노드의 동작 방법은 상기 연속성에 기초하여 확인된 프레임이 정상인 경우, 상기 제2 통신 노드 및 상기 제3 통신 노드 각각으로부터 수신된 복수의 프레임들에 포함된 정보를 출력하는 단계를 더 포함할 수 있다.Here, the method of operating the first communication node may include: outputting information included in a plurality of frames received from the second communication node and the third communication node, when the frame confirmed based on the continuity is normal; As shown in FIG.

여기서, 상기 제1 통신 노드는 상기 차량 네트워크에서 스위치(switch)의 기능을 수행함으로써, 상기 복수의 통신 노드들을 제거 가능한 통신 노드일 수 있다.Here, the first communication node may be a communication node capable of removing the plurality of communication nodes by performing a function of a switch in the vehicle network.

상기 목적을 달성하기 위한 본 발명의 다른 실시예에 따른 네트워크에서 오류 검출을 위한 통신 노드의 동작 방법을 수행하는 제1 통신 노드는 이더넷(ethernet) 기반의 차량 네트워크의 제1 통신 노드로서, 프로세서(processor) 및 상기 프로세서를 통해 실행되는 적어도 하나의 명령이 저장된 메모리(memory)를 포함하고, 상기 적어도 하나의 명령은 상기 차량 네트워크에 포함된 복수의 통신 노드들 각각과 상기 제1 통신 노드 간의 링크 상태를 확인하고, 상기 복수의 통신 노드들 중에서 링크 상태가 정상인 제2 통신 노드로부터 제1 프레임을 수신하고, 상기 제1 통신 노드의 로컬(local) 시간과 상기 제1 프레임의 타임 스탬프(time stamp) 간의 제1 시간 차이를 확인하고, 그리고 상기 제1 시간 차이에 기초하여 상기 제1 통신 노드 및 상기 제2 통신 노드 간의 동기 오류를 판단하도록 실행된다.According to another aspect of the present invention, there is provided a first communication node for performing a method of operating a communication node for error detection in a network, the first communication node being a first communication node of an ethernet- and a memory in which at least one instruction executed through the processor is stored, wherein the at least one instruction is a link state between each of a plurality of communication nodes included in the vehicle network and the first communication node And receiving a first frame from a second communication node whose link state is normal among the plurality of communication nodes and transmitting a local time of the first communication node and a time stamp of the first frame, And determining a first time difference between the first communication node and the second communication node based on the first time difference, A is performed so as to judge.

여기서, 상기 적어도 하나의 명령은 상기 제1 시간 차이를 기초로 판단된 동기가 정상이 아닌 경우, 동기 오류를 지시하는 지시자가 포함된 프레임을 생성하고, 상기 동기 오류를 지시하는 지시자가 포함된 프레임을 상기 제2 통신 노드로 전송하도록 더 실행될 수 있다.The at least one command generates a frame including an indicator indicating a synchronization error when the synchronization determined based on the first time difference is not normal, and generates a frame including an indicator indicating the synchronization error, To the second communication node.

여기서, 상기 적어도 하나의 명령은 상기 제1 차이를 기초로 판단된 동기가 정상인 경우, 상기 복수의 통신 노드들 중에서 링크 상태가 정상인 제3 통신 노드로부터 수신된 제2 프레임의 타임 스탬프와 상기 제1 프레임의 타임 스탬프 간의 제2 시간 차이를 확인하고, 그리고 상기 제2 시간 차이에 기초하여 상기 제1 통신 노드와 상기 제2 통신 노드 간의 동기 오류를 판단하도록 더 실행될 수 있다.Here, the at least one command may include a time stamp of a second frame received from a third communication node whose link state is normal among the plurality of communication nodes, To determine a second time difference between the time stamps of the frame and to determine a synchronization error between the first communication node and the second communication node based on the second time difference.

여기서, 상기 적어도 하나의 명령은 상기 제2 시간 차이를 기초로 판단된 동기가 정상이 아닌 경우, 동기 오류를 지시하는 지시자가 포함된 프레임을 생성하고, 그리고 상기 동기 오류를 지시하는 지시자가 포함된 프레임을 상기 2 통신 노드 및 상기 제3 통신 노드로 전송하도록 더 실행될 수 있다.The at least one command generates a frame including an indicator for indicating a synchronization error when the synchronization determined based on the second time difference is not normal and includes an indicator for indicating the synchronization error Frame to the two communication nodes and the third communication node.

여기서, 상기 적어도 하나의 명령은 상기 제2 시간 차이를 기초로 판단된 동기가 정상인 경우, 상기 제2 통신 노드 및 상기 제3 통신 노드 각각으로부터 복수의 프레임들을 수신하고, 그리고 상기 복수의 프레임들 각각의 시퀀스 번호(sequence number)의 연속성에 기초하여 프레임 오류를 확인하도록 더 실행될 수 있다.Wherein the at least one command is to receive a plurality of frames from each of the second communication node and the third communication node when the determined synchronization based on the second time difference is normal, Lt; / RTI > may be further performed to identify a frame error based on the continuity of the sequence number of the frame.

여기서, 상기 적어도 하나의 명령은 상기 연속성에 기초하여 확인된 프레임이 정상이 아닌 경우, 상기 제2 통신 노드 및 상기 제3 통신 노드 중 상기 연속성에 기초하여 정상이 아닌 복수의 프레임들을 전송하는 적어도 하나의 통신 노드를 확인하고, 상기 프레임의 손실을 지시하는 지시자가 포함된 프레임을 생성하고, 그리고 상기 프레임의 손실을 지시하는 지시자가 포함된 프레임을 상기 적어도 하나의 통신 노드로 전송하도록 더 실행될 수 있다.Wherein the at least one command is based on the continuity of at least one of the second communication node and the third communication node to transmit a plurality of non-normal frames based on the continuity, To generate a frame containing an indicator indicating the loss of the frame, and to transmit a frame containing an indicator indicating the loss of the frame to the at least one communication node .

여기서, 상기 적어도 하나의 명령은 상기 연속성에 기초하여 확인된 프레임이 정상인 경우, 상기 제2 통신 노드 및 상기 제3 통신 노드 각각으로부터 수신된 복수의 프레임들에 포함된 정보를 출력하도록 실행될 수 있다.Here, the at least one command may be executed to output information contained in a plurality of frames received from each of the second communication node and the third communication node, when the confirmed frame is normal based on the continuity.

여기서, 상기 제1 통신 노드는 상기 차량 네트워크에서 스위치(switch)의 기능을 수행함으로써, 상기 복수의 통신 노드들을 제거 가능한 통신 노드일 수 있다.Here, the first communication node may be a communication node capable of removing the plurality of communication nodes by performing a function of a switch in the vehicle network.

본 발명에 의하면, 이더넷(ethernet) 기반의 차량 네트워크(network)에서 링크 상태를 판단하는 과정에서 링크에 대한 오류, 동기화에 대한 오류 및 프레임 수신에 대한 오류를 동시에 검출할 수 있는 효과가 있다.According to the present invention, errors in a link, an error in synchronization, and an error in frame reception can be simultaneously detected in a process of determining a link state in an ethernet-based vehicle network.

이를 통해, 본 발명에 따른 통신 노드의 동작 방법은 복수의 알고리즘들을 구비할 필요가 없으므로, 차량 네트워크에서 오류를 검출하는 통신 노드의 부하를 감소시킬 수 있는 효과가 있다.Accordingly, since the method of operating the communication node according to the present invention does not need to include a plurality of algorithms, it is possible to reduce the load of the communication node that detects an error in the vehicle network.

도 1은 차량 네트워크의 토폴로지에 대한 일 실시예를 도시한 블록도이다.
도 2는 차량 네트워크를 구성하는 통신 노드의 구조에 대한 일 실시예를 도시한 블록도이다.
도 3은 본 발명의 일 실시예에 따른 차량 네트워크를 도시한 개념도이다.
도 4는 본 발명의 일 실시예에 따른 차량 네트워크에서 오류 검출을 위한 통신 노드의 동작 방법을 수행하는 제1 통신 노드를 도시한 개념도이다.
도 5는 본 발명의 일 실시예에 따른 차량 네트워크에서 오류 검출을 위한 통신 노드의 동작 방법을 도시한 흐름도이다.
도 6은 본 발명의 일 실시예에 따른 차량 네트워크에서 전송되는 프레임을 도시한 개념도이다.
도 7은 본 발명의 일 실시예에 따른 차량 네트워크에서 동기 오류를 판단하는 방법의 제1 실시예를 도시한 흐름도이다.
도 8은 본 발명의 일 실시예에 따른 차량 네트워크에서 동기 오류를 판단하는 방법의 제2 실시예를 도시한 흐름도이다.
도 9는 본 발명의 일 실시예에 따른 차량 네트워크에서 프레임 오류를 판단하는 방법을 도시한 흐름도이다.
도 10은 본 발명의 일 실시예에 따른 차량 네트워크에서 오류 검출을 위한 통신 노드의 동작 방법의 제1 실시예를 도시한 개념도이다.
도 11은 본 발명의 일 실시예에 따른 차량 네트워크에서 오류 검출을 위한 통신 노드의 동작 방법의 제2 실시예를 도시한 개념도이다.
1 is a block diagram illustrating an embodiment of a topology of a vehicle network.
2 is a block diagram showing an embodiment of a structure of a communication node constituting a vehicle network.
3 is a conceptual diagram illustrating a vehicle network according to an embodiment of the present invention.
4 is a conceptual diagram illustrating a first communication node performing a method of operating a communication node for error detection in a vehicle network according to an embodiment of the present invention.
5 is a flowchart illustrating a method of operating a communication node for error detection in a vehicle network according to an embodiment of the present invention.
6 is a conceptual diagram illustrating a frame transmitted in a vehicle network according to an embodiment of the present invention.
7 is a flowchart illustrating a first embodiment of a method for determining a synchronization error in a vehicle network according to an embodiment of the present invention.
8 is a flowchart illustrating a second embodiment of a method for determining a synchronization error in a vehicle network according to an embodiment of the present invention.
9 is a flowchart illustrating a method of determining a frame error in a vehicle network according to an exemplary embodiment of the present invention.
10 is a conceptual diagram showing a first embodiment of a method of operating a communication node for error detection in a vehicle network according to an embodiment of the present invention.
11 is a conceptual diagram showing a second embodiment of a method of operating a communication node for error detection in a vehicle network according to an embodiment of the present invention.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that the invention is not intended to be limited to the particular embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.

제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. 및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다.The terms first, second, etc. may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another. For example, without departing from the scope of the present invention, the first component may be referred to as a second component, and similarly, the second component may also be referred to as a first component. And / or < / RTI > includes any combination of a plurality of related listed items or any of a plurality of related listed items.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다.It is to be understood that when an element is referred to as being "connected" or "connected" to another element, it may be directly connected or connected to the other element, . On the other hand, when an element is referred to as being "directly connected" or "directly connected" to another element, it should be understood that there are no other elements in between.

본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used in this application is used only to describe a specific embodiment and is not intended to limit the invention. The singular expressions include plural expressions unless the context clearly dictates otherwise. In the present application, the terms "comprises" or "having" and the like are used to specify that there is a feature, a number, a step, an operation, an element, a component or a combination thereof described in the specification, But do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or combinations thereof.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가진 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless defined otherwise, all terms used herein, including technical or 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 having a meaning consistent with the meaning in the context of the relevant art and are to be interpreted in an ideal or overly formal sense unless explicitly defined in the present application Do not.

이하, 첨부한 도면들을 참조하여, 본 발명의 바람직한 실시예를 보다 상세하게 설명하고자 한다. 본 발명을 설명함에 있어 전체적인 이해를 용이하게 하기 위하여 도면상의 동일한 구성요소에 대해서는 동일한 참조부호를 사용하고 동일한 구성요소에 대해서 중복된 설명은 생략한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In order to facilitate the understanding of the present invention, the same reference numerals are used for the same constituent elements in the drawings and redundant explanations for the same constituent elements are omitted.

도 1은 차량 네트워크의 토폴로지(network topology)의 일 실시예를 도시한 블록도이다.1 is a block diagram illustrating one embodiment of a network topology of a vehicle network.

도 1을 참조하면, 차량 네트워크를 구성하는 통신 노드(communication node)는 게이트웨이(gateway), 스위치(switch)(또는, 브릿지(bridge)) 또는 엔드 노드(end node) 등을 의미할 수 있다. 게이트웨이(100)는 적어도 하나의 스위치(110, 110-1, 110-2, 120, 130)와 연결될 수 있으며, 서로 다른 네트워크를 연결할 수 있다. 예를 들어, 게이트웨이(100)는 CAN(controller area network)(또는, 플렉스레이(FlexRay), MOST(media oriented system transport), LIN(local interconnect network) 등) 프로토콜(protocol)을 지원하는 스위치와 이더넷(ethernet) 프로토콜을 지원하는 스위치 간을 연결할 수 있다. 스위치들(110, 110-1, 110-2, 120, 130) 각각은 적어도 하나의 엔드 노드(111, 112, 113, 121, 122, 123, 131, 132, 133)와 연결될 수 있다. 스위치들(110, 110-1, 110-2, 120, 130) 각각은 엔드 노드(111, 112, 113, 121, 122, 123, 131, 132, 133)를 상호 연결할 수 있고, 자신과 연결된 엔드 노드(111, 112, 113, 121, 122, 123, 131, 132, 133)를 제어할 수 있다.1, a communication node constituting a vehicle network may refer to a gateway, a switch (or a bridge), an end node, or the like. The gateway 100 may be connected to at least one switch 110, 110-1, 110-2, 120, or 130, and may connect different networks. For example, the gateway 100 may include a switch that supports a controller area network (CAN) (or FlexRay, media oriented system transport (MOST), local interconnect network (LIN) (ethernet) protocol can be connected between switches. Each of the switches 110, 110-1, 110-2, 120 and 130 may be connected to at least one end node 111, 112, 113, 121, 122, 123, 131, 132, Each of the switches 110, 110-1, 110-2, 120 and 130 may interconnect the end nodes 111, 112, 113, 121, 122, 123, 131, 132 and 133, It is possible to control the nodes 111, 112, 113, 121, 122, 123, 131, 132,

엔드 노드(111, 112, 113, 121, 122, 123, 131, 132, 133)는 차량에 포함된 각종 장치를 제어하는 ECU(electronic control unit)를 의미할 수 있다. 예를 들어, 엔드 노드(111, 112, 113, 121, 122, 123, 131, 132, 133)는 인포테인먼트(infotainment) 장치(예를 들어, 디스플레이(display) 장치, 내비게이션(navigation) 장치, 어라운드 뷰 모니터링(around view monitoring) 장치) 등을 구성하는 ECU를 의미할 수 있다.The end nodes 111, 112, 113, 121, 122, 123, 131, 132 and 133 may mean an electronic control unit (ECU) for controlling various devices included in the vehicle. For example, the end nodes 111, 112, 113, 121, 122, 123, 131, 132, 133 may be infotainment devices (e.g., a display device, a navigation device, (An around view monitoring device), and the like.

한편, 차량 네트워크를 구성하는 통신 노드들(즉, 게이트웨이, 스위치, 엔드 노드 등)은 스타(star) 토폴로지, 버스(bus) 토폴로지, 링(ring) 토폴로지, 트리(tree) 토폴로지, 메쉬(mesh) 토폴로지 등으로 연결될 수 있다. 또한, 차량 네트워크를 구성하는 통신 노드들 각각은 CAN 프로토콜, 플렉스레이 프로토콜, MOST 프로토콜, LIN 프로토콜, 이더넷 프로토콜 등을 지원할 수 있다. 본 발명에 따른 실시예들은 앞서 설명된 네트워크 토폴로지에 적용될 수 있으며, 본 발명에 따른 실시예들이 적용되는 네트워크 토폴로지는 이에 한정되지 않고 다양하게 구성될 수 있다.The communication nodes (i.e., gateways, switches, end nodes, etc.) that constitute the vehicle network may be a star topology, a bus topology, a ring topology, a tree topology, Topology, and so on. Further, each of the communication nodes constituting the vehicle network may support the CAN protocol, the FlexRay protocol, the MOST protocol, the LIN protocol, the Ethernet protocol, and the like. Embodiments according to the present invention can be applied to the network topology described above, and the network topology to which the embodiments according to the present invention are applied is not limited to this, and can be variously configured.

도 2는 차량 네트워크를 구성하는 통신 노드의 구조에 대한 일 실시예를 도시한 블록도이다.2 is a block diagram showing an embodiment of a structure of a communication node constituting a vehicle network.

도 2를 참조하면, 차량 네트워크를 구성하는 통신 노드(200)는 PHY 계층 유닛(physical layer unit)(210) 및 컨트롤러(controller) 유닛(220)을 포함할 수 있다. 또한, 통신 노드(200)는 파워(power)를 공급하는 레귤레이터(regulator)(미도시)를 더 포함할 수 있다. 이때, 컨트롤러 유닛(220)은 MAC(medium access control) 계층을 포함하여 구현될 수 있다. PHY 계층 유닛(210)은 다른 통신 노드로부터 신호를 수신할 수 있거나, 다른 통신 노드로 신호를 전송할 수 있다. 컨트롤러 유닛(220)은 PHY 계층 유닛(210)을 제어할 수 있고, 다양한 기능들(예를 들어, 인포테인먼트 기능 등)을 수행할 수 있다. PHY 계층 유닛(210)과 컨트롤러 유닛(220)은 하나의 SoC(System on Chip)로 구현될 수도 있고, 별도의 칩으로 구성될 수도 있다.Referring to FIG. 2, a communication node 200 constituting a vehicle network may include a PHY layer unit 210 and a controller unit 220. In addition, the communication node 200 may further include a regulator (not shown) for supplying power. At this time, the controller unit 220 may be implemented including a medium access control (MAC) layer. PHY layer unit 210 may receive signals from other communication nodes or may transmit signals to other communication nodes. The controller unit 220 may control the PHY layer unit 210 and may perform various functions (e.g., infotainment function, etc.). The PHY layer unit 210 and the controller unit 220 may be implemented as one SoC (System on Chip) or a separate chip.

PHY 계층 유닛(210)과 컨트롤러 유닛(220)은 매체 독립 인터페이스(media independent interface, MII)(230)를 통해 연결될 수 있다. MII(230)는 IEEE 802.3에 규정된 인터페이스를 의미할 수 있으며, PHY 계층 유닛(210)과 컨트롤러 유닛(220) 간의 데이터 인터페이스 및 관리 인터페이스로 구성될 수 있다. MII(230) 대신에 RMII(reduced MII), GMII(gigabit MII), RGMII(reduced GMII), SGMII(serial GMII), XGMII(10 GMII) 중 하나의 인터페이스가 사용될 수 있다. 데이터 인터페이스는 전송 채널(channel) 및 수신 채널을 포함할 수 있으며, 채널들 각각은 독립적인 클럭(clock), 데이터 및 제어 신호를 가질 수 있다. 관리 인터페이스는 2-신호 인터페이스로 구성될 수 있으며, 하나는 클럭을 위한 신호이고 다른 하나는 데이터를 위한 신호일 수 있다.The PHY layer unit 210 and the controller unit 220 may be connected through a media independent interface (MII) 230. The MII 230 may refer to an interface defined in IEEE 802.3, and may be configured as a data interface and a management interface between the PHY layer unit 210 and the controller unit 220. One of the interfaces of RMII (reduced MII), GMII (gigabit MII), RGMII (reduced GMII), SGMII (serial GMII) and XGMII (10 GMII) may be used instead of MII 230. The data interface may include a transmission channel and a reception channel, and each of the channels may have independent clock, data, and control signals. The management interface may be configured as a two-signal interface, one for the clock and the other for the data.

PHY 계층 유닛(210)은 PHY 계층 인터페이스 유닛(211), PHY 계층 프로세서(processor)(212) 및 PHY 계층 메모리(memory)(213) 등을 포함할 수 있다. PHY 계층 유닛(210)의 구성은 이에 한정되지 않으며, PHY 계층 유닛(210)은 다양하게 구성될 수 있다. PHY 계층 인터페이스 유닛(211)은 컨트롤러 유닛(220)으로부터 수신된 신호를 PHY 계층 프로세서(212)로 전송할 수 있고, PHY 계층 프로세서(212)로부터 수신된 신호를 컨트롤러 유닛(220)에 전송할 수 있다. PHY 계층 프로세서(212)는 PHY 계층 인터페이스 유닛(211) 및 PHY 계층 메모리(213) 각각의 동작을 제어할 수 있다. PHY 계층 프로세서(212)는 전송할 신호의 변조 또는 수신된 신호의 복조를 수행할 수 있다. PHY 계층 프로세서(212)는 신호를 입력 또는 출력하도록 PHY 계층 메모리(213)를 제어할 수 있다. PHY 계층 메모리(213)는 수신된 신호를 저장할 수 있고, PHY 계층 프로세서(212)의 요청에 따라 저장된 신호를 출력할 수 있다.The PHY layer unit 210 may include a PHY layer interface unit 211, a PHY layer processor 212 and a PHY layer memory 213 and the like. The configuration of the PHY layer unit 210 is not limited thereto, and the PHY layer unit 210 may be configured in various ways. The PHY layer interface unit 211 may transmit signals received from the controller unit 220 to the PHY layer processor 212 and may transmit signals received from the PHY layer processor 212 to the controller unit 220. [ PHY layer processor 212 may control the operation of PHY layer interface unit 211 and PHY layer memory 213, respectively. The PHY layer processor 212 may perform modulation of the signal to be transmitted or demodulation of the received signal. The PHY layer processor 212 may control the PHY layer memory 213 to input or output a signal. The PHY layer memory 213 can store the received signal and output the stored signal upon request of the PHY layer processor 212. [

컨트롤러 유닛(220)은 MII(230)를 통해 PHY 계층 유닛(210)에 대한 모니터링 및 제어를 수행할 수 있다. 컨트롤러 유닛(220)은 컨트롤러 인터페이스 유닛(221), 컨트롤러 프로세서(222), 주 메모리(223) 및 보조 메모리(224) 등을 포함할 수 있다. 컨트롤러 유닛(220)의 구성은 이에 한정되지 않으며, 컨트롤러 유닛(220)은 다양하게 구성될 수 있다. 컨트롤러 인터페이스 유닛(221)은 PHY 계층 유닛(210)(즉, PHY 계층 인터페이스 유닛(211)) 또는 상위 계층(미도시)으로부터 신호를 수신할 수 있고, 수신된 신호를 컨트롤러 프로세서(222)에 전송할 수 있고, 컨트롤러 프로세서(222)로부터 수신된 신호를 PHY 계층 유닛(210) 또는 상위 계층에 전송할 수 있다. 컨트롤러 프로세서(222)는 컨트롤러 인터페이스 유닛(221), 주 메모리(223) 및 보조 메모리(224)를 제어하기 위한 독립된 메모리 컨트롤 로직(control logic) 또는 통합 메모리 컨트롤 로직을 더 포함할 수 있다. 메모리 컨트롤 로직은 주 메모리(223) 및 보조 메모리(224)에 포함되어 구현될 수도 있으며, 또는 컨트롤러 프로세서(222)에 포함되어 구현될 수도 있다.The controller unit 220 may perform monitoring and control for the PHY layer unit 210 via the MII 230. The controller unit 220 may include a controller interface unit 221, a controller processor 222, a main memory 223, an auxiliary memory 224, and the like. The configuration of the controller unit 220 is not limited thereto, and the controller unit 220 can be configured in various ways. The controller interface unit 221 can receive signals from the PHY layer unit 210 (i.e., the PHY layer interface unit 211) or an upper layer (not shown) and send the received signals to the controller processor 222 And may transmit signals received from the controller processor 222 to the PHY layer unit 210 or higher layer. The controller processor 222 may further include independent memory control logic or integrated memory control logic for controlling the controller interface unit 221, the main memory 223 and the auxiliary memory 224. The memory control logic may be included in the main memory 223 and the auxiliary memory 224, or may be included in the controller processor 222 and implemented.

주 메모리(223) 및 보조 메모리(224) 각각은 컨트롤러 프로세서(222)에 의해 처리된 신호를 저장할 수 있고, 컨트롤러 프로세서(222)의 요청에 따라 저장된 신호를 출력할 수 있다. 주 메모리(223)는 컨트롤러 프로세서(222)의 동작을 위해 필요한 데이터를 일시 저장하는 휘발성 메모리(예를 들어, RAM(random access memory) 등)를 의미할 수 있다. 보조 메모리(224)는 운영체제 코드(operating system code)(예를 들어, 커널(kernel) 및 디바이스 드라이버(device driver))와 컨트롤러 프로세서(220)의 기능을 수행하기 위한 응용 프로그램(application program) 코드 등이 저장되는 비휘발성 메모리를 의미할 수 있다. 비휘발성 메모리로 빠른 처리 속도를 가지는 플래쉬 메모리(flash memory)가 사용될 수 있고, 또는 대용량의 데이터 저장을 위한 하드 디스크 드라이브(hard disc drive, HDD), CD-ROM(compact disc-read only memory) 등이 사용될 수 있다. 컨트롤러 프로세서(222)는 통상적으로 적어도 하나의 프로세싱 코어(core)를 포함하는 로직 회로로 구성될 수 있다. 컨트롤러 프로세서(222)로 ARM(Advanced RISC Machines Ltd.) 계열의 코어, 아톰(atom) 계열의 코어 등이 사용될 수 있다.Each of the main memory 223 and the auxiliary memory 224 may store the signal processed by the controller processor 222 and output the stored signal at the request of the controller processor 222. [ The main memory 223 may mean a volatile memory (e.g., random access memory (RAM), etc.) that temporarily stores data necessary for the operation of the controller processor 222. [ The auxiliary memory 224 includes an operating system code (e.g., a kernel and a device driver) and an application program code for performing functions of the controller processor 220 May be stored in the nonvolatile memory. A flash memory having a high processing speed can be used as a nonvolatile memory or a hard disk drive (HDD), a compact disc-read only memory (CD-ROM), etc. for storing a large amount of data Can be used. Controller processor 222 may typically be comprised of logic circuitry including at least one processing core. As the controller processor 222, an ARM (Advanced RISC Machines Ltd.) series core, an atom series core, or the like may be used.

아래에서는, 차량 네트워크에 속하는 통신 노드와 이에 대응하는 상대(counterpart) 통신 노드에서 수행되는 방법이 설명될 것이다. 이하에서, 제1 통신 노드에서 수행되는 방법(예를 들어, 신호의 전송 또는 수신)이 설명되는 경우에도 이에 대응하는 제2 통신 노드는 제1 통신 노드에서 수행되는 방법과 상응하는 방법(예를 들어, 신호의 수신 또는 전송)을 수행할 수 있다. 즉, 제1 통신 노드의 동작이 설명된 경우에 이에 대응하는 제2 통신 노드는 제1 통신 노드의 동작과 상응하는 동작을 수행할 수 있다. 반대로, 제2 통신 노드의 동작이 설명된 경우에 이에 대응하는 제1 통신 노드는 스위치의 동작과 상응하는 동작을 수행할 수 있다.Hereinafter, a method performed in a communication node belonging to a vehicle network and a corresponding counterpart communication node will be described. Hereinafter, even when a method (e.g., transmission or reception of a signal) to be performed at the first communication node is described, the corresponding second communication node can perform a method corresponding to the method performed at the first communication node For example, receiving or transmitting a signal). That is, when the operation of the first communication node is described, the corresponding second communication node can perform an operation corresponding to the operation of the first communication node. Conversely, when the operation of the second communication node is described, the corresponding first communication node can perform the operation corresponding to the operation of the switch.

도 3은 본 발명의 일 실시예에 따른 차량 네트워크를 도시한 개념도이다.3 is a conceptual diagram illustrating a vehicle network according to an embodiment of the present invention.

도 3에 도시된 스위치(310), 엔드 노드 1(321), 엔드 노드 2(322), 엔드 노드 3(323) 및 엔드 노드(324)는 도 1을 참조하여 설명된 이더넷 기반의 차량 네트워크를 구성할 수 있다. 여기서, 스위치(310)는 스위치의 기능을 수행하는 ECU를 의미할 수 있다. 또한, 스위치(310), 엔드 노드 1(321), 엔드 노드 2(322), 엔드 노드 3(323) 및 엔드 노드 4(324) 각각은 도 2를 참조하여 설명된 통신 노드(200)의 구조를 가질 수 있다.The switch 310, the end node 1 321, the end node 2 322, the end node 3 323 and the end node 324 shown in FIG. 3 are connected to the Ethernet-based vehicle network described with reference to FIG. Can be configured. Here, the switch 310 may mean an ECU that performs a function of a switch. Each of the switches 310, the end node 1 321, the end node 2 322, the end node 3 323 and the end node 4 324 are connected to the communication node 200 Lt; / RTI >

차량 네트워크에서 스위치(310)는 엔드 노드 1(321), 엔드 노드 2(322), 엔드 노드 3(323) 및 엔드 노드 4(324)와 연결될 수 있다. 예를 들어, 차량 네트워크에서 스위치(310), 엔드 노드 1(321), 엔드 노드 2(322), 엔드 노드 3(323) 및 엔드 노드 4(324)는 IEEE 802.1AS(gPTP) 표준에 규정된 이더넷을 위한 시간 동기화(time synchronization) 프로토콜 및 IEEE 1722 표준에 규정된 프로토콜을 사용할 수 있다.In the vehicle network, the switch 310 may be connected to end node 1 321, end node 2 322, end node 3 323 and end node 4 324. For example, in a vehicle network, switch 310, end node 1 321, end node 2 322, end node 3 323, and end node 4 324 may communicate with each other as defined in the IEEE 802.1AS (gPTP) A time synchronization protocol for Ethernet and a protocol defined in the IEEE 1722 standard.

도 4는 본 발명의 일 실시예에 따른 차량 네트워크에서 오류 검출을 위한 통신 노드의 동작 방법을 수행하는 제1 통신 노드를 도시한 개념도이다.4 is a conceptual diagram illustrating a first communication node performing a method of operating a communication node for error detection in a vehicle network according to an embodiment of the present invention.

도 4를 참조하면, 본 발명의 일 실시예에 따른 차량 네트워크에서 오류 검출을 위한 통신 노드의 동작 방법은 제1 통신 노드에서 수행될 수 있다. 여기서, 제1 통신 노드는 도 3을 참조하여 설명된 스위치(310)를 의미할 수 있다. 스위치(310)는 본 발명의 일 실시예에 따른 차량 네트워크에서 오류 검출을 위한 통신 노드의 동작 방법을 수행하기 위해 제어 모듈(311) 및 스위칭 모듈(312)을 포함할 수 있다.Referring to FIG. 4, a method of operating a communication node for error detection in a vehicle network according to an exemplary embodiment of the present invention may be performed in a first communication node. Here, the first communication node may mean the switch 310 described with reference to FIG. The switch 310 may include a control module 311 and a switching module 312 to perform a method of operating a communication node for error detection in a vehicle network according to an embodiment of the present invention.

먼저, 제어 모듈(311)은 스위치(310)에서 스위치(310)에 연결된 복수의 엔드 노드들(예를 들어, 복수의 ECU들)에 대한 오류를 검출하기 위한 기능을 수행할 수 있다. 이를 위해, 제어 모듈(311)은 오류 검출 모듈(311-1), AVTP(audio video transport protocol) 모듈(311-2) 및 시간 동기화 확인 모듈(311-3)을 포함할 수 있다.First, the control module 311 may perform a function for detecting an error with respect to a plurality of end nodes (for example, a plurality of ECUs) connected to the switch 310 at the switch 310. To this end, the control module 311 may include an error detection module 311-1, an audio video transport protocol (AVTP) module 311-2, and a time synchronization confirmation module 311-3.

구체적으로, 오류 검출 모듈(311-1)은 스위치(310) 및 스위치(310)에 연결된 복수의 엔드 노느들 간의 오류를 검출하는 기능을 수행할 수 있다. 또한, AVTP 모듈(311-2)은 AVTP 프로토콜에 따른 통신을 지원하는 기능을 수행할 수 있다. 예를 들어, AVTP 모듈은 IEEE 1722 프로토콜에 따른 통신을 지원할 수 있고, 스위치(310) 및 복수의 엔드 노드들 간에 전송되는 프레임의 시퀀스 번호(sequence number)에 대한 오류를 검출하는 기능을 수행할 수 있다. 또한, 시간 동기화 확인 모듈(311-3)은 스위치(310)에 연결된 복수의 엔드 노드들로부터 수신되는 프레임의 타임 스탬프 간의 차이를 산출하는 기능을 수행할 수 있다.Specifically, the error detection module 311-1 can perform a function of detecting an error between a plurality of end nodes connected to the switch 310 and the switch 310. [ Also, the AVTP module 311-2 can perform a function of supporting communication according to the AVTP protocol. For example, the AVTP module may support communication according to the IEEE 1722 protocol, and may perform a function of detecting an error with respect to a sequence number of a frame transmitted between the switch 310 and a plurality of end nodes have. In addition, the time synchronization confirmation module 311-3 may perform a function of calculating a difference between time stamps of frames received from a plurality of end nodes connected to the switch 310. [

한편, 스위칭 모듈(312)은 차량 네트워크에서 스위치의 기능을 수행하기 위해 시간 동기화 모듈(312-1) 및 링크 모니터링 모듈(312-2)을 포함할 수 있다. 또한, 스위칭 모듈(312)은 도 2를 참조하여 설명된 PHY 계층 인터페이스 유닛을 의미하는 PHY 1(312-3), PHY 2(312-4), PHY 3(312-5) 및 PHY 4(312-6)를 포함할 수 있다. 여기서, 스위칭 모듈(312)은 4개의 PHY들을 포함하는 것으로 설명되었으나, 이에 한정되는 것은 아니다.Meanwhile, the switching module 312 may include a time synchronization module 312-1 and a link monitoring module 312-2 to perform the function of the switch in the vehicle network. The switching module 312 also includes PHY 1 312-3, PHY 2 312-4, PHY 3 312-5, and PHY 4 312 312, which means the PHY layer interface unit described with reference to FIG. -6). ≪ / RTI > Here, the switching module 312 has been described as including four PHYs, but is not limited thereto.

구체적으로, 시간 동기화 모듈(312-1)은 스위치(310) 및 스위치(310)에 연결된 복수의 엔드 노드들 간의 시간 동기화를 위한 기능을 수행할 수 있다. 예를 들어, 시간 동기화 모듈(312-1)은 스위치(310) 및 스위치(310)에 연결된 복수의 엔드 노드들 간의 시간 동기화를 위한 정보(예를 들어, 시간 동기화를 위한 시간 값 및 시간 동기화를 위한 보정에 필요한 값 등)를 생성하는 기능을 수행할 수 있다. 또한, 링크 모니터링 모듈(312-2)은 복수의 PHY들(예를 들어, PHY 1(312-3), PHY 2(312-4), PHY 3(312-5) 및 PHY 4(312-6))에 대한 링크(link)의 상태를 확인하는 기능을 수행할 수 있다.In particular, the time synchronization module 312-1 may perform a function for time synchronization between a plurality of end nodes connected to the switch 310 and the switch 310. [ For example, the time synchronization module 312-1 may include information (e.g., time values for time synchronization and time synchronization) for time synchronization between a plurality of end nodes connected to the switch 310 and the switch 310 And a value required for correction for the image data). The link monitoring module 312-2 also includes a plurality of PHYs (e.g., PHY 1 312-3, PHY 2 312-4, PHY 3 312-5, and PHY 4 312-6 ) Of the link (link).

이와 같은, 스위치(310)에 포함된 복수의 구성들은 물리적인 구성이 아닌, 스위치(310)에서 수행되는 본 발명의 일 실시예에 따른 차량 네트워크에서 오류 검출을 위한 통신 노드의 동작 방법을 수행하기 위해 구분된 논리적인 구성을 의미할 수 있다. 또한, 상기에서 설명된 복수의 구성들에 의해 수행되는 기능은 각 구성들에서 수행되는 대표적인 기능을 의미할 수 있으며, 설명된 기능 이외에 본 발명의 일 실시예에 따른 차량 네트워크에서 오류 검출을 위한 통신 노드의 동작 방법을 수행하기 위한 기능을 수행할 수 있다.The plurality of configurations included in the switch 310 are not physically configured but perform a method of operating the communication node for error detection in the vehicle network according to an embodiment of the present invention performed by the switch 310 It can mean a logical configuration that is distinguished for. In addition, the functions performed by the plurality of configurations described above may be representative functions performed in each of the configurations. In addition to the functions described, in addition to the functions described above, a communication for error detection in a vehicle network And may perform a function for performing an operation method of a node.

아래에서는, 도 3 내지 도 4를 참조하여 설명된 스위치(310)를 의미하는 제1 통신 노드에서 수행되는 본 발명의 일 실시예에 따른 차량 네트워크에서 오류 검출을 위한 통신 노드의 동작 방법이 구체적으로 설명될 수 있다.Hereinafter, an operation method of a communication node for error detection in a vehicle network according to an embodiment of the present invention, which is performed in a first communication node, which means the switch 310 described with reference to Figs. 3 to 4, Lt; / RTI >

도 5는 본 발명의 일 실시예에 따른 차량 네트워크에서 오류 검출을 위한 통신 노드의 동작 방법을 도시한 흐름도이다.5 is a flowchart illustrating a method of operating a communication node for error detection in a vehicle network according to an embodiment of the present invention.

도 5를 참조하면, 본 발명의 일 실시예에 따른 차량 네트워크에서 오류 검출을 위한 통신 노드의 동작 방법은 제1 통신 노드에서 수행될 수 있다. 여기서, 제1 통신 노드는 도 2 내지 도 3을 참조하여 설명된 스위치(310)를 의미할 수 있다. 즉, 제1 통신 노드는 스위치의 기능을 수행함으로써, 제1 통신 노드에 연결된 복수의 통신 노드들을 제어 가능한 통신 노드를 의미할 수 있다. 또한, 제1 통신 노드에 연결된 복수의 통신 노드들은 제1 통신 노드가 도 3을 참조하여 설명된 스위치(310)인 경우, 엔드 노드 1(311) 내지 엔드 노드 4(314)를 의미할 수 있다.Referring to FIG. 5, a method of operating a communication node for error detection in a vehicle network according to an exemplary embodiment of the present invention may be performed in a first communication node. Here, the first communication node may mean the switch 310 described with reference to Figs. That is, the first communication node may mean a communication node that can control a plurality of communication nodes connected to the first communication node by performing a function of a switch. Also, a plurality of communication nodes coupled to the first communication node may refer to end node 1 311 through end node 4 314 if the first communication node is switch 310 described with reference to FIG. 3 .

먼저, 차량 네트워크에서 제1 통신 노드는 차량 네트워크에 포함된 복수의 통신 노드들 각각과 제1 통신 노드 간의 링크 상태를 확인할 수 있다(S501). 구체적으로, 제1 통신 노드는 링크 상태를 확인 가능한 레지스터(register) 값을 확인함으로써, 복수의 통신 노드들 각각과 제1 통신 노드 간의 링크 상태를 확인할 수 있다. 예를 들어, 제1 통신 노드는 이더넷 기반의 통신을 통해 복수의 통신 노드들로로부터 수신 가능한 네트워크 메시지(NM, network message)의 수신 여부에 기초하여 판단할 수 있다.First, in the vehicle network, the first communication node can check the link state between each of the plurality of communication nodes included in the vehicle network and the first communication node (S501). Specifically, the first communication node can check the link status between each of the plurality of communication nodes and the first communication node by checking a register value capable of checking the link status. For example, the first communication node can determine based on whether or not a network message (NM, network message) can be received from a plurality of communication nodes through Ethernet-based communication.

이후, 제1 통신 노드는 복수의 통신 노드들 중 링크 상태가 정상이 아닌 적어도 하나의 통신 노드가 존재하는 경우, 링크 오류를 지시하는 지시자가 포함된 프레임을 생성할 수 있다. 이후, 제1 통신 노드는 링크 오류를 지시하는 지시자가 포함된 프레임을 제1 통신 노드를 제어하는 통신 노드로 전송할 수 있다. 여기서, 제1 통신 노드를 제어하는 통신 노드는 스위치의 기능을 수행하는 통신 노드 또는 게이트웨이의 기능을 수행하는 통신 노드를 의미할 수 있다. 또한, 제1 통신 노드는 링크 오류를 지시하는 지시자가 포함된 프레임을 복수의 통신 노드들로 전송할 수도 있다.Thereafter, when there is at least one communication node among the plurality of communication nodes whose link status is not normal, the first communication node may generate a frame including an indicator for indicating a link error. Thereafter, the first communication node may transmit a frame including an indicator indicating a link error to the communication node controlling the first communication node. Here, the communication node controlling the first communication node may be a communication node performing a function of a switch or a communication node performing a function of a gateway. Also, the first communication node may transmit a frame including an indicator indicating a link error to a plurality of communication nodes.

한편, 제1 통신 노드는 복수의 통신 노드들 중에서 링크 상태가 정상인 제2 통신 노드로부터 제1 프레임을 수신할 수 있다(S502). 여기서, 제1 프레임은 이더넷 기반의 통신을 위한 구조를 가질 수 있다. 제1 프레임의 구조는 이하에서 도 6을 참조하여 구체적으로 설명될 수 있다.Meanwhile, the first communication node can receive the first frame from the second communication node whose link state is normal among the plurality of communication nodes (S502). Here, the first frame may have a structure for Ethernet-based communication. The structure of the first frame can be specifically described below with reference to Fig.

도 6은 본 발명의 일 실시예에 따른 차량 네트워크에서 전송되는 프레임을 도시한 개념도이다.6 is a conceptual diagram illustrating a frame transmitted in a vehicle network according to an embodiment of the present invention.

도 6을 참조하면, 본 발명의 일 실시예에 따른 차량 네트워크에서 전송되는 프레임은 복수의 필드들을 포함할 수 있다. 구체적으로, 프레임은 서브 타입 데이터 필드(subtype data) 필드, 스트림 ID(stream ID) 필드, AVTP 시간(AVTP time) 필드, 포맷 필드, 패킷 정보(packet information) 필드 및 AVTP 페이로드(AVTP payload) 필드를 포함할 수 있다.Referring to FIG. 6, a frame transmitted in a vehicle network according to an exemplary embodiment of the present invention may include a plurality of fields. Specifically, the frame includes a subtype data field, a stream ID field, an AVTP time field, a format field, a packet information field, and an AVTP payload field . ≪ / RTI >

먼저, 서브 타입 데이터 필드는 1옥텟(octet)의 크기를 가질 수 있고, 서브 타입 필드, sv 필드, 버전(version) 필드, mr 필드, f_s_d 필드, tv 필드, 시퀀스 번호(sequence number) 필드 및 포맷 특정 데이터 1(format specific data 1) 필드 및 tu 필드를 포함할 수 있다. 여기서, 서브 타입 데이터 필드에 포함된 서브 타입 필드는 7비트(bit)의 크기를 가질 수 있고, AVTP에 의해 따른 프로토콜을 식별하기 위해 사용될 수 있다.First, the subtype data field may have a size of one octet and may include a subtype field, an sv field, a version field, an mr field, an f_s_d field, a tv field, a sequence number field, and a format A format specific data 1 field, and a tu field. Here, the subtype field included in the subtype data field may have a size of 7 bits and may be used to identify a protocol to be followed by AVTP.

또한, 서브 타입 데이터 필드에 포함된 sv 필드는 1비트의 크기를 가질 수 있고, 스트림 ID 필드에 유효한(valid) 스트림 ID의 존재하는 지를 지시할 수 있다. 예를 들어, sv 필드는 스트림 ID 필드에 유효한 스트림 ID가 존재하는 경우, 비트 값을 1로 설정할 수 있다. 또한, sv 필드는 스트림 ID 필드에 유효한 스트림 ID가 존재하지 않는 경우, 비트 값을 0으로 설정할 수 있다.In addition, the sv field included in the subtype data field may have a size of 1 bit and indicate whether a valid stream ID exists in the stream ID field. For example, the sv field may set the bit value to 1 if there is a valid stream ID in the stream ID field. Also, the sv field can set the bit value to 0 if there is no valid stream ID in the stream ID field.

또한, 서브 타입 데이터 필드에 포함된 버전 필드는 3비트의 크기를 가질 수 있고, AVTP 데이터 유닛(AVTPDU)의 버전을 지시할 수 있다. 또한, 서브 타입 데이터 필드에 포함된 mr 필드는 1비트의 크기를 가질 수 있고, 소스의 미디어 클록(media clock)의 변경 여부를 지시할 수 있다. 또한, 서브 타입 데이터 필드에 포함된 f_s_d 필드는 2비트의 크기를 가질 수 있다.In addition, the version field included in the subtype data field may have a size of 3 bits and may indicate a version of the AVTP data unit (AVTPDU). Also, the mr field included in the subtype data field may have a size of 1 bit, and may indicate whether or not the media clock of the source is changed. In addition, the f_s_d field included in the subtype data field may have a size of 2 bits.

또한, 서브 타입 데이터 필드에 포함된 tv 필드는 1비트의 크기를 가질 수 있고, AVTP 타임 스탬프 필드의 시간 값에 대한 유효성을 지시할 수 있다. 예를 들어, tv 필드는 AVTP 타임 스탬프 필드에 유효한 데이터가 존재하는 경우, 비트 값을 1로 설정할 수 있다. 또한 tv 필드는 AVTP 타임 스탬프 필드에 유효한 데이터가 존재하지 않는 경우, 비트 값 0으로 설정할 수 있다.In addition, the tv field included in the subtype data field may have a size of 1 bit, and may indicate the validity of the time value of the AVTP timestamp field. For example, the tv field may set the bit value to 1 if there is valid data in the AVTP timestamp field. Also, the tv field may be set to a bit value of 0 if there is no valid data in the AVTP timestamp field.

또한, 서브 데이터 필드에 포함된 시퀀스 번호 필드는 8비트의 크기를 가질 수 있고, AVTP 데이터 유닛의 스트림 순서를 지시할 수 있다. 또한, 서브 데이터 필드에 포함된 포맷 특정 데이터 1 필드는 7비트의 크기를 가질 수 있다. 또한, 서브 데이터 필드에 포함된 tu 필드는 1비트의 크기를 가질 수 있고, AVTP 타임 스탬프 필드에 대한 오류 여부를 지시할 수 있다.In addition, the sequence number field included in the sub data field may have a size of 8 bits and may indicate a stream sequence of AVTP data units. In addition, the format specific data 1 field included in the sub data field may have a size of 7 bits. Also, the tu field included in the sub data field may have a size of 1 bit, and may indicate an error in the AVTP timestamp field.

한편, 스트림 ID 필드는 4옥텟의 크기를 가질 수 있고, sv 필드의 비트 값이 1로 설정된 경우, AVTP 데이터 유닛과 관련된 64비트의 크기를 가지는 스트림 ID 필드를 포함할 수 있다. 즉, 4옥텟의 크기를 가지는 스트림 ID 필드에 포함된 64비트의 크기를 가지는 스트림 ID 필드는 서브 필드를 의미할 수 있다. 또한, AVTP 시간 필드는 4옥텟의 크기를 가질 수 있고, 32비트의 크기를 가지는 AVTP 타임 스탬프 필드를 포함할 수 있다. 즉, AVTP 시간 필드는 tv 필드의 비트 값이 1로 설정된 경우, 32비트의 크기를 가지는 AVTP 타임 스탬프 필드를 통해 AVTP 시간을 지시할 수 있다.On the other hand, the stream ID field may have a size of 4 octets, and when the bit value of the sv field is set to 1, it may include a stream ID field having a size of 64 bits related to the AVTP data unit. That is, a stream ID field having a size of 64 bits included in a stream ID field having a size of 4 octets may mean a sub-field. In addition, the AVTP time field may have a size of 4 octets and may include an AVTP timestamp field having a size of 32 bits. That is, when the bit value of the tv field is set to 1, the AVTP time field can indicate the AVTP time through the 32-bit AVTP timestamp field.

또한, 포맷 필드는 4옥텟의 크기를 가질 수 있고, 32비트의 크기를 가지는 포맷 특정 데이터 2 필드를 포함할 수 있다. 또한, 패킷 정보 필드는 4옥텟의 크기를 가질 수 있고, 16비트의 크기를 가지는 스트림 데이터 길이 필드 및 16비트의 크기를 가지는 포맷 특정 데이터 3 필드를 포함할 수 있다. 또한, AVTP 페이로드 필드는 0 내지 N옥텟의 크기를 가질 수 있고, 추가되는 프로토콜에 대한 데이터를 지시할 수 있다. AVTP 페이로드 필드의 크기는 최대 전송 단위(MTU, maximum transmission unit)의 크기를 초과하지 않는 범위에서 결정될 수 있다.In addition, the format field may have a size of 4 octets and may include a format specific data 2 field having a size of 32 bits. In addition, the packet information field may have a size of 4 octets, and may include a stream data length field having a size of 16 bits and a format specific data 3 field having a size of 16 bits. In addition, the AVTP payload field may have a size of 0 to N octets and may indicate data for an added protocol. The size of the AVTP payload field can be determined within a range that does not exceed the size of the maximum transmission unit (MTU).

한편, 다시 도 5를 참조하면 제1 통신 노드는 제1 통신 노드의 로컬(local) 시간과 제1 프레임의 타임 스탬프 간의 제1 시간 차이를 확인할 수 있다(S503). 여기서, 제1 프레임의 타임 스탬프는 도 6을 참조하여 설명된 타임 스탬프 필드를 의미할 수 있다. 즉, 제1 통신 노드는 제1 통신 노드의 로컬 시간과 제1 프레임의 타임 스탬프가 지시하는 시간 간의 차이를 의미하는 제1 시간 차이를 확인할 수 있다. 구체적으로, 제1 통신 노드의 로컬 시간과 제1 프레임의 타임 스탬프가 지시하는 시간 간의 제1 시간 차이는 하기의 수학식 1과 같이 나타낼 수 있다.Referring again to FIG. 5, the first communication node can confirm the first time difference between the local time of the first communication node and the time stamp of the first frame (S503). Here, the time stamp of the first frame may refer to the time stamp field described with reference to FIG. That is, the first communication node can confirm the first time difference, which is the difference between the local time of the first communication node and the time indicated by the time stamp of the first frame. Specifically, the first time difference between the local time of the first communication node and the time indicated by the time stamp of the first frame can be expressed by the following equation (1).

Figure pat00001
Figure pat00001

상기 수학식 1에서 avtp_timestamp는 제1 프레임의 타임 스탬프가 지시하는 시간을 의미할 수 있고, Local Timens는 제1 통신 노드의 로컬 시간을 의미할 수 있다. 이에 따라, 수학식 1에서 time_difference는 제1 시간 차이를 의미할 수 있다. 여기서, 제1 통신 노드의 로컬 시간, 제1 프레임의 타임 스탬프가 지시하는 시간 및 제1 시간 차이의 단위는 나노 초(ns, nanosecond)일 수 있다.In Equation (1), avtp_timestamp may denote a time indicated by the time stamp of the first frame, and Local Time ns may denote the local time of the first communication node. Accordingly, in Equation (1), time_difference may mean a first time difference. Here, the local time of the first communication node, the time indicated by the time stamp of the first frame, and the unit of the first time difference may be nanoseconds (ns, nanosecond).

이후, 제1 통신 노드는 제1 시간 차이에 기초하여 제1 통신 노드 및 제2 통신 노드 간의 동기 오류를 판단할 수 있다(S504). 구체적으로, 제1 통신 노드는 제1 시간 차이가 0 보다 작거나 동기 오류를 판단하기 위해 미리 설정된 제1 임계값 이상인 경우, 동기가 정상이 아닌 것으로 판단할 수 있다. 또한, 제1 통신 노드는 제1 시간 차이가 0 이상이고 미리 설정된 제1 임계값 미만인 경우, 동기가 정상인 것으로 판단할 수 있다.Thereafter, the first communication node may determine a synchronization error between the first communication node and the second communication node based on the first time difference (S504). Specifically, the first communication node may determine that the synchronization is not normal if the first time difference is less than 0 or is equal to or greater than a preset first threshold value for determining a synchronization error. In addition, the first communication node can determine that the synchronization is normal when the first time difference is equal to or larger than 0 and less than the predetermined first threshold value.

여기서, 제1 임계값은 1 내지 223-1 내에서 제1 통신 노드를 포함하는 전자 장치의 사양에 기초하여 가변적으로 결정될 수 있다. 예를 들어, 제1 통신 노드가 SVM(surround view monitor) 시스템에 포함되고, SVM 시스템에서 프레임의 수신 시간에 대하여 허용되는 오차가 최대 1초(second)인 것으로 가정할 수 있다. 이와 같은 경우, 제1 임계값은 1,000,000,000ns일 수 있다.Here, the first threshold value can be variably determined based on the specification of the electronic device including the first communication node within 1 to 2 23 -1. For example, it can be assumed that the first communication node is included in a surround view monitor (SVM) system, and the allowed error for the reception time of the frame in the SVM system is at most one second. In such a case, the first threshold may be 1,000,000,000 ns.

이하에서는, 제1 통신 노드에서 제1 시간 차이에 기초하여 제1 통신 노드 및 제2 통신 노드 간의 동기 오류를 판단하고, 판단 결과에 기초하여 수행되는 동작이 도 7을 참조하여 설명될 수 있다.Hereinafter, the synchronization error between the first communication node and the second communication node on the basis of the first time difference at the first communication node, and the operation performed based on the determination result, can be described with reference to FIG.

도 7은 본 발명의 일 실시예에 따른 차량 네트워크에서 동기 오류를 판단하는 방법의 제1 실시예를 도시한 흐름도이다.7 is a flowchart illustrating a first embodiment of a method for determining a synchronization error in a vehicle network according to an embodiment of the present invention.

도 7을 참조하면, 제1 통신 노드는 단계 S504에서 설명된 방법에 기초하여 제1 통신 노드 및 제2 통신 노드 간의 동기가 정상인지 판단할 수 있다(S505). 이후, 제1 통신 노드는 제1 시간 차이를 기초로 판단된 동기가 정상이 아닌 경우, 동기 오류를 지시하는 지시자가 포함된 프레임을 생성할 수 있다(S506).Referring to FIG. 7, the first communication node can determine whether synchronization between the first communication node and the second communication node is normal based on the method described in step S504 (S505). Thereafter, if the determined synchronization based on the first time difference is not normal, the first communication node can generate a frame including an indicator for indicating a synchronization error (S506).

이후, 제1 통신 노드는 동기 오류를 지시하는 지시자가 포함된 프레임을 제2 통신 노드로 전송할 수 있다(S507). 여기서, 제1 통신 노드는 동기 오류를 지시하는 지시자가 포함된 프레임을 제2 통신 노드뿐 아니라, 제1 통신 노드를 제어하는 통신 노드로 전송할 수 있다. 여기서, 제1 통신 노드를 제어하는 통신 노드는 스위치의 기능을 수행하는 통신 노드 또는 게이트웨이의 기능을 수행하는 통신 노드를 의미할 수 있다. 또한, 제1 통신 노드는 동기 오류를 지시하는 지시자가 포함된 프레임을 복수의 통신 노드들로 전송할 수도 있다.Thereafter, the first communication node may transmit a frame including an indicator indicating a synchronization error to the second communication node (S507). Here, the first communication node may transmit a frame including an indicator for indicating a synchronization error to the second communication node, as well as the communication node controlling the first communication node. Here, the communication node controlling the first communication node may be a communication node performing a function of a switch or a communication node performing a function of a gateway. Also, the first communication node may transmit a frame including an indicator indicating a synchronization error to a plurality of communication nodes.

한편, 제1 통신 노드는 제1 시간 차이를 기초로 판단된 동기가 정상인 경우, 복수의 통신 노드들 중에서 링크 상태가 정상인 제3 통신 노드로부터 수신된 제2 프레임의 타임 스탬프와 제1 프레임의 타임 스탬프 간의 제2 시간 차이를 확인할 수 있다(S508). 여기서, 제2 프레임의 타임 스탬프는 도 6을 참조하여 설명된 타임 스탬프 필드를 의미할 수 있다. 즉, 제1 통신 노드는 제1 프레임의 타임 스탬프가 지시하는 시간과 제2 프레임의 타임 스탬프가 지시하는 시간 간의 차이를 의미하는 제2 시간 차이를 확인할 수 있다.On the other hand, when the synchronization determined based on the first time difference is normal, the first communication node transmits the time stamp of the second frame received from the third communication node whose link status is normal among the plurality of communication nodes, The second time difference between the stamps can be confirmed (S508). Here, the time stamp of the second frame may refer to the time stamp field described with reference to FIG. That is, the first communication node can confirm the second time difference, which indicates the difference between the time indicated by the time stamp of the first frame and the time indicated by the time stamp of the second frame.

이후, 제1 통신 노드는 제2 시간 차이에 기초하여 제1 통신 노드 및 제2 통신 노드 간의 동기 오류를 판단할 수 있다(S509). 구체적으로, 제1 통신 노드는 제2 시간 차이를 동기 오류를 판단하기 위해 미리 설정된 제2 임계값에 따른 범위와 비교할 수 있다. 여기서, 제1 통신 노드는 제3 통신 노드로부터 수신된 제2 프레임의 타임 스탬프와 제1 프레임의 타임 스탬프 간의 제2 시간 차이에 기초하여 동기 오류를 판단하는 것으로 설명되었으나, 이에 한정되는 것은 아니다.Thereafter, the first communication node may determine a synchronization error between the first communication node and the second communication node based on the second time difference (S509). Specifically, the first communication node may compare the second time difference with a range according to a preset second threshold value to determine a synchronization error. Here, it is described that the first communication node determines the synchronization error based on the second time difference between the time stamp of the second frame received from the third communication node and the time stamp of the first frame, but the present invention is not limited thereto.

예를 들어, 제1 통신 노드는 복수의 통신 노드들 중에서 링크 상태가 정상인 제2 통신 노드, 제3 통신 노드, 제4 통신 노드 및 제5 통신 노드로부터 복수의 프레임들이 수신되는 경우, 수신된 복수의 프레임들의 타임 스탬프에 대한 시간 차이를 산출할 수 있다. 구체적으로, 복수의 프레임들의 타임 스탬프에 대한 시간 차이는 하기의 수학식 2와 같이 나타낼 수 있다.For example, when the first communication node receives a plurality of frames from the second communication node, the third communication node, the fourth communication node, and the fifth communication node whose link status is normal among the plurality of communication nodes, Lt; RTI ID = 0.0 > time-stamp < / RTI > Specifically, the time difference of the time stamps of the plurality of frames can be expressed by the following equation (2).

Figure pat00002
Figure pat00002

상기 수학식 2에서 ECU2는 제2 통신 노드를 의미할 수 있고, avtp_timestamp(ECU2)는 제2 통신 노드의 타임 스탬프가 지시하는 시간을 의미할 수 있다. 또한, ECU3은 제3 통신 노드를 의미할 수 있고, avtp_timestamp(ECU3)는 제3 통신 노드의 타임 스탬프가 지시하는 시간을 의미할 수 있다. 또한, ECU4는 제4 통신 노드를 의미할 수 있고, avtp_timestamp(ECU4)는 제4 통신 노드의 타임 스탬프가 지시하는 시간을 의미할 수 있다. 또한, ECU5는 제5 통신 노드를 의미할 수 있고, avtp_timestamp(ECU5)는 제5 통신 노드의 타임 스탬프가 지시하는 시간을 의미할 수 있다.In Equation (2), the ECU 2 may denote a second communication node, and avtp_timestamp (ECU2) may denote a time indicated by the time stamp of the second communication node. Also, the ECU 3 may mean a third communication node, and avtp_timestamp (ECU3) may mean a time indicated by the time stamp of the third communication node. Also, the ECU 4 may mean a fourth communication node, and avtp_timestamp (ECU4) may mean a time indicated by the time stamp of the fourth communication node. Also, the ECU 5 may mean a fifth communication node, and avtp_timestamp (ECU 5 ) may mean a time indicated by the time stamp of the fifth communication node.

즉, 제1 통신 노드는 상기에서 설명된 방법에 따라 복수의 통신 노드들 각각으로부터 수신된 복수의 프레임들의 타임 스탬프에 대한 복수의 시간 차이들을 확인할 수도 있다. 이후, 제1 통신 노드는 복수의 시간 차이들에 기초하여 제1 통신 노드 및 복수의 통신 노드들 간의 동기 오류를 판단할 수 있다.That is, the first communication node may identify a plurality of time differences for the timestamps of the plurality of frames received from each of the plurality of communication nodes according to the method described above. The first communication node may then determine a synchronization error between the first communication node and the plurality of communication nodes based on the plurality of time differences.

구체적으로, 제1 통신 노드는 복수의 시간 차이들을 미리 설정된 제2 임계값에 따른 범위와 비교할 수 있다. 구체적으로, 미리 설정된 제2 임계값을 y라 하면, 제2 임계값에 따른 범위는 하기의 수학식 3과 같이 나타낼 수 있다.Specifically, the first communication node may compare a plurality of time differences with a range according to a preset second threshold value. Specifically, if the preset second threshold value is y, the range according to the second threshold value can be expressed by the following equation (3).

Figure pat00003
Figure pat00003

상기 수학식 3에서 y로 나타낸 제2 임계값은 1 내지 223-1 내에서 제1 통신 노드를 포함하는 전자 장치의 사양에 기초하여 가변적으로 결정될 수 있다. 예를 들어, 제1 통신 노드가 SVM(surround view monitor) 시스템에 포함되고, SVM 시스템에서 프레임의 수신 시간에 대하여 허용되는 오차가 최대 1초(second)인 것으로 가정할 수 있다. 이와 같은 경우, 제2 임계값은 5,000,000,000ns일 수 있다. 이에 따라, 수학식 3은 하기의 수학식 4와 같이 나타낼 수 있다.The second threshold, denoted y in Equation (3), can be variably determined based on the specification of the electronic device including the first communication node within 1 to 2 <" 23 > -1. For example, it can be assumed that the first communication node is included in a surround view monitor (SVM) system, and the allowed error for the reception time of the frame in the SVM system is at most one second. In such a case, the second threshold may be 5,000,000,000 ns. Accordingly, Equation (3) can be expressed as Equation (4) below.

Figure pat00004
Figure pat00004

제1 통신 노드는 복수의 시간 차이들이 제2 임계값에 따른 범위를 만족하지 않는 경우, 동기가 정상이 아닌 것으로 판단할 수 있다. 또한, 제1 통신 노드는 복수의 시간 차이들이 제2 임계값에 따른 범위를 만족하는 경우, 동기가 정상인 것으로 판단할 수 있다. 이와 같은 방법에 따라 제1 통신 노드는 단계 S507에서 제2 시간 차이에 기초하여 제1 통신 노드 및 제2 통신 노드 간의 동기 오류를 판단할 수 있다.The first communication node may determine that the synchronization is not normal if the plurality of time differences do not satisfy the range according to the second threshold value. In addition, the first communication node may determine that the synchronization is normal when a plurality of time differences satisfy a range according to the second threshold value. According to this method, the first communication node can determine a synchronization error between the first communication node and the second communication node based on the second time difference in step S507.

이하에서는, 제1 통신 노드에서 제2 시간 차이에 기초하여 제1 통신 노드 및 제2 통신 노드 간의 동기 오류를 판단하고, 판단 결과에 기초하여 수행되는 동작이 도 8을 참조하여 설명될 수 있다.Hereinafter, a synchronization error between the first communication node and the second communication node on the basis of the second time difference at the first communication node may be determined, and the operation performed based on the determination result may be described with reference to FIG.

도 8은 본 발명의 일 실시예에 따른 차량 네트워크에서 동기 오류를 판단하는 방법의 제2 실시예를 도시한 흐름도이다.8 is a flowchart illustrating a second embodiment of a method for determining a synchronization error in a vehicle network according to an embodiment of the present invention.

도 8을 참조하면, 제1 통신 노드는 단계 S509에서 설명된 방법에 기초하여 제1 통신 노드 및 제2 통신 노드 간의 동기가 정상인지 판단할 수 있다(S510). 이후, 제1 통신 노드는 제2 시간 차이를 기초로 판단된 동기가 정상이 아닌 경우, 동기 오류를 지시하는 지시자가 포함된 프레임을 생성할 수 있다(S511).Referring to FIG. 8, the first communication node can determine whether synchronization between the first communication node and the second communication node is normal based on the method described in step S509 (S510). Thereafter, if the determined synchronization based on the second time difference is not normal, the first communication node may generate a frame including an indicator for indicating a synchronization error (S511).

이후, 제1 통신 노드는 동기 오류를 지시하는 지시자가 포함된 프레임을 제2 통신 노드 및 제3 통신 노드로 전송할 수 있다(S512). 여기서, 제1 통신 노드는 동기 오류를 지시하는 지시자가 포함된 프레임을 제2 통신 노드 및 제3 통신 노드뿐 아니라, 제1 통신 노드를 제어하는 통신 노드로 전송할 수 있다. 여기서, 제1 통신 노드를 제어하는 통신 노드는 스위치의 기능을 수행하는 통신 노드 또는 게이트웨이의 기능을 수행하는 통신 노드를 의미할 수 있다. 또한, 제1 통신 노드는 동기 오류를 지시하는 지시자가 포함된 프레임을 복수의 통신 노드들로 전송할 수도 있다.Thereafter, the first communication node may transmit a frame including an indicator indicating a synchronization error to the second communication node and the third communication node (S512). Here, the first communication node may transmit a frame including an indicator for indicating a synchronization error to the second communication node and the third communication node, as well as the communication node controlling the first communication node. Here, the communication node controlling the first communication node may be a communication node performing a function of a switch or a communication node performing a function of a gateway. Also, the first communication node may transmit a frame including an indicator indicating a synchronization error to a plurality of communication nodes.

한편, 제1 통신 노드는 제2 시간 차이를 기초로 판단된 동기가 정상인 경우, 제2 통신 노드 및 제3 통신 노드 각각으로부터 복수의 프레임들을 수신할 수 있다(S513). 즉, 제1 통신 노드는 제2 통신 노드로부터 복수의 프레임들을 수신할 수 있고, 제3 통신 노드로부터 복수의 프레임들을 수신할 수 있다.Meanwhile, if the determined synchronization based on the second time difference is normal, the first communication node can receive a plurality of frames from the second communication node and the third communication node, respectively (S513). That is, the first communication node may receive a plurality of frames from the second communication node and may receive a plurality of frames from the third communication node.

이후, 제1 통신 노드는 복수의 프레임들 각각의 시퀀스 번호의 연속성에 기초하여 프레임 오류를 확인할 수 있다(S514). 여기서, 시퀀스 번호는 도 6을 참조하여 설명된 시퀀스 번호 필드가 나타내는 번호를 의미할 수 있다. 즉, 제1 통신 노드는 제1 통신 노드 및 제2 통신 노드 각각으로부터 수신된 복수의 프레임들의 시퀀스 번호 필드가 나타내는 번호의 연속성을 확인할 수 있고, 확인된 번호의 연속성에 기초하여 프레임 오류를 확인할 수 있다. 여기서, 프레임 오류는 프레임이 수신되는 순서에 대한 오류를 의미할 수 있다.Thereafter, the first communication node may identify the frame error based on the continuity of the sequence numbers of each of the plurality of frames (S514). Here, the sequence number may refer to a number indicated by the sequence number field described with reference to FIG. That is, the first communication node can confirm the continuity of the numbers represented by the sequence number field of the plurality of frames received from each of the first communication node and the second communication node, and can confirm the frame error based on the continuity of the identified number have. Here, a frame error may indicate an error in the order in which the frame is received.

구체적으로, 제1 통신 노드는 제1 통신 노드 및 제2 통신 노드 각각으로부터 수신된 복수의 프레임들의 시퀀스 번호 필드가 나타내는 번호에 연속성이 존재하지 않는 경우, 수신된 복수의 프레임들이 정상이 아닌 것으로 판단할 수 있다. 또한, 제1 통신 노드는 제1 통신 노드 및 제2 통신 노드 각각으로부터 수신된 복수의 프레임들의 시퀀스 번호 필드가 나타내는 번호의 연속성이 존재하는 경우, 수신된 복수의 프레임들이 정상인 것으로 판단할 수 있다.Specifically, when there is no continuity in the number indicated by the sequence number field of the plurality of frames received from each of the first communication node and the second communication node, the first communication node determines that the received plurality of frames are not normal can do. The first communication node may also determine that the received plurality of frames are normal if there is a continuity of the numbers represented by the sequence number field of the plurality of frames received from the first communication node and the second communication node, respectively.

이하에서는, 제1 통신 노드에서 복수의 프레임들 각각의 시퀀스 번호의 연속성에 기초하여 프레임 오류를 판단하고, 판단 결과에 기초하여 수행되는 동작이 도 9를 참조하여 설명될 수 있다.Hereinafter, a frame error is determined based on the continuity of the sequence numbers of each of the plurality of frames at the first communication node, and the operation performed based on the determination result can be described with reference to FIG.

도 9는 본 발명의 일 실시예에 따른 차량 네트워크에서 프레임 오류를 판단하는 방법을 도시한 흐름도이다.9 is a flowchart illustrating a method of determining a frame error in a vehicle network according to an exemplary embodiment of the present invention.

도 9를 참조하면, 제1 통신 노드는 단계 S514에서 설명된 방법에 기초하여 복수의 프레임들의 프레임이 정상인지 판단할 수 있다(S515). 이후, 제1 통신 노드는 연속성에 기초하여 확인된 프레임이 정상이 아닌 경우, 제2 통신 노드 및 제3 통신 노드 중 연속성에 기초하여 정상이 아닌 복수의 프레임들을 전송한 적어도 하나의 통신 노드를 확인할 수 있다(S516). 이후, 제1 통신 노드는 프레임의 손실을 지시하는 지시자가 포함된 프레임을 생성할 수 있다(S517).Referring to FIG. 9, the first communication node may determine whether frames of a plurality of frames are normal based on the method described in step S514 (S515). Then, the first communication node confirms at least one communication node that transmitted a plurality of frames that are not normal based on continuity among the second communication node and the third communication node, if the frame confirmed based on continuity is not normal (S516). Thereafter, the first communication node may generate a frame including an indicator indicating a loss of a frame (S517).

이후, 제1 통신 노드는 프레임의 손실을 지시하는 지시자가 포함된 프레임을 적어도 하나의 통신 노드로 전송할 수 있다(S518). 여기서, 제1 통신 노드는 프레임 손실을 지시하는 지시자가 포함된 프레임을 적어도 하나의 통신 노드뿐 아니라, 제1 통신 노드를 제어하는 통신 노드로 전송할 수 있다. 여기서, 제1 통신 노드를 제어하는 통신 노드는 스위치의 기능을 수행하는 통신 노드 또는 게이트웨이의 기능을 수행하는 통신 노드를 의미할 수 있다. 또한, 제1 통신 노드는 동기 오류를 지시하는 지시자가 포함된 프레임을 복수의 통신 노드들로 전송할 수도 있다.Thereafter, the first communication node may transmit a frame including an indication indicating loss of frame to at least one communication node (S518). Here, the first communication node can transmit a frame including an indicator for indicating frame loss to at least one communication node, as well as to a communication node controlling the first communication node. Here, the communication node controlling the first communication node may be a communication node performing a function of a switch or a communication node performing a function of a gateway. Also, the first communication node may transmit a frame including an indicator indicating a synchronization error to a plurality of communication nodes.

한편, 제1 통신 노드는 연속성에 기초하여 확인된 프레임이 정상인 경우, 제2 통신 노드 및 제3 통신 노드 각각으로부터 수신된 복수의 프레임들에 포함된 정보를 출력할 수 있다(S519).On the other hand, if the confirmed frame is normal based on continuity, the first communication node can output information included in the plurality of frames received from the second communication node and the third communication node, respectively (S519).

상술한 바와 같은 방법을 통해, 차량 네트워크에서 제1 통신 노드는 제1 통신 노드에 연결된 복수의 통신 노드들에 대한 링크 상태, 동기 오류 및 프레임 오류를 확인할 수 있다. 즉, 제1 통신 노드는 본 발명의 일 실시예에 따른 오류 검출을 위한 통신 노드의 동작 방법을 수행함으로써 차량 네트워크의 오류를 검출할 수 있다. 이하에서는, 본 발명의 일 실시예에 따른 차량 네트워크에서 오류 검출을 위한 통신 노드의 동작 방법이 적용되는 실시예가 도 10 내지 도 11을 참조하여 구체적으로 설명될 수 있다.Through the method as described above, the first communication node in the vehicle network can check the link status, synchronization error and frame error for a plurality of communication nodes connected to the first communication node. That is, the first communication node can detect an error in the vehicle network by performing a method of operating the communication node for error detection according to an embodiment of the present invention. Hereinafter, an embodiment in which a method of operating a communication node for error detection in a vehicle network according to an embodiment of the present invention is applied can be specifically described with reference to FIG. 10 to FIG.

도 10은 본 발명의 일 실시예에 따른 차량 네트워크에서 오류 검출을 위한 통신 노드의 동작 방법의 제1 실시예를 도시한 개념도이다.10 is a conceptual diagram showing a first embodiment of a method of operating a communication node for error detection in a vehicle network according to an embodiment of the present invention.

도 10을 참조하면, 본 발명의 일 실시예에 따른 차량 네트워크에서 오류 검출을 위한 통신 노드의 동작 방법은 SVM 시스템(1100)에서 수행될 수 있다. 여기서, SVM 시스템(1100)은 도 5 내지 도 9를 참조하여 설명된 본 발명의 일 실시예에 따른 차량 네트워크에서 오류 검출을 위한 통신 노드의 동작 방법을 수행하는 제1 통신 노드를 의미할 수 있다. 또한, SVM 시스템(1100)은 본 발명의 일 실시예에 따른 차량 네트워크에서 오류 검출을 위한 통신 노드의 동작 방법을 수행하는 제1 통신 노드를 포함할 수도 있다. 예를 들어, SVM 시스템(1100)은 차량에 설치된 복수의 카메라들을 제어하는 시스템을 의미할 수 있다.Referring to FIG. 10, a method of operating a communication node for error detection in a vehicle network according to an embodiment of the present invention may be performed in the SVM system 1100. Here, the SVM system 1100 may refer to a first communication node that performs a method of operating a communication node for error detection in a vehicle network according to an embodiment of the present invention described with reference to FIGS. 5 to 9 . In addition, the SVM system 1100 may include a first communication node that performs a method of operating a communication node for error detection in a vehicle network according to an embodiment of the present invention. For example, the SVM system 1100 may refer to a system that controls a plurality of cameras installed in a vehicle.

먼저, 차량 네트워크에서 SVM 시스템(1100)은 복수의 카메라들과 연결될 수 있다. 예를 들어, 복수의 카메라들은 차량에 설치된 카메라를 의미할 수 있고, 제1 카메라(1110), 제2 카메라(1120), 제3 카메라(1130) 및 제4 카메라(1140)를 포함할 수 있다. 구체적으로, 제1 카메라(1110)는 차량의 전방에 설치된 전방 카메라를 의미할 수 있다. 또한, 제2 카메라(1120)는 차량의 후방에 설치된 후방 카메라를 의미할 수 있다. 또한, 제3 카메라(1130)는 차량의 좌측에 설치된 좌측 카메라를 의미할 수 있다. 또한, 제4 카메라는 차량의 우측에 설치된 우측 카메라를 의미할 수 있다.First, in the vehicle network, the SVM system 1100 can be connected to a plurality of cameras. For example, the plurality of cameras may refer to a camera installed in a vehicle, and may include a first camera 1110, a second camera 1120, a third camera 1130, and a fourth camera 1140 . Specifically, the first camera 1110 may refer to a front camera installed in front of the vehicle. In addition, the second camera 1120 may refer to a rear camera installed behind the vehicle. Also, the third camera 1130 may mean a left camera installed on the left side of the vehicle. In addition, the fourth camera may mean a right camera installed on the right side of the vehicle.

여기서, 제1 카메라(1110), 제2 카메라(1120), 제3 카메라(1130) 및 제4 카메라(1140)는 SVM 시스템(1100)과 연결될 수 있고, SVM 시스템(1100)은 시간 동기화(time synchronization)를 수행할 수 있다. 이에 따라, 차량 네트워크에서 SVM 시스템(1100)과 복수의 카메라들은 시간 동기를 맞출 수 있다. 여기서, SVM 시스템(1100)과 복수의 카메라들 간의 시간 동기화는 복수의 카메라들 각각 순차적으로 수행되거나, 동시에 수행될 수 있다.Here, the first camera 1110, the second camera 1120, the third camera 1130, and the fourth camera 1140 may be connected to the SVM system 1100, and the SVM system 1100 may perform time synchronization synchronization can be performed. Accordingly, in the vehicle network, the SVM system 1100 and a plurality of cameras can be time synchronized. Here, the time synchronization between the SVM system 1100 and the plurality of cameras may be performed sequentially or concurrently with a plurality of cameras.

이후, 복수의 카메라들 각각은 복수의 카메라들 각각을 통해 촬영된 영상에 대한 정보가 포함된 프레임을 생성할 수 있다. 이후, 복수의 카메라들은 영상에 대한 정보가 포함된 프레임을 SVM 시스템(1100)으로 전송할 수 있다. 여기서, 복수의 카메라들에서 전송되는 프레임은 도 6을 참조하여 설명된 프레임과 동일한 구조를 가질 수 있다.Hereinafter, each of the plurality of cameras may generate a frame including information on an image photographed through each of the plurality of cameras. Then, the plurality of cameras may transmit a frame including information on the image to the SVM system 1100. [ Here, a frame transmitted from a plurality of cameras may have the same structure as the frame described with reference to FIG.

예를 들어, 제1 카메라(1110)는 차량의 전방을 촬영할 수 있고, 촬영된 영상에 대한 정보가 포함된 제1 영상 프레임을 생성할 수 있다. 이후, 제1 카메라(1110)는 생성된 제1 영상 프레임을 SVM 시스템(1100)으로 전송할 수 있다. 또한, 제2 카메라(1120)는 차량의 후방을 촬영할 수 있고, 촬영된 영상에 대한 정보가 포함된 제2 영상 프레임을 생성할 수 있다. 이후, 제2 카메라(1120)는 제2 영상 프레임을 SVM 시스템(1100)으로 전송할 수 있다. 또한, 제3 카메라(1130)는 차량의 좌측을 촬영할 수 있고, 촬영된 영상에 대한 정보가 포함된 제3 영상 프레임을 생성할 수 있다. 이후, 제3 카메라(1130)는 생성된 제3 영상 프레임을 SVM 시스템(1100)으로 전송할 수 있다. 또한, 제4 카메라(1140)는 차량의 우측을 촬영할 수 있고, 촬영된 영상에 대한 정보가 포함된 제4 영상 프레임을 생성할 수 있다. 이후, 제4 카메라(1140)는 생성된 제4 영상 프레임을 SVM 시스템(1100)으로 전송할 수 있다.For example, the first camera 1110 can capture the front of the vehicle, and can generate a first image frame including information about the photographed image. Then, the first camera 1110 can transmit the generated first image frame to the SVM system 1100. In addition, the second camera 1120 can photograph the rear of the vehicle, and can generate a second image frame including information on the photographed image. The second camera 1120 may then transmit the second image frame to the SVM system 1100. Also, the third camera 1130 can photograph the left side of the vehicle, and can generate a third image frame including information on the photographed image. Then, the third camera 1130 can transmit the generated third image frame to the SVM system 1100. In addition, the fourth camera 1140 can photograph the right side of the vehicle, and can generate a fourth image frame including information on the photographed image. After that, the fourth camera 1140 can transmit the generated fourth image frame to the SVM system 1100.

이후, SVM 시스템(1100)은 복수의 카메라들 각각으로부터 각 카메라에서 생성된 영상 프레임을 수신할 수 있다. 이후, SVM 시스템(1100)은 본 발명의 일 실시예에 따른 차량 네트워크에서 오류 검출을 위한 통신 노드의 동작 방법을 수행함으로써, 차량 네트워크의 오류를 검출할 수 있다. 구체적으로, SVM 시스템(1100)은 제1 카메라(1110), 제2 카메라(1120), 제3 카메라(1130) 및 제4 카메라(1140)로부터 수신 가능한 네트워크 메시지의 수신 여부에 기초하여 SVM 시스템(1100) 및 제1 카메라(1110), 제2 카메라(1120), 제3 카메라(1130) 및 제4 카메라(1140) 각각에 대한 링크 상태를 확인할 수 있다.Then, the SVM system 1100 can receive image frames generated from each camera from each of the plurality of cameras. Thereafter, the SVM system 1100 can detect an error in the vehicle network by performing a method of operating the communication node for error detection in the vehicle network according to an embodiment of the present invention. Specifically, the SVM system 1100 is configured to receive a network message that can be received from the first camera 1110, the second camera 1120, the third camera 1130, and the fourth camera 1140, 1100 and the first camera 1110, the second camera 1120, the third camera 1130, and the fourth camera 1140, respectively.

이후, SVM 시스템(1100)은 제1 카메라(1110)로부터 수신된 제1 영상 프레임, 제2 카메라(1120)로부터 수신된 제2 영상 프레임, 제3 카메라(1130)로부터 수신된 제3 영상 프레임 및 제4 카메라(1140)로부터 수신된 제4 영상 프레임 각각의 타임 스탬프에 기초하여 SVM 시스템(1100)의 동기 오류를 확인할 수 있다. SVM 시스템(1100)에서 동기 오류를 확인하는 구체적인 방법은 도 5 내지 도 9를 참조하여 설명된 방법과 동일할 수 있다.The SVM system 1100 then receives the first image frame received from the first camera 1110, the second image frame received from the second camera 1120, the third image frame received from the third camera 1130, The synchronization error of the SVM system 1100 can be confirmed based on the time stamp of each of the fourth image frames received from the fourth camera 1140. A specific method of confirming the synchronization error in the SVM system 1100 may be the same as the method described with reference to FIGS. 5 to 9.

이후, SVM 시스템(1100)은 제1 카메라(1110), 제2 카메라(1120), 제3 카메라(1130) 및 제4 카메라(1140) 각각으로부터 복수의 영상 프레임들을 수신할 수 있다. 이후, SVM 시스템(1100)은 제1 카메라(1110), 제2 카메라(1120), 제3 카메라(1130) 및 제4 카메라(1140) 각각으로부터 수신된 복수의 영상 프레임들의 시퀀스 번호를 확인할 수 있다. 이후, SVM 시스템(1100)은 복수의 영상 프레임들의 시퀀스 번호의 연속성에 기초하여 프레임 오류를 확인할 수 있다.The SVM system 1100 may receive a plurality of image frames from the first camera 1110, the second camera 1120, the third camera 1130, and the fourth camera 1140, respectively. The SVM system 1100 can check the sequence numbers of the plurality of image frames received from the first camera 1110, the second camera 1120, the third camera 1130 and the fourth camera 1140 . The SVM system 1100 may then check the frame error based on the continuity of the sequence numbers of the plurality of image frames.

이와 같은 방법을 통해, 차량 네트워크에서 SVM 시스템(1100)은 링크 상태, 동기 오류 및 프레임 오류 중 적어도 하나의 오류가 발생하는 경우, 발생된 오류를 지시하는 지시자가 포함된 프레임을 생성할 수 있고, 생성된 프레임을 SVM 시스템(1100)에 연결된 복수의 카메라들로 전송할 수 있다. 또한, SVM 시스템(1100)은 복수의 카메라들뿐 아니라, SVM 시스템(1100)을 제어 가능한 통신 노드로 전송할 수도 있다.In this way, in the vehicle network, the SVM system 1100 can generate a frame including an indicator indicating an error generated when at least one of a link state, a synchronization error, and a frame error occurs, And transmit the generated frame to a plurality of cameras connected to the SVM system 1100. [ In addition, the SVM system 1100 may transmit a plurality of cameras, as well as the SVM system 1100 to a controllable communication node.

한편, SVM 시스템(1100)은 제1 카메라(1110), 제2 카메라(1120), 제3 카메라(1130) 및 제4 카메라(1140) 각각으로부터 수신되는 복수의 영상 프레임들이 정상인 경우, 복수의 영상 프레임들에 포함된 영상에 대한 정보를 획득할 수 있다. 이후, SVM 시스템(1100)은 획득된 영상에 대한 정보를 이용하여 영상을 생성할 수 있고, 생성된 영상을 출력할 수 있다. 예를 들어, SVM 시스템(1100)이 디스플레이(display) 장치와 연결된 경우, SVM 시스템(1100)은 획득된 영상에 대한 정보를 이용하여 차량을 운전하는 사용자에게 복수의 카메라들에서 감지된 영상에 대한 정보를 안내하는 영상 또는 메시지를 생성할 수 있고, 생성된 영상 또는 메시지를 디스플레이 장치를 통해 출력할 수도 있다.On the other hand, when the plurality of image frames received from the first camera 1110, the second camera 1120, the third camera 1130 and the fourth camera 1140 are normal, Information about the image included in the frames can be obtained. Thereafter, the SVM system 1100 can generate an image using information on the acquired image, and output the generated image. For example, when the SVM system 1100 is connected to a display device, the SVM system 1100 may use the information about the acquired image to inform the user who operates the vehicle of the image sensed by the plurality of cameras A video or a message for guiding information can be generated, and the generated video or message can be outputted through a display device.

도 11은 본 발명의 일 실시예에 따른 차량 네트워크에서 오류 검출을 위한 통신 노드의 동작 방법의 제2 실시예를 도시한 개념도이다.11 is a conceptual diagram showing a second embodiment of a method of operating a communication node for error detection in a vehicle network according to an embodiment of the present invention.

도 11을 참조하면, 본 발명의 일 실시예에 따른 차량 네트워크에서 오류 검출을 위한 통신 노드의 동작 방법은 ADAS 시스템(advanced driver assistance system)(1200)에서 수행될 수 있다. 여기서, ADAS 시스템(1200)은 도 5 내지 도 9를 참조하여 설명된 본 발명의 일 실시예에 따른 차량 네트워크에서 오류 검출을 위한 통신 노드의 동작 방법을 수행하는 제1 통신 노드를 의미할 수 있다. 또한, ADAS 시스템(1200)은 본 발명의 일 실시예에 따른 차량 네트워크에서 오류 검출을 위한 통신 노드의 동작 방법을 수행하는 제1 통신 노드를 포함할 수도 있다. 예를 들어, ADAS 시스템(1200)은 차량을 운전하는 사용자를 위한 첨단 운전자 보조 시스템을 의미할 수 있다.Referring to FIG. 11, an operation method of a communication node for error detection in a vehicle network according to an embodiment of the present invention may be performed in an ADAS system (advanced driver assistance system) 1200. Herein, the ADAS system 1200 may refer to a first communication node that performs a method of operating a communication node for error detection in a vehicle network according to an embodiment of the present invention described with reference to FIGS. 5 to 9 . The ADAS system 1200 may also include a first communication node that performs a method of operating a communication node for error detection in a vehicle network according to an embodiment of the present invention. For example, the ADAS system 1200 may refer to a state of the art driver assistance system for a user operating a vehicle.

먼저, 차량 네트워크에서 ADAS 시스템(1200)은 복수의 전자 장치들과 연결될 수 있다. 예를 들어, 복수의 전자 장치들은 ADAS 시스템(1200)을 위한 제1 센서(1210), 제2 센서(1220), 제3 센서(1230), 카메라(1240) 및 레이더(1250)를 포함할 수 있다. 구체적으로, 제1 센서(1210)는 차량의 전방에 설치된 적외선 센서를 의미할 수 있다. 또한, 제2 센서(1220)는 차량의 좌측에 설치된 좌측 센서를 의미할 수 있다. 또한, 제3 센서(1230)는 차량의 우측에 설치된 우측 센서를 의미할 수 있다. 또한, 카메라(1240)는 차량에 설치된 카메라를 의미할 수 있다. 또한, 레이더(1250)는 차량에 설치된 레이더를 의미할 수 있다.First, in the vehicle network, the ADAS system 1200 may be coupled to a plurality of electronic devices. For example, a plurality of electronic devices may include a first sensor 1210, a second sensor 1220, a third sensor 1230, a camera 1240, and a radar 1250 for the ADAS system 1200 have. Specifically, the first sensor 1210 may mean an infrared sensor installed in front of the vehicle. Also, the second sensor 1220 may mean a left sensor installed on the left side of the vehicle. Also, the third sensor 1230 may mean a right sensor installed on the right side of the vehicle. In addition, the camera 1240 may refer to a camera installed in the vehicle. Further, the radar 1250 may mean a radar installed in the vehicle.

여기서, 제1 센서(1210), 제2 센서(1220), 제3 센서(1230), 카메라(1240) 및 레이더(1250)는 ADAS 시스템(1200)과 연결될 수 있고, ADAS 시스템(1200)과 시간 동기화를 수행할 수 있다. 이에 따라, 차량 네트워크에서 ADAS 시스템(1200)과 복수의 전장 장치들은 시간 동기를 맞출 수 있다. 여기서, ADAS 시스템(1200)과 복수의 전자 장치들 간의 시간 동기화는 복수의 전자 장치들 각각 순차적으로 수행되거나, 동시에 수행될 수 있다.Here, the first sensor 1210, the second sensor 1220, the third sensor 1230, the camera 1240 and the radar 1250 may be connected to the ADAS system 1200, Synchronization can be performed. Accordingly, the ADAS system 1200 and a plurality of electric devices in the vehicle network can be time synchronized. Here, the time synchronization between the ADAS system 1200 and the plurality of electronic devices may be performed sequentially, or simultaneously, of a plurality of electronic devices.

이후, 복수의 전자 장치들은 복수의 전자 장치들 각각의 기능을 수행함으로써, 획득된 정보가 포함된 프레임을 생성할 수 있다. 이후, 복수의 전자 장치들은 획득된 정보가 포함된 프레임을 ADAS 시스템(1200)으로 전송할 수 있다. 여기서, 복수의 전자 장치들에서 전송되는 프레임은 도 6을 참조하여 설명된 동일한 구조를 가질 수 있다. Thereafter, the plurality of electronic devices perform the function of each of the plurality of electronic devices, thereby generating a frame including the obtained information. The plurality of electronic devices may then transmit a frame containing the obtained information to the ADAS system 1200. Here, a frame transmitted from a plurality of electronic devices may have the same structure as described with reference to Fig.

예를 들어, 제1 센서(1210)는 차량의 전방에서 차량으로 접근하는 물체를 감지할 수 있고, 감지된 물체에 대한 정보가 포함된 제1 감지 프레임을 생성할 수 있다. 이후, 제1 센서(1210)는 생성된 제1 감지 프레임을 ADAS 시스템(1200)으로 전송할 수 있다. 또한, 제2 센서(1220)는 차량의 좌측에서 차량으로 접근하는 물체를 감지할 수 있고, 감지된 물체에 대한 정보가 포함된 제2 감지 프레임을 생성할 수 있다. 이후, 제2 센서(1220)는 생성된 제2 감지 프레임을 ADAS 시스템(1200)으로 전송할 수 있다. 또한, 제3 센서(1230)는 차량의 우측에서 차량으로 접근하는 물체를 감지할 수 있고, 감지된 물체에 대한 정보가 포함된 제3 감지 프레임을 생성할 수 있다. 이후, 제3 센서(1230)는 생성된 제3 감지 프레임을 ADAS 시스템(1200)으로 전송할 수 있다.For example, the first sensor 1210 may sense an object approaching the vehicle in front of the vehicle, and may generate a first sensing frame including information about the sensed object. The first sensor 1210 may then transmit the generated first sense frame to the ADAS system 1200. Also, the second sensor 1220 can detect an object approaching the vehicle from the left side of the vehicle, and can generate a second sensing frame including information on the sensed object. The second sensor 1220 may then transmit the generated second sensing frame to the ADAS system 1200. [ In addition, the third sensor 1230 may sense an object approaching the vehicle from the right side of the vehicle, and may generate a third sensing frame including information on the sensed object. The third sensor 1230 may then transmit the generated third sensing frame to the ADAS system 1200.

또한, 카메라(1240)는 차량에 설치된 위치에서 차량의 주변을 촬영할 수 있고, 촬영된 영상에 대한 정보가 포함된 영상 프레임을 생성할 수 있다. 이후, 카메라(1240)는 생성된 영상 프레임을 ADAS 시스템(1200)으로 전송할 수 있다. 또한, 레이더(1250)는 차량에 설치된 위치에서 차량의 주변에 존재하는 물체를 감지할 수 있고, 감지된 물체에 대한 정보가 포함된 레이더 프레임을 생성할 수 있다. 이후, 레이더(1250)는 생성된 레이더 프레임을 ADAS 시스템(1200)으로 전송할 수 있다.In addition, the camera 1240 can photograph the periphery of the vehicle at a position set on the vehicle, and can generate an image frame including information on the photographed image. Then, the camera 1240 can transmit the generated image frame to the ADAS system 1200. In addition, the radar 1250 can detect an object existing in the vicinity of the vehicle at a position installed in the vehicle, and can generate a radar frame including information on the sensed object. The radar 1250 may then transmit the generated radar frame to the ADAS system 1200.

이후, ADAS 시스템(1200)은 복수의 전장 장치들로부터 각 전장 장치에서 생성된 프레임을 수신할 수 있다. 이후, ADAS 시스템(1200)은 본 발명의 일 실시예에 따른 차량 네트워크에서 오류 검출을 위한 통신 노드의 동작 방법을 수행함으로써, 차량 네트워크의 오류를 검출할 수 있다. 구체적으로, ADAS 시스템(1200)은 제1 센서(1210), 제2 센서(1220), 제3 센서(1230), 카메라(1240) 및 레이더(1250)로부터 수신 가능한 네트워크 메시지의 수신 여부에 기초하여 ADAS 시스템(1200) 및 제1 센서(1210), 제2 센서(1220), 제3 센서(1230), 카메라(1240) 및 레이더(1250) 각각에 대한 링크 상태를 확인할 수 있다.Thereafter, the ADAS system 1200 can receive frames generated in each electric device from a plurality of electric devices. Thereafter, the ADAS system 1200 can detect an error in the vehicle network by performing a method of operating a communication node for error detection in the vehicle network according to an embodiment of the present invention. Specifically, the ADAS system 1200 determines whether or not a network message that can be received from the first sensor 1210, the second sensor 1220, the third sensor 1230, the camera 1240, and the radar 1250 is received The ADAS system 1200 and the first sensor 1210, the second sensor 1220, the third sensor 1230, the camera 1240, and the radar 1250, respectively.

이후, ADAS 시스템(1200)은 제1 센서(1210)로부터 수신된 제1 감지 프레임, 제2 센서(1220)로부터 수신된 제2 감지 프레임, 제3 센서(1230)로부터 수신된 제3 감지 프레임, 카메라(1240)로부터 수신된 영상 프레임 및 레이더(1250)로부터 수신된 레이더 프레임 각각의 타임 스탬프에 기초하여 ADAS 시스템(1200)의 동기 오류를 확인할 수 있다. ADAS 시스템(1200)에서 동기 오류를 확인하는 구체적인 방법은 도 5 내지 도 9를 참조하여 설명된 방법과 동일할 수 있다.The ADAS system 1200 then receives the first sensing frame received from the first sensor 1210, the second sensing frame received from the second sensor 1220, the third sensing frame received from the third sensor 1230, The synchronization error of the ADAS system 1200 can be confirmed based on the time stamp of each of the image frame received from the camera 1240 and the radar frame received from the radar 1250. [ A concrete method of checking the synchronization error in the ADAS system 1200 may be the same as the method described with reference to Figs. 5 to 9.

이후, ADAS 시스템(1200)은 제1 센서(1210), 제2 센서(1220), 제3 센서(1230), 카메라(1240) 및 레이더(1250) 각각으로부터 제1 센서(1210), 제2 센서(1220), 제3 센서(1230), 카메라(1240) 및 레이더(1250)에서 생성된 프레임을 수신할 수 있다. 이후, ADAS 시스템(1200)은 제1 센서(1210), 제2 센서(1220), 제3 센서(1230), 카메라(1240) 및 레이더(1250) 각각으로부터 수신된 프레임의 시퀀스 번호를 확인할 수 있다. 이후, ADAS 시스템(1200)은 확인된 프레임의 시퀀스 번호의 연속성에 기초하여 프레임 오류를 확인할 수 있다.The ADAS system 1200 then receives signals from the first sensor 1210, the second sensor 1220, the third sensor 1230, the camera 1240 and the radar 1250 from the first sensor 1210, The second sensor 1220, the third sensor 1230, the camera 1240, and the radar 1250. The ADAS system 1200 may then determine the sequence number of the frame received from each of the first sensor 1210, the second sensor 1220, the third sensor 1230, the camera 1240, and the radar 1250 . The ADAS system 1200 may then check the frame error based on the continuity of the sequence number of the identified frame.

이와 같은 방법을 통해, 차량 네트워크에서 ADAS 시스템(1200)은 링크 상태, 동기 오류 및 프레임 오류 중 적어도 하나의 오류가 발생하는 경우, 발생된 오류를 지시하는 지시자가 포함된 프레임을 생성할 수 있고, 생성된 프레임을 ADAS 시스템(1200)에 연결된 복수의 전장 장치들로 전송할 수 있다. 또한, ADAS 시스템(1200)은 복수의 전장 장치들뿐 아니라, ADAS 시스템(1200)을 제어 가능한 통신 노드로 전송할 수도 있다.In this way, in the vehicle network, the ADAS system 1200 can generate a frame including an indicator indicating an error generated when at least one of a link state, a synchronization error, and a frame error occurs, And transmit the generated frame to a plurality of electric devices connected to the ADAS system 1200. [ ADAS system 1200 may also transmit a plurality of electrical devices, as well as ADAS system 1200, to controllable communication nodes.

한편, ADAS 시스템(1200)은 제1 센서(1210), 제2 센서(1220), 제3 센서(1230), 카메라(1240) 및 레이더(1250) 각각으로부터 수신되는 프레임이 정상인 경우, 각 프레임에 포함된 정보를 획득할 수 있다. 이후, ADAS 시스템(1200)은 획득된 정보를 이용하여 영상을 생성할 수 있고, 생성된 영상을 출력할 수 있다. 예를 들어, ADAS 시스템(1200)이 디스플레이 장치와 연결된 경우, ADAS 시스템(1200)은 획득된 정보를 이용하여 차량을 운전하는 사용자에게 복수의 전장 장치들에서 감지된 정보를 안내하는 영상 또는 메시지를 생성할 수 있고, 생성된 영상 또는 메시지를 디스플레이 장치를 통해 출력할 수도 있다.If the frames received from the first sensor 1210, the second sensor 1220, the third sensor 1230, the camera 1240, and the radar 1250 are normal, the ADAS system 1200 transmits It can acquire the included information. Thereafter, the ADAS system 1200 can generate an image using the obtained information, and output the generated image. For example, when the ADAS system 1200 is connected to a display device, the ADAS system 1200 may use the obtained information to display a video or a message to guide a user operating the vehicle to information detected in a plurality of electric devices And output the generated image or message through the display device.

본 발명에 따른 방법들은 다양한 컴퓨터 수단을 통해 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 컴퓨터 판독 가능 매체에 기록되는 프로그램 명령은 본 발명을 위해 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다.The methods according to the present invention can be implemented in the form of program instructions that can be executed through various computer means and recorded on a computer readable medium. The computer readable medium may include program instructions, data files, data structures, and the like, alone or in combination. The program instructions recorded on the computer readable medium may be those specially designed and constructed for the present invention or may be available to those skilled in the computer software.

컴퓨터 판독 가능 매체의 예에는 롬(rom), 램(ram), 플래시 메모리(flash memory) 등과 같이 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러(compiler)에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터(interpreter) 등을 사용해서 컴퓨터에 의해 실행될 수 있는 고급 언어 코드를 포함한다. 상술한 하드웨어 장치는 본 발명의 동작을 수행하기 위해 적어도 하나의 소프트웨어 모듈로 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.Examples of computer readable media include hardware devices that are specially configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include machine language code such as those generated by a compiler, as well as high-level language code that can be executed by a computer using an interpreter or the like. The hardware devices described above may be configured to operate with at least one software module to perform the operations of the present invention, and vice versa.

이상 실시예를 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined in the appended claims. It will be possible.

Claims (16)

이더넷(ethernet) 기반의 차량 네트워크에서 제1 통신 노드의 동작 방법으로서,
상기 차량 네트워크에 포함된 복수의 통신 노드들 각각과 상기 제1 통신 노드 간의 링크 상태를 확인하는 단계;
상기 복수의 통신 노드들 중에서 링크 상태가 정상인 제2 통신 노드로부터 제1 프레임을 수신하는 단계;
상기 제1 통신 노드의 로컬(local) 시간과 상기 제1 프레임의 타임 스탬프(time stamp) 간의 제1 시간 차이를 확인하는 단계; 및
상기 제1 시간 차이에 기초하여 상기 제1 통신 노드 및 상기 제2 통신 노드 간의 동기 오류를 판단하는 단계를 포함하는 제1 통신 노드의 동작 방법.
A method of operating a first communication node in an ethernet-based vehicle network,
Confirming a link state between each of a plurality of communication nodes included in the vehicle network and the first communication node;
Receiving a first frame from a second communication node whose link status is normal among the plurality of communication nodes;
Identifying a first time difference between a local time of the first communication node and a time stamp of the first frame; And
And determining a synchronization error between the first communication node and the second communication node based on the first time difference.
청구항 1에 있어서,
상기 제1 통신 노드의 동작 방법은,
상기 제1 시간 차이를 기초로 판단된 동기가 정상이 아닌 경우, 동기 오류를 지시하는 지시자가 포함된 프레임을 생성하는 단계; 및
상기 동기 오류를 지시하는 지시자가 포함된 프레임을 상기 제2 통신 노드로 전송하는 단계를 더 포함하는 것을 특징으로 하는 제1 통신 노드의 동작 방법.
The method according to claim 1,
The method of claim 1,
Generating a frame including an indicator indicating a synchronization error if the synchronization determined based on the first time difference is not normal; And
And transmitting a frame including an indicator indicating the synchronization error to the second communication node.
청구항 1에 있어서,
상기 제1 통신 노드의 동작 방법은,
상기 제1 차이를 기초로 판단된 동기가 정상인 경우, 상기 복수의 통신 노드들 중에서 링크 상태가 정상인 제3 통신 노드로부터 수신된 제2 프레임의 타임 스탬프와 상기 제1 프레임의 타임 스탬프 간의 제2 시간 차이를 확인하는 단계; 및
상기 제2 시간 차이에 기초하여 상기 제1 통신 노드와 상기 제2 통신 노드 간의 동기 오류를 판단하는 단계를 더 포함하는 것을 특징으로 하는 제1 통신 노드의 동작 방법.
The method according to claim 1,
The method of claim 1,
When a synchronization determined based on the first difference is normal, a second time interval between a time stamp of a second frame received from a third communication node whose link status is normal among the plurality of communication nodes and a time stamp of the first frame Identifying the difference; And
And determining a synchronization error between the first communication node and the second communication node based on the second time difference.
청구항 3에 있어서,
상기 제1 통신 노드의 동작 방법은,
상기 제2 시간 차이를 기초로 판단된 동기가 정상이 아닌 경우, 동기 오류를 지시하는 지시자가 포함된 프레임을 생성하는 단계; 및
상기 동기 오류를 지시하는 지시자가 포함된 프레임을 상기 2 통신 노드 및 상기 제3 통신 노드로 전송하는 단계를 더 포함하는 것을 특징으로 하는 제1 통신 노드의 동작 방법.
The method of claim 3,
The method of claim 1,
Generating a frame including an indicator indicating a synchronization error if the synchronization determined based on the second time difference is not normal; And
And transmitting a frame including an indicator indicating the synchronization error to the two communication nodes and the third communication node.
청구항 3에 있어서,
상기 제1 통신 노드의 동작 방법은,
상기 제2 시간 차이를 기초로 판단된 동기가 정상인 경우, 상기 제2 통신 노드 및 상기 제3 통신 노드 각각으로부터 복수의 프레임들을 수신하는 단계; 및
상기 복수의 프레임들 각각의 시퀀스 번호(sequence number)의 연속성에 기초하여 프레임 오류를 확인하는 단계를 더 포함하는 것을 특징으로 하는 제1 통신 노드의 동작 방법.
The method of claim 3,
The method of claim 1,
Receiving a plurality of frames from each of the second communication node and the third communication node when the determined synchronization based on the second time difference is normal; And
Further comprising identifying a frame error based on a continuity of a sequence number of each of the plurality of frames.
청구하 5에 있어서,
상기 제1 통신 노드의 동작 방법은,
상기 연속성에 기초하여 확인된 프레임이 정상이 아닌 경우, 상기 제2 통신 노드 및 상기 제3 통신 노드 중 상기 연속성에 기초하여 정상이 아닌 복수의 프레임들을 전송하는 적어도 하나의 통신 노드를 확인하는 단계;
상기 프레임의 손실을 지시하는 지시자가 포함된 프레임을 생성하는 단계; 및
상기 프레임의 손실을 지시하는 지시자가 포함된 프레임을 상기 적어도 하나의 통신 노드로 전송하는 단계를 더 포함하는 것을 특징으로 하는 제1 통신 노드의 동작 방법.
In claim 5,
The method of claim 1,
Identifying at least one communication node transmitting a plurality of non-normal frames based on the continuity of the second communication node and the third communication node when the identified frame based on the continuity is not normal;
Generating a frame including an indicator indicating a loss of the frame; And
Further comprising transmitting to the at least one communication node a frame including an indicator indicating a loss of the frame. ≪ Desc / Clms Page number 21 >
청구항 5에 있어서,
상기 제1 통신 노드의 동작 방법은,
상기 연속성에 기초하여 확인된 프레임이 정상인 경우, 상기 제2 통신 노드 및 상기 제3 통신 노드 각각으로부터 수신된 복수의 프레임들에 포함된 정보를 출력하는 단계를 더 포함하는 것을 특징으로 하는 제1 통신 노드의 동작 방법.
The method of claim 5,
The method of claim 1,
Further comprising outputting information contained in a plurality of frames received from each of the second communication node and the third communication node when the confirmed frame is normal based on the continuity, How the node works.
청구항 1에 있어서,
상기 제1 통신 노드는,
상기 차량 네트워크에서 스위치(switch)의 기능을 수행함으로써, 상기 복수의 통신 노드들을 제거 가능한 통신 노드인 것을 특징으로 하는 제1 통신 노드의 동작 방법.
The method according to claim 1,
Wherein the first communication node comprises:
Wherein the first communication node is a communication node capable of removing the plurality of communication nodes by performing a function of a switch in the vehicle network.
이더넷(ethernet) 기반의 차량 네트워크의 제1 통신 노드로서,
프로세서(processor); 및
상기 프로세서를 통해 실행되는 적어도 하나의 명령이 저장된 메모리(memory)를 포함하고,
상기 적어도 하나의 명령은,
상기 차량 네트워크에 포함된 복수의 통신 노드들 각각과 상기 제1 통신 노드 간의 링크 상태를 확인하고;
상기 복수의 통신 노드들 중에서 링크 상태가 정상인 제2 통신 노드로부터 제1 프레임을 수신하고;
상기 제1 통신 노드의 로컬(local) 시간과 상기 제1 프레임의 타임 스탬프(time stamp) 간의 제1 시간 차이를 확인하고; 그리고
상기 제1 시간 차이에 기초하여 상기 제1 통신 노드 및 상기 제2 통신 노드 간의 동기 오류를 판단하도록 실행되는 제1 통신 노드.
A first communication node in an ethernet-based vehicle network,
A processor; And
Wherein at least one instruction executed through the processor includes a memory,
Wherein the at least one instruction comprises:
Identify a link state between each of the plurality of communication nodes included in the vehicle network and the first communication node;
Receiving a first frame from a second communication node whose link status is normal among the plurality of communication nodes;
Identify a first time difference between a local time of the first communication node and a time stamp of the first frame; And
And to determine a synchronization error between the first communication node and the second communication node based on the first time difference.
청구항 9에 있어서,
상기 적어도 하나의 명령은,
상기 제1 시간 차이를 기초로 판단된 동기가 정상이 아닌 경우, 동기 오류를 지시하는 지시자가 포함된 프레임을 생성하고;
상기 동기 오류를 지시하는 지시자가 포함된 프레임을 상기 제2 통신 노드로 전송하도록 더 실행되는 것을 특징으로 하는 제1 통신 노드.
The method of claim 9,
Wherein the at least one instruction comprises:
Generating a frame including an indicator indicating a synchronization error if the synchronization determined based on the first time difference is not normal;
And to transmit to the second communication node a frame containing an indicator indicating the synchronization error.
청구항 9에 있어서,
상기 적어도 하나의 명령은,
상기 제1 차이를 기초로 판단된 동기가 정상인 경우, 상기 복수의 통신 노드들 중에서 링크 상태가 정상인 제3 통신 노드로부터 수신된 제2 프레임의 타임 스탬프와 상기 제1 프레임의 타임 스탬프 간의 제2 시간 차이를 확인하고; 그리고
상기 제2 시간 차이에 기초하여 상기 제1 통신 노드와 상기 제2 통신 노드 간의 동기 오류를 판단하도록 더 실행되는 것을 특징으로 하는 제1 통신 노드.
The method of claim 9,
Wherein the at least one instruction comprises:
When a synchronization determined based on the first difference is normal, a second time interval between a time stamp of a second frame received from a third communication node whose link status is normal among the plurality of communication nodes and a time stamp of the first frame Identify differences; And
And to determine a synchronization error between the first communication node and the second communication node based on the second time difference.
청구항 11에 있어서,
상기 적어도 하나의 명령은,
상기 제2 시간 차이를 기초로 판단된 동기가 정상이 아닌 경우, 동기 오류를 지시하는 지시자가 포함된 프레임을 생성하고; 그리고
상기 동기 오류를 지시하는 지시자가 포함된 프레임을 상기 2 통신 노드 및 상기 제3 통신 노드로 전송하도록 더 실행되는 것을 특징으로 하는 제1 통신 노드.
The method of claim 11,
Wherein the at least one instruction comprises:
Generating a frame including an indicator indicating a synchronization error if the synchronization determined based on the second time difference is not normal; And
And to transmit a frame including an indicator indicating the synchronization error to the two communication nodes and the third communication node.
청구항 11에 있어서,
상기 적어도 하나의 명령은,
상기 제2 시간 차이를 기초로 판단된 동기가 정상인 경우, 상기 제2 통신 노드 및 상기 제3 통신 노드 각각으로부터 복수의 프레임들을 수신하고; 그리고
상기 복수의 프레임들 각각의 시퀀스 번호(sequence number)의 연속성에 기초하여 프레임 오류를 확인하도록 더 실행되는 것을 특징으로 하는 제1 통신 노드.
The method of claim 11,
Wherein the at least one instruction comprises:
Receiving a plurality of frames from each of the second communication node and the third communication node when the synchronization determined based on the second time difference is normal; And
And to determine a frame error based on continuity of a sequence number of each of the plurality of frames.
청구하 13에 있어서,
상기 적어도 하나의 명령은,
상기 연속성에 기초하여 확인된 프레임이 정상이 아닌 경우, 상기 제2 통신 노드 및 상기 제3 통신 노드 중 상기 연속성에 기초하여 정상이 아닌 복수의 프레임들을 전송하는 적어도 하나의 통신 노드를 확인하고;
상기 프레임의 손실을 지시하는 지시자가 포함된 프레임을 생성하고; 그리고
상기 프레임의 손실을 지시하는 지시자가 포함된 프레임을 상기 적어도 하나의 통신 노드로 전송하도록 더 실행되는 것을 특징으로 하는 제1 통신 노드.
In claim 13,
Wherein the at least one instruction comprises:
Identify at least one communication node transmitting a plurality of non-normal frames based on the continuity of the second communication node and the third communication node, if the frame identified based on the continuity is not normal;
Generating a frame including an indicator indicating a loss of the frame; And
Wherein the at least one communication node is further configured to transmit a frame containing an indication indicating loss of the frame to the at least one communication node.
청구항 13에 있어서,
상기 적어도 하나의 명령은,
상기 연속성에 기초하여 확인된 프레임이 정상인 경우, 상기 제2 통신 노드 및 상기 제3 통신 노드 각각으로부터 수신된 복수의 프레임들에 포함된 정보를 출력하도록 실행되는 것을 특징으로 하는 제1 통신 노드.
14. The method of claim 13,
Wherein the at least one instruction comprises:
And to output information contained in a plurality of frames received from each of the second communication node and the third communication node when the frame confirmed based on the continuity is normal.
청구항 9에 있어서,
상기 제1 통신 노드는,
상기 차량 네트워크에서 스위치(switch)의 기능을 수행함으로써, 상기 복수의 통신 노드들을 제거 가능한 통신 노드인 것을 특징으로 하는 제1 통신 노드.
The method of claim 9,
Wherein the first communication node comprises:
Wherein the first communication node is a communication node capable of removing the plurality of communication nodes by performing a function of a switch in the vehicle network.
KR1020170057983A 2016-06-20 2017-05-10 Operation method of communication node for detecting fail in network KR102250450B1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US15/626,669 US10623291B2 (en) 2016-06-20 2017-06-19 Operation method of communication node for detecting link errors in network
CN201710472998.9A CN107528684B (en) 2016-06-20 2017-06-20 First communication node in Ethernet-based vehicular network and operation method thereof
DE102017113564.2A DE102017113564A1 (en) 2016-06-20 2017-06-20 Operating method of a communication node for detecting connection errors in a network

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020160076655 2016-06-20
KR20160076655 2016-06-20

Publications (2)

Publication Number Publication Date
KR20170142869A true KR20170142869A (en) 2017-12-28
KR102250450B1 KR102250450B1 (en) 2021-05-12

Family

ID=60939594

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170057983A KR102250450B1 (en) 2016-06-20 2017-05-10 Operation method of communication node for detecting fail in network

Country Status (1)

Country Link
KR (1) KR102250450B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210070746A (en) * 2019-12-05 2021-06-15 현대모비스 주식회사 Method and Apparatus for Synchronizing Camera Image Based on GM Clock Time Information

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080159258A1 (en) * 2006-12-21 2008-07-03 Baowei Ji Enhanced coexistence beacon protocol (ecbp) for precise intercell synchronization of overlapping wireless base stations
US9277256B2 (en) * 2010-06-11 2016-03-01 Net Insight Intellectual Property Ab Node and system for a synchronous network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080159258A1 (en) * 2006-12-21 2008-07-03 Baowei Ji Enhanced coexistence beacon protocol (ecbp) for precise intercell synchronization of overlapping wireless base stations
US9277256B2 (en) * 2010-06-11 2016-03-01 Net Insight Intellectual Property Ab Node and system for a synchronous network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210070746A (en) * 2019-12-05 2021-06-15 현대모비스 주식회사 Method and Apparatus for Synchronizing Camera Image Based on GM Clock Time Information

Also Published As

Publication number Publication date
KR102250450B1 (en) 2021-05-12

Similar Documents

Publication Publication Date Title
US10623291B2 (en) Operation method of communication node for detecting link errors in network
KR102589373B1 (en) Method and apparatus for wakeup of communication node in automotive network
KR102390465B1 (en) Method for power management in network and apparatus for the same
CN106453148B (en) Method of operating a communication node in a network
US10749738B2 (en) Method and apparatus for diagnosing network
KR102422404B1 (en) Method for supplying power in network and apparatus therefor
KR102286050B1 (en) Method for preventing diagnostic errors in vehicle network and apparatus for the same
KR102431490B1 (en) Method and apparatus for synchronization of communication node using multiple domains in automotive network
KR20170099122A (en) Method for time synchronization between communication nodes in network
KR102217255B1 (en) Operation method of communication node in network
KR102431489B1 (en) Method and apparatus for synchronization of communication node using multiple domains in automotive network
KR20190013165A (en) Device of ethernet communication in vehicle, and method for error recover of end node and switch
KR102452615B1 (en) Method for transmitting data based on priority in network
KR20170011826A (en) Security method for ethernet based network
KR20160025452A (en) Operation method of communication node in network
US10749707B2 (en) Method and apparatus for reproducing contents based on presentation time in automotive network
KR102446092B1 (en) Method for diagnosing link status in network
KR102250450B1 (en) Operation method of communication node for detecting fail in network
KR102390481B1 (en) Operation method of communication node in network
KR102313636B1 (en) Operation method of communication node for time sinchronizating in vehicle network
KR102355085B1 (en) Operation method of communication node for selective wakeup in vehicle network
KR102262081B1 (en) Compliance test apparatus and method of communication node
KR102342000B1 (en) Method and apparatus for playing contents based on presentation time in automotive network
KR20170043009A (en) Communication method based on multi path in network
KR102228331B1 (en) Operation method of communication node in network

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