KR20090103657A - Terminval management system and method thereof, terminal and recoding medium thereof - Google Patents

Terminval management system and method thereof, terminal and recoding medium thereof

Info

Publication number
KR20090103657A
KR20090103657A KR1020080055138A KR20080055138A KR20090103657A KR 20090103657 A KR20090103657 A KR 20090103657A KR 1020080055138 A KR1020080055138 A KR 1020080055138A KR 20080055138 A KR20080055138 A KR 20080055138A KR 20090103657 A KR20090103657 A KR 20090103657A
Authority
KR
South Korea
Prior art keywords
terminal
message
router
snmp
address
Prior art date
Application number
KR1020080055138A
Other languages
Korean (ko)
Other versions
KR100980466B1 (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 KR1020080055138A priority Critical patent/KR100980466B1/en
Publication of KR20090103657A publication Critical patent/KR20090103657A/en
Application granted granted Critical
Publication of KR100980466B1 publication Critical patent/KR100980466B1/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/02Standardisation; Integration
    • H04L41/0213Standardised network management protocols, e.g. simple network management protocol [SNMP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/256NAT traversal

Abstract

PURPOSE: A terminal management system and a method thereof, a terminal and a recoding medium thereof are provided to manage a terminal in a sharing router by using an SNMP message through a UDP hole of the sharing router which is set up by an SNMP ping message of a terminal. CONSTITUTION: A terminal management system manages a terminal(100) of a sharing router(200) through a network, and the terminal management system includes a message processor and a control message generator. The message processor receives a ping message periodically the ping message. The message processor stores a first port address and an IP(Internet Protocol) address included in the received ping message. The control message generator receives a control command for controlling the terminal of the manager.

Description

단말기 관리 시스템 및 그 방법과, 이를 위한 단말기 및 그의 기록매체{TERMINVAL MANAGEMENT SYSTEM AND METHOD THEREOF, TERMINAL AND RECODING MEDIUM THEREOF}A terminal management system and method thereof, and a terminal and a recording medium for the same, and a terminal and a recording medium thereof

본 발명은 단말기 관리 시스템 및 그 방법과, 이를 위한 단말기 및 그의 기록매체에 관한 것이다. 특히 본 발명은 SNMP(Simple Network Management Protocol)를 이용하여 공유기 내 단말기를 관리하는 시스템 및 그 방법에 관한 것이다.The present invention relates to a terminal management system and method thereof, and a terminal and a recording medium thereof. In particular, the present invention relates to a system and method for managing a terminal in a router using a simple network management protocol (SNMP).

최근에 국내 인터넷 가입자 수가 증가하면서, 복수의 IP(Internet Protocol) 단말기를 사용하는 가구가 많아지고 있다. Recently, as the number of domestic Internet subscribers increases, more households use a plurality of Internet Protocol (IP) terminals.

특히, 복수의 IP 단말기 사용으로 인해 공유기나 공유기능을 내장한 멀티포트 모뎀 또는 RGW(Rader Gateway; 이하 'RGW' 라고도 함.)의 수요가 급증하고 있으며, 작지 않은 비율의 인터넷 가입자가 공유기를 이용하고 있다.In particular, due to the use of multiple IP terminals, the demand for routers and multiport modems with built-in sharing functions or RGW (Rader Gateway; hereinafter referred to as 'RGW') is increasing rapidly. Doing.

공유기 또는 멀티포트 모뎀/RGW(이하, 공유기 또는 멀티포트 모뎀/RGW 모두 "공유기"로 통칭하기로 함)는 하단(LAN 인터페이스)에 있는 복수의 IP 단말기에 사설 IP 주소를 할당하고, 할당한 사설 IP 주소를 사용자가 서비스 사업자로부터 부여 받은 하나의 공인 IP 주소에 대응시키는 NAT(Network Address Translation) 기능을 제공한다.The router or multiport modem / RGW (hereinafter, collectively referred to as the "router" for both the router or multiport modem / RGW) assigns a private IP address to a plurality of IP terminals at the bottom (LAN interface), It provides a NAT (Network Address Translation) function that maps an IP address to a single public IP address from a service provider.

이러한 IP 공유기 환경에서는 내부의 사설 IP 단말기가 외부 인터넷으로의 통신하는 데는 문제가 없으나, 인터넷에서 내부의 사설 IP 단말기로의 접속은 제한된다.In such an IP router environment, there is no problem in the internal private IP terminal communicating to the external Internet, but access from the Internet to the internal private IP terminal is limited.

특히, 서비스 사업자들이 부가서비스 품질 유지 및 유지 보수 등의 단말기 관리를 위해 SNMP 메시지를 이용하는 경우, 공유기가 SNMP 메시지 처리를 지원하지 않았기 때문에, 공유기 내의 단말기로 접속하기가 사실상 불가능하였다.In particular, when service providers use SNMP messages for terminal management, such as additional service quality maintenance and maintenance, since the router did not support SNMP message processing, it was virtually impossible to access a terminal in the router.

도 1은 종래의 SNMP를 이용하는 단말기 관리 망을 도시한 도면이다.1 is a diagram illustrating a terminal management network using a conventional SNMP.

도 1에 도시한 같이, 종래의 SNMP 서버(30)는 가입자의 단말기 상태를 조회하거나 값을 변경하기 위해 SNMP 메시지를 단말기(10)로 전송하지만, SNMP 메시지는 단말기(10)에 도착하지 못한다. 즉, SNMP 서버(30)의 메시지는 공유기(20)까지 도착하지만, 공유기(20)의 NAT 서버가 SNMP 메시지를 어느 단말기에게 보내야 할 지 알 수 없기에 SNMP 메시지를 폐기하게 된다. 따라서, 사설 IP망 내의 단말기(10)를 관리하기 위해 SNMP 메시지를 사용할 수 없었다.As shown in FIG. 1, the conventional SNMP server 30 transmits an SNMP message to the terminal 10 to inquire about the terminal status of the subscriber or to change a value, but the SNMP message does not arrive at the terminal 10. That is, although the message of the SNMP server 30 arrives to the router 20, the NAT server of the router 20 does not know which terminal to send the SNMP message to discard the SNMP message. Therefore, the SNMP message could not be used to manage the terminal 10 in the private IP network.

본 발명이 이루고자 하는 기술적 과제는 발명은 SNMP(Simple Network Management Protocol)를 이용하여 공유기 내 단말기를 관리하는 시스템 및 그 방법을 제공하는 것이다. An object of the present invention is to provide a system and method for managing a terminal in a router using a simple network management protocol (SNMP).

전술한 과제를 해결하기 위한 본 발명의 특징에 따라서, 네트워크를 통해 연결된 공유기 내의 단말기를 관리하는 단말기 관리 시스템은,According to a feature of the present invention for solving the above problems, a terminal management system for managing terminals in a router connected via a network,

핑 메시지를 상기 단말기로부터 주기적으로 수신하고, 수신된 핑 메시지에 포함된 공인 IP(Internet Protocol)주소와 상기 제1 포트 주소를 저장하는 메시지 처리부; 및 관리자로부터 상기 단말기를 제어하기 위한 제어 명령을 입력받고, 상기 제어 명령이 상기 단말기로 전송되도록 상기 공유기의 상기 공인 IP 주소와 상기 제1 포트 주소로 상기 제어 명령을 전송하는 제어 메시지 생성부를 포함한다.A message processing unit periodically receiving a ping message from the terminal and storing a public IP address and the first port address included in the received ping message; And a control message generation unit configured to receive a control command for controlling the terminal from an administrator and transmit the control command to the public IP address and the first port address of the router so that the control command is transmitted to the terminal. .

여기서, 상기 메시지 처리부는 수신되는 메시지의 타입 필드값에 기초하여 핑 메시지를 확인한 후, 상기 공인 IP 주소와 상기 제1 포트 주소를 저장한다.Here, the message processor checks the ping message based on the type field value of the received message, and then stores the public IP address and the first port address.

여기서, 상기 제어 메시지 생성부는, 상기 제어 명령에 대응되는 SNMP(Simple Network Management Protocol) 형식의 Get/Set 제어 메시지를 생성하고, 상기 공유기의 상기 제1 포트 주소로 상기 Get/Set 제어 메시지를 전송한다.Here, the control message generating unit generates a Get / Set control message of a Simple Network Management Protocol (SNMP) format corresponding to the control command, and transmits the Get / Set control message to the first port address of the router. .

본 발명의 특징에 따라서, 네트워크를 통해 연결된 공유기 내의 단말기를 관리하는 장치의 단말기 관리 방법은,According to a feature of the present invention, a terminal management method of a device for managing a terminal in a router connected through a network,

핑 메시지를 상기 단말기로부터 주기적으로 수신하여 상기 핑 메시지에 포함된 상기 공유기의 공인 IP 주소와 상기 제1 포트 주소를 저장하는 단계; 관리자로부터 상기 단말기를 제어하기 위한 제어 명령을 입력받는 단계; 및 상기 입력받은 제어 명령이 상기 단말기로 전송되도록 상기 공유기의 상기 공인 IP 주소와 상기 제1 포트 주소로 상기 제어 명령을 전송하는 단계를 포함한다.Periodically receiving a ping message from the terminal and storing a public IP address and the first port address of the router included in the ping message; Receiving a control command for controlling the terminal from an administrator; And transmitting the control command to the public IP address and the first port address of the router such that the received control command is transmitted to the terminal.

여기서, 상기 제어 명령을 전송하는 단계는,Here, the step of transmitting the control command,

상기 제어 명령에 대응되는 SNMP(Simple Network Management Protocol) 형식의 Get/Set 제어 메시지를 생성하는 단계; 및 상기 생성된 Get/Set 제어 메시지를 상기 공유기의 상기 제1 포트 주소로 상기 전송하는 단계를 포함한다.Generating a Get / Set control message in a Simple Network Management Protocol (SNMP) format corresponding to the control command; And transmitting the generated Get / Set control message to the first port address of the router.

본 발명의 특징에 따라서, 공유기와 연결되며, 단말기를 관리하는 장치와 상기 공유기를 통해 연결되는 단말기는,According to a feature of the present invention, a device connected to a router, a device managing a terminal and a terminal connected through the router,

상기 단말기의 사설 IP 주소에 매칭하여 할당된 상기 공유기의 제1 포트 주소로 수신되는 메시지를 상기 단말기로 전송하도록 주기적으로 핑 메시지를 상기 장치로 전송하는 핑 메시지 생성부; 상기 장치로부터 상기 단말기를 제어하기 위한 제어 메시지를 수신하고, 수신된 제어 메시지를 분석하는 제어 메시지 처리부; 및 상기 제어 메시지 처리부터 수신된 제어 메시지 분석 정보를 기초로 상기 단말기의 상태를 조회 혹은 설정하는 설정 변경부를 포함한다.A ping message generator for periodically sending a ping message to the device to transmit a message received at the first port address of the router allocated by matching the private IP address of the terminal to the terminal; A control message processing unit for receiving a control message for controlling the terminal from the device and analyzing the received control message; And a setting change unit for inquiring or setting the state of the terminal based on the control message analysis information received from the control message processing.

여기서, 상기 핑 메시지 및 상기 제어 메시지는 SNMP 형식의 메시지인 특징을 갖는다.Here, the ping message and the control message is characterized in that the message of the SNMP format.

본 발명의 특징에 따라서, 공유기와 연결되며, 단말기를 관리하는 장치와 상기 공유기를 통해 연결되는 단말기의 기록매체는,According to a feature of the invention, connected to the router, the device for managing the terminal and the recording medium of the terminal connected via the router,

상기 단말기의 사설 IP 주소에 매칭하여 할당된 상기 공유기의 제1 포트 주소로 수신되는 메시지를 상기 단말기로 전송하도록 주기적으로 핑 메시지를 상기 장치로 전송하는 기능; 상기 공유기를 통해 상기 장치의 제어 메시지를 수신하는 기능; 및 상기 수신된 제어 메시지를 기초로 상기 단말기의 상태를 조회 또는 설정하는 기능을 포함한다.Periodically sending a ping message to the device to send a message received at the first port address of the router allocated in correspondence with the private IP address of the terminal to the terminal; Receiving a control message of the device via the router; And querying or setting the state of the terminal based on the received control message.

여기서, 상기 제어 메시지에 대한 응답 메시지를 생성하여 상기 장치로 전송하는 기능을 더 포함한다.The method may further include generating a response message to the control message and transmitting the generated response message to the device.

이러한, 본 발명에 따르면 단말기의 SNMP 핑(Ping) 메시지를 통해 설정된 공유기의 UDP 홀(Hole)을 통해 SNMP 메시지를 이용한 공유기 내 단말기 관리를 수행할 수 있는 효과를 기대할 수 있다.According to the present invention, it is possible to expect the effect of performing the terminal management in the router using the SNMP message through the UDP hole (Hole) of the router set through the SNMP ping message of the terminal.

도 1은 종래의 SNMP를 이용하는 단말기 관리 망을 도시한 도면이다.1 is a diagram illustrating a terminal management network using a conventional SNMP.

도 2는 본 발명의 실시 예에 따른 SNMP를 이용하여 공유기 내 단말기를 관리하는 SNMP 서버가 적용된 단말기 관리 시스템을 도시한 도면이다.2 is a diagram illustrating a terminal management system to which an SNMP server for managing a terminal in a router using SNMP according to an embodiment of the present invention is applied.

도 3은 본 발명의 실시 예에 따른 SNMP 서버를 도시한 블록도이다.3 is a block diagram illustrating an SNMP server according to an embodiment of the present invention.

도 4는 본 발명의 실시 예에 따른 단말기를 도시한 블록도이다.4 is a block diagram illustrating a terminal according to an exemplary embodiment of the present invention.

도 5는 본 발명의 실시 예에 따른 단말기 관리 시스템의 단말기 관리 방법을 도시한 데이터 흐름도이다.5 is a data flow diagram illustrating a terminal management method of a terminal management system according to an exemplary embodiment of the present invention.

아래에서는 첨부한 도면을 참고로 하여 본 발명의 실시 예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시 예에 한정되지 않는다. 그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art may easily implement the present invention. As those skilled in the art would realize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. In the drawings, parts irrelevant to the description are omitted in order to clearly describe the present invention, and like reference numerals designate like parts throughout the specification.

명세서 전체에서, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다. 또한, 명세서에 기재된 "…부", "…기", "모듈" 등의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어나 소프트웨어 또는 하드웨어 및 소프트웨어의 결합으로 구현될 수 있다.Throughout the specification, when a part is said to "include" a certain component, it means that it can further include other components, without excluding other components unless specifically stated otherwise. In addition, the terms “… unit”, “… unit”, “module”, etc. described in the specification mean a unit that processes at least one function or operation, which may be implemented by hardware or software or a combination of hardware and software. have.

도 2는 본 발명의 실시 예에 따른 SNMP를 이용하여 공유기 내 단말기를 관리하는 SNMP 서버가 적용된 단말기 관리 시스템을 도시한 도면이다.2 is a diagram illustrating a terminal management system to which an SNMP server for managing a terminal in a router using SNMP according to an embodiment of the present invention is applied.

도 2에 나타낸 바와 같이, 본 발명의 실시 예에 따른 단말기 관리 시스템은 SNMP 서버(300)를 포함한다.As shown in FIG. 2, the terminal management system according to the embodiment of the present invention includes an SNMP server 300.

SNMP 서버(300)는 단말기(100)로부터 SNMP PING 메시지(이하, "SNMP 핑 메시지" 라고도 함)를 수신하고, 수신된 SNMP 핑 메시지를 기초로 단말기(100)를 관리하게 된다.The SNMP server 300 receives an SNMP PING message (hereinafter also referred to as an "SNMP ping message") from the terminal 100 and manages the terminal 100 based on the received SNMP ping message.

구체적으로, SNMP 서버(300)는 단말기(100)로부터 주기적으로 SNMP 핑 메시지를 수신하고, 수신된 SNMP 핑 메시지에 포함된 단말기 정보를 저장한다. 그리고, 관리자로부터 제어 명령을 입력받는 경우에, 입력받은 제어 명령에 대응하는 SNMP Get/Set 제어 메시지를 생성하여 공유기(200)를 통해 단말기(100)로 전송한다.In detail, the SNMP server 300 periodically receives an SNMP ping message from the terminal 100 and stores terminal information included in the received SNMP ping message. When receiving a control command from the administrator, an SNMP Get / Set control message corresponding to the received control command is generated and transmitted to the terminal 100 through the router 200.

여기서, 단말기 정보는 단말기(100)의 공인 IP 주소 및 포트 주소, 고유 식별자 및 타입 필드값을 포함한다. 이때, 타입 필드값(Type field)은 SNMP 버전(Version)을 포함하는 헤더(Header) 영역을 SNMP 핑으로 정의한 값이다.Here, the terminal information includes a public IP address and port address, a unique identifier, and a type field value of the terminal 100. In this case, the type field value is a value in which a header area including an SNMP version is defined as an SNMP ping.

이러한, 본 발명의 실시 예에 따른 SNMP 서버에 대하여 도 3을 통해 후술한다.Such an SNMP server according to an embodiment of the present invention will be described later with reference to FIG. 3.

단말기(100)는 SNMP 에이전트(SNMP Agent)를 포함하며, SNMP 에이전트를 통해 주기적으로 SNMP 핑 메시지를 SNMP 서버(300)로 전송한다. 이때, SNMP 핑 메시지는 단말기(100)의 사설 IP 주소 및 포트 주소, 단말기(100)에 대한 고유 식별자(예를 들어, MAC 주소 혹은 가입자 식별 번호)와 핑 메시지임을 나타내는 페이로드(payload)값을 포함한다.The terminal 100 includes an SNMP agent, and periodically transmits an SNMP ping message to the SNMP server 300 through the SNMP agent. In this case, the SNMP ping message may include a private IP address and a port address of the terminal 100, a unique identifier (for example, a MAC address or a subscriber identification number) for the terminal 100, and a payload value indicating that the terminal is a ping message. Include.

여기서, SNMP 에이전트는 공유기(200)의 UDP 홀(이하, "UDP Hole"이라고도 함) 유지시간보다 적은 시간 간격으로 SNMP 핑 메시지를 생성하여 SNMP 서버(300)로 전송하도록 설정된다. 이는 SNMP 핑 메시지 주기가 UDP 홀 유지시간 보다 긴 경우에, 공유기(200)의 UDP 홀 설정이 변경될 수 있기 때문이다.Here, the SNMP agent is configured to generate an SNMP ping message at a time interval less than the UDP hole (hereinafter, also referred to as “UDP Hole”) holding time of the router 200 and transmit it to the SNMP server 300. This is because the UDP hole setting of the router 200 may be changed when the SNMP ping message period is longer than the UDP hole holding time.

여기서, UDP 홀은 단말기(100)의 사설IP주소와 공유기(200)의 포트 주소를 매칭시켜 놓은 아이피 포트 변환 정보를 말한다. Here, the UDP hole refers to IP port conversion information that matches the private IP address of the terminal 100 and the port address of the router 200.

공유기(200)는 DHCP(Dynamic Host Configuration Protocol; 이하, "DHCP"라 함) 서버 기능 및 NAT(Network Address Translation; 이하, "NAT"라 함.) 기능을 지원하며, 다수의 단말기(100)와 연결되고, 연결된 단말기(100)들에 사설 IP주소를 할당한다. 또한, NAT 기능을 통해 단말기(100)와 외부 장치간의 데이터 송수신을 중계한다.The router 200 supports a Dynamic Host Configuration Protocol (DHCP) server function and a Network Address Translation (NAT) function, and supports a plurality of terminals 100. The private IP addresses are assigned to the connected terminals 100. In addition, the NAT function relays data transmission and reception between the terminal 100 and an external device.

구체적으로, 공유기(200)는 단말기(100)로부터 메시지를 수신하면, 수신된 메시지에 대하여 소스 IP주소를 공유기(200)의 공인 IP 주소로 변경하고, 포트 주소를 공유기(200)가 할당한 포트 주소로 변경한다. 그리고, 포트 할당된 정보(단말기의 사설 IP 주소에 매칭되어 할당된 포트 주소 정보)를 변환 테이블(Table)에 저장한다. 이후 SNMP 서버(300)로부터 단말기(100)로 전송되는 메시지를 변환 테이블에 기초하여 전달한다. 예를 들어, 도 2에 도시한 바와 같이, 공유기(200)가 단말기(100)의 사설 IP 주소에 대응하여 포트 10161을 할당하면, 이후 SNMP 서버(300)로부터 포트 10161로 수신되는 메시지는 해당 단말기(100)로 전송한다. Specifically, when the router 200 receives a message from the terminal 100, the router 200 changes the source IP address to the public IP address of the router 200 for the received message, and assigns the port address to the port assigned by the router 200. Change to the address. In addition, the port allocation information (port address information allocated by matching the private IP address of the terminal) is stored in the conversion table. Then, the message transmitted from the SNMP server 300 to the terminal 100 is transmitted based on the conversion table. For example, as shown in FIG. 2, when the router 200 allocates the port 10161 corresponding to the private IP address of the terminal 100, a message received from the SNMP server 300 on the port 10161 is then transmitted. Send to 100.

여기서, 공유기(200)는 단말기(100)의 IP 주소와 단말기(100)의 IP 주소에 매칭되어 임의로 할당된 포트 주소를 포함하는 변환 테이블을 관리하며, 변환 테이블의 UDP 홀 유지 시간은 최소 1분 이상 3분 이내로 임의 설정된다.Here, the router 200 manages a translation table including an arbitrarily assigned port address matching the IP address of the terminal 100 and the IP address of the terminal 100, and the UDP hole holding time of the translation table is at least 1 minute. It is arbitrarily set within the above three minutes.

다음은 도 3을 통해 본 발명의 실시 예에 따른 SNMP 서버(300)를 상세히 설명한다.Next, the SNMP server 300 according to an embodiment of the present invention will be described in detail with reference to FIG. 3.

도 3은 본 발명의 실시 예에 따른 SNMP 서버를 도시한 블록도이다.3 is a block diagram illustrating an SNMP server according to an embodiment of the present invention.

도 3에 나타낸 바와 같이, 본 발명의 실시 예에 따른 SNMP 서버(300)는 통신부(310), 핑 메시지 처리부(320), 제어 메시지 생성부(330) 및 단말기 관리부(340)를 포함한다.As shown in FIG. 3, the SNMP server 300 according to an embodiment of the present invention includes a communication unit 310, a ping message processing unit 320, a control message generating unit 330, and a terminal manager 340.

통신부(310)는 네트워크를 통해 공유기(200)와 데이터 송수신을 수행한다. The communication unit 310 performs data transmission and reception with the router 200 through a network.

핑 메시지 처리부(320)는 주기적으로 단말기(100)로부터 SNMP 핑 메시지를 수신하고, 수신된 SNMP 핑 메시지를 분석하여 단말기 정보를 추출한다. 그리고, 추출된 단말기 정보를 저장한다. 이때, 핑 메시지 처리부(320)는 수신되는 메시지에 포함된 타입 필드값을 기초로 핑 메시지인지 여부를 확인하고, 핑 메시지로 확인되면 단말기 정보를 추출한다. 예를 들어, 기존의 SNMP 메시지의 타입 필드값이 "0x30"을 갖으면, 일반적인 SNMP 메시지로 처리하고, 타입 필드값이 "0xFF"이면 핑 메시지로 처리한다.The ping message processor 320 periodically receives an SNMP ping message from the terminal 100, and analyzes the received SNMP ping message to extract terminal information. Then, the extracted terminal information is stored. At this time, the ping message processor 320 checks whether the message is a ping message based on the type field value included in the received message, and extracts the terminal information when the ping message is confirmed. For example, if the type field value of an existing SNMP message has "0x30", it is processed as a general SNMP message. If the type field value is "0xFF", it is processed as a ping message.

제어 메시지 생성부(330)는 단말기 관리부(340)로부터 수신된 제어 명령에 대응하는 SNMP Get/Set 제어 메시지를 생성하여 공유기(200)를 통해 단말기(100)로 전송한다.The control message generator 330 generates an SNMP Get / Set control message corresponding to the control command received from the terminal manager 340 and transmits the generated SNMP Get / Set control message to the terminal 100 through the router 200.

단말기 관리부(340)는 관리자로부터 제어 명령을 입력받는 경우에, 입력받은 제어 명령을 제어 메시지 생성부(330)로 전송한다.When the terminal manager 340 receives a control command from the manager, the terminal manager 340 transmits the received control command to the control message generator 330.

이러한, 본 발명의 실시 예에 따른 SNMP 서버(300)는 단말기로부터 주기적으로 SNMP 핑 메시지를 수신하여, 단말기 정보를 획득하고, 획득한 정보를 이용하여 UDP 홀을 유지하고 있는 공유기를 통해 공유기 내 단말기를 제어 및 관리할 수 있는 큰 장점이 있다.Such an SNMP server 300 according to an embodiment of the present invention periodically receives an SNMP ping message from a terminal, acquires terminal information, and uses a router to maintain a UDP hole using the acquired information. There is a big advantage to control and manage.

다음은 도 4를 통해 본 발명의 실시 예에 따른 SNMP 핑 메시지를 주기적으로 송신하는 단말기에 대하여 상세히 설명한다.Next, a terminal periodically transmitting an SNMP ping message according to an embodiment of the present disclosure will be described in detail with reference to FIG. 4.

도 4는 본 발명의 실시 예에 따른 단말기를 도시한 블록도이다.4 is a block diagram illustrating a terminal according to an exemplary embodiment of the present invention.

도 4에 도시한 바와 같이, 본 발명의 실시 예에 따른 단말기(100)는 통신부(110), SNMP 에이전트(120) 및 설정 변경부(130)를 포함한다.As shown in FIG. 4, the terminal 100 according to an embodiment of the present invention includes a communication unit 110, an SNMP agent 120, and a setting change unit 130.

통신부(110)는 네트워크를 통해 공유기와 데이터 송수신을 한다.The communication unit 110 transmits and receives data with the router via a network.

SNMP 에이전트(120)는 SNMP 핑 메시지 생성부(122) 및 제어 메시지 처리부(124)를 포함한다.The SNMP agent 120 includes an SNMP ping message generator 122 and a control message processor 124.

SNMP 핑 메시지 생성부(122)는 설정된 시간에 SNMP 핑 메시지를 생성하여 SNMP 서버(300)로 전송한다. 이때, SNMP 핑 메시지 생성부(122)는 공유기(200)의 UDP 홀 유지시간보다 적은 시간 간격으로 SNMP 핑 메시지를 생성하여 공유기(200)로 전송한다.The SNMP ping message generator 122 generates an SNMP ping message at a set time and transmits the generated SNMP ping message to the SNMP server 300. At this time, the SNMP ping message generator 122 generates an SNMP ping message at a time interval less than the UDP hole holding time of the router 200 and transmits the generated message to the router 200.

제어 메시지 처리부(124)는 SNMP 서버(300)로부터 수신된 SNMP 제어 메시지를 분석하고, 분석된 정보를 설정 변경부(130)로 전송한다. 이때, SNMP 제어 메시지는 SNMP Get/Set 제어 메시지를 포함한다.The control message processor 124 analyzes the SNMP control message received from the SNMP server 300 and transmits the analyzed information to the setting changer 130. In this case, the SNMP control message includes an SNMP Get / Set control message.

설정 변경부(130)는 제어 메시지 처리부(124)로부터 분석 정보를 기초로 단말기의 상태를 조회하여 SNMP 서버(300)로 제공하거나, 단말기의 상태를 설정하거나 조회하여 그에 대한 응답을 제공한다.The setting change unit 130 inquires the state of the terminal from the control message processing unit 124 based on the analysis information and provides it to the SNMP server 300, or sets or inquires the state of the terminal to provide a response thereto.

다음은 도 5를 통해 본 발명의 실시 예에 따른 단말기 관리 시스템의 단말기 관리 방법을 상세히 설명한다.Next, a terminal management method of a terminal management system according to an exemplary embodiment of the present invention will be described in detail with reference to FIG. 5.

도 5는 본 발명의 실시 예에 따른 단말기 관리 시스템의 단말기 관리 방법을 도시한 데이터 흐름도이다.5 is a data flow diagram illustrating a terminal management method of a terminal management system according to an exemplary embodiment of the present invention.

도 5에 도시한 바와 같이, 본 발명의 실시 예에 따른 단말기(100)는 설정된 시간에 SNMP 서버(300)를 목적지로 하는 SNMP 핑 메시지를 생성하고(S100), 생성된 SNMP 핑 메시지를 공유기(200)로 전송한다(S102). 여기서, 단말기에 설정된 시간은 공유기(200)의 UDP 홀 유지시간이 3분인 경우, 3분 미만이 된다.As shown in FIG. 5, the terminal 100 generates an SNMP ping message destined for the SNMP server 300 at a set time (S100) and shares the generated SNMP ping message with a router (S100). 200) (S102). Here, the time set in the terminal is less than 3 minutes when the UDP hole holding time of the router 200 is 3 minutes.

공유기(200)는 단말기(100)로부터 SNMP 핑 메시지를 수신하고, 수신된 SNMP 핑 메시지에 포함된 소스 IP 주소인 단말기(100)의 사설 IP 주소를 공유기(200)의 공인 IP 주소로 변경한다. 그리고, 변환 테이블에 단말기(100)의 사설 IP 주소에 대응되어 할당된 포트 주소를 저장하여 UDP 홀을 생성한다(S104). The router 200 receives an SNMP ping message from the terminal 100, and changes the private IP address of the terminal 100, which is a source IP address included in the received SNMP ping message, to a public IP address of the router 200. In operation S104, a UDP hole is generated by storing a port address allocated corresponding to the private IP address of the terminal 100 in the conversion table.

그리고, 공유기(200)는 소스 IP 주소를 공인 IP 주소로, 소스 포트 주소를 공유기(200)가 할당한 포트 주소로 각각 변경된 SNMP 핑 메시지를 SNMP 서버(300)로 전송한다(S106).The router 200 transmits the changed SNMP ping messages to the SNMP server 300, respectively, with the source IP address as the public IP address and the source port address as the port address assigned by the router 200 (S106).

이때, 공유기(200)는 단말기(100)로부터 주기적으로 SNMP 핑 메시지를 수신하고, 수신된 SNMP 핑 메시지의 소스 IP 주소와 포트 주소를 변경하여 SNMP 서버(300)로 전송한다.At this time, the router 200 periodically receives an SNMP ping message from the terminal 100, changes the source IP address and the port address of the received SNMP ping message, and transmits the received SNMP ping message to the SNMP server 300.

SNMP 서버(300)는 SNMP 핑 메시지를 수신하고, 수신된 SNMP 핑 메시지를 기초로 단말기 정보를 저장한다(S107). 이때, SNMP 핑 메시지에 대한 ACK(응답 메시지)는 존재하지 않는다. 이때, SNMP 서버(300)는 수신되는 메시지에 포함된 타입 필드값을 기초로 핑 메시지인지 여부를 확인하고, 핑 메시지로 확인되면 단말기 정보를 추출하여 저장한다.The SNMP server 300 receives an SNMP ping message and stores terminal information based on the received SNMP ping message (S107). At this time, there is no ACK (response message) for the SNMP ping message. In this case, the SNMP server 300 checks whether the message is a ping message based on the type field value included in the received message, and extracts and stores the terminal information when the ping message is confirmed.

그리고, SNMP 서버(300)는 관리자로부터 제어 명령을 입력받으면(S108), 입력받은 제어 명령에 대응되는 SNMP Get/Set 제어 메시지를 통해 단말기(100)의 상태를 조회 및 변경을 수행한다. In addition, when the SNMP server 300 receives a control command from the administrator (S108), the SNMP server 300 inquires and changes the state of the terminal 100 through an SNMP Get / Set control message corresponding to the received control command.

구체적으로, SNMP 서버(300)는 단말기(100)의 상태를 조회 및 변경하기 위한 제어 명령을 관리자로부터 입력받으면, 입력받은 제어 명령에 대응되는 SNMP Get/Set 제어 메시지를 생성하고(S110), 생성된 제어 메시지를 SNMP 핑 메시지에 의해 저장된 단말기(100)의 공인 IP 주소 및 포트 주소로 전송한다(S112). In detail, when the SNMP server 300 receives a control command for inquiring and changing the state of the terminal 100 from an administrator, the SNMP server 300 generates an SNMP Get / Set control message corresponding to the received control command (S110). The control message is transmitted to the public IP address and port address of the terminal 100 stored by the SNMP ping message (S112).

공유기(200는 SNMP 서버(300)로부터 SNMP 제어 메시지를 수신하고, 변환 테이블을 확인하여 SNMP 제어 메시지에 포함된 포트 주소에 매칭되는 단말기(100)의 사설 IP주소를 검색하고(S114), 검색된 사설 IP 주소의 단말기(100)로 SNMP 제어 메시지를 전송한다(S116).The router 200 receives an SNMP control message from the SNMP server 300, checks a translation table, and searches for a private IP address of the terminal 100 matching the port address included in the SNMP control message (S114). The SNMP control message is transmitted to the terminal 100 of the IP address (S116).

단말기(100)는 SNMP 제어 메시지를 수신하고, 수신된 SNMP 제어 메시지를 기초로 단말기 상태를 설정하거나, 조회한다(S118). 그리고, 그에 대한 응답 메시지를 생성하여 SNMP 서버(300)로 전송한다.The terminal 100 receives the SNMP control message and sets or inquires the terminal state based on the received SNMP control message (S118). The response message is generated and transmitted to the SNMP server 300.

이러한, SNMP 서버는 단말기의 SNMP Ping 메시지를 통해 설정된 공유기의 UDP hole을 통해 공유기 내의 단말기를 관리할 수 있는 큰 장점이 있다.Such an SNMP server has a great advantage of managing a terminal in the router through the UDP hole of the router set through the SNMP Ping message of the terminal.

이상에서 설명한 본 발명의 실시예는 장치 및 방법을 통해서만 구현이 되는 것은 아니며, 본 발명의 실시예의 구성에 대응하는 기능을 실현하는 프로그램 또는 그 프로그램이 기록된 기록 매체를 통해 구현될 수도 있으며, 이러한 구현은 앞서 설명한 실시예의 기재로부터 본 발명이 속하는 기술분야의 전문가라면 쉽게 구현할 수 있는 것이다. The embodiments of the present invention described above are not implemented only through the apparatus and the method, but may be implemented through a program for realizing a function corresponding to the configuration of the embodiment of the present invention or a recording medium on which the program is recorded. Implementation may be easily implemented by those skilled in the art from the description of the above-described embodiments.

이상에서 본 발명의 실시 예에 대하여 상세하게 설명하였지만 본 발명의 권리범위는 이에 한정되는 것은 아니고 다음의 청구범위에서 정의하고 있는 본 발명의 기본 개념을 이용한 당업자의 여러 변형 및 개량 형태 또한 본 발명의 권리범위에 속하는 것이다.Although the embodiments of the present invention have been described in detail above, the scope of the present invention is not limited thereto, and various modifications and improvements of those skilled in the art using the basic concepts of the present invention defined in the following claims are also provided. It belongs to the scope of rights.

Claims (13)

네트워크를 통해 연결된 공유기 내의 단말기를 관리하는 단말기 관리 시스템에 있어서,A terminal management system for managing terminals in a router connected through a network, 핑 메시지를 상기 단말기로부터 주기적으로 수신하고, 수신된 핑 메시지에 포함된 공인 IP(Internet Protocol)주소와 상기 제1 포트 주소를 저장하는 메시지 처리부; 및A message processing unit periodically receiving a ping message from the terminal and storing a public IP address and the first port address included in the received ping message; And 관리자로부터 상기 단말기를 제어하기 위한 제어 명령을 입력받고, 상기 제어 명령이 상기 단말기로 전송되도록 상기 공유기의 상기 공인 IP 주소와 상기 제1 포트 주소로 상기 제어 명령을 전송하는 제어 메시지 생성부A control message generation unit for receiving a control command for controlling the terminal from an administrator and transmitting the control command to the public IP address and the first port address of the router so that the control command is transmitted to the terminal. 를 포함하는 단말기 관리 시스템.Terminal management system comprising a. 제1항에 있어서,The method of claim 1, 상기 메시지 처리부는 수신되는 메시지의 타입 필드값에 기초하여 핑 메시지를 확인한 후, 상기 공인 IP 주소와 상기 제1 포트 주소를 저장하는 단말기 관리 시스템.And the message processing unit stores the public IP address and the first port address after checking the ping message based on the type field value of the received message. 제2항에 있어서,The method of claim 2, 상기 제어 메시지 생성부는,The control message generator, 상기 제어 명령에 대응되는 SNMP(Simple Network Management Protocol) 형식의 Get/Set 제어 메시지를 생성하고, 상기 공유기의 상기 제1 포트 주소로 상기 Get/Set 제어 메시지를 전송하는 단말기 관리 시스템.And generating a Get / Set control message in SNMP (Simple Network Management Protocol) format corresponding to the control command and transmitting the Get / Set control message to the first port address of the router. 제1항 내지 제3항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 3, 상기 핑 메시지는 SNMP 형식의 메시지인 특징을 갖는 단말기 관리 시스템.The ping message is a terminal management system characterized in that the message of the SNMP format. 네트워크를 통해 연결된 공유기 내의 단말기를 관리하는 장치의 단말기 관리 방법에 있어서,In the terminal management method of a device for managing a terminal in a router connected through a network, 핑 메시지를 상기 단말기로부터 주기적으로 수신하여 상기 핑 메시지에 포함된 상기 공유기의 공인 IP 주소와 상기 제1 포트 주소를 저장하는 단계;Periodically receiving a ping message from the terminal and storing a public IP address and the first port address of the router included in the ping message; 관리자로부터 상기 단말기를 제어하기 위한 제어 명령을 입력받는 단계; 및Receiving a control command for controlling the terminal from an administrator; And 상기 입력받은 제어 명령이 상기 단말기로 전송되도록 상기 공유기의 상기 공인 IP 주소와 상기 제1 포트 주소로 상기 제어 명령을 전송하는 단계Transmitting the control command to the public IP address and the first port address of the router so that the received control command is transmitted to the terminal. 를 포함하는 단말기 관리 방법.Terminal management method comprising a. 제5항에 있어서,The method of claim 5, 상기 제어 명령을 전송하는 단계는,The step of transmitting the control command, 상기 제어 명령에 대응되는 SNMP(Simple Network Management Protocol) 형식의 Get/Set 제어 메시지를 생성하는 단계; 및Generating a Get / Set control message in a Simple Network Management Protocol (SNMP) format corresponding to the control command; And 상기 생성된 Get/Set 제어 메시지를 상기 공유기의 상기 제1 포트 주소로 상기 전송하는 단계Transmitting the generated Get / Set control message to the first port address of the router; 를 포함하는 단말기 관리 방법.Terminal management method comprising a. 제6항에 있어서,The method of claim 6, 상기 제1 포트 주소를 저장하는 단계는,The storing of the first port address may include: 수신되는 메시지의 타입 필드값을 확인하는 단계; 및Checking a value of a type field of a received message; And 상기 타입 필드값을 확인하여 핑 메시지인 경우에, 상기 공인 IP 주소와 상기 제1 포트 주소를 저장하는 단계Checking the type field value and storing the public IP address and the first port address in the case of a ping message; 를 포함하는 단말기 관리 방법.Terminal management method comprising a. 제5항 내지 제7항 중 어느 한 항에 있어서,The method according to any one of claims 5 to 7, 상기 핑 메시지는 SNMP 형식의 메시지인 특징을 갖는 단말기 관리 방법.The ping message is a terminal management method characterized in that the message of the SNMP format. 공유기와 연결되며, 단말기를 관리하는 장치와 상기 공유기를 통해 연결되는 단말기에 있어서,In the terminal connected to the router, the device for managing the terminal and the terminal connected through the router, 상기 단말기의 사설 IP 주소에 매칭하여 할당된 상기 공유기의 제1 포트 주소로 수신되는 메시지를 상기 단말기로 전송하도록 주기적으로 핑 메시지를 상기 장치로 전송하는 핑 메시지 생성부;A ping message generator for periodically sending a ping message to the device to transmit a message received at the first port address of the router allocated by matching the private IP address of the terminal to the terminal; 상기 장치로부터 상기 단말기를 제어하기 위한 제어 메시지를 수신하고, 수신된 제어 메시지를 분석하는 제어 메시지 처리부; 및A control message processing unit for receiving a control message for controlling the terminal from the device and analyzing the received control message; And 상기 제어 메시지 처리부터 수신된 제어 메시지 분석 정보를 기초로 상기 단말기의 상태를 조회 혹은 설정하는 설정 변경부A setting changer for inquiring or setting the state of the terminal based on the control message analysis information received from the control message processing 를 포함하는 단말기.Terminal comprising a. 제9항에 있어서,The method of claim 9, 상기 핑 메시지 및 상기 제어 메시지는 SNMP 형식의 메시지인 것을 특징으로 하는 단말기.The ping message and the control message is a terminal characterized in that the message of the SNMP format. 공유기와 연결되며, 단말기를 관리하는 장치와 상기 공유기를 통해 연결되는 단말기의 기록매체에 있어서,In the recording medium of the terminal connected to the router, the device for managing the terminal and the terminal connected via the router, 상기 단말기의 사설 IP 주소에 매칭하여 할당된 상기 공유기의 제1 포트 주소로 수신되는 메시지를 상기 단말기로 전송하도록 주기적으로 핑 메시지를 상기 장치로 전송하는 기능;Periodically sending a ping message to the device to send a message received at the first port address of the router allocated in correspondence with the private IP address of the terminal to the terminal; 상기 공유기를 통해 상기 장치의 제어 메시지를 수신하는 기능; 및Receiving a control message of the device via the router; And 상기 수신된 제어 메시지를 기초로 상기 단말기의 상태를 조회 또는 설정하는 기능A function of querying or setting the state of the terminal based on the received control message 을 포함하는 기록 매체.Recording medium comprising a. 제11항에 있어서,The method of claim 11, 상기 제어 메시지에 대한 응답 메시지를 생성하여 상기 장치로 전송하는 기능을 더 포함하는 기록 매체.And generating a response message to the control message and transmitting the generated response message to the device. 제11항 또는 제12항에 있어서,The method according to claim 11 or 12, wherein 상기 핑 메시지 및 상기 제어 메시지는 SNMP 형식의 메시지인 것을 특징으로 하는 기록 매체.The ping message and the control message is a recording medium, characterized in that the message of the SNMP format.
KR1020080055138A 2008-03-28 2008-06-12 Terminval management system and method thereof, terminal and recoding medium thereof KR100980466B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080055138A KR100980466B1 (en) 2008-03-28 2008-06-12 Terminval management system and method thereof, terminal and recoding medium thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020080029012 2008-03-28
KR1020080055138A KR100980466B1 (en) 2008-03-28 2008-06-12 Terminval management system and method thereof, terminal and recoding medium thereof

Publications (2)

Publication Number Publication Date
KR20090103657A true KR20090103657A (en) 2009-10-01
KR100980466B1 KR100980466B1 (en) 2010-09-07

Family

ID=41533169

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080055138A KR100980466B1 (en) 2008-03-28 2008-06-12 Terminval management system and method thereof, terminal and recoding medium thereof

Country Status (1)

Country Link
KR (1) KR100980466B1 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100429902B1 (en) * 2001-12-27 2004-05-03 한국전자통신연구원 Apparatus and method for controlling devices in private network from public network
KR101043138B1 (en) * 2004-02-02 2011-06-20 주식회사 케이티 Method of polling performance data of DSLAMDigital Subscriber Line Access Multiplexor based on state machine and device thereof
KR100844380B1 (en) * 2006-11-07 2008-07-07 주식회사 케이티 Appratus for managing subscriber terminal and method thereof, recording medium for realizing the same

Also Published As

Publication number Publication date
KR100980466B1 (en) 2010-09-07

Similar Documents

Publication Publication Date Title
US10574484B2 (en) Method for implementing residential gateway service function, and server
US7492764B2 (en) System for management of equipment deployed behind firewalls
JP4142014B2 (en) User identification system, user identification device, user identification method, address translation device, and program
US9179447B2 (en) Routing traffic towards a mobile node
KR20090064431A (en) The method and device for managing route information and retransmitting data in accessing device
US20110035470A1 (en) Various Methods and Apparatuses for Tunneling of UDP Broadcasts
US8543674B2 (en) Configuration of routers for DHCP service requests
US20140181248A1 (en) Simple Remote Access Through Firewalls For Networked Devices and Applications
US20090049164A1 (en) Peer-to-peer communication method and system enabling call and arrival
US7701934B2 (en) System and method for managing devices within a private network via a public network
US20110026531A1 (en) Method to tunnel udp-based device discovery
US10951511B2 (en) Method and device for providing an address by device to be managed of a network
JP2007049499A (en) Communication method and apparatus
KR100844380B1 (en) Appratus for managing subscriber terminal and method thereof, recording medium for realizing the same
US7873037B2 (en) Information processing device, information processing system, information processing method, and program
US8289976B2 (en) Method for automatically providing a customer equipment with the correct service
EP2421201A1 (en) Various methods and apparatuses for tunneling of UDP broadcasts
KR100980466B1 (en) Terminval management system and method thereof, terminal and recoding medium thereof
KR20010073827A (en) Method for expanding address for internet protocol version 4 in internet edge router
KR20040011936A (en) Switching apparatus for ethernet having a plurality of vlans and communication method by using same
EP3228048B1 (en) Method and apparatus for routing data to cellular network
KR100455125B1 (en) Control point function destribution system on universal plug and play network
KR20010040075A (en) Method and apparatus for connecting internet to save IP addresses by using network address translation function
KR100705508B1 (en) Integrated internet protocol address management apparatus
KR20040099012A (en) The effective method for setting of CMTS and manupulating multiple CMTS

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

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20140801

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20150803

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20160705

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20170705

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20180702

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20190701

Year of fee payment: 10