KR102174857B1 - Data transfer failure recovery system and method thereof - Google Patents

Data transfer failure recovery system and method thereof Download PDF

Info

Publication number
KR102174857B1
KR102174857B1 KR1020140022062A KR20140022062A KR102174857B1 KR 102174857 B1 KR102174857 B1 KR 102174857B1 KR 1020140022062 A KR1020140022062 A KR 1020140022062A KR 20140022062 A KR20140022062 A KR 20140022062A KR 102174857 B1 KR102174857 B1 KR 102174857B1
Authority
KR
South Korea
Prior art keywords
data
transmission error
data structure
error processing
transmission
Prior art date
Application number
KR1020140022062A
Other languages
Korean (ko)
Other versions
KR20150100350A (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 KR1020140022062A priority Critical patent/KR102174857B1/en
Publication of KR20150100350A publication Critical patent/KR20150100350A/en
Application granted granted Critical
Publication of KR102174857B1 publication Critical patent/KR102174857B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0083Formatting with frames or packets; Protocol or part of protocol for error control

Abstract

서로 다른 장치들간에 데이터 송수신을 위해서는 각 장치가 사용하는 데이터 구조가 동일하여야 한다. 그러나 동적으로 장치들간의 접속이 이루어지는 경우 각 장치들이 사용하는 데이터 구조가 동일하지 않아서, 데이터 송수신에 오류가 발생할 수 있다. 이러한 오류는 각 장치 간의 데이터 구조에 맞도록 데이터의 각 값들을 배치하는 순서만 바꿀 수 있다면 해결 할 수 있을 것이다. 본 발명에서는, 데이터 구조가 상이한 장치들 간의 데이터 송수신의 성공을 보장하기 위하여, 데이터 구조에 의해 발생한 데이터 전송 오류를 회복시키는 시스템 및 방법을 제안하고 있다. 자세하게는, 송수신 오류가 발생한 경우, 각 장치들의 데이터 구조를 바탕으로 데이터의 각 필드 값을 재배치하여 상기 오류를 해결하는 장치 및 방법을 제안하고 있다.In order to transmit and receive data between different devices, the data structure used by each device must be the same. However, when a connection between devices is made dynamically, the data structure used by each device is not the same, so an error may occur in data transmission/reception. This error can be solved if the order of arranging each value of the data can be changed to fit the data structure between each device. In the present invention, in order to ensure the success of data transmission and reception between devices having different data structures, a system and method for recovering a data transmission error caused by a data structure is proposed. In detail, when a transmission/reception error occurs, an apparatus and method for resolving the error by rearranging each field value of data based on the data structure of each device are proposed.

Description

데이터 전송 오류 회복 시스템 및 그 방법{DATA TRANSFER FAILURE RECOVERY SYSTEM AND METHOD THEREOF}Data transmission error recovery system and its method TECHNICAL FIELD [DATA TRANSFER FAILURE Recovery System AND METHOD THEREOF]

본 발명은 데이터 전송 오류 회복 시스템 및 그 방법에 관한 것이다. 보다 자세하게는, 장치 간의 데이터 송수신에 오류가 발생한 경우 상기 데이터 송신이 성공할 수 있도록 상기 오류를 수정하는 시스템 및 그 방법에 관한 것이다.The present invention relates to a data transmission error recovery system and method thereof. More specifically, the present invention relates to a system and method for correcting the error so that the data transmission is successful when an error occurs in data transmission/reception between devices.

장치들 간에는 서로 약속된 데이터 구조를 바탕으로 데이터를 송수신한다. 상기 데이터 구조는 정해진 길이의 데이터 필드들이 정해진 순서에 의해서 배열되는 되는 것을 의미한다. Devices transmit and receive data based on a data structure promised to each other. The data structure means that data fields of a predetermined length are arranged in a predetermined order.

그러나 장치들 간의 연결 상태가 고정된 상황이 아닌, 동적으로 변하는 상황에서 서로 약속된 데이터 구조를 이용하여 데이터를 송수신 못하는 상황이 발생할 수 있다. 이러한 경우에는, 데이터 송신 실패 또는 수신 실패가 발생하고 전체 시스템의 가동이 중단될 수 있다.However, in a situation in which the connection state between devices is not fixed but dynamically changes, a situation in which data can not be transmitted/received using mutually promised data structures may occur. In this case, data transmission failure or reception failure may occur, and the operation of the entire system may be stopped.

따라서, 서로 상이한 데이터 구조를 사용하는 장치들 간의 데이터 송수신을 수행하기 위해서 상기 장치들 사이에서 데이터를 변환해주는 장치가 있다면, 데이터 송신 실패 또는 수신 실패 회수를 줄여서, 전체 시스템의 가동률을 보장해 줄 수 있을 것이다.Therefore, if there is a device that converts data between the devices to perform data transmission/reception between devices using different data structures, it is possible to reduce the number of data transmission failures or reception failures, thereby ensuring the operation rate of the entire system will be.

한국공개특허 2006-0081859 호Korean Patent Publication No. 2006-0081859

본 발명이 해결하고자 하는 기술적 과제는 장치들 간의 데이터 전송 시 데이터구조 차이로 인하여 발생한 전송 오류를 회복시키는 장치를 제공하는 것이다.The technical problem to be solved by the present invention is to provide an apparatus for recovering a transmission error caused by a difference in a data structure during data transmission between devices.

본 발명의 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 당업자에게 명확하게 이해 될 수 있을 것이다.The technical problems of the present invention are not limited to the technical problems mentioned above, and other technical problems that are not mentioned will be clearly understood by those skilled in the art from the following description.

상기 기술적 과제를 달성하기 위한 본 발명의 일 태양에 따른 데이터 전송 오류 회복 시스템은, 제1 장치, 제2 장치 및 데이터 전송 오류 처리 장치를 포함하되, 상기 제1 장치는, 상기 제2 장치로 제1 데이터를 송신하고, 상기 제1 데이터 송신에 따른 응답으로 상기 제2 장치로부터 송신 오류 메시지를 수신하면, 상기 데이터 전송 오류 처리 장치에 상기 제1 데이터와 상기 제1 데이터의 구조를 나타내는 제1 데이터구조를 송신하고, 상기 제2 장치는, 상기 제1 데이터를 수신하여 오류가 발생하면 상기 제1 장치에 상기 송신 오류 메시지를 송신하고, 상기 데이터 전송 오류 처리 장치에 상기 송신 오류 메시지와 제2 데이터구조를 송신하며, 상기 데이터 전송 오류 처리 장치는, 상기 송신 오류 메시지를 수신하면, 상기 제1 데이터구조 및 상기 제2 데이터구조를 바탕으로 상기 제1 데이터에서 상기 제2 데이터구조에 포함된 각 필드에 해당하는 값을 추출하여, 상기 제2 데이터구조에 따른 제2 데이터를 생성하고, 상기 생성된 제2 데이터를 상기 제2 장치에 송신하는 전송 오류 처리부를 포함한 것이다.A data transmission error recovery system according to an aspect of the present invention for achieving the above technical problem includes a first device, a second device, and a data transmission error processing device, wherein the first device is configured as the second device. When 1 data is transmitted and a transmission error message is received from the second device in response to the first data transmission, the first data indicating the structure of the first data and the first data to the data transmission error processing device And the second device transmits the transmission error message to the first device when an error occurs by receiving the first data, and the transmission error message and the second data to the data transmission error processing device Structure is transmitted, and the data transmission error processing apparatus, upon receiving the transmission error message, each field included in the second data structure in the first data based on the first data structure and the second data structure And a transmission error processing unit that extracts a value corresponding to, generates second data according to the second data structure, and transmits the generated second data to the second device.

일 실시예에 따르면, 상기 전송 오류 처리부는, 상기 제1 데이터구조를 참조하여 상기 제2 데이터의 각 필드에 해당하는 값이 상기 제1 데이터에 존재하면 상기 제1 데이터에서 상기 각 필드에 해당하는 값을 추출하여 상기 제2 데이터에 추가하고, 존재하지 않으면 상기 각 필드의 기본값을 상기 제2 데이터에 추가하여 상기 제2 데이터를 생성할 수도 있다.According to an embodiment, the transmission error processing unit refers to the first data structure and, if a value corresponding to each field of the second data exists in the first data, The second data may be generated by extracting a value and adding it to the second data, and if not present, adding a default value of each field to the second data.

상기 기술적 과제를 달성하기 위한 본 발명의 다른 태양에 따른 데이터 전송 오류 회복 시스템은, 제1 장치, 제2 장치 및 데이터 전송 오류 처리 장치를 포함하되, 상기 제1 장치는, 상기 제2 장치로 제1 데이터를 송신하고, 상기 제2 장치는, 상기 제1 데이터를 수신하여 오류가 발생하면 상기 데이터 전송 오류 처리 장치에 상기 수신한 상기 송신 오류 메시지 및 제1 데이터를 송신하며, 상기 데이터 전송 오류 처리 장치는, 상기 제1 장치가 데이터 송수신에 사용하는 데이터 형식인 제1 데이터구조 및 상기 제2 장치가 데이터 송수신에 사용하는 데이터 형식인 제2 데이터구조가 저장되는 데이터구조 저장부; 및 상기 데이터 송신 오류 메시지를 수신하면 상기 상기 제1 데이터구조 및 상기 제2 데이터구조를 바탕으로 상기 제1 데이터에서 상기 제2 데이터구조에 포함된 각 필드에 해당하는 값을 추출하여, 제2 데이터구조에 따른 제2 데이터를 생성하는 전송 오류 처리부를 포함한 것이다.A data transmission error recovery system according to another aspect of the present invention for achieving the above technical problem includes a first device, a second device, and a data transmission error processing device, wherein the first device is configured as the second device. 1 transmits data, and the second device transmits the received transmission error message and first data to the data transmission error processing device when an error occurs due to receiving the first data, and processes the data transmission error The apparatus includes: a data structure storage unit for storing a first data structure, which is a data format used by the first device for data transmission and reception, and a second data structure, which is a data format used by the second device for data transmission and reception; And when the data transmission error message is received, a value corresponding to each field included in the second data structure is extracted from the first data based on the first data structure and the second data structure, and second data It includes a transmission error processing unit that generates second data according to the structure.

일 실시예에 따르면, 상기 전송 오류 처리부는, 상기 제1 데이터구조를 참조하여 상기 제2 데이터의 각 필드에 해당하는 값이 상기 제1 데이터에 존재하면 상기 제1 데이터에서 상기 각 필드에 해당하는 값을 추출하여 상기 제2 데이터에 추가하고, 존재하지 않으면 상기 각 필드의 기본값을 상기 제2 데이터에 추가하여 상기 제2 데이터를 생성할 수도 있다.According to an embodiment, the transmission error processing unit refers to the first data structure and, if a value corresponding to each field of the second data exists in the first data, The second data may be generated by extracting a value and adding it to the second data, and if not present, adding a default value of each field to the second data.

상기 기술적 과제를 달성하기 위한 본 발명의 또 다른 태양에 따른 데이터 송신 오류 회복 방법은, 송신 오류 처리 장치에 의해 제1 장치 및 제2 장치 간의 데이터 전송의 오류를 처리하는 방법에 있어서, 상기 송신 오류 처리 장치가 상기 제2 장치로부터 송신 오류 메시지 및 제2 데이터구조를 수신하는 단계, 상기 송신 오류 처리 장치가 상기 제1 장치로부터 제1 데이터 및 제1 데이터구조를 수신하는 단계, 상기 송신 오류 처리 장치가 상기 제1 데이터, 상기 제1 데이터구조 및 상기 제2 데이터구조를 바탕으로 상기 제2 데이터구조에 따른 제2 데이터를 생성하는 단계 및 상기 송신 오류 처리 장치가 상기 생성된 제2 데이터를 상기 제2 장치에 송신하는 단계를 포함한 것이다.A data transmission error recovery method according to another aspect of the present invention for achieving the above technical problem is a method of handling an error in data transmission between a first device and a second device by a transmission error processing device, wherein the transmission error Receiving, by a processing device, a transmission error message and a second data structure from the second device, receiving, by the transmission error processing device, a first data and a first data structure from the first device, the transmission error processing device A step of generating second data according to the second data structure based on the first data, the first data structure, and the second data structure, and the transmission error processing apparatus converts the generated second data into the second data. 2 Including the step of sending to the device.

일 실시예에 따르면, 상기 제2 데이터를 생성하는 단계는, 상기 송신 오류 처리 장치가 제1 데이터구조를 참조하여 상기 제2 데이터의 각 필드에 해당하는 값이 제1 데이터에 존재하는지 확인하는 단계, 상기 확인하는 단계의 결과가 존재하는 것이면, 상기 제1 데이터에서 상기 각 필드에 해당하는 값을 추출하여 상기 제2 데이터에 추가하는 단계, 상기 확인하는 단계의 결과가 존재하는 것이 아니면, 상기 각 필드의 기본값을 상기 제2 데이터에 추가하는 단계를 포함할 수도 있다.According to an embodiment, the generating of the second data includes, by the transmission error processing apparatus, checking whether a value corresponding to each field of the second data exists in the first data by referring to the first data structure. , If the result of the checking step exists, extracting a value corresponding to each field from the first data and adding it to the second data, if the result of the checking step does not exist, the respective It may include the step of adding a default value of the field to the second data.

상기와 같은 본 발명에 따르면, 장치들 사이들의 데이터 전송에서 데이터구조 차이로 인한 발생한 데이터 전송 오류를 회복시킬 수 있음으로써 데이터 전송 실패 회수를 줄일 수 있고 성공적인 데이터 전송을 보장할 수 있는 효과가 있다.According to the present invention as described above, it is possible to recover a data transmission error caused by a data structure difference in data transmission between devices, thereby reducing the number of data transmission failures and ensuring successful data transmission.

도 1은 본 발명의 일 실시예에 따른, 데이터 전송 오류 회복 시스템의 구성도이다.
도 2는 본 발명의 다른 실시예에 따른, 데이터 전송 오류 회복 시스템의 구성도이다.
도 3a는 본 발명의 일 실시예에 따른, 데이터 전송 오류 처리 장치의 구성도이다.
도 3b는 본 발명의 다른 실시예에 따른, 데이터 전송 오류 처리 장치의 구성도이다.
도 4는 본 발명의 실시예에 따른, 제1 데이터구조와 제2 데이터구조의 예시이다.
도 5는 본 발명의 일 실시예에 따른, 데이터 전송 오류 회복 시스템에서의 메시지 흐름도이다.
도 6은 본 발명의 다른 실시예에 따른, 데이터 전송 오류 회복 시스템에서의 메시지 흐름도이다.
도 7은 본 발명의 일 실시예에 따른, 데이터 전송 오류 처리 장치의 전송 오류 처리 순서도이다.
1 is a block diagram of a data transmission error recovery system according to an embodiment of the present invention.
2 is a block diagram of a data transmission error recovery system according to another embodiment of the present invention.
3A is a block diagram of a data transmission error processing apparatus according to an embodiment of the present invention.
3B is a block diagram of a data transmission error processing apparatus according to another embodiment of the present invention.
4 is an illustration of a first data structure and a second data structure according to an embodiment of the present invention.
5 is a message flow diagram in a data transmission error recovery system according to an embodiment of the present invention.
6 is a message flow diagram in a data transmission error recovery system according to another embodiment of the present invention.
7 is a flowchart illustrating a transmission error processing by an apparatus for processing a data transmission error according to an embodiment of the present invention.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명한다. 본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시 예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 게시되는 실시 예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시 예들은 본 발명의 게시가 완전하도록 하고, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 명세서 전체에 걸쳐 동일 참조 부호는 동일 구성 요소를 지칭한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. Advantages and features of the present invention, and a method of achieving them will become apparent with reference to the embodiments described below in detail together with the accompanying drawings. However, the present invention is not limited to the embodiments to be posted below, but may be implemented in a variety of different forms, and only these embodiments make the posting of the present invention complete, and common knowledge in the technical field to which the present invention pertains. It is provided to completely inform the scope of the invention to those who have it, and the invention is only defined by the scope of the claims. The same reference numerals refer to the same components throughout the specification.

다른 정의가 없다면, 본 명세서에서 사용되는 모든 용어(기술 및 과학적 용어를 포함)는 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 공통적으로 이해될 수 있는 의미로 사용될 수 있을 것이다. 또 일반적으로 사용되는 사전에 정의되어 있는 용어들은 명백하게 특별히 정의되어 있지 않는 한 이상적으로 또는 과도하게 해석되지 않는다.Unless otherwise defined, all terms (including technical and scientific terms) used in the present specification may be used as meanings that can be commonly understood by those of ordinary skill in the art to which the present invention belongs. In addition, terms defined in a commonly used dictionary are not interpreted ideally or excessively unless explicitly defined specifically.

도 1은 본 발명의 일 실시예에 따른, 데이터 전송 오류 회복 시스템(50)의 구성도이다.1 is a configuration diagram of a data transmission error recovery system 50 according to an embodiment of the present invention.

도 1을 참조하여, 데이터 전송 오류 회복 시스템(50)의 구성 및 동작을 설명하면 다음과 같다.Referring to FIG. 1, the configuration and operation of the data transmission error recovery system 50 will be described as follows.

본 발명의 일 실시예에 따른 데이터 전송 오류 회복 시스템(50)은 제1 장치(200), 제2 장치(300) 및 데이터 전송 오류 처리 장치(100)를 포함할 수 있다.The data transmission error recovery system 50 according to an embodiment of the present invention may include a first device 200, a second device 300, and a data transmission error processing device 100.

제1 장치(200)는 제2 장치(300)로 데이터를 보낼 수 있다. 제1 장치(200)는 제2 장치(300)와 무선 또는 유선으로 연결될 수 있으며, 상기 연결을 통하여 제2 장치(300)와 데이터를 송수신할 수 있다.The first device 200 may send data to the second device 300. The first device 200 may be connected to the second device 300 by wireless or wired connection, and may transmit and receive data to and from the second device 300 through the connection.

제1 장치(200)는 제1 데이터구조에 따른 제1 데이터를 제2 장치(300)에 상기 연결을 이용하여 송신할 수 있다.The first device 200 may transmit first data according to the first data structure to the second device 300 using the connection.

상기 제1 데이터구조는 제1 장치(200)가 데이터 송수신에 사용하는 데이터의 구조를 가리킨다. 상기 데이터의 구조는 일정한 전체 길이를 가지며, 일정한 형식으로 된 필드들이 일정한 순서로 배열되어 있는 구조를 포함할 수 있다.The first data structure refers to a data structure used by the first device 200 to transmit and receive data. The data structure may have a certain overall length and may include a structure in which fields in a certain format are arranged in a certain order.

예를 들어서, 상기 제1 데이터구조는 아래와 같이 정의될 수 있다. 상기 제1 데이터구조는, Head, Index, FixedRateProfile 및 FrameRate 필드를 포함하며, 총 64 byte의 길이를 가질 수 있다.For example, the first data structure may be defined as follows. The first data structure includes Head, Index, FixedRateProfile, and FrameRate fields, and may have a total length of 64 bytes.

dataInfo = array('Name' => array('value'=>'', 'type'=>'A64'),dataInfo = array('Name' => array('value'=>'','type'=>'A64'),

'Head' => array('value'=>0, 'type'=>'c1'),'Head' => array('value'=>0,'type'=>'c1'),

'Index ' => array('value'=>0, 'type'=>'c1'),'Index '=> array('value'=>0,'type'=>'c1'),

'FixedRateProfile'=> array('value'=>0, 'type'=>'c1'),'FixedRateProfile'=> array('value'=>0,'type'=>'c1'),

'FrameRate'=> array('value'=>0, 'type'=>'i1');}'FrameRate'=> array('value'=>0,'type'=>'i1');}

제2 장치(300)는 제1 장치(200)로부터 데이터를 받을 수 있다. 제2 장치(300)는 제1 장치(200)과 무선 또는 유선으로 연결될 수 있으며, 상기 연결을 통하여 제1 장치(200)와 데이터를 송수신할 수 있다.The second device 300 may receive data from the first device 200. The second device 300 may be connected to the first device 200 by wire or wirelessly, and transmit and receive data to and from the first device 200 through the connection.

제2 장치(300)는 수신한 데이터가 제2 데이터구조에 따른 구조인 경우에만 유효한 데이터 수신으로 처리할 수 있지만, 상기 제2 데이터구조를 따르지 않는 경우에는 상기 수신한 데이터 처리에 오류가 발생할 수 있다. The second device 300 can process the received data as effective data reception only when the received data has a structure according to the second data structure. However, if the second data structure is not followed, an error may occur in the processing of the received data. have.

상기 제2 데이터구조는, 제2 장치(300)가 데이터 송수신에 사용하는 데이터의 구조를 가리킨다. 상기 데이터의 구조는 일정한 전체 길이를 가지며, 일정한 형식으로 된 필드들이 일정한 순서로 배열되어 있는 구조를 포함할 수 있다.The second data structure refers to a data structure used by the second device 300 to transmit and receive data. The data structure may have a certain overall length and may include a structure in which fields in a certain format are arranged in a certain order.

예를 들어서, 상기 제2 데이터구조는 아래와 같이 정의될 수 있다. 상기 제2 데이터구조는, Head, Index 및 FrameRate 필드를 포함하며, 총 48 byte의 길이를 가질 수 있다.For example, the second data structure may be defined as follows. The second data structure includes Head, Index, and FrameRate fields, and may have a total length of 48 bytes.

dataInfo = array('Name' => array('value'=>'', 'type'=>'A48'),dataInfo = array('Name' => array('value'=>'','type'=>'A48'),

'Head' => array('value'=>0, 'type'=>'c1'),'Head' => array('value'=>0,'type'=>'c1'),

'Index ' => array('value'=>0, 'type'=>'c1'),'Index '=> array('value'=>0,'type'=>'c1'),

'FrameRate' => array('value'=>0, 'type'=>'i1');}'FrameRate' => array('value'=>0,'type'=>'i1');}

발명의 일 실시예에 따르면, 제2 장치(300)는 제1 장치(200)로부터 수신한 제1 데이터가 상기 제2 데이터 구조와 일치하지 않는 경우, 제1 장치(200)에 오류 발생 메시지를 송신하고, 데이터 전송 오류 처리 장치(100)에 오류 발생 메시지와 상기 제2 데이터구조를 송신할 수 있다. 제1 장치(200)는 제2 장치(300)로부터 상기 오류 발생 메시지를 수신하면, 데이터 전송 오류 처리 장치(100)에 상기 제1 데이터 및 상기 제1 데이터구조를 전송할 수 있다.According to an embodiment of the invention, when the first data received from the first device 200 does not match the second data structure, the second device 300 transmits an error occurrence message to the first device 200. Then, an error occurrence message and the second data structure may be transmitted to the data transmission error processing apparatus 100. When the first device 200 receives the error generation message from the second device 300, the first device 200 may transmit the first data and the first data structure to the data transmission error processing device 100.

발명의 일 실시예에 따른 데이터 전송 오류 처리 장치(100)는 제1 장치(200)와 제2 장치(300) 사이의 데이터 통신에서 오류가 발생한 경우 상기 오류를 처리하여 오류가 없는 데이터로 회복 시키는 장치이다. 데이터 전송 오류 처리 장치(100)의 구성에 대하여는, 설명의 중복을 피하기 위하여 도 3의 설명에서 자세히 다루기로 한다.In the case of an error in data communication between the first device 200 and the second device 300, the data transmission error processing apparatus 100 according to an embodiment of the present invention processes the error to recover data without errors. Device. The configuration of the data transmission error processing apparatus 100 will be described in detail in the description of FIG. 3 to avoid duplication of description.

발명의 일 실시예에 따른 데이터 전송 오류 처리 장치(100)는 제2 장치(300)로부터 상기 오류 발생 메시지와 상기 제2 데이터구조를 수신하여, 제1 장치(200)와 제2 장치(300) 사이에 데이터 송수신에 오류가 발생하였음을 감지할 수 있다. The data transmission error processing apparatus 100 according to an embodiment of the present invention receives the error generation message and the second data structure from the second device 300, and the first device 200 and the second device 300 It can be detected that an error has occurred in data transmission/reception.

데이터 전송 오류 처리 장치(100)는 상기 오류 발생을 감지한 후, 제1 장치(200)로부터 상기 제1 데이터와 상기 제1 데이터구조의 수신하여, 상기 제1 데이터, 상기 제1 데이터구조 및 상기 제2 데이터 구조를 이용하여 제2 데이터를 생성할 수 있다. 상기 제2 데이터는 상기 제2 데이터 구조에 따른 구조를 가진 데이터이다. After detecting the occurrence of the error, the data transmission error processing device 100 receives the first data and the first data structure from the first device 200, and receives the first data, the first data structure, and the Second data may be generated by using the second data structure. The second data is data having a structure according to the second data structure.

데이터 전송 오류 처리 장치(100)는 상기 생성된 제2 데이터를 제2 장치(300)에 전송할 수 있다. 상기 제2 데이터는 상기 오류가 해결된 데이터이기 때문에, 제2 장치(300)는 상기 제2 데이터를 수신하여 상기 제2 데이터를 정상적으로 처리할 수 있다.The data transmission error processing apparatus 100 may transmit the generated second data to the second apparatus 300. Since the second data is data in which the error has been resolved, the second device 300 may receive the second data and normally process the second data.

상기 제2 데이터 생성하는 방법에 대해서는, 설명의 중복을 피하기 위하여 도 3 및 도7 의 설명에서 자세히 다루기로 한다.The method of generating the second data will be described in detail in the description of FIGS. 3 and 7 in order to avoid duplication of description.

도 2는 본 발명의 다른 실시예에 따른, 데이터 전송 오류 회복 시스템(70)의 구성도이다.2 is a block diagram of a data transmission error recovery system 70 according to another embodiment of the present invention.

도 2를 참조하여, 본 발명의 다른 실시예에 따른 데이터 전송 오류 회복 시스템(70)의 구성을 설명한다.Referring to FIG. 2, a configuration of a data transmission error recovery system 70 according to another embodiment of the present invention will be described.

본 발명의 다른 실시예에 따른 데이터 전송 오류 회복 시스템(70)은 제1 장치(205), 제2 장치(305) 및 데이터 전송 오류 처리 장치(105)를 포함할 수 있다.The data transmission error recovery system 70 according to another embodiment of the present invention may include a first device 205, a second device 305, and a data transmission error processing device 105.

제1 장치(205)는 제2 장치(305)에 제1 데이터구조에 따른 제1 데이터를 송신하고, 제2 장치(305)는 상기 제1 데이터를 수신하면 오류 메시지를 발생시킬 수 있다. The first device 205 may transmit the first data according to the first data structure to the second device 305, and the second device 305 may generate an error message when receiving the first data.

본 발명의 다른 실시예에 따른 제2 장치(305)는 상기 오류 메시지가 발생하면, 데이터 전송 오류 처리 장치(105)에 오류 발생 메시지와 상기 제1 데이터를 전송할 수 있다.When the error message occurs, the second device 305 according to another embodiment of the present invention may transmit an error occurrence message and the first data to the data transmission error processing device 105.

본 발명의 다른 실시예에 따른 데이터 전송 오류 처리 장치(105)는 제1 장치(205)와 제2 장치(305) 사이의 데이터 통신에서 오류가 발생한 경우 상기 오류를 처리하여 오류가 없는 데이터로 회복 시키는 장치이다. In the case of an error in data communication between the first device 205 and the second device 305, the data transmission error processing device 105 according to another embodiment of the present invention processes the error to recover data without errors. It is a device that lets you

본 발명의 다른 실시예에 따른 데이터 전송 오류 처리 장치(105)는 내부에 상기 제1 데이터구조 및 상기 제2 데이터구조에 대한 정보를 저장하고 있을 수 있다.The apparatus 105 for processing data transmission errors according to another embodiment of the present invention may store information on the first data structure and the second data structure therein.

본 발명의 다른 실시예에 따르면, 제2 장치(305)가 제1 장치(205)로부터 상기 제1 데이터를 수신하여 상기 오류가 발생한 경우, 제1 장치(205) 및 제2 장치(305)는 상기 제1 데이터구조 및 상기 제2 데이터구조를 데이터 전송 오류 처리 장치(105)에 송신할 필요가 없을 수 있다. 상기 오류가 발생한 제2 장치(305)만이 상기 오류 발생 메시지와 오류의 대상이 된 상기 제1 데이터를 데이터 전송 오류 처리 장치(105)에 송신할 수 있다.According to another embodiment of the present invention, when the second device 305 receives the first data from the first device 205 and the error occurs, the first device 205 and the second device 305 It may not be necessary to transmit the first data structure and the second data structure to the data transmission error processing apparatus 105. Only the second device 305 in which the error has occurred may transmit the error-occurrence message and the first data as the object of the error to the data transmission error processing device 105.

본 발명의 다른 실시예에 따른 데이터 전송 오류 처리 장치(105)는, 상기 오류 발생 메시지와 상기 제1 데이터를 수신하면, 내부에 저장된 제1 데이터 구조 및 제2 데이터구조를 조회하여, 상기 제1 데이터, 상기 조회된 제1 데이터구조 및 상기 조회된 제2 데이터구조를 이용하여 제2 데이터를 생성하고, 상기 생성된 제2 데이터를 제2 장치(305)에 전송할 수 있다.The data transmission error processing apparatus 105 according to another embodiment of the present invention, upon receiving the error generation message and the first data, inquires the first data structure and the second data structure stored therein, and Second data may be generated using data, the inquired first data structure, and the inquired second data structure, and the generated second data may be transmitted to the second device 305.

제2 장치(305)는, 상기 제2 데이터가 상기 제2 데이터구조에 따른 데이터이기 때문에, 상기 제2 데이터를 수신하면 정상적으로 상기 제2 데이터를 처리할 수 있다.Since the second data is data according to the second data structure, the second device 305 can normally process the second data upon receiving the second data.

도 3a 내지 도 3b는 본 발명의 실시예에 따른 데이터 전송 오류 처리 장치(100, 105)의 구성도이고, 도 4는 본 발명의 실시예에 따른 제1 데이터구조와 제2 데이터구조의 예시이다.3A to 3B are configuration diagrams of data transmission error processing apparatuses 100 and 105 according to an embodiment of the present invention, and FIG. 4 is an example of a first data structure and a second data structure according to an embodiment of the present invention. .

도1, 도 3a 및 도 4을 참조하여, 데이터 전송 오류 처리 장치(100)의 구성 및 동작을 자세히 설명한다.The configuration and operation of the data transmission error processing apparatus 100 will be described in detail with reference to FIGS. 1, 3A, and 4.

본 발명의 일 실시예에 따른, 데이터 전송 오류 처리 장치(100)는 수신부(110), 송신부(120) 및 전송 오류 처리부(150)를 포함할 수 있다.The apparatus 100 for processing data transmission errors according to an embodiment of the present invention may include a reception unit 110, a transmission unit 120, and a transmission error processing unit 150.

수신부(110)는 제1 장치(200) 및 제2 장치(300)로부터 데이터를 수신하여 전송 오류 처리부(150)에 제공할 수 있고, 송신부(120)는 전송 오류 처리부(150)로부터 제공 받은 데이터를 제1 장치(200) 또는 제2 장치(300)에 송신할 수 있다.The receiving unit 110 may receive data from the first device 200 and the second device 300 and provide the data to the transmission error processing unit 150, and the transmission unit 120 is the data received from the transmission error processing unit 150 May be transmitted to the first device 200 or the second device 300.

전송 오류 처리부(150)는 제2 장치(300)로부터 오류 발생 메시지 및 제2 데이터구조를 수신 받으면, 제1 장치(200)와 제2 장치(300)의 데이터 송수신에 오류가 발생하였음을 감지할 수 있다. When receiving the error generation message and the second data structure from the second device 300, the transmission error processing unit 150 detects that an error has occurred in data transmission/reception between the first device 200 and the second device 300. I can.

전송 오류 처리부(150)는 상기 오류를 감지한 경우, 제1 장치(200)로부터 제1 데이터 및 제1 데이터 구조를 수신할 때까지 대기할 수 있다. 전송 오류 처리부(150)는 제1 장치(200)로부터 상기 제1 데이터 및 제1 데이터 구조를 수신하면, 전송 오류 처리부(150)는 상기 제2 데이터구조에 따른 제2 데이터의 생성을 시작할 수 있다.When the transmission error processing unit 150 detects the error, the transmission error processing unit 150 may wait until receiving the first data and the first data structure from the first device 200. When the transmission error processing unit 150 receives the first data and the first data structure from the first device 200, the transmission error processing unit 150 may start generating second data according to the second data structure. .

전송 오류 처리부(150)는 상기 제2 데이터를 생성하기 위하여, 상기 제1 데이터, 상기 제1 데이터구조 및 상기 제2 데이터구조를 이용할 수 있다. 전송 오류 처리부(150)는 상기 제2 데이터구조의 각 필드에 해당하는 필드값을 제1 데이터구조를 참조하여 제1 데이터에서 추출할 수 있다. 전송 오류 처리부(150)는 상기 추출한 필드값을 상기 제2 데이터구조에 따라 배열하여 상기 제2 데이터를 생성할 수 있다.The transmission error processing unit 150 may use the first data, the first data structure, and the second data structure to generate the second data. The transmission error processing unit 150 may extract a field value corresponding to each field of the second data structure from the first data with reference to the first data structure. The transmission error processing unit 150 may generate the second data by arranging the extracted field values according to the second data structure.

예를 들어서, 전송 오류 처리부(150)가 상기 제2 데이터를 생성하는 것을 도 4의 제1 데이터구조(250)과 제2 데이터구조(350)를 참조하여 자세히 설명한다.For example, the generation of the second data by the transmission error processing unit 150 will be described in detail with reference to the first data structure 250 and the second data structure 350 of FIG. 4.

제1 데이터구조(250)는 Head, Index, FixedRateProfile 및 FrameRate 필드로 구성되고, 제2 데이터구조(350)는 Head, Index 및 FrameRate 필드로 구성될 수 있다.The first data structure 250 may be composed of Head, Index, FixedRateProfile, and FrameRate fields, and the second data structure 350 may be composed of Head, Index, and FrameRate fields.

제1 데이터구조(250)에 따른 상기 제1 데이터는 Head, Index, FixedRateProfile 및 FrameRate 필드에 해당하는 값이 순차적으로 배열된 값이고, 제2 데이터구조(350)에 따른 상기 제2 데이터는 Head, Index 및 FrameRate 필드에 해당하는 값이 순차적으로 배열된 값이다.The first data according to the first data structure 250 is a value in which values corresponding to the Head, Index, FixedRateProfile, and FrameRate fields are sequentially arranged, and the second data according to the second data structure 350 is Head, Values corresponding to the Index and FrameRate fields are sequentially arranged.

제2 장치(300)가 상기 제1 데이터를 수신하면, 제2 데이터구조(350)의 FrameRate 필드 자리에 상기 제1 데이터에는 FixedRateProfile 필드 값이 위치해있기 때문에 상기 제1 데이터를 처리하는 과정에서 오류가 발생할 수 있다.When the second device 300 receives the first data, since the FixedRateProfile field value is located in the first data in the place of the FrameRate field of the second data structure 350, an error occurs in the process of processing the first data. Can occur.

전송 오류 처리부(150)는 제2 데이터구조(350)의 각 필드에 해당하는 값을 제1 데이터구조(250)에서 참조하여 상기 제1 데이터에서 추출할 수 있다. The transmission error processing unit 150 may extract a value corresponding to each field of the second data structure 350 from the first data by referring to the first data structure 250.

예를 들어서, 제2 데이터구조(350)의 Head, Index 및 FrameRate 필드에 각각 대응되는 값을 추출하기 위해서 제1 데이터구조(250)에서 상기 Head, Index 및 FrameRate 필드의 위치를 확인하고, 상기 제1 데이터에서 상기 확인된 위치의 값을 추출하여, 상기 Head, Index 및 FrameRate 필드의 값으로 정할 수 있다. 전송 오류 처리부(150)는 상기 필드 값이 정해진 Head, Index 및 FrameRate 필드를 제2 데이터구조(350)의 순서대로 배열하여 상기 제2 데이터를 생성할 수 있다.For example, in order to extract values corresponding to the Head, Index, and FrameRate fields of the second data structure 350, the positions of the Head, Index, and FrameRate fields in the first data structure 250 are checked, and the 1 The value of the identified position may be extracted from data and set as values of the Head, Index, and FrameRate fields. The transmission error processing unit 150 may generate the second data by arranging the Head, Index, and FrameRate fields in which the field values are determined in the order of the second data structure 350.

전송 오류 처리부(150)는 상기 제2 데이터 생성 시에, 제2 데이터구조(350)에는 존재하지만 제1 데이터구조(250)에는 존재하지 않는 필드의 경우 상기 필드에 대하여 사전에 정해진 기본값으로 상기 필드의 값을 정할 수 있다.When the transmission error processing unit 150 generates the second data, in the case of a field that exists in the second data structure 350 but does not exist in the first data structure 250, the field is configured with a predetermined default value for the field. You can set the value of

전송 오류 처리부(150)는 상기 생성된 상기 제2 데이터를 송신부(120)를 이용하여 제2 장치(300)에 전송할 수 있다. The transmission error processing unit 150 may transmit the generated second data to the second device 300 using the transmission unit 120.

도2, 도 3b 및 도 4을 참조하여, 데이터 전송 오류 처리 장치(105)의 구성 및 동작을 자세히 설명한다.The configuration and operation of the data transmission error processing apparatus 105 will be described in detail with reference to FIGS. 2, 3B, and 4.

본 발명의 다른 실시예에 따르면, 데이터 전송 오류 처리 장치(105)는 수신부(115), 송신부(125), 전송 오류 처리부(155) 및 데이터구조 저장부(130)를 포함할 수 있다.According to another embodiment of the present invention, the data transmission error processing apparatus 105 may include a reception unit 115, a transmission unit 125, a transmission error processing unit 155, and a data structure storage unit 130.

본 발명의 다른 실시예에 따르면, 데이터구조 저장부(130)에는 상기 제1 데이터구조 및 상기 제2 데이터구조가 저장되어 있을 수 있다. 본 발명의 다른 실시예에 따른 데이터 전송 오류 회복 시스템(70)의 모든 장치들의 데이터구조가 데이터구조 저장부(130)에 저장되어 있을 수 있다.According to another embodiment of the present invention, the first data structure and the second data structure may be stored in the data structure storage unit 130. Data structures of all devices of the data transmission error recovery system 70 according to another embodiment of the present invention may be stored in the data structure storage unit 130.

데이터구조 저장부(130)에 상기 제1 데이터구조 및 상기 제2 데이터구조가 저장되어 있기 때문에, 제2 장치(305)에서 상기 제1 데이터를 수신하여 오류가 발생하였을 때, 제2 장치(305)는 데이터 전송 오류 처리 장치(105)에 상기 제2 데이터구조를 전송할 필요가 없으며, 제1 장치(205)도 데이터 전송 오류 처리 장치(105)에 상기 제1 데이터구조를 전송할 필요가 없을 수 있다.Since the first data structure and the second data structure are stored in the data structure storage unit 130, when an error occurs when the second device 305 receives the first data, the second device 305 ) Does not need to transmit the second data structure to the data transmission error processing device 105, and the first device 205 may not need to transmit the first data structure to the data transmission error processing device 105 .

본 발명의 다른 실시예에 따르면, 제1 장치(205)는 제2 장치(300)에 제1 데이터만을 전송하고, 상기 오류 발생시에 제2 장치(300)만이 데이터 전송 오류 처리 장치(100)에만 오류 발생 메시지와 상기 제1 데이터를 전송할 수 있다.According to another embodiment of the present invention, the first device 205 transmits only the first data to the second device 300, and when the error occurs, only the second device 300 transmits data only to the error processing device 100. An error occurrence message and the first data may be transmitted.

전송 오류 처리부(155)는 상기 오류 발생 메시지와 상기 제1 데이터를 수신하여, 상기 오류가 해결된 제2 데이터구조에 따른 제2 데이터를 생성할 수 있다.The transmission error processing unit 155 may receive the error occurrence message and the first data and generate second data according to a second data structure in which the error is resolved.

전송 오류 처리부(155)는 제2 장치(305)로부터 상기 오류 발생 메시지 및 상기 제1 데이터를 수신하면, 데이터구조 저장부(135)에서 상기 제1 데이터 구조 및 제2 데이터구조를 조회하여, 상기 제2 데이터구조에 따른 제2 데이터를 생성할 수 있다.When the transmission error processing unit 155 receives the error occurrence message and the first data from the second device 305, the data structure storage unit 135 inquires the first data structure and the second data structure, Second data according to the second data structure may be generated.

전송 오류 처리부(155)는 상기 제1 데이터, 상기 제1 데이터구조 및 상기 제2 데이터구조를 바탕으로 상기 제1 데이터에서 상기 제2 데이터구조에 포함된 각 필드에 해당하는 값을 추출하여, 제2 데이터구조에 따른 제2 데이터를 생성할 수 있다.The transmission error processing unit 155 extracts a value corresponding to each field included in the second data structure from the first data based on the first data, the first data structure, and the second data structure, 2 It is possible to generate second data according to the data structure.

전송 오류 처리부(155)는 상기 제2 데이터 생성 시에, 제2 데이터구조(350)에는 존재하지만 제1 데이터구조(250)에는 존재하지 않는 필드의 경우 상기 필드에 대하여 사전에 정해진 기본값으로 상기 필드의 값을 정할 수 있다.When the transmission error processing unit 155 generates the second data, in the case of a field that exists in the second data structure 350 but does not exist in the first data structure 250, the field is configured with a predetermined default value for the field. You can set the value of

구체적으로 전송 오류 처리부(155)가 상기 제1 데이터, 상기 제1 데이터구조 및 상기 제2 데이터구조를 바탕으로 상기 제2 데이터를 생성하는 방법은, 본 발명의 일 실시예에 따른 전송 오류 처리부(150)가 상기 제2 데이터를 생성하는 방법과 동일할 수 있기 때문에, 설명의 중복의 피하기 위해서 생략한다. 하지만, 전송 오류 처리부(155)가 사용하는 방법은 상기 방법에 한정되지는 않는다.Specifically, the method of generating the second data based on the first data, the first data structure, and the second data structure by the transmission error processing unit 155 is a transmission error processing unit according to an embodiment of the present invention ( Since 150) may be the same as the method of generating the second data, it will be omitted to avoid redundant description. However, the method used by the transmission error processing unit 155 is not limited to the above method.

전송 오류 처리부(155)는 상기 생성된 제2 데이터를 송신부(125)을 이용하여, 제2 장치(305)에 송신할 수 있다.The transmission error processing unit 155 may transmit the generated second data to the second device 305 using the transmission unit 125.

도 5는 본 발명의 일 실시예에 따른, 데이터 전송 오류 회복 시스템(50)에서의 메시지 흐름도이다.5 is a message flow diagram in the data transmission error recovery system 50 according to an embodiment of the present invention.

도 5를 참조하여, 본 발명의 일 실시예에 따른 데이터 전송 오류 회복 시스템(50)의 메시지 흐름을 자세히 설명한다.Referring to FIG. 5, the message flow of the data transmission error recovery system 50 according to an embodiment of the present invention will be described in detail.

제1 장치(200)는 제2 장치(300)에 제1 데이터구조에 따른 제1 데이터를 송신한다(S110).The first device 200 transmits the first data according to the first data structure to the second device 300 (S110).

제2 장치(300)는 상기 제1 데이터를 수신하여, 오류가 없는지 검증한다(S120). 상기 검증은 상기 제2 데이터구조의 각 필드 값을 상기 수신한 제1 데이터에서 추출할 수 있는지 여부로 판단할 수 있지만, 이에 한정되지는 않는다.The second device 300 receives the first data and verifies whether there is an error (S120). The verification may be performed by determining whether each field value of the second data structure can be extracted from the received first data, but is not limited thereto.

제2 장치(300)는 상기 검증 결과 오류가 발생하였다고 판단하면, 제1 장치(200)에 오류 발생 메시지를 송신하고(S130). 데이터 전송 오류 처리 장치(100)에 오류 발생 메시지 및 상기 제2 데이터구조를 송신한다(S140).If the second device 300 determines that an error has occurred as a result of the verification, the second device 300 transmits an error generation message to the first device 200 (S130). An error occurrence message and the second data structure are transmitted to the data transmission error processing apparatus 100 (S140).

제1 장치(200)는 상기 오류 발생 메시지를 수신하면, 이에 대한 응답으로 데이터 전송 오류 처리 장치(100)에 상기 제1 데이터와 상기 제1 데이터구조를 송신한다(S150).When the first device 200 receives the error occurrence message, the first device 200 transmits the first data and the first data structure to the data transmission error processing device 100 in response thereto (S150).

데이터 전송 오류 처리 장치(100)는 제2 장치(300)로부터 상기 오류 발생 메시지 및 상기 제2 데이터구조를 수신하고, 제1 장치(200)로부터 상기 제1 데이터 및 상기 제1 데이터구조를 수신하면, 상기 제2 데이터구조에 따른 제2 데이터를 생성한다(S160).When the data transmission error processing device 100 receives the error occurrence message and the second data structure from the second device 300, and receives the first data and the first data structure from the first device 200, , Second data according to the second data structure is generated (S160).

데이터 전송 오류 처리 장치(100)는 상기 제1 데이터, 상기 제1 데이터구조 및 상기 제2 데이터구조를 바탕으로 상기 제1 데이터에서 상기 제2 데이터구조에 포함된 각 필드에 해당하는 값을 추출하여, 제2 데이터구조에 따른 제2 데이터를 생성할 수 있지만, 이에 한정되지는 않는다.The data transmission error processing apparatus 100 extracts a value corresponding to each field included in the second data structure from the first data based on the first data, the first data structure, and the second data structure. , Second data according to the second data structure may be generated, but the present invention is not limited thereto.

데이터 전송 오류 처리 장치(100)는 상기 생성된 제2 데이터를 제2 장치(300)에 전송한다(S170).The data transmission error processing apparatus 100 transmits the generated second data to the second apparatus 300 (S170).

도 6은 본 발명의 다른 실시예에 따른, 데이터 전송 오류 회복 시스템(70)에서의 메시지 흐름도이다.6 is a message flow diagram in a data transmission error recovery system 70 according to another embodiment of the present invention.

도 6를 참조하여, 본 발명의 일 실시예에 따른 데이터 전송 오류 회복 시스템(70)의 메시지 흐름을 자세히 설명한다.Referring to FIG. 6, the message flow of the data transmission error recovery system 70 according to an embodiment of the present invention will be described in detail.

제1 장치(205)는 제2 장치(305)에 제1 데이터구조에 따른 제1 데이터를 송신한다(S210).The first device 205 transmits the first data according to the first data structure to the second device 305 (S210).

제2 장치(305)는 상기 제1 데이터를 수신하여, 오류가 없는지 검증한다(S220). 상기 검증은 상기 제2 데이터구조의 각 필드 값을 상기 수신한 제1 데이터에서 추출할 수 있는지 여부로 판단할 수 있지만, 이에 한정되지는 않는다.The second device 305 receives the first data and verifies whether there is an error (S220). The verification may be performed by determining whether each field value of the second data structure can be extracted from the received first data, but is not limited thereto.

제2 장치(305)는 상기 검증 결과 오류가 발생하였다고 판단하면, 데이터 전송 오류 처리 장치(105)에 오류 발생 메시지 및 상기 제1 데이터를 송신한다(S130).If the second device 305 determines that an error has occurred as a result of the verification, the second device 305 transmits an error occurrence message and the first data to the data transmission error processing device 105 (S130).

데이터 전송 오류 처리 장치(105)는 제2 장치(305)로부터 상기 오류 발생 메시지 및 상기 제1 데이터를 수신하면, 내부에 저장된 상기 제1 데이터 구조 및 제2 데이터구조를 조회하여, 상기 제2 데이터구조에 따른 제2 데이터를 생성한다(S240).When the data transmission error processing device 105 receives the error occurrence message and the first data from the second device 305, the first data structure and the second data structure stored therein are inquired, and the second data Second data according to the structure is generated (S240).

데이터 전송 오류 처리 장치(105)는 상기 제1 데이터, 상기 제1 데이터구조 및 상기 제2 데이터구조를 바탕으로 상기 제1 데이터에서 상기 제2 데이터구조에 포함된 각 필드에 해당하는 값을 추출하여, 제2 데이터구조에 따른 제2 데이터를 생성할 수 있지만, 이에 한정되지는 않는다.The data transmission error processing apparatus 105 extracts a value corresponding to each field included in the second data structure from the first data based on the first data, the first data structure, and the second data structure. , Second data according to the second data structure may be generated, but the present invention is not limited thereto.

데이터 전송 오류 처리 장치(105)는 상기 생성된 제2 데이터를 제2 장치(300)에 전송한다(S250).The data transmission error processing device 105 transmits the generated second data to the second device 300 (S250).

도 7은 본 발명의 일 실시예에 따른, 데이터 전송 오류 처리 장치(100)의 전송 오류 처리 순서도이다.7 is a flowchart illustrating a transmission error process performed by the apparatus 100 for processing a data transmission error according to an embodiment of the present invention.

도 7을 참조하여, 데이터 전송 오류 처리 장치(100)의 전송 오류 처리를 설명한다.With reference to FIG. 7, transmission error processing of the data transmission error processing apparatus 100 will be described.

데이터 전송 오류 처리 장치(100)는 제2 장치(300)로부터 오류 발생 메시지와 제2 데이터구조를 수신하고(S310), 제1 장치(200)로부터 제1 데이터 및 제1 데이터구조를 수신하면(S320), 제2 데이터 생성을 시작한다(S330). When the data transmission error processing apparatus 100 receives an error occurrence message and a second data structure from the second device 300 (S310), and receives the first data and the first data structure from the first device 200 ( S320), second data generation starts (S330).

데이터 전송 오류 처리 장치(100)는 상기 제1 데이터에 상기 제2 데이터구조에 포함된 필드에 해당하는 값이 존재하는지 확인한다(S340). 상기 확인을 위하여 데이터 전송 오류 처리 장치(100)는 상기 제1 데이터구조를 이용할 수 있다.The data transmission error processing apparatus 100 checks whether a value corresponding to a field included in the second data structure exists in the first data (S340). For the verification, the data transmission error processing apparatus 100 may use the first data structure.

데이터 전송 오류 처리 장치(100)는 상기 제1 데이터에 상기 제2 데이터구조에 포함된 필드에 해당하는 값이 존재하면, 상기 값을 상기 제1 데이터에서 추출한다(S350).If a value corresponding to a field included in the second data structure exists in the first data, the data transmission error processing apparatus 100 extracts the value from the first data (S350).

데이터 전송 오류 처리 장치(100)는 상기 추출한 값을, 상기 제2 데이터구조의 필드 순서에 따라서 상기 제2 데이터에 추가한다(S360).The data transmission error processing apparatus 100 adds the extracted value to the second data according to the field order of the second data structure (S360).

데이터 전송 오류 처리 장치(100)는 상기 제1 데이터에 상기 제2 데이터구조에 포함된 필드에 해당하는 값이 존재하지 않으면, 상기 필드에 해당하는 사전에 정해진 기본값을 상기 제2 데이터구조의 필드 순서에 따라서 상기 제2 데이터에 추가한다(S370).If there is no value corresponding to the field included in the second data structure in the first data, the data transmission error processing apparatus 100 sets a predetermined default value corresponding to the field to the field order of the second data structure. According to the above, it is added to the second data (S370).

데이터 전송 오류 처리 장치(100)는 상기 제2 데이터가 완성되었는지 확인한다(S380). 상기 완성 여부는, 상기 제2 데이터구조에 포함된 모든 필드에 대한 값을 제1 데이터에서 추출하여 상기 제2 데이터에 추가하였는지 여부 또는 상기 필드의 기본값을 상기 제2 데이터에 추가하였는지 여부로 판단할 수 있지만, 이에 한정되지는 않는다.The data transmission error processing apparatus 100 checks whether the second data is completed (S380). The completion of the field is determined by whether values for all fields included in the second data structure are extracted from the first data and added to the second data, or whether a default value of the field is added to the second data. However, it is not limited thereto.

데이터 전송 오류 처리 장치(100)는 상기 제2 데이터가 완성이 되면 제2 데이터를 제2 장치(300)에 송신한다(S390).When the second data is completed, the data transmission error processing apparatus 100 transmits the second data to the second apparatus 300 (S390).

이상 첨부된 도면을 참조하여 본 발명의 실시예들을 설명하였지만, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 본 발명이 그 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다.Although the embodiments of the present invention have been described with reference to the accompanying drawings, those of ordinary skill in the art to which the present invention pertains can be implemented in other specific forms without changing the technical spirit or essential features. You can understand. Therefore, it should be understood that the embodiments described above are illustrative in all respects and not limiting.

일 실시예에 따른 데이터 전송 오류 처리 장치 100
다른 실시예에 따른 데이터 전송 오류 처리 장치 105
일 실시예에 따른 제1 장치 200
다른 실시예에 따른 제1 장치 205
일 실시예에 따른 제2 장치 300
다른 실시예에 따른 제2 장치 305
일 실시예에 따른 전송 오류 처리부 150
다른 실시예에 따른 전송 오류 처리부 155
다른 실시예에 따른 데이터구조 저장부 130
Data transmission error processing apparatus 100 according to an embodiment
Data transmission error processing apparatus 105 according to another embodiment
First device 200 according to an embodiment
The first device 205 according to another embodiment
Second device 300 according to an embodiment
Second device 305 according to another embodiment
Transmission error processing unit 150 according to an embodiment
Transmission error processing unit 155 according to another embodiment
Data structure storage unit 130 according to another embodiment

Claims (6)

제1 장치;
제2 장치; 및
데이터 전송 오류 처리 장치를 포함하되,
상기 제1 장치는,
상기 제2 장치로 제1 데이터를 송신하고, 상기 제1 데이터 송신에 따른 응답으로 상기 제2 장치로부터 송신 오류 메시지를 수신하면, 상기 데이터 전송 오류 처리 장치에 상기 제1 데이터와 상기 제1 데이터의 구조를 나타내는 제1 데이터구조를 송신하고,
상기 제2 장치는,
상기 제1 데이터를 수신하여 오류가 발생하면 상기 제1 장치에 상기 송신 오류 메시지를 송신하고, 상기 데이터 전송 오류 처리 장치에 상기 송신 오류 메시지와 제2 데이터구조를 송신하며,
상기 데이터 전송 오류 처리 장치는,
상기 송신 오류 메시지를 수신하면, 상기 제1 데이터구조 및 상기 제2 데이터구조를 바탕으로 상기 제1 데이터에서 상기 제2 데이터구조에 포함된 각 필드에 해당하는 값을 추출하여, 상기 제2 데이터구조에 따른 제2 데이터를 생성하고, 상기 생성된 제2 데이터를 상기 제2 장치에 송신하는 전송 오류 처리부를 포함하는,
데이터 전송 오류 회복 시스템.
A first device;
A second device; And
Including a data transmission error handling device,
The first device,
When the first data is transmitted to the second device and a transmission error message is received from the second device in response to the transmission of the first data, the data transmission error processing device is Send a first data structure representing the structure,
The second device,
When an error occurs by receiving the first data, the transmission error message is transmitted to the first device, and the transmission error message and the second data structure are transmitted to the data transmission error processing device,
The data transmission error processing device,
Upon receiving the transmission error message, a value corresponding to each field included in the second data structure is extracted from the first data based on the first data structure and the second data structure, and the second data structure Generating second data according to, and comprising a transmission error processing unit for transmitting the generated second data to the second device,
Data transfer error recovery system.
제1 항에 있어서,
상기 전송 오류 처리부는,
상기 제1 데이터구조를 참조하여 상기 제2 데이터의 각 필드에 해당하는 값이 상기 제1 데이터에 존재하면 상기 제1 데이터에서 상기 각 필드에 해당하는 값을 추출하여 상기 제2 데이터에 추가하고, 존재하지 않으면 상기 각 필드의 기본값을 상기 제2 데이터에 추가하여 상기 제2 데이터를 생성하는,
데이터 전송 오류 회복 시스템.
The method of claim 1,
The transmission error processing unit,
If a value corresponding to each field of the second data exists in the first data with reference to the first data structure, a value corresponding to each field is extracted from the first data and added to the second data, If not present, generating the second data by adding a default value of each field to the second data,
Data transfer error recovery system.
제1 장치;
제2 장치; 및
데이터 전송 오류 처리 장치를 포함하되,
상기 제1 장치는,
상기 제2 장치로 제1 데이터를 송신하고,
상기 제2 장치는,
상기 제1 데이터를 수신하여 오류가 발생하면 상기 데이터 전송 오류 처리 장치에 송신 오류 메시지 및 제1 데이터를 송신하며,
상기 데이터 전송 오류 처리 장치는,
상기 제1 장치가 데이터 송수신에 사용하는 데이터 형식인 제1 데이터구조 및 상기 제2 장치가 데이터 송수신에 사용하는 데이터 형식인 제2 데이터구조가 저장되는 데이터구조 저장부; 및
상기 송신 오류 메시지를 수신하면 상기 제1 데이터구조 및 상기 제2 데이터구조를 바탕으로 상기 제1 데이터에서 상기 제2 데이터구조에 포함된 각 필드에 해당하는 값을 추출하여, 제2 데이터구조에 따른 제2 데이터를 생성하는 전송 오류 처리부를 포함하는,
데이터 전송 오류 회복 시스템.
A first device;
A second device; And
Including a data transmission error handling device,
The first device,
Transmit first data to the second device,
The second device,
When an error occurs by receiving the first data, a transmission error message and first data are transmitted to the data transmission error processing device,
The data transmission error processing device,
A data structure storage unit storing a first data structure, which is a data format used by the first device for data transmission and reception, and a second data structure, which is a data format used by the second device for data transmission and reception; And
Upon receiving the transmission error message, a value corresponding to each field included in the second data structure is extracted from the first data based on the first data structure and the second data structure. Including a transmission error processing unit for generating second data,
Data transfer error recovery system.
제3 항에 있어서,
상기 전송 오류 처리부는,
상기 제1 데이터구조를 참조하여 상기 제2 데이터의 각 필드에 해당하는 값이 상기 제1 데이터에 존재하면 상기 제1 데이터에서 상기 각 필드에 해당하는 값을 추출하여 상기 제2 데이터에 추가하고, 존재하지 않으면 상기 각 필드의 기본값을 상기 제2 데이터에 추가하여 상기 제2 데이터를 생성하는,
데이터 전송 오류 회복 시스템.
The method of claim 3,
The transmission error processing unit,
If a value corresponding to each field of the second data exists in the first data with reference to the first data structure, a value corresponding to each field is extracted from the first data and added to the second data, If not present, generating the second data by adding a default value of each field to the second data,
Data transfer error recovery system.
송신 오류 처리 장치에 의해 제1 장치 및 제2 장치 간의 데이터 전송의 오류를 처리하는 방법에 있어서,
상기 송신 오류 처리 장치가 상기 제2 장치로부터 송신 오류 메시지 및 제2 데이터구조를 수신하는 단계;
상기 송신 오류 처리 장치가 상기 제1 장치로부터 제1 데이터 및 제1 데이터구조를 수신하는 단계;
상기 송신 오류 처리 장치가 상기 제1 데이터, 상기 제1 데이터구조 및 상기 제2 데이터구조를 바탕으로 상기 제2 데이터구조에 따른 제2 데이터를 생성하는 단계; 및
상기 송신 오류 처리 장치가 상기 생성된 제2 데이터를 상기 제2 장치에 송신하는 단계를 포함하는,
데이터 전송 오류 회복 방법.
In the method of handling an error in data transmission between a first device and a second device by a transmission error processing device,
Receiving, by the transmission error processing device, a transmission error message and a second data structure from the second device;
Receiving, by the transmission error processing device, first data and a first data structure from the first device;
Generating, by the transmission error processing apparatus, second data according to the second data structure based on the first data, the first data structure, and the second data structure; And
The transmission error processing device comprising the step of transmitting the generated second data to the second device,
How to recover from data transfer errors.
제5 항에 있어서,
상기 제2 데이터를 생성하는 단계는,
상기 송신 오류 처리 장치가 제1 데이터구조를 참조하여 상기 제2 데이터의 각 필드에 해당하는 값이 제1 데이터에 존재하는지 확인하는 단계;
상기 확인하는 단계의 결과가 존재하는 것이면, 상기 제1 데이터에서 상기 각 필드에 해당하는 값을 추출하여 상기 제2 데이터에 추가하는 단계;
상기 확인하는 단계의 결과가 존재하는 것이 아니면, 상기 각 필드의 기본값을 상기 제2 데이터에 추가하는 단계를 포함하는,
데이터 전송 오류 회복 방법.
The method of claim 5,
The step of generating the second data,
Checking, by the transmission error processing apparatus, whether a value corresponding to each field of the second data exists in the first data by referring to the first data structure;
If a result of the step of checking exists, extracting a value corresponding to each field from the first data and adding it to the second data;
If the result of the step of checking does not exist, adding a default value of each field to the second data,
How to recover from data transfer errors.
KR1020140022062A 2014-02-25 2014-02-25 Data transfer failure recovery system and method thereof KR102174857B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140022062A KR102174857B1 (en) 2014-02-25 2014-02-25 Data transfer failure recovery system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140022062A KR102174857B1 (en) 2014-02-25 2014-02-25 Data transfer failure recovery system and method thereof

Publications (2)

Publication Number Publication Date
KR20150100350A KR20150100350A (en) 2015-09-02
KR102174857B1 true KR102174857B1 (en) 2020-11-05

Family

ID=54242082

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140022062A KR102174857B1 (en) 2014-02-25 2014-02-25 Data transfer failure recovery system and method thereof

Country Status (1)

Country Link
KR (1) KR102174857B1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100626534B1 (en) * 2004-07-16 2006-09-20 주식회사 팬택앤큐리텔 Device and Method For Transmitting and Receiving Information of Network Real Time
US20060081859A1 (en) 2004-10-15 2006-04-20 Shyi-Ming Pan Light emitting semiconductor bonding structure and method of manufacturing the same
WO2006093093A1 (en) * 2005-02-28 2006-09-08 Matsushita Electric Industrial Co., Ltd. Retransmission control scheme and wireless communication apparatus
WO2007139338A1 (en) * 2006-05-29 2007-12-06 Samsung Electronics Co., Ltd. Retransmission apparatus and method in wireless relay communication system
KR100851918B1 (en) * 2006-10-20 2008-08-12 광주과학기술원 Network-adaptive Data Transmission Method, Data Transmission System, Data Sender, and Data Receiver Therefor

Also Published As

Publication number Publication date
KR20150100350A (en) 2015-09-02

Similar Documents

Publication Publication Date Title
TWI730993B (en) First communication device, communication method, and communication system
JP2007300619A (en) Method, apparatus, and program for maintaining integrity of data in case of switching between different data protection method
US11146090B2 (en) Battery management system, and method and apparatus for transmitting information
JP2014143762A5 (en) Mobile communication method, wireless terminal, and processor
JP2017510169A5 (en)
IL272795B (en) Persistent writes for non-volatile memory
US20170272339A1 (en) Method and apparatus for detecting connectivity
CN103763067A (en) Method and device for error correction and calibration of communication data packets
CN112702202B (en) Ammeter communication link fault recovery method and device and computer equipment
JP2012129751A5 (en)
CN1322444C (en) Method for transmitting and processing command and data
US20160056880A1 (en) Relay apparatus and method of controlling relay apparatus
CN104184543A (en) Data transmission method, device and system
WO2016086638A1 (en) Link detection method, device, and computer storage medium
WO2016161938A1 (en) Single board reset method, apparatus and device for base band unit
US10805043B2 (en) Data transmission apparatus and data transmission method, reception device and reception method, program, and data transmission system
KR102174857B1 (en) Data transfer failure recovery system and method thereof
JP2017091280A (en) Monitoring method and monitoring system
JP2015121971A5 (en) Information processing system, information processing apparatus, image forming apparatus, information processing method, and information processing program
US20130227370A1 (en) Transmitting and receiving system and method, and non-transitory computer readable medium
JP2014082578A (en) Full duplex communication device using communication packet and having transmitter and receiver and communication method thereof
JP2017518669A5 (en)
JP2017034448A (en) Communication device, and lens device and imaging device including the same
JP5595523B2 (en) Peripheral device of programmable controller and communication method thereof
CN103778091A (en) Apparatus and method for operating and switching single conductor interface

Legal Events

Date Code Title Description
N231 Notification of change of applicant
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right