KR101709874B1 - Ip address allocation method and ip address allocation server for performing the method - Google Patents

Ip address allocation method and ip address allocation server for performing the method Download PDF

Info

Publication number
KR101709874B1
KR101709874B1 KR1020150166498A KR20150166498A KR101709874B1 KR 101709874 B1 KR101709874 B1 KR 101709874B1 KR 1020150166498 A KR1020150166498 A KR 1020150166498A KR 20150166498 A KR20150166498 A KR 20150166498A KR 101709874 B1 KR101709874 B1 KR 101709874B1
Authority
KR
South Korea
Prior art keywords
address
user terminal
user
type
lease time
Prior art date
Application number
KR1020150166498A
Other languages
Korean (ko)
Inventor
김평수
Original Assignee
한국산업기술대학교산학협력단
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 한국산업기술대학교산학협력단 filed Critical 한국산업기술대학교산학협력단
Priority to KR1020150166498A priority Critical patent/KR101709874B1/en
Application granted granted Critical
Publication of KR101709874B1 publication Critical patent/KR101709874B1/en

Links

Images

Classifications

    • H04L61/2015
    • H04L61/2061
    • H04L61/2084
    • H04L61/6022

Abstract

The present invention relates to an IP address allocation method and an IP address allocation server. After analyzing the domain type and the device type of characteristic information included in a message received from a user terminal to grasp the communication pattern of the user terminal, it is possible to allocate an appropriate IP address according to the characteristic information of the user terminal, by using a lease time set differently according to the communication pattern of the identified user terminal and an address tolerance range mapped to the lease time. So, it is easy to search and manage the IP address according to the user terminal.

Description

IP 주소 할당 방법 및 상기 방법을 수행하는 IP 주소 할당 서버{IP ADDRESS ALLOCATION METHOD AND IP ADDRESS ALLOCATION SERVER FOR PERFORMING THE METHOD}TECHNICAL FIELD [0001] The present invention relates to an IP address allocation method and an IP address allocation method,

아래의 설명은 IP 주소 할당 방법 및 상기 방법을 수행하는 IP 주소 할당 서버에 관한 것으로, 구체적으로는 사용자 단말로부터 수신한 IP 주소에 대한 동적 할당 요청에 대응하여 사용자 단말의 통신 패턴을 분석하고, 분석한 통신 패턴에 따라 적절한 IP 주소를 할당하기 위한 IP 주소 할당 방법 및 IP 주소 할당 서버에 관한 것 입니다.The following description relates to an IP address assignment method and an IP address assignment server for performing the method. More particularly, the present invention relates to an IP address assignment method for analyzing a communication pattern of a user terminal in response to a dynamic assignment request for an IP address received from a user terminal, And an IP address allocation method and an IP address allocation server for allocating an appropriate IP address according to a communication pattern.

최근에는 유/무선 통신 서비스 및 스마트 기기의 보급 확산에 따른 모바일 인터넷 서비스가 증가하고 있으며, 이에 따라 사물 인터넷 서비스 시대의 도래로 IP 주소의 수요가 급증하고 있다. 이러한 상황에서 총 43억 개의 IP 주소 할당이 가능한 IPv4 주소(IP Version 4)의 할당 가능한 주소가 점차 축소되고 있으며, 이를 해결하기 위해 사설 IP 주소를 공인 IP 주소로 바꾸어 사용하는 NAT(Network Address Translation)을 이용한다.In recent years, mobile Internet services are increasing due to widespread use of wired / wireless communication services and smart devices. As a result, the demand for IP addresses is rapidly increasing due to the arrival of the Internet service era. In this situation, the assignable addresses of IPv4 address (IP Version 4), which can allocate 4.3 billion IP addresses in total, are gradually being reduced. To solve this problem, a network address translation (NAT) .

다시 말해, IPv4 네트워크에서 NAT는 사설 주소 공간을 이용하는 내부 네트워크와 인터넷 사이의 패킷을 변환하여 내부 네트워크를 연결하는데 사용되는 통신망의 주소 변환기이다. 여기서, NAT를 사용하는 이유는 대규모 형태의 내부 네트워크에서도 오직 소수의 글로벌(외부) 주소만을 사용함으로써, IPv4 주소에 대한 소진을 지연시킨다. 그러나, NAT는 실제적으로 IPv4 주소 소진을 지연시킬 뿐, 실제적인 대규모 확장 문제를 해결하지는 못한다.In other words, in an IPv4 network, NAT is a network address translator used to connect internal networks by converting packets between the internal network and the Internet using private address space. Here, the reason for using NAT is to delay exhaustion of IPv4 addresses by using only a small number of global (external) addresses in large-scale internal networks. However, NAT actually delays IPv4 address exhaustion and does not solve the problem of large scale expansion in practice.

결국, IPv4 주소의 고갈에 의한 문제점을 해결하기 위한 방법으로 IPv6(IP Version 6) 주소 체계가 거론되고 있다. 이는 IPv6 주소체계가 이론적으로 무한대의 IP 주소를 생성할 수 있기 때문이다. 그러나, 현재 사용되는 네트워크 주소 체계는 IPv4 주소 체계임에 따라 IPv6 주소 체계로의 전환함에 있어, 일괄적으로 전환이 불가능함에 따라 IPv4 주소 체계와 IPv6 주소 체계가 공존할 수 밖에 없다. 이러한 이유로 IPv6 주소 체계는 전면적인 전환이 아닌 단계적이고, 점지적인 전환이 현실적인 해법으로 고려되었으며, 이에 따른 효율적인 공존 방안의 모색이 중요해졌다.As a result, IPv6 (IP Version 6) addressing is being addressed as a way to solve the problem caused by depletion of IPv4 addresses. This is because the IPv6 address scheme can theoretically generate infinite IP addresses. However, since the currently used network address system is an IPv4 address system, the IPv4 address system and the IPv6 address system can not coexist in the transition to the IPv6 address system. For this reason, the IPv6 address system was considered as a realistic solution, not a full-fledged transition but a gradual and point-to-point conversion, and it became important to search for effective coexistence.

하지만, 수년 간 다양한 형태의 전환 기술이 연구 개발 및 전환 기술이 제안되었으나, 실제로 IPv6 네트워크로의 적용이 성공적으로 이루어지지는 못하고 있다. 이는 주로 기술적인 측면에서만 연구가 진행되어 왔었고, 서비스 측면의 접근이나 시장의 요구사항을 제대로 반영하지 못했기 때문이라 판단된다.However, for a number of years, various types of conversion technologies have been proposed for R & D and conversion, but the application to IPv6 networks has not been successful. This is mainly due to the fact that research has been carried out only in terms of technology, and it has not reflected the approach of the service side or the market requirements.

아울러, IPv6 주소 체계를 대규모로 도입하기에 아직 장비 성능 면에서 많은 보완이 필요한 시기였다. 가장 중요한 이유는 여전히 많은 네트워크 장비, 인프라, 서비스 및 인터넷 디바이스들이 IPv4 주소만 지원하고 있다는 것이다. 즉, 기대 만큼 IPv6 주소의 도입이 빠르게 진행되지 않고 있으며, 연구 개발 역시 소강 상태에 이르게 되었다. 특히, 서비스 사업자 측면에서 IPv6 도입으로 인해 수익 창출이 불확실한 상황에서 인프라 구축에 미온적일 수 밖에 없었고, 이 역시 IPv6 도입이 늦춰지는 하나의 이유가 되었다.In addition, the introduction of the IPv6 address system on a large scale was a time when many improvements were required in terms of equipment performance. The most important reason is that many network equipment, infrastructure, services and Internet devices still support only IPv4 addresses. In other words, the introduction of IPv6 addresses did not proceed as fast as expected, and research and development also reached a lull. In particular, in terms of service providers, the introduction of IPv6 made it uneconomical to build an infrastructure in a situation where profit generation was uncertain. This was also one of the reasons for delaying the adoption of IPv6.

따라서, 제한적인 IPv4 주소를 수많은 인터넷 디바이스들이 효율적으로 공유 할 수 있는 “주소자원 공유기술”이 필요하며, 대표적으로 DHCP(Dynamic Host Configuration Protocol) 방식인 “주소자원 공유기술”이 알려져 있다. DHCP 방식은 인터넷 디바이스가 고정된 IP 주소를 사용하는 것이 아니라, 일정 시간동안 임시로 임의의 IP 주소를 할당 받아 사용하는 방식이다.Therefore, an " address resource sharing technique " is required in which a large number of Internet devices can efficiently share a limited IPv4 address. Typically, an " address resource sharing technique " In the DHCP method, an Internet device does not use a fixed IP address but temporarily uses an arbitrary IP address for a certain period of time.

이에 따라, DHCP 네트워크 관리자는 기존에 직접 IP 주소를 할당 및 설정하던 방식을 벗어나 IP 주소를 자동으로 관리한다. 이 때, DHCP를 통해 인터넷 디바이스가 네트워크에 접속하고자 할 때, 인터넷 디바이스는 DHCP로부터 IP 주소를 동적으로 할당받을 수 있다. 따라서 인터넷 디바이스가 빈번하게 접속을 연결하고 다시 갱신하는 무선랜(WLAN) 및 가정용 네트워크에서 폭넓게 사용된다.As a result, the DHCP network manager manages the IP address automatically, rather than the method of assigning and setting the IP address directly. At this time, when an Internet device attempts to access the network through DHCP, the Internet device can dynamically receive an IP address from DHCP. Therefore, it is widely used in wireless LAN (WLAN) and home network where Internet devices frequently connect and renew connections.

그러나, DHCP 방식은 인터넷 디바이스의 요청에 따라 임의(Random)의 방식으로 주소 할당함에 따라 인터넷 디바이스에 할당된 주소, MAC 주소, 임대시간 등을 저장하는 Cache 관리에 효율적이지 않다. 또한, DHCP 방식은 IP 주소 할당을 요청한 인터넷 디바이스의 종류와 무관하게 모든 인터넷 디바이스에 동일한 임대 시간을 부여함에 따라 실제적으로 IP 주소가 많이 부족한 상황에서 회전율에 악영향을 줄 수 있는 구조이다.However, the DHCP method is not efficient in cache management for storing addresses, MAC addresses, lease times, and the like allocated to Internet devices as addresses are allocated in a random manner at the request of an Internet device. In addition, the DHCP method assigns the same lease time to all the Internet devices irrespective of the type of the Internet device requesting the IP address allocation, and thus has a structure that can adversely affect the turnover rate in a situation where the IP address is insufficient.

따라서, DHCP 방식을 기반으로 인터넷 디바이스의 IP 주소 할당 요청에 따른 인터넷 디바이스의 종류를 고려하여 보다 효율적으로 IP 주소를 할당할 수 있는 방법이 필요하다.Accordingly, there is a need for a method that can allocate IP addresses more efficiently considering the types of Internet devices according to requests for IP address allocation of internet devices based on the DHCP method.

본 발명은 DHCP 방식을 기반으로 IP 주소 할당을 요청하는 사용자 단말의 타입을 구분하고, 구분된 타입에 따라 할당 가능한 주소 가용 범위를 설정함으로써, 사용자 단말에 따른 IP 주소에 대한 검색 및 관리가 용이한 IP 주소 할당 방법 및 IP 주소 할당 서버를 제공할 수 있다.The present invention relates to a method and apparatus for distinguishing a type of a user terminal requesting an IP address assignment based on a DHCP scheme and setting an assignable range of address available according to the classified type, An IP address allocation method, and an IP address allocation server.

본 발명은 DHCP 방식을 기반으로 IP 주소 할당을 요청하는 사용자 단말의 타입을 구분하고, 구분된 타입에 따라 IP 주소에 대한 임대 시간을 상이하게 결정함으로써, IP 주소에 대한 주소 회전율을 향상시키는 IP 주소 할당 방법 및 IP 주소 할당 서버를 제공할 수 있다.The present invention relates to a method and apparatus for classifying a type of a user terminal requesting an IP address allocation based on a DHCP method and determining a lease time for an IP address according to the classified type, An allocation method and an IP address allocation server.

일실시예에 따른 IP 주소 관리 서버가 수행하는 IP 주소 관리 방법은 사용자 단말로부터 IP 주소를 할당받기 위한 메시지를 수신하는 단계; 상기 메시지에 대응하여 도메인 타입과 디바이스 타입을 포함하는 사용자 단말의 특성 정보를 확인하는 단계; 및 상기 특성 정보에 따른 임대 시간을 결정하고, 상기 결정된 임대시간이 부여된 IP 주소를 상기 사용자 단말에 할당하는 단계를 포함할 수 있다.A method of managing an IP address performed by an IP address management server according to an exemplary embodiment includes receiving a message for receiving an IP address from a user terminal; Confirming characteristic information of a user terminal including a domain type and a device type in response to the message; And determining a lease time according to the characteristic information, and allocating the determined IP address to the user terminal.

일실시예에 따른 도메인 타입은 상기 사용자 단말이 제공하는 동작에 따른 형태를 구분하는 정보를 포함하고, 상기 디바이스 타입은, 상기 사용자 단말의 도메인 타입을 기반으로 사용자와 사용자 단말 간의 이용 패턴에 따른 종류를 구분하는 정보를 포함할 수 있다.The domain type according to an exemplary embodiment includes information for distinguishing a type according to an operation provided by the user terminal, and the device type includes a type according to a usage pattern between a user and a user terminal based on a domain type of the user terminal As shown in FIG.

일실시예에 따른 IP 주소를 사용자 단말에 할당하는 단계는 상기 특성 정보에 따른 상기 사용자 단말의 통신 패턴에 의한 주소 회전율을 고려하여 사용자 단말마다 상이한 임대 시간을 결정할 수 있다.The step of allocating the IP address to the user terminal according to an embodiment may determine a different lease time for each user terminal in consideration of the address turnover rate according to the communication pattern of the user terminal according to the characteristic information.

일실시예에 따른 IP 주소를 사용자 단말에 할당하는 단계는 상기 사용자 단말의 통신 패턴에 의한 주소 회전율이 높을수록 사용자 단말에 할당되는 IP 주소의 임대 시간이 짧아질 수 있다.In the step of allocating the IP address to the user terminal according to the embodiment, the higher the address rotation rate according to the communication pattern of the user terminal, the shorter the rental time of the IP address allocated to the user terminal.

일실시예에 따른 IP 주소를 사용자 단말에 할당하는 단계는 상기 결정된 임대 시간에 대응하는 주소 가용 범위를 탐색하여 상기 주소 가용 범위 중 할당되지 않은 IP 주소를 사용자 단말에 할당할 수 있다.The step of assigning an IP address to a user terminal according to an exemplary embodiment may search an address availability range corresponding to the determined lease time and allocate an unassigned IP address to the user terminal.

본 발명의 일실시예에 따른 IP 주소 할당 방법 및 IP 주소 할당 서버는 DHCP 방식을 기반으로 IP 주소 할당을 요청하는 사용자 단말의 타입을 구분하고, 구분된 타입에 따라 할당 가능한 주소 가용 범위를 설정함으로써, 사용자 단말에 따른 IP 주소에 대한 검색 및 관리가 용이할 수 있다.The IP address assignment method and the IP address assignment server according to an embodiment of the present invention classify the types of user terminals requesting IP address allocation based on the DHCP method and set an assignable address range according to the classified type , It is easy to search and manage the IP address according to the user terminal.

본 발명의 일실시예에 따른 IP 주소 할당 방법 및 IP 주소 할당 서버는 DHCP 방식을 기반으로 IP 주소 할당을 요청하는 사용자 단말의 타입을 구분하고, 구분된 타입에 따라 IP 주소에 대한 임대 시간을 상이하게 결정함으로써, IP 주소에 대한 주소 회전율을 향상시킬 수 있다.The IP address assignment method and the IP address assignment server according to an embodiment of the present invention classify the types of user terminals requesting IP address allocation based on the DHCP method, , It is possible to improve the address turnover rate to the IP address.

도 1은 일실시예에 따른 IP 주소를 할당하기 위한 동작 절차를 도시한 도면이다.
도 2는 일실시예에 따른 사용자 단말의 타입을 반영하는 이더넷 헤더의 구조를 도시한 도면이다.
도 3은 일실시예에 따른 사용자 단말의 디바이스 타입을 구별하기 위한 세부적인 구성을 도시한 도면이다.
도 4는 일실시예에 따른 사용자 단말의 타입을 구별한 도면이다.
도 5는 일실시예에 따른 임대 시간에 따라 IP 주소에 대한 주소 가용 범위를 도시한 도면이다.
1 is a diagram illustrating an operation procedure for assigning an IP address according to an exemplary embodiment of the present invention.
2 is a diagram illustrating a structure of an Ethernet header reflecting a type of a user terminal according to an exemplary embodiment.
FIG. 3 is a detailed configuration for identifying a device type of a user terminal according to an exemplary embodiment. Referring to FIG.
FIG. 4 illustrates a type of a user terminal according to an exemplary embodiment of the present invention.
FIG. 5 is a diagram illustrating an address availability range for an IP address according to an exemplary embodiment of the present invention. Referring to FIG.

이하, 본 발명의 실시예를 첨부된 도면을 참조하여 상세하게 설명한다. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 일실시예에 따른 IP 주소를 할당하기 위한 동작 절차를 도시한 도면이다.1 is a diagram illustrating an operation procedure for assigning an IP address according to an exemplary embodiment of the present invention.

도 1을 참고하면, IP 주소 할당 서버(101)는 사용자 단말(102)로부터 전달된 메시지에 대응하여 사용자 단말(102)로 IP 주소를 할당할 수 있다. 여기서, IP 주소 할당 서버(101)는 주소자원 공유기술로 알려진 DHCP(Dynamic Host Configuration Protocol) 방식을 사용하는 서버일 수 있다. 그리고, IP 주소 할당 서버(101)는 DHCP 방식을 기반으로 다음과 같이 3가지 종류의 주소 할당 방식을 사용할 수 있다.Referring to FIG. 1, the IP address assignment server 101 may assign an IP address to the user terminal 102 in response to a message transmitted from the user terminal 102. Here, the IP address assignment server 101 may be a server using a Dynamic Host Configuration Protocol (DHCP) scheme known as an address resource sharing technology. The IP address assignment server 101 can use the following three types of address allocation methods based on the DHCP method.

(i) Manual Allocation (i) Manual Allocation

(ii) Automatic Allocation: Static/Permanent automatic allocation(ii) Automatic Allocation: Static / Permanent automatic allocation

(iii) Dynamic Allocation: Dynamic/Temporary automatic allocation(iii) Dynamic Allocation: Dynamic / Temporary automatic allocation

IP 주소 할당 서버(101)는 위에서 기재된 3가지 종류의 주소 할당 방식 중에서 Dynamic Allocation을 사용해 사용자 단말(102)로 IP 주소를 할당할 수 있다. 다시 말해, IP 주소 할당 서버(101)는 DHCP 방식을 기반으로 사용자 단말(102)이 네트워크에 접속하고자 할 때마다 IP 주소를 동적으로 할당할 수 있는 Dynamic Allocation을 사용할 수 있다.The IP address assignment server 101 can allocate an IP address to the user terminal 102 by using Dynamic Allocation among the three types of address assignment methods described above. In other words, the IP address assignment server 101 can use dynamic allocation, which can dynamically allocate an IP address whenever the user terminal 102 accesses the network based on the DHCP method.

이 때, IP 주소 할당 서버(101)는 일정 시간 동안 임의의 IP 주소를 사용자 단말(102)로 할당함에 있어, 사용자 단말(102)의 타입을 구분할 수 있다. 여기서, IP 주소 할당 서버(101)는 DHCP 프로토콜 동작 절차에 따른 DHCP Discover 동작을 통해 전달되는 사용자 단말(102)의 특성 정보에 기초하여 사용자 단말(102)의 타입을 구분할 수 있다. 그리고, IP 주소 할당 서버(101)는 구분된 사용자 단말(102)의 타입에 대응하여 IP 주소에 대한 상이한 임대 시간을 결정할 수 있다. 이후, IP 주소 할당 서버(101)는 결정된 임대 시간에 매핑된 주소 가용 범위 내에 존재하는 IP 주소 중 아직 할당되지 않은 IP 주소를 사용자 단말(102)에 할당할 수 있다.At this time, the IP address assignment server 101 can identify the type of the user terminal 102 in allocating an arbitrary IP address to the user terminal 102 for a predetermined time. Here, the IP address assignment server 101 can identify the type of the user terminal 102 based on the characteristic information of the user terminal 102 transmitted through the DHCP Discover operation according to the DHCP protocol operation procedure. The IP address assignment server 101 may determine a different lease time for the IP address corresponding to the type of the separated user terminal 102. [ Thereafter, the IP address assignment server 101 may allocate an IP address not yet allocated among the IP addresses existing within the address available range mapped to the determined lease time to the user terminal 102.

구체적으로, IP 주소 할당 서버(101)는 도 1에 도시된 바와 같이 DHCP 프로토콜 동작 절차를 수행할 수 있다.Specifically, the IP address assignment server 101 may perform a DHCP protocol operation procedure as shown in FIG.

단계(103)에서 사용자 단말(102)은 IP 주소를 할당받기 위한 메시지를 IP 주소 할당 서버(101)로 전달할 수 있다. 여기서, 메시지는 사용자 단말(102)이 IP 주소를 할당할 수 있는 IP 주소 할당 서버(101)를 찾기 위한 브로드캐스트 메시지를 의미할 수 있다. 그리고, 사용자 단말(102)은 메시지를 전송하는 사용자 단말(102)을 식별하기 위한 MAC 주소를 주요 파라미터로 포함하는 메시지를 네트워크 상에 브로드캐스팅을 할 수 있다.In operation 103, the user terminal 102 may transmit a message to the IP address assignment server 101 to receive the IP address. Here, the message may refer to a broadcast message for searching the IP address assignment server 101 to which the user terminal 102 can assign an IP address. The user terminal 102 may broadcast a message on the network including a MAC address as a main parameter for identifying the user terminal 102 transmitting the message.

일례로, 사용자 단말(102)은 DHCP Discover를 통해 "거기 혹시, DHCP 서버 있으며 응답해 주세요~"라는 메시지를 LAN(동일한 subnet) 상에 브로드캐스팅 할 수 있다.For example, the user terminal 102 may broadcast the message "There is a DHCP server, please respond" through DHCP Discover on a LAN (same subnet).

단계(104)에서 IP 주소 할당 서버(101)는 사용자 단말(102)로부터 브로드캐스팅된 메시지를 수신할 수 있다. 그리고, IP 주소 할당 서버(101)는 수신한 메시지에 기초하여 사용자 단말(102)에 할당할 수 있는 IP 주소를 결정할 수 있다. 즉, IP 주소 할당 서버(101)는 단순히 브로드캐스팅된 메시지에 대한 응답 메시지를 전달하는 것이 아니라, 사용자 단말(102)에 할당할 수 있는 IP 주소를 포함하는 네트워크 정보를 전달할 수 있다.In step 104, the IP address assignment server 101 may receive the broadcast message from the user terminal 102. The IP address assignment server 101 can determine an IP address that can be assigned to the user terminal 102 based on the received message. That is, the IP address assignment server 101 can deliver network information including an IP address that can be assigned to the user terminal 102, rather than merely transmitting a response message to the broadcast message.

이를 위해, IP 주소 할당 서버(101)는 수신한 메시지에 포함된 사용자 단말(102)의 특성 정보를 확인할 수 있다. 메시지는 사용자 단말(102)을 식별할 수 있는 MAC 주소를 포함할 수 있다. 그리고, IP 주소 할당 서버(101)는 메시지에 포함된 MAC 주소를 기반으로 사용자 단말(102)의 특성 정보를 파악할 수 있다. 여기서, 사용자 단말(102)의 특성 정보를 파악하는 자세한 구성은 도 2를 통해 설명하도록 한다.To this end, the IP address assignment server 101 can confirm the characteristic information of the user terminal 102 included in the received message. The message may include a MAC address that can identify the user terminal 102. The IP address assignment server 101 can determine the characteristic information of the user terminal 102 based on the MAC address included in the message. Here, a detailed configuration for grasping the characteristic information of the user terminal 102 will be described with reference to FIG.

그리고, IP 주소 할당 서버(101)는 확인된 특성 정보에 기초하여 해당 사용자 단말(102)에 대한 IP 주소의 임대 시간을 결정할 수 있다. 다시 말해, IP 주소 할당 서버(101)는 특성 정보에 따라 사용자 단말(102)의 타입을 구분하고, 구분된 타입에 따른 사용자 단말(102)에 대한 통신 패턴을 고려하여 사용자 단말(102)에 대한 IP 주소의 임대 시간을 상이한 설정할 수 있다. 이후, IP 주소 할당 서버(101)는 설정된 임대 시간에 매핑된 주소 가용 범위에 포함된 IP 주소 중 아직 할당되지 않은 IP 주소를 추출할 수 있다.The IP address assignment server 101 can determine the lease time of the IP address for the user terminal 102 based on the confirmed characteristic information. In other words, the IP address assignment server 101 identifies the type of the user terminal 102 according to the characteristic information, and determines the communication pattern for the user terminal 102 based on the classified type, You can set different lease times for IP addresses. Thereafter, the IP address assignment server 101 can extract an IP address that is not yet assigned among the IP addresses included in the address available range mapped to the set lease time.

단계(105)에서 IP 주소 할당 서버(101)는 사용자 단말(102)로부터 전달된 메시지를 수신하고, 수신한 메시지에 대한 응답 메시지를 전달할 수 있다. 여기서, IP 주소 할당 서버(101)는 사용자 단말(102)에 할당 가능한 IP 주소를 더 포함한 응답 메시지를 사용자 단말(102)에 전달할 수 있다.In step 105, the IP address assignment server 101 receives the message transmitted from the user terminal 102 and transmits a response message to the received message. Here, the IP address assignment server 101 may transmit a response message including the IP address assignable to the user terminal 102 to the user terminal 102.

일례로, IP 주소 할당 서버(101)는 DHCP Offer를 통해 "저 여기 있어요~ 그리고, 사용자 단말(102)로 IP 주소(단계104에서 결정된 주소)를 할당할 수 있어요"라고 응답 메시지 및 IP 주소에 관한 정보를 전달할 수 있다. 즉, IP 주소 할당 서버(101)는 사용자 단말(102)의 MAC 주소 및 사용자 단말(102)로 할당 가능한 IP 주소에 대한 정보를 전달할 수 있다.For example, the IP address assignment server 101 may send an IP address (determined in step 104) to the user terminal 102 via the DHCP Offer message " Can be transmitted. That is, the IP address assignment server 101 can transmit information on the MAC address of the user terminal 102 and the IP address assignable to the user terminal 102.

단계(106)에서 사용자 단말(102)은 IP 주소 할당 서버(101)로부터 IP 주소에 대한 정보를 포함하는 응답 메시지를 수신할 수 있다. 이 때, 사용자 단말(102)은 LAN상에 브로드캐스팅된 메시지에 대응하여 하나 이상의 IP 주소 할당 서버(101)로부터 응답 메시지를 수신할 수 있다. 그리고, 사용자 단말(102)은 수신한 응답 메시지를 통해 하나의 IP 주소 할당 서버(101)를 선택하고, IP 주소 할당 서버(101)로 IP 주소에 따른 네트워크 정보를 요청할 수 있다.In step 106, the user terminal 102 may receive a response message including information on the IP address from the IP address assignment server 101. [ At this time, the user terminal 102 may receive a response message from one or more IP address assignment servers 101 in response to a message broadcast on the LAN. The user terminal 102 may select one IP address assignment server 101 through the received response message and request network information according to the IP address to the IP address assignment server 101.

일례로, 사용자 단말(102)은 DHCP Request를 통해 "IP 주소를 사용할 테니, 해당 네트워크 정보를 전달해주세요"라는 요청을 IP 주소 할당 서버(101)로 전달할 수 있다.For example, the user terminal 102 can transmit a request to the IP address assignment server 101 via the DHCP request, "Please use the IP address to forward the network information".

단계(107)에서 IP 주소 할당 서버(101)는 사용자 단말(102)의 요청에 대응하여 IP 주소에 대한 네트워크 정보를 전달함으로써, 해당 IP 주소를 할당할 수 있다. 이 때, IP 주소 할당 서버(101)는 사용자 단말(102)에 할당된 IP 주소에 대응하는 임대 주소를 전달함으로써, 사용자 단말(102)이 해당 IP 주소를 사용할 수 있는 시간을 알려줄 수 있다.In step 107, the IP address assignment server 101 can allocate the corresponding IP address by transmitting the network information about the IP address in response to the request of the user terminal 102. [ At this time, the IP address assignment server 101 can inform the user terminal 102 of a time when the user terminal 102 can use the IP address by transmitting a lease address corresponding to the IP address assigned to the user terminal 102.

이후, 사용자 단말(102)은 IP 주소 할당 서버(101)로부터 할당된 IP 주소 및 IP 주소에 대한 임대 시간에 따른 네트워크 연결을 수행할 수 있다.The user terminal 102 can then perform a network connection according to the lease time for the IP address and the IP address allocated from the IP address assignment server 101. [

도 2는 일실시예에 따른 사용자 단말의 타입을 반영하는 이더넷 헤더의 구조를 도시한 도면이다.2 is a diagram illustrating a structure of an Ethernet header reflecting a type of a user terminal according to an exemplary embodiment.

도 2를 참고하면, 사용자 단말(202)은 DHCP Discover를 통해 IP 주소를 할당받기 위해 IP 주소 할당 서버(201)로 메시지를 전달할 수 있다. 여기서, 메시지는 사용자 단말(202)을 식별할 수 있는 정보로써, MAC 주소(203)를 포함할 수 있다. 여기서, MAC 주소(203)는 사용자 단말(202)의 타입을 식별하기 위한 정보를 포함할 수 있다. MAC 주소(203)의 구조는 14byte로 구성되며, Destination MAC Address(204), Source MAC Address(205), Ethernet type(206), data, CRC와 같은 정보를 포함할 수 있다.Referring to FIG. 2, the user terminal 202 may forward a message to the IP address assignment server 201 in order to receive an IP address through DHCP Discover. Here, the message may include the MAC address 203 as information that can identify the user terminal 202. Here, the MAC address 203 may include information for identifying the type of the user terminal 202. The structure of the MAC address 203 is 14 bytes and may include information such as a destination MAC address 204, a source MAC address 205, an Ethernet type 206, data, and a CRC.

이 때, Ethernet type(206)은 2byte로 구성되며, IP 주소 할당 서버(201)가 사용자 단말(202)로 IP 주소를 할당함에 있어, 사용자 단말(202)의 타입을 식별할 수 있는 특성 정보를 나타낼 수 있다. 이를 위해, Ethernet type(206)은 각 1byte를 갖는 도메인 타입(Domain type: 207)과 디바이스 타입(Device type: 208)로 구분할 수 있으며, 구분된 도메인 타입(Domain type: 207)과 디바이스 타입(Device type: 208)은 사용자 단말(202)의 타입을 식별할 수 있는 특성 정보를 나타낼 수 있다.At this time, the Ethernet type 206 is composed of 2 bytes. In assigning an IP address to the user terminal 202, the IP address assignment server 201 transmits characteristic information for identifying the type of the user terminal 202 . For this purpose, the Ethernet type 206 can be divided into a domain type 207 and a device type 208 each having 1 byte, and a divided domain type 207 and a device type 208 type 208 may represent characteristic information that can identify the type of the user terminal 202.

도메인 타입(Domain type: 207)은 사용자 단말(202)이 제공하는 동작에 따른 형태를 구분하는 정보일 수 있다. 다시 말해, 도메인 타입은 사용자 단말을 통해 사용자가 제공받을 수 있는 서비스가 어떤 종류이냐에 따른 형태를 구분할 수 있는 정보일 수 있다.The domain type (207) may be information for distinguishing a type according to an operation provided by the user terminal (202). In other words, the domain type may be information that can distinguish a type according to what kind of service a user can receive through a user terminal.

디바이스 타입(Device type: 208)은 사용자 단말의 도메인 타입을 기반으로 사용자와 사용자 단말 간의 이용 패턴에 따른 종류를 구분하는 정보를 포함할 수 있다. 여기서, 이용 패턴은 사용자와 사용자 단말 간에 밀접도에 따른 사용자의 이용 성향을 나타낸 것 일 수 있다.The device type 208 may include information for classifying a type according to a usage pattern between a user and a user terminal based on a domain type of the user terminal. Here, the usage pattern may indicate the user's tendency to use according to the closeness between the user and the user terminal.

그리고, IP 주소 할당 서버(201)는 사용자 단말(202)로부터 전달된 메시지에 포함된 사용자 단말(202)의 특성 정보를 기반으로 사용자 단말(202)의 타입을 결정할 수 있다. 여기서, 사용자 단말(202)의 타입을 결정하는 자세한 구성은 도 3을 통해 설명하도록 한다.The IP address assignment server 201 can determine the type of the user terminal 202 based on the characteristic information of the user terminal 202 included in the message transmitted from the user terminal 202. Here, a detailed configuration for determining the type of the user terminal 202 will be described with reference to FIG.

IP 주소 할당 서버(201)는 사용자 단말(202)로부터 전달되는 메시지에 따라 IP 주소를 할당함에 있어서, 모든 단말에 대하여 임의의 IP 주소를 할당하는 것이 아니라, 사용자 단말(202)의 타입을 구분하고, 구분된 타입에 따라 상이한 IP 주소를 할당할 수 있다. 그리고, IP 주소 할당 서버(201)는 상이한 IP 주소 할당에 따른 사용자 단말(202)의 타입을 구분하기 위해, DHCP Discover 시, 사용자 단말(202)로부터 특성 정보를 포함하는 메시지를 수신할 수 있다.In assigning an IP address according to a message transmitted from the user terminal 202, the IP address assignment server 201 does not allocate an arbitrary IP address to all the terminals but identifies the type of the user terminal 202 , And a different IP address can be assigned according to the classified type. The IP address assignment server 201 may receive the message including the characteristic information from the user terminal 202 at the time of DHCP Discover to distinguish the type of the user terminal 202 according to the different IP address allocation.

이후, IP 주소 할당 서버(201)는 DHCP Discover 시, 사용자 단말(202)로부터 수신한 메시지에 포함된 특성 정보를 이용하여 사용자 단말(202)의 타입을 결정할 수 있다. 그리고, IP 주소 할당 서버(201)는 특성 정보에 따른 상기 사용자 단말의 통신 패턴에 의한 주소 회전율을 고려하여 사용자 단말마다 상이한 임대 시간을 결정할 수 있다. 그리고, IP 주소 할당 서버(201)는 사용자 단말의 통신 패턴에 의한 주소 회전율이 높을수록 사용자 단말에 할당되는 IP 주소의 임대 시간이 짧아지도록 사용자 단말마다 상이한 임대 시간을 결정할 수 있다.The IP address assignment server 201 can then determine the type of the user terminal 202 using the characteristic information included in the message received from the user terminal 202 at the time of DHCP Discover. The IP address assignment server 201 can determine a different lease time for each user terminal in consideration of the address turnover rate based on the communication pattern of the user terminal according to the characteristic information. The IP address assignment server 201 can determine a different lease time for each user terminal so that the lease time of the IP address allocated to the user terminal becomes shorter as the address rotation rate based on the communication pattern of the user terminal becomes higher.

또한, IP 주소 할당 서버(201)는 (i) 사용자 단말(202)의 위치, (ii) 사용자 단말(202)로부터 메시지를 수신한 시간대 또는 계절대 및 (iii) 사용자 단말(202)의 활동 여부를 고려하여 사용자 단말마다 상이한 임대 시간을 결정할 수 있다.The IP address assignment server 201 may also be configured to determine whether the user terminal 202 is in an active state or in a non-active state based on (i) the location of the user terminal 202, (ii) It is possible to determine a different lease time for each user terminal.

(i) 사용자 단말의 위치(i) the location of the user terminal

IP 주소 할당 서버(201)는 사용자 단말(202)의 현재 위치를 고려하여 임대 시간을 결정할 수 있다. 다시 말해, IP 주소 할당 서버(201)는 사용자 단말(202)이 네트워크를 사용할 수 있는 적절한 장소에 위치하였는지 여부를 고려하여 임대 시간을 결정할 수 있다.The IP address assignment server 201 may determine the lease time considering the current location of the user terminal 202. [ In other words, the IP address assignment server 201 can determine the lease time considering whether the user terminal 202 is located at a suitable place where the network can be used.

일례로, 사용자 단말의 현재 위치가 강의실 또는 실습실에 위치한 경우, IP 주소 할당 서버(201)는 사용자가 수업 또는 강의를 들어야 하는 상황으로 사용자의 이동이 빈번함을 인지하고, 수업 시간 기준에 맞춰 최대 1시간 정도의 임대 시간을 결정할 수 있다.For example, when the current location of the user terminal is located in a classroom or a laboratory, the IP address allocation server 201 recognizes that the user is frequently moved to a situation where the user must listen to a class or a lecture, The lease time of about one hour can be determined.

다른 일례로, 사용자 단말의 현재 위치가 교수실 혹은 사무실에 위치한 경우, IP 주소 할당 서버(201)는 사용자의 이동이 빈번하게 이루어지지 않는 점을 감안하여 IP 주소의 임대 시간을 최대한 긴 시간으로 결정할 수 있다.In another example, when the current location of the user terminal is located in the faculty room or office, the IP address allocation server 201 may determine the lease time of the IP address as long as possible, considering that the user is not frequently moved have.

또 다른 일례로, 사용자 단말의 현재 위치가 카페나 공공 장소처럼 이동성이 큰 공간인 경우, IP 주소 할당 서버(201)는 강의실 또는 실습실에 할당된 임대시간보다 더 짧은 시간을 임대 시간으로 결정할 수 있다.In another example, if the current location of the user terminal is a large mobility space such as a cafe or a public place, the IP address allocation server 201 may determine a lease time shorter than the lease time allocated to the classroom or lab .

(ii) 사용자 단말(202)로부터 메시지를 수신한 시간대 또는 계절대(ii) a time zone or a season when the message is received from the user terminal 202

IP 주소 할당 서버(201)는 사용자 단말(202)로부터 메시지를 수신한 시간대 또는 계절대를 고려하여 임대 시간을 결정할 수 있다. 다시 말해, IP 주소 할당 서버(201)는 사용자 단말(202)로부터 메시지를 전달받음에 있어, 피크 시간대를 파악하고, 피크 시간대에 전송되는 메시지에 대응하여 적절한 임대 시간을 결정할 수 있다.The IP address assignment server 201 can determine the lease time considering the time zone or the season in which the message is received from the user terminal 202. [ In other words, when the IP address assignment server 201 receives the message from the user terminal 202, it can determine the peak time zone and determine an appropriate lease time corresponding to the message transmitted in the peak time zone.

일례로, 사용자가 몰리는 피크 시간대 또는 평일에 IP 주소 할당 요청이 집중되는 경우, IP 주소 할당 서버(201)는 사용자 단말(202)에 대한 IP 주소의 임대 시간을 짧도록 결정할 수 있다. 반대로, 사용자가 몰리지 않은 피크 시간대 또는 주말에 평일에 IP 주소 할당 요청이 집중되는 경우, IP 주소 할당 서버(201)는 사용자 단말(202)에 대한 IP 주소의 임대 시간을 길게 결정할 수 있다.For example, when an IP address allocation request is concentrated on a peak time zone or a weekday on which a user is driven, the IP address allocation server 201 can determine the lease time of the IP address for the user terminal 202 to be short. On the contrary, when the IP address allocation request is concentrated on the peak time zone during the peak period or the weekday on the weekday, the IP address allocation server 201 may determine the lease time of the IP address for the user terminal 202 for a long time.

(iii) 활동 여부(iii) Activity

IP 주소 할당 서버(201)는 사용자 단말(202)이 접속하는 활동량을 고려하여 임대 시간을 결정할 수 있다. 다시 말해, IP 주소에 할당을 요청하는 사용자 단말(202)에 대한 활동(접촉요청활동)이 빈번한 경우, IP 주소 할당 서버(201)는 해당 사용자 단말(202)의 임대 시간을 길게 결정하거나 또는 반대인 경우, 사용자 단말(202)의 임대 시간을 짧게 결정할 수 있다.The IP address assignment server 201 can determine the lease time considering the amount of activity that the user terminal 202 accesses. In other words, when the activity (contact request activity) for the user terminal 202 requesting assignment to the IP address is frequent, the IP address assignment server 201 determines the lease time of the corresponding user terminal 202 for a long time , The lease time of the user terminal 202 can be shortened.

IP 주소 할당 서버(201)는 결정된 임대 시간에 대응하는 주소 가용 범위를 탐색하여 주소 가용 범위 중 할당되지 않은 IP 주소를 사용자 단말에 할당할 수 있다.The IP address assignment server 201 may search an address availability range corresponding to the determined lease time and allocate an unassigned IP address to the user terminal.

도 3은 일실시예에 따른 사용자 단말의 디바이스 타입을 구별하기 위한 세부적인 구성을 도시한 도면이다.FIG. 3 is a detailed configuration for identifying a device type of a user terminal according to an exemplary embodiment. Referring to FIG.

도 3을 참고하면, IP 주소 할당 서버는 사용자 단말로부터 전달된 메시지에 포함된 사용자 단말의 특성 정보를 기반으로 사용자 단말의 타입을 결정할 수 있다. 영기서, 사용자 단말의 특성 정보는 사용자 단말의 MAC 주소에 포함된 Ethernet type을 의미할 수 있다. 그리고, Ethernet type은 도메인 타입과 디바이스 타입으로 구분되며, 구분된 각각의 정보를 통해 사용자 단말의 타입을 결정할 수 있는 정보를 제공할 수 있다.Referring to FIG. 3, the IP address assignment server can determine the type of the user terminal based on the characteristic information of the user terminal included in the message transmitted from the user terminal. And the characteristic information of the user terminal may refer to an Ethernet type included in the MAC address of the user terminal. The Ethernet type is divided into a domain type and a device type, and information for determining the type of the user terminal can be provided through the divided information.

보다 구체적으로, 도메인 타입은 사용자 단말이 제공하는 동작에 따른 형태를 구분하는 정보일 수 있다. 다시 말해, 도메인 타입은 사용자 단말을 통해 사용자가 제공받을 수 있는 서비스가 어떤 종류이냐에 따른 형태를 구분할 수 있는 정보일 수 있다. 일례로, 단말(A)는 전화/메시지/어플리케이션 등의 동작을 수행하는 휴대폰이고, 단말(B)는 복수의 센서로부터 정보를 수집하는 동작을 수행하는 센서라고 가정할 수 있다. 그리고, 동작 형태에 따라 단말(A)의 도메인 타입은 모바일 타입을 나타낼 수 있으며, 단말(B)의 도메인 타입은 센서 타입을 나타낼 수 있다.More specifically, the domain type may be information that distinguishes the type according to the operation provided by the user terminal. In other words, the domain type may be information that can distinguish a type according to what kind of service a user can receive through a user terminal. For example, it can be assumed that the terminal A is a cellular phone that performs an operation such as a phone / message / application, and the terminal B is a sensor that performs an operation of collecting information from a plurality of sensors. The domain type of the terminal A may represent the mobile type and the domain type of the terminal B may represent the sensor type according to the operation type.

그리고, 디바이스 타입은 사용자 단말의 도메인 타입을 기반으로 사용자와 사용자 단말 간의 이용 패턴에 따른 종류를 구분하는 정보를 포함할 수 있다. 여기서, 이용 패턴은 사용자와 사용자 단말 간에 밀접도에 따른 사용자의 이용 성향을 나타낸 것 일 수 있다. 즉, 사용자는 사용자 단말을 사용함에 있어, 사용자 단말의 특성에 따라 서로 다른 이용 패턴을 나타낼 수 있다.The device type may include information for classifying the type according to the usage pattern between the user and the user terminal based on the domain type of the user terminal. Here, the usage pattern may indicate the user's tendency to use according to the closeness between the user and the user terminal. That is, when the user uses the user terminal, the user can display different usage patterns according to the characteristics of the user terminal.

도 3의 (a)를 살펴보면, 사용자는 사용자 단말로써, 휴대가 간편한 휴대폰을 사용할 수 있다. 그리고, 휴대폰의 경우, 사용자는 휴대폰을 사용하기 위해, 사용자의 손에 잡고 있거나 또는 옷의 주머니 등에 넣어둠으로써, 사용자의 신체 일부와 접촉하면서 사용하게 된다.Referring to FIG. 3 (a), a user can use a mobile phone that is easy to carry as a user terminal. In the case of a mobile phone, the user uses the mobile phone in contact with a part of the user's body by holding it in the user's hand or putting it in a pocket of clothes.

도 3의 (b)를 살펴보면, 사용자는 사용자 단말로써, 노트북을 사용할 수 있다. 그리고, 노트북의 경우, 사용자는 특정 장소에 노트북을 고정시켜둔 후, 고정된 위치에서 노트북을 사용하게 된다. 결국, 사용자는 사용자 단말이 어떤 종류의 단말이냐에 따라 사용자 단말과의 밀접도가 높아지며, 이에 따른 이용 패턴이 상이할 수 있다.Referring to FIG. 3 (b), the user can use the notebook as a user terminal. In the case of a notebook, a user fixes the notebook in a specific place, and then uses the notebook in a fixed position. As a result, the user has a high degree of close contact with the user terminal depending on what type of terminal the user terminal is, and the usage patterns thereof may be different.

그리고, 이러한 이용 패턴은 IP 주소를 할당 받음에 있어, 사용자 단말의 이동성을 나타낼 수 있다. 다시 말해, 휴대폰은 사용자의 신체 일부에 보관되며, 사용자의 이동에 따라 위치에 이동이 빈번하게 발생할 수 있다. 반면, 노트북은 특정 장소에 고정됨에 따라 사용자의 이동과 무관하게 위치의 이동이 거의 발생하지 않을 수 있다.And, this usage pattern can indicate the mobility of the user terminal when the IP address is allocated. In other words, the mobile phone is kept in a part of the user's body, and movement to the position frequently occurs according to the movement of the user. On the other hand, as the notebook is fixed at a specific place, the position may not move almost regardless of the user's movements.

따라서, 사용자 단말은 IP 주소를 할당받기 위한 사용자 단말의의 특성 정보를 기반으로 적절한 IP 주소를 IP 주소 할당 서버로부터 할당받을 수 있도록 이에 대한 정보를 DHCP Discover 시, 메시지 전달 시 함께 IP 주소 할당 서버로 전달할 수 있다. Therefore, the user terminal can collect information about the IP address from the IP address allocation server based on the characteristic information of the user terminal to receive the IP address, .

도 4는 일실시예에 따른 사용자 단말의 타입을 구별한 도면이다.FIG. 4 illustrates a type of a user terminal according to an exemplary embodiment of the present invention.

도 4를 참고하면, 도 4에 도시된 표는 사용자 단말의 형태에 따라 도메인 타입 및 디바이스 타입으로 구분한 데이터일 수 있다. 다시 말해, IP 주소 할당 서버는 사용자 단말로부터 DHCP Discover를 통해 전달된 메시지에 포함된 MAC 주소를 분석할 수 있다. 이 때, IP 주소 할당 서버는 MAC 주소 내에 새롭게 정의된 Ethernet type으로부터 사용자 단말의 특성 정보를 확인할 수 있다.Referring to FIG. 4, the table shown in FIG. 4 may be data classified into a domain type and a device type according to the type of a user terminal. In other words, the IP address allocation server can analyze the MAC address included in the message transmitted through the DHCP Discover from the user terminal. At this time, the IP address assignment server can confirm the characteristic information of the user terminal from the newly defined Ethernet type in the MAC address.

사용자 단말의 특성 정보는 사용자 단말의 타입을 구분할 수 있는 도메인 타입과 디바이스 타입으로 구분될 수 있으며, IP 주소 할당 서버는 사용자 단말의 특성 정보에 기초하여 해당 사용자 단말에 할당 가능한 IP 주소에 대한 임대 시간을 결정할 수 있다. 임대시간을 결정하는 자세한 구성은 도 5를 통해 설명하도록 한다.The characteristic information of the user terminal may be divided into a domain type and a device type that can distinguish the type of the user terminal, and the IP address assignment server may classify the lease time for the IP address assignable to the corresponding user terminal Can be determined. The detailed configuration for determining the lease time will be described with reference to FIG.

도 5는 일실시예에 따른 임대 시간에 따라 IP 주소에 대한 주소 가용 범위를 도시한 도면이다.FIG. 5 is a diagram illustrating an address availability range for an IP address according to an exemplary embodiment of the present invention. Referring to FIG.

도 5를 참고하면, IP 주소 할당 서버는 도 4를 통해 구분된 사용자 단말의 형태에 따른 데이터를 이용하여 사용자 단말에 할당 가능한 IP 주소에 대한 임대 시간 (Lease Time)을 결정할 수 있다.Referring to FIG. 5, the IP address assignment server can determine a lease time for an IP address assignable to a user terminal using data according to the type of the user terminal classified through FIG.

일반적으로, IP 주소 할당 서버는 사용자 단말의 요청에 따른 IP 주소에 대하여 '임대'라는 개념을 가진다. 그리고, IP 주소 할당 서버는 사용자 단말에 IP 주소를 할당할 때, 사용자 단말이 사용할 수 있는 IP 주소 및 IP 주소에 대한 임대 시간을 함께 전달하여 임대 시간 이후, 해당 IP 주소를 반납하게 함으로써, IP 주소의 회전율과 가용성을 높일 수 있다. 이러한 임대 시간은 IP 주소 할당 서버가 할당할 수 있는 IP 주소보다 IP 주소를 요청하는 단말기가 더 많은 경우를 고려하여 설정된 시간일 수 있다.Generally, an IP address allocation server has a concept of 'lease' for an IP address according to a request of a user terminal. When assigning an IP address to a user terminal, the IP address allocation server transmits an IP address and a lease time for an IP address that the user terminal can use together, and returns the corresponding IP address after the lease time, The turnover rate and availability of the system can be increased. The lease time may be set in consideration of a case where the number of terminals requesting an IP address is larger than an IP address assignable by the IP address assignment server.

다시 말해, IP 주소 할당 서버가 할당할 수 있는 IP 주소가 255개이지만, 255개의 IP 주소를 사용하는 사용자 단말이 1대라면, 1대에 해당하는 사용자 단말에 대한 IP 주소의 임대 시간은 의미가 없게 된다. 따라서, IP 주소 할당 서버는 IP 주소에 대한 임대 시간을 MAX 값으로 설정하는 것이 바람직할 수 있다. 일례로, 가정용 공유기를 이용하는 사용자 단말에는 임대 시간에 대한 의미가 없음으로, 가장 큰 값으로 임대 시간을 설정할 수 있다.In other words, if the IP address assignment server can assign 255 IP addresses but only one user terminal using 255 IP addresses, the lease time of the IP address for one user terminal is meaningful I will not. Accordingly, it may be desirable for the IP address assignment server to set the lease time for the IP address to the MAX value. For example, a lease time can be set to a maximum value because no lease time is meaningful for a user terminal using a home router.

반대로, A기업이 보유한 IP 주소가 255개이고, 사원이 300명이라고 가정할 때, 300명이 동시에 인터넷을 하는 경우가 드물다면, IP 주소를 사원의 인원에 맞춰 300개를 모두 보유하는 것은 기업 입장에서 낭비일 것이다. 따라서, 보유한 IP 255개를 사원들이 요청할 때마다 할당하고 사용 후 회수하는 것이 효율적이다.On the other hand, if A company has 255 IP addresses and 300 employees, and if 300 people do not have Internet at the same time, it is up to the company to have 300 IP addresses It would be a waste. Therefore, it is effective to allocate 255 retention IPs whenever employees request them, and then collect them after use.

하지만, IP 주소를 요청하는 사원에 따라 IP 주소를 사용하는 사용자 단말의 성능 또는 용도가 상이한 경우, 동일한 임대 시간에 맞춰 IP 주소를 회수하는 것은 비 효율적일 수 있다. 이는 회수된 IP 주소를 해당 사원에게 재 할당해야 하는 과정을 반복해야 하기 때문이다.However, if the performance or usage of the user terminal using the IP address differs depending on the employee requesting the IP address, it may be inefficient to retrieve the IP address for the same lease time. This is because it is necessary to repeat the process of reassigning the recovered IP address to the employee.

따라서, IP 주소 할당 서버는 IP 주소에 대한 회전율과 가용성을 높이기 위하여 사용자 단말의 타입을 결정하고, 결정된 사용자 단말의 타입에 따라 상이한 임대 시간을 결정할 수 있다. 즉, IP 주소 할당 서버는 사용자 단말에 대한 도메인 타입 및 디바이스 타입에 따라 IP 주소에 대한 회전율을 고려하여 임대 시간을 결정할 수 있다.Accordingly, the IP address allocation server can determine the type of the user terminal to increase the turnover rate and availability for the IP address, and determine a different lease time according to the determined type of the user terminal. That is, the IP address assignment server can determine the lease time considering the turnover rate of the IP address according to the domain type and the device type for the user terminal.

이때, IP 주소에 대한 회전율은 도메인 타입 및 디바이스 타입에 따른 특성 정보에 따른 사용자 단말의 통신 패턴에 의해 결정될 수 있다. 다시 말해, 사용자가 휴대폰에 대한 IP 주소를 할당받고자 하는 경우, 일반적으로 휴대폰은 사용자의 위치 이동에 따라 위치 변경이 빈번하게 이루어짐에 따라 임대 시간을 길게 설정할수록 IP 주소의 회전율이 떨어진다. 반대로, 노트북은 사용자의 위치 이동과 무관하게 위치 변경이 이루어지지 않음에 따라 임대 시간을 짧게 설정할수록 IP 주소의 회전율이 떨어진다.At this time, the turnover rate with respect to the IP address can be determined by the communication pattern of the user terminal according to the domain type and the characteristic information according to the device type. In other words, when a user desires to allocate an IP address to the mobile phone, the mobile phone generally changes its position according to the location of the user, and the longer the rental time is set, the lower the rotation rate of the IP address. On the other hand, since the location of the notebook is not changed irrespective of the user's location movement, the shorter the lease time is set, the lower the rotation rate of the IP address is.

결국, 이동성이 높은 사용자 단말(EX. 휴대폰)은 통신 패턴에 있어, 이동 위치에 따라 짧은 시간 동안 IP 주소를 이용해 네트워크를 사용하는 패턴일 수 있으며, 이동성이 낮은 사용자 단말(EX. 노트북)은 통신 패턴에 있어, 반 고정된 위치에서 이동성이 높은 사용자 단말보다 긴 시간 동안 IP 주소를 이용해 네트워크를 사용하는 패턴일 수 있다.As a result, a high-mobility user terminal (EX, mobile phone) may be a pattern that uses a network using an IP address for a short period of time in a communication pattern, and a low-mobility user terminal In a pattern, it may be a pattern that uses the network using an IP address for a longer time than a user terminal with high mobility in a semi-fixed position.

이러한 사용자 단말의 통신 패턴은 사용자 단말로부터 전달되는 메시지에 포함된 특성 정보를 통해 확인할 수 있다. 결국, IP 주소 할당 서버는 사용자 단말의 특성 정보에 따른 상기 사용자 단말의 통신 패턴에 의한 주소 회전율을 고려하여 사용자 단말마다 상이한 임대 시간을 결정할 수 있다.The communication pattern of the user terminal can be confirmed through the property information included in the message transmitted from the user terminal. As a result, the IP address assignment server can determine a different lease time for each user terminal in consideration of the address turnover rate based on the communication pattern of the user terminal according to the characteristic information of the user terminal.

이에 따라, IP 주소 할당 서버는 사용자 단말의 통신 패턴에 의한 주소 회전율이 높을수록 사용자 단말에 할당되는 IP 주소의 임대 시간이 짧아지도록 임대 시간을 결정할 수 있다. 일례로, IP 주소 할당 서버는 IP 주소에 대한 주소 회전율에 따라 IP 회전율 높은 디바이스/IP 회전율 중간 디바이스/IP 회전율 낮은 디바이스/등록된 디바이스로 4단계에 걸쳐 구분할 수 있다. 여기서, 각각의 단계는 디바이스 타입에 따라 결정될 수 있다.Accordingly, the IP address assignment server can determine the lease time so that the lease time of the IP address allocated to the user terminal becomes shorter as the address rotation rate based on the communication pattern of the user terminal becomes higher. For example, the IP address assignment server can be divided into four stages according to the address turnover rate to the IP address: a device with high IP turnover rate, a device with low IP turnover rate, a device with low IP turnover rate / registered device. Here, each step can be determined according to the device type.

그리고, IP 주소 할당 서버는 결정된 임대 시간에 대응하여 매핑된 주소 가용 범위를 이용하여 사용자 단말로 할당할 수 있는 IP 주소를 결정할 수 있다. 다시 말해, IP 주소 할당 서버는 임대 시간에 따라 구분된 각 단계에 대응하여 할당할 수 있는 IP 주소의 범위를 설정해 높음에 따라 임대 시간에 대응하는 주소 가용 범위 내 IP 주소를 사용자 단말로 할당할 수 있다.The IP address allocation server can determine an IP address that can be allocated to the user terminal by using the mapped address availability range corresponding to the determined lease time. In other words, the IP address allocation server sets a range of IP addresses that can be allocated in correspondence with the divided steps according to the lease time, and assigns an IP address within the address available range corresponding to the lease time to the user terminal have.

이 때, IP 주소 할당 서버는 IP 주소에 대한 주소 회전율을 고려하여 IP 주소 의 회전율이 높은 사용자 단말에 대하여 앞에 위치한 주소가 할당될 수 있도록 주소 가용 범위를 설정할 수 있다. 그리고, IP 주소 할당 서버는 IP 주소 의 회전율이 낮은 사용자 단말에 대하여 뒤에 위치한 주소가 할당될 수 있도록 주소 가용 범위를 설정할 수 있다.In this case, the IP address allocation server can set the address availability range so that the address located in front of the user terminal having the high turnover rate of the IP address can be allocated considering the address turnover rate with respect to the IP address. The IP address assignment server may set an address availability range so that a lower-order address is allocated to a user terminal having a lower IP address turnover rate.

다시 말해, 할당할 수 있는 주소 범위가 210.53.48.1~254, 즉 254개라고 가정할 때, IP 주소 할당 서버는 IP 주소를 사용자 단말로 할당함에 있어서, 1부터 254개의 IP 주소를 모두 검색한 후, 아직 할당되지 않은 임의의 IP 주소를 사용자 단말에 할당할 수 있다. 이 경우, IP 주소 할당 서버는 할당 가능한 모든 IP 주소에 대한 검색을 수행해야 함에 따라 IP 주소를 할당함에 있어, 비효율적일 수 있다.In other words, assuming that the address range to be allocated is 210.53.48.1 to 254, that is, 254, the IP address allocation server searches all 1 to 254 IP addresses in assigning the IP address to the user terminal , Any IP address that has not yet been assigned can be assigned to the user terminal. In this case, the IP address assignment server may be inefficient in assigning an IP address as it must perform a search for all assignable IP addresses.

따라서, IP 주소 할당 서버는 IP 주소에 대한 주소 회전율이 높은 단말일수록 앞에 위치한 주소에 할당될 수 있도록 함에 따라, IP 주소를 보다 빠르게 검색할 수 있다. 또한, IP 주소 할당 서버는 미리 등록된 사용자 단말이거나, IP 주소에 대한 주소 회전율이 낮은 사용자 단말을 뒤에 위치한 주소에 할당함으로써, 고정된 IP 주소를 사용자 단말에 할당할 수 있다.Accordingly, the IP address assignment server can search for an IP address more quickly as it can be allocated to an address located in front of a terminal having a higher address turnover rate for an IP address. In addition, the IP address assignment server can allocate a fixed IP address to the user terminal by allocating the IP address assignment server to a user terminal registered in advance or a user terminal having a low address turnover rate with respect to the IP address.

결국, IP 주소 할당 서버는 DHCP 방식을 기반으로 사용자 단말이 보낸 “DHCP Discover의 메시지” 내 MAC 헤더의 이더넷타입을 확인 후 이에 맞는 임대시간을 부여할 수 있다.As a result, the IP address allocation server can determine the Ethernet type of the MAC header in the " DHCP Discover message " sent from the user terminal based on the DHCP method, and then give the corresponding lease time.

일례로, 이더넷 타입이 0xF0F0인 경우, 메시지를 전송한 사용자 단말이 Laptop임을 인지하고, Laptop에 대한 통신 패턴에 따른 주소 회전률이 높지 않은 것을 파악함으로써, IP 주소 221~254사이에서 “긴시간”의 임대시간을 결정할 수 있다.For example, if the Ethernet type is 0xF0F0, it is recognized that the user terminal that transmitted the message is a laptop, and that the address rotation rate according to the communication pattern for the laptop is not high. The lease time can be determined.

결국, IP 주소 할당 서버는 DHCP 방식을 기반으로 사용자 단말이 보낸 “DHCP Discover의 메시지” 내 MAC 주소의 이더넷 타입을 확인 후 사용자 단말에 맞는 IP 주소를 할당할 수 있다. 이에 따라, IP 주소 할당 서버는 주소 할당 및 임대시간 관리가 용이할 수 있으며, 다시 접속하는 사용자 단말, 임대시간을 재요청하는 사용자 단말을 검색할 때 빠르게 찾을 수 있다.As a result, the IP address assignment server can determine the Ethernet type of the MAC address in the "DHCP Discover message" sent by the user terminal based on the DHCP method, and assign an IP address corresponding to the user terminal. Accordingly, the IP address assignment server can easily manage the address allocation and the lease time, and can quickly find the user terminal that reconnects and the user terminal that requests the lease time again.

따라서, IP 주소 할당 서버는 IoT 환경에서 사용자 단말의 타입을 구분함으로써, 사용자 단말에 따른 IP 주소 회전율 및 관리를 효율적으로 향상시킬 수 있다.Accordingly, the IP address allocation server can effectively improve the IP address turnover and management according to the user terminal by classifying the type of the user terminal in the IoT environment.

본 발명의 실시 예에 따른 방법들은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다.The methods according to embodiments of the present invention may be implemented in the form of program instructions that can be executed through various computer means and recorded in a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, and the like, alone or in combination. The program instructions recorded on the medium may be those specially designed and constructed for the present invention or may be available to those skilled in the art of computer software.

이상과 같이 본 발명은 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상의 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다.While the invention has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. This is possible.

그러므로, 본 발명의 범위는 설명된 실시예에 국한되어 정해져서는 아니 되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.Therefore, the scope of the present invention should not be limited to the described embodiments, but should be determined by the equivalents of the claims, as well as the claims.

101: IP 주소 할당 서버
102: 사용자 단말
103: DHCP Discover 단계
104: 임대 시간 설정 단계
105: DHCP Offer 단계
106: DHCP Request 단계
107: DHCP ACK 단계
101: IP address allocation server
102: user terminal
103: DHCP Discover Step
104: Steps to set the lease time
105: DHCP Offer step
106: DHCP Request phase
107: DHCP ACK step

Claims (5)

IP 주소 관리 서버가 수행하는 IP 주소 관리 방법에 있어서,
사용자 단말로부터 IP 주소를 할당받기 위한 메시지를 수신하는 단계;
상기 메시지에 대응하여 i) 사용자가 제공받을 수 있는 서비스에 따른 상기 사용자 단말의 동작 형태를 구분하는 도메인 타입과 ii) 사용자와 사용자 단말 간의 밀접도에 따른 사용자 단말의 특성을 구분하는 디바이스 타입을 포함하는 사용자 단말의 특성 정보를 확인하는 단계;
상기 특성 정보를 기반으로 상기 사용자 단말에서 IP 주소를 이용해 네트워크를 사용하는 시간에 관한 통신 패턴을 분석하는 단계;
상기 분석한 사용자 단말의 통신 패턴을 기반으로 상기 사용자 단말의 주소 회전율이 높을수록 사용자 단말에 할당되는 IP 주소의 임대시간이 짧아지도록 상기 사용자 단말의 임대 시간을 결정하는 단계; 및
상기 결정된 임대시간이 부여된 IP 주소를 상기 사용자 단말에 할당하는 단계
를 포함하고,
상기 사용자와 사용자 단말 간의 밀접도는,
상기 사용자의 위치 이동에 따라 사용자 단말의 위치가 빈번하게 변경될수록 사용자와 사용자 단말 간의 밀접도가 높아지고,
상기 주소 회전율은,
상기 사용자 단말의 통신 패턴에 따른 네트워크를 사용하는 시간이 짧을수록 주소 회전율이 높아지는 IP 주소 할당 방법.
An IP address management method performed by an IP address management server,
Receiving a message for receiving an IP address from a user terminal;
A domain type for distinguishing the operation type of the user terminal according to a service that can be provided by the user, and ii) a device type for distinguishing the characteristics of the user terminal according to the closeness between the user and the user terminal, Identifying characteristic information of the user terminal;
Analyzing a communication pattern related to a time of using the network using the IP address in the user terminal based on the characteristic information;
Determining a lease time of the user terminal so that the lease time of the IP address allocated to the user terminal becomes shorter as the address rotation rate of the user terminal becomes higher, based on the analyzed communication pattern of the user terminal; And
Assigning the determined lease time-assigned IP address to the user terminal
Lt; / RTI >
The closeness between the user and the user terminal,
As the position of the user terminal is frequently changed according to the movement of the user, the close contact between the user and the user terminal increases,
The address turnover rate,
Wherein the IP address assignment method increases the address turnover rate as the time taken to use the network according to the communication pattern of the user terminal becomes shorter.
삭제delete 삭제delete 삭제delete 제1항에 있어서,
상기 IP 주소를 사용자 단말에 할당하는 단계는,
상기 결정된 임대 시간에 대응하는 주소 가용 범위를 탐색하여 상기 주소 가용 범위 중 할당되지 않은 IP 주소를 사용자 단말에 할당하는 IP 주소 할당 방법.
The method according to claim 1,
Wherein the step of assigning the IP address to the user terminal comprises:
And searching for an address availability range corresponding to the determined lease time to allocate an unassigned IP address to the user terminal.
KR1020150166498A 2015-11-26 2015-11-26 Ip address allocation method and ip address allocation server for performing the method KR101709874B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020150166498A KR101709874B1 (en) 2015-11-26 2015-11-26 Ip address allocation method and ip address allocation server for performing the method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020150166498A KR101709874B1 (en) 2015-11-26 2015-11-26 Ip address allocation method and ip address allocation server for performing the method

Publications (1)

Publication Number Publication Date
KR101709874B1 true KR101709874B1 (en) 2017-02-23

Family

ID=58315541

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020150166498A KR101709874B1 (en) 2015-11-26 2015-11-26 Ip address allocation method and ip address allocation server for performing the method

Country Status (1)

Country Link
KR (1) KR101709874B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101989406B1 (en) * 2019-02-19 2019-06-14 (주)위즈네트 Protocol offload apparatus and method for assigning address automatically
CN113840017A (en) * 2021-08-31 2021-12-24 中国人民解放军63620部队 Automatic IP address allocation method and device, electronic equipment and computer readable medium
CN113840017B (en) * 2021-08-31 2024-04-19 中国人民解放军63620部队 IP address automatic allocation method, device, electronic equipment and computer readable medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050032264A (en) * 2003-10-01 2005-04-07 주식회사 케이티 Adaptive ip address allocating system and allocation method the same
KR20060062952A (en) * 2004-12-06 2006-06-12 한국전자통신연구원 Apparatus for dhcp sever of portable internet system and method for providing the service and packet access router having the apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050032264A (en) * 2003-10-01 2005-04-07 주식회사 케이티 Adaptive ip address allocating system and allocation method the same
KR20060062952A (en) * 2004-12-06 2006-06-12 한국전자통신연구원 Apparatus for dhcp sever of portable internet system and method for providing the service and packet access router having the apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101989406B1 (en) * 2019-02-19 2019-06-14 (주)위즈네트 Protocol offload apparatus and method for assigning address automatically
US10965638B2 (en) 2019-02-19 2021-03-30 Wiznet Co., Ltd. Communication chipset, communication device and protocol offload method for automatic address allocation
CN113840017A (en) * 2021-08-31 2021-12-24 中国人民解放军63620部队 Automatic IP address allocation method and device, electronic equipment and computer readable medium
CN113840017B (en) * 2021-08-31 2024-04-19 中国人民解放军63620部队 IP address automatic allocation method, device, electronic equipment and computer readable medium

Similar Documents

Publication Publication Date Title
JP3327225B2 (en) Network address translator and recording medium thereof
WO2016008320A1 (en) Method for acquiring identifier of terminal in network, management network element and storage medium
KR20140093423A (en) Method of transmitting data packet by contents provider in a content centric network and the contents provider
US9031074B2 (en) Method and apparatus for packet call setup
KR20040082655A (en) Mobile ip communication system by use of dual stack transition mechanism and method thereof
CN105245629A (en) DHCP-based host communication method and device
JP2017022693A (en) Device and method for allocating internetwork address
Chauhan et al. A survey on next generation Internet Protocol: IPv6
KR100425325B1 (en) Method for managing IP using NAT in mobile network and apparatus thereof
CN107547690B (en) Port allocation method and device in NAT, NAT equipment and storage medium
KR101709874B1 (en) Ip address allocation method and ip address allocation server for performing the method
KR20040076509A (en) Mobile IP communication method with DHCP server
KR100496637B1 (en) A Method of IPv4 communication in IPv6 Wireless LAN
US9276768B2 (en) Providing station context and mobility in a wireless local area network having a split MAC architecture
WO2016044128A1 (en) Discovery of network address allocations and translations in wireless communication systems
US20150049669A1 (en) Method and system for management of the mobility of a mobile network
KR20110088441A (en) Identifier and locator structure and communication method based on the structure
KR102023115B1 (en) Communication method based on integrated flat id and system
US20200244617A1 (en) Address Resolution System
KR100695245B1 (en) Method and System for Maintaining Call Connection of Mobile Terminal in Portable Internet System
CN114745359B (en) Method for reducing user terminal address renewal frequency
KR101331561B1 (en) Method for assigning private ip and renewing private ip, and ip sharer using thereof
CN110602802B (en) Data transmission method, system, device and computer readable storage medium
US20150032906A1 (en) Apparatus and method for assigning ip address in communication system
TWI663856B (en) Network resource allocation server and network resource allocation method

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20200204

Year of fee payment: 4