KR0149615B1 - Binary data transmitting method in front-end system - Google Patents

Binary data transmitting method in front-end system

Info

Publication number
KR0149615B1
KR0149615B1 KR1019950009363A KR19950009363A KR0149615B1 KR 0149615 B1 KR0149615 B1 KR 0149615B1 KR 1019950009363 A KR1019950009363 A KR 1019950009363A KR 19950009363 A KR19950009363 A KR 19950009363A KR 0149615 B1 KR0149615 B1 KR 0149615B1
Authority
KR
South Korea
Prior art keywords
character
binary data
transmission
computer
session
Prior art date
Application number
KR1019950009363A
Other languages
Korean (ko)
Other versions
KR960039767A (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 KR1019950009363A priority Critical patent/KR0149615B1/en
Publication of KR960039767A publication Critical patent/KR960039767A/en
Application granted granted Critical
Publication of KR0149615B1 publication Critical patent/KR0149615B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Communication Control (AREA)
  • Computer And Data Communications (AREA)

Abstract

본 발명은 2진 자료에 있어서, 세션을 줄여 전송로의 효율을 높이고 전송의 투명성을 제공하고자 하는 것으로서, 송신측이 일군의 특수한 문자를 송신할 때에 이를 다른 문자로 치환하여 송신하고 수신측은 이를 다시 원래의 문자로 복귀시키며 또한 일군의 특수한 문자를 다른 문자로 치환하여 송신할 때에 이에 앞서 소정의 문자를 더 보내는 구성을 갖고 있어 전송 효율을 높인다.The present invention is to reduce the session, improve the efficiency of the transmission path and provide transparency of the transmission, when the sender transmits a group of special characters, it is replaced with other characters and the receiver sends it again. In order to return to the original character and transmit a predetermined character further when replacing a group of special characters with another character, the transmission efficiency is improved.

Description

프론트 엔드 시스템에서의 2진 자료 전송방법Binary Data Transmission Method in Front End System

제1도는 기존의 프로토콜 과정을 설명하는 도면이다.1 is a diagram illustrating an existing protocol process.

제2도는 본 발명의 개념을 나타낸 도면이다.2 is a diagram illustrating the concept of the present invention.

제3도는 2진 자료를 송신하는 측 프로토콜의 플로우챠트이다.3 is a flowchart of the side protocol for transmitting binary data.

제4도는 2진 자료를 수신하는 측 프로토콜의 플로우챠트를 나타내는 도면이다.4 is a flowchart illustrating a flowchart of a side protocol for receiving binary data.

[산업상 이용분야][Industrial use]

본 발명은 2진 데이터(binary data)로 구성된 파일 및 데이터의 전송에 관한 것으로서 특히 TCP/IP(Transmission Control Protocol/Internet Protocol)을 채용하는 망(網)에서의 전송에 관한 것이다. 즉 본 발명은 컴퓨터와 컴퓨터간, 다단계 접속에 의한 컴퓨터와 컴퓨터간 또는 컴퓨터와 단말기간의 2진 자료 전송을 위한 프론트엔드(front-end) 시스템에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to the transmission of files and data consisting of binary data, and more particularly to transmission in networks employing Transmission Control Protocol / Internet Protocol (TCP / IP). That is, the present invention relates to a front-end system for transferring binary data between a computer and a computer, a computer and a computer, or a computer and a terminal by a multilevel connection.

[종래의 기술과 그 문제점]Conventional Technology and Its Problems

기존에 범용적으로 쓰이고 있는 2진 자료 전송 프로토콜인 FTP(File Transfer Protocol)는, 터미날을 통하여 사용자가 컴퓨터에 텔넷(telnet)으로 일단 로그인(log-in)한 뒤에는 그 텔넷의 세션(session)을 이용하지 못하고 별도의 세션을 설정하여야만 이용할 수 있었다. 즉 LAN 상황을 가정한 제1도에서 사용자는 터미날에서 텔넷을 구동하여 컴퓨터1에 로그인할 수 있다. 이는 터미날과 컴퓨터1 사이에 텔넷세션1이 설정되어 이 세션을 통하여 터미날과 컴퓨터1 사이에 통신이 이루어지는 것이다. 이러한 상황에서 사용자가 컴퓨터1에 있는 2진 자료를 터미날로 전송받고자 하려면 ftp를 구동하여 별도의 세션, 즉 ftp 세션1을 설정하여야 2진 자료를 전송받을 수 있다. 기존의 세션과는 별도의 세션을 설정하여야 하는 이유는, 텔넷이 일군의 문자를 에스케이프 시퀀스로 이용하기 때문에 텔넷세션에서 ftp로 2진 자료를 전송하면 2진 자료내의 일군의 문자가 깨지게 되어 2진 자료의 투명성이 보장되지 않기 때문이다. 따라서 2진 자료 전송의 투명성을 보장하기 위하여는 로그인할 때의 세션과는 별도의 세션을 설정하여야만 한다. 이는 LAN(Local Area Network) 등의 전송선로의 효율을 악화시키는 것으로서 선로의 대역폭 낭비는 막대한 것이다.FTP (File Transfer Protocol), a widely used binary data transfer protocol, is a terminal that allows users to telnet to a computer once they have logged in to the computer. It could not be used, but only by setting up a separate session. That is, in FIG. 1 assuming LAN conditions, a user can log in to computer 1 by running telnet at a terminal. This is a telnet session 1 is established between the terminal and the computer 1 and communication between the terminal and the computer 1 through this session. In this situation, if the user wants to receive the binary data in the computer 1 as the terminal, the user must set up a separate session, ie, ftp session 1, to receive the binary data. The reason that the session should be set apart from the existing session is that since telnet uses a group of characters as an escape sequence, sending a binary data by ftp in a telnet session breaks a group of characters in the binary data. This is because transparency of binary data is not guaranteed. Therefore, to ensure the transparency of binary data transmission, a session must be set up separately from the session at login. This deteriorates the efficiency of transmission lines such as LAN (Local Area Network), and wastes bandwidth of the line.

또한 사용자가 터미날에서 일단 컴퓨터1에 로그인 하였다가, 컴퓨터2로 로그인하는 경우에는 기존의 텔넷 세션과는 별도로 컴퓨터1과 컴퓨터2 사이에 텔넷세션2가 필요하다. 이런 상황에서 사용자가 컴퓨터2에 있는 2진 자료를 전송받고자 하는 경우에는 컴퓨터1과 컴퓨터2 사이에 ftp세션2가 설정된다. 즉 터미날과 컴퓨터2 사이에는 직접적인 세션을 형성할 수 없다. 이는 곧 컴퓨터2에 있는 2진 진료를 터미날이 직접 받지 못하고 컴퓨터1을 경우하여 받는 다는 것을 의미한다. 즉 일단 컴퓨터1이 컴퓨터2의 2진 자료를 받고, 이를 다시 터미날로 송신하여야 한다는 다단계 전송을 의미한다. 이는 엄청난 시간낭비로서 2진 자료 전송을 어렵게 만드는 것이다. LAN 등의 환경 등에서 특히, 분산처리를 위하여 2진 자료가 여러 컴퓨터에 분산되어 있는 환경에서는 2진 자료 전송을 위한 시간, 자원의 낭비는 매우 심각한 것이다.In addition, when a user logs in to Computer 1 at the terminal and then logs in to Computer 2, Telnet Session 2 is required between Computer 1 and Computer 2 separately from the existing Telnet session. In this situation, if the user wants to receive binary data on computer 2, an ftp session 2 is set up between computer 1 and computer 2. In other words, no direct session can be established between the terminal and computer2. This means that the terminal does not directly receive the binary care in Computer 2, but instead receives Computer 1. In other words, it means that the computer 1 receives the binary data of the computer 2 and transmits it back to the terminal. This is a huge waste of time, making binary data transfer difficult. In an environment such as a LAN, especially in an environment where binary data is distributed to multiple computers for distributed processing, waste of time and resources for binary data transmission is very serious.

또한 갈수록 컴퓨터의 자료들은 멀티미디어화되어 기존의 문자 송수신을 위한 프로토콜로는 멀티미디어 자료를 송수신할 수 없다. 왜냐하면 멀티미디어 자료는 기존의 문자 송수신에 사용되는 ASCII문자 뿐 아니라 8비트 이진자료를 동시에 송수신하기 때문에 기존의 문자송수신을 위한 프로토콜로는 통신선로의 전송 투명성을 보장할 수 없게 된다.In addition, the data of the computer is increasingly multimedia, and the existing protocol for text transmission and reception cannot transmit and receive multimedia data. Because multimedia data simultaneously transmits and receives 8-bit binary data as well as ASCII characters used for conventional text transmission and reception, the existing protocol for text transmission and reception cannot guarantee transmission transparency of communication lines.

[발명이 해결하고자 하는 과제][Problem to Solve Invention]

따라서 본 발명은 이러한 기존의 2진자료 송수신의 문제점을 해결하기 위하여 이미 설정되어 있는 텔넷세션을 이용하면서도 이진자료 송수신의 투명성을 보장하기 위한 입출력 front-end 시스템을 제공하는 것이다. 다시 말하면 기존의 고속 통신망 환경에서 통신 프로토콜인 TCP/IP의 수정없이 단지 본 시스템을 응용계층에서 수행하는 것만으로 다단계 접속시 불가능한 이진자료의 송수신을 가능하도록 하는 것을 목적으로 한다. 즉 멀티미디어 자료 송수신에 필수적인 2진자료 송수신을 위한 입출력 front-end 시스템으로 자유로운 자료의 송수신이 가능하게 하는데 주안점을 둔 것이다. 즉 기존의 다단계 전송의 불편을 해결함과 아울러 텔렛세션에서도 투명한 2진 자료 전송이 이루어지게 함을 목적으로 한다.Accordingly, the present invention provides an input / output front-end system for ensuring the transparency of binary data transmission and reception while using a telnet session that has already been set up to solve the problems of the existing binary data transmission and reception. In other words, in the existing high-speed communication network environment, the object of the present invention is to enable the transmission and reception of binary data that is impossible at the multi-level connection by simply executing the system at the application layer without modifying the communication protocol TCP / IP. In other words, the main focus is on the input / output front-end system for binary data transmission and reception, which is essential for multimedia data transmission and reception. In other words, it aims to solve the inconvenience of multi-stage transmission and to make transparent binary data transmission even in the telesession.

[과제를 해결하기 위한 구성][Configuration to solve the problem]

본 발명은 이러한 과제를 해결하기 위하여, 송신측은 송신하여야 할 2진 자료의 문자를 하나씩 송신하고 수신측은 이를 검사하고 수신하여 저장하거나 다른 측으로 전송하는 프론트엔드 시스템의 2진 자료 전송에 있어서, 송신측이 일군의 특수한 문자를 송신할 때에 이를 다른 문자로 치환하여 송신하고 수신측은 이를 다시 원래의 문자로 복귀시키는구성을 갖고 있다.In order to solve this problem, the present invention transmits a character of binary data to be transmitted one by one, and the receiving side transmits binary data of a front-end system in which it checks, receives, stores, or transmits the data to another side. When sending a group of special characters, it replaces them with other characters and transmits them, and the receiving side has the structure of returning them back to the original characters.

또한 일군의 특수한 문자를 다른 문자로 치환하여 송신할 때에 이에 앞서 소정의 문자를 더 보내는 것을 구성으로 하고 있다.In addition, when a group of special characters are replaced with other characters and transmitted, a predetermined character is further sent.

[작용][Action]

이러한 특징을 갖는 본 발명은, 먼저 송신측은 송신하여야 할 2진 자료의 문자를 하나씩 검사하여 그것이 일군의 특수한 문자인지를 판단한다. 특수한 문자라면 이를 다른 문자로 치환하여 치환된 문자라는 것을 알리는 문자와 함께 이를 송신한다. 수신측은 치환된 문자라는 것을 알리는 문자를 수신하면 그 다음에 오는 문자를 원래의 문자로 치환한다.In the present invention having this feature, the transmitting side first checks each character of binary data to be transmitted one by one to determine whether it is a group of special characters. If it is a special character, replace it with another character and send it along with the character indicating that it is a substituted character. When the receiver receives a character indicating that it is a substituted character, the receiver replaces the character following with the original character.

[실시예]EXAMPLE

이하에 본 발명의 실시예를 기능 블록도 및 플로우챠트를 사용하여 설명한다.Embodiments of the present invention will be described below using functional block diagrams and flowcharts.

제2도는 본 발명의 개념을 나타낸 도면으로서, 예를 들어 컴퓨터2에서 전송하거나 망을 통하여 다른 컴퓨터나 단말에서 받은 2진 자료를 다시 전송하고자 하는 경우에는 전송의 투명성을 방해하는 일군의 문자가 있다면 그를 다른 문자로 변환하여 전송한다. 이를 받은 즉 제2에서는 컴퓨터1은 이를 원래의 문자로 환원시키는 구조를 갖는 것이 본 발명이다.2 is a view showing the concept of the present invention, for example, if there is a group of characters that interfere with the transparency of the transmission if you want to retransmit the binary data transmitted from computer 2 or received from another computer or terminal through the network Convert him to another character and send it. In other words, in the second case, the computer 1 has a structure in which it is reduced to the original character.

이의 상세한 과정을 제3도 및 제4도를 인용하면서 설명한다.The detailed process thereof will be described with reference to FIGS. 3 and 4.

먼저 본 프로토콜에 필요한 신호로서 DDLE가 있는데, 이는 송수신 과정에서 치환 여부를 나타내기 위하여 사용된다.First of all, there is DDLE as a signal required for this protocol, which is used to indicate whether or not to be substituted during transmission and reception.

우선 텔넷에서 에스케이프 시퀀스로 사용하는 문자가 2진 자료에 존재하면 제대로 그 문자가 제대로 전송되지 아니하므로 이를 다른 문자로 치환하여 송신하여야 한다. 이들 문자에는 0, 9, 13, 15, 16, 17, 19, 22, 29, 157, 255가 있다. DDLE는 본 통신방법에서 통신 콘트롤 문자로 이용되고 있으므로, 이것이 파일에 들어 있으면 파일이 제대로 전송되지 않는다. 따라서 이들 숫자와 DDLE를 포함한 문자군을 ESC로 정의한다.First of all, if the character used as escape sequence in telnet exists in binary data, the character is not transmitted properly. These characters include 0, 9, 13, 15, 16, 17, 19, 22, 29, 157, 255. DDLE is used as a communication control character in this communication method, so if it is in a file, the file will not be transferred properly. Therefore, the character group including these numbers and DDLE is defined as ESC.

따라서 이 ESC에 속하는 문자를 송신할 때에는 다른 문자로 치환하여 송신하고, 수신측에서는 원래의 문자로 환원하는 작업이 필요하다. 이 치환을 위한 함수를 F으로 정의하면,이 치환함수의 하나의 예로서 다음과 같이 정의할 수 있다.Therefore, when transmitting a character belonging to this ESC, it is necessary to replace it with another character and transmit the original character. If the function for this substitution is defined as F, one example of this substitution function can be defined as follows.

F(0)='0'F (0) = '0'

F(9)='1'F (9) = '1'

F(13)='2'F (13) = '2'

F(15)='3'F (15) = '3'

F(16)='4'F (16) = '4'

F(17)='5'F (17) = '5'

F(19)='6'F (19) = '6'

F(22)='8'F (22) = '8'

F(29)='9'F (29) = '9'

F(157)='A'F (157) = 'A'

F(255)='B'F (255) = 'B'

F(DDLE)='8'F (DDLE) = '8'

여기서 F의 함수값은 ' ' 안에 있는 문자의 ASCII 값에 해당한다.Here, the function value of F corresponds to the ASCII value of the character in ''.

이상에서 정의된 문자등은 하나의 예에 불과하며 실시예에 따라 얼마든지 달리 정의할 수 있는 것이며, 본 발명의 본질과는 무관하다.Characters, etc. defined above are just one example and may be defined differently depending on the embodiment, and are not related to the nature of the present invention.

이상의 것을 사용하여 본 발명의 한 실시예를 플로우챠트에 따라 설명하고자 한다.Using the above, one embodiment of the present invention will be described according to a flowchart.

제3도는 송신측의 치환 시스템의 흐름도를 나타낸다.3 shows a flowchart of the substitution system on the transmitting side.

본 시스템의 시스템측으로부터 입력 x가 들어오면 입력된 문자 x가 ESC 집합에 속하는 문자인지를 조사한다. 만일 입력된 문자 x가 ESC 집합에 속하면 본 시스템은 선로측 출력에 DDLE와 F(x)를 출력한다. 그리고 속하지 않는 문자이면 x를 그대로 출력한다.When input x is input from the system side of the system, it is checked whether the input character x is a character belonging to the ESC set. If the input character x belongs to the ESC set, the system outputs DDLE and F (x) to the line output. If it doesn't belong, print x.

이와같이 전송할 문자가 2진 자료 전송의 투명성을 방해하는 문자라면 이를 다른 문자로 치환하여 전송하여 2진 자료의 전송을 원활하게 한다.If the character to be transmitted is a character that hinders the transparency of binary data transmission, it is replaced with another character and transmitted to facilitate the transmission of binary data.

제4도는 수신측의 환원시스템의 흐름도를 나타낸다.4 shows a flowchart of the reduction system on the receiving side.

본 시스템이 구동되면 먼저 FLAG를 FALSE로 설정한다. 선로측 입력으로부터 입력 x가 들어오면 먼저 FLAG가 TRUE인가를 조사한다. FLAG가 FALSE이면 입력된 문자 x가 DDLE인지를 조사하여 DDLE일 경우에 FLAG를 TRUE로 설정하고, 아닐 경우에는 x를 시스템측에 출력한다.When this system is running, first set FLAG to FALSE. When the input x comes from the line input, first check whether FLAG is TRUE. If FLAG is FALSE, it checks whether the input character x is DDLE, sets FLAG to TRUE for DDLE, and outputs x to the system if not.

FLAG가 TRUE이면 본 시스템은 시스템측이 F-1(x)를 출력한다.If FLAG is TRUE, the system outputs F -1 (x) on the system side.

이상과 같이 수신측에서는 수신된 문자가 치환된 것이라면 원래의 문자로 환원하여 송신의 투명성을 보장한다.As described above, the receiving side guarantees the transparency of the transmission if the received character is replaced with the original character.

[발명의 효과][Effects of the Invention]

본 발명은 TCP/IP프로토콜을 기반으로 하는 터미날 시스템에서 멀티미디어 자료의 전송을위한 2진 자료 송수신이 가능하게 되고, 특히 다단계 접속의 경우 불가능했던 2진 자료의 전송이 가능하게 된다.The present invention enables the transmission and reception of binary data for transmission of multimedia data in a terminal system based on the TCP / IP protocol, and in particular, the transmission of binary data that was impossible in a multi-level connection.

그리고 본 방법을 사용하게 되면 기존의 모뎀 프로토콜에 의한 파일 전송의 과정에서 나타나는 모든 문제를 해결하게 되고, 이 또한 다단계 전송의 과정에서 나타나는 ftp의 문제를 해결하여 종래 ftp 프로토콜의 문제점인 접속시점과 파일저장 시점의 불일치를 개선하고 아울러 별도의 가상선로 설정을 위한 컴퓨터 자원의 낭비를 줄이며, 다단계 전송으로 인한 시간낭비를 줄일 수 있다.In addition, this method solves all the problems in the file transfer process using the existing modem protocol, and also solves the problem of ftp during the multi-stage transfer process. It can improve the inconsistency of storage time, reduce the waste of computer resources for setting up a separate virtual line, and reduce the time waste caused by multi-stage transmission.

Claims (1)

송신측은 송신하여야 할 2진자료의 문자를 하나씩 송신하고 수신측은 이를 검사하고 수신하여 저장하거나 다른 측으로 전송하는 프론트엔드 시스템의 2진 자료 전송에 있어서, 송신측이 일군의 특수한 문자를 송신할 때에 이를 다른 문자로 치환하고 치환된 문자 앞에 치환되었다는 사실을 알리는 소정의 문자를 더 붙어 송신하고 수신측은 이를 다시 원래의 문자로 복귀시키는 것을 특징으로 하는 2진 자료 전송방법.In the transmission of binary data of the front-end system in which the sender transmits one character of binary data to be transmitted one by one, and the receiver checks, receives and stores it, or transmits it to the other side, when the sender sends a group of special characters, And transmitting a predetermined character indicating that the character has been replaced before replacing the other character and returning the character to the original character.
KR1019950009363A 1995-04-20 1995-04-20 Binary data transmitting method in front-end system KR0149615B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950009363A KR0149615B1 (en) 1995-04-20 1995-04-20 Binary data transmitting method in front-end system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950009363A KR0149615B1 (en) 1995-04-20 1995-04-20 Binary data transmitting method in front-end system

Publications (2)

Publication Number Publication Date
KR960039767A KR960039767A (en) 1996-11-25
KR0149615B1 true KR0149615B1 (en) 1998-11-02

Family

ID=19412612

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950009363A KR0149615B1 (en) 1995-04-20 1995-04-20 Binary data transmitting method in front-end system

Country Status (1)

Country Link
KR (1) KR0149615B1 (en)

Also Published As

Publication number Publication date
KR960039767A (en) 1996-11-25

Similar Documents

Publication Publication Date Title
KR100720307B1 (en) Protocol for instant messaging
US5012489A (en) Method for sending a plurality of data channels over a single communications line
Malkin Internet users' glossary
US20020004808A1 (en) Optimizing bandwidth consumption for document distribution over a multicast enabled wide area network
US20020007374A1 (en) Method and apparatus for supporting a multicast response to a unicast request for a document
US5313580A (en) Telecommunications interface apparatus and method
US7103635B2 (en) Really simple mail transport protocol
US20040076121A1 (en) Method for an internet communication
KR0149615B1 (en) Binary data transmitting method in front-end system
US8219686B2 (en) Method and computer program product utilizing multiple UDP data packets to transfer a quantity of data otherwise in excess of a single UDP packet
US7716351B1 (en) Unsolicited message diverting communications processor
RU84598U1 (en) INTERNET NETWORK REQUEST FORWARDING SYSTEM
Cisco Protocol Translation Configuration Commands
KR0133806B1 (en) File transfer method
PT1262035E (en) DATA TRANSMISSION PROCESS IN NETWORKS THROUGH DATA LINES
US6067317A (en) Computer bus resource port
KR970031564A (en) How to Send and Receive IPC Messages over Ethernet
Solomon et al. Telnet Terminal Type Option
Wilkes Networks, Email, and fax.
KR20010064812A (en) Method for transmitting effective file in internet
Carpenter et al. Serving users with a local area network
CN115190091A (en) Method and device for pushing service message
CN114697389A (en) Data transmission method and device and scanning engine
WO2002025918A1 (en) Method of message processing and transmission
Malkin RFC1983: Internet Users' Glossary

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
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee