KR102016029B1 - Apparatus and method for distributing load of vehicle communication - Google Patents

Apparatus and method for distributing load of vehicle communication Download PDF

Info

Publication number
KR102016029B1
KR102016029B1 KR1020170153653A KR20170153653A KR102016029B1 KR 102016029 B1 KR102016029 B1 KR 102016029B1 KR 1020170153653 A KR1020170153653 A KR 1020170153653A KR 20170153653 A KR20170153653 A KR 20170153653A KR 102016029 B1 KR102016029 B1 KR 102016029B1
Authority
KR
South Korea
Prior art keywords
ecus
transmission time
data
signal
time
Prior art date
Application number
KR1020170153653A
Other languages
Korean (ko)
Other versions
KR20190056569A (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 KR1020170153653A priority Critical patent/KR102016029B1/en
Publication of KR20190056569A publication Critical patent/KR20190056569A/en
Application granted granted Critical
Publication of KR102016029B1 publication Critical patent/KR102016029B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40143Bus networks involving priority mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40052High-speed IEEE 1394 serial bus
    • H04L12/40058Isochronous transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/40273Bus for use in transportation systems the transportation system being a vehicle

Landscapes

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

Abstract

차량 통신의 부하 분산 장치가 개시된다. 구체적으로 부하 분산 장치는 본 발명의 일 측면에 따르면, 복수의 ECU(Electronic Control Unit) 각각의 데이터 전송 정보를 기반으로 복수의 ECU간의 데이터 전송 시간을 설정하는 전송 시간 설정 신호를 생성하는 데이터 전송 시간 설정부, 복수의 ECU의 시각을 동기화하는 시각 동기화 신호를 생성하는 시각 동기화부 및 생성된 전송 시간 설정 신호 및 시각 동기화 신호를 복수의 ECU에 전송하는 신호 전송부를 포함할 수 있다.A load balancing device for vehicle communication is disclosed. Specifically, the load balancer according to an aspect of the present invention, the data transmission time for generating a transmission time setting signal for setting the data transmission time between the plurality of ECU based on the data transmission information of each of a plurality of ECU (Electronic Control Unit) The apparatus may include a setting unit, a time synchronization unit generating a time synchronization signal for synchronizing the times of the plurality of ECUs, and a signal transmission unit transmitting the generated transmission time setting signal and the time synchronization signal to the plurality of ECUs.

Description

차량 통신의 부하 분산 장치 및 방법{APPARATUS AND METHOD FOR DISTRIBUTING LOAD OF VEHICLE COMMUNICATION}Load balancing device and method for vehicle communication {APPARATUS AND METHOD FOR DISTRIBUTING LOAD OF VEHICLE COMMUNICATION}

본 발명은 부하 분산 기술에 관한 것으로서, 구체적으로는 차량 통신에서 부하를 분산시키는 기술에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to load balancing technology, and more particularly, to a technology for load balancing in vehicle communication.

일반적으로 동일 주기 혹은 하모닉(Harmonic)한 주기가 매우 짧은 CAN 통신과 같은 통신 시스템에서는 특정 시간에 다수의 ECU(Electronic Control Unit)가 데이터를 전송하려고 하는 부하 집중 상황이 발생한다. 또한, 이러한 부하 집중 상황에서 각 데이터 간에 전송 우선 순위가 정해져 있는 경우에는 전송 우선 순위가 낮은 특정 데이터들의 전송 지연은 더 심해지는 문제가 발생할 수 있다.In general, in a communication system such as CAN communication having the same period or a very short harmonic period, a load concentration situation occurs in which a plurality of electronic control units (ECUs) try to transmit data at a specific time. In addition, when the transmission priority is determined between the data in such a load concentration situation, the transmission delay of specific data having a low transmission priority may be more severe.

따라서, 본 발명의 목적은 차량 통신에서 부하를 분산하는 기술을 제공하는 것이다. It is therefore an object of the present invention to provide a technique for distributing load in vehicle communication.

또한, 본 발명의 목적은 데이터의 우선 순위 등 데이터 전송 정보에 따른 부하 분산 기술을 제공하는 것이다.It is also an object of the present invention to provide a load balancing technique according to data transmission information such as data priority.

본 발명의 일 측면에 따르면, 복수의 ECU(120 ~160)(Electronic Control Unit) 각각의 데이터 전송 정보를 기반으로 복수의 ECU(120~160)간의 데이터 전송 시간을 설정하는 전송 시간 설정 신호를 생성하는 데이터 전송 시간 설정부, 복수의 ECU(120~160)의 시각을 동기화하는 시각 동기화 신호를 생성하는 시각 동기화부 및 생성된 전송 시간 설정 신호 및 시각 동기화 신호를 복수의 ECU(120~160)에 전송하는 신호 전송부를 포함하는 부하 분산 장치가 제공된다.According to an aspect of the present invention, based on the data transmission information of each of the plurality of ECU (120 ~ 160) (Electronic Control Unit) generates a transmission time setting signal for setting the data transmission time between the plurality of ECU (120 ~ 160) A data transmission time setting unit, a time synchronization unit for generating time synchronization signals for synchronizing the times of the plurality of ECUs 120 to 160, and the generated transmission time setting signals and the time synchronization signals to the plurality of ECUs 120 to 160. Provided is a load balancer including a signal transmitter for transmitting.

또한, 본 발명의 다른 측면에 따르면, 복수의 ECU(120~160) 각각의 데이터 전송 정보를 기반으로 복수의 ECU(120~160)간의 데이터 전송 시간을 설정하는 전송 시간 설정 신호를 생성하는 단계, 상복수의 ECU(120~160)의 시각을 동기화하는 시각 동기화 신호를 생성하는 단계 및 생성된 전송 시간 설정 신호 및 시각 동기화 신호를 복수의 ECU(120~160)에 전송하는 단계를 포함하는 부하 분산 방법이 제공된다.In addition, according to another aspect of the present invention, generating a transmission time setting signal for setting the data transmission time between the plurality of ECU (120 ~ 160) based on the data transmission information of each of the plurality of ECU (120 ~ 160), Generating a time synchronization signal for synchronizing the times of the plurality of ECUs 120 to 160 and transmitting the generated transmission time setting signal and the time synchronization signal to the plurality of ECUs 120 to 160. A method is provided.

본 발명의 실시예에 따르면, 차량 통신에서 부하를 분산시키는 것이 가능하게 된다.According to the embodiment of the present invention, it becomes possible to distribute the load in vehicle communication.

또한, 본 발명의 다른 실시예에 따르면, 데이터의 우선 순위 등 데이터 전송 정보에 따른 부하 분산이 가능하게 된다.In addition, according to another embodiment of the present invention, load balancing according to data transmission information such as data priority is possible.

도 1은 본 발명의 일 실시예에 따른 부하 분산 시스템의 구성도이다.
도 2는 본 발명의 일 실시예에 따른 부하 분산 장치의 블록도이다.
도 3은 본 발명의 일 실시예에 따른 부하 분산 방법의 흐름도이다.
도 4는 본 발명의 다른 실시예에 따른 부하 분산 방법의 흐름도이다.
도 5 내지 도 6은 본 발명의 따른 부하 분산의 효과를 설명하기 위한 도면이다.
도 7는 본 발명의 다른 실시예에 따른 부하 분산 장치의 블록도이다.
1 is a block diagram of a load balancing system according to an embodiment of the present invention.
2 is a block diagram of a load balancing device according to an embodiment of the present invention.
3 is a flowchart of a load balancing method according to an embodiment of the present invention.
4 is a flowchart of a load balancing method according to another embodiment of the present invention.
5 to 6 are diagrams for explaining the effect of load balancing according to the present invention.
7 is a block diagram of a load balancing device according to another embodiment of the present invention.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 이를 상세한 설명을 통해 상세히 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 본 발명을 설명함에 있어서, 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다. 또한, 본 명세서 및 청구항에서 사용되는 단수 표현은, 달리 언급하지 않는 한 일반적으로 "하나 이상"을 의미하는 것으로 해석되어야 한다.The present invention may be variously modified and have various embodiments, and specific embodiments will be illustrated in the drawings and described in detail with reference to the accompanying drawings. However, this is not intended to limit the present invention to specific embodiments, it should be understood to include all modifications, equivalents, and substitutes included in the spirit and scope of the present invention. In describing the present invention, when it is determined that the detailed description of the related known technology may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted. Also, the singular forms used in the specification and claims are to be interpreted as generally meaning "one or more", unless stated otherwise.

이하, 본 발명의 바람직한 실시예를 첨부도면을 참조하여 상세히 설명하기로 하며, 첨부 도면을 참조하여 설명함에 있어, 동일하거나 대응하는 구성 요소는 동일한 도면번호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings, in the following description with reference to the accompanying drawings, the same or corresponding components are given the same reference numerals and redundant description thereof will be omitted. Shall be.

도 1은 본 발명의 일 실시예에 따른 부하 분산 시스템의 구성도이다. 1 is a block diagram of a load balancing system according to an embodiment of the present invention.

도 1을 참조하면, 부하 분산 시스템(100)은 부하 분산 장치(110) 및 복수의 ECU(120~160)를 포함하며, 부하 분산 장치(110) 및 복수의 ECU(120~160)((Electronic Control Unit))는 CAN BUS와 같은 차량 통신 방법을 통해 상호 연결될 수 있다. 부하 분산 장치(110)는 복수의 ECU(120~160)의 데이터 전송 시간을 설정할 수 있다. 구체적으로, 부하 분산 장치(110)는 각 ECU(120~160)에서 전송하고자 하는 데이터의 사이즈, 전송 주기, 우선 순위 등의 데이터 전송 정보를 기반으로, 복수의 ECU(120~160) 각각의 데이터 전송 시간을 설정할 수 있다. 복수의 ECU(120~160) 각각은 설정된 데이터 전송 시간에 따라 차량 메시지 등의 데이터를 전송할 수 있다. Referring to FIG. 1, the load balancing system 100 includes a load balancer 110 and a plurality of ECUs 120 to 160, and includes a load balancer 110 and a plurality of ECUs 120 to 160 (Electronic Control Units) may be interconnected via a vehicle communication method such as CAN BUS. The load balancer 110 may set data transmission times of the plurality of ECUs 120 to 160. Specifically, the load balancer 110 is based on data transmission information such as the size, transmission period, priority of the data to be transmitted from each ECU (120 ~ 160), the data of each of the plurality of ECU (120 ~ 160) You can set the transmission time. Each of the ECUs 120 to 160 may transmit data such as a vehicle message according to a set data transmission time.

도 2는 본 발명의 일 실시예에 따른 부하 분산 장치의 블록도이다. 2 is a block diagram of a load balancing device according to an embodiment of the present invention.

도 2를 참조하면, 부하 분산 장치(110)는 데이터 정보 수신부, 시간 동기화부, 데이터 전송 시간 설정부, 신호 전송부 및 이벤트 감지부를 포함할 수 있다. Referring to FIG. 2, the load balancer 110 may include a data information receiver, a time synchronizer, a data transmission time setting unit, a signal transmitter, and an event detector.

데이터 정보 수신부는 각 ECU(120~160)에서 전송하고자 하는 데이터의 사이즈, 전송 주기, 우선 순위 등을 포함하는 데이터 전송 정보를 각 ECU(120~160)로부터 수신할 수 있다.The data information receiver may receive data transmission information including the size, transmission period, priority, etc. of data to be transmitted from each ECU 120 to 160 from each ECU 120 to 160.

일 실시예에서, 데이터 정보 수신부는 재 전송 이벤트가 발생한 경우 각 ECU(120~160)의 데이터 전송 정보를 재 수신할 수 있다.In an embodiment, the data information receiver may re-receive data transmission information of each ECU 120 to 160 when a retransmission event occurs.

시각 동기화부는 시각 동기화 신호를 생성할 수 있다. 구체적으로, 시각 동기화부는 복수의 ECU(120~160)들의 시각을 동기화하기 위한 시각 동기화 신호를 생성할 수 있다. The time synchronization unit may generate a time synchronization signal. In detail, the time synchronization unit may generate a time synchronization signal for synchronizing the times of the plurality of ECUs 120 to 160.

데이터 전송 시간 설정부는 각 ECU(120~160)의 데이터 전송 시간을 설정한다. 구체적으로, 데이터 전송 시간 설정부는 데이터 전송 정보를 기반으로, 각 ECU(120~160)의 데이터 전송 시간을 설정하는 전송 시간 설정 신호를 생성할 수 있다.The data transmission time setting unit sets the data transmission time of each ECU 120 to 160. In detail, the data transmission time setting unit may generate a transmission time setting signal for setting a data transmission time of each ECU 120 to 160 based on the data transmission information.

일 실시예에서, 데이터 전송 시간 설정부는 각 ECU(120~160)에서 전송하고자 하는 데이터의 사이즈, 전송 주기, 우선 순위 등을 기반으로 각 ECU(120~160)의 데이터 전송 시간을 상이하게 설정할 수 있다. 예들 들어, 데이터 전송 시간 설정부는 ECU(120~160) 1이 데이터를 전송하는 제1 시점에서 미리 설정된 오프셋(offset)만큼 도과한 제2 시점에서 ECU(120~160) 2가 데이터를 전송하도록 ECU(120~160) 2의 데이터 전송 시간을 설정하는 전송 시간 설정 신호를 생성할 수 있다.According to an embodiment, the data transmission time setting unit may differently set the data transmission time of each ECU 120 to 160 based on the size, transmission period, priority, etc. of data to be transmitted from each ECU 120 to 160. have. For example, the data transmission time setting unit may allow the ECUs 120 to 160 to transmit data at a second time point at which the ECU 120 to 160 has exceeded a preset offset at a first time point for transmitting data. A transmission time setting signal for setting a data transmission time of 2 may be generated.

일 실시예에서, 데이터 전송 시간 설정부는 재 설정 이벤트가 발생한 경우, ECU(120~160)의 재부팅, 부하의 재 분산 필요, 데이터 전송 정보의 변동 등의 재 설정 이벤트 감지 결과를 기반으로 복수의 ECU(120~160)의 데이터 전송 시간을 재 설정하는 전송 시간 설정 신호를 생산할 수 있다. According to an embodiment, when a reset event occurs, the data transmission time setting unit may include a plurality of ECUs based on a reset event detection result such as rebooting of the ECUs 120 to 160, a need for redistributing loads, and a change in data transmission information. A transmission time setting signal for resetting the data transmission time of 120 to 160 may be produced.

신호 전송부는 시각 동기화 신호 및 전송 시간 설정 신호를 복수의 ECU(120~160)에 전송할 수 있다.The signal transmitter may transmit the time synchronization signal and the transmission time setting signal to the plurality of ECUs 120 to 160.

일 실시예에서, 신호 전송부는 재 전송 이벤트가 발생한 경우, 시각 동기화 신호 및 전송 시간 설정 신호 중 적어도 하나를 복수의 ECU(120~160)에 재 전송할 수 있다. According to an embodiment, when a retransmission event occurs, the signal transmitter may retransmit at least one of a time synchronization signal and a transmission time setting signal to the plurality of ECUs 120 to 160.

일 실시예에서, 신호 전송부는 재 설정 이벤트가 발생한 경우, 재 설정된 전송 시간 설정 신호를 복수의 ECU(120~160)에 전송할 수 있다.In one embodiment, when a reset event occurs, the signal transmitter may transmit the reset transmission time setting signals to the plurality of ECUs 120 to 160.

일 실시예에서, 신호 전송부는 전송 우선 순위가 높은 메시지를 이용하여, 시각 동기화 신호 및 전송 시간 설정 신호 중 적어도 하나를 송신할 수 있다.In one embodiment, the signal transmitter may transmit at least one of a time synchronization signal and a transmission time setting signal by using a message having a high transmission priority.

이벤트 감지부는 재 전송 이벤트 및 재 설정 이벤트를 감지한다. The event detector detects a retransmission event and a resetting event.

여기서, 재 전송 이벤트는 전송 시간 설정 신호에 따라 각 ECU(120~160)가 데이터를 전송한 경우 등 각 ECU(120~160)가 다음 데이터를 전송하기 위한 시각 동기화 신호가 필요한 경우를 의미할 수 있다.Here, the retransmission event may mean a case in which a time synchronization signal is required for each ECU 120 to 160 to transmit the next data, such as when each ECU 120 to 160 transmits data according to a transmission time setting signal. have.

재 설정 이벤트는 ECU(120~160)의 재부팅, 부하의 재 분산 필요, 데이터 전송 정보의 변동 등 기 설정된 데이터 전송 시간을 재 설정할 필요가 있는 경우를 의미할 수 있다. The reset event may refer to a case in which it is necessary to reset the preset data transmission time such as rebooting of the ECU 120 to 160, a need to redistribute the load, and a change in data transmission information.

도 3은 본 발명의 일 실시예에 따른 부하 분산 방법의 흐름도이다. 3 is a flowchart of a load balancing method according to an embodiment of the present invention.

이하, 상기 방법은 도 1에 도시된 부하 분산 시스템(100)에 의해 수행되는 것을 예시로 설명한다. Hereinafter, the method will be described by way of example performed by the load balancing system 100 shown in FIG.

도 3을 참조하면, 각 ECU(120~160)는 차량의 시동시 턴 온되어 리셋되며, 데이터 전송을 준비하게 된다(S310). 부하 분산 장치(110)는 데이터 전송 정보를 기반으로 각 ECU(120~160)의 데이터 전송 시간을 설정하는 전송 시간 설정 신호를 생성하고, 생성된 전송 시간 설정 신호를 복수의 ECU(120~160)에 전송한다(S320). 각 ECU(120~160)는 부하 분산 장치(110)로부터 수신된 전송 시산 설정 신호에 따라 자신의 데이터 전송 시점에 데이터를 전송하게 된다(S340). 이후, 부하 분산 장치(110)는 각 ECU(120~160)의 데이터 전송 시점을 재 설정할 필요성인 재 설정 이벤트 또는 시각 동기화 신호를 재 전송할 필요성인 재 전송 이벤트의 발생 여부를 감지하고, 재 설정 이벤트가 발생하면 단계 S320에 따라 데이터 전송 시간을 다시 설정하거나 시간 동기화 신호를 다시 전송한다.Referring to FIG. 3, each ECU 120 to 160 is turned on and reset when the vehicle starts up, and prepares for data transmission (S310). The load balancer 110 generates a transmission time setting signal for setting a data transmission time of each ECU 120 to 160 based on the data transmission information, and generates the generated transmission time setting signals for the plurality of ECUs 120 to 160. It transmits to (S320). Each ECU 120 to 160 transmits data at its own data transmission time point according to the transmission time setting signal received from the load balancing device 110 (S340). Subsequently, the load balancer 110 detects whether a reset event, which is a necessity of resetting a data transmission time point of each ECU 120 to 160, or a retransmission event, which is a necessity to retransmit a time synchronization signal, occurs, and resets the event. If occurs, the data transmission time is reset or the time synchronization signal is transmitted again according to the step S320.

도 4는 본 발명의 다른 실시예에 따른 부하 분산 방법의 흐름도이다. 4 is a flowchart of a load balancing method according to another embodiment of the present invention.

이하, 상기 도시된 방법은 도 1에 도시된 부하 분산 장치(110)에 의해 수행되는 것을 예시로 설명한다.Hereinafter, the illustrated method will be described by way of example performed by the load balancer 110 shown in FIG.

도 4를 참조하면, 단계 S410에서 부하 분산 장치(110)는 각 ECU(120~160)가 데이터를 전송하기 위해 기준 시간이 되는 시간 동기화 신호를 생성할 수 있다. Referring to FIG. 4, in operation S410, the load balancer 110 may generate a time synchronization signal that becomes a reference time for each ECU 120 to 160 to transmit data.

단계 S420에서, 부하 분산 장치(110)는 각 ECU(120~160) 또는 외부 장치로부터 각 ECU(120~160)에서 전송하고자 하는 데이터의 사이즈, 전송 주기, 우선 순위 등의 데이터 전송 정보를 수신할 수 있다. In operation S420, the load balancer 110 may receive data transmission information such as the size, transmission period, and priority of data to be transmitted from each ECU 120 to 160 from each ECU 120 to 160 or an external device. Can be.

단계 S430에서, 부하 분산 장치(110)는 수신된 데이터 전송 정보를 기반으로 각 ECU(120~160)의 데이터 전송 시간을 상이하게 설정하는 전송 시간 설정 신호를 생성할 수 있다. In operation S430, the load balancer 110 may generate a transmission time setting signal for differently setting the data transmission time of each ECU 120 to 160 based on the received data transmission information.

단계 S440에서, 부하 분산 장치(110)는 생성된 시각 동기화 신호 및 전송 시간 설정 신호를 복수의 ECU(120~160)에 전송할 수 있다. In operation S440, the load balancer 110 may transmit the generated time synchronization signal and the transmission time setting signal to the plurality of ECUs 120 to 160.

단계 S450에서, 부하 분산 장치(110)는 재 전송 이벤트 또는 재 설정 이벤트 발생 여부를 감지할 수 있다. In operation S450, the load balancer 110 may detect whether a retransmission event or a reset event occurs.

단계 S460에서, 부하 분산 장치(110)는 전송 시간 재 설정 이벤트가 발생하면 단계 S410를 거쳐 시각 동기화 신호를 재 생성하거나 전송 시간 설정 신호를 재 생성할 수 있다. 또한, 부하 분산 장치(110)는 전송 시간 재 설정 이벤트가 아닌 재 전송 이벤트가 발생한 경우에는 단계 S440에 따라 시간 동기화 신호 및 전송 시간 설정 신호 중 적어도 하나를 다시 전송할 수 있다.In operation S460, when the transmission time resetting event occurs, the load balancer 110 may regenerate the time synchronization signal or regenerate the transmission time setting signal through step S410. In addition, when a retransmission event other than the transmission time resetting event occurs, the load balancer 110 may retransmit at least one of a time synchronization signal and a transmission time setting signal according to step S440.

도 5 내지 도 6은 본 발명의 따른 부하 분산의 효과를 설명하기 위한 도면이다. 5 to 6 are diagrams for explaining the effect of load balancing according to the present invention.

도 5는 각 ECU(120~160)의 데이터 전송 시간이 상이하게 설정되지 않은 경우의 데이터 전송을 도시한 도면이며, 도 6은 본 발명의 일 실시예에 따른 부하 분산 방법이 적용된 경우의 데이터 전송을 도시한 도면이다. 도 5를 참조하면, 복수의 ECU(120~160) 각각은 10ms에서 데이터 0x101, 0x202 및 0x303을 전송하고자 한다. 그러나, CAN BUS의 채널 용량이 상기 데이터를 한 번에 전송할 수 없으므로, 각 데이터는 우선 순위에 따라 순차적으로 지연되어 전송된다. 이러한 현상은 20ms에서 5개의 데이터가 한번에 전송되는 경우에는 특정 데이터(0x202, 0x303)들은 더 많은 전송 지연이 발생하는 문제가 생겨난다. 따라서, 이러한 전송 지연을 해결하기 위한 본 발명의 일 실시예에 따른 부하 지연 방법이 적용된 도 7을 참조하면, 각 ECU(120~160)가 데이터를 전송하는 시점이 서로 상이하게 설정되어 있으므로, 각 ECU(120~160)가 전송하는 데이터는 지연 없이 전송될 수 있다. 5 is a diagram illustrating data transmission when data transmission times of ECUs 120 to 160 are not set differently. FIG. 6 is a diagram illustrating data transmission when a load balancing method according to an embodiment of the present invention is applied. Figure is a diagram. Referring to FIG. 5, each of the plurality of ECUs 120 to 160 intends to transmit data 0x101, 0x202, and 0x303 in 10 ms. However, since the channel capacity of the CAN BUS cannot transmit the data at one time, each data is sequentially delayed and transmitted according to the priority. This phenomenon causes a problem that more transmission delay occurs for specific data (0x202, 0x303) when five data are transmitted at a time of 20ms. Therefore, referring to FIG. 7 to which a load delay method according to an embodiment of the present invention is applied to solve such a transmission delay, since each ECU 120 to 160 transmits data at different times, Data transmitted by the ECUs 120 to 160 may be transmitted without delay.

도 7는 본 발명의 다른 실시예에 따른 부하 분산 장치의 블록도이다.7 is a block diagram of a load balancing device according to another embodiment of the present invention.

이상 상술한 본 발명의 실시 예들은, 컴퓨터 시스템 내에, 예를 들어, 컴퓨터 판독가능 기록 매체로 구현될 수 있다. 도 7에 도시된 바와 같이, 부하 부산 장치(110) 등의 컴퓨터 시스템(700)은 하나 이상의 프로세서(710), 메모리(720), 저장부(730), 사용자 인터페이스 입력부(740) 및 사용자 인터페이스 출력부(750) 중 적어도 하나 이상의 요소를 포함할 수 있으며, 이들은 버스(760)를 통해 서로 통신할 수 있다. 또한, 컴퓨터 시스템(700)은 네트워크에 접속하기 위한 네트워크 인터페이스(770)를 또한 포함할 수 있다. 프로세서(710)는 메모리(720) 및/또는 저장소(730)에 저장된 처리 명령어를 실행시키는 CPU 또는 반도체 소자일 수 있다. 메모리(720) 및 저장부(730)는 다양한 유형의 휘발성/비휘발성 기억 매체를 포함할 수 있다. 예를 들어, 메모리는 ROM(724) 및 RAM(725)을 포함할 수 있다. Embodiments of the present invention described above may be implemented in a computer system, for example, a computer readable recording medium. As shown in FIG. 7, computer system 700, such as load balancing device 110, may include one or more processors 710, memory 720, storage 730, user interface input 740, and user interface output. At least one or more elements of unit 750 may be included, and they may be in communication with each other via bus 760. In addition, computer system 700 may also include a network interface 770 for connecting to a network. The processor 710 may be a CPU or semiconductor device that executes processing instructions stored in the memory 720 and / or the storage 730. The memory 720 and the storage 730 may include various types of volatile / nonvolatile storage media. For example, the memory may include a ROM 724 and a RAM 725.

이에 따라, 본 발명의 실시 예들은 컴퓨터로 구현되는 방법 또는 컴퓨터 실행 가능 명령어들이 저장된 비휘발성 컴퓨터 기록 매체로 구현될 수 있다. 상기 명령어들은 프로세서에 의해 실행될 때 본 발명의 적어도 일 실시 예에 따른 방법을 수행할 수 있다.Accordingly, embodiments of the present disclosure may be implemented as a computer-implemented method or a nonvolatile computer recording medium storing computer executable instructions. When executed by a processor, the instructions may perform a method according to at least one embodiment of the present disclosure.

이제까지 본 발명에 대하여 그 실시예들을 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.So far, the present invention has been described with reference to the embodiments. Those skilled in the art will appreciate that the present invention can be implemented in a modified form without departing from the essential features of the present invention. Therefore, the disclosed embodiments should be considered in descriptive sense only and not for purposes of limitation. The scope of the present invention is shown in the claims rather than the foregoing description, and all differences within the scope will be construed as being included in the present invention.

Claims (16)

복수의 ECU(Electronic Control Unit) 각각의 데이터 전송 정보를 기반으로 상기 복수의 ECU 각각의 데이터 전송 시간을 설정하는 전송 시간 설정 신호를 생성하는 데이터 전송 시간 설정부;
상기 복수의 ECU의 시각을 동기화하는 시각 동기화 신호를 생성하는 시각 동기화부; 및
생성된 전송 시간 설정 신호 및 시각 동기화 신호를 상기 복수의 ECU에 전송하는 신호 전송부를 포함하되,
상기 시각 동기화 신호는,
상기 복수의 ECU 중 어느 하나의 ECU가 주기적으로 데이터를 전송하고자 하는 시점에 상기 복수의 ECU 중 다른 ECU 각각의 시각이 동기화되는 신호이고,
상기 전송 시간 설정 신호는,
상기 어느 하나의 ECU가 상기 주기적으로 데이터를 전송하고자 하는 시점에 상기 어느 하나의 ECU가 데이터 전송을 하도록 상기 어느 하나의 ECU의 데이터 전송 시간이 설정된 신호이고, 동기화된 시각에서 상기 다른 ECU마다 미리 설정된 오프셋(Offset)만큼 도과된 시점에 상기 다른 ECU 각각이 데이터 전송을 하도록 상기 다른 ECU 각각의 데이터 전송 시간이 설정된 신호이고,
상기 오프셋은,
상기 복수의 ECU 각각이 데이터를 전송하고자 하는 시점 간의 간격이 일정하도록 설정되는 부하 분산 장치.
A data transmission time setting unit generating a transmission time setting signal for setting a data transmission time of each of the plurality of ECUs based on data transmission information of each of a plurality of ECUs;
A time synchronization unit generating time synchronization signals for synchronizing the times of the plurality of ECUs; And
A signal transmitter for transmitting the generated transmission time setting signal and the time synchronization signal to the plurality of ECUs,
The time synchronization signal,
A signal in which the time of each of the other ECUs of the plurality of ECUs is synchronized at a time point at which one of the plurality of ECUs periodically wants to transmit data,
The transmission time setting signal,
It is a signal in which the data transmission time of one of the ECUs is set so that one ECU transmits data at a time point at which the one ECU wants to periodically transmit data, and is preset for each other ECU at a synchronized time. A data transmission time of each of the other ECUs is set so that each of the other ECUs transmits data at the time when the offset is exceeded.
The offset is,
The load balancing device is set such that each of the plurality of ECUs has a constant interval between time points to transmit data.
제 1 항에 있어서,
상기 데이터 전송 정보는,
데이터의 사이즈, 전송 주기 및 우선 순위 중 적어도 하나를 포함하되,
상기 데이터 전송 시간 설정부는,
상기 데이터의 사이즈, 전송 주기 및 우선 순위 중 적어도 하나를 기반으로 각 ECU의 데이터 전송 시점을 상이하게 설정하는 것을 특징으로 하는 부하 분산 장치.
The method of claim 1,
The data transmission information,
At least one of a size, a transmission period, and a priority of the data,
The data transmission time setting unit,
And a data transmission time point of each ECU is set differently based on at least one of the size, transmission period and priority of the data.
제 1 항에 있어서,
재 전송 이벤트 발생을 감지하는 이벤트 감지부를 더 포함하되,
상기 신호 전송부는,
상기 생성된 전송 시간 설정 신호 및 시각 동기화 신호를 상기 복수의 ECU에 전송한 후, 상기 재 전송 이벤트가 감지되면 상기 생성된 전송 시간 설정 신호 및 시각 동기화 신호 중 적어도 하나를 상기 복수의 ECU에 재 전송하는 것을 특징으로 하는 부하 분산 장치.
The method of claim 1,
Further comprising an event detector for detecting the occurrence of the retransmission event,
The signal transmission unit,
After transmitting the generated transmission time setting signal and the time synchronization signal to the plurality of ECUs, if the retransmission event is detected, at least one of the generated transmission time setting signal and the time synchronization signal is retransmitted to the plurality of ECUs. A load balancer, characterized in that.
제 3 항에 있어서,
상기 재 전송 이벤트는,
상기 복수의 ECU 각각이 상기 생성된 전송 시간 설정 신호에 따른 전송 시간에 데이터 전송을 한 것을 특징으로 하는 부하 분산 장치.
The method of claim 3, wherein
The retransmission event,
And each of the plurality of ECUs transmits data at a transmission time according to the generated transmission time setting signal.
제 1 항에 있어서,
재 설정 이벤트 발생을 감지하는 이벤트 감지부를 더 포함하되,
상기 데이터 전송 시간 설정부는,
재 설정 이벤트가 감지되면, 재 설정 이벤트 감지 결과를 기반으로 상기 복수의 ECU의 전송 시간 설정 신호를 재 설정하고,
상기 신호 전송부는,
재 설정된 전송 시간 설정 신호를 상기 복수의 ECU에 전송하는 것을 특징으로 하는 부하 분산 장치.
The method of claim 1,
Further comprising an event detector for detecting the occurrence of a reset event,
The data transmission time setting unit,
When a reset event is detected, the transmission time setting signals of the plurality of ECUs are reset based on the reset event detection result.
The signal transmission unit,
And a reset transmission time setting signal is transmitted to the plurality of ECUs.
제 5 항에 있어서,
상기 재 설정 이벤트는,
상기 ECU의 재부팅, 부하의 재 분산 필요 및 상기 데이터 전송 정보의 변동 중 적어도 하나인 것을 특징으로 하는 부하 분산 장치.
The method of claim 5,
The reset event,
And at least one of a reboot of the ECU, a need to redistribute the load, and a change in the data transmission information.
제 1 항에 있어서,
상기 신호 전송부는,
전송 우선 순위가 높은 메시지를 이용하여, 상기 생성된 전송 시간 설정 신호 및 시각 동기화 신호를 상기 복수의 ECU에 전송하는 것을 특징으로 하는 부하 분산 장치.
The method of claim 1,
The signal transmission unit,
And transmitting the generated transmission time setting signal and the time synchronization signal to the plurality of ECUs by using a message having a high transmission priority.
제 1 항에 있어서,
상기 복수의 ECU부터 상기 데이터 전송 정보를 수신하는 데이터 전송 정보 수신부를 더 포함하는 것을 특징으로 하는 부하 분산 장치.
The method of claim 1,
And a data transmission information receiver configured to receive the data transmission information from the plurality of ECUs.
복수의 ECU 각각의 데이터 전송 정보를 기반으로 상기 복수의 ECU간의 데이터 전송 시간을 설정하는 전송 시간 설정 신호를 생성하는 단계;
상기 복수의 ECU의 시각을 동기화하는 시각 동기화 신호를 생성하는 단계; 및
생성된 전송 시간 설정 신호 및 시각 동기화 신호를 상기 복수의 ECU에 전송하는 단계를 포함하되,
상기 시각 동기화 신호는,
상기 복수의 ECU 중 어느 하나의 ECU가 주기적으로 데이터를 전송하고자 하는 시점에 상기 복수의 ECU 중 다른 ECU 각각의 시각이 동기화되는 신호이고,
상기 전송 시간 설정 신호는,
상기 어느 하나의 ECU가 상기 주기적으로 데이터를 전송하고자 하는 시점에 상기 어느 하나의 ECU가 데이터 전송을 하도록 상기 어느 하나의 ECU의 데이터 전송 시간이 설정된 신호이고, 동기화된 시각에서 상기 다른 ECU마다 미리 설정된 오프셋(Offset)만큼 도과된 시점에 상기 다른 ECU 각각이 데이터 전송을 하도록 상기 다른 ECU 각각의 데이터 전송 시간이 설정된 신호이고,
상기 오프셋은,
상기 복수의 ECU 각각이 데이터를 전송하고자 하는 시점 간의 간격이 일정하도록 설정되는 부하 분산 방법.
Generating a transmission time setting signal for setting a data transmission time between the plurality of ECUs based on data transmission information of each of the plurality of ECUs;
Generating a time synchronization signal for synchronizing the times of the plurality of ECUs; And
Transmitting the generated transmission time setting signal and the time synchronization signal to the plurality of ECUs,
The time synchronization signal,
A signal in which the time of each of the other ECUs of the plurality of ECUs is synchronized at a time point at which one of the plurality of ECUs periodically wants to transmit data,
The transmission time setting signal,
It is a signal in which the data transmission time of one of the ECUs is set so that one ECU transmits data at a time point at which the one ECU wants to periodically transmit data, and is preset for each other ECU at a synchronized time. A data transmission time of each of the other ECUs is set so that each of the other ECUs transmits data at the time when the offset is exceeded.
The offset is,
And each of the plurality of ECUs is set to have a constant interval between time points at which data is to be transmitted.
제 9 항에 있어서,
상기 데이터 전송 정보는,
데이터의 사이즈, 전송 주기 및 우선 순위 중 적어도 하나를 포함하되,
상기 전송 시간 설정 신호를 생성하는 단계는,
상기 데이터의 사이즈, 전송 주기 및 우선 순위 중 적어도 하나를 기반으로 각 ECU의 데이터 전송 시점을 상이하게 설정하는 것을 특징으로 하는 부하 분산 방법.
The method of claim 9,
The data transmission information,
At least one of a size, a transmission period, and a priority of the data,
Generating the transmission time setting signal,
And differently setting data transmission time points of the respective ECUs based on at least one of the size, transmission period, and priority of the data.
제 9 항에 있어서,
재 전송 이벤트 발생을 감지하는 단계를 더 포함하되,
상기 복수의 ECU에 전송하는 단계는,
상기 생성된 전송 시간 설정 신호 및 시각 동기화 신호를 상기 복수의 ECU에 전송한 후, 상기 재 전송 이벤트가 감지되면 상기 생성된 전송 시간 설정 신호 및 시각 동기화 신호 중 적어도 하나를 상기 복수의 ECU에 재 전송하는 것을 특징으로 하는 부하 분산 방법.
The method of claim 9,
Detecting the occurrence of a retransmission event,
The transmitting to the plurality of ECUs,
After transmitting the generated transmission time setting signal and the time synchronization signal to the plurality of ECUs, if the retransmission event is detected, at least one of the generated transmission time setting signal and the time synchronization signal is retransmitted to the plurality of ECUs. Load balancing method characterized in that.
제 11 항에 있어서,
상기 재 전송 이벤트는,
상기 복수의 ECU 각각이 상기 생성된 전송 시간 설정 신호에 따른 전송 시간에 데이터 전송을 한 것을 특징으로 하는 부하 분산 방법.
The method of claim 11,
The retransmission event,
And each of the plurality of ECUs transmits data at a transmission time according to the generated transmission time setting signal.
제 9 항에 있어서,
재 설정 이벤트 발생을 감지하는 이벤트 감지부를 더 포함하되,
상기 전송 시간 설정 신호를 생성하는 단계는,
재 설정 이벤트가 감지되면, 재 설정 이벤트 감지 결과를 기반으로 상기 복수의 ECU의 전송 시간 설정 신호를 재 설정하고,
상기 복수의 ECU에 전송하는 단계는,
재 설정된 전송 시간 설정 신호를 상기 복수의 ECU에 전송하는 것을 특징으로 하는 부하 분산 방법.
The method of claim 9,
Further comprising an event detector for detecting the occurrence of a reset event,
Generating the transmission time setting signal,
When a reset event is detected, the transmission time setting signals of the plurality of ECUs are reset based on the reset event detection result.
The transmitting to the plurality of ECUs,
And transmitting a reset transmission time setting signal to the plurality of ECUs.
제 13 항에 있어서,
상기 재 설정 이벤트는,
상기 ECU의 재부팅, 부하의 재 분산 필요 및 상기 데이터 전송 정보의 변동 중 적어도 하나인 것을 특징으로 하는 부하 분산 방법.
The method of claim 13,
The reset event,
At least one of a reboot of the ECU, a need to redistribute the load, and a change in the data transmission information.
제 9 항에 있어서,
상기 복수의 ECU에 전송하는 단계는,
전송 우선 순위가 높은 메시지를 이용하여, 상기 생성된 전송 시간 설정 신호 및 시각 동기화 신호를 상기 복수의 ECU에 전송하는 것을 특징으로 하는 부하 분산 방법.
The method of claim 9,
The transmitting to the plurality of ECUs,
And transmitting the generated transmission time setting signal and the time synchronization signal to the plurality of ECUs by using a message having a high transmission priority.
제 9 항에 있어서,
상기 복수의 ECU부터 상기 데이터 전송 정보를 수신하는 단계를 더 포함하는 부하 분산 방법.
The method of claim 9,
And receiving the data transmission information from the plurality of ECUs.
KR1020170153653A 2017-11-17 2017-11-17 Apparatus and method for distributing load of vehicle communication KR102016029B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020170153653A KR102016029B1 (en) 2017-11-17 2017-11-17 Apparatus and method for distributing load of vehicle communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170153653A KR102016029B1 (en) 2017-11-17 2017-11-17 Apparatus and method for distributing load of vehicle communication

Publications (2)

Publication Number Publication Date
KR20190056569A KR20190056569A (en) 2019-05-27
KR102016029B1 true KR102016029B1 (en) 2019-08-29

Family

ID=66679164

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170153653A KR102016029B1 (en) 2017-11-17 2017-11-17 Apparatus and method for distributing load of vehicle communication

Country Status (1)

Country Link
KR (1) KR102016029B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101654720B1 (en) * 2015-09-08 2016-09-07 인천대학교 산학협력단 A method for controlling can by can coordinator

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101165046B1 (en) * 2010-09-13 2012-07-13 주식회사 만도 Controller area network-bus controlling module and the controlling mehod therof
KR101714085B1 (en) * 2011-11-28 2017-03-09 현대자동차주식회사 Communication schedule set up method for vehicle using flexray communication

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101654720B1 (en) * 2015-09-08 2016-09-07 인천대학교 산학협력단 A method for controlling can by can coordinator

Also Published As

Publication number Publication date
KR20190056569A (en) 2019-05-27

Similar Documents

Publication Publication Date Title
CN108075934B (en) Network quality monitoring method, device and system
JP6370717B2 (en) Communication system, abnormality detection apparatus, and abnormality detection method
JPS62271540A (en) Method and apparatus for synchronizing clock of bus type local area network
US20150207877A1 (en) Time synchronization client, a system and a non-transitory computer readable medium
WO2014194616A1 (en) Systems and methods for data transmission
EP3082282A1 (en) Method for time synchronization
CN110855980B (en) Sensing data processing method, system, device and storage medium
US20190155662A1 (en) Information processing system and data processing method
CN108235800B (en) Network fault detection method, control center equipment and computer storage medium
KR102016029B1 (en) Apparatus and method for distributing load of vehicle communication
CN105490837A (en) Network monitoring processing method and device
CN114896110A (en) Link detection method, device, equipment and storage medium
JP2008217118A (en) Log file management device, log file transmission device, log file management method, log file transmission method and program
JP7147635B2 (en) Unauthorized transmission data detector
CN110321261B (en) Monitoring system and monitoring method
US10419363B2 (en) Network device, communication method, and recording medium
US10674392B2 (en) Communication device, communication system, communication method, and recording medium having communication program recorded thereon
CN113630282B (en) Method and device for detecting server state
JP5082147B2 (en) Multi-node system, inter-node switch, and data relay method
US11804977B2 (en) Monitoring controller area network (CAN) XL nodes
WO2017068663A1 (en) Communication device, communication method, and communication program
JP5884918B2 (en) Network management apparatus, system, and method
CN114338357B (en) Method and device for transmitting data message in network
US11991022B2 (en) Monitoring controller area network (CAN) XL nodes
KR101333950B1 (en) Software watchdog timer implementation device and method to enhance availability of set-top box

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