KR100474599B1 - Method for allocating Dynamic IP adress - Google Patents

Method for allocating Dynamic IP adress Download PDF

Info

Publication number
KR100474599B1
KR100474599B1 KR10-2000-0045019A KR20000045019A KR100474599B1 KR 100474599 B1 KR100474599 B1 KR 100474599B1 KR 20000045019 A KR20000045019 A KR 20000045019A KR 100474599 B1 KR100474599 B1 KR 100474599B1
Authority
KR
South Korea
Prior art keywords
embedded device
main server
address
user
general computer
Prior art date
Application number
KR10-2000-0045019A
Other languages
Korean (ko)
Other versions
KR20000063781A (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 KR10-2000-0045019A priority Critical patent/KR100474599B1/en
Publication of KR20000063781A publication Critical patent/KR20000063781A/en
Application granted granted Critical
Publication of KR100474599B1 publication Critical patent/KR100474599B1/en

Links

Classifications

    • 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]
    • 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/5076Update or notification mechanisms, e.g. DynDNS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields

Abstract

본 발명은 인터넷망에 연결된 원격의 클라이언트 프로그램으로 임베디드(Embedded) 장치와 TCP/IP(Transmission Control Protocol/Internet Protocol) 통신을 할 수 있도록, 임베디드 장치에 아이피(IP : Internet Protocol) 어드레스를 부여하는 동적 IP 어드레스 할당 방법에 관한 것으로,The present invention provides a remote client program connected to the Internet network to provide an IP (Internet Protocol) address to an embedded device so that an embedded device can communicate with a Transmission Control Protocol / Internet Protocol (TCP / IP). IP address allocation method,

본 발명의 특징은, 인터넷망에서 TCP/IP 통신을 할 수 있도록, 임베디드장치에 IP 어드레스를 부여하는 동적 IP 어드레스 할당 방법에 있어서, 일반 컴퓨터의 웹브라우저 사용자가 메인서버의 사이트에 연결을 요구하는 제 1 과정; 상기 제 1 과정에서 상기 메인서버의 사이트에 연결이 요구되면, 상기 웹브라우저 사용자에게 사용자 정보를 요구하여 입력받고, 사용자의 정보가 인증되었는가 판단하는 제 2 과정; 상기 제 2 과정에서 사용자의 정보가 인증되었으면 상기 메인서버와 상기 임베디드 장치를 연결한 후에 다시 상기 메인서버와 상기 임베디드장치를 PPP로 연결하는 제 3 과정; 상기 제 3 과정을 수행한 후에 상기 임베디드장치가 상기 메인서버에 IP 어드레스를 요구하여, 상기 임베디드장치에 IP 어드레스를 할당하는 제 4 과정; 상기 제 4 과정에서 상기 임베디드장치에 IP 어드레스가 할당되면 상기 일반컴퓨터의 웹브라우저와 직접 TCP/IP 통신하는 제 5 과정; 상기 제 5 과정을 수행한 후에 로그 아웃 상태인가 판단하여, 로그 아웃 상태가 아니면 일정 시간 동안 상기 일반컴퓨터와 통신하지 않았는가 판단하는 제 6 과정; 및 상기 제 6 과정에서 일정 시간 동안 상기 일반컴퓨터와 통신하지 않거나 로그 아웃 상태이면 상기 메인서버와 상기 임베디드장치가 서로 연결을 끊고, PPP 연결을 끊는 제 7 과정을 포함하는데 있다.A feature of the present invention is a dynamic IP address assignment method for assigning an IP address to an embedded device for TCP / IP communication over an Internet network, wherein a web browser user of a general computer requests a connection to a site of a main server. First process; A second process of requesting and receiving user information from the web browser user when the connection to the site of the main server is requested in the first process, and determining whether the information of the user is authenticated; A third step of connecting the main server and the embedded device to PPP after connecting the main server and the embedded device if the user information is authenticated in the second step; A fourth step of the embedded device requesting an IP address from the main server after the third process is performed and allocating an IP address to the embedded device; A fifth process of directly performing TCP / IP communication with a web browser of the general computer when an IP address is assigned to the embedded device in the fourth process; A sixth step of determining whether the user is in the logout state after performing the fifth process, and determining whether the user has not communicated with the general computer for a predetermined time if the user is not logged out; And a seventh process of disconnecting the main server and the embedded device from each other and disconnecting the PPP when not communicating with the general computer for a predetermined time or logging out in the sixth process.

이와 같이, 본 발명은 임베디드장치를 제어 및 모니터링하고자 할 경우에 동적으로 IP 어드레스를 부여함으로써 메인서버인 DHCP서버가 관리하는 IP 어드레스들이 쉽게 고갈되는 것을 방지할 수 있는 이점이 있다.As described above, the present invention has an advantage in that IP addresses dynamically managed by the DHCP server as the main server can be prevented from being easily exhausted when the embedded device is to be controlled and monitored.

Description

동적 아이피 어드레스 할당 방법{Method for allocating Dynamic IP adress}Method for allocating dynamic IP address {Method for allocating Dynamic IP adress}

본 발명은 동적 아이피 어드레스 할당 방법에 관한 것으로, 보다 상세하게는 인터넷에 연결된 원격의 클라이언트 프로그램으로 임베디드(Embedded) 장치와 TCP/IP(Transmission Control Protocol/Internet Protocol) 통신을 할 수 있도록, 임베디드 장치에 IP(Internet Protocol) 어드레스를 부여하는 동적 IP 어드레스 할당 방법에 관한 것이다.The present invention relates to a method for allocating a dynamic IP address, and more particularly, to an embedded device so that a TCP / IP (Transmission Control Protocol / Internet Protocol) communication with an embedded device may be performed by a remote client program connected to the Internet. A dynamic IP address allocation method for assigning an IP (Internet Protocol) address.

임베디드 장치들간 네트워킹의 경우, 임베디드 장치만의 특정 프로토콜에 의해 서로 연결되며, TCP/IP 통신 프로토콜을 이용하는 경우에도 임베디드 장치만의 사설 네트워크를 구성하여 연결된다. 그러나, 최근 인터넷의 보급이 급속도로 이루어짐으로 인해, 인터넷에 연결된 원격의 클라이언트 프로그램을 통해 임베디드 장치와 통신해야 할 필요성이 증가하고 있는데, 임베디드 장치들을 사설 네트워크만으로 연결하고 인터넷에 연결하지 않을 경우 원격의 클라이언트 프로그램을 통해 임베디드 장치와 통신하는 것은 원칙적으로 불가능하다.In the case of networking between embedded devices, they are connected to each other by a specific protocol only for embedded devices. Even when using a TCP / IP communication protocol, a private network of only embedded devices is connected. However, due to the rapid spread of the Internet, the necessity of communicating with embedded devices through a remote client program connected to the Internet is increasing. If the embedded devices are connected only to a private network and not connected to the Internet, In principle, it is not possible to communicate with the embedded device via the client program.

예를 들어, 가정의 가전기기 제어를 총괄하는 홈서버의 경우, 원격의 웹브라우저를 통해 가전기기를 제어하기 위해서는 필연적으로 홈서버가 인터넷에 연결되어 있어야 한다. 즉, 홈서버는 인터넷 상의 유일한 IP 어드레스를 가지고 있어야 하므로, 임베디드 장치에 인터넷상의 유일한 IP 어드레스를 부여하는 일반적인 방법은 고가의 전용선 서비스를 이용하여 고정 IP 어드레스를 부여하는 방법과 현재 상용화 서비스가 되고 있는 인터넷 서비스 제공자들을 이용하여 임베디드 장치를 인터넷에 연결하여 사용하는 방법이다.For example, in the case of a home server in charge of controlling home appliances, a home server must be connected to the Internet in order to control home appliances through a remote web browser. In other words, the home server must have a unique IP address on the Internet, so the general method of assigning a unique IP address on the Internet to an embedded device is a method of assigning a fixed IP address using an expensive leased line service and a commercial service. It is a method of connecting an embedded device to the Internet using Internet service providers.

현재 인터넷 서비스 제공자들은 가입자들의 일반 컴퓨터, 임베디드 장치 등과 같은 인터넷 단말기에 DHCP(Dynamic Host Configuration Protocol)에 의한 동적 IP 어드레스를 부여하고 있다. DHCP는 TCP/IP의 프로토콜 스택 중의 하나로써 IP 어드레스 자동 취득 프로토콜을 말하는 것으로, 복잡한 설정 작업을 자동화하는 프로토콜이다. DHCP는 인터넷 단말기의 작동시에 동적으로 IP 어드레스를 할당함으로써 IP 어드레스의 설정에 따른 작업상의 문제를 해결하고 IP 어드레스뿐만 아니라 기종, 사이트 등의 각종 정보도 클라이언트에 통지할 수 있으며, 이용할 수 있는 IP 어드레스의 수보다 인터넷 단말기 수가 많은 경우 어드레스를 절약할 수 있다. DHCP 서버는 자신이 관리하고 있는 IP 어드레스를 DHCP 클라이언트가 요구할 경우 동적으로 할당한다. 이때, DHCP 서버가 관리하는 IP 어드레스들은 각국의 인터넷 관리 기관에서 할당받은 유일한 IP 어드레스들이다.Currently, Internet service providers are providing dynamic IP addresses using Dynamic Host Configuration Protocol (DHCP) to Internet terminals such as subscriber's general computers and embedded devices. DHCP is one of the protocol stacks of TCP / IP and refers to the automatic IP address acquisition protocol. It is a protocol that automates complex configuration tasks. DHCP dynamically allocates IP addresses during the operation of Internet terminals to solve operational problems caused by the setting of IP addresses, and to notify clients not only of IP addresses but also various information such as models and sites. If the number of Internet terminals is larger than the number of addresses, addresses can be saved. The DHCP server dynamically assigns IP addresses that it manages when a DHCP client requests them. At this time, the IP addresses managed by the DHCP server are the only IP addresses assigned by the Internet management agencies of each country.

인터넷 서비스 제공자들은 사용자가 일반 컴퓨터를 이용하여 웹 브라우징과 같은 인터넷 서비스를 이용할 경우를 고려하여 서비스되고 있는 바, 사용자가 인터넷 서비스를 이용할 경우에만 IP 어드레스를 부여하고 더 이상 인터넷 서비스를 이용하지 않는다면 IP 어드레스를 회수한다.Internet service providers are provided considering that users use Internet services such as web browsing by using a regular computer. IP addresses are assigned only when users use Internet services, and IP is not used anymore. Retrieve the address.

그런데, 이와 같은 인터넷 서비스 제공자들을 이용한 동적 IP 어드레스 부여 방법은 다음과 같은 문제점이 발생한다.However, the dynamic IP address assignment method using such Internet service providers has the following problems.

임베디드 장치를 인터넷에 연결하여, 원격의 웹브라우저를 통해 임베디드 장치를 제어 및 모니터링 하고자 할 경우에, 즉 원격의 웹브라우저 사용자가 언제 임베디드 장치를 제어하고 모니터링 할지 알 수 없으므로 임베디드 장치는 24시간 인터넷에 연결될 수 밖에 없으므로 DHCP를 사용하는 인터넷 서비스 사업자의 입장에서 IP 어드레스가 쉽게 고갈된다.When an embedded device is connected to the Internet to control and monitor the embedded device through a remote web browser, i.e. the embedded device is not connected to the internet 24 hours since the remote web browser user does not know when to control and monitor the embedded device. Because of the inevitable connection, IP addresses are easily exhausted from the standpoint of Internet service providers using DHCP.

따라서, 본 발명은 이와 같은 문제점을 해결하기 위한 것으로서, 본 발명은 사용자가 임베디드 장치를 제어 및 모니터링 하고자 할 경우에만 동적 IP 어드레스를 임베디드 장치에 부여하는 동적 IP 어드레스 할당 방법을 제공하는데 그 목적이 있다.Accordingly, an object of the present invention is to provide a dynamic IP address allocation method for assigning a dynamic IP address to an embedded device only when a user wants to control and monitor the embedded device. .

이와 같은 목적을 달성하기 위한 본 발명의 특징은, 인터넷망에서 TCP/IP 통신을 할 수 있도록, 임베디드장치에 IP 어드레스를 부여하는 동적 IP 어드레스 할당 방법에 있어서, 일반 컴퓨터의 웹브라우저 사용자가 메인서버의 사이트에 연결을 요구하는 제 1 과정; 상기 제 1 과정에서 상기 메인서버의 사이트에 연결이 요구되면, 상기 웹브라우저 사용자에게 사용자 정보를 요구하여 입력받고, 사용자의 정보가 인증되었는가 판단하는 제 2 과정; 상기 제 2 과정에서 사용자의 정보가 인증되었으면 상기 메인서버와 상기 임베디드 장치를 연결한 후에 다시 상기 메인서버와 상기 임베디드장치를 PPP로 연결하는 제 3 과정; 상기 제 3 과정을 수행한 후에 상기 임베디드장치가 상기 메인서버에 IP 어드레스를 요구하여, 상기 임베디드장치에 IP 어드레스를 할당하는 제 4 과정; 상기 제 4 과정에서 상기 임베디드장치에 IP 어드레스가 할당되면 상기 일반컴퓨터의 웹브라우저와 직접 TCP/IP 통신하는 제 5 과정; 상기 제 5 과정을 수행한 후에 로그 아웃 상태인가 판단하여, 로그 아웃 상태가 아니면 일정 시간 동안 상기 일반컴퓨터와 통신하지 않았는가 판단하는 제 6 과정; 및 상기 제 6 과정에서 일정 시간 동안 상기 일반컴퓨터와 통신하지 않거나 로그 아웃 상태이면 상기 메인서버와 상기 임베디드장치가 서로 연결을 끊고, PPP 프로토콜 연결을 끊는 제 7 과정을 포함하는데 있다.In order to achieve the above object, a feature of the present invention is a dynamic IP address assignment method for assigning an IP address to an embedded device to enable TCP / IP communication in an Internet network. The first process requiring a connection to the site; A second process of requesting and receiving user information from the web browser user when the connection to the site of the main server is requested in the first process, and determining whether the information of the user is authenticated; A third step of connecting the main server and the embedded device to PPP after connecting the main server and the embedded device if the user information is authenticated in the second step; A fourth step of the embedded device requesting an IP address from the main server after the third process is performed and allocating an IP address to the embedded device; A fifth process of directly performing TCP / IP communication with a web browser of the general computer when an IP address is assigned to the embedded device in the fourth process; A sixth step of determining whether the user is in the logout state after performing the fifth process, and determining whether the user has not communicated with the general computer for a predetermined time if the user is not logged out; And a seventh process of disconnecting the main server and the embedded device from each other and disconnecting the PPP protocol when not communicating with the general computer for a predetermined time or logging out in the sixth process.

한편, 상기 제 1 과정에서 상기 메인서버의 사이트에 연결을 요구하는 것은 웹브라우저가 실행되는 사용자의 상기 일반컴퓨터임을 특징으로 한다.On the other hand, the first step of requesting a connection to the site of the main server is characterized in that the general computer of the user running the web browser.

한편, 상기 사용자 정보는 사용자의 ID와 비밀번호임을 특징으로 한다.On the other hand, the user information is characterized in that the user's ID and password.

한편, 상기 제 3 과정에서 상기 메인서버와 상기 임베디드장치를 서로 연결하는 것은 전화망에 의해서 이루어짐을 특징으로 한다.Meanwhile, in the third process, the main server and the embedded device are connected to each other by a telephone network.

한편, 상기 제 3 과정에서 상기 메인서버와 상기 임베디드장치를 PPP 프로토콜로 연결함으로써 TCP/IP 통신을 수행할 수 있음을 특징으로 한다.In the third process, the main server and the embedded device may be connected to each other using a PPP protocol to perform TCP / IP communication.

한편, 상기 제 3 과정에서 상기 메인서버와 상기 임베디드장치를 PPP 프로토콜로 연결되면 상기 메인서버는 DHCP서버가 되며 상기 임베디드장치는 DHCP클라이언트가 됨을 특징으로 한다.On the other hand, when the main server and the embedded device is connected to the PPP protocol in the third process, the main server is a DHCP server, the embedded device is characterized in that the DHCP client.

한편, 상기 제 6 과정에서 상기 일반컴퓨터와의 통신이 일정 시간이 되지 않았으면 다시 로그 아웃 상태를 판단하는 것을 특징으로 한다.On the other hand, if the communication with the general computer is not a predetermined time in the sixth process, it is characterized in that the logout state again.

이하, 본 발명의 바람직한 실시예에 대하여 첨부 도면을 참조하여 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 따른 동적 IP 어드레스 할당 방법을 구현하기 위한 장치의 구성도이며, 도 2는 본 발명에 따른 동적 IP 어드레스 할당 방법의 흐름도이다.1 is a block diagram of an apparatus for implementing a dynamic IP address allocation method according to the present invention, and FIG. 2 is a flowchart of a dynamic IP address allocation method according to the present invention.

도 1 및 도 2에 있어서, 본 발명은 도 1에 도시된바와 같이 사용자가 원격의 클라이언트 프로그램이 궁극적으로 연결하려 하는 임베디드장치(100)와, 인터넷망(250)에 접속되어 고정 IP 어드레스를 가지고 임베디드장치(100)에 동적으로 IP를 할당해 주는 역할을 담당하는 메인서버(200) 및 사용자에 의해서 웹브라우저가 실행되는 외부의 일반컴퓨터(300)로 구성된다.1 and 2, the present invention has a fixed IP address connected to the embedded device 100 and the Internet network 250 that the user is ultimately connected to the remote client program as shown in FIG. The main server 200 plays a role of dynamically allocating an IP to the embedded device 100 and an external general computer 300 running a web browser by a user.

상세하게 설명하면, 사용자가 일반컴퓨터(300)의 웹브라우저를 실행하여 메인서버(200)의 사이트에 연결을 요구한다(단계 S100). In detail, the user executes a web browser of the general computer 300 and requests a connection to the site of the main server 200 (step S100).

S100 단계에서 메인서버(200)의 사이트에 연결이 되지 않았으면 다시 일반컴퓨터(300)의 웹브라우저를 실행하여 메인서버(200)의 사이트에 연결을 요구한다. S100 단계에서 메인서버(200)의 사이트에 연결이 되었으면 사용자의 정보를 요구하여(단계 S101), 입력한다(단계 S102). 이때, S102 단계에서 입력된 사용자 정보는 일반컴퓨터(300)를 사용하는 사용자의 ID(IDentifier)와 비밀번호로서 메인서버(200)의 데이터베이스(210)에 저장된다.If it is not connected to the site of the main server 200 in step S100 by running a web browser of the general computer 300 again to request a connection to the site of the main server 200. If it is connected to the site of the main server 200 in step S100, the user's information is requested (step S101), and input (step S102). At this time, the user information input in step S102 is stored in the database 210 of the main server 200 as an ID (IDentifier) and password of the user using the general computer 300.

S102 단계를 수행한 후 사용자의 정보가 인증되었는가 판단하여(단계 S103), 인증되지 않으면 다시 사용자의 정보를 요구하여 입력받고, 사용자의 정보가 인증되었는가 판단한다. S103 단계에서 사용자의 정보가 인증되었으면 임베디드장치(100)와 메인서버(200)를 모뎀(도시되지 않음)에 접속된 전화망(150)에 연결하고(단계 S104), 다시 임베디드장치(100)와 메인서버(200)를 PPP(Point-to-Point-Protocol) 프로토콜로 연결한다(단계 S105). After performing step S102, it is determined whether the user's information is authenticated (step S103). If not, the user's information is requested and input again, and it is determined whether the user's information is authenticated. If the user's information is authenticated in step S103, the embedded device 100 and the main server 200 are connected to the telephone network 150 connected to the modem (not shown) (step S104), and the embedded device 100 and the main server again. The server 200 is connected with a Point-to-Point-Protocol (PPP) protocol (step S105).

이때, S105 단계에서 임베디드장치(100)와 메인서버(200)가 PPP 프로토콜로 연결되면 메인서버(200)는 자신이 관리하고 있는 IP 어드레스를 동적으로 할당하는 DHCP서버가 되며, 임베디드장치(100)는 DHCP클라이언트가 되는데, 메인서버(200)와 임베디드장치(100)는 모뎀을 통해 전화 다이얼링을 가능하게 해 주는 모듈(도시되지 않음)을 내장하고 있다. 또한, 메인서버(200)인 DHCP서버가 관리하는 IP 어드레스들은 각국의 인터넷 관리 기관(한국은 KRNIC)에서 할당받은 유일한 IP 어드레스들이다.In this case, when the embedded device 100 and the main server 200 are connected to the PPP protocol in step S105, the main server 200 becomes a DHCP server that dynamically allocates an IP address managed by the embedded device 100 and the embedded device 100. Becomes a DHCP client, the main server 200 and the embedded device 100 has a built-in module (not shown) that enables telephone dialing through a modem. In addition, the IP addresses managed by the DHCP server as the main server 200 are the only IP addresses assigned by the Internet management institutions of each country (Korea is KRNIC).

S105 단계를 수행한 후에 임베디드장치(100)가 메인서버(200)에 IP 어드레스를 요구하여(단계 S106), 메인서버(200)인 DHCP서버는 자신이 관리하고 있는 IP 어드레스 풀(Pool)에서 아직 다른 클라이언트에게 할당하지 않은 유일한 IP 어드레스를 임베디드장치(100)에 할당한다(단계 S107). S107 단계에서 임베디드장치(100)에 IP 어드레스가 할당되면 외부의 일반컴퓨터(300)의 웹브라우저와 PPP 프로토콜을 이용하여 직접 정상적인 TCP/IP 통신을 수행하는데(단계 S108), 메인서버(200)가 더 이상 할당할 IP 어드레스가 없다면 임베디드장치(100)는 자신의 IP 어드레스를 갖지 못한다.After performing step S105, the embedded device 100 requests the IP address from the main server 200 (step S106), and the DHCP server, which is the main server 200, is still in the IP address pool managed by itself. A unique IP address that is not assigned to another client is assigned to the embedded device 100 (step S107). When the IP address is assigned to the embedded device 100 in step S107, the normal TCP / IP communication is directly performed using the web browser and the PPP protocol of the external general computer 300 (step S108), and the main server 200 If there is no more IP address to assign, the embedded device 100 does not have its own IP address.

S108 단계를 수행한 후에 로그 아웃 상태인가 판단하여(단계 S109), 로그 아웃 상태가 아니면 일정 시간 동안 일반컴퓨터(300)와 통신하지 않았는가 판단한다(단계 S110). S110 단계에서 일정 시간 동안 일반컴퓨터(300)와 통신하지 않거나 로그 아웃 상태이면 메인서버(200)와 임베디드장치(100)가 서로 전화망(150)의 연결을 끊고(단계 S111), PPP 프로토콜 연결을 끊는다(단계 S112). S112 단계에서 PPP 프로토콜 연결이 끊어지면 임베디드장치(100)가 할당받은 IP 어드레스는 반환된다. 이때, 반환된 IP 어드레스는 메인서버(200)가 또 다른 임베디드장치(도시되지 않음)에 할당할 수 있다.After performing step S108, it is determined whether or not it is logged out (step S109), and if it is not logged out, it is determined whether it has not communicated with the general computer 300 for a predetermined time (step S110). In step S110, if the communication with the general computer 300 for a predetermined time or the log out state, the main server 200 and the embedded device 100 disconnects the telephone network 150 from each other (step S111), and disconnects the PPP protocol connection. (Step S112). If the PPP protocol connection is disconnected in step S112, the IP address allocated by the embedded device 100 is returned. In this case, the returned IP address may be assigned to another embedded device (not shown) by the main server 200.

이와 같이, 본 발명의 상세한 설명에서는 구체적인 실시예에 관해 설명하였으나, 본 발명의 범주에서 벗어나지 않는 한도 내에서 여러가지 변형이 가능함은 물론이다. 그러므로, 본 발명의 범위는 설명된 실시예에 국한되어 정해져서는 안되며 후술하는 특허청구범위 뿐만 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.As described above, in the detailed description of the present invention, specific embodiments have been described, but various modifications are possible without departing from the scope of the present invention. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be defined by the claims below and equivalents thereof.

결국, 본 발명에 의한 동적 아이피 어드레스 할당 방법에 따르면 다음과 같은 이점이 발생한다.As a result, according to the dynamic IP address allocation method according to the present invention, the following advantages occur.

즉, 임베디드장치를 제어 및 모니터링하고자 할 경우에 동적으로 IP 어드레스를 부여함으로써 메인서버인 DHCP서버가 관리하는 IP 어드레스들이 쉽게 고갈되는 것을 방지한다.In other words, when the embedded device is to be controlled and monitored, IP addresses are dynamically assigned to prevent the IP addresses managed by the DHCP server as the main server from being easily exhausted.

도 1은 본 발명에 따른 동적 IP 어드레스 할당 방법을 구현하기 위한 장치의 구성도,1 is a block diagram of an apparatus for implementing a dynamic IP address allocation method according to the present invention;

도 2는 본 발명에 따른 동적 IP 어드레스 할당 방법의 흐름도.2 is a flow chart of a dynamic IP address allocation method in accordance with the present invention.

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

100 : 임베디드장치 150 : 전화망100: embedded device 150: telephone network

200 : 메인서버 210 : 데이터베이스200: main server 210: database

250 : 인터넷망 300 : 일반컴퓨터250: Internet 300: General computer

Claims (7)

인터넷망에서 TCP/IP 통신을 할 수 있도록, 임베디드장치에 IP 어드레스를 부여하는 동적 IP 어드레스 할당 방법에 있어서, In a dynamic IP address allocation method for assigning an IP address to an embedded device to enable TCP / IP communication in an internet network, 일반 컴퓨터의 웹브라우저 사용자로부터 메인서버의 사이트에 상기 임베디드 장치로의 연결을 요청받는 제 1 과정; A first step of requesting a connection of the embedded device to a site of a main server from a web browser user of a general computer; 상기 제 1 과정에서 상기 메인서버의 사이트에 연결이 요청되면, 상기 웹브라우저 사용자에게 사용자 정보를 요구하여 입력받고, 사용자의 정보가 인증되었는가 판단하는 제 2 과정; A second step of requesting user information from the web browser user and receiving the request when the connection to the site of the main server is requested in the first step, and determining whether the user information is authenticated; 상기 제 2 과정에서 사용자의 정보가 인증되었으면 상기 메인서버와 상기 임베디드 장치를 연결한 후에 다시 상기 메인서버와 상기 임베디드장치를 PPP로 연결하는 제 3 과정;A third step of connecting the main server and the embedded device to PPP after connecting the main server and the embedded device if the user information is authenticated in the second step; 상기 제 3 과정을 수행한 후에 상기 임베디드장치로부터 상기 메인서버에 IP 어드레스를 요구받아, 상기 임베디드장치에 IP 어드레스를 할당하는 제 4 과정; A fourth step of receiving an IP address of the main server from the embedded device after performing the third step and allocating an IP address to the embedded device; 상기 제 4 과정에서 상기 임베디드장치에 IP 어드레스가 할당되면 상기 일반컴퓨터의 웹브라우저와 직접 TCP/IP 통신을 허용하는 제 5 과정; A fifth process of allowing direct TCP / IP communication with a web browser of the general computer when an IP address is assigned to the embedded device in the fourth process; 상기 제 5 과정을 수행한 후에 로그 아웃 상태인가 판단하여, 로그 아웃 상태가 아니면 소정 시간 동안 상기 일반컴퓨터와 통신하지 않았는가 판단하는 제 6 과정; 및 A sixth step of determining whether or not to log out after performing the fifth step and not communicating with the general computer for a predetermined time unless the logout state is present; And 상기 제 6 과정에서 로그 아웃 상태이거나 상기 소정 시간 동안 상기 일반컴퓨터와 통신하지 않았으면 상기 메인서버와 상기 임베디드장치의 연결을 끊고, PPP 프로토콜 연결을 끊는 제 7 과정을 포함하는 것을 특징으로 하는 동적 아이피 어드레스 할당 방법.And a seventh process of disconnecting the main server from the embedded device and disconnecting the PPP protocol if the user is logged out in step 6 or has not communicated with the general computer for the predetermined time. Address assignment method. 제 1 항에 있어서, The method of claim 1, 상기 제 1 과정에서 상기 메인서버의 사이트에 연결을 요구하는 것은 웹브라우저가 실행되는 사용자의 상기 일반컴퓨터임을 특징으로 하는 동적 아이피 어드레스 할당 방법.Dynamic IP address allocation method, characterized in that in the first step of requesting a connection to the site of the main server is the general computer of a user running a web browser. 제 1 항에 있어서, 상기 사용자 정보는 The method of claim 1, wherein the user information is 사용자의 ID와 비밀번호임을 특징으로 하는 동적 아이피 어드레스 할당 방법.Dynamic IP address assignment method characterized in that the user's ID and password. 제 1 항에 있어서, The method of claim 1, 상기 제 3 과정에서 상기 메인서버와 상기 임베디드장치를 서로 연결하는 것은 전화망에 의해서 이루어짐을 특징으로 하는 동적 아이피 어드레스 할당 방법.The method of claim 3, wherein connecting the main server and the embedded device to each other is performed by a telephone network. 제 1 항에 있어서,The method of claim 1, 상기 제 3 과정에서 상기 메인서버와 상기 임베디드장치를 PPP 프로토콜로 연결함으로써 TCP/IP 통신을 수행할 수 있음을 특징으로 하는 동적 아이피 어드레스 할당 방법.Dynamic IP address allocation method, characterized in that for performing the TCP / IP communication by connecting the main server and the embedded device in a PPP protocol in the third process. 제 1 항에 있어서,The method of claim 1, 상기 제 3 과정에서 상기 메인서버와 상기 임베디드장치를 PPP 프로토콜로 연결되면 상기 메인서버는 DHCP서버가 되며 상기 임베디드장치는 DHCP클라이언트가 됨을 특징으로 하는 동적 아이피 어드레스 할당 방법.If the main server and the embedded device is connected to the PPP protocol in the third process, the main server is a DHCP server, the embedded device is a DHCP client, characterized in that the DHCP client. 제 1 항에 있어서,The method of claim 1, 상기 제 6 과정에서 상기 일반컴퓨터와의 통신이 일정 시간이 되지 않았으면 다시 로그 아웃 상태를 판단하는 것을 특징으로 하는 동적 아이피 어드레스 할당 방법.And determining the logout state again when communication with the general computer has not reached a predetermined time in the sixth step.
KR10-2000-0045019A 2000-08-03 2000-08-03 Method for allocating Dynamic IP adress KR100474599B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2000-0045019A KR100474599B1 (en) 2000-08-03 2000-08-03 Method for allocating Dynamic IP adress

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2000-0045019A KR100474599B1 (en) 2000-08-03 2000-08-03 Method for allocating Dynamic IP adress

Publications (2)

Publication Number Publication Date
KR20000063781A KR20000063781A (en) 2000-11-06
KR100474599B1 true KR100474599B1 (en) 2005-03-08

Family

ID=19681565

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2000-0045019A KR100474599B1 (en) 2000-08-03 2000-08-03 Method for allocating Dynamic IP adress

Country Status (1)

Country Link
KR (1) KR100474599B1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100428249B1 (en) * 2001-11-19 2004-04-28 에스케이텔레텍주식회사 Method for Data Packet Communication using Specific Name of Mobile Communication Terminal
KR20030089305A (en) * 2002-05-17 2003-11-21 웹게이트 주식회사 Ip address registration/reference method for embedded device and system thereof
KR100721341B1 (en) * 2004-12-11 2007-05-25 한국전자통신연구원 Apparatus and method of dynamic IP address modification
CN1794725B (en) * 2005-12-29 2011-04-06 华中师范大学 Embedded type mobile web server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5708655A (en) * 1996-06-14 1998-01-13 Telefonaktiebolaget L M Ericsson Publ Method and apparatus for addressing a wireless communication station with a dynamically-assigned address
KR20000012264A (en) * 1999-11-10 2000-03-06 백덕호 Method and system for connecting an internet server based on a dynamic ip address
JP2000196631A (en) * 1998-12-24 2000-07-14 Toshiba Corp Cable modem system and ip address dynamically assigning device
KR20010035830A (en) * 1999-10-04 2001-05-07 윤종용 Dynamic assigning method of internet protocol address

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5708655A (en) * 1996-06-14 1998-01-13 Telefonaktiebolaget L M Ericsson Publ Method and apparatus for addressing a wireless communication station with a dynamically-assigned address
JP2000196631A (en) * 1998-12-24 2000-07-14 Toshiba Corp Cable modem system and ip address dynamically assigning device
KR20010035830A (en) * 1999-10-04 2001-05-07 윤종용 Dynamic assigning method of internet protocol address
KR20000012264A (en) * 1999-11-10 2000-03-06 백덕호 Method and system for connecting an internet server based on a dynamic ip address

Also Published As

Publication number Publication date
KR20000063781A (en) 2000-11-06

Similar Documents

Publication Publication Date Title
US9847967B2 (en) DHCP proxy in a subscriber environment
US6185616B1 (en) Proxy server apparatus, a proxy server system, and a server apparatus
US8125993B2 (en) Network element having a DHCP lease timer
EP1965540B1 (en) A method and network device for configuring the domain name in ipv6 access network
KR101769472B1 (en) Network system and control method for the same
US7672320B2 (en) IP communications system for notifying a gateway controller of an IP address allocated to a gateway and a method therefor
US20090307356A1 (en) Ip address allocation in a network environment
EP1050147B1 (en) Method for allocating ip addresses to host destination terminals on the internet on request by a source terminal
CA2262350A1 (en) Network address management
JP3420512B2 (en) Dynamic domain name system
CN101159597A (en) Method, system and related equipment of obtaining software configuration information
KR100474599B1 (en) Method for allocating Dynamic IP adress
KR100333632B1 (en) Method and system for connecting an internet server based on a dynamic ip address
KR20070024116A (en) System for managing network service connection based on terminal aucthentication
EP1881639A1 (en) A method and system for cpecf (customer premises equipment configuration function) obtaining the terminal equipment information and configuring the terminal equipment
JP4352547B2 (en) Remote access server device
KR100909115B1 (en) Network automatic login system
KR20010091016A (en) Method and system for domain-server management using a personal computer with dynamic IP
KR100402981B1 (en) Apparatus and Method of Managing IP Address in the Exchange
JP3925303B2 (en) Layer 2 authentication system and method
KR100846536B1 (en) Virtual Private Network Using DHCP and Method of Security on the Same
KR20070080611A (en) Dynamic host configuration protocol method
KR20070041087A (en) Method for ip address allocation and management in the dhcp based l3 switch
KR100484006B1 (en) Home monitoring system and control method thereof
JP2003069604A (en) Method, device, and program for dynamic address assignment

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
J201 Request for trial against refusal decision
AMND Amendment
B601 Maintenance of original decision after re-examination before a trial
J301 Trial decision

Free format text: TRIAL DECISION FOR APPEAL AGAINST DECISION TO DECLINE REFUSAL REQUESTED 20030228

Effective date: 20040930

S901 Examination by remand of revocation
GRNO Decision to grant (after opposition)
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20120323

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20130221

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee