KR20000061239A - Remote debugging method using thread between exange systemand network management center - Google Patents

Remote debugging method using thread between exange systemand network management center Download PDF

Info

Publication number
KR20000061239A
KR20000061239A KR1019990010144A KR19990010144A KR20000061239A KR 20000061239 A KR20000061239 A KR 20000061239A KR 1019990010144 A KR1019990010144 A KR 1019990010144A KR 19990010144 A KR19990010144 A KR 19990010144A KR 20000061239 A KR20000061239 A KR 20000061239A
Authority
KR
South Korea
Prior art keywords
thread
debugging
network management
management center
remote terminal
Prior art date
Application number
KR1019990010144A
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 KR1019990010144A priority Critical patent/KR20000061239A/en
Publication of KR20000061239A publication Critical patent/KR20000061239A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE: A remote debugging method using a thread between a network management center and a switch is provided for transmitting a thread-based debugging state to a remote terminal and displaying the debugging state. CONSTITUTION: A relay apparatus(20) generates a debugging thread(23) for a debugging operation in a process of an execution module and periodically checks a connection request input using a TCP/IP protocol. At this time, when there is a connection request using a TCP/IP protocol from a remote terminal(40), a debugging thread(23) of the relay apparatus(20) announces a socket fd(file descript) as a global variable returned in ACCEPT() and shares the threads of the process. An error message and circumference message generated in the function-based thread are transmitted to the remote terminal(40).

Description

망관리센터와 교환기간의 쓰레드를 이용한 원격 디버깅방법{REMOTE DEBUGGING METHOD USING THREAD BETWEEN EXANGE SYSTEMAND NETWORK MANAGEMENT CENTER}Remote debugging using the network management center and the threads of the exchange period {REMOTE DEBUGGING METHOD USING THREAD BETWEEN EXANGE SYSTEMAND NETWORK MANAGEMENT CENTER}

본 발명은 교환시스템과 망관리센터(OSS : Operation Support System)간의 통신 시 원격지에서 해당 어플리케이션의 상태를 파악할 수 있도록 디버깅(Debugging)하는 방법에 관한 것이다.The present invention relates to a method of debugging so as to grasp the state of a corresponding application at a remote location during communication between an exchange system and an operation support system (OSS).

교환기 시스템에서 교환기의 망관리를 담당하는 망관리센터와 상기 교환기간의 링크가 끊어질 경우에도 교환기는 상기 망관리센터로 계속하여 망관리 데이터를 전송하고 있으며, 원격지에서 통신하고 있는 어플리케이션의 상태를 파악할 수 없는 문제점이 있었다.In the exchange system, even when the link between the network management center in charge of the exchange network and the exchange period is lost, the exchange continues to transmit network management data to the network management center, and the status of the application communicating with the remote site is maintained. There was a problem that could not be grasped.

따라서 본 발명의 목적은 상기의 문제점을 해결하기 위하여 교환기와 망관리센터간의 통신 시 네트웍이 사용 가능한 원격지에서 해당 어플리케이션의 쓰레드를 이용하여 어플리케이션 상태를 파악할 수 있는 원격 디버깅방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a remote debugging method that can determine the application state by using the thread of the application in a remote place where the network can be used during communication between the switch and the network management center to solve the above problems.

상기 목적을 달성하기 위한 본 발명의 망관리센터와 교환기간의 쓰레드를 이용한 원격 디버깅방법에 있어서, 원격지 단말기에서 디버깅 접속요구가 있을 시 디버깅 쓰레드에서 디버깅하고자 하는 타입을 감지하는 과정과, 상기 디버깅하고자 하는 타입을 감지하여 상기 감지된 타입의 쓰레드별 디버깅상태를 상기 원격단말기로 전송하여 표시하는 과정으로 이루어짐을 특징으로 한다.In the remote debugging method using the network management center of the present invention and the thread of the exchange period for achieving the above object, the process of detecting the type to be debugged in the debugging thread when the debugging terminal request from the remote terminal, And detecting and transmitting a debugging status for each thread of the detected type to the remote terminal.

도 1은 본 발명의 일 실시예에 따른 교환기와 망관리센터간의 연결구성도1 is a connection diagram between a switch and a network management center according to an embodiment of the present invention;

이하 본 발명의 바람직한 실시예를 첨부한 도면을 참조하여 상세히 설명한다. 하기의 설명에서 구체적인 처리흐름과 같은 많은 특정 상세들은 본 발명의 보다 전반적인 이해를 제공하기 위해 나타나 있다. 이들 특정 상세들 없이 본 발명이 실시될 수 있다는 것은 이 기술분야에서 통상의 지식을 가진 자에게는 자명할 것이다. 그리고 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 공지 기능 및 구성에 대한 상세한 설명은 생략한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. Many specific details, such as specific process flows, are set forth in the following description to provide a more general understanding of the invention. It will be apparent to those skilled in the art that the present invention may be practiced without these specific details. Detailed descriptions of well-known functions and configurations that are determined to unnecessarily obscure the subject matter of the present invention will be omitted.

도 1은 본 발명의 일 실시예에 따른 교환기와 망관리센터간의 연결구성도이다.1 is a connection diagram between a switch and a network management center according to an embodiment of the present invention.

교환기(10)와 망관리센터(30) 사이에 중계장치(20)가 연결되는데, 상기 중계장치(20)는 EIP(Extended Interface Processor)로서, 내부에 교환기(10) 내부에서 망관리 데이터를 수집/전송하는 프로세서와 통신을 수행하고 링크를 전반적으로 관리하는 제1쓰레드(thr_CToEX)(21)와, 외부 망관리센터(30)에게 TCP/IP 링크로 망관리 데이터 전송을 수행하는 제2쓰레드(thr_EXToCT)(22)와, 원격단말기(40)에 연결되어 원격단말기(40)로부터 TCP/IP프로토콜에 의해 접속요구가 있을 시 제1 및 제2 쓰레드(21, 22)에서 발생하는 에러메세지 및 상황메세지를 전송하도록 전송하도록 하는 디버깅 쓰레드(23)로 구성된다.The relay device 20 is connected between the switch 10 and the network management center 30. The relay device 20 is an extended interface processor (EIP), and collects network management data inside the switch 10. The first thread (thr_CToEX) 21 which communicates with the transmitting processor and manages the link as a whole, and the second thread which performs network management data transmission through the TCP / IP link to the external network management center 30 ( thr_EXToCT) and an error message and situation occurring in the first and second threads 21 and 22 when a connection request is made by the TCP / IP protocol from the remote terminal 40 by being connected to the remote terminal 40. It consists of a debugging thread 23 which sends a message to send.

이러한 구성을 갖는 중계장치와 망관리센터간의 통신상태를 원격지에서 디버깅하는 동작을 도 1을 참조하여 설명한다.An operation of remotely debugging a communication state between the relay apparatus and the network management center having such a configuration will be described with reference to FIG. 1.

중계장치(20)에서는 실행모듈 내 프로세스에서 디버깅을 위한 디비깅 쓰레드(23)를 생성하고 TCP/IP프로토콜을 이용한 접속요구 들어오기를 주기적으로 감시한다. 이때 원격단말기(40)로부터 TCP/IP프로토콜을 이용한 접속요구가 있으면 중계장치(20)의 디버깅 쓰레드(23)에서는 ACCPET()시 리턴되는 소켓(Socket) fd(file descript)를 글로벌(global)변수로 선언하여 같은 프로세스내의 쓰레들과 공유한다. 이 소켓 fd를 통해서 기능별 쓰레드에서 발생하는 에러메세지 및 상황메세지를 원격단말기(40)로 전송한다. 즉, 디버깅 쓰레드(23)에서는 원격단말기(40)로부터 접속요구가 있는지 감시하여 접속요구가 있을 시 접속응답신호를 원격단말기(40)로 보낸다. 그런후 디버깅 쓰레드(23)는 원격단말기(40)로부터 명령어를 분석하여 디버깅 타입(TYPE)을 판단하여 1번 TYPE이 들어오면 제1쓰레드(thr_CToEX)로(21)로 접속을 요구하여 중계장치(20)와 망관리센터(30)간의 ①구간의 상태메세지를 원격단말기(40)로 전송하도록 한다. 이때 원격단말기(40)로부터 1번 TYPE이 들어오면 디버깅 쓰레드(23)는 제1쓰레드(thr_CToEX)로(21)로 접속을 요구하여 중계장치(20)와 교환기(10)간의 ②구간의 상태메세지를 원격단말기(40)로 전송하도록 한다. 그리고 원격단말기(40)로부터 3번 TYPE이 들어오면 디버깅 쓰레드(23)는 제2쓰레드(thr_EXToCT)(22)로 접속을 요구하여 교환기(10)와 중계장치(20)간의 ③구간의 상태메세지를 원격단말기(40)로 전송하도록 한다. 또한 원격단말기(40)로부터 4번 TYPE이 들어오면 디버깅 쓰레드(23)는 제2쓰레드(thr_EXToCT)로(22)로 접속을 요구하여 교환기(10)와 중계장치(20)간의 ④구간의 상태메세지를 원격단말기(40)로 전송하도록 한다.The relay device 20 generates a debugging thread 23 for debugging in a process in the execution module and periodically monitors an incoming connection request using the TCP / IP protocol. At this time, if there is a connection request from the remote terminal 40 using the TCP / IP protocol, the debugging thread 23 of the relay device 20 sets the socket fd (file descript) returned at ACCPET () to a global variable. Declare and share with threads in the same process. Through this socket fd, an error message and a status message generated in the functional thread are transmitted to the remote terminal 40. That is, the debugging thread 23 monitors whether there is a connection request from the remote terminal 40, and sends a connection response signal to the remote terminal 40 when there is a connection request. Then, the debugging thread 23 analyzes the command from the remote terminal 40 to determine the debugging type (TYPE), and when the first type comes in, it requests a connection to the first thread (thr_CToEX) 21 and the relay device ( 20) and the status message of the section 1 between the network management center 30 to be transmitted to the remote terminal 40. At this time, when the first type is entered from the remote terminal 40, the debugging thread 23 requests the connection to the first thread 21 as the first thread thr_CToEX, and the status message between the relay device 20 and the switch 10 is in the ② section. To transmit to the remote terminal 40. When the third type is input from the remote terminal 40, the debugging thread 23 requests the connection to the second thread (thr_EXToCT) 22, and the status message of the section 3 between the switch 10 and the relay device 20 is received. Transmission to the remote terminal 40. In addition, when the fourth type is input from the remote terminal 40, the debugging thread 23 requests the connection to the second thread 22 as the second thread (thr_EXToCT), and a status message of the section ④ between the switch 10 and the relay device 20. To transmit to the remote terminal 40.

상술한 바와 같이 본 발명은 교환기와 망관리센터간에 통신하고 있는 상태에서 예상하지 못하는 에러가 발생할 경우 네트웍이 가능한 원격지에서 디버깅 상태를 감지하여 에러의 원인을 파악할 수 있는 이점이 있다.As described above, the present invention has the advantage of detecting the cause of the error by detecting a debugging state at a remote place where the network is possible when an unexpected error occurs in the state of communication between the switch and the network management center.

Claims (1)

망관리센터와 교환기간의 쓰레드를 이용한 원격 디버깅방법에 있어서,In the remote debugging method using the network management center and the thread of the exchange period, 원격지 단말기에서 디버깅 접속요구가 있을 시 디버깅 쓰레드에서 디버깅하고자 하는 타입을 감지하는 과정과,Detecting the type to be debugged in the debugging thread when there is a debugging connection request from the remote terminal, 상기 디버깅하고자 하는 타입을 감지하여 상기 감지된 타입의 쓰레드별 디버깅상태를 상기 원격단말기로 전송하여 표시하는 과정으로 이루어짐을 특징으로 하는 망관리센터와 교환기간의 쓰레드를 이용한 원격디버깅방법.And detecting the type to be debugged and transmitting a debugging status for each thread of the detected type to the remote terminal for displaying the detected type.
KR1019990010144A 1999-03-24 1999-03-24 Remote debugging method using thread between exange systemand network management center KR20000061239A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990010144A KR20000061239A (en) 1999-03-24 1999-03-24 Remote debugging method using thread between exange systemand network management center

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990010144A KR20000061239A (en) 1999-03-24 1999-03-24 Remote debugging method using thread between exange systemand network management center

Publications (1)

Publication Number Publication Date
KR20000061239A true KR20000061239A (en) 2000-10-16

Family

ID=19577616

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990010144A KR20000061239A (en) 1999-03-24 1999-03-24 Remote debugging method using thread between exange systemand network management center

Country Status (1)

Country Link
KR (1) KR20000061239A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10191835B2 (en) * 2007-12-21 2019-01-29 International Business Machines Corporation Multi-threaded debugger support

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10191835B2 (en) * 2007-12-21 2019-01-29 International Business Machines Corporation Multi-threaded debugger support

Similar Documents

Publication Publication Date Title
CN101488878B (en) Intelligence platform interface management apparatus and server
CN105323080B (en) A kind of link backup, power supply backup method, apparatus and system
CN106712295B (en) Logic distribution terminal and communication means based on Automation System for Distributing Substation
CN104536853B (en) Device for guaranteeing continuous availability of resources of dual-controller storage equipment
CN210578638U (en) 5G customer premises equipment
KR20000061239A (en) Remote debugging method using thread between exange systemand network management center
CN105743927B (en) A kind of CANopen and DP protocol data conversion method
CN210518377U (en) EtherCAT, ProfiNET bus compatible system
KR100525677B1 (en) Apparatus and method for duplication of communication control module
US7269140B2 (en) Suspend packet transmitter
KR100329652B1 (en) Method for controlling remote board by using packet network
CN108650101A (en) A kind of method and apparatus of data transmission
CN111757091B (en) Method and device for maintaining equipment through hardware interface
KR950010483B1 (en) The method transmitting a message for an electronic exchanger
JP2003030064A (en) Network system and communication method
JPH04160838A (en) Gateway processor and its control method
KR100301792B1 (en) Apparatus for managing connection status of lan between the switching system and terminal
US20030093549A1 (en) Data transfer device including communication circuit for controlling communication party
KR100871238B1 (en) Apparatus and method for interfacing an msc with an nmc in a mobile communication system
JPS63318823A (en) Trouble detecting system
JPH0223740A (en) Communication network system
JPS6369346A (en) Network management system
JPH02211750A (en) Data link control method
KR20140060752A (en) Fail-safe apparatus for gateway in vehicle networks and method thereof
KR20010025920A (en) Debuger for remote processor in exchanging system and debugging method thereof

Legal Events

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