KR101885618B1 - Method for automatically connecting ip based devices and the apparatus supporting the same - Google Patents

Method for automatically connecting ip based devices and the apparatus supporting the same Download PDF

Info

Publication number
KR101885618B1
KR101885618B1 KR1020170010239A KR20170010239A KR101885618B1 KR 101885618 B1 KR101885618 B1 KR 101885618B1 KR 1020170010239 A KR1020170010239 A KR 1020170010239A KR 20170010239 A KR20170010239 A KR 20170010239A KR 101885618 B1 KR101885618 B1 KR 101885618B1
Authority
KR
South Korea
Prior art keywords
address
mac address
network
registered
dhcp
Prior art date
Application number
KR1020170010239A
Other languages
Korean (ko)
Other versions
KR20180086610A (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 KR1020170010239A priority Critical patent/KR101885618B1/en
Publication of KR20180086610A publication Critical patent/KR20180086610A/en
Application granted granted Critical
Publication of KR101885618B1 publication Critical patent/KR101885618B1/en

Links

Images

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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • H04L41/0809Plug-and-play configuration
    • 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/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • H04L61/2015
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]

Abstract

본 발명은 IP기반의 디바이스 자동연결 방법 및 이를 지원하는 장치에 관한 것으로, 로컬 네트워크에서 임의의 디바이스를 플러그인하면, 자동으로 IP주소가 할당 및 설정되어, 사용자가 임의의 디바이스를 위한 IP주소를 설정하기 위해 수동으로 설정작업을 수행할 필요가 없도록 하는 제로 컨피규레이션을 위한 자동연결 방법 및 이를 지원하는 장치에 관한 것이다.The present invention relates to an IP-based device automatic connection method and apparatus supporting the same, and when an arbitrary device is plugged in a local network, an IP address is automatically assigned and set, and a user sets an IP address for an arbitrary device The present invention relates to an automatic connection method for zero configuration and a device for supporting the automatic connection method.

Description

IP기반의 디바이스 자동연결 방법 및 이를 지원하는 장치{METHOD FOR AUTOMATICALLY CONNECTING IP BASED DEVICES AND THE APPARATUS SUPPORTING THE SAME}METHOD FOR AUTOMATICALLY CONNECTING IP BASED DEVICES AND THE APPARATUS SUPPORTING THE SAME,

본 발명은 IP기반의 디바이스 자동연결 방법 및 이를 지원하는 장치에 관한 것으로, 더욱 상세하게는 로컬 네트워크에서 임의의 디바이스를 플러그인하면, 자동으로 IP주소가 할당 및 설정되어, 사용자가 임의의 디바이스를 위한 IP주소를 설정하기 위해 수동으로 설정작업을 수행할 필요가 없도록 하는 제로 컨피규레이션(zero configuration)을 위한 자동연결 방법 및 이를 지원하는 장치에 관한 것이다.The present invention relates to an IP-based automatic device connection method and apparatus, and more particularly, to an IP-based device automatic connection method and apparatus for supporting automatic connection of an arbitrary device in a local network. And more particularly, to an automatic connection method for a zero configuration that does not need to perform a manual configuration operation to set an IP address and a device that supports the same.

인터넷의 확대 보급으로 인해서 최근에는 거의 모든 네트워크가 인터넷으로 통합되어 가고 있다. 이러한 추세에 따라 홈 네트워크는 물론이고 사무실이나 산업현장에서 IoT(Internet of Things)를 지원하는 등 대부분의 디바이스가 IP를 사용하고 있다. 그러나 이러한 IP의 확대에도 불구하고 디바이스를 네트워크에 플러깅(plugging)하자마자 연결되도록 하는 플러그앤 플레이(plug-and-play, PnP)를 지원하는 것은 여전히 어려운 실정이다.Due to the widespread use of the Internet, almost all networks are now being integrated into the Internet. This trend has led to the use of IP in most devices, including home networks, as well as supporting the Internet of Things (IoT) in offices and industrial sites. However, it is still difficult to support plug-and-play (PnP), which allows devices to be connected as soon as they are plugged into the network despite the expansion of these IPs.

물론 PnP를 지원하기 위한 다양한 솔루션이 개발되었거나 개발되고 있는 중에 있지만, 실질적으로 디바이스를 네트워크 플러그에 꽂았을 때 사용자가 아무런 행위를 하지 않아도 디바이스가 자동으로 네트워크에 연결되지는 아니한다.Of course, while various solutions have been developed or are being developed to support PnP, devices are not automatically connected to the network without actually performing any action when the device is plugged into a network plug.

윈도우 운영체제의 경우, 디바이스가 플러그인 되는 로컬 네트워크에 DHCP서버가 존재하지 아니하면 PnP가 불가능하게 된다. 만약에 윈도우 운영체제를 탑재한 PC를 DHCP서버를 포함하는 공유기(또는 라우터)가 있는 로컬 네트워크에 접속하는 경우 그 연결이 자동으로 이루어지지만, 그렇지 않고 DHCP서버가 존재하지 않는 로컬 네트워크에 접속하는 경우, 자동으로 연결되지 아니한다.For Windows operating systems, PnP is disabled if there is no DHCP server on the local network where the device is plugged in. If a PC with a Windows operating system is connected to a local network with a router (or router) that includes a DHCP server, the connection is made automatically. Otherwise, when connecting to a local network that does not have a DHCP server, It is not automatically connected.

본 발명은 이러한 문제점을 해결하여, 공유기가 존재하건 아니하건 간에 무조건 디바이스를 네트워크에 자동으로 연결할 수 있는 방법을 제시하고자 한다.The present invention solves this problem and suggests a method for automatically connecting a device to a network regardless of whether there is a router or not.

이러한 본 발명과 관련이 있는 선행기술로써, 한국등록특허 제1124748호(2012.03.23.)는 유무선 네트워크에서 호스트가 플러그인 되는 경우, 사용자에 의해 미리 설정된 IP정보로 네트워크가 설정되는 것에 관한 것이다. 네트워크 설정 시, ARP 수신정보와 미리 저장된 셋 정보를 일정한 비교식에 의거 비교하여, 결정된 셋이 네트워크에 적용가능한지를 확인하기 위해 ARP를 발송하여, 그에 대한 응답이 오는 경우, 상기 셋으로 네트워크를 설정하는 것이다. 이러한 과정을 통해, TCP/IP 수동설정 없이 미리 세팅된 TCP/IP 항목 중에서 가장 적절한 설정을 적용하여 네트워크의 플러그 앤 플레이가 가능하도록 한다.As a prior art related to the present invention, Korean Patent Registration No. 1124748 (Mar. 23, 2012) relates to setting up a network with IP information preset by a user when a host is plugged in a wired / wireless network. At the time of network setting, ARP reception information and pre-stored set information are compared based on a certain comparison formula, and an ARP is sent to check whether the determined set is applicable to the network. If a response is received, . Through this process, it is possible to plug and play the network by applying the most appropriate setting among TCP / IP items set in advance without manually setting TCP / IP.

본 선행기술의 경우 사용자가 미리 TCP/IP프리셋을 설정하여야 하고, 사용자가 설정한 모든 TCP/IP프리셋이 접속 불가한 경우, 네트워크 연결 시도가 실패하게 되는 문제가 여전히 남게 되므로, 본 발명에서 해결하고자 하는 과제가 여전히 남아 있다. 즉, 본 발명에서는 DHCP서버를 항상 발견할 수 있는 구조를 만들어 주는 것이므로 이 선행기술은 본 발명과 차이가 나는 것이다.In the case of this prior art, if the user has to set a TCP / IP preset in advance and all the TCP / IP presets set by the user can not be accessed, the problem of failing the network connection still remains. Therefore, The challenge remains. That is, the present invention makes a structure that can always find a DHCP server, and this prior art differs from the present invention.

또한 미국공개특허 제2006-0126614호(2006.06.15.)는 디바이스의 자동 네트워크 컨피규레이션에 관한 것으로, 패킷을 하나 수신하고 상기 패킷에서 소스(source) 및 데스티네이션(destination) 네트워크 주소를 추출하여, 게이트웨이의 링크 레이어 주소를 결정하여, 게이트웨이의 네트워크 주소를 결정한다. 이로써 네트워크 주소를 자동으로 컨피규레이션한다. 여기서 게이트웨이의 링크 레이어 주소를 결정하는 것은, 먼저 데스티네이션 네트워크 주소에 대해 ARP쿼리를 전송하는데, 로컬네트워크에서 ARP응답이 없을 때 까지 지속적으로 수행한다. 이리하여 ARP응답이 수신되지 아니하면, 해당 링크 레이어 주소를 게이트웨이에 대한 링크 레이어 주소로 선택한다. U.S. Published Patent Application No. 2006-0126614 (June 15, 2006) is directed to an automatic network configuration of a device that receives a packet and extracts the source and destination network addresses from the packet, And determines the network address of the gateway. This automatically configures the network address. Here, determining the link layer address of the gateway first sends an ARP query to the destination network address, which is continuously performed until there is no ARP response in the local network. If the ARP response is not received, the corresponding link layer address is selected as the link layer address for the gateway.

본 선행기술은 ARP응답이 수신되지 않을 때 까지 계속하여 ARP쿼리를 송신하여야 하며, 수신되는 패킷의 데스티네이션 주소로 ARP쿼리를 전송하여 모든 경우에 ARP응답을 받으면 ARP응답을 받지 못할 때 까지 지속적으로 게이트웨이 네트워크 주소를 결정하지 못하는 문제가 있다. 따라서 본 선행기술은 항상 DHCP서버를 발견할 수 있는 구조를 가지는 본 발명과 차이가 나는 것이다.This prior art continues to send an ARP query until an ARP response is not received and sends an ARP query to the destination address of the received packet and if it receives an ARP reply in all cases, There is a problem that the gateway network address can not be determined. Therefore, this prior art differs from the present invention in that the DHCP server can always be found.

또한 한국등록특허 제0940814호(2010.01.029)는 UPnP 기술을 적용한 다중 IP 망에 있어서 네트워크를 자동으로 설정하는 방법에 관한 것으로, 디바이스들이 자동으로 서로 다른 IP 세그먼트의 존재 유무를 탐지하고 자신과 포워딩 디바이스의 네트워크 세팅을 통해 UPnP 네트워크를 자동으로 구성할 수 이도록 하는 네트워크 자동 설정 방법에 관한 것이다. 본 선행기술은 컨트롤 포인트(Control Point)가 네트워크에 연결된 디바이스로부터 전송되는 이벤트 메시지를 수신하고, 상기 컨트롤 포인트가 상기 이벤트 메시지를 전송한 디바이스를 제외한 상기 네트워크에 연결된 모든 디바이스들의 라우팅 테이블을 요청하며, 상기 컨트롤 포인트가 상기 모든 디바이스들의 라우팅 테이블에 해당 디바이스의 IP 주소를 추가하여 해당 디바이스에 대한 네트워크를 자동으로 설정한다. 따라서 본 선행기술은 컨트롤 포인트가 네트워크에 연결된 모든 디바이스들의 라우팅 테이블을 요청하여야 하므로 해당 트래픽이 많이 발생하지만, 본 발명은 항상 DHCP서버를 발견할 수 있는 구조를 가지므로 본 선행기술과 차이가 나는 것이다.Korean Patent No. 0940814 (2010.01.029) relates to a method of automatically setting a network in a multi-IP network using UPnP technology, in which devices automatically detect the presence or absence of different IP segments, And to automatically configure a UPnP network through a network setting of the device. In the prior art, a control point receives an event message transmitted from a device connected to a network, and the control point requests a routing table of all devices connected to the network except for the device that transmitted the event message. The control point automatically sets the network for the device by adding the IP address of the device to the routing table of all the devices. Therefore, since this prior art requires a routing table of all devices connected to the network, the control point generates a lot of corresponding traffic, but the present invention differs from this prior art in that it has a structure that can always find a DHCP server .

이상에서 살펴본 바와 같이 자동 네트워크 설정과 관련한 선행기술들은 각각 한계를 가지고 있다. 즉, 미리 정해진 설정이 필요하거나, 무한정 게이트웨이가 발견될 때까지 ARP쿼리를 보내는 방법을 사용한다. 반면에 본 발명은 이러한 제한을 두지 않고 어떤 경우라도 간단하게 DHCP서버를 찾을 수 있도록 구성하여 그간의 모든 문제를 해결하고자 한다. As described above, prior art related to automatic network configuration have limitations. That is, it uses a method that requires a predetermined setting, or sends an ARP query until an infinite gateway is found. On the other hand, the present invention aims at solving all problems in the past without any limitation by simply configuring the DHCP server so that it can be found.

본 발명은 상기와 같은 문제점을 해결하기 위해 창작된 것으로서, 사용자가 아무런 손을 대지 않아도 특정 디바이스를 IP망에 플러깅하면, 자동으로 네트워크에 접속될 수 있도록 하는 제로 컨피규레이션(zero configuration)을 지원하는 디바이스를 제공하는 것을 목적으로 한다.The present invention has been made to solve the above-mentioned problems, and it is an object of the present invention to provide a device that supports a zero configuration that automatically connects to a network when a specific device is plugged into an IP network without a user touching the device And to provide the above-mentioned objects.

또한 본 발명은 어떤 경우에도 DHCP서버를 발견할 수 있도록 구성하여, 실질적으로 DHCP서버가 존재하지 않는 경우에도 DHCP서버가 존재하는 것으로 인식하도록 함으로써 디바이스의 네트워크 주소를 자동으로 설정하는 방법과 이를 지원하는 장치를 제공하는 것을 목적으로 한다.Further, according to the present invention, a DHCP server can be discovered in any case, so that even if a DHCP server does not exist, a method of automatically setting a network address of a device by recognizing that a DHCP server exists is supported, And an object of the present invention is to provide a device.

또한 본 발명은 매니징 디바이스(managing-device)의 개념을 도입하여, 상기 managing-device로 하여금, 특정 신규 디바이스가 네트워크에 플러깅되는 경우, 자동으로 이를 감지하고, 일단 링크 레이어(L2 layer)에서 접속을 수행하며, 이어서 신규 디바이스를 대신해서 IP 주소를 할당 받아 해당 신규 디바이스가 상기 할당 받은 IP 주소를 이용하여 네트워크에 자동으로 접속할 수 있도록 하는 방법 및 이를 지원하는 장치를 제공하는 것을 목적으로 한다.Further, the present invention introduces the concept of managing-device so that the managing-device can automatically detect when a specific new device is plugged into the network, And allocating an IP address in place of the new device so that the new device can automatically connect to the network using the assigned IP address, and a device supporting the same.

또한 본 발명은 매니징 디바이스에서 신규 디바이스를 모두 관리하고 있으므로, 로컬이나 리모트 사이트에 있는 디바이스를 그룹핑하여 관리할 수 있도록 매핑테이블을 관리하며, 이에 따라 매니징 디바이스는 각 디바이스의 관리 터미널에 대한 역할을 수행할 수 있도록 함으로써, 디바이스의 네트워크 주소를 자동으로 설정하는 방법 및 이를 지원하는 장치를 제공하는 것을 목적으로 한다.In addition, since the present invention manages all the new devices in the managing device, the mapping table is managed so that the devices in the local or remote site can be grouped and managed. Accordingly, the managing device manages the roles Thereby automatically setting a network address of the device and a device for supporting the same.

본 발명의 일 실시예에 따른 장치는, IP기반 디바이스의 네트워크 자동연결을 지원하는 장치는 디바이스의 MAC주소를 등록하는 디바이스 MAC주소 등록부, 상기 MAC주소를 등록한 디바이스가 네트워크에 플러그인 되는 것을 감지하는 디바이스 감지부 및 상기 등록한 MAC주소를 이용하여 상기 디바이스에 대한 IP주소를 획득하는 IP주소 획득부를 포함하며, 상기 할당받은 네트워크정보를 상기 감지한 디바이스에 제공함으로써, 상기 디바이스가 네트워크에 자동으로 연결되도록 하는 것을 특징으로 한다.The apparatus according to an embodiment of the present invention includes a device MAC address registration unit for registering a MAC address of a device, a device for detecting that a device registered with the MAC address is plugged into a network, And an IP address acquisition unit for acquiring an IP address for the device using the registered MAC address and the sensing unit, and providing the assigned network information to the detected device, thereby automatically connecting the device to the network .

또한 상기 디바이스 MAC주소 등록부는, 상기 디바이스를 사용하는 사용자로부터 직접 입력받거나, 상기 디바이스로부터 MAC주소를 포함한 비콘 신호를 수신하여 상기 디바이스의 MAC주소를 자동으로 등록하는 것을 특징으로 한다.In addition, the device MAC address registration unit may directly receive a user input from the user using the device, or receive a beacon signal including a MAC address from the device, and automatically register the MAC address of the device.

또한 상기 디바이스 감지부는, 상기 등록한 MAC주소를 포함하는 감지메시지를 주기적으로 네트워크에 브로드캐스팅하고, 상기 등록한 MAC주소를 가지는 디바이스로부터 응답메시지를 수신함으로써, 상기 디바이스가 네트워크에 플러그인 되는 것을 감지하는 것을 특징으로 한다.The device detection unit periodically broadcasts a detection message including the registered MAC address to the network and receives a response message from a device having the registered MAC address to detect that the device is plugged into the network .

또한 상기 IP주소 획득부는, 상기 등록한 MAC주소에 대한 가상 디바이스를 생성하며, 상기 생성한 가상 디바이스에 대한 IP주소를 DHCP서버에 요청하여, 상기 등록한 MAC주소에 대한 IP주소를 할당받음으로써, 상기 디바이스를 대신하여 IP주소를 할당받는 것을 특징으로 한다.In addition, the IP address obtaining unit generates a virtual device for the registered MAC address, requests an IP address of the generated virtual device from the DHCP server, and receives an IP address for the registered MAC address, And an IP address is assigned in place of the IP address.

또한 상기 가상 디바이스는, 상기 디바이스가 플러그인 되어, 상기 할당받은 IP주소를 상기 디바이스로 제공한 경우 삭제되는 것을 특징으로 한다.In addition, the virtual device is deleted when the device is plugged in and the allocated IP address is provided to the device.

또한 상기 매니징 디바이스는, 상기 등록한 MAC주소와 상기 할당받은 IP주소를 상호 매핑한 매핑테이블을 생성하여, 상기 디바이스에 대한 IP주소의 할당시간에 대한 연장, 반납 또는 이들의 조합을 포함하는 디바이스 관리를 수행하는 디바이스 관리부를 더 포함하는 것을 특징으로 한다.Also, the managing device may generate a mapping table in which the registered MAC address and the allocated IP address are mapped to each other, and perform a device management including extension, return of the IP address allocation time for the device, And a device management unit for performing the device management.

아울러 본 발명의 일 실시예에 따른 IP기반 디바이스의 네트워크 자동연결 방법은, 디바이스의 MAC주소를 등록하는 디바이스 MAC주소 등록 단계, 상기 MAC주소를 등록한 디바이스가 네트워크에 플러그인 되는 것을 감지하는 디바이스 감지 단계 및 DHCP 클라이언트를 통해 상기 등록한 MAC주소를 이용하여 상기 디바이스에 대한 IP주소를 획득하는 단계를 포함하며, 상기 할당받은 네트워크정보를 상기 감지한 디바이스에 제공함으로써, 상기 디바이스가 네트워크에 자동으로 연결되도록 하는 것을 특징으로 한다.According to another aspect of the present invention, there is provided a method of automatically connecting a network of an IP-based device, comprising: registering a device MAC address of a device; detecting a device plugged into the network; And acquiring an IP address for the device using the registered MAC address through the DHCP client. The device may be automatically connected to the network by providing the assigned network information to the detected device .

또한 상기 디바이스 MAC주소 등록 단계는, 상기 디바이스를 사용하는 사용자로부터 직접 입력받거나, 상기 디바이스로부터 MAC주소를 포함한 비콘 신호를 수신하여 상기 디바이스의 MAC주소를 자동으로 등록하는 것을 특징으로 한다.In addition, the device MAC address registration step may be a direct input from a user using the device, or a beacon signal including a MAC address from the device, and automatically registers the MAC address of the device.

또한 상기 디바이스 감지 단계는, 상기 등록한 MAC주소를 포함하는 감지메시지를 주기적으로 네트워크에 브로드캐스팅하고, 상기 등록한 MAC주소를 가지는 디바이스로부터 응답메시지를 수신함으로써, 상기 디바이스가 네트워크에 플러그인 되는 것을 감지하는 것을 특징으로 한다.The device sensing step may include periodically broadcasting a sensing message including the registered MAC address to the network and receiving a response message from a device having the registered MAC address to detect that the device is plugged into the network .

또한 상기 IP기반 디바이스의 네트워크 자동연결 방법은, 상기 등록한 MAC주소와 상기 할당받은 IP주소를 상호 매핑한 매핑테이블을 생성하여, 상기 디바이스에 대한 IP주소의 할당시간에 대한 연장, 반납 또는 이들의 조합을 포함하는 디바이스 관리를 수행하는 디바이스 관리 단계를 더 포함하는 것을 특징으로 한다.Also, the automatic network connection method of the IP-based device may comprise: generating a mapping table in which the registered MAC address and the allocated IP address are mapped to each other to extend or return the allocation time of the IP address for the device, And a device management step of performing device management including the device management step.

이와 같이 구성된 본 발명은 IP기반의 디바이스 자동연결 방법 및 이를 지원하는 장치에 관한 것으로, 네트워크에 디바이스가 플러그인 되면 자동으로 IP주소가 할당 및 설정되도록 함으로써, 사용자가 해당 디바이스의 IP주소를 설정하기 위한 별도의 수동설정작업을 수행할 필요 없이, 자동으로 네트워크에 연결되어 IP통신을 수행할 수 있도록 하는 효과가 있다. According to the present invention, an IP-based device automatic connection method and a device supporting the IP-based device are provided. When the device is plugged in the network, the IP address is automatically assigned and set. It is possible to automatically connect to the network and perform IP communication without having to perform a manual setting operation separately.

도 1은 본 발명의 일 실시예에 따른 IP기반의 디바이스 자동연결 방법 및 이를 지원하는 장치를 개략적으로 설명위해 나타낸 개념도이다.
도 2는 본 발명의 일 실시예에 따른 매니징 장치를 통해 네트워크에 플러그인 되는 디바이스에 IP주소를 자동으로 할당하는 방법을 개략적으로 설명하기 위한 블록도이다.
도 3은 본 발명의 일 실시예에 따른 IP기반 디바이스를 네트워크에 자동으로 연결하기 위한 매니징 디바이스의 구성을 나타낸 블록도이다.
도 4는 본 발명의 일 실시예에 따른 디바이스의 구성을 나타낸 블록도이다.
도 5는 본 발명의 일 실시예에 따른 매니징 디바이스를 통해 신규 디바이스에 대한 IP주소를 자동으로 할당하는 과정을 나타낸 도면이다.
도 6은 본 발명의 일 실시예에 따른 IP주소를 할당받은 디바이스로부터 IP주소를 연장하거나 반납하는 과정을 나타낸 도면이다.
1 is a conceptual diagram schematically illustrating an IP-based device automatic connection method and an apparatus for supporting the same in accordance with an embodiment of the present invention.
2 is a block diagram schematically illustrating a method of automatically assigning an IP address to a device plugged into a network through a management apparatus according to an embodiment of the present invention.
3 is a block diagram illustrating a configuration of a management device for automatically connecting an IP-based device to a network according to an exemplary embodiment of the present invention.
4 is a block diagram illustrating a configuration of a device according to an embodiment of the present invention.
5 is a diagram illustrating a process of automatically assigning an IP address to a new device through a management device according to an embodiment of the present invention.
6 is a diagram illustrating a process of extending or returning an IP address from a device to which an IP address is allocated according to an embodiment of the present invention.

이하, 첨부한 도면을 참조하여 본 발명의 바람직한 실시 예를 설명함으로써, 본 발명을 상세히 설명한다. 각 도면에 제시된 동일한 참조부호는 동일한 부재를 나타낸다. 또한 본 발명의 실시 예들에 대해서 특정한 구조적 내지 기능적 설명들은 단지 본 발명에 따른 실시 예를 설명하기 위한 목적으로 예시된 것으로, 다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 명세서에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the preferred embodiments of the present invention with reference to the accompanying drawings. Like reference symbols in the drawings denote like elements. Furthermore, specific structural and functional descriptions for embodiments of the present invention are presented for the purpose of describing an embodiment of the present invention only, and, unless otherwise defined, all terms used herein, including technical or scientific terms Have the same meaning as commonly understood by those of ordinary skill in the art to which the present invention belongs. Terms such as those defined in commonly used dictionaries are to be interpreted as having a meaning consistent with the contextual meaning of the related art and are to be interpreted as ideal or overly formal in the sense of the art unless explicitly defined herein Do not.

도 1은 본 발명의 일 실시예에 따른 IP기반의 디바이스 자동연결 방법 및 이를 지원하는 장치를 개략적으로 설명위해 나타낸 개념도이다.1 is a conceptual diagram schematically illustrating an IP-based device automatic connection method and an apparatus for supporting the same in accordance with an embodiment of the present invention.

도 1에 도시한 바와 같이 본 발명의 일 실시예에 따른 매니징 디바이스(100)는 복수의 IP기반 디바이스(300)를 네트워크에 자동으로 연결할 수 있도록 지원하는 장치로써, 상기 복수의 디바이스(100)와 동일한 로컬 네트워크에 위치한다. 즉 상기 매니징 디바이스(100)는 상기 복수의 IP기반 디바이스(300)와 동일한 서브넷 마스크를 사용하는 로컬 네트워크에 위치하며, 신규 디바이스(300)가 해당 네트워크에 플러그인 될 때, 상기 신규 디바이스(300)를 위한 IP주소를 자동으로 할당하여 설정될 수 있도록 함으로써, 상기 신규 디바이스(300)가 IP주소를 설정하기 위한 별도의 절차 없이 상기 할당받은 IP주소를 이용하여 네트워크에 접속하도록 지원한다.1, the management device 100 according to an exemplary embodiment of the present invention supports a plurality of IP-based devices 300 to be automatically connected to a network, Lt; / RTI > That is, the management device 100 is located in a local network using the same subnet mask as the plurality of IP-based devices 300, and when the new device 300 is plugged into the network, So that the new device 300 can access the network using the assigned IP address without any additional procedure for setting the IP address.

본 발명에서의 디바이스(300)는 독립적인 DHCP 클라이언트를 가지고 있는 PC, 노트북 등과 같이 독립적인 운영체제를 구비한 통신단말을 포함하여, 통신수단을 구비하고 있으나, DHCP 클라이언트를 가지고 있지 않아, 수동으로 IP를 설정하여야만 네트워크상에서 IP통신이 가능한 장치(예: 카메라, 가전제품 등)를 의미한다.The device 300 according to the present invention includes communication means including a communication terminal having an independent operating system such as a PC or a notebook computer having an independent DHCP client. However, the device 300 does not have a DHCP client, (E.g., a camera, a home appliance, or the like) capable of IP communication over a network.

또한 매니징 디바이스(100)는 DHCP서버(200)로부터 IP주소(유동 또는 고정 IP주소)를 포함하는 네트워크정보를 할당 받아 상기 IP주소를 이용하여 네트워크에 연결되어 IP통신을 수행하는 장치이다. 한편 상기 네트워크정보는 해당 디바이스의 IP주소, 서브넷 마스크(subnet mask), 게이트웨이 IP주소, DNS(Domain Name System) IP주소 및 디바이스(300)에 할당된 IP주소의 할당시간(lease time)을 포함한다. Also, the management device 100 is a device that is allocated network information including an IP address (a floating or fixed IP address) from the DHCP server 200, and is connected to the network using the IP address to perform IP communication. The network information includes an IP address, a subnet mask, a gateway IP address, a DNS (Domain Name System) IP address of the corresponding device, and a lease time of an IP address allocated to the device 300 .

매니징 디바이스(100)는 로컬 네트워크에 플러그인 되는 신규 디바이스(300)를 자동으로 감지하며, 상기 감지한 신규 디바이스(300)에 대한 IP주소를 포함하는 네트워크정보를 상기 신규 디바이스(300)를 대신하여 DHCP서버(200)로부터 할당 받아, 신규 디바이스(300)에 제공하여, 상기 신규 디바이스(300)가 상기 제공받은 IP주소를 이용하여 네트워크에 접속할 수 있도록 지원한다.The managing device 100 automatically detects the new device 300 plugged into the local network and transmits network information including the IP address of the detected new device 300 to the new device 300 on behalf of the new device 300 Is allocated from the DHCP server 200 and is provided to the new device 300 to support the new device 300 to access the network using the provided IP address.

또한 상기 매니징 디바이스(100)는 별도의 장치로 구현되는 것이 바람직하지만 로컬 네트워크에 이미 접속되어 IP통신을 수행하고 있는 범용 컴퓨터 또는 통신단말이 될 수 있다.Also, the management device 100 may be implemented as a separate device, but may be a general purpose computer or a communication terminal that is already connected to a local network and performs IP communication.

이때, 상기 범용 컴퓨터나 통신단말에서 IP기반 디바이스가 해당 네트워크에 자동으로 연결되는 것을 지원하기 위한 프로그램을 설치하고 수행함으로써, 상기 범용 컴퓨터나 통신단말이 매니징 디바이스(100)가 된다.At this time, the general-purpose computer or the communication terminal establishes and executes a program for supporting the IP-based device to be automatically connected to the network in the general-purpose computer or the communication terminal.

즉, 디바이스(300) 사용자는 복수의 디바이스(300)를 네트워크에 자동으로 연결하는 기술이 코어 프로그램으로 구현된 애플리케이션 또는 프로그램을 상기 범용 컴퓨터, 통신단말에 설치하여, 상기 설치한 애플리케이션 또는 프로그램을 실행함으로써, 상기 범용컴퓨터 또는 통신단말을 통해 IP기반 디바이스(300)가 네트워크에 자동으로 연결될 수 있도록 지원하는 기능을 수행할 수 있도록 한다.That is, the user of the device 300 can install an application or a program, which is a technology for automatically connecting a plurality of devices 300 to a network, implemented in the core program to the general-purpose computer or communication terminal and executes the installed application or program So that the IP-based device 300 can be automatically connected to the network through the general-purpose computer or the communication terminal.

또한 매니징 디바이스(300)는 로컬 네트워크에 존재하는 모든 디바이스(300)에 상기 각 디바이스(300)에 할당된 IP주소를 포함하는 네트워크정보를 매핑하여 저장관리하며, 이를 통해 상기 IP주소의 할당시간에 따른 할당시간의 연장 또는 반납 또는 이들의 조합을 포함하는 디바이스(300)의 관리 및 동일한 IP주소가 로컬 네트워크 내의 디바이스(300)에게 제공되어 IP주소 충돌이 발생되지 않도록 체계적으로 관리할 수 있다.Also, the management device 300 maps and stores network information including IP addresses assigned to the devices 300 to all the devices 300 existing in the local network, The management of the device 300 including the extension or return of the allocation time according to the IP address or the combination thereof and the same IP address are provided to the device 300 in the local network so that IP address conflicts do not occur.

도 2는 본 발명의 일 실시예에 따른 매니징 디바이스를 통해 네트워크에 플러그인 되는 디바이스에 IP주소를 자동으로 할당하는 방법을 개략적으로 설명하기 위한 블록도이다.2 is a block diagram schematically illustrating a method of automatically assigning an IP address to a device plugged into a network through a management device according to an embodiment of the present invention.

도 2에 도시한 바와 같이, 복수의 디바이스(300)가 동일한 로컬 네트워크에 플러그인 되는 적어도 하나 이상의 신규 디바이스(300)에 IP주소를 자동으로 할당하는 방법은, 우선 매니징 디바이스(100)는 상기 디바이스(300)의 사용자로부터 해당 디바이스(300)의 MAC주소를 입력받아 등록한다(①).As shown in FIG. 2, a method for automatically assigning an IP address to at least one or more new devices 300 to which a plurality of devices 300 are plugged into the same local network, Receives the MAC address of the device 300 from the user of the device 300, and registers the received MAC address.

또한 매니징 디바이스(100)는 새로운 MAC주소가 입력되어 등록된 경우, 상기 새로운 MAC주소에 해당하는 신규 디바이스(300)가 네트워크에 플러그인 되는지를 감지하기 위한 감지메시지를 생성하여 로컬 네트워크로 브로드캐스팅(broadcasting) 한다.Also, when the management device 100 receives and registers a new MAC address, the management device 100 generates a detection message for detecting whether the new device 300 corresponding to the new MAC address is plugged into the network, and broadcasts the detection message to the local network broadcasting.

한편 매니징 디바이스(100)에서 생성되는 감지메시지는 이더넷 프로토콜(ethernet protocol)을 이용하여 브로드캐스팅될 수 있으며(즉, 상기 매니징 디바이스(100)와 신규 디바이스(300)는 동일한 로컬 네트워크에 위치하며, IP주소가 없으므로 L2 통신을 수행하여야 함), 상기 감지메시지의 목적지 MAC주소(DA, Destination MAC)는 상기 등록된 MAC주소로 설정되며, 소스 MAC주소(SA, Source MAC)는 상기 매니징 디바이스(100)의 MAC주소로 설정되어 로컬 네트워크로 주기적으로 브로드캐스팅 된다.Meanwhile, the sensing message generated by the management device 100 may be broadcast using an ethernet protocol (i.e., the management device 100 and the new device 300 are located on the same local network) (Destination MAC) of the detection message is set to the registered MAC address, and the source MAC address (SA) is transmitted to the management device Is set to the MAC address of the mobile station 100 and is periodically broadcast to the local network.

이후, 상기 신규 디바이스(300)가 플러그인 되어(②), 상기 감지메시지를 수신한 신규 디바이스(300)는 상기 감지메시지에 대한 응답메시지를 생성하여 상기 매니징 디바이스(100)로 전송하며, 상기 매니징 디바이스(100)는 상기 신규 디바이스(300)로부터 응답메시지를 수신함으로써, 등록된 MAC주소에 대한 신규 디바이스(300)가 로컬 네트워크에 플러그인 된 것을 감지한다(③).Then, the new device 300 is plugged in (2), and the new device 300 receiving the detection message generates a response message for the detection message and transmits the response message to the management device 100, The receiving device 100 receives the response message from the new device 300 and detects that the new device 300 is plugged into the local network for the registered MAC address (step 3).

다음으로 매니징 디바이스(100)는 상기 등록된 MAC주소에 대한 IP주소를 요청하기 위한 DHCP 메시지를 생성하고, 상기 생성한 DHCP 메시지를 DHCP서버(300)로 유니캐스팅(unicasting)하여, 상기 신규 디바이스(300)에 대한 IP주소를 요청한다(④). 이때 상기 DHCP 메시지는 IP 프로토콜을 이용하여 유니캐스팅될 수 있다Next, the management device 100 generates a DHCP message for requesting an IP address for the registered MAC address, unicasts the generated DHCP message to the DHCP server 300, And requests an IP address for the IP address 300 (4). At this time, the DHCP message can be unicasted using the IP protocol

또한 상기 매니징 디바이스(100)에 의해 유니캐스팅되는 DHCP 메시지는, IP주소를 요청하기 위한 신규 디바이스의 MAC주소를 포함하며, 상기 DHCP 메시지의 출발지 MAC주소 및 IP주소는 상기 매니징 디바이스의 MAC주소와 IP주소로 각각 설정되며, 목적지 MAC주소 및 IP주소는 상기 DHCP서버(200)의 MAC주소와 IP주소로 각각 설정되어 유니캐스팅된다.Also, the DHCP message unicasted by the management device 100 includes a MAC address of a new device for requesting an IP address, the source MAC address and the IP address of the DHCP message are the MAC address of the management device And the destination MAC address and the IP address are respectively set to the MAC address and the IP address of the DHCP server 200 and are unicast.

다음으로 DHCP서버(300)는 상기 수신한 DHCP 메시지에 포함된 등록 MAC주소(즉, 신규 디바이스(300)의 MAC주소)에 할당할 IP주소를 결정하여, 상기 결정한 IP주소를 포함한 DHCP 메지시를 생성하여 상기 매니징 디바이스(100)로 유니캐스팅한다(⑤).Next, the DHCP server 300 determines an IP address to be assigned to the registered MAC address included in the received DHCP message (i.e., the MAC address of the new device 300), and transmits a DHCP message including the determined IP address And unicasts it to the management device 100 (step 5).

다음으로 매니징 디바이스(100)는 DHCP서버(200)로부터 수신되는 DHCP 메시지를 수신하여, 해당 DHCP 메시지에 포함된 등록 MAC주소에 대한 IP주소를 추출하고, 상기 추출한 IP주소를 해당 MAC주소에 대한 신규 디바이스(300)로 제공한다(⑥).Next, the management device 100 receives the DHCP message received from the DHCP server 200, extracts the IP address of the registered MAC address included in the corresponding DHCP message, and transmits the extracted IP address to the corresponding MAC address To the new device 300 (6).

이때, 상기 매니징 디바이스(100)는 해당 IP주소와 MAC주소를 상호 매핑하여 저장함으로써, 로컬 네트워크에 연결된 복수의 디바이스(300) 및 각 디바이스(300)에 할당된 IP주소를 관리할 수 있도록 한다.At this time, the management device 100 manages the IP addresses allocated to the plurality of devices 300 and the devices 300 connected to the local network by mapping and storing the IP address and the MAC address .

다음으로 신규 디바이스(300)는 상기 매니징 디바이스(100)로부터 제공받은 IP주소를 상기 신규 디바이스(300)의 IP주소로 설정한다(⑦).Next, the new device 300 sets the IP address provided from the managing device 100 to the IP address of the new device 300 (7).

이후 , 상기 신규 디바이스(300)는 상기 설정한 IP주소를 기반으로 네트워크에 접속하여 IP통신을 수행할 수 있다.Then, the new device 300 can access the network based on the set IP address to perform IP communication.

한편 신규 디바이스(300)에 IP주소를 할당하는 과정에 대해서는 도 5를 참조하여 상세히 설명하도록 한다.The process of assigning an IP address to the new device 300 will be described in detail with reference to FIG.

한편 상기에서는 도 2를 참조하여 DHCP서버(200)가 외부 네트워크에 위치하는 경우에 신규 디바이스(300)에 대한 IP주소를 자동으로 할당하는 방법을 설명하고 있으나, 상기 DHCP서버(200)가 복수의 디바이스(300) 및 매니징 디바이스(100)와 동일 서브넷(subnet) 상에 위치하는 경우(즉, 동일한 로컬 네트워크에 위치하는 경우를 말함), 상기에서 설명한 것과 동일한 과정을 통해 신규 디바이스에 IP주소를 할당한다. 한편 독립적인 DHCP 클라이언트를 구비한 디바이스의 경우에는 동일한 로컬 네트워크에 위치하는 DHCP서버(200)로부터 직접적으로 IP주소를 할당받거나, 또는 상기 매니징 디바이스(100)를 통해 상기 IP주소를 할당받을 수 있다.2, a method of automatically allocating an IP address to a new device 300 when the DHCP server 200 is located in an external network is described. However, when the DHCP server 200 has a plurality of The IP address is assigned to the new device through the same process as described above when the device is located on the same subnet as the device 300 and the management device 100 . On the other hand, in the case of a device having an independent DHCP client, an IP address may be directly allocated from the DHCP server 200 located in the same local network, or the IP address may be allocated through the management device 100 .

또한 MAC주소가 매니징 디바이스(100)에 등록된 신규 디바이스(300)가 로컬 네트워크에 플러그인 되면(②), 이를 감지(③)한 후, 해당 신규 디바이스(300)의 IP주소를 요청하여 할당하는 것으로 설명되어 있으나, 상기 매니징 디바이스(100)는 상기 신규 디바이스(300)의 플러그인이 감지되지 않는 경우에도, 미리 IP주소를 요청할 수 있다.When the new device 300 having the MAC address registered in the management device 100 is plugged into the local network (2), the new device 300 is detected (3), and then the IP address of the new device 300 is requested and allocated The management device 100 may request the IP address in advance even when the plug-in of the new device 300 is not detected.

즉, 매니징 디바이스(100)는 신규 디바이스(300)에 대한 MAC주소가 등록되면, 해당 MAC주소에 대한 가상 디바이스를 생성하고, 상기 생성한 가상의 디바이스에 대한 IP주소를 DHCP서버(300)에 요청하여 미리 할당 받을 수 있으며, 이후 상기 등록된 MAC주소에 해당하는 신규 디바이스(300)가 네트워크에 플러그인 되어 감지되는 경우, 매니징 디바이스(100)는 생성한 가상 디바이스를 삭제하고, 상기 가상 디바이스에 할당받은 IP주소를 신규 디바이스(300)에 제공함으로써, 상기 신규 디바이스(300)가 해당 네트워크에 자동으로 접속될 수 있도록 한다.That is, when the MAC address of the new device 300 is registered, the managing device 100 creates a virtual device for the corresponding MAC address, and transmits the IP address of the generated virtual device to the DHCP server 300 When the new device 300 corresponding to the registered MAC address is plugged into the network, the managing device 100 deletes the generated virtual device, and transmits the deleted virtual device to the virtual device And provides the assigned IP address to the new device 300 so that the new device 300 can be automatically connected to the corresponding network.

도 3은 본 발명의 일 실시예에 따른 IP기반 디바이스를 네트워크에 자동으로 연결하기 위한 매니징 디바이스의 구성을 나타낸 블록도이다.3 is a block diagram illustrating a configuration of a management device for automatically connecting an IP-based device to a network according to an exemplary embodiment of the present invention.

도 3에 도시한 바와 같이 IP기반 디바이스(300)가 네트워크에 플러그인 되는 경우, 해당 디바이스(300)에 IP주소를 자동으로 할당하기 위한 매니징 디바이스(100)는 네트워크에 새롭게 플러그인 되는 디바이스(300)의 MAC주소를 등록하는 디바이스 MAC주소 등록부(110), 상기 디바이스(300)가 네트워크에 플러그인 되는 것을 감지하는 디바이스 감지부(120), 상기 네트워크에 연결된 복수의 디바이스를 관리하는 디바이스 관리부(130), 상기 디바이스(300)의 IP주소를 할당하기 위한 IP주소 획득부(140) 및 제어부(150)를 포함하여 구성된다.3, when the IP-based device 300 is plugged into a network, the management device 100 for automatically assigning an IP address to the device 300 is a device 300 newly plugged into the network, A device detection unit 120 for detecting that the device 300 is plugged into the network, a device management unit 130 for managing a plurality of devices connected to the network, An IP address obtaining unit 140 for assigning an IP address of the device 300, and a controller 150.

또한 매니징 디바이스(100)는 IP주소 획득부(140)의 DHCP 클라이언트(미도시)를 통해 DHCP서버(300)로부터 자신의 IP주소를 이미 할당 받아, 상기 IP주소를 이용하여 공용네트워크에 연결될 수 있는 통신단말이다. Also, the management device 100 may have already allocated its own IP address from the DHCP server 300 through a DHCP client (not shown) of the IP address obtaining unit 140 and may be connected to the public network using the IP address .

또한 매니징 디바이스(100)는 적어도 하나 이상의 DHCP서버(200)의 IP주소와 MAC주소를 알고 있으며, 신규 디바이스(300)가 로컬 네트워크에 플러그인 되는 경우, 이를 감지하고, 상기 감지한 신규 디바이스(300)를 대신하여 상기 DHCP서버(200)로부터 IP를 할당받아 상기 신규 디바이스(300)에 제공한다.Also, the management device 100 knows the IP address and the MAC address of at least one DHCP server 200. When the new device 300 is plugged into the local network, the management device 100 detects the new device 300 and detects the new device 300 The DHCP server 200 allocates an IP address to the new device 300 and provides the new IP address to the new device 300.

또한 디바이스 MAC주소 등록부(110)는 사용자로부터 신규 디바이스(300)의 MAC주소를 입력받아, 메모리(미도시)에 저장함으로써, 상기 신규 디바이스(300)의 MAC주소를 등록한다.The device MAC address registration unit 110 registers the MAC address of the new device 300 by receiving the MAC address of the new device 300 from a user and storing the MAC address in a memory (not shown).

한편 매니징 디바이스(100)와 신규 디바이스(300)는 블루투스 통신기능을 구비하고 있으면서, 상기 신규 디바이스(300)는 비콘 신호를 이용하여 상기 매니징 디바이스(100)로 자신의 MAC주소를 전송함으로써, 상기 신규 디바이스(300)의 MAC주소를 자동으로 매니징 디바이스(100)에 등록할 수도 있다.Meanwhile, while the managing device 100 and the new device 300 have a Bluetooth communication function, the new device 300 transmits its MAC address to the managing device 100 using a beacon signal, The MAC address of the new device 300 may be automatically registered in the management device 100.

또한 디바이스 감지부(120)는 네트워크에 플러그인 되는 상기 MAC주소를 등록한 신규 디바이스(300)를 감지한다.Also, the device detection unit 120 detects a new device 300 that has registered the MAC address plugged into the network.

또한 디바이스 감지부(120)는 상기 신규 디바이스(300)를 감지하기 위해 감지메시지를 생성하여 주기적으로 상기 매니징 디바이스(100)가 연결된 로컬 네트워크에 브로드캐스팅한다. 이때, 상기 감지메시지의 목적지 주소 및 소스 주소는 상기 등록한 MAC주소 및 상기 매니징 디바이스(100)의 MAC주소로 설정되며, 상기 등록한 MAC주소에 해당하는 신규 디바이스(300)가 로컬 네트워크에 플러그인 되는 경우, 상기 신규 디바이스(300)만이 이를 수신하여 상기 감지메시지에 대한 응답메시지를 매니징 디바이스(100)로 전송함으로써, 상기 매니징 디바이스(100)가 플러그인 되는 신규 디바이스(300)를 감지할 수 있다.In addition, the device sensing unit 120 generates a sensing message for sensing the new device 300 and periodically broadcasts the sensed message to the local network to which the managing device 100 is connected. At this time, the destination address and the source address of the detection message are set to the registered MAC address and the MAC address of the management device 100. When the new device 300 corresponding to the registered MAC address is plugged into the local network Only the new device 300 receives the response message and transmits a response message to the management device 100 to detect the new device 300 to which the management device 100 is plugged.

또한 디바이스 관리부(130)는 로컬 네트워크에 연결된 복수의 디바이스(300), 각 디바이스(300)에 대한 IP주소를 포함하는 네트워크정보와 상기 각 디바이스(300)의 MAC주소를 상호 매핑하여 매핑테이블을 생성하며, 상기 매핑테이블을 통해 상기 복수의 디바이스(300)를 관리한다.The device management unit 130 also generates a mapping table by mapping the network information including the IP addresses of the plurality of devices 300 connected to the local network and the devices 300 to the MAC addresses of the devices 300 And manages the plurality of devices 300 through the mapping table.

또한 IP주소 획득부(140)는 디바이스 MAC주소 등록부(110)를 통해 신규 디바이스(300)에 대한 새로운 MAC주소가 등록되는 경우, 해당 MAC주소에 대한 가상 디바이스(141)를 생성한다. 따라서 DHCP 서버에 대한 DHCP 클라이언트의 기능을 포함할 수 있다.When a new MAC address for the new device 300 is registered through the device MAC address registration unit 110, the IP address acquisition unit 140 generates a virtual device 141 for the corresponding MAC address. Therefore, it can include the function of the DHCP client to the DHCP server.

한편 상기 가상 디바이스(141)는 상기 MAC주소를 등록한 신규 디바이스(300)를 대신하여 DHCP서버(300)로부터 IP주소를 할당받기 위해 생성된다.Meanwhile, the virtual device 141 is created to receive an IP address from the DHCP server 300 on behalf of the new device 300 registered with the MAC address.

또한 상기 가상 디바이스(141)는 상기 MAC주소에 해당하는 신규 디바이스(300)가 네트워크에 플러그인 되고, 상기 할당받은 IP주소를 상기 플러그인 된 신규 디바이스(300)에 제공한 경우, 삭제된다.Also, when the new device 300 corresponding to the MAC address is plugged into the network and the assigned IP address is provided to the plugged-in new device 300, the virtual device 141 is deleted.

또한 메시지 처리부(142)는 상기 가상 디바이스(141)의 IP주소를 할당받기 위한 DHCP서버(300)로 전송되는 DHCP 메시지 및 상기 DHCP서버(300)로부터 수신되는 DHCP 메시지를 처리한다.The message processing unit 142 processes a DHCP message transmitted to the DHCP server 300 for receiving the IP address of the virtual device 141 and a DHCP message received from the DHCP server 300.

즉, 매니징 디바이스(100)는 DHCP서버(300)로부터 IP주소를 할당받기 위해서는 총 4단계를 거치게 되며, 상기 각 단계에서 송수신되는 DHCP 메시지를 상기 메지시 처리부(142)를 통해 처리하여 IP주소를 할당받을 수 있도록 한다.That is, the management device 100 performs a total of four steps in order to receive an IP address from the DHCP server 300. The management device 100 processes the DHCP messages transmitted and received through the message processing unit 142, To be allocated.

또한 상기 IP주소 획득부(140)는 디바이스 MAC주소 등록부(110)를 통해 새로운 MAC주소가 등록된 경우, 해당 MAC주소에 대한 가상 디바이스(141)를 생성하고, 해당 가상 디바이스(141)를 위한 IP주소를 할당받기 위한 과정을 수행한다. 물론 이 과정에서 DHCP 클라이언트를 필요로 할 수 있다.When the new MAC address is registered through the device MAC address registration unit 110, the IP address acquisition unit 140 generates a virtual device 141 for the corresponding MAC address, And performs a procedure for receiving an address. Of course, you may need a DHCP client in this process.

이때, 상기 메시지처리부(142)는 DHCP 디스커버(Discover) 메시지를 생성하여, 상기 DHCP서버(300)로 유니캐스팅한다.At this time, the message processor 142 generates a DHCP discover message and unicasts the message to the DHCP server 300.

상기 DHCP 디스커버 메시지는 상기 가상 디바이스(141)의 MAC주소를 포함하여, 소스 MAC주소 및 소스 IP주소는 매니징 디바이스(100)의 MAC주소 및 IP주소로 각각 설정되며, 목적지 MAC주소 및 IP주소는 상기 DHCP서버(300)의 MAC주소 및 IP주소로 설정되어 유니캐스팅된다.The DHCP discover message includes the MAC address of the virtual device 141. The source MAC address and the source IP address are respectively set as a MAC address and an IP address of the management device 100. The destination MAC address and the IP address Is set to the MAC address and the IP address of the DHCP server 300 and unicasted.

또한 상기 DHCP 디스커버 메시지를 수신한 DHCP서버(300)는, DHCP 오퍼(offer)메시지를 생성하여 상기 DHCP 디스커버 메시지를 전송한 매니징 디바이스(100)로 유니캐스팅한다.The DHCP server 300 receiving the DHCP DISK message generates a DHCP offer message and unicasts the DHCP DISK message to the management device 100 that has transmitted the DHCP DISK message.

상기 DHCP 오퍼 메시지는 상기 가상 디바이스(141)에 할당할 IP주소 및 DHCP서버(300)의 식별자(Identifier)를 포함하여, 소스 MAC주소 및 소스 IP주소는 DHCP서버(300)의 MAC주소 및 IP주소로 각각 설정되며, 목적지 MAC주소 및 IP주소는 상기 DHCP 메시지를 전송한 매니징 디바이스(100)의 MAC주소 및 IP주소로 설정되어 유니캐스팅된다.The DHCP offer message includes an IP address to be assigned to the virtual device 141 and an identifier of the DHCP server 300. The source MAC address and the source IP address are included in the MAC address and IP address of the DHCP server 300, And the destination MAC address and the IP address are set to the MAC address and the IP address of the management device 100 that transmitted the DHCP message and are unicast.

이때 DHCP서버(300)는 상기 수신한 DHCP 디스커버 메시지의 디바이스(100)의 IP주소를 기반으로, 상기 가상 디바이스(141)에 할당 가능한 IP주소를 결정하여, 상기 결정한 IP주소를 포함한 네트워크 정보를 상기 DHCP 오퍼 메시지를 통해 전송한다.At this time, the DHCP server 300 determines an IP address assignable to the virtual device 141 based on the IP address of the device 100 of the received DHCP discover message, and transmits the network information including the determined IP address Through the DHCP offer message.

또한 IP주소 획득부(140)는 DHCP 클라이언트를 통해서 상기 DHCP서버(300)로부터 DHCP 오퍼 메시지를 수신한 경우, 상기 가상 디바이스(141)의 IP주소를 포함한 네트워크정보를 요청하기 위해 메시지 처리부(142)를 통해 DHCP 리퀘스트(Request) 메시지를 생성하도록 하여, 상기 DHCP서버(300)로 유니캐스팅한다.The IP address acquisition unit 140 may receive a DHCP offer message from the DHCP server 300 through a DHCP client and may include a message processing unit 142 to request network information including the IP address of the virtual device 141, And then unicasts the DHCP request message to the DHCP server 300.

이때 상기 DHCP 리퀘스트 메시지의 소스 MAC주소 및 IP주소, 목적지 MAC주소 및 IP주소는 상기 DHCP 디스커버 메시지와 동일하다.At this time, the source MAC address, the IP address, the destination MAC address, and the IP address of the DHCP request message are the same as the DHCP DISK message.

또한 상기 DHCP서버(300)는 상기 매니징 디바이스(300)로부터 DHCP 리퀘스트 메시지를 수신한 경우, 상기 가상 디바이스(141)에 할당할 IP주소를 최종적으로 결정하고, 상기 최종적으로 결정한 IP주소를 포함하는 네트워크정보를 DHCP Ack 메시지를 통해 상기 매니징 디바이스(100)로 유니캐스팅한다.When the DHCP server 300 receives the DHCP request message from the management device 300, the DHCP server 300 finally determines the IP address to be allocated to the virtual device 141, And unicasts the network information to the management device 100 through the DHCP Ack message.

이때, 상기 DHCP Ack메시지의 소스 MAC주소 및 IP주소, 목적지 MAC주소 및 IP주소는 상기 DHCP 오퍼 메시지와 동일하다.At this time, the source MAC address, the IP address, the destination MAC address, and the IP address of the DHCP Ack message are the same as the DHCP offer message.

또한 상기 DHCP 메시지처리부(142)는 상기 수신되는 DHCP 메시지로부터 가상 디바이스(141)에 대한 IP주소 및 할당시간(lease time)을 추출하여 디바이스 관리부(130)로 제공함으로써, 상기 MAC주소와 상기 MAC주소에 대한 IP주소 및 상기 IP주소에 대한 할당시간 등을 매핑하여 관리할 수 있도록 한다. The DHCP message processing unit 142 extracts the IP address and the lease time of the virtual device 141 from the received DHCP message and provides the IP address and the lease time to the device management unit 130 so that the MAC address and the MAC address An IP address for the IP address, and an allocation time for the IP address.

한편 상기 DHCP 디스커버 메시지, DHCP 오퍼 메시지, DHCP 리퀘스트 메시지 및 DHCP Ack 메시지를 포함하는 DHCP 메지시는 IP패킷으로 부호화되어 IP프로토콜을 이용하여 전송될 수 있다.Meanwhile, the DHCP message including the DHCP discovery message, the DHCP offer message, the DHCP request message, and the DHCP Ack message may be encoded as IP packets and transmitted using the IP protocol.

또한 상기 디바이스 관리부(130)는 로컬 네트워크에 연결된 복수의 디바이스(300)에 대한 MAC주소, IP주소 및 IP주소 할당시간을 상호 매핑한 매핑테이블을 생성하고, 상기 생성한 매핑테이블을 저장소(미도시)에 저장하여, 상기 복수의 디바이스(300)를 관리할 수 있도록 한다.In addition, the device management unit 130 generates a mapping table in which a MAC address, an IP address, and an IP address allocation time of a plurality of devices 300 connected to the local network are mapped to each other, and stores the generated mapping table in a storage ) So that the plurality of devices 300 can be managed.

또한 제어부(150)는 매니징 디바이스(100)의 구성부분의 구동 및 구성부분 간의 데이터이동 등을 포함하여 상기 매니징 디바이스(100)의 동작을 전반적으로 제어하는 기능을 수행한다.In addition, the controller 150 controls the overall operation of the management device 100, including driving the constituent parts of the management device 100 and moving data between the constituent parts.

도 4는 본 발명의 일 실시예에 따른 디바이스의 구성을 나타낸 블록도이다.4 is a block diagram illustrating a configuration of a device according to an embodiment of the present invention.

도 4에 도시한 바와 같이, 디바이스(300)는 매니징 디바이스(100)와의 L2 접속에 따른 메시지를 송수신하여 처리하는 메시지 처리부(310) 및 네트워크에 접속되기 위해 상기 디바이스(300)의 네트워크 환경을 설정하는 네트워크 설정부(320)를 포함하여 구성된다. 4, the device 300 includes a message processing unit 310 for sending and receiving a message according to the L2 connection with the management device 100, and a network environment of the device 300 to be connected to the network And a network setting unit 320 for setting the network.

또한 상기 디바이스(300)는 IP기반 디바이스이며, 상기 매니징 디바이스(100)로부터 IP주소를 할당받기 위해 상기 디바이스(300)의 MAC주소가 미리 등록되어 있다. Also, the device 300 is an IP-based device, and the MAC address of the device 300 is registered in advance in order to receive an IP address from the management device 100.

한편 상기 등록은 해당 디바이스(300)를 사용하는 사용자에 의해 직접적으로 매니징 디바이스(100) 입력됨으로써 수행되거나, 해당 디바이스(300)의 MAC주소를 포함하는 비콘 신호를 상기 매니징 디바이스(100)에 전송함으로써, 자동으로 수행될 수 있다. Meanwhile, the registration may be performed by directly inputting the management device 100 by a user using the device 300, or may transmit a beacon signal including the MAC address of the device 300 to the management device 100 By transmitting the data.

또한 메시지 처리부(310)는 통신 인터페이스(미도시)를 통해 매니징 디바이스(100)로부터 수신되는 감지메시지 및 IP주소를 포함하는 네트워크정보에 대한 메시지를 포함하여, IP주소 할당에 필요한 모든 메시지를 생성 및 처리하는 기능을 수행한다.In addition, the message processing unit 310 generates all messages necessary for IP address allocation, including a detection message received from the management device 100 through the communication interface (not shown) and network information including the IP address And performs processing functions.

또한 메시지 처리부(310)는 매니징 디바이스(100)로부터 브로드캐스팅되는 해당 디바이스(300)의 MAC주소를 소스 MAC주소로 하는 감지메시지를 수신한 경우, 상기 감지메시지에 대한 응답메시지를 생성하여 상기 매니징 디바이스(100)로 전송함으로써, 해당 디바이스(300)가 네트워크에 플러그인 된 것을 감지할 수 있도록 한다.When the message processing unit 310 receives the detection message having the MAC address of the corresponding device 300 broadcasted from the management device 100 as the source MAC address, the message processing unit 310 generates a response message for the detection message, To the gaming device 100 so that the device 300 can detect that the device 300 is plugged into the network.

또한 메시지 처리부(310)는 상기 매니징 디바이스(100)로부터 IP주소를 포함한 네트워크정보에 대한 메시지를 수신한 경우에는, 상기 네트워크정보 메시지로부터 IP주소, IP주소의 할당기간, 서브넷 마스크 또는 이들의 조합을 추출하여 네트워크 설정부(320)로 제공하여, 상기 해당 디바이스(300)의 네트워크 환경을 설정할 수 있도록 한다.When the message processing unit 310 receives a message for network information including an IP address from the management device 100, the message processing unit 310 extracts an IP address, an IP address allocation period, a subnet mask, or a combination thereof And provides it to the network setting unit 320 so that the network environment of the corresponding device 300 can be set.

또한 네트워크 설정부(320)는 상기 메시지 처리부(310)로부터 제공받은 IP주소, IP주소의 할당기간, 서브넷 마스크 또는 이들의 조합을 이용하여 상기 디바이스(300)의 네트워크 환경을 설정하여, 상기 네트워크에 상기 디바이스(300)가 접속될 수 있도록 한다.The network setting unit 320 may set the network environment of the device 300 using the IP address, the IP address allocation period, the subnet mask, or a combination thereof provided from the message processing unit 310, Thereby allowing the device 300 to be connected.

도 5에 도시한 바와 같이, 매니징 디바이스(100)를 통해 신규 디바이스(200)에 대한 IP주소를 자동으로 할당하는 과정은 우선, 상기 매니징 디바이스(100)에 신규 디바이스(200)에 대한 MAC주소를 등록한다(S110).5, the process of automatically assigning an IP address to a new device 200 through the management device 100 is first performed by the management device 100, (S110).

상기 등록은 사용자에 의해 수행되거나 비콘 신호를 이용하여 자동적으로 수행될 수 있음은 상술한 바와 같다.As described above, the registration can be performed by a user or automatically by using a beacon signal.

다음으로 매니징 디바이스(100)는 상기 등록된 MAC주소에 대한 가상 디바이스(141)를 생성한다(S120).Next, the management device 100 generates a virtual device 141 for the registered MAC address (S120).

상기 가상 디바이스(141)는 상기 등록된 MAC주소의 신규 디바이스(300)를 대신하여 IP주소를 포함하는 네트워크정보를 DHCP서버(200)로부터 할당받기 위해 생성된다.The virtual device 141 is generated to receive network information including an IP address from the DHCP server 200 instead of the new device 300 having the registered MAC address.

즉, 상기 매니징 디바이스(100)는 DHCP 클라이언트가 없는 디바이스(300)들을 대신하여 DHCP서버(200)로 부터 IP주소를 할당받는 기능을 수행한다. 이에 따라 상기 매니징 디바이스(100)는 DHCP서버(200)의 입장에서는 DHCP 클라이언트 동작을 수행하는 것으로 인식되며, 상기 디바이스(300)의 입장에서는 상기 매니징 디바이스(100)가 DHCP서버(200)인 것으로 인식하게 된다.That is, the management device 100 receives an IP address from the DHCP server 200 on behalf of the devices 300 that do not have a DHCP client. Accordingly, the management device 100 is recognized as performing a DHCP client operation from the viewpoint of the DHCP server 200. In the device 300, the management device 100 is a DHCP server 200 .

물론 상기 매니징 디바이스(100)는 DHCP 클라이언트가 있는 디바이스(300)들을 대신하여 DHCP서버(200)로부터 IP주소를 할당받을 수 있으며, 이때 상기 DHCP서버(200)가 상기 디바이스(300)들과 동일한 로컬 네트워크에 위치하지 않고 외부 네트워크에 존재하는 경우에 상기 DHCP 클라이언트가 있는 디바이스(300)를 대신하여 IP주소를 할당받을 수 있다.Of course, the management device 100 may receive an IP address from the DHCP server 200 on behalf of the devices 300 having the DHCP client. In this case, the DHCP server 200 may receive the same IP address as the devices 300 The IP address can be allocated on behalf of the device 300 having the DHCP client when it is not located in the local network but exists in the external network.

이에 따라 매니징 디바이스(100)는 상기 생성한 가상 디바이스(141)에 상기 등록된 MAC주소와 동일한 가상의 MAC주소를 할당하고, 이를 기반으로 상기 가상 디바이스(141)에 대한 IP주소를 할당 받음으로써, 신규 디바이스(300)에 대한 IP주소를 상기 DHCP서버(200)로부터 할당받는다.Accordingly, the management device 100 allocates a virtual MAC address identical to the registered MAC address to the generated virtual device 141, and receives an IP address for the virtual device 141 based on the virtual MAC address , And receives an IP address for the new device 300 from the DHCP server 200.

다음으로 매니징 디바이스(100)는 IP주소를 할당받기 위한 소정의 절차에 다라 상기 생성한 가상 디바이스(141)에 대한 IP주소를 적어도 하나 이상의 DHCP(200)서버에게 IP주소를 요청하여 상기 가상 디바이스(141)에 대한 IP주소를 할당받는다.Next, the management device 100 requests an IP address of at least one DHCP server 200 from the IP address of the created virtual device 141 according to a predetermined procedure for receiving an IP address, Lt; RTI ID = 0.0 > 141 < / RTI >

한편 상기 IP주소를 할당받기 위한 소정의 절차는 우선, 상기 매니징 디바이스(100)에 등록된 MAC주소(즉, 가상 디바이스(141)의 MAC주소)를 포함한 DHCP 디스커버 메시지를 생성하여, 상기 매니징 디바이스(100)에 등록된 적어도 하나 이상의 DHCP서버(200)로 유니캐스팅한다(S130).Meanwhile, the predetermined procedure for receiving the IP address firstly generates a DHCP discover message including the MAC address registered in the management device 100 (i.e., the MAC address of the virtual device 141) To at least one DHCP server 200 registered in the device 100 (S130).

다음으로 상기 매니징 디바이스(100)는 상기 DHCP 디스커버 메시지를 수신한 적어도 하나 이상의 DHCP서버(200)로부터 할당 가능한 네트워크정보(IP주소 등)를 포함하는 DHCP 오퍼 메시지를 수신한다(S140). Next, the management device 100 receives a DHCP offer message including network information (IP address, etc.) assignable from at least one DHCP server 200 that has received the DHCP discover message (S140).

이후, 상기 매니징 디바이스(100)는 적어도 하나 이상의 DHCP서버(200) 중에서 특정 DHCP서버(200)를 선택하여, 상기 DHCP 디스커버 메시지를 통해 할당 가능한 IP주소를 포함하는 네트워크정보를 요청하는 DHCP 리퀘스트 메시지를 상기 적어도 하나 이상의 DHCP서버(200)로 전송하여(S150), 상기 특정 DHCP서버(200)로부터 DHCP Ack메시지를 수신함으로써, 상기 가상 디바이스(141)에 대한 IP주소를 포함하는 네트워크정보를 할당받는다(S160).Thereafter, the management device 100 selects a specific DHCP server 200 from among at least one DHCP server 200, and transmits a DHCP request for requesting network information including an assignable IP address through the DHCP discover message The DHCP server 200 transmits a DHCP Ack message to the at least one DHCP server 200 in step S150 to allocate network information including the IP address of the virtual device 141 (S160).

이때 상기 DHCP 리퀘스트 메시지는 상기 선택한 DHCP식별자를 포함하여 구성되며, 상기 DHCP 리퀘스트 메시지를 상기 DHCP 오퍼 메시지를 전송한 적어도 하나 이상의 DHCP서버(200)로 전송하는 이유는, DHCP서버(200)가 DHCP 오퍼 메시지를 전송하면서 해당 가상 디바이스(141)에 할당해 줄 IP주소를 포함하는 네트워크정보를 내부적으로 저장해놓기 때문에 선택받지 못한 DHCP서버(200)들이, 상기 DHCP식별자를 확인하여 상기 DHCP식별자가 자신의 것이 아닌 경우, 상기 저장한 네트워크정보를 삭제할 수 있도록 하기 위함이다. The reason why the DHCP request message is transmitted to at least one or more DHCP servers 200 that have transmitted the DHCP request message is that the DHCP server 200 transmits the DHCP request message to the DHCP Since the network information including the IP address to be allocated to the virtual device 141 is internally stored while transmitting the message, the DHCP servers 200, which have not been selected, check the DHCP identifier, The stored network information can be deleted.

한편 매니징 디바이스(300)는 가상 디바이스(141)의 MAC주소와 상기 할당받은 IP주소를 포함하는 네트워크정보를 상호 매핑한 매핑테이블을 생성하여, 저장소에 저장함으로써, 신규 디바이스(300) 및 이에 할당된 네트워크정보를 관리할 수 있도록 한다.Meanwhile, the management device 300 generates a mapping table in which the MAC address of the virtual device 141 and the network information including the allocated IP address are mapped to each other, stores the mapping table in the storage, Thereby managing the network information.

또한 매니징 디바이스(100)는 상기 저장한 매핑테이블을 참조하여, 상기 IP주소 할당시간 또는 미리 설정한 시간 경과하였음에도 신규 디바이스(300)가 네트워크에 플러그인 되는 것이 감지되지 않는 경우, 해당 MAC주소에 대한 가상 디바이스(141)를 삭제하고, 상기 할당받은 IP주소를 DHCP서버(200)로 반납할 수 있다.Also, the management device 100 refers to the stored mapping table, and when it is not detected that the new device 300 is plugged into the network even though the IP address allocation time or a predetermined time elapses, The virtual device 141 may be deleted and the allocated IP address may be returned to the DHCP server 200. [

다음으로 매니징 디바이스(100)가 네트워크에 플러그인(S170) 되는 신규 디바이스(300)를 감지한 경우(S180), 상기 신규 디바이스(300)의 MAC주소를 이용하여 생성한 가상 디바이스(141)로 할당받은 IP주소를 포함하는 네트워크정보를 상기 신규 디바이스(300)로 제공한다(S190).Next, when the management device 100 detects a new device 300 plugged in to the network (S170) (S180), the virtual device 141 generated by using the MAC address of the new device 300 And provides network information including the received IP address to the new device 300 (S190).

한편 매니징 디바이스(100)는 등록된 MAC주소를 목적지주소로 하는 감지메시지를 주기적으로 네트워크에 브로드캐스팅하며, 상기 브로드캐스팅한 감지메시지를 수신한 디바이스(300)로부터 응답메시지가 수신되는 경우 해당 디바이스(300)가 플러그인 되는 것을 감지한다.Meanwhile, the management device 100 periodically broadcasts a detection message using the registered MAC address as a destination address to the network, and when a response message is received from the device 300 receiving the broadcasting message, (300) is plugged in.

다음으로 매니징 디바이스(100)는 상기 감지한 신규 디바이스(300)에 대한 가상 디바이스(141)를 삭제한다(S200).Next, the management device 100 deletes the virtual device 141 for the detected new device 300 (S200).

상기 삭제는, 가상 디바이스(141)에 대해 IP주소를 신규 디바이스(300)로 제공한 경우, 하나의 로컬네트워크에 동일한 IP주소 및 MAC주소를 사용하는 디바이스가 2개가 존재하는 것으로 인식될 수 있으므로, 상기 IP주소 및 MAC주소에 대한 네트워크상에서의 충돌을 방지하기 위해 수행된다.If the IP address is provided to the new device 300 for the virtual device 141, it can be recognized that there are two devices using the same IP address and MAC address in one local network, And is performed to prevent collision on the IP address and MAC address on the network.

또한 매니징 디바이스(100)로부터 IP주소를 포함하는 네트워크정보를 제공받은 신규 디바이스(300)는 자신의 네트워크 환경을 상기 네트워크정보로 설정(S210)하여 네트워크에 접속함으로써, IP통신을 수행할 수 있다.The new device 300 receiving the network information including the IP address from the managing device 100 can perform IP communication by setting the network environment of the new device 300 as the network information (S210) and accessing the network .

도 6은 본 발명의 일 실시예에 따른 IP주소를 할당받은 디바이스로부터 IP주소를 연장하거나 반납하는 과정을 나타낸 도면이다.6 is a diagram illustrating a process of extending or returning an IP address from a device to which an IP address is allocated according to an embodiment of the present invention.

도 6에 도시한 바와 같이, 상기 디바이스(300)가 DHCP 클라이언트를 구비하고 있지 않는 경우에는 직접적으로 DHCP서버(200)에 접속하여 IP주소를 연장 또는 반납할 수 없으므로, 상기 디바이스(300)는 매니징 디바이스(100)를 통해 자신의 IP주소에 대한 사용을 연장하거나 반납할 수 있다.As shown in FIG. 6, when the device 300 does not have a DHCP client, the device 300 can not directly connect to the DHCP server 200 and extend or return the IP address. Therefore, The user can extend or return his / her use of the IP address through the device 100.

즉, 상기 디바이스(300)가 IP주소를 연장하는 과정에 있어서, 해당 디바이스(300)에 할당된 IP주소의 할당시간(예: 3600s)에 대해 미리 설정한 시간을 경과하는 경우(예: 총 할당시간의 반, 3600s 인 경우 1800s)에 상기 디바이스(300)는 연장요청 메시지를 생성하여, 상기 매니징 디바이스(100)로 전송함으로써, IP주소 할당시간에 대한 연장을 요청한다(S210).That is, in the process of extending the IP address by the device 300, when the preset time for the allocation time (for example, 3600s) of the IP address allocated to the device 300 has elapsed The device 300 generates an extension request message and transmits the extension request message to the management device 100 to request extension of the IP address allocation time at step S210.

다음으로 매니징 디바이스(100)는 상기 IP주소 할당시간에 대한 연장 요청에 대한 메시지를 수신한 경우, 해당 디바이스의 IP주소 및 MAC주소를 포함한 DHCP 리퀘스트 메지시를 생성하여 DHCP서버(200)로 유니캐스팅함으로써, 해당 디바이스(300)에 할당한 IP주소의 할당시간에 대한 연장을 요청한다(S220).When the management device 100 receives a message for the extension request for the IP address allocation time, the management device 100 generates a DHCP request message including an IP address and a MAC address of the device, and transmits the DHCP request message to the DHCP server 200 And requests extension of the allocation time of the IP address allocated to the device 300 by casting (S220).

즉, 상기 매니징 디바이스(100)는 해당 디바이스(300)에 IP주소를 제공한 DHCP서버(200)를 알고 있으므로, DHCP 리퀘스트 메시지를 상기 DHCP서버(200)로 유니캐스팅하며, 이때 상기 DHCP 리퀘스트 메시지의 소스 MAC주소 및 IP주소는 상기 매니징 디바이스(100)의 MAC주소 및 IP주소로 설정된다.That is, since the management device 100 knows the DHCP server 200 providing the IP address to the device 300, the management device 100 unicasts the DHCP request message to the DHCP server 200, The source MAC address and the IP address of the management device 100 are set to the MAC address and the IP address of the management device 100, respectively.

다음으로 IP주소 할당시간 연장요청에 대한 DHCP 리퀘스트 메시지를 수신한 상기 DHCP서버(200)는 해당 IP주소에 대한 할당시간을 갱신하여 상기 매니징 디바이스(100)에게 DHCP Ack 메시지로써, 상기 DHCP 리퀘스트 메시지에 대한 응답을 수행한다(S230).The DHCP server 200 having received the DHCP request message for the IP address allocation time extension request updates the allocation time for the corresponding IP address to send the DHCP request message to the management device 100 as a DHCP Ack message, (S230). ≪ / RTI >

다음으로 상기 매니징 디바이스(100)는 상기 DHCP Ack 메시지로부터 상기 IP주소의 할당시간에 대한 개신된 할당시간을 반영하여 상기 신규 디바이스(300)에 대한 매핑테이블을 업데이트하고(S240), 갱신된 할당시간에 대한 정보를 상기 디바이스(300)로 제공한다(S250).Next, the management device 100 updates the mapping table for the new device 300 by reflecting the changed allocation time for the allocation time of the IP address from the DHCP Ack message (S240) And provides information on the time to the device 300 (S250).

다음으로 디바이스(300)는 IP주소의 할당시간을 상기 갱신된 할당시간으로 재설정(S260)함으로써, 해당 IP주소를 지속적으로 사용할 수 있다.Next, the device 300 can continuously use the IP address by resetting the allocation time of the IP address to the updated allocation time (S260).

또한 IP주소를 반납하는 절차의 경우, 상기 디바이스(300)는 IP주소를 반납하기 위한 메시지를 생성하여 상기 매니징 디바이스(100)로 전송함으로써, IP주소를 반납한다(S270).In the case of returning the IP address, the device 300 generates a message for returning the IP address and transmits the message to the management device 100 to return the IP address (S270).

다음으로 상기 매니징 디바이스(200)는, IP반납 메시지를 특정 디바이스(200)로부터 수신한 경우, DHCP 릴리즈(release) 메시지를 생성하여 해당 IP주소를 할당한 DHCP서버(200)로 유니캐스팅한다(S290).Next, when receiving the IP return message from the specific device 200, the managing device 200 generates a DHCP release message and unicasts the DHCP release message to the DHCP server 200 having assigned the corresponding IP address S290).

이때, 상기 DHCP 릴리즈 메시지는 해당 디바이스(300)의 IP주소 및 MAC주소를 포함하며, 상기 DHCP 릴리즈 메시지의 소스 MAC주소 및 IP주소는 상기 매니징 디바이스(200)의 MAC주소 및 IP주소로 각각 설정되며, 목적지 MAC주소 및 IP주소는 상기 디바이스(300)에 IP주소를 할당한 DHCP서버(200)의 MAC주소 및 IP주소로 각각 설정된다.The DHCP release message includes an IP address and a MAC address of the device 300. The source MAC address and the IP address of the DHCP release message are set to the MAC address and the IP address of the management device 200, And the destination MAC address and the IP address are respectively set as a MAC address and an IP address of the DHCP server 200 to which the IP address is assigned to the device 300.

다음으로 매니징 디바이스(100)는 상기 IP반납에 따라 상기 디바이스(300)의 MAC주소에 매핑된 IP주소 및 IP 할당시간을 삭제함으로써, 매핑테이블을 업데이트한다.Next, the management device 100 updates the mapping table by deleting the IP address and the IP allocation time mapped to the MAC address of the device 300 according to the return of the IP.

한편 상기 등록된 MAC주소는 상기 IP주소를 반납한 경우, 미리 설정한 시간 내에 로컬 네트워크에 플러그인 되는 것이 감지되지 않는 경우 삭제할 수 있으며, 이를 통해 불필요한 감지메시지의 브로트캐스팅에 다른 부하를 방지할 수 있다.On the other hand, when the IP address is returned, the registered MAC address can be deleted when it is not detected that plugging in the local network within a preset time, thereby preventing other loads from being unnecessarily brokcasted in the detection message .

이상에서 설명한 바와 같이, 본 발명은 IP기반의 디바이스 자동연결 방법 및 이를 지원하는 장치에 관한 것으로, 로컬 네트워크에 임의의 디바이스가 플러그인 되고, 상기 디바이스가 DHCP 클라이언트를 가지고 있지 않는 경우에도 매니징 디바이스를 통해 자동으로 IP주소가 할당 및 설정될 수 있도록 함으로써, 상기 디바이스에 대한 IP주소를 수동으로 설정하는 과정 없이 상기 네트워크에 자동으로 연결될 수 있도록 하는 효과가 있다.As described above, the present invention relates to an IP-based device automatic connection method and a device supporting the same, and even when an arbitrary device is plugged into a local network and the device does not have a DHCP client, So that the IP address can be automatically assigned to the network without manually setting the IP address for the device.

상기에서는 본 발명에 따른 바람직한 실시 예를 위주로 상술하였으나, 본 발명의 기술적 사상은 이에 한정되는 것은 아니며 본 발명의 각 구성요소는 동일한 목적 및 효과의 달성을 위하여 본 발명의 기술적 범위 내에서 변경 또는 수정될 수 있을 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. .

또한, 이상에서는 본 발명의 바람직한 실시예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 다양한 변형 실시가 가능한 것은 물론이고, 이러한 변형 실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어서는 안 될 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, It will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the present invention.

100 : 매니징 디바이스 110 : 디바이스 MAC주소 등록부
120 : 디바이스 감지부 130 : 디바이스 관리부
140 : IP주소 획득부 141 : 가상 디바이스
142 : 메시지 처리부 150 : 제어부
200 : DHCP서버 300 : 디바이스
310 : 메시지 처리부 320 : 네트워크 설정부
100: Managed device 110: Device MAC address registration part
120: Device detection unit 130: Device management unit
140: IP address obtaining unit 141: Virtual device
142: message processor 150:
200: DHCP server 300: Device
310: Message processing unit 320: Network setting unit

Claims (12)

디바이스에 대한 MAC주소를 등록하는 디바이스 MAC주소 등록부;
상기 MAC주소를 등록한 상기 디바이스가 네트워크에 플러그인 되는 것을 감지하는 디바이스 감지부; 및
상기 등록한 MAC주소를 이용하여 상기 디바이스에 대한 IP주소를 획득하는 IP주소 획득부;를 포함하며,
상기 IP주소 획득부는,
상기 감지한 디바이스의 MAC주소에 대한 IP주소를 DHCP서버에 요청하여 해당 MAC주소에 대한 IP주소를 상기 디바이스를 대신하여 할당받아 상기 디바이스로 제공하거나,
상기 등록한 MAC주소에 대한 가상 디바이스를 생성하며, 상기 생성한 가상 디바이스에 대한 IP주소를 DHCP서버에 요청하여, 상기 등록한 MAC주소에 대한 IP주소를 할당받음으로써, 상기 디바이스를 대신하여 IP주소를 미리 할당받고, 상기 디바이스가 플러그인 되는 경우, 상기 미리 할당받은 IP주소를 상기 디바이스에 제공함으로써,
상기 디바이스가 DHCP 클라이언트를 구비하지 않는 경우에 대해서도 자동으로 네트워크에 연결될 수 있도록 하는 것을 특징으로 하는 IP기반 디바이스의 네트워크 자동연결을 지원하는 장치.
A device MAC address registration unit for registering a MAC address for the device;
A device sensing unit for sensing that the device that registered the MAC address is plugged into a network; And
And an IP address obtaining unit for obtaining an IP address for the device using the registered MAC address,
Wherein the IP address obtaining unit comprises:
Requesting the IP address of the detected MAC address of the device to the DHCP server, assigning an IP address for the MAC address to the device,
A virtual device for the registered MAC address is generated, an IP address for the generated virtual device is requested to the DHCP server, an IP address for the registered MAC address is allocated, And when the device is plugged in, providing the pre-allocated IP address to the device,
Wherein the device is automatically connected to the network even when the device does not have a DHCP client.
청구항 1에 있어서,
상기 디바이스 MAC주소 등록부는,
상기 디바이스를 사용하는 사용자로부터 직접 입력받거나, 상기 디바이스로부터 MAC주소를 포함한 비콘신호를 수신하여 해당 디바이스의 MAC주소를 자동으로 등록하는 것을 특징으로 하는 IP기반 디바이스의 네트워크 자동연결을 지원하는 장치.
The method according to claim 1,
The device MAC address registration unit,
Wherein the device is directly input from a user using the device or receives a beacon signal including a MAC address from the device and automatically registers a MAC address of the device.
청구항 1에 있어서,
상기 디바이스 감지부는,
상기 등록한 MAC주소를 포함하는 감지메시지를 네트워크에 주기적으로 브로드캐스팅하고, 상기 등록한 MAC주소를 가지는 디바이스로부터 응답메시지를 수신함으로써, 상기 디바이스가 네트워크에 플러그인 되는 것을 감지하는 것을 특징으로 하는 IP기반 디바이스의 네트워크 자동연결을 지원하는 장치.
The method according to claim 1,
The device-
Wherein the control unit periodically broadcasts a detection message including the registered MAC address to the network and receives a response message from a device having the registered MAC address to detect that the device is plugged into the network. Devices that support automatic network connection.
삭제delete 삭제delete 청구항 1에 있어서,
상기 장치는,
상기 등록한 MAC주소와 상기 획득한 IP주소를 상호 매핑한 매핑테이블을 생성하여, 상기 디바이스에 대한 IP주소의 할당시간에 대한 연장, 상기 IP주소의 반납 또는 이들의 조합을 포함하는 디바이스 관리를 수행하는 디바이스 관리부;를 더 포함하며,
상기 가상 디바이스는, 상기 디바이스가 플러그인 되어, 상기 할당받은 IP주소를 상기 디바이스로 제공한 경우, 제거되는 것을 특징으로 하는 IP기반 디바이스의 네트워크 자동연결을 지원하는 장치.
The method according to claim 1,
The apparatus comprises:
Generates a mapping table in which the registered MAC address and the obtained IP address are mapped to each other, and performs device management including extension of an IP address allocation time for the device, return of the IP address, or a combination thereof And a device management unit,
Wherein the virtual device is removed when the device is plugged in and the assigned IP address is provided to the device.
디바이스 MAC주소 등록부에서, 디바이스의 MAC주소를 등록하는 디바이스 MAC주소 등록 단계;
디바이스 감지부에서, 상기 MAC주소를 등록한 상기 디바이스가 네트워크에 플러그인 되는 것을 감지하는 디바이스 감지 단계; 및
IP주소 획득부에서, 상기 등록한 MAC주소를 이용하여 상기 디바이스에 대한 IP주소를 획득하는 단계;를 포함하며,
상기 IP주소 획득부는,
상기 감지한 디바이스의 MAC주소에 대한 IP주소를 DHCP서버에 요청하여 해당 MAC주소에 대한 IP주소를 상기 디바이스를 대신하여 할당받아 상기 디바이스로 제공하거나,
상기 등록한 MAC주소에 대한 가상 디바이스를 생성하며, 상기 생성한 가상 디바이스에 대한 IP주소를 DHCP서버에 요청하여, 상기 등록한 MAC주소에 대한 IP주소를 할당받음으로써, 상기 디바이스를 대신하여 IP주소를 미리 할당받고, 상기 디바이스가 플러그인 되는 경우, 상기 미리 할당받은 IP주소를 상기 디바이스에 제공함으로써,
상기 디바이스가 DHCP 클라이언트를 구비하지 않는 경우에 대해서도 자동으로 네트워크에 연결될 수 있도록 하는 것을 특징으로 하는 IP기반 디바이스의 네트워크 자동연결 방법.
A device MAC address registering step of registering a MAC address of the device in the device MAC address registering step;
A device detection step of detecting, in the device detection unit, that the device registered with the MAC address is plugged into the network; And
And obtaining an IP address for the device using the registered MAC address in the IP address obtaining unit,
Wherein the IP address obtaining unit comprises:
Requesting the IP address of the detected MAC address of the device to the DHCP server, assigning an IP address for the MAC address to the device,
A virtual device for the registered MAC address is generated, an IP address for the generated virtual device is requested to the DHCP server, an IP address for the registered MAC address is allocated, And when the device is plugged in, providing the pre-allocated IP address to the device,
Wherein the device is automatically connected to a network even when the device does not have a DHCP client.
청구항 7에 있어서,
상기 디바이스 MAC주소 등록 단계는,
상기 디바이스를 사용하는 사용자로부터 직접 입력받거나, 상기 디바이스로부터 MAC주소를 포함한 비콘신호를 수신하여 해당 디바이스의 MAC주소를 자동으로 등록하는 것을 특징으로 하는 IP기반 디바이스의 네트워크 자동연결 방법.
The method of claim 7,
The device MAC address registration step includes:
Wherein the device is directly input from a user using the device or receives a beacon signal including a MAC address from the device and automatically registers a MAC address of the device.
청구항 7에 있어서,
상기 디바이스 감지 단계는,
상기 등록한 MAC주소를 포함하는 감지메시지를 네트워크에 주기적으로 브로드캐스팅하고, 상기 등록한 MAC주소를 가지는 디바이스로부터 응답메시지를 수신함으로써, 상기 디바이스가 네트워크에 플러그인 되는 것을 감지하는 것을 특징으로 하는 IP기반 디바이스의 네트워크 자동연결 방법.
The method of claim 7,
The device sensing step may include:
Wherein the control unit periodically broadcasts a detection message including the registered MAC address to the network and receives a response message from a device having the registered MAC address to detect that the device is plugged into the network. Automatic network connection method.
삭제delete 삭제delete 청구항 7에 있어서,
상기 IP기반 디바이스의 네트워크 자동연결 방법은,
상기 등록한 MAC주소와 상기 획득한 IP주소를 상호 매핑한 매핑테이블을 생성하여, 상기 디바이스에 대한 IP주소의 할당시간에 대한 연장, 상기 IP주소의 반납 또는 이들의 조합을 포함하는 디바이스 관리를 수행하는 디바이스 관리 단계;를 더 포함하며,
상기 가상 디바이스는, 상기 디바이스가 플러그인 되어, 상기 할당받은 IP주소를 상기 디바이스로 제공한 경우, 제거되는 것을 특징으로 하는 IP기반 디바이스의 네트워크 자동연결 방법.
The method of claim 7,
A method for automatically connecting a network of an IP-based device,
Generates a mapping table in which the registered MAC address and the obtained IP address are mapped to each other, and performs device management including extension of an IP address allocation time for the device, return of the IP address, or a combination thereof Further comprising: a device management step,
Wherein the virtual device is removed when the device is plugged in and the assigned IP address is provided to the device.
KR1020170010239A 2017-01-23 2017-01-23 Method for automatically connecting ip based devices and the apparatus supporting the same KR101885618B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020170010239A KR101885618B1 (en) 2017-01-23 2017-01-23 Method for automatically connecting ip based devices and the apparatus supporting the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170010239A KR101885618B1 (en) 2017-01-23 2017-01-23 Method for automatically connecting ip based devices and the apparatus supporting the same

Publications (2)

Publication Number Publication Date
KR20180086610A KR20180086610A (en) 2018-08-01
KR101885618B1 true KR101885618B1 (en) 2018-08-06

Family

ID=63227940

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170010239A KR101885618B1 (en) 2017-01-23 2017-01-23 Method for automatically connecting ip based devices and the apparatus supporting the same

Country Status (1)

Country Link
KR (1) KR101885618B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11277442B2 (en) * 2019-04-05 2022-03-15 Cisco Technology, Inc. Verifying the trust-worthiness of ARP senders and receivers using attestation-based methods

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101538737B1 (en) * 2014-11-20 2015-07-29 주식회사 베이스인 네트웍스 Method for IP allocation in DHCP

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101184122B1 (en) * 2010-11-30 2012-09-19 경희대학교 산학협력단 Method for providing mobility of device moving to mobile network in wireless sensor network based on 6LoWPAN

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101538737B1 (en) * 2014-11-20 2015-07-29 주식회사 베이스인 네트웍스 Method for IP allocation in DHCP

Also Published As

Publication number Publication date
KR20180086610A (en) 2018-08-01

Similar Documents

Publication Publication Date Title
US8103784B2 (en) Communication device and communication control method using efficient echonet address determination scheme
KR100628493B1 (en) Communication device
US20020169886A1 (en) Communication device and communication control device for enabling operation of control protocol for one network on other types of networks
KR100657326B1 (en) Device and method for operating network application according to power management mode of communication device
KR100796865B1 (en) Mobile Terminal, System and Method for connecting Network by using the same
US20040071148A1 (en) Information device, gateway device and control method
CN107113892B (en) Method and device for automatically networking gateway equipment
KR101937388B1 (en) Method and apparatus for configuration dns name
JP4345565B2 (en) Mobile router, location management server, mobile network management system, and mobile network management method
KR101227001B1 (en) Method and system for managing node identification
KR101885618B1 (en) Method for automatically connecting ip based devices and the apparatus supporting the same
TW201705737A (en) Virtual communication protocol established in physical communication protocol for achieving the aims of intercommunicating and mutually transmitting control instructions
KR101506852B1 (en) Method for Selecting Network Mode, Mobile Router Therefor
JP4019666B2 (en) Gateway device and information device
KR100595524B1 (en) Device discovery system and method on network
KR100513296B1 (en) Apparatus, system and method for controlling network access
KR20140019504A (en) System and method for setting ip address
JP4482011B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD
KR20090117482A (en) System and method for managing osgi framework devices in the private ip network
JP4087366B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD
JP4893041B2 (en) IP address assignment method
KR100600410B1 (en) Method for parallel processing functions using networking technology
KR20160084164A (en) Apparatus and system for allocating VLAN based on DHCP using L2 in access network and method thereof
JP2005110309A (en) Communication apparatus
TW201431341A (en) Management method of port DHCP server protocol address

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