KR20000042919A - Method for transmitting messages between asynchronous transfer mode switch and web clients of personal computers - Google Patents

Method for transmitting messages between asynchronous transfer mode switch and web clients of personal computers Download PDF

Info

Publication number
KR20000042919A
KR20000042919A KR1019980059216A KR19980059216A KR20000042919A KR 20000042919 A KR20000042919 A KR 20000042919A KR 1019980059216 A KR1019980059216 A KR 1019980059216A KR 19980059216 A KR19980059216 A KR 19980059216A KR 20000042919 A KR20000042919 A KR 20000042919A
Authority
KR
South Korea
Prior art keywords
message
file descriptor
web client
exchange
transmitting
Prior art date
Application number
KR1019980059216A
Other languages
Korean (ko)
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 KR1019980059216A priority Critical patent/KR20000042919A/en
Publication of KR20000042919A publication Critical patent/KR20000042919A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/45Arrangements for providing or supporting expansion
    • H04L49/455Provisions for supporting expansion in ATM switches

Abstract

PURPOSE: A method for transmitting messages is provided to make a user easily transmit the messages by connecting the messages between an exchange and web clients of personal computers. CONSTITUTION: A method for transmitting messages by connecting an exchange to web clients of personal computers, with a graphic user interface server, comprises the steps of: forming and registering a user data protocol file descriptor between the exchange and the graphic user interface server; forming and registering a transmission control protocol(TCP) listen file descriptor for recognizing a web client transmitting the messages; and recognizing a file descriptor kind to execute operations according to the kind.

Description

비동기 전송 모드 스위치와 개인용 컴퓨터의 웹 클라이언트간 메시지 전송 방법How to Transfer Messages Between an Asynchronous Transfer Mode Switch and a Web Client on a Personal Computer

본 발명은 비동기 전송 모드 스위치와 개인용 컴퓨터의 웹 사이트사이의 메시지 전송 방법에 관한 것으로, 특히 다수의 개인용 컴퓨터와 교환기사이의 메시지 전송 방법에 관한 것이다.The present invention relates to a message transfer method between an asynchronous transfer mode switch and a web site of a personal computer, and more particularly to a message transfer method between a plurality of personal computers and exchanges.

도 1은 종래 교환기와 개인용 컴퓨터간의 연결을 나타낸다.1 shows a connection between a conventional exchange and a personal computer.

도 1을 참조하면, 종래 비동기 전송 모드 스위치(110)에서 교환기밖으로 신호 전송은 교환기 프로세서상의 외부 입출력을 담당하는 블록(HANDF)과 교환기와 연결되어 있는 워크스테이션(120)상에 있는 메시지를 처리하는 응용 프로그램(HMI Server)을 먼저 연결시킨다. 그런후 교환기 명령을 입력할 외부 워크스테이션(140)이나 개인용 컴퓨터(X-Emulation 필요)상에 휴먼 머신 인터페이스 클라이언트(Human Man Interface Client)를 구동시킨후 그래픽 입력창을 통해 교환기 제어 명령을 교환기(110)로 보내고, 응답 메시지를 명령 출력창에 출력시키는 구조를 가지고 있다.Referring to FIG. 1, in the conventional asynchronous transfer mode switch 110, signal transmission out of an exchange processes a message on a workstation 120 connected to an exchange and a block (HANDF) responsible for external input / output on the exchange processor. Connect the application (HMI Server) first. Then, the Human Man Interface Client is run on an external workstation 140 or a personal computer (requires X-Emulation) to input the exchange command, and then exchanges the exchange control command through the graphic input window. ), And output a response message to the command output window.

이러한 종래 교환기로의 메시지는 엠엠씨메타(MMCmeta)라는 스트링으로 전송되며, 이에 대한 응답메시지는 교환기로부터 한 라인씩 전송받아 출력창에 단순히 출력시켜주는 방법으로 구성되어 효율적인 메시지 교환이 이루어지지 않고 운영자가 교환기의 응답메시지를 참조하여 다음 메시지를 전송하여야만 한다. 그리고, 전송메시지에 대해 응답메시지를 받지 못하고 결과값만 출력시켜주는 종래 구성으로 인해 운영상 비효율적인 면이 발생한다.The message to the conventional exchange is transmitted in a string called MMCmeta, and the response message is composed of a method of receiving a line from the exchange and simply outputting it to the output window so that an efficient message exchange is not made. The sender shall send the next message referring to the exchange's response message. In addition, due to the conventional configuration of outputting only a result value without receiving a response message for a transmission message, an inefficient operation occurs.

따라서, 본 발명의 목적은 교환기와 개인용 컴퓨터간의 효율적인 메시지 전송 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide an efficient message transmission method between an exchange and a personal computer.

본 발명의 다른 목적은 교환기와 개인용 컴퓨터의 웹 클라이언트간 메시지를 연결하는 방법을 제공함에 있다.Another object of the present invention is to provide a method for connecting a message between an exchange and a web client of a personal computer.

본 발명의 또다른 목적은 교환기와 개인용 컴퓨터상의 웹 클라이언트를 연결하여 사용자로 하여금 메시지를 손쉽게 전송하는 방법을 제공함에 있다.Another object of the present invention is to provide a method for easily sending a message by connecting a switch and a web client on a personal computer.

이러한 목적들을 달성하기 위한 본 발명은 교환기와 외부 개인용 컴퓨터상의 웹 클라이언트 사이의 메시지 연결구조를 구성함으로서 상기 웹 클라이언트에서 상기 교환기로 명령 메시지를 전송하고, 다시 상기 교환기로부터 응답 메시지를 받은 상기 웹 클라이언트는 상기 응답 메시지를 분석하여 다음 메시지 구성창을 다시 만들거나 데이터를 화면상에 디스플레이하고, 사용자로부터 입력되는 제어 메시지를 교환기로 전송하는 것을 특징으로 한다.The present invention for achieving these objectives is to construct a message connection structure between the exchange and a web client on an external personal computer to send a command message from the web client to the exchange, and again receive a response message from the exchange. The response message may be analyzed to recreate the next message configuration window or to display data on the screen, and to transmit a control message input from the user to the exchange.

도 1은 종래 교환기와 명령 입력 단말기간의 연결 구성도.1 is a connection configuration diagram between a conventional exchange and a command input terminal.

도 2는 본 발명에 따른 교환기와 개인용 컴퓨터간의 연결 구성도.2 is a connection diagram between a switch and a personal computer according to the present invention;

도 3은 본 발명의 실시예에 따른 메시지를 전송하는 과정을 나타내는 도면.3 is a diagram illustrating a process of transmitting a message according to an embodiment of the present invention.

이하 본 발명의 바람직한 실시예를 첨부된 도면들을 참조하여 상세히 설명한다. 또한, 하기에서 본 발명을 설명함에 있어, 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In addition, in the following description of the present invention, if it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted.

도 2는 본 발명에 따른 교환기와 개인용 컴퓨터간의 연결 구조를 나타낸다.2 illustrates a connection structure between an exchange and a personal computer according to the present invention.

도 2를 참조하면, 교환기(210)에 연결되어 있는 워크스테이션(220)에서는 스위치(210)와 웹 서버(web server;230)와의 연결 설정을 할 그래픽 유저 인터페이스 서버(Graphic User Interface Server;221)를 구동한다. GUI 서버(221)는 SROSD(워크스테이션상에 SROS를 사용할 수 있게 개발되어 있는 데몬;222)를 통해 OMP과 UDP연결을 한다. 다음으로 GUI 서버(221)는 실제 운용자가 웹 클라이언트(241,251)로부터 TCP소켓을 열기 위한 리슨(listen)을 실행한 후 UDP와 리슨 두 fd(File Discriptor)에 대해 셀렉트(select)를 실행한다. 여기서는 먼저 리슨 fd에서 메시지가 온다. 그리고, TCP소켓이 구성되면 기다리는 fd는 TCP소켓을 포함하게 된다. 이후 셀렉트를 통해 각 fd에 들어오는 메시지에 대해 다음 실행을 한다. 리슨 fd는 GUI 서버(221)와 웹 클라이언트(241,251) 사이의 TCP소켓을 구성하고, TCP소켓을 셀렉트하기 위한 fd_set에 추가시킨다. TCP fd는 웹 클라이언트(241,251)를 통해 들어오는 메시지를 교환기로 보내준다. UDP fd는 스위치로부터 응답 메시지를 해당 웹 클라이언트로 응답 메시지를 보내준다.Referring to FIG. 2, in the workstation 220 connected to the switch 210, a graphic user interface server 221 for establishing a connection between the switch 210 and a web server 230 may be used. To drive. The GUI server 221 makes a UDP connection with the OMP via SROSD (a daemon developed to use SROS on a workstation; 222). Next, the GUI server 221 executes a listen for opening a TCP socket from the web client 241, 251, and then executes a select for UDP and a listen fd (File Discriptor). Here comes the message from listen fd first. If the TCP socket is configured, the waiting fd includes the TCP socket. Then select executes the following for each incoming message to fd. The listen fd configures a TCP socket between the GUI server 221 and the web clients 241 and 251 and adds it to fd_set for selecting a TCP socket. TCP fd sends a message coming through the web client 241,251 to the exchange. UDP fd sends a response message from the switch to the web client.

운용자는 웹 클라이언트(241,251)에서 교환기 운용메시지를 교환기로 전송한다. 이때 GUI 서버(221)는 메시지를 보내줄 웹 클라이언트(241,251)사이에 구성된 TCP 연결의 소켓 fd를 메시지안에 실어 스위치(210)로 전송한다. 그리고, GUI 서버(220)가 스위치(210)로부터 응답 메시지를 받은 경우 메시지안에 포함된 fd를 참조하여 메시지를 전송한 웹 클라이언트로 다시 보내줄 수 있게 한다. 따라서, 운용자는 웹 클라이언트에서 메시지 형태의 응답을 받을 수 있게 된다.The operator sends an exchange operation message from the web clients 241 and 251 to the exchange. At this time, the GUI server 221 transfers the socket fd of the TCP connection configured between the web clients 241 and 251 to send the message to the switch 210 in the message. When the GUI server 220 receives the response message from the switch 210, the GUI server 220 may refer to the fd included in the message and send the message back to the web client that transmitted the message. Thus, the operator can receive a response in the form of a message from the web client.

본 발명에 따른 메시지 전달은 GUI 서버(221)의 TCP fd에 들어온 메시지를 fd에 포함하여 스위치(210)로 전달한다. 교환기의 응용 프로세서는 명령 수행을 한후 응답 메시지와 fd를 GUI 서버의 UDP fd에 전달한다. GUI 서버(221)는 UDP fd에 들어온 응답 메시지에서 fd를 보고 명령을 보낸 웹 클라이언트로 응답 메시지를 보내준다.Message delivery according to the present invention includes the message entered in the TCP fd of the GUI server 221 in fd and delivers to the switch 210. After executing the command, the exchange's application processor sends the response message and fd to the UDP server's UDP fd. The GUI server 221 sends a response message to the web client that sends the command after seeing the fd in the response message entered into the UDP fd.

도 3은 본 발명의 실시예에 따른 메시지를 전송하는 과정을 나타낸다.3 shows a process of transmitting a message according to an embodiment of the present invention.

도 2 내지 도 3을 참조하여 본 발명에 따른 비동기 전송 모드 스위칭 시스템과 개인용 컴퓨터의 웹 클라이언트사이의 메시지를 전송하는 방법을 설명한다. 제(310)단계에서 GUI 서버(221)는 스위치(210)와의 UDP(User Data Protocol) fd를 형성한다. 제(320)단계에서 GUI 서버(221)는 형성된 UDP fd를 등록한다.A method of transmitting a message between an asynchronous transfer mode switching system and a web client of a personal computer according to the present invention will be described with reference to FIGS. In operation 310, the GUI server 221 forms a User Data Protocol (UDP) fd with the switch 210. In operation 320, the GUI server 221 registers the formed UDP fd.

제(330)단계에서 GUI 서버(221)는 TCP 리슨 fd를 형성하고, 제(340)단계에서 상기 형성된 TCP 리슨 fd를 등록한다. 제(350)단계에서 GUI 서버(221)는 fd의 종류가 무엇인지를 파악한다.In step 330, the GUI server 221 forms a TCP listen fd. In step 340, the GUI server 221 registers the formed TCP listen fd. In operation 350, the GUI server 221 determines what kind of fd is.

리슨 fd인 것으로 파악되면, 제(361)단계에서 GUI 서버(221)는 상기 리슨 fd를 승인하고, 제(362)단계에서 TCP fd를 형성하고, 제(363)단계에서 상기 형성된 TCP fd를 등록한다.If it is determined that it is a listen fd, in step 361, the GUI server 221 approves the listen fd, forms a TCP fd in step 362, and registers the formed TCP fd in step 363. do.

이와 달리, TCP fd인 것으로 파악되면, 제(371)단계에서 GUI 서버(221)는 TCP fd를 통해 소정 웹 클라이언트로부터 전송된 메시지를 리드하고, 제(372)단계에서 상기 리드된 메시지가 비정상적인 메시지인지의 여부를 판단한다.On the other hand, if it is determined to be TCP fd, the GUI server 221 reads the message transmitted from the predetermined web client through TCP fd in step 371, and the message read is abnormal in step 372. Determine whether or not.

상기 리드된 메시지가 비정상적인 메시지가 아닌 정상적인 메시지로 판단되면, 제(373)단계에서 GUI 서버(221)는 상기 전송된 메시지에 fd를 추가한다.(message=message+fd) 즉, GUI 서버(221)는 상기 메시지가 어느 fd로부터 전송된 것인지 알려주기 위해 fd를 메시지에 추가한다. 제(374)단계에서 GUI 서버(221)는 상기 UDP fd를 통해 메시지를 스위치(210)로 전송한다.If the read message is determined to be a normal message rather than an abnormal message, in step 373, the GUI server 221 adds fd to the transmitted message. (Message = message + fd) That is, the GUI server 221 ) Adds fd to the message to indicate from which fd the message was sent. In operation 374, the GUI server 221 transmits a message to the switch 210 through the UDP fd.

이와 달리, UDP fd인 것으로 판단되면, 제(381)단계에서 GUI 서버(221)는 UDP fd를 통해 스위치(210)로부터 전송된 메시지를 리드한다. 제(382)단계에서 GUI 서버(221)는 상기 리드된 메시지에서 fd를 빼내서(message=message-fd) 상기 메시지를 전송할 클라이언트를 파악한다. 제(383)단계에서 GUI 서버(221)는 fd로서 파악된 클라이언트로 상기 메시지를 전송한다.In contrast, if it is determined that the UDP fd, in step 381, the GUI server 221 reads the message transmitted from the switch 210 through the UDP fd. In operation 382, the GUI server 221 extracts fd from the read message (message = message-fd) to determine a client to which the message is to be transmitted. In operation 383, the GUI server 221 transmits the message to the client identified as fd.

상술한 바와 같이 본 발명은 응답 메시지를 이용해서 다음 메시지를 응답 메시지에 포함된 데이터를 이용하여 구성할 수 있으므로 효율적으로 메시지를 전송할 수 있다. 또한, 종래 HMI인 경우 워크스테이션의 X윈도우를 기반으로 구동됨으로 개인용 컴퓨터에서 사용할 경우 고가의 X에뮬레이션이 필요하였으나 본 발명은 개인용 컴퓨터상의 웹 브라우저를 이용함으로써 운용비용을 절감할 수 있다.As described above, the present invention can configure the next message using the response message using the response message, thereby efficiently transmitting the message. In addition, in the case of the conventional HMI is driven based on the X window of the workstation, expensive X emulation is required when using in a personal computer, but the present invention can reduce the operating cost by using a web browser on the personal computer.

Claims (5)

교환기와 다수 개인용 컴퓨터의 웹 클라이언트간을 그래픽 유저 인터페이스 서버로 연결하여 메시지 전송 방법에 있어서,In the method of transmitting a message by connecting the web client of the exchange and a plurality of personal computers to the graphical user interface server, 상기 교환기와 상기 그래픽 유저 인터페이스 서버간의 유저 데이터 프로토콜 파일 디스크립터(User Data Protocol File Discriptor)를 형성하여 등록하는 과정과,Forming and registering a user data protocol file descriptor between the exchange and the graphical user interface server; 메시지를 전달하고자하는 웹 클라이언트의 상태를 파악하기 위한 피씨피 리슨 파일 디스크립터(TCP listen File Discriptor)를 형성하여 등록하는 과정과,Forming and registering a TCP listen file descriptor for identifying a state of a web client to which a message is to be delivered; 파일 디스크립터의 종류를 파악하여 그에 따른 동작을 수행하는 과정으로 이루어지는 것을 특징으로 하는 비동기 전송 모드 스위치와 개인용 컴퓨터의 웹 클라이언트간 메시지 전송 방법.A method of transmitting a message between an asynchronous transfer mode switch and a web client of a personal computer, characterized by determining the type of file descriptor and performing the corresponding operation. 제1항에 있어서,The method of claim 1, 상기 파일 디스크립터가 리슨 파일 디스크립터인 것으로 판단되면, 티씨피 파일 디스크립터를 형성하여 등록하는 과정을 더 포함하는 것을 특징으로 하는 비동기 전송 모드 스위치와 개인용 컴퓨터의 웹 클라이언트간 메시지 전송 방법.If it is determined that the file descriptor is a listen file descriptor, the method of transmitting a message between the asynchronous transfer mode switch and the web client of the personal computer further comprising the step of forming and registering a TPC file descriptor. 제1항에 있어서,The method of claim 1, 상기 파일 디스크립터가 티씨피 파일 디스크립터인 것으로 판단되면, 티씨피 파일 디스립터를 통해 웹 클라이언트로부터 전송된 메시지를 리드하는 과정과,If it is determined that the file descriptor is a TPC file descriptor, reading a message transmitted from a web client through a TPC file descriptor; 상기 리드된 메시지가 정상적인지의 여부를 판단하는 과정과,Determining whether the read message is normal; 상기 리드된 메시지가 정상적인 것으로 판단되면, 상기 리드된 메시지에 상기 메시지를 전송한 파일 디스크립터를 추가하여 상기 스위치로 전송하는 과정을 더 포함하는 것을 특징으로 하는 비동기 전송 모드 스위치와 개인용 컴퓨터의 웹 클라이언트간 메시지 전송 방법.If it is determined that the read message is normal, adding the file descriptor that transmitted the message to the read message, and transmitting the same to the switch. How to send a message. 제1항에 있어서,The method of claim 1, 상기 파일 디스크립터의 종류가 유저 데이터 프로토콜 파일 디스크립터인 것으로 판단되면, 유저 데이터 프로토콜 파일 디스크립터를 통해 상기 스위치로부터 전송된 메시지를 리드하는 과정과,If it is determined that the type of the file descriptor is a user data protocol file descriptor, reading a message transmitted from the switch through a user data protocol file descriptor; 상기 리드된 메시지로부터 전송하고자하는 웹 클라이언트의 파일 디스크립터를 추출하는 과정과,Extracting a file descriptor of a web client to be transmitted from the read message; 상기 리드된 메시지로부터 추출된 웹 클라이언트로 상기 메시지를 전송하는 과정을 더 포함하는 것을 특징으로 하는 비동기 전송 모드 스위치와 개인용 컴퓨터의 웹 클라이언트간 메시지 전송 방법.And transmitting the message to the web client extracted from the read message. The message transmission method between the asynchronous transmission mode switch and the web client of the personal computer. 제3항에 있어서,The method of claim 3, 상기 메시지가 비정상적인 것으로 판단되면, 상기 메시지가 전송된 웹 클라이언트의 티씨피 파일 디스크립터 등록을 해제하는 과정과,If it is determined that the message is abnormal, deregistering the TPC file descriptor of the web client to which the message is transmitted; 상기 웹 클라이언트와 상기 그래픽 유저 인터페이스 서버간의 티씨피 파일 디스크립터를 차단하는 과정을 더 포함하는 것을 특징으로 하는 비동기 전송 모드 스위치와 개인용 컴퓨터의 웹 클라이언트간 메시지 전송 방법.And a step of blocking a TPC file descriptor between the web client and the graphical user interface server.
KR1019980059216A 1998-12-28 1998-12-28 Method for transmitting messages between asynchronous transfer mode switch and web clients of personal computers KR20000042919A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980059216A KR20000042919A (en) 1998-12-28 1998-12-28 Method for transmitting messages between asynchronous transfer mode switch and web clients of personal computers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980059216A KR20000042919A (en) 1998-12-28 1998-12-28 Method for transmitting messages between asynchronous transfer mode switch and web clients of personal computers

Publications (1)

Publication Number Publication Date
KR20000042919A true KR20000042919A (en) 2000-07-15

Family

ID=19566172

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980059216A KR20000042919A (en) 1998-12-28 1998-12-28 Method for transmitting messages between asynchronous transfer mode switch and web clients of personal computers

Country Status (1)

Country Link
KR (1) KR20000042919A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114095508A (en) * 2020-07-31 2022-02-25 南京理工大学 Method for P2P transmission under same switch

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114095508A (en) * 2020-07-31 2022-02-25 南京理工大学 Method for P2P transmission under same switch

Similar Documents

Publication Publication Date Title
US6842777B1 (en) Methods and apparatuses for simultaneous access by multiple remote devices
US6081856A (en) Adapter and method for emulating the operation of a peripheral device of a computer
US20050271042A1 (en) Internet modem streaming socket method
EP2090979B1 (en) Interface driver program for computer and recording medium therefor
EP0308485A1 (en) Terminal device session management protocol
EP1564959A1 (en) System and method for trivial file transfer protocol including broadcasting function
EP1659754A1 (en) System and method for remotely controlling a debugging unit
CN110677432A (en) Network protocol internal proxy forwarding method, device, medium and terminal equipment
CN112073488A (en) Method and device for processing request
KR20000042919A (en) Method for transmitting messages between asynchronous transfer mode switch and web clients of personal computers
CN116055534A (en) Multi-serial device data forwarding system and method
JPH11184784A (en) Server with execution situation reporting function and client with execution situation displaying function
JP2001344189A (en) Computer changeover device
JP2001147868A (en) Remote transmission and reception system for control equipment
KR100261813B1 (en) Method for transmitting additional data using out-of channel of transport control protocol
CN113747206B (en) Data feedback control method and system, display screen controller and display control card
KR20020033219A (en) Method for materializing connection-oriented socket interface
CN115866069A (en) Method and system for processing remote call request and electronic equipment
JPH0832649A (en) Communication testing device
KR100266261B1 (en) Method interface using java language in full electronic telephone exchange
US20020169879A1 (en) Method and apparatus for firewall-evading stealth protocol
KR100327409B1 (en) Data Managing Method in Exchanger
KR100265979B1 (en) Method and apparatus for converting communication protocol between host computer and branch processor
KR100241705B1 (en) Board monitoring method for full-electronic exchange
JPS62186634A (en) Host-terminal communication system by terminal protocol conversion system

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination