KR100606117B1 - Ipc processing apparatus and it's method in unix os system - Google Patents

Ipc processing apparatus and it's method in unix os system Download PDF

Info

Publication number
KR100606117B1
KR100606117B1 KR1019990027030A KR19990027030A KR100606117B1 KR 100606117 B1 KR100606117 B1 KR 100606117B1 KR 1019990027030 A KR1019990027030 A KR 1019990027030A KR 19990027030 A KR19990027030 A KR 19990027030A KR 100606117 B1 KR100606117 B1 KR 100606117B1
Authority
KR
South Korea
Prior art keywords
message
registered
applications
server
service package
Prior art date
Application number
KR1019990027030A
Other languages
Korean (ko)
Other versions
KR20010008936A (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 KR1019990027030A priority Critical patent/KR100606117B1/en
Publication of KR20010008936A publication Critical patent/KR20010008936A/en
Application granted granted Critical
Publication of KR100606117B1 publication Critical patent/KR100606117B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • 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/10Protocols in which an application is distributed across nodes in the network

Abstract

본 발명은, 각종 상위 애플리케이션들과, 상기 유닉스운용체계와는 다른 통신방식을 사용하는 교환기 프로세서와의 호환 서비스를 제공하는 프로세스간 서버를 구비하는 유닉스운용체계 시스템에서의 프로세스간통신 처리 방법에 있어서, 상기 상위 애플리케이션에 의해 해당 메시지와 상기 해당 메시지가 도착하였을 경우 호출된 기능을 상기 해당 메시지와 함께 등록하는 과정과, 상기 상위 애플리케이션이 등록한 메시지 존재 여부를 파악하기 위해 상기 프로세스간통신 서버에 폴링을 수행하고, 등록한 메시지가 도착하면 등록된 기능을 해당 애플리케이션에게 호출하는 과정으로 이루어진다. The present invention provides a method for processing interprocess communication in a Unix operating system system including an interprocess server that provides a variety of higher level applications and a compatible service with an exchange processor using a communication method different from the Unix operating system. Registering the message and a function called when the message arrives by the upper application with the corresponding message, and polling the interprocess communication server to determine whether a message registered by the upper application exists. When the registered message arrives, the registered function is called to the corresponding application.

유닉스OS, IPC서버 UNIX OS, IPC Server

Description

유닉스운용체계 시스템에서의 프로세스간통신 처리 장치 및 방법{IPC PROCESSING APPARATUS AND IT'S METHOD IN UNIX OS SYSTEM} IPC PROCESSING APPARATUS AND IT'S METHOD IN UNIX OS SYSTEM}             

도 1은 상용 유닉스OS 기반 시스템과 교환기 프로세서간 통신을 위한 구성도, 1 is a configuration diagram for communication between a commercial UNIX OS-based system and the exchange processor,

도 2는 본 발명의 실시예에 따른 유닉스OS 기반 시스템과 교환기 프로세서간 통신을 위한 구성도, 2 is a configuration diagram for communication between a UnixOS based system and an exchange processor according to an embodiment of the present invention;

도 3은 본 발명의 실시예에 따라 IPM에 콜백(callback)을 등록하는 절차를 설명하기 위한 도면,3 is a view for explaining a procedure for registering a callback (callback) to the IPM according to an embodiment of the present invention,

도 4는 본 발명의 실시예에 따라 파일 디스크립터로부터 메시지를 읽어 등록된 콜백방법을 호출하는 절차를 설명하기 위한 도면. 4 is a diagram illustrating a procedure of calling a registered callback method by reading a message from a file descriptor according to an embodiment of the present invention.

본 발명은 유닉스 운용체계 기반의 시스템과 교환기 프로세서간의 통신을 위한 장치에 관한 것으로, 특히 IPC서버(Inter - Process Communication server)를 이용한 메시지 전달방법 및 장치에 관한 것이다. The present invention relates to an apparatus for communication between a Unix operating system-based system and an exchange processor, and more particularly, to a message delivery method and apparatus using an IPC server (Inter-Process Communication server).

유닉스 0S(UNIX Operating System)에서 수행되는 프로세스는 동일 프로세서 내에 있는 프로세스나 다른 프로세서 내에 있는 프로세스와 서로 메시지를 전송하기 위해서 TCP/IP(Transmission Control Protocol/Internet Protocol)를 사용한다. 그러나 교환기에서 수행되는 프로세스들은 이런 TCP/IP프로토콜을 지원하지 않는 교환기 OS상에서 수행된다. 그러므로 유닉스 프로세서에서 교환기 프로세서의 프로세스로 메시지를 전송하기 위해서는 TCP/IP프로토콜을 교환기 IPC(Inter-Process Communication)프로토콜로 맞추어 주는 중간과정이 필요하다. Processes running on Unix Operating System (UNS) use Transmission Control Protocol / Internet Protocol (TCP / IP) to send messages to and from processes in the same processor or in different processors. However, processes running at exchanges run on exchange OSs that do not support these TCP / IP protocols. Therefore, in order to send a message from a Unix processor to a process in an exchange processor, an intermediate process is required to adapt the TCP / IP protocol to the exchange IP-C protocol.

이런 서로 다른 프로토콜을 사용하는 상대편에 메시지를 전달해 주는 중간과정을 수행하는 프로세스가 교환기 및 유닉스OS 시스템에 구비되어 있으며, 상기 프로세스는 IPC서버(Inter-Process Communication server)로 칭해진다. A process for performing an intermediate process for delivering a message to the other side using these different protocols is provided in the exchange and the Unix OS system, and the process is called an IPC server (Inter-Process Communication server).

도 1은 상용 유닉스OS 기반 시스템과 교환기 프로세서간 통신을 위한 구성도서, IPC서버가 존재한다. 교환기 본체(4)와 통신하는 상용 유닉스OS 시스템(2)은 IPC서버(6)와 각종 유닉스 프로세스들(8a,8b,8c) 즉, 각종 애플리케이션들이 포함되어 있다. 1 is a configuration diagram for communication between a commercial UNIX OS based system and an exchange processor, and an IPC server exists. The commercial Unix OS system 2 that communicates with the main exchange body 4 includes an IPC server 6 and various Unix processes 8a, 8b, 8c, i.e., various applications.

유닉스내에서의 IPC통신방법으로는 파이프(Pipes), 피포(FIFOs), 메시지 큐(message queue), 세마포어(semaphore), 공유메모리(shared memory), 소켓(socket)이 존재한다. 애플리케이션(application)의 특성에 따라 IPC통신방법이 이들중의 하나로 선정되지만, 주로 소켓(socket)을 이용한 IPC통신 방법이 사용된다. IPC communication methods in Unix include pipes, FIFOs, message queues, semaphores, shared memory, and sockets. The IPC communication method is selected as one of them according to the characteristics of the application, but an IPC communication method using a socket is mainly used.

교환기 본체(4)로부터 IPC메시지를 받아 메시지가 등록된 상위 애플리케이션(8a,8b,8c)으로 그 메시지를 전달해주고, 상위 애플리케이션(8a,8b,8c)으로부터 메시지(신호)를 받아 교환기 본체(4)로 전달하는 IPC서버(6)는 일예로 유닉스 인터넷 소켓(UNIX INET socket)을 이용하고 있다. Receives an IPC message from the exchange main body 4 and delivers the message to a higher-level application 8a, 8b, 8c in which the message is registered, and receives a message (signal) from the higher-level application 8a, 8b, 8c. For example, the IPC server 6 that transmits the IPC server 6 uses a UNIX INET socket.

IPC서버(6)의 사용자인 상위 애플리케이션(8a,8b,8c)은 상기 IPC서버(6)가 제공하는 IPC 메카니즘을 이용하기 위해서는, 교환기 본체(4)로의 통신 전에 먼저 소켓을 오픈(open)하여 해당 파일 디스크립터(file dscriptor)를 획득하고, 상기 파일 디스크립터를 통하여 교환기 본체(4)와 통신을 해야한다. 또한 초기신호(initial signal)인 경우는 파일 디스크립터와 연계하여 해당 신호를 받고자 함을 미리 IPC서버(6)에 등록하여야 한다. 여기서, 초기신호는 메시지ID(Signal_ID)를 이용해서 메시지를 보내는 신호를 의미한다. 각 메시지ID(Signal_ID)는 용도에 따라 미리 규약으로 정해져 있으므로 송신 측이 수신 측의 주소를 몰라도 상기 메시지ID(Signal_ID)를 이용해 메시지를 전송할 수 있다. 그리고 수신 측은 자신이 원하는 메시지ID(Signal_ID)를 미리 설정된 초기신호 테이블에 등록시켜 놓으면 송신 측이 보내주는 메시지를 받을 수 있다.In order to use the IPC mechanism provided by the IPC server 6, the upper application 8a, 8b, 8c, which is a user of the IPC server 6, first opens a socket before communication to the main body 4 of the exchange. It is necessary to obtain a file descriptor and to communicate with the exchange body 4 via the file descriptor. In addition, in the case of the initial signal (initial signal) in association with the file descriptor to register in advance to receive the signal to the IPC server (6). Here, the initial signal means a signal for sending a message using the message ID Signal_ID. Since each message ID (Signal_ID) is determined by a protocol according to a purpose, the message may be transmitted using the message ID (Signal_ID) even if the sender does not know the address of the receiver. The receiving side registers its desired message ID Signal_ID in a preset initial signal table to receive the message sent by the transmitting side.

이러한 일련의 절차를 거친 후 해당 IPC메시지를 받아 처리하기 위하여 각기 애플리케이션(8a,8b,8c)은 해당 파일 디스크립터를 영속적으로 폴링(polling)을 실시하여 메시지의 존재여부를 확인한다. 만약 상기 메시지가 존재할 경우에는 메시지를 읽어 해당 메시지ID에 맞도록 처리를 한다. 그후 이미 오픈된 파일 디스크립터로 메시지를 기록하여 IPC서버(6)로 하여금 상기 메시지를 교환기 본체(4)로 전 달하게 한다. After this series of procedures, each of the applications 8a, 8b, and 8c constantly polls the file descriptor to receive and process the IPC message. If the message exists, the message is read and processed according to the corresponding message ID. The message is then written to an already open file descriptor which causes the IPC server 6 to forward the message to the exchange body 4.

이러한 절차에 있어 각각의 상위 애플리케이션(8a,8b,8c)은 IPC메시지의 존재여부를 파악하기 위하여 각 애플리케이션별로 IPC처리를 담당하는 부분이 존재하여야 한다. IPC처리를 담당하는 부분은 타 애플리케이션과 거의 동일한 구조를 가진다. In this procedure, each upper application 8a, 8b, 8c must have a part in charge of IPC processing for each application in order to determine whether an IPC message exists. The part in charge of IPC processing has almost the same structure as other applications.

하지만 상기와 같은 형태의 처리와 구조는 하기와 같은 문제점을 가지고 있다. 첫째, IPC메시지 존재 여부를 파악하기 위하여 영속적인 폴링이 필요하다. 둘째, 폴링을 위한 구조는 각 애플리케이션이 거의 동일하므로 여러 애플리케이션에서 동일한 구조를 가지는 것은 시스템 자원의 낭비를 가져온다. 셋째, 메시지 존재 여부를 파악하기 위한 폴링하는 부분과 순수한 애플리케이션이 상호 밀접한 관계를 가지고 있으므로 애플리케이션의 확장 및 수정 시 하부의 IPC폴링 부분까지 수정되어야 한다. However, the above-described processing and structure has the following problems. First, persistent polling is necessary to determine the existence of an IPC message. Second, the polling structure is almost identical for each application, so having the same structure in multiple applications wastes system resources. Third, since the polling part and the pure application are closely related to each other to determine the existence of a message, the IPC polling part of the lower part should be modified when the application is extended and modified.

따라서 본 발명의 목적은 각 상위 애플리케이션은 하부의 인터페이스의 세세한 측면까지 고려하지 않고 순수한 애플리케이션의 처리에만 집중할 수 있도록 하기 위한 방법 및 그 장치를 제공하는데 있다.
Accordingly, it is an object of the present invention to provide a method and apparatus for allowing each higher application to concentrate only on the processing of a pure application without considering the details of the underlying interface.

상기한 목적에 따라, 본 발명은, 각 상위 애플리케이션은 하부의 인터페이스 의 세세한 측면까지 고려하지 않고 순수한 애플리케이션의 처리에만 집중할 수 있도록, IPC 폴링하는 구조를 통합하고 IPC메시지 사용자에 대한 통일적 인터페이스를 각 애플리케이션에 제공한다. In accordance with the above object, the present invention integrates an IPC polling structure and allows each upper application to concentrate on the processing of pure applications without considering the details of the underlying interface, and provides a uniform interface for each IPC message user. To provide.

이하 본 발명의 바람직한 실시 예들을 첨부한 도면을 참조하여 상세히 설명한다. 도면들중 동일한 구성요소들은 가능한 한 어느 곳에서든지 동일한 부호들로 나타내고 있음에 유의해야 한다. 또한 본 발명의 요지를 불필요하게 흐릴 수 있는 공지 기능 및 구성에 대한 상세한 설명은 생략한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the same elements in the figures are denoted by the same numerals wherever possible. In addition, detailed descriptions of well-known functions and configurations that may unnecessarily obscure the subject matter of the present invention will be omitted.

도 2는 본 발명의 실시예에 따른 유닉스OS 기반 시스템과 상기 유닉스OS와는 다른 방식 기반인 교환기 프로세서간 통신을 위한 구성도로서, 교환기 본체(4), IPC서버(6), 각종 애플리케이션(18a,18b,18c) 및 IPM(Inter Process Message)서비스 패키지(20)로 구성된다. 2 is a block diagram for communication between a UnixOS-based system and an exchange processor that is based on a different method from the UnixOS according to an embodiment of the present invention. The main body of the exchanger 4, the IPC server 6, and various applications 18a, 18b and 18c) and an IPM (Inter Process Message) service package 20.

도 2에 도시된 본 발명의 실시예에 따른 구조를 보면, IPM서비스 패키지(20)가 각종 애플리케이션(18a,18b,18c)과는 독립적으로 추가 구성되어 있음을 알 수 있다. 상기 IPM서비스 패키지(20)는 각종 애플리케이션(18a,18b,18c)과 IPC서버(6)간에 위치하며, 등록된 메시지에 대한 폴링기능 및 분배 기능을 담당한다. 즉, 상위 애플리케이션(18a,18b,18c)이 등록한 메시지에 대해서 폴링을 수행하여, 상기 상위 애플리케이션(18a,18b,18c)이 메시지를 등록할 시 함께 등록한 기능을 호출하여 상위 애플리케이션(18a,18b,18c)이 처리를 하게 한다. Looking at the structure according to the embodiment of the present invention shown in Figure 2, it can be seen that the IPM service package 20 is additionally configured independently of the various applications (18a, 18b, 18c). The IPM service package 20 is located between various applications 18a, 18b, and 18c and the IPC server 6, and is responsible for polling and distribution functions for registered messages. That is, polling is performed on the messages registered by the upper applications 18a, 18b, and 18c, and the upper applications 18a, 18b, and 18c call together with the functions registered when the upper applications 18a, 18b, and 18c register messages. 18c) let this be done.

이를 보다 상세히 설명하면, 상위 애플리케이션(18a,18b,18c)은 해당 메시지와 상기 해당 메시지가 도착하였을 경우 호출된 기능을 함께 IPM서비스 패키지(20) 에 등록한다. 그러면 IPM서비스 패키지(20)는 해당 상위 애플리케이션(18a,18b,18c)이 등록한 메시지 존재 여부를 파악하기 위해 폴링을 수행하고, 등록한 메시지가 도착하면 등록된 기능을 해당 애플리케이션(18a,18b,18c)에게 호출한다. In more detail, the upper applications 18a, 18b, and 18c register the message and the function called when the message arrives together in the IPM service package 20. Then, the IPM service package 20 polls to determine whether there is a message registered by the upper application 18a, 18b, or 18c, and when the registered message arrives, the IPM service package 20 registers the registered function with the corresponding application (18a, 18b, 18c). Call

상기 IPM서비스 패키지(20)는 수신된 메시지를 등록된 IPM 클라이언트들(clients) 즉, 애플리케이션(18a,18b,18c)으로 분배하기 위하여 콜백 패턴(callback pattern)을 사용한다. 여기서, 상기 IPM클라이언트가 등록을 위해 사용하는 것은 메시지 ID이고 IPM서비스 패키지(20)는 수신된 메시지중 등록된 메시지 ID가 존재할 경우 등록된 콜백을 호출한다. The IPM service package 20 uses a callback pattern to distribute the received message to registered IPM clients, i.e., applications 18a, 18b, and 18c. Here, the IPM client uses the message ID for registration, and the IPM service package 20 calls the registered callback when there is a registered message ID among the received messages.

도 3은 본 발명의 실시예에 따라 IPM서비스 패키지(20)에 콜백(callback)을 등록하는 절차를 설명하기 위한 도면이다. 도 3에서, callback, interface, newEntry, calback_, registry, connection_, ipcServer Library는 IPM서비스 패키지(20)의 내부 객체들이다. 3 is a diagram illustrating a procedure of registering a callback to the IPM service package 20 according to an embodiment of the present invention. In FIG. 3, callback, interface, newEntry, calback_, registry, connection_, and ipcServer Library are internal objects of the IPM service package 20.

도 3을 참조하여 콜백을 등록하는 절차를 설명하면, Referring to Figure 3 describes the procedure for registering a callback,

(1) IPM Client 즉, 애플레케이션(18a,18b,18c)는 callback에 메시지ID를 이용해 콜백방법(callback method)을 등록한다(registerCallback). (1) The IPM Client, that is, the applications 18a, 18b, and 18c, registers a callback method using the message ID in the callback (registerCallback).

(2) callback은 콜백 인스턴스(callback instance)를 생성하고 그 인스턴스를 interface로 전달한다(registerCallback). 이는 인터페이스를 열어주기 위한 동작이다. (2) The callback creates a callback instance and sends that instance to the interface (registerCallback). This is to open the interface.

(3) interface는 명령(콜백기능 및 메시지ID)을 저장객체인 registry_로 전 달한다(add). (3) The interface adds a command (callback function and message ID) to the storage object registry_.

(4) registry_는 엔트리를 생성하고(newEntry), 요청된 동작을 엔트리 타입내의 정적 추가방법(static add method)으로 전달한다(add). (4) registry_ creates an entry (newEntry) and adds the requested action to the static add method in the entry type.

(5) newEntry는 자체의 인스턴스(instance)를 생성한다(new). (5) newEntry creates its own instance (new).

(6) 새로운 엔트리 인스턴스는 자체적으로 링크를 호출한다(link). (6) The new entry instance itself links.

(7) newEntry는 링크요구를 콜백 객체인 callback_으로 전달한다(link). (7) newEntry links the link request to callback_, the callback object.

(8) 콜백객체인 callback_는 링크요구 메시지가 초기신호인가를 판단한다(is Initial). (8) The callback object callback_ determines whether the link request message is an initial signal (is Initial).

(9) 만약 초기신호이면 콜백객체인 callback_는 interface상의 링크를 호출한다(link). 이는 성공을 알리는 기능이다. (9) If it is an initial signal, the callback object callback_ calls the link on the interface. This is a function of success.

(10) interface는 요구를 connection으로 전달한다(link). (10) The interface links the request to the connection.

(11) connection은 파일 디스크립터를 블록킹모드(blocking mode)로 설정하기 위하여 문의한다(setBlocking). 이는 파일 디스크립터가 원하는 메시지가 올때까지 계속 머물러 있게 하기 위한 문의이다. (11) The connection queries to set the file descriptor to the blocking mode (setBlocking). This is a query to keep the file descriptor staying until the desired message comes.

(12) connection은 ipcServer Library인 ipclink를 호출한다. 이는 메시지ID와 파일 디스크립터를 매칭 시키기 위한 기능이다. (12) connection calls ipclink, ipcServer Library. This is a function to match the message ID and the file descriptor.

(13) connection은 interface에게 파일 디스크립터의 블록킹모드(blocking mode)의 복구를 요구한다. 이는 파일 디스크립터가 원하는 메시지가 올때까지 계속 머물러 있게 하는 기능이다. (13) The connection requires the interface to recover the blocking mode of the file descriptor. This allows the file descriptor to stay on until the desired message is reached.

하기에서는 도 4가 참조되어, 파일 디스크립터로부터 메시지를 읽어 IPM서비 스 패키지(20)에 등록된 콜백방법(callback method)을 해당 애플리케이션(18a,18b,18c)로 호출하는 절차가 설명될 것이다. 도 4는 본 발명의 실시예에 따라 파일 디스크립터로부터 메시지를 읽어 등록된 콜백방법을 호출하는 절차를 설명하기 위한 도면이다. Referring to FIG. 4, a procedure of reading a message from a file descriptor and calling a callback method registered in the IPM service package 20 to the corresponding applications 18a, 18b, and 18c will be described. 4 is a diagram illustrating a procedure of calling a registered callback method by reading a message from a file descriptor according to an embodiment of the present invention.

(1) 이벤트가 감지되면 global Reactor는 등록된 서비스 핸들러인 svcHandler상의 handle_input을 호출한다. (1) When an event is detected, the global reactor calls handle_input on svcHandler, a registered service handler.

(2) svcHandler는 interface로 호출을 전달한다(readEvent). (2) The svcHandler sends a call to the interface (readEvent).

(3) interface는 메시지를 조합하고 전송하기 위하여 독출메시지를 호출한다(readMsg). (3) The interface invokes read messages (readMsg) to combine and send messages.

(4) interface는 자신의 디스패치를 호출한다(dispatch). (4) The interface dispatches its own dispatch.

(5) interface는 만약 메시지 ID에 의한 콜백방법(callback method)이 존재한다면, resgistry_에 콜백 방법을 복사 요청한다(clonedCallback). (5) The interface requests to copy the callback method to resgistry_ if there is a callback method by message ID (clonedCallback).

(6) interface는 복사된 콜백방법상의 디스패치(dispatch)를 호출한다(IPMDispathc(clonedCallback)). (6) The interface invokes dispatch on the copied callback method (IPMDispathc (clonedCallback)).

(7) interface는 dispatcher를 호출한다(call). (7) The interface calls the dispatcher.

(8) dispatcher는 clonedCallback에 디스패치를 요구한다. (8) The dispatcher requests a dispatch to clonedCallback.

(9) callback은 메시지 ID에 의해 등록된 IPM클라이언트 즉, 애플리케이션(18a,18b,18c)에 기능을 요청한다. (9) The callback requests a function from the IPM client registered by the message ID, that is, the application 18a, 18b, 18c.

그에 따라 상위 애플리케이션(18a,18b,18c)은 해당 기능 요청에 대하여 처리를 하고 IPM서비스 패키지(20)를 이용하여 해당 응답을 IPC서버(6)로 전송하게 된 다. Accordingly, the upper application 18a, 18b, 18c processes the function request and transmits the response to the IPC server 6 using the IPM service package 20.

상술한 바와 같이 본 발명은 상용 유닉스 기반 시스템이 기존의 교환기와 IPC통신을 수행할 경우에 있어서, 메시지를 폴링하는 구조를 통합하여 시스템 자원의 낭비를 방지하였으며 또한 상위 애플리케이션과 하부의 IPC를 중계하는 IPM서비스 패키지간의 상호 독립성을 증진하여 상위 애플리케이션은 하부의 IPM서비스 패키지의 처리에 관계없이 애플리케이션을 수정할 수 있다. As described above, in the present invention, when a commercial Unix-based system performs IPC communication with an existing exchange, a system for polling messages is integrated to prevent waste of system resources and to relay IPCs of upper applications and lower layers. By promoting mutual independence between IPM service packages, the upper application can modify the application regardless of the processing of the underlying IPM service package.

상술한 본 발명의 설명에서는 구체적인 실시 예에 관해 설명하였으나, 여러 가지 변형이 본 발명의 범위에서 벗어나지 않고 실시할 수 있다. 따라서 본 발명의 범위는 설명된 실시 예에 의하여 정할 것이 아니고 특허청구범위와 특허청구범위의 균등한 것에 의해 정해 져야 한다. In the above description of the present invention, specific embodiments have been described, but various modifications may be made without departing from the scope of the present invention. Therefore, the scope of the present invention should not be defined by the described embodiments, but should be determined by the equivalent of claims and claims.

Claims (6)

유닉스운용체계 시스템에서의 프로세스간 통신 처리를 위한 장치에 있어서,An apparatus for interprocess communication processing in a Unix operating system system, 각종 상위 애플리케이션들과,Various top applications, 상기 상위 애플리케이션들의 유닉스운용체계와는 다른 통신 방식을 사용하는 교환기와의 호환 서비스를 제공하는 서버와,A server that provides a compatible service with an exchange that uses a communication method different from that of the upper level applications of the UNIX operating system, 상기 상위 애플케이션들과 서버 사이에 구비되며, 상기 상위 애플리케이션들의 메시지와 상기 메시지의 호출 기능이 등록되고, 상기 등록된 메시지를 폴링한 후 상기 서버로부터 메시지가 도착하면 상기 도착한 메시지를 상기 애플리케이션들로 분배하는 서비스 패키지를 포함함을 특징으로 하는 프로세스간 통신 처리 장치.A message between the upper applications and a server, the message of the upper applications and a calling function of the message are registered, and when the message arrives from the server after polling the registered message, the arrived message is sent to the applications. And a service package for distributing. 각종 상위 애플리케이션들과, 상기 상위 애플리케이션들의 유닉스운용체계와는 다른 통신 방식을 사용하는 교환기와의 호환 서비스를 제공하는 서버를 구비하는 유닉스운용체계 시스템에서의 프로세스간 통신 처리 방법에 있어서,In the inter-process communication processing method in the Unix operating system system having a server providing a compatible service with a variety of higher-level applications and a switch using a communication method different from the UNIX operating system of the upper applications, 상기 상위 애플리케이션들의 메시지와 상기 메시지가 도착하였을 경우의 호출 기능을 상기 상위 애플리케이션들과 상기 서버 사이에 구비된 서비스 패키지에 등록하는 과정과,Registering a message of the upper applications and a calling function when the message arrives in a service package provided between the upper applications and the server; 상기 서비스 패키지가 상기 등록된 메시지의 존재 여부를 파악하기 위해 상기 등록된 메시지를 폴링하고, 상기 서버로부터 상기 등록된 메시지가 도착하면 상기 등록된 호출 기능에 해당하는 애플리케이션을 호출하는 과정을 포함함을 특징으로 하는 프로세스간 통신 처리 방법.And polling the registered message to determine whether the registered message exists and calling the application corresponding to the registered calling function when the registered message arrives from the server. The interprocess communication processing method characterized by the above-mentioned. 제1항에 있어서,The method of claim 1, 상기 서비스 패키지는, 상기 메시지가 도착하면 콜백 패턴(callback pattern)을 이용하여 상기 도착한 메시지를 상기 애플리케이션들로 분배하는 것을 특징으로 하는 프로세서간 통신 처리 장치.And wherein the service package distributes the arrived message to the applications using a callback pattern when the message arrives. 제1항에 있어서,The method of claim 1, 상기 서비스 패키지는, 상기 메시지가 도착하면 상기 등록된 호출 기능 해당하는 애플리케이션을 호출하는 것을 특징으로 하는 프로세서간 통신 처리 방법.And the service package invokes an application corresponding to the registered calling function when the message arrives. 제2항에 있어서,The method of claim 2, 상기 서비스 패키지에 등록하는 과정은, 메시지 식별자를 이용하여 등록하는 것을 특징으로 하는 프로세서간 통신 처리 방법.The registering of the service package may include registering using a message identifier. 제2항에 있어서,The method of claim 2, 상기 등록된 호출 기능에 해당하는 애플리케이션을 호출하는 과정은, 콜백 패턴(callback pattern)을 이용하여 호출하는 것을 특징으로 하는 프로세서간 통신 처리 방법.And invoking the application corresponding to the registered call function by using a callback pattern.
KR1019990027030A 1999-07-06 1999-07-06 Ipc processing apparatus and it's method in unix os system KR100606117B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990027030A KR100606117B1 (en) 1999-07-06 1999-07-06 Ipc processing apparatus and it's method in unix os system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990027030A KR100606117B1 (en) 1999-07-06 1999-07-06 Ipc processing apparatus and it's method in unix os system

Publications (2)

Publication Number Publication Date
KR20010008936A KR20010008936A (en) 2001-02-05
KR100606117B1 true KR100606117B1 (en) 2006-07-28

Family

ID=19599598

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990027030A KR100606117B1 (en) 1999-07-06 1999-07-06 Ipc processing apparatus and it's method in unix os system

Country Status (1)

Country Link
KR (1) KR100606117B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030060884A (en) * 2001-06-28 2003-07-16 주식회사 라스트원 Web os and web desktop

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR970078369A (en) * 1996-05-13 1997-12-12 김주용 How to communicate between an interchanger process and a process in an external Unix system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR970078369A (en) * 1996-05-13 1997-12-12 김주용 How to communicate between an interchanger process and a process in an external Unix system

Also Published As

Publication number Publication date
KR20010008936A (en) 2001-02-05

Similar Documents

Publication Publication Date Title
US7774403B2 (en) System and method for concentration and load-balancing of requests
EP0475080B1 (en) Distributed messaging system and method
US5926636A (en) Remote procedural call component management method for a heterogeneous computer network
US5396630A (en) Method and system for object management across process boundries in a data processing system
US7530078B2 (en) Certified message delivery and queuing in multipoint publish/subscribe communications
US7831600B2 (en) Cluster communication manager
AU2001276932A1 (en) System and method for concentration and load-balancing of requests
EP0667693A2 (en) Network arrangement for glassware forming system
CA2560743A1 (en) Method and apparatus for communicating data between computer devices
EP1088422B1 (en) A telecommunication controller messaging system
US20050270973A1 (en) Cluster architecture communications
KR100606117B1 (en) Ipc processing apparatus and it's method in unix os system
KR100223016B1 (en) Communication apparatus and method by transmitting and receiving relay in distributed object system
KR19990060633A (en) How processors communicate between processors
JP2650892B2 (en) Message communication device
Staroste et al. A Portability Environment for Communication Software
KR100218681B1 (en) Message matching method using message queue routing table
JP2000330912A (en) Event service device
KR100442688B1 (en) Interprocess communication method and apparatus
JP2000267960A (en) Method for communicating packet between plural processes and packet communication equipment
Martins et al. Design of an OS9 operating system extension for a message-passing multiprocessor
KR100442599B1 (en) Message handling apparatus and method in exchange system using distributed objects of workstation
JPH02118867A (en) Message communication processing system
JPH10336236A (en) Fax server
Sathe et al. Client server design and implementation issues in the accelerator control system environment

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