KR920004770B1 - Protocol converting system for computer - Google Patents

Protocol converting system for computer Download PDF

Info

Publication number
KR920004770B1
KR920004770B1 KR1019890007616A KR890007616A KR920004770B1 KR 920004770 B1 KR920004770 B1 KR 920004770B1 KR 1019890007616 A KR1019890007616 A KR 1019890007616A KR 890007616 A KR890007616 A KR 890007616A KR 920004770 B1 KR920004770 B1 KR 920004770B1
Authority
KR
South Korea
Prior art keywords
data
asynchronous
communication
terminal
sna
Prior art date
Application number
KR1019890007616A
Other languages
Korean (ko)
Other versions
KR910001558A (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 KR1019890007616A priority Critical patent/KR920004770B1/en
Publication of KR910001558A publication Critical patent/KR910001558A/en
Application granted granted Critical
Publication of KR920004770B1 publication Critical patent/KR920004770B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4027Coupling between buses using bus bridges
    • G06F13/405Coupling between buses using bus bridges where the bridge performs a synchronising function
    • 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/08Protocols for interworking; Protocol conversion

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)
  • Computer And Data Communications (AREA)

Abstract

The system includes a coaxial line signal transmitting and receiving circuit (100) for providing an electrical interface. A byphase communication processing device (101) for exclusively processing the coaxial line signals transmits and receives coaxial line signals and performs arithmetic logic functions. A microprocessor (105) performs the overall controls and provides all kinds of logic functions reguired for the contrls, and a data buffer (104) connects two softwares for (101) and (105) to each other, as well as making data exchanges between the softwares possible. A system data RAM (108) provides the space for the operation of the system. With the system, the facility cost is decreased, and the application field is widened.

Description

컴퓨터용 프로토콜(PROTOCOL)컨버터의 시스템System of PROTOCOL Converter for Computer

제 1a, b, c 도는 본 발명에 의한 단말기운용을 위한 시스템의 구성도.1a, b, c or diagram of the system for the terminal operation according to the present invention.

제 2 도는 본 발명의 하드웨어 구성도.2 is a hardware diagram of the present invention.

제 3 도는 퍼스널 컴퓨터(Personal Computer)를 이용해 구현한 종래 단말기의 콘트롤 유니트(Control Unit)접속운영방식을 도시한 시스템의 구성도.3 is a configuration diagram of a system showing a control unit connection operation method of a conventional terminal implemented using a personal computer.

제 4 도는 바이페이즈 신호의 프레임 구조.4 is a frame structure of a biphasic signal.

제 5 도는 제 2 도중 데이타 버퍼 램의 터미날 제어영역(TCA : Terminal control Area)의 구조.5 is a structure of a terminal control area (TCA) of a data buffer RAM during a second step.

제 6 도는 호스트 컴퓨터와의 통신에 사용되는 SNA(System Network Architecture)메세지의 구조.6 is a structure of a System Network Architecture (SNA) message used for communication with a host computer.

제 7 도는 제 6 도중 전송헤더의 구조.7 is a structure of the transmission header during the sixth.

제 8 도는 제 6 도중 요구/응답헤더의 구조.8 is the structure of the request / response header during the 6th.

제 9 도는 본 발명에 의한 플로우 챠트도.9 is a flow chart according to the present invention.

표 1은 동축선 전송제어명령 및 전송제어 응답일람표.Table 1 lists the coaxial transmission control commands and transmission control responses.

표2는 DFT(Distributed Function Terminal)동기명령 및 동기응답 일람표.Table 2 is a list of DFT (Distributed Function Terminal) Synchronous Commands and Synchronous Responses.

표3은 비동기 단말기의 데이타 스트림 명령일람표.Table 3 lists the data stream commands for asynchronous terminals.

표4는 SCS(SNA Character String)제어코드 일람표.Table 4 is a list of SCS (SNA Character String) control codes.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

20,50,70 : 호스트 컴퓨터 21,51,71 : 콘트롤 유니트20,50,70: host computer 21,51,71: control unit

3∼5,22∼24,52∼54,72∼74 : 컨버터 6,8,10 : 동기식 모니터3 to 5, 22 to 24, 52 to 54, 72 to 74: Converter 6, 8, 10: Synchronous monitor

7,9,11 : 동기식 프린터 75∼84 : 모뎀7,9,11: synchronous printer 75 to 84: modem

25∼39,55∼60,85∼89 : 단말기 100 : 동축선신호송, 수신회로25 to 39, 55 to 60, 85 to 89: Terminal 100: Coaxial signal transmission and reception circuit

101 : 동축선신호 처리전용 바이페이즈 통신처리기구(BCP)101: bi-phase communication processing mechanism (BCP) dedicated to coaxial signal processing

102 : 인스트럭션 코드 램 103 : 시스템 클럭 발생기102: instruction code RAM 103: system clock generator

104 : 데이타 버퍼 램 105 : 마이크로 프로세서 유니트(MPU)104: data buffer RAM 105: microprocessor unit (MPU)

106 : 시스템소프트웨어 롬 107 : 비동기 입, 출력버퍼106: system software ROM 107: asynchronous input, output buffer

108 : 시스탬데이타 램 109 : 실시간 클럭발생기108: system data RAM 109: real time clock generator

110 : 인터럽트 제어회로 111 : 비동기 RS-232C 인터페이스110: interrupt control circuit 111: asynchronous RS-232C interface

112 : 비동기 송, 수신 클럭발생기112: asynchronous transmit and receive clock generator

본 발명은 컴퓨터 단말기에 관한 것으로, 특히 비동기 통신방식을 사용하는 비동기 단말기를 동기형 통신방식으로 단말기와 통신하는 일반적인 호스트 컴퓨터에 접속하기 위한 단말기 접속장치에 관한 것이다.The present invention relates to a computer terminal, and more particularly, to a terminal connecting apparatus for connecting an asynchronous terminal using an asynchronous communication method to a general host computer communicating with the terminal in a synchronous communication method.

제 3 도는 퍼스널 컴퓨터(PC:Personal Computer)를 이용하여 구현한 종래의 단말기를 일반적인 콘트롤 유니트(CU : Control Unit)에 접속하여 운용하는 예를 도시하는 것으로, 퍼스널 컴퓨터(3,4,5,6,7,8,9,10,11)를 이용하여 구현된 종래의 단말기는 콘트롤 유니트(2)와 DFT(Distributed Function Terminal) 프로토콜에 따른 접속방식으로 실제 동축선(Coaxial Cable)을 통해 호스트 컴퓨터(1)와 SNA(System Network Architecture) 프로토콜에 따른 통신방식으로 통신함으로써 호스트 컴퓨터상에서 동작하는 적용업무 프로그램(User Application Program)으로부터 수신한 적용업무 메세지를 화면이나 프린터에 출력하거나 키보드로 입력된 적용업무 메세지를 적용업무 프로그램에 송신하는 기능을 수행한다.3 shows an example in which a conventional terminal implemented by using a personal computer (PC) is connected to and operated by a general control unit (CU). The personal computer (3, 4, 5, 6) is shown in FIG. The conventional terminal implemented by using, 7 ,, 8, 9, 10, and 11 is a connection method according to the control unit 2 and the Distributed Function Terminal (DFT) protocol. 1) By applying the communication method according to the SNA (System Network Architecture) protocol, the application service message received from the user application program operating on the host computer is displayed on the screen or printer, or the application service message input by the keyboard. Performs the function of sending a to the application program.

이러한 퍼스널 컴퓨터를 사용한 단말기 구현방식을 좀 더 상세히 설명하면, 퍼스널 컴퓨터에 콘트롤 유니트와 연결되는 동축선을 접속하기 위한 동축선 인터페이스장치를 부가하고, 퍼스널 컴퓨터의 디스크나 플로퍼 디스켓으로부터 단말기의 기능을 담당하는 프로그램을 기동시킴으로써 퍼스널 컴퓨터의 화면과 키보드 및 프린터를 단말기로 사용한다는 것이다.In more detail, the terminal implementation method using a personal computer is described in more detail. A coaxial interface device for connecting a coaxial line connected to a control unit is added to the personal computer, and the function of the terminal is removed from a disk or floppy diskette of the personal computer. By starting the program in charge, the personal computer screen, keyboard and printer are used as terminals.

그러나, 이러한 종래 화면과 키보드 및 프린터가 마이크로프로세서와 메모리, 디스크, 디스켓장치, 화면/키보드 입, 출력 제어장치, 프린터 제어장치를 포함하는 본체에 연결되어 화면기 표시제어 기능과 키보드 입력처리 및 프린터 출력제어에 관련된 기능을 본체에서 담당하므로 사용자가 단순히 적용업무 데이타의 입, 출력을 위한 단말기로 퍼스널 컴퓨터를 사용하고자 할 때에도 사용자의 용도에 비추어 직접적인 쓸모가 없는 상기의 장치들을 모두 사용해야 하는 문제가 있었다.However, these conventional screens, keyboards, and printers are connected to a main body including a microprocessor, memory, disk, diskette device, screen / keyboard input, output control device, and printer control device to display screen control functions, keyboard input processing, and printer. Since the main body is in charge of output control functions, there was a problem that the user had to use all of the above-mentioned devices which are not directly useful in view of the user's purpose, even when the user simply wanted to use a personal computer as a terminal for inputting and outputting application data. .

그리고 이와 같이 퍼스널 컴퓨터를 사용하여 단말기를 구현할 경우의 콘트롤 유니트와 연결되는 방식이 퍼스널 컴퓨터가 있는 장소까지 동축선으로 일대일(Point-to-Point)로 연결되어지는 방식이므로 단말기의 수량이 많아지면 동축선의 수량 또한 비례적으로 증가하게 되어 이의 유지관리가 어렵고 공사하는데 많은 비용이 소요된다는 문제가 있었다.In this way, when the terminal is implemented using a personal computer, the control unit is connected to the place where the personal computer is located in a coaxial line in a one-to-point manner. The number of wires also increased proportionally, making it difficult to maintain and costly for construction.

또한 기본적인 퍼스널 컴퓨터의 구성을 위한 디스크나 디스켓, 도스의 시스템 프로그램이 차지하는 메모리등으로 인해 그 용도에 비해 단말기로서의 가격이 비싸지는 문제가 있으며, 동축선의 최대 연장거리가 1.5킬로메타(KM)정도로 제한되는 이유로 인하여 이 거리이상 콘트롤 유니트와 떨어져 배치될 수 없다는 문제가 있다.In addition, due to the disk, diskette, and memory of the DOS system program for the basic personal computer configuration, the cost of the terminal is more expensive than its purpose, and the maximum extension distance of the coaxial line is limited to about 1.5 kilometres (KM). For this reason, there is a problem that it cannot be disposed away from the control unit over this distance.

이러한 문제점을 감안하여 착안한 본 발명은, 콘트롤 유니트와는 하나의 동축선으로 연결되어 DFT 프로토콜에 따른 방식으로써 통신하고 호스트 컴퓨터와는 SNA 프로토콜에 따른 방식으로써 통신한다는 점에서 상기 설명한 종래의 퍼스널 컴퓨터를 이용한 단말기 구현경우와 동일하나 데이타 입출력장치로서 비동기CRT(Cathod Ray Tube), 키보드 단말기나 비동기 프린터를 이용하고, 본 발명이 동시에 접속할 수 있는 비동기 단말기 수가 5대까지이며, 이들 입, 출력장치들과는 비동기 통신방식으로 연결됨으로써 비동기 통신시스템의 저렴하고 광범위한 적용성을 충분히 활용할 수 있는 단말기를 제공할 수 있다는 사실에서 커다란 차이가 있다.The present invention conceived in view of such a problem, the conventional personal computer described above in that it is connected by a coaxial line with the control unit to communicate in a manner according to the DFT protocol and the host computer in a manner according to the SNA protocol It is the same as the case of using a terminal, but using an asynchronous CRT (Cathod Ray Tube), a keyboard terminal or an asynchronous printer as the data input / output device, the present invention can simultaneously connect up to 5 asynchronous terminals. There is a big difference in the fact that by connecting in an asynchronous communication method can provide a terminal that can fully utilize the inexpensive and wide application of the asynchronous communication system.

또한 본 발명은 단말기로서 동작하는데 필요한 최소한의 하드웨어와 소프트웨어의 지원만으로써 구성됨으로써 그 용도에 대해 최적의 저렴한 가격의 단말기를 제공할 수 있다.In addition, the present invention can be configured with only the minimum hardware and software support required to operate as a terminal, thereby providing a terminal at an optimum low cost for the purpose.

다시 말해 제 1a 도, 제 1b 도, 제 1c 도에서 보여지는 바와 같이, 프로토콜 컨버터(22∼24,52~54,72∼74)들은 모두 큰트롤 유니트와 가까운 곳에 위치하며 사용자가 있는 곳에는 비동기 단말기(25~39,55∼60,85-89)를 놓아 이들간의 거리가 충분히 가까운 경우엔 단순히 EIA RS-232 접속규격에 따르는 트위스트 페어회선(Twist Pair Line)으로써 연결하며, 거리가 먼 경우에는 비동기 통신접속방식을 제공하는 랜(Ian)시스템이나 모뎀(75-84)과 전화선(PSTN)으로 구성되는 비동기 통신시스템이나 또는 공중 데이타 통신망(PSDN)을 통해 연결하여 그 적용현실에 알맞은 저렴하면서도 광범위한 적용범위를 갖는 단말기 분산체제를 제공하는 것이다.In other words, as shown in FIGS. 1A, 1B, and 1C, the protocol converters 22-24, 52-54, 72-74 are all located close to the large trolley unit and are asynchronous where the user is. If the distance between them is close enough by placing terminals 25 ~ 39,55 ~ 60,85-89, connect them simply by twisted pair line according to EIA RS-232 connection standard. Inexpensive and wide range suitable for real-time application by connecting via LAN system or LAN system that provides asynchronous communication method, asynchronous communication system consisting of modem (75-84) and telephone line (PSTN) or public data communication network (PSDN) It is to provide a terminal dispersion system having an application range.

더우기 비동기 통신 시스템으로서 랜이나 공중데이타 통신망을 이용하는 경우에는 이러한 통신시스템이 본래 가지고 있는 통신망으로서의 서어비스와 통신망의 관리기능을 충분히 이용하여 종래의 단말기가 콘트롤 유니트와 동축선으로 일대일로 연결되야 함으로써 발생하는 통신회선의 복잡성과 유지관리의 어려움을 해결할 수 있을 뿐 아니라 향후 이러한 비동기 통신시스템의 기능과 성능이 발전함에 따라 더욱 경제적이고 다양한 서어비스를 이용할 수 있는 단말기 분산체제를 제공하는데도 이용할 수 있다.In addition, when using a LAN or a public data network as an asynchronous communication system, a conventional terminal must be connected coaxially with the control unit by using a service function and a management function of the communication network that the communication system originally has. In addition to solving the complexity and maintenance difficulties of the communication line, it can be used to provide a more economical and distributed terminal system that can use various services as the function and performance of such asynchronous communication system evolves in the future.

이하 본 발명의 구성을 첨부한 도면에 의거하여 상세히 설명하면 다음과 같다.Hereinafter, the configuration of the present invention will be described in detail with reference to the accompanying drawings.

제 3 도는 본 발명의 실시예에 따른 하드웨어 구성도로서, 본 발명은 각각의 데이타/어드레스 버스(DATAl/ADDl, DATA2/AUD2)에 의해 주변장치에 연결되지는 않지만 하나의 테이타버퍼(174)를 통해 데이타 정보를 주고 받음으로써 연결되는 두개의 마이크로 컴퓨터 즉, 콘트롤 유니트와 동축선을 통해 접속하기 위한 주변장치 및 시스템 펌웨어(Firmware)와 연관하여 콘트롤 유니트와 통신하기 위해 필요한 동축선신호 송, 수신 및 DFT 프로토콜을 수행하는 소프트웨어의 동작을 위한 모든 연산논리기능을 제공하는 동축선 신호처리 전용 바이페이즈 통신 처리기구(BCP : Biphase Communication Processor) (101)와 본 발명의 호스트 컴퓨터와의 통신기능과 비동기 단말기에 대한 데이타 입출력 제어기능과 연관하여 호스트 컴퓨터와 통신하기 위한 SNA 프로토콜을 수행하는 소프트웨어와 비동기 단말기의 데이타 입, 출력을 제어하는 소프트웨어가 동작하는데 필요한 모든 연산논리 기능을 제공하는 마이크로 프로세서 유니트(MPU) (105)를 포함한다.3 is a hardware block diagram according to an embodiment of the present invention, in which the present invention provides one data buffer 174 that is not connected to a peripheral device by data / address buses DATAl / ADDl and DATA2 / AUD2. Sending, receiving and transmitting coaxial signals required to communicate with the control unit in association with two microcomputers, ie peripherals and system firmware, for connection via the coaxial line with the control unit. Asynchronous terminal and communication function between the coaxial signal processing dedicated biphase communication processor (BCP) 101 and the host computer of the present invention, which provides all the computational logic functions for the operation of the software executing the DFT protocol. Software that performs SNA protocol to communicate with host computer in association with data input / output control function In software that operates to control the data input and output with other languages asynchronous terminal includes a microprocessor unit (MPU) (105), which provides all functions necessary logical operations.

그중 하나인 시스템 클럭 발생기(103)로부터 클럭신호(CKL2)를 공급받아 동작하는 동축선신호 처리전용 바이페이즈 통신처리기구(BCP)(101)는 본 발명이 DfT 프로토콜에 준하여 콘트롤 유니트와 통신할 수 있도록 하는 소프트웨어가 기륵되어 있는 인스트럭션 코드램(102)과, 마이크로 프로세서 유니트(MPU)(105)와도 데이타/어드레스버스(DATAl/ADDl)로 연결되어 있어 동축선신호 처리전용 바이페이즈 통신처리기구(BCP) (101)를 이용해 수행되는 소프트웨어와 마이크로 프로세서 유니트(MPU) (105)를 이용해 수행되는 소프트웨어가 데이타를 교환하거나 두 소프트웨어를 연결하는데 필요한 모든 정보를 교환하는 창구 역할을 하는 데이타버퍼(104)에 데이타/어드례스 버스(DATA2/ADD2)로 연결되어 있으며, 본 발명을 콘트롤 유니트와 연결하는 전기적인 인터페이스를 제공하는 동축선신호 송, 수신회로(100)에 동축선 데이타 버스(DATA3)로 연결되어 구성되어 있다.Coaxial signal processing-only bi-phase communication processing mechanism (BCP) 101, which operates by receiving clock signal CKL2 from one of the system clock generators 103, can communicate with the control unit according to the DfT protocol. The instruction code RAM 102 and the microprocessor unit (MPU) 105 are also connected by data / address bus (DATAl / ADDl). Software executed using the microprocessor unit (MPU) 105 and the data buffer 104 serving as a window for exchanging data or exchanging all information required to connect the two softwares. It is connected by a data / address bus (DATA2 / ADD2) and provides an electrical interface connecting the present invention to a control unit. Coaxial signal transmission, and is connected by a coaxial cable data bus (DATA3) configure the receiving circuit 100.

한편, 상기 시스템 클럭발생기(103)로부터 클럭신호(CLKl)를 공급받아 동작하는 다른 하나의 마이크로 프로세서 유니트(MPU)(105)는 자신을 이용하여 동작하는 시스템 소프트웨어가 사용하는 모든 변수와 스택을 위한 기억장소를 제공하는 시스템 데이타 램(108)과, 실시간 클럭발생기(109)와, 호스트 컴퓨터 및 SNA 프로토콜에 준한 통신기능을 담당하는 소프트웨어와 비동기 단말기의 입, 출력을 제한함으로써 비동기 단말기가 호스트 컴퓨터 본체의 단말기와 동일하게 동작하도록 하는 소프트웨어와 비동기 단말기와 본 발명이 비동기 방식의 통신을 하도록 하는 소프트웨어가 기억되어 있는 시스템 소프트웨어 롬(106)과, 비동기 RS-232C 인터페이스(111)를 통해 송, 수신된 모든 데이타를 일시적으로 저장하여 월활한 비동기 통신이 이루어질 수 있도록 하는 기억장소를 제공하는 비동기 입, 출력버퍼(107)과, 비동기 송, 수신 클럭발생기(112)로부터 비동기 방식으로 문자단위의 데이타를 송, 수신하는데 필요한 시간정보(CLK5)를 공급받아 EIR RS-232C 방식을 따르는 비동기 통신을 위한 비동기 문자의 송, 수신과 이를 송, 수신하는데 필요한 전기적인 신호의 송, 수신을 담당함으로써, 5개의 비동기 통신접속구를 제공하는 비동기 RS-232C 인터페이스(111)와, 전술한 바와 같이 동축선신호 처리전용 바이페이즈 통신처리기구(BCP) (101)측의 데이타/어드레스버퍼(DATA2/ADD2)와도 연결되는 데이타 버퍼(104)과 데이타/어드레스(DATAl/ADDl)으로 연결되어 구성되어 있다.On the other hand, the other microprocessor unit (MPU) 105, which is operated by receiving the clock signal CLKl from the system clock generator 103, is used for all variables and stacks used by the system software operating by using the clock signal CLKl. By restricting the input and output of the system data RAM 108, the real-time clock generator 109 providing storage, the host computer and the asynchronous terminal, and the software responsible for the communication function according to the SNA protocol, the asynchronous terminal is controlled by the host computer. Is transmitted and received via the system software ROM 106 and the asynchronous RS-232C interface 111 in which software for operating in the same manner as the terminal of the terminal and software for allowing the asynchronous terminal to communicate with the present invention are stored. Memory that temporarily stores all data so that smooth asynchronous communication can be achieved EIR RS-232C method by receiving time information (CLK5) required for sending and receiving character unit data asynchronously from asynchronous input and output buffer 107 and asynchronous transmission and reception clock generator 112 providing a place. Asynchronous RS-232C interface 111 which provides five asynchronous communication ports by in charge of transmitting and receiving asynchronous characters for asynchronous communication according to the above, and transmitting and receiving electrical signals necessary for transmitting and receiving the same. As described above, the data buffer 104 and the data / address (DATAl / ADDl), which are also connected to the data / address buffer (DATA2 / ADD2) on the coaxial signal processing-only bi-phase communication processing mechanism (BCP) 101 side, are configured. It is.

다음은 이상과 같은 하드웨어 구성을 갖는 본 발명의 작용효과를 상세히 설명하면 다음과 같다.Next will be described in detail the operation and effect of the present invention having the hardware configuration as described above.

먼저 설명할 DFT 프로토콜에 따른 접속방식으로 콘트롤 유니트와 이루어지는 통신은 인스트럭션 코드 램(102)에 저장되어 있는 소프트웨어에 의해 동축선신호 처리전용 바이페이즈 통신처리장치(BCP) (101)와 동축선신호 송, 수신회로(100) 및 데이타버퍼(104)를 이용하여 이루어진다.Communication made with the control unit in the connection method according to the DFT protocol to be described first is performed by the software stored in the instruction code RAM 102 and transmits the coaxial signal to the biphase communication processor (BCP) 101 dedicated to the coaxial signal processing. , Using the receiving circuit 100 and the data buffer 104.

여기서 시스템 클럭발생기(103)로부터 클럭신호(CLK2)를 공급받아 동작하는 동축선신호 처리전용 바이페이즈 통신처리기구(BCP) (101)는 동축선신호 처리를 위한 펌웨어와 실시간 발생기 및 데이타버퍼 인덱스 포인터를 그 자신안에 포함하고 있으므로 본 발명과 콘트롤 유니트를 연결할 전기적 인터페이스를 제공하는 동축선신호 송, 수신회로(100)를 통해 동축설신호를 수신하여, 제 4 도와 같은 프레임구조를 갖는 바이페이즈 신호형식에 맞춰 해석해 이에 내포되어 있는 동축선 전송 제어명령 및 동축선 전송데이타를 접수하거나 동축선에 수신할 데이타를 바이페이즈신호 형식에 맞추어 바이페이즈신호를 발생하여 동축선신호 송, 수신 회로(100)를 통해 동축선에 수신하며, 또한 데이타 버퍼 램(104)에 형성되어 있는 동축선 데이타버퍼는 콘트롤 유니트가 DFT 프로토콜에 준한 제어명령을 써넣음으로써 본 발명을 제어하거나 본 발명이 자신의 상태에 관련된 정보를 써넣으면 이를 읽어들여 본 발명의 상태를 파악하도록 하는데 사용되는 터미널 제어영역(TCA)과 DFT 메세지를 위한 버퍼의 두 부분으로 나뉘어져 있다.Here, the biaxial communication processing mechanism (BCP) 101 dedicated to coaxial signal processing, which operates by receiving the clock signal CLK2 from the system clock generator 103, may include firmware, a real-time generator, and a data buffer index pointer for coaxial signal processing. Is included in the biaxial signal format having a frame structure as shown in FIG. 4 by receiving a coaxial signal through a coaxial signal transmission and reception circuit 100 which provides an electrical interface connecting the present invention and a control unit. To receive the coaxial transmission control command and the coaxial transmission data included in the data or to receive the data to be received on the coaxial line according to the biphasic signal format. And a coaxial data buffer, which is formed in the data buffer RAM 104, Terminal control area (TCA) and DFT messages are used to control the present invention by writing a control command according to the DFT protocol or to read the present information when the present invention writes information related to its state. It is divided into two parts.

이에 인스트럭션코드 램(102)에 저장되어 있는 소프트웨어는 동축선신호 처리전용 바이페이즈 통신처리기구(BCP)(101)에 의해 해석된 동축선 제어명령에 따라 동축선 데이타 버퍼 인덱스 포인터가 데이타버퍼(104)의 터미날 제어영역(TCA) 기억영역을 지정하면 거기에 DFT명령을 써넣는 과정을 통해 본 발명이 DFT 프로토콜에 준하여 콘트롤 유니트와 통신토륵 함으로써 콘트롤 유니트로부터 수신한 DFT 메시지를 데이타 버퍼(104)에 저장하며 역시 데이타버퍼 램을 이용한 변수를 1로 세트함으로써 DFT 메세지가 수신되었음을 마이크로프로세서 유니트(MPU) (105) 및 이에 데이타/어드레스 버스(DATAl/ADDl)로 연결된 하드웨어 장치를 이용하여 동작하는 소프트웨어에 알리거나 이 마이크로 프로세서 유니트(MPU) (105)와 연관된 소프트웨어가 데이타 버퍼(104)에 작성한 SNA 메세지를 DFT 메세지로 만들어 큰트를 유니트에 전송함으로써 본 할명이 DFT 프로토콜에 의해 큰트롤 유니트와 통신토륵 한다.Accordingly, the software stored in the instruction code RAM 102 stores the coaxial data buffer index pointer in accordance with the coaxial control command interpreted by the coaxial line processing processing mechanism (BCP) 101 dedicated to the coaxial signal processing. When the terminal control area (TCA) storage area is designated, the DFT message received from the control unit is communicated to the data buffer 104 by communicating with the control unit according to the DFT protocol by writing a DFT command therein. Software to operate using a microprocessor unit (MPU) 105 and a hardware device connected to the data / address bus (DATAl / ADDl). SNA notified or written to data buffer 104 by software associated with this microprocessor unit (MPU) 105. By making the message a DFT message and sending the guts to the unit, this alias communicates with the guts controller by the DFT protocol.

한편, 본 발명은 호스트 컴퓨터상의 적용업무 프로그램과 SNA 프로토콜에 따라 통신하여 비동기 단말기로부터 입력된 데이타를 비동기 단말기에 출력될 데이타를 적용업무 메세지 형태로 상호 변환하는데, 이러한 SNA 통신기능은 로직컬 유니트(Logical Unit)로서의 본 발명과 호스트 컴퓨터상의 로직컬 유니트 사이에 신뢰성 있고 안정한 가상적 회선(virtual circuit)인 세션(session)을 형성하고 이 가상적 회선을 통하여 사용자간에 즉, 발명상에 수행되는 단말기와 기능에 해당하는 적용업무 프로그램과 호스트 컴퓨터에서 수행되는 적용업무 프로그램간에 적용업무 메세지를 전송하는 서어비스를 제공함을 의미한다.On the other hand, the present invention communicates with the application program on the host computer according to the SNA protocol to convert the data input from the asynchronous terminal to the data to be output to the asynchronous terminal in the form of the application service message, the SNA communication function is a logical unit ( Between the present invention as a Logical Unit and a logical unit on a host computer to form a session, a reliable and stable virtual circuit, and to the terminal and the function performed between the users, i.e., the invention, through the virtual circuit. This means providing a service for transmitting an application service message between a corresponding application program and an application program running on a host computer.

이러한 SNA 프로토콜에 준한 본 발명의 호스트 컴퓨터와의 통신은 다음의 SNA 메세지 구조에 대한 설명과정에서 상세히 설명한다.Communication with the host computer of the present invention based on the SNA protocol will be described in detail in the following description of the SNA message structure.

제 6 도는 본 발명이 SNA 프로토콜에 준하여 호스트 컴퓨터와 통신하는데 사용되는 SNA 메세지의 구조를 도시한 것으로 하나의 SNA 메세지에는 전송헤더(Transmission Header) (180)와 기본정보단위(BIU : Basic Information Unit)(190)와 적용사용자구조(AUS : Application User Structure(191)로 구분되며 이렇게 SNA 메세지가 적층구조(Hierarchical Structure)를 가짐은 SNA 통신기능이 데이타의 전송기능과 세션제어 기능등으로 이루어져 있고, 이 기능들은 또한 적층적인 상호관계를 가지고 있으며 각각 독립인 헝태의 메세지를 이용하여 그들의 기능을 수행하고 있음을 의미한다.6 illustrates the structure of an SNA message used in the present invention to communicate with a host computer according to the SNA protocol. A single SNA message includes a transmission header 180 and a basic information unit (BIU). (190) and the Application User Structure (AUS). The SNA message has a hierarchical structure. The SNA communication function is composed of a data transmission function and a session control function. The functions also have a stack of interrelationships, meaning that they each perform their function using independent messages.

그리고 제 7 도는 SNA 통신기능에서 메세지의 전송서어비스(Transmission Service)를 위한 정보를 제공하는 전송헤더의 구조를 도시한 것으로, 이는 기본정보단위를 정확한 수신처로 안전하고 신속하게 전달되도록 하는 것으로 기본정보단위 메세지가 긴 경우는 SNA의 메세지의 전송서어비스를 위한 통신망이 그 구성된 통신장치 및 통신매체에 따라 통신의 거리와 성능과 기능을 갖고 있음으로 발생하는 긴 데이타를 전송함에 있어서, 통신장치의 버퍼가 작아서 데이타의 중계를 위한 버퍼의 기능을 발휘할 수 없다든지, 저속의 통신매체를 사용하는 경우 긴 데이타의 전송상의 발생한 오류를 정정하려면 다시 긴 데이타를 재전송하기 위한 시간이 많이 걸린다든지 하는 문제를 방지하기 위하여 다수의 세그먼트로 분할하여 전송함이 바람직하다.FIG. 7 illustrates the structure of a transmission header that provides information for a transmission service of a message in an SNA communication function. This is to ensure that a basic information unit is safely and quickly delivered to an accurate destination. If the message is long, the buffer of the communication device is small in transmitting the long data generated by the communication network for the SNA message transmission service having the communication distance, performance, and function according to the configured communication device and communication medium. In order to prevent the problem of not being able to function as a buffer for data relay, or to correct an error in transmission of long data when using a low speed communication medium, it may take a long time to retransmit the long data. It is preferable to divide the data into a plurality of segments.

이의 구조를 상세히 설명하면 다음과 같다.The structure thereof is described in detail as follows.

MDF(Main Distributing Frame)(201)는 SNA 메세지를 통해 전송되어야 할 기본 정보단위 전체와 현재 전송되는 SNA 메세지내에 실려있는 기본정보단위의 세그먼트가 여러개의 기본정보단위 세그먼트중의 처음 시작인지 중간인지 아니면 마지막 세그먼트인지를 구별해줌으로써 기본정보단위의 수신측에서 접수한 기본 정보단위 세그먼트를 다시 연결하여 하나의 기본정보단위로 만들어 수신할 수 있도록 하는 정보를 제공한다.The Main Distributing Frame (MDF) 201 indicates whether the entire basic information unit to be transmitted through the SNA message and the segment of the basic information unit contained in the currently transmitted SNA message are the beginning or the middle of several basic information unit segments. By distinguishing whether it is the last segment, the basic information unit segment received by the receiving side of the basic information unit is reconnected to provide information for making and receiving one basic information unit.

EFI(Expedited Flow Indicator) (205)는 기본정보단위의 의미가 긴급제어 데이타를 의미할 경우에 "1"로 세트되어 해당 SNA 메세지가 앞서 전송된 SNA 메세지의 수신대기 상태와는 관계없이 우선적으로 수신측에 전달되도록 한다.Expedited Flow Indicator (EFI) 205 is set to "1" when the basic information unit means emergency control data so that the corresponding SNA message is preferentially received regardless of the reception wait state of the previously transmitted SNA message. To be delivered to the side.

LDAF(Local Destination Address FieId) (205)는 SNA 메세지의 송, 수신측 어드레스를 명기하는 것이며, LOAF(Local Origin Address Field) (206)는 SNA 메세지의 송, 수신측 어드레스를 명기하는 것이다.The LDAF (Local Destination Address FieId) 205 specifies the sending and receiving side addresses of the SNA message, and the LOAF (Local Origin Address Field) 206 specifies the sending and receiving side addresses of the SNA message.

SNF(Sequence Number Field)(207,208)는 송신측으로부터 수신측으로 SNA 메세지가 전송되는 순서를 나타냄으로써 수신측에서 접수한 기본정보단위의 세그먼트를 다시 연결하여 본래의 기본정보단위로 만들어 수신할 수 있게하는 정보와 재전송에 의해 발생할 수도 있는 중복된 SNA 메세지를 구별할 수 있게 함으로써 정확한 기본정보단위의 수신이 일어날 수 있도록 하는 정보를 제공한다.Sequence Number Field (SNF) (207, 208) indicates the order in which SNA messages are sent from the sending side to the receiving side, thereby reconnecting segments of the basic information unit received at the receiving side so that the original basic information units can be received. It is possible to distinguish duplicate SNA messages that may be caused by information and retransmission, thereby providing information that allows the reception of the correct basic information unit.

또한 기본정보단위의 요구/응답헤더(RRH : Request/Response Header)의 구조는 제 8 도에 도시되어 있다. 이 요구/응답헤더의 구조는 기본정보단위가 요구기본정보단위 이거나 또는 응답기본정보단위이거나 모두 동일한 구조를 사용하며 이의 구조는 다음과 같다.In addition, the structure of the request / response header (RRH) of the basic information unit is shown in FIG. The structure of this request / response header uses the same structure whether the basic information unit is the request basic information unit or the response basic information unit. The structure is as follows.

요구/응답지시기(RRI : Request/Response Indicator) (220)는 해당 기본정보단위가 요구기본정보단위이면 "1"로 세팅되고 응답기본정보단위이면 "0"으로 세팅되어 해당기본정보단위의 종류를 구별할 수 있도록 한다.The Request / Response Indicator (RRI) 220 is set to '1' if the basic information unit is a request basic information unit and is set to '0' if the basic information unit is a response basic information unit. Make it distinguishable.

RUC(RU Category) (221)는 적용업무를 지원하기 위한 기능의 범주를 표시하는 것으로 적용업무를 지원하기 위한 기능의 범주는 세션제어(SC)와 통신망제어(NC)와 데이타 흐름제어(DFC)와 기능관리 데이타 스트림(FMDS)중의 하나이다.The RUC (RU Category) 221 indicates a category of functions to support the application service. The categories of functions to support the application service are session control (SC), communication network control (NC) and data flow control (DFC). And functional management data stream (FMDS).

Fl(Format Indicator) (223)는 기본정보단위가 기능관리 데이타 스트림(FMDS)을 포함한 경우 기능관리데이타 스트림(FMDS)의 형식의 종류를 구별할 수 있는 정보를 제공한다.Fl (Format Indicator) 223 provides information for distinguishing the type of the format of the function management data stream (FMDS) when the basic information unit includes the function management data stream (FMDS).

SDI(Sense Data Indicator) (224)는 기본정보단위 전송 과장에서 오류가 발생한 경우 중간의 통신장치가 이를 감지하여 본래의 기본정보단위를 발생한 오류에 대한 정보인 이상감지 데이타(Sense Data)가 첨가된 예외 기본정보단위(Exceptional B1U)로 변경한 경우에 "1"로 세팅된다.SDI (Sense Data Indicator) 224 is an intermediate communication device detects when an error occurs in the section of the transmission unit of the basic information unit is added to the sense data (Sense Data) that is information about the error that occurred the original basic information unit Set to "1" when changing to the exception basic information unit (Exceptional B1U).

BCI(Begin Chain Indicator) (225)와 ECI(End Chain Indicator) (226)는 해당 기본정보단위가 몇개의 연속된 체인의 어느 부분에 해당하는지 알려주는 정보를 포함하여 BCI와 ECI가 각각 "1","0"이면 본 기본정보단위는 처음 체인에 해당하며, 모두 "0"이면 해당기본정보단위는 여러개의 체인중 처음과 마지막을 제외한 임의의 체인이며, 그것들이 각각 "0","1"이면 해당 기본정보단위가 마지막 체인에 해당함을 의미하며, 모두 "1"이면 해당 기본정보단위의 하나로써 모든 체인의 전송이 완료됨을 의미한다. 이때의 체인이란 적용업무 메세지가 하나의 기본정보단위로써 전송되기 어려울 경우 몇 개의 작은 단위로 분할되어 전송되는데 이때의 작은 단위의 적용업무 메세지를 말하면, 하나의 체인에 해당하는 적용업무 메세지의 길이는 본 발명상의 로직컬 유니트와 호스트 컴퓨터상의 로직컬 유니트 사이에 세션(로직컬 유니트-로직컬 유니트 세션)이 형성(이를 바인드(BIND)라 한다)이 될때, 본 발명상의 로직컬 유니트는 호스트 컴퓨터의 로직컬 유니트로부터 수신할 수 있는 최대길이를 결정하고 호스트 컴퓨터의 로직컬 유니트는 본 발명상의 로직컬 유니트로부터 수신할 수 있는 최대 길이를 결정함으로써 결정되게 된다.Beginning Chain Indicator (BCI) 225 and End Chain Indicator (ECI) 226 contain information indicating which part of the chain the basic information unit corresponds to, where BCI and ECI are each " 1 ". If "0", this basic information unit is the first chain. If all are "0", the basic information unit is any chain except the first and last of several chains, and they are "0" and "1", respectively. If this means that the basic information unit corresponds to the last chain, and if it is all "1", one of the basic information units means that the transmission of all chains is completed. In this case, when the application service message is difficult to be transmitted as one basic information unit, it is divided into several small units and transmitted. In this case, the application service message corresponding to a small unit has a length of the application service message corresponding to one chain. When a session (logical unit-logical unit session) is formed (called a BIND) between the logical unit of the present invention and the logical unit on the host computer, the logical unit of the present invention is connected to the host computer. The maximum length that can be received from the logical unit is determined and the logical unit of the host computer is determined by determining the maximum length that can be received from the logical unit of the present invention.

DRlI(Definite Response 1 Indicator) (227)와 DR2I(Definite Response 2 Indicator) (229)와 ERI(Exception Response Indicator) (230)는 요구기본정보단위가 이에 의한 응답기본정보단위의 형식을 지정하기 위해 사용된다.The Definite Response 1 Indicator (DRlI) (227), the Definite Response 2 Indicator (DR2I) (229), and the Exception Response Indicator (ERI) 230 are used by the requesting basic information unit to specify the format of the response basic information unit. do.

ERI(Exception Response Indicator) (230)는 응답기본정보단위가 4바이트의 이상감지 데이타(sense Data)를 포함하는 부정적인 웅답을 위한 것일때 "1"로 세트되며 정상적인 응답기본정보단위인 경우에는 "0"으로 세트된다.ERI (Exception Response Indicator) 230 is set to "1" when the response basic information unit is for negative ques- tions containing 4 bytes of sense data, and "0" if the response basic information unit is a normal response basic information unit. Is set to ".

QRI(Queued Response Indicator) (232)는 이 비트가 "1"로 세트된 요구기본정보단위에 대한 응답기본정보단위가 전송과정에서 대기행렬에 들 수 있음을 표시하는 것으로 이 경우 QRI는 요구기본정보단위와 응답기본정보단위에서 모드 "1"로 세트된다.The queued response indicator (QRI) 232 indicates that the response basic information unit for the request basic information unit with this bit set to "1" can be queued in the transmission process. Set to mode "1" in units and response basic information units.

PI(Pacing Indicator) (233)는 본 발명상의 로직컬 유니트와 호스트 컴퓨터 로직컬 유니트 사이에 형성되어 있는 세션에 페이싱이 적용되고 있을때 요구기본정보단위의 해당비트가 "1"로 세트되는 것으로, 페이싱이라함은 두 로직컬 유니트의 통신처리 능력이 다른 경우 특히, SNA 메세지의 수신측의 성능이 송신측보다 낮은 경우 송신측으로 하여금 수신측이 처리할 수 있는 속도로 SNA 메세지를 전송하도록 하는 쌍방간의 전송속도에 대한 약속이다.The pacing indicator (PI) 233 is set as the corresponding bit of the requested basic information unit is set to "1" when pacing is applied to the session formed between the logical unit and the host computer logical unit in the present invention. This means that the transmission between the two logical units causes the sender to transmit the SNA message at a speed that the receiver can handle, especially when the communication processing capability of the two logical units is different, especially when the performance of the receiver of the SNA message is lower than that of the sender. It is a promise for speed.

BBI(Begin Bracket Indicator)(234)와 EBI(End Bracket Indicator)(235)는 요구기본정보단위에서 사용되는데 해당 요구기본정보단위에 실린 적용업무 메세지가 하나의 브래킷에서 처음 발생되는 것이면 BBI와 EBl가 각가 "1"과 "0"이고, 마지막으로 발생되는 경우면 각각 "0","1"이며, 발생된 여러개의 적용업무중에 그 중간의 임의의 하나이면 BBI와 EBI가 모두 "0"이며, 만일 하나의 브래킷을 위해 오직 하나만의 적용업무가 발생한 경우면 모두 "1"이 되는 것으로 이때, 브래킷이라 함은 사용자의 적용업무의 하나를 완전하게 처리할 수 있는 업무의 단위를 말한다.Beginning bracket indicator (BBI) 234 and end bracket indicator (EBI) 235 are used in the request basic information unit. If the application message in the request basic information unit is generated first in one bracket, BBI and EBl The angles are "1" and "0", and if the last occurrence is "0" and "1", respectively, the BBI and EBI are both "0" if it is any one in between. If only one application task occurs for a bracket, all are "1", where bracket is a unit of work that can completely handle one of the user's application tasks.

CDI(Change Direction Indicator) (236)가 "1"로 세트되어 있으면 반이중 송수신 방식으로 전송되는 요구기본정보단위의 전송방향이 변경되었음을 의미하는 것으로 요구기본정보단위에서만 사용된다.When CDI (Change Direction Indicator) 236 is set to "1", it means that the transmission direction of the request basic information unit transmitted by the half-duplex transmission / reception method is changed and used only in the request basic information unit.

EDI(Enciphered Data Indicator) (239)는 해당요구 기본정보단위에 실린 적용업무 메세지가 암호화된 경우에 "1"로 세트되며 요구 기본정보단위에서만 사용된다.Enciphered Data Indicator (EDI) 239 is set to "1" when the application service message contained in the required basic information unit is encrypted and is used only in the required basic information unit.

PDI(Padded Data Indicator) (240)는 해당요구 기본정보단위에 실린 적용업무 메세지가 8바이트의 단위로 그 길이가 정해 지고 만일 적용업무 데이타의 길이가 8로 나누어 떨어지지 않으면 다음 8바이트 경계까지 X"0"으로 페딩되어 있음을 의미하는 것으로 요구기본정보단위에서만 사용된다.The PDI (Padded Data Indicator) 240 determines that the length of the application message in the required basic information unit is determined in units of eight bytes, and if the length of the application data is not divided by eight, then X "to the next eight byte boundary. It is padded with 0 "and used only in the requesting basic information unit.

다음은 본 발명이 호스트 컴퓨터와 단말기로써 갖추어야할 입, 출력 기능을 적용업무 메세지의 형식인 3270 데이타스트림(3270DS)과 SCS(SNA Character String)의 의미를 상세히 분석하는 과정에서 설명한다.The following describes the input and output functions that the present invention should have as a host computer and a terminal in the process of analyzing in detail the meaning of 3270 data stream (3270DS) and SCS (SNA Character String), which are formats of application service messages.

먼저 3270 데이타 스트림은 표 3에서 보여지는 바와 같이, 3270 단말기 스크린 이미지 버퍼에 호스트 컴퓨터상의 적용업무 프로그램이 생성한 적용업무 데이타를 써넣기 위한 즉, 단말기에 출력하기 위한 명령집단과 사용자가 단말기를 통해 본 발명상의 3270 단말기 스크린 이미지 버퍼상에 입력한 데이타를 호스트 컴퓨터의 적용업무 프로그램에 전달하기 위한 명령집단으로 크게 분리되는 명령과, 3270 단말기 스크린 이미지 버퍼가 갖는 구성단위인 필드와 문자의 입, 출력상의 속성(Attribute)을 지정하는 수단이 되는 것과 상기 설명한 데이타 스트림 명령의 입, 출력기능을 좀더 구체적으로 지정하는 역할을 하는 두개의 종류로 나뉘어지는 부속명령과, 실제 단말기를 통해 입, 출력될 적용업무 데이타로 구성되어 있으며 제 2도의 시스템 데이타 램(103)상에 형성되어 3270에 따른 입, 출력을 하는 3270 단말기로서의 기능을 수행하기 위한 3270 단말기 이미지 버퍼를 갖고 있는 본 발명은, 호스트 컴퓨터의 적용업무 프로그램이 적용업무 데이타를 생성하여 이를 3270 데이타 스트림의 형태로 본 발명에 전송할 때마다 해당 3270 스크린 이미지를 변경하며, 이 3270 스크린 이미지는 다시 비동기 단말기의 실제 스크린 이미지와 비교된 후, 변경된 부분만이 추출되어 비동기 단말기에 출력되는 동시에 비동기 단말기의 실제 스크린 이미지를 현재의 3270 단말기 스크린 이미지와 일치하도록 변경한다.First, as shown in Table 3, the 3270 data stream writes the application data generated by the application program on the host computer into the 3270 terminal screen image buffer, that is, the command group for outputting to the terminal and the user viewed through the terminal. Instructions for largely separating the data input on the 3270 terminal screen image buffer of the present invention into the application program of the host computer, and the input and output of the fields and characters that constitute the unit of the 3270 terminal screen image buffer. Subcommands are divided into two types, which are means for specifying attributes, and more specifically, for specifying input and output functions of the data stream commands described above, and application tasks to be input and output through actual terminals. On the system data RAM 103 of FIG. The present invention having a 3270 terminal image buffer for performing a function as a 3270 terminal for input and output according to 3270, according to the present invention, an application program of a host computer generates application service data and views it in the form of a 3270 data stream. Each time you send to the invention, the corresponding 3270 screen image is changed, and this 3270 screen image is again compared with the actual screen image of the asynchronous terminal, and then only the changed portion is extracted and output to the asynchronous terminal, while simultaneously displaying the actual screen image of the asynchronous terminal. Change it to match the 3270 terminal screen image.

또 비동기 단말기의 사용자가 입력한 데이타가 본 발명의 장치상에 있는 비동기 단말기 스크린 이미지 버퍼에 기록되어 있는 3270 단말기 스크린 이미지와 차이가 발생하게 되는 경우가 있는데, 이때는 사용자가 단말기를 통해 AID에 해당하는 데이타(캐리지리턴, 뉴라인등)를 입력하면 본 발명은 두 스크린 이미지 버퍼의 차이를 추출하여 이를 3270 데이타 스크림으로 만들어 호스트 컴퓨터의 적용업무 프로그램에 전송한다.In addition, there is a case where the data input by the user of the asynchronous terminal differs from the 3270 terminal screen image recorded in the asynchronous terminal screen image buffer on the device of the present invention. In this case, the user corresponds to the AID through the terminal. When inputting data (carriage return, new line, etc.), the present invention extracts the difference between the two screen image buffers and makes it a 3270 data stream and transmits it to the application program of the host computer.

다음으로 본 발명은 표 4에 나타나 있는 것과 같은 SCS를 수신한 경우, 그 명령을 해석하여 그에 따르는 SCS 프린터 스크린 이미지를 형성한 다음 이를 그대로 프린터에 출력하여 인쇄하도록 한다.Next, when the present invention receives an SCS as shown in Table 4, the command is interpreted to form an SCS printer screen image according to the command, and then output to the printer as it is to be printed.

또한 본 발명은 비동기 단말기로부터 사용자가 본 발명의 동작을 제어할 수 있는 기능키를 제공하며, 호스트 컴퓨터의 적용업무 프로그램이 사용하는 문자부호계와 실제의 비동기 단말기가 상용하는 문자부호계가 다른 경우, 이들을 상호 변환하는 기능을 가지고 있어 사용자가 비동기 단말기를 통해 입력한 모든 데이타를 호스트 컴퓨터가 사용하는 3270 데이타 스트림 및 문자부호계를 가진 적용 업무 메세지로 전송하고, 호스트 컴퓨터의 적용업무 프로그램이 전송하여 출력하고자 하는 적용업무 데이타를 이들이 3270 데이타 스트림인 SCS에 의해 지정한 방식대로 즉 이들이 사용하고자 원하는 SCS 및 3270 단말기와 동일한 형태로 비동기 단말기를 통해 출력되도록 한다.In addition, the present invention provides a function key that allows a user to control the operation of the present invention from an asynchronous terminal, and if the character code system used by the application program of the host computer is different from the character code system commonly used by the asynchronous terminal, It has the function of converting each other, so that all the data inputted by the user through the asynchronous terminal is transmitted to the application message with 3270 data stream and character code system used by the host computer, and the application program of the host computer The application data is output through the asynchronous terminal in the same way as they are specified by the SCS, which is the 3270 data stream, i.e. in the same form as the SCS and 3270 terminals they wish to use.

이상에서 설명한 바와 같이 본 발명은, 본 발명을 작동하는데 필요한 최소한의 하드웨어와 소프트웨어로 구성되어 콘트롤 유니트와는 DFT 통신방식에 준한 통상방식으로 호스트 컴퓨터와는 SNA 통신방식에 준한 통신방식으로 통신함으로써, 적용업무 데이타를 교환하며 특히 입, 출력장치로 기동기 CRT/키보드 단말기나 비동기 프린터를 비동기 통신방식으로 연결함으로써 저렴하고 광범위한 적용범위를 갖는 단말기를 소비자에게 제공할 수 있는 효과가 있다.As described above, the present invention is composed of the minimum hardware and software necessary for operating the present invention, and communicates with the control unit in a normal manner according to the DFT communication method, and with the host computer in a communication method according to the SNA communication method. Application data is exchanged. In particular, by connecting the starter CRT / keyboard terminals or asynchronous printers with asynchronous communication as input and output devices, it is possible to provide consumers with inexpensive and wide coverage terminals.

Claims (6)

콘트롤 유니트와 연결되어 전기적 인터페이스를 제공하는 동축선신호 송수신회로(100), 상기 콘트롤 유니트와 통신하기 위해 필요한 동축선신호 송수신 및 모든 연산논리 기능을 제공하는 동축선 신호처리 전용 바이페이즈 통신처리기구(101), DFT 프로토콜에 준하여 상기 콘트롤 유니트와 통신할 수 있도록 하는 소프트웨어가 기록되어 있는 인스트럭션 로드램(102), 호스트컴퓨터와 통신하기 위한 SNA 프로토콜을 수행하는 소프트웨어와 비동기 단말기의 데이타 입출력을 제어하는 소프트웨어가 동작하는 데 필요한 모든 연산논리 기능을 제공하는 마이크로 프로세서 유니트(105), 상기 동축선 신호처리 전용 바이페이즈 통신처리 기구(101)를 이용해 수행되는 소프트웨어와 상기 마이크로 프로세서 유니트(105)를 이용해 수행되는 소프트웨어가 데이타를 교환하고 두 소프트웨어를 연결하는데 필요한 모든 정보를 교환하는 창구역할을 하는 데이타버퍼(104), 상기 데이타 버퍼(104)와 연결되고 비동기 단말기가 호스트 컴퓨터 본체의 단말기와 동일하게 동작하도록 하는 소프트웨어와 비동기 방식의 통신을 하도록 하는 소프트웨어가 기억된 시스템 소프트웨어롬(106), 상기 시스템 소프트웨어가 사용하는 모든 변수와 스택을 위한 기억장소를 제공하는 시스템 데이타램(108), 비동기 RS-232C 인터페이스(111)를 통해 송구신된 모든 데이타를 일시적으로 기억하여 원활한 비동기 통신이 이루어질 수 있도록 하는 비동기 입출력 버퍼(107)로 구성되는 것을 특징으로 하는 컴퓨터용 프로토콜(Protocol) 컨버터의 시스템.Coaxial signal transmission / reception circuit 100 connected to a control unit to provide an electrical interface, a coaxial signal processing-only biphase communication processing mechanism for providing coaxial signal transmission and reception and all arithmetic logic functions required for communication with the control unit. 101), an instruction load ram 102 in which software for communicating with the control unit is recorded according to the DFT protocol, software for performing SNA protocol for communicating with a host computer, and software for controlling data input / output of an asynchronous terminal. Is performed using the microprocessor unit 105 and the microprocessor unit 105 that provide all of the computational logic functions required for the operation, the software to be executed using the coaxial signal processing-only biphasic communication processing mechanism 101, and Software exchanges data And a data buffer 104 for exchanging all the information necessary to connect the two software, and a software and asynchronous method connected to the data buffer 104 to allow the asynchronous terminal to operate the same as the terminal of the host computer main body. The system software ROM 106 in which the software to communicate is stored, the system data RAM 108 providing storage for all the variables and stacks used by the system software, and the asynchronous RS-232C interface 111. A system of a protocol converter for a computer, characterized by comprising an asynchronous input / output buffer (107) for temporarily storing all the updated data to enable smooth asynchronous communication. 제 1 항에 있어서, 상기 프로토콜 컨버터는 비동기 랜(LAN)시스템 및 공중데이타 통신망(PSDN) (61)을 통해 동기단말기의 CRT/키보드가 가진 화면제어기능을 구사하고, 동기단말기의 CRT/키보드가 키이들로서 갖추어야 할 키이기능들을 구사하며, 동기단말기의 프린트가 가진 인쇄제어기능으로 SCS명령이 요구되는 프린터의 인쇄제어 기능을 구사하게 되는 것을 특징으로 하는 컴퓨터용 프로토콜(Protocol) 컨버터의 시스템.The method of claim 1, wherein the protocol converter utilizes a screen control function of the CRT / keyboard of the synchronous terminal through an asynchronous LAN (PS) system and a public data communication network (PSDN) 61, and the CRT / keyboard of the synchronous terminal A system of a protocol converter for a computer, which utilizes key functions to be provided as keys, and uses a print control function of a printer requiring an SCS command as a print control function of a print of a synchronous terminal. 제 1 항에 있어서, 상기 프로토콜 컨버터는 비동기 모뎀(75-79) (80-84) (85-89)을 전화선 등으로 연결하여 동기단말기의 CRT/키보드가 가진 화면제어기능으로서 데이타 스트림 명령과 부속명령이 요구하는 화면제어기능으로서 데이타 스트림 명령과 부속명령이 요구하는 화면제어기능을 구사하고, 동기 단말기의 CRT/키보드의 키이들로서 갖추어야 할 키이기능들을 구사하며, 동기 프린터가 가진 인쇄제어기능으로서 SCS명령이 요구하는 프린터의 인쇄제어기능을 구사하게 되는 것을 특징으로 하는 컴퓨터용 프로토콜(Protocol) 컨버터의 시스템.2. The protocol converter of claim 1, wherein the protocol converter is a screen control function of a CRT / keyboard of a synchronous terminal by connecting an asynchronous modem (75-79) (80-84) (85-89) with a telephone line or the like. As a screen control function required by the command, it utilizes the screen control function required by the data stream command and subcommands, and uses the key functions to be provided as keys on the CRT / keyboard of the synchronous terminal. A system for a protocol converter for a computer, characterized by using the print control function of a printer required by an SCS command. 제 1 항에 있어서, 동축선 신호처리전용 바이페이즈 통신처리기구(BCP) (101)는 오퍼레이션 개시와 동시에 DFT 통신 규약으로 통신을 하기 위해 상기 DFT메세지의 초기화 과정을 수행하면서 파워 온 리셋트 신호송신, 콘트롤 유니트 응답대기, 로컬 디바이스 세션형성과정을 수행토록 하는 프로그램을 포함하며, 또한 상기 DFT 통신 방식에 의거한 통신기능을 위해 스타트 오퍼레이션 명령, DFT 동기형 명령, 메세지 형성 및 데이타 수신명령 확인과 인바운드 DFT 데이타 송신대기 등의 과정을 수행하는 프로그램을 포함하여 이루어지는 것을 특징으로 하는 컴퓨터용 프로토콜(Protocol) 컨버터의 시스템.2. The power-on reset signal transmission of claim 1, wherein the coaxial signal processing-only biphase communication processing mechanism (BCP) 101 performs an initialization process of the DFT message to communicate with the DFT communication protocol at the same time as the operation is started. And a program for performing a control unit response wait, a local device session establishment process, and a start operation command, a DFT synchronous command, a message formation and a data reception command confirmation and inbound for a communication function based on the DFT communication method. A system for a protocol converter for a computer, comprising a program for performing a process such as waiting for DFT data transmission. 제 1 항에 있어서, 상기 마이크로 프로세서 유니트(MPU) (105)의 프로그램은 디스페쳐에 의해 주기적으로 기동되어 처리능력을 할당받아 동작하면서 호스트 컴퓨터(20) (50) (70)간에 SNA 통신방식에 다른 통신 서어비스를 제공하도록 SNA 메세지 수신대기 검사와 인바운드 SNA 메세지 형성대기, 아웃바운드 SNA 데이타 요구검사, 해당 로직컬 유니트-로직컬 유니트 세션으로 SNA 데이타수신, BIND 명령검사, 로직컬 유니트-로직컬 유니트 세션형성과 세션 형성성공검사 및 인바운드 SNA 메세지 송신대기 검사과정으로 이어지는 것을 포함하여 이루어지는 것을 특징으로 하는 컴퓨터용 프로토콜(Protocol) 컨버터의 시스템.2. A program according to claim 1, wherein the program of the microprocessor unit (MPU) 105 is started periodically by the dispatcher and is operated by allocating processing power to the SNA communication system between the host computers 20, 50, and 70. SNA message waiting check, inbound SNA message waiting waiting, outbound SNA data request checking, SNA data receiving in the logical unit-logical unit session, BIND command checking, logical unit-logical unit to provide other communication services A system for a protocol converter for a computer, comprising a session establishment, a session establishment success check, and an inbound SNA message transmission waiting check process. 제 1 항에 있어서, 상기 프로토콜 컨버터장치는 SNA 메세지에 실려 호스트 컴퓨터의 적용업무 프로그램으로부터 수신된 아웃바운드 데이타 스트림을 해석 처리하여 이를 비동기 단말기(25-39) (55-59)로 출력하고 비동기 단말기(25-39) (55-59)로부터 입력된 테이타를 역시 데이타 스트림의 형태로 호스트 컴퓨터(20) (50) (70)의 적용업무 프로그램으로 인바운드 SNA 메세지에 실어 전송하게 되므로써 동기 단말기외 기능으로 대신할 수 있도록 하는 것을 특징으로 하는 컴퓨터용 프로토콜(Protocol) 컨버터의 시스템.2. The protocol converter according to claim 1, wherein the protocol converter analyzes the outbound data stream received from the application program of the host computer in the SNA message and outputs it to the asynchronous terminal 25-39 (55-59). (25-39) The data input from (55-59) is transferred to the application program of the host computer 20 (50) and 70 in the form of a data stream and transmitted in an inbound SNA message. A system of protocol converters for computers, characterized by being capable of replacing. [표 1a]TABLE 1a
Figure kpo00002
Figure kpo00002
[표 1b]TABLE 1b
Figure kpo00003
Figure kpo00003
[표 2]TABLE 2
Figure kpo00004
Figure kpo00004
[표 3]TABLE 3
Figure kpo00005
Figure kpo00005
[표 4]TABLE 4
Figure kpo00006
Figure kpo00006
KR1019890007616A 1989-06-02 1989-06-02 Protocol converting system for computer KR920004770B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019890007616A KR920004770B1 (en) 1989-06-02 1989-06-02 Protocol converting system for computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019890007616A KR920004770B1 (en) 1989-06-02 1989-06-02 Protocol converting system for computer

Publications (2)

Publication Number Publication Date
KR910001558A KR910001558A (en) 1991-01-31
KR920004770B1 true KR920004770B1 (en) 1992-06-15

Family

ID=19286766

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019890007616A KR920004770B1 (en) 1989-06-02 1989-06-02 Protocol converting system for computer

Country Status (1)

Country Link
KR (1) KR920004770B1 (en)

Also Published As

Publication number Publication date
KR910001558A (en) 1991-01-31

Similar Documents

Publication Publication Date Title
US6343311B1 (en) Methods, systems and computer program products for remote control of a processing system
JP3522266B2 (en) Packet based system
EP0628230B1 (en) System and method for multiplexing data transmissions
US6967960B1 (en) Method and apparatus for emulating a local data port
JP2000289583A (en) Method and system for executing vehicle diagnosis
EP0207313B1 (en) Serial bus system
JPH05505266A (en) Telecommunications interface device and method
JPH08265424A (en) User interface with terminal emulation driving operation support system translation mechanism provided on portable testing and communication device of engineer
KR920004770B1 (en) Protocol converting system for computer
KR20000073174A (en) Method for controlling order of print job in printer
US5287534A (en) Correcting crossover distortion produced when analog signal thresholds are used to remove noise from signal
EP0228954A1 (en) Telephone line interface option module
JPS61188653A (en) Down load control system
CN113726788B (en) Network access method, system, electronic equipment and storage medium
CN108132900A (en) Interconnecting device, telecommunication system and data transmission method
JP3799741B2 (en) Bus controller
JP2833512B2 (en) Facsimile machine
JPH0581155A (en) Personal computer communication system
KR0123720B1 (en) Data printing method
KR970004537B1 (en) Local area network
JPH05324521A (en) Multiwindow communication method
Buchanan et al. Visual Basic RS-232
JPS62108370A (en) Document file server
JPH08180019A (en) Work station emulator
JPH1125041A (en) Data processor with communication function and its program recording medium

Legal Events

Date Code Title Description
A201 Request for examination
E601 Decision to refuse application
E902 Notification of reason for refusal
J2X1 Appeal (before the patent court)

Free format text: APPEAL AGAINST DECISION TO DECLINE REFUSAL

G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 19950608

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee