KR100274157B1 - Ipc communication between a switching system and a workstation - Google Patents

Ipc communication between a switching system and a workstation Download PDF

Info

Publication number
KR100274157B1
KR100274157B1 KR1019970050840A KR19970050840A KR100274157B1 KR 100274157 B1 KR100274157 B1 KR 100274157B1 KR 1019970050840 A KR1019970050840 A KR 1019970050840A KR 19970050840 A KR19970050840 A KR 19970050840A KR 100274157 B1 KR100274157 B1 KR 100274157B1
Authority
KR
South Korea
Prior art keywords
message
workstation
ipc
application program
switching system
Prior art date
Application number
KR1019970050840A
Other languages
Korean (ko)
Other versions
KR19990030583A (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 KR1019970050840A priority Critical patent/KR100274157B1/en
Publication of KR19990030583A publication Critical patent/KR19990030583A/en
Application granted granted Critical
Publication of KR100274157B1 publication Critical patent/KR100274157B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q3/00Selecting arrangements
    • H04Q3/58Arrangements providing connection between main exchange and sub-exchange or satellite
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Astronomy & Astrophysics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE: An inter-process communication method between an exchange system and a work station is provided to support several sessions to enable a number of application programs in a work station to communicate with a number of application programs in an exchange system, and to checks an error in transmission, thereby providing the more improved communication method than DLPI. CONSTITUTION: In the IPC method between the exchange system with a number of exchange system nodes and the work station, both connected in Ethernet, the IPC message which is sent by the application program executed in the exchange system to the work station is delivered to the private port number of a demon program operation where SORS operates in the work station by using a user datagram protocol. The IPC message transmitted by an SROS demon program is received by the application program executed in the work station through a socket, and the method for delivering the message to the exchange system from the work station is conducted the other way around. The IPC message delivered to the exchange system through the SROS demon program is transferred to the application program through an SROS and the application program executed in the exchange system receives the IPC message.

Description

교환 시스템과 워크스테이션간의 프로세스간 통신방법Interprocess communication method between switching system and workstation

본 발명은 교환시스템과 워크스테이션상의 여러 응용 프로그램들이 서로 통신을 할 수 있도록 하는 방법에 관한 것이다.The present invention relates to a method for enabling various application programs on a switching system and a workstation to communicate with each other.

종래의 교환시스템과 워크스테이션간의 통신 방법은 교환시스템간의 통신 방식인 프로세스간 통신(Inter Process Communication, 이하 IPC라 칭함)을 확장하여 교환시스템의 응용프로그램이 데이터 링크 서비스 제공자 인터페이스(Data Link Provider Interface, 이하 DLPI라 칭함)를 사용하여 IPC 메시지를 송수신하는 방법이었다.The conventional communication method between the exchange system and the workstation extends the inter process communication (hereinafter referred to as IPC), which is a communication method between the exchange systems, so that an application program of the exchange system is provided with a data link provider interface (Data Link Provider Interface). (Hereinafter referred to as DLPI) was used to transmit and receive IPC messages.

그러나, 상기 방식은 워크스테이션상에서 오직 하나의 응용프로그램만이 교환시스템과의 통신에 참여할 수 있었기 때문에 다수의 세션을 사용할 수가 없어 응용프로그램의 개발에 많은 제약을 안겨 주었으며, 또한 검사합(checksum)을 이용한 전송중의 오류 점검을 하지 않아 전송중의 메시지 손상으로 인한 프로그램 오동작의 가능성도 존재하였으며, DLPI가 성능이 좋지 않은 문제점 및 상기 교환시스템과 워크스테이션간의 명령어 입출력만이 가능함에 따라 교환시스템과 워크스테이션 응용프로그램간의 메시지 송수신을 수행할 수 없는 문제점도 있었다.However, this method has limited the development of the application because it can not use multiple sessions because only one application on the workstation can participate in communication with the switching system, and also checksum There was also the possibility of program malfunction due to the message damage during transmission, because there was no error checking during the transmission, and DLPI had poor performance and only the command input / output between the switching system and the workstation was possible. There was also a problem that the transmission and reception of messages between station applications cannot be performed.

상기 문제점을 해결하기 위해 본 발명은, 워크스테이션상의 다수의 응용프로그램들이 동시에 교환시스템의 여러 응용프로그램들과 통신이 가능하도록 여러 세션을 지원하고, 전송중의 오류를 점검하여 상기 DLPI보다 성능이 개선된 통신 방법을 제공하는 것을 목적으로 한다.In order to solve the above problems, the present invention supports multiple sessions so that a plurality of applications on a workstation can communicate with various applications of a switching system at the same time, and improves performance over the DLPI by checking errors during transmission. It is an object of the present invention to provide a communication method.

다시 말해서, 운용자가 아닌 워크스테이션 상의 상기 다수의 응용 프로그램들이 직접 교환기 상의 응용프로그램과 통신할 수 있는, 즉 운용자의 콘솔을 통한 명령어 입력에 국한되지 않고, 응용프로그램의 알고리즘에 따른 다양한 제어를 가능하게 하며, 동시에 다수의 운용 프로그램이 원격으로 동작할 수 있도록 하는 것을 말한다.In other words, the plurality of applications on the workstation other than the operator can communicate with the application on the exchange directly, i.e., without being limited to inputting commands through the operator's console, allowing various control according to the algorithm of the application. At the same time, it means that multiple operation programs can be operated remotely.

도 1은 본 발명에 따른 하드웨어 시스템의 구성도,1 is a configuration diagram of a hardware system according to the present invention;

도 2는 본 발명에 따른 소프트웨어 구조도,2 is a software structural diagram according to the present invention;

도 3은 본 발명이 적용되는 프로세스간 통신(IPC) 흐름도.3 is an interprocess communication (IPC) flowchart to which the present invention is applied.

<도면의 주요부분에 대한 부호의 설명>≪ Description of Reference Symbols for Main Parts in Drawings >

10 : 교환 시스템 노드 11,32 : 응용프로그램10: switching system node 11,32: application

12 : IPC 인터페이스 13 : 에스알오에스(SROS)12: IPC interface 13: SROS (SROS)

20 : 이더넷 30 : 워크스테이션20: Ethernet 30: Workstation

31 : SROS 데먼 프로그램(srosd) 33 : 소켓31: SROS daemon program 33: Socket

34 : 유닉스34: Unix

상기 목적을 달성하기 위해 본 발명은, 교환시스템에서 실행되는 응용프로그램이 워크스테이션상으로 송신한 프로세스간 통신(IPC) 메시지를 사용자 데이터그램 프로토콜(UDP)을 이용하여 에스오알에스(SORS)가 워크스테이션에서 동작하는 데먼 프로그램(srosd)의 고유 포트번호로 상기 IPC 메시지를 전달하는 제 1 과정과, 상기 교환시스템과 워크스테이션에서 실행되는 각 응용프로그램이 상호 실행되는 응용프로그램으로 메시지를 송신하는 제 2 과정 및 상기 srosd에 의해 교환시스템으로 전달된 IPC 메시지는 SROS를 통해 응용프로그램으로 전달하면 교환시스템에서 실행되는 응용프로그램이 상기 IPC 메시지를 수신하는 제 3 과정을 포함하는 것을특징으로 한다.In order to achieve the above object, the present invention provides an interprocess communication (IPC) message sent by an application program running on an exchange system onto a workstation by using a user datagram protocol (UDP). A first process of delivering the IPC message to a unique port number of a daemon program (srosd) operating at a station; and a second process of sending a message to an application program that is executed by each application program executed at the switching system and the workstation. Process and the IPC message delivered to the switching system by the srosd includes a third process of receiving the IPC message by the application running on the switching system when delivered to the application program through SROS.

이하 첨부된 도면을 참조하여 본 발명을 상세히 설명하면 다음과 같다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

도 1 은 본 발명에 따른 하드웨어 시스템의 구성도로서, 분산 실시간 시스템인 교환시스템은 다수의 교환시스템 노드(10)들과 워크스테이션(30)으로 이루어진다.1 is a schematic diagram of a hardware system in accordance with the present invention, wherein a distributed real-time system is comprised of a plurality of exchange system nodes 10 and a workstation 30.

이때, 상기 교환시스템 노드(10)들은 상호간의 통신을 위하여 이더넷(ethernet)(20)으로 연결된다.At this time, the switching system nodes 10 are connected to the Ethernet (20) for communication with each other.

도 2 는 본 발명에 따른 소프트웨어 구조도로서, 교환시스템 노드(10)와 워크스테이션(30)이 서로 통신하는 구조로 이루어져 있다.2 is a software structural diagram according to the present invention, in which the switching system node 10 and the workstation 30 communicate with each other.

상기 교환시스템 노드(10)에는 실시간 운영체계로 에스알오에스(Scalable Real-time Operating System, 이하 SROS라 칭함)(13)가 실행되고 그 상위에서 응용프로그램(11)들이 동작하며 통신을 위한 운영체계로 워크스테이션(30)의 유닉스(UNIX)(34)가 실행되고, 그 상위에서 응용프로그램(32)들이 동작하며, 이와는 별도로 IPC 인터페이스(12)와 소켓(socket)(33)간의 연동 서비스를 위해 유닉스상의 SROS 데먼 프로그램(SROS Daemon Program on UNIX, 이하 srosd라 칭함)(31)이 실행된다.In the exchange system node 10, a scalable real-time operating system (hereinafter referred to as SROS) 13 is executed as a real time operating system, and the application programs 11 operate thereon as an operating system for communication. Unix 34 of workstation 30 is executed, and applications 32 run on top of it, separately for Unix services for interworking services between IPC interface 12 and socket 33. A SROS daemon program (SROS Daemon Program on UNIX, srosd hereinafter) 31 is executed.

도 3 은 본 발명이 적용되는 프로세스간 통신(IPC) 흐름도로서, 먼저 교환시스템에서 실행되는 응용프로그램이 워크스테이션에서 실행되는 응용프로그램으로 메시지를 송신하는 경우, 교환시스템에서 실행되는 응용프로그램이 워크스테이션으로 IPC 메시지를 송신하면(S1), SROS는 워크스테이션에서 동작하는 srosd의 고유 포트 번호로 사용자 데이터그램 프로토콜(User Datagram Protocol, 이하 UDP라 칭함)을 이용하여 IPC 메시지를 전달한다(S2).3 is a flowchart of an interprocess communication (IPC) to which the present invention is applied, in which case an application running on the switching system first transmits a message to an application running on the workstation. When the IPC message is transmitted (S1), SROS forwards the IPC message using the user datagram protocol (hereinafter, referred to as UDP) as a unique port number of srosd operating at the workstation (S2).

워크스테이션에서 실행되는 상기 srosd는 수신된 IPC 메시지의 착신 주소를 포트 번호로 생각하여 지정된 포트 번호로 상기 UDP를 이용하여 IPC 메시지를 전송(S3)하는데, 이는 상기 SROS에서 사용하는 IPC 메시지의 주소가 2 바이트이고 워크스테이션에서 사용되는 소켓의 포트 번호의 길이도 2 바이트이므로 이를 동일시하여 일대일로 대응하는 것이 가능하다.The srosd running on the workstation considers the destination address of the received IPC message as the port number and transmits the IPC message using the UDP to the designated port number (S3), which is the address of the IPC message used by the SROS. It is 2 bytes long and the port number of the socket used by the workstation is also 2 bytes long, so it is possible to identify them one-to-one.

이때 상기 srosd가 전송하는 IPC 메시지는 소켓을 통해 워크스테이션에서 실행되는 응용프로그램이 수신하게 되며(S4), 워크스테이션에서 교환시스템으로 메시지를 전달하는 방법은 이의 역순으로 진행된다.At this time, the IPC message transmitted by the srosd is received by the application program running on the workstation through the socket (S4), the method of delivering the message from the workstation to the switching system proceeds in the reverse order.

상기 워크스테이션에서 실행되는 응용프로그램이 소켓을 통해 srosd의 고유포트 번호로 IPC 메시지를 UDP 프로토콜을 이용하여 송신하면(S5), srosd는 수신된 메시지에 대해 소켓의 송신 포트 번호를 IPC 송신주소로 대응하여 메시지를 교환시스템으로 전달한다(S6). 즉, srosd는 IPC에서 사용되는 송수신 주소와 소켓에서 사용되는 포트번호를 서로 대응시켜 상호간의 메시지를 연동하여 주는 핵심 프로그램으로 동작한다.When an application program running on the workstation transmits an IPC message using a UDP protocol to a unique port number of srosd through a socket (S5), srosd corresponds to the IPC transmission address of the socket's sending port number for a received message. To transmit the message to the exchange system (S6). In other words, srosd acts as a core program that links messages with each other by matching the send / receive address used in IPC and the port number used in socket.

상기 srosd에 의해 교환시스템으로 전달된 메시지는 SROS에 의해 응용프로그램으로 전달되어 교환시스템에서 실행되는 응용프로그램이 IPC 메시지를 수신하게 된다(S7).The message delivered to the switching system by the srosd is delivered to the application program by SROS so that the application program running on the switching system receives the IPC message (S7).

상술한 바와 같이 본 발명의 교환 시스템과 워크스테이션간의 IPC 통신방법에 의해서 IPC에서 사용되는 송수신 주소와 소켓에서 사용되는 포트번호를 서로 대응시켜 상호간의 메시지를 srosd라는 프로그램을 통해 연동하여 줌으로써, DLPI에 비해 다중 세션과 오류 점검을 지원하고 보다 나은 성능을 가지는 소켓의 특성을 이용하는 교환 시스템과 워크스테이션간의 IPC 통신이 가능한 효과가 있다.As described above, according to the IPC communication method between the switching system and the workstation of the present invention, the transmission and reception addresses used in the IPC and the port numbers used in the sockets are corresponded to each other, thereby interworking messages through a program called srosd. Compared to this, IPC communication between a switching system and a workstation that uses multiple sockets, error checking, and socket characteristics with better performance is possible.

Claims (2)

다수의 교환시스템 노드들과 워크스테이션으로 구성되어 상호간에 이더넷으로 연결된 교환시스템과 워크스테이션간의 프로세스간 통신(IPC) 방법에 있어서, 상기 교환시스템에서 실행되는 응용프로그램이 워크스테이션상으로 송신한 프로세스간 통신(IPC) 메시지를 사용자 데이터그램 프로토콜(UDP)을 이용하여 에스오알에스(SORS)가 워크스테이션에서 동작하는 데먼 프로그램(srosd)의 고유 포트번호로 상기 IPC 메시지를 전달하는 제 1 과정; 상기 교환시스템과 워크스테이션에서 실행되는 각 응용프로그램이 상호 실행되는 응용프로그램으로 메시지를 송신하는 제 2 과정; 및 상기 srosd에 의해 교환시스템으로 전달된 IPC 메시지는 SROS를 통해 응용프로그램으로 전달하면 교환시스템에서 실행되는 응용프로그램이 상기 IPC 메시지를 수신하는 제 3 과정을 포함하는 것을 특징으로 하는 교환시스템과 워크스테이션간의 프로세스간 통신(IPC) 방법.In an interprocess communication (IPC) method between a switching system and a workstation, which is composed of a plurality of switching system nodes and workstations connected to each other by Ethernet, an inter-process transmitted by an application program running on the switching system on the workstation. Transmitting the IPC message to a unique port number of a daemon program (SORSD) running at a workstation by using a user datagram protocol (UDP); A second step of transmitting a message to an application program that is executed by each application program executed in the switching system and the workstation; And an IPC message delivered to the switching system by the srosd, when the IPC message is delivered to the application program through SROS, the application program running on the switching system receiving the IPC message. Of interprocess communication between processes. 제 1 항에 있어서, 상기 제 2 과정은The method of claim 1, wherein the second process 워크스테이션에서 실행되는 상기 srosd는 수신된 IPC 메시지의 착신 주소를 포트 번호로 하여 지정된 UDP 메세지를 전송하면 상기 srosd가 전송한 IPC 메시지를 소켓을 통해 워크스테이션에서 실행되는 응용프로그램이 수신하도록 교환시스템에서 실행되는 응용프로그램이 워크스테이션에서 실행되는 응용프로그램으로 메시지를 송신하는 제 1 단계;When the srosd running on the workstation transmits the UDP message designated by the destination address of the received IPC message as the port number, the srosd receives the IPC message transmitted by the srosd through the socket so that the application running on the workstation receives the IP message. A first step in which the executed application program sends a message to the application program executed at the workstation; 상기 워크스테이션에서 실행되는 응용프로그램이 소켓을 통해 상기 srosd의 고유번호로 IPC 메시지를 UDP 프로토콜을 이용하여 송신하면 상기 srosd는 수신된 메시지에 대해 소켓의 송신 포트 번호를 IPC 송신 주소로 대응하여 메시지를 교환시스템으로 전달하도록 워크스테이션에서 실행되는 응용프로그램이 교환시스템에서 실행되는 응용프로그램으로 메시지를 송신하는 제 2 단계로 이루어진 것을 특징으로 하는 교환시스템과 워크스테이션간의 프로세스간 통신(IPC) 방법.When an application program running on the workstation transmits an IPC message using a UDP protocol to a unique number of the srosd through a socket, the srosd responds to the received port number of the socket with an IPC transmission address for the received message. An inter-process communication (IPC) method between a switching system and a workstation, comprising a second step in which an application program running on a workstation for delivery to the switching system sends a message to the application running on the switching system.
KR1019970050840A 1997-10-02 1997-10-02 Ipc communication between a switching system and a workstation KR100274157B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970050840A KR100274157B1 (en) 1997-10-02 1997-10-02 Ipc communication between a switching system and a workstation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970050840A KR100274157B1 (en) 1997-10-02 1997-10-02 Ipc communication between a switching system and a workstation

Publications (2)

Publication Number Publication Date
KR19990030583A KR19990030583A (en) 1999-05-06
KR100274157B1 true KR100274157B1 (en) 2000-12-15

Family

ID=19522157

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970050840A KR100274157B1 (en) 1997-10-02 1997-10-02 Ipc communication between a switching system and a workstation

Country Status (1)

Country Link
KR (1) KR100274157B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980038761A (en) * 1996-11-26 1998-08-17 유기범 Multiple Control Method Using Telnet Function in Exchange System

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980038761A (en) * 1996-11-26 1998-08-17 유기범 Multiple Control Method Using Telnet Function in Exchange System

Also Published As

Publication number Publication date
KR19990030583A (en) 1999-05-06

Similar Documents

Publication Publication Date Title
US7839848B2 (en) Method, device and system for message transmission
US7567505B2 (en) VRRP technology keeping VR confidentiality
CN100454905C (en) Method for passing through network address switching
JPH066362A (en) Message processing load distribution system for host system in lan
US20010014833A1 (en) Programmable logic controller provided with communication functions in a client-server architecture
CN112468529B (en) Session management method and device
US6349341B1 (en) Method and system for providing inter-tier application control in a multi-tiered computing environment
CN109120446B (en) Zero configuration starting method and equipment
EP1111850A2 (en) Control and distribution protocol for a portable router framework
KR100274157B1 (en) Ipc communication between a switching system and a workstation
CN113300871A (en) Networking method and device of simulation network
CN100393039C (en) Network administration method for no-IP address device
KR100265979B1 (en) Method and apparatus for converting communication protocol between host computer and branch processor
US6760427B2 (en) Computer telephony (CT) network serving multiple telephone switches
CN113055477B (en) Method for realizing TCP communication mutual loading balance by middleware software
CN111698190B (en) Multi-robot communication method, robot and server
CN116488961B (en) Public unit gateway, communication method and communication system
KR100372342B1 (en) Operator Command Processing Method In The Mobile Communication System
KR100266261B1 (en) Method interface using java language in full electronic telephone exchange
JP2000358058A (en) Address conversion controller and method for communication between local networks
Mohamed Self-configuring communication middleware model for multiple network interfaces
CN117729165A (en) Acceleration card expansion system of Ethernet interface and communication method thereof
KR20010054801A (en) Configuration method of gateway
KR20010003090A (en) Communication Line Duplexing Method for Base Station Management System
CN102065028A (en) Gateway equipment and message processing method

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: 20100901

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee