KR101417402B1 - Fail-safe apparatus for gateway in vehicle networks and method thereof - Google Patents

Fail-safe apparatus for gateway in vehicle networks and method thereof Download PDF

Info

Publication number
KR101417402B1
KR101417402B1 KR1020120127446A KR20120127446A KR101417402B1 KR 101417402 B1 KR101417402 B1 KR 101417402B1 KR 1020120127446 A KR1020120127446 A KR 1020120127446A KR 20120127446 A KR20120127446 A KR 20120127446A KR 101417402 B1 KR101417402 B1 KR 101417402B1
Authority
KR
South Korea
Prior art keywords
gateway
network
message
function
mode
Prior art date
Application number
KR1020120127446A
Other languages
Korean (ko)
Other versions
KR20140060752A (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 KR1020120127446A priority Critical patent/KR101417402B1/en
Publication of KR20140060752A publication Critical patent/KR20140060752A/en
Application granted granted Critical
Publication of KR101417402B1 publication Critical patent/KR101417402B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40234Local Interconnect Network LIN
    • 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/40241Flexray
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/40273Bus for use in transportation systems the transportation system being a vehicle

Landscapes

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

Abstract

본 발명은 차량 네트워크에서의 게이트웨이 오류 대처 장치 및 그 방법에 관한 것으로, 다중 네트워크 간 연결이 게이트웨이에 의해 이루어지는 차량 네트워크 환경에서, 게이트웨이에 오류가 발생한 경우 각 네트워크에 연결된 복수의 기능 모듈 중 대표 모듈이 페일-세이프(fail-safe) 기능을 수행함으로써, 게이트웨이 하드웨어 자체에 고장이 발생한 경우에도 해당 네트워크 내 각 기능 모듈이 최소한의 기능을 유지할 수 있도록 하는 차량 네트워크에서의 게이트웨이 오류 대처 장치 및 그 방법을 제공하고자 한다.
이를 위하여, 본 발명은 다중 네트워크 간 연결이 게이트웨이에 의해 이루어지고, 각 네트워크에는 적어도 하나 이상의 기능 모듈이 구비되며, 각 네트워크의 일 기능 모듈(이하, 대표 기능 모듈)에 탑재되어 상기 게이트웨이의 오류에 대처하는 장치에 있어서, 각 네트워크에 연결된 기능 모듈에 대한 정보를 저장하는 정보 저장부; 상기 게이트웨이로부터 메시지를 수신하는 게이트웨이 모니터링부; 및 상기 게이트웨이로부터 주기적으로 메시지가 수신되지 않는 경우, 타임아웃 이벤트를 발생시켜 대표 기능 모듈의 동작 모드를 안전 모드로 전환시키고, 메시지 전송부를 통해 해당 네트워크에 연결된 타 기능 모듈에 디폴트 모드로 동작하라는 모드 전환 메시지를 전송하는 제어부를 포함한다.
The present invention relates to an apparatus and method for dealing with a gateway error in a vehicle network and, in a vehicle network environment in which a plurality of networks are interconnected by a gateway, when a failure occurs in a gateway, Fail-safe function, thereby providing a gateway error coping device and a method thereof in a vehicle network so that each function module in the network can maintain a minimum function even when a failure occurs in the gateway hardware itself I want to.
To this end, in the present invention, a connection between multiple networks is performed by a gateway, each network is provided with at least one functional module, and each functional module (hereinafter referred to as a representative functional module) An information processing apparatus comprising: an information storage unit for storing information on function modules connected to respective networks; A gateway monitoring unit for receiving a message from the gateway; And a mode switching module for switching the operation mode of the representative function module to the safe mode by generating a timeout event when the message is not periodically received from the gateway, And a control unit for transmitting the conversion message.

Description

차량 네트워크에서의 게이트웨이 오류 대처 장치 및 그 방법{FAIL-SAFE APPARATUS FOR GATEWAY IN VEHICLE NETWORKS AND METHOD THEREOF}Technical Field [0001] The present invention relates to a gateway error countermeasure apparatus and a method thereof,

본 발명은 차량 네트워크에서의 게이트웨이 오류 대처 장치 및 그 방법에 관한 것으로, 더욱 상세하게는 다중 네트워크 간 연결이 게이트웨이에 의해 이루어지는 차량 네트워크 환경에서, 게이트웨이에 오류가 발생한 경우 각 네트워크에 연결된 복수의 기능 모듈 중 대표 모듈이 페일-세이프(fail-safe) 기능을 수행하도록 하여 해당 네트워크 내 각 기능 모듈이 최소한의 기능을 유지할 수 있도록 하는 기술에 관한 것이다.
The present invention relates to an apparatus and method for dealing with a gateway error in a vehicle network, and more particularly, to a gateway error coping apparatus and method in a vehicle network, in which, in a vehicle network environment in which a multi- And a fail-safe function of the representative module so that each function module in the network can maintain a minimum function.

종래의 차량용 게이트웨이는 LIN(Local Interconnect Network), CAN(Controller Area Network), 플렉스레이(FlexRay) 이종 통신 간 메시지 변환 및 정보 교환을 수행하는 제 1 마이크로컨트롤러와, 제 1 마이크로컨트롤러보다 데이터 처리 용량이 적은 비대칭 처리 프로세서이며, 주기적으로 제 1 마이크로컨트롤러의 상태를 요청하여 제 1 마이크로컨트롤러의 응답 여부에 따라 제 1 마이크로컨트롤러의 상태를 판단하여 이상이 발생할 경우 상기 제 1 마이크로컨트롤러의 복구를 수행하는 제 2 마이크로컨트롤러와, 상기 제 1 마이크로컨트롤러와 상기 제 2 마이크로 컨트롤러 간의 우선순위를 갖는 메시지를 입/출력하기 위한 SPI(Serial to Parallel Interface)/SCI(Serial Communication Interface)와, 상기 제 1 마이크로컨트롤러의 동작이 정상이면 FlexRay 인터페이스, LIN 트렌시버, CAN 트렌시버를 상기 제 1 마이크로컨트롤러와 연결하고, 상기 제 1 마이크로컨트롤러에 이상이 발생하면 FlexRay 인터페이스, LIN 트렌시버, CAN 트렌시버를 제 2 마이크로컨트롤러에 연결하는 적어도 하나 이상의 스위칭부로 이루어진다.Conventional gateways have a first microcontroller that performs message conversion and information exchange between LIN (Local Interconnect Network), CAN (Controller Area Network), and FlexRay heterogeneous communication, and a second microcontroller The microprocessor of claim 1, wherein the first microcontroller is a small asymmetric processor and periodically requests the first microcontroller to determine the state of the first microcontroller according to whether the first microcontroller responds or not, 2 serial communication interface (SPI) / serial communication interface (SCI) for inputting / outputting a message having a priority order between the first microcontroller and the second microcontroller, If operation is normal, the FlexRay interface, LIN transceiver, and CAN transceiver And at least one switching unit connected to the first microcontroller and for connecting the FlexRay interface, the LIN transceiver and the CAN transceiver to the second microcontroller when an error occurs in the first microcontroller.

이러한 종래의 차량용 게이트웨이는 고신뢰성을 요구하는 차량용 게이트웨이 설계에 있어서, 'fault-tolerant', 'fail-safe' 시스템 구조를 적용하여 차량의 안정성을 제공해줄 수 있지만, 게이트웨이 하드웨어 자체에 고장이 발생한 경우에는 무용지물인 되어버리는 문제점이 있다.
Such conventional vehicle gateways can provide the stability of the vehicle by applying the 'fault-tolerant' and 'fail-safe' system structures in the design of in-vehicle gateways requiring high reliability. However, when a failure occurs in the gateway hardware itself There is a problem that it becomes useless.

상기와 같은 종래 기술의 문제점을 해결하기 위하여, 본 발명은 다중 네트워크 간 연결이 게이트웨이에 의해 이루어지는 차량 네트워크 환경에서, 게이트웨이에 오류가 발생한 경우 각 네트워크에 연결된 복수의 기능 모듈 중 대표 모듈이 페일-세이프(fail-safe) 기능을 수행함으로써, 게이트웨이 하드웨어 자체에 고장이 발생한 경우에도 해당 네트워크 내 각 기능 모듈이 최소한의 기능을 유지할 수 있도록 하는 차량 네트워크에서의 게이트웨이 오류 대처 장치 및 그 방법을 제공하는데 그 목적이 있다.According to an aspect of the present invention, there is provided a method of controlling a fail-safe function module in a vehicle network environment in which a plurality of inter-network connections are performed by a gateway, a gateway error coping device and a method thereof in a vehicle network that each function module in the network can maintain a minimum function even when a failure occurs in the gateway hardware itself by performing a fail-safe function, .

본 발명의 목적들은 이상에서 언급한 목적으로 제한되지 않으며, 언급되지 않은 본 발명의 다른 목적 및 장점들은 하기의 설명에 의해서 이해될 수 있으며, 본 발명의 실시예에 의해 보다 분명하게 알게 될 것이다. 또한, 본 발명의 목적 및 장점들은 특허 청구 범위에 나타낸 수단 및 그 조합에 의해 실현될 수 있음을 쉽게 알 수 있을 것이다.
The objects of the present invention are not limited to the above-mentioned objects, and other objects and advantages of the present invention which are not mentioned can be understood by the following description, and will be more clearly understood by the embodiments of the present invention. It will also be readily apparent that the objects and advantages of the invention may be realized and attained by means of the instrumentalities and combinations particularly pointed out in the appended claims.

상기 목적을 달성하기 위한 본 발명의 장치는, 다중 네트워크 간 연결이 게이트웨이에 의해 이루어지고, 각 네트워크에는 적어도 하나 이상의 기능 모듈이 구비되며, 각 네트워크의 일 기능 모듈(이하, 대표 기능 모듈)에 탑재되어 상기 게이트웨이의 오류에 대처하는 장치에 있어서, 각 네트워크에 연결된 기능 모듈에 대한 정보를 저장하는 정보 저장부; 상기 게이트웨이로부터 메시지를 수신하는 게이트웨이 모니터링부; 및 상기 게이트웨이로부터 주기적으로 메시지가 수신되지 않는 경우, 타임아웃 이벤트를 발생시켜 대표 기능 모듈의 동작 모드를 안전 모드로 전환시키고, 메시지 전송부를 통해 해당 네트워크에 연결된 타 기능 모듈에 디폴트 모드로 동작하라는 모드 전환 메시지를 전송하는 제어부를 포함한다.According to an aspect of the present invention, there is provided an apparatus for connecting multiple networks by a gateway, each network having at least one functional module, and being installed in one functional module of each network An information storage unit for storing information on a function module connected to each network; A gateway monitoring unit for receiving a message from the gateway; And a mode switching module for switching the operation mode of the representative function module to the safe mode by generating a timeout event when the message is not periodically received from the gateway, And a control unit for transmitting the conversion message.

또한 상기 목적을 달성하기 위한 본 발명의 방법은, 다중 네트워크 간 연결이 게이트웨이에 의해 이루어지고, 각 네트워크에는 적어도 하나 이상의 기능 모듈이 구비되며, 각 네트워크의 일 기능 모듈(이하, 대표 기능 모듈)에 탑재되어 상기 게이트웨이의 오류에 대처하는 방법에 있어서, 정보 저장부가 각 네트워크에 연결된 기능 모듈에 대한 정보를 저장하는 단계; 제어부가 상기 게이트웨이로부터 주기적으로 메시지가 수신되지 않는 경우, 타임아웃 이벤트를 발생시켜 대표 기능 모듈의 동작 모드를 안전 모드로 전환시키는 단계; 및 상기 제어부가 해당 네트워크에 연결된 타 기능 모듈에 디폴트 모드로 동작하라는 모드 전환 메시지를 전송하는 단계를 포함한다.
According to another aspect of the present invention, there is provided a method of connecting multiple networks by a gateway, each network having at least one functional module, and a function module A method for handling an error in a gateway, the method comprising: storing information on a function module connected to each network by an information storage unit; Switching the operation mode of the representative function module to the safe mode by generating a timeout event when the control unit does not periodically receive a message from the gateway; And transmitting, by the control unit, a mode change message to operate in a default mode to another function module connected to the network.

상기와 같은 본 발명은, 다중 네트워크 간 연결이 게이트웨이에 의해 이루어지는 차량 네트워크 환경에서, 게이트웨이에 오류가 발생한 경우 각 네트워크에 연결된 복수의 기능 모듈 중 대표 모듈이 페일-세이프(fail-safe) 기능을 수행함으로써, 게이트웨이 하드웨어 자체에 고장이 발생한 경우에도 해당 네트워크 내 각 기능 모듈이 최소한의 기능을 유지할 수 있도록 하는 효과가 있다.
According to the present invention as described above, in a vehicle network environment where multiple networks are connected by a gateway, when a gateway fails, a representative module among a plurality of function modules connected to each network performs a fail-safe function Thus, even when a failure occurs in the gateway hardware itself, each functional module in the network can maintain the minimum functionality.

도 1 은 본 발명이 적용되는 차량 네트워크 환경에 대한 일예시도,
도 2 는 본 발명에 따른 차량 네트워크에서의 게이트웨이 오류 대처 장치에 대한 일실시예 구성도,
도 3 은 본 발명에 따른 차량 네트워크에서의 게이트웨이 오류 대처 방법에 대한 일실시예 흐름도이다.
1 is an example of a vehicle network environment to which the present invention is applied,
2 is a configuration diagram of an embodiment of a gateway error coping device in a vehicle network according to the present invention,
3 is a flowchart of an embodiment of a gateway error handling method in a vehicle network according to the present invention.

상술한 목적, 특징 및 장점은 첨부된 도면을 참조하여 상세하게 후술되어 있는 상세한 설명을 통하여 보다 명확해 질 것이며, 그에 따라 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 것이다. 또한, 본 발명을 설명함에 있어서 본 발명과 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에 그 상세한 설명을 생략하기로 한다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예를 상세히 설명하기로 한다.BRIEF DESCRIPTION OF THE DRAWINGS The above and other objects, features and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings, It can be easily carried out. In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail. Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1 은 본 발명이 적용되는 차량 네트워크 환경에 대한 일예시도이다.1 is an exemplary view of a vehicle network environment to which the present invention is applied.

도 1에 도시된 바와 같이, 본 발명이 적용되는 네트워크 환경은, 게이트웨이(10), LIN(20), CAN(30), FlexRay 네트워크(40)를 포함한다. 여기서, 3개의 네트워크를 예로 들어 설명하지만 이에 한정되는 것은 아니다.1, the network environment to which the present invention is applied includes a gateway 10, an LIN 20, a CAN 30, and a FlexRay network 40. Here, three networks are described as an example, but the present invention is not limited thereto.

게이트웨이는 LIN(20), CAN(30), FlexRay 네트워크(40) 간의 데이터 전송 기능을 수행한다. 이때, 각 네트워크에는 적어도 하나 이상의 기능 모듈이 연결되어 있다.The gateway performs a data transfer function between the LIN 20, the CAN 30, and the FlexRay network 40. At this time, at least one function module is connected to each network.

각 네트워크에는 대표 모듈(21, 31, 41)이 존재하는데, 이 대표 기능 모듈(21, 31. 41)은 본 발명에 따른 게이트웨이의 오류 대처 기능이 장착된 모듈로서, 복수의 기능 모듈 중에서 설계자에 의해 임의로 선택된다.In each network, there are representative modules 21, 31 and 41. The representative function modules 21 and 31 and 41 are modules equipped with an error coping function of the gateway according to the present invention. .

각 네트워크에 연결되어 있는 각 기능 모듈은 고유의 기능을 수행한다. 예를 들어, LIN(20)에 연결되어 있는 일 기능 모듈은 차량의 도어를 컨트롤하는 기능을 수행하고, CAN(30)에 연결되어 있는 일 기능 모듈은 멀티 기능 전환(MultiFunction Switch)을 수행하며, FlexRay 네트워크(40)에 연결되어 있는 일 기능 모듈은 엔진 컨트롤 기능을 수행한다.Each function module connected to each network performs its own function. For example, one function module connected to the LIN 20 functions to control the door of the vehicle, one function module connected to the CAN 30 performs a multi-function switch, One function module connected to the FlexRay network 40 performs an engine control function.

이하, 도 2를 참조하여 대표 기능 모듈에 장착되는 게이트웨이 오류 대처 장치에 대해 상세히 살펴보기로 한다.Hereinafter, the gateway error coping device installed in the representative function module will be described in detail with reference to FIG.

도 2 는 본 발명에 따른 차량 네트워크에서의 게이트웨이 오류 대처 장치에 대한 일실시예 구성도이다.2 is a block diagram of an embodiment of a gateway error coping apparatus in a vehicle network according to the present invention.

도 2에 도시된 바와 같이, 본 발명에 따른 차량 네트워크에서의 게이트웨이 오류 대처 장치는, 정보 저장부(201), 게이트웨이 모니터링부(202), 제어부(203), 및 메시지 전송부(204)를 포함한다.2, the gateway error coping apparatus in the vehicle network according to the present invention includes an information storage unit 201, a gateway monitoring unit 202, a control unit 203, and a message transmission unit 204 do.

상기 각 구성요소에 대해 살펴보면, 먼저 정보 저장부(201)는 해당 네트워크에 연결되어 있는 기능 모듈에 대한 정보, 즉 식별번호, 기능의 종류, 주소 등을 저장하고 있다.First, the information storage unit 201 stores information on function modules connected to the network, that is, identification numbers, types of functions, addresses, and the like.

게이트웨이 모니터링부(202)는 게이트웨이를 모니터링하는 역할을 수행하며, 게이트웨이(10)로부터 메시지를 수신한다.The gateway monitoring unit 202 monitors the gateway and receives a message from the gateway 10. [

제어부(203)는 게이트웨이(10)로부터 수신되어야 하는 메시지들의 주기를 계산하여 일정 시간이상 수신되어야 하는 메시지가 전달되지 않을 때 타임아웃(Timeout) 이벤트를 발생시켜 대표 기능 모듈의 동작 모드를 'Limp-home' 모드로 전환시킨다. 이때, 대표 기능 모듈은 타임아웃 이벤트가 발생하면 정상동작 모드에서 수행하던 프로세스를 정리하고 'Limp-Home' 상태로 들어가기 위한 준비 상태에 진입한다.The control unit 203 calculates a period of messages to be received from the gateway 10 and generates a timeout event when a message to be received over a predetermined period of time is not delivered to thereby set the operation mode of the representative function module as Limp- home 'mode. At this time, when the timeout event occurs, the representative function module arranges the processes performed in the normal operation mode and enters the ready state for entering the 'Limp-Home' state.

'Limp-Home' 모드란 최소한의 기능을 유지하도록 설정된 모드(안전 모드)로서, 일예로 차량 주행중 엔진의 결함 또는 엔진제어부품의 결함이 발생한 경우, 해당 결함으로 인한 엔진 주요 구성부품이 파손되지 않도록 최소한의 운전조건을 유지하도록 엔진출력을 제어하는 주행모드가 있다.The 'Limp-Home' mode is a mode (safety mode) that is set to maintain a minimum function. For example, when a fault occurs in the engine while the vehicle is running or a fault occurs in the engine control component, There is a running mode in which the engine output is controlled to maintain a minimum operating condition.

또한, 제어부(203)는 해당 네트워크에 연결되어 있는 타 기능 모듈에 게이트웨이 문제를 알리고 앞으로 디폴트(default) 모드로 동작하도록 지시하는 모드 전환 메시지를 전송한다. 여기서, 디폴트 모드는 외부로부터의 정보 없이 자체적으로 미리 설정된 기능을 수행하는 모드를 의미한다.Also, the control unit 203 informs the other function module connected to the network of the gateway problem and transmits a mode change message instructing to operate in a default mode in the future. Here, the default mode means a mode that performs a preset function by itself without information from the outside.

아울러, 제어부(203)는 타 네트워크로부터 전송되는 정보를 수신할 수 없는 상태이므로, 미리 정의한 임의의 메시지를 해당 네트워크에 주기적으로 송신한다. In addition, since the control unit 203 can not receive information transmitted from another network, it periodically transmits a predetermined message to the network.

이때, 메시지의 전송은 메시지 전송부(204)가 수행한다.At this time, the message transmission unit 204 performs transmission of the message.

도 3 은 본 발명에 따른 차량 네트워크에서의 게이트웨이 오류 대처 방법에 대한 일실시예 흐름도이다.3 is a flowchart of an embodiment of a gateway error handling method in a vehicle network according to the present invention.

본 발명의 방법은 다중 네트워크 간 연결이 게이트웨이에 의해 이루어지고, 각 네트워크에는 적어도 하나 이상의 기능 모듈이 구비되며, 각 네트워크의 일 기능 모듈(이하, 대표 기능 모듈)에 탑재되어 상기 게이트웨이의 오류에 대처한다.The method of the present invention is characterized in that a plurality of inter-network connections are made by a gateway, each network is provided with at least one function module, and a function module (hereinafter referred to as a representative function module) do.

먼저, 정보 저장부(201)가 각 네트워크에 연결된 기능 모듈에 대한 정보를 저장한다(301).First, the information storage unit 201 stores information about function modules connected to each network (301).

이후, 제어부(203)가 게이트웨이(10)로부터 주기적으로 메시지가 수신되지 않는 경우, 타임아웃 이벤트를 발생시켜 대표 기능 모듈의 동작 모드를 안전 모드로 전환시킨다(302). 이때, 메시지의 수신은 게이트웨이 모니터링부(202)가 담당한다.Thereafter, when the control unit 203 does not periodically receive a message from the gateway 10, a timeout event is generated to switch the operation mode of the representative function module to the safe mode (302). At this time, the gateway monitoring unit 202 takes charge of the reception of the message.

이후, 제어부(203)가 해당 네트워크에 연결된 타 기능 모듈에 디폴트 모드로 동작하라는 모드 전환 메시지를 전송한다(303). 이때, 모드 전환 메시지의 전송은 메시지 전송부(204)가 담당한다.Thereafter, the control unit 203 transmits a mode change message to the other function modules connected to the network to operate in the default mode (303). At this time, the transmission of the mode change message is handled by the message transmission unit 204.

이러한 과정을 통해, 게이트웨이 하드웨어 자체에 고장이 발생한 경우에도 해당 네트워크 내 각 기능 모듈이 최소한의 기능을 유지할 수 있다.Through this process, even if the gateway hardware itself fails, each function module in the network can maintain the minimum functionality.

한편, 전술한 바와 같은 본 발명의 방법은 컴퓨터 프로그램으로 작성이 가능하다. 그리고 상기 프로그램을 구성하는 코드 및 코드 세그먼트는 당해 분야의 컴퓨터 프로그래머에 의하여 용이하게 추론될 수 있다. 또한, 상기 작성된 프로그램은 컴퓨터가 읽을 수 있는 기록매체(정보저장매체)에 저장되고, 컴퓨터에 의하여 판독되고 실행됨으로써 본 발명의 방법을 구현한다. 그리고 상기 기록매체는 컴퓨터가 판독할 수 있는 모든 형태의 기록매체를 포함한다.Meanwhile, the method of the present invention as described above can be written in a computer program. And the code and code segments constituting the program can be easily deduced by a computer programmer in the field. In addition, the created program is stored in a computer-readable recording medium (information storage medium), and is read and executed by a computer to implement the method of the present invention. And the recording medium includes all types of recording media readable by a computer.

이상에서 설명한 본 발명은, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니다.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the invention. The present invention is not limited to the drawings.

201 : 정보 저장부 202 : 게이트웨이 모니터링부
203 : 제어부 204 : 메시지 전송부
201: information storage unit 202: gateway monitoring unit
203: control unit 204: message transmission unit

Claims (4)

다중 네트워크 간 연결이 게이트웨이에 의해 이루어지고, 각 네트워크에는 적어도 하나 이상의 기능 모듈이 구비되며, 각 네트워크의 일 기능 모듈(이하, 대표 기능 모듈)에 탑재되어 상기 게이트웨이의 오류에 대처하는 장치에 있어서,
각 네트워크에 연결된 기능 모듈에 대한 정보로서 식별번호, 기능의 종류, 주소를 저장하는 정보 저장부;
상기 게이트웨이로부터 메시지를 수신하는 게이트웨이 모니터링부; 및
상기 게이트웨이로부터 주기적으로 메시지가 수신되지 않는 경우, 타임아웃 이벤트를 발생시켜 대표 기능 모듈의 동작 모드를 안전 모드로 전환시키고, 메시지 전송부를 통해 해당 네트워크에 연결된 타 기능 모듈에 디폴트 모드로 동작하라는 모드 전환 메시지를 전송하는 제어부
를 포함하는 차량 네트워크에서의 게이트웨이 오류 대처 장치.
There is provided an apparatus mounted on a single function module (hereinafter, referred to as a representative function module) of each network to cope with an error of the gateway,
An information storage unit for storing identification numbers, types of functions, and addresses as information on the function modules connected to the respective networks;
A gateway monitoring unit for receiving a message from the gateway; And
When a message is not periodically received from the gateway, a timeout event is generated to switch the operation mode of the representative function module to the safe mode, and a mode switch to operate the other function modules connected to the network through the message transmission unit in a default mode A control unit
A gateway error coping device in a vehicle network.
제 1 항에 있어서,
상기 다중 네트워크는,
LIN(Local Interconnect Network), CAN(Controller Area Network), 플렉스레이(FlexRay) 중에서 적어도 둘 이상을 포함하는 차량 네트워크에서의 게이트웨이 오류 대처 장치.
The method according to claim 1,
The multi-
A gateway error coping device in a vehicle network including at least two of a Local Interconnect Network (LIN), a Controller Area Network (CAN), and a FlexRay.
다중 네트워크 간 연결이 게이트웨이에 의해 이루어지고, 각 네트워크에는 적어도 하나 이상의 기능 모듈이 구비되며, 각 네트워크의 일 기능 모듈(이하, 대표 기능 모듈)에 탑재되어 상기 게이트웨이의 오류에 대처하는 방법에 있어서,
정보 저장부가 각 네트워크에 연결된 기능 모듈에 대한 정보로서 식별번호, 기능의 종류, 주소를 저장하는 단계;
제어부가 상기 게이트웨이로부터 주기적으로 메시지가 수신되지 않는 경우, 타임아웃 이벤트를 발생시켜 대표 기능 모듈의 동작 모드를 안전 모드로 전환시키는 단계; 및
상기 제어부가 해당 네트워크에 연결된 타 기능 모듈에 디폴트 모드로 동작하라는 모드 전환 메시지를 전송하는 단계
를 포함하는 차량 네트워크에서의 게이트웨이 오류 대처 방법.
There is provided a method for handling an error of a gateway installed in a functional module (hereinafter referred to as a representative functional module) of each network, wherein a plurality of inter-network connections are made by a gateway, each network has at least one functional module,
Storing an identification number, a type of function, and an address as information on a function module connected to each network;
Switching the operation mode of the representative function module to the safe mode by generating a timeout event when the control unit does not periodically receive a message from the gateway; And
The control unit transmits to the other function module connected to the network a mode switching message to operate in a default mode
And a gateway error countermeasure in the vehicle network.
제 3 항에 있어서,
상기 다중 네트워크는,
LIN(Local Interconnect Network), CAN(Controller Area Network), 플렉스레이(FlexRay) 중에서 적어도 둘 이상을 포함하는 차량 네트워크에서의 게이트웨이 오류 대처 방법.
The method of claim 3,
The multi-
A gateway error handling method in a vehicle network including at least two of a Local Interconnect Network (LIN), a Controller Area Network (CAN), and a FlexRay.
KR1020120127446A 2012-11-12 2012-11-12 Fail-safe apparatus for gateway in vehicle networks and method thereof KR101417402B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020120127446A KR101417402B1 (en) 2012-11-12 2012-11-12 Fail-safe apparatus for gateway in vehicle networks and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020120127446A KR101417402B1 (en) 2012-11-12 2012-11-12 Fail-safe apparatus for gateway in vehicle networks and method thereof

Publications (2)

Publication Number Publication Date
KR20140060752A KR20140060752A (en) 2014-05-21
KR101417402B1 true KR101417402B1 (en) 2014-07-08

Family

ID=50889962

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120127446A KR101417402B1 (en) 2012-11-12 2012-11-12 Fail-safe apparatus for gateway in vehicle networks and method thereof

Country Status (1)

Country Link
KR (1) KR101417402B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102237379B1 (en) * 2019-10-31 2021-04-07 주식회사 엘지유플러스 Apparatus and method for routing in communication system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008133670A1 (en) * 2007-04-23 2008-11-06 Thomson Licensing Mechanisms for failure detection and mitigation in a gateway device
JP2010056775A (en) * 2008-08-27 2010-03-11 Kyocera Corp Portable communication terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008133670A1 (en) * 2007-04-23 2008-11-06 Thomson Licensing Mechanisms for failure detection and mitigation in a gateway device
JP2010056775A (en) * 2008-08-27 2010-03-11 Kyocera Corp Portable communication terminal

Also Published As

Publication number Publication date
KR20140060752A (en) 2014-05-21

Similar Documents

Publication Publication Date Title
US10715411B1 (en) Altering networking switch priority responsive to compute node fitness
US10693813B1 (en) Enabling and disabling links of a networking switch responsive to compute node fitness
US8665700B2 (en) Fault detection and mitigation for in-vehicle LAN network management
US11356293B2 (en) Canopen-based train network data transmission method, system and apparatus
KR102355092B1 (en) Operation method of communication node for diagnosing in vehicle network
JP6525825B2 (en) Communication device
US20050066218A1 (en) Method and apparatus for alert failover
KR20150119891A (en) Method and device for connecting a diagnostic unit to a control unit in a motor vehicle
JP2006191338A (en) Gateway apparatus for diagnosing fault of device in bus
RU2510932C2 (en) Automation system and method of controlling automation system
WO2018061362A1 (en) Gateway, in-vehicle communication system, communication control method and communication control program
US20090290485A1 (en) Distributed communication system and corresponding communication method
US20160255006A1 (en) Semantic Deduplication
CN109327383A (en) A kind of fault handling method and equipment
JP6410914B1 (en) Serial communication system
WO2007105271A1 (en) Network system
US6446201B1 (en) Method and system of sending reset signals only to slaves requiring reinitialization by a bus master
US20130346530A1 (en) Communication system, method for operating such a communication system, and communication module
KR101417402B1 (en) Fail-safe apparatus for gateway in vehicle networks and method thereof
US11095542B2 (en) Electronic control unit, monitoring method, and non-transitory computer readable medium storing program for monitoring a subject electronic control unit connected to a network
US10374834B2 (en) Modular industrial automation appliance and method for transmitting messages via a backplane bus system of the modular industrial automation appliance
JP6134720B2 (en) Connection method
JP2008227558A (en) Network adapter, communication terminal, communication path distribution method and program thereof
JP2004318498A (en) Fail-safe system
JP2017114406A (en) Network system

Legal Events

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

Payment date: 20180628

Year of fee payment: 5