KR20140080838A - Apparatus for monitoring status of ecu based on can communication in heterogeneous network and method thereof - Google Patents

Apparatus for monitoring status of ecu based on can communication in heterogeneous network and method thereof Download PDF

Info

Publication number
KR20140080838A
KR20140080838A KR1020120149108A KR20120149108A KR20140080838A KR 20140080838 A KR20140080838 A KR 20140080838A KR 1020120149108 A KR1020120149108 A KR 1020120149108A KR 20120149108 A KR20120149108 A KR 20120149108A KR 20140080838 A KR20140080838 A KR 20140080838A
Authority
KR
South Korea
Prior art keywords
message
status information
communication
ecu
status
Prior art date
Application number
KR1020120149108A
Other languages
Korean (ko)
Other versions
KR101427871B1 (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 KR1020120149108A priority Critical patent/KR101427871B1/en
Publication of KR20140080838A publication Critical patent/KR20140080838A/en
Application granted granted Critical
Publication of KR101427871B1 publication Critical patent/KR101427871B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes
    • 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

Landscapes

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

Abstract

Disclosed are an apparatus for monitoring the status of an electronic control unit (ECU) based on controller area network (CAN) communication in a heterogeneous network and a method thereof. According to the present invention, the apparatus for monitoring the status of an ECU based on CAN communication comprises: a CAN message parser for generating state information including a partial or whole parsing result after parsing the structural rules of received CAN messages, after periodically receiving CAN messages from a CAN communication-based ECU; a state information registry for storing the generated state information; a state search service registration unit for registering a message service corresponding to the stored state information; and a service mediator for calling the message service requested by an Ethernet communication-based ECU to the message registration unit, returning the state information corresponding to the message service based on the called result, and providing the returned state information to the Ethernet communication-based ECU.

Description

이기종 네트워크에서 CAN 통신 기반 ECU의 상태를 조회하기 위한 장치 및 그 방법{APPARATUS FOR MONITORING STATUS OF ECU BASED ON CAN COMMUNICATION IN HETEROGENEOUS NETWORK AND METHOD THEREOF}FIELD OF THE INVENTION The present invention relates to an apparatus and method for inquiring the status of a CAN communication-based ECU in a heterogeneous network,

본 발명은 CAN(Controller Area Network) 통신 기반 ECU(Electronic control unit)의 상태 조회 방법에 관한 것으로, 특히, 이기종 네트워크에서 CAN 통신 기반 ECU의 상태 정보를 포함하는 CAN 메시지를 주기적으로 수신하면 수신된 CAN 메시지의 구성 규칙에 따라 속성값을 분리하여 그 분리된 속성값을 기반으로 상태정보 레지스트리를 구성하고 구성된 상태정보 레지스트리를 기반으로 ECU 상태를 조회하는 메시지 서비스를 등록시켜 이더넷 통신 기반 ECU로부터의 비동기적 요청에 따라 CAN 통신 기반 ECU의 상태 정보를 제공하도록 하는 CAN 통신 기반 ECU의 상태를 조회하기 위한 장치 및 그 방법에 관한 것이다.The present invention relates to a status inquiry method of an ECU (Electronic Control Unit) based on a CAN (Controller Area Network) communication. In particular, when receiving a CAN message including status information of CAN communication based ECU in a heterogeneous network, It is necessary to separate the attribute values according to the message configuration rule, to configure the status information registry based on the separated attribute values, and to register the message service inquiring the status of the ECU based on the configured status information registry so that the asynchronous To an apparatus and method for querying the status of a CAN communication-based ECU that provides status information of a CAN communication-based ECU upon request.

기존의 CAN 통신을 기반으로 하는 ECU는 ECU의 상태정보 메시지를 특정 전송 주기별로 CAN 버스로 전송하고 수신하는 측에서는 CAN 버스에서 자신이 수신하고 하는 메시지를 필터링하여 수신 받는 구조로 되어 있다. 메시지의 해독 과정은 일반적으로 CAN 으로 수신 받은 메시지 바이트 스트림에 대해 각 인덱스 및 필드의 길이로 구분된 바이트를 분리하여 해당 값을 읽는 구조로 되어 있다.The ECU based on the existing CAN communication transmits the status information message of the ECU to the CAN bus according to a specific transmission period and receives the message received from the CAN bus by filtering the received message on the CAN bus. The process of deciphering a message generally consists of reading the corresponding byte by separating the bytes separated by the length of each index and field into a message byte stream received by CAN.

이러한 CAN 통신 방식은 대역폭이나 속도 등에서 한계가 있기 때문에 차량 내부의 멀티미디어 데이터 확대에 따라 향후 이더넷 통신 방식을 기반으로 하는 기기들로의 전환이 점진적으로 이루어질 것으로 예상하고 있다. 즉, 한동안 이더넷과 CAN 통신 환경이 혼재되는 상황이 예상된다.Since the CAN communication method has limitations in terms of bandwidth and speed, it is expected that the transition to the devices based on the Ethernet communication method will be gradually progressed in accordance with the expansion of the multimedia data in the vehicle. In other words, Ethernet and CAN communication environments are expected to be mixed for a while.

한편, 이더넷 통신에서의 메시지 기반 미들웨어는 네트워크 상에서 메시지를 전달하는 역할을 수행한다. 메시지 통신은 메시지의 보내기, 받기와 같은 단순한 수행으로 이루어지며, 메시지의 해독은 사전에 정의한 프로파일을 참조하여 클라이언트와 서버간의 해독이 이루어 지기 때문에 메시지 교환에 어려움이 없다. 더욱이 이러한 메시지 기반 미들웨어는 IT분야에의 서비스 지향 아키텍처의 근간을 구성하는 메시지 교환 메커니즘이다. 이 메커니즘을 사용할 경우 차량 내 ECU 분산 환경에서 클라이언트와 서버간에 동기적인 통신 문제점을 해결할 수 있으며 데이터 전달 및 해석의 착오로 발생할 수 있는 통신 메시지 신뢰와 안전을 보장해 주는 장점이 있다.On the other hand, message-based middleware in Ethernet communication plays a role of delivering messages on the network. Message communication consists of simple operations such as sending and receiving a message. Message decryption is not difficult because messages are decrypted between the client and the server by referring to a profile defined in advance. Moreover, this message-based middleware is a message exchange mechanism that forms the basis of a service-oriented architecture for IT. Using this mechanism, it is possible to solve synchronous communication problem between client and server in the distributed ECU environment, and it has the advantage of ensuring the reliability and safety of communication message that may occur due to the error in data transmission and analysis.

예컨대, 차량 내 네트워크가 CAN 통신과 이더넷 통신이 혼재되어 있고 각 네트워크에 참여하고 있는 2개의 ECU가 있을 경우 두 네트워크 간의 물리적 연결을 중재하기 위한 게이트웨이가 필요하게 된다. 이러한 게이트웨이는 두 통신 네트워크 간의 전기적, 물리적 연결을 지원하며 데이터 패킷을 교환하도록 한다.For example, if the in-vehicle network is a mixture of CAN communication and Ethernet communication and there are two ECUs participating in each network, a gateway is needed to mediate the physical connection between the two networks. These gateways support electrical and physical connections between the two communication networks and exchange data packets.

그러나 메시지의 해석에 있어 교환 메커니즘이 마련되어 있지 않다면 별도의 메시지 컨버터를 두어 CAN 통신 기반 ECU가 특정 주기 마다 송신하는 메시지 데이터 패킷을 이더넷 네트워크로 직접 전송하여야 하는데 이더넷 네트워크가 메시지 기반 미들웨어를 채택하고 있을 경우 주기적으로 게이트웨이로 들어오는 CAN 메시지에 이더넷의 비동기적 응답에 대응 가능하게끔 하는 별도의 중재 메커니즘이 필요하다.However, if there is no exchange mechanism in the interpretation of the message, a separate message converter should be installed so that the CAN communication-based ECU must directly transmit the message data packet transmitted every certain period to the Ethernet network. If the Ethernet network adopts message-based middleware There is a need for a separate arbitration mechanism that allows the CAN message coming into the gateway periodically to respond to the asynchronous response of the Ethernet.

따라서 이러한 종래 기술의 문제점을 해결하기 위한 것으로, 본 발명의 목적은 CAN 통신 기반 ECU의 상태 정보를 포함하는 CAN 메시지를 주기적으로 수신하면 수신된 CAN 메시지의 구성 규칙에 따라 속성값을 분리하여 그 분리된 속성값을 기반으로 상태정보 레지스트리를 구성하고 구성된 상태정보 레지스트리를 기반으로 ECU 상태를 조회하는 메시지 서비스를 등록시켜 이더넷 통신 기반 ECU로부터의 비동기적 요청에 따라 CAN 통신 기반 ECU의 상태 정보를 제공하도록 하는 이기종 네트워크에서 CAN 통신 기반 ECU의 상태를 조회하기 위한 장치 및 그 방법에 관한 것이다.SUMMARY OF THE INVENTION Accordingly, the present invention has been made in view of the above problems, and it is therefore an object of the present invention to provide a method and apparatus for separating attribute values according to a configuration rule of a received CAN message upon periodically receiving a CAN message including status information of CAN communication- And registers the message service that inquires the ECU status based on the configured status information registry to provide the status information of the CAN communication based ECU according to the asynchronous request from the Ethernet communication based ECU The present invention relates to an apparatus and method for inquiring the status of a CAN communication-based ECU in a heterogeneous network.

그러나 본 발명의 목적은 상기에 언급된 사항으로 제한되지 않으며, 언급되지 않은 또 다른 목적들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.However, the objects of the present invention are not limited to those mentioned above, and other objects not mentioned can be clearly understood by those skilled in the art from the following description.

상기 목적들을 달성하기 위하여, 본 발명의 한 관점에 따른 CAN 통신 기반 ECU의 상태를 조회하기 위한 장치는 CAN 통신 기반의 ECU로부터 주기적으로 CAN 메시지를 수신하면, 수신된 CAN 메시지의 구성 규칙을 파싱하고 그 파싱한 결과의 일부 또는 전체를 포함하는 상태 정보를 생성하는 CAN 메시지 파서; 생성된 상기 상태 정보를 저장하는 상태정보 레지스트리; 저장된 상기 상태 정보에 상응하는 ECU 상태를 조회하는 메시지 서비스를 등록하는 상태조회 서비스 등록부; 및 이더넷 통신 기반의 ECU로부터 요청받은 메시지 서비스를 상기 메시지 등록부에 호출하여 그 호출한 결과로 상기 메시지 서비스에 상응하는 상태 정보를 반환 받고 반환 받은 상기 상태 정보를 상기 이더넷 통신 기반의 ECU에 제공하는 서비스 중재부를 포함할 수 있다.In order to achieve the above objects, an apparatus for inquiring the status of a CAN communication-based ECU according to an aspect of the present invention, when receiving a CAN message periodically from an ECU based on a CAN communication, parses the configuration rule of the received CAN message A CAN message parser for generating status information including part or all of the parsed result; A status information registry for storing the generated status information; A state inquiry service registration unit for registering a message service inquiring an ECU state corresponding to the stored state information; And a service for calling the message service requested from the Ethernet communication-based ECU to the message registration unit, returning status information corresponding to the message service as a result of the calling, and providing the returned status information to the Ethernet communication-based ECU And an arbitration unit.

또한, 본 발명에 따른 CAN 통신 기반 ECU의 상태를 조회하기 위한 장치는 적어도 하나의 CAN 메시지의 구성 규칙을 저장하는 CAN 메시지 스키마 DB을 더 포함하고, 상기 CAN 메시지 파서는 상기 CAN 메시지 스키마 DB을 기반으로 상기 수신된 CAN 메시지의 구성 규칙을 파싱하고, 그 파싱한 결과로 상기 수신된 CAN 메시지를 각 필드별로 분리하는 것을 특징으로 한다.The apparatus for inquiring the status of the CAN communication-based ECU according to the present invention further includes a CAN message schema DB storing configuration rules of at least one CAN message, and the CAN message parser is based on the CAN message schema DB Parses the configuration rule of the received CAN message, and parses the received CAN message for each field as a result of the parsing.

바람직하게, 상기 CAN 메시지 파서는 상기 수신된 CAN 메시지의 구성 규칙을 파싱하면, 현재 시각과 수신 주기를 고려하여 유효시간 스탬프를 산출하고 그 산출된 유효시간 스탬프와 상기 파싱한 결과의 일부 또는 전체를 포함하는 상태 정보를 생성하는 것을 특징으로 한다.Preferably, the CAN message parser parses the configuration rule of the received CAN message, calculates an effective time stamp in consideration of the current time and the reception period, and outputs the calculated effective time stamp and part or all of the parsed result And generates status information including the status information.

또한, 본 발명에 따른 CAN 통신 기반 ECU의 상태를 조회하기 위한 장치는 상기 상태정보 레지스트리에 저장된 상기 상태 정보를 관리하는 레지스트리 스케쥴러를 더 포함하고, 상기 레지스트리 스케쥴러는 상기 상태정보 레지스트리에 저장된 상기 상태 정보가 있으면 해당 상태 정보가 수신 주기에 따라 유효시간 내에 있는지를 확인하고, 그 확인한 결과로 해당 상태 정보가 유효시간 내에 있으면, 해당 상태 정보에 상응하는 메시지 서비스가 상기 상태조회 서비스 등록부에 등록되어 있는지를 확인하며, 해당 메시지 서비스가 상기 상태조회 서비스 등록부에 등록되어 있지 않으면, 해당 메시지 서비스를 등록하는 것을 특징으로 한다.The device for inquiring the status of the CAN communication-based ECU according to the present invention further includes a registry scheduler for managing the status information stored in the status information registry, and the registry scheduler stores the status information stored in the status information registry It is checked whether the corresponding status information is within the valid period according to the reception period. If the status information is within the valid period as a result of the checking, it is determined whether or not the message service corresponding to the status information is registered in the status inquiry service registration unit And registers the corresponding message service if the message service is not registered in the status inquiry service registration unit.

바람직하게, 상기 레지스트리 스케쥴러는 그 확인한 결과로 해당 상태 정보가 유효시간 내에 있지 않으면, 해당 상태 정보를 상기 상태정보 레지스트리에서 삭제하고 해당 상태 정보에 상응하는 메시지 서비스를 상기 상태조회 서비스 등록부에서 삭제하는 것을 특징으로 한다.Preferably, the registry scheduler deletes the corresponding status information from the status information registry and deletes the corresponding message service corresponding to the corresponding status information from the status inquiry service registration unit if the status information is not within the valid period as a result of the checking .

또한, 본 발명에 따른 CAN 통신 기반 ECU의 상태를 조회하기 위한 장치는 상기 상태조회 서비스 등록부에 등록된 메시지 서비스에 대한 정보를 기록하는 서비스 레지스트리를 더 포함하고, 상기 이더넷 통신 기반의 ECU는 상기 서비스 레지스트리를 기반으로 필요한 메시지 서비스를 조회하는 것을 특징으로 한다.
Further, the apparatus for inquiring the status of the CAN communication-based ECU according to the present invention further includes a service registry for recording information on the message service registered in the status inquiry service registration unit, and the Ethernet communication- And a necessary message service is inquired based on the registry.

본 발명의 다른 한 관점에 따른 CAN 통신 기반 ECU의 상태를 조회하기 위한 방법은 CAN 통신 기반의 ECU로부터 주기적으로 CAN 메시지를 수신하면, 수신된 CAN 메시지의 구성 규칙을 파싱하고 그 파싱한 결과의 일부 또는 전체를 포함하는 상태 정보를 생성하는 단계; 생성된 상기 상태 정보를 상태정보 레지스트리에 저장하는 단계; 저장된 상기 상태 정보에 상응하는 ECU 상태를 조회하는 메시지 서비스를 상태조회 서비스 등록부에 등록하는 단계; 및 이더넷 통신 기반의 ECU로부터 요청받은 메시지 서비스를 상기 메시지 등록부에 호출하여 그 호출한 결과로 상기 메시지 서비스에 상응하는 상태 정보를 반환 받고 반환 받은 상기 상태 정보를 상기 이더넷 통신 기반의 ECU에 제공하는 단계를 포함할 수 있다.A method for inquiring the status of a CAN communication-based ECU according to another aspect of the present invention includes parsing a configuration rule of a received CAN message upon receipt of a CAN message periodically from an ECU based on a CAN communication, Generating status information including at least one or all of the status information; Storing the generated status information in a status information registry; Registering a message service for inquiring an ECU status corresponding to the stored status information in a status inquiry service registration unit; And a message service requested from the Ethernet communication-based ECU to the message registration unit, returning status information corresponding to the message service as a result of the calling, and providing the returned status information to the ECU based on the Ethernet communication . ≪ / RTI >

바람직하게, 상기 생성하는 단계는 상기 CAN 통신 기반의 ECU로부터 CAN 메시지를 수신하면, 적어도 하나의 CAN 메시지의 구성 규칙을 저장하고 있는 CAN 메시지 스키마 DB을 기반으로 상기 수신된 CAN 메시지의 구성 규칙을 파싱하고, 그 파싱한 결과로 상기 수신된 CAN 메시지를 각 필드별로 분리하는 것을 특징으로 한다.Preferably, the generating includes parsing a configuration rule of the received CAN message based on a CAN message schema DB storing configuration rules of at least one CAN message upon receiving a CAN message from the CAN communication-based ECU, And separates the received CAN message for each field as a result of the parsing.

바람직하게, 상기 생성하는 단계는 상기 수신된 CAN 메시지의 구성 규칙을 파싱하면, 현재 시각과 수신 주기를 고려하여 유효시간 스탬프를 산출하고 그 산출된 유효시간 스탬프와 상기 파싱한 결과의 일부 또는 전체를 포함하는 상태 정보를 생성하는 것을 특징으로 한다.Preferably, the generating includes parsing a configuration rule of the received CAN message, calculating an effective time stamp in consideration of the current time and the reception period, and outputting the calculated effective time stamp and a part or all of the parsed result And generates status information including the status information.

바람직하게, 상기 저장하는 단계는 상기 상태정보 레지스트리에 저장된 상기 상태 정보가 있으면 해당 상태 정보가 수신 주기에 따라 유효시간 내에 있는지를 확인하는 단계; 그 확인한 결과로 해당 상태 정보가 유효시간 내에 있으면, 해당 상태 정보에 상응하는 메시지 서비스가 상기 상태조회 서비스 등록부에 등록되어 있는지를 확인하는 단계; 및 해당 메시지 서비스가 상기 상태조회 서비스 등록부에 등록되어 있지 않으면, 해당 메시지 서비스를 등록하는 단계를 더 포함하는 것을 특징으로 한다.Preferably, the step of storing includes: checking if the status information stored in the status information registry is present within a valid period according to a reception period; Checking whether a message service corresponding to the status information is registered in the status inquiry service registration unit if the status information is within a valid time as a result of the checking; And registering the corresponding message service if the corresponding message service is not registered in the status inquiry service registration unit.

바람직하게, 상기 저장하는 단계는 그 확인한 결과로 해당 상태 정보가 유효시간 내에 있지 않으면, 해당 상태 정보를 상기 상태정보 레지스트리에서 삭제하는 단계; 및 해당 상태 정보에 상응하는 메시지 서비스를 상기 상태조회 서비스 등록부에서 삭제하는 단계를 더 포함하는 것을 특징으로 한다.Preferably, the saving step may include deleting the corresponding status information from the status information registry if the status information is not within the valid time as a result of the checking. And deleting a message service corresponding to the status information from the status inquiry service registration unit.

이를 통해, 본 발명은 CAN 통신 기반 ECU의 상태 정보를 포함하는 CAN 메시지를 주기적으로 수신하면 수신된 CAN 메시지의 구성 규칙에 따라 속성값을 분리하여 그 분리된 속성값을 기반으로 상태정보 레지스트리를 구성하고 구성된 상태정보 레지스트리를 기반으로 ECU 상태를 조회하는 메시지 서비스를 등록시켜 이더넷 통신 기반 ECU로부터의 비동기적 요청에 따라 CAN 통신 기반 ECU의 상태 정보를 제공하도록 함으로써, 불필요한 통신 트래픽 유발을 최소화할 수 있는 효과가 있다.Accordingly, according to the present invention, when the CAN message including the status information of the CAN communication-based ECU is periodically received, the attribute information is separated according to the configuration rule of the received CAN message and the status information registry is constructed And registering a message service for inquiring the ECU status based on the configured status information registry to provide the status information of the CAN communication based ECU according to the asynchronous request from the Ethernet communication based ECU, thereby minimizing unnecessary communication traffic incidence It is effective.

또한, 본 발명은 새로운 CAN 통신 기반 ECU가 추가 되더라도 별도의 새로운 CAN 메시지 파서 제작없이 CAN 메시지 스키마 DB 정보만 업데이트하면 이더넷 기반의 ECU 간의 비동기적 메시지 통신이 가능할 수 있는 효과가 있다.In addition, even if a new CAN communication-based ECU is added, the present invention can perform asynchronous message communication between Ethernet-based ECUs by updating only the CAN message schema DB information without creating a new CAN message parser.

또한, 본 발명은 메시지 지향 미들웨어의 채택으로 이더넷이 지원되는 장비만으로도 CAN 통신 기반 ECU의 상태 정보를 파악하는 것이 용이할 수 있는 효과가 있다.In addition, the present invention has an effect that it is easy to grasp the status information of the CAN communication-based ECU by using only the equipment in which the Ethernet is supported by adopting the message-oriented middleware.

도 1은 본 발명의 일 실시예에 따른 이기종 네트워크를 개략적으로 나타내는 도면이다.
도 2는 본 발명의 일 실시예에 따른 CAN 통신 기반 ECU의 상태를 조회하기 위한 장치를 나타내는 도면이다.
도 3은 본 발명의 일 실시예에 따른 상태 정보를 업데이트하는 과정을 나타내는 도면이다.
도 4는 본 발명의 일 실시예에 따른 메시지 서비스를 등록하는 과정을 나타내는 도면이다.
도 5는 본 발명의 일 실시예에 따른 상태 정보를 조회하는 과정을 나타내는 도면이다.
1 is a diagram schematically illustrating a heterogeneous network according to an embodiment of the present invention.
2 is a block diagram of an apparatus for inquiring the status of a CAN communication-based ECU according to an embodiment of the present invention.
3 is a diagram illustrating a process of updating state information according to an embodiment of the present invention.
4 is a diagram illustrating a process of registering a message service according to an embodiment of the present invention.
5 is a diagram illustrating a process of inquiring status information according to an embodiment of the present invention.

이하에서는, 본 발명의 실시예에 따른 이기종 네트워크에서 CAN 통신 기반 ECU의 상태를 조회하기 위한 장치 및 그 방법을 첨부한 도 1 내지 도 5를 참조하여 설명한다. 본 발명에 따른 동작 및 작용을 이해하는데 필요한 부분을 중심으로 상세히 설명한다.Hereinafter, an apparatus and method for inquiring the status of a CAN communication-based ECU in a heterogeneous network according to an embodiment of the present invention will be described with reference to FIGS. 1 to 5. The present invention will be described in detail with reference to the portions necessary for understanding the operation and operation according to the present invention.

또한, 본 발명의 구성 요소를 설명하는 데 있어서, 동일한 명칭의 구성 요소에 대하여 도면에 따라 다른 참조부호를 부여할 수도 있으며, 서로 다른 도면임에도 불구하고 동일한 참조부호를 부여할 수도 있다. 그러나, 이와 같은 경우라 하더라도 해당 구성 요소가 실시예에 따라 서로 다른 기능을 갖는다는 것을 의미하거나, 서로 다른 실시예에서 동일한 기능을 갖는다는 것을 의미하는 것은 아니며, 각각의 구성 요소의 기능은 해당 실시예에서의 각각의 구성요소에 대한 설명에 기초하여 판단하여야 할 것이다.In describing the constituent elements of the present invention, the same reference numerals may be given to constituent elements having the same name, and the same reference numerals may be given thereto even though they are different from each other. However, even in such a case, it does not mean that the corresponding component has different functions according to the embodiment, or does not mean that the different components have the same function. It should be judged based on the description of each component in the example.

특히, 본 발명에서는 이기종 네트워크에서 CAN 통신 기반 ECU의 상태 정보를 포함하는 CAN 메시지를 주기적으로 수신하면 수신된 CAN 메시지의 구성 규칙에 따라 속성값을 분리하여 그 분리된 속성값을 기반으로 상태정보 레지스트리를 구성하고 구성된 상태정보 레지스트리를 기반으로 ECU 상태를 조회하는 메시지 서비스를 등록시켜 이더넷 통신 기반 ECU로부터의 비동기적 요청에 따라 CAN 통신 기반 ECU의 상태 정보를 제공하도록 하는 새로운 CAN 통신 기반 ECU의 상태 정보를 조회하는 방법을 제안한다.In particular, according to the present invention, when a CAN message including status information of a CAN communication-based ECU is periodically received in a heterogeneous network, an attribute value is separated according to the configuration rule of the received CAN message, and based on the separated attribute value, And registers the message service for inquiring the ECU status based on the configured status information registry to provide status information of the CAN communication based ECU according to the asynchronous request from the Ethernet communication based ECU And the like.

여기서 언급하는 이기종 네트워크는 차량 내에서 CAN 통신 기반 기기와 이더넷 통신 기반 기기들이 혼재하고 있는 경우를 그 일예로 설명하고 있지만, 반드시 이에 한정되지 않고 다양한 통신 방식이 혼재하고 있는 네트워크를 나타낼 수 있다.
Although the heterogeneous network described here is a case in which a CAN communication-based device and an Ethernet communication-based device are mixed in a vehicle, the present invention is not limited to this, and may represent a network in which various communication methods are mixed.

도 1은 본 발명의 일 실시예에 따른 이기종 네트워크를 개략적으로 나타내는 도면이다.1 is a diagram schematically illustrating a heterogeneous network according to an embodiment of the present invention.

도 1에 도시한 바와 같이, 본 발명의 일 실시예에 따른 차량 내 이기종 네트워크는 CAN(Controller Area Network) 통신 기반 ECU(100), 게이트웨이(gateway)(200), 및 이더넷 통신 기반 ECU(300) 등을 포함하여 구성될 수 있다.1, the in-vehicle heterogeneous network according to the embodiment of the present invention includes a CAN (Controller Area Network) communication based ECU 100, a gateway 200, and an Ethernet communication based ECU 300, And the like.

CAN 통신 기반 ECU(100)는 ECU의 상태정보를 포함하는 CAN 메시지를 주기적으로 송신할 수 있다.The CAN communication-based ECU 100 can periodically transmit the CAN message including the state information of the ECU.

게이트웨이(200)는 CAN 통신 기반 ECU의 상태 정보를 포함하는 CAN 메시지를 수신하면 수신된 CAN 메시지의 구성 규칙에 따라 속성값을 분리하여 그 분리된 속성값을 기반으로 상태정보 레지스트리를 구성하고 구성된 상태정보 레지스트리를 기반으로 ECU 상태를 조회하는 메시지 서비스를 등록시켜 이더넷 통신 기반 ECU로부터의 비동기적 요청에 따라 CAN 통신 기반 ECU의 상태 정보를 제공할 수 있다.When receiving the CAN message including the status information of the CAN communication-based ECU, the gateway 200 separates the attribute values according to the configuration rule of the received CAN message, constructs the status information registry based on the separated attribute values, Based on the information registry, it can register the message service inquiring the status of the ECU to provide the status information of the CAN communication based ECU according to the asynchronous request from the Ethernet communication based ECU.

이더넷 통신 기반 ECU(300)는 비동기적으로 CAN 통신 기반 ECU의 상태정보를 요청할 수 있다.
The Ethernet communication-based ECU 300 can asynchronously request the status information of the CAN communication-based ECU.

도 2는 본 발명의 일 실시예에 따른 CAN 통신 기반 ECU의 상태를 조회하기 위한 장치를 나타내는 도면이다.2 is a block diagram of an apparatus for inquiring the status of a CAN communication-based ECU according to an embodiment of the present invention.

도 2에 도시한 바와 같이, 본 발명에 따른 CAN 통신 기반 ECU의 상태를 조회하기 위한 장치는 게이트웨이(200)를 일컫는데, 메시지 중재부(210), CAN 컨트롤러(220), CAN 트랜시버(230), 이더넷 컨트롤러(240), 이더넷 트랜시버(250) 등을 포함하여 구성될 수 있다.2, the apparatus for inquiring the status of a CAN communication-based ECU according to the present invention refers to a gateway 200. The apparatus includes a message arbitration unit 210, a CAN controller 220, a CAN transceiver 230, An Ethernet controller 240, an Ethernet transceiver 250, and the like.

메시지 중재부(210)는 메시지 중재 처리 모듈로 CAN 메시지 스키마 DB(211), CAN 메시지 파서(212), 상태정보 레지스트리(213), 레지스트리 스케쥴러(214), 메시지 등록부(215), 서비스 중재부(216), 서비스 레지스트리(217) 등으로 이루어질 수 있다.The message arbitration unit 210 includes a CAN message schema DB 211, a CAN message parser 212, a status information registry 213, a registry scheduler 214, a message registration unit 215, a service arbitration unit 216, a service registry 217, and the like.

CAN 메시지 스키마 DB(211)는 서로 다른 CAN 메시지별 구성 규칙 또는 스키마를 저장할 수 있다. 여기서, 스키마는 자료의 구조 및 내용 그리고 이러한 자료들에 대한 논리적, 물리적 특성에 대한 정보들을 표현하는 논리적 구조를 지칭한다.The CAN message schema DB 211 may store different CAN message configuration rules or schemas. Here, a schema refers to a logical structure that represents the structure and content of data and information on the logical and physical characteristics of such data.

예컨대, CAN 메시지는 메시명, 속성 이름, 필드 인덱스, 필드 길이, 주기 등을 포함할 수 있는데, 각 필드별 크기 등이 메시지마다 서로 다르게 설정될 수 있다.For example, the CAN message may include a mesh name, an attribute name, a field index, a field length, a period, and the like, and the size of each field may be set differently for each message.

CAN 메시지 파서(212)는 주기적으로 CAN 메시지를 수신하면, 수신된 CAN 메시지의 구성 규칙을 파싱할 수 있다. 즉, CAN 메시지 파서(212)는 CAN 메시지 스키마 DB를 기반으로 수신된 CAN 메시지의 구성 규칙을 파싱하고 그 파싱한 결과로 각 필드별로 분리할 수 있다.When the CAN message parser 212 periodically receives the CAN message, it can parse the configuration rule of the received CAN message. That is, the CAN message parser 212 parses the configuration rules of the received CAN message based on the CAN message schema DB, and separates the configuration rules as a result of the parsing.

CAN 메시지 파서(212)는 현재 시각과 수신 주기를 고려하여 유효시간 스탬프를 산출하고 그 산출된 유효시간 스탬프와 파싱한 결과 중 일부 또는 전체를 포함하는 상태 정보를 상태정보 레지스트리(213)에 기록할 수 있다.The CAN message parser 212 calculates an effective time stamp in consideration of the current time and the reception period, and writes the status information including some or all of the calculated effective time stamp and the parsed result in the status information registry 213 .

예컨대, 상태 정보는 ECU명, 유효시간, 속성이름, 및 속성값 등을 할 수 있다.For example, the status information may include an ECU name, an effective time, an attribute name, and an attribute value.

레지스트리 스케쥴러(214)는 상태정보 레지스트리에 저장된 상태 정보를 관리할 수 있다. 즉, 레지스트리 스케쥴러(214)는 상태정보 레지스트리(213)에 저장된 상태 정보의 유효 시간을 확인하여 그 확인한 결과에 따라 상태 정보를 갱신할 수 있다.The registry scheduler 214 can manage the status information stored in the status information registry. That is, the registry scheduler 214 can check the validity time of the status information stored in the status information registry 213, and update the status information according to the confirmation result.

예컨대, 레지스트리 스케쥴러(214)는 CAN 통신 기반 ECU로부터 최대 송신 주기 동안 CAN 메시지를 수신하지 못하였을 경우 해당 ECU와 관련된 모든 상태 정보를 상태정보 레지스트리(213)에서 삭제하여 해당 ECU가 통신 불가함을 인지토록 할 수 있다.For example, when the CAN message is not received from the CAN communication-based ECU for a maximum transmission period, the registry scheduler 214 deletes all status information related to the corresponding ECU from the status information registry 213, I can do it.

레지스트리 스케쥴러(214)는 상태정보 레지스트리(213)에 상태 정보가 갱신되면 갱신된 상태 정보를 기반으로 해당 ECU 상태를 조회하는 메시지 서비스를 상태조회 서비스 등록부에 등록할 수 있다.The registry scheduler 214 may register the message service inquiring the state of the corresponding ECU based on the updated state information in the state inquiry service registration unit when the state information is updated in the state information registry 213. [

메시지 등록부(215)는 서비스가 유효한 적어도 하나의 메시지 서비스를 등록할 수 있다.The message registration unit 215 can register at least one message service for which the service is valid.

서비스 중재부(216)는 이더넷 통신 기반의 ECU의 비동기적인 요청에 따라 메시지 등록부(215)에 해당 서비스를 호출하고 그 호출한 서비스에 대한 상태 정보를 반환 받아 반환 받은 상태 정보를 이더넷 통신 기반의 ECU에 제공할 수 있다.The service arbitration unit 216 calls the corresponding service in the message registration unit 215 according to the asynchronous request of the Ethernet communication based ECU, returns the status information about the called service, and returns the returned status information to the Ethernet communication based ECU As shown in FIG.

서비스 레지스트리(217)는 기 등록된 메시지 서비스에 대한 정보를 기록할 수 있다.
The service registry 217 can record information on the previously registered message service.

도 3은 본 발명의 일 실시예에 따른 상태 정보를 업데이트하는 과정을 나타내는 도면이다.3 is a diagram illustrating a process of updating state information according to an embodiment of the present invention.

도 3에 도시한 바와 같이, 본 발명에 따른 CAN 통신 기반 ECU(100)는 적어도 하나의 CAN 통신 기반 ECU의 상태 정보를 포함하는 CAN 메시지를 주기적으로 송신할 수 있다(S310).As shown in FIG. 3, the CAN communication-based ECU 100 according to the present invention can periodically transmit a CAN message including status information of at least one CAN communication-based ECU at step S310.

다음으로, CAN 메시지 파서(212)는 CAN 메시지를 수신하면, CAN 메시지 스키마 DB를 기반으로 수신된 CAN 메시지의 구성 규칙을 파싱하고(S320) 그 파싱한 결과로 각 필드별로 분리할 수 있다(S330).Next, upon receipt of the CAN message, the CAN message parser 212 parses the configuration rule of the received CAN message based on the CAN message schema DB (S320), and separates the configuration rule for each field as a result of the parsing ).

다음으로, CAN 메시지 파서(212)는 파싱한 결과를 기반으로 현재 시각과 수신 주기를 고려하여 유효시간 스탬프를 산출할 수 있고(S340) 그 산출된 유효시간 스탬프와 파싱한 결과 중 일부 또는 전체의 필드값을 포함하는 상태 정보를 생성하여 생성된 상태 정보를 상태정보 레지스트리(213)에 기록할 수 있다(S350).
Next, the CAN message parser 212 can calculate the effective time stamp in consideration of the current time and the reception period based on the parsed result (S340), and calculate the validity time stamp of some or all of the calculated valid time stamp The state information including the field value may be generated and the generated state information may be recorded in the state information registry 213 (S350).

도 4는 본 발명의 일 실시예에 따른 메시지 서비스를 등록하는 과정을 나타내는 도면이다.4 is a diagram illustrating a process of registering a message service according to an embodiment of the present invention.

도 4에 도시한 바와 같이, 본 발명에 따른 레지스트리 스케쥴러(214)는 상태정보 레지스트리가 비어있는지 즉 기록된 상태 정보가 없는지를 확인할 수 있다.As shown in FIG. 4, the registry scheduler 214 according to the present invention can check whether the status information registry is empty, that is, whether there is recorded status information.

다음으로, 레지스트리 스케쥴러(214)는 그 확인한 결과로 상태정보 레지스트리에 기록된 상태 정보가 있으면, 해당 상태 정보가 유효한지를 확인할 수 있다. 즉, 레지스트리 스케쥴러(214)는 상태 정보에 포함된 유효 시간과 현재 시간을 기반으로 해당 상태 정보가 수신 주기에 따라 유효시간 내에 있는지를 확인하게 된다.Next, the registry scheduler 214 can check whether the corresponding status information is valid if the status information recorded in the status information registry is found as a result of the checking. That is, the registry scheduler 214 checks whether the corresponding status information is within the valid period according to the reception period based on the valid time and the current time included in the status information.

다음으로, 레지스트리 스케쥴러(214)는 그 확인한 결과로 상태 정보가 유효하면, 해당 상태 정보에 상응하는 메시지 서비스가 등록되어 있는지를 확인할 수 있다. 즉, 레지스트리 스케쥴러(214)는 메시지 서비스가 등록되어 있지 않으면, 해당 메시지 서비스를 등록할 수 있다.Next, the registry scheduler 214 can check whether the message service corresponding to the status information is registered if the status information is valid as a result of the checking. That is, if the message service is not registered, the registry scheduler 214 can register the corresponding message service.

반면, 레지스트리 스케쥴러(214)는 그 확인한 결과로 상태 정보가 유효하지 않으면, 상태조회 서비스 등록부에 등록된 해당 메시지 서비스를 삭제하고 상태정보 레지스트리에 기록된 해당 상태 정보를 삭제할 수 있다.On the other hand, if the status information is invalid as a result of the checking, the registry scheduler 214 deletes the corresponding message service registered in the status inquiry service registration unit and deletes corresponding status information recorded in the status information registry.

다음으로, 레지스트리 스케쥴러(214)는 해당 상태 정보가 마지막 상태 정보인지를 확인하고 마지막 상태 정보가 아니면 다음 순서의 상태 정보를 확인할 수 있다.Next, the registry scheduler 214 checks whether the corresponding status information is the last status information, and confirms the next status information if it is not the last status information.

이러한 과정은 상태정보 레지스트리에 기록된 상태 정보의 개수만큼 반복 수행한다.
This process is repeated as many times as the number of status information recorded in the status information registry.

도 5는 본 발명의 일 실시예에 따른 상태 정보를 조회하는 과정을 나타내는 도면이다.5 is a diagram illustrating a process of inquiring status information according to an embodiment of the present invention.

도 5에 도시한 바와 같이, 본 발명에 따른 이더넷 통신 기반의 ECU(300)는 상태 정보를 조회하고 그 조회한 결과에 따라 상태 정보를 요청하기 위한 요청 메시지를 생성할 수 있다.As shown in FIG. 5, the Ethernet communication-based ECU 300 according to the present invention can inquire status information and generate a request message for requesting status information according to the inquiry result.

다음으로, 이더넷 통신 기반의 ECU(300)는 생성된 요청 메시지를 서비스 중재부(216)에 전송할 수 있다.Next, the Ethernet communication-based ECU 300 can transmit the generated request message to the service arbitration unit 216. [

다음으로, 서비스 중재부(216)는 해당 메시지 서비스를 상태조회 서비스 등록부(215)에 호출하고, 상태조회 서비스 등록부(215)는 호출된 메시지 서비스에 대한 상태 정보를 상태정보 레지스트리(213)에서 조회할 수 있다.Next, the service arbitration unit 216 calls the corresponding message service to the status inquiry service registration unit 215, and the status inquiry service registration unit 215 inquires the status information about the called message service from the status information registry 213 can do.

다음으로, 상태조회 서비스 등록부(215)는 그 조회한 결과에 따라 해당 서비스에 대한 상태 정보를 반환하고, 서비스 중재부(216)는 반환된 상태 정보를 포함하는 응답 메시지를 생성하여 생성된 응답 메시지를 이더넷 통신 기반의 ECU(300)에 전송할 수 있다.Next, the status inquiry service registration unit 215 returns status information about the service according to the inquiry result, and the service arbiter 216 generates a response message including the returned status information, To the ECU 300 based on the Ethernet communication.

다음으로, 이더넷 통신 기반의 ECU(300)는 응답 메시지를 기반으로 상태 정보를 확인할 수 있다.
Next, the ECU 300 based on the Ethernet communication can confirm the status information based on the response message.

한편, 이상에서 설명한 본 발명의 실시예를 구성하는 모든 구성 요소들이 하나로 결합하거나 결합하여 동작하는 것으로 기재되어 있다고 해서, 본 발명이 반드시 이러한 실시예에 한정되는 것은 아니다. 즉, 본 발명의 목적 범위 안에서라면, 그 모든 구성 요소들이 하나 이상으로 선택적으로 결합하여 동작할 수도 있다. 또한, 그 모든 구성 요소들이 각각 하나의 독립적인 하드웨어로 구현될 수 있지만, 각 구성 요소들의 그 일부 또는 전부가 선택적으로 조합되어 하나 또는 복수 개의 하드웨어에서 조합된 일부 또는 전부의 기능을 수행하는 프로그램 모듈을 갖는 컴퓨터 프로그램으로서 구현될 수도 있다. 또한, 이와 같은 컴퓨터 프로그램은 USB 메모리, CD 디스크, 플래쉬 메모리 등과 같은 컴퓨터가 읽을 수 있는 저장매체(Computer Readable Media)에 저장되어 컴퓨터에 의하여 읽혀지고 실행됨으로써, 본 발명의 실시예를 구현할 수 있다. 컴퓨터 프로그램의 저장매체로서는 자기 기록매체, 광 기록매체, 캐리어 웨이브 매체 등이 포함될 수 있다.It is to be understood that the present invention is not limited to these embodiments, and all of the elements constituting the embodiments of the present invention described above may be combined or operated in one operation. That is, within the scope of the present invention, all of the components may be selectively coupled to one or more of them. In addition, although all of the components may be implemented as one independent hardware, some or all of the components may be selectively combined to perform a part or all of the functions in one or a plurality of hardware. As shown in FIG. In addition, such a computer program may be stored in a computer-readable medium such as a USB memory, a CD disk, a flash memory, etc., and read and executed by a computer, thereby implementing embodiments of the present invention. As the storage medium of the computer program, a magnetic recording medium, an optical recording medium, a carrier wave medium, or the like may be included.

이상에서 설명한 실시예들은 그 일 예로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. 따라서, 본 발명에 개시된 실시예들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. 본 발명의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.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 essential characteristics thereof. Therefore, the embodiments disclosed in the present invention are intended to illustrate rather than limit the scope of the present invention, and the scope of the technical idea of the present invention is not limited by these embodiments. The scope of protection of the present invention should be construed according to the following claims, and all technical ideas falling within the scope of the same shall be construed as falling within the scope of the present invention.

100: CAN 통신 기반 ECU
200: 게이트웨이
210: 메시지 중재부
211: CAN 메시지 스키마 DB
212: CAN 메시지 파서
213: 상태정보 레지스트리
214: 레지스트리 스케쥴러
215: 메시지 등록부
216: 서비스 중재부
217: 서비스 레지스트리
220: CAN 컨트롤러
230: CAN 트랜시버
240: 이더넷 컨트롤러
250: 이더넷 트랜시버
300: 이더넷 통신 기반 ECU
100: CAN communication base ECU
200: Gateway
210: Message Intermediary
211: CAN message schema DB
212: CAN message parser
213: Status Information Registry
214: Registry Scheduler
215:
216: Service Intervention Unit
217: Service Registry
220: CAN controller
230: CAN transceiver
240: Ethernet controller
250: Ethernet transceiver
300: Ethernet communication based ECU

Claims (11)

CAN 통신 기반의 ECU로부터 주기적으로 CAN 메시지를 수신하면, 수신된 CAN 메시지의 구성 규칙을 파싱하고 그 파싱한 결과의 일부 또는 전체를 포함하는 상태 정보를 생성하는 CAN 메시지 파서;
생성된 상기 상태 정보를 저장하는 상태정보 레지스트리;
저장된 상기 상태 정보에 상응하는 메시지 서비스를 등록하는 상태조회 서비스 등록부; 및
이더넷 통신 기반의 ECU로부터 요청받은 메시지 서비스를 상기 메시지 등록부에 호출하여 그 호출한 결과로 상기 메시지 서비스에 상응하는 상태 정보를 반환 받고 반환 받은 상기 상태 정보를 상기 이더넷 통신 기반의 ECU에 제공하는 서비스 중재부;
를 포함하는 것을 특징으로 하는 CAN 통신 기반 ECU의 상태를 조회하기 위한 장치.
A CAN message parser that parses a configuration rule of a received CAN message upon receipt of a CAN message periodically from an ECU based on a CAN communication and generates status information including part or all of the parsed result;
A status information registry for storing the generated status information;
A status inquiry service registration unit for registering a message service corresponding to the stored status information; And
A service intervention for calling the message service requested from the Ethernet communication-based ECU in the message registration unit, returning status information corresponding to the message service as a result of the calling, and providing the returned status information to the Ethernet communication-based ECU part;
Based on the CAN status of the CAN communication-based ECU.
제1 항에 있어서,
적어도 하나의 CAN 메시지의 구성 규칙을 저장하는 CAN 메시지 스키마 DB를 더 포함하고,
상기 CAN 메시지 파서는 상기 CAN 메시지 스키마 DB를 기반으로 상기 수신된 CAN 메시지의 구성 규칙을 파싱하고, 그 파싱한 결과로 상기 수신된 CAN 메시지를 각 필드별로 분리하는 것을 특징으로 하는 CAN 통신 기반 ECU의 상태를 조회하기 위한 장치.
The method according to claim 1,
Further comprising a CAN message schema DB storing configuration rules of at least one CAN message,
Wherein the CAN message parser parses the configuration rule of the received CAN message based on the CAN message schema DB and separates the received CAN message for each field as a result of the parsing. Device for querying status.
제1 항에 있어서,
상기 CAN 메시지 파서는,
상기 수신된 CAN 메시지의 구성 규칙을 파싱하면, 현재 시각과 수신 주기를 고려하여 유효시간 스탬프를 산출하고
그 산출된 유효시간 스탬프와 상기 파싱한 결과의 일부 또는 전체를 포함하는 상태 정보를 생성하는 것을 특징으로 하는 CAN 통신 기반 ECU의 상태를 조회하기 위한 장치.
The method according to claim 1,
The CAN message parser,
When the configuration rule of the received CAN message is parsed, an effective time stamp is calculated in consideration of the current time and the reception period
And generates status information including the calculated effective time stamp and part or all of the parsed result.
제1 항에 있어서,
상기 상태정보 레지스트리에 저장된 상기 상태 정보를 관리하는 레지스트리 스케쥴러를 더 포함하고,
상기 레지스트리 스케쥴러는 상기 상태정보 레지스트리에 저장된 상기 상태 정보가 있으면 해당 상태 정보가 수신 주기에 따라 유효시간 내에 있는지를 확인하고,
그 확인한 결과로 해당 상태 정보가 유효시간 내에 있으면, 해당 상태 정보에 상응하는 메시지 서비스가 상기 상태조회 서비스 등록부에 등록되어 있는지를 확인하며,
해당 메시지 서비스가 상기 상태조회 서비스 등록부에 등록되어 있지 않으면, 해당 메시지 서비스를 등록하는 것을 특징으로 하는 CAN 통신 기반 ECU의 상태를 조회하기 위한 장치.
The method according to claim 1,
And a registry scheduler for managing the status information stored in the status information registry,
The registry scheduler checks if the status information stored in the status information registry is within a valid period according to a reception period,
If the status information is within the valid period as a result of the checking, it is confirmed whether or not the message service corresponding to the status information is registered in the status inquiry service registration unit,
And registers the corresponding message service if the corresponding message service is not registered in the status inquiry service registration unit.
제4 항에 있어서,
상기 레지스트리 스케쥴러는,
그 확인한 결과로 해당 상태 정보가 유효시간 내에 있지 않으면, 해당 상태 정보를 상기 상태정보 레지스트리에서 삭제하고 해당 상태 정보에 상응하는 메시지 서비스를 상기 상태조회 서비스 등록부에서 삭제하는 것을 특징으로 하는 CAN 통신 기반 ECU의 상태를 조회하기 위한 장치.
5. The method of claim 4,
Wherein the registry scheduler comprises:
And deletes the corresponding state information from the state information registry and deletes the message service corresponding to the corresponding state information from the state inquiry service registration unit if the corresponding state information is not within the valid time as a result of the checking. And the status of the device.
제4 항에 있어서,
상기 상태조회 서비스 등록부에 등록된 메시지 서비스에 대한 정보를 기록하는 서비스 레지스트리를 더 포함하고,
상기 이더넷 통신 기반의 ECU는 상기 서비스 레지스트리를 기반으로 필요한 메시지 서비스를 조회하는 것을 특징으로 하는 CAN 통신 기반 ECU의 상태를 조회하기 위한 장치.
5. The method of claim 4,
And a service registry for recording information on the message service registered in the status inquiry service registration unit,
Wherein the Ethernet communication-based ECU inquires a necessary message service based on the service registry.
CAN 통신 기반의 ECU로부터 주기적으로 CAN 메시지를 수신하면, 수신된 CAN 메시지의 구성 규칙을 파싱하고 그 파싱한 결과의 일부 또는 전체를 포함하는 상태 정보를 생성하는 단계;
생성된 상기 상태 정보를 상태정보 레지스트리에 저장하는 단계;
저장된 상기 상태 정보에 상응하는 메시지 서비스를 상태조회 서비스 등록부에 등록하는 단계; 및
이더넷 통신 기반의 ECU로부터 요청받은 메시지 서비스를 상기 메시지 등록부에 호출하여 그 호출한 결과로 상기 메시지 서비스에 상응하는 상태 정보를 반환 받고 반환 받은 상기 상태 정보를 상기 이더넷 통신 기반의 ECU에 제공하는 단계;
를 포함하는 것을 특징으로 하는 CAN 통신 기반 ECU의 상태를 조회하기 위한 방법.
Upon receipt of a CAN message periodically from an ECU based on a CAN communication, parsing a configuration rule of the received CAN message and generating status information including part or all of the result of the parsing;
Storing the generated status information in a status information registry;
Registering a message service corresponding to the stored status information in a status inquiry service registration unit; And
The method comprising: calling a message service requested from an Ethernet communication-based ECU in the message registration unit, returning status information corresponding to the message service as a result of the calling, and providing the returned status information to the Ethernet communication-based ECU;
Wherein the CAN communication-based ECU is configured to determine the state of the CAN communication-based ECU.
제7 항에 있어서,
상기 생성하는 단계는,
상기 CAN 통신 기반의 ECU로부터 CAN 메시지를 수신하면, 적어도 하나의 CAN 메시지의 구성 규칙을 저장하고 있는 CAN 메시지 스키마 DB를 기반으로 상기 수신된 CAN 메시지의 구성 규칙을 파싱하고, 그 파싱한 결과로 상기 수신된 CAN 메시지를 각 필드별로 분리하는 것을 특징으로 하는 CAN 통신 기반 ECU의 상태를 조회하기 위한 방법.
8. The method of claim 7,
Wherein the generating comprises:
Upon receipt of the CAN message from the CAN communication-based ECU, parses the configuration rule of the received CAN message based on the CAN message schema DB storing configuration rules of at least one CAN message, And the received CAN message is separated for each field.
제7 항에 있어서,
상기 생성하는 단계는,
상기 수신된 CAN 메시지의 구성 규칙을 파싱하면, 현재 시각과 수신 주기를 고려하여 유효시간 스탬프를 산출하고
그 산출된 유효시간 스탬프와 상기 파싱한 결과의 일부 또는 전체를 포함하는 상태 정보를 생성하는 것을 특징으로 하는 CAN 통신 기반 ECU의 상태를 조회하기 위한 방법.
8. The method of claim 7,
Wherein the generating comprises:
When the configuration rule of the received CAN message is parsed, an effective time stamp is calculated in consideration of the current time and the reception period
And generates status information including the calculated effective time stamp and part or all of the parsed result.
제7 항에 있어서,
상기 저장하는 단계는,
상기 상태정보 레지스트리에 저장된 상기 상태 정보가 있으면 해당 상태 정보가 수신 주기에 따라 유효시간 내에 있는지를 확인하는 단계;
그 확인한 결과로 해당 상태 정보가 유효시간 내에 있으면, 해당 상태 정보에 상응하는 메시지 서비스가 상기 상태조회 서비스 등록부에 등록되어 있는지를 확인하는 단계; 및
해당 메시지 서비스가 상기 상태조회 서비스 등록부에 등록되어 있지 않으면, 해당 메시지 서비스를 등록하는 단계;
를 더 포함하는 것을 특징으로 하는 CAN 통신 기반 ECU의 상태를 조회하기 위한 방법.
8. The method of claim 7,
Wherein the storing step comprises:
If the status information stored in the status information registry is present, checking whether the status information is within a valid period according to a reception period;
Checking whether a message service corresponding to the status information is registered in the status inquiry service registration unit if the status information is within a valid time as a result of the checking; And
Registering a corresponding message service if the message service is not registered in the status inquiry service registration unit;
Further comprising the steps of: determining whether the CAN communication-based ECU is in an active state;
제10 항에 있어서,
상기 저장하는 단계는,
그 확인한 결과로 해당 상태 정보가 유효시간 내에 있지 않으면, 해당 상태 정보를 상기 상태정보 레지스트리에서 삭제하는 단계; 및
해당 상태 정보에 상응하는 메시지 서비스를 상기 상태조회 서비스 등록부에서 삭제하는 단계;
를 더 포함하는 것을 특징으로 하는 CAN 통신 기반 ECU의 상태를 조회하기 위한 방법.
11. The method of claim 10,
Wherein the storing step comprises:
And deleting the corresponding status information from the status information registry if the status information is not within the valid period as a result of the checking; And
Deleting a message service corresponding to the status information from the status inquiry service registration unit;
Further comprising the steps of: determining whether the CAN communication-based ECU is in an active state;
KR1020120149108A 2012-12-20 2012-12-20 Apparatus for monitoring status of ecu based on can communication in heterogeneous network and method thereof KR101427871B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020120149108A KR101427871B1 (en) 2012-12-20 2012-12-20 Apparatus for monitoring status of ecu based on can communication in heterogeneous network and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020120149108A KR101427871B1 (en) 2012-12-20 2012-12-20 Apparatus for monitoring status of ecu based on can communication in heterogeneous network and method thereof

Publications (2)

Publication Number Publication Date
KR20140080838A true KR20140080838A (en) 2014-07-01
KR101427871B1 KR101427871B1 (en) 2014-08-08

Family

ID=51732267

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120149108A KR101427871B1 (en) 2012-12-20 2012-12-20 Apparatus for monitoring status of ecu based on can communication in heterogeneous network and method thereof

Country Status (1)

Country Link
KR (1) KR101427871B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101981138B1 (en) * 2018-03-22 2019-08-30 아주대학교산학협력단 Device and method for dividing a filed boundary of can trace
WO2023126677A1 (en) * 2021-12-30 2023-07-06 Real Innovations International Llc Systems, methods and computer program products for messaging in a heterogeneous environment
KR20230110826A (en) * 2017-01-05 2023-07-25 가드녹스 사이버 테크놀로지스 엘티디. Specially programmed computing systems with associated devices configured to implement centralized services ecu based on services oriented architecture and methods of use thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101206894B1 (en) * 2009-11-24 2012-11-30 한국전자통신연구원 Method and apparatus for transmission and conversion of ethernet-can frame
KR101082338B1 (en) * 2009-12-28 2011-11-10 전자부품연구원 Network integration device between media oriented systems transports (MOST) for vehicle, and method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230110826A (en) * 2017-01-05 2023-07-25 가드녹스 사이버 테크놀로지스 엘티디. Specially programmed computing systems with associated devices configured to implement centralized services ecu based on services oriented architecture and methods of use thereof
KR101981138B1 (en) * 2018-03-22 2019-08-30 아주대학교산학협력단 Device and method for dividing a filed boundary of can trace
WO2023126677A1 (en) * 2021-12-30 2023-07-06 Real Innovations International Llc Systems, methods and computer program products for messaging in a heterogeneous environment

Also Published As

Publication number Publication date
KR101427871B1 (en) 2014-08-08

Similar Documents

Publication Publication Date Title
CN104980519B (en) Multimachine room storage system
CN107508719B (en) Method and device for measuring network time delay and network node
CN108055343B (en) Data synchronization method and device for computer room
US20140222974A1 (en) Internet access method, terminal and storage medium
KR101400329B1 (en) Communication system
CN113596017B (en) Protocol analysis method and device, soft gateway and storage medium
JP2014508454A (en) Apparatus and method for receiving and forwarding data packets
WO2015131626A1 (en) Time synchronization method and apparatus for network devices and time synchronization server
KR101427871B1 (en) Apparatus for monitoring status of ecu based on can communication in heterogeneous network and method thereof
KR101809365B1 (en) Message Fragmentation Method using a MQTT Protocol in M2M/IoT Platforms
CN113259268A (en) Network port and serial port data forwarding gateway and method supporting redundancy architecture
US8199648B2 (en) Flow control in a variable latency system
US20150263948A1 (en) Device and method for retransmitting data in a network switch
EP4245020A1 (en) In-band edge-to-edge round-trip time measurement
US20140013007A1 (en) Access log management method
CN110545230B (en) Method and device for forwarding VXLAN message
CN112422485B (en) Communication method and device of transmission control protocol
JP2016515361A (en) Network transmission coordination based on transmission metadata provided by the application
US20130336129A1 (en) Multipurpose Use of Delay Measurement Message Buffer for Software Processing of Delay Measurement Response
CN113065953B (en) Futures relay trading system based on distribution type
KR20160110585A (en) Method for Defining Quality of Things based on DDS in Internet of Things
US9762678B2 (en) Method, apparatus and computer program for modifying an endpoint reference representing a web service endpoint
CN114615235A (en) Method, device and computer program product for managing addresses of devices in a network
JP4886420B2 (en) Relay connection unit
CN110602211B (en) Out-of-order RDMA method and device with asynchronous notification

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: 20170725

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20190725

Year of fee payment: 6