KR100555696B1 - method converting protocol in the gateway, method storing voice data and method diagnosing equipment using the above statements method - Google Patents

method converting protocol in the gateway, method storing voice data and method diagnosing equipment using the above statements method Download PDF

Info

Publication number
KR100555696B1
KR100555696B1 KR1020030064149A KR20030064149A KR100555696B1 KR 100555696 B1 KR100555696 B1 KR 100555696B1 KR 1020030064149 A KR1020030064149 A KR 1020030064149A KR 20030064149 A KR20030064149 A KR 20030064149A KR 100555696 B1 KR100555696 B1 KR 100555696B1
Authority
KR
South Korea
Prior art keywords
serial
port
gateway
data
ethernet
Prior art date
Application number
KR1020030064149A
Other languages
Korean (ko)
Other versions
KR20050027777A (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 KR1020030064149A priority Critical patent/KR100555696B1/en
Publication of KR20050027777A publication Critical patent/KR20050027777A/en
Application granted granted Critical
Publication of KR100555696B1 publication Critical patent/KR100555696B1/en

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1053IP private branch exchange [PBX] functionality entities or arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

본 발명은 프로토콜 변환 방법에 관한 것으로, 특히 게이트웨이(Gateway)의 랜 포트로 들어오는 이더넷 패킷을 시리얼 데이터로 변환하여 게이트웨이의 시리얼 포트로 시리얼 데이터를 출력하게 하는 게이트 웨이에서 프로토콜 변환 방법에 관한 것이다.The present invention relates to a protocol conversion method, and more particularly, to a protocol conversion method in a gateway for converting Ethernet packets coming into a LAN port of a gateway into serial data and outputting serial data to a serial port of the gateway.

또, 상기 게이트웨이에서 프로토콜 변환 방법에 의해 게이트웨이의 랜 포트로 들어오는 음성 패킷을 시리얼 데이터로 변환하여 게이트웨이의 시리얼 포트와 시리얼로 연결되어 있는 저장수단에 음성 데이터를 저장하는 방법과 게이트웨이의 시리얼 포트와 시리얼로 연결되어 있는 시리얼 포트만을 가지고 있는 장치를 원격에서 진달할 수 있는 원격 진단 방법에 관한 것이다.In addition, the method of converting the voice packet coming into the LAN port of the gateway to the serial data by the protocol conversion method in the gateway to store the voice data in the storage means connected to the serial port of the gateway serially and the serial port and serial of the gateway The present invention relates to a remote diagnostic method for remotely advancing a device having only a serial port connected to a network.

상기 본 발명을 달성하기 위해 제안된 구성수단은, 프로토콜 변환 방법은, IP PBX 내에 설치된 게이트웨이에 있어서,랜 포트로 이더넷 패킷이 들어오면 이더넷 패킷이 지정된 통신 포트로 접속되어 입력되었는지를 확인하는 과정과, 상기 확인 결과 지정된 통신 포트로 입력되지 않았으면 음성 또는 신호 처리를 수행하고 지정된 통신 포트로 입력되면 저장 수단에 패킷을 순서대로 저장하는 과정과, 상기 저장 수단에 순서대로 저장된 이더넷 패킷을 시리얼 포트로 보내는 과정으로 이루어진 이더넷 투 시리얼 변환 단계와; 시리얼 포트로 시리얼 데이터가 들어오면 시리얼 데이터가 지정된 통신 포트로 접속되어 입력되었는지를 확인하는 과정과, 상기 확인 결과 지정된 통신 포트로 입력되지 않았으면 진단 또는 추적 등을 수행하 고 지정된 통신 포트로 입력되면 저장 수단에 시리얼 데이터를 순서대로 저장하는 과정과, 상기 저장 수단에 순서대로 저장된 시리얼 데이터를 랜 포트로 보내는 과정을 이루어진 시리얼 투 이더넷 변환 단계;로 구성된 것을 특징으로 한다.The configuration means proposed to achieve the present invention, the protocol conversion method, in the gateway installed in the IP PBX, when the Ethernet packet enters the LAN port, the process of checking whether the Ethernet packet is connected to the designated communication port and entered; If it is not input to the designated communication port as a result of the check, performing voice or signal processing, and if the inputted signal is input to the designated communication port, storing the packets in order in the storage means; and sequentially storing the Ethernet packets stored in the storage means in the serial port. An Ethernet to serial conversion step of sending; When the serial data comes in through the serial port, a process of checking whether the serial data is connected to the designated communication port and confirming that the serial data has not been input to the designated communication port is performed. And a serial-to-Ethernet conversion step of storing serial data in the storage means in order and sending serial data stored in the storage means in order to a LAN port.

또, 게이트 웨이에서 프로토콜을 이용한 음성 데이터 저장 방법의 구성수단은, 내선 가입자가 IP 패킷화된 통화 음성을 저장 매체에 저장하기 위해 저장 시작 기능 버튼을 눌러 저장 시작 정보를 중앙 처리 IP 모듈로 전달하게 하는 1단계와; 상기 저장 시작 정보를 받은 중앙 처리 IP 모듈이 게이트 웨이에 음성 저장을 시작하라는 이벤트 패킷을 보내는 2단계와; 상기 이벤트 패킷을 랜 포트를 통해 받은 게이트 웨이가 저장 수단에 음성 데이터 저장을 위해 필요한 PC 어플리케이션 소프트웨어와 미리 지정한 명령 데이터를 시리얼 포트로 보내는 3단계와; 상기 시리얼 포트를 통해 저장 수단에 보내어진 PC 어플리케이션 소프트웨어가 실행되어 음성 데이터가 오기를 기다리는 4단계와; 상기 4단계 이후 게이트웨이가 랜 포트를 통해 들어오는 음성 패킷을 프로토콜 변환 방법에 의해 시리얼 데이터로 변환시켜 시리얼 포트로 보내는 5단계와; 상기 시리얼 포트를 통해 받은 데이터를 PC 어플리케이션 소프트웨어의 실행에 의해 파일에 기록하는 6단계와; 상기 시리얼 포트를 통해 들어오는 음성 패킷을 저장을 계속 하다가 저장 종료 명령 데이터가 PC에 전달되면 PC 어플리케이션 소프트웨어가 데이터 저장을 종료하는 7단계를 포함하여 이루어진 것을 특징으로 하고, 상기 7단계의 저장 종료 단계는 내선 가입자가 통화를 끝나게 되면 통화 종료 이벤트 패킷이 중앙 처리 IP 모듈에 보내어지는 과정과, 중앙 처리 IP 모듈이 게이트웨이에게 통화 종료 패킷을 전달하면 게이트웨이가 시리얼 포트로 저장 종료 명령 데이터를 보내는 과정을 포함하는 것을 특징으로 한다.In addition, the constituting means of the voice data storage method using the protocol at the gateway allows the extension subscriber to press the start storage function button to store the storage start information to the central processing IP module to store the IP packetized call voice in the storage medium. Step 1 to do; Sending, by the central processing IP module receiving the storage start information, an event packet to start voice recording to a gateway; A third step of the gateway receiving the event packet through the LAN port and sending PC application software and predetermined command data necessary for storing voice data to a storage port to a serial port; Four steps of executing PC application software sent to the storage means through the serial port and waiting for voice data to come; A fifth step of the gateway converting the voice packet coming through the LAN port into serial data by a protocol conversion method and sending it to the serial port; A sixth step of writing data received through the serial port into a file by executing PC application software; And continuing to store the voice packet received through the serial port, and when the storage end command data is transmitted to the PC, the PC application software includes seven steps of terminating the data storage. A call termination event packet is sent to the central processing IP module when the subscriber ends the call; and the gateway sends a storage end command data to the serial port when the central processing IP module delivers the call termination packet to the gateway. It is characterized by.

한편, 게이트웨이에서 프로토콜을 이용한 원격 진단 방법의 구성은, 관리자가 TCP/IP 통신을 통해 게이트웨이의 TCP 포트에 접속하는 1단계와; 상기 TCP 포트로 접속이 되는 경우 게이트웨이가 시리얼 포트로의 전환임을 감지하는 2단계와; 상기 2단계 이후 관리자가 자신이 원하는 장치의 진단을 위해 해당 명령어를 입력하는 3단계와; 상기 명령어는 이더넷 패킷으로 게이트웨이에 전달되고 프로토콜 변환 방법에 의해 시리얼 데이터로 변환되어 시리얼 포트로 출력하는 4단계와; 상기 시리얼 데이터로 변환된 명령어가 진단될 장치의 시리얼 포트로 들어와서 해당되는 기능을 동작하고 진단 결과를 시리얼 포트로 출력하는 5단계와; 상기 진단 결과를 시리얼 포트로 받은 게이트웨이에서 프로토콜 변환 방법에 의해 이더넷 패킷으로 변환되어 운영자에게 전달되는 6단계를 포함하여 이루어진 것을 특징으로 한다.On the other hand, the configuration of the remote diagnostic method using the protocol in the gateway, the first step in which the administrator connects to the TCP port of the gateway through TCP / IP communication; Detecting that the gateway is switched to a serial port when the TCP port is connected; A third step of inputting a corresponding command for diagnosing a desired device by the administrator after the second step; The command is transmitted to the gateway as an Ethernet packet, and is converted into serial data by a protocol conversion method and outputted to a serial port; Step 5 of inputting a serial command of a device to be diagnosed by the command converted into serial data to operate a corresponding function and outputting a diagnosis result to the serial port; It characterized in that it comprises the six steps that are converted to the Ethernet packet by the protocol conversion method in the gateway receiving the diagnostic result to the serial port and delivered to the operator.

프로토콜 변환Protocol conversion

Description

게이트 웨이에서 프로토콜 변환 방법과 이를 이용한 음성 데이터 저장 방법 및 원격 진단 방법{method converting protocol in the gateway, method storing voice data and method diagnosing equipment using the above statements method}Protocol converting protocol in the gateway, method storing voice data and method diagnosing equipment using the above statements method}

도 1은 종래의 게이트웨이의 동작 구성을 보여주는 이해도이다.1 is an understanding diagram showing an operation configuration of a conventional gateway.

도 2는 본 발명인 프로토콜 변환 방법의 절차 흐름도이다.2 is a flow chart of the procedure of the present inventors protocol conversion method.

도 3은 본 발명인 프로토콜 변환 방법을 이용한 음성 데이터 저장 방법의 시스템 환경도이다.3 is a system environment diagram of a method of storing voice data using the present inventor's protocol conversion method.

도 4는 본 발명인 프로토콜 변환 방법을 이용한 음성 데이터 저장 방법의 절차 흐름도이다.4 is a flowchart illustrating a method of storing voice data using the present inventor's protocol conversion method.

도 5는 본 발명인 프로토콜 변환 방법을 이용한 원격 진단 방법의 시스템 환경도이다.5 is a system environment diagram of a remote diagnosis method using the present inventor's protocol conversion method.

도 6은 본 발명인 프로토콜 변환 방법을 이용한 원격 진단 방법의 절차 흐름도이다.6 is a flowchart of a method of remote diagnosis using the present inventor's protocol conversion method.

본 발명은 프로토콜 변환 방법에 관한 것으로, 특히 게이트웨이(Gateway)의 랜 포트로 들어오는 이더넷 패킷을 시리얼 데이터로 변환하여 게이트웨이의 시리얼 포트로 시리얼 데이터를 출력하게 하는 게이트 웨이에서 프로토콜 변환 방법에 관한 것이다.The present invention relates to a protocol conversion method, and more particularly, to a protocol conversion method in a gateway for converting Ethernet packets coming into a LAN port of a gateway into serial data and outputting serial data to a serial port of the gateway.

또, 상기 게이트웨이에서 프로토콜 변환 방법에 의해 게이트웨이의 랜 포트로 들어오는 음성 패킷을 시리얼 데이터로 변환하여 게이트웨이의 시리얼 포트와 시리얼로 연결되어 있는 저장수단에 음성 데이터를 저장하는 방법과 게이트웨이의 시리얼 포트와 시리얼로 연결되어 있는 시리얼 포트만을 가지고 있는 장치를 원격에서 진달 할 수 있는 원격 진단 방법에 관한 것이다.In addition, the method of converting the voice packet coming into the LAN port of the gateway to the serial data by the protocol conversion method in the gateway to store the voice data in the storage means connected to the serial port of the gateway serially and the serial port and serial of the gateway The present invention relates to a remote diagnostic method for remotely advancing a device having only a serial port connected to the network.

종래의 일반적인 게이트웨이는 시리얼 포트와 랜포트가 일반적으로 갖추어져 있고, 랜포트를 통해 IP로 음성 데이터를 보내는 방식으로 되어 있다. 그리고 자기 유지 보수 진단을 위해 시리얼 포트나 랜포트를 사용하고 있다.Conventional gateways are generally equipped with a serial port and a LAN port, and have a method of sending voice data to the IP through the LAN port. It uses serial ports or LAN ports for self-maintenance diagnostics.

게이트웨이라 함은 일반적으로 네트워크 음성을 처리하는 인터페이스 부분과 네트워크 패킷을 처리하는 인터페이스 부분으로 되어 있다. 즉, 주로 음성을 알맞은 알고리즘으로 네트워크 패킷화를 하는 구성으로 이루어져 있고 시리얼 포트에는 게이트웨이 자체의 유지 보수 진단이나 특정 값을 지정하는데 이용될 뿐 다른 방법으로 사용되지 않는다.The gateway generally includes an interface portion for processing network voice and an interface portion for processing network packet. In other words, it consists mainly of network packetization with a suitable algorithm for voice. The serial port is used only for maintenance diagnosis of the gateway itself or for specifying a specific value.

도 1은 종래의 게이트웨이의 동작 구성을 보여주는 이해도인데, 이를 참조하여 종래의 게이트웨이의 일반적인 동작을 살펴보고 이에 따른 운영상의 문제점을 살펴본다.1 is a view showing an operation configuration of a conventional gateway, with reference to this the general operation of the conventional gateway and looks at the operational problems accordingly.

음성 데이터(G.711, G723.1, G.729)가 RTP(Real Time Protocol)패킷으로 헤 더를 붙여서 이더넷 랜 포트(a)로 들어오면, CPU의 제어에 의해 음성 및 신호 패킷 처리부(b)에서 이를 VOICE 처리 또는 Signal 처리를 통해 다시 패킷화하여 알맞은 목적지로 패킷을 전송하게 되어 있다.When voice data (G.711, G723.1, G.729) enters the Ethernet LAN port (a) by attaching a header to a Real Time Protocol (RTP) packet, the voice and signal packet processing unit (b) is controlled by the CPU. ) Packetizes it again through VOICE processing or Signal processing to send the packet to the proper destination.

한편, 시리얼 파트 부분은 시리얼 포트(c)를 통해 시리얼로 데이터를 요구하거나 또는 시리얼로 데이터를 전송할 경우, 시리얼 포트로 들어오는 데이터를 시리얼 처리부(d)에서 알맞게 데이터를 처리한 후 다시 시리얼 포트를 통해 내보내게 된다.On the other hand, when the serial part requests data through the serial port (c) or transmits data through the serial, the serial part (d) processes the data appropriately for the data coming into the serial port, and then through the serial port again. Will be exported.

상기와 같이 종래의 게이트웨이에서는 랜 포트와 시리얼 포트가 각각 독립적으로 운영이 되고, 모두 외부 입출력 포트임에도 불구하고 시리얼 포트와 랜 포트의 연계 처리 부분이 없어서 좀 더 효용적인 기능의 게이트웨이 장비가 현재까지 제공되지 않고 있는 문제점이 있다.As described above, in the conventional gateway, the LAN port and the serial port operate independently, and despite the external I / O port, there is no connection processing part between the serial port and the LAN port, thus providing more efficient gateway equipment to date. There is a problem that is not.

또, 종래의 랜 포트가 없는 장비의 경우(교환기 내에 있는 국선 접속 카드 등)는 일반적으로 시리얼 포트만이 갖추어져 있는데, 이런 장비에 문제가 발생하거나 또는 장비 설치 시에는 시리얼로 접속을 하여 진단 또는 문제 추적을 하는 것이 일반적이라 할 수 있고, 이 경우 원격에서 시리얼로 문제가 있는 장비를 진단한다는 것은 현실적으로 불가능하다는 문제점이 발생한다.In the case of a device without a conventional LAN port (such as a CO line connection card in an exchange), only a serial port is generally provided. When a problem occurs with such a device or when a device is installed, a serial connection is used to diagnose or track a problem. In general, the problem arises that it is practically impossible to diagnose a problem device remotely via serial.

한편, 게이트웨이의 랜 포트를 통해 들어오는 이더넷 음성 패킷을 저장 수단에 저장을 할 필요가 있는 경우 게이트웨이와 시리얼 포트를 통해 시리얼로 연결되어 있는 저장수단에 저장하기 위해서는 일정한 시리얼 포트와 랜 포트 사이에서 연계 과정이 필요하는 운영상의 문제점을 남기고 있다.On the other hand, if it is necessary to store the Ethernet voice packet coming in through the LAN port of the gateway to the storage means, in order to store to the storage means connected to the serial through the gateway and the serial port linking process between a certain serial port and the LAN port This leaves behind the necessary operational problems.

본 발명은 상기와 같은 종래의 문제점을 해결하기 위하여 안출된 것으로, 게이트웨이에서 랜 포트를 통해 입출력되는 이더넷 패킷과 시리얼 포트를 통해 입출력되는 시리얼 데이터 사이에 교환이 가능하게 하기 위해 랜 포트와 시리얼 포트 사이에 연계 처리가 가능하게 하는 프로토콜 변환 방법을 제공하는데 그 목적이 있다.The present invention has been made to solve the above-mentioned conventional problems, between the LAN port and the serial port to enable the exchange between the Ethernet packet input and output through the LAN port and the serial data input and output through the serial port at the gateway. An object of the present invention is to provide a protocol conversion method for enabling cooperative processing.

또, 상기의 프로토콜 변환 방법을 이용하여 게이트웨이의 랜 포트를 통해 들어오는 이더넷 패킷을 게이트웨이의 시리얼 포트에 연결되어 있는 저장수단에 음성 데이터를 저장하게 하는 방법과, 원격에서 게이트웨이를 접속하여 게이트웨이의 시리얼 포트와 연결되어 있는 랜 포트가 존재하지 않는 장비의 유지 보수를 위한 진단 방법을 제공하는데 그 목적이 있다.In addition, the method for converting the voice packet to the storage means connected to the serial port of the gateway Ethernet packets coming through the LAN port of the gateway using the above protocol conversion method, and the gateway serial port by connecting the gateway from a remote Its purpose is to provide a diagnostic method for maintenance of equipment that does not have a LAN port connected to it.

상기와 같은 종래의 문제점을 해결하기 위해 제안된 본 발명인 게이트 웨이에서 프로토콜 변환 방법과 이를 이용한 음성 데이터 저장 방법 및 원격 진단 방법의 구성수단은,In the gateway of the present invention proposed to solve the conventional problems as described above, the configuration means of the voice data storage method and remote diagnostic method using the same,

프로토콜 변환 방법은, IP PBX 내에 설치된 게이트웨이에 있어서,The protocol conversion method is a gateway installed in an IP PBX.

랜 포트로 이더넷 패킷이 들어오면 이더넷 패킷이 지정된 통신 포트로 접속되어 입력되었는지를 확인하는 과정과, 상기 확인 결과 지정된 통신 포트로 입력되지 않았으면 음성 또는 신호 처리를 수행하고 지정된 통신 포트로 입력되면 저장 수단에 패킷을 순서대로 저장하는 과정과, 상기 저장 수단에 순서대로 저장된 이더 넷 패킷을 시리얼 포트로 보내는 과정으로 이루어진 이더넷 투 시리얼 변환 단계와;When the Ethernet packet enters the LAN port, it checks whether the Ethernet packet is connected to the designated communication port, and if it is not input to the designated communication port, performs voice or signal processing and stores it when input to the designated communication port. An Ethernet-to-serial conversion step of storing the packets in order in the means, and sending the Ethernet packets stored in the order in the storage means to the serial port;

시리얼 포트로 시리얼 데이터가 들어오면 시리얼 데이터가 지정된 통신 포트로 접속되어 입력되었는지를 확인하는 과정과, 상기 확인 결과 지정된 통신 포트로 입력되지 않았으면 진단 또는 추적 등을 수행하고 지정된 통신 포트로 입력되면 저장 수단에 시리얼 데이터를 순서대로 저장하는 과정과, 상기 저장 수단에 순서대로 저장된 시리얼 데이터를 랜 포트로 보내는 과정을 이루어진 시리얼 투 이더넷 변환 단계;로 구성된 것을 특징으로 하고,When the serial data comes in through the serial port, a process of checking whether the serial data is connected to the designated communication port and confirming that the serial data is not inputted to the designated communication port is performed. And a serial-to-Ethernet conversion step of storing serial data in the means in order and sending the serial data stored in the order in the storage means to the LAN port.

상기 이더넷 투 시리얼 변환 단계 및 시리얼 투 이더넷 변환 단계에서 랜 포트로 이더넷 패킷이 들어오거나 또는 시리얼 포트로 시리얼 데이터가 들어오면, 각 패킷과 데이터가 지정된 통신 포트로 접속되었는지 판단하는 과정을 수행하기 위하여 인터럽트가 발생하는 것을 특징으로 하고,In the Ethernet-to-serial conversion step and the serial-to-Ethernet conversion step, when an Ethernet packet comes into the LAN port or serial data comes into the serial port, an interrupt is performed to determine whether each packet and data are connected to a designated communication port. Characterized in that occurs,

상기 패킷 또는 데이터가 지정된 통신 포트로 입력되어 저장 수단에 순서대로 저장하는 것은 이더넷 타스크 또는 시리얼 타스크의 작동에 의해 이루어지는 것을 특징으로 하고, Characterized in that the packet or data is input to the designated communication port and stored in the storage means in order by the operation of the Ethernet task or serial task,

상기 이더넷 투 시리얼 변환 단계에서 저장 수단에 순서대로 저장된 이더넷 패킷을 시리얼 포트로 보내는 과정은,In the Ethernet-to-serial conversion step, the process of sending the Ethernet packets stored in the storage means in the serial port,

시리얼 인터럽트가 발생하는 과정과, 시리얼 타스크의 작동에 의하여 저장 수단에 저장되어 있던 데이터를 시리얼 포트로 보내는 과정을 포함하여 이루어진 것을 특징으로 하며,And a process of generating a serial interrupt and sending the data stored in the storage means to the serial port by the operation of the serial task.

상기 시리얼 투 이더넷 변환 단계에서 저장 수단에 순서래로 저장된 시리얼 데이터를 랜 포트로 보내는 과정은,In the serial-to-Ethernet conversion step, the serial data stored in the storage means in order to the LAN port is

이더넷 인터럽트가 발생하는 과정과, 이더넷 타스크의 작동에 의하여 저장 수단에 저장되어 있던 패킷을 랜 포트로 보내는 과정을 포함하여 이루어진 것을 특징으로 한다.And a process of generating an Ethernet interrupt and sending a packet stored in the storage means to the LAN port by the operation of the Ethernet task.

한편, 게이트 웨이에서 프로토콜을 이용한 음성 데이터 저장 방법의 구성수단은,On the other hand, the configuration means of the voice data storage method using a protocol in the gateway,

내선 가입자가 IP 패킷화된 통화 음성을 저장 매체에 저장하기 위해 저장 시작 기능 버튼을 눌러 저장 시작 정보를 중앙 처리 IP 모듈로 전달하게 하는 1단계와;A step of causing the extension subscriber to press the start storage function button to transmit the start storage information to the central processing IP module to store the IP packetized call voice in the storage medium;

상기 저장 시작 정보를 받은 중앙 처리 IP 모듈이 게이트 웨이에 음성 저장을 시작하라는 이벤트 패킷을 보내는 2단계와;Sending, by the central processing IP module receiving the storage start information, an event packet to start voice recording to a gateway;

상기 이벤트 패킷을 랜 포트를 통해 받은 게이트 웨이가 저장 수단에 음성 데이터 저장을 위해 필요한 PC 어플리케이션 소프트웨어와 미리 지정한 명령 데이터를 시리얼 포트로 보내는 3단계와;A third step of the gateway receiving the event packet through the LAN port and sending PC application software and predetermined command data necessary for storing voice data to a storage port to a serial port;

상기 시리얼 포트를 통해 저장 수단에 보내어진 PC 어플리케이션 소프트웨어가 실행되어 음성 데이터가 오기를 기다리는 4단계와;Four steps of executing PC application software sent to the storage means through the serial port and waiting for voice data to come;

상기 4단계 이후 게이트웨이가 랜 포트를 통해 들어오는 음성 패킷을 프로토콜 변환 방법에 의해 시리얼 데이터로 변환시켜 시리얼 포트로 보내는 5단계와;A fifth step of the gateway converting the voice packet coming through the LAN port into serial data by a protocol conversion method and sending it to the serial port;

상기 시리얼 포트를 통해 받은 데이터를 PC 어플리케이션 소프트웨어의 실행 에 의해 파일에 기록하는 6단계와;6 steps of writing data received through the serial port to a file by executing PC application software;

상기 시리얼 포트를 통해 들어오는 음성 패킷을 저장을 계속 하다가 저장 종료 명령 데이터가 PC에 전달되면 PC 어플리케이션 소프트웨어가 데이터 저장을 종료하는 7단계를 포함하여 이루어진 것을 특징으로 하고,And continuing to store the voice packet received through the serial port and ending the data storage by the PC application software when the storage end command data is transmitted to the PC.

상기 7단계의 저장 종료 단계는 내선 가입자가 통화를 끝나게 되면 통화 종료 이벤트 패킷이 중앙 처리 IP 모듈에 보내어지는 과정과, 중앙 처리 IP 모듈이 게이트웨이에게 통화 종료 패킷을 전달하면 게이트웨이가 시리얼 포트로 저장 종료 명령 데이터를 보내는 과정을 포함하는 것을 특징으로 한다.In the storing end step of the step 7, when the extension subscriber ends the call, the call termination event packet is sent to the central processing IP module, and when the central processing IP module delivers the call termination packet to the gateway, the gateway ends storing the serial port. And sending the command data.

한편, 게이트웨이에서 프로토콜을 이용한 원격 진단 방법의 구성은,On the other hand, the configuration of the remote diagnostic method using the protocol in the gateway,

관리자가 TCP/IP 통신을 통해 게이트웨이의 TCP 포트에 접속하는 1단계와;The first step of the administrator connecting to the TCP port of the gateway through TCP / IP communication;

상기 TCP 포트로 접속이 되는 경우 게이트웨이가 시리얼 포트로의 전환임을 감지하는 2단계와; Detecting that the gateway is switched to a serial port when the TCP port is connected;

상기 2단계 이후 관리자가 자신이 원하는 장치의 진단을 위해 해당 명령어를 입력하는 3단계와;A third step of inputting a corresponding command for diagnosing a desired device by the administrator after the second step;

상기 명령어는 이더넷 패킷으로 게이트웨이에 전달되고 프로토콜 변환 방법에 의해 시리얼 데이터로 변환되어 시리얼 포트로 출력하는 4단계와;The command is transmitted to the gateway as an Ethernet packet, and is converted into serial data by a protocol conversion method and outputted to a serial port;

상기 시리얼 데이터로 변환된 명령어가 진단될 장치의 시리얼 포트로 들어와서 해당되는 진단을 하는 5단계;를 포함하여 이루어진 것을 특징으로 하고,And entering into the serial port of the device to be diagnosed by the command converted into the serial data to perform a corresponding diagnosis;

상기 5단계에서 진단될 장치가 진단을 한 다음 진단 결과를 시리얼 포트로 출력하면, 게이트웨이에서 시리얼 포트로 받은 진단 결과를 프로토콜 변환 방법에 의해 이더넷 패킷으로 변환되어 운영자에게 전달되는 단계를 더 포함하여 이루어진 것을 특징으로 한다.If the device to be diagnosed in step 5 performs the diagnosis and then outputs the diagnosis result to the serial port, further comprising the step of converting the diagnostic result received from the gateway to the serial port into an Ethernet packet by a protocol conversion method and delivered to the operator It is characterized by.

이하 도면을 참조하여 본 발명의 구성수단의 작용과 함께 본 발명의 바람직한 실시예를 상세히 설명한다.DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with the operation of the structural means of the present invention with reference to the drawings.

도 2는 본 발명인 프로토콜 변환 방법의 절차 흐름도이고, 도 3은 본 발명인 프로토콜 변환 방법을 이용한 음성 데이터 저장 방법의 시스템 환경도이고, 도 4는 본 발명인 프로토콜 변환 방법을 이용한 음성 데이터 저장 방법의 절차 흐름도이고, 도 5는 본 발명인 프로토콜 변환 방법을 이용한 원격 진단 방법의 시스템 환경도이고, 도 6은 본 발명인 프로토콜 변환 방법을 이용한 원격 진단 방법의 절차 흐름도이다.2 is a flowchart illustrating a method for converting a protocol of the present invention, FIG. 3 is a system environment diagram of a method for storing voice data using the protocol conversion method of the present invention, and FIG. 4 is a flowchart illustrating a method for storing voice data using a protocol conversion method of the present invention. 5 is a system environment diagram of a remote diagnosis method using the protocol conversion method of the present invention, and FIG. 6 is a flow chart of a remote diagnosis method using the protocol conversion method of the present invention.

우선 도 2를 참조하여 본 발명 중 하나이면서 또 다른 발명인 음성 데이터 저장 방법 및 원격 진단 방법에서 이용되는 프로토콜 변환 방법의 바람직한 실시예를 살펴본다.First, a preferred embodiment of the protocol conversion method used in the voice data storage method and the remote diagnosis method, which is one of the present inventions and another invention, will be described with reference to FIG. 2.

도 2의 (a)는 이더넷 패킷을 시리얼 데이터로 변환하는 방법(이하, "이더넷(Ethernet) 투(to) 시리얼(Serial) 변환"이라 함)의 절차 흐름을 보여주는 것인데, 일단 게이트 웨이의 랜 포트를 통해서 이더넷 패킷이 입력이 된다(S10)(이하, 랜 포트로 들어온 '패킷'을 시리얼 포트로 보내기 위해 프로토콜 변환된 것을 '데이터'로 정의한다).FIG. 2 (a) shows a procedure flow of a method of converting an Ethernet packet into serial data (hereinafter referred to as "Ethernet to Serial Conversion"). Ethernet packet is input through S10 (hereinafter, the protocol converted to send a 'packet' entered into the LAN port to the serial port is defined as 'data').

상기 게이트웨이의 랜 포트를 통해서 들어온 이더넷 패킷을 시리얼 데이터로 변환하기 위한 일련의 동작을 수행하기 위해 패킷이 도착하면 인터럽트가 걸린다(S11)(이하, 패킷 도착 인터럽트라 정의 함). 그러면, 미리 약속되어 지정된 포트로 패킷이 도착하였는지 판단을 한다(S12).When the packet arrives to perform a series of operations for converting the Ethernet packet through the LAN port of the gateway into serial data, an interrupt is applied (S11) (hereinafter, referred to as a packet arrival interrupt). Then, it is determined whether a packet arrives at a predetermined port in advance (S12).

즉, 미리 약속되어 지정된 포트로 들어온 경우에만 프로토콜 변환 기능이 작동을 하고 지정된 포트 이외의 포트로 이더넷 패킷이 들어온 경우에는 일반적인 게이트웨이의 동작을 수행하겠다는 의미이다.This means that the protocol conversion function works only when the port is entered in advance, and the Ethernet packet enters the port other than the designated port.

상기 판단 결과, 미리 약속되어 지정된 포트로 이더넷 패킷이 들어오지 않은 경우에는 일반적인 게이트웨이의 동작처럼 음성 처리 또는 신호 처리를 수행하고(S13), 미리 약속되어 지정된 포트로 이더넷 패킷이 들어온 경우에는 프로토콜 변환 기능이 작동을 한다.As a result of the determination, when the Ethernet packet does not enter the predetermined port in advance, voice processing or signal processing is performed as in the operation of a general gateway (S13). When the Ethernet packet enters the predetermined port, the protocol conversion function is performed. It works.

상기 지정된 포트로 들어온 이더넷 패킷은 이더넷 타스크의 동작에 의해 시리얼 저장 수단(이더넷 패킷을 시리얼 데이터로 변환하는 동작에 사용되는 저장 수단을 의미함)에 순서대로 계속적으로 저장이 된다. 이더넷 타스크란 프로토콜 변환 기능을 수행하는 것으로서 랜 포트로 들어오는 이더넷 패킷을 지속적으로 동작을 하면서 시리얼 저장 수단에 저장하는 동작을 하는 타스크를 말한다(S14).The Ethernet packet entering the designated port is continuously stored in the serial storage means (meaning the storage means used for converting the Ethernet packet into serial data) by the operation of the Ethernet task. The Ethernet task refers to a task that performs a protocol conversion function and performs an operation of storing an Ethernet packet coming into a LAN port in a serial storage means while continuously operating (S14).

상기 저장 수단이란 일반적인 메모리가 될 수 있을 것이며, 레지스터나 버퍼의 개념으로 해석 될 수 있을 것이다.The storage means may be a general memory, and may be interpreted as a register or a buffer.

상기 시리얼 저장 수단에 계속적으로 저장된 이더넷 패킷을 시리얼 데이터로 변환하여 시리얼 포트로 보내기 위한 동작을 수행하기 위해 시리얼 인터럽트가 발생한다(S15).A serial interrupt is generated to perform an operation for converting the Ethernet packet continuously stored in the serial storage means into serial data and sending it to the serial port (S15).

상기 시리얼 인터럽트가 발생하면 시리얼 타스크의 동작에 의해 상기 시리얼 저장 수단에 저장된 패킷을 순서대로 시리얼 포트로 전달을 한다. 시리얼 타스크란 시리얼 저장 수단에 있는 이더넷 패킷을 시리얼 포트로 순서대로 전달하는 동작을 하는 타스크를 말한다(S16).When the serial interrupt occurs, the packets stored in the serial storage means are transferred to the serial port in order by the operation of the serial task. The serial task refers to a task that performs an operation of sequentially transferring Ethernet packets in the serial storage means to the serial port (S16).

다음은, 상기와 같이 이더넷 투 시리얼 변환에 의해 시리얼 포트로 전달된 시리얼 데이터가 특정 장치에서 해당 기능을 수행한 다음 다시 특정 데이터를 게이트웨이에 전달하게 되는 경우에 관련되는 프로토콜 변환 방법을 살펴본다.Next, the protocol conversion method related to the case where the serial data transferred to the serial port by the Ethernet-to-serial conversion as described above performs a corresponding function in the specific device and then delivers the specific data to the gateway again.

도 2의 (b)는 게이트웨이의 시리얼 포트로 입력되는 시리얼 데이터를 게이트웨이에서 프로토콜 변환 방법에 의해 랜 포트에 의해 외부로 전달되는 이더넷 패킷으로 변환하는 방법(이하, "시리얼 투 이더넷 변환"이라 함)에 관한 절차 흐름을 보여주는 것이다.Figure 2 (b) is a method of converting the serial data input to the serial port of the gateway into an Ethernet packet transmitted to the outside by the LAN port by the protocol conversion method (hereinafter referred to as "serial to Ethernet conversion") Shows the flow of the procedure.

외부로부터 시리얼로 게이트웨이의 시리얼 포트로 시리얼 데이터가 입력이 되면, 시리얼 투 이더넷 변환의 프로토콜 변환을 하기 위해 시리얼 데이터가 도착했음을 알리는 인터럽트가 발생한다(S20~S21).When serial data is input to the serial port of the gateway from the outside to the serial, an interrupt indicating that the serial data has arrived for protocol conversion of the serial to Ethernet conversion occurs (S20 to S21).

상기 인터럽트가 발생한 다음, 미리 약속되어 있는 지정된 시리얼 포트로 시리얼 데이터가 입력되었는지 판단을 하여 지정된 시리얼 포트로 입력되지 않은 경우에는 일반적인 게이트웨이의 동작을 수행한다(S22~S23)(진단 및 추적을 수행한다).After the interrupt is generated, it is determined whether the serial data is input to the designated serial port, which is reserved in advance, and when the serial data is not input to the designated serial port, the operation of the general gateway is performed (S22 to S23). ).

상기 판단 결과 지정된 시리얼 포트로 시리얼 데이터가 입력이 되는 경우에는 시리얼 투 이더넷 변환의 프로토콜 변환 기능을 수행하므로, 시리얼 타스크의 동작 수행에 의해 지정된 시리얼 포트로 입력된 시리얼 데이터를 이더넷 저장 수단에 순서대로 계속 저장을 한다(S24).If the serial data is input to the designated serial port as a result of the determination, the protocol conversion function of serial-to-Ethernet conversion is performed. Therefore, serial data inputted to the designated serial port by the operation of the serial task continues in order to the Ethernet storage means. Save (S24).

상기 시리얼 타스크는 시리얼 투 이더넷 변환의 프로토콜 변환 기능에서 시리얼 포트로 들어오는 시리얼 데이터를 계속해서 이더넷 저장 수단에 순서대로 저장하는 동작을 하는 타스크이며, 상기 저장 수단이란 일반적으로 메모리를 의미하며 레지스터나 버퍼가 한 예라고 볼 수 있다.The serial task is a task for continuously storing serial data coming into the serial port in the Ethernet storage means in order in the protocol conversion function of serial-to-Ethernet conversion. The storage means generally means a memory, and a register or buffer This is an example.

상기 이더넷 저장 수단에 저장된 시리얼 데이터를 이더넷 패킷으로 변환하여 랜 포트로 출력하는 동작을 수행하기 위하여 이더넷 인터럽트를 발생하고, 이더넷 인터럽트가 발생하면 이더넷 타스크의 동작 수행에 의해 이더넷 저장 수단에 저장되어 있는 시리얼 데이터를 이더넷 패킷으로 랜 포트로 출력한다(S25~S26).Generates an Ethernet interrupt to convert the serial data stored in the Ethernet storage means into an Ethernet packet and outputs it to the LAN port, and when the Ethernet interrupt occurs, the serial stored in the Ethernet storage means by performing an operation of the Ethernet task. Output data to LAN port as Ethernet packet (S25 ~ S26).

상기 이더넷 타스크는 이더넷 저장 수단에 저장되어 있는 이더넷 패킷을 지속적으로 랜 포트로 출력하기 위해 동작을 수행하는 타스크이다.The Ethernet task is a task that performs an operation to continuously output the Ethernet packet stored in the Ethernet storage means to the LAN port.

이상과 같은 이더넷 투 시리얼 변환과 시리얼 투 이더넷 변환으로 구성되어 있는 프로토콜 변환 방법에 의하여 게이트웨이에서 랜 포트와 시리얼 포트를 연계하여 효용적인 게이트웨이로서 동작을 수행할 수 있다.By the protocol conversion method consisting of the Ethernet-to-serial conversion and the serial-to-Ethernet conversion as described above, the gateway can operate as an effective gateway by connecting the LAN port and the serial port.

다음은, 도 3과 도 4를 참조하여 상기에서 설명한 프로토콜 변환 방법을 이용한 음성 데이터 저장 방법에 관한 실시예를 상세히 설명한다.Next, an embodiment of a voice data storage method using the protocol conversion method described above with reference to FIGS. 3 and 4 will be described in detail.

도 3에서 보여주는 것처럼 IP 폰 내선 가입자(1)와 외부 통화자간(2)에 게이트웨이(4)를 통해서 서로 통화를 하고자 한다. 이때 내선 가입자의 음성은 네트워 크 패킷(6)으로 변환되어 게이트웨이(4)의 랜 포트(7)를 통해 도착하게 된다.As shown in FIG. 3, an IP phone extension subscriber 1 and an external caller 2 want to talk to each other through a gateway 4. At this time, the voice of the extension subscriber is converted into a network packet 6 and arrives through the LAN port 7 of the gateway 4.

상기 패킷(6)은 게이트웨이(4)에 의해 아날로그 음성신호(9)화 하여 PSTN 인터페이스부로 보내어져 외부 통화자(2)와 통화를 하게 되고, 반대로 외부 통화자의 아날로그 음성 신호를 PSTN 인터페이스부에서 받아 RTP 네트워크로 패킷화되어 내선 가입자의 최종 목적지로 라우팅 되어 통화를 하게 된다.The packet 6 is converted into an analog voice signal 9 by the gateway 4 and sent to the PSTN interface unit to make a call with the external caller 2. On the contrary, the analog voice signal of the external caller is received from the PSTN interface unit. Packetized over the RTP network, routed to the final destination of the station subscriber to make a call.

상기 통화 진행 중에 통화 내용을 일정한 저장 수단에 저장하기 위한 실시예를 도 4를 참조하여 계속 설명한다.An embodiment for storing the contents of a call in a predetermined storage means while the call is in progress will be described with reference to FIG. 4.

먼저, 내선 가입자가 IP 패킷화된 통화 음성을 시리얼 포트로 보내서 PC의 저장 수단에 통화 내용을 저장하기 위하여 통화 내용 저장 시작의 기능 버튼을 누른다(S30). 그러면, 기능 버튼을 눌렀다는 정보가 패킷화되어 중앙 처리 IP 모듈로 전달된다(S31).First, the extension subscriber presses the function button of the start of the call storage to send the IP packetized call voice to the serial port and store the call in the storage means of the PC (S30). Then, the information that the function button is pressed is packetized and transmitted to the central processing IP module (S31).

상기 저장 시작 기능 버튼 누름의 정보를 가지고 있는 패킷을 입력받은 중앙 처리 IP 모듈은 상기 패킷을 분석하여, 패킷 정보가 음성 저장을 요구하고 있다고 판단 해석되면 게이트웨이에게 IP 내선 가입자와 외부 통화자가 하는 음성 통화 내용의 데이터의 저장을 시작하라는 이벤트(Event) 패킷을 만들어 보낸다(S32).The central processing IP module, which has received the packet having the information of the storage start function button press, analyzes the packet, and if it is determined that the packet information is required for voice storage, the voice call made by the IP extension subscriber and the external caller to the gateway. Creates and sends an event packet to start the storage of the data of the content (S32).

상기 이벤트 패킷을 랜 포트를 통해서 전달받은 게이트웨이는 PC의 저장수단에 음성 데이터 저장을 시작하기 위하여 시리얼 포트를 통하여 PC 어플리케이션 소프트웨어와 미리 지정한 명령 데이터를 만들어 시리얼 포트를 통해 연결되어 있는 PC에게 보낸다(S33).The gateway, having received the event packet through the LAN port, generates predetermined command data with the PC application software through the serial port and starts sending the data to the PC connected through the serial port in order to start storing voice data in the storage means of the PC (S33). ).

그런 다음, 음성 데이터 저장 시작에 해당하는 이벤트 데이터를 보내게 된 다. 상기 PC는 미리 가동이 되어있고 PC 시리얼 포트도 초기화가 되어있는 상태에서 게이트웨이의 시리얼 포트로부터 음성 데이터 저장 시작에 해당하는 이벤트 데이터가 도착하면 파일을 열고 음성 데이터 저장 준비를 하고 있는 것이다(S34).Then, the event data corresponding to the start of storing voice data is sent. When the PC is activated in advance and event data corresponding to the start of voice data storage arrives from the serial port of the gateway while the PC serial port is also initialized, the PC opens a file and prepares to store voice data (S34).

상기와 같은 상황에서 IP 내선 가입자와 외부 통화자는 계속 통화를 하고 있을 것이고, 상기 통화 내용은 게이트웨이를 통하여 전달되고 있을 것이다.In such a situation, the IP extension subscriber and the external caller will continue to talk, and the call contents will be delivered through the gateway.

상기 게이트웨이는 상기 PC에서 저장 준비가 완료되어 음성 데이터를 기달리고 있는 이후에 게이트웨이의 랜 포트를 통하여 들어오는 통화 음성 패킷을 프로토콜 변환 방법(이더넷 투 시리얼)에 의해 시리얼 데이터로 변환을 하여 시리얼 포트로 전송한다(S35~S36).After the gateway is ready to store the data in the PC and waits for the voice data, the gateway converts the voice packets received through the LAN port of the gateway into serial data by a protocol conversion method (Ethernet to Serial) and transmits them to the serial port. (S35 to S36).

상기 시리얼 포트를 통해 보내어진 시리얼 데이터(음성 데이터)를 PC의 시리얼 포트에서 전달받으면 PC 어플리케이션 소프트웨어의 동작에 의해 저장수단의 파일에 음성 데이터가 기록 저장된다(S37). 이후, IP 내선 가입자와 외부 통화자의 통화가 계속되면 음성 통화 데이터가 계속해서 파일에 기록되면서 음성 데이터 저장 종료에 해당하는 명령어가 들어 올 때까지 지속된다(S38).When the serial data (voice data) transmitted through the serial port is received from the serial port of the PC, voice data is recorded and stored in a file of the storage means by the operation of the PC application software (S37). Subsequently, if the call of the IP extension subscriber and the external caller continues, voice call data is continuously recorded in the file and continues until a command corresponding to the end of voice data storage is received (S38).

상기 음성 데이터 저장 동작이 계속 수행되는 과정에 IP 내선 가입자가 통화를 끝내게 되면 발생하는 통화가 끝났다는 이벤트 패킷을 중앙 처리 IP 모듈에 보내거나 또는 음성 데이터 저장 종료 기능 버튼을 누른 경우에 저장 종료 기능 버튼 누름의 이벤트 패킷을 중앙 처리 IP 모듈에 전달한다(S39).If the IP extension subscriber ends the call while the voice data storage operation is continuously performed, the event signal for ending the call is sent to the central processing IP module or the voice data storage end function button is pressed. The event packet of the press is transmitted to the central processing IP module (S39).

상기 통화 종료 이벤트 패킷을 전달받은 중앙 처리 IP 모듈은 게이트웨이에게 통화가 종료되었다는 정보의 패킷(음성 데이터 저장 종료 명령 패킷)을 전달하 고, 상기 게이트웨이는 시리얼 포트로 음성 데이터 저장 종료를 알리는 미리 지정한 명령 데이터를 만들어 보낸다(S40~S41).The central processing IP module receiving the call termination event packet transmits a packet (voice data storage termination command packet) of the information indicating that the call is terminated to the gateway, and the gateway sends a predetermined command to notify the serial port of the termination of voice data storage. Create and send data (S40 ~ S41).

상기 시리얼 포트로부터 음성 데이터 저장 종료 명령 데이터를 전달받은 PC는 PC 어플리케이션 소프트웨어의 동작에 의해 음성 데이터 저장을 종료하고 데이터 저장 파일을 닫는다(S42).Upon receiving the voice data storage end command data from the serial port, the PC terminates the voice data storage by the operation of the PC application software and closes the data storage file (S42).

이상과 같이 게이트웨이에서 프로토콜 변환 방법(이더넷 투 시리얼 변환)에 의해 음성 통화 데이터를 게이트웨이의 시리얼 포트로 보내 저장수단이 있는 PC에 저장할 수 있다.As described above, the voice call data can be sent to the serial port of the gateway by a protocol conversion method (Ethernet-to-serial conversion) at the gateway, and stored in a PC having a storage means.

다음은, 도 5와 도 6을 참조하여 본 발명의 하나인 프로토콜 변환 방법을 이용한 원격 진단 방법에 관한 바람직한 실시예를 상세히 설명한다.Next, with reference to Figures 5 and 6 will be described in detail a preferred embodiment of a remote diagnostic method using a protocol conversion method of one of the present invention.

도 5를 보면 네트워크 기능이 없는(랜 포트가 없는) 교환기 내의 특정 장치들(55)의 상태나 문제 발생시 진단을 하기 위해서 같은 교환기 내에 설치된 게이트웨이(52)의 시리얼 포트(54)와 특정 장치의 시리얼 포트를 시리얼 라인(56)으로 연결하여 놓았다.5, the serial port 54 of the gateway 52 and the serial port of the specific device installed in the same exchange to diagnose the status or problems of the specific devices 55 in the exchange without the network function (the LAN port is not present). The port is connected to the serial line 56.

이 상태에서 원격으로 관리자가 PC(50)를 이용하여 게이트웨이(52)의 랜 포트(53)로 접속하여 게이트웨이(52)에서 프로토콜 변환 방법을 이용하여 진단 대상인 특정 장비(55)에게로 시리얼로 일정한 명령어를 전달하게 하여 원격 진단을 할 수 있다.In this state, the administrator remotely connects to the LAN port 53 of the gateway 52 by using the PC 50, and serially sets the gateway 52 to a specific device 55 to be diagnosed using a protocol conversion method. Remote diagnostics can be made by passing a command.

도 6을 참조하여 상기의 시스템 환경에서 프로토콜 변환 방법을 이용한 원격 진단 방법에 관한 바람직한 실시예를 상세히 설명한다.Referring to Figure 6 will be described in detail a preferred embodiment of the remote diagnostic method using the protocol conversion method in the above system environment.

일단 관리자가 원격으로 장비를 진단하기 위하여 관리자의 PC를 가동시키고 통신이 가능하게 하기 위해 통신 소프트웨어를 실행시키고 진단 대상이 되는 장비와 시리얼로 연결되어 있는 게이트웨이에 접속을 한다. 이 경우 통신 접속은 TCP/IP 통신을 통해 게이트웨이의 TCP 포트로 접속을 한다(원격지에 있는 게이트웨이의 IP 어드레스와 미리 약속되어 지정된 통신 포트로 접속한다)(S60~S61).Once the administrator runs the administrator's PC to diagnose the device remotely, run the communication software to enable communication and connect to the gateway connected serially with the device to be diagnosed. In this case, the communication connection is made to the TCP port of the gateway via TCP / IP communication (to the communication port designated in advance with the IP address of the gateway at the remote place) (S60 to S61).

상기 관리자에 의해 접속 시도가 있어 접속 요구를 받은 게이트웨이는 접속이 미리 약속되어 지정된 TCP 포트로 접속된 것을 확인한 경우에는 시리얼 포트 전환을 위한 접속임을 감지하고, 들어오는 패킷을 시리얼로 변환하여 시리얼 포트로 전달할 준비를 하고 있는다(S62~S63).When the gateway receives an access request by the administrator and confirms that the connection is made to the designated TCP port in advance, the gateway detects that the connection is for serial port switching, converts the incoming packet to serial, and delivers it to the serial port. I am preparing (S62 ~ S63).

이 상태에서 관리자(랜 포트가 없는 장비를 개발한 자)는 진단될 장비에 대해 자신이 원하는 진단 기능 또는 문제점 추적을 위한 명령어를 입력하면, 이 명령어는 인터넷을 통하여 게이트웨이에 이더넷 패킷으로 전달된다(S64~S65).In this state, the administrator (who developed a device without a LAN port) inputs a diagnostic function or a problem tracking command for the device to be diagnosed, and the command is transmitted as an Ethernet packet to the gateway through the Internet ( S64 ~ S65).

상기 게이트웨이로 입력된 이더넷 패킷은 게이트웨이의 프로토콜 변환 방법에 의해 시리얼 데이터로 변환되고, 이 변환된 시리얼 데이터는 시리얼 포트로 출력된다(S66~S67).The Ethernet packet inputted to the gateway is converted into serial data by the protocol conversion method of the gateway, and the converted serial data is output to the serial port (S66 to S67).

상기 게이트웨이의 시리얼 포트로 출력되는 명령어에 해당하는 시리얼 데이터는 진단될 장치의 시리얼 포트로 입력되어 명령어에 해당하는 기능들을 동작 수행을 한 후, 상기 수행 결과를 진단될 장치의 시리얼 포트를 통하여 출력하면, 게이트웨이의 시리얼 포트는 상기 진단 결과인 시리얼 데이터를 받는다(S68).When the serial data corresponding to the command output to the serial port of the gateway is input to the serial port of the device to be diagnosed and performs functions corresponding to the command, and outputs the execution result through the serial port of the device to be diagnosed. The serial port of the gateway receives serial data as a result of the diagnosis (S68).

상기 진단 결과인 시리얼 데이터를 받은 게이트웨이는 프로토콜 변환 방법을 통해 상기 시리얼 데이터를 랜 포트를 통해 전달될 수 있도록 이더넷 패킷으로 변환을 하여 관리자에게 전달한다(S69~S70).The gateway receiving the serial data as the diagnosis result converts the serial data into an Ethernet packet so that the serial data can be transmitted through the LAN port and transmits the serial data to the administrator (S69 to S70).

상기 전달된 진단 결과를 보고 관리자는 진단 파악을 하여 필요한 조치를 취할 수 있을 것이다(S71). By viewing the delivered diagnosis result, the administrator may grasp the diagnosis and take necessary measures (S71).

상기와 같은 구성작동과 실시예를 가지는 본 발명에 의하면, 프로토콜 변환 방법을 제공함에 따라 게이트웨이에서 랜 포트와 시리얼 포트를 연계하여 향상된 효율성 있는 게이트웨이를 제공할 수 있는 효과가 있다.According to the present invention having the configuration operation and embodiment as described above, by providing a protocol conversion method has an effect that can provide an improved efficient gateway by connecting the LAN port and the serial port in the gateway.

또, 프로토콜 변환 방법에 의해, 현 교환기가 진보되면서 네트워크(랜 포트)가 들어가는 게이트웨이나 접속 보드의 개발에 의해 통신 포트가 시리얼 포트와 랜 포트로 확장된 사례가 많고 기존의 이미 개발된 보드의 경우 시리얼 포트만이 존재하므로 기존 보드들 또한 랜 포트가 있는 것처럼 동작할 수 있도록 하는 효과가 있다.In addition, by the protocol conversion method, the communication switch has been extended to the serial port and the LAN port by the development of a gateway or access board into which a network (LAN port) enters as the current exchange is advanced. Since only a serial port exists, existing boards also have the effect of operating as if they had a LAN port.

또한, 기존 보드를 마치 랜 포트가 있는 듯이 동작할 수 있도록 게이트웨이와 기존 보드간에 시리얼 포트를 연결한다면 랜 포트가 없는 접속 보드 역시 원격 진단을 할 수 있고 기존 보드를 개발한 엔지니어가 보드의 진단이 필요할 때 유용하게 사용될 수 있어 원격 진단, 추적이 용이하게 되는 효과가 있다.In addition, if a serial port is connected between the gateway and the existing board to operate the existing board as if it is a LAN port, the access board without the LAN port can also be remotely diagnosed and the engineer who developed the existing board needs to diagnose the board. It can be usefully used for remote diagnosis and tracking.

한편, 교환기에서 랜 포트의 사용은 VOIP(Voice Over IP) 호 처리의 사용이 대다수를 차지하므로 패킷화된 음성의 저장이 필요할 때 특별한 장비 없이 시리얼 로 PC의 저장 매체에 데이터를 릴레이 함으로써 중요한 통화 내용을 PC에 저장할 수 있게 되어 차후 문제 발생시 증거 자료로 남길 수 있는 효과가 있다. On the other hand, the use of LAN port in the exchange is the majority of the use of Voice Over IP (VOIP) call processing, so when a packetized voice needs to be stored, serial data is relayed to the storage medium of the PC without any special equipment. Can be stored on a PC, which can be used as evidence for future problems.

Claims (9)

(정정)(correction) IP PBX 내에 설치된 게이트웨이에 있어서,In a gateway installed within an IP PBX, 랜 포트로 이더넷 패킷이 들어오면 이더넷 패킷이 지정된 통신 포트로 접속되어 입력되었는지를 확인하는 과정과, 상기 확인 결과 지정된 통신 포트로 입력되지 않았으면 음성 또는 신호 처리를 수행하고 지정된 통신 포트로 입력되면 저장 수단에 패킷을 순서대로 저장하는 과정과, 상기 저장 수단에 순서대로 저장된 이더넷 패킷을 시리얼 포트로 보내는 과정으로 이루어진 이더넷 투 시리얼 변환 단계와;When the Ethernet packet enters the LAN port, it checks whether the Ethernet packet is connected to the designated communication port, and if it is not input to the designated communication port, performs voice or signal processing and stores it when input to the designated communication port. An Ethernet-to-serial conversion step of storing the packets in order in the means, and sending the Ethernet packets stored in the order in the storage means to the serial port; 시리얼 포트로 시리얼 데이터가 들어오면 시리얼 데이터가 지정된 통신 포트로 접속되어 입력되었는지를 확인하는 과정과, 상기 확인 결과 지정된 통신 포트로 입력되면 저장 수단에 시리얼 데이터를 순서대로 저장하는 과정과, 상기 저장 수단에 순서대로 저장된 시리얼 데이터를 랜 포트로 보내는 과정을 이루어진 시리얼 투 이더넷 변환 단계;로 구성된 것을 특징으로 하는 게이트 웨이에서 프로토콜 변환 방법.When serial data is input through the serial port, checking whether the serial data is connected to the designated communication port and inputting the serial data; Serial-to-Ethernet conversion step of sending the serial data stored in order in the LAN port; Protocol conversion method in the gateway comprising a. 청구항 1에 있어서,The method according to claim 1, 상기 이더넷 투 시리얼 변환 단계 및 시리얼 투 이더넷 변환 단계에서 랜 포트로 이더넷 패킷이 들어오거나 또는 시리얼 포트로 시리얼 데이터가 들어오면, 각 패킷과 데이터가 지정된 통신 포트로 접속되었는지 판단하는 과정을 수행하기 위하 여 인터럽트가 발생하는 것을 특징으로 하는 게이트 웨이에서 프로토콜 변환 방법.In the Ethernet-to-serial conversion step and the serial-to-Ethernet conversion step, when an Ethernet packet comes into the LAN port or serial data comes into the serial port, a process for determining whether each packet and data is connected to a designated communication port is performed. A protocol conversion method in a gateway, characterized in that an interrupt occurs. 청구항 1에 있어서,The method according to claim 1, 상기 패킷 또는 데이터가 지정된 통신 포트로 입력되어 저장 수단에 순서대로 저장하는 것은 이더넷 타스크 또는 시리얼 타스크의 작동에 의해 이루어지는 것을 특징으로 하는 게이트 웨이에서 프로토콜 변환 방법.And converting the packet or data into a designated communication port and sequentially storing the packet or data in a storage means by an operation of an Ethernet task or a serial task. 청구항 1에 있어서, 상기 이더넷 투 시리얼 변환 단계에서 저장 수단에 순서대로 저장된 이더넷 패킷을 시리얼 포트로 보내는 과정은,The method of claim 1, wherein in the Ethernet to serial conversion step, the process of sending the Ethernet packets stored in the storage means in sequence to the serial port, 시리얼 인터럽트가 발생하는 과정과, 시리얼 타스크의 작동에 의하여 저장 수단에 저장되어 있던 데이터를 시리얼 포트로 보내는 과정을 포함하여 이루어진 것을 특징으로 하는 게이트 웨이에서 프로토콜 변환 방법.And a process of generating a serial interrupt and sending data stored in the storage means to the serial port by the operation of the serial task. 청구항 1에 있어서, 상기 시리얼 투 이더넷 변환 단계에서 저장 수단에 순서래로 저장된 시리얼 데이터를 랜 포트로 보내는 과정은,The method of claim 1, wherein in the serial-to-Ethernet conversion step, the serial data stored in the storage means in order to the LAN port is 이더넷 인터럽트가 발생하는 과정과, 이더넷 타스크의 작동에 의하여 저장 수단에 저장되어 있던 패킷을 랜 포트로 보내는 과정을 포함하여 이루어진 것을 특징으로 하는 게이트 웨이에서 프로토콜 변환 방법.And a process of generating an Ethernet interrupt and sending a packet stored in a storage means to a LAN port by an operation of an Ethernet task. 내선 가입자가 IP 패킷화된 통화 음성을 저장 매체에 저장하기 위해 저장 시 작 기능 버튼을 눌러 저장 시작 정보를 중앙 처리 IP 모듈로 전달하게 하는 1단계와;Step 1, wherein the extension subscriber presses a storage start function button to transmit the storage start information to the central processing IP module to store the IP packetized call voice in the storage medium; 상기 저장 시작 정보를 받은 중앙 처리 IP 모듈이 게이트 웨이에 음성 저장을 시작하라는 이벤트 패킷을 보내는 2단계와;Sending, by the central processing IP module receiving the storage start information, an event packet to start voice recording to a gateway; 상기 이벤트 패킷을 랜 포트를 통해 받은 게이트 웨이가 저장 수단에 음성 데이터 저장을 위해 필요한 PC 어플리케이션 소프트웨어와 미리 지정한 명령 데이터를 시리얼 포트로 보내는 3단계와;A third step of the gateway receiving the event packet through the LAN port and sending PC application software and predetermined command data necessary for storing voice data to a storage port to a serial port; 상기 시리얼 포트를 통해 저장 수단에 보내어진 PC 어플리케이션 소프트웨어가 실행되어 음성 데이터가 오기를 기다리는 4단계와;Four steps of executing PC application software sent to the storage means through the serial port and waiting for voice data to come; 상기 4단계 이후 게이트웨이가 랜 포트를 통해 들어오는 음성 패킷을 프로토콜 변환 방법에 의해 시리얼 데이터로 변환시켜 시리얼 포트로 보내는 5단계와;A fifth step of the gateway converting the voice packet coming through the LAN port into serial data by a protocol conversion method and sending it to the serial port; 상기 시리얼 포트를 통해 받은 데이터를 PC 어플리케이션 소프트웨어의 실행에 의해 파일에 기록하는 6단계와;A sixth step of writing data received through the serial port into a file by executing PC application software; 상기 시리얼 포트를 통해 들어오는 음성 패킷을 저장을 계속 하다가 저장 종료 명령 데이터가 PC에 전달되면 PC 어플리케이션 소프트웨어가 데이터 저장을 종료하는 7단계를 포함하여 이루어진 것을 특징으로 하는 게이트웨이에서 프로토콜 변환 방법을 이용한 음성 데이터 저장 방법.The voice data using the protocol conversion method in the gateway, characterized in that it comprises the seven steps of continuing to store the voice packet received through the serial port, the PC application software terminates the data storage when the storage end command data is delivered to the PC. Storage method. 청구항 6에 있어서,The method according to claim 6, 상기 7단계의 저장 종료 단계는 내선 가입자가 통화를 끝나게 되면 통화 종 료 이벤트 패킷이 중앙 처리 IP 모듈에 보내어지는 과정과, 중앙 처리 IP 모듈이 게이트웨이에게 통화 종료 패킷을 전달하면 게이트웨이가 시리얼 포트로 저장 종료 명령 데이터를 보내는 과정을 포함하는 것을 특징으로 하는 게이트웨이에서 프로토콜 변환 방법을 이용한 음성 데이터 저장 방법.In the step 7 of storing, the call termination event packet is sent to the central processing IP module when the extension subscriber ends the call, and when the central processing IP module delivers the call termination packet to the gateway, the gateway stores the serial port. And transmitting the end command data. The voice data storage method using the protocol conversion method in the gateway. 관리자가 TCP/IP 통신을 통해 게이트웨이의 TCP 포트에 접속하는 1단계와;The first step of the administrator connecting to the TCP port of the gateway through TCP / IP communication; 상기 TCP 포트로 접속이 되는 경우 게이트웨이가 시리얼 포트로의 전환임을 감지하는 2단계와; Detecting that the gateway is switched to a serial port when the TCP port is connected; 상기 2단계 이후 관리자가 자신이 원하는 장치의 진단을 위해 해당 명령어를 입력하는 3단계와;A third step of inputting a corresponding command for diagnosing a desired device by the administrator after the second step; 상기 명령어는 이더넷 패킷으로 게이트웨이에 전달되고 프로토콜 변환 방법에 의해 시리얼 데이터로 변환되어 시리얼 포트로 출력하는 4단계와;The command is transmitted to the gateway as an Ethernet packet, and is converted into serial data by a protocol conversion method and outputted to a serial port; 상기 시리얼 데이터로 변환된 명령어가 진단될 장치의 시리얼 포트로 들어와서 해당되는 진단을 하는 5단계;를 포함하여 이루어진 것을 특징으로 하는 게이트웨이에서 프로토콜 변환 방법을 이용한 원격 진단 방법.Remote diagnostic method using a protocol conversion method in the gateway, characterized in that comprises; and the step of converting the serial data command to the serial port of the device to be diagnosed to perform a corresponding diagnosis. 청구항 8에 있어서,The method according to claim 8, 상기 5단계에서 진단될 장치가 진단을 한 다음 진단 결과를 시리얼 포트로 출력하면, 게이트웨이에서 시리얼 포트로 받은 진단 결과를 프로토콜 변환 방법에 의해 이더넷 패킷으로 변환되어 운영자에게 전달되는 단계를 더 포함하여 이루어진 것을 특징으로 하는 게이트웨이에서 프로토콜 변환 방법을 이용한 원격 진단 방법.If the device to be diagnosed in step 5 performs the diagnosis and then outputs the diagnosis result to the serial port, further comprising the step of converting the diagnostic result received from the gateway to the serial port into an Ethernet packet by a protocol conversion method and delivered to the operator Remote diagnostic method using a protocol conversion method in the gateway characterized in that.
KR1020030064149A 2003-09-16 2003-09-16 method converting protocol in the gateway, method storing voice data and method diagnosing equipment using the above statements method KR100555696B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030064149A KR100555696B1 (en) 2003-09-16 2003-09-16 method converting protocol in the gateway, method storing voice data and method diagnosing equipment using the above statements method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030064149A KR100555696B1 (en) 2003-09-16 2003-09-16 method converting protocol in the gateway, method storing voice data and method diagnosing equipment using the above statements method

Publications (2)

Publication Number Publication Date
KR20050027777A KR20050027777A (en) 2005-03-21
KR100555696B1 true KR100555696B1 (en) 2006-03-03

Family

ID=37384977

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030064149A KR100555696B1 (en) 2003-09-16 2003-09-16 method converting protocol in the gateway, method storing voice data and method diagnosing equipment using the above statements method

Country Status (1)

Country Link
KR (1) KR100555696B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100499494C (en) * 2005-09-13 2009-06-10 华为技术有限公司 System for tele-managing local network device and realization method
CN112783013B (en) * 2019-11-08 2024-08-23 核工业理化工程研究院 Remote control device and method for circulating dye pump system

Also Published As

Publication number Publication date
KR20050027777A (en) 2005-03-21

Similar Documents

Publication Publication Date Title
US7957402B2 (en) UDP to TCP bridge
US7124335B2 (en) Apparatus and method for testing MEGACO protocol
US8509219B2 (en) Method, server device and converting device for setting up a payload-data connection
US7409462B2 (en) Packet communication control device and packet communication control method
JP4094511B2 (en) Network communication terminal device
US7508821B2 (en) Method for setting up a data connection between terminal devices
US7385964B2 (en) System, method and computer program for changing over between a voice transmission and a fax transmission
KR100555696B1 (en) method converting protocol in the gateway, method storing voice data and method diagnosing equipment using the above statements method
US7869448B2 (en) Network, media gateway device and internal resource management method used in same
US8615007B2 (en) Network switching system with asynchronous and isochronous interface
JP2008060785A (en) Ip telephone communication recording system
JP4266545B2 (en) Gatekeeper device
NZ532954A (en) Method for the transmission of signal tones in heterogeneous networks, device and computer programme product
JP3622694B2 (en) VoIP system and test method thereof
US20020023228A1 (en) Method for establishing a data connection between a first and a second computing device and an arrangement for exchanging of data
JP3672186B2 (en) Network telephone system, gateway device used therefor, and method of using network telephone system
US9602569B2 (en) Management of a remote digital terminal
KR100941212B1 (en) The United Statistics server connecting at the plural PBX system and controlling method therefore
WO2022009269A1 (en) Gateway device, relay system, relay method, and relay program
CN101304461A (en) Communication device used in communication system and remote control method
JP4796945B2 (en) Telephone exchange system
US20070223447A1 (en) Gateway device and control method thereof
Spinsante et al. A Java based VoIP application: extending LAN telephony facilities in a MGCP framework
JP2002171542A (en) Private branch exchange system
JP2001136211A (en) Optical line terminating device

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

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20140115

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20150116

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20160111

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20170113

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee