[go: up one dir, main page]

KR102126671B1 - Restoring apparatus for communication error using history queue and method thereof - Google Patents

Restoring apparatus for communication error using history queue and method thereof Download PDF

Info

Publication number
KR102126671B1
KR102126671B1 KR1020140029791A KR20140029791A KR102126671B1 KR 102126671 B1 KR102126671 B1 KR 102126671B1 KR 1020140029791 A KR1020140029791 A KR 1020140029791A KR 20140029791 A KR20140029791 A KR 20140029791A KR 102126671 B1 KR102126671 B1 KR 102126671B1
Authority
KR
South Korea
Prior art keywords
message
transmission
queue
history queue
error
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
KR1020140029791A
Other languages
Korean (ko)
Other versions
KR20150107223A (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 KR1020140029791A priority Critical patent/KR102126671B1/en
Publication of KR20150107223A publication Critical patent/KR20150107223A/en
Application granted granted Critical
Publication of KR102126671B1 publication Critical patent/KR102126671B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

히스토리 큐를 이용한 통신 에러 복구 장치 및 그 방법에 대한 발명이 개시된다. 본 발명의 히스토리 큐를 이용한 통신 에러 복구 장치는 수신측으로부터 전송되는 에러 메시지를 수신하여 버퍼링 하는 수신버퍼와, 수신측으로 전송하기 위한 메시지를 버퍼링하는 송신버퍼와, 송신버퍼에 주기적으로 메시지를 전송하는 송신메시지 큐와, 송신메시지 큐에서 송신버퍼로 전송된 메시지를 저장하는 히스토리 큐 및 에러 메시지의 수신 여부에 따라 송신메시지 큐에서 송신버퍼로의 메시지 전송을 제어하고, 에러 메시지에 따라 히스토리 큐에 저장된 해당 메시지를 송신버퍼로 전송하는 통신제어부를 포함하는 것을 특징으로 한다.Disclosed is an apparatus for a communication error recovery apparatus and method using a history queue. The communication error recovery apparatus using the history queue of the present invention includes a reception buffer for receiving and buffering an error message transmitted from a receiving side, a transmitting buffer for buffering a message for transmission to the receiving side, and periodically transmitting a message to the transmitting buffer. Controls the transmission of messages from the transmission message queue to the transmission buffer according to whether or not an error message has been received, and the transmission message queue, the history queue storing messages transmitted from the transmission message queue to the transmission buffer, and stored in the history queue according to the error message. It characterized in that it comprises a communication control unit for transmitting the message to the transmission buffer.

Description

히스토리 큐를 이용한 통신 에러 복구 장치 및 그 방법{RESTORING APPARATUS FOR COMMUNICATION ERROR USING HISTORY QUEUE AND METHOD THEREOF}Communication error recovery device and method using history queue {RESTORING APPARATUS FOR COMMUNICATION ERROR USING HISTORY QUEUE AND METHOD THEREOF}

본 발명은 히스토리 큐를 이용한 통신 에러 복구 장치 및 그 방법에 관한 것으로서, 보다 상세하게는 차량 인포테인먼트(In-Vehicle Infortainment, IVI) 시스템을 구성하는 두 개 이상의 프로세스에서 비동기 직렬 통신(UART) 방식으로 메시지를 송수신하는 중 에러가 발생하면, 히스토리 큐를 이용하여 에러가 발생한 메시지를 재전송함으로써 시스템 성능을 향상시키는 히스토리 큐를 이용한 통신 에러 복구 장치 및 그 방법에 관한 것이다.
The present invention relates to a communication error recovery apparatus and method using a history queue, and more specifically, a message in an asynchronous serial communication (UART) method in two or more processes constituting an In-Vehicle Infortainment (IVI) system. When an error occurs while transmitting/receiving, the present invention relates to a communication error recovery apparatus and method using a history queue to improve system performance by retransmitting an error message using the history queue.

일반적으로 최근 출시되고 있는 대부분의 자동차는 차량 인포테인먼트(IVI : In-Vehicle Infortainment)시스템을 포함하고 있다.In general, most recently released vehicles include a vehicle infotainment (IVI) system.

차량 인포테인먼트 시스템은 차량 내외의 각종 정보를 운전자 및 탑승자에게 최적의 조건으로 제공하는 것으로, 각기 고유한 기능을 수행하는 두 개 이상의 프로세서를 포함한다. 예컨대 인포테인먼트(Information + Entertainment = Infortainment : 정보와 오락을 합친 개념) 주 기능을 수행하는 CPU, 차량과 인터페이스를 담당하는 MCU 및 필요에 따라 추가적인 프로세서가 더 포함될 수 있다.The vehicle infotainment system provides various information inside and outside the vehicle in an optimal condition for drivers and passengers, and includes two or more processors each performing a unique function. For example, infotainment (Information + Entertainment = Infortainment: a concept that combines information and entertainment) A CPU that performs a main function, an MCU that interfaces with a vehicle, and an additional processor may be further included as needed.

이러한 두 개 이상의 프로세서(예 : CPU, MCU 등)는 통신을 통해 쌍방의 데이터를 교환하며 기술적 효율성을 이유로 주로 비동기 직렬 통신(UART : Universal Asynchronous Receiver Transmitter) 방식을 사용한다.These two or more processors (e.g., CPU, MCU, etc.) exchange data on both sides through communication, and mainly use asynchronous serial communication (UART: Universal Asynchronous Receiver Transmitter) for technical efficiency reasons.

이러한 구성에서 두 프로세서 간 데이터 교환에 대한 신뢰성 확보는 매우 중요한 부분이다. 그러나, 비동기 직렬 통신은 그 특성상 전기적 노이즈 등에 취약성을 가지고 있기 때문에 패리티 비트(Parity Bit) 체크 등 다양한 방법을 사용하여 데이터 전송 에러 검출 및 복구를 수행한다.In this configuration, ensuring reliability of data exchange between the two processors is a very important part. However, since asynchronous serial communication is vulnerable to electrical noise due to its characteristics, data transmission error detection and recovery is performed using various methods such as parity bit check.

이러한 데이터 전송 에러 검출 및 복구를 수행하기 위해 최근에는 하드웨어 성능 및 기술적 향상으로 상위 레이어에서 데이터 메시지 프레임 단위의 체크섬(checksum) 비교 방식이 일반적으로 사용되고 있다.In order to perform such data transmission error detection and recovery, in recent years, a checksum comparison method of a data message frame unit in a higher layer is generally used due to hardware performance and technical improvement.

예를들어, MCU가 송신측이고 CPU가 수신측일 때, MCU에서 CPU로 전송한 메시지의 체크섬이 일치하지 않으면 CPU는 MCU로 에러 발생을 통지하고 MCU은 에러가 발생된 메시지를 CPU로 재 전송함으로써 데이터가 복구되도록 한다.For example, when the MCU is the sender and the CPU is the receiver, if the checksum of the message sent from the MCU to the CPU does not match, the CPU notifies the MCU of the error and the MCU sends the error message back to the CPU. Allow data to be recovered.

그러나, 이러한 방법은 비동기 통신 방식의 특성에 따라 송신측에서 메시지를 송신한 후 수신측의 에러 발생을 즉시 인지하지 못하기 때문에 이를 해결하기 위해 다음과 같은 방법이 사용되고 있다.However, according to the characteristics of the asynchronous communication method, the following method is used to solve this problem because the receiving side does not immediately recognize the error occurrence after sending the message.

첫 번째 방법으로, 메시지 전송 후 일정시간을 대기한 뒤 다음 메시지 프레임을 전송하고 대기 중 에러 메시지가 수신되는 경우에만 재전송을 수행하는 방법이 있는데, 이러한 방법은 에러가 발생하지 않는 경우에도 일정 시간 대기해야 하므로 수신측의 성능에 따라 통신 버스(Bus)의 성능이 좌우되며 설정된 전송속도(Baudrate)보다 통신속도가 저하되는 문제점이 있다.In the first method, there is a method that waits for a certain period of time after sending the message, then transmits the next message frame and retransmits only when an error message is received while waiting. Therefore, the performance of the communication bus depends on the performance of the receiving side, and there is a problem in that the communication speed is lower than the set baud rate.

두 번째 방법으로, 전송한 모든 메시지에 대한 수신 여부를 확인받고 다음 메시지를 전송하는 방식이 있는데, 이러한 방법은 비동기 통신 방식의 경우 저속으로 통신하거나 메시지가 빈번하게 전송되지 않는 시스템에서만 적용이 가능한 문제점이 있어, 차량 인포테인먼트 시스템과 같이 차량 내부 네트워크와 연결되어 다량의 데이터를 다른 프로세서로 전송해야 하는 경우에는 적합하지 못한 문제점이 있다.In the second method, there is a method to check whether all the transmitted messages have been received and to transmit the next message. In the case of asynchronous communication, this method is applicable only in systems that communicate at low speed or where messages are not transmitted frequently. Accordingly, there is a problem that is not suitable when a large amount of data needs to be transferred to another processor, such as a vehicle infotainment system, by being connected to a vehicle internal network.

따라서, 이러한 점을 개선하기 위해 시스템 성능이 허용하는 최소 전송 간격으로 메시지를 연속 전송하고 통신 에러 발생 시, 수신측으로부터 에러가 발생된 메시지의 프레임 번호를 포함하는 에러 메시지를 수신 받아 에러가 발생된 메시지 이후에 저장된 메시지를 모두 재전송함으로써 에러를 복구하는 방법을 사용하였다.Therefore, in order to improve this point, messages are continuously transmitted at the minimum transmission interval allowed by the system performance, and when a communication error occurs, an error message is received by receiving an error message including the frame number of the error message from the receiving side. The method of recovering the error was used by resending all messages stored after the message.

그런데, 이러한 방법에서는 일반적으로 구성되는 송신 메시지 큐에서 메시지를 전송한 후, 수신측에서 메시지의 체크섬 에러가 확인되어 에러 메시지를 수신받는 중에도 계속해서 다음 메시지를 전송하므로, 송신 메시지 큐에서 기 전송된 메세지의 존재 여부를 보장할 수 없는 문제점이 발생하게 된다.
However, in this method, after the message is transmitted from the generally configured transmission message queue, the checksum error of the message is confirmed at the receiving side, and the next message is continuously transmitted while receiving the error message. A problem arises that cannot guarantee the existence of a message.

본 발명의 배경기술은 대한민국 공개특허공보 제10-2009-0056465호(2009. 06. 03. 공개, 발명의 명칭 : 우선순위에 따른 직렬 데이터 통신 장치 및 방법)에 개시되어 있다.
Background of the invention is disclosed in Republic of Korea Patent Publication No. 10-2009-0056465 (2009. 06. 03. published, the name of the invention: serial data communication device and method according to priority).

본 발명은 상기와 같은 문제점을 개선하기 위해 창출된 것으로, 본 발명의 목적은 차량 인포테인먼트 시스템을 구성하는 두 개 이상의 프로세스에서 비동기 직렬 통신 방식으로 메시지를 송수신하는 중 에러가 발생하면, 히스토리 큐를 이용하여 에러가 발생한 메시지와 그 이후에 전송된 메시지를 재전송하는 히스토리 큐를 이용한 통신 에러 복구 장치 및 그 방법에 관한 것이다.The present invention was created to improve the above problems, and an object of the present invention is to use a history queue when an error occurs while transmitting/receiving a message in an asynchronous serial communication method in two or more processes constituting a vehicle infotainment system. The present invention relates to a communication error recovery apparatus and method using a history queue for retransmitting an error message and a message transmitted thereafter.

본 발명의 다른 목적은, 수신측으로부터 에러 메시지가 수신되어 히스토리 큐를 통해 메시지가 재전송될 때, 히스토리 큐의 메시지가 모두 전송되기 전까지 메시지가 송신되지 않도록 송신 메시지 큐를 제어하고, 히스토리 큐의 메시지가 모두 전송되면 히스테리 큐에 존재하는 메시지를 삭제하는 히스토리 큐를 이용한 통신 에러 복구 장치 및 그 방법에 관한 것이다.
Another object of the present invention, when an error message is received from the receiving side and the message is retransmitted through the history queue, the transmission message queue is controlled so that the message is not transmitted until all the messages in the history queue are transmitted, and the message in the history queue It relates to a communication error recovery apparatus and method using a history queue to delete the message existing in the hysteresis queue when all are transmitted.

본 발명에 따른 히스토리 큐를 이용한 통신 에러 복구 장치는, 수신측으로부터 전송되는 에러 메시지를 수신하여 버퍼링 하는 수신버퍼; 상기 수신측으로 전송하기 위한 메시지를 버퍼링하는 송신버퍼; 상기 송신버퍼에 주기적으로 메시지를 전송하는 송신메시지 큐; 상기 송신메시지 큐에서 상기 송신버퍼로 전송된 메시지를 저장하는 히스토리 큐; 및 상기 에러 메시지의 수신 여부에 따라 상기 송신메시지 큐에서 상기 송신버퍼로의 메시지 전송을 제어하고, 상기 에러 메시지에 따라 상기 히스토리 큐에 저장된 해당 메시지를 상기 송신버퍼로 전송하는 통신제어부; 를 포함하는 것을 특징으로 한다.A communication error recovery apparatus using a history queue according to the present invention includes: a reception buffer for receiving and buffering an error message transmitted from a receiving side; A transmission buffer buffering a message for transmission to the receiving side; A transmission message queue periodically transmitting a message to the transmission buffer; A history queue storing messages transmitted from the transmission message queue to the transmission buffer; And a communication control unit controlling message transmission from the transmission message queue to the transmission buffer according to whether the error message has been received, and transmitting the message stored in the history queue to the transmission buffer according to the error message. It characterized in that it comprises.

본 발명에서, 상기 히스토리 큐는 상기 저장된 메시지가 포화 상태인 경우, FIFO(First In First Out) 방식으로 가장 먼저 저장된 메시지 순으로 삭제하는 것을 특징으로 한다.In the present invention, the history queue is characterized in that when the stored message is saturated, it is deleted in the order of the first stored message in a FIFO (First In First Out) method.

본 발명에서, 상기 통신제어부는 상기 수신버퍼를 통해 상기 에러 메시지가 수신되면, 상기 송신메시지 큐에서의 메시지 전송을 중단시키고, 상기 히스토리 큐에 저장된 상기 에러 메시지에 따른 해당 메시지를 상기 송신버퍼로 전송하면, 상기 송신메시지 큐에서의 메시지 전송을 재개시키는 것을 특징으로 한다.In the present invention, when the error message is received through the reception buffer, the communication control unit stops transmission of the message in the transmission message queue, and transmits the corresponding message according to the error message stored in the history queue to the transmission buffer. If so, it characterized in that to resume the transmission of the message in the transmission message queue.

본 발명에서, 상기 통신제어부는 상기 수신버퍼를 통해 상기 에러 메시지가 수신되면, 상기 에러 메시지에 포함된 프레임 번호에 해당하는 메시지 이후의 메시지를 상기 송신버퍼로 전송하는 것을 특징으로 한다.In the present invention, when the error message is received through the reception buffer, the communication control unit transmits a message after the message corresponding to the frame number included in the error message to the transmission buffer.

본 발명에서, 상기 통신제어부는 상기 히스토리 큐에 저장된 모든 메시지가 상기 송신버퍼로 전송되면, 상기 히스토리 큐에 저장된 모든 메시지를 삭제하는 것을 특징으로 한다.In the present invention, when all messages stored in the history queue are transmitted to the transmission buffer, the communication control unit deletes all messages stored in the history queue.

본 발명에 따른 히스토리 큐를 이용한 통신 에러 복구 방법은, 통신제어부가, 송신메시지 큐에서 송신버퍼로 전송된 메시지를 히스토리 큐에 저장시키는 단계; 상기 통신제어부가 수신버퍼를 통해 에러 메시지를 수신하는 경우, 송신메시지 큐에서의 메시지 전송을 중단시키는 단계; 상기 통신제어부가 상기 수신된 에러 메시지에 따라 상기 히스토리 큐에 저장된 해당 메시지를 상기 송신버퍼로 전송하는 단계; 상기 통신제어부가 상기 히스토리 큐에 저장된 모든 메시지가 상기 송신버퍼로 전송되었는지 판단하는 단계; 및 상기 모든 메시지가 상기 송신버퍼로 전송되었으면, 상기 송신메시지 큐에서의 메시지 전송을 재개시키는 단계; 를 포함하는 것을 특징으로 한다.A communication error recovery method using a history queue according to the present invention includes: a communication control unit storing a message transmitted from a transmission message queue to a transmission buffer in a history queue; When the communication control unit receives the error message through the reception buffer, stopping the transmission of the message from the transmission message queue; Transmitting, by the communication control unit, the corresponding message stored in the history queue to the transmission buffer according to the received error message; Determining whether all the messages stored in the history queue are transmitted to the transmission buffer by the communication control unit; And if all the messages have been transmitted to the transmission buffer, resuming the transmission of messages in the transmission message queue. It characterized in that it comprises.

본 발명에서, 상기 송신메시지 큐에서 송신버퍼로 전송된 메시지를 히스토리 큐에 저장시키는 단계는, 상기 히스토리 큐에 저장된 메시지가 포화 상태인 경우, FIFO(First In First Out) 방식으로 가장 먼저 저장된 메시지 순으로 삭제하는 단계를 포함하는 것을 특징으로 한다.In the present invention, the step of storing the message transmitted from the transmission message queue to the transmission buffer in a history queue is when the messages stored in the history queue are saturated, in the order of the first message stored in the FIFO (First In First Out) method. It characterized in that it comprises a step of deleting.

본 발명에서, 상기 에러 메시지에 따라 상기 히스토리 큐에 저장된 해당 메시지를 상기 송신버퍼로 전송하는 단계는 상기 에러 메시지에 포함된 프레임 번호에 해당하는 메시지 이후의 메시지를 상기 송신버퍼로 전송하는 단계를 포함하는 것을 특징으로 한다.In the present invention, transmitting the corresponding message stored in the history queue to the transmission buffer according to the error message includes transmitting a message after the message corresponding to the frame number included in the error message to the transmission buffer. It is characterized by.

본 발명에서, 상기 히스토리 큐에 저장된 모든 메시지가 상기 송신버퍼로 전송되었는지 판단하는 단계는 상기 히스토리 큐에 저장된 모든 메시지가 상기 송신버퍼로 전송되면, 상기 히스토리 큐에 저장된 모든 메시지를 삭제하는 것을 특징으로 한다.
In the present invention, the step of determining whether all messages stored in the history queue are transmitted to the transmission buffer is characterized in that when all messages stored in the history queue are transmitted to the transmission buffer, all messages stored in the history queue are deleted. do.

본 발명에 따른 히스토리 큐를 이용한 통신 에러 복구 장치 및 그 방법은 차량 인포테인먼트 시스템을 구성하는 두 개 이상의 프로세스에서 비동기 직렬 통신 방식으로 메시지를 송수신하는 중 에러가 발생하면, 히스토리 큐를 이용하여 에러가 발생한 메시지와 그 이후에 전송된 메시지를 재전송함으로써 메시지의 손실을 방지함과 동시에 통신 에러 복구 성능을 향상시킬 수 있다.A communication error recovery apparatus and method using a history queue according to the present invention, when an error occurs while transmitting/receiving a message in an asynchronous serial communication method in two or more processes constituting a vehicle infotainment system, an error occurs using the history queue By retransmitting the message and the message transmitted thereafter, loss of the message can be prevented and communication error recovery performance can be improved.

또한, 본 발명은 수신측으로부터 에러 메시지가 수신되어 히스토리 큐를 통해 메시지가 재전송될 때, 히스토리 큐의 메시지가 모두 전송되기 전까지 메시지가 송신되지 않도록 송신 메시지 큐를 제어하고, 히스토리 큐의 메시지가 모두 전송되면 히스테리 큐에 존재하는 메시지를 삭제함으로써 시스템 성능을 확보할 수 있다.
In addition, when the error message is received from the receiving side and the message is retransmitted through the history queue, the present invention controls the transmission message queue so that the message is not transmitted until all the messages in the history queue are transmitted, and all the messages in the history queue When transmitted, system performance can be secured by deleting the message existing in the hysterical queue.

도 1은 본 발명의 일실시예에 따른 히스토리 큐를 이용한 통신 에러 복구 장치를 나타낸 블록구성도이다.
도 2는 본 발명의 일실시예에 따른 차량 인포테인먼트 시스템에서 CPU와 MCU간의 비동기 직렬 통신 인터페이스를 위한 MCU의 구조를 보인 예시도이다.
도 3은 본 발명의 일실시예에 따른 히스토리 큐를 이용한 통신 에러 복구 장치에서 수신측과 송신측간의 메시지 송수신 과정을 나타낸 것이다.
도 4는 본 발명의 일실시예에 따른 히스토리 큐를 이용한 통신 에러 복구 장치에서 수신측으로 전송되는 메시지의 프레임 형식을 나타낸 예시이다.
도 5는 본 발명의 일실시예에 따른 히스토리 큐를 이용한 통신 에러 복구 장치에서 수신측으로부터 전송되는 에러 메시지의 프레임 형식을 나타낸 예시이다.
도 6은 본 발명의 일실시예에 따른 히스토리 큐를 이용한 통신 에러 복구 방법의 동작 흐름을 도시한 순서도이다.
1 is a block diagram showing a communication error recovery apparatus using a history queue according to an embodiment of the present invention.
2 is an exemplary view showing a structure of an MCU for an asynchronous serial communication interface between a CPU and an MCU in a vehicle infotainment system according to an embodiment of the present invention.
3 illustrates a process of transmitting and receiving a message between a receiving side and a transmitting side in a communication error recovery apparatus using a history queue according to an embodiment of the present invention.
4 is an example showing a frame format of a message transmitted to a receiving side in a communication error recovery apparatus using a history queue according to an embodiment of the present invention.
5 is an example of a frame format of an error message transmitted from a receiving side in a communication error recovery apparatus using a history queue according to an embodiment of the present invention.
6 is a flowchart illustrating an operation flow of a communication error recovery method using a history queue according to an embodiment of the present invention.

이하 첨부된 도면을 참조하여 본 발명의 일실시예에 따른 히스토리 큐를 이용한 통신 에러 복구 장치 및 그 방법을 설명한다. 이 과정에서 도면에 도시된 선들의 두께나 구성요소의 크기 등은 설명의 명료성과 편의상 과장되게 도시되어 있을 수 있다. Hereinafter, a communication error recovery apparatus and method using a history queue according to an embodiment of the present invention will be described with reference to the accompanying drawings. In this process, the thickness of the lines or the size of components shown in the drawings may be exaggerated for clarity and convenience.

또한 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서, 이는 사용자, 운용자의 의도 또는 관례에 따라 달라질 수 있다. 그러므로 이러한 용어들에 대한 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.In addition, terms to be described later are terms defined in consideration of functions in the present invention, which may vary according to a user's or operator's intention or practice. Therefore, the definition of these terms should be made based on the contents throughout the specification.

도 1은 본 발명의 일실시예에 따른 히스토리 큐를 이용한 통신 에러 복구 장치를 나타낸 블록구성도이고, 도 2는 본 발명의 일실시예에 따른 차량 인포테인먼트 시스템에서 CPU와 MCU간의 비동기 직렬 통신 인터페이스를 위한 MCU의 구조를 보인 예시도이며, 도 3은 본 발명의 일실시예에 따른 히스토리 큐를 이용한 통신 에러 복구 장치에서 수신측과 송신측간의 메시지 송수신 과정을 나타낸 것이다.1 is a block diagram showing a communication error recovery apparatus using a history queue according to an embodiment of the present invention, and FIG. 2 is an asynchronous serial communication interface between a CPU and an MCU in a vehicle infotainment system according to an embodiment of the present invention. It is an exemplary view showing the structure of an MCU, and FIG. 3 shows a process of transmitting and receiving a message between a receiving side and a transmitting side in a communication error recovery apparatus using a history queue according to an embodiment of the present invention.

도 1 내지 도 3에서와 같이 본 발명의 일실시예에 따른 히스토리 큐를 이용한 통신 에러 복구 장치는, 수신 레지스터(10), 수신버퍼(20), 수신 메모리부(21), 수신메시지 큐(30), 송신 레지스터(40), 송신버퍼(50), 송신 메모리부(51), 송신메시지 큐(60), 히스토리 큐(70) 및 통신제어부(80)를 포함한다.1 to 3, a communication error recovery apparatus using a history queue according to an embodiment of the present invention includes: a reception register 10, a reception buffer 20, a reception memory unit 21, and a reception message queue 30 ), transmission register 40, transmission buffer 50, transmission memory unit 51, transmission message queue 60, history queue 70 and communication control unit 80.

차량 인포테인먼트(IVI : In-Vehicle Infortainment)시스템에서 두 개 이상의 프로세서(예 : CPU, MCU 등)간 데이터 교환을 위해 비동기 직렬 통신(UART : Universal Asynchronous Receiver Transmitter) 방식을 사용할 경우 MCU의 수신측 구성은 도 2를 참고하면 알 수 있듯이, 타 프로세서로부터 수신되는 메시지를 일시적으로 저장하는 수신 레지스터(10), 수신 레지스터(10)를 통해서 수신된 메시지를 버퍼링하는 수신버퍼(20), 수신버퍼(20)로부터 주기적으로 메시지를 수신하는 수신메시지 큐(30), 수신 완료된 메시지를 저장하는 수신 메모리부(21)를 포함한다.When using asynchronous serial communication (UART: Universal Asynchronous Receiver Transmitter) to exchange data between two or more processors (e.g., CPU, MCU, etc.) in a vehicle infotainment (IVI: In-Vehicle Infortainment) system, As can be seen with reference to FIG. 2, the reception register 10 temporarily stores a message received from another processor, the reception buffer 20 buffering a message received through the reception register 10, and the reception buffer 20 It includes a receiving message queue 30 for periodically receiving a message, and a receiving memory unit 21 for storing the received message.

특히, 수신버퍼(20)는 통신 에러 발생시 에러 메시지를 수신하여 버퍼링한다.In particular, the reception buffer 20 receives and buffers an error message when a communication error occurs.

또한, MCU의 송신측 구성은 도 2를 참고하면 알 수 있듯이, 타 프로세서로 송신하는 메시지를 일시적으로 저장하는 송신 레지스터(40), 송신 레지스터(40)를 통해 수신측으로 전송하기 위한 메시지를 버퍼링하는 송신버퍼(50), 송신버퍼(50)에 주기적으로 메시지를 전송하는 송신메시지 큐(60), 송신 완료된 메시지를 저장하는 송신 메모리부(51), 송신버퍼(50)로 전송된 메시지를 저장하는 히스토리 큐(History Queue, 70)를 포함한다.In addition, as can be seen with reference to FIG. 2, the configuration of the transmission side of the MCU buffers a message for transmission to the reception side through the transmission register 40 and the transmission register 40 that temporarily store a message to be transmitted to another processor. The transmission buffer 50, the transmission message queue 60 for periodically transmitting a message to the transmission buffer 50, the transmission memory unit 51 for storing the transmission completed message, and for storing the message transmitted to the transmission buffer 50 It includes a history queue (70).

또한, 히스토리 큐(70)는 저장된 메시지가 포화 상태인 경우, FIFO(First In First Out) 방식으로 가장 먼저 저장된 메시지 순으로 삭제함으로써 항시 최적의 성능을 유지할 수 있도록 한다.In addition, when the stored message is saturated, the history queue 70 can maintain optimal performance at all times by deleting in the order of the first stored message in a FIFO (First In First Out) method.

이때, 히스토리 큐(70)의 크기는 시스템 부하 조건에서 테스트 코드를 이용한 성능 검증 실험을 통해 최적의 크기를 결정하는 것을 원칙으로 하되, 본 발명에서는 히스토리 큐(70)를 이용한 통신 에러의 복구 장치에 관한 것이므로 히스토리 큐(70)의 크기 결정 방법은 논외로 한다.At this time, the size of the history queue 70 is determined in principle to determine the optimal size through a performance verification experiment using a test code in a system load condition, but in the present invention, to the apparatus for recovering communication errors using the history queue 70 Since it is related, the method for determining the size of the history queue 70 is excluded.

또한, 통신제어부(80)는 에러 메시지의 수신 여부에 따라 송신메시지 큐(60)에서 송신버퍼(50)로의 메시지 전송을 제어하고, 에러 메시지에 따라 히스토리 큐(70)에 저장된 해당 메시지를 송신버퍼(50)로 전송한다.In addition, the communication control unit 80 controls the transmission of a message from the transmission message queue 60 to the transmission buffer 50 according to whether an error message has been received, and transmits the corresponding message stored in the history queue 70 according to the error message. (50).

자세히는, 수신버퍼(20)를 통해 에러 메시지가 수신되면, 송신메시지 큐(60)에서의 메시지 전송을 중단시키고, 히스토리 큐(70)에 저장된 에러 메시지에 따른 해당 메시지를 송신버퍼(50)로 모두 전송하면, 송신메시지 큐(60)에서의 메시지 전송을 재개시킨다.In detail, when an error message is received through the reception buffer 20, the transmission of the message from the transmission message queue 60 is stopped, and the corresponding message according to the error message stored in the history queue 70 is transmitted to the transmission buffer 50. When all are transmitted, message transmission from the transmission message queue 60 is resumed.

더욱 자세히는, 수신버퍼(20)를 통해 수신되는 에러 메시지에 포함된 프레임 번호에 해당하는 메시지를 히스토리 큐(70) 내에서 검색하여 검색된 메시지와 그 메시지 이전에 전송된 메시지를 삭제하고, 삭제한 메시지 이후의 메시지를 송신버퍼(50)로 전송하여, 송신버퍼(50)와 송신 레지스터(40)를 통해 수신측으로 전송되도록 한다.More specifically, the message corresponding to the frame number included in the error message received through the reception buffer 20 is searched in the history queue 70 to delete the searched message and the message transmitted before the message, and delete the message. The message after the message is transmitted to the transmission buffer 50 to be transmitted to the receiving side through the transmission buffer 50 and the transmission register 40.

이때, 통신제어부(80)는 히스토리 큐(70)에 저장된 모든 메시지가 송신버퍼(50)로 전송되면, 송신메시지 큐(60)에서의 송신버퍼(50)로의 메시지 전송을 재개시키고, 히스토리 큐(70)의 모든 메시지를 삭제한다.At this time, when all the messages stored in the history queue 70 are transmitted to the transmission buffer 50, the communication control unit 80 resumes message transmission from the transmission message queue 60 to the transmission buffer 50, and the history queue ( 70).

즉, 에러가 발생한 시점부터 전송된 모든 메시지가 히스토리 큐(70)를 통해 송신버퍼(50)로 재전송되었기 때문에 삭제하여 히스토리 큐(70)의 성능이 확보되도록 한다.That is, since all messages transmitted from the time the error occurred are retransmitted to the transmission buffer 50 through the history queue 70, the deletion of the message to ensure the performance of the history queue 70 is secured.

도 3을 참고하여 설명하자면, 송신측(마이컴)에서 수신측(CPU)으로 메시지가 전송되는 도중 2번 메시지(frame 2)의 체크섬 에러가 확인되면, 수신측(CPU)으로부터 에러 메시지를 수신받되, 최종 정상 수신된 메시지의 프레임 번호(@frame 1)를 포함하여 수신받고, 에러 메시지에 포함된 프레임 번호의 이후에 해당하는 메시지를 히스토리 큐(70)에서 전송되도록 하는데, 에러 메시지를 수신 받는 동안 전송되는 메시지도 에러로 간주하여, 히스토리 큐(70)에 저장된 메시지 중 최종 정상 수신된 메시지(frame 1) 이후의 모든 메시지가 송신버퍼(50)로 재전송 되도록 한다.Referring to FIG. 3, when a checksum error of message 2 (frame 2) is confirmed while a message is being transmitted from a sending side (microcomputer) to a receiving side (CPU), an error message is received from the receiving side (CPU). , Receiving the message including the frame number (@frame 1) of the last normally received message, and allowing the history queue 70 to transmit a message corresponding to the frame number included in the error message while receiving the error message The transmitted message is also regarded as an error, and all messages after the last normally received message (frame 1) among the messages stored in the history queue 70 are retransmitted to the transmission buffer 50.

따라서, 히스토리 큐(70)의 크기는 최소한 도 3에서와 같은 에러제어 소요시간(a)이 확보되도록 하는 것이 바람직하다.Therefore, the size of the history queue 70 is preferably such that at least the error control time (a) as shown in FIG. 3 is secured.

또한, 히스토리 큐(70)는 에러 메시지를 모두 수신한 이후부터 메시지가 재전송되도록 대기시간(b)이 확보되도록 한다.In addition, the history queue 70 ensures that the waiting time b is secured so that the message is retransmitted after all error messages are received.

도 4는 본 발명의 일실시예에 따른 히스토리 큐를 이용한 통신 에러 복구 장치에서 수신측으로 전송되는 메시지의 프레임 형식을 나타낸 것으로, 프레임 번호(Frame Number)와 체크섬(Checksum) 비교 여부가 표시되도록 하고, 도 5는 본 발명의 일실시예에 따른 히스토리 큐를 이용한 통신 에러 복구 장치에서 수신측으로부터 전송되는 에러 메시지의 프레임 형식을 나타낸 것으로 프레임 번호(Frame Number)와 에러(ERROR) 유무 및 체크섬(Checksum) 비교 여부가 표시되록 한다.FIG. 4 illustrates a frame format of a message transmitted from a communication error recovery apparatus using a history queue to a receiving side according to an embodiment of the present invention, and displays whether a frame number is compared with a checksum, FIG. 5 illustrates a frame format of an error message transmitted from a receiver in a communication error recovery apparatus using a history queue according to an embodiment of the present invention. Frame number, error (ERROR), and checksum (Checksum) Whether or not to compare is displayed.

상술한 바와 같이, 에러 메시지에서의 프레임 번호는 수신측으로 최종 정상 수신된 번호로 정의한다.As described above, the frame number in the error message is defined as the last normally received number by the receiving side.

따라서, 본 발명의 일실시예에 따른 히스토리 큐를 이용한 통신 에러 복구 장치는 차량 인포테인먼트 시스템을 구성하는 두 개 이상의 프로세스에서 비동기 직렬 통신 방식으로 메시지를 송수신하는 중 에러가 발생하면, 히스토리 큐를 이용하여 에러가 발생한 메시지와 그 이후에 전송된 메시지를 재전송함으로써 메시지의 손실을 방지함과 동시에 통신 에러 복구 성능을 향상시킬 수 있다.Accordingly, the communication error recovery apparatus using a history queue according to an embodiment of the present invention uses an history queue when an error occurs while transmitting/receiving a message in an asynchronous serial communication method in two or more processes constituting a vehicle infotainment system. By retransmitting the message in which the error occurred and the message transmitted thereafter, loss of the message can be prevented and communication error recovery performance can be improved.

또한, 수신측으로부터 에러 메시지가 수신되어 히스토리 큐를 통해 메시지가 재전송될 때, 히스토리 큐의 메시지가 모두 전송되기 전까지 메시지가 송신되지 않도록 송신 메시지 큐를 제어하고, 히스토리 큐의 메시지가 모두 전송되면 히스테리 큐에 존재하는 메시지를 삭제함으로써 시스템 성능을 확보할 수 있다.In addition, when an error message is received from the receiving side and the message is retransmitted through the history queue, the transmission message queue is controlled so that the message is not transmitted until all the messages in the history queue are transmitted, and when all the messages in the history queue are transmitted, the history System performance can be secured by deleting the messages in the queue.

도 6은 본 발명의 일 실시예에 따른 히스토리 큐를 이용한 통신 에러 복구 방법의 동작 흐름을 도시한 순서도로써, 이를 참조하여 본 발명의 구체적인 동작을 설명한다.6 is a flowchart illustrating an operation flow of a communication error recovery method using a history queue according to an embodiment of the present invention, and the specific operation of the present invention will be described with reference to this.

통신제어부(80)가, 주기적으로 메시지를 전송하는 송신메시지 큐(60)를 통해 송신버퍼(50)로 메시지가 전송되면(S10), 전송된 메시지를 히스토리 큐(70)에 저장시킨다(S20).When the communication control unit 80 transmits a message to the transmission buffer 50 through the transmission message queue 60 periodically transmitting a message (S10), the transmitted message is stored in the history queue 70 (S20). .

이때, 히스토리 큐(70)에 저장된 메시지가 포화 상태인 경우, FIFO(First In First Out) 방식으로 가장 먼저 저장된 메시지 순으로 삭제한다.At this time, when the message stored in the history queue 70 is saturated, the message is first deleted in the order of the first stored in FIFO (First In First Out) method.

그리고, 통신제어부(80)가 수신버퍼(20)를 통해 에러 메시지를 수신하는 경우(S30), 송신메시지 큐(60)에서의 메시지 전송을 중단시킨다(S40).Then, when the communication control unit 80 receives an error message through the reception buffer 20 (S30), the transmission of the message from the transmission message queue 60 is stopped (S40).

즉, 통신제어부(80)는 송신메시지 큐(60)에서 송신버퍼(50)로 메시지가 전송되지 않도록 제어한다.That is, the communication control unit 80 controls not to transmit a message from the transmission message queue 60 to the transmission buffer 50.

그리고, 통신제어부(80)는 수신버퍼(20)로부터 수신된 에러 메시지에 포함된 프레임 번호에 해당하는 메시지를 히스토리 큐(70) 내에서 검색한다(S50).Then, the communication control unit 80 searches for a message corresponding to the frame number included in the error message received from the reception buffer 20 in the history queue 70 (S50).

이때, S50 단계에서 검색된 메시지와 그 메시지 이전에 전송된 메시지를 삭제하고(S60), 삭제한 메시지 이후의 메시지를 송신버퍼(50)로 전송한다(S70).At this time, the message retrieved in step S50 and the message transmitted before the message are deleted (S60), and the message after the deleted message is transmitted to the transmission buffer 50 (S70).

또한, 통신제어부(80)는 히스토리 큐(70)에 저장된 모든 메시지가 송신버퍼(50로 전송되었는지 판단하여(S80), 모든 메시지가 상기 송신버퍼로 전송되었으면, 히스토리 큐(70)의 모든 메시지를 삭제하고(S90), 송신메시지 큐(60)에서의 메시지 전송을 재개시켜 수신측으로 메시지가 정상 전송되도록 제어한다(S100).In addition, the communication control unit 80 determines whether all messages stored in the history queue 70 have been transmitted to the transmission buffer 50 (S80), and when all messages have been transmitted to the transmission buffer, all the messages in the history queue 70 Delete (S90), and resume the transmission of the message from the transmission message queue 60, so that the message is normally transmitted to the receiving side (S100).

즉, 에러가 발생한 시점부터 전송된 모든 메시지가 히스토리 큐(70)를 통해 송신버퍼(50)로 재전송되었기 때문에 삭제하여 히스토리 큐(70)의 성능이 확보되도록 한다.That is, since all messages transmitted from the time the error occurred are retransmitted to the transmission buffer 50 through the history queue 70, the deletion of the message to ensure the performance of the history queue 70 is secured.

상술한 바와 같이, 본 발명의 일실시예에 따른 히스토리 큐를 이용한 통신 에러 복구 방법은 차량 인포테인먼트 시스템을 구성하는 두 개 이상의 프로세스에서 비동기 직렬 통신 방식으로 메시지를 송수신하는 중 에러가 발생하면, 히스토리 큐를 이용하여 에러가 발생한 메시지와 그 이후에 전송된 메시지를 재전송함으로써 메시지의 손실을 방지함과 동시에 통신 에러 복구 성능을 향상시킬 수 있다.As described above, a communication error recovery method using a history queue according to an embodiment of the present invention is a history queue when an error occurs while transmitting/receiving a message in an asynchronous serial communication method in two or more processes constituting a vehicle infotainment system. By retransmitting the message in which the error occurred and the message transmitted thereafter, loss of the message can be prevented and communication error recovery performance can be improved.

또한, 수신측으로부터 에러 메시지가 수신되어 히스토리 큐를 통해 메시지가 재전송될 때, 히스토리 큐의 메시지가 모두 전송되기 전까지 메시지가 송신되지 않도록 송신 메시지 큐를 제어하고, 히스토리 큐의 메시지가 모두 전송되면 히스테리 큐에 존재하는 메시지를 삭제함으로써 시스템 성능을 확보할 수 있다.
In addition, when an error message is received from the receiving side and the message is retransmitted through the history queue, the transmission message queue is controlled so that the message is not transmitted until all the messages in the history queue are transmitted, and when all the messages in the history queue are transmitted, the history System performance can be secured by deleting the messages in the queue.

본 발명은 도면에 도시된 실시예를 참고로 하여 설명되었으나 이는 예시적인 것에 불과하며, 당해 기술이 속하는 분야에서 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서 본 발명의 진정한 기술적 보호범위는 아래의 특허청구범위에 의해서 정하여져야 할 것이다.
The present invention has been described with reference to the embodiment shown in the drawings, but this is only exemplary, and those skilled in the art to which the art belongs understand that various modifications and other equivalent embodiments are possible therefrom. will be. Therefore, the true technical protection scope of the present invention should be defined by the claims below.

10 : 수신 레지스터 20 : 수신버퍼
21 : 수신 메모리부 30 : 수신메시지 큐
40 : 송신 레지스터 50 : 송신버퍼
51 : 송신 메모리부 60 : 송신메시지 큐
70 : 히스토리 큐 80 : 통신제어부
10: receive register 20: receive buffer
21: receiving memory unit 30: receiving message queue
40: transmit register 50: transmit buffer
51: transmission memory unit 60: transmission message queue
70: history queue 80: communication control unit

Claims (9)

수신측으로부터 전송되는 에러 메시지를 수신하여 버퍼링 하는 수신버퍼;
상기 수신측으로 전송하기 위한 메시지를 버퍼링하는 송신버퍼;
상기 송신버퍼에 주기적으로 메시지를 전송하는 송신메시지 큐;
상기 송신메시지 큐에서 상기 송신버퍼로 전송된 메시지를 저장하는 히스토리 큐; 및
상기 에러 메시지의 수신 여부에 따라 상기 송신메시지 큐에서 상기 송신버퍼로의 메시지 전송을 제어하고, 상기 에러 메시지에 따라 상기 히스토리 큐에 저장된 해당 메시지를 상기 송신버퍼로 전송하는 통신제어부; 를 포함하며,
상기 통신제어부는,
상기 수신버퍼를 통해 상기 에러 메시지가 수신되면, 상기 송신메시지 큐에서의 메시지 전송을 중단시키고, 상기 히스토리 큐에 저장된 상기 에러 메시지에 따른 해당 메시지를 상기 송신버퍼로 전송하면, 상기 송신메시지 큐에서의 메시지 전송을 재개시키는 것을 특징으로 하는 히스토리 큐를 이용한 통신 에러 복구 장치.
A reception buffer for receiving and buffering the error message transmitted from the reception side;
A transmission buffer buffering a message for transmission to the receiving side;
A transmission message queue periodically transmitting a message to the transmission buffer;
A history queue storing messages transmitted from the transmission message queue to the transmission buffer; And
A communication control unit controlling message transmission from the transmission message queue to the transmission buffer according to whether the error message has been received, and transmitting the message stored in the history queue to the transmission buffer according to the error message; It includes,
The communication control unit,
When the error message is received through the reception buffer, the transmission of the message from the transmission message queue is stopped, and when the corresponding message according to the error message stored in the history queue is transmitted to the transmission buffer, the transmission message queue Communication error recovery device using a history queue, characterized in that to resume the message transmission.
제 1항에 있어서, 상기 히스토리 큐는
상기 저장된 메시지가 포화 상태인 경우, FIFO(First In First Out) 방식으로 가장 먼저 저장된 메시지 순으로 삭제하는 것을 특징으로 하는 히스토리 큐를 이용한 통신 에러 복구 장치.
The method of claim 1, wherein the history queue
If the stored message is saturated, communication error recovery apparatus using a history queue, characterized in that in the order of the first message stored in FIFO (First In First Out) method.
삭제delete 제 1항에 있어서, 상기 통신제어부는
상기 수신버퍼를 통해 상기 에러 메시지가 수신되면, 상기 에러 메시지에 포함된 프레임 번호에 해당하는 메시지 이후의 메시지를 상기 송신버퍼로 전송하는 것을 특징으로 하는 히스토리 큐를 이용한 통신 에러 복구 장치.
According to claim 1, The communication control unit
When the error message is received through the reception buffer, a communication error recovery apparatus using a history queue, characterized in that the message corresponding to the frame number included in the error message is transmitted to the transmission buffer.
제 1항에 있어서, 상기 통신제어부는
상기 히스토리 큐에 저장된 모든 메시지가 상기 송신버퍼로 전송되면, 상기 히스토리 큐에 저장된 모든 메시지를 삭제하는 것을 특징으로 하는 히스토리 큐를 이용한 통신 에러 복구 장치.
According to claim 1, The communication control unit
A communication error recovery apparatus using a history queue, characterized in that when all messages stored in the history queue are transmitted to the transmission buffer, all messages stored in the history queue are deleted.
통신제어부가, 송신메시지 큐에서 송신버퍼로 전송된 메시지를 히스토리 큐에 저장시키는 단계;
상기 통신제어부가 수신버퍼를 통해 에러 메시지를 수신하는 경우, 송신메시지 큐에서의 메시지 전송을 중단시키는 단계;
상기 통신제어부가 상기 수신된 에러 메시지에 따라 상기 히스토리 큐에 저장된 해당 메시지를 상기 송신버퍼로 전송하는 단계;
상기 통신제어부가 상기 히스토리 큐에 저장된 모든 메시지가 상기 송신버퍼로 전송되었는지 판단하는 단계; 및
상기 모든 메시지가 상기 송신버퍼로 전송되었으면, 상기 송신메시지 큐에서의 메시지 전송을 재개시키는 단계; 를 포함하는 히스토리 큐를 이용한 통신 에러 복구 방법.
The communication control unit storing the message transmitted from the transmission message queue to the transmission buffer in the history queue;
When the communication control unit receives the error message through the reception buffer, stopping the transmission of the message from the transmission message queue;
Transmitting, by the communication control unit, the corresponding message stored in the history queue to the transmission buffer according to the received error message;
Determining whether all the messages stored in the history queue are transmitted to the transmission buffer by the communication control unit; And
If all the messages have been transmitted to the transmission buffer, resuming the transmission of messages in the transmission message queue; Communication error recovery method using a history queue including a.
제 6항에 있어서, 상기 송신메시지 큐에서 송신버퍼로 전송된 메시지를 히스토리 큐에 저장시키는 단계는,
상기 히스토리 큐에 저장된 메시지가 포화 상태인 경우, FIFO(First In First Out) 방식으로 가장 먼저 저장된 메시지 순으로 삭제하는 단계를 포함하는 것을 특징으로 하는 히스토리 큐를 이용한 통신 에러 복구 방법.
The method of claim 6, wherein the step of storing the message transmitted from the transmission message queue to the transmission buffer in a history queue is
And when the message stored in the history queue is saturated, deleting the message in the order of the first message stored in a FIFO (First In First Out) method.
제 6항에 있어서, 상기 에러 메시지에 따라 상기 히스토리 큐에 저장된 해당 메시지를 상기 송신버퍼로 전송하는 단계는
상기 에러 메시지에 포함된 프레임 번호에 해당하는 메시지 이후의 메시지를 상기 송신버퍼로 전송하는 단계를 포함하는 것을 특징으로 하는 히스토리 큐를 이용한 통신 에러 복구 방법.
The method of claim 6, wherein the step of transmitting the corresponding message stored in the history queue to the transmission buffer according to the error message is
And transmitting a message subsequent to the message corresponding to the frame number included in the error message to the transmission buffer.
제 6항에 있어서, 상기 히스토리 큐에 저장된 모든 메시지가 상기 송신버퍼로 전송되었는지 판단하는 단계는
상기 히스토리 큐에 저장된 모든 메시지가 상기 송신버퍼로 전송되면, 상기 히스토리 큐에 저장된 모든 메시지를 삭제하는 것을 특징으로 하는 히스토리 큐를 이용한 통신 에러 복구 방법.
The method of claim 6, wherein determining whether all messages stored in the history queue are transmitted to the transmission buffer
A communication error recovery method using a history queue, characterized in that when all messages stored in the history queue are transmitted to the transmission buffer, all messages stored in the history queue are deleted.
KR1020140029791A 2014-03-13 2014-03-13 Restoring apparatus for communication error using history queue and method thereof Active KR102126671B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140029791A KR102126671B1 (en) 2014-03-13 2014-03-13 Restoring apparatus for communication error using history queue and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140029791A KR102126671B1 (en) 2014-03-13 2014-03-13 Restoring apparatus for communication error using history queue and method thereof

Publications (2)

Publication Number Publication Date
KR20150107223A KR20150107223A (en) 2015-09-23
KR102126671B1 true KR102126671B1 (en) 2020-06-25

Family

ID=54245777

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140029791A Active KR102126671B1 (en) 2014-03-13 2014-03-13 Restoring apparatus for communication error using history queue and method thereof

Country Status (1)

Country Link
KR (1) KR102126671B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101980581B1 (en) * 2019-02-11 2019-05-21 (주)베스트케이에스 Method for managing memory of tandem system
KR102477168B1 (en) * 2021-02-02 2022-12-14 엘아이지넥스원 주식회사 Method for recovering data distortion due to noise interference between digital serial data communication apparatus

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5524218A (en) * 1993-12-23 1996-06-04 Unisys Corporation Dedicated point to point fiber optic interface
US5544304A (en) * 1994-03-25 1996-08-06 International Business Machines Corporation Fault tolerant command processing
US7441110B1 (en) * 1999-12-10 2008-10-21 International Business Machines Corporation Prefetching using future branch path information derived from branch prediction
ATE479275T1 (en) * 2007-02-14 2010-09-15 Research In Motion Ltd METHOD AND DEVICE FOR PREVENTING ACTIONS DUE TO UNINTENTIONAL KEYSTROKES

Also Published As

Publication number Publication date
KR20150107223A (en) 2015-09-23

Similar Documents

Publication Publication Date Title
US20020172164A1 (en) Link level retry scheme
US20100217889A1 (en) Accelerated block option for trivial file transfer protocol (tftp)
WO2019026077A1 (en) System and method for preventing malicious can bus attacks
JP7592590B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
KR20140132063A (en) Apparatus and Method for CAN Comnunication
JP6287451B2 (en) Data receiving apparatus, data receiving apparatus control method, and data transmitting / receiving system having data transmitting apparatus and data receiving apparatus
US9509623B2 (en) Information processing device, information processing system, and method for processing packets from transmitting devices
US20140107863A1 (en) Vehicle Control Device, Vehicle Control System
KR102126671B1 (en) Restoring apparatus for communication error using history queue and method thereof
US8769137B2 (en) Systems and methods for negotiated accelerated block option for trivial file transfer protocol (TFTP)
US8370443B2 (en) Reliable messaging using publish subscribe mechanism
CN112055088B (en) Optical shutter-based file reliable transmission system and method thereof
US8880972B2 (en) Serial transmission apparatus, information processing apparatus, and serial transmission method
US20210284211A1 (en) Arrangement having a safety-related system and method for the protected operation thereof by means of a remote query
JP5381109B2 (en) Communication apparatus and control program thereof
WO2015100932A1 (en) Network data transmission method, device and system
KR101612825B1 (en) Can controller, gateway for internal vehicle communication and control method the same
CN105406989A (en) Message processing method, network card and system, information updating method and host
CN111857546A (en) Method, network adapter and computer program product for processing data
CN114978898A (en) Data transmission control method and device, head-up display and storage medium
CN112187408A (en) Data processing method, system, device, storage medium and processor
US20140153384A1 (en) Electronic device and transmission control method
JP6182779B1 (en) Transfer device, transfer method, and program
CN112350976A (en) Transmission method of vehicle instrument upgrade file and related equipment
CN114338530B (en) Method and device for adjusting equipment state, storage medium and electronic device

Legal Events

Date Code Title Description
PA0109 Patent application

Patent event code: PA01091R01D

Comment text: Patent Application

Patent event date: 20140313

PG1501 Laying open of application
A201 Request for examination
PA0201 Request for examination

Patent event code: PA02012R01D

Patent event date: 20190304

Comment text: Request for Examination of Application

Patent event code: PA02011R01I

Patent event date: 20140313

Comment text: Patent Application

E902 Notification of reason for refusal
PE0902 Notice of grounds for rejection

Comment text: Notification of reason for refusal

Patent event date: 20200309

Patent event code: PE09021S01D

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

Patent event code: PE07011S01D

Comment text: Decision to Grant Registration

Patent event date: 20200608

PR0701 Registration of establishment

Comment text: Registration of Establishment

Patent event date: 20200619

Patent event code: PR07011E01D

PR1002 Payment of registration fee

Payment date: 20200622

End annual number: 3

Start annual number: 1

PG1601 Publication of registration
PR1001 Payment of annual fee

Payment date: 20230524

Start annual number: 4

End annual number: 4

PR1001 Payment of annual fee

Payment date: 20240527

Start annual number: 5

End annual number: 5

PR1001 Payment of annual fee

Payment date: 20250526

Start annual number: 6

End annual number: 6