KR0135911B1 - Two way message transmission system - Google Patents
Two way message transmission systemInfo
- Publication number
- KR0135911B1 KR0135911B1 KR1019940036329A KR19940036329A KR0135911B1 KR 0135911 B1 KR0135911 B1 KR 0135911B1 KR 1019940036329 A KR1019940036329 A KR 1019940036329A KR 19940036329 A KR19940036329 A KR 19940036329A KR 0135911 B1 KR0135911 B1 KR 0135911B1
- Authority
- KR
- South Korea
- Prior art keywords
- message
- communication
- processor
- module
- communication network
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/42—Loop networks
- H04L12/427—Loop networks with decentralised control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
- H04L47/62—Queue scheduling characterised by scheduling criteria
- H04L47/622—Queue service order
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
본 발명은 분산 시스템에서 클라이언트와 원격 서버 간에 통신하기 위한 통신 처리기를 분할하여 양방향 메세지 전송이 가능하게 하는 시스템에 관한 것으로, 분산 시스템에서 클라이언트와 원격 서버 간에 통신하기 위한 통신 처리기를 분할하여 통신망으로 부터의 입력과 출력을 전담하도록 함으로써 전송 속도를 향상시킴과 동시에, 전송할 메세지가 없을 때 전송할 메세지가 도착하였는지를 검사하는 무한 반복 과정을 제거함으로써 시스템의 운영 효율을 향상시킨다.The present invention relates to a system for splitting a communication processor for communication between a client and a remote server in a distributed system to enable two-way message transmission. The present invention relates to a system for splitting a communication processor for communication between a client and a remote server in a distributed system. By improving the transmission speed by dedicating the input and the output of the system, the operation efficiency of the system is improved by eliminating the infinite repetition process of checking whether the message to be transmitted has arrived when there is no message.
Description
제1도는 종래의 통신 처리 시스템.1 is a conventional communication processing system.
제2도는 제1도의 통신 처리기의 동작을 나타낸 흐름도.2 is a flow chart showing the operation of the communication processor of FIG.
제3도는 본 발명에 따른 양방향 메세지 전송 시스템.3 is a bidirectional message transmission system according to the present invention.
제4도는 제3도의 양방향 통신 처리기의 동작을 나타낸 흐름도.4 is a flow chart showing operation of the bidirectional communication processor of FIG.
제5도는 양방향 메세지 전송 시스템의 동작도.5 is an operation diagram of a bidirectional message transmission system.
제6도는 양방향 메세지 전송 시스템의 운영도.6 is an operational diagram of a bidirectional message transmission system.
본 발명은 분산 시스템에서 클라이언트와 원격 서버 간에 통신하기 위한 통신 처리기를 분할하여 양방향 메세지 전송이 가능하게 하는 시스템에 관한 것이다.The present invention relates to a system for splitting a communication processor for communicating between a client and a remote server in a distributed system to enable bidirectional message transmission.
일반적으로 클라이언트/서버 형태의 분산 시스템은 통신망을 통하여 클라이언트와 원격 서버가 직접 연결하여 메세지를 전송하거나 호스트 내에서 통신처리기로 메세지를 전달한 다음 각 호스트에 있는 통신 처리기들 간에 통신망을 메세지를 전송하는 형태를 취해 왔다.In general, a client / server type distributed system connects a client and a remote server directly through a communication network to transmit a message or transmit a message to a communication processor in a host, and then transmit a message between communication processors in each host. Has been taken.
제1도는 종래의 통신 처리 시스템의 구성을 나타내고 있다. 제1도에 도시된 바와 같이, 종래의 통신 시스템은 한개의 통신 처리기가 통신 처리보드를 제어하여 통신망으로 부터 입력되는 메세지를 처리하는 것을 위주로 설계되어 있다.1 shows a configuration of a conventional communication processing system. As shown in FIG. 1, a conventional communication system is designed mainly for processing a message input from a communication network by one communication processor controlling a communication processing board.
이와 같이, 시스템 내에 통신 처리기를 1개만 장착할 경우에는, 호스트 내부에서 통신망으로 전송하는 메세지와 통신망에서 호스트 내부로 수신되는 메세지가 동시에 발생할 경우 이를 처리하는 우선순위를 두어야 함은 물론, 우선순위가 낮은 메세지는 늦게 처리되어 처리속도의 저하를 가져오는 한 원인이 되고 있다.As such, when only one communication processor is installed in the system, if a message transmitted from the host to the communication network and a message received into the host from the communication network occur at the same time, priority should be given to processing the message. Low messages are one of the causes of slower processing and slower processing.
클라이언트 처리기 혹은 서버 처리기로 부터 전달된 메세지와 통신망을 통하여 통신 처리 보드의 메세지 버퍼에 수신된 메세지의 두 곳을 번갈아 점검하여 메세지가 도달했는가 확인해야 하기 때문에 제2도에서와 같이 끊임없이 반복동작을 하게 되며, 이는 시스템 운영시 낭비 요인으로 작용하게 된다.Because the message sent from the client processor or the server processor and the network must check the message received in the message buffer of the communication processing board alternately, to check whether the message has arrived, so that it repeats continuously as shown in FIG. This is a wasteful factor when operating the system.
본 발명의 목적은 분산 시스템의 메세지 전송 속도와 전송 효율을 향상시키는 것이다.An object of the present invention is to improve the message transmission speed and transmission efficiency of a distributed system.
이와 같은 목적을 달성하기 위해서, 본 발명은 분산 시스템에서 클라이언트와 원격 서버 간에 통신하기 위한 통신 처리기를 분할하여 통신망으로 부터의 입력과 출력을 전담하도록 함으로써 전송 속도를 향상시킴과 동시에, 전송할 메세지가 없을 때 전송할 메세지가 도착하였는지를 검사하는 무한 반복 과정을 제거함으로써 시스템의 운영 효율을 향상시킨다.In order to achieve the above object, the present invention divides a communication processor for communicating between a client and a remote server in a distributed system so as to dedicate input and output from a communication network, thereby improving transmission speed and having no message to transmit. It improves the operational efficiency of the system by eliminating the infinite repetition process that checks when a message to be sent has arrived.
제2도에는 본 발명에 따른 양방향메세지 전송 시스템의 구성이 도시되어 있다.2 is a block diagram of a bidirectional message transmission system according to the present invention.
본 발명에 따른 메세지 전송 시스템은, 제2도에 도시된 바와 같이, 클라이언트 처리기, 서버 처리기, in-to-out 통신 처리기, out-to-in 통신 처리기로 구성된다.The message transmission system according to the present invention comprises a client processor, a server processor, an in-to-out communication processor, and an out-to-in communication processor, as shown in FIG.
각 처리기는 제5도에 도시된 바와 같이 다수의 모듈로 구성된다.Each processor consists of a number of modules, as shown in FIG.
서버 처리기는 서버 모듈과 서버 메세지 큐 모듈로 구성된다.The server handler consists of a server module and a server message queue module.
in-to-out 통신 처리기는 in-to-out 통신 모듈과 아웃 콘택스트 핸들(out context handle)모듈 및 통신 메세지 큐 모듈로 구성된다.An in-to-out communication handler consists of an in-to-out communication module, an out context handle module, and a communication message queue module.
out-to-in 통신 처리기는 out-to-in 통신 모듈과 인 콘택스트 핸들(in context handle) 모듈로 구성된다.The out-to-in communication handler consists of an out-to-in communication module and an in context handle module.
이와 같이 구성되는 본 발명에 따른 양방향 메세지 전송 시스템에서, in-to-out 통신 처리기는 클라이언트 처리기 혹은 서버 처리기로 부터 전달된 메세지를 통신 처리 보드의 메세지 버퍼에 잠시 보관하고 통신 처리 보드를 제어하면서 통신망으로 전송한다.In the bidirectional message transmission system according to the present invention configured as described above, the in-to-out communication processor keeps the message transmitted from the client processor or the server processor in the message buffer of the communication processing board for a while and controls the communication network. To send.
out-to-in 통신 처리기는 통신망을 통하여 통신 처리 보드의 메세지 버퍼로 수신된 메세지를 통신 처리 보드를 제어하면서 크라이언트 처리기가 서버 처리기로 전달한다.The out-to-in communication processor transfers the message received to the message buffer of the communication processing board through the communication network to the server processor while controlling the communication processing board.
제4도에 도시된 바와 같이, in-to-out 통신 처리기는 클라이언트 처리기 혹은 서버 처리기로 부터 전달되는 메세지를 대기하는 상태로 있다가 메세지가 전달되면 통신망으로 전송하고 다시 메세지 전달을 기다리는 상태를 유지하고, out-to-in 통신 처리기는 통신망에서 수신되는 통신 메세지를 대기하는 상태로 있다가 통신망의 메세지가 수신되면 이를 클라이언트 처리기나 서버 처리기로 전달하고 다시 통신망에서 수신되는 통신망의 메세지를 기다리는 상태를 유지하는 과정을 반복하여 수행한다.As shown in Figure 4, the in-to-out communication handler is waiting for a message from a client or server handler, and when the message is delivered, sends it to the network and remains waiting for message delivery. The out-to-in communication processor is waiting for a communication message received from the communication network, and when a message of the communication network is received, the out-to-in communication processor delivers the message to the client processor or server processor and waits for the message of the communication network received from the communication network. Repeat the process of maintaining.
이러한 방법은 두 통신 처리기가 각각 어느 한쪽의 방향만 보면서 대기상태를 유지하도록 하므로 메세지 수신이 없을 때에도 양쪽의 메세지가 도착하여 있는가 확인하는 절차를 무한히 반복동작하는 종래의 과정을 제거함은 물론 시스템 운영시 2개의 통신 처리기가 동시에 동작하게 되어 양쪽의 입력 우선순위를 부여하는 스케쥴링 과정을 생략하게 되어 처리속도를 크게 향상시킨다.This method allows the two communication processors to maintain the standby state by looking at only one direction, respectively, eliminating the conventional process of infinitely repeating the procedure of checking whether both messages arrive even when no message is received. Two communication processors operate simultaneously, eliminating the scheduling process of assigning both input priorities, which greatly improves processing speed.
다음에는 양방향 메세지 전송 시스템의 동작방법에 대해 상세히 설명한다.Next, an operation method of the bidirectional message transmission system will be described in detail.
시스템 운영자가 양방향 메세지 전송 시스템을 동작시키면 제5도에 도시된 바와 같이 서버 처리기, in-to-out 통신 처리기 및 out-to-in 통신 처리기들이 메세지의 입력이 들어 오기를 기다리는 상태로 대기한다.When the system operator operates the bidirectional message transfer system, the server processor, the in-to-out communication processor and the out-to-in communication processor wait for input of a message as shown in FIG.
시스템 운영자가 양방향 메시지 전송 시스템의 운영을 정지시키면 서버 처리기, in-to-out 통신 처리기 및 out-to-in 통신 처리기에서 종료신호를 전송하며 각 처리기들이 종료신호에 의해 종료한다.When the system operator stops the operation of the bidirectional message transmission system, the server processor, the in-to-out communication processor, and the out-to-in communication processor transmit an end signal and each processor ends by the end signal.
제5도를 참조하여, 사용자가 클라이언트 처리기를 동작시키면(1), 클라이언트모듈은 사용자의 질의사항을 서비스 요청 메세지로 변환한다. 서비스 요청 메세지를 처리할 서버 처리기가 제1호스트(A) 내에 있을때에는, 클라이언트 모듈이 서버 메세지 큐 모듈(2)에 서비스 요청 메세지를 직접 전달한다.Referring to FIG. 5, when the user operates the client processor (1), the client module converts the user's query into a service request message. When the server handler to process the service request message is in the first host A, the client module delivers the service request message directly to the server message queue module 2.
서버 모듈은 서버 메세지 큐 모듈을 보면서 대기하여 있다가 메세지가 전달되면 메세지를 읽어 해당 서비스를 수행한다.The server module waits while watching the server message queue module, and reads the message to perform the service when the message is delivered.
서비스를 수행한 후 서버 모듈은 결과값을 메세지로 변환하여 클라이언트 메세지 큐(3)에 전달한다.After performing the service, the server module converts the result into a message and delivers it to the client message queue (3).
클라이언트 모듈은 클라이언트 메세지 큐를 보면서 대기하다가 메세지가 전달되면 메세지를 읽어 사용자의 질의사항을 응답(4)한다.The client module waits while looking at the client message queue, and if a message is delivered, reads the message and responds to the user's query (4).
한편, 서비스 요청 메세지를 서버 처리기가 제2호스트(B)내에 있을 때에는, 클라이언트 모듈은 서비스 요청 메세지를 in-to-out 통신 메세지 큐 모듈(5)로 전달한다.On the other hand, when the server handler is in the second host B, the client module delivers the service request message to the in-to-out communication message queue module 5.
in-to-out 통신 모듈은 in-to-out 통신 메세지 큐 모듈을 보면서 대기하여 있다가 서비스 요청 메세지가 전달되면 메세지를 읽어 메세지의 최종 목적지를 확인한 다음 아웃 콘택스트 핸들 모듈에서 목적지의 전송 전보를 찾아 메세지를 통신망에서 처리할 수 있는 통신 메세지 형태로 변환하여 통신망으로 전송(6)한다.The in-to-out communication module waits by looking at the in-to-out communication message queue module. When a service request message is delivered, the in-to-out communication module reads the message to determine the final destination of the message, and then sends the destination telegram on the out-context handle module. It finds and converts the message into a communication message form that can be processed by the communication network and transmits it to the communication network (6).
목적지 호스트에 있는 out-to-in 통신 모듈은 인 콘택스트 핸들 모듈에 있는 수신정보를 이용하여 통신망으로 부터 통신메세지를 읽어 메세지에 있는 최종 전달 위치를 확인하고 내부 메세지 형태로 변환하여 서버 메세지 큐 모듈에 서비스 요청 메세지를 전달(7) 한다.The out-to-in communication module in the destination host reads the communication message from the network using the received information in the in-context handle module, checks the final delivery location in the message, and converts it into an internal message. (7) A service request message is sent to.
서버 모듈은 서버 메세지 큐 모듈을 보면서 대기하여 있다가 서비스 요청 메세지가 전달되면 메세지를 읽어 해당 서비스를 수행한다.The server module waits while looking at the server message queue module and performs a service by reading a message when a service request message is delivered.
서비스를 수행한후 서버 모듈은 결과값을 결과값 메세지로 변환하여 in-to-out 통신 메세지 큐 모듈에 결과값 메세지를 전달(8)한다.After performing the service, the server module converts the result into a result message and sends the result message to the in-to-out communication message queue module (8).
in-to-out 통신 모듈은 in-to-out 통신 메세지 큐 모듈을 보면서 대기하여 있다가 결과값 메세지가 전달되면 메세지를 읽어 메세지의 반환 목적지를 확인한 다음 아웃 콘택스트 핸들 모듈에서 목적지의 정보를 찾아 메세지를 통신망에 처리할 수 있는 통신 메세지 형태로 변환하여 통신망으로 전송(9)한다.The in-to-out communication module waits by looking at the in-to-out communication message queue module. When the resulting message is delivered, the in-to-out communication module reads the message to determine the return destination of the message, and then finds the destination information in the out context handle module. The message is converted into a communication message that can be processed in the communication network and transmitted to the communication network (9).
클라이언트가 있는 제1호스트(A)의 out-to-in 통신 모듈은 인 콘택스트 핸들 모듈에 있는 수신정보를 이용하여 통신망으로 부터 통신 메세지를 읽어 메세지에 있는 최종 반환 위치를 확인하고 내부 메세지 형태로 변환하여 클라이언트 메세지 큐 모듈에 결과값 메세지를 전달(10)한다.The out-to-in communication module of the first host (A) where the client is located reads the communication message from the network using the received information in the in-context handle module to check the final return position in the message, and in the form of an internal message. It transforms and delivers the result message to the client message queue module (10).
클라이언트 메세지 큐 모듈을 보면서 대개하여 있다가 결과값 메세지가 전달되면 이를 읽어 사용자의 질의사항에 응답(11)한다.You typically look at the client message queue module, read the result message, and respond to the user's query (11).
양방향 메세지 전송 시스템에 다수의 클라이언트 처리기와 다수의 서버 처리기가 제6도와 같이 동작하며 각 호스트에 호스트내의 메세지를 통신망으로 전송하는 in-to-out 통신 처리기와 통신망으로 부터 수신된 메세지를 호스트 내의 서버 처리기나 클라이언트 처리기로 전송하는 out-to-in 통신 처리기가 각각 독립적으로 동작하여 고속으로 양방향 메세지를 전송하게 된다.In the two-way message transmission system, a plurality of client handlers and a plurality of server handlers operate as shown in FIG. 6, and an in-to-out communication processor and a message received from the network are sent to each host. The out-to-in communication handlers that send to the processor or client processor operate independently and send bidirectional messages at high speed.
이상에서 상세히 설명된 본 발명에 따르면 다음과 같은 장점들을 얻을 수 있다.According to the present invention described in detail above, the following advantages can be obtained.
첫째, 처리기를 분리하여 전송 시스템을 구현하게 되므로 시스템의 구현이 간단하고 쉬워진다.First, the implementation of the transmission system by separating the processor makes the implementation of the system simple and easy.
둘째, 입력이 없을 때는 대기하며 무한 반복과정을 수행하지 않는다.Second, it waits when there is no input and does not perform infinite iterations.
셋째, 메세지 큐와 통신망에서 수신되는 처리순서를 고려할 필요가 없다.Third, there is no need to consider the processing sequence received in the message queue and the communication network.
넷째, 통신망과 호스트 내부에서 동시에 메세지가 수신되어도 동시 전송이 가능하게 된다.Fourth, even if a message is received simultaneously in the communication network and the host, simultaneous transmission is possible.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019940036329A KR0135911B1 (en) | 1994-12-23 | 1994-12-23 | Two way message transmission system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019940036329A KR0135911B1 (en) | 1994-12-23 | 1994-12-23 | Two way message transmission system |
Publications (2)
Publication Number | Publication Date |
---|---|
KR960027412A KR960027412A (en) | 1996-07-22 |
KR0135911B1 true KR0135911B1 (en) | 1998-06-01 |
Family
ID=19403173
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019940036329A KR0135911B1 (en) | 1994-12-23 | 1994-12-23 | Two way message transmission system |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR0135911B1 (en) |
-
1994
- 1994-12-23 KR KR1019940036329A patent/KR0135911B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR960027412A (en) | 1996-07-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Clark et al. | An introduction to local area networks | |
US4082922A (en) | Statistical multiplexing system for computer communications | |
US4574284A (en) | Communication bus interface unit | |
WO2000002347A3 (en) | System and method for switching packets in a network | |
JPH09507013A (en) | Method and apparatus for controlling multipoint communication | |
KR0135911B1 (en) | Two way message transmission system | |
JP3459165B2 (en) | Packet processing method and network architecture | |
JPH1155304A (en) | Switching hub | |
KR0182678B1 (en) | Packet service apparatus of switching system | |
KR100285605B1 (en) | Apparatus and method for transmitting identical block data to many systems from exchange in ct-2 termination system | |
JPH0621925A (en) | Communication control system for multiplex transmission line | |
JP3229096B2 (en) | Communication device and method, and computer system using them | |
KR930004100B1 (en) | Method for embodying full duplex communication protocol | |
JPS6229342A (en) | Multiple address communication system | |
JPH01190065A (en) | Terminal control system | |
JP3350398B2 (en) | Two-way communication method | |
JPH05327768A (en) | Multi-medium scheduling system | |
JPH03237833A (en) | Facsimile store and forward multiple address equipment | |
JPH0381852A (en) | Connection control system | |
CN1414748A (en) | Method of effectively obtaining back message using network exchange equipment | |
JPH02215248A (en) | Facsimile terminal controller | |
JPH05160855A (en) | Transmission association control system | |
JPH09214584A (en) | Communication control system between communication units | |
JPH01303999A (en) | Remote control system | |
JPS62194759A (en) | Call control system in loop type communication system |
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 | ||
FPAY | Annual fee payment |
Payment date: 20011228 Year of fee payment: 5 |
|
LAPS | Lapse due to unpaid annual fee |