KR20010108868A - Method for connection deactivating of transmission system in network management system - Google Patents

Method for connection deactivating of transmission system in network management system Download PDF

Info

Publication number
KR20010108868A
KR20010108868A KR1020000029852A KR20000029852A KR20010108868A KR 20010108868 A KR20010108868 A KR 20010108868A KR 1020000029852 A KR1020000029852 A KR 1020000029852A KR 20000029852 A KR20000029852 A KR 20000029852A KR 20010108868 A KR20010108868 A KR 20010108868A
Authority
KR
South Korea
Prior art keywords
event
connection
network management
management system
daemon
Prior art date
Application number
KR1020000029852A
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 KR1020000029852A priority Critical patent/KR20010108868A/en
Publication of KR20010108868A publication Critical patent/KR20010108868A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)

Abstract

본 발명은 망관리시스템이 전송장비와의 소켓 연결상태를 주기적으로 확인하도록 함으로써 전송장비에서 전송되는 사건보고의 신뢰도를 향상시키고 비정상적인 연결상태를 정상적인 연결상태로 복귀시키기 위한 망관리시스템의 전송장치 연동 복원방법을 제공하기 위한 것으로, 이러한 본 발명은 서버측에서 소켓을 열고 대기하다가 연결요구가 들어오면 클라이언트측과 연결되는 제1 단계와; 상기 제1 단계 수행 후 사건발생을 감시하는 제2 단계와; 상기 제2 단계에서 사건이 발생되지 않으면, 연결여부를 확인하고 사건발생을 감시하는 제3 단계와; 상기 제2 단계에서 사건이 발생하면, 연결여부를 확인하여 사건보고를 수행하는 제4 단계와; 상기 제3 단계 및 제4 단계에서 각각 연결되지 않았으면 소켓을 닫고 대기상태로 복귀하는 제5 단계를 수행하여, TCP/IP 소켓연결 상태를 주기적으로 확인함으로써 전송장비에 의한 사건발생보고의 신뢰성을 향상시키고, 소켓의 비정상 작동시 전송장비와 망관리시스템간의 연결을 복원할 수 있게 하는 것이다.The present invention allows the network management system to periodically check the socket connection state with the transmission device, thereby improving the reliability of the event report transmitted from the transmission device and interworking the transmission device of the network management system to return the abnormal connection state to the normal connection state. The present invention provides a restoration method, the present invention comprises the first step of connecting to the client side when the connection request is received while waiting to open the socket on the server side; A second step of monitoring occurrence of an event after performing the first step; If the event does not occur in the second step, checking whether the connection is made and monitoring the occurrence of the event; A fourth step of performing an incident report by checking whether a connection occurs when an event occurs in the second step; If the third step and the fourth step are not connected, respectively, the fifth step of closing the socket and returning to the standby state is performed, thereby periodically checking the TCP / IP socket connection state, thereby ensuring the reliability of the event occurrence report by the transmission equipment. It is possible to restore the connection between the transmission equipment and the network management system in the event of abnormal socket operation.

Description

망관리시스템의 전송장치 연동 복원방법 {Method for connection deactivating of transmission system in network management system}Method for connection deactivation of network management system {Method for connection deactivating of transmission system in network management system}

본 발명은 망관리시스템(Network Management System)과 전송장비(Transmission System)간 데이터 통신을 위한 연동에 관한 것으로, 특히 망관리시스템에 연결상태를 확인할 수 있는 기능을 부여함으로써 전송장비에서 일방적으로 전송하는 사건보고의 신뢰도를 높일 수 있도록 하기에 적당한 망관리시스템의 전송장치 연동 복원방법에 관한 것이다.The present invention relates to interworking for data communication between a network management system and a transmission system, and in particular, by unilaterally transmitting data from a transmission device by granting a function of checking a connection state to the network management system. The present invention relates to a transmission interworking restoration method of a network management system suitable for increasing the reliability of an incident report.

일반적으로 망관리시스템은 원격에서 전송장비의 작동상태를 감시하고 관리하게 된다. 이때 전송장비에서 발생되는 사건은 망관리시스템에 신뢰성있게 보고되어야 하며, 망관리시스템의 클라이언트 사건처리 데몬의 비정상적인 동작에 대한 신속한 복구가 가능해야 한다.In general, the network management system remotely monitors and manages the operation status of the transmission equipment. At this time, the events occurring in the transmission equipment should be reported reliably to the network management system, and it should be possible to quickly recover the abnormal operation of the client event processing daemon of the network management system.

상기와 같은 기능을 수행하기 위한 망관리시스템과 전송장비간의 데이터 통신은 TCP/IP(Transmission Control Protocol/Internet Protocol) 소켓을 통한 클라이언트/서버(Client/Server) 구조에 의해 수행된다. TCP/IP 소켓의 연결에는 두 가지가 있는데, 그중 하나는 전송장비에의 명령처리를 위한 명령처리 소켓연결이고, 다른 하나는 전송장비의 사건발생시 사건보고를 위한 사건처리 소켓연결이다.Data communication between the network management system and the transmission device for performing the above function is performed by the client / server (Client / Server) structure through the TCP / IP (Transmission Control Protocol / Internet Protocol) socket. There are two types of TCP / IP socket connections, one of which is a command processing socket connection for processing a command to a transmitting device, and the other is an event processing socket connection for reporting an event when a sending device's event occurs.

이하, TNMS와 같은 망관리시스템과 WDCS-800과 같은 전송장비간의 소켓연결을 설명한다.Hereinafter, a socket connection between a network management system such as TNMS and a transmission device such as WDCS-800 will be described.

먼저, 도1은 일반적인 망관리시스템의 전송장비 연동기능의 블록구성도이고,도2a는 도1에서 명령처리 연동기능의 블록상세도이며, 도2b는 도1에서 사건보고 연동기능의 블록상세도이다.First, Figure 1 is a block diagram of the transmission equipment interworking function of the general network management system, Figure 2a is a block diagram of the command processing interworking function in Figure 1, Figure 2b is a block diagram of the event report interlocking function in Figure 1 to be.

상기 도1에 도시된 바와 같이, 일반적인 망관리시스템의 전송장비 연동기능은, 서버측에 명령처리를 요구하는 클라이언트 명령처리 데몬(11) 및 서버측의 사건발생을 보고받는 클라이언트 사건처리 데몬(12)을 구비하여 통신망을 관리하는 망관리시스템(10)과; 클라이언트측의 명령처리 요구에 따라 명령처리를 수행하는 서버 명령처리 데몬(21)과 클라이언트측으로 사건발생을 보고하는 서버 사건처리 데몬(22) 및 각 기능부의 동작상태를 감시하는 장비감시 데몬(23)을 구비하여 상기 망관리시스템(10)과 연동되는 전송장비(20)로 구성된다.As shown in FIG. 1, a transmission device interworking function of a general network management system includes a client command processing daemon 11 requesting a server for command processing and a client event processing daemon 12 for reporting the occurrence of an event on the server side. A network management system 10 for managing a communication network; Server command processing daemon 21 for performing command processing according to the command processing request from the client side, server event processing daemon 22 for reporting the occurrence of an event to the client side, and equipment monitoring daemon 23 for monitoring the operation status of each functional unit. It is provided with a transmission device 20 that is interlocked with the network management system (10).

상기와 같은 구성에 따른 장치의 동작을 설명하면 다음과 같다.Referring to the operation of the device according to the above configuration as follows.

우선, 망관리시스템(10)과 전송장비(20)간의 명령처리 및 사건처리 연결에 있어서, 망관리시스템(10)의 클라이언트 명령처리 데몬(Daemon)(11)과 클라이언트 사건처리 데몬(12)이 클라이언트가 되고, 전송장비(20)측의 서버 명령처리 데몬(21)과 서버 사건처리 데몬(22)이 서버가 된다. 즉, 서버로써 기능하는 전송장비(20)는 클라이언트인 망관리시스템(10) 측의 관리요구가 발생하는 경우에만 소켓연결을 통해 서비스를 수행하도록 되어 있다.First, in the command processing and event processing connection between the network management system 10 and the transmission device 20, the client command processing daemon (11) and the client event processing daemon (12) of the network management system (10) It becomes a client, and the server command processing daemon 21 and the server event processing daemon 22 on the transmission equipment 20 side become servers. That is, the transmission device 20 functioning as a server is configured to perform a service through a socket connection only when a management request on the network management system 10 side as a client occurs.

즉, 망관리시스템(10)이 전송장비(20)에 대한 관리를 수행하는 경우, 관리정보를 주고 받기 위하여 클라이언트 명령처리 데몬(11)과 클라이언트 사건처리 데몬(12)이 기동되어 전송장비(20)의 서버 명령처리 데몬(21)과 서버 사건처리 데몬(22)으로의 연결을 각각 요구하게 된다.That is, when the network management system 10 manages the transmission device 20, the client command processing daemon 11 and the client event processing daemon 12 are started to transmit and receive management information, thereby transmitting the transmission device 20. The server command processing daemon 21 and the server event processing daemon 22 are requested.

그리고 도2a에 도시된 바와 같이, 망관리시스템의 클라이언트 명령처리 데몬(11)이 전송장비의 서버 명령처리 데몬(21)에의 연결을 요구하게 되면, 서버 명령처리 데몬(21)이 연결확인신호를 클라이언트 명령처리 데몬(11)으로 출력함으로써 소켓연결이 수행된다.As shown in FIG. 2A, when the client command processing daemon 11 of the network management system requests a connection to the server command processing daemon 21 of the transmission equipment, the server command processing daemon 21 sends a connection confirmation signal. The socket connection is performed by outputting to the client command processing daemon 11.

이때 데이터의 전달에는 TCP/IP 소켓연결이 이용되며, 전송장비의 서버 명령처리 데몬(21)은 대기상태(Idle, 명령을 수행하지 않는 상태)로 동작하는 경우에 망관리시스템의 클라이언트 명령처리 데몬으로부터 명령을 받기 위해 소켓에의 대기상태를 유지하게 된다.At this time, the TCP / IP socket connection is used for data transmission, and the server command processing daemon 21 of the transmission device operates in a standby state (Idle, not executing a command). It will wait on the socket to receive commands from it.

이러한 소켓에 대한 시스템 호출은 유닉스 시스템에서 사용되는 읽기명령으로 수행된다. 상기 읽기명령은 클라이언트가 비정상적인 연결상태이면 오류신호(Error)를 반환하게 되므로, 오류신호 반환여부를 확인함으로써 전송장비의 서버 명령처리 데몬은 망관리시스템의 클라이언트 데몬과의 연결상태가 비동기화(연결해제 등의 연결장애상황)되는 경우를 확인할 수 있고 망관리시스템의 명령수행 요구를 처리할 수 있게 된다.System calls to these sockets are done with read commands used by Unix systems. Since the read command returns an error signal when the client is in an abnormal connection state, by checking whether the error signal is returned, the server command processing daemon of the transmitting equipment is asynchronous with the client daemon of the network management system. Connection failure situation such as release) can be checked and the request for execution of the network management system can be handled.

상기와 같이 서버/클라이언트 구조로 소켓연결이 수행되면, 서버 명령처리 데몬(21)은 클라이언트 명령처리 데몬(11)으로부터의 명령처리요구를 받아 명령처리를 수행하고, 상기 명령처리의 결과를 망관리시스템의 클라이언트 명령처리 데몬(11)으로 전달하게 된다. 클라이언트 명령처리 데몬(11)의 명령처리 요구에 따른 동작이 완료되면, 클라이언트/서버 연결이 해제된다.When the socket connection is performed in the server / client structure as described above, the server command processing daemon 21 receives the command processing request from the client command processing daemon 11 and performs the command processing, and manages the result of the command processing on the network. It is passed to the client command processing daemon 11 of the system. When the operation according to the command processing request of the client command processing daemon 11 is completed, the client / server connection is released.

또한, 도2b에 도시된 바와 같이, 전송장비의 서버 사건처리 데몬(22)은 망관리시스템의 클라이언트 사건처리 데몬(12)과의 연결을 위해 미리 사건처리 소켓을 열고 대기하게 된다.In addition, as shown in Figure 2b, the server event processing daemon 22 of the transmission equipment is to open the event processing socket and wait in advance for connection with the client event processing daemon 12 of the network management system.

그러면 망관리시스템의 클라이언트 사건처리 데몬(12)이 연결을 요구하여 연결이 수행되고, 전송장비의 서버 사건처리 데몬(22)은 장비내에서 발생하는 비동기화된 사건을 망관리시스템의 클라이언트 사건처리 데몬(12)으로 보고하게 된다. 이때 서버 사건처리 데몬(22)이 클라이언트 사건처리 데몬(12)으로 보고하는 사건발생은 장비감시 데몬(23)에 의해 감지되어 서버 사건처리 데몬(22)으로 전송된 것이다.Then, the client event processing daemon 12 of the network management system requests a connection, and the connection is performed, and the server event processing daemon 22 of the transmission device processes the asynchronous event generated in the equipment by the client event processing of the network management system. Report to daemon (12). At this time, the occurrence of the event reported by the server event processing daemon 22 to the client event processing daemon 12 is detected by the equipment monitoring daemon 23 and transmitted to the server event processing daemon 22.

이하, 종래기술에 의한 망관리시스템의 연결복원방법을 설명한다.Hereinafter, the connection restoration method of the network management system according to the prior art will be described.

먼저, 도3은 종래기술에 의한 망관리시스템의 전송장치 연동 복원방법의 흐름도이다.First, Figure 3 is a flow diagram of a transmission device interlocking restoration method of a network management system according to the prior art.

상기 도3에 도시된 바와 같이 종래기술에 의한 망관리시스템의 연결복원방법은, 서버측에서 소켓을 열고 대기하다가 연결요구가 들어오면 클라이언트측과 연결되는 제1 단계(ST11~ST13)와; 상기 제1 단계(ST11~ST13) 수행 후 사건발생을 감시하는 제2 단계(ST14)와; 상기 제2 단계(ST14)에서 사건이 발생하면, 연결여부를 확인하여 사건보고를 수행하는 제3 단계(ST15~ST17)와; 상기 제3 단계(ST15~ST17)에서 연결되지 않았으면, 소켓을 닫고 대기상태로 복귀하는 제4 단계(ST18)를 수행한다.As shown in FIG. 3, the connection restoration method of the network management system according to the prior art includes: a first step (ST11 to ST13) connected to a client side when a connection request is received while waiting for opening a socket on a server side; A second step (ST14) of monitoring an occurrence of an event after performing the first step (ST11 to ST13); A third step (ST15 to ST17) of performing an incident report by checking whether a connection occurs when an event occurs in the second step (ST14); If not connected in the third step (ST15 ~ ST17), and performs a fourth step (ST18) to close the socket and return to the standby state.

이와 같은 구성에 따른 방법의 동작을 설명하면 다음과 같다.Referring to the operation of the method according to such a configuration as follows.

제1 단계(ST11~ST13)에서 망관리 시스템의 클라이언트 사건처리 데몬은 전송장비의 서버 사건처리 데몬으로부터 사건발생에 대한 보고를 수신하기 위하여 소켓을 열게 된다(ST11). 상기 소켓열기는 읽을 데이터의 발생시까지 계속 대기하는 블로킹모드(Blocking Mode)로 수행된다.In the first step (ST11 ~ ST13), the client event processing daemon of the network management system opens a socket to receive a report of the occurrence of the event from the server event processing daemon of the transmission equipment (ST11). The socket opening is performed in a blocking mode that continuously waits until generation of data to be read.

소켓이 열리면, 서버 사건처리 데몬은 클라이언트 사건처리 데몬으로부터 연결요구가 입력될 때까지 기다리게 된다(ST12). 그래서 클라이언트 사건처리 데몬으로부터 연결요구가 입력되면, 서버 사건처리 데몬은 연결을 확인시키는 신호를 클라이언트 사건처리 데몬으로 출력하게 된다(ST13).When the socket is opened, the server event handling daemon waits for a connection request from the client event handling daemon to be entered (ST12). Thus, when a connection request is input from the client event handling daemon, the server event handling daemon outputs a signal confirming the connection to the client event handling daemon (ST13).

제1 단계(ST11~ST13)에서 클라이언트 사건처리 데몬과 연결된 서버 사건처리 데몬은, 제2 단계(ST14)에서 장비감시 데몬으로부터 데이터를 입력받아 사건발생여부를 확인하게 된다.The server event processing daemon connected to the client event processing daemon in the first step (ST11 ~ ST13), receives the data from the equipment monitoring daemon in the second step (ST14) to check whether the event occurs.

이어서 제3 단계(ST15~ST17)에서는 사건발생이 확인되지 않으면, 즉 전송장비에 사건이 발생되지 않아 장비감시 데몬으로부터의 사건발생 데이터가 입력되지 않으면 서버 사건처리 데몬은 적절한 지연시간이 지난 후(ST15) 다시 사건발생여부를 확인하는 작업을 반복 수행하게 된다.Subsequently, in the third step (ST15 to ST17), if the occurrence of the event is not confirmed, that is, if no event occurs in the transmission equipment and no event occurrence data from the equipment monitoring daemon is input, the server event processing daemon passes after an appropriate delay time ( ST15) The work of checking whether an event occurs again is repeated.

그리하여 전송장비에 사건이 발생하면, 서버 사건처리 데몬은 클라이언트 사건처리 데몬과 연결이 되어 있는지를 확인하게 된다(ST16). 상기 단계(ST16)에서 클라이언트 사건처리 데몬과의 연결이 확인되면, 서버 사건처리 데몬은 클라이언트 사건처리 데몬에 사건발생을 보고하게 된다(ST17).Thus, when an event occurs in the transmitting device, the server event processing daemon checks whether it is connected to the client event processing daemon (ST16). When the connection with the client event processing daemon is confirmed in the step ST16, the server event processing daemon reports the occurrence of the event to the client event processing daemon (ST17).

제3 단계(ST15~ST17)에서 클라이언트 사건처리 데몬과의 연결이 유지되지 않고 있음이 확인되면(ST16), 제4 단계(ST18)에서 서버 사건처리 데몬은 클라이언트와의 연결을 위해 열었던 소켓을 닫고 제1 단계(ST11~ST13)로 복귀하여 새로운 소켓을 열고 클라이언트 사건처리 데몬과의 연결을 대기하게 된다.If it is confirmed in step 3 (ST15 to ST17) that the connection with the client event processing daemon is not maintained (ST16), in step 4 (ST18), the server event processing daemon opens the socket opened for connection with the client. Close and return to the first step (ST11 ~ ST13) to open a new socket and wait for the connection with the client event handling daemon.

상기와 같이 서버 사건처리 데몬에 의한 전송장비의 사건발생 보고가 입력되면, 클라이언트 명령처리 데몬이 서버 명령처리 데몬으로 적절한 명령을 내림으로써 전송장비의 사건발생에 따른 조치를 취할 수 있는 것이다.When the event occurrence report of the transmission device by the server event processing daemon is input as described above, the client command processing daemon may take an action according to the occurrence of the transmission device by sending an appropriate command to the server command processing daemon.

이처럼 종래기술에 의한 망관리시스템의 전송장치 연동 복원방법은, 전송장비와 망관리시스템이 연결되면 전송장비에서 사건발생을 여부를 확인하며, 사건발생시 망관리시스템과의 연결이 유지되는 것을 확인하여 망관리시스템으로 사건발생을 보고하는 것이다.As described above, the transmission device interworking restoration method of the network management system according to the related art checks whether an occurrence of an event occurs in the transmission device when the transmission device and the network management system are connected, and confirms that the connection with the network management system is maintained when the event occurs. It is to report the occurrence of the incident to the network management system.

그러나, 상기와 같은 종래의 종래기술에 의한 망관리시스템의 전송장치 연동 복원방법은, 서버 사건처리 데몬이 클라이언트 사건처리 데몬과 연결되기 위하여 소켓을 열 때 블로킹모드로 열기 때문에 소켓 연결상태에 대한 확인은 소켓에 데이터를 보내는 경우(즉, 데이터 쓰기호출)에만 가능하게 되는 문제점이 있었다.However, the transmission apparatus interworking restoration method of the network management system according to the related art as described above, because the server event processing daemon opens the blocking mode when the socket is opened in order to be connected to the client event processing daemon, it is confirmed that the socket connection state. Has the problem that it is only possible to send data to the socket (that is, write data calls).

또한, 임의시간 동안 전송장비에서 발생되는 사건이 없는 경우에는 전송장비의 서버 사건처리 데몬은 클라이언트 사건처리 데몬의 소켓연결상태를 확인할 수 없는 문제점이 있었다.In addition, when there is no event occurring in the transmission device for a certain time, the server event processing daemon of the transmission device has a problem that can not check the socket connection state of the client event processing daemon.

즉, 망관리시스템의 클라이언트 사건처리 데몬의 비정상적인 동작으로 인하여 소켓에 연결을 재설정하고자 시도하는 경우, 전송장비에 사건이 발생하지 않는 경우에는 전송장비의 서버 사건처리 데몬에서 응답을 하지 않게 되는 것이다.That is, if an attempt is made to reestablish a connection to a socket due to an abnormal operation of the client event processing daemon of the network management system, the server event processing daemon of the transmitting device does not respond when an event does not occur in the transmitting device.

이에 본 발명은 상기와 같은 종래의 제반 문제점을 해소하기 위해 제안된 것으로, 본 발명의 목적은 망관리시스템과 전송장비간 연동에 있어서, 망관리시스템이 전송장비와의 소켓 연결상태를 주기적으로 확인하도록 함으로써 전송장비에서 전송되는 사건보고의 신뢰도를 향상시키고 비정상적인 연결상태를 정상적인 연결상태로 복귀시키기 위한 망관리시스템의 전송장치 연동 복원방법을 제공하는 데 있다.Accordingly, the present invention has been proposed to solve the conventional problems as described above, an object of the present invention in the interworking between the network management system and the transmission equipment, the network management system periodically checks the socket connection state with the transmission equipment In order to improve the reliability of the event report transmitted from the transmission equipment and to restore the abnormal connection state to the normal connection state, the present invention provides a transmission device interworking restoration method of the network management system.

상기와 같은 목적을 달성하기 위하여 본 발명에 의한 망관리시스템의 전송장치 연동 복원방법은, 서버측에서 소켓을 열고 대기하다가 연결요구가 들어오면 클라이언트측과 연결되는 제1 단계와; 상기 제1 단계 수행 후 사건발생을 감시하는 제2 단계와; 상기 제2 단계에서 사건이 발생되지 않으면, 연결여부를 확인하고 사건발생을 감시하는 제3 단계와; 상기 제2 단계에서 사건이 발생하면, 연결여부를 확인하여 사건보고를 수행하는 제4 단계와; 상기 제3 단계 및 제4 단계에서 각각 연결되지 않았으면, 소켓을 닫고 대기상태로 복귀하는 제5 단계를 수행함을 그 기술적 구성상의 특징으로 한다.In order to achieve the above object, a transmission device interworking restoration method of a network management system according to the present invention includes a first step of connecting to a client side when a connection request is received while waiting for opening a socket on a server side; A second step of monitoring occurrence of an event after performing the first step; If the event does not occur in the second step, checking whether the connection is made and monitoring the occurrence of the event; A fourth step of performing an incident report by checking whether a connection occurs when an event occurs in the second step; If not connected in the third and fourth stages, the technical configuration is characterized in that the fifth step of closing the socket and returning to the standby state.

도1은 일반적인 망관리시스템의 전송장비 연동기능의 블록구성도이고,1 is a block diagram of a transmission equipment interworking function of a general network management system;

도2a는 도1에서 명령처리시 연동기능의 블록상세도이고,FIG. 2A is a detailed block diagram of an interlocking function in command processing in FIG. 1;

도2b는 도1에서 사건보고시 연동기능의 블록상세도이고,Figure 2b is a detailed block diagram of the interworking function when reporting an event in Figure 1,

도3은 종래기술에 의한 망관리시스템의 전송장치 연동 복원방법의 흐름도이며,3 is a flowchart of a transmission device interlocking restoration method of a network management system according to the prior art;

도4는 본 발명의 일실시예에 의한 망관리시스템의 전송장치 연동 복원방법의 흐름도이다.4 is a flowchart illustrating a transmission device interworking restoration method of a network management system according to an embodiment of the present invention.

* 도면의 주요 부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings

10 : 망관리시스템 11 : 클라이언트 명령처리 데몬10: network management system 11: the client command processing daemon

12 : 클라이언트 사건처리 데몬 20 : 전송장비12: client event handling daemon 20: transmission equipment

21 : 서버 명령처리 데몬 22 : 서버 사건처리 데몬21: server command processing daemon 22: server event processing daemon

23 : 장비감시 데몬23: equipment monitoring daemon

이하, 상기와 같은 본 발명 망관리시스템의 전송장치 연동 복원방법의 기술적 사상에 따른 일실시예의 구성 및 동작을 첨부한 도면을 참조하여 설명한다.Hereinafter, with reference to the accompanying drawings, the configuration and operation of an embodiment according to the technical spirit of the transmission device interlocking restoration method of the present invention network management system as described above.

먼저, 도4는 본 발명의 일실시예에 의한 망관리시스템의 전송장치 연동 복원방법의 흐름도이다.First, Figure 4 is a flow chart of the transmission device interlocking restoration method of the network management system according to an embodiment of the present invention.

상기 도4에 도시된 바와 같이, 본 발명의 일실시예는, 서버측에서 소켓을 열고 대기하다가 연결요구가 들어오면 클라이언트측과 연결되는 제1 단계(ST21~ST23)와; 상기 제1 단계(ST21~ST23) 수행 후 사건발생을 감시하는 제2 단계(ST24)와; 상기 제2 단계(ST24)에서 사건이 발생되지 않으면, 연결여부를 확인하고 사건발생을 감시하는 제3 단계(ST25~ST26)와; 상기 제2 단계(ST24)에서 사건이 발생하면, 연결여부를 확인하여 사건보고를 수행하는 제4 단계(ST27~ST28)와; 상기 제3 단계(ST25~ST26) 및 제4 단계(ST27~ST28)에서 각각 연결되지 않았으면, 소켓을 닫고 대기상태로 복귀하는 제5 단계(ST29)를 수행한다.As shown in FIG. 4, an embodiment of the present invention includes a first step (ST21 to ST23) connected to a client side when a connection request is received while waiting for opening a socket on a server side; A second step (ST24) for monitoring an occurrence of an event after performing the first step (ST21 to ST23); A third step (ST25 to ST26) of checking whether a connection is made and monitoring the occurrence of an event if an event does not occur in the second step (ST24); A fourth step (ST27 to ST28) of performing an incident report by checking whether a connection occurs when an event occurs in the second step (ST24); If not connected in the third step (ST25 ~ ST26) and the fourth step (ST27 ~ ST28), the fifth step (ST29) to close the socket and return to the standby state is performed.

이와 같은 구성에 따른 방법의 동작을 설명하면 다음과 같다.Referring to the operation of the method according to such a configuration as follows.

제1 단계(ST21~ST23)에서 망관리 시스템의 클라이언트 사건처리 데몬은 전송장비의 서버 사건처리 데몬으로부터 사건발생에 대한 보고를 수신하기 위하여 소켓을 열게 된다(ST21).In the first step (ST21 ~ ST23), the client event processing daemon of the network management system opens a socket to receive a report on the occurrence of the event from the server event processing daemon of the transmission equipment (ST21).

상기 소켓열기가 종래기술과 같이 블로킹모드로 동작하는 경우에는 읽기동작에서 읽을 대상 데이터가 존재하지 않을 경우에 계속 대기하는 상태를 유지하게 됨으로써, 망관리시스템의 클라이언트 사건처리 데몬이 데이터를 송출하지 않아 정상적인 동작을 수행하는 것이 불가능하게 된다.When the socket open is operated in the blocking mode as in the prior art, the socket open is kept in a waiting state when there is no data to be read in the read operation, so that the client event processing daemon of the network management system does not send data. It will be impossible to perform normal operations.

즉, 종래의 망관리시스템의 클라이언트 사건처리 데몬은 사건처리연결 소켓에 데이터를 보내지 않고 전송장비내 서버 사건처리 데몬으로부터 데이터를 받기 위해 대기하고 있는 상태이므로, 전송장비내 서버 사건처리 데몬은 사건처리 소켓으로부터 아무런 데이터도 읽을 수 없게 되어 오류신호(Error)를 반환하게 되는 것이다. 이때 유닉스 시스템이 반환하는 오류신호 값은 '-1'이 된다.In other words, the client event processing daemon in the conventional network management system is waiting to receive data from the server event processing daemon in the transmitting device without sending data to the event processing connection socket. No data can be read from the socket, returning an error signal. At this time, the error signal returned by the Unix system is '-1'.

이에 비해 본 발명에서는 비블로킹모드(Nonblocking Mode)로 소켓열기를 수행하여 읽을 대상 데이터가 존재하면 데이터를 읽게 되지만, 읽을 대상 데이터가 존재하지 않을 경우에는 오류신호를 반환하게 된다. 상기 반환되는 오류신호는 유닉스 시스템의 경우 '0'이 된다.In contrast, the present invention reads data when the target data is read by performing a socket opening in a non-blocking mode, but returns an error signal when the target data does not exist. The returned error signal is '0' for Unix systems.

그래서 소켓이 열리면, 서버 사건처리 데몬은 클라이언트 사건처리 데몬으로부터의 연결요구를 기다리게 된다(ST22). 그래서 클라이언트 사건처리 데몬으로부터 연결요구가 입력되면, 서버 사건처리 데몬은 연결을 확인시키는 신호를 클라이언트 사건처리 데몬으로 출력하게 된다(ST23).So when the socket is opened, the server event handling daemon waits for a connection request from the client event handling daemon (ST22). Thus, when a connection request is input from the client event handling daemon, the server event handling daemon outputs a signal confirming the connection to the client event handling daemon (ST23).

이와 같이 제1 단계(ST21~ST23)에서 클라이언트 사건처리 데몬과 연결된 서버 사건처리 데몬은, 제2 단계(ST24)에서 장비감시 데몬으로부터 데이터를 입력받아 사건발생여부를 확인하게 된다.As described above, the server event processing daemon connected to the client event processing daemon in the first steps ST21 to ST23 receives data from the device monitoring daemon in the second step ST24 and checks whether an event has occurred.

상기 제2 단계(ST24)에서 사건이 발생되지 않으면, 제3 단계(ST25~ST26)에서 서버 사건처리 데몬이 클라이언트 사건처리 데몬과의 연결이 유지되고 있는지를 확인하게 된다(ST25). 그래서 클라이언트 사건처리 데몬과의 연결이 유지되지 않음이 확인되면, 서버 사건처리 데몬은 일정의 지연시간이 경과한 후 사건발생여부를 확인하는 과정으로 복귀하게 된다(ST26).If no event occurs in the second step ST24, the server event processing daemon checks whether the connection with the client event processing daemon is maintained in the third step ST25 through ST26 (ST25). Therefore, if it is confirmed that the connection with the client event processing daemon is not maintained, the server event processing daemon returns to the process of checking whether an event has occurred after a predetermined delay time has elapsed (ST26).

상기 제2 단계(ST24)에서 사건발생이 확인되면, 제4 단계(ST27~ST28)클라이언트 사건처리 데몬과의 연결여부를 확인하게 된다(ST27). 그래서 클라이언트 사건처리 데몬과의 연결이 유지되고 있음이 확인되면, 서버 사건처리 데몬은 전송장비에서 발생한 사건을 망관리시스템의 클라이언트 사건처리 데몬으로 보고하게 된다(ST28).When the occurrence of the event is confirmed in the second step (ST24), the fourth step (ST27 ~ ST28) is confirmed whether the connection with the client event processing daemon (ST27). Therefore, if it is confirmed that the connection with the client event processing daemon is maintained, the server event processing daemon reports the event that occurred in the transmission device to the client event processing daemon of the network management system (ST28).

그리고 서버 사건처리 데몬과 클라이언트 사건처리 데몬간 연결이 유지되지 않는 두 가지 경우를 구분하면, 하나는 사건발생 없이 연결불량상태인 경우이고(ST25), 다른 하나는 사건발생 상태에서 연결불량인 경우이다(ST27).The two cases where the connection between the server event processing daemon and the client event processing daemon are not maintained are separated. One is a bad connection state without an event occurrence (ST25), and the other is a bad connection state during an event occurrence state. (ST27).

즉, 망관리시스템의 클라이언트 사건처리 데몬이 연결을 해제하거나 클라이언트 사건처리 데몬이 동작을 종료한 경우, 전송장비내 서버 사건처리 데몬은 사건처리 소켓으로부터 데이터를 읽을 수 없게 되고 오류신호 '0'을 반환하게 되므로 서버 사건처리 데몬이 클라이언트 사건처리 데몬과의 연결상태를 알수 있는 것이다.That is, if the client event handling daemon of the network management system disconnects or the client event handling daemon terminates, the server event handling daemon in the transmitting device cannot read data from the event handling socket and generates an error signal '0'. The server event handling daemon can see the connection status with the client event handling daemon.

상기 두 가지 경우와 같이 연결불량상태이면, 제5 단계(ST29)에서 서버 사건처리 데몬은 클라이언트와의 연결을 위해 열었던 소켓을 닫고 제1 단계(ST21~ST23)로 복귀하여 새로운 소켓을 열고 클라이언트 사건처리 데몬과의 연결을 대기하게 된다.If the connection failure state as in the above two cases, the server event processing daemon in the fifth step (ST29) closes the socket opened for connection with the client, returns to the first step (ST21 ~ ST23) to open a new socket and the client Wait for connection with the event handling daemon.

이때 전송장비내 서버 사건처리 데몬은 망관리시스템의 클라이언트 사건처리 데몬으로부터의 영향없이 소켓의 연결상태를 확인하기 위하여 비블로킹 모드로 접속되어 있는 소켓으로부터 데이터를 읽게 된다.At this time, the server event processing daemon in the transmitting device reads data from the socket connected in the non-blocking mode to check the connection status of the socket without being affected by the client event processing daemon of the network management system.

따라서 사건처리 소켓을 통한 읽기호출(Read System Call)이 오류신호인 '0'을 반환하는 경우 소켓이 정상동작하지 않는 것이므로, 전송장비내 서버 사건처리데몬은 열려있는 사건처리 소켓을 닫고 망관리시스템의 클라이언트 사건처리 데몬으로부터의 연결요구를 기다리게 되는 것이다.Therefore, if the read system call through the event processing socket returns '0', the socket does not operate normally. Therefore, the server event processing daemon in the transmitting device closes the open event processing socket and the network management system. Waiting for a connection request from the client event handling daemon.

이처럼 본 발명은 전송장비와 망관리시스템이 비블로킹 모드로 연결되면 서버 사건처리 데몬이 전송장치내 사건발생여부를 확인하게 되고, 전송장치에 사건발생여부를 확인하는 동작을 수행하면서 사건처리 소켓의 연결상태를 확인함으로써, 사건발생을 망관리시스템으로 보고할 경로를 유지하며, 상기 사건처리 소켓의 연결상태가 불량하게 되면 열린 소켓을 닫고 새로운 소켓을 열어 사건발생보고를 수행할 수 있게 하는 것이다.As such, when the transmission device and the network management system are connected in the non-blocking mode, the server event processing daemon checks whether an event occurs in the transmission device, and performs an operation of checking whether an event has occurred in the transmission device. By checking the connection status, it maintains a path to report the occurrence of the event to the network management system, and if the connection status of the event processing socket is bad, it is possible to close the open socket and open a new socket to perform the event occurrence report.

이상에서 본 발명의 바람직한 실시예를 설명하였으나, 본 발명은 다양한 변화와 변경 및 균등물을 사용할 수 있다. 본 발명은 상기 실시예를 적절히 변형하여 동일하게 응용할 수 있음이 명확하다. 따라서 상기 기재 내용은 하기 특허청구범위의 한계에 의해 정해지는 본 발명의 범위를 한정하는 것이 아니다.Although the preferred embodiment of the present invention has been described above, the present invention may use various changes, modifications, and equivalents. It is clear that the present invention can be applied in the same manner by appropriately modifying the above embodiments. Accordingly, the above description does not limit the scope of the invention as defined by the limitations of the following claims.

이상에서 살펴본 바와 같이, 본 발명에 의한 망관리시스템의 전송장치 연동 복원방법은, 전송장비와 망광리시스템의 사건처리 데몬이 TCP/IP 소켓연결 상태를 주기적으로 확인함으로써 전송장비에 의한 사건발생보고의 신뢰성이 향상되어 망관리시스템의 효용을 증대시키는 효과가 있다.As described above, in the transmission device interworking restoration method of the network management system according to the present invention, the event processing daemon of the transmission equipment and the network optical system by periodically checking the TCP / IP socket connection status report the occurrence of the event by the transmission equipment This improves the reliability of the network management system and increases the utility of the network management system.

또한, 본 발명에 의한 방법은 망관리시스템내 클라이언트 사건처리 데몬의 비정상적인 동작시에는 전송장비내 서버 사건처리 데몬과의 연결을 복구할 수 있도록 함으로써, 종래의 기술에서 클라이언트 사건처리 데몬의 비정상 동작에 대한 대책이 없던 문제점을 해결하여 망관리시스템의 동작에 대한 신뢰성을 증대시키는 효과가 있다.In addition, the method according to the present invention can recover the connection with the server event processing daemon in the transmission equipment during the abnormal operation of the client event processing daemon in the network management system, thereby preventing the abnormal operation of the client event processing daemon in the prior art. There is an effect of increasing the reliability of the operation of the network management system by solving the problem that there is no countermeasure.

Claims (1)

서버측에서 소켓을 열고 대기하다가 연결요구가 들어오면 클라이언트측과 연결되는 제1 단계와;A first step of connecting to a client side when a connection request is received while waiting for a socket to be opened on the server side; 상기 제1 단계 수행 후 사건발생을 감시하는 제2 단계와;A second step of monitoring occurrence of an event after performing the first step; 상기 제2 단계에서 사건이 발생되지 않으면, 연결여부를 확인하고 사건발생을 감시하는 제3 단계와;If the event does not occur in the second step, checking whether the connection is made and monitoring the occurrence of the event; 상기 제2 단계에서 사건이 발생하면, 연결여부를 확인하여 사건보고를 수행하는 제4 단계와;A fourth step of performing an incident report by checking whether a connection occurs when an event occurs in the second step; 상기 제3 단계 및 제4 단계에서 각각 연결되지 않았으면, 소켓을 닫고 대기상태로 복귀하는 제5 단계를 수행하는 것을 특징으로 하는 망관리시스템의 전송장치 연동 복원방법.And if not connected in the third and fourth steps, respectively, performing a fifth step of closing the socket and returning to the standby state.
KR1020000029852A 2000-06-01 2000-06-01 Method for connection deactivating of transmission system in network management system KR20010108868A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000029852A KR20010108868A (en) 2000-06-01 2000-06-01 Method for connection deactivating of transmission system in network management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000029852A KR20010108868A (en) 2000-06-01 2000-06-01 Method for connection deactivating of transmission system in network management system

Publications (1)

Publication Number Publication Date
KR20010108868A true KR20010108868A (en) 2001-12-08

Family

ID=45855071

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000029852A KR20010108868A (en) 2000-06-01 2000-06-01 Method for connection deactivating of transmission system in network management system

Country Status (1)

Country Link
KR (1) KR20010108868A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040000820A (en) * 2002-06-25 2004-01-07 에스케이 텔레콤주식회사 Network Operating Method and System by IP Address
KR100560752B1 (en) * 2004-07-21 2006-03-13 삼성전자주식회사 System for managing socket connection and method for checking of socket connection state

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040000820A (en) * 2002-06-25 2004-01-07 에스케이 텔레콤주식회사 Network Operating Method and System by IP Address
KR100560752B1 (en) * 2004-07-21 2006-03-13 삼성전자주식회사 System for managing socket connection and method for checking of socket connection state

Similar Documents

Publication Publication Date Title
EP0416943B1 (en) Method for controlling failover between redundant network interface modules
US20070180309A1 (en) System and method for mirroring data
KR20010072379A (en) Fault tolerant computer system
JP4166939B2 (en) Active fault detection
US20060294228A1 (en) Systems and methods for preventing server overload
US6002665A (en) Technique for realizing fault-tolerant ISDN PBX
EP0398649A2 (en) Remote interrupt processing
KR20010108868A (en) Method for connection deactivating of transmission system in network management system
JP3870174B2 (en) Method for managing remotely accessible resources
US5583986A (en) Apparatus for and method of duplex operation and management for signalling message exchange no. 1 system
EP1497731A1 (en) A method and a system for ensuring a bus and a control server
KR100336499B1 (en) An interface apparatus and method between TMN agent and ATM switch
JPS62169266A (en) Data transmission and reception terminal equipment
US20030128663A1 (en) Redundant network controller management system
KR100241557B1 (en) Data processing method of dual network
JPH04137008A (en) Method and device for facility control
KR20000039970A (en) Method for dualizing lan in intelligent network service control system applying client-server model
JPH09160875A (en) Multi-agent mutual back-up system
KR100191678B1 (en) Inspection method of network for duplicating communication network
JP2804876B2 (en) Communication method for network system including multiplex system
KR100304364B1 (en) Method for operation and management data processing in switching system
KR19990050461A (en) Error Handling in High Availability Systems
JP3786702B2 (en) How to read error statistics data
KR100299057B1 (en) Method for ontrol data processing in switching system
JPH10107792A (en) Server monitor

Legal Events

Date Code Title Description
N231 Notification of change of applicant
WITN Withdrawal due to no request for examination