KR102032677B1 - Method and system for remotely connecting server in internal network using UPnP - Google Patents

Method and system for remotely connecting server in internal network using UPnP Download PDF

Info

Publication number
KR102032677B1
KR102032677B1 KR1020190026419A KR20190026419A KR102032677B1 KR 102032677 B1 KR102032677 B1 KR 102032677B1 KR 1020190026419 A KR1020190026419 A KR 1020190026419A KR 20190026419 A KR20190026419 A KR 20190026419A KR 102032677 B1 KR102032677 B1 KR 102032677B1
Authority
KR
South Korea
Prior art keywords
upnp
internal
server
external
router
Prior art date
Application number
KR1020190026419A
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 KR1020190026419A priority Critical patent/KR102032677B1/en
Application granted granted Critical
Publication of KR102032677B1 publication Critical patent/KR102032677B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/256NAT traversal
    • H04L61/2582NAT traversal through control of the NAT server, e.g. using universal plug and play [UPnP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • H04L61/1541
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4541Directories for service discovery
    • H04L61/6063
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/663Transport layer addresses, e.g. aspects of transmission control protocol [TCP] or user datagram protocol [UDP] ports

Abstract

The present invention relates to a method for a remote connection service of an internal network server using universal plug and play (UPnP), and a system thereof. According to the present invention, the method comprises: a first step of allowing an internal UPnP server to register port mapping information to a UPnP hub; a second step of allowing the internal UPnP server to register an external IP (public IP) and external port information of the UPnP hub to a link service server; a third step of allowing a remote client device to acquire the external IP and the external port information of the UPnP hub from the link service server in order to connect to the internal UPnP server remotely through an external network; a fourth step of allowing the client device to connect to the UPnP hub through the external network with the acquired external IP and external port information of the UPnP hub; and a fifth step of allowing the UPnP hub to use internal IP information and internal port information mapped with the external IP information and the external port information based on the port mapping information to connect the client device and the internal UPnP server, wherein the external IP and the external port information of the UPnP hub are mapped with the internal IP and the internal port information of the internal UPnP server in the port mapping information registered in the UPnP hub. Accordingly, the method does not require a fixed IP service, protects an internal server disposed in an internal network environment from hacking, does not require modification of setting of a hub or a service network, and automatically finds out a server only when the Internet is connected.

Description

UPnP를 이용한 내부 네트워크 서버 원격 연결 서비스 방법 및 시스템 {Method and system for remotely connecting server in internal network using UPnP} Method and system for remotely connecting internal network server using UPnP {Method and system for remotely connecting server in internal network using UPnP}

본 발명은 내부 네트워크 환경에 있는 서버를 원격에서 접근할 수 있는 방법 및 시스템에 관한 것으로서, 특히 내부 네트워크 환경에 있는 서버를 공인 IP서비스나 중계서버를 이용하지 않고 별도의 공유기 설정 없이도 외부 네트워크에서 접근할 수 있는, UPnP를 이용한 내부 네트워크 서버 원격 연결 서비스 시스템 및 방법에 관한 것이다.The present invention relates to a method and system for remotely accessing a server in an internal network environment, and in particular, accessing a server in an internal network environment from an external network without using a separate router without using a public IP service or a relay server. The present invention relates to an internal network server remote connection service system and method using UPnP.

도 1은 일반적으로 외부 네트워크를 통해 클라이언트장치가 내부 네트워크에 위치하는 서버PC를 접속하는 네트워크 구성을 나타낸 것이다. 도 1을 참조하면, 일반적으로 클라이언트장치(150)가 외부 네트워크에서 하나의 공인 IP(공인IP1)를 갖는 공유기(110)를 통해 복수의 컴퓨터(120, 130, 140)를 접속한다. 이 때, 공유기(110)와 연결되는 복수의 PC(120, 130, 140)는 각각 사설 IP를 갖고 있으며, 사설 IP는 유동 IP이므로 클라이언트장치(150)가 외부네트워크를 통해 서버PC(120)로 안정적으로 접근할 수 없는 문제점이 있다. 이 문제를 해결하기 위해 서버PC(120)는 별도의 공인IP(공인IP2)를 사용해야 하는데, 별도의 공인IP를 사용하기 위해서는 공인IP사용 비용이 발생한다.1 generally shows a network configuration in which a client device connects a server PC located in an internal network through an external network. Referring to FIG. 1, generally, the client device 150 connects a plurality of computers 120, 130, and 140 through a router 110 having one public IP (an official IP1) in an external network. At this time, the plurality of PCs (120, 130, 140) connected to the router 110 each has a private IP, since the private IP is a floating IP client device 150 to the server PC 120 through the external network There is a problem that cannot be reliably accessed. In order to solve this problem, the server PC 120 should use a separate public IP (authorized IP2), in order to use a separate public IP, the use of public IP costs occurs.

등록특허공보 제10-1624645호(2016.05.26)Patent Publication No. 10-1624645 (2016.05.26)

본 발명이 해결하고자 하는 과제는 종래 기술의 한계를 해결하기 위해 창출된 것으로서, 내부 네트워크 환경에 있는 서버를 공인 IP서비스나 중계서버를 이용하지 않고 별도의 공유기 설정 없이도 외부 네트워크에서 접근할 수 있는, UPnP를 이용한 내부 네트워크 서버 원격 연결 서비스 방법 및 시스템을 제공하는 것이다. The problem to be solved by the present invention is to solve the limitations of the prior art, the server in the internal network environment can be accessed from the external network without using a separate router without using a public IP service or relay server, It is to provide a method and system for internal network server remote connection service using UPnP.

상기 기술적 과제를 이루기 위한 본 발명에 따른 방법은, 내부 네트워크 서버 원격 연결 서비스 방법은, UPnP 장치인 UPnP내부서버가 내부 네트워크를 통해, UPnP를 지원하는 UPnP공유기와 연결되어 있고, 외부 네트워크를 통해 상기 UPnP공유기와 클라이언트 장치 및 링크서비스서버가 연결되어 있을 때, 상기 UPnP내부서버가 상기 UPnP공유기에 포트매핑정보를 등록하는 제1단계; 상기 UPnP내부서버가 상기 링크서비스서버에 상기 UPnP공유기의 외부IP(공인IP)와 외부 포트 정보를 등록하는 제2단계; 상기 클라이언트 장치가 원격에서 상기 외부 네트워크를 통해 상기 UPnP내부서버에 접속하기 위해 상기 링크서비스서버로부터 상기 UPnP공유기의 외부IP와 외부 포트 정보를 획득하는 제3단계; 상기 클라이언트 장치가 상기 획득한 UPnP공유기의 외부 IP와 외부 포트 정보를 이용하여 상기 외부 네트워크를 통해 상기 UPnP공유기에 접속하는 제4단계; 및 상기 UPnP공유기는 상기 포트매핑정보를 참조하여 상기 외부IP 정보 및 외부포트정보와 매핑되어 있는 내부IP 정보 및 내부포트정보를 이용하여 상기 클라이언트 장치와 상기 UPnP내부서버를 연결하는 제5단계를 포함하고, 상기 UPnP공유기에 등록되어 있는 포트매핑정보는 상기 UPnP공유기의 외부IP 및 외부포트 정보가 상기 UPnP내부서버의 내부IP 및 내부포트 정보와 매핑되어 있는 것을 특징으로 한다.In the method according to the present invention for achieving the technical problem, the internal network server remote connection service method, UPnP internal server which is a UPnP device is connected to the UPnP router supporting the UPnP through the internal network, the external network through the A first step of registering, by the UPnP internal server, port mapping information to the UPnP router when the UPnP router is connected to the client device and the link service server; A second step in which the UPnP internal server registers an external IP (authorized IP) and external port information of the UPnP router with the link service server; Obtaining, by the client device, external IP and external port information of the UPnP router from the link service server to remotely access the UPnP internal server through the external network; A fourth step of the client device accessing the UPnP router through the external network using the obtained external IP and external port information of the UPnP router; And a fifth step of connecting the client device to the UPnP internal server by using the internal IP information and the internal port information mapped to the external IP information and the external port information with reference to the port mapping information. The port mapping information registered in the UPnP router is characterized in that the external IP and external port information of the UPnP router are mapped to the internal IP and internal port information of the UPnP internal server.

상기 제1 단계는 상기 UPnP내부서버가 링크매니저와 UPnP 콘트롤러를 구비할 때, 상기 링크매니저가 외부에 오픈할 UPnP내부서버 정보(내부 IP, 포트정보, MAC주소)를 상기 UPnP 콘트롤러에게 전달하는 단계; UPnP 콘트롤러는 UPnP IGD(Internet Gateway Device)를 지원하는 공유기가 있는지를 체크하는 메시지를 내부 네트워크를 통해 멀티캐스트하는(UPnP Discover) 단계; UPnP 콘트롤러는 상기 UPnP 콘트롤러의 멀티캐스트에 대한 응답을 UPnP공유기로부터 받으면, 상기 UPnP공유기를 제어할 수 있는 URL 정보(controlURL)를 상기 UPnP공유기로부터 가져오는 단계; UPnP 콘트롤러는 상기 획득된 controlURL을 이용하여 상기 UPnP공유기의 외부 IP 및 포트매핑(PortMapping) 정보(외부IP&외부포트, 내부IP&내부포트)를 가져오는 단계; 및 UPnP콘트롤러는 상기 UPnP공유기의 포트매핑(PortMapping) 정보를 분석하여 UPnP내부서버의 내부IP 및 내부포트 정보가 변경되었으면 기존 PortMapping 정보를 삭제한 후 상기 변경된 내부IP 및 내부포트 정보를 등록하고, 내부IP 및 포트 정보가 존재하지 않으면 새로 내부IP 및 포트 정보를 추가하는 단계를 포함한다.In the first step, when the UPnP internal server includes a link manager and a UPnP controller, the UPnP internal server information (internal IP, port information, MAC address) to be opened by the link manager is transmitted to the UPnP controller. ; The UPnP controller multicasts a message for checking whether there is a router supporting an UPnP Internet Gateway Device (IGD) through an internal network (UPnP Discover); When the UPnP controller receives a response to the multicast of the UPnP controller from the UPnP router, fetching URL information (controlURL) for controlling the UPnP router from the UPnP router; Obtaining, by the UPnP controller, the external IP and port mapping information (external IP & external port, internal IP & internal port) of the UPnP router using the obtained controlURL; And the UPnP controller analyzes the port mapping information of the UPnP router and if the internal IP and internal port information of the UPnP internal server is changed, deletes the existing PortMapping information and registers the changed internal IP and internal port information. If the IP and port information does not exist, adding a new internal IP and port information.

본 발명에 따른 UPnP를 이용한 내부 네트워크 서버의 원격 연결 서비스 방법은, 상기 UPnP 콘트롤러가 상기 UPnP내부서버의 내부IP와 내부포트정보의 변경으로 인한 포트매핑정보가 상기 UPnP공유기에 추가되면, 상기 링크매니저는 외부IP 및 외부포트정보를 상기 링크서비스서버에 등록하는 단계를 더 포함할 수 있다. In the remote connection service method of an internal network server using UPnP according to the present invention, when the UPnP controller adds port mapping information due to a change of an internal IP and internal port information of the UPnP internal server, the link manager The method may further include registering an external IP and external port information with the link service server.

상기 제3단계는 응용소프트웨어가 저장된 휴대저장장치가 준비되는 단계; 상기 휴대저장장치에 저장된 시작프로그램이 실행되는 단계; 상기 휴대저장장치의 유효성을 검사하는 단계; 상기 휴대저장장치의 인증이 완료되면 클라이언트 장치는 원격에서 외부 네트워크를 통해 상기 UPnP내부서버에 접속하기 위해 상기 링크서비스서버에 등록된 UPnP내부서버 리스트를 가져오는 단계; 및 상기 클라이언트 장치는 상기 UPnP내부서버 리스트로부터 상기 UPnP공유기의 외부IP와 외부 포트 정보를 획득하는 단계를 포함한다.The third step includes preparing a portable storage device storing the application software; Executing a startup program stored in the portable storage device; Checking the validity of the portable storage device; When the authentication of the portable storage device is completed, bringing up a list of UPnP internal servers registered in the link service server to access the UPnP internal server remotely from an external network; And acquiring, by the client device, external IP and external port information of the UPnP router from the UPnP internal server list.

본 발명에 따른 UPnP를 이용한 내부 네트워크 서버의 원격 연결 서비스 방법은, 링크서비스서버가 클라이언트 장치로부터 상기 UPnP내부서버의 전원 ON 요청을 받으면, 상기 UPnP공유기를 통한 포트 포워딩(port forwarding)을 이용하여 UPnP를 지원하는 WOL장치에게 UPnP내부서버의 전원을 ON하게 하는 명령을 UPnP내부서버에 장착된 LAN카드의 MAC주소와 함께 전달하는 단계; 상기 WOL장치는 UPnP내부서버 LAN카드의 MAC주소가 포함된, 전원을 ON하는 메시지를 멀티캐스트하는 단계; 및 UPnP내부서버 LAN카드는 상기 멀티캐스트 메시지를 수신하면, UPnP내부서버의 전원을 ON하는 신호를 UPnP내부서버로 전달하여 UPnP내부서버의 전원을 ON하는 단계를 포함한다.In the remote connection service method of an internal network server using UPnP according to the present invention, when a link service server receives a power-on request of the UPnP internal server from a client device, UPnP using port forwarding through the UPnP router Transmitting a command for turning on the power of the UPnP internal server to the WOL device supporting the WOL device together with the MAC address of the LAN card mounted on the UPnP internal server; The WOL device multicasting a power-on message including a MAC address of a UPnP internal server LAN card; And the UPnP internal server LAN card, upon receiving the multicast message, transmitting a signal for turning on the power of the UPnP internal server to the UPnP internal server to turn on the power of the UPnP internal server.

상기 기술적 과제를 이루기 위한 본 발명에 따른 방법은, 내부 네트워크 서버 원격 연결 서비스 시스템은, UPnP를 지원하며, 포트매핑정보를 저장하고 있는 UPnP공유기; 외부 네트워크를 통해 상기 UPnP 공유기와 연결되는 링크서비스 서버; UPnP 장치로서 내부 네트워크를 통해 상기 UPnP공유기와 연결되고, 상기 UPnP공유기에 상기 포트매핑정보를 등록하고, 상기 링크서비스서버에 상기 UPnP공유기의 외부IP(공인IP)와 외부 포트 정보를 등록하는 UPnP내부서버; 및 외부 네트워크를 통해 상기 UPnP공유기와 연결되고, 원격에서 상기 외부 네트워크를 통해 상기 UPnP내부서버에 접속하기 위해 상기 링크서비스서버로부터 상기 UPnP공유기의 외부IP와 외부 포트 정보를 획득하여 UPnP공유기의 외부 IP와 외부 포트 정보를 이용하여 상기 외부 네트워크를 통해 상기 UPnP공유기에 접속하는 클라이언트 장치를 포함하고, 상기 UPnP공유기는 상기 포트매핑정보를 참조하여 상기 클라이언트 장치의 외부IP 정보 및 외부포트정보와 매핑되어 있는 내부IP 정보 및 내부포트정보를 이용하여 상기 클라이언트 장치와 상기 UPnP내부서버를 연결하고, 상기 UPnP공유기에 저장되어 있는 포트매핑정보는 상기 UPnP공유기의 외부IP와 외부포트 정보가 상기 UPnP내부서버의 내부IP와 내부포트 정보와 매핑되는 정보인 것을 특징으로 한다.The method according to the present invention for achieving the above technical problem, the internal network server remote connection service system, supports UPnP, UPnP router for storing port mapping information; A link service server connected to the UPnP router through an external network; UPnP internal, which is connected to the UPnP router through an internal network as a UPnP device, registers the port mapping information with the UPnP router, and registers the external IP (authorized IP) and external port information of the UPnP router with the link service server. server; And connect to the UPnP router via an external network, obtain external IP and external port information of the UPnP router from the link service server to access the UPnP internal server through the external network from a remote location, and then obtain an external IP of the UPnP router. And a client device accessing the UPnP router through the external network using external port information, wherein the UPnP router is mapped to external IP information and external port information of the client device with reference to the port mapping information. The client device and the UPnP internal server are connected by using internal IP information and internal port information, and the port mapping information stored in the UPnP router includes the external IP and external port information of the UPnP router. It is characterized in that the information is mapped to the IP and internal port information.

상기 UPnP내부서버는 UPnP 콘트롤러; 및 외부에 오픈할 UPnP내부서버 정보(내부 IP, 포트정보, MAC주소)를 상기 UPnP 콘트롤러에게 전달하는 링크매니저를 포함하고, UPnP 콘트롤러는 UPnP IGD(Internet Gateway Device)를 지원하는 UPnP 공유기가 있는지를 체크하는 메시지를 내부 네트워크를 통해 멀티캐스트하고(UPnP Discover), 상기 UPnP 콘트롤러의 멀티캐스트에 대한 응답을 UPnP공유기로부터 받으면, 상기 UPnP공유기를 제어할 수 있는 URL 정보(controlURL)를 상기 UPnP공유기로부터 획득하고, 상기 controlURL을 이용하여 상기 UPnP공유기의 외부 IP 및 포트매핑(PortMapping) 정보(외부IP&외부포트, 내부IP&내부포트)를 가져오고, 상기 UPnP공유기의 포트매핑(PortMapping) 정보를 분석하여 UPnP내부서버의 내부IP 및 내부포트 정보가 변경되었으면 기존 PortMapping 정보를 삭제한 후 상기 변경된 내부IP 및 내부포트 정보를 등록하고, 내부IP 및 포트 정보가 존재하지 않으면 새로 내부IP 및 포트 정보를 추가하는 것을 특징으로 한다.  The UPnP internal server includes a UPnP controller; And a link manager for transmitting UPnP internal server information (internal IP, port information, MAC address) to be opened to the UPnP controller, wherein the UPnP controller checks whether there is a UPnP router that supports UPnP Internet Gateway Device (IGD). When the message to be checked is multicasted through the internal network (UPnP Discover), and a response to the multicast of the UPnP controller is received from the UPnP router, URL information (controlURL) for controlling the UPnP router is obtained from the UPnP router. And import the external IP and port mapping information (external IP & external port, internal IP & internal port) of the UPnP router using the controlURL, and analyze the port mapping information of the UPnP router to internal UPnP router. If the internal IP and internal port information of the server has been changed, delete the existing PortMapping information and register the changed internal IP and internal port information. If the unit IP address and port information does not exist, characterized in that the new internal IP address and port information.

상기 링크매니저는 상기 UPnP 콘트롤러가 상기 UPnP내부서버의 내부IP와 내부포트정보의 변경으로 인한 포트매핑정보가 상기 UPnP공유기에 추가되면, 외부IP 및 외부포트정보를 상기 링크서비스서버에 등록하는 것을 특징으로 한다.The link manager registers external IP and external port information to the link service server when the port mapping information is added to the UPnP router due to the change of the internal IP and internal port information of the UPnP internal server by the UPnP controller. It is done.

본 발명에 따른 UPnP를 이용한 내부 네트워크 서버의 원격 연결 서비스 시스템은, 응용소프트웨어가 저장된 휴대저장장치를 더 포함하고, 상기 링크서비스 서버는 상기 휴대저장장치가 상기 클라이언트 장치에 장착되어 상기 휴대저장장치에 저장된 시작프로그램이 실행되면, 상기 휴대저장장치의 유효성을 검사하고, 상기 클라이언트 장치는 상기 휴대저장장치의 인증이 완료되면 원격에서 외부 네트워크를 통해 상기 UPnP내부서버에 접속하기 위해 상기 링크서비스서버에 등록된 UPnP내부서버 리스트를 가져와서, 상기 UPnP내부서버 리스트로부터 상기 UPnP공유기의 외부IP와 외부 포트 정보를 획득하는 것을 특징으로 한다.The remote connection service system of the internal network server using UPnP according to the present invention further includes a portable storage device in which application software is stored, and the link service server includes the portable storage device mounted on the client device to the portable storage device. When the stored startup program is executed, the validity of the portable storage device is checked, and the client device registers with the link service server to access the UPnP internal server through an external network remotely when authentication of the portable storage device is completed. It is characterized by obtaining the UPnP internal server list, the external IP and the external port information of the UPnP router from the UPnP internal server list.

본 발명에 따른 UPnP를 이용한 내부 네트워크 서버의 원격 연결 서비스 시스템은, UPnP를 지원하는 WOL장치를 더 포함하고, 링크서비스서버는 상기 클라이언트 장치로부터 상기 UPnP내부서버의 전원 ON 요청을 받으면, 상기 UPnP공유기를 통한 포트 포워딩(port forwarding)을 이용하여 상기 WOL장치에게 UPnP내부서버의 전원을 ON하게 하는 명령을 UPnP내부서버에 장착된 LAN카드의 MAC주소와 함께 전달하고, 상기 WOL장치는 UPnP내부서버 LAN카드의 MAC주소가 포함된, 전원을 ON하는 메시지를 상기 내부 네트워크를 통해 멀티캐스트하고, UPnP내부서버는 LAN카드를 통해 상기 멀티캐스트 메시지를 수신하면, UPnP내부서버의 전원을 ON하는 신호를 전원공급장치에게 전달하여 UPnP내부서버의 전원을 ON하는 것을 특징으로 한다.The remote connection service system of the internal network server using UPnP according to the present invention further includes a WOL device supporting UPnP, and the link service server receives the power-on request of the UPnP internal server from the client device. Using port forwarding through the WOL device, a command to turn on the power of the UPnP internal server is transmitted together with the MAC address of the LAN card mounted on the UPnP internal server, and the WOL device is the UPnP internal server LAN. When the multicast message is received through the internal network, the UPnP internal server receives the multicast message through the LAN card, and the signal for turning on the power of the UPnP internal server is included. It delivers to the supply device, characterized in that to turn on the power of the UPnP internal server.

본 발명에 따른 내부 네트워크 서버 원격 연결 서비스 방법 및 시스템에 의하면, 고정IP 서비스를 이용하면 서버는 네트워크가 분리되어 서버 공유폴더에 접근하지 못하는 불편을 해소하고, 고정IP 서비스가 필요 없다. According to the internal network server remote connection service method and system according to the present invention, if the fixed IP service is used, the server is separated from the network to eliminate the inconvenience of accessing the server shared folder, there is no need for a fixed IP service.

그리고 본 발명에 의하면, 내부 네트워크 환경에 있는 내부 서버가 해킹으로부터 안전하다. 즉, 고정 IP 서비스를 이용하면 내부 네트워크 환경에 있는 서버가 모든 포트(약 6만개)가 접근할 수 가능하여 서버의 해킹 위험이 증가되지만, 본 발명에 의하면 사용하는 한 개에 포트만 접근 가능하여 해킹 위험을 많이 줄일 수 있다.And according to the present invention, the internal server in the internal network environment is safe from hacking. In other words, by using the fixed IP service, the server in the internal network environment can access all ports (approximately 60,000), which increases the risk of hacking the server, but according to the present invention, only one port can be accessed to hack. The risk can be greatly reduced.

또한 본 발명에 의하면 공유기 설정이나 서버 네트워크를 설정 변경할 필요 없으며, 복잡한 설정 작업 없이 인터넷에 접속하기만 하면 자동적으로 서버를 찾아 준다.In addition, according to the present invention, there is no need to change router settings or server network settings, and simply finds a server automatically by accessing the Internet without complicated setting work.

또한 본 발명에 의하면, 복수의 서버도 외부 네트워크를 통해 연결할 수 있으며, 중계 서버를 이용하지 않아 빠른 네트워크 속도를 지원한다.In addition, according to the present invention, a plurality of servers can also be connected through an external network, and does not use a relay server to support fast network speed.

또한 휴대저장장치(USB)에 저장되어 있는 응용 소프트웨어와 본 발명에 의한 내부 네트워크 서버 원격 연결 서비스가 가능한 시작 프로그램을 이용하여, 응용 소프트웨어 예를 들어 세무회계 프로그램을 별도로 설치하지 않고도 집이나 PC방 등 어디서나 원격으로 내부 서버에 접속하여 데이터를 접근하여 세무회계 업무를 처리할 수 있다. 그리고 데이터는 내부 서버(서버PC)에 저장되어 USB 분실이나, 바이러스부터 안전하다. 그리고 USB 실행가능여부를 Web 에서 통제 가능한 Kill Switch를 제공함으로써 USB 분실에도 문제가 없다. In addition, by using the application software stored in the portable storage device (USB) and the start program that enables the internal network server remote connection service according to the present invention, without having to separately install the application software, for example, tax accounting program, home or PC room, etc. You can remotely access internal servers to access your data and handle your tax accounting tasks. And data is stored in the internal server (server PC), so it is safe from USB loss or viruses. In addition, there is no problem in USB loss by providing Kill Switch that can control USB execution.

도 1은 일반적으로 외부 네트워크를 통해 클라이언트장치가 내부 네트워크에 위치하는 서버PC를 접속하는 네트워크 구성을 나타낸 것이다.
도 2는 본 발명에 따른 내부 네트워크 서버 원격 연결 서비스 시스템의 구성에 대한 일실시예를 블록도로 나타낸 것이다.
도 3은 라우터의 포트매핑정보를 참조하여 외부 네트워크 디바이스가 내부 네트워크 디바이스와 연결되는 과정의 예를 나타낸 것이다.
도 4는 본 발명에 따른 내부 네트워크 서버 원격 연결 서비스 방법에 대한 일실시예를 흐름도로 나타낸 것이다.
도 5는 UPnP내부서버(230)가 UPnP공유기(210)에 포트매핑정보를 등록하는 과정을 나타내고 있다.
도 6은 본 발명에 의한 내부서버로의 원격 연결 서비스를 이용하여 응용소프트웨어가 저장된 휴대저장장치(USB)를 통해 별도의 프로그램을 설치할 필요없이 어디서나 UPnP 내부서버의 데이터를 접근할 수 있는 서비스를 제공하는 과정을 나타낸 것이다.
도 7은 본 발명에 의한 내부서버로의 원격 연결 서비스를 이용하여 원격에서 UPnP 내부 서버의 전원을 ON/OFF 할 수 있는 제어 과정을 나타낸 것이다.
1 generally shows a network configuration in which a client device connects a server PC located in an internal network through an external network.
2 is a block diagram showing an embodiment of the configuration of an internal network server remote connection service system according to the present invention.
3 illustrates an example of a process in which an external network device is connected to an internal network device with reference to port mapping information of a router.
4 is a flowchart illustrating an embodiment of an internal network server remote connection service method according to the present invention.
5 shows a process in which the UPnP internal server 230 registers port mapping information with the UPnP router 210.
6 is a remote connection service to the internal server according to the present invention provides a service that can access the data of the UPnP internal server anywhere without the need to install a separate program through a portable storage device (USB) in which the application software is stored It shows the process.
7 illustrates a control process for remotely turning on / off the power of an UPnP internal server using a remote connection service to an internal server according to the present invention.

이하, 첨부된 도면을 참조로 본 발명의 바람직한 실시예를 상세히 설명하기로 한다. 본 명세서에 기재된 실시예와 도면에 도시된 구성은 본 발명의 바람직한 일 실시예에 불과할 뿐이고, 본 발명의 기술적 사상을 모두 대변하는 것은 아니므로, 본 출원 시점에 있어서 이들을 대체할 수 있는 다양한 균등물과 변형예들이 있을 수 있음을 이해하여야 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. Configurations shown in the embodiments and drawings described herein are only one preferred embodiment of the present invention, and do not represent all of the technical spirit of the present invention, various equivalents that may be substituted for them at the time of the present application It should be understood that there may be variations and variations.

홈 네트워크의 확산으로 가정에서 기존의 PC 위주의 네트워크 환경이 점점 다양한 하위 네트워크 기술을 사용하는 가전 제품들을 포함하는 환경으로 확대되고 있다. 따라서 IP 프로토콜을 사용하여 이들 가전 제품들을 통일된 방식으로 네트워크화할 수 있는 기술에 대한 필요성으로 UPnP(Universal Plug and Play)와 같은 홈 네트워크 미들웨어 기술이 제안되었다. 일반적으로 홈 네트워크 미들웨어에서, UPnP 장치는 그 서비스를 액션과 상태 변수로 모델링하고, UPnP 컨트롤포인트(Control Point)는 UPnP 장치를 자동으로 탐색(discovery)한 후 그 서비스를 이용할 수 있다.With the proliferation of home networks, existing PC-oriented network environments are increasingly being expanded to include home appliances that use various sub-network technologies. Therefore, a home network middleware technology such as Universal Plug and Play (UPnP) has been proposed as a necessity for a technology that can network these home appliances in a unified manner using the IP protocol. In general, in a home network middleware, a UPnP device may model the service as an action and a state variable, and the UPnP Control Point may automatically discover the UPnP device and then use the service.

본 발명에서 사용되는 UPnP(Universal Plug and Play)는 홈 네트워크에 있는 네트워크 장치들이 서로 연동될 수 있도록 하는 범용 표준 프로토콜로서, UDP, HTTP, XML 등의 기술을 조합하여 사용하고 있다. 특히, NAT traversal 기능으로 IGDP(Internet Gateway Device Protocol)를 이용해서 공유기의 특정 포트를 포트 매핑(port mapping)하여 상기 특정 포트로 들어오는 패킷을 포워딩(forwarding)하는 방식이다.Universal Plug and Play (UPnP) used in the present invention is a general-purpose standard protocol that allows network devices in a home network to interwork with each other, and uses a combination of technologies such as UDP, HTTP, and XML. In particular, the NAT traversal function is a method of port mapping a specific port of the router using Internet Gateway Device Protocol (IGDP) to forward packets coming into the specific port.

도 2는 본 발명에 따른 본 발명에 따른 내부 네트워크 서버 원격 연결 서비스 시스템의 구성에 대한 일실시예를 블록도로 나타낸 것이다. 도 2를 참조하면, 본 발명에 따른 내부 네트워크 서버 원격 연결 서비스 시스템의 일실시예는 UPnP공유기(210), 링크서비스 서버(220), UPnP내부서버(230) 및 클라이언트 장치(240)를 포함하여 이루어진다.2 is a block diagram showing an embodiment of the configuration of an internal network server remote connection service system according to the present invention according to the present invention. 2, an embodiment of an internal network server remote connection service system according to the present invention includes a UPnP router 210, a link service server 220, an UPnP internal server 230, and a client device 240. Is done.

UPnP공유기(210)는 UPnP를 지원하며, 포트매핑정보를 저장하고 있다. UPnP공유기(210)는 NAT(Network Address Translation) 기능이 있는 라우터(Router)로 구현될 수도 있다. 본 발명은 복수의 UPnP공유기가 있는 네트워크에서도 적용될 수 있다. 도 3은 라우터의 포트매핑정보를 참조하여 외부 네트워크 디바이스가 내부 네트워크 디바이스와 연결되는 과정의 예를 나타낸 것이다. 도 3을 참조하면, 포트매핑 테이블(300)은 라우터(310)의 외부 IP (또는 공인 IP) & 외부포트 정보와 네트워크 디바이스(320, 330, 340)의 내부 IP (또는 사설IP) & 내부 포트 정보를 매핑하고 있다. 예를 들어, 클라이언트(350)가 라우터(310)의 공인 IP(193.24.171.247)와 외부포트(8032) 정보를 이용하여 외부네트워크(Internet)를 통해 라우터(310)에 접속하면, 라우터(310)은 포트매핑 테이블(300)을 참조하여, 내부 네트워크 디바이스의 내부 IP(192.168.10.13)와 내부포트(80)를 갖는 네트워크 디바이스(340)로 연결되게 한다. 본 발명에 따른 내부 네트워크 서버 원격 연결 서비스 시스템은 NAT 기능이 있는 라우터(공유기)의 공인 IP가 유동 IP일 경우, DDNS(Dynamic DNS) 기능을 가질 수 있으며, 실시간으로 공유기의 공인 IP를 갱신할 수 있다.The UPnP router 210 supports UPnP and stores port mapping information. The UPnP router 210 may be implemented as a router having a network address translation (NAT) function. The present invention can be applied to a network having a plurality of UPnP routers. 3 illustrates an example of a process in which an external network device is connected to an internal network device with reference to port mapping information of a router. Referring to FIG. 3, the port mapping table 300 includes external IP (or public IP) & external port information of the router 310 and internal IP (or private IP) & internal port of the network devices 320, 330, and 340. Mapping information. For example, when the client 350 accesses the router 310 through an external network using the public IP (193.24.171.247) and the external port 8032 information of the router 310, the router 310 The port mapping table 300 refers to the internal IP device 192.168.10.13 of the internal network device and to the network device 340 having the internal port 80. The internal network server remote connection service system according to the present invention may have a dynamic DNS (DDNS) function when the public IP of a router (router) having a NAT function is a dynamic IP, and may update the public IP of the router in real time. have.

UPnP공유기(210)는 상기 포트매핑정보를 참조하여 클라이언트 장치(240)의 외부IP 정보 및 외부포트 정보와 매핑되어 있는 내부IP 정보 및 내부포트정보를 이용하여 클라이언트 장치(240)와 UPnP내부서버(230)를 연결한다. UPnP공유기(210)에 저장되어 있는 포트매핑정보는 UPnP공유기(210)의 외부IP와 외부포트 정보가 UPnP내부서버(230)의 내부IP와 내부포트 정보와 매핑되는 정보이다.The UPnP router 210 uses the internal IP information and the internal port information mapped to the external IP information and the external port information of the client device 240 with reference to the port mapping information. 230). The port mapping information stored in the UPnP router 210 is information in which the external IP and the external port information of the UPnP router 210 are mapped to the internal IP and the internal port information of the UPnP internal server 230.

링크서비스 서버(220)는 외부 네트워크를 통해 상기 UPnP 공유기(210)와 연결된다. UPnP내부서버(230)는 UPnP 장치로서 내부 네트워크를 통해 UPnP공유기 (210)와 연결되고, UPnP공유기(210)에 상기 포트매핑정보를 등록하고, 링크서비스서버(220)에 UPnP공유기(210)의 외부IP(공인IP)와 외부 포트 정보를 등록한다. UPnP내부서버(230)는 링크매니저(232) 및 UPnP 콘트롤러(234)를 구비한다. The link service server 220 is connected to the UPnP router 210 through an external network. The UPnP internal server 230 is connected to the UPnP sharer 210 via the internal network as a UPnP device, registers the port mapping information with the UPnP sharer 210, and links the UPnP sharer 210 to the link service server 220. Register external IP (authorized IP) and external port information. The UPnP internal server 230 includes a link manager 232 and a UPnP controller 234.

UPnP 콘트롤러(232)는 UPnP IGD(Internet Gateway Device)를 지원하는 UPnP 공유기(210)가 있는지를 체크하는 메시지를 내부 네트워크를 통해 멀티캐스트하고(UPnP Discover), 상기 멀티캐스트에 대한 응답을 UPnP공유기(210)로부터 받으면, UPnP공유기(210)를 제어할 수 있는 URL 정보(controlURL)를 UPnP공유기(210)로부터 획득하고, 상기 controlURL을 이용하여 UPnP공유기(210)의 외부 IP 및 포트매핑(PortMapping) 정보(외부IP&외부포트, 내부IP&내부포트)를 가져오고, UPnP공유기(210)의 포트매핑(PortMapping) 정보를 분석하여 UPnP내부서버(230)의 내부IP 및 내부포트 정보가 변경되었으면 기존 PortMapping 정보를 삭제한 후 상기 변경된 내부IP 및 내부포트 정보를 등록하고, 내부IP 및 포트 정보가 존재하지 않으면 새로 내부IP 및 포트 정보를 추가한다.The UPnP controller 232 multicasts a message to check whether there is a UPnP router 210 supporting UPnP IGD (Internet Gateway Device) through the internal network (UPnP Discover), and sends a response to the multicast to the UPnP router ( If received from 210, the URL information (controlURL) to control the UPnP router 210 is obtained from the UPnP router 210, using the controlURL external IP and port mapping information of the UPnP router 210 (PortMapping) (External IP & External Port, Internal IP & Internal Port), and analyzes the PortMapping information of the UPnP router 210, if the internal IP and internal port information of the UPnP internal server 230 is changed, the existing PortMapping information is changed. After the deletion, the changed internal IP and internal port information are registered, and the internal IP and port information are newly added if the internal IP and port information do not exist.

링크매니저(234)는 외부에 오픈할 UPnP내부서버 정보(내부 IP, 포트정보, LAN 카드의 MAC 주소)를 UPnP 콘트롤러(232)에게 전달한다. 링크매니저(234)는 UPnP 콘트롤러(234)가 UPnP내부서버(234)의 내부IP와 내부포트정보의 변경으로 인한 포트매핑정보가 UPnP공유기(210)에 추가되면, UPnP 공유기(210)의 외부IP, 외부포트정보, UPnP내부서버(230) 이름, MAC 주소, 사용자 ID를 링크서비스서버(220)에 등록한다.The link manager 234 transmits UPnP internal server information (internal IP, port information, MAC address of LAN card) to be opened to the UPnP controller 232. The link manager 234, when the UPnP controller 234 adds the port mapping information due to the change of the internal IP of the UPnP internal server 234 and the internal port information to the UPnP router 210, the external IP of the UPnP router 210. Register the external port information, UPnP internal server 230 name, MAC address, and user ID to the link service server 220.

클라이언트 장치(240)는 외부 네트워크에 존재하며, 상기 외부 네트워크를 통해 UPnP공유기(210)와 연결된다. 원격에서 외부 네트워크를 통해 UPnP내부서버(230)에 접속하기 위해 UPnP공유기(210)의 외부IP와 외부 포트 정보를 획득하여 UPnP공유기(210)의 외부 IP와 외부 포트 정보를 이용하여 상기 외부 네트워크를 통해 UPnP공유기(210)에 접속한다. 예를 들어, 클라이언트 장치(240)는 링크서비스서버(220)로부터 등록된 UPnP 내부 서버 리스트를 가져와서 연결하고자 하는 UPnP 내부 서버를 선택하면, 공인 IP 정보, 외부포트 정보를 가지고 선택된 UPnP 내부 서버와 직접 연결된다.The client device 240 exists in an external network and is connected to the UPnP router 210 through the external network. Obtain the external IP and external port information of the UPnP router 210 to remotely access the UPnP internal server 230 through the external network and use the external IP and external port information of the UPnP router 210 to access the external network. Connect to the UPnP router 210 through. For example, if the client device 240 selects a UPnP internal server to which the UPnP internal server list is registered from the link service server 220 and selects a UPnP internal server to connect to, the client device 240 has the selected UPnP internal server with public IP information and external port information. It is directly connected.

한편, 본 발명에 의한 내부 네트워크 서버 원격 연결 서비스 시스템은 휴대저장장치(USB, 미도시)를 더 포함할 수 있다. 상기 휴대저장장치(USB)는 내부 네트워크 서버 원격 연결 서비스가 가능하며 응용소프트웨어 예를 들어 세무회계 프로그램이 저장되어 있다. 상기 휴대저장장치(USB)가 클라이언트 장치(240)의 USB 슬롯에 장착되어 상기 휴대저장장치에 저장된 시작프로그램이 실행되면, 링크서비스 서버(220)는 상기 휴대저장장치(USB)의 유효성을 검사한다. 그리고 상기 유효성 검사를 통해 상기 휴대저장장치의 인증이 완료되면 클라이언트 장치(240)는 원격에서 외부 네트워크를 통해 UPnP내부서버(230)에 접속하기 위해 링크서비스서버(220)에 등록된 UPnP내부서버 리스트를 가져와서, 상기 UPnP내부서버 리스트로부터 UPnP공유기(210)의 외부IP와 외부포트정보를 획득할 수 있다. UPnP공유기(210)의 외부IP와 외부포트정보가 획득되면, 클라이언트 장치(240)는 상기 획득한 UPnP공유기의 외부 IP와 외부포트정보를 이용하여 상기 외부 네트워크를 통해 UPnP공유기(210)에 접속하고, UPnP공유기(210)는 포트매핑정보를 참조하여 상기 외부IP 정보 및 외부포트정보와 매핑되어 있는 내부IP 정보 및 내부포트정보를 이용하여 클라이언트 장치(240)와 UPnP내부서버(230)를 연결한다.Meanwhile, the internal network server remote connection service system according to the present invention may further include a portable storage device (USB, not shown). The portable storage device (USB) can be connected to the internal network server remote service, the application software, for example, a tax accounting program is stored. When the portable storage device (USB) is mounted in the USB slot of the client device 240 and a startup program stored in the portable storage device is executed, the link service server 220 checks the validity of the portable storage device (USB). . When the authentication of the portable storage device is completed through the validity check, the client device 240 remotely registers the UPnP internal server list registered in the link service server 220 to access the UPnP internal server 230 through an external network. By importing, the external IP and external port information of the UPnP router 210 can be obtained from the UPnP internal server list. When the external IP and external port information of the UPnP router 210 are obtained, the client device 240 accesses the UPnP router 210 through the external network using the obtained external IP and external port information of the UPnP router. The UPnP router 210 connects the client device 240 and the UPnP internal server 230 by using the internal IP information and the internal port information mapped to the external IP information and the external port information with reference to the port mapping information. .

그리고, 본 발명에 의한 내부 네트워크 서버 원격 연결 서비스 시스템은 UPnP를 지원하는 WOL장치(250)를 더 포함할 수 있다. WOL(Wake On LAN)은 패킷을 이용하여 원격으로 컴퓨터를 부팅하는 기술로서, 본 발명은 클라이언트 장치(240)가 상술한 내부서버 연결 서비스를 이용하여 웹 페이지에서 외부 네트워크를 통해 원격으로 전원이 꺼져있는 UPnP내부서버(230)의 전원을 켤(Power ON) 수 있는 기능을 제공한다. 이를 위해 WOL장치(250)는 UPnP서버가 위치한 내부 네트워크 환경에 위치하고, 링크서비스서버(220)에 미리 등록되며, 최소한의 전력을 소모하면서 상시 전원이 켜져 있는 장치로서, 간단하게 라즈베리 파이를 이용하여 구현될 수 있다. The internal network server remote connection service system according to the present invention may further include a WOL device 250 supporting UPnP. Wake on LAN (WOL) is a technology for remotely booting a computer using a packet, and the present invention provides that the client device 240 is remotely powered off through an external network in a web page using the above-described internal server connection service. The UPnP internal server 230 provides a function of turning on the power (Power ON). To this end, the WOL device 250 is located in the internal network environment where the UPnP server is located, and is registered in advance in the link service server 220, and the device is always powered on while consuming minimal power. Can be implemented.

링크서비스서버(220)는 클라이언트 장치(240)로부터 UPnP내부서버(230)의 전원 ON 요청을 받으면, UPnP공유기(210)를 통한 포트 포워딩(port forwarding)을 이용하여 WOL장치(250)에게 UPnP내부서버(230)의 전원을 ON 하게 하는 Power ON 메시지를 UPnP내부서버(230)에 장착된 LAN카드(미도시)의 MAC주소와 함께 전달한다. WOL장치(250)는 UPnP내부서버(230)에 장착된 LAN카드(미도시)의 MAC주소가 포함된, Power ON 메시지를 상기 내부 네트워크를 통해 멀티캐스트한다. 상기 LAN카드가 상기 멀티캐스트 메시지를 수신하면, UPnP내부서버(230)는 전원공급장치를 통해 UPnP내부서버(230)의 전원을 ON한다.When the link service server 220 receives a power-on request of the UPnP internal server 230 from the client device 240, the link service server 220 uses the port forwarding through the UPnP router 210 to transmit the UPnP internal to the WOL device 250. The power ON message for turning on the power of the server 230 is transmitted together with the MAC address of the LAN card (not shown) installed in the UPnP internal server 230. The WOL device 250 multicasts a Power ON message including a MAC address of a LAN card (not shown) mounted on the UPnP internal server 230 through the internal network. When the LAN card receives the multicast message, the UPnP internal server 230 turns on the power of the UPnP internal server 230 through a power supply.

그리고, 클라이언트장치(240)는 원격에서 UPnP 내부서버(230)의 전원을 OFF 할 수도 있다. 예를 들어, 클라이언트장치(240)는 링크서비스서버(220)에게 UPnP 내부서버(230)의 전원을 OFF를 요청하면, 링크서비스서버(220)는 UPnP 내부서버(230)의 링크매니저(232)와 통신하여 UPnP 내부서버(230)의 전원을 OFF 한다. The client device 240 may remotely turn off the power of the UPnP internal server 230. For example, when the client device 240 requests the link service server 220 to turn off the power of the UPnP internal server 230, the link service server 220 may link the manager 232 of the UPnP internal server 230. In communication with the power OFF of the UPnP internal server 230.

도 4는 본 발명에 따른 내부 네트워크 서버 원격 연결 서비스 방법에 대한 일실시예를 흐름도로 나타낸 것이다. 도 2 내지 도 4를 참조하여, 본 발명에 따른 내부 네트워크 서버 원격 연결 서비스 방법에 대한 일실시예를 설명하기로 한다. 4 is a flowchart illustrating an embodiment of an internal network server remote connection service method according to the present invention. 2 to 4, an embodiment of an internal network server remote connection service method according to the present invention will be described.

먼저, UPnP내부서버(230)가 UPnP공유기(210)에 포트매핑정보를 등록한다.(S410단계) UPnP공유기(210)에 등록되어 있는 포트매핑정보에는 UPnP공유기(210)의 외부IP와 외부포트 정보가 UPnP내부서버(230)의 내부IP와 내부포트 정보와 매핑되어 있다.First, the UPnP internal server 230 registers the port mapping information to the UPnP router 210 (step S410). The external IP and the external port of the UPnP router 210 are included in the port mapping information registered in the UPnP router 210. The information is mapped to the internal IP and internal port information of the UPnP internal server 230.

UPnP내부서버(230)가 링크서비스서버(220)에 UPnP공유기(210)의 외부IP(공인IP)와 외부 포트 정보를 등록한다.(S420단계) 클라이언트 장치(240)가 원격에서 상기 외부 네트워크를 통해 UPnP내부서버(230)에 접속하기 위해 링크서비스서버(220)로부터 UPnP공유기(210)의 외부IP와 외부 포트 정보를 획득한다.(S430단계)The UPnP internal server 230 registers the external IP (authorized IP) and external port information of the UPnP router 210 with the link service server 220 (step S420). The client device 240 remotely establishes the external network. In order to access the UPnP internal server 230 through the link service server 220 obtains the external IP and external port information of the UPnP router 210 (step S430).

클라이언트 장치(240)가 상기 획득한 UPnP공유기(210)의 외부 IP와 외부 포트 정보를 이용하여 상기 외부 네트워크를 통해 UPnP공유기(210)에 접속한다.(S440단계) UPnP공유기(210)는 상기 포트매핑정보를 참조하여 상기 외부IP 정보 및 외부포트정보와 매핑되어 있는 내부IP 정보 및 내부포트정보를 이용하여 클라이언트 장치(240)와 UPnP내부서버(230)를 연결한다.(S450단계)The client device 240 accesses the UPnP router 210 through the external network by using the obtained external IP and external port information of the UPnP router 210 (step S440). The UPnP router 210 accesses the port. The client device 240 connects the UPnP internal server 230 by using the internal IP information and the internal port information mapped with the external IP information and the external port information with reference to the mapping information (step S450).

도 5는 UPnP내부서버(230)가 UPnP공유기(210)에 포트매핑정보를 등록하는 과정을 나타내고 있다. 도 5를 참조하면, 링크 매니저(232)가 외부에 오픈할 UPnP내부서버 정보(내부 IP, 포트정보, MAC주소)를 상기 UPnP 콘트롤러(234)에게 전달한다.(510단계) UPnP 콘트롤러(234)는 UPnP IGD(Internet Gateway Device)를 지원하는 공유기가 있는지를 체크하는 메시지를 내부 네트워크를 통해 멀티캐스트한다.(520단계) 또한 UPnP 콘트롤러(234)는 상기 멀티캐스트에 대한 응답을 UPnP공유기(210)로부터 받으면, UPnP공유기(210)를 제어할 수 있는 URL 정보(controlURL)를 UPnP공유기(210)로부터 가져온다.(530단계)5 shows a process in which the UPnP internal server 230 registers port mapping information with the UPnP router 210. Referring to FIG. 5, the link manager 232 transmits UPnP internal server information (internal IP, port information, MAC address) to be opened to the UPnP controller 234 (step 510). The UPnP controller 234 The multicast multicast message through the internal network to check whether there is a router supporting the UPnP Internet Gateway Device (IGD) (step 520). Also, the UPnP controller 234 sends a response to the multicast to the UPnP router 210. If received from, the URL information (controlURL) to control the UPnP router 210 is obtained from the UPnP router 210 (step 530).

UPnP 콘트롤러(234)는 상기 획득된 controlURL을 이용하여 UPnP공유기(210)의 외부 IP 정보를 가져오고(540단계), 포트매핑(PortMapping) 정보(외부IP&외부포트, 내부IP&내부포트)를 가져온다(550단계)The UPnP controller 234 obtains external IP information of the UPnP router 210 by using the obtained controlURL (step 540), and obtains port mapping information (external IP & external port, internal IP & internal port) ( 550 steps)

UPnP콘트롤러(234)는 UPnP공유기(210)의 포트매핑(PortMapping) 정보를 분석한다.(560단계) UPnP내부서버(230)의 내부IP 및 내부포트 정보가 변경되었으면 기존 포트매핑(Port Mapping) 정보를 삭제한 후 상기 변경된 내부IP 및 내부포트 정보를 등록하고(570단계), 내부IP 및 포트 정보가 존재하지 않으면 새로 내부IP 및 포트 정보를 추가한다.(580단계) The UPnP controller 234 analyzes the port mapping information of the UPnP router 210 (step 560). If the internal IP and the internal port information of the UPnP internal server 230 are changed, the existing port mapping information is changed. After the deletion, the registered internal IP and internal port information is registered (step 570). If the internal IP and port information do not exist, the internal IP and port information is newly added (step 580).

UPnP 콘트롤러(234)가 UPnP내부서버(210)의 내부IP와 내부포트정보의 변경으로 인한 포트매핑정보가 UPnP공유기(210)에 추가되면, 링크매니저(232)는 외부IP 및 외부포트정보를 링크서비스서버(220)에 등록한다.(590단계)When the UPnP controller 234 adds the port mapping information due to the change of the internal IP and internal port information of the UPnP internal server 210 to the UPnP router 210, the link manager 232 links the external IP and external port information. Register to the service server 220 (step 590).

도 6은 본 발명에 의한 내부서버로의 원격 연결 서비스를 이용하여 응용소프트웨어(예:세무회계 프로그램)가 저장된 휴대저장장치(USB)를 통해 별도의 프로그램을 설치할 필요없이 어디서나 UPnP 내부서버의 데이터를 접근할 수 있는 서비스를 제공하는 과정을 나타낸 것이다. 6 is a remote connection service to the internal server according to the present invention using the portable storage device (USB) in which the application software (for example, tax accounting program) is stored without having to install a separate program anywhere in the UPnP internal server data It shows the process of providing accessible services.

먼저 응용 소프트웨어 예를 들어 세무회계프로그램이 저장된 휴대저장장치(USB)가 준비되어 있어야 한다. 상기 휴대저장장치(USB)가 클라이언트장치(240)의 USB슬롯에 장착되어 상기 휴대저장장치에 저장된 시작프로그램이 실행되면, 링크서비스서버(220)는 상기 휴대저장장치의 유효성을 검사한다.(610단계)First, a portable storage device (USB) storing application software, such as a tax accounting program, must be prepared. When the portable storage device (USB) is mounted in the USB slot of the client device 240 and a startup program stored in the portable storage device is executed, the link service server 220 checks the validity of the portable storage device. step)

상기 휴대저장장치의 인증이 완료되면(620단계), 클라이언트 장치(240)의 USB링크 매니저(605)는 원격에서 외부 네트워크를 통해 UPnP내부서버(230)에 접속하기 위해 링크서비스서버(220)에 등록된 UPnP내부서버 리스트를 가져온다(630단계) 클라이언트 장치(240)의 USB링크 매니저(605)는 상기 UPnP내부서버 리스트로부터 UPnP공유기(210)의 외부IP와 외부 포트 정보를 획득한다.(640단계) 클라이언트 장치(240)는 획득된 UPnP공유기(210)의 외부IP와 외부 포트 정보를 이용하여 UPnP내부서버(230)과 연결한다.(650단계)When authentication of the portable storage device is completed (step 620), the USB link manager 605 of the client device 240 is connected to the link service server 220 to access the UPnP internal server 230 through a remote network from a remote location. Obtain the registered UPnP internal server list (step 630). The USB link manager 605 of the client device 240 obtains the external IP and external port information of the UPnP router 210 from the UPnP internal server list. The client device 240 connects to the UPnP internal server 230 using the obtained external IP and external port information of the UPnP router 210 (step 650).

도 7은 본 발명에 의한 내부서버로의 원격 연결 서비스를 이용하여 원격에서 UPnP 내부 서버의 전원을 ON/OFF 할 수 있는 WOL 기능을 위한 제어 과정을 나타낸 것이다. 이를 위해 WOL장치(250)는 UPnP 내부 서버(230)가 위치한 내부 네트워크 환경에 위치된다. WOL장치(250)는 라즈베리 파이를 이용하여 간단하게 구현될 수 있으며, 링크서비스서버(220)에 미리 등록되며, 최소한의 전력을 소모하면서 상시 전원이 켜져 있는 장치이다. 7 illustrates a control process for a WOL function that can remotely turn on / off the power of an UPnP internal server using a remote connection service to an internal server according to the present invention. To this end, the WOL device 250 is located in an internal network environment where the UPnP internal server 230 is located. The WOL device 250 can be simply implemented using the Raspberry Pi, and is registered in advance in the link service server 220, and is a device that is always powered on while consuming minimal power.

도 7을 참조하면, 링크서비스서버(220)가 클라이언트 장치의 사용자 단말(242)로부터 UPnP내부서버(230)의 전원 ON 요청을 받으면(710단계), UPnP공유기(210)를 통한 포트 포워딩(port forwarding)을 이용하여 UPnP를 지원하는 WOL장치(250)를 구현한 라즈베리파이 PC(252)에게 UPnP내부서버의 전원을 ON하게 하는 명령을 UPnP내부서버(230)에 장착된 LAN카드의 MAC주소와 함께 전달한다.(720단계) Referring to FIG. 7, when the link service server 220 receives a power ON request of the UPnP internal server 230 from the user terminal 242 of the client device (step 710), the port forwarding through the UPnP router 210 is performed. and the MAC address of the LAN card mounted on the UPnP internal server 230 to the Raspberry Pi PC 252 implementing the WOL device 250 supporting UPnP using the forwarding command. Deliver together (step 720).

라즈베리파이PC(252)는 UPnP내부서버의 LAN카드 MAC주소가 포함된, 전원을 ON하는 메시지를 멀티캐스트한다.(730단계) UPnP내부서버의 LAN카드는 상기 멀티캐스트 메시지를 수신하면, UPnP내부서버의 전원을 ON하는 신호를 UPnP내부서버로 전달하여 UPnP내부서버의 전원을 ON한다.The Raspberry Pi PC 252 multicasts a power-on message including the LAN card MAC address of the UPnP internal server. (Step 730) When the LAN card of the UPnP internal server receives the multicast message, Turns on the power of the UPnP internal server by transmitting the signal to turn on the server's power to the UPnP internal server.

그리고 클라이언트장치(240)는 원격에서 UPnP 내부서버(230)의 전원을 OFF 할 수도 있다. 이를 위해 UPnP 내부서버(230)로 구현된 서버PC(236)는 전원이 부팅될 때 서버PC(236)를 등록하여(740단계) 서버PC OFF 명령 통로로 사용할 수 있다.(750, 760 단계) 예를 들어, 클라이언트장치(240)의 사용자 단말(242)는 링크서비스서버(220)에게 UPnP 내부서버(230)의 전원을 OFF를 요청하면, 링크서비스서버(220)는 서버 PC(236)와 통신하여 내부PC(236)의 전원을 OFF 할 수 있다. The client device 240 may remotely turn off the power of the UPnP internal server 230. To this end, the server PC 236 implemented as the UPnP internal server 230 may register the server PC 236 when the power is booted (step 740) and use it as a server PC OFF command path (steps 750 and 760). For example, when the user terminal 242 of the client device 240 requests the link service server 220 to turn off the power of the UPnP internal server 230, the link service server 220 is connected to the server PC 236. By communicating, the power of the internal PC 236 can be turned off.

본 발명은 컴퓨터로 읽을 수 있는 기록 매체에 컴퓨터(정보 처리 기능을 갖는 장치를 모두 포함한다)가 읽을 수 있는 코드로서 구현될 수 있다. 컴퓨터가 읽을 수 있는 기록 매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록 장치를 포함한다. 컴퓨터가 읽을 수 있는 기록 장치의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광데이터 저장장치 등이 있다. 또한, 본 명세서에서, “부”는 프로세서 또는 회로와 같은 하드웨어 구성(hardware component), 및/또는 프로세서와 같은 하드웨어 구성에 의해 실행되는 소프트웨어 구성(software component)일 수 있다.The present invention can be embodied as code that can be read by a computer (including all devices having an information processing function) on a computer-readable recording medium. The computer-readable recording medium includes all kinds of recording devices in which data that can be read by a computer system is stored. Examples of computer-readable recording devices include ROM, RAM, CD-ROM, magnetic tape, floppy disks, optical data storage devices, and the like. Further, in this specification, “unit” may be a hardware component such as a processor or a circuit, and / or a software component executed by a hardware component such as a processor.

본 발명은 도면에 도시된 실시예를 참고로 설명되었으나 이는 예시적인 것에 불과하며, 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 등록청구범위의 기술적 사상에 의해 정해져야 할 것이다.Although the present invention has been described with reference to the embodiments shown in the drawings, this is merely exemplary, and it will be understood by those skilled in the art that various modifications and equivalent other embodiments are possible. Therefore, the true technical protection scope of the present invention will be defined by the technical spirit of the appended claims.

210 : UPnP공유기 220 : 링크서비스서버
230 : UPnP내부서버 232 : 링크 매니저
234 : UPnP 콘트롤러 236 : 서버 PC
240 : 클라이언트 장치 242 : 사용자 단말
250 : WOL 장치 252 : 라즈베리파이
260 : UPnP디바이스 300 : 포트 매핑 테이블
310 : 라우터 320, 330, 340 : 네트워크 디바이스
350 : 클라이언트 605 : USB 링크 매니저
210: UPnP Router 220: Link Service Server
230: UPnP internal server 232: link manager
234: UPnP Controller 236: Server PC
240: client device 242: user terminal
250 Wol device 252 Raspberry Pi
260: UPnP device 300: port mapping table
310: Router 320, 330, 340: Network Device
350: Client 605: USB Link Manager

Claims (10)

UPnP 장치인 UPnP내부서버가 내부 네트워크를 통해, UPnP를 지원하는 UPnP공유기와 연결되어 있고, 외부 네트워크를 통해 상기 UPnP공유기와 클라이언트 장치 및 링크서비스서버가 연결되어 있을 때, 상기 UPnP내부서버가 상기 UPnP공유기에 포트매핑정보를 등록하는 제1단계;
상기 UPnP내부서버가 상기 링크서비스서버에 상기 UPnP공유기의 외부IP(공인IP)와 외부포트 정보를 등록하는 제2단계;
상기 클라이언트 장치가 원격에서 상기 외부 네트워크를 통해 상기 UPnP내부서버에 접속하기 위해 상기 링크서비스서버로부터 상기 UPnP공유기의 외부IP와 외부포트 정보를 획득하는 제3단계;
상기 클라이언트 장치가 상기 획득한 UPnP공유기의 외부IP와 외부포트 정보를 이용하여 상기 외부 네트워크를 통해 상기 UPnP공유기에 접속하는 제4단계; 및
상기 UPnP공유기는 상기 포트매핑정보를 참조하여 상기 외부IP 및 외부포트정보와 매핑되어 있는 내부IP 및 내부포트 정보를 이용하여 상기 클라이언트 장치와 상기 UPnP내부서버를 연결하는 제5단계를 포함하고,
상기 UPnP공유기에 등록되어 있는 포트매핑정보는 상기 UPnP공유기의 외부IP 및 외부포트 정보가 상기 UPnP내부서버의 내부IP 및 내부포트 정보와 매핑되어 있고,
UPnP를 지원하며, 상기 링크서비스서버에 등록되어 있으며, 최소한의 전력을 소모하면서 상시 전원이 켜져 있는 WOL장치가 상기 UPnP 내부 서버가 위치한 내부 네트워크에 연결되어 있을 때, 상기 링크서비스서버가 상기 클라이언트 장치의 사용자 단말로부터 상기 UPnP내부서버의 전원 ON 요청을 받으면, 상기 링크 서비스 서버는 상기 UPnP공유기를 통한 포트 포워딩(port forwarding)을 이용하여 상기 WOL장치에게 상기 UPnP내부서버의 전원을 ON하게 하는 명령을 상기 UPnP내부서버에 장착된 LAN카드의 MAC주소와 함께 전달하는 단계;
상기 WOL 장치는 상기 UPnP내부서버의 LAN카드의 MAC주소가 포함된, 전원을 온(ON)하는 메시지를 멀티캐스트하는 단계; 및
상기 UPnP내부서버의 LAN카드는 상기 멀티캐스트 메시지를 수신하면, 상기 UPnP내부서버의 전원을 ON하는 신호를 상기 UPnP내부서버로 전달하여 UPnP내부서버의 전원을 온(ON)하는 단계를 더 포함하고,
상기 UPnP 내부서버는 전원이 부팅될 때 상기 UPnP 내부서버를 상기 링크서비스 서버에 등록하는 단계;
상기 클라이언트장치의 사용자 단말이 상기 링크서비스서버에게 상기 UPnP 내부서버의 전원 오프(OFF)를 요청하는 단계; 및
상기 링크서비스서버는 상기 UPnP 내부서버와 통신하여 상기 UPnP 내부서버의 전원을 오프(OFF)하는 단계를 더 포함하는 것을 특징으로 하는 UPnP를 이용한 내부 네트워크 서버의 원격 연결 서비스 방법.
When the UPnP internal server, which is a UPnP device, is connected to a UPnP router supporting UPnP through an internal network and the UPnP router is connected to a client device and a link service server through an external network, the UPnP internal server is connected to the UPnP router. Registering port mapping information with the router;
A second step of registering, by the UPnP internal server, external IP (authorized IP) and external port information of the UPnP router in the link service server;
Obtaining, by the client device, external IP and external port information of the UPnP router from the link service server to remotely access the UPnP internal server through the external network;
A fourth step of the client device accessing the UPnP router through the external network using the obtained external IP and external port information of the UPnP router; And
The UPnP router includes a fifth step of connecting the client device and the UPnP internal server using internal IP and internal port information mapped to the external IP and external port information with reference to the port mapping information.
In the port mapping information registered in the UPnP router, the external IP and external port information of the UPnP router are mapped to the internal IP and internal port information of the UPnP internal server.
When the WOL device that supports UPnP and is registered with the link service server and consumes minimal power and is always turned on is connected to the internal network where the UPnP internal server is located, the link service server is connected to the client device. When receiving the power-on request of the UPnP internal server from the user terminal of the, the link service server commands the WOL device to turn on the power of the UPnP internal server by using port forwarding through the UPnP router. Transmitting the MAC address of the LAN card installed in the UPnP internal server;
The WOL device multicasting a power-on message including a MAC address of a LAN card of the UPnP internal server; And
The LAN card of the UPnP internal server may further include turning on the power of the UPnP internal server by transmitting a signal for turning on the power of the UPnP internal server to the UPnP internal server when the multicast message is received. ,
Registering, by the UPnP internal server, the UPnP internal server to the link service server when the power is booted;
Requesting, by the user terminal of the client device, the link service server to power off the UPnP internal server; And
The link service server further comprises the step of turning off the power of the UPnP internal server by communicating with the UPnP internal server (remote connection service method of the internal network server using UPnP).
제1항에 있어서, 상기 제1 단계는
상기 UPnP내부서버가 링크매니저와 UPnP 콘트롤러를 구비할 때, 상기 링크매니저가 외부에 오픈할 UPnP내부서버 정보(내부 IP, 포트정보, MAC주소)를 상기 UPnP 콘트롤러에게 전달하는 단계;
UPnP 콘트롤러는 UPnP IGD(Internet Gateway Device)를 지원하는 공유기가 있는지를 체크하는 메시지를 내부 네트워크를 통해 멀티캐스트하는(UPnP Discover) 단계;
UPnP 콘트롤러는 상기 UPnP 콘트롤러의 멀티캐스트에 대한 응답을 UPnP공유기로부터 받으면, 상기 UPnP공유기를 제어할 수 있는 URL 정보(controlURL)를 상기 UPnP공유기로부터 가져오는 단계;
UPnP 콘트롤러는 상기 획득된 controlURL을 이용하여 상기 UPnP공유기의 외부 IP 및 포트매핑(PortMapping) 정보(외부IP&외부포트, 내부IP&내부포트)를 가져오는 단계; 및
UPnP콘트롤러는 상기 UPnP공유기의 포트매핑(PortMapping) 정보를 분석하여 UPnP내부서버의 내부IP 및 내부포트 정보가 변경되었으면 기존 PortMapping 정보를 삭제한 후 상기 변경된 내부IP 및 내부포트 정보를 등록하고, 내부IP 및 내부포트 정보가 존재하지 않으면 새로 내부IP 및 포트 정보를 추가하는 단계를 포함하는, UPnP를 이용한 내부 네트워크 서버의 원격 연결 서비스 방법.
The method of claim 1, wherein the first step
When the UPnP internal server includes a link manager and a UPnP controller, transmitting UPnP internal server information (internal IP, port information, and MAC address) to be opened to the UPnP controller by the link manager;
The UPnP controller multicasts a message for checking whether there is a router supporting an UPnP Internet Gateway Device (IGD) through an internal network (UPnP Discover);
When the UPnP controller receives a response to the multicast of the UPnP controller from the UPnP router, fetching URL information (controlURL) for controlling the UPnP router from the UPnP router;
Obtaining, by the UPnP controller, the external IP and port mapping information (external IP & external port, internal IP & internal port) of the UPnP router using the obtained controlURL; And
The UPnP controller analyzes the port mapping information of the UPnP router and if the internal IP and internal port information of the UPnP internal server is changed, deletes the existing PortMapping information and registers the changed internal IP and internal port information, and internal IP. And If the internal port information does not exist, adding a new internal IP and port information, remote connection service method of the internal network server using UPnP.
제2항에 있어서,
상기 UPnP 콘트롤러가 상기 UPnP내부서버의 내부IP와 내부포트정보의 변경으로 인한 포트매핑정보가 상기 UPnP공유기에 추가되면, 상기 링크매니저는 외부IP 및 외부포트정보를 상기 링크서비스서버에 등록하는 단계를 더 포함하는 것을 특징으로 하는 UPnP를 이용한 내부 네트워크 서버의 원격 연결 서비스 방법.
The method of claim 2,
When the UPnP controller adds port mapping information due to the change of the internal IP and internal port information of the UPnP internal server to the UPnP router, the link manager registers external IP and external port information with the link service server. Remote connection service method of the internal network server using UPnP, characterized in that it further comprises.
제1항에 있어서, 상기 제3단계는
응용소프트웨어가 저장된 휴대저장장치가 준비되는 단계;
상기 휴대저장장치에 저장된 시작프로그램이 실행되는 단계;
상기 휴대저장장치의 유효성을 검사하는 단계;
상기 휴대저장장치의 인증이 완료되면 클라이언트 장치는 원격에서 외부 네트워크를 통해 상기 UPnP내부서버에 접속하기 위해 상기 링크서비스서버에 등록된 UPnP내부서버 리스트를 가져오는 단계; 및
상기 클라이언트 장치는 상기 UPnP내부서버 리스트로부터 상기 UPnP공유기의 외부IP와 외부 포트 정보를 획득하는 단계를 포함하는 것을 특징으로 하는, UPnP를 이용한 내부 네트워크 서버의 원격 연결 서비스 방법.
The method of claim 1, wherein the third step
Preparing a portable storage device storing application software;
Executing a startup program stored in the portable storage device;
Checking the validity of the portable storage device;
When the authentication of the portable storage device is completed, bringing up a list of UPnP internal servers registered in the link service server to access the UPnP internal server remotely from an external network; And
The client device comprises the step of obtaining the external IP and external port information of the UPnP router from the list of the UPnP internal server, remote connection service method of the internal network server using UPnP.
삭제delete UPnP를 지원하며, 포트매핑정보를 저장하고 있는 UPnP공유기;
외부 네트워크를 통해 상기 UPnP 공유기와 연결되는 링크서비스 서버;
UPnP 장치로서 내부 네트워크를 통해 상기 UPnP공유기와 연결되고, 상기 UPnP공유기에 상기 포트매핑정보를 등록하고, 상기 링크서비스서버에 상기 UPnP공유기의 외부IP(공인IP)와 외부 포트 정보를 등록하는 UPnP내부서버;
UPnP를 지원하며, 상기 UPnP 내부 서버가 위치한 내부 네트워크에 연결되어 있고, 상기 링크서비스서버에 등록되어 있으며, 최소한의 전력을 소모하면서 상시 전원이 켜져 있는 WOL장치; 및
외부 네트워크를 통해 상기 UPnP공유기와 연결되고, 원격에서 상기 외부 네트워크를 통해 상기 UPnP내부서버에 접속하기 위해 상기 링크서비스서버로부터 상기 UPnP공유기의 외부IP와 외부포트 정보를 획득하여 UPnP공유기의 외부IP와 외부 포트 정보를 이용하여 상기 외부 네트워크를 통해 상기 UPnP공유기에 접속하는 클라이언트 장치를 포함하고,
상기 UPnP공유기는 상기 포트매핑정보를 참조하여 상기 클라이언트 장치의 외부IP 및 외부포트정보와 매핑되어 있는 내부IP 및 내부포트정보를 이용하여 상기 클라이언트 장치와 상기 UPnP내부서버를 연결하고,
상기 UPnP공유기에 저장되어 있는 포트매핑정보는 상기 UPnP공유기의 외부IP와 외부포트 정보가 상기 UPnP내부서버의 내부IP와 내부포트 정보와 매핑되는 정보이고,
상기 링크서비스 서버가 상기 클라이언트 장치의 사용자 단말로부터 상기 UPnP내부서버의 전원 ON 요청을 받으면, 상기 링크서비스 서버는 상기 UPnP공유기를 통한 포트 포워딩(port forwarding)을 이용하여 상기 WOL장치에게 상기 UPnP내부서버의 전원을 온(ON)하게 하는 명령을 상기 UPnP내부서버에 장착된 LAN카드의 MAC주소와 함께 전달하고, 상기 WOL 장치는 상기 UPnP내부서버의 LAN카드의 MAC주소가 포함된, 전원을 ON하는 메시지를 멀티캐스트하고, UPnP내부서버의 LAN카드는 상기 멀티캐스트 메시지를 수신하면, 상기 UPnP내부서버의 전원을 ON하는 신호를 상기 UPnP내부서버로 전달하여 UPnP내부서버의 전원을 온(ON)하고,
상기 UPnP 내부서버는 전원이 부팅될 때 상기 UPnP 내부서버를 상기 링크서비스 서버에 등록하고, 상기 클라이언트장치의 사용자 단말이 상기 링크서비스서버에게 상기 UPnP 내부서버의 전원 오프(OFF)를 요청하면 상기 링크서비스서버는 상기 UPnP 내부서버와 통신하여 상기 UPnP 내부서버의 전원을 오프(OFF)하는 것을 특징으로 하는 UPnP를 이용한 내부 네트워크 서버의 원격 연결 서비스 시스템.
A UPnP router supporting UPnP and storing port mapping information;
A link service server connected to the UPnP router through an external network;
UPnP internal, which is connected to the UPnP router through an internal network as a UPnP device, registers the port mapping information to the UPnP router, and registers the external IP (authorized IP) and external port information of the UPnP router to the link service server. server;
A WOL device supporting UPnP, connected to an internal network in which the UPnP internal server is located, registered in the link service server, and always powered on with minimal power consumption; And
It is connected to the UPnP router through an external network, and obtains the external IP and external port information of the UPnP router from the link service server to access the UPnP internal server through the external network from a remote network. A client device accessing the UPnP router through the external network using external port information;
The UPnP router connects the client device to the UPnP internal server using internal IP and internal port information mapped to external IP and external port information of the client device with reference to the port mapping information.
The port mapping information stored in the UPnP router is information in which the external IP and the external port information of the UPnP router are mapped to the internal IP and internal port information of the UPnP internal server.
When the link service server receives the power-on request of the UPnP internal server from the user terminal of the client device, the link service server sends the UPnP internal server to the WOL device by using port forwarding through the UPnP router. A command for turning on the power of the device is transmitted together with the MAC address of the LAN card mounted on the UPnP internal server, and the WOL device includes the MAC address of the LAN card of the UPnP internal server. When the multicast message is received and the LAN card of the UPnP internal server receives the multicast message, the UPnP internal server transmits a signal for turning on the power of the UPnP internal server to the UPnP internal server to turn on the power of the UPnP internal server. ,
The UPnP internal server registers the UPnP internal server to the link service server when the power is booted, and when the user terminal of the client device requests the link service server to turn off the UPnP internal server, the link is activated. The service server communicates with the UPnP internal server to turn off the power of the UPnP internal server. The remote connection service system of the internal network server using UPnP.
제6항에 있어서, 상기 UPnP내부서버는
UPnP 콘트롤러; 및
외부에 오픈할 UPnP내부서버 정보(내부 IP, 포트정보, MAC주소)를 상기 UPnP 콘트롤러에게 전달하는 링크매니저를 포함하고,
UPnP 콘트롤러는 UPnP IGD(Internet Gateway Device)를 지원하는 UPnP 공유기가 있는지를 체크하는 메시지를 내부 네트워크를 통해 멀티캐스트하고(UPnP Discover), 상기 UPnP 콘트롤러의 멀티캐스트에 대한 응답을 UPnP공유기로부터 받으면, 상기 UPnP공유기를 제어할 수 있는 URL 정보(controlURL)를 상기 UPnP공유기로부터 획득하고, 상기 controlURL을 이용하여 상기 UPnP공유기의 외부 IP 및 포트매핑(PortMapping) 정보(외부IP&외부포트, 내부IP&내부포트)를 가져오고, 상기 UPnP공유기의 포트매핑(PortMapping) 정보를 분석하여 UPnP내부서버의 내부IP 및 내부포트 정보가 변경되었으면 기존 PortMapping 정보를 삭제한 후 상기 변경된 내부IP 및 내부포트 정보를 등록하고, 내부IP 및 내부포트 정보가 존재하지 않으면 새로 내부IP 및 포트 정보를 추가하는 것을 특징으로 하는, UPnP를 이용한 내부 네트워크 서버의 원격 연결 서비스 시스템.
The method of claim 6, wherein the UPnP internal server is
UPnP controller; And
It includes a link manager for transmitting the UPnP internal server information (internal IP, port information, MAC address) to be opened to the UPnP controller,
The UPnP controller multicasts a message for checking whether there is a UPnP router supporting UPnP IGD (Internet Gateway Device) through the internal network (UPnP Discover), and when receiving a response from the UPnP router for the multicast of the UPnP controller, Obtain the URL information (controlURL) that can control the UPnP router from the UPnP router, and obtain the external IP and port mapping information (external IP & external port, internal IP & internal port) of the UPnP router using the controlURL. Import and analyze the port mapping information of the UPnP router, and if the internal IP and internal port information of the UPnP internal server is changed, delete the existing PortMapping information and then register the changed internal IP and internal port information, and internal IP. And if the internal port information does not exist, the internal network using UPnP, which adds the internal IP and port information newly. Remote connection service system on the network server.
제7항에 있어서, 상기 링크매니저는
상기 UPnP 콘트롤러가 상기 UPnP내부서버의 내부IP와 내부포트정보의 변경으로 인한 포트매핑정보가 상기 UPnP공유기에 추가되면, 외부IP 및 외부포트정보를 상기 링크서비스서버에 등록하는 것을 특징으로 하는 UPnP를 이용한 내부 네트워크 서버의 원격 연결 서비스 시스템.
The method of claim 7, wherein the link manager
When the UPnP controller adds the port mapping information due to the change of the internal IP and internal port information of the UPnP internal server to the UPnP router, the UPnP controller registers the external IP and external port information in the link service server. Remote connection service system of internal network server.
제6항에 있어서,
응용소프트웨어가 저장된 휴대저장장치를 더 포함하고,
상기 링크서비스 서버는
상기 휴대저장장치가 상기 클라이언트 장치에 장착되어 상기 휴대저장장치에 저장된 시작프로그램이 실행되면, 상기 휴대저장장치의 유효성을 검사하고,
상기 클라이언트 장치는
상기 휴대저장장치의 인증이 완료되면 원격에서 외부 네트워크를 통해 상기 UPnP내부서버에 접속하기 위해 상기 링크서비스서버에 등록된 UPnP내부서버 리스트를 가져와서, 상기 UPnP내부서버 리스트로부터 상기 UPnP공유기의 외부IP와 외부 포트 정보를 획득하는 것을 특징으로 하는, UPnP를 이용한 내부 네트워크 서버의 원격 연결 서비스 시스템.
The method of claim 6,
It further comprises a portable storage device stored application software,
The link service server
When the portable storage device is mounted on the client device and a startup program stored in the portable storage device is executed, the validity of the portable storage device is checked.
The client device
After the authentication of the portable storage device is completed, a list of UPnP internal servers registered in the link service server is obtained to access the UPnP internal server through an external network remotely, and the external IP of the UPnP router is obtained from the UPnP internal server list. And external port information, the remote connection service system of the internal network server using UPnP.
삭제delete
KR1020190026419A 2019-03-07 2019-03-07 Method and system for remotely connecting server in internal network using UPnP KR102032677B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190026419A KR102032677B1 (en) 2019-03-07 2019-03-07 Method and system for remotely connecting server in internal network using UPnP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190026419A KR102032677B1 (en) 2019-03-07 2019-03-07 Method and system for remotely connecting server in internal network using UPnP

Publications (1)

Publication Number Publication Date
KR102032677B1 true KR102032677B1 (en) 2019-10-15

Family

ID=68209347

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190026419A KR102032677B1 (en) 2019-03-07 2019-03-07 Method and system for remotely connecting server in internal network using UPnP

Country Status (1)

Country Link
KR (1) KR102032677B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102429832B1 (en) 2022-03-23 2022-08-08 주식회사 데이터시스 Method, device and system for providing remote access service based on analysis of network environment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050094286A (en) * 2004-03-22 2005-09-27 엘지전자 주식회사 Upnp device controlling method using internet
KR101260737B1 (en) * 2011-09-09 2013-05-06 (주)엠아이웨어 System for remote access
KR101624645B1 (en) 2008-03-20 2016-05-26 삼성전자주식회사 UPnP apparatus for providing remote access service and method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050094286A (en) * 2004-03-22 2005-09-27 엘지전자 주식회사 Upnp device controlling method using internet
KR101624645B1 (en) 2008-03-20 2016-05-26 삼성전자주식회사 UPnP apparatus for providing remote access service and method thereof
KR101260737B1 (en) * 2011-09-09 2013-05-06 (주)엠아이웨어 System for remote access

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102429832B1 (en) 2022-03-23 2022-08-08 주식회사 데이터시스 Method, device and system for providing remote access service based on analysis of network environment

Similar Documents

Publication Publication Date Title
US10791152B2 (en) Automatic communications between networked devices such as televisions and mobile devices
US7827252B2 (en) Network device management
US11075821B2 (en) Method and apparatus for managing field device based on cloud server
EP1760950B1 (en) A method for distributing the service according to the type of the terminal
US9923978B2 (en) Automated network service discovery and communication
JP5318111B2 (en) Various methods and apparatus for a central management station for automatically distributing configuration information to remote devices
US7685288B2 (en) Ad-hoc service discovery protocol
KR101410927B1 (en) Method and system for remote access to universal plug and play devices
JP3953508B2 (en) Server for routing connections to client devices
CA2530343C (en) System for the internet connections, and server for routing connections to a client machine
US20070101323A1 (en) Automatic virtual machine adjustments to network changes
US8176529B2 (en) Apparatus and method for controlling devices in one or more home networks
US20130179593A1 (en) Cloud computing controlled gateway for communication networks
US20160227265A1 (en) Discovery, access control, and communication with networked services
JP2006086703A (en) Access controller, program and remote actuating method of terminal
WO2016202056A1 (en) Home network service sharing method and apparatus
KR100906677B1 (en) Secure remote access system and method for universal plug and play
KR20120132206A (en) Server connectiong method, information providng method of device and device applying the same, Cloud Computing Network system and operation method thereof
KR102032677B1 (en) Method and system for remotely connecting server in internal network using UPnP
JP2005142702A (en) Network access gateway, network access gateway control method, and program
TWI537744B (en) Private cloud routing server, private network service and smart device client architecture without utilizing a public cloud based routing server
US10805260B2 (en) Method for transmitting at least one IP data packet, related system and computer program product
WO2015059128A1 (en) A forwarder selection protocol for a network and a respective cpe device
KR20060001550A (en) Upnp device controlling method using internet
JP6002642B2 (en) Communication node, network system, and device control method

Legal Events

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