KR101948073B1 - Apparatus for transferring data in one direction - Google Patents
Apparatus for transferring data in one direction Download PDFInfo
- Publication number
- KR101948073B1 KR101948073B1 KR1020170028539A KR20170028539A KR101948073B1 KR 101948073 B1 KR101948073 B1 KR 101948073B1 KR 1020170028539 A KR1020170028539 A KR 1020170028539A KR 20170028539 A KR20170028539 A KR 20170028539A KR 101948073 B1 KR101948073 B1 KR 101948073B1
- Authority
- KR
- South Korea
- Prior art keywords
- data
- error
- receiver
- transmitter
- lines
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/08—Arrangements for detecting or preventing errors in the information received by repeating transmission, e.g. Verdan system
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/24—Testing correct operation
- H04L1/242—Testing correct operation by comparing a transmitted test signal with a locally generated replica
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L2001/0098—Unequal error protection
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
Abstract
본 발명은 데이터를 복수 개의 데이터 라인을 통해 전송하는 송신기; 및 상기 송신기로부터 데이터 라인 각각을 통해 데이터를 수신하고, 수신된 데이터를 비교하여 일치 여부에 따라 상기 송신기로부터 전송된 데이터의 데이터 오류를 검출하는 수신기를 포함하는 것을 특징으로 한다. The present invention relates to a data transmission apparatus, comprising: a transmitter for transmitting data through a plurality of data lines; And a receiver for receiving data from the transmitter through each of the data lines, comparing the received data, and detecting a data error of the data transmitted from the transmitter according to the match.
Description
본 발명은 일방향 데이터 통신 장치에 관한 것으로서, 보다 상세하게는 일방향 데이터 통신에서 데이터 오류를 검출하는 일방향 데이터 통신 장치에 관한 것이다.The present invention relates to a one-way data communication apparatus, and more particularly, to a one-way data communication apparatus for detecting a data error in one-way data communication.
데이터 전송환경은 크게 양방향 전송망과 일방향 전송망으로 나누어진다. The data transmission environment is largely divided into a bi-directional transmission network and a one-way transmission network.
양방향 전송망을 통하여 데이터를 전송하는 방법은 ARQ(Automatic Repeat Request) 방식을 이용하여 전송로상에서 데이터 전송 오류가 발생하면 수신단에서 이를 검출하고, 양방향 채널을 통하여 송신단에 재전송을 요구하여 해당하는 데이터를 재수신 받는 방법을 사용하고 있다. 따라서, 양방향 전송환경하에서는 데이터 전송이 오류없이 순차적으로 수신단의 버퍼에 저장되면서, 일정한 시간이 흐르면 송신단에서 보낸 것과 동일한 데이터가 수신단에 저장된다.A method of transmitting data through a bi-directional transmission network uses an ARQ (Automatic Repeat Request) method to detect a data transmission error on a transmission path, detect the error in a receiving terminal, request a transmitting end to a transmitting terminal through a bidirectional channel, I am using the receiving method. Therefore, under a bidirectional transmission environment, data transmission is sequentially stored in the buffer of the receiving end without error, and the same data as that transmitted by the transmitting end is stored in the receiving end after a certain period of time.
그러나 일방향 전송망은 높은 보안성을 요구하는 경우에 사용되며, 수신단에서 송신단으로의 데이터 전송이 물리적 또는 논리적으로 차단되어 있다. 따라서, 보안 레벨이 낮은 수신단측에서는 데이터 수신 여부에 대한 응답을 송신단측으로 보내 줄 수 없기 때문에 송신단측에서는 데이터 전송이 정상적으로 이루어졌는지 여부를 판단할 수 없다. 이에 일방향 통신에서의 에러에 대비하여 자가 오류 복구를 수행하거나 해쉬값을 이용하여 그 오류를 검출하는 방식이 제시되었으나 이러한 방식도 송신단으로 데이터 오류를 전달할 수 없는 문제점이 있었다. However, the one-way transmission network is used when high security is required, and the data transmission from the receiving end to the transmitting end is physically or logically blocked. Therefore, on the receiver side having a low security level, it is not possible to send a response to the data reception to the transmitter side, so that it is not possible to judge whether or not the data transmission is normally performed on the transmitter side. Accordingly, a method of performing self-error recovery in response to an error in one-way communication or detecting the error by using a hash value has been proposed. However, this method also has a problem that data error can not be transmitted to the transmitting end.
본 발명의 배경기술은 대한민국 공개특허공보 제2000-0028706호(2000.05.25)의 '단방향 데이터 경로 상에서 보안 접속을 확립하는 방법 및 장치'에 개시되어 있다.The background art of the present invention is disclosed in Korean Patent Laid-Open Publication No. 2000-0028706 (May 25, 2000) entitled " Method and apparatus for establishing secure connection on unidirectional data path ".
본 발명은 전술한 문제점을 해결하기 위해 창안된 것으로서, 본 발명의 일 측면에 따른 목적은 동일한 데이터를 복수 개의 데이터 라인을 통해 송수신하고 송수신되는 데이터의 일치 여부를 토대로 데이터 오류를 정확하게 검출하는 일방향 데이터 통신 장치를 제공하는 것이다. SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and it is an object of one aspect of the present invention to provide a method and apparatus for transmitting and receiving the same data through a plurality of data lines, And a communication device.
본 발명의 일 측면에 따른 일방향 데이터 통신 장치는 데이터를 복수 개의 데이터 라인을 통해 전송하는 송신기; 및 상기 송신기로부터 데이터 라인 각각을 통해 데이터를 수신하고, 수신된 데이터를 비교하여 일치 여부에 따라 상기 송신기로부터 전송된 데이터의 데이터 오류를 검출하는 수신기를 포함하는 것을 특징으로 한다. A one-way data communication apparatus according to an aspect of the present invention includes a transmitter for transmitting data through a plurality of data lines; And a receiver for receiving data from the transmitter through each of the data lines, comparing the received data, and detecting a data error of the data transmitted from the transmitter according to the match.
본 발명에서, 상기 수신기는 상기 송신기와 복수 개의 전원신호 라인을 통해 연결되어 데이터 오류에 따라 전원신호 라인 각각을 통해 상기 송신기에 인가되는 전원을 선택적으로 온오프시켜 데이터 오류에 대응되는 전원신호를 상기 송신기로 전달하는 것을 특징으로 한다. In the present invention, the receiver is connected to the transmitter through a plurality of power supply signal lines, and selectively turns on and off a power source applied to the transmitter through each of power source signal lines in response to a data error, To a transmitter.
본 발명에서, 상기 송신기는 데이터를 분배하여 데이터 라인 각각을 통해 상기 수신기로 전송하는 데이터 전송부; 상기 수신기와 전원신호 라인을 통해 연결되어 전원신호 라인 각각을 통해 전원신호를 수신하는 전원신호 검출부; 및 상기 데이터 전송부를 제어하여 데이터를 상기 수신기로 전송하고 상기 전원신호 검출부를 통해 수신된 전원신호에 따라 상기 데이터 전송부를 제어하는 송신 제어부를 포함하는 것을 특징으로 한다. In the present invention, the transmitter includes: a data transmission unit that distributes data and transmits the data to the receiver through each of the data lines; A power supply signal detector connected to the receiver through a power supply signal line and receiving a power supply signal through each of the power supply signal lines; And a transmission control unit controlling the data transmission unit to transmit data to the receiver and controlling the data transmission unit according to a power supply signal received through the power supply signal detection unit.
본 발명에서, 상기 송신 제어부는 상기 전원신호 검출부에 의해 수신된 전원신호에 따라 상기 수신기로 데이터를 재전송하거나 상기 수신기로 전송하는 데이터를 지연시키는 것을 특징으로 한다. In the present invention, the transmission control unit retransmits data to the receiver or delays data to be transmitted to the receiver according to the power signal received by the power signal detector.
본 발명에서, 상기 수신기는 데이터 라인 각각을 통해 데이터를 수신하는 데이터 수신부; 상기 데이터 수신부에 의해 수신된 데이터를 비교하여 일치 여부에 따라 데이터 오류를 검출하는 오류 검출부; 상기 송신기와 전원신호 라인을 통해 연결되어 전원신호 라인 각각을 통해 전원신호를 상기 송신기로 전달하는 전원신호 출력부; 및 상기 오류 검출부의 데이터 오류 검출 결과에 따라 상기 전원신호 출력부를 제어하여 상기 송신기로 전원신호를 전달하는 수신 제어부를 포함하는 것을 특징으로 한다.In the present invention, the receiver includes: a data receiving unit for receiving data through each of the data lines; An error detector for comparing the data received by the data receiver and detecting a data error according to whether the data match; A power supply signal output unit connected to the transmitter through a power supply signal line and transmitting a power supply signal to the transmitter through each of the power supply signal lines; And a reception controller for controlling the power signal output unit according to a data error detection result of the error detector and transmitting the power signal to the transmitter.
본 발명에서, 상기 오류 검출부는 데이터 라인 각각을 통해 전달된 데이터를 서로 비교하여 기 설정된 개수 이상이 일치하면 일치하는 데이터를 정상 데이터로 판단하는 것을 특징으로 한다. In the present invention, the error detecting unit compares the data transmitted through each of the data lines with each other, and determines that the matching data is normal data when a predetermined number or more of the data are identical.
본 발명에서, 상기 오류 검출부는 데이터 라인 각각을 통해 전달된 데이터를 서로 비교하여 데이터 모두가 서로 일치하지 않으면 데이터 모두에 오류가 발생한 것으로 판단하는 것을 특징으로 한다. In the present invention, the error detector compares the data transmitted through each of the data lines, and determines that an error has occurred in all of the data if the data do not coincide with each other.
본 발명에서, 상기 수신 제어부는 데이터 라인별로 데이터 오류가 발생되었는지 여부를 판별하여 판별 결과에 따라 데이터 라인의 이상 여부를 분석하여 분석 결과를 표시부로 출력하는 것을 특징으로 한다. In the present invention, the reception controller determines whether a data error has occurred for each data line, analyzes the data line according to the determination result, and outputs the analysis result to the display unit.
본 발명에서, 상기 수신 제어부는 데이터 라인별로 데이터 오류가 발생된 총 횟수를 누적 카운트하고, 카운트된 총 횟수를 기 설정된 총 횟수 임계값과 비교하여 비교 결과에 따라 데이터 라인 각각의 이상 여부를 검출하는 것을 특징으로 한다. In the present invention, the reception control unit cumulatively counts the total number of data errors generated for each data line, compares the counted total number with a predetermined total number threshold value, and detects an abnormality of each of the data lines according to the comparison result .
본 발명에서, 상기 수신 제어부는 데이터 라인별로 데이터 오류가 연속적으로 발생된 연속반복 횟수를 카운트하고, 카운트된 연속반복 횟수를 기 설정된 연속반복 횟수 임계값과 비교하여 비교 결과에 따라 데이터 라인 각각의 이상 여부를 검출하는 것을 특징으로 한다. In the present invention, the reception control unit counts the number of consecutive repetitions in which data errors are continuously generated for each data line, compares the counted number of consecutive repetitions with a preset consecutive repetition count threshold value, Or not.
본 발명의 일 측면에 따른 일방향 데이터 통신 장치는 동일한 데이터를 복수 개의 데이터 라인을 통해 송수신하고 송수신되는 데이터의 일치 여부를 토대로 데이터 오류를 정확하게 검출함으로써, 데이터 전송의 신뢰성을 확보할 수 있다. The one-directional data communication apparatus according to an aspect of the present invention can secure the reliability of data transmission by transmitting and receiving the same data through a plurality of data lines and accurately detecting a data error based on whether or not the transmitted and received data match.
도 1 은 본 발명의 일 실시예에 따른 일방향 데이터 통신 장치의 블럭 구성도이다.
도 2 는 본 발명의 일 실시예에 따른 일방향 데이터 통신 방법을 도시한 순서도이다.
도 3 은 본 발명의 일 실시예에 따른 데이터 라인의 이상 여부를 검출하는 과정을 도시한 순서도이다. 1 is a block diagram of a one-way data communication apparatus according to an embodiment of the present invention.
2 is a flowchart illustrating a one-way data communication method according to an embodiment of the present invention.
3 is a flowchart illustrating a process of detecting an abnormality of a data line according to an exemplary embodiment of the present invention.
이하에서는 본 발명의 일 실시예에 따른 일 실시예에 따른 일방향 데이터 통신 장치를 첨부된 도면들을 참조하여 상세하게 설명한다. 이러한 과정에서 도면에 도시된 선들의 두께나 구성요소의 크기 등은 설명의 명료성과 편의상 과장되게 도시되어 있을 수 있다. 또한 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서, 이는 이용자, 운용자의 의도 또는 관례에 따라 달라질 수 있다. 그러므로 이러한 용어들에 대한 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야할 것이다. Hereinafter, a one-way data communication apparatus according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings. In this process, the thicknesses of the lines and the sizes of the components shown in the drawings may be exaggerated for clarity and convenience of explanation. Further, the terms described below are defined in consideration of the functions of the present invention, which may vary depending on the user, the intention or custom of the operator. Therefore, definitions of these terms should be made based on the contents throughout this specification.
도 1 은 본 발명의 일 실시예에 따른 일방향 데이터 통신 장치의 블럭 구성도이다.1 is a block diagram of a one-way data communication apparatus according to an embodiment of the present invention.
도 1 을 참조하면, 본 발명의 일 실시예에 따른 일방향 데이터 통신 장치는 송신기(10) 및 수신기(20)를 포함한다. Referring to FIG. 1, a one-way data communication apparatus according to an embodiment of the present invention includes a
송신기(10)와 수신기(20)는 복수 개의 데이터 라인(30)으로 연결된다. The
송신기(10)는 복수 개의 데이터 라인(30) 각각으로 데이터를 전송하며, 수신기(20)는 송신기(10)로부터 데이터 라인(30) 각각을 통해 데이터를 전달받는다. 이 경우, 데이터 라인(30) 각각으로 전달되는 데이터는 동일하다. The
즉, 송신기(10)는 수신기(20)로 전송하고자 하는 데이터를 분배하여 동일한 데이터를 각 데이터 라인(30)을 통해 수신기(20)로 전달하고, 수신기(20)는 송신기(10)로부터 데이터 라인(30)을 통해 데이터를 전달받고 이들 데이터의 해쉬값을 통해 데이터 오류를 검출하고, 이때 해쉬값이 없으면 이들 데이터를 비교하여 일치 여부에 따라 데이터 오류를 검출한다. That is, the
송신기(10)는 각 데이터 라인(30)을 통해 동일한 데이터를 전송하므로, 데이터 라인(30)의 에러나 이상이 없을 경우 수신기(20)는 각 데이터 라인(30)을 통해 동일한 데이터를 수신하여야 한다. 그러나, 데이터 라인(30) 중 어느 하나 이상에 에러나 이상이 발생할 경우, 각 데이터 라인(30)을 통해 수신되는 데이터는 서로 상이할 수 있다. Since the
즉, 데이터 라인(30) 중 어느 하나 이상에 에러나 이상이 발생할 경우 해당 데이터 라인(30)을 통해 전송되는 데이터에는 오류가 발생할 수 있는 바, 이로 인해 비정상 상태의 데이터 라인(30)을 통해 전송되는 데이터는 정상 상태의 데이터 라인(30)을 통해 전송된 데이터와 서로 상이하게 된다. That is, if an error or an error occurs in any one or more of the
이에 따라, 수신기(20)는 상기한 바와 같이 각 데이터 라인(30)을 통해 전송되는 데이터를 서로 비교하여 일치 여부를 판단하고 이를 바탕으로 데이터 라인(30)을 통해 전송되는 데이터의 데이터 오류를 검출할 수 있다. Accordingly, the
수신기(20)는 상기한 바와 같이 데이터 오류를 검출하면 이 데이터 오류에 대응되는 전원신호를 송신기(10)에 전달하고, 송신기(10)는 수신기(20)로부터 전달받은 전원신호에 따라 데이터 전송을 제어한다. 이하 상세하게 설명한다. When the
먼저, 송신기(10)는 데이터 전송부(11), 전원신호 검출부(12) 및 송신 제어부(13)를 포함한다. First, the
데이터 전송부(11)는 전송하고자 하는 데이터를 데이터 라인(30)의 개수에 따라 복수 개로 분배하여 각각을 각 데이터 라인(30)을 통해 수신기(20)로 전송한다. The
전원신호 검출부(12)는 수신기(20)의 전원신호 출력부(23)와 복수 개의 전원신호 라인(40)을 통해 연결되어 전원신호 라인(40) 각각을 통해 전원신호를 전달받는다. The power
이 경우, 수신기(20)의 전원신호 출력부(23)는 각 전원신호 라인(40)을 통해 전원을 선택적으로 공급한다. 즉, 수신기(20)의 전원신호 출력부(23)는 수신 제어부(25)의 제어신호에 따라 전원신호 라인(40) 각각을 통해 전원을 공급 또는 차단하고, 이 경우 전원신호 검출부(12)는 각 전원신호 라인(40)을 통해 인가되는 전원신호에 따라 수신기(20)에서 검출된 데이터 오류를 인식할 수 있다. 이때 전원신호 라인(40)의 개수가 n개일 경우, 2n개의 데이터 오류에 대한 데이터를 전달할 수 있다.In this case, the power supply
일 예로, 전원신호 라인(40)의 신호가 3개일 경우 23개의 데이터 오류와 관련된 데이터를 전달할 수 있다. 전원신호 출력부(23)는 3개의 전원신호 라인별로 전원을 선택적으로 공급 또는 차단할 수 있으며, 이때 전원신호 검출부(12)는 각 전원신호 라인별 전원 공급 여부를 토대로 8개의 데이터 오류를 인식할 수 있다. For example, if there are three signals on the power
송신 제어부(13)는 데이터 전송부(11)를 제어하여 데이터를 수신기(20)로 전송하고 전원신호 검출부(12)를 통해 검출된 전원신호에 따라 데이터 전송부(11)의 데이터 전송을 제어한다. 즉, 송신 제어부(13)는 전원신호 검출부(12)에 의해 검출된 전원신호를 통해 데이터 오류가 인식되면 해당 데이터 오류에 따라 데이터 전송부(11)를 제어하여 데이터 전송을 지연시키거나 데이터를 재전송한다. The
수신기(20)는 송신기(10)의 데이터 전송부(11)로부터 데이터 라인(30) 각각을 통해 복수 개의 동일한 데이터를 수신하고, 이들 데이터의 각각의 해쉬값을 이용하여 해당 데이터의 오류를 검출한다. 이때 각 데이터에 해쉬값이 없으면 수신기(20)는 수신된 각각의 데이터를 비교하여 일치 여부에 따라 송신기(10)로부터 전송된 데이터의 데이터 오류를 검출한다. 이어 수신기(20)는 검출된 데이터 오류에 따라 송신기(10)로 전원신호를 출력한다. 아울러, 수신기(20)는 데이터 오류를 분석하여 데이터 라인(30) 각각의 이상을 검출한다. The
수신기(20)는 데이터 수신부(21), 오류 검출부(22), 전원신호 출력부(23), 표시부(24) 및 수신 제어부(25)를 포함한다. The
데이터 수신부(21)는 송신기(10)의 데이터 전송부(11)와 복수 개의 데이터 라인(30)을 통해 연결되어 데이터 전송부(11)로부터 데이터 라인(30) 각각을 통해 데이터를 수신한다. 이 경우, 데이터 수신부(21)는 상기한 바와 같이 각 데이터 라인(30)을 통해 동일한 데이터를 수신하는바, 결과적으로 동일한 데이터를 복수 개 수신하게 된다. The
오류 검출부(22)는 데이터 수신부(21)에 의해 수신된 복수 개의 데이터 각각의 해쉬값을 검출하고, 이 해쉬값이 정확한지를 통해 데이터 오류를 검출한다. 반면에, 해쉬값이 존재하지 않으면, 오류 검출부(22)는 수신된 데이터 각각을 비교하여 일치 여부에 따라 데이터 오류를 검출한다. The
더욱 상세히 설명하면, 오류 검출부(22)는 데이터 각각의 해쉬값이 정확한지를 통해 데이터 오류를 검출한다. 반면에, 해쉬값이 존재하지 않으면, 오류 검출부(22)는 복수 개의 데이터를 비교하여 비교 결과 기 설정된 개수 이상이 일치하면 이들 일치하는 데이터를 정상 데이터로 판단한다. 여기서, 설정된 개수는 데이터 라인(30)을 통해 전송되는 데이터의 개수에 따라 설정될 수 있다. 예를 들어, 데이터 라인(30)이 3개일 경우 2개의 데이터 라인(30)을 통해 전송된 2개의 데이터가 일치하고 나머지 1개의 데이터가 상이할 경우 일치하는 데이터를 정상 데이터로 판정하고 일치하지 않는 데이터를 비정상적인 데이터로 판정한다. More specifically, the
통상적으로, 데이터가 복수 개의 데이터 라인(30)을 통해 전송될 경우, 각 데이터 라인(30)을 통해 전송되는 데이터가 데이터 라인 에러 또는 전송 에러 등의 사유로 데이터 오류가 동일하게 발생할 확률은 극히 낮다. 즉. 각 데이터 라인(30)에 동일한 데이터 라인 에러가 발생하거나 또는 동일한 전송 에러가 발생한다 하더라도 이들 오류로 인해 손상 또는 변경되는 데이터가 완전히 일치할 가능성은 매우 낮다. Typically, when data is transmitted over a plurality of
따라서, 오류 검출부(22)는 복수 개의 데이터를 비교한 결과 기 설정된 개수 이상이 일치하면 일치하는 데이터를 정상 데이터로 판정할 수 있다. Therefore, the
또한, 오류 검출부(22)는 복수 개의 데이터를 비교한 결과 모든 데이터가 모두 일치하지 않으면 모든 데이터에 오류가 발생한 것으로 판정한다. In addition, the
전원신호 출력부(23)는 전원신호 검출부(12)와 복수 개의 전원신호 라인(40)을 통해 연결되어 수신 제어부(25)의 제어신호에 따라 각 전원신호 라인(40)으로 전원신호를 인가한다. 즉, 전원신호 출력부(23)는 각 전원신호 라인(40)을 통해 전원을 선택적으로 공급함으로써, 전원신호 검출부(12)는 각 전원신호 라인(40)을 통해 인가되는 전원신호에 따라 수신기(20)에서 검출된 데이터 오류를 인식할 수 있다. The power supply
표시부(24)는 수신 제어부(25)의 제어신호에 따라 데이터 오류 및 데이터 라인 이상을 출력한다. The
수신 제어부(25)는 오류 검출부(22)에 의해 데이터 오류가 검출되면 이 데이터 오류에 따라 전원신호 출력부(23)를 제어하여 전원신호 출력부(23)를 통해 전원신호를 출력한다. 이에 따라 수신기(20)의 송신 제어부(13)는 데이터 오류를 인식할 수 있게 되고, 이 데이터 오류에 따라 데이터 전송부(11)를 제어한다. When a data error is detected by the
또한 수신 제어부(25)는 상기한 바와 같이 같이 데이터 오류를 표시부(24)를 통해 출력한다. Also, the
아울러, 수신 제어부(25)는 데이터 라인별로 데이터 오류가 발생된 횟수 또는 데이터 오류가 연속적으로 발생된 연속반복 횟수를 카운트하고 이들을 토대로 데이터 라인(30)의 이상 여부를 검출한다. 즉, 데이터 전송시 데이터 라인(30) 중 어느 하나에 이상이 발생하면, 해당 데이터 라인(30)을 통해 전송되는 데이터에는 오류가 계속 발생될 수 있다. In addition, the
이에, 수신 제어부(25)는 데이터 라인별로 데이터 오류가 발생된 총 횟수를 누적 카운트하고, 카운트된 총 횟수를 기 설정된 총 횟수 임계값과 비교하여 비교 결과에 따라 데이터 라인(30) 각각의 이상 여부를 검출한다. 즉, 수신 제어부(25)는 데이터 라인별로 데이터 오류가 발생된 총 횟수를 카운트하고, 데이터 라인별 총 횟수를 기 설정된 총 횟수 임계값과 각각 비교하며, 비교 결과 데이터 라인(30) 중 어느 하나 이상의 총 횟수가 총 횟수 임계값 이상이면, 해당 데이터 라인(30)에는 데이터 라인 이상이 발생한 것으로 판정한다. The
여기서, 총 횟수 임계값은 데이터 라인(30)에 이상이 발생된 것으로 판단할 수 있는 기준이 되는 값으로써, 데이터 라인(30)의 종류나 특성 등에 따라 다양하게 설정될 수 있다. Here, the total number of threshold values may be variously set according to the type and characteristics of the
게다가, 수신 제어부(25)는 데이터 라인별로 데이터 오류가 연속적으로 발생된 연속반복 횟수를 카운트하고, 카운트된 연속반복 횟수를 기 설정된 연속반복 횟수 임계값과 비교하여 비교 결과에 따라 상기 데이터 라인(30) 각각의 이상 여부를 검출한다. 즉, 수신 제어부(25)는 데이터 라인별로 연속반복 횟수를 카운트하고, 데이터 라인별 연속반복 횟수를 연속반복 횟수 임계값과 각각 비교하며, 비교 결과 데이터 라인(30) 중 어느 하나 이상의 연속반복 횟수가 총 횟수 임계값 이상이면, 해당 데이터 라인(30)에는 데이터 라인 이상이 발생한 것으로 판정한다. In addition, the
여기서, 연속반복 횟수 임계값은 데이터 라인(30)에 이상이 발생된 것으로 판단할 수 있는 기준이 되는 값으로써, 데이터 라인(30)의 종류나 특성 등에 따라 다양하게 설정될 수 있다. Here, the continuous repetition count threshold value is a reference value that can be used to determine that an abnormality has occurred in the
한편, 수신 제어부(25)는 상기한 바와 같이 데이터 라인(30) 중 어느 하나 이상에 대해 데이터 라인 이상이 검출되면 표시부(24)를 통해 해당 데이터 라인(30)에 대한 데이터 라인 이상을 출력한다. The
이하 본 발명의 일 실시에에 따른 일방향 데이터 통신 방법을 도 2 와 도 3 을 참조하여 상세하게 설명한다. Hereinafter, a one-way data communication method according to an embodiment of the present invention will be described in detail with reference to FIG. 2 and FIG.
도 2 는 본 발명의 일 실시예에 따른 일방향 데이터 통신 방법을 도시한 순서도이다. 2 is a flowchart illustrating a one-way data communication method according to an embodiment of the present invention.
도 2 를 참조하면, 송신기(10)는 데이터를 데이터 라인(30)의 개수에 따라 복수 개로 분배하여 각 데이터 라인(30)을 통해 수신기(20)로 전송한다(S10,S20).Referring to FIG. 2, the
수신기(20)는 데이터 전송부(11)로부터 데이터 라인(30) 각각을 통해 데이터를 수신한다(S30). The
이 경우, 수신기(20)는 수신된 복수 개의 데이터 각각의 해쉬값을 검출하여 이들 해쉬값이 정확한지를 확인하며, 확인 결과 해쉬값이 정확하면 해당 데이터는 정확한 데이터로 판단한다. In this case, the
반면에, 해쉬값이 존재하지 않으면, 수신기(20)는 이들 복수 개의 데이터를 비교하여 일치 여부에 따라 데이터 오류를 검출한다(S40). On the other hand, if the hash value does not exist, the
즉, 수신기(20)는 복수 개의 데이터를 비교한 결과 기 설정된 개수 이상이 일치하면 일치하는 데이터를 정상 데이터로 판단하고, 모든 데이터가 모두 일치하지 않으면 모든 데이터에 오류가 발생한 것으로 판정한다. That is, the
이어 수신기(20)는 상기한 바와 같이 데이터 오류를 검출한 후에는 이 데이터 오류에 따라 송신기(10)로의 전원신호 출력을 제어한다(S50). 즉, 수신기(20)는 데이터 오류에 따라 각 전원신호 라인(40)을 통해 전원을 선택적으로 공급한다. After detecting the data error, the
이에, 송신기(10)는 수신기(20)로부터 각 전원신호 라인(40)을 통해 인가되는 전원신호에 따라 데이터 오류를 인식하고(S60), 이 데이터 오류에 따라 수신기(20)로의 데이터 전송을 제어한다(S70). 이 경우 송신기(10)는 수신기(20)로부터 입력된 전원신호에 따라 데이터 전송을 지연시키거나 데이터를 재전송한다. The
한편, 수신기(20)는 상기한 바와 같이 데이터 오류를 검출한 후에는 이 데이터 오류에 따라 송신기(10)로의 전원신호 출력을 제어함과 더불어, 데이터 라인별로 이상 여부를 분석 및 출력한다(S80). 즉, 수신기(20)는 데이터 오류가 발생될 때마다 데이터 오류가 발생된 총 횟수 또는 데이터 오류가 연속적으로 발생된 연속반복 횟수를 카운트하고 이들을 토대로 데이터 라인(30)의 이상 여부를 검출한다. 이를 도 3 을 참조하여 설명한다. After detecting the data error, the
도 3 은 본 발명의 일 실시예에 따른 데이터 라인의 이상 여부를 검출하는 과정을 도시한 순서도이다. 3 is a flowchart illustrating a process of detecting an abnormality of a data line according to an exemplary embodiment of the present invention.
도 3 을 참조하면, 수신기(20)는 데이터 오류가 검출될 때마다 데이터 라인별로 데이터 오류를 누적 저장한다(S82).Referring to FIG. 3, the
아울러, 수신기(20)는 데이터 라인별로 데이터 오류가 발생된 횟수 및 데이터 오류가 연속적으로 발생된 연속반복 횟수를 검출한다(S84). In addition, the
이어, 수신기(20)는 데이터 라인별로 데이터 오류가 발생된 총 횟수를 총 횟수 임계값과 비교하여 비교 결과에 따라 데이터 라인(30) 각각의 이상 여부를 검출한다(S86). Then, the
즉, 수신기(20)는 데이터 라인(30) 중 어느 하나 이상의 총 횟수가 총 횟수 임계값 이상이면, 해당 데이터 라인(30)에는 데이터 라인 이상이 발생한 것으로 판정한다. That is, the
또한, 수신기(20)는 데이터 라인별로 데이터 오류가 연속적으로 발생된 연속반복 횟수를 연속반복 횟수 임계값과 비교하여 비교 결과에 따라 데이터 라인(30) 각각의 이상 여부를 검출한다. In addition, the
이때, 수신기(20)는 데이터 라인별 연속반복 횟수를 연속반복 횟수 임계값과 각각 비교하고 비교 결과 데이터 라인(30) 중 어느 하나 이상의 연속반복 횟수가 연속반복 횟수 임계값 이상이면, 해당 데이터 라인(30)에는 데이터 라인 이상이 발생한 것으로 판단한다. At this time, the
한편, 수신기(20)는 상기한 바와 같이 데이터 라인(30) 중 어느 하나 이상에 대해 데이터 라인 이상이 검출되면 표시부(24)를 통해 해당 데이터 라인(30)에 대한 데이터 라인 이상을 출력한다(S88). On the other hand, if the data line abnormality is detected for any one or more of the data lines 30 as described above, the
본 발명의 일 실시예에 따른 일방향 데이터 통신 장치는 복수 개의 데이터 라인(30)을 통해 송수신되는 데이터의 일치 여부를 토대로 데이터 오류를 정확하게 검출하고 데이터 전송의 신뢰성을 확보할 수 있다. The one-way data communication apparatus according to an embodiment of the present invention can accurately detect a data error based on whether or not the data transmitted and received through the plurality of
본 발명은 도면에 도시된 실시예를 참고로 하여 설명되었으나, 이는 예시적인 것에 불과하며 당해 기술이 속하는 기술분야에서 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호범위는 아래의 특허청구범위에 의하여 정해져야할 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is clearly understood that the same is by way of illustration and example only and is not to be taken by way of limitation, I will understand. Accordingly, the true scope of the present invention should be determined by the following claims.
10: 송신기
11: 데이터 전송부
12: 전원신호 검출부
13: 송신 제어부
20: 수신기
21: 데이터 수신부
22: 오류 검출부
23: 전원신호 출력부
24: 표시부
25: 수신 제어부
30: 데이터 라인
40: 전원신호 라인10: Transmitter
11: Data transfer unit
12: Power supply signal detector
13: Transmission control section
20: receiver
21: Data receiving section
22:
23: Power supply signal output section
24:
25:
30: Data line
40: power supply signal line
Claims (10)
상기 송신기로부터 데이터 라인 각각을 통해 데이터를 수신하고, 상기 송신기로부터 상기 데이터 라인 각각을 통해 수신된 데이터를 서로 비교하여 일치 여부에 따라 상기 송신기로부터 전송된 데이터의 데이터 오류를 검출하는 수신기를 포함하고,
상기 수신기는 상기 송신기와 복수 개의 전원신호 라인을 통해 연결되어 데이터 오류에 따라 전원신호 라인 각각을 통해 상기 송신기에 인가되는 전원을 선택적으로 온오프시켜 데이터 오류에 대응되는 전원신호를 상기 송신기로 전달하며,
상기 송신기는 데이터를 분배하여 데이터 라인 각각을 통해 상기 수신기로 전송하는 데이터 전송부; 상기 수신기와 전원신호 라인을 통해 연결되어 전원신호 라인 각각을 통해 전원신호를 수신하는 전원신호 검출부; 및 상기 데이터 전송부를 제어하여 데이터를 상기 수신기로 전송하고 상기 전원신호 검출부를 통해 수신된 전원신호에 따라 상기 데이터 전송부를 제어하는 송신 제어부를 포함하는 것을 특징으로 하는 일방향 데이터 통신 장치.
A transmitter for transmitting data through a plurality of data lines; And
And a receiver for receiving data from each of the data lines from the transmitter and for comparing data received from the transmitter through each of the data lines to detect data errors in data transmitted from the transmitter,
The receiver is connected to the transmitter through a plurality of power signal lines to selectively turn on / off a power source applied to the transmitter through each of the power signal lines in response to a data error, thereby transmitting a power signal corresponding to a data error to the transmitter ,
The transmitter comprising: a data transmission unit for distributing data and transmitting the data to the receiver through each of the data lines; A power supply signal detector connected to the receiver through a power supply signal line and receiving a power supply signal through each of the power supply signal lines; And a transmission control unit for controlling the data transmission unit to transmit data to the receiver and to control the data transmission unit according to a power supply signal received through the power supply signal detection unit.
The one-way data communication apparatus of claim 1, wherein the transmission control unit retransmits data to the receiver or delays data to be transmitted to the receiver according to the power signal received by the power signal detector.
데이터 라인 각각을 통해 데이터를 수신하는 데이터 수신부;
상기 데이터 수신부에 의해 수신된 데이터를 비교하여 일치 여부에 따라 데이터 오류를 검출하는 오류 검출부;
상기 송신기와 전원신호 라인을 통해 연결되어 전원신호 라인 각각을 통해 전원신호를 상기 송신기로 전달하는 전원신호 출력부; 및
상기 오류 검출부의 데이터 오류 검출 결과에 따라 상기 전원신호 출력부를 제어하여 상기 송신기로 전원신호를 전달하는 수신 제어부를 포함하는 것을 특징으로 하는 일방향 데이터 통신 장치.
The receiver of claim 1, wherein the receiver
A data receiving unit for receiving data through each of the data lines;
An error detector for comparing the data received by the data receiver and detecting a data error according to whether the data match;
A power supply signal output unit connected to the transmitter through a power supply signal line and transmitting a power supply signal to the transmitter through each of the power supply signal lines; And
And a reception controller for controlling the power signal output unit according to the data error detection result of the error detector to transmit the power signal to the transmitter.
데이터 라인 각각을 통해 전달된 데이터를 서로 비교하여 기 설정된 개수 이상이 일치하면 일치하는 데이터를 정상 데이터로 판단하는 것을 특징으로 하는 일방향 데이터 통신 장치.
6. The apparatus of claim 5, wherein the error detector
The data transmitted through each of the data lines are compared with each other, and if the number of data matches a predetermined number or more, the matching data is determined as normal data.
데이터 라인 각각을 통해 전달된 데이터를 서로 비교하여 데이터 모두가 서로 일치하지 않으면 데이터 모두에 오류가 발생한 것으로 판단하는 것을 특징으로 하는 일방향 데이터 통신 장치.
6. The apparatus of claim 5, wherein the error detector
Data transmitted through each of the data lines are compared with each other, and if all of the data do not coincide with each other, it is determined that an error has occurred in all of the data.
데이터 라인별로 데이터 오류가 발생되었는지 여부를 판별하여 판별 결과에 따라 데이터 라인의 이상 여부를 분석하여 분석 결과를 표시부로 출력하는 것을 특징으로 하는 일방향 데이터 통신 장치.
7. The apparatus of claim 6, wherein the reception control unit
Wherein the control unit determines whether or not a data error has occurred for each of the data lines, analyzes the data line according to the determination result, and outputs the analysis result to the display unit.
데이터 라인별로 데이터 오류가 발생된 총 횟수를 누적 카운트하고, 카운트된 총 횟수를 기 설정된 총 횟수 임계값과 비교하여 비교 결과에 따라 데이터 라인 각각의 이상 여부를 검출하는 것을 특징으로 하는 일방향 데이터 통신 장치.
The apparatus as claimed in claim 8, wherein the reception control section
Counts the total number of times a data error has occurred for each of the data lines, compares the counted total number with a predetermined total number threshold value, and detects an abnormality of each of the data lines according to the comparison result. .
데이터 라인별로 데이터 오류가 연속적으로 발생된 연속반복 횟수를 카운트하고, 카운트된 연속반복 횟수를 기 설정된 연속반복 횟수 임계값과 비교하여 비교 결과에 따라 데이터 라인 각각의 이상 여부를 검출하는 것을 특징으로 하는 일방향 데이터 통신 장치. The apparatus as claimed in claim 8, wherein the reception control section
Counts the number of consecutive repetitions in which data errors are continuously generated for each data line, compares the counted number of consecutive repetitions with a preset consecutive repetition count threshold value, and detects the abnormality of each of the data lines according to the comparison result. A one-way data communication device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020170028539A KR101948073B1 (en) | 2017-03-06 | 2017-03-06 | Apparatus for transferring data in one direction |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020170028539A KR101948073B1 (en) | 2017-03-06 | 2017-03-06 | Apparatus for transferring data in one direction |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20180101947A KR20180101947A (en) | 2018-09-14 |
KR101948073B1 true KR101948073B1 (en) | 2019-02-15 |
Family
ID=63599537
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020170028539A KR101948073B1 (en) | 2017-03-06 | 2017-03-06 | Apparatus for transferring data in one direction |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101948073B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102556524B1 (en) * | 2019-07-30 | 2023-07-17 | 현대모비스 주식회사 | System and method for transmitting digital signal in a vehicle |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101509496B1 (en) * | 2014-05-09 | 2015-04-08 | 한국전자통신연구원 | System for one-way data transmission and reception |
KR101562309B1 (en) * | 2015-03-11 | 2015-10-21 | (주)앤앤에스피 | Unidirectional data transmitting/receiving device capable of re-transmitting data through plurality of communication lines, and method of transferring data using the same |
-
2017
- 2017-03-06 KR KR1020170028539A patent/KR101948073B1/en active IP Right Grant
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101509496B1 (en) * | 2014-05-09 | 2015-04-08 | 한국전자통신연구원 | System for one-way data transmission and reception |
KR101562309B1 (en) * | 2015-03-11 | 2015-10-21 | (주)앤앤에스피 | Unidirectional data transmitting/receiving device capable of re-transmitting data through plurality of communication lines, and method of transferring data using the same |
Also Published As
Publication number | Publication date |
---|---|
KR20180101947A (en) | 2018-09-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9160646B2 (en) | Data transmission system and data transmission device | |
US10491418B2 (en) | Can controller and data transmission method using the same | |
US9722763B2 (en) | Highly utilized communication channel with order and retransmissions | |
US8281189B2 (en) | SATA primitive prediction and correction | |
JP6507259B2 (en) | Method and apparatus for automatic skew correction | |
US10516789B2 (en) | Information processing apparatus and image processing apparatus that perform transmission and reception of data, and method of controlling information processing apparatus | |
KR101948073B1 (en) | Apparatus for transferring data in one direction | |
KR20140004954A (en) | Method for diagnosing error of can communication | |
JP2007148592A (en) | Data communication equipment | |
US10789115B2 (en) | Transmitter that does not resend a packet despite receipt of a message to resend the packet | |
US10462268B2 (en) | Data transmitting/receiving apparatus and data transmitting/receiving method | |
US20160147702A1 (en) | Communication control device, method of communicating a frame, and storage medium | |
KR20160037649A (en) | One way data transfer system and method for enhancing reliability using thereof | |
JP2017515427A (en) | Fault-tolerant transceiver | |
US20230199306A1 (en) | Communication device and communication system | |
JP2017208713A5 (en) | ||
WO2011090918A2 (en) | Highly utilized communication channel with order and retransmissions | |
US10574514B2 (en) | Duplex control device and duplex system | |
US20180205657A1 (en) | Communication device and control method for frame transfer | |
TWI786890B (en) | Rs-485 circuit and communication system | |
JP3616606B2 (en) | Data transmission apparatus and data transmission method | |
JP2008104031A (en) | Inter-board trouble detection circuit | |
KR0167910B1 (en) | Remote data service unit controlling apparatus | |
JPH07177162A (en) | Multiplex communication | |
GB2589463A (en) | Communication circuitry and control circuitry thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right |