KR101651640B1 - Method for remote access in universal plug and play network - Google Patents

Method for remote access in universal plug and play network Download PDF

Info

Publication number
KR101651640B1
KR101651640B1 KR1020090096459A KR20090096459A KR101651640B1 KR 101651640 B1 KR101651640 B1 KR 101651640B1 KR 1020090096459 A KR1020090096459 A KR 1020090096459A KR 20090096459 A KR20090096459 A KR 20090096459A KR 101651640 B1 KR101651640 B1 KR 101651640B1
Authority
KR
South Korea
Prior art keywords
upnp
server
terminal
message
address
Prior art date
Application number
KR1020090096459A
Other languages
Korean (ko)
Other versions
KR20110039142A (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 KR1020090096459A priority Critical patent/KR101651640B1/en
Publication of KR20110039142A publication Critical patent/KR20110039142A/en
Application granted granted Critical
Publication of KR101651640B1 publication Critical patent/KR101651640B1/en

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

UPnP 네트워크간의 원격 접속 방법은 서버가 제1 UPnP 단말로부터 제1 UPnP 단말이 가용 상태임을 알리는 제1 메시지를 수신하고, 제1 메시지에 따라 클라이언트로 또는 제2 UPnP 단말로부터 제1 UPnP 단말에 대한 정보 공유 요청을 대신 수신하기 위한 포트를 할당하기 위한 소켓을 생성하며, 서버의 IP 주소 및 소켓의 포트 번호를 포함하는 원격단말추가 호출을 클라이언트로 전달하는 단계를 포함한다.

Figure R1020090096459

UPnP, 원격 접속, IP, 게이트웨이

The remote access method between the UPnP network includes receiving a first message from the first UPnP terminal indicating that the first UPnP terminal is available and transmitting the first information from the second UPnP terminal to the client according to the first message, Generating a socket for allocating a port for receiving the sharing request instead of sending a remote terminal addition call including the IP address of the server and the port number of the socket to the client.

Figure R1020090096459

UPnP, remote access, IP, gateway

Description

범용 플러그 앤 플레이 네트워크에서의 원격 접속 방법{METHOD FOR REMOTE ACCESS IN UNIVERSAL PLUG AND PLAY NETWORK}METHOD FOR REMOTE ACCESS IN UNIVERSAL PLUG AND PLAY NETWORK [0001]

본 발명은 범용 플러그 앤 플레이 네트워크(Universal Plug and Play Network, 이하에서는 'UPnP 네트워크'라고도 함)에서의 원격 접속 방법에 관한 것이다. 특히 본 발명은 UPnP 네트워크에서 원격의 디바이스에게 서비스를 제공하기 위한 원격 접속 방법에 관한 것이다.The present invention relates to a remote access method in a universal plug and play network (hereinafter also referred to as a " UPnP network "). In particular, the present invention relates to a remote access method for providing a service to a remote device in a UPnP network.

범용 플러그 앤 플레이(Universal Plug and Play, 이하에서는 'UPnP'라고도 함) 프로토콜은 일반적으로 홈 네트워크 내에 위치한 장치들간의 통신에 사용되는 인터넷 프로토콜(Internet Protocol, 이하에서는 'IP'라고도 함) 기반의 표준 프로토콜 기술이다.Universal Plug and Play (hereinafter, also referred to as UPnP) protocol is a standard based on Internet Protocol (hereinafter, also referred to as 'IP') used for communication between devices located in a home network Protocol technology.

특히, 장치들간의 미디어 컨텐츠 공유를 위해 제정된 UPnP 오디오/비디오(Audio/Video, 이하에서는 'AV'라고도 함) 구조에 따르면 홈 네트워크 내에 위치한 장치들은 미디어 컨텐츠(media contents)를 저장하고 공급해주는 미디어 서버(Media Server), 미디어 컨텐츠를 플레이(play)하는 미디어 렌더러(Media Renderer), 미디어 서버와 미디어 렌더러간의 미디어 스트림을 제어하고 사용자 인 터페이스(User Interface, 이하에서는 'UI'라고도 함)를 제공하는 컨트롤 포인트(Control Point)로 구분할 수 있다. 이를 통해 사용자는 홈 네트워크 상에서 미디어 서버에 저장된 컨텐츠를 컨트롤 포인트와의 인터페이스를 통해 미디어 렌더러로 플레이 시킬 수 있다.In particular, according to the UPnP audio / video (hereinafter, also referred to as 'AV') structure established for sharing media contents between devices, devices located in a home network can store media contents A media renderer that plays media content, a media stream that controls a media stream between a media server and a media renderer, and a user interface (UI) (Control points). Through this, the user can play content stored in the media server on the home network as a media renderer through an interface with the control point.

예를 들어 사용자는 휴대단말을 컨트롤 포인트로 활용하여 미디어 서버인 개인용 컴퓨터(Personal Computer, 이하에서는 'PC'라고도 함)에 저장된 동영상을 미디어 렌더러인 셋톱 박스(settop box)로 전송하여 텔레비전(TV)를 통해 감상할 수 있다.For example, a user can use a portable terminal as a control point to transmit a moving picture stored in a personal computer (PC), which is a media server, to a settop box as a media renderer, .

또한 UPnP 원격 접속(Remote Access, 이하에서는 'RA'라고도 함) 구조는 홈 네트워크의 외부에 위치한 원격 디바이스가 홈 네트워크 내부의 디바이스와 동일한 서비스를 제공받을 수 있도록 한다.In addition, the UPnP remote access (hereinafter also referred to as 'RA') structure allows a remote device located outside the home network to receive the same service as a device in the home network.

UPnP RA 구조에 따르면 홈 네트워크 내부에는 원격 접속 서버(Remote Access Server, 이하에서는 'RAS'라고도 함) 기능이 필요하고 원격 디바이스에는 원격 접속 클라이언트(Remote Access Client, 이하에서는 'RAC'라고도 함) 기능이 필요하다. RAC 기능을 수행하는 원격 디바이스는 홈 네트워크에 위치한 RAS로의 접속을 통해 홈 네트워크 내에 위치한 UPnP 디바이스들의 서비스를 제공받을 수 있다.According to the UPnP RA structure, a function of a remote access server (hereinafter referred to as 'RAS') is required in the home network and a function of a remote access client (hereinafter referred to as 'RAC' need. The remote device performing the RAC function can receive the service of the UPnP devices located in the home network through the connection to the RAS located in the home network.

또한, UPnP RA 구조에서는 RAC 기능을 수행하는 원격 디바이스가 속한 로컬 네트워크 상의 임의의 UPnP 디바이스가 원격지에 위치한 홈 네트워크 내의 UPnP 디바이스의 서비스를 제공받을 수 있도록 하고 있다.Also, in the UPnP RA structure, an arbitrary UPnP device on a local network to which a remote device performing a RAC function belongs can receive a service of a UPnP device in a home network located at a remote location.

예를 들어 RAC 기능을 수행하는 원격 디바이스가 제1 홈 네트워크에 위치하 고, RAS가 제2 홈 네트워크에 위치하는 경우, 원격 디바이스가 속한 제1 홈 네트워크 내의 임의의 UPnP 디바이스는 RAS를 통해 제2 홈 네트워크에 위치하는 미디어 서버의 영상 컨텐츠를 검색하고 스트리밍 형태로 재생시킬 수 있다.For example, if the remote device performing the RAC function is located in the first home network and the RAS is located in the second home network, any UPnP device in the first home network to which the remote device belongs, The image contents of the media server located in the home network can be retrieved and reproduced in a streaming form.

그러나 제1 홈 네트워크 및 제2 홈 네트워크가 동일한 사설 인터넷 프로토콜(Internet Protocol, 이하에서는 'IP'라고도 함) 주소 대역을 활용하는 경우, 제1 홈 네트워크의 디바이스들과 제2 홈 네트워크의 디바이스들간의 IP 주소가 충돌하여 정상적인 통신이 이루어지지 못하는 경우가 발생할 수 있다.However, when the first home network and the second home network utilize the same Internet Protocol (IP) address band, the devices of the first home network and the devices of the second home network There is a possibility that the normal communication can not be performed due to the collision of the IP addresses.

본 발명이 이루고자 하는 기술적 과제는 사설망으로 구성된 UPnP 네트워크간의 원격 접속 시 IP주소가 충돌하는 것을 방지하기 위한 원격 접속 방법을 제공하는 것이다.Disclosure of Invention Technical Problem [8] The present invention provides a remote access method for preventing IP addresses from colliding with each other when remotely accessing a UPnP network constituted by a private network.

본 발명의 특징에 따른 UPnP 네트워크에서의 원격 접속 방법은 제1 UPnP 네트워크와 제2 UPnP 네트워크간의 원격 접속 방법으로써, 서버가 제1 UPnP 단말로부터 제1 UPnP 단말이 가용 상태임을 알리는 제1 메시지를 수신하는 단계, 서버가 제1 메시지에 따라 클라이언트 또는 제2 UPnP 단말로부터 제1 UPnP 단말에 대한 정보 공유 요청을 대신 수신하기 위한 포트를 할당하기 위한 소켓을 생성하는 단계, 그리고 서버가 서버의 인터넷 프로토콜 IP 주소 및 소켓의 포트 번호를 포함하는 원격단말추가 호출을 클라이언트로 전달하는 단계를 포함한다.A remote access method in a UPnP network according to an aspect of the present invention is a method of remote access between a first UPnP network and a second UPnP network, wherein the server receives a first message from the first UPnP terminal indicating that the first UPnP terminal is available Generating a socket for allocating a port for receiving an information sharing request for a first UPnP terminal from a client or a second UPnP terminal instead of a server according to a first message, Address and a port number of the socket to the client.

본 발명의 특징에 따르면, 사설망으로 구성된 UPnP 네트워크간의 원격 접속 시 IP주소가 충돌하는 것을 방지함으로써, UPnP 네트워크의 내부의 UPnP 장치가 제공하는 서비스를 UPnP 네트워크의 외부의 UPnP 장치에게 제공할 수 있다.According to an aspect of the present invention, it is possible to provide a service provided by a UPnP device in the UPnP network to a UPnP device outside the UPnP network by preventing IP addresses from colliding with each other during a remote connection between UPnP networks constituted by a private network.

아래에서는 첨부한 도면을 참고로 하여 본 발명의 실시예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시예에 한정되지 않는다. 그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily carry out the present invention. The present invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. In order to clearly illustrate the present invention, parts not related to the description are omitted, and similar parts are denoted by like reference characters throughout the specification.

명세서 전체에서, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다.Throughout the specification, when an element is referred to as "comprising ", it means that it can include other elements as well, without excluding other elements unless specifically stated otherwise.

이제 도면을 참고하여 본 발명의 실시예에 따른 범용 플러그 앤 플레이 네트워크(Universal Plug and Play Network, 이하에서는 'UPnP 네트워크'라고도 함)에서의 원격 접속 방법에 대해 설명한다.A remote access method in a universal plug and play network (hereinafter also referred to as a " UPnP network ") according to an embodiment of the present invention will be described with reference to the drawings.

먼저 도 1을 참고하여 본 발명의 실시예에 따른 UPnP 네트워크간의 원격 접속을 위한 네트워크 시스템에 대해 설명한다.First, a network system for remote access between UPnP networks according to an embodiment of the present invention will be described with reference to FIG.

도 1은 본 발명의 실시예에 따른 네트워크 시스템의 구성을 도시한 도면이 다.FIG. 1 is a diagram showing a configuration of a network system according to an embodiment of the present invention.

도 1에 도시된 바와 같이, 네트워크 시스템은 인터넷(10)을 통해 통신하는 제1 UPnP 네트워크(100) 및 제2 UPnP 네트워크(200)을 포함한다. 이때 네트워크 시스템은 제1 UPnP 네트워크(100) 및 제2 UPnP 네트워크(200)의 각각의 공인 인터넷 프로토콜 주소(Internet Protocol Address, 이하에서는 'IP주소'라고도 함)를 관리하는 프록시 서버(20)를 더 포함할 수 있다.As shown in FIG. 1, the network system includes a first UPnP network 100 and a second UPnP network 200 that communicate via the Internet 10. At this time, the network system further includes a proxy server 20 for managing a public Internet Protocol address (IP address) of each of the first UPnP network 100 and the second UPnP network 200 .

제1 UPnP 네트워크(100)는 범용 플러그 앤 플레이 단말(Universal Plug and Play Device, 이하에서는 'UPnP 단말'이라고도 함)(110) 및 원격 접속 클라이언트(Remote Access Client, 이하에서는 'RAC'라고도 함)(130)를 포함한다.The first UPnP network 100 includes a universal plug and play device 110 and a remote access client (hereinafter, also referred to as RAC) 130).

제2 UPnP 네트워크(200)는 원격 접속 서버(Remote Access Server, 이하에서는 'RAS'라고도 함)(210) 및 미디어 서버(230)를 포함한다.The second UPnP network 200 includes a remote access server (RAS) 210 and a media server 230.

원격 접속 클라이언트(130) 및 원격 접속 서버(210)는 제1 UPnP 네트워크(100)와 제2 UPnP 네트워크(200)간의 원격 접속을 지원하는 장치이며, 원격 접속 클라이언트(130)와 원격 접속 서버(210)간의 통신은 공인 IP주소를 통해 이루어진다. 이때 원격 접속 클라이언트(130) 및 원격 접속 서버(210)는 홈 게이트웨이(home gateway)에 해당할 수 있다.The remote access client 130 and the remote access server 210 support a remote connection between the first UPnP network 100 and the second UPnP network 200. The remote access client 130 and the remote access server 210 ) Is made through a public IP address. At this time, the remote access client 130 and the remote access server 210 may correspond to a home gateway.

UPnP 단말(110)는 원격 접속 클라이언트(130)와 원격 접속 서버(210)를 통해 미디어 서버(230)에 원격 접속하여 원격 접속 서비스를 제공받는다. 이때 UPnP 단말(110)는 사설 IP주소를 가질 수 있으며, 할당된 사설 IP주소를 이용하여 원격 접속 클라이언트(130)와 통신할 수 있다.The UPnP terminal 110 remotely accesses the media server 230 through the remote access client 130 and the remote access server 210 to receive the remote access service. At this time, the UPnP terminal 110 may have a private IP address and may communicate with the remote access client 130 using the assigned private IP address.

미디어 서버(230)는 미디어 컨텐츠 파일을 저장하며, UPnP 단말(110)의 요청에 따라 미디어 컨텐츠 파일을 원격 접속 서버(210) 및 원격 접속 클라이언트(130)를 통해 UPnP 단말(110)로 전송한다. 이때 미디어 서버(230)는 사설 IP주소를 가질 수 있으며, 할당된 사설 IP주소를 이용하여 원격 접속 서버(210)와 통신할 수 있다.The media server 230 stores the media content file and transmits the media content file to the UPnP terminal 110 through the remote access server 210 and the remote access client 130 according to the request of the UPnP terminal 110. At this time, the media server 230 may have a private IP address and may communicate with the remote access server 210 using the assigned private IP address.

다음은 도 2를 참고하여 본 발명의 실시예에 따른 UPnP 네트워크간의 원격 접속 방법에 대해 설명한다.Next, a remote access method between UPnP networks according to an embodiment of the present invention will be described with reference to FIG.

도 2는 본 발명의 실시예에 따른 UPnP 네트워크간 원격 접속 방법을 도시한 도면이다.2 is a diagram illustrating a remote access method between UPnP networks according to an embodiment of the present invention.

도 2에 도시된 바와 같이, 먼저, 원격 접속 클라이언트(130)는 제1 UPnP 네트워크(100)의 사용자 아이디 및 패스워드, 그리고 원격 접속 클라이언트(130)의 공인 IP주소를 포함하는 제1 세션생성요청 메시지를 프록시 서버(20)로 전송한다(S101).2, the remote access client 130 receives a first session creation request message including a user ID and a password of the first UPnP network 100 and a public IP address of the remote access client 130, To the proxy server 20 (S101).

원격 접속 서버(210)는 제2 UPnP 네트워크(200)의 사용자 아이디 및 패스워드, 그리고 원격 접속 서버(210)의 공인 IP주소를 포함하는 제2 세션생성요청 메시지를 프록시 서버(20)로 전송한다(S103).The remote access server 210 transmits a second session creation request message including the user ID and password of the second UPnP network 200 and the public IP address of the remote access server 210 to the proxy server 20 S103).

다음, 프록시 서버(20)는 제1 세션생성요청 메시지 및 제2 세션생성요청 메시지에 따라 원격 접속 클라이언트(130) 및 원격 접속 서버(210)의 각각의 세션 정보를 생성한다(S105). 이때 제1 세션생성요청 메시지에 의해 생성된 세션 정보는 제1 UPnP 네트워크(100)의 사용자 아이디 및 공인 IP주소를 포함하며, 제2 세션생 성요청 메시지에 의해 생성된 세션 정보는 제2 UPnP 네트워크(200)의 사용자 아이디 및 공인 IP주소를 포함한다.Next, the proxy server 20 generates session information of each of the remote access client 130 and the remote access server 210 according to the first session creation request message and the second session creation request message (S105). At this time, the session information generated by the first session creation request message includes the user ID and the public IP address of the first UPnP network 100, and the session information generated by the second session creation request message is included in the second UPnP network 100. [ The user ID and public IP address of the mobile terminal 200.

이후, 미디어 서버(230)는 단순 서비스 발견 프로토콜(Simple Service Discovery Protocol, 이하에서는 'SSDP'라고도 함)에 따라 미디어 서버(230)가 가용 상태임을 알리는 제1 SSDP 메시지를 원격 접속 서버(210)로 전송한다(S107). 이때 제1 SSDP 메시지의 필드값은 "ssdp:alive"에 해당한다.The media server 230 then transmits a first SSDP message to the remote access server 210 indicating that the media server 230 is available according to a Simple Service Discovery Protocol (hereinafter, also referred to as 'SSDP') (S107). At this time, the field value of the first SSDP message corresponds to "ssdp: alive ".

다음, 원격 접속 서버(210)는 제1 SSDP 메시지에 따라 원격단말추가(AddRemoteDevice) 호출을 프록시 서버(20)로 전송한다(S109).Next, the remote access server 210 transmits a remote terminal add (AddRemoteDevice) call to the proxy server 20 according to the first SSDP message (S109).

이후, 프록시 서버(20)는 생성된 세션 정보를 참조하여 원격 접속 서버(210)로부터 수신된 원격단말추가(AddRemoteDevice) 호출을 원격 접속 클라이언트(130)로 전달한다(S111). 이때 프록시 서버(20)는 각 세션의 사용자 아이디를 이용하여 원격단말추가 호출을 전달해야 할지 여부를 판단할 수 있으며, 세션 정보에 등록된 공인 IP주소를 목적지의 IP주소로 활용하여 전달할 수 있다.Thereafter, the proxy server 20 refers to the generated session information and transfers the AddRemoteDevice call received from the remote access server 210 to the remote access client 130 (S111). At this time, the proxy server 20 can determine whether to transmit the remote terminal addition call using the user ID of each session, and can use the public IP address registered in the session information as the IP address of the destination.

예를 들어, 원격 접속 서버(210)로부터 원격단말추가 호출이 수신된 경우, 프록시 서버(20)는 제2 세션생성요청 메시지를 바탕으로 생성된 세션 정보를 조회하여 제2 UPnP 네트워크(200)의 사용자 아이디를 확인한다. 다음, 프록시 서버(20)는 세션 정보들 중에서 동일한 사용자 아이디를 포함하거나 외부 데이터 베이스와 같은 별도의 수단을 통해 공유 관계가 지정된 사용자 아이디를 포함하고 있는 세션 정보들을 검색한다. 이후, 프록시 서버(20)는 검색된 세션들에 포함된 공인 IP주소를 목적지 IP주소로 지정하여 원격단말추가 호출을 전달한다. 도 2에서는 프록시 서버(20)가 원격 접속 서버(210)로부터 전달된 원격단말추가 호출을 원격 접속 클라이언트(130)로 전달하는 예를 보여주고 있다. 이와 같은 과정을 통해 원격 접속 클라이언트(130)는 제2 UPnP 네트워크(200)에 존재하는 미디어 서버(230)의 정보를 알 수 있게 된다. 이때 원격 접속 서버(210)가 원격 접속 클라이언트(130)의 공인 IP주소 및 공유 대상인지 여부를 사용자 설정과 같은 수단을 통해 확인할 수 있다면 프록시 서버(20)를 경유하지 않고 직접 원격 접속 클라이언트(130)로 원격단말추가 호출을 전달할 수도 있다.For example, when a remote terminal addition call is received from the remote access server 210, the proxy server 20 inquires of the session information generated based on the second session creation request message and transmits the session information to the second UPnP network 200 Check the user ID. Next, the proxy server 20 searches for session information including the same user ID in the session information or a user ID for which a shared relationship is specified through a separate means such as an external database. Then, the proxy server 20 designates the public IP address included in the searched sessions as the destination IP address, and delivers the remote terminal add call. 2 shows an example in which the proxy server 20 transmits a remote terminal addition call transmitted from the remote access server 210 to the remote access client 130. [ Through the above process, the remote access client 130 can know the information of the media server 230 existing in the second UPnP network 200. If the remote access server 210 can confirm the public IP address and the shared IP address of the remote access client 130 through means such as user setting, the remote access client 130 can directly access the remote access client 130 without passing through the proxy server 20. [ Lt; RTI ID = 0.0 > remote terminal < / RTI >

다음, 원격 접속 클라이언트(130)는 전달된 원격단말추가(AddRemoteDevice) 호출에 포함된 정보를 바탕으로 제1 SSDP 메시지에 대응하는 제2 SSDP 메시지를 생성한다(S113). 이때 제2 SSDP 메시지는 제1 SSDP 메시지와 동일한 정보를 포함한다.Next, the remote access client 130 generates a second SSDP message corresponding to the first SSDP message based on the information included in the received Add Remote Device call (S113). At this time, the second SSDP message includes the same information as the first SSDP message.

이후, 원격 접속 클라이언트(130)는 제2 SSDP 메시지를 UPnP 단말(110)로 전달한다(S115). 이를 통해 제1 UPnP 네트워크(100)에 속하는 UPnP 단말(110)이 제2 UPnP 네트워크(200)에 속하는 미디어 서버(230)에 대한 디바이스 정보를 알 수 있다.Then, the remote access client 130 transmits the second SSDP message to the UPnP terminal 110 (S115). Accordingly, the UPnP terminal 110 belonging to the first UPnP network 100 can know the device information of the media server 230 belonging to the second UPnP network 200.

다음, UPnP 단말(110)은 하이퍼텍스트 전송 규약(HyperText Transfer Protocol, 이하에서는 'HTTP'라고도 함)에 따라 미디어 서버(230)의 디바이스 상세문서 및 서비스 상세문서를 요청하는 상세문서(description) 요청 메시지를 원격 접속 서버(210)로 전송한다(S117). 이때 상세문서 요청 메시지는 확장성 생성 언어(eXtensible Markup Language, 이하에서는 'XML'이라고도 함)의 문서 형식을 따 를 수 있다.Next, the UPnP terminal 110 transmits a detailed document request message requesting the device detailed document and the service detailed document of the media server 230 according to the HyperText Transfer Protocol (HTTP) To the remote access server 210 (S117). At this time, the detailed document request message may follow the document format of an extensible markup language (hereinafter, also referred to as 'XML').

이후, 원격 접속 서버(210)는 수신된 상세문서 요청 메시지를 미디어 서버(230)로 전달한다(S119).Then, the remote access server 210 transmits the received detailed document request message to the media server 230 (S119).

다음, 미디어 서버(230)는 전달된 상세문서 요청 메시지에 따라 미디어 서버(230)의 디바이스 상세문서 및 서비스 상세문서를 포함하는 상세문서 응답 메시지를 원격 접속 서버(210)로 전송한다(S121). 이때 상세문서 응답 메시지는 출발지 주소에 해당하는 미디어 서버(230)의 사설 IP주소를 포함한다. 또한 상세문서 응답 메시지는 XML의 문서 형식을 따를 수 있다.Next, the media server 230 transmits a detailed document response message including the device detailed document and the service detailed document of the media server 230 to the remote access server 210 according to the received detailed document request message (S121). At this time, the detailed document response message includes the private IP address of the media server 230 corresponding to the source address. In addition, the detailed document response message can follow the document format of XML.

이후, 원격 접속 서버(210)는 수신된 상세문서 응답 메시지에 포함된 미디어 서버(230)의 사설 IP주소를 원격 접속 서버(210)의 공인 IP주소로 변경하는 형태로 응용 계층 게이트웨이(Application Level Gateway, 이하에서는 'ALG'라고도 함) 처리를 수행한다(S123).Then, the remote access server 210 changes the private IP address of the media server 230 included in the received detailed document response message to the public IP address of the remote access server 210, , Hereinafter also referred to as 'ALG') (S123).

다음, 원격 접속 서버(210)는 ALG 처리된 상세문서 응답 메시지를 UPnP 단말(110)로 전송한다(S125).Next, the remote access server 210 transmits the ALG processed detailed document response message to the UPnP terminal 110 (S125).

이후, UPnP 단말(110)은 HTTP에 따라 미디어 서버(230)에 저장된 동영상 등의 미디어 컨텐츠 파일을 요청하는 미디어 컨텐츠 파일 요청 메시지를 원격 접속 서버(210)로 전송한다(S127).Then, the UPnP terminal 110 transmits a media content file request message requesting a media content file, such as moving images, stored in the media server 230 to the remote access server 210 according to HTTP (S127).

다음, 원격 접속 서버(210)는 수신된 미디어 컨텐츠 파일 요청 메시지를 미디어 서버(230)로 전달한다(S129).Next, the remote access server 210 delivers the received media content file request message to the media server 230 (S129).

이후, 미디어 서버(230)는 전달된 미디어 컨텐츠 파일 요청 메시지에 따라 해당 미디어 컨텐츠 파일을 원격 접속 서버(210)로 전송한다(S131).Then, the media server 230 transmits the corresponding media content file to the remote access server 210 according to the transmitted media content file request message (S131).

다음, 원격 접속 서버(210)는 수신된 미디어 컨텐츠 파일을 UPnP 단말(110)로 전달한다(S133). 이때 원격 접속 서버(210)는 미디어 컨텐츠 파일에 대한 전송이 완료될 때까지 릴레이(Relay) 형태로 전달할 수 있다.Next, the remote access server 210 delivers the received media content file to the UPnP terminal 110 (S133). At this time, the remote access server 210 may transmit the media content file in the form of a relay until the transmission of the media content file is completed.

이후, 미디어 서버(230)는 SSDP에 따라 미디어 서버(230)가 불가용 상태임을 알리는 제3 SSDP 메시지를 원격 접속 서버(210)로 전송한다(S135). 이때 제3 SSDP 메시지의 필드값은 "ssdp:byebye"에 해당한다.Thereafter, the media server 230 transmits a third SSDP message to the remote access server 210 indicating that the media server 230 is in an unavailable state according to the SSDP (S135). At this time, the field value of the third SSDP message corresponds to "ssdp: byebye ".

다음, 원격 접속 서버(210)는 수신된 제3 SSDP 메시지에 따라 원격단말제거(RemoveRemoteDevice) 호출을 프록시 서버(20)를 경유하거나 직접 원격 접속 클라이언트(130)로 전송한다(S137).Next, the remote access server 210 transmits a RemoveRemoteDevice call to the remote access client 130 via the proxy server 20 according to the received third SSDP message (S137).

이후, 원격 접속 클라이언트(130)는 수신된 원격단말제거(RemoveRemoteDevice) 호출에 포함된 정보를 바탕으로 제3 SSDP 메시지에 대응하는 제4 SSDP 메시지를 생성한다(S139). 이때 제4 SSDP 메시지는 제3 SSDP 메시지와 동일한 정보를 포함한다.Thereafter, the remote access client 130 generates a fourth SSDP message corresponding to the third SSDP message based on the information included in the received Remove Remote Device call (S139). At this time, the fourth SSDP message includes the same information as the third SSDP message.

이후, 원격 접속 클라이언트(130)는 제4 SSDP 메시지를 UPnP 단말(110)로 전달한다(S141). 이를 통해 제1 UPnP 네트워크(100)에 속하는 UPnP 단말(110)이 제2 UPnP 네트워크(200)에 속하는 미디어 서버(230)가 불가용 상태임을 알 수 있다.Then, the remote access client 130 transmits the fourth SSDP message to the UPnP terminal 110 (S141). Accordingly, the UPnP terminal 110 belonging to the first UPnP network 100 can know that the media server 230 belonging to the second UPnP network 200 is in an unavailable state.

다음은 도 3을 참고하여 본 발명의 실시예에 따른 원격 접속 서버가 UPnP 네트워크간의 원격 접속을 위해 수행하는 응용 계층 게이트웨이 방법에 대해 설명한다.Next, an application layer gateway method performed by a remote access server for remote connection between UPnP networks according to an embodiment of the present invention will be described with reference to FIG.

도 3은 본 발명의 실시예에 따른 응용 계층 게이트웨이 방법을 도시한 도면이다.3 is a diagram illustrating an application layer gateway method according to an embodiment of the present invention.

도 3에 도시된 바와 같이, 먼저, 원격 접속 서버(210)는 메시지를 수신한다(S301). 이때 원격 접속 서버(210)는 미디어 서버(230) 또는 UPnP 단말(110)로부터 메시지를 수신할 수 있다. 원격 접속 서버(210)는 미디어 서버(230)로부터 단순 서비스 발견 프로토콜(Simple Service Discovery Protocol, SSDP)을 따르는 SSDP 메시지를 수신할 수 있으며, 원격의 UPnP 단말(110)로부터 단순 객체 접근 프로토콜(Simple Object Access Protocol, 이하에서는 'SOAP'라고도 함)따르는 SOAP 요청 메시지 또는 하이퍼텍스트 전송 규약(HyperText Transfer Protocol, HTTP)을 따르는 정보 요청 메시지를 수신할 수 있다.As shown in FIG. 3, first, the remote access server 210 receives a message (S301). At this time, the remote access server 210 may receive a message from the media server 230 or the UPnP terminal 110. The remote access server 210 can receive the SSDP message conforming to the Simple Service Discovery Protocol (SSDP) from the media server 230 and can receive the SSDP message from the remote UPnP terminal 110, (Hereinafter, referred to as 'SOAP') or an information request message conforming to the HyperText Transfer Protocol (HTTP).

다음, 원격 접속 서버(210)는 수신된 메시지의 출발지 주소를 바탕으로 수신된 메시지의 출발지를 판단하여 결정한다(S303).Next, the remote access server 210 determines the source of the received message based on the source address of the received message and determines (S303).

만약, 수신된 메시지의 출발지가 미디어 서버(230)인 경우, 원격 접속 서버(210)는 미디어 서버(230)로부터 수신된 SSDP 메시지의 필드값을 판단한다(S305).If the source of the received message is the media server 230, the remote access server 210 determines the field value of the SSDP message received from the media server 230 (S305).

만약, 수신된 SSDP 메시지의 필드값이 미디어 서버(230)가 가용 상태임을 알리는 "ssdp:alive"인 경우, 원격 접속 서버(210)는 원격의 UPnP 단말(110)로부터 미디어 서버(230)에 대한 정보 공유 요청을 대신 수신하기 위한 포트를 할당하기 위해 전송 제어 프로토콜(Transmission Control Protocol, 이하에서는 'TCP'라고도 함) 소켓을 생성한다(S307).If the field value of the received SSDP message is "ssdp: alive " indicating that the media server 230 is available, the remote access server 210 transmits the SSDP message from the remote UPnP terminal 110 to the media server 230 A Transmission Control Protocol (hereinafter, also referred to as TCP) socket is created to allocate a port for receiving an information sharing request instead (S307).

다음, 원격 접속 서버(210)는 원격 접속 서버(210)의 공인 IP주소 및 생성된 TCP 소켓의 포트 번호를 포함하는 원격단말추가(AddRemoteDevice) 호출을 원격 접속 클라이언트(130)로 프록시 서버(20)를 경유하거나 또는 직접 전달한다(S309).Next, the remote access server 210 transmits a remote terminal add (AddRemoteDevice) call including the public IP address of the remote access server 210 and the port number of the generated TCP socket to the remote access client 130 to the proxy server 20 (S309).

한편, 이후에 미디어 서버(230)로부터 수신된 SSDP 메시지의 필드값이 미디어 서버(230)가 불가용 상태임을 알리는 "ssdp:byebye"인 경우, 원격 접속 서버(210)는 원격 접속 서버(210)의 공인 IP주소 및 TCP 소켓의 포트 번호를 포함하는 원격단말제거(RemoveRemoteDevice) 호출을 원격 접속 클라이언트(130)로 프록시 서버(20)를 경유하거나 또는 직접 전달한다(S311).If the field value of the SSDP message received from the media server 230 is 'ssdp: byebye' indicating that the media server 230 is in an unavailable state, the remote access server 210 transmits the SSDP message to the remote access server 210, (RemoveRemoteDevice) call including the public IP address of the remote access client 130 and the port number of the TCP socket to the remote access client 130 via the proxy server 20 or directly (S311).

다음, 원격 접속 서버(210)는 미디어 서버(230)에 대한 정보 공유 요청을 원격의 UPnP 단말(110)로부터 대신 수신하기 위한 포트를 할당하기 위해 생성된 TCP 소켓을 삭제한다(S313).Next, the remote access server 210 deletes the generated TCP socket to allocate a port for receiving an information sharing request for the media server 230 from the remote UPnP terminal 110 (S313).

한편, 수신된 메시지의 출발지가 원격의 UPnP 단말(110)인 경우, 원격 접속 서버(210)는 수신된 메시지의 목적지 포트 번호에 따라 제2 UPnP 네트워크(200) 상의 미디어 서버(230)와 TCP 연결을 설정한다(S315).Meanwhile, when the source of the received message is the remote UPnP terminal 110, the remote access server 210 transmits a TCP connection with the media server 230 on the second UPnP network 200 according to the destination port number of the received message, (S315).

다음, 원격 접속 서버(210)는 원격의 UPnP 단말(110)로부터 수신된 메시지의 메시지 유형을 판단하여 결정한다(S317).Next, the remote access server 210 determines the message type of the message received from the remote UPnP terminal 110 (S317).

만약, 수신된 메시지가 미디어 서버(230)가 제공하는 서비스를 호출하는 SOAP 요청 메시지인 경우, 원격 접속 서버(210)는 수신된 SOAP 요청 메시지를 미디어 서버(230)와 설정된 TCP 연결을 통해 미디어 서버(230)로 전달한다(S319).If the received message is a SOAP request message for invoking a service provided by the media server 230, the remote access server 210 transmits the received SOAP request message to the media server 230 via the established TCP connection with the media server 230 (S319).

다음, 원격 접속 서버(210)는 미디어 서버(230)와 설정된 TCP 연결을 통해 미디어 서버(230)로부터 SOAP 응답 메시지를 수신한다(S321). 이때 수신된 SOAP 응답 메시지는 미디어 서버(230)의 사설 IP주소 및 포트 번호를 포함한다.Next, the remote access server 210 receives the SOAP response message from the media server 230 via the established TCP connection with the media server 230 (S321). At this time, the received SOAP response message includes the private IP address and the port number of the media server 230.

이후, 원격 접속 서버(210)는 수신된 SOAP 응답 메시지에 포함된 미디어 서버(230)의 사설 IP주소 및 포트 번호를 변환하여 조작된 SOAP 응답 메시지를 생성한다(S323). 이때 원격 접속 서버(210)는 미디어 서버(230)의 사설 IP주소를 원격 접속 서버(210)의 공인 IP주소로 변환하고, 미디어 서버(230)의 포트 번호를 원격의 UPnP 단말(110)로부터 미디어 서버(230)에 대한 정보 공유 요청을 대신 수신하기 위해 생성된 TCP 소켓의 포트 번호로 변환함으로써 조작된 SOAP 응답 메시지를 생성할 수 있다.Thereafter, the remote access server 210 converts the private IP address and port number of the media server 230 included in the received SOAP response message to generate a manipulated SOAP response message (S323). The remote access server 210 converts the private IP address of the media server 230 into the public IP address of the remote access server 210 and transmits the port number of the media server 230 from the remote UPnP terminal 110 to the media It is possible to generate the manipulated SOAP response message by converting the information sharing request for the server 230 into the port number of the generated TCP socket instead.

다음, 원격 접속 서버(210)는 조작된 SOAP 응답 메시지를 원격의 UPnP 단말(110)로 전달한다(S325).Next, the remote access server 210 transmits the manipulated SOAP response message to the remote UPnP terminal 110 (S325).

이후, 원격 접속 서버(210)는 미디어 서버(230) 및 원격의 UPnP 단말(110)과 설정된 TCP 연결을 해제한다(S327).Thereafter, the remote access server 210 releases the established TCP connection with the media server 230 and the remote UPnP terminal 110 (S327).

한편, 수신된 메시지가 HTTP를 따르는 정보 요청 메시지인 경우, 원격 접속 서버(210)는 수신된 정보 요청 메시지에 따라 요청된 컨텐츠의 유형을 판단하여 결정한다(S329).On the other hand, if the received message is an information request message compliant with HTTP, the remote access server 210 determines the type of the requested content according to the received information request message (S329).

만약, 요청된 컨텐츠가 XML의 문서 형식을 따르는 텍스트 파일 또는 설정 파일인 경우, 원격 접속 서버(210)는 수신된 정보 요청 메시지를 미디어 서버(230)와 설정된 TCP 연결을 통해 미디어 서버(230)로 전달한다(S331).If the requested content is a text file or a configuration file conforming to the XML document format, the remote access server 210 transmits the received information request message to the media server 230 via the established TCP connection with the media server 230 (S331).

다음, 원격 접속 서버(210)는 미디어 서버(230)와 설정된 TCP 연결을 통해 미디어 서버(230)로부터 정보 요청 응답 메시지를 수신한다(S333). 이때 수신된 정보 요청 응답 메시지는 미디어 서버(230)의 사설 IP주소 및 포트 번호를 포함한다.Next, the remote access server 210 receives an information request response message from the media server 230 via the established TCP connection with the media server 230 (S333). At this time, the received information request response message includes the private IP address and the port number of the media server 230.

이후, 원격 접속 서버(210)는 수신된 정보 요청 응답 메시지에 포함된 미디어 서버(230)의 사설 IP주소 및 포트 번호를 변환하여 조작된 정보 요청 응답 메시지를 생성한다(S335). 이때 원격 접속 서버(210)는 미디어 서버(230)의 사설 IP주소를 원격 접속 서버(210)의 공인 IP주소로 변환하고, 미디어 서버(230)의 포트 번호를 원격의 UPnP 단말(110)로부터 미디어 서버(230)에 대한 정보 공유 요청을 대신 수신하기 위해 생성된 TCP 소켓의 포트 번호로 변환함으로써 조작된 정보 요청 응답 메시지를 생성할 수 있다.Thereafter, the remote access server 210 converts the private IP address and the port number of the media server 230 included in the received information request response message to generate the manipulated information request response message (S335). The remote access server 210 converts the private IP address of the media server 230 into the public IP address of the remote access server 210 and transmits the port number of the media server 230 from the remote UPnP terminal 110 to the media It is possible to generate the manipulated information request response message by converting the information sharing request for the server 230 into the port number of the generated TCP socket instead.

다음, 원격 접속 서버(210)는 조작된 정보 요청 응답 메시지를 원격의 UPnP 단말(110)로 전달한다(S337).Next, the remote access server 210 transmits the manipulated information request response message to the remote UPnP terminal 110 (S337).

이후, 원격 접속 서버(210)는 미디어 서버(230) 및 원격의 UPnP 단말(110)과 설정된 TCP 연결을 해제한다(S339).Thereafter, the remote access server 210 releases the established TCP connection with the media server 230 and the remote UPnP terminal 110 (S339).

한편, 요청된 컨텐츠가 동영상 또는 사진 등의 미디어 컨텐츠 파일인 경우, 원격 접속 서버(210)는 수신된 정보 요청 메시지를 미디어 서버(230)와 설정된 TCP 연결을 통해 미디어 서버(230)로 전달한다(S341).Meanwhile, when the requested content is a media content file such as a moving picture or a photograph, the remote access server 210 transmits the received information request message to the media server 230 through the established TCP connection with the media server 230 S341).

다음, 원격 접속 서버(210)는 미디어 서버(230)와 설정된 TCP 연결을 통해 미디어 서버(230)로부터 정보 요청 응답 메시지를 수신한다(S343).Next, the remote access server 210 receives an information request response message from the media server 230 via the established TCP connection with the media server 230 (S343).

이후, 원격 접속 서버(210)는 수신된 정보 요청 응답 메시지를 원격의 UPnP 단말(110)로 전달한다(S345).Then, the remote access server 210 transmits the received information request response message to the remote UPnP terminal 110 (S345).

다음, 원격 접속 서버(210)는 요청된 컨텐츠에 대한 전송 완료여부를 판단한다(S347).Next, the remote access server 210 determines whether the transmission of the requested content has been completed (S347).

만약, 요청된 컨텐츠에 대한 전송이 완료된 경우, 원격 접속 서버(210)는 미디어 서버(230) 및 원격의 UPnP 단말(110)과 설정된 TCP 연결을 해제한다(S349).If the transmission of the requested content is completed, the remote access server 210 releases the established TCP connection with the media server 230 and the remote UPnP terminal 110 (S349).

한편, 요청된 컨텐츠에 대한 전송이 완료되지 아니한 경우, 원격 접속 서버(210)는 요청된 컨텐츠에 대한 전송이 완료될 때까지 미디어 서버(230)로부터 정보 요청 응답 메시지를 수신하여 원격의 UPnP 단말(110)로 전달한다.Meanwhile, when the transmission of the requested content is not completed, the remote access server 210 receives the information request response message from the media server 230 until the transmission of the requested content is completed, 110).

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

이상에서 본 발명의 실시예에 대하여 상세하게 설명하였지만 본 발명의 권리범위는 이에 한정되는 것은 아니고 다음의 청구범위에서 정의하고 있는 본 발명의 기본 개념을 이용한 당업자의 여러 변형 및 개량 형태 또한 본 발명의 권리범위에 속하는 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, It belongs to the scope of right.

도 1은 본 발명의 실시예에 따른 네트워크 시스템의 구성을 도시한 도면이다.1 is a diagram illustrating a configuration of a network system according to an embodiment of the present invention.

도 2는 본 발명의 실시예에 따른 UPnP 네트워크간 원격 접속 방법을 도시한 도면이다.2 is a diagram illustrating a remote access method between UPnP networks according to an embodiment of the present invention.

도 3은 본 발명의 실시예에 따른 응용 계층 게이트웨이 방법을 도시한 도면이다.3 is a diagram illustrating an application layer gateway method according to an embodiment of the present invention.

Claims (8)

제1 범용 플러그 앤 플레이(Universal Plug and Play, 이하에서는 'UPnP'라고도 함) 네트워크와 제2 UPnP 네트워크간의 원격 접속 방법에 있어서,In a remote access method between a first Universal Plug and Play (hereinafter also referred to as 'UPnP') network and a second UPnP network, 상기 제1 UPnP 네트워크는 서버 및 제1 UPnP 단말을 포함하고, 상기 제2 UPnP 네트워크는 클라이언트 및 제2 UPnP 단말을 포함하며,Wherein the first UPnP network includes a server and a first UPnP terminal, the second UPnP network includes a client and a second UPnP terminal, 상기 서버가 상기 제1 UPnP 단말로부터 상기 제1 UPnP 단말이 가용 상태임을 알리는 제1 메시지-여기서 제1 메시지는 상기 제1 UPnP 단말의 사설 IP 주소를 포함함-를 수신하는 단계;Receiving, by the server, a first message from the first UPnP terminal indicating that the first UPnP terminal is available, the first message including a private IP address of the first UPnP terminal; 상기 서버가 상기 제1 메시지에 따라 상기 클라이언트 또는 상기 제2 UPnP 단말로부터 상기 제1 UPnP 단말에 대한 정보 공유 요청을 대신 수신하기 위한 포트를 할당하기 위한 소켓을 생성하는 단계; Generating a socket for allocating a port for receiving an information sharing request for the first UPnP terminal from the client or the second UPnP terminal according to the first message; 상기 서버가 상기 제1 UPnP 단말의 사설 IP 주소를 상기 서버의 인터넷 프로토콜(Internet Protocol, 이하에서는 'IP'라고도 함) 주소로 변환하고, 변환된 상기 서버의 IP 주소와 상기 소켓의 포트 번호를 포함하는 원격단말추가 호출을 상기 클라이언트로 전달하는 단계; The server converts the private IP address of the first UPnP terminal into an Internet Protocol (IP) address of the server, and includes the converted IP address of the server and the port number of the socket Transmitting a remote terminal addition call to the client; 상기 클라이언트가 상기 서버의 IP 주소와 상기 소켓의 포트 번호를 포함하는 원격단말추가 호출을 상기 제2 UPnP 단말로 전달하여, 상기 제2 UPnP 단말이 상기 서버의 IP 주소와 상기 소켓의 포트 번호에 대응되는 제1 UPnP 네트워크에 속하는 상기 제1 UPnP 단말의 정보를 알 수 있도록 하는 단계;The client transmits a remote terminal addition call including the IP address of the server and the port number of the socket to the second UPnP terminal, and the second UPnP terminal corresponds to the IP address of the server and the port number of the socket Allowing the first UPnP terminal belonging to the first UPnP network to know information of the first UPnP terminal; 상기 서버가, 상기 서버의 IP 주소와 상기 소켓의 포트 번호에 대응되는 제1 UPnP 네트워크에 속하는 상기 제1 UPnP 단말의 정보를 알고 있는 상기 클라이언트 또는 상기 제2 UPnP 단말로부터 상기 서버의 IP와 상기 소켓의 포트 번호를 포함하는 제2 메시지를 수신하는 단계; 및Wherein the server obtains, from the client or the second UPnP terminal that knows the information of the first UPnP terminal belonging to the first UPnP network corresponding to the IP address of the server and the port number of the socket, Receiving a second message including a port number of the first terminal; And 상기 서버가 상기 소켓의 포트 번호에 따라 상기 서버와 상기 제1 UPnP 단말간의 연결을 설정하는 단계The server establishing a connection between the server and the first UPnP terminal according to the port number of the socket 를 포함하는 UPnP 네트워크에서의 원격 접속 방법.Gt; UPnP < / RTI > 삭제delete 제1항에 있어서,The method according to claim 1, 상기 방법은The method 상기 서버가 설정된 연결을 통해 상기 제1 UPnP 단말로 제2 메시지를 전달하는 단계;Transmitting the second message to the first UPnP terminal through the connection established by the server; 상기 서버가 상기 설정된 연결을 통해 상기 제1 UPnP 단말로부터 상기 제2 메시지에 대한 응답 메시지를 수신하는 단계; 및The server receiving a response message for the second message from the first UPnP terminal through the established connection; And 상기 서버가 상기 응답 메시지를 상기 클라이언트 또는 상기 제2 UPnP 단말로 전달하는 단계를 더 포함하는 UPnP 네트워크에서의 원격 접속 방법.And the server transmitting the response message to the client or the second UPnP terminal. 제3항에 있어서,The method of claim 3, 상기 응답 메시지는The response message 상기 제1 UPnP 단말의 IP 주소 및 상기 제1 UPnP 단말의 포트 번호를 포함하며,An IP address of the first UPnP terminal and a port number of the first UPnP terminal, 상기 서버가 상기 응답 메시지를 상기 클라이언트 또는 상기 제2 UPnP 단말로 전달하는 단계는The step of the server transmitting the response message to the client or the second UPnP terminal 상기 제2 메시지가 텍스트 파일 또는 설정 파일을 요청하는 정보 요청 메시 지이거나 상기 제1 UPnP 단말의 서비스를 호출하는 서비스 호출 메시지인 경우, 상기 서버가 상기 응답 메시지에 포함된 상기 제1 UPnP 단말의 IP 주소 및 상기 제1 UPnP 단말의 포트 번호를 변경하여 조작된 응답 메시지를 생성하는 단계; 및If the second message is an information request message for requesting a text file or a configuration file, or a service call message for invoking a service of the first UPnP terminal, the server transmits the IP address of the first UPnP terminal Address and a port number of the first UPnP terminal to generate a manipulated response message; And 상기 서버가 상기 조작된 응답 메시지를 상기 클라이언트 또는 상기 제2 UPnP 단말로 전달하는 단계를 포함하는 UPnP 네트워크에서의 원격 접속 방법.And the server transmitting the operated response message to the client or the second UPnP terminal. 제4항에 있어서,5. The method of claim 4, 상기 조작된 응답 메시지를 생성하는 단계는The step of generating the manipulated response message 상기 서버가 상기 제1 UPnP 단말의 IP 주소 및 상기 제1 UPnP 단말의 포트 번호를 각각 상기 서버의 IP 주소 및 상기 소켓의 포트 번호로 변경하는 UPnP 네트워크에서의 원격 접속 방법.Wherein the server changes the IP address of the first UPnP terminal and the port number of the first UPnP terminal to the IP address of the server and the port number of the socket, respectively. 삭제delete 제3항에 있어서,The method of claim 3, 상기 서버가 상기 응답 메시지를 상기 클라이언트 또는 상기 제2 UPnP 단말로 전달하는 단계는The step of the server transmitting the response message to the client or the second UPnP terminal 상기 제2 메시지가 미디어 컨텐츠 파일을 요청하는 정보 요청 메시지인 경우, 상기 서버가 상기 응답 메시지를 상기 클라이언트 또는 상기 제2 UPnP 단말로 미디어 컨텐츠 파일에 대한 전송이 완료될 때까지 릴레이 형태로 전달하는 UPnP 네트워크에서의 원격 접속 방법.When the second message is an information request message for requesting a media content file, the server transmits the response message to the client or the second UPnP terminal in a form of a relay until the transmission of the media content file is completed, A remote access method in a network. 제1항에 있어서,The method according to claim 1, 상기 방법은The method 상기 서버가 상기 제1 UPnP 단말로부터 상기 제1 UPnP 단말이 불가용 상태임을 알리는 제2 메시지를 수신하는 단계;Receiving, by the server, a second message from the first UPnP terminal indicating that the first UPnP terminal is in an unavailable state; 상기 서버가 상기 제2 메시지에 따라 상기 소켓의 포트 번호에 대응하는 포트가 해제되었음을 알리는 원격단말제거 호출을 상기 클라이언트로 전달하는 단계; 및Delivering to the client a remote terminal cancellation call indicating that the port corresponding to the port number of the socket has been released according to the second message; And 상기 서버가 상기 소켓을 삭제하는 단계를 더 포함하는 UPnP 네트워크에서의 원격 접속 방법.Further comprising the step of the server deleting the socket.
KR1020090096459A 2009-10-09 2009-10-09 Method for remote access in universal plug and play network KR101651640B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090096459A KR101651640B1 (en) 2009-10-09 2009-10-09 Method for remote access in universal plug and play network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090096459A KR101651640B1 (en) 2009-10-09 2009-10-09 Method for remote access in universal plug and play network

Publications (2)

Publication Number Publication Date
KR20110039142A KR20110039142A (en) 2011-04-15
KR101651640B1 true KR101651640B1 (en) 2016-08-26

Family

ID=44045988

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090096459A KR101651640B1 (en) 2009-10-09 2009-10-09 Method for remote access in universal plug and play network

Country Status (1)

Country Link
KR (1) KR101651640B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101108137B1 (en) * 2011-08-24 2012-01-31 주식회사알앤티에스미디어 Method for transmitting data between wireless terminal device each other using network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060001550A (en) * 2004-06-30 2006-01-06 엘지전자 주식회사 Upnp device controlling method using internet
KR100733962B1 (en) * 2005-11-07 2007-06-29 한국전자통신연구원 System and its method for media contents sharing over inter-homenetwork
KR100777811B1 (en) * 2006-05-09 2007-11-26 (주)엘스윈 home network control system of long distance computer power supply using home gateway

Also Published As

Publication number Publication date
KR20110039142A (en) 2011-04-15

Similar Documents

Publication Publication Date Title
US8301691B2 (en) Server apparatus, network system, data transfer method, and program
KR100733962B1 (en) System and its method for media contents sharing over inter-homenetwork
KR101366807B1 (en) A method and system for remotely accessing devices in a network
CN101473597B (en) Method and system for remote access to universal plug and play devices
US20080235358A1 (en) Proxy Device, Network System, and Communication Method
KR100440583B1 (en) A Method and Apparatus of Management and Control of UPnP Device in Home Network from the Internet
JP4624701B2 (en) Device information management apparatus and method via network
JP4450712B2 (en) Network system and gateway
US7912972B2 (en) Method of controlling device connected to universal plug and play home network via internet, and system and device for the method
US7720981B2 (en) Processing device, method for establishing processing device communication session, program, and recording medium
US8526352B2 (en) Method of controlling an entity of a remote network from a local network
KR101531532B1 (en) Method and apparatus for using service of home network device based on remote access
US7856504B2 (en) Server device, inter-server device connection method, program, and recording medium
JP2003330825A (en) Apparatus and method for providing information on home network device via internet
EP2107723B1 (en) Remote control of a device by a terminal
KR101632753B1 (en) Intermediating apparatus and method for providing device management service
JP2010004344A (en) Method, device, system, and program for conducting remote accessing
JP2005269348A (en) Communication system, and gateway unit
KR101651640B1 (en) Method for remote access in universal plug and play network
JP2007306331A (en) Network system
JP2009188622A (en) Access control system, access control method, access controller, and access control program
JP4779328B2 (en) Image distribution system
JP2010114721A (en) Content transmitting method and system for transmitting content from terminal in home network to wide area network
KR20090060916A (en) Method and system for serving multi-media data between hetero upnp networks
KR101238907B1 (en) Home gateway and control point for supporting a share of multimedia contents in media server in private network with media media renderer in remote private network

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
AMND Amendment
X701 Decision to grant (after re-examination)
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20190731

Year of fee payment: 4