KR20050020305A - Multi high speed data transmission system - Google Patents

Multi high speed data transmission system Download PDF

Info

Publication number
KR20050020305A
KR20050020305A KR1020030058121A KR20030058121A KR20050020305A KR 20050020305 A KR20050020305 A KR 20050020305A KR 1020030058121 A KR1020030058121 A KR 1020030058121A KR 20030058121 A KR20030058121 A KR 20030058121A KR 20050020305 A KR20050020305 A KR 20050020305A
Authority
KR
South Korea
Prior art keywords
data
packet
file
error
frame
Prior art date
Application number
KR1020030058121A
Other languages
Korean (ko)
Other versions
KR100630231B1 (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 KR1020030058121A priority Critical patent/KR100630231B1/en
Publication of KR20050020305A publication Critical patent/KR20050020305A/en
Application granted granted Critical
Publication of KR100630231B1 publication Critical patent/KR100630231B1/en

Links

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/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1812Hybrid protocols; Hybrid automatic repeat request [HARQ]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1829Arrangements specially adapted for the receiver end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1867Arrangements specially adapted for the transmitter end

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE: A multiple high speed data transmission method is provided to improve efficiency by data communication by transmitting identical packet frames to plural receivers simultaneously. CONSTITUTION: A transmitting terminal sends data or files to a plurality of receiving terminals using a power line communication or a wireless communication technique. The error of data or the file is compensated. The data or the file is divided into a predetermined size to form one frame. The packet frame is simultaneously transmitted to the plural receiving terminals. When error occurs during transmission, identical packet frame is used to restore erroneous packet frames. The packet frame structure is used for an error recovery operation. The data which is processed to remove error is automatically stored.

Description

다중 고속 데이터 전송장치{MULTI HIGH SPEED DATA TRANSMISSION SYSTEM}MULTI HIGH SPEED DATA TRANSMISSION SYSTEM

본 발명은 다중 고속 데이터 전송을 위한 방법으로 1개국이 송신하여 여러 국이 동시에 수신하도록 하는 방법으로 일부 수신국의 에러 복구를 완벽하게 처리하는 프로토콜 기술에 대한 방법이다. 기존의 데이터 전송방법중 대부분이 X.25와 같은 패킷전송 방법이나 파일전송시 대표적인 예로서 ZMODEM을 많이 사용하고 있으나 이러한 방식들은 고속 데이터 전송에 적합하지 못한 점이다. 그 일 예로 송신부에서 송신 프레임을 완성하여 송신하게 되면 수신부에서는 그 수신 데이터를 조합하여 CRC 에러 체크하여 정상유무에 대한 확인 메시지를 송신부로 전송하도록 되어 있다. 이 과정에서 통상적으로 적게는 16바이트에서 많게는 1024바이트마다 확인 메시지를 주고받게 됨으로 데이터 전송에 효율이 떨어진다. 또한 무선 데이터 전송의 경우 무선상에서 필요한 무전기의 스켈치가 열리는 시간과 PLL의 주파수 안정을 찾기 위한 대기 시간이 필요함에 따라서 데이터 전송효율이 더 악화되어 있다. 따라서, 기본적인 과정은 유선과 동일하나 무선상에서는 송신대기 시간과 수신시 스켈치 신호를 받을 수 있도록 하기 위해 데이터 초기에 비트 데이터를 0.1초 - 0.5초 가량 포함하여 송신해야 한다. 이러한 과정 때문에 송신과 수신의 응답신호 과정이 매번 발생하여 데이터 전송에 효율이 많이 떨어지게 된다.The present invention is a method for a protocol technology that completely handles error recovery of some receiving stations by transmitting a single station and receiving multiple stations simultaneously as a method for multiple high-speed data transmission. Most of the existing data transmission methods use ZMODEM as a representative example of packet transmission or file transmission such as X.25, but these methods are not suitable for high speed data transmission. For example, when the transmitting unit completes a transmission frame and transmits the received frame, the receiving unit combines the received data and checks the CRC error to transmit a confirmation message for normal status to the transmitting unit. In this process, an acknowledgment message is typically exchanged every 16 bytes to as many as 1024 bytes, which is inefficient for data transmission. In addition, the data transmission efficiency is further deteriorated as wireless data transmission requires the time required for the radio to open the squelch of the radio required for the radio and the waiting time for the frequency stability of the PLL. Therefore, the basic procedure is the same as that of a wired wire. However, in order to receive a delay time and a squelch signal at the time of reception, a bit data should be included at the beginning of the data in the range of 0.1 to 0.5 seconds. Because of this process, the response signal process of transmission and reception occurs every time, and the efficiency of data transmission is greatly reduced.

본 발명에서는 송신국이 데이터를 보낼 때 수신국은 1국 이상으로 필요에 따라 다수의 수신국에게 동시에 데이터 전송하는 방법이다. 전송 방법에서 데이터 전송시 데이터를 각 패킷으로 조각 내어 이 모든 패킷 데이터를 하나의 프레임으로 처리하여 한번에 송신하게 한다. 또한 에러 발생한 데이터를 확인하는 과정도 데이터 전체를 전송 후 이루어지며, 각 수신국에 에러 확인을 개별적으로 처리하는 과정에서 개별 에러 복구뿐만 아니라 다른 수신국에서도 해당 에러 패킷에 대해서는 동시에 에러 복구하여 데이터를 완성한다. 따라서, 데이터 전송시 다수의 수신국에 동시 전송이 가능하며, 패킷 전송시 각 패킷마다 전송 후 패킷 에러를 확인하지 않고 전체 데이터 패킷 데이터를 하나의 프레임으로 처리하여 한꺼번에 전송함으로 패킷 프로토콜에서 확인 메시지를 매번 주고받는 일이 없으므로 전송 효율을 높일 수 있다.In the present invention, when a transmitting station transmits data, the receiving station is one or more stations, which is a method of simultaneously transmitting data to a plurality of receiving stations as necessary. In the transmission method, data is fragmented into each packet and all the packet data is processed into one frame and transmitted at once. In addition, the process of checking the data for error is performed after transmitting the whole data.In the process of error checking for each receiving station individually, not only the individual error recovery but also the error packet can be recovered at the same time in other receiving stations. Complete Therefore, it is possible to transmit to multiple receiving stations at the same time during data transmission.In case of packet transmission, acknowledgment message is sent by packet protocol by processing all data packet data as one frame without sending packet error after each packet. There is no need to send and receive each time, thereby increasing the transmission efficiency.

본 발명에서는 도 1 처럼 송신장치의 전송 데이터를 수많은 수신장치에 동시에 전송을 위한 방법이다. 도 1은 동작 설명을 돕기 위한 도면이며, 실제로는 수신장치도 송신국과 동일한 조건으로 데이터를 송수신 할 수 있다. 전력선통신의 선로 상태나 무선통신의 공중선 상태에 따라서, 수많은 수신장치들이 모두 수신을 정확히 할 수 없는 경우가 발생한다. 이때 에러보정을 효율적으로 관리하여, 좀더 빠르게 전송하게 하기 위한 방법이다. 본 발명에서 데이터 전송을 위한 패킷 프레임을 여러국에게 동시 전송하고 또한 신속한 에러 복구를 위해 프레임 내에 각각의 패킷 프로토콜을 만들 필요가 있다. 프로토콜의 구성에서 데이터 내용에 따라 여러 가지 방식의 구성이 필요하다. 먼저 패킷 프레임에 대한 용어 해설로 도 2의 (1)해더파일 패킷구조를 예로 든다면 구분코드란 파일정보, 파일데이터, 에러체크, 에러응답, 에러복구, 채팅, 호출등 다양한 코드가 주어 질 수 있으며, 송신자 ID는 송신자의 ID 코드이고, 수신자 ID는 수신자 ID 코드로서 여기서 수신자 ID는 1개국 이상 다수(수신자ID(N))의 ID가 들어갈 수 있다. 파일명은 송신자의 전송하고자 하는 파일 이름이다.(예를 들어 TEST.TXT) 파일 패킷 수는 전송하고자 하는 파일을 일정 양으로 조각 내어 패킷화 했을 때 그 패킷 수를 의미한다. CRC 코드는 CRC에러를 확인하기 위한 코드이고, 패킷의 끝임을 알리는 종료코드가 포함된다.In the present invention, as shown in Figure 1 is a method for transmitting the transmission data of the transmitting device to a number of receiving devices at the same time. 1 is a diagram for explaining an operation, and in reality, a receiving device may transmit and receive data under the same conditions as a transmitting station. Depending on the line state of power line communication or the aerial state of wireless communication, many receivers may not be able to correctly receive all of them. At this time, it is a method to manage error correction efficiently and to transmit faster. In the present invention, it is necessary to simultaneously transmit a packet frame for data transmission to several stations and to make each packet protocol within the frame for quick error recovery. In the configuration of the protocol, various methods are required depending on the data content. First, if you take the header file packet structure of Fig. 2 as an explanation of the packet frame, the classification code may be given various codes such as file information, file data, error check, error response, error recovery, chat, and call. The sender ID is a sender ID code, and the receiver ID is a receiver ID code, in which the receiver ID includes IDs of one or more countries (recipient ID (N)). The file name is the sender's file name (for example, TEST.TXT). The number of file packets indicates the number of packets when the packet to be transmitted is fragmented into a certain amount. The CRC code is a code for checking a CRC error and includes an end code indicating that the packet is at the end.

본 발명에 적용한 패킷 구조에 대한 내용을 먼저 기술한다. 파일전송에 관한 프로토콜 구조중 해더 패킷 프레임은 도 2의 (1)해더파일 패킷구조와 같이 구성을 한다. 해더파일 패킷 경우 통신 상태가 좋지 못할 경우를 대비하여 같은 내용의 패킷을 하나 이상(예를 들어 3-4개) 연속적으로 보낸다. 이때 수신국에서는 같은 패킷의 여러개 해더파일 패킷 중 어느 것이든 하나만 정상적으로 수신하게 되면 해더파일을 접수한다. 이와 같이 해더파일 패킷을 같은 내용으로 한개 이상 보내는 이유는 파일 명칭과 총 패킷수, 자신에게 보내온 정보인지를 확실하게 접수되어야만 수신자가 받을 준비를 하게 된다. 이 패킷을 접수하지 못하면 도 2의 (2)파일데이터 패킷을 자신에게 오는 데이터를 받지 못하기 때문에 해더파일 패킷은 1개 이상 보내도록 하며, 선로상태 또는 공중선 상태에 따라서, 2-5개를 연속해서 보내도록 한다. 상기처럼 해더파일 정보가 담긴 패킷을 먼저 보낸 후 (2)파일데이터를 보내도록 한다. 이 파일은 파일의 용량에 따라 일정 크기로 조각 내어 도 2의 (2)파일데이터 패킷을 만든다. 도 2의 (2)파일데이터 패킷 구조에서 송신자 ID만 있고 수신자 ID가 필요 없게 된다. 도 2의 (1)해더파일 패킷에서 송신자가 수신자에게 해더파일 정보를 먼저 보내었고, 수신자는 이 해더파일을 수신 분석 후 자신에게 보내온 파일인지 확인한다. 그리고, (2)파일데이터 패킷에서 송신자 ID를 수신자가 수신하게 되면 자신에게 오는 데이터임을 인식하기 때문이다. 따라서, 수신자 ID는 패킷에 포함시키지 않아도 데이터 전송에 아무런 문제가 없다. 불필요한 데이터를 줄임으로서 좀더 효율적인 데이터 전송이 된다. 송신자가 보내는 모든 파일데이터 패킷이 모두 전송하고 있을 경우 수신자는 파일데이터 패킷을 받을 때마다 프레임 내에 패킷인덱스와 데이터를 데이터베이스에 저장하고, 수신자는 이 패킷인덱스에 의해 수신 실패한 패킷인덱스가 어떤 것이 있는지 여부를 알 수 있다. 송신자가 도 2의 (3)에러체크 패킷을 송신하게 되면 수신자는 도 2의 (4)에러응답 패킷 구조로 응답을 한다. 여기서 송신자가 수신자의 전송 에러 확인을 위해 수신자의 ID는 도 2의 (1)해더파일 패킷에서 이미 송신자의 데이터베이스에 전송하고자 하는 수신자의 ID가 저장되어 있다. 따라서, 송신자는 수신자 ID명단에 있는 ID를 하나씩 순서적으로 개별 확인을 하는 구조이다. 에러 개별 확인에 대한 응답은 도 2의 (4)처럼 응답을 하며, 여기서 (4)의 에러응답 코드는 에러 없음 코드, 전체에러 코드, 각각 수신 실패한 패킷인텍스 번호를 나열하여 응답을 할 수 있다. 송신자는 수신자의 에러응답을 받고, 만약 에러 없음을 응답 받았다면 송신자는 다음 수신자 ID 에게 역시 같은 방법으로 에러체크를 요청하게 된다. 그러나 에러체크 응답에 패킷인덱스 번호나 전체 에러코드가 포함되어 있다면 송신자는 해당 패킷인텍스 번호가 있는 패킷들을 재전송 하도록 한다. 이중에서 전체 에러코드가 수신되었다면 다른 수신자를 위하여 전체에러 코드에 대한 재전송은 다른 수신자의 에러복구를 먼저 한 후 가장 나중에 전송하도록 구성한다. 왜냐하면 다른 수신자들은 1-2개의 패킷을 못 받아 파일 완성을 못했을 경우 전체 프레임을 재전송 한다면 다른 수신자에 많은 시간 낭비가 될 것이다. 에러복구에서 전송 효율을 높이기 위해 중요한 사항은 수신자에서 같은 패킷인덱스를 여러 사람이 같은 패킷을 동시에 수신 실패를 했을 경우가 있을 수 있다. 이런 경우 송신자가 수신자 ID에게 에러체크를 요청했을 때 그 응답으로 수신 실패한 패킷인덱스 번호가 다른 수신자 ID에게도 포함이 되어 있다면 송신자가 해당 패킷인덱스 번호가 있는 패킷을 재전송시 도 2의 (2)파일데이터 패킷 구조로 송신하게 됨으로 다른 수신자 ID 자신도 해당 패킷이 완성되어 있지 않다면 해당 패킷을 같이 복구하도록 프레임 구조가 된다. 데이터 전송과정 및 복구과정인 도 3의 순서도와 같은 과정으로 패킷이 완성됨에 따라 데이터통신의 효율을 높일 수 있다. 도 2의 (5)채팅에 대한 패킷 구조이다. 일반 채팅용 패킷은 여러 명과 동시에 채팅이 가능하도록 하기 위해 수신자 ID를 지정하지 않도록 한다. 채팅 데이터를 송신자가 전송하고 수신자가 수신한 후 에러 확인 패킷을 보내지 않는다. 송신자가 송신 할 때 같은 패킷을 선로상태나 전파상태가 좋지 못 할 경우 해당 패킷의 CRC에러 체크에 의해 비정상적인 데이터가 접수되면 해당 패킷을 버리게 됨으로 수신을 할 수 없게 된다. 이를 보완하기 위해 선로상태나 전파상태에 따라 1개 이상 2-5개의 패킷을 동시에 전송하여, 수신자는 같은 내용으로 여러개의 패킷을 수신되어도 패킷인덱스 번호가 같다면 한개의 패킷만 접수하도록 한다. 이 프로토콜 구조에 의해 송신자가 다수의 수신국에 동시에 채팅 데이터 전송이 가능하다. 귀엣말 채팅모드의 경우 도 2의 (6)귀엣말 채팅 패킷구조 처럼 송신자 ID와 수신자 ID가 추가되며, 이로 인해 특정 수신자에게만 메시지를 전달하도록 한다. 도 2의 (5)일반 채팅모드와 같이 송신자는 선로상태나 전파상태에 따라 여러개의 같은 패킷을 보내도록 하여 수신 에러를 줄이고 확인 및 대기 시간이 필요 없게 된다. 도 2의 (7)호출 패킷은 송신자가 특정 수신자에게 호출을 하는 패킷구조로 수신자에게 호출이 되면 시각 또는 청각적으로 알릴 수 있도록 하기 위한 것이다. 패킷의 송수신 사항은 도 2의 (5)와 (6)처럼 동일한 방법으로 여러개의 같은 패킷을 보내도록 한고, 수신도 같은 방법으로 수신한다.The content of the packet structure applied to the present invention will be described first. The header packet frame of the protocol structure related to file transfer is configured as shown in (1) header file packet structure of FIG. In the case of header file packets, one or more packets of the same contents are sent in succession (for example, 3-4) in case of poor communication conditions. At this time, the receiving station receives the header file when only one of several header file packets of the same packet is normally received. The reason for sending more than one header file packet with the same content is that the receiver must prepare to receive the file name, the total number of packets, and whether the information is sent to the user. If this packet is not received, the data file packet of FIG. 2 is not received. Therefore, one or more header file packets should be sent. Depending on the state of the line or the airline, 2-5 consecutive files may be sent. Send it. As above, the packet containing header file information is sent first, followed by (2) file data. This file is fragmented into a certain size according to the capacity of the file to create (2) file data packet of FIG. In the file data packet structure of Fig. 2, there is only a sender ID and no receiver ID is required. In (1) header file packet of FIG. 2, the sender first sends header file information to the receiver, and the receiver checks whether the header file is a file sent to the user after the reception analysis. And, (2) when the receiver receives the sender ID from the file data packet, it recognizes that the data comes to itself. Therefore, even if the receiver ID is not included in the packet, there is no problem in data transmission. Reducing unnecessary data results in more efficient data transfer. When all file data packets sent by the sender are in transit, the receiver stores the packet index and data in the database every time the file data packet is received, and the receiver indicates which packet indexes failed to receive by this packet index. It can be seen. When the sender transmits the (3) error check packet of FIG. 2, the receiver responds with the (4) error response packet structure of FIG. Here, in order to check the transmission error of the receiver, the ID of the receiver is already stored in the header file (1) header file of FIG. Therefore, the sender individually checks the IDs in the recipient ID list one by one. The response to the individual error confirmation responds as shown in (4) of FIG. 2, where the error response code of (4) may respond by listing an error-free code, an entire error code, and a packet index number each failed to receive. The sender receives an error response from the receiver, and if it receives no error, the sender requests the next receiver ID to check for errors in the same way. However, if the error check response includes the packet index number or the entire error code, the sender shall retransmit the packets with the corresponding packet index number. In this case, if the entire error code is received, the retransmission of the entire error code for the other receiver is configured to perform error recovery of the other receiver first and then the last. Because other receivers will not receive 1-2 packets and resend the entire frame if the file is not completed, it will be a waste of time for other receivers. In order to improve transmission efficiency in error recovery, an important point may be that the receiver may fail to receive the same packet at the same time. In this case, when the sender requests an error check from the receiver ID, if the packet index number that failed to receive is included in other receiver IDs, the sender retransmits the packet with the packet index number. Since the packet is transmitted in the packet structure, other receiver IDs themselves are framed to recover the packet together if the packet is not completed. As the packet is completed in the process shown in the flowchart of FIG. 3, which is a data transmission process and a recovery process, efficiency of data communication may be increased. Fig. 2 shows the packet structure for the chat. Normal chat packets should not specify a recipient ID to allow chat with multiple people at the same time. The sender sends chat data and does not send an error acknowledgment packet after the receiver receives it. If the sender transmits the same packet in a bad line condition or radio wave condition, if abnormal data is received by CRC error check of the packet, the packet is discarded and cannot be received. In order to compensate for this, one or more 2-5 packets are simultaneously transmitted according to the line state or the radio wave condition, so that the receiver receives only one packet if the packet index numbers are the same even if several packets are received with the same contents. This protocol structure allows the sender to send chat data to multiple receiving stations simultaneously. In the case of the ear chat mode, the sender ID and the receiver ID are added as in the (6) ear chat chat packet structure of FIG. 2, and thus the message is transmitted only to a specific receiver. As in the normal chat mode of FIG. 2, the sender transmits several same packets according to the line state or the radio wave state, thereby reducing the reception error and eliminating the need for confirmation and waiting time. (7) Calling packet of FIG. 2 is a packet structure in which a sender makes a call to a specific receiver so that the receiver can visually or audioly notify the caller. The transmission / reception of the packet is to transmit several same packets in the same way as in (5) and (6) of FIG. 2, and the reception is also received in the same way.

무선장치 또는 유선장치에서 수신장치가 수신 준비하기 위해서 스타트 비트 코드를 보내어 데이터 전송한다는 신호를 보내게 된다. 특히 무선 통신기에서는 각종 노이즈 등을 구분하기 위해 수바이트 또는 수십 바이트의 비트 코드를 송출하고 도 2의 패킷구조들을 패킷데이터라 할 때 이 패킷데이터를 이어서 보내준다. 그리고, 마지막으로 종료 비트 코드를 수바이트 또는 수십 바이트를 포함하여 전송을 한다. 본 발명 장치에서 파일전송시 전송할 패킷수가 많아도 시작과 끝부분에만 스타트 비트 코드와 종료 비트 코드를 보내는 프레임 방식이다.In a wireless device or a wired device, a receiving device sends a signal to transmit data by sending a start bit code to prepare for reception. In particular, a wireless communication device transmits a bit code of several bytes or tens of bytes to distinguish various noises, and then transmits the packet data when the packet structures of FIG. 2 are called packet data. Finally, the end bit code is transmitted including several bytes or tens of bytes. In the device of the present invention, even if the number of packets to be transmitted is large, the start and end bit codes are transmitted only at the beginning and the end.

도 2의 패킷 구조들을 보면 구분코드와 종료코드가 있다. 또한 시리얼 통신에 있어서 제어코드중 XON/XOFF와 같은 코드들이 있다. 이와 같이 제어코드와 데이터가 구분되어야 수신장치에서 데이터의 엉킴 없이 정확한 데이터를 추출 할 수 있다. 본 발명에서는 이 문제를 해결하기 위한 방법으로 제어코드는 핵사(HEX)로 0x00-0x7F (0-127)까지는 제어코드로 구분하고 0x80-0xFF(128-255)까지를 데이터로 구분하였다. 1바이트의 데이터를 보면 0x00-0xFF까지 다양한 데이터가 있다. 제어코드와 구분하기 위해서 도 3의 예를 보면 데이터 변환 전에 문자 ABC를 데이터 변환하는 과정을 설명하기 위한 내용으로 도 3의 (1)처럼 8비트를 1비트씩 쉬프트하고 상위 8비트에 1을 만들고 쉬프트후 남은 비트는 다음 데이터에 옮겨 둔다. 이와 같은 방법으로 전체의 데이터를 변환시키고 도 3의 (2)는 마지막 데이터 비트가 남는 것은 0으로 채워주도록 한다. 이렇게 되면 모든 데이터가 0x80(128)보다 큰 데이터로 변환이 된다. 따라서, 제어코드와 데이터가 구분하여 전송 할 수 있게 된다. 반대로 데이터를 수신하여 복원 할 때는 변환 방법의 원리에 따라서 역으로 바꾸어 주면 된다.Looking at the packet structure of FIG. In serial communication, there are codes such as XON / XOFF among control codes. In this way, the control code and the data must be separated so that the receiver can extract the correct data without tangling the data. In the present invention, as a method for solving this problem, the control code is a nucleus (HEX), and 0x00-0x7F (0-127) is divided into control codes and 0x80-0xFF (128-255) is divided into data. Looking at 1 byte of data, there is a variety of data from 0x00-0xFF. To distinguish from the control code, the example of FIG. 3 illustrates the process of data conversion of the character ABC before data conversion. As shown in (1) of FIG. 3, 8 bits are shifted by 1 bit and 1 is made in the upper 8 bits. The remaining bits after the shift are transferred to the next data. In this way, the entire data is converted and (2) of FIG. 3 is filled with zero leaving the last data bit. This converts all data to data larger than 0x80 (128). Therefore, the control code and the data can be transmitted separately. On the contrary, when receiving and restoring data, it is reversed according to the principle of the conversion method.

파일 또는 데이터 전송에 있어서 파일이나 데이터를 일정 양으로 조각 내어 데이타베이스에 저장하는 과정에서는 선로통신 상태 또는 무선통신 상태에 따라 파일의 조각 내는 용량을 달리 할 필요가 있다. 예를 들어 파일을 1024바이트로 조각 내는 것과 64바이트로 조각 내는 경우가 있다고 가정한다면, 만약 전송 상태가 좋지 못할 경우 1024바이트 패킷 단위라면 에러 발생시 1개의 패킷 단위로 복구해야 한다. 또한 1개의 패킷 데이터 크기가 크기 때문에 데이터 송수신 과정에서 1개 바이트만 불량 나도 그 패킷은 폐기해야 한다. 따라서, 이럴 경우 패킷 데이터 크기를 작게 해줄 필요가 있다. 이와 같은 이유로 전송 상태에 따라 파일을 조각 낼 때 패킷 데이터 크기를 조정하여, 데이터베이스에 저장하고 이때 패킷의 구분을 위해 패킷인텍스와 함께 저장한다. 모든 패킷은 파일 및 데이터 등을 전송하기전 도 2의 패킷구조에서 구분코드 및 종료코드와 같은 제어코드를 제외하고 나머지 모든 데이터에 대해서는 제어코드와 데이터를 구별할 수 있도록 하기 위해 도 3처럼 특별한 방법으로 데이터 변환한 후 패킷 전송을 한다. 반대로 수신할 경우 제어코드를 제외하고 나머지 모든 데이터에 대해서는 데이터 복원 과정이 필요하다. 파일 또는 데이터 전송하기전 송신자는 수신자 ID의 데이터 베이스에서 전송하고자 하는 ID를 선택하여 해더파일에 삽입한다. 파일 또는 데이터를 송신 할 경우 전송할 프레임은 프레임 시작을 알리는 스타트 비트 코드를 일정 크기로 연속 송신하고, 해더파일 패킷을 필요에 따라 하나 이상의 해더파일을 연속적으로 송출한다. 이어서 파일 또는 데이터를 조각 내어 데이터 베이스에 저장된 패킷을 모두 전송할 때까지 연속적으로 송출하고, 에러체크 패킷을 송출 후 프레임의 끝임을 알리는 종료 비트 코드를 일정 크기로 연속해서 보내도록 한다. 수신기의 경우 스타트 비트 코드가 일정 크기 이상 접수가 되면 프레임의 시작임을 인식하고 구분코드가 파일 전송이라면 해더파일 패킷을 접수하고 자신의 수신자 ID가 포함되어 있는지 확인한다. 자신의 ID가 포함되어 있을 경우 송신자 ID, 파일명, 파일 패킷수를 데이터베이스 메모리에 저장한 후 다음 패킷 데이터를 접수하기 위한 루틴으로 가도록 한다. 새로운 패킷을 수신했을 경우 패킷을 분석하여 구분코드가 파일데이터 패킷이고 송신자 ID가 해더파일 패킷의 ID와 동일한가 확인 후 파일저장 데이터 베이스에 패킷인덱스와 함께 저장한다. 파일 수신의 경우 구분코드가 에러체크 패킷이 올 때 까지 이와 같은 과정을 반복하여 파일저장 데이터 베이스에 패킷인텍스와 함께 저장된다. 만약 일정 시간이 경과해도 특정한 구분코드가 수신되지 않고 있다면 송신자가 송신을 포기했거나 통신 상태가 단절된 것으로 간주하고 데이터베이스에 저장한 데이터를 폐기 처리하고 초기 상태로 돌아간다. 송신장치에서 에러체크 코드를 보낸 후 프레임의 끝임을 알리는 종료 비트 코드를 보냄으로서 하나의 프레임 전송을 마무리하게 된다. 이 하나의 프레임은 쉬지 않고 연속적으로 보냄으로서 전송 효율을 높이는 것이 특징이다. 에러보정을 위해서 송신장치는 마지막 패킷에서 에러체크를 위한 패킷을 보내는데 이때 송신자가 파일 또는 데이터 전송시 선택한 수신자 ID들을 순서적으로 에러체크 확인 요청을 하게 된다. 이때 해당 수신자 ID는 에러확인 요청에 응답하기 위해 자신의 데이터 베이스에 저장된 패킷인덱스를 확인하여 수신하지 못한 패킷인텍스 번호를 도 2의 (4)에러 응답 코드 내에 모두 기입하여 응답 메시지를 보낸다. 이때 송신자는 에러 응답 코드의 패킷인텍스 번호들을 데이터베이스에서 꺼내어 상기의 파일 및 데이터 전송방법 처럼 하나의 프레임을 완성하여 송출한다. 또 다시 수신자가 수신 실패한 패킷이 있을 경우 반복하여 화일 및 데이터를 완성할 때까지 진행한다. 단, 다른 수신자를 위해 에러복구 재전송 횟수는 제한하도록 하고, 그 제한 횟수를 넘기게 되면 그 수신자에게는 전송을 포기하고 다음 수신자 ID에게 에러체크 확인 요청하고 같은 방법으로 에러복구를 실시하게 된다. 여기서, 에러복구 과정에서 에러복구 요청한 수신자 ID가 아니더라도 타 수신자의 경우도 함께 수신되고 있기 때문에 만약 타 수신자도 동일한 패킷인텍스를 수신 실패했을 경우 송신자가 지정한 수신자 ID에게 프레임을 전송하는 과정이라도 타 수신자에게 필요한 패킷 데이터이라면 해당 데이터의 에러복구를 하고, 패킷인텍스와 데이터를 데이터베이스에 저장한다. 이러한 방법으로 에러 복구함에 따라서, 자신의 수신자 ID가 에러 복구할 때 타인의 수신자도 함께 복구함으로서 전체적으로 불필요한 패킷 데이터를 줄임으로서 전송 효율을 높일 수 있다. 여기서 해더파일 패킷의 파일정보에서 전체 패킷수와 수신한 패킷인텍스가 저장된 데이터베이스의 패킷인덱스 수가 동일하다면 모든 데이터를 정상적으로 받은 것으로 된다. 이와 같이 데이터를 모두 수신했을 때 수신자의 데이터베이스에 저장된 데이터를 해더파일 정보에 있는 파일명으로 수신자의 저장 장치에 저장하도록 한다.In file or data transmission, in the process of fragmenting a file or data in a certain amount and storing it in a database, it is necessary to change the file fragmentation capacity according to the line communication state or the wireless communication state. For example, suppose a file is fragmented at 1024 bytes and 64 bytes at a time. If the transmission is not good, if the 1024 byte packet unit is used, the error should be recovered in one packet unit. In addition, since one packet data size is large, even if only one byte is bad during data transmission and reception, the packet should be discarded. Therefore, in this case, it is necessary to reduce the packet data size. For this reason, when fragmenting a file according to the transmission status, the packet data size is adjusted and stored in the database. At this time, the packet is stored with the packet index to distinguish the packet. In order to distinguish all the data from the control code and data except for the control code such as the identification code and the termination code in the packet structure of FIG. After converting the data, the packet is sent. On the contrary, when receiving, data restoring process is required for all other data except control code. Before sending the file or data, the sender selects the ID to be transmitted from the receiver ID database and inserts it into the header file. When transmitting a file or data, a frame to be transmitted continuously transmits a start bit code indicating a start of a frame in a predetermined size, and transmits one or more header files in succession as needed. Then, the file or data is fragmented and sent continuously until all the packets stored in the database are transmitted, and the error check packet is sent continuously in a predetermined size to indicate the end of the frame after sending the error check packet. In case of the receiver, if the start bit code is received more than a certain size, the receiver recognizes the start of the frame. If the distinguishing code is file transfer, the receiver receives the header file packet and checks whether the receiver ID is included. If the ID is included, the sender ID, the file name, and the number of file packets are stored in the database memory, and then go to the routine for receiving the next packet data. When a new packet is received, the packet is analyzed and the identification code is a file data packet and the sender ID is the same as that of the header file packet. Then, the packet is stored with the packet index in the file storage database. In the case of file reception, the classification code is stored with the packet index in the file storage database by repeating this process until the error check packet comes. If a specific code is not received after a certain period of time, the sender has abandoned the transmission or has lost communication, and discards the data stored in the database and returns to the initial state. After sending the error check code, the transmitting device completes one frame transmission by sending an end bit code indicating the end of the frame. This one frame is transmitted continuously without interruption to increase transmission efficiency. For error correction, the transmitting device sends a packet for error checking in the last packet. At this time, the sender requests an error check confirmation on the receiver IDs selected by the sender when transmitting the file or data. At this time, the corresponding receiver ID checks the packet index stored in its database in order to respond to the error confirmation request, and sends a response message by writing all the packet index numbers that have not been received in the error response code of FIG. At this time, the sender extracts the packet index numbers of the error response code from the database and completes and transmits one frame like the above file and data transmission method. Again, if there is a packet that the receiver failed to receive, it repeats until it completes the file and data. However, the number of error recovery retransmissions should be limited for other receivers. If the limit is exceeded, the receiver will give up transmission, request the next receiver ID for error checking, and perform error recovery in the same way. Here, in case of error recovery, other receivers are received even if the receiver ID is not requested for error recovery. If other receivers fail to receive the same packet index, even if the receiver transmits a frame to the receiver ID specified by the sender, If the packet data is necessary, error recovery of the data is performed, and packet index and data are stored in the database. By recovering the error in this way, when the receiver ID of the receiver recovers the error, the receiver of the other person is also recovered, thereby reducing the overall unnecessary packet data, thereby improving transmission efficiency. If the total number of packets and the number of packet indexes in the database in which the received packet index is the same in the file information of the header file packet are all data successfully received. When all data is received in this way, the data stored in the receiver's database is stored in the receiver's storage device as the file name in the header file information.

대화방 운영을 위하여 채팅을 여러 사용자와 함께 사용함에 있어 데이터 전송에 있어서 송신자가 각각의 수신자 ID에게 데이터를 전송하고 에러 확인 메시지를 받고 에러보정을 한다면 데이터 전송 효율이 매우 떨어지게 된다. 이러한 문제점을 해결 위해 도 2의 (5) 또는 (6) 그리고, (7)호출 패킷의 경우 같은 패킷을 하나 이상 반복 송출이 가능하도록 하나의 프레임 속에 같은 패킷을 여러개 삽입하여 송출하게 되면, 수신자는 하나의 프레임 속에 반복되어 있는 패킷 데이터중 하나의 패킷 데이터만 정상 수신되면 나머지의 데이터는 무시하면 된다. 귀엣말 채팅의 경우 수신자 ID만 추가 되었을 뿐 동일한 방법으로 프레임을 만들어 송출하고 같은 방법으로 수신하도록 한다. 이때 귀엣말 수신자 ID에게만 데이터가 수신되도록 동작하게 한다. 호출의 경우 호출하고자 하는 수신자 ID를 지정하여 송출을 하고, 지명된 수신자에게 음향 또는 램프 등을 이용 수신자가 확인이 용이하도록 구성한다. 데이터의 전송 방법이나 수신 방법은 채팅과 동일하다. When using a chat with multiple users to operate a chat room, if a sender sends data to each receiver ID, receives an error confirmation message, and corrects an error, the data transmission efficiency becomes very inefficient. In order to solve this problem, in case of (5) or (6) and (7) call packet of FIG. 2, if the same packet is inserted and transmitted in the same frame so that one or more repeated transmission of the same packet is possible, the receiver If only one packet data among the packet data repeated in one frame is normally received, the remaining data may be ignored. In the case of the ear chat, only the receiver ID is added, and the frame is created and transmitted in the same way, and received in the same way. At this time, the data is received only by the ear recipient ID. In the case of a call, the receiver ID to be called is designated and transmitted, and the receiver is configured to easily identify the user by using a sound or a lamp. The data transmission and reception methods are the same as in the chat.

본 발명에서 표현하는 용어중 프레임은 스타트 비트 코드와 하나 또는 여러개의 패킷과 종료 비트 코드가 조합되어 하나의 완성된 프레임을 의미한다. 패킷이란 구분코드와 종료코드가 포함된 하나의 완성된 패킷을 의미한다.In the term of the present invention, a frame refers to one completed frame in which a start bit code, one or several packets, and an end bit code are combined. A packet means one completed packet including a distinguishing code and an ending code.

본 발명장치 및 전송방법은 도 6의 사진과 도 7의 프로그램처럼 제작 완료하여 실무에 적용 중에 있다. 실제 무선장치에서 시험한 내용으로 기존의 무선데이터 전송 프로토콜은 X.25 프로토콜을 무선으로 전송 가능하도록 변형한 AX.25프로토콜과 본 발명의 프로토콜 방식을 비교 적용해 본 결과 1:1통신에서는 약60배 이상 전송 속도가 빠르며, 전송 받을 수신국이 100곳이 있다고 가정한다면 6000배 가량 빠르게 데이터를 전송할 수 있게 된다. 따라서 전파자원이 부족한 현실에서 동일한 데이터를 한곳 한곳 일일이 전송하는 것보다는 매우 효율적이다.The device and the transmission method of the present invention are being manufactured and applied in practice, like the photograph of FIG. 6 and the program of FIG. As a result of testing in a real wireless device, the existing wireless data transmission protocol is compared with the AX.25 protocol modified to allow wireless transmission of the X.25 protocol and the protocol method of the present invention. The data transfer speed is twice as fast, and assuming that there are 100 receiving stations, the data can be transmitted 6000 times faster. Therefore, in the reality that radio resources are scarce, it is more efficient than transmitting the same data one by one.

특히 무선데이터 전송의 경우 공중선 전파 환경이 좋지 못한 경우가 많은 곳에서 송수신이 효과적으로 성능을 발휘함에 따라 간단한 시설로 큰 효과를 얻을 수 있다.In particular, in the case of wireless data transmission, in a place where the air propagation environment is often poor, as a transmission / reception is effectively performed, a simple facility can have a great effect.

또한 현재 전력선통신의 경우 전력선 전송 라인은 하나이고 전송하고자 하는 파일용량이 대용량이라면 전력선 통신에 있어서 정체현상이 매우 심각할 것으로 판단된다. 같은 파일을 동시에 여러 수신자에게 전송한다면 매우 효율적인 운용이 되리라 생각한다.In the case of power line communication, if there is only one power line transmission line and the file capacity to be transmitted is large, congestion may be very serious in power line communication. If you send the same file to multiple recipients at the same time, it is a very efficient operation.

도 1 기본동작 구성도1 Basic Operation Configuration

도 2 패킷 및 프레임 구조Figure 2 Packet and Frame Structure

도 3 제어코드 및 데이터 구분을 위한 데이터 변환 과정Figure 3 data conversion process for the control code and data classification

도 4 송신 동작 순서도4 Transmit Operation Flowchart

도 5 수신 동작 순서도5 is a flowchart of receiving operation

도 6 본 발명에서 완성한 데이터 송수신 장치(참고 사진)Figure 6 data transmission and reception device completed in the present invention (reference picture)

도 7 윈도우 프로그램을 제작하여 데이터를 주고받는 내용(참고 사진)Fig. 7 Contents of exchanging data by making a Windows program (reference picture)

Claims (4)

전력선통신 및 무선통신에서 데이터 또는 파일 전송을 위해 송신 1개국에서 다수의 수신국으로 동시에 데이터 또는 파일을 전송하는 과정과 에러 보정하기 위한 방법에 있어서 In the process of transmitting data or files simultaneously from one transmitting country to multiple receiving stations for data or file transmission in power line communication and wireless communication, and a method for error correction. 데이터 또는 파일을 일정 크기로 조각 내어 패킷 프로토콜을 하나의 프레임 만드는 과정을 포함한 다수의 수신국으로 동시에 전송하는 패킷 프레임 구조와 전송 에러 복구를 위한 패킷 프레임 구조 및 에러 복구 처리 방법과 파일 수신의 경우 데이터를 모두 완성 후 자동 저장하는 방법.Packet frame structure for simultaneous transmission to multiple receiving stations including fragmenting data or file into a certain size and creating a single packet protocol, packet frame structure and error recovery processing for transmission error recovery, and data reception in case of file reception How to auto save after completing all. 제 1항의 에러 복구 처리 방법에 있어서In the error recovery processing method of claim 1 에러 복구시 에러 발생한 패킷인덱스에 대해서만 재전송 요청하여 데이터 또는 파일을 완성하는 과정과 에러 복구를 위해 재전송 요청한 수신국이 아니더라도 다른 수신국에서도 같은 패킷인텍스가 수신 실패되었다면 그 패킷인덱스를 다른 수신국에서도 접수하여 파일 또는 데이터를 완성하는 과정.Requesting retransmission only for an error packet index during error recovery to complete the data or file, and receiving the packet index at another receiving station if the same packet index fails to be received at another receiving station even if the receiving station has not requested retransmission for error recovery. The process of completing a file or data. 전력선통신(유선통신포함)의 선로 상태 및 무선통신의 공중선 상태가 불량한 경우를 대비하여 파일정보가 담긴 중요한 패킷인 해더파일이나 단발성으로 송신하는 채팅, 호출등은 동일한 패킷을 한개의 프레임 내에 여러개의 패킷을 삽입하여 송신하고, 수신국에서는 한개의 프레임 내에서 동일한 여러개의 패킷중 하나 이상의 정상 패킷을 수신하면 하나의 패킷만 접수하여 처리하는 과정. In case that the line status of power line communication (including wired communication) and the air condition of wireless communication are poor, the header packet, which is an important packet containing file information, or the chat or call that is transmitted in a single shot, transmits the same packet in one frame. Inserting and transmitting a packet, and when a receiving station receives one or more normal packets among the same multiple packets in one frame, only one packet is received and processed. 구분코드 및 종료코드 등의 제어코드와 데이터와의 구분이 되어야 수신시 프레임 내의 패킷데이터를 분류하여 필요 정보 또는 데이터를 접수할 수 있다. 이 문제를 해결 위한 방법으로서When the control code such as the classification code and the end code is distinguished from the data, the packet data in the frame can be classified to receive necessary information or data upon reception. As a way to solve this problem 송신자의 데이터를 제어코드와 데이터를 구분하기 위해 데이터 가공 처리하는 과정과 수신자가 이 가공된 데이터를 받아서 원래 데이터로 복구하는 과정. The process of data processing of the sender's data to distinguish the control code from the data, and the receiver receiving the processed data and restoring it to the original data.
KR1020030058121A 2003-08-22 2003-08-22 Multi high speed data transmission system KR100630231B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030058121A KR100630231B1 (en) 2003-08-22 2003-08-22 Multi high speed data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030058121A KR100630231B1 (en) 2003-08-22 2003-08-22 Multi high speed data transmission system

Publications (2)

Publication Number Publication Date
KR20050020305A true KR20050020305A (en) 2005-03-04
KR100630231B1 KR100630231B1 (en) 2006-09-28

Family

ID=37229245

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030058121A KR100630231B1 (en) 2003-08-22 2003-08-22 Multi high speed data transmission system

Country Status (1)

Country Link
KR (1) KR100630231B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100885189B1 (en) * 2007-04-25 2009-02-24 프롬투정보통신(주) Reliable radio unit communication method with handshaking

Also Published As

Publication number Publication date
KR100630231B1 (en) 2006-09-28

Similar Documents

Publication Publication Date Title
KR100765121B1 (en) Polling method of Protocol Data Unit of transmission buffer
RU2461147C2 (en) Method of processing radio protocol in mobile communication system and mobile communication transmitter
KR200296691Y1 (en) A user equipment that receives radio resource control-service data units
US6643813B1 (en) Method and apparatus for reliable and efficient data communications
US6611535B2 (en) Method for flow control
JP3349926B2 (en) Receiving control device, communication control system, and communication control method
EP1187386A1 (en) Method for asynchronous incremental redundancy reception in a communication system
US20030023915A1 (en) Forward error correction system and method for packet based communication systems
CN102007812A (en) Method and arrangement for tcp flow control
JP2595965B2 (en) Broadcast communication system
US10505677B2 (en) Fast detection and retransmission of dropped last packet in a flow
CN101652948A (en) Retransmission request transmitting method, transmitting side apparatus and receiving side apparatus
US8467302B2 (en) Wireless data transmission method, transmitting system, and receiving system
JP4731155B2 (en) Error control mechanism for segment-based link layer in digital networks
CN101507318A (en) Radio communication device and method used in mobile communication system
CN111543079B (en) Radio Link Control (RLC) Acknowledged Mode (AM) data reception
CN110830818A (en) Video transmission method and device
CN104144044A (en) Method for processing multi-device transparent HARQ
KR20070115377A (en) Apparatus and method for automatic repeat request in multi-hop systems based on orthogonal frequency division multiplexing access
KR100630231B1 (en) Multi high speed data transmission system
JPH1070523A (en) Method and equipment for packet transmission
KR101693772B1 (en) System and Method for transmitting data in Radio Link Control Layer
KR101058687B1 (en) Method and apparatus for receiving control message using serial number in multimedia broadcasting / multicast service
KR20060090138A (en) A transmission method and apparatus of peoriodic status report in communication system
CN102255714B (en) Retransmission method and system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E90F Notification of reason for final refusal
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20110922

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee