KR20110133709A - System and method for control remote access to home network - Google Patents
System and method for control remote access to home network Download PDFInfo
- Publication number
- KR20110133709A KR20110133709A KR1020100053246A KR20100053246A KR20110133709A KR 20110133709 A KR20110133709 A KR 20110133709A KR 1020100053246 A KR1020100053246 A KR 1020100053246A KR 20100053246 A KR20100053246 A KR 20100053246A KR 20110133709 A KR20110133709 A KR 20110133709A
- Authority
- KR
- South Korea
- Prior art keywords
- home
- electronic device
- home server
- address
- remote
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
- H04L12/2812—Exchanging configuration information on appliance services in a home automation network describing content present in a home automation network, e.g. audio video content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
- H04L12/2818—Controlling appliance services of a home automation network by calling their functionalities from a device located outside both the home and the home network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/283—Processing of data at an internetworking point of a home automation network
- H04L12/2834—Switching of information between an external network and a home network
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computing Systems (AREA)
- Telephonic Communication Services (AREA)
- Computer And Data Communications (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
본 발명은 홈 네트워크의 원격 접근 제어 시스템에 관한 것으로서, 더욱 상세하게는 홈 네트워크에 연결된 댁내 전자기기를 크게 변경하지 않으면서, 홈 네트워크 외부에 위치한 원격 전자기기가, 홈 네트워크에 연결된 댁내 전자기기에 접근하여 컨텐츠를 교환하거나, 댁내 전자기기의 기능 또는 서비스를 이용할 수 있도록 하는 홈 네트워크의 원격 접근 제어 시스템에 관한 것이다.The present invention relates to a remote access control system of a home network, and more particularly, to an indoor electronic device connected to a home network, a remote electronic device located outside the home network, without significantly changing the home electronic devices connected to the home network. The present invention relates to a remote access control system of a home network that allows access to exchange contents or use functions or services of an electronic device in a home.
홈 네트워크 시스템은 PC(Personal Computer), 휴대 전화, 디지털 텔레비전, 개인 휴대 정보 단말기(PDA), 게임기 등과 같이 댁내에서 이용되는 전자기기들 사이에 네트워크를 형성해 디지털 데이터를 공유하고 광대역 통신을 사용할 수 있는 유선 및 무선 네트워크 시스템을 의미한다.The home network system forms a network between electronic devices used in the home such as a personal computer (PC), a mobile phone, a digital television, a personal digital assistant (PDA), and a game machine to share digital data and use broadband communication. Means wired and wireless network systems.
도 1은 홈 네트워크 시스템의 일반적인 구성을 보인 도면으로서, 홈 네트워크 시스템은, 복수의 댁내 전자기기(11~15)와, 외부와의 통신을 가능하게 하는 홈 게이트웨이(16)와, 이들을 유무선으로 연결하는 홈 네트워크(17)로 구현된다.FIG. 1 is a diagram showing a general configuration of a home network system. The home network system includes a plurality of home
여기서 댁내 전자기기(11~15)는, 댁내에서 사용자가 사용하는 각종 전자기기 및 정보 기기를 의미하는 것으로서, 예를 들어, 통신 기능을 지원하는 텔레비전, 컴퓨터, 홈 오디오/비디오 시스템, 및 MP3 플레이어뿐만 아니라, 네트워크 연결형 저장장치(Network Attached Storage: NAS) 등이 포함될 수 있다. 그리고 홈 네트워크(17)는, 공중망에 비하여 비교적 단거리 통신을 제공하는 유무선 망으로서, 예를 들어, 유선 또는 무선방식의 근거리 통신망(Local Area Network, LAN) 및 사설망(Personal Area Network, PAN), 전력선 방식 통신망 등으로 구현될 수 있다.Here, the home
이러한 홈 네트워크 시스템에서, 댁내 전자기기(11~15)들은 홈 네트워크(17)를 통하여 서로 멀티미디어 컨텐츠를 교환하거나, 스트리밍 할 수 있다. 아울러, 한 댁내 전자기기가 다른 댁내 전자기기의 기능을 제어하는 것도 가능하다.In such a home network system, the home
현재 홈 네트워크와 관련한 기술로는 DLNA(Digital Living Network Alliance)가 제정한 호환성 표준 기술이 존재한다. 해당 표준 기술은 홈 네트워크를 구성하는 장치들에 대하여 미디어형태, 원격 기기 제어, 미디어 전송, 네트워크 기술을 정의하고 있다.As a technology related to home networks, there is a compatibility standard technology established by the Digital Living Network Alliance (DLNA). The standard technology defines the media type, remote device control, media transmission, and network technology for the devices constituting the home network.
도 2는 DLNA 표준 기술에 따라 구현된 댁내 전자기기의 구성을 나타낸 블록도이다. 이를 참조하면, 댁내 전자기기(11~15)는 유선 및 무선 통신을 지원하기 위한 유선 LAN 모듈(21)과, 무선 LAN 모듈(22)과, 무선 PAN 모듈(23)과, IP 통신 계층을 지원하여 Hyper Text Transport Protocol(HTTP)/Real Time Transport Protocol(RTP)와 같은 표준 인터넷 프로토콜을 통하여 통신하는 네트워크 및 전송 모듈(24)과, 홈 네트워크(17)로 연결된 다른 댁내 전자기기로부터 원하는 컨텐츠를 찾아, 가져오거나 복사하기 위한 댁내 접근 제어 모듈(25)과, MP3, JPEG, MPEG, H.264 등의 다양한 멀티미디어 컨텐츠 형식을 지원하여, 가져오거나 복사한 컨텐츠를 재생하기 위한 미디어 처리 모듈(Media Processing Module)(26)과, 컨텐츠 및 동작을 위한 각종 프로그램 및 데이터를 저장하기 위한 비 휘발성 및 휘발성 메모리(27, 28)와, 이들을 연결하고 통제하는 주 프로세서(29)를 포함한다.2 is a block diagram showing the configuration of an indoor electronic device implemented according to the DLNA standard technology. Referring to this, the home
그리고, DLNA 기반의 댁내 전자기기(11~15)들은 도 3에 도시된 바와 같이, SOAP(Simple Object Access Protocol) 프로토콜을 통하여 상호 간에 특정 기능이나 서비스에 대한 요청 및 응답을 처리한다. SOAP은 원격 기기가 지원하는 기능을 함수 이름과 전달하는 인자들로 표현한 것으로서, 인터넷 표준 프로토콜의 하나이다.As shown in FIG. 3, the DLNA-based home
그런데, 기존의 홈 네트워크 시스템은, 홈 네트워크 내에 존재하는 댁내 전자기기간의 기능 호출에 대해서만 고려되어 있기 때문에, 외부에 위치한 원격 전자기기가 홈 네트워크 시스템의 댁내 전자기기의 정보를 액세스하거나, 기능과 서비스를 호출하고자 하는 것이 불가능하다.However, since the existing home network system only considers the function call of the in-house electromagnetic period existing in the home network, the remote electronic device located outside accesses the information of the in-home electronic device of the home network system, or functions and services. It is not possible to call.
특히, 대부분의 홈 네트워크 시스템에서는, 홈 게이트웨이(16)에서 임시로 할당 받은 IP 주소를 댁내 전자기기(11~15)들이 공유하고, NAT(Network Address Translator)/PAT(Port Address Translator)를 통해 홈 네트워크에서 사용하는 개별 주소와 IP 주소를 상시 변환하기 때문에, DLNA의 홈 네트워크 표준 규격에서 정의한 포트 번호를 사용할 수 없다. 따라서, 홈 네트워크의 외부에 위치한 원격 전자기기가 댁내 전자기기(11~15)에 접근하여, 댁내 전자기기(11~15)에 저장한 컨텐츠를 이용하거나, 댁내 전자기기(11~15)의 기능 및 서비스를 이용할 수 없었다.In particular, in most home network systems, the home
이에 본 발명은 홈 네트워크 시스템에 구비되는 댁내 전자기기들의 구성이나 기능을 크게 변경하지 않으면서, 홈 네트워크 외부에 위치한 원격 전자기기가, 홈 네트워크에 연결된 댁내 전자기기에 접근하여 컨텐츠를 교환하거나, 댁내 전자기기의 기능 또는 서비스를 이용할 수 있도록 하는 홈 네트워크의 원격 접근 제어 시스템 및 방법을 제공하고자 한다.Accordingly, the present invention provides a remote electronic device located outside the home network to access the home electronic devices connected to the home network to exchange contents or do not significantly change the configuration or function of the home electronic devices provided in the home network system. The present invention provides a remote access control system and method for a home network that enables the use of functions or services of an electronic device.
본 발명은 과제를 해결하기 위한 수단으로서, 홈 서버와, 원격 전자기기와, 홈 서버 등록 장치를 포함하는 홈 네트워크 원격 접근 제어 시스템을 제공한다. 여기서, 홈 서버는 홈 네트워크 시스템 내부에 구비되어, 홈 네트워크 시스템에 구비된 댁내 전자기의 특성 정보를 수집하고, 수집한 댁내 전자기기의 특성 정보를 자신의 특성 정보로서 홈 네트워크의 외부에 제공하고, 메시지의 주소 및 포트 정보 변경을 통하여 홈 네트워크의 외부에 위치한 원격 전자기기와 댁내 전자기기 간의 기능 호출 및 응답을 중계한다. 원격 전자기기는 홈 네트워크의 외부에 위치하여, 상기 홈 서버를 통해 댁내 전자기기의 특정 기능을 호출하고, 그 응답을 수신한다. 홈 서버 등록 장치는 홈 서버 및 원격 전자기기를 등록하여, 각각의 주소 정보를 관리하면서, 홈 서버와 원격 전자기기 간의 통신 세션 연결을 중계한다.The present invention provides a home network remote access control system including a home server, a remote electronic device, and a home server registration device as a means for solving the problem. Here, the home server is provided inside the home network system, collects the characteristic information of the home electromagnetic equipment provided in the home network system, and provides the collected characteristic information of the home electronic equipment to the outside of the home network as its own characteristic information. It relays function calls and responses between remote electronic devices located outside the home network and home electronic devices by changing the address and port information of the message. The remote electronic device is located outside the home network to call a specific function of the home electronic device through the home server and receive the response. The home server registration device registers a home server and a remote electronic device, and relays a communication session connection between the home server and the remote electronic device while managing respective address information.
본 발명에 의한 홈 네트워크의 원격 접근 제어 시스템에 있어서, 홈 서버는, 홈 네트워크 시스템에 구비된 댁내 전자기기 중 어느 한 댁내 전자기기에 소프트웨어 형태로 설치될 수 있다.In the remote access control system of the home network according to the present invention, the home server may be installed in software form in any one of the indoor electronic devices provided in the home network system.
더하여, 본 발명은 과제를 해결하기 위한 다른 수단으로서, 서버 인터페이스 모듈과, 댁내 접근 제어 모듈과, 주 프로세서를 포함하는 홈 서버를 제공한다. 여기서, 서버 인터페이스 모듈은 원격 접근 제어를 위한 주소 정보를 관리하는 홈 서버 등록 장치와의 통신을 수행한다. 댁내 접근 제어 모듈은 홈 네트워크 표준 기술에 따라서 상기 홈 네트워크에 연결된 댁내 전자기기를 검색하고, 검색된 댁내 전자기기에 접근하여 컨텐츠를 교환하거나 기능을 제어한다. 주 프로세서는 서버 인터페이스 모듈을 통해 홈 서버 등록 장치에 등록을 요청하여, 주소 정보를 제공한 후, 댁내 접근 제어 모듈을 통해 댁내 전자기기의 특성 정보를 수집하여 저장하여 두고, 댁내 전자 홈 서버 등록 장치를 통해 통신 세션이 연결된 원격 전자기기로부터 특정 기능에 대한 호출 메시지가 수신되면, 수신된 호출 메시지를 상기 댁내 접근 제어 모듈을 통해 댁내 전자기기로 전달하고, 댁내 접근 제어 모듈을 통해 수신된 댁내 전자기기의 응답 메시지를 원격 전자기기로 전송한다.In addition, the present invention provides a home server including a server interface module, an indoor access control module, and a main processor as another means for solving the problem. Here, the server interface module communicates with a home server registration device that manages address information for remote access control. The indoor access control module searches for indoor electronic devices connected to the home network according to the home network standard technology, and accesses the found indoor electronic devices to exchange contents or control functions. The main processor requests registration to the home server registration device through the server interface module, provides address information, and collects and stores the characteristic information of the electronic devices in the home via the home access control module, and stores the home electronic home server registration device. When a call message for a specific function is received from the remote electronic device to which the communication session is connected through, the received call message is transmitted to the indoor electronic device through the indoor access control module, and the indoor electronic device received through the indoor access control module. Sends a response message to the remote electronic device.
본 발명에 의한 홈 서버는, 원격 전자기기의 주소 정보 및 상기 댁내 접근 제어 모듈을 통해 수집되는 홈 네트워크에 연결된 댁내 전자기기들의 특성 정보를 관리하는 계정 관리 모듈을 더 포함할 수 있다.The home server according to the present invention may further include an account management module that manages address information of remote electronic devices and characteristic information of indoor electronic devices connected to the home network collected through the indoor access control module.
본 발명에 의한 홈 서버는, 댁내 접근 제어 모듈을 통해 교환한 컨텐츠 또는 홈 서버 내에 저장된 컨텐츠를 재생하는 미디어 처리 모듈을 더 포함할 수 있다.The home server according to the present invention may further include a media processing module for playing the content exchanged through the indoor access control module or the content stored in the home server.
본 발명에 의한 홈 서버에 있어서, 주 프로세서는, 홈 서버 등록 장치를 통해 통신 세션을 연결한 원격 전자기기와 상호 간에, 발신전용으로 기 설정된 제1 IP 주소 및 제1 포트 번호를 데이터 필드에 기록한 주소 정보 교환 메시지를 교환하고, 원격 전자기기로부터 수신한 주소 정보 교환 메시지의 데이터 필드로부터 원격 전자기기의 제1 IP 주소 및 제1 포트 번호를 추출하고, 메시지의 헤더로부터 원격 전자기기의 변경된 주소인 제2 IP 주소 및 제2 포트 번호를 추출하여 저장하고, 원격 전자기기와 메시지를 송신할 때, 원격 전자기기의 제2 IP 주소 및 제2 포트 번호를 목적지로 하고, 홈 서버의 제1 IP 주소 및 제1 포트 번호를 근원지 주소로 한다.본 발명에 따른 홈 서버는, 홈 네트워크를 통해 다른 댁내 전자기기와 통신하여 데이터 및 메시지를 교환하기 위한 하나 이상의 통신 모듈; 및 IP 통신 계층의 처리를 지원하여, 표준 인터넷 프로토콜에 따라서 하나 이상의 통신 모듈을 통해서 송수신되는 데이터를 처리하는 네트워크 및 전송 처리 모듈을 더 포함한다.In the home server according to the present invention, the main processor records, in a data field, a first IP address and a first port number preset for transmission only between the remote electronic devices connected to the communication session through the home server registration device. Exchange the address information exchange message, extract the first IP address and the first port number of the remote electronic device from the data field of the address information exchange message received from the remote electronic device, and change the address of the remote electronic device from the header of the message. When extracting and storing the second IP address and the second port number, and sending a message with the remote electronic device, the second IP address and the second port number of the remote electronic device are the destination, and the first IP address of the home server. And a first port number as a source address. The home server according to the present invention communicates with other premises electronics via a home network to exchange data and messages. One or more communication modules for; And a network and a transmission processing module supporting processing of the IP communication layer to process data transmitted and received through one or more communication modules according to a standard Internet protocol.
더하여, 본 발명은 과제를 해결하기 위한 또 다른 수단으로서, 통신 서비스 제공 시스템에 구비되는 홈 서버 등록 장치 및 홈 네트워크 시스템에 구비되는 홈 서버를 통해 홈 네트워크의 댁내 전자기기에 대한 원격 전자기기의 접근을 제어하는 홈 네트워크의 원격 접근 제어 방법에 있어서, 홈 서버 등록 장치가, 원격 전자기기 또는 상기 홈 서버로부터 장치 식별자와 주소 정보를 포함하는 등록 요청 메시지를 수신하는 단계; 등록 요청한 원격 전자기기 또는 홈 서버가 서비스 이용 권한이 있는 지를 확인하는 단계; 확인 결과, 서비스 이용 권한이 있으면, 등록 요청한 원격 전자기기 또는 홈 서버 및 그 주소 정보를 등록 후, 등록이 성공했음을 알리는 응답 메시지를 등록 요청한 원격 전자기기 또는 홈 서버로 전송하는 단계; 및 등록된 원격 전자기기와 홈 서버 간에 등록한 주소 정보를 기반으로 통신 세션 연결을 중계하는 단계를 포함하는 것을 특징으로 하는 홈 네트워크의 원격 접근 제어 방법을 제공한다.In addition, the present invention as another means for solving the problem, the access of the remote electronic device to the home electronic device of the home network through the home server registration device provided in the communication service providing system and the home server provided in the home network system A remote access control method of a home network for controlling a device, the home server registering device comprising: receiving a registration request message including device identifier and address information from a remote electronic device or the home server; Checking whether the remote electronic device or the home server that requested the registration has the authority to use the service; If it is confirmed that the service use authority is performed, registering the remote electronic device or the home server and the address information of the registration request, and transmitting a response message indicating that the registration is successful to the remote electronic device or the home server requesting the registration; And relaying a communication session connection on the basis of the registered address information between the registered remote electronic device and the home server.
본 발명에 의한 홈 네트워크의 원격 접근 제어 방법은, 원격 전자기기로부터 상기 홈 서버에 대한 접근 예약 요청 메시지를 수신하는 단계; 원격 전자기기가 접근하고자 하는 홈 서버에 대한 접근 권한이 있는 지를 확인하는 단계; 및 홈 서버에 대한 접근 권한이 있으면, 홈 서버의 상태 정보 변경 시, 원격 전자기기로 통지하도록 상기 원격 전자기기의 상기 홈 서버에 대한 접근 예약을 설정하는 단계를 더 포함할 수 있다.In accordance with another aspect of the present invention, a remote access control method of a home network includes: receiving an access reservation request message for a home server from a remote electronic device; Checking whether the remote electronic device has access to a home server to which the remote electronic device is to access; And setting a reservation for access to the home server of the remote electronic device to notify the remote electronic device when the state information of the home server is changed, when the access right to the home server is changed.
본 발명에 의한 홈 네트워크의 원격 접근 제어 방법은, 홈 서버로부터 원격 접근 제어가 가능함을 통지하는 상태 정보 통지 메시지를 수신하는 단계; 및 수신한 상태 정보 통지 메시지에 따라서, 홈 서버의 상태 정보를 변경하고, 접근 예약한 원격 전자기기로 홈 서버의 상태 정보를 전송하는 단계를 더 포함할 수 있다.In accordance with another aspect of the present invention, there is provided a remote access control method of a home network, the method comprising: receiving a status information notification message notifying that remote access control is possible from a home server; And changing the status information of the home server according to the received status information notification message, and transmitting the status information of the home server to the remote electronic device that reserved the access.
또한, 본 발명은 과제를 해결하기 위한 또 다른 수단으로서, 통신 서비스 제공 시스템에 구비되는 홈 서버 등록 장치 및 홈 네트워크 시스템에 구비되는 홈 서버를 통해 홈 네트워크의 댁내 전자기기에 대한 원격 전자기기의 접근을 제어하는 홈 네트워크의 원격 접근 제어 방법에 있어서, 원격 전자기기가, 자신의 장치 식별자와 주소 정보를 포함하는 등록 요청 메시지를 구성하여 홈 서버 등록 장치로 전송하는 단계; 홈 서버 등록 장치로부터 등록이 성공하였음을 통지하는 응답 메시지가 수신되는 지를 확인하는 단계; 확인 결과, 상기 홈 서버 등록 장치로부터, 등록이 성공하였음을 통지하는 응답 메시지가 수신되면, 접근하고자 하는 홈 서버의 장치 식별자를 포함하는 접근 예약 요청 메시지를 구성하여 상기 홈 서버 등록 장치로 전송하는 단계; 홈 서버 등록 장치로부터 접근 예약이 성공하였음을 통지하는 응답 메시지가 수신되는 지를 확인하는 단계; 및 확인 결과, 홈 서버 등록 장치로부터 접근 예약이 성공하였음을 통지하는 응답 메시지가 수신되면, 홈 서버를 통해 댁내 전자기기에 접근하는 원격접근 제어 기능을 활성화하는 단계를 포함하는 홈 네트워크의 원격 접근 제어 방법을 제공한다.In addition, the present invention as another means for solving the problem, the access of the remote electronic device to the home electronic device of the home network through the home server registration device provided in the communication service providing system and the home server provided in the home network system A remote access control method for controlling a home network, the remote electronic device comprising: constructing a registration request message including a device identifier and address information of a remote electronic device and transmitting the same to a home server registration device; Confirming whether a response message notifying that the registration is successful is received from the home server registration device; As a result of the check, when the response message indicating that the registration is successful is received from the home server registration device, constructing an access reservation request message including a device identifier of the home server to be accessed and transmitting the message to the home server registration device; ; Confirming whether a response message notifying that the access reservation is successful has been received from the home server registration device; And when it is confirmed that a response message indicating that the access reservation is successful is received from the home server registration device, activating a remote access control function for accessing the home electronic device through the home server. Provide a method.
본 발명에 의한 홈 네트워크의 원격 접근 제어 방법은, 원격 전자기기가, 홈 서버 등록 장치로부터 상기 홈 서버가 원격 접근 가능함을 알리는 메시지를 수신하면, 홈 서버 등록 장치를 통해 홈 서버와 통신 세션을 연결하는 단계; 통신 세션을 연결한 홈 서버로부터 홈 서버에 기 설정된 주소 정보인 제1 IP 주소 및 제1 포트 번호를 포함하는 주소 정보 교환 메시지를 수신하는 단계; 및 수신한 주소 정보 교환 메시지의 데이터 필드에서 홈 서버의 제1 IP 주소 및 제1 포트 번호를 추출하고, 헤더에서 홈 서버의 변경된 주소인 제2 IP 주소 및 제2 포트 번호를 추출하여 저장하는 단계를 더 포함할 수 있다.In the remote access control method of the home network according to the present invention, when a remote electronic device receives a message indicating that the home server is remotely accessible from the home server registration device, the home electronic device connects a communication session with the home server through the home server registration device. Making; Receiving an address information exchange message including a first IP address and a first port number, which are address information preset for the home server, from a home server connecting a communication session; And extracting the first IP address and the first port number of the home server from the data field of the received address information exchange message, and extracting and storing the second IP address and the second port number, which are changed addresses of the home server, from the header. It may further include.
본 발명에 의한 홈 네트워크의 원격 접근 제어 방법은, 원격 전자기기가, 홈 서버로부터 주소 정보 교환 메시지를 수신하면, 원격 전자기기 자신의 제1 IP 주소 및 제1 포트 번호를 데이터 필드에 기록한 주소 정보 교환 메시지를 구성하여 홈 서버로 전송하는 단계를 더 포함할 수 있다.In the remote access control method of the home network according to the present invention, when the remote electronic device receives the address information exchange message from the home server, the address information of recording the first IP address and the first port number of the remote electronic device itself in a data field. The method may further include constructing and exchanging an exchange message to the home server.
본 발명에 의한 홈 네트워크의 원격 접근 제어 방법은, 원격 전자기기가, 홈 서버로부터 원격 전자기기 자신의 제2 IP 주소 및 제2 포트 번호를 목적지로 하여 전송된 주소 정보 확인 메시지가 수신되는지를 확인하는 단계; 홈 서버로부터 주소 정보 확인 메시지가 수신되지 않으면, 통신에 이상이 있는 것으로 판단하여 원격 접근 제어를 종료하는 단계를 더 포함할 수 있다.In the remote access control method of the home network according to the present invention, the remote electronic device checks whether the address information confirmation message transmitted from the home server to the destination of the second IP address and the second port number of the remote electronic device itself is received. Making; If the address information confirmation message is not received from the home server, the method may further include determining that there is an error in communication and ending the remote access control.
본 발명에 의한 홈 네트워크의 원격 접근 제어 방법은, 원격 전자기기가, 저장한 홈 서버의 제2 IP 주소 및 제2 포트 번호를 목적지 주소로 하는 주소 정보 확인 메시지를 구성하여 홈 서버로 전송하는 단계를 더 포함할 수 있다.In the remote access control method of the home network according to the present invention, the remote electronic device, comprising the step of constructing an address information confirmation message using the second IP address and the second port number of the stored home server as the destination address and transmitting to the home server It may further include.
본 발명에 의한 홈 네트워크의 원격 접근 제어 방법은, 원격 전자기기가 상기 저장한 홈 서버의 제2 IP 주소 및 제2 포트 번호를 이용하여, 홈 서버와 통신하여, 홈 서버로부터 댁내 전자기기의 특성 정보를 요청하고, 댁내 전자기기의 기능을 호출하는 단계를 더 포함할 수 있다.In the remote access control method of the home network according to the present invention, the remote electronic device communicates with the home server using the second IP address and the second port number of the home server, and stores the characteristics of the home electronic device from the home server. The method may further include requesting information and invoking a function of a home electronic device.
또한, 본 발명은 과제 해결을 위한 또 다른 수단으로서, 통신 서비스 제공 시스템에 구비되는 홈 서버 등록 장치 및 홈 네트워크 시스템에 구비되는 홈 서버를 통해 홈 네트워크의 댁내 전자기기에 대한 원격 전자기기의 접근을 제어하는 홈 네트워크의 원격 접근 제어 방법에 있어서, 홈 서버가, 자신의 장치 식별자와, 기 설정된 주소 정보를 포함하는 등록 요청 메시지를 구성하여 홈 서버 등록 장치로 전송하는 단계; 등록 요청에 대한 응답 메시지의 수신을 대기하는 단계; 홈 서버 등록 장치로부터 등록이 성공했음을 의미하는 응답 메시지가 수신되면, 홈 서버 자신의 상태 정보를 상기 홈 서버 등록 장치로 통지하는 단계; 홈 서버 등록 장치로부터 상태 정보를 성공적으로 수신하였음을 알리는 응답 메시지를 수신하면, 홈 서버가 원격 전자기기의 접근을 처리할 수 있도록 원격 접근 제어 기능을 활성화시키는 단계를 포함하는 홈 네트워크의 원격 접근 제어 방법을 제공한다.In addition, the present invention is another means for solving the problem, through the home server registration device provided in the communication service providing system and the home server provided in the home network system to access the remote electronic device to the home electronic devices of the home network A remote access control method of a controlling home network, comprising the steps of: a home server constructing a registration request message including a device identifier and preset address information and transmitting the same to a home server registration device; Waiting for reception of a response message to the registration request; When a response message indicating that registration is successful is received from a home server registration device, notifying the home server registration device of status information of a home server itself; Receiving a response message indicating successful reception of status information from the home server registration device, activating a remote access control function to enable the home server to handle access of the remote electronic device; Provide a method.
본 발명에 의한 홈 네트워크의 원격 접근 제어 방법은, 홈 서버가 상기 홈 서버 등록 장치를 통해 상기 원격 전자기기와 통신 세션을 연결하는 단계; 통신 세션을 연결한 원격 전자기기로, 홈 서버 자신에게 기 설정된 제1 IP 주소 및 제1 포트 번호를 포함하는 주소 정보 교환 메시지를 전송하는 단계; 주소 정보 교환 메시지를 전송한 후, 원격 전자기기로부터 주소 정보 교환 메시지가 전송되기를 대기하는 단계; 및 원격 전자기기로부터 주소 정보 교환 메시지가 전송되면, 원격 전자기기로부터 전송된 주소 정보 교환 메시지의 데이터 필드에서, 원격 전자기기의 제1 IP 주소 및 제1 포트 번호를 추출하고, 헤더에서 원격 전자기기의 제2 IP 주소 및 제2 포트 번호를 추출하여 저장하는 단계를 더 포함할 수 있다.The remote access control method of the home network according to the present invention comprises the steps of: a home server connecting a communication session with the remote electronic device through the home server registration device; Transmitting, to a remote electronic device connecting a communication session, an address information exchange message including a preset first IP address and a first port number to a home server itself; After transmitting the address information exchange message, waiting for the address information exchange message to be transmitted from the remote electronic device; And when the address information exchange message is transmitted from the remote electronic device, extracting the first IP address and the first port number of the remote electronic device from the data field of the address information exchange message transmitted from the remote electronic device, and extracting the remote electronic device from the header. The method may further include extracting and storing the second IP address and the second port number.
본 발명에 의한 홈 네트워크의 원격 접근 제어 방법은, 홈 서버가, 저장한 원격 전자기기의 제2 IP 주소 및 제2 포트 번호를 목적지로 하는 주소 정보 확인 메시지를 전송하는 단계; 원격 전자기기에서 전송한 주소 정보 확인 메시지가 수신되는지를 확인하는 단계; 원격 전자기기로부터 주소 정보 확인 메시지가 수신되지 않으면, 통신에 이상이 있는 것으로 판단하여 활성화된 원격 접근 제어 기능을 취소하는 단계를 더 포함할 수 있다.The remote access control method of the home network according to the present invention comprises the steps of: transmitting, by a home server, an address information confirmation message destined for a second IP address and a second port number of a stored remote electronic device; Checking whether an address information confirmation message transmitted from the remote electronic device is received; If the address information confirmation message is not received from the remote electronic device, it may further include determining that there is an error in communication and canceling the activated remote access control function.
본 발명에 의한 홈 네트워크의 원격 접근 제어 방법은, 홈 서버가 상기 저장한 원격 전자기기의 제2 IP 주소 및 제2 포트 번호를 이용하여, 상기 원격 전자기기와 통신하여, 댁내 전자기기의 특성 정보를 제공하고, 댁내 전자기기의 기능 호출에 대한 응답 메시지를 전달하는 단계를 더 포함할 수 있다.In the remote access control method of the home network according to the present invention, the home server communicates with the remote electronic device using the second IP address and the second port number of the remote electronic device, and stores the characteristic information of the home electronic device. And providing a response message to the function call of the home electronic device.
본 발명에 의한 홈 네트워크의 원격 접근 제어 방법은, 홈 서버가 댁내 전자기기로부터 디바이스, 서비스, 이벤트 중에서 하나 이상의 특성 정보를 수집하여, 특성 정보 별로 대응하는 댁내 전자기기의 장치 식별자 및 주소 정보를 관리하는 내부용 특성 정보 관리 테이블을 구성하는 단계; 및 내부용 특성 정보 관리 테이블에서 장치 식별자 및 주소 정보를 홈 서버 자신의 장치 식별자 및 주소 정보로 변경하여 외부용 특성 정보 관리 테이블을 구성하는 단계를 더 포함할 수 있다.In the remote access control method of a home network according to the present invention, a home server collects one or more characteristic information among devices, services, and events from a home electronic device, and manages device identifiers and address information of the home electronic devices corresponding to the characteristic information. Configuring an internal property information management table; And changing the device identifier and the address information in the internal property information management table to the device identifier and the address information of the home server itself to configure the external property information management table.
본 발명에 의한 홈 네트워크의 원격 접근 제어 방법은, 댁내 전자기기의 특성 정보를 제공하고, 댁내 전자기기의 기능 호출에 대한 응답 메시지를 전달하는 단계는, 원격 전자기기로부터 특성 정보 요청 시, 외부용 특성 정보 관리 테이블에 특성 정보, 장치 식별자 및 주소 정보를 추출하여, 원격 전자기기에 제공하는 단계를 포함하여 이루어질 수 있다.In the remote access control method of the home network according to the present invention, the step of providing the characteristic information of the electronic device in the home, and transmitting a response message to the function call of the electronic device in the home, when requesting the characteristic information from the remote electronic device, And extracting the characteristic information, the device identifier, and the address information from the characteristic information management table and providing the same to the remote electronic device.
본 발명에 의한 홈 네트워크의 원격 접근 제어 방법에 있어서, 댁내 전자기기의 특성 정보를 제공하고, 댁내 전자기기의 기능 호출에 대한 응답 메시지를 전달하는 단계는, 원격 전자기기로부터 특정 기능에 대한 호출 메시지를 수신하는 단계; 내부용 특성 정보 관리 테이블을 참조하여, 호출된 특정 기능을 처리할 댁내 전자기기를 검색하는 단계; 및 호출 메시지의 목적지 주소를 댁내 전자기기의 주소로 변경하고, 근원지 주소를 홈 서버의 주소로 변경한 후, 댁내 전자기기로 전송하는 단계를 더 포함하여 이루어질 수 있다.In the remote access control method of the home network according to the present invention, the step of providing the characteristic information of the home electronic device, and transmitting a response message for the function call of the home electronic device, the call message for a specific function from the remote electronic device Receiving; Searching for an indoor electronic device to process the called specific function by referring to the internal property information management table; And changing the destination address of the call message to the address of the home electronic device, changing the source address to the address of the home server, and transmitting the home address to the home electronic device.
본 발명에 의한 홈 네트워크의 원격 접근 제어 방법에 있어서, 댁내 전자기기의 특성 정보를 제공하고, 댁내 전자기기의 기능 호출에 대한 응답 메시지를 전달하는 단계는, 댁내 전자기기로부터 기능 호출에 대한 응답 메시지를 수신하는 단계; 응답 메시지의 목적지 주소를 원격 전자기기의 주소로 변경하고, 근원지 주소를 홈 서버 주소로 변경한 후, 변경된 응답 메시지를 상기 원격 전자기기로 전송하는 단계를 더 포함하여 이루어질 수 있다.In the remote access control method of the home network according to the present invention, the step of providing the characteristic information of the electronic device in the home, and transmitting the response message to the function call of the home electronic device, the response message for the function call from the home electronic device Receiving; The method may further include changing a destination address of the response message to an address of the remote electronic device, changing a source address to a home server address, and then transmitting the changed response message to the remote electronic device.
본 발명에 따르면, 통신 사업자의 네트워크를 통하여 주소가 임시로 할당되고, NAT/PAT에 의해 주소 및 포트가 수시로 변경되는 홈 네트워크의 댁내 전자기기의 주소 및 포트 정보를 홈 서버 및 홈 서버 등록 장치를 통해 관리하고, 홈 네트워크의 외부에 위치한 원격 전자기기가 홈 서버 등록 장치를 통해 홈 서버에 접근하여, 홈 서버를 통해 댁내 전자기기의 기능 및 서비스를 이용할 수 있도록 할 수 있으며, 그 결과, 댁내 전자기기의 구성이나 기능을 크게 변경하지 않으면서, 기존의 DLNA 표준 규격에 따라서 홈 네트워크 시스템의 댁내 전자기기의 컨텐츠 및 기능을 원격지에서 자유롭게 이용할 수 있게 된다.According to the present invention, a home server and a home server registration apparatus are configured to obtain address and port information of home electronic devices of a home network whose addresses are temporarily assigned through a network of a communication provider and whose addresses and ports are changed from time to time by NAT / PAT. Through the home server registration device, so that remote electronic devices located outside of the home network can access the home server, and use the home electronic devices' functions and services through the home server. According to the existing DLNA standard, the contents and functions of the home electronics of the home network system can be freely used remotely without changing the configuration or function of the device.
도 1은 홈 네트워크 시스템의 일반적인 구성을 나타낸 블록도이다.
도 2는 홈 네트워크 시스템에 구비되는 댁내 전자기기의 종래 구성을 나타낸 블록도이다.
도 3은 종래 홈 네트워크 시스템에 있어서, 댁내 전자기기 간의 기능 호출 과정을 나타낸 메시지 흐름도이다.
도 4는 본 발명에 의한 홈 네트워크의 원격 접근 제어 시스템을 나타낸 블록도이다.
도 5는 본 발명에 의한 홈 네트워크의 원격 접근 제어 시스템에 있어서, 홈 서버의 구성을 나타낸 블록도이다.
도 6은 본 발명에 의한 홈 네트워크의 원격 접근 제어 시스템에 있어서, 원격 전자기기의 등록 절차를 보인 메시지 흐름도이다.
도 7은 본 발명에 의한 홈 네트워크의 원격 접근 제어 시스템에 있어서, 홈 서버의 등록 절차를 나타낸 메시지 흐름도이다.
도 8은 본 발명에 의한 홈 네트워크의 원격 접근 제어 시스템에 있어서, 홈 서버와 원격 전자기기 간의 통신 연결 절차를 나타낸 메시지 흐름도이다.
도 9는 본 발명에 의한 홈 네트워크의 원격 접근 제어 시스템에 있어서, 원격 전자기기와 홈 서버 간의 디바이스 및 서비스 특성 정보를 교환하는 과정을 나타낸 메시지 흐름도이다.
도 10은 본 발명에 의한 홈 네트워크의 원격 접근 제어 시스템에 있어서, 원격 전자기기와 홈 서버 간의 이벤트 특성 정보 교환 절차를 나타낸 메시지 흐름도이다.
도 11은 본 발명에 의한 홈 네트워크의 원격 접근 제어 시스템에 있어서, 댁내 전자기기의 기능 호출 절차를 나타낸 메시지 흐름도이다.
도 12는 본 발명에 의한 홈 네트워크의 원격 접근 제어 방법을 나타낸 순서도이다.
도 13은 본 발명에 의한 홈 네트워크의 원격 접근 제어 방법에 있어서, 홈 서버 등록 장치에 의한 등록 처리 과정을 나타낸 순서도이다.
도 14는 본 발명에 의한 홈 네트워크의 원격 접근 제어 방법에 있어서, 원격 전자기기에 의한 등록 처리 과정을 나타낸 순서도이다.
도 15 및 도 16은 본 발명에 의한 홈 네트워크의 원격 접근 제어 방법에 있어서, 원격 전자기기에 의한 통신 연결 및 주소 정보 교환 과정을 나타낸 순서도이다.
도 17은 본 발명에 의한 홈 네트워크의 원격 접근 제어 방법에 있어서, 홈 서버에 의한 등록 처리 과정을 나타낸 순서도이다.
도 18 및 도 19는 본 발명에 의한 홈 네트워크의 원격 접근 제어 방법에 있어서, 홈 서버에 의한 통신 연결 및 주소 정보 교환 과정을 나타낸 순서도이다.
도 20 및 도 21은 본 발명에 의한 홈 네트워크의 원격 접근 제어 방법에 있어서, 홈 서버에 의한 댁내 전자기기의 기능 호출 및 응답 처리 과정을 나타낸 순서도이다.1 is a block diagram showing a general configuration of a home network system.
2 is a block diagram showing a conventional configuration of an indoor electronic device provided in a home network system.
3 is a message flow diagram illustrating a process of calling a function between home electronic devices in a conventional home network system.
4 is a block diagram illustrating a remote access control system of a home network according to the present invention.
5 is a block diagram showing the configuration of a home server in the remote access control system of a home network according to the present invention.
6 is a message flow diagram illustrating a registration procedure of a remote electronic device in a remote access control system of a home network according to the present invention.
7 is a message flow diagram illustrating a registration procedure of a home server in a remote access control system of a home network according to the present invention.
8 is a message flow diagram illustrating a communication connection procedure between a home server and a remote electronic device in a remote access control system of a home network according to the present invention.
9 is a message flow diagram illustrating a process of exchanging device and service characteristic information between a remote electronic device and a home server in a remote access control system of a home network according to the present invention.
10 is a message flow diagram illustrating a procedure of exchanging event characteristic information between a remote electronic device and a home server in a remote access control system of a home network according to the present invention.
11 is a message flow diagram illustrating a function call procedure of an indoor electronic device in a remote access control system of a home network according to the present invention.
12 is a flowchart illustrating a remote access control method of a home network according to the present invention.
13 is a flowchart illustrating a registration process by a home server registration apparatus in the remote access control method of a home network according to the present invention.
14 is a flowchart illustrating a registration process by a remote electronic device in a remote access control method of a home network according to the present invention.
15 and 16 are flowcharts illustrating a communication connection and an exchange of address information by a remote electronic device in a remote access control method of a home network according to the present invention.
17 is a flowchart illustrating a registration process by a home server in a remote access control method of a home network according to the present invention.
18 and 19 are flowcharts illustrating a communication connection and an exchange of address information by a home server in a remote access control method of a home network according to the present invention.
20 and 21 are flowcharts illustrating a function call and response process of a home electronic device by a home server in a remote access control method of a home network according to the present invention.
이하 본 발명의 바람직한 실시 예를 첨부한 도면을 참조하여 상세히 설명한다. 다만, 하기의 설명 및 첨부된 도면에서 본 발명의 요지를 흐릴 수 있는 공지 기능 또는 구성에 대한 상세한 설명은 생략한다. 또한, 도면 전체에 걸쳐 동일한 구성 요소들은 가능한 한 동일한 도면 부호로 나타내고 있음에 유의하여야 한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. However, in the following description and the accompanying drawings, detailed descriptions of well-known functions or configurations that may obscure the subject matter of the present invention will be omitted. In addition, it should be noted that like elements are denoted by the same reference numerals as much as possible throughout the drawings.
도 4는 본 발명에 의한 홈 네트워크의 원격 접근 제어 시스템의 전체 구성을 나타낸 블록도이다.Figure 4 is a block diagram showing the overall configuration of a remote access control system of a home network according to the present invention.
도 4를 참조하면, 본 발명에 의한 홈 네트워크의 원격 접근 제어 시스템은, 홈 네트워크 시스템(110)에 구비되는 홈 서버(111)와, 통신 사업자의 통신 서비스 제공 시스템(120)에 구비되는 홈 서버 등록 장치(121)와, 공중망 영역(130)에 위치한 원격 전자기기(131)를 포함하여 이루어진다.Referring to FIG. 4, a remote access control system of a home network according to the present invention includes a
홈 네트워크 시스템(110)은 각 사용자의 댁내에 구성되는 것으로서, 본 발명에 의한 홈 서버(111)와, 복수의 댁내 전자기기(112,113)와, 홈 게이트웨이(114)와, 이들을 연결하는 홈 네트워크(115)를 포함하여 이루어진다. 여기서, 홈 서버(111)는, 홈 네트워크 시스템(110)에 구비된 댁내 전자기기 중에서 하나를 변경하여 구성될 수 있다. 즉, 상기 홈 서버(111)는 본래의 댁내 전자기기의 기능에 더하여, 본 발명에 따른 원격 접근 제어의 처리를 위한 홈 서버 기능을 더 추가하는 형태로 구현될 수 있다. 이때, 다른 댁내 전자기기들(112, 113)의 구성은 변경되지 않는다. 더하여, 홈 네트워크 시스템(110)에는, 댁내 전자기기(112, 113)뿐만 아니라, 홈 망의 영역 내에 존재하는 다른 전자기기, 예를 들어, 자동차에 설치된 전자장치나 노트북 등이 더 연결될 수 있다.The
이러한 홈 네트워크 시스템(110)에 구비되는 홈 서버(111)는, 홈 네트워크 외부에 위치하며 통신망(100)에 연결되는 원격 전자기기(131)가 홈 네트워크 내부의 댁내 전자기기들(112,113)에 저장된 컨텐츠에 접근하고, 댁내 전자기기들(112, 113)에서 제공하는 임의 기능 및 서비스를 이용할 수 있도록 한다. 물론, 홈 서버(111)에 구비된 기능 및 서비스도 이용할 수 있음은 당연하다.The
다음으로, 통신 서비스 제공 시스템(120)은, 홈 네트워크 시스템(110)에 대하여 인터넷 서비스를 제공하기 위한 것으로서, 홈 게이트웨이(114)가 통신 서비스 제공 시스템(120)을 통해서 임시 IP를 할당 받아, 홈 네트워크 시스템(110) 내의 홈 서버(111) 및 댁내 전자기기(112,113)들과 외부와 통신할 수 있도록 중계한다. 이러한 통신 서비스 제공 시스템(120)에는 각종 서버들을 연결하는 스위치/라우터(123)가 구비되며, 본 발명에 의한 홈 네트워크의 원격 접근 제어를 위하여, 홈 서버 등록 장치(121)와, 홈 서버 검색 장치(122)를 더 포함한다.Next, the communication
홈 서버 등록 장치(121)는, 원격 접근 제어 서비스를 위하여, 홈 서버(111) 및 홈 네트워크로의 원격 접근을 희망하는 원격 전자기기(131)를 등록하고, 등록된 원격 전자기기(131)와 홈 서버(111) 간에 통신이 가능하도록 지원한다. 더 구체적으로, 홈 서버 등록 장치(121)는, 서비스 이용 권한을 확인하여, 권한을 갖는 원격 전자기기(131) 및 홈 서버(111)를 등록하여 두고, 홈 서버(111)가 접근 가능한 상태(예를 들어, 로그온 상태)일 때, 홈 서버(111)의 상태 정보를 원격 전자기기(131)로 제공하고, 원격 전자기기(131)와 홈 서버(111) 간의 통신 세션 연결을 중계한다. 이렇게 홈 서버 등록 장치(121)를 통해서 통신 세션이 연결된 원격 전자기기(131)와 홈 서버(111)는 상호 주소 정보를 교환한 후, 교환된 주소 정보를 기반으로 메시지를 교환하여, 원격 전자기기(131)가 홈 서버(111)를 통해 홈 네트워크 시스템(110) 내부의 댁내 전자기기(112,113)의 기능을 이용할 수 있게 된다. 이에 대해서는 이후에 설명하는 홈 네트워크의 원격 접근 제어 방법을 통해서 더 상세하게 설명한다.The home
홈 서버 검색 장치(122)는 제3 사업자의 서비스 제공자 시스템이 통신 사업자와 홈 네트워크 주인의 허가를 받아서, 홈 네트워크 시스템(110) 내의 댁내 전자기기(112,113)에 접근하여 필요한 정보를 가져가거나, 기능을 제어할 수 있도록 지원한다. 홈 서버 검색 장치(122)가 홈 네트워크 시스템(110) 내의 전자기기에 접근할 수 있는 권한을 획득하는 방법은 다양하게 존재할 수 있다. 예를 들어, 홈 네트워크 시스템(110)이 각 댁내 전자기기의 접근 권한을 사용자 별 또는 컨텐츠 별로 설정하고, 이를 접속을 요구하는 제3자의 시스템에 제공할 수 있다. 또한, 제 3자의 접속 요구가 있을 경우, 홈 네트워크 관리자에게 접속요청 사실을 통보하고 확인을 받는 방법도 사용될 수 있다.The home
본 발명에 따른 홈 네트워크로의 원격 접근 제어 시스템은, 홈 서버 등록 장치(121)와 홈 서버(111)를 통해서, 사용자가 원격 전자기기(131)를 통해 자신의 홈 네트워크 시스템(110)으로 접근할 뿐만 아니라, 접근 허용을 받은 다른 사람의 홈 네트워크 시스템으로도 접근할 수 있으며, 또한 제3 사업자가 통신사업자 및 홈 네트워크 주인의 허락을 받아서 홈 네트워크 시스템(110)의 댁내 전자기기(112,113)에 접근할 수도 있다.In the remote access control system to the home network according to the present invention, the user accesses his
다음으로, 원격 전자기기(131)는, 홈 네트워크의 외부의 공중망 영역(130)에 위치하는 사용자 장치로서, 통신망(100)을 통해 홈 네트워크 시스템(110)에 접근할 수 있는 통신 기능을 갖는 장치를 의미한다. 예를 들어, 원격 전자기기(131)는 노트북, 휴대폰과 같은 이동 통신 단말이 될 수 있다. 상기 원격 전자기기(131,152)는 자동차, 공공 장소, 사무실 공간 등 홈 네트워크 외부의 어떠한 장소에도 모두 적용이 가능하다. 이를 위해, 댁내 전자기기(111,121)에서 직접 이동통신과 같은 MAN(Metropolitan Area Network) 기술을 지원하도록 할 수 있다.Next, the remote
도 5는 본 발명에 의한 홈 네트워크의 원격 접근 제어 시스템에 있어서, 홈 서버(111)의 상세 구성을 나타낸 블록도이다.5 is a block diagram showing the detailed configuration of the
도 5를 참조하면, 본 발명에 의한 홈 서버(111)는, 하나 이상의 통신 모듈(210)과, 네트워크 및 전송 처리 모듈(121)과, 주 프로세서(230)와, 서버 인터페이스 모듈(240)과, 계정 관리 모듈(250)과, 미디어 처리 모듈(260)과, 댁내 접근 제어 모듈(270)과, 휘발성 및 비휘발성 메모리(280,290)를 포함한다.Referring to FIG. 5, the
상기에서, 네트워크 및 전송 처리 모듈(121)과, 주 프로세서(230)와, 서버 인터페이스 모듈(240)과, 계정 관리 모듈(250)과, 미디어 처리 모듈(260)과, 댁내 접근 제어 모듈(270)과, 휘발성 및 비휘발성 메모리(280,290)은 하나의 프로세서 칩 또는 SoC(System On Chip)으로 구현될 수도 있고, 각각 독립된 모듈로 구현될 수 도 있다.In the above, the network and
하나 이상의 통신 모듈(210)은, 홈 네트워크(115)를 통해 다른 댁내 전자기기(112, 113)과 통신하여 데이터 및 메시지를 교환하기 위한 것으로서, 다양한 통신 방식을 모두 지원할 수 있도록, 유선 LAN(Local Area network) 모듈(211), 무선 LAN 모듈(212), 무선 PAN(Personal Area network) 모듈(213), 및 무선 MAN 모듈(214) 중에서 하나 이상을 포함할 수 있다. 본 발명에서는 이동 통신망 등에 직접 연결될 수 있도록 하기 위한 무선 MAN을 더 지원한다.One or
네트워크 및 전송 처리 모듈(121)은 IP 통신 계층의 처리를 지원하여, HTTP/RTP와 같은 표준 인터넷 프로토콜에 따라서 하나 이상의 통신 모듈(210)을 통해서 송수신되는 데이터를 처리한다.The network and
주 프로세서(230)는, 홈 서버(111)에 구비되는 각 모듈들, 네트워크 및 전송 처리 모듈(121)과, 서버 인터페이스 모듈(240)과, 계정 관리 모듈(250)과, 미디어 처리 모듈(260)과, 댁내 접근 제어 모듈(270)과, 휘발성 및 비휘발성 메모리(280,290) 간을 연결하고 그 동작을 제어한다. 특히, 주 프로세서(230)는 서버 인터페이스 모듈(240)을 통해서 홈 서버 등록 장치(121)에 홈 서버 등록을 요청한다. 더하여, 주 프로세서(230)는, 원격 접근 제어가 가능한 상태가 되면 자신의 상태 정보를 홈 서버 등록 장치(121)에 통보한 후 홈 서버 등록 장치(121)를 통해 접근한 원격 전자기기(131)와 통신 세션을 연결하고, 주소 정보를 교환한다. 그리고, 교환한 주소 정보를 기반으로 메시지를 교환하여, 원격 전자기기(131)의 특정 기능에 대한 호출 및 응답을 처리한다.The
서버 인터페이스 모듈(240)은, 원격 접근 제어 처리를 위한 데이터 입출력, 더 구체적으로는, 홈 서버 등록 장치(121) 및 원격 전자기기(131)와의 데이터 및 메시지 교환을 수행한다.The
계정 관리 모듈(250)은 원격 접근 제어를 위한 원격 전자기기(131)의 주소 정보를 관리한다. 더 구체적으로, 원격 전자기기(131)와의 주소 정보 교환을 통해 추출한, 원격 전자기기(131)의 제1 IP 주소 및 제1 포트 번호 및 제2 IP 주소 및 제2 포트 번호를 저장하여 관리한다. 제1 IP 주소 및 제1 포트 번호는, 해당 원격 전자기기(131)에 설정되어 있는 원래의 IP 주소 및 SOAP 포트 번호이며, 제2 IP 주소 및 제2 포트 번호는, NAT/PAT를 통과하면서 변경된 IP 주소 및 포트 번호이다. 이렇게 계정 관리 모듈(250)에 의해 관리되는 주소 정보는 원격 전자기기(131)와의 메시지 교환 시에 이용된다. 즉, 주 프로세서(230)는, 원격 전자기기(131)로 메시지를 전송시에, 목적지 주소로서, 원격 전자기기(131)의 제2 IP 주소 및 제2 포트 번호를 사용하며, 근원지 주소로는, 홈 서버(111)의 제1 IP 주소와 제1 포트 번호를 사용한다. 원격 전자기기(131) 측에서도, 홈 서버(111)로 메시지 전송시에, 목적지 주소로서, 홈 서버(111)의 제2 IP 주소 및 제2 포트 번호를 사용하고, 근원지 주소로는 원격 전자기기(131) 자신의 제1 IP 주소 및 제1 포트 번호를 사용한다. 이를 통해, 홈 서버(111)와 원격 전자기기(131)는, 임시 IP 주소를 사용하고 NAT/PAT를 통해 주소 및 포트 번호가 변경되는 환경에서도 안정적으로 메시지를 교환할 수 있게 된다.The
다음으로, 미디어 처리 모듈(260)과 댁내 접근 제어 모듈(270)과 휘발성 및 비휘발성 메모리(280,290)는 DLNA 규격에 따른 댁내 전자기기에 공통적으로 구비되는 것으로서, 기존의 DLNA 규격의 댁내 전자기기와 동일한 기능을 수행한다.Next, the
즉, 미디어 처리 모듈(260)은, MP3, JPEG, MPEG, H.264 등과 같은 다양한 멀티미디어 컨텐츠 형식을 지원하여, 댁내 접근 제어 모듈(524)을 통해 다른 댁내 전자기기(112, 113)로부터 가져오거나 복사한 컨텐츠 또는 홈 서버(111)에 저장되어 있는 컨텐츠를 실행한다.That is, the
댁내 접근 제어 모듈(270)은 홈 네트워크(115)를 통해 다른 댁내 전자기기(112, 113)에 접근하여, 컨텐츠를 교환하거나, 기능 및 서비스의 호출 및 응답을 처리한다.The indoor
휘발성 및 비휘발성 메모리(270,280)는, 홈 서버(111)의 전체 동작을 위한 각종 프로그램 및 컨텐츠 등의 데이터를 저장한다. 특히, 휘발성 메모리(270)는, 전원 오프 시 저장되어 있던 데이터가 지워지는 메모리로서, 예를 들어 RAM(Random Access Memory)등을 의미한다. 이러한 휘발성 메모리(270)에는 홈 서버(111)의 동작 중에 필요한 프로그램이 로딩된다. 비휘발성 메모리(280)는 전원이 공급되지 않아도 저장된 정보를 계속 유지하는 메모리로서, 예를 들어, ROM(Read Only Memory), 플래시 메모리, 하드디스크와 같은 마그네틱 기억 장치, 광 디스크 드라이브 등이 포함된다. 이러한 비휘발성 메모리(280)에는, 지속적으로 유지되어야 하는 프로그램 및 사용자 데이터가 저장된다. 특히, 본 발명에서는, 주 프로세서(230)에 의해 구성된, 댁내 전자기기(112,113) 들의 디바이스/서비스/이벤트 등의 특성 정보를 관리하는 특성 정보 관리 테이블이 저장될 수 있다.The volatile and
상술한 바와 같이, 본 발명에 따른 홈 서버(111)는, 기존의 댁내 전자기기에, 서버 인터페이스 모듈(240) 및 계정 관리 모듈(250)을 더 구비한 것으로서, 홈 네트워크 시스템에 구비된 댁내 전자기기 중 임의의 한 장치에 상기 서버 인터페이스 모듈(240) 및 계정 관리 모듈(250)을 더 추가함으로써 구현 가능하다.As described above, the
이외에 다른 댁내 전자기기(112, 113)은, 앞서 도 2에 보인 DLNA 표준 규격의 댁내 전자기기와 동일하게 구성될 수 있다.In addition, other indoor
이하, 도 6 내지 도 11을 참조하여, 상술한 홈 네트워크의 원격 접근 제어 시스템에서의 원격 접근 제어 과정을 설명한다.Hereinafter, a remote access control process in the above-described remote access control system of a home network will be described with reference to FIGS. 6 to 11.
도 7은 본 발명에 의한 홈 네트워크로의 원격 접근 제어 시스템에 있어서, 원격 전자기기의 등록 처리 과정을 나타낸 메시지 흐름도이다. 여기서, 등록 절차는 다양한 통신 프로토콜에 기반하여 이루어질 수 있지만, 본 실시 예에서는 Session Initiation Protocol (SIP)을 이용한다.7 is a message flow diagram illustrating a registration process of a remote electronic device in a remote access control system to a home network according to the present invention. Here, the registration procedure may be performed based on various communication protocols, but in this embodiment, Session Initiation Protocol (SIP) is used.
SIP 프로토콜은 이미 Internet Engineer Task Force (IETF)에 의하여 표준화된 프로토콜로서, 본 발명에서는 메시지 전체를 따로 설명하지 않고, 본 발명에서 새롭게 제안하거나 이용하는 필드만을 설명하도록 한다. The SIP protocol is already standardized by the Internet Engineer Task Force (IETF). In the present invention, the entire message is not described separately, but only the fields newly proposed or used in the present invention will be described.
도 6을 참조하면, 홈 네트워크의 댁내 전자기기에 접근하고자 하는 원격 전자기기(131)는, SIP REGISTER 메시지를 홈 서버 등록 장치(121)로 전송하여, 등록을 요청한다(S61). 상기 SIP REGISTER 메시지는 원격 전자기기(131)의 장치 식별자 및 제1 IP 주소를 포함한다. 여기서, 제1 IP 주소는 원격 전자기기(131)에 발신 전용으로 할당된 IP 주소로서, 더 구체적으로, NAT/PAT에 의해 변경되기 전의 원격 전자기기(131)의 IP 주소를 의미한다.Referring to FIG. 6, the remote
이를 수신한 홈 서버 등록 장치(121)는 원격 전자기기(131)의 서비스 이용 권한을 확인한 후, 정당한 권한을 갖는 원격 전자기기(131)에 대하여 등록 처리를 완료한 후, 등록 성공을 의미하는 응답 메시지로서, SIP 200 OK 메시지를 전달한다(S62).After receiving the home
응답 메시지를 수신한 원격 전자기기(131)는 접근하고자 하는 홈 서버(111)의 장치 식별자를 포함하는 접근 예약 요청 메시지(SIP SUBSCRIBE 메시지)를 홈 서버 등록 장치(121)로 전송한다(S63). 여기서, 접근 예약은, 해당 홈 서버(111)가 접근 가능 상태가 되면, 원격지에서 접근할 수 있도록 원격 전자기기(131)에 통보해 줄 것을 요청하는 것이다.Upon receiving the response message, the remote
접근 예약 요청 메시지를 수신한 홈 서버 등록 장치(121)는 원격 전자기기(131)의 홈 서버(111)에 대한 접근 권한을 확인하여, 정당한 접근 권한을 갖는 경우, 해당 홈 서버(111)에 대하여 접근 예약을 등록하고, 예약이 성공되었음을 의미하는 SIP 200 OK 메시지를 원격 전자기기(131)로 전달한다(S64).The home
이상의 과정을 통해, 홈 네트워크 시스템으로 원격 접근하고자 하는 원격 전자기기(131)는 자신을 홈 서버 등록 장치(121)에 등록하고, 접근 예약을 실행하여 홈 서버(111)가 준비되기를 기다린다.Through the above process, the remote
이와 함께, 원격 접근을 처리할 홈 서버(111)도 홈 서버 등록 장치(121)에 자신을 등록하고, 원격 접근 처리가 가능하게 되면 관련 상태 정보를 통보하여야 한다.In addition, the
도 7은 본 발명에 의한 홈 네트워크의 원격 접근 제어 시스템에 있어서, 홈 서버의 등록을 위한 메시지 흐름도이다.7 is a message flow diagram for registering a home server in a remote access control system of a home network according to the present invention.
도 7을 참조하면, 홈 서버(111)는 초기 전원이 인가되면, 원격 전자기기(131)와 마찬가지로, 자신의 장치 식별자와 제1 IP 주소를 포함하는 등록 요청 메시지(SIP REGISTER 메시지)를 홈 서버 등록 장치(121)로 전송한다(S71).Referring to FIG. 7, when the initial power is applied, the
이에 홈 서버 등록 장치(121)는 홈 서버(111)의 서비스 이용 권한을 확인하여, 서비스 이용 권한이 있는 경우 홈 서버(111)를 등록한 후, 홈 서버(111)로 등록 성공을 알리는 응답 메시지(SIP 200 OK 메시지)를 전송한다(S72).Accordingly, the home
이어서, 응답 메시지를 수신하여 등록되었음을 확인한 홈 서버(111)는 자신의 상태 정보(Log on 상태)를 포함하는 SIP PUBLISH 메시지를 홈 서버 등록 장치(121)로 전송하여, 자신이 원격 접근을 처리할 준비가 되어 있음을 통보한다(S73). 즉, SIP PUBLISH 메시지를 통해 자신의 상태를 통지한다.Subsequently, the
상기 SIP PUBLISH 메시지를 수신한 홈 서버 등록 장치(121)는 홈 서버(111)의 상태 정보를 추출하여 저장한 후, 응답으로 SIP 200 OK 메시지를 홈 서버(111)로 전송하여(S74), 메시지를 성공적으로 수신하였음을 알린다.After receiving the SIP PUBLISH message, the home
홈 서버 등록 장치(121)는, 이후 상기 저장한 상태 정보를 접근 예약한 원격 전자기기(131)로 통지한다.The home
한편, 상태 정보를 통지한 홈 서버(111)는 홈 네트워크 안에 위치하고, DLNA 표준 규격 지원하는 다른 댁내 전자기기(112,113)와 DLNA 표준 규격에 따라서 메시지를 교환하여, 디바이스/서비스/이벤트 특성 정보를 수집한다(S75, S76).On the other hand, the
이는 일반적인 홈 네트워크 시스템 내에서, 댁내 전자기기들이 상호 서비스 및 디바이스 특성 정보 교환하는 과정과 동일하게 이루어진다. 간단하게 설명하면, SSDP 프로토콜의 NOTIFY 메시지를 상대 댁내 전자기기(112,113)로 전송하여, 자신의 존재를 알린 후에, XML 메시지를 통해 서비스/디바이스 정보를 요청하여, 획득한다. 이는 홈 서버(111)에서 다른 댁내 전자기기(112,113)로 이루어질 수도 있고, 다른 댁내 전자기기(112, 113)에서 홈 서버(111)로 이루어질 수도 있다.This is the same as the process of exchanging mutual service and device characteristic information between home electronic devices in a general home network system. Briefly, the NOTIFY message of the SSDP protocol is transmitted to the counterpart home
홈 서버(111)는, 단계(S75)를 통해 수집한 다른 댁내 전자기기(112,113)의 서비스/디바이스/이벤트의 특성 정보를 통합하고, 자신의 기능인 것처럼 재구성한다(S77). 더 구체적으로 설명하면, 홈 서버(111)는 홈 네트워크 시스템(110)에 구비되는 다른 댁내 전자기기(112,113) 및 자신의 서비스, 디바이스, 이벤트 특성 정보를 모아서 표 1과 같은 하나의 내부용 특성 관리 테이블을 구성한다.The
상기 내부용 특성 관리 테이블은, 수집된 디바이스 특성/서비스 특성/이벤트 특성을 해당하는 댁내 전자기기의 장치 식별자 및 IP 주소와 매핑하여 관리한다. 이를 통해, 각 댁내 전자기기에서 처리 가능한 기능 및 서비스를 확인할 수 있게 된다.The internal characteristic management table manages the collected device characteristic / service characteristic / event characteristic by mapping it with a device identifier and an IP address of a corresponding indoor electronic device. Through this, it is possible to check the functions and services that can be processed in each home electronic device.
표 1을 참조하면, 댁내 전자기기(112,113)는, 단일 혹은 복수의 특성을 지원할 수 있다. 따라서, 상기 내부용 특성 관리 테이블은, 각 특성 별로 인덱스를 부여하여, 어떤 댁내 전자기기의 어떤 특성인지를 구분한다.Referring to Table 1, the home
이러한 내부용 특성 관리 테이블은, 홈 서버(111)가 홈 네트워크 내에서만 외부로부터 전송된 원격 기능 호출과 해당하는 댁내 전자기기를 연결하기 위하여 이용한다.The internal property management table is used by the
그러나, 홈 네트워크의 외부에서는, 홈 서버(111) 만을 인식하게 되므로, 대외적으로는, 내부용 특성 통합 관리 테이블에 기록된 모든 디바이스/서비스/이벤트 특성이 홈 서버(111)의 기능 및 서비스인 것으로 인식되어야 한다.However, since only the
따라서, 홈 서버(111)는, 내부용 특성 통합 관리 테이블을, 하기의 표 2와 같이 재구성하여, 외부용 특성 관리 테이블을 구성한다.Accordingly, the
HS-ID
HS-ID
HS-IP
HS-IP
HS-ID
HS-ID
HS-IP
HS-IP
즉, 표 1에 보인 내부용 특성 관리 테이블에서, 장치 식별자 및 IP 주소를 홈 서버(111)의 장치 식별자(HS-IP)와, IP 주소(HS-IP)로 변경하여, 수집된 모든 디바이스/서비스/이벤트 특성 정보가 홈 서버(111)의 특성 정보인 것처럼 구성하는 것이다. 홈 서버(111)는, 표 2의 외부용 특성 관리 테이블을 외부에 공개한다.That is, in the internal property management table shown in Table 1, the device identifier and IP address are changed to the device identifier (HS-IP) and the IP address (HS-IP) of the
다음으로, 홈 서버 등록 장치(121)에 성공적으로 등록을 마친 원격 전자기기(131)와 홈 서버(111)는 홈 서버 등록 장치(121)를 통해 통신 세션을 연결하게 된다.Next, the remote
도 8은 본 발명에 의한 홈 네트워크로의 원격 접근 제어 시스템에 있어서, 원격 전자기기(131)와 홈 서버(111) 간에 통신 연결 설정 및 주소 정보 교환 과정을 나타낸 메시지 흐름도이다.8 is a message flow diagram illustrating a communication connection setting and address information exchange process between the remote
도 8을 참조하면, 홈 서버(111)로부터 가용 상태임을 알리는 상태 정보를 수신한 홈 서버 등록 장치(121)는, 상기 홈 서버(111)의 식별자(HS-ID)를 포함하는 SIP NOTIFY 메시지를 홈 서버(111)에 대한 접근을 예약한 원격 전자기기(131)로 전송하여, 홈 서버(111)에 접근 가능함을 통지한다(S81).Referring to FIG. 8, the home
이를 수신한 원격 전자기기(131)는 메시지를 성공적으로 수신했음을 알리는 SIP 200 OK 메시지를 홈 서버 등록 장치(121)로 전송한 후(S82), 통신 세션 연결을 위하여, SIP INVITE 메시지를 홈 서버 등록 장치(121)를 통해 홈 서버(111)로 전송한다(S83, S84).The remote
이를 수신한 홈 서버(111)는, 응답 메시지로 SIP 200 OK 메시지를 홈 서버 등록 장치(121)를 통해 원격 전자기기(131)로 전송한다(S85, S86).The
이후, 원격 전자기기(131)로부터 홈 서버(111)로 SIP ACK 메시지가 전송됨으로써, 통신 세션이 형성된다(S87). 지금까지의 과정은, 기존의 SIP에 따른 통신 세센 연결 과정과 동일하다.Thereafter, the SIP ACK message is transmitted from the remote
그런데 이 상황에서, 대부분의 홈 네트워크 시스템에 있어서, 원격 전자기기(131)와 홈 서버(111)의 원래 주소 및 포트 번호(제1 IP 주소 및 제1 포트 번호)는, NAT/PAT에 의하여 변경된다. In this situation, however, in most home network systems, the original addresses and port numbers (first IP address and first port number) of the remote
따라서, 본 발명에서는, 이렇게 변경된 주소 정보를 확인하기 위하여, 통신 세션이 연결된 후, 주소 정보를 상호 교환하는 과정을 더 수행한다. 여기서, 원격 전자기기(131)와 홈 서버(111)는 각자 송신과 수신 시에 사용할 통신 포트 번호를 고정한다고 가정한다.Therefore, in the present invention, in order to confirm the changed address information, after the communication session is connected, the process of exchanging address information is further performed. Here, it is assumed that the remote
즉, 단계(S87)에서 SIP ACK 메시지를 수신한 홈 서버(111)는, 자신의 제1 IP 주소 및 제1 포트 번호를 통해서 원격 전자기기(131)로 주소 정보 교환 메시지(SIMPLE SOAP INFORMATION 메시지)를 전송한다(S908). SIMPLE SOAP INFORMATION 메시지의 데이터 필드에는 홈 서버(111)에 설정되어 있는 제1 IP 주소와 제1 포트 번호가 실린다. 이러한 SIMPLE SOAP INFORMATION 메시지는 원격 전자기기(131)로 전달되는 과정에서 NAT/PAT를 통과하면서 IP/L4 (TCP/UDP) 계층에서 헤더의 IP주소와 L4의 포트 정보가 변경된다. 따라서, SIMPLE SOAP INFORMATION 메시지를 수신한 원격 전자기기(131)는 수신된 메시지의 데이터 필드로부터, NAT/PAT를 통과하지 전의 홈 서버(111)의 제1 IP 주소 및 제1 포트 번호를 추출할 수 있으며, 수신된 메시지의 헤더로부터 NAT/PAT에 의해 변경된 홈 서버(111)의 제2 IP 주소 및 제2 포트 번호를 추출할 수 있다. 그리고 이를 통해, 홈 서버(111)의 IP 주소와 포트 번호가 NAT/PAT를 통과하면서 어떻게 바뀌는지를 알게 된다.That is, the
따라서, 원격 전자기기(131)는, 홈 서버(111)로부터 전송된 SIMPLE SOAP INFORMATION 메시지를 수신하면, 상기 메시지에서 홈 서버(111)의 변경전의 제1 IP 주소 및 제1 포트 번호와 함께, 변경 후의 제2 IP 주소 및 제2 포트 번호를 추출하여, <OLD IP, OLD PORT, NEW IP, NEW PORT> 형태로 저장한다. 여기서, OLD IP, OLD PORT는 NAT/PAT를 통과하기 전의 홈 서버(111)의 제1 IP 주소와 제1 포트 번호이고, NEW IP 및 NEW PORT는 NAT/PAT를 통과하면서 변경된 홈 서버(111)의 제2 IP 주소와 제2 포트 번호이다.Therefore, when the remote
그리고, 원격 전자기기(131)도, 마찬가지로 기 설정된 자신의 제1 IP 주소와 제2 포트 번호가 데이터 필드에 실린 주소 정보 교환 메시지(SOAP INFORMATION 메시지)를 홈 서버(111)로 전달한다(S909). 만약 원격 전자기기(131)도 NAT/PAT가 적용되는 네트워크에 있다면, 앞서와 마찬가지로 헤더의 IP 주소와 발신 포트 번호가 변경되어 전달된다.In addition, the remote
따라서, 홈 서버(111)도 앞서 설명한 바와 같이, 원격 전자기기(131)로부터 SIMPLE SOAP INFORMATION 메시지를 수신하면, 이 메시지로부터 원격 전자기기(131)에 대한 제1 IP 주소 및 제1 포트 번호와, 제2 IP 주소 및 제2 포트 번호를 추출하여, <OLD IP, OLD PORT, NEW IP, NEW PORT> 형태로 저장한다.Therefore, when the
이후 홈 서버(111)와 원격 전자기기(131)는 상호 메시지 교환 시, 근원지 주소로 자신의 제1 IP주소 및 제1 포트 번호(OLD IP, OLD PORT)를 사용하고, 목적지 주소는 상대방의 제2 IP 주소 및 제2 포트 번호(New IP, New Port)를 사용한다.Thereafter, when the
이때, 상기 확인된 정보에 의해 정상적으로 송수신이 이루어지는 지를 확인하기 위하여, 홈 서버(111)와 원격 전자기기(131)는 상대방의 제2 IP 주소 및 제2 포트 번호를 목적지로 하여, 주소 정보 확인 메시지(SSDP NOTIFY 메시지)를 전송한다(S89). 따라서, 상대방의 SSDP NOTIFY 메시지가 수신되면, 확인된 주소 정보를 통해 성공적으로 통신이 이루어지는 것으로 판단할 수 있다.At this time, in order to confirm whether the transmission and reception is normally performed by the checked information, the
이상의 과정에서 이용되는 SIMPLE SOAP는 IETF에서 정의한 표준 메시지 전송 프로토콜로서, 본 발명에서는 SOAP에서 정의한 메시지를 이용하여 원격 전자기기(131)와 홈 서버(111)가 서로의 주소 정보를 교환하는데 이용한다. 마찬가지로 SSDP 프로토콜은 DLNA 표준 규격으로서, 본 발명에서는 SSDP에서 정의한 메시지를 이용하여 원격 전자기기(131)와 홈 서버(111)가 교환한 주소 정보를 확인하는 용도로 사용한다. 즉, 본 발명은, 기존에 제안된 여러 프로토콜을 수정하지 않고, 이를 이용하여 원격 접근 제어를 구현한다.SIMPLE SOAP used in the above process is a standard message transmission protocol defined by the IETF. In the present invention, the remote
이상과 같이, 통신 세션을 연결한 원격 전자기기(131)와 홈 서버(111)는 확인된 주소 정보를 기반으로 댁내 전자기기에 대한 특성 정보를 교환한다.As described above, the remote
도 9는 본 발명에 의한 홈 네트워크의 원격 접근 제어 시스템에 있어서, 원격 전자기기(131)와 홈 서버(111) 간의 특성 정보 교환 절차를 나타낸 메시지 흐름도이다. 본 발명에서 원격 전자기기(131)와 홈 서버(111)가 특성 정보를 교환하기 위한 메시지 포맷과 절차는 기존의 홈 네트워크 시스템의 표준 규격에 따라 이루어질 수 있다. 다만, 메시지의 송수신 하는데 있어서, 원격 전자기기(131)와 홈 서버(111)는 표준에서 정의한 SSDP, XML 교환 포트 번호를 사용하지 않고, 앞서 주소 정보 확인 과정을 통해 확인된 상대방의 제2 IP 주소 및 제2 포트 번호를 사용한다. 이에 의하면, 주소 및 포트 정보가 상시로 변경되는 NAT/PAT된 환경에서 지속적인 통신이 가능하게 된다.9 is a message flow diagram illustrating a procedure of exchanging characteristic information between a remote
도 9를 참조하면, 원격 전자기기(131)는, 홈 서버(111)로부터 주소 정보 확인 메시지(SSDP NOTIFY 메시지)를 성공적으로 수신하면(S91). 확인된 홈 서버(111)의 제2 IP 주소 및 제2 포트 번호를 통해 정상적인 통신이 가능한 것으로 판단하고, XML 메시지를 통해 홈 서버(111)로 서비스 및 디바이스 특성 정보를 요청한다(S92). 이는 홈 네트워크 시스템 내에서 이루어지는 댁내 전자기기 간의 디바이스/서비스 특성 정보 교환 절차와 동일하다.Referring to FIG. 9, when the remote
홈 서버(111)는 앞서 표 2와 같이 구성한 외부용 특성 관리 테이블에서, 수집된 서비스 및 디바이스 특성 정보를 추출하여, 하기의 표 3과 같이 원격 전자기기(131)에 전달한다(S93).The
HS-ID
HS-ID
.
..
.
.
.
..
.
.
즉, 홈 네트워크에 연결된 댁내 전자기기(112,113)로부터 수집된 디바이스 특성 정보 및 서비스 특성 정보를 홈 서버(111)가 자신의 특성 정보인 것처럼 원격 전자기기(131)에 제공한다.That is, the device characteristic information and the service characteristic information collected from the home
따라서, 원격 전자기기(131)는 홈 네트워크의 댁내 전자기기의 서비스 및 디바이스 특성 정보를 개별적으로 인식하는 것이 아니라, 홈 서버(111)에 해당 기능이 있는 것처럼 인식한다.Accordingly, the remote
여기에 더하여, 필요에 따라서, 홈 서버(111)도 SSDP NOTIFY 메시지를 성공적으로 수신한 이후, 원격 전자기기(131)에 서비스 및 디바이스 특성 정보를 요청하여, 제공받을 수 있다(S94~S96).In addition, if necessary, the
마찬가지로, 서비스와 디바이스의 특성 정보 외에 표준 DLNA 규격에 기반하여 이벤트 특성 정보도 교환할 수 있다.Similarly, in addition to the service and device characteristic information, event characteristic information may be exchanged based on the standard DLNA standard.
도 10은 본 발명에 의한 홈 네트워크의 원격 접근 제어 시스템에 있어서, 원격 전자기기(131)와 홈 서버(111) 간의 이벤트 특성 정보 교환 절차를 나타낸 메시지 흐름도이다. 여기서, 이벤트 특성 교환은 기존과 마찬가지로 표준 DLNA 규격에 기반하여 이루어지며, 다만, 메시지 전송시, 근원지 주소는, 자신의 제1 포트 번호 및 제1 IP 주소를 사용하며, 목적지 주소는, 상대방의 제2 포트 번호 및 제2 IP 주소를 사용한다. 이하의 실시 예에서, 이벤트 특성 교환은 GENA(General Event Notification Architecture)의 정의에 따라 이루어진다. GENA는 TCP/IP를 통한 HTTP 및 멀티캐스트 UDP를 사용하여 통보(notifications)를 송수신하는 기능에 대하여 정의하고 있으며, 이벤트 실행을 위하여 가입자 및 통보 발행자의 개념을 정의하고 있다.10 is a message flow diagram illustrating a procedure of exchanging event characteristic information between a remote
도 10을 참조하면, 원격 전자기기(131)는, 홈 서버(111)로 이벤트 특성 정보를 요청한다(S1101). 이때, 반대로 홈 서버(111)에서 원격 전자기기(131)로 이벤트 특성 정보를 요청할 수도 있다(S1102).Referring to FIG. 10, the remote
상기 이벤트 특성 정보의 요청을 수신한 홈 서버(111) 및 원격 전자기기(131)는 GENA 규격에 따라서 이벤트 특성 정보를 상대방에게 제공한다(S1103, S1104).Upon receiving the request for the event characteristic information, the
여기서, 홈 서버(111)는 앞서 디바이스 및 서비스 특성 정보의 교환 시와 마찬가지로, 표 2와 같이 구성한 외부용 특성 정보 관리 테이블에서, 이벤트 특성 정보를 추출하여, 자신의 이벤트 특성 정보인 것처럼 원격 전자기기(131)에 통보한다.Here, the
이와 같이, 본 발명에 의한 원격 접근 제어 시스템을 통하여, 원격 전자기기(131)는, NAT와 PAT를 사용하여 감추어져 있고, 홈 게이트웨이에 의해 임시적으로 할당 받는 IP 주소를 사용하는 홈 네트워크의 댁내 전자기기(111~113)에 대하여, DLNA 표준에서 지원하는 규격을 그대로 사용하여 해당 댁내 전자기기들의 디바이스/서비스/이벤트 특성 정보를 제공받을 수 있다. 더하여, 이렇게 확인된 디바이스/서비스/이벤트 특성 정보를 참조하여, 특정 기능을 홈 서버(111)를 통해 요청할 수 있다.As described above, through the remote access control system according to the present invention, the remote
도 11은 본 발명에 의한 홈 네트워크의 원격 접근 제어 시스템에 있어서, 댁내 전자기기의 특정 기능에 대한 호출 및 응답 절차를 나타낸 메시지 흐름도이다.11 is a message flow diagram illustrating a call and response procedure for a specific function of a home electronic device in the remote access control system of a home network according to the present invention.
도 11을 참조하면, 원격 전자기기(131)는 홈 서버(111)로부터 제공받은 디바이스/서비스/이벤트 특성 정보들을 참조하여, 특정 기능을 호출한다(S1101). 이때, 호출 메시지는 SOAP Action request 메시지가 되며, 그 목적지는 홈 서버(111)이다.Referring to FIG. 11, the remote
이를 수신한 홈 서버(111)는 수신한 호출 메시지를 홈 네트워크 내의 해당 댁내 전자기기(112)에 전달하는데, 이때 수신한 호출 메시지의 목적지 주소를 댁내 전자자기기(112)의 주소로, 근원지 주소는 홈 서버(111) 자신의 주소로 변경한다(S1102). 이를 위하여, 홈 서버(111)는, 앞서 구축한 표 1과 같은 내부용 특성 정보 관리 테이블을 검색하여, 요청된 기능을 수행하는 댁내 전자기기(112)를 검색하고, 검색된 댁내 전자기기(112)로 특정 기능을 요청하는 SOAP 메시지를 전달한다. The
그리고, 요청된 기능을 수행한 댁내 전자기기(112)로부터 응답 메시지를 수신하면(S1103), 수신한 응답 메시지에서 목적지 주소를 원격 전자기기(131)의 주소로, 근원지 주소는 홈 서버(111) 자신의 주소로 변경한 후, 원격 전자기기(131)로 전달한다(S1104).When receiving a response message from the home
즉, 홈 서버(111)는, 요청된 기능을 자신이 처리한 것처럼 응답 메시지를 구성하여 원격 전자기기(131)로 전송한다.That is, the
다음으로, 본 발명에 의한 홈 네트워크의 원격 접근 제어 방법을 설명한다.Next, a remote access control method of a home network according to the present invention will be described.
도 12는 본 발명에 의한 홈 네트워크의 원격 접근 제어 방법의 전체 과정을 개략적으로 나타낸 순서도이다.12 is a flowchart schematically showing the overall process of the remote access control method of the home network according to the present invention.
도 12를 참조하면, 본 발명에 의한 홈 네트워크의 원격 접근 제어 방법은, 원격 접근 제어를 수행하고자 하는 원격 전자기기(131)와, 원격 접근을 처리할 홈 서버(111)를 홈 서버 등록 장치(121)에 등록한다(S1201, S1202). 이를 위하여, 홈 서버 등록 장치(121)는, 원격 전자기기(131) 및 홈 서버(111)의 서비스 이용 권한 정보를 저장하고 있다가, 원격 전자기기(131) 및 홈 서버(111)로부터의 등록 요청 시, 저장된 서비스 이용 권한을 확인하여, 등록 여부를 판단할 수 있다.Referring to FIG. 12, in the remote access control method of a home network according to the present invention, a home server registration device may include a remote
그리고, 홈 서버 등록 장치(121)를 통해서, 등록된 원격 전자기기(131)와 홈 서버(121) 간에 통신 세션 연결을 수행한 후, 통신 세션이 연결된 원격 전자기기(131)와 홈 서버(121) 간에 주소 정보를 교환한다(S1203). 즉, 여기서 주소 정보의 교환은 서로 상대방에게 자신의 NAT/PAT에 의해 변경되기 전의 주소 정보 및 제1 IP 주소와 제1 포트 번호를 주소 정보 교환 메시지를 통해 전송하고, 상대방으로부터 수신된 주소 정보 교환 메시지를 통해, 상대방의 변경 전 주소인 제1 IP 주소 및 제1 포트 번호와, 변경 후 주소인 제2 IP 주소 및 제2 포트 번호를 획득하는 것이다. Then, after performing a communication session connection between the registered remote
그리고, 상기 교환한 주소 정보를 기반으로, 원격 전자기기(131)와 홈 서버(111)는 디바이스/서비스/이벤트 특성 정보를 교환한다(S1204, S1205). 더 구체적으로는, 앞서 획득한 상대방의 제2 IP 주소와 제2 포트 번호를 목적지로 하여, 메시지를 송수신함으로써, 디바이스/서비스/이벤트 정보를 교환하며, 이때, 홈 서버(111)는 댁내 전자기기(112,113)로부터 수집하여 둔 디바이스/서비스/이벤트 특성 정보를 자신의 특성 정보인 것처럼 원격 전자기기(131)에 제공한다.The remote
특성 정보의 교환이 이루어진 후, 이를 기반으로 원격 전자기기(131)가 홈 서버(111)를 통해 댁내 전자기기(112,113)의 특정 기능을 호출하고, 그 응답을 수신할 수 있다(S1206). 즉, 원격 전자기기(131)가 서버(111)로 특정 기능을 호출하는 메시지를 전송하면, 홈 서버(111)는 해당 메시지를, 자신이 호출하는 것처럼 댁내 전자기기(112)로 전달하며, 호출된 기능의 처리 후에 전송된 응답 메시지를 수신하여, 자신이 처리한 것처럼 원격 전자기기(131)로 전달한다.After the exchange of the characteristic information, the remote
상기에 의하면, 원격 전자기기(131)는, 댁내 전자기기(112,113)에 대하여 개별적으로 직접 접근하지 않고도 홈 서버(111)를 통해 댁내 전자기기(112,113)의 모든 기능을 이용할 수 있게 된다. 마찬가지로, 댁내 전자기기(112,113)는 전자기기(131)를 인식하지 않고도 또한 구성 및 기능의 변경 없이, 홈 서버(111)를 통해 원격 전자기기(131)로부터의 특정 기능 호출을 처리할 수 있게 된다.According to the above, the remote
이하, 각 과정에 대하여 더 구체적으로 설명하기로 한다.Hereinafter, each process will be described in more detail.
도 13은 본 발명에 의한 홈 네트워크의 원격 접근 제어 방법에 있어서, 홈 서버 등록 장치에 의한 원격 전자기기 및 홈 서버의 등록 과정을 나타낸 상세 순서도이다.FIG. 13 is a detailed flowchart illustrating a registration process of a remote electronic device and a home server by a home server registration device in a remote access control method of a home network according to the present invention.
도 13을 참조하면, 홈 서버 등록 장치(121)는, 원격 전자기기(131) 및 홈 서버(111)로부터 장치 식별자와 IP 주소를 포함하는 등록 요청 메시지를 수신한다(S1301). 등록 요청 메시지는 SIP REGISTER 메시지로 구성될 수 있다.Referring to FIG. 13, the home
그리고, 홈 서버 등록 장치(121)는 수신된 메시지에서, 원격 전자기기(131) 및 홈 서버(111)의 장치 식별자와 IP 주소(즉, 제1 IP 주소)를 추출한다(S1302).The home
추출한 장치 식별자를 기반으로 해당 원격 전자기기(131) 및 홈 서버(111)의 서비스 이용 권한을 확인한다(S1303). 이를 위하여 홈 서버 등록 장치(121)는, 원격 전자기기(131) 및 홈 서버(111) 별로 서비스 이용 권한을 관리할 수 있다.The service use authority of the corresponding remote
확인 결과, 서비스 이용 권한이 있으면, 해당 원격 전자기기(131) 및 홈 서버(111)의 등록을 완료하고, 해당 원격 전자기기(131) 및 홈 서버(111)로 등록 요청에 대한 응답 메시지를 전송한다(S1305). 상기 응답 메시지를 등록 요청이 성공적으로 완료되었다는 내용을 포함하는 것으로서, 예를 들어, SIP 200 OK 메시지가 될 수 있다. 반대로, 서비스 이용 권한이 없으면, 등록이 불가하다는 오류 메시지를 해당 원격 전자기기(131) 및 홈 서버(111)로 전송한다(S1313).As a result of the check, if the authority to use the service is completed, registration of the corresponding remote
이후, 등록 요청한 장치가 홈 서버(111)인 경우, 홈 서버 등록 장치(121)는, 홈 서버(111)로부터 원격 접근 제어가 가능함을 통지하는 상태 정보 통지 메시지를 수신하여, 홈 서버(111)의 상태 정보를 갱신한다(S1311). 이는 SIP PUBLISH 메시지를 이용하여 이루어질 수 있다.Subsequently, when the device for which registration is requested is the
한편, 등록 요청한 장치가 원격 전자기기(131)인 경우, 홈 서버 등록 장치(121)는, 원격 전자기기(131)로부터 특정 홈 서버에 대한 접근 예약 요청을 수신한다(S1307). 상기 접근 예약 요청은 접근하고자 하는 홈 서버(111)의 장치 식별자를 포함하는 SIP BUBSCRIBE 메시지를 이용하여 이루어질 수 있다.On the other hand, when the registration request device is the remote
이를 수신한 홈 서버 등록 장치(121)는, 원격 전자기기(131)가 해당 홈 서버(111)에 대한 접근 권한을 가지고 있는 지를 확인하고(S1308), 접근 권한이 있는 경우, 해당 홈 서버(111)에 대하여 접근 예약을 처리한 후, 원격 전자기기(131)로 접근 예약 성공을 알리는 응답 메시지를 전송한다(S1309, S1310). 반대로, 접근 권한이 없는 경우에는, 원격 전자기기(131)로 접근이 불가함을 알리는 오류 메시지를 전송한다(S1313).The home
이후, 홈 서버 등록 장치(121)는, 홈 서버(111)로부터 상태 정보가 통지될 때, 홈 서버(111)에 대해 접근 예약된 원격 전자기기(131)로 홈 서버(11)의 상태 정보를 전달한다(S1312). 여기서, 상태 정보는 홈 서버(111)가 원격 전자기기(131)의 원격 접근을 처리할 수 있는 상태를 의미한다.Then, when the home
도 14 내지 도 16은 본 발명에 의한 홈 네트워크의 원격 접근 제어 방법에 있어서, 원격 전자기기(131)의 처리 절차를 나타낸 순서도이다.14 to 16 are flowcharts illustrating a processing procedure of the remote
도 14는 원격 전자기기(131)에서의 등록 처리 절차를 나타난 상세 순서도로서, 이를 참조하면, 원격 전자기기(131)는, 원격 접근 서비스에 자신을 등록시키기 위하여, 자신의 장치 식별자와, 자신에게 설정된 IP 주소, 즉, 제1 IP 주소와, 등록을 요청할 홈 서버 등록 장치(121)의 IP 주소를 추출한다(S1401).FIG. 14 is a detailed flowchart illustrating a registration processing procedure in the remote
이어서, 추출한 자신의 장치 식별자와 제1 IP 주소를 포함하는 등록 요청 메시지(SIP의 REGISTER 메시지)를 구성하고, 구성한 등록 요청 메시지의 목적지를 홈 서버 등록 장치(121)로 하여 전송한다(S1402).Subsequently, a registration request message (a REGISTER message of SIP) including the extracted device identifier and the first IP address is configured, and the destination of the configured registration request message is transmitted to the home server registration device 121 (S1402).
그리고, 상기 등록 요청 메시지에 대한 응답 메시지(SIP 200 OK)의 수신을 대기한다(S1403).In operation S1403, the terminal waits for reception of a response message (
상기 상태에서, 홈 서버 등록 장치(121)로부터 응답 메시지가 수신되면, 원격 전자기기(131)는 등록이 성공한 것으로 판단하고, 접근하고자 하는 홈 서버(11)의 장치 식별자를 추출하여, 추출한 장치 식별자를 포함하는 접근 예약 요청 메시지(SIP SUBSCRIBE)를 홈 서버 등록 장치(121)로 전송하고(S1405), 그에 대한 응답이 수신되기를 기다린다(S1406).In this state, when a response message is received from the home
대기 중에 접근 예약 요청에 대한 성공을 알리는 응답 메시지(SIP 200 OK)가 수신되면(S1407), 원격 전자기기(131)는 홈 네트워크의 원격 접근 제어 기능을 활성화한다(S1408). 여기서 원격 접근은 홈 네트워크 시스템내에서의 댁내 전자기기 간의 접근 제어 기술인 DLNA 기술에 기반하여 이루어질 수 있다. 이후, 원격 전자기기(131)는 접근하고자 하는 홈 서버(111)가 접근 가능 상태(예를 들어, 로그온 상태)가 되면, 원격 접근 제어를 시도할 수 있다.If a response message (
반대로, 등록 요청에 대한 성공을 알리는 응답 메시지 또는 접근 예약 요청에 대한 성공을 알리는 응답 메시지가 수신되지 않으면, 원격 전자기기(131)는 원격 접근이 불가능하다고 판단하고, 동작을 종료한다.On the contrary, if a response message indicating the success of the registration request or a response message indicating the success of the access reservation request is not received, the remote
도 15는 원격 전자기기(131)에서의 통신 연결 설정 및 주소 정보 교환 절차를 상세하게 나타낸 순서도이다.15 is a flowchart illustrating a communication connection setting and address information exchange procedure in the remote
도 15를 참조하면, 원격 전자기기(131)는 홈 서버 등록 장치(121)로부터 접근 예약한 홈 서버(111)가 접근 가능한 상태라면 통지 메시지가 수신되면, 홈 서버 등록 장치(121)를 통해 홈 서버(111)와 통신 세션을 연결한다(S1501). 이는 표준 SIP 프로토콜에 기반하여 이루어질 수 있다. Referring to FIG. 15, if the remote
통신 세션을 연결한 후, 원격 전자기기(131)는, 주소 정보가 상시로 변화되는 홈 네트워크 환경에서 지속적인 통신이 가능토록 하기 위하여, 홈 서버(111)와의 사이에서 주소 정보를 교환하는데, 이는 SOAP 프로토콜에 기반하여 다음과 같이 이루어질 수 있다.After connecting the communication session, the remote
즉, 원격 전자기기(131)는 통신 세션을 연결한 홈 서버(111)로부터 주소 정보 교환 메시지(SOAP INFORMATION)를 수신한다(S1502). 여기서, 주소 정보 교환 메시지는, 원격 전자기기(131)와 홈 서버(111)가 서로 간에 NAT/PAT에 의한 변경전의 IP 주소 및 포트 번호와, 변경 후의 IP 주소 및 포트 번호를 교환하기 위한 메시지로서, 메시지의 데이터 필드에 근원지의 제1 IP 주소 및 제1 포트 번호가 기재된다. 상기 주소 정보 교환 메시지는 네트워크를 통해 전달되면서, NAT/PAT에 의하여, 헤더에 기재된 근원지의 IP 주소 및 포트 번호가 변경될 수 있다.That is, the remote
따라서, 원격 전자기기(131)는, 주소 정보 교환 메시지를 수신하면, 메시지의 데이터 필드에 기록된 홈 서버(111)에 기 설정된 변경 전의 주소, 즉, 제1 IP 주소 및 제1 포트 번호를 추출한다(S1503).Accordingly, when the remote
또한 원격 전자기기(131)는, 수신한 주소 정보 교환 메시지의 IP/L4 헤더로부터 근원지의 주소 및 포트 번호를 추출한다. 이는 근원지의 NAT/PAT에 의해 변경된 후의 주소 정보, 즉, 홈 서버(111)의 제2 IP 주소 및 제2 포트 번호가 된다(S1504).The remote
이렇게 추출된 홈 서버(111)의 주소 정보 변경 내역, 즉, 제1 IP 주소, 제1 포트 번호, 제2 IP 주소 및 제2 포트 번호를 저장한다(S1505). 여기서, 원격 전자기기(131)는, 추출한 변경 전후의 주소 정보를 비교하는 기능을 더 수행한 후, 비교 결과 변경 전후의 주소가 다른 경우에만 상기 추출한 주소 정보를 저장하도록 할 수 있다. 저장한 주소 정보 변경 내역은 이후 원격 접근 제어 메시지의 송수신시에 이용된다.The address information change history of the
이어서, 원격 전자기기(131)는 자신의 주소 정보를 교환하기 위하여, 자신의 제1 IP 주소 및 제1 포트 번호를 추출한다(S1507). 여기서, 추출하는 제1 IP 주소 및 제1 포트 번호는 원격 전자기기(131)에 대하여 발신용으로 기 설정되는 것이 바람직하다.Subsequently, the remote
그리고 원격 전자기기(131)는 추출한 자신의 제1 IP 주소 및 제1 포트 번호를 포함하는 주소 정보 교환 메시지(SOAP INFORMATION)를 홈 서버(111)로 전송한다(S1507).The remote
상술한 바와 같이 교환되는 주소 정보에 의해서 정확한 송수신이 이루어지기 위해서는, 이에 대한 확인 절차가 필요하다. As described above, in order for accurate transmission and reception by the exchanged address information, a confirmation procedure for this is required.
도 16은 원격 전자기기(131)에서의 주소 정보 확인 절차를 나타낸 순서도이다.16 is a flowchart illustrating a procedure of checking address information in the remote
도 16을 참조하면, 원격 전자기기(131)는 주소 정보 교환 메시지를 전송한 후에, 홈 서버(111)로부터 주소 정보 확인 메시지가 수신되기를 기다린다(S1601).Referring to FIG. 16, after transmitting an address information exchange message, the remote
대기 상태에서 홈 서버(111)로부터 주소 정보 확인 메시지가 수신되면(S1602), 자신이 전송한 주소 정보에 의해 홈 서버 측에서 메시지 전송이 가능한 것이므로, 원격 전자기기(131)는 앞서 단계(S1506)에서 기 저장한 홈 서버(111)의 주소 정보 변경 내역에서, 홈 서버(111)의 제2 IP 주소 및 제2 포트 번호를 추출하여(S1603), 추출한 제2 IP 주소 및 제2 포트 번호를 목적지 주소로 하여 주소 정보 확인 메시지를 전송한다(S1604). 상기 주소 정보 확인 메시지는 단순히 메시지 송수신 상태만을 확인하기 위한 것으로서, 데이터 필드에 별도의 정보를 포함하지 않아도 된다. 이렇게 주소 정보 확인 메시지를 전송한 이후에, 원격 전자기기(131)는 추출한 홈 서버(111)의 제2 IP 주소 및 제2 포트 번호를 이용하여, DLNA 표준에 기반한 접근 제어 과정을 수행할 수 있다.When the address information confirmation message is received from the
반대로, 원격 전자기기(131)는 주소 정보 교환 메시지를 전송한 이후에, 홈 서버(111)로부터 주소 정보 확인 메시지가 수신되지 않으면, 상호 간의 통신에 문제가 발생하여 원격 접근이 불가능한 것으로 판단하고, 원격 접근 제어 기능을 종료한다(S1605).On the contrary, if the remote
도 17 내지 도 21은 본 발명에 의한 홈 네트워크의 원격 접근 제어 방법에 있어서, 홈 서버(111) 측의 처리 절차를 나타낸 순서도이다.17 to 21 are flowcharts illustrating a processing procedure of the
도 17은 홈 서버(111)의 등록 절차를 나타낸 순서도로서, 이를 참조하면, 홈 서버(111)는 전원이 인가되어 초기 동작이 시작되면, 먼저 자신의 장치 식별자와, 기 설정된 IP 주소(즉, 제1 IP 주소)와, 홈 서버 등록 장치(121)의 주소 정보를 추출한다(S1701).FIG. 17 is a flowchart illustrating a registration procedure of the
그리고, 추출한 홈 서버(111)의 자신의 장치 식별자 및 제1 IP 주소를 포함하는 등록 요청 메시지(SIP REGISTER)를 구성하여, 홈 서버 등록 장치(121)로 전송한 후 응답을 기다린다(S1702, S1703).Then, a registration request message (SIP REGISTER) including the own device identifier and the first IP address of the extracted
이어서 홈 서버 등록 장치(121)로부터 등록이 성공했음을 의미하는 응답 메시지(SIP 200 OK)가 수신되면(S1704), 홈 서버(111)는 원격 접근의 처리가 가능함을 나타내는 자신의 상태 정보(예를 들어, 로그온 상태)를 홈 서버 등록 장치(121)로 통지한 후 홈 서버 등록 장치(121)로부터의 응답을 기다린다(S1705, S1706). 여기서 상태 정보의 통지는 SIP PUBLISH 메시지를 통해서 이루어질 수 있다. Subsequently, when a response message (
그리고 홈 서버 등록 장치(121)로부터 상태 정보를 성공적으로 수신하였음을 알리는 응답 메시지(SIP 200 OK)가 수신되면(S1707), 홈 서버(111)는 원격 제어를 위한 모든 등록 과정이 완료된 것으로 인식하고, 원격 접근 제어 기능을 활성화시킨다(S1708). 이후, 홈 서버(111)는 원격 전자기기(131)와의 통신 세션 연결이 가능하게 된다.When a response message (
도 18은 홈 서버의 통신 세션 연결 및 주소 정보 교환 절차를 나타낸 순서도로서, 이를 참조하면, 홈 서버(111)는, 도 17에 보인 바와 같이 홈 서버 등록 장치(121)에 자신을 등록하고, 자신의 상태 정보를 통지한 후, 원격 전자기기(131)의 요청에 따라서 홈 서버 등록 장치(121)를 통해서 원격 전자기기(131)와 통신 세션을 연결한다(S1801). 이는 SIP 프로토콜에 따라서 SIP INVITE 메시지를 수신하고, 그에 대한 SIP 200 OK 메시지 및 ACK 메시지를 송수신함으로써 이루어질 수 있다.FIG. 18 is a flowchart illustrating a communication session connection and address information exchange procedure of a home server. Referring to this, the
그 다음, 홈 서버(111)는 통신 세션을 연결한 원격 전자기기(131)와 원격 접속을 수행할 주소 정보를 교환하기 위하여, 발신용으로 설정된 자신의 제1 IP 주소 및 제1 포트 번호를 포함하는 주소 정보 교환 메시지(SOAP INFORMATION)를 원격 전자기기(131)로 전송한다(S1802). 즉, 상기 주소 정보 교환 메시지의 헤더에 근원지 주소로서, 자신의 제1 IP 주소 및 제1 포트 번호가 지정됨은 물론, 메시지의 데이터 필드 내에도 자신의 제1 IP 주소 및 제1 포트 번호가 기록된다. 여기서, 헤더에 기재된 주소 정보는 NAT/PAT를 통과하면서 변경되는 반면에, 데이터 필드에 기록된 주소 정보는 그대로 전달될 수 있다. 따라서, 상기 주소 정보 교환 메시지를 수신한 원격 전자기기(131)는 메시지로부터 주소 정보 변경 내역을 파악할 수 있게 된다.Next, the
이와 같이 주소 정보 교환 메시지를 전송한 후, 홈 서버(111)는 원격 전자기기(131)로부터 동일한 형식의 주소 정보 교환 메시지를 수신한다(S1803). 이때 수신된 주소 정보 교환 메시지의 데이터 필드에는 원격 전자기기(131)의 제1 IP 주소 및 제1 포트 번호가 포함되며, 수신된 메시지의 헤더에는 NAT/PAT를 통과하면서 변경된 제2 IP 주소 및 제2 포트 번호가 존재하게 된다.After transmitting the address information exchange message in this way, the
따라서, 홈 서버(111)는 수신된 주소 정보 교환 메시지의 데이터 필드에서, 원격 전자기기(131)의 제1 IP 주소와 제1 포트 번호를 추출하고(S1804), 수신된 주소 정보 교환 메시지의 헤더로부터 제2 IP 주소와, 제2 포트 번호를 추출한다(S1805).Therefore, the
그리고 추출한 원격 전자기기(131)의 제1,2 IP 주소와, 제1,2 포트 번호를 저장한다(S1806). 이렇게 저장된 원격 전자기기(131)의 주소 정보 변경 내역은 원격 전자기기(131)와의 메시지 송수신에 이용된다. 한편, 홈 서버(111)는 추출한 원격 전자기기(131)의 제1 IP 주소와 제1 포트 번호가 해당 메시지를 감싸고 있는 헤더의 제2 IP 주소 및 제2 포트 번호를 비교하여, 다른 경우, 즉, NAT/PAT를 통해서 변경되는 경우에만 상기 주소 정보 변경 내역을 저장하도록 할 수 있다.The first and second IP addresses and the first and second port numbers of the extracted remote
이때 동작의 신뢰성을 위하여, 상기 저장한 원격 전자기기에 대한 주소 정보를 통해 실제 메시지가 정상적으로 송수신되는 지를 확인할 필요가 있다.In this case, it is necessary to confirm whether the actual message is normally transmitted and received through the stored address information on the remote electronic device.
도 19는 홈 서버의 주소 정보 확인 절차를 나타낸 순서도로서, 이를 참조하면, 홈 서버(111)는, 앞서 도 18의 단계(S1805, S1806)를 통해 원격 전자기기(131)의 주소 정보 변경 내역을 추출하고 저장한 후, 자신의 제1 IP 주소와 제1 포트 번호를 발신처(즉, 근원지 주소)로 하고, 원격 전자기기(131)의 제2 IP 주소와 제2 포트 번호를 수신처(즉, 목적지 주소)로 하는 주소 정보 확인 메시지를 구성하여 전송한다(S1901, S1902).FIG. 19 is a flowchart illustrating a procedure for checking address information of a home server. Referring to this, the
그리고 상대방, 즉, 원격 전자기기(131)로부터 주소 정보 확인 메시지가 수신되기를 기다린다(S1903).And waits for the address information confirmation message is received from the counterpart, that is, the remote electronic device 131 (S1903).
이때, 원격 전자기기(131)로부터 주소 정보 확인 메시지가 수신되면, 앞서 교환한 주소 정보를 통해서 정상적으로 통신할 수 있게 된 것이므로, 원격 접근의 처리를 위해 대기한다(S1904). 반대로, 원격 전자기기(131)로부터 주소 정보 확인 메시지가 수신되지 않으면, 통신에 이상이 발생하여 원격 접근이 불가능한 것으로 판단하여, 활성화된 원격 접근 제어 기능을 취소한다(S1905).At this time, when the address information confirmation message is received from the remote
상술한 바와 같이, 주소 정보 교환 및 주소 정보의 확인 과정까지 완료되면, 홈 서버(111)는 DLNA 표준에 따라서, 홈 네트워크 시스템 내에 구비된 댁내 전자기기(112,113)들로부터 특성 정보(디바이스/서비스/이벤트)를 수집하고, 수집된 특성 정보들을 자신의 특성 정보로 원격 전자기기(131)에 제공한다. As described above, when the process of exchanging address information and confirming address information is completed, the
이후 원격 전자기기(131)는 상기 제공받은 특성 정보를 기반으로 댁내 전자기기의 기능을 이용할 수 있는데, 이에 대한 홈 서버(111)의 동작은 도 20 및 도 21에 도시된 바와 같이 이루어진다.Thereafter, the remote
도 20 및 도 21은 홈 서버(111)의 원격 접근을 통한 기능 호출 및 응답 처리 절차를 나타낸 순서도이다.20 and 21 are flowcharts illustrating a function call and response processing procedure through a remote access of the
도 20을 참조하면, 홈 서버(111)는 원격 전자기기(131)로부터 특정 기능에 대한 호출 메시지를 수신할 수 있다(S2001). 여기서 기능 호출은 DLNA 표준 규격에 따라 이루어지는데, 다만 호출 메시지의 목적지는 홈 서버(111)의 제2 IP 주소 및 제2 포트 번호로 되어 있다.Referring to FIG. 20, the
이렇게 원격 전자기기(131)로부터의 특정 기능의 호출이 발생하면, 홈 서버(111)는, 표 1과 같이 구현된 내부용 특성 정보 관리 테이블로부터 호출된 기능을 수행할 댁내 전자기기(112)를 검색한다(S2002).When the call of a specific function from the remote
그리고 앞서 수신한 호출 메시지의 헤더에 기재된 목적지 IP 주소 및 목적지 포트 번호를, 특성 정보 관리 테이블에서 검색된 댁내 전자기기(112)의 IP 주소 및 포트 번호로 변경한다(S2003). 또한, 호출 메시지의 근원지 주소를, 홈 서버(111) 자신의 제1 IP 주소 및 제1 포트 번호로 변경한다(S2004).Then, the destination IP address and the destination port number described in the header of the received call message are changed to the IP address and the port number of the indoor
그리고, 호출 메시지의 필드를 댁내 전자기기(112)에 맞추어 변경한다(S2005).The field of the call message is changed to match the indoor electronic device 112 (S2005).
이어서, 홈 서버(111)는 변경된 호출 메시지를 댁내 전자기기(112)로 전송한다(S2006). Subsequently, the
이렇게 홈 서버(111)로부터 특정 기능을 호출하는 호출 메시지를 수신한 댁내 전자기기(112)는 해당하는 동작을 수행한 후, 그 결과를 홈 서버(111)로 전송하는데, 이러한 과정은 모두 DLNA 표준에 따른 댁내 접근 제어 과정과 동일하게 이루어진다. The
이어서, 도 21을 참조하면, 홈 서버(111)는 원격 전자기기(131)의 호출 메시지를 해당하는 댁내 전자기기(112)로 도 20에 도시한 바와 같이 전송한 이후에, 해당 댁내 전자기기(112)로부터 호출에 대한 응답 메시지를 DLNA 규격에 따라서 수신한다(S2101).Next, referring to FIG. 21, the
그러면, 홈 서버(111)는 수신한 댁내 전자기기(112)의 응답 메시지에서 목적지 IP 주소 및 포트 번호를 원격 전자기기(131)의 제2 IP 주소 및 제2 포트 번호로 변경하고(S2102), 응답 메시지의 근원지 주소를 홈 서버(111) 자신의 제1 IP 주소 및 제1 포트 번호로 변경한다(S2103).Then, the
또한, 수신한 응답 메시지의 필드를 홈 서버(111) 자신에 맞추어 변경한다(S2104).In addition, the field of the received response message is changed to match the
이러한 응답 메시지를 변경한 후, 홈 서버(111)는 변경한 응답 메시지를 원격 전자기기(131)로 전송한다(S2105).After changing the response message, the
상술한 도 20 및 도 21의 과정을 통하여 원격 전자기기(131)는 홈 네트워크 시스템(110)에 구비된 임의의 댁내 전자기기(112,113)에 접근하여 그 기능이나 서비스를 이용할 수 있게 된다.20 and 21, the remote
이상과 같이, 본 명세서와 도면에는 본 발명의 바람직한 실시 예에 대하여 개시하였으나, 여기에 개시된 실시 예외에도 본 발명의 기술적 사상에 바탕을 둔 다른 변형 예들이 실시 가능하다는 것은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 자명한 것이다. 또한, 본 명세서와 도면에서 특정 용어들이 사용되었으나, 이는 단지 본 발명의 기술 내용을 쉽게 설명하고 발명의 이해를 돕기 위한 일반적인 의미에서 사용된 것이지, 본 발명의 범위를 한정하고자 하는 것은 아니다.While the present invention has been described in connection with what is presently considered to be practical exemplary embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, It will be apparent to those skilled in the art. In addition, although specific terms are used in the specification and the drawings, they are only used in a general sense to easily explain the technical contents of the present invention and to help the understanding of the present invention, and are not intended to limit the scope of the present invention.
본 발명은 홈 네트워크 서비스 분야에 적용되어, 임시로 설정되고, NAT/PAT에 의해 상시 변경되어 원격지에서의 접근이 어려운 홈 네트워크에 구비된 임의의 댁내 전자기기에 대하여 홈 네트워크 외부의 원격지에 위치한 원격 전자기기가 접근할 수 있는 원격 접근 제어 방법 및 시스템으로 제공하는 것으로서, 홈 네트워크의 임의 댁내 전자기기에 구현되는 홈 서버와, 통신 서비스 제공 시스템에 구비되는 홈 서버 등록 장치를 통하여, 상시 변경되는 주소 정보를 관리함으로써, 홈 서버를 통하여 원격지에 위치한 단말이 홈 네트워크의 임의 댁내 전자기기의 기능과 서비스를 제한 없이 사용할 수 있게 한다. 특히, 본 발명은, 원격지에서 홈 네트워크 내의 임의 댁내 전자기기에 대한 접근 제어를 기존의 DLNA 규격에 따라 처리함으로써, 홈 네트워크 시스템의 내부 구성을 특히, 댁내 전자기기들의 구성을 크게 변경하지 않으면서, 원격 접근을 가능하게 한다.The present invention is applied to the field of home network service, remotely located outside of the home network with respect to any home electronic devices that are temporarily set by the NAT / PAT and always equipped with a home network that is difficult to access from a remote place. The present invention provides a remote access control method and system that can be accessed by an electronic device. The home server implemented in any indoor electronic device of a home network and a home server registration device provided in a communication service providing system always change addresses. By managing the information, a terminal located at a remote location through the home server can use the functions and services of any home electronic device in the home network without restriction. In particular, the present invention, by remotely processing the access control for any home electronic devices in the home network according to the existing DLNA standard, without changing the internal configuration of the home network system, in particular, the configuration of the home electronic devices, Enable remote access.
100: 통신망
110: 홈 네트워크 시스템
111: 홈 서버
112, 113: 댁내 전자기기
114: 홈 게이트웨이
115: 홈 네트워크
120: 통신 서비스 제공 시스템
121: 홈 서버 등록 장치
122: 홈 서버 검색 장치
123: 스위치/라우터
131, 132: 원격 전자기기
100: Network
110: home network system
111: home server
112, 113: home electronics
114: home gateway
115: home network
120: communication service providing system
121: home server registration device
122: home server discovery device
123: switch / router
131, 132: remote electronics
Claims (24)
홈 네트워크의 외부에 위치하여, 상기 홈 서버를 통해 댁내 전자기기의 특정 기능을 호출하고, 그 응답을 수신하는 원격 전자기기; 및
상기 홈 서버 및 원격 전자기기를 등록하여, 각각의 주소 정보를 관리하면서, 상기 홈 서버와 원격 전자기기 간의 통신 세션 연결을 중계하는 홈 서버 등록 장치를 포함하는 홈 네트워크의 원격 접근 제어 시스템.It is provided inside the home network system, collects the characteristic information of the indoor electromagnetic equipment provided in the home network system, and provides the characteristic information of the collected indoor electronic equipment to the outside of the home network as its own characteristic information, the address and port of the message A home server for relaying function calls and responses between remote electronic devices located outside the home network and the home electronic devices through information change;
A remote electronic device located outside the home network, which calls a specific function of the home electronic device through the home server and receives a response thereof; And
And a home server registration device that registers the home server and the remote electronic device and manages respective address information, and relays a communication session connection between the home server and the remote electronic device.
상기 홈 네트워크 시스템에 구비된 댁내 전자기기 중에서 한 댁내 전자기기에 소프트웨어 형태로 설치되는 것을 특징으로 하는 홈 네트워크의 원격 접근 제어 시스템.The method of claim 1, wherein the home server
Remote home access control system of the home network, characterized in that installed in the home electronics of the home electronics provided in the home network system in the form of software.
홈 네트워크 표준 기술에 따라서 상기 홈 네트워크에 연결된 댁내 전자기기를 검색하고, 검색된 댁내 전자기기에 접근하여 컨텐츠를 교환하거나 기능을 제어하는 댁내 접근 제어 모듈;
상기 서버 인터페이스 모듈을 통해 홈 서버 등록 장치에 등록을 요청하여, 주소 정보를 제공한 후, 상기 댁내 접근 제어 모듈을 통해 댁내 전자기기의 특성 정보를 수집하여 저장하여 두고, 상기 댁내 전자 홈 서버 등록 장치를 통해 통신 세션이 연결된 원격 전자기기로부터 특정 기능에 대한 호출 메시지가 수신되면, 수신된 호출 메시지를 상기 댁내 접근 제어 모듈을 통해 댁내 전자기기로 전달하고, 상기 댁내 접근 제어 모듈을 통해 수신된 댁내 전자기기의 응답 메시지를 원격 전자기기로 전송하는 주 프로세서를 포함하는 홈 서버.A server interface module for communicating with a home server registration device that manages address information for remote access control;
An indoor access control module searching for an indoor electronic device connected to the home network according to a home network standard technology, and accessing the found indoor electronic device to exchange contents or control a function;
Request registration to the home server registration device through the server interface module, provide address information, collect and store characteristic information of the home electronic device through the home access control module, and store the home electronic home server registration device. When a call message for a specific function is received from the remote electronic device to which the communication session is connected through, the received call message is transmitted to the indoor electronic device through the indoor access control module, and the indoor electronic received through the indoor access control module. A home server comprising a main processor for sending a response message from the device to a remote electronic device.
상기 원격 전자기기의 주소 정보 및 상기 댁내 접근 제어 모듈을 통해 수집되는 홈 네트워크에 연결된 댁내 전자기기들의 특성 정보를 관리하는 계정 관리 모듈을 더 포함하는 것을 특징으로 하는 홈 서버.The method of claim 3,
And an account management module configured to manage address information of the remote electronic devices and characteristic information of the home electronic devices connected to the home network collected through the home access control module.
상기 댁내 접근 제어 모듈을 통해 교환한 컨텐츠 또는 홈 서버 내에 저장된 컨텐츠를 재생하는 미디어 처리 모듈을 더 포함하는 것을 특징으로 하는 홈 서버.The method of claim 3,
And a media processing module for playing the contents exchanged through the indoor access control module or the contents stored in the home server.
상기 홈 서버 등록 장치를 통해 통신 세션을 연결한 원격 전자기기와 상호간에, 발신전용으로 기 설정된 제1 IP 주소 및 제1 포트 번호를 데이터 필드에 기록한 주소 정보 교환 메시지를 교환하고, 원격 전자기기로부터 수신한 주소 정보 교환 메시지의 데이터 필드로부터 원격 전자기기의 변경 전 주소인 제1 IP 주소 및 제1 포트 번호를 추출하고, 메시지의 헤더로부터 변경 후의 주소인 제2 IP 주소 및 제2 포트 번호를 추출하여 저장한 후, 원격 전자기기로 송신할 메시지의 목적지 주소를 원격 전자기기의 제2 IP 주소 및 제2 포트 번호로 하는 것을 특징으로 하는 홈 서버.4. The system of claim 3, wherein the main processor is
Exchanging an address information exchange message in which a first IP address and a first port number previously set for transmission only are written in a data field, between a remote electronic device connected to a communication session through the home server registration device, and Extracts the first IP address and the first port number of the remote electronic device from the data field of the received address information exchange message, and extracts the second IP address and the second port number, the address after the change, from the header of the message. And storing the destination address of the message to be transmitted to the remote electronic device as the second IP address and the second port number of the remote electronic device.
홈 네트워크를 통해 다른 댁내 전자기기와 통신하여 데이터 및 메시지를 교환하기 위한 하나 이상의 통신 모듈; 및
IP 통신 계층의 처리를 지원하여, 표준 인터넷 프로토콜에 따라서 하나 이상의 통신 모듈을 통해서 송수신되는 데이터를 처리하는 네트워크 및 전송 처리 모듈을 더 포함하는 것을 특징으로 하는 홈 서버.The method of claim 3,
One or more communication modules for exchanging data and messages by communicating with other home electronic devices via a home network; And
And a network and a transmission processing module for supporting processing of an IP communication layer to process data transmitted and received through one or more communication modules according to a standard Internet protocol.
상기 원격 전자기기 또는 상기 홈 서버로부터 장치 식별자와 주소 정보를 포함하는 등록 요청 메시지를 수신하는 단계;
상기 등록 요청한 원격 전자기기 또는 홈 서버가 서비스 이용 권한이 있는 지를 확인하는 단계;
확인 결과, 서비스 이용 권한이 있으면, 상기 등록 요청한 원격 전자기기 또는 홈 서버 및 그 주소 정보를 등록 후, 등록이 성공했음을 알리는 응답 메시지를 상기 등록 요청한 원격 전자기기 또는 홈 서버로 전송하는 단계; 및
등록된 원격 전자기기와 홈 서버 간에 등록한 주소 정보를 기반으로 통신 세션 연결을 중계하는 단계를 포함하는 것을 특징으로 하는 홈 네트워크의 원격 접근 제어 방법.A remote access control method of a home network for controlling access of remote electronic devices to home electronic devices of a home network through a home server registration device provided in a communication service providing system and a home server provided in a home network system, wherein the home Server registration device,
Receiving a registration request message including device identifier and address information from the remote electronic device or the home server;
Checking whether the registration request remote electronic device or home server has a service use authority;
If it is confirmed that there is a service use authority, after registering the requested remote electronic device or home server and its address information, transmitting a response message indicating that registration is successful to the requested remote electronic device or home server; And
Relaying a communication session connection based on the registered address information between the registered remote electronic device and the home server.
상기 원격 전자기기로부터 상기 홈 서버에 대한 접근 예약 요청 메시지를 수신하는 단계;
상기 원격 전자기기가 접근하고자 하는 홈 서버에 대한 접근 권한이 있는 지를 확인하는 단계; 및
상기 홈 서버에 대한 접근 권한이 있으면, 상기 홈 서버의 상태 정보 변경 시, 상기 원격 전자기기로 통지하도록 상기 원격 전자기기의 상기 홈 서버에 대한 접근 예약을 설정하는 단계를 더 포함하는 것을 특징으로 하는 홈 네트워크의 원격 접근 제어 방법.The method of claim 8,
Receiving an access reservation request message for the home server from the remote electronic device;
Checking whether the remote electronic device has access to a home server to which the remote electronic device wants to access; And
If there is an access right to the home server, setting a reservation for access to the home server of the remote electronic device to notify the remote electronic device when the state information of the home server is changed. How to control remote access in your home network.
상기 홈 서버로부터 원격 접근 제어가 가능함을 통지하는 상태 정보 통지 메시지를 수신하는 단계; 및
상기 수신한 상태 정보 통지 메시지에 따라서, 상기 홈 서버의 상태 정보를 변경하고, 상기 접근 예약한 원격 전자기기로 홈 서버의 상태 정보를 전송하는 단계를 더 포함하는 것을 특징으로 하는 홈 네트워크의 원격 접근 제어 방법.The method of claim 8,
Receiving a status information notification message notifying the remote access control from the home server; And
Changing the state information of the home server according to the received state information notification message, and transmitting the state information of the home server to the remote electronic device that reserved the access. Control method.
자신의 장치 식별자와 주소 정보를 포함하는 등록 요청 메시지를 구성하여 상기 홈 서버 등록 장치로 전송하는 단계;
상기 홈 서버 등록 장치로부터 등록이 성공하였음을 통지하는 응답 메시지가 수신되는 지를 확인하는 단계;
확인 결과, 상기 홈 서버 등록 장치로부터, 등록이 성공하였음을 통지하는 응답 메시지가 수신되면, 접근하고자 하는 홈 서버의 장치 식별자를 포함하는 접근 예약 요청 메시지를 구성하여 상기 홈 서버 등록 장치로 전송하는 단계;
상기 홈 서버 등록 장치로부터 접근 예약이 성공하였음을 통지하는 응답 메시지가 수신되는 지를 확인하는 단계; 및
확인 결과, 상기 홈 서버 등록 장치로부터 접근 예약이 성공하였음을 통지하는 응답 메시지가 수신되면, 상기 홈 서버를 통해 댁내 전자기기에 접근하는 원격접근 제어 기능을 활성화하는 단계를 포함하는 것을 특징으로 하는 홈 네트워크의 원격 접근 제어 방법.A remote access control method of a home network for controlling access of remote electronic devices to home electronic devices of a home network through a home server registration device provided in a communication service providing system and a home server provided in a home network system, wherein the remote Electronics,
Constructing a registration request message including a device identifier and address information of the device and transmitting the registration request message to the home server registration device;
Checking whether a response message notifying that the registration is successful is received from the home server registration device;
As a result of the check, when the response message indicating that the registration is successful is received from the home server registration device, constructing an access reservation request message including a device identifier of the home server to be accessed and transmitting the message to the home server registration device; ;
Checking whether a response message notifying that the access reservation is successful is received from the home server registration device; And
As a result of the check, when the response message notifying that the access reservation is successful from the home server registration device is received, activating a remote access control function for accessing the home electronic device through the home server, characterized in that the home; How to control remote access to your network.
상기 홈 서버 등록 장치로부터 상기 홈 서버가 원격 접근 가능함을 알리는 메시지를 수신하면, 상기 홈 서버 등록 장치를 통해 상기 홈 서버와 통신 세션을 연결하는 단계;
상기 통신 세션을 연결한 홈 서버로부터 홈 서버에 기 설정된 주소 정보인 제1 IP 주소 및 제1 포트 번호를 포함하는 주소 정보 교환 메시지를 수신하는 단계; 및
상기 주소 정보 교환 메시지의 데이터 필드에서 홈 서버의 제1 IP 주소 및 제1 포트 번호를 추출하고, 헤더에서 홈 서버의 변경된 주소인 제2 IP 주소 및 제2 포트 번호를 추출하여 저장하는 단계를 더 포함하는 것을 특징으로 하는 홈 네트워크의 원격 접근 제어 방법.10. The method of claim 9,
Connecting a communication session with the home server through the home server registration device when receiving a message indicating that the home server is remotely accessible from the home server registration device;
Receiving an address information exchange message including a first IP address and a first port number, which are address information preset in a home server, from a home server connecting the communication session; And
Extracting a first IP address and a first port number of a home server from a data field of the address information exchange message, and extracting and storing a second IP address and a second port number, which are changed addresses of the home server, from a header; Remote access control method of a home network comprising a.
상기 홈 서버로부터 주소 정보 교환 메시지를 수신하면, 원격 전자기기 자신의 제1 IP 주소 및 제1 포트 번호를 데이터 필드에 기록한 주소 정보 교환 메시지를 구성하여 상기 홈 서버로 전송하는 단계를 더 포함하는 것을 특징으로 하는 홈 네트워크의 원격 접근 제어 방법.The method of claim 12,
And receiving an address information exchange message from the home server, constructing an address information exchange message in which a first IP address and a first port number of a remote electronic device are recorded in a data field, and transmitting the same to the home server. Remote access control method for a home network characterized in that.
상기 홈 서버로부터 원격 전자기기 자신의 제2 IP 주소 및 제2 포트 번호를 목적지로 하여 전송된 주소 정보 확인 메시지가 수신되는지를 확인하는 단계;
상기 홈 서버로부터 주소 정보 확인 메시지가 수신되지 않으면, 통신에 이상이 있는 것으로 판단하여 원격 접근 제어를 종료하는 단계를 더 포함하는 것을 특징으로 하는 홈 네트워크의 원격 접근 제어 방법.The method of claim 12,
Confirming whether an address information confirmation message transmitted from the home server is transmitted using the second IP address and the second port number of the remote electronic device as a destination;
And if the address information confirmation message is not received from the home server, determining that there is an error in communication and terminating the remote access control.
상기 저장한 홈 서버의 제2 IP 주소 및 제2 포트 번호를 목적지 주소로 하는 주소 정보 확인 메시지를 구성하여 상기 홈 서버로 전송하는 단계를 더 포함하는 것을 특징으로 하는 홈 네트워크의 원격 접근 제어 방법.The method of claim 12,
And constructing an address information confirmation message using the second IP address and the second port number of the stored home server as a destination address, and transmitting the same to the home server.
상기 원격 전자기기가 상기 저장한 홈 서버의 제2 IP 주소 및 제2 포트 번호를 이용하여, 상기 홈 서버와 통신하여, 홈 서버로부터 댁내 전자기기의 특성 정보를 요청하고, 댁내 전자기기의 기능을 호출하는 단계를 더 포함하는 것을 특징으로 하는 홈 네트워크의 원격 접근 제어 방법.The method of claim 12,
The remote electronic device communicates with the home server using the second IP address and the second port number of the stored home server, requests the home appliance's characteristic information from the home server, and controls the function of the home electronic device. Remote access control method for a home network, characterized in that it further comprises the step of calling.
자신의 장치 식별자와, 기 설정된 주소 정보를 포함하는 등록 요청 메시지를 구성하여 상기 홈 서버 등록 장치로 전송하는 단계;
등록 요청에 대한 응답 메시지의 수신을 대기하는 단계;
상기 홈 서버 등록 장치로부터 등록이 성공했음을 의미하는 응답 메시지가 수신되면, 홈 서버 자신의 상태 정보를 상기 홈 서버 등록 장치로 통지하는 단계;
상기 홈 서버 등록 장치로부터 상태 정보를 성공적으로 수신하였음을 알리는 응답 메시지를 수신하면, 홈 서버가 원격 전자기기의 접근을 처리할 수 있도록 원격 접근 제어 기능을 활성화시키는 단계를 포함하는 것을 특징으로 하는 홈 네트워크의 원격 접근 제어 방법.A remote access control method of a home network for controlling access of remote electronic devices to home electronic devices of a home network through a home server registration device provided in a communication service providing system and a home server provided in a home network system, wherein the home The server
Constructing a registration request message including a device identifier of the device and preset address information and transmitting the registration request message to the home server registration device;
Waiting for reception of a response message to the registration request;
Notifying the home server registration apparatus of status information of a home server itself when a response message indicating that registration is successful is received from the home server registration apparatus;
Activating a remote access control function so that the home server can process the access of the remote electronic device upon receiving a response message indicating that the status information has been successfully received from the home server registration device. How to control remote access to your network.
상기 홈 서버가 상기 홈 서버 등록 장치를 통해 상기 원격 전자기기와 통신 세션을 연결하는 단계;
상기 통신 세션을 연결한 원격 전자기기로, 홈 서버 자신에게 기 설정된 제1 IP 주소 및 제1 포트 번호를 포함하는 주소 정보 교환 메시지를 전송하는 단계;
상기 주소 정보 교환 메시지를 전송한 후, 상기 원격 전자기기로부터 주소 정보 교환 메시지가 전송되기를 대기하는 단계; 및
상기 원격 전자기기로부터 주소 정보 교환 메시지가 전송되면, 상기 원격 전자기기로부터 전송된 주소 정보 교환 메시지의 데이터 필드에서, 원격 전자기기의 제1 IP 주소 및 제1 포트 번호를 추출하고, 헤더에서 원격 전자기기의 제2 IP 주소 및 제2 포트 번호를 추출하여 저장하는 단계를 더 포함하는 것을 특징으로 하는 홈 네트워크의 원격 접근 제어 방법.The method of claim 17,
The home server connecting a communication session with the remote electronic device through the home server registration device;
Transmitting, to a remote electronic device connecting the communication session, an address information exchange message including a preset first IP address and a first port number to a home server itself;
After transmitting the address information exchange message, waiting for an address information exchange message to be transmitted from the remote electronic device; And
When the address information exchange message is transmitted from the remote electronic device, the first IP address and the first port number of the remote electronic device are extracted from the data field of the address information exchange message transmitted from the remote electronic device, and the remote electronic is extracted from the header. And extracting and storing the second IP address and the second port number of the device.
상기 저장한 원격 전자기기의 제2 IP 주소 및 제2 포트 번호를 목적지로 하는 주소 정보 확인 메시지를 전송하는 단계;
상기 원격 전자기기에서 전송한 주소 정보 확인 메시지가 수신되는지를 확인하는 단계;
상기 원격 전자기기로부터 주소 정보 확인 메시지가 수신되지 않으면, 통신에 이상이 있는 것으로 판단하여 활성화된 원격 접근 제어 기능을 취소하는 단계를 더 포함하는 것을 특징으로 하는 홈 네트워크의 원격 접근 제어 방법.The method of claim 18,
Transmitting an address information confirmation message having a second IP address and a second port number of the stored remote electronic device as a destination;
Checking whether an address information confirmation message transmitted from the remote electronic device is received;
And if the address information confirmation message is not received from the remote electronic device, determining that there is an error in communication and canceling the activated remote access control function.
상기 홈 서버가 상기 저장한 원격 전자기기의 제2 IP 주소 및 제2 포트 번호를 이용하여, 상기 원격 전자기기와 통신하여, 댁내 전자기기의 특성 정보를 제공하고, 댁내 전자기기의 기능 호출에 대한 응답 메시지를 전달하는 단계를 더 포함하는 것을 특징으로 하는 홈 네트워크의 원격 접근 제어 방법.The method of claim 18,
The home server communicates with the remote electronic device using the second IP address and the second port number of the stored remote electronic device to provide the characteristic information of the indoor electronic device and to call the function of the indoor electronic device. And transmitting a response message.
상기 홈 서버가 상기 댁내 전자기기로부터 디바이스, 서비스, 이벤트 중에서 하나 이상의 특성 정보를 수집하여, 특성 정보 별로 대응하는 댁내 전자기기의 장치 식별자 및 주소 정보를 관리하는 내부용 특성 정보 관리 테이블을 구성하는 단계; 및
상기 내부용 특성 정보 관리 테이블에서 장치 식별자 및 주소 정보를 홈 서버 자신의 장치 식별자 및 주소 정보로 변경하여 외부용 특성 정보 관리 테이블을 구성하는 단계를 더 포함하는 것을 특징으로 하는 홈 네트워크의 원격 접근 제어 방법.The method of claim 20,
Collecting, by the home server, one or more characteristic information among devices, services, and events from the indoor electronic device, and configuring an internal characteristic information management table for managing device identifiers and address information of corresponding indoor electronic devices for each characteristic information. ; And
And changing the device identifier and the address information from the internal property information management table to the device identifier and address information of the home server, thereby configuring an external property information management table. Way.
상기 원격 전자기기로부터 특성 정보 요청 시, 상기 외부용 특성 정보 관리 테이블에 특성 정보, 장치 식별자 및 주소 정보를 추출하여, 상기 원격 전자기기에 제공하는 단계를 포함하는 것을 특징으로 하는 홈 네트워크의 원격 접근 제어 방법.22. The method of claim 21, wherein providing the characteristic information of the indoor electronic device and delivering a response message for the function call of the indoor electronic device,
When requesting the characteristic information from the remote electronic device, extracting the characteristic information, the device identifier and the address information from the external characteristic information management table, and providing the remote electronic device to the remote electronic device. Control method.
상기 원격 전자기기로부터 특정 기능에 대한 호출 메시지를 수신하는 단계;
상기 내부용 특성 정보 관리 테이블을 참조하여, 호출된 특정 기능을 처리할 댁내 전자기기를 검색하는 단계; 및
상기 호출 메시지의 목적지 주소를 댁내 전자기기의 주소로 변경하고, 근원지 주소를 홈 서버 자신의 주소로 변경한 후, 상기 댁내 전자기기로 전송하는 단계를 더 포함하는 것을 특징으로 하는 홈 네트워크의 원격 접근 제어 방법.22. The method of claim 21, wherein providing the characteristic information of the indoor electronic device and delivering a response message for the function call of the indoor electronic device,
Receiving a call message for a specific function from the remote electronic device;
Searching for an indoor electronic device to process the called specific function by referring to the internal characteristic information management table; And
Changing the destination address of the call message to the address of the home electronic device, changing the source address to the address of the home server itself, and then transmitting to the home electronic device remote access to the home network Control method.
상기 댁내 전자기기로부터 기능 호출에 대한 응답 메시지를 수신하는 단계;
상기 응답 메시지의 목적지 주소를 상기 원격 전자기기의 주소로 변경하고, 근원지 주소를 홈 서버 자신의 주소로 변경한 후, 변경된 응답 메시지를 상기 원격 전자기기로 전송하는 단계를 더 포함하는 것을 특징으로 하는 홈 네트워크의 원격 접근 제어 방법.
22. The method of claim 21, wherein providing the characteristic information of the indoor electronic device and delivering a response message for the function call of the indoor electronic device,
Receiving a response message for a function call from the home electronic device;
Changing the destination address of the response message to the address of the remote electronic device, changing the source address to the address of the home server itself, and then transmitting the changed response message to the remote electronic device. How to control remote access in your home network.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020100053246A KR20110133709A (en) | 2010-06-07 | 2010-06-07 | System and method for control remote access to home network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020100053246A KR20110133709A (en) | 2010-06-07 | 2010-06-07 | System and method for control remote access to home network |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20110133709A true KR20110133709A (en) | 2011-12-14 |
Family
ID=45501229
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020100053246A KR20110133709A (en) | 2010-06-07 | 2010-06-07 | System and method for control remote access to home network |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20110133709A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9491567B2 (en) | 2013-03-05 | 2016-11-08 | Kt Corporation | Providing M2M data to unregistered terminal |
US9801049B2 (en) | 2012-08-14 | 2017-10-24 | Kt Corporation | Method and system for continuously forwarding monitored information of machine-to-machine devices by a subscriber's registered terminals to a designated user terminal |
US10291712B2 (en) | 2013-02-26 | 2019-05-14 | Kt Corporation | Sharing control right of M2M device |
US10339182B2 (en) | 2014-06-02 | 2019-07-02 | Samsung Electronics Co., Ltd. | Method for storing data by using cloud services and apparatus thereof |
KR102207715B1 (en) * | 2020-07-15 | 2021-01-26 | 프라임원테크 주식회사 | ELECTRO-MAGNETIC CONTACTOR AND REMOTE CONTROL METHOD TO REMOTELY CONTROL INDUSTRIAL POWER DEVICES BASED ON IoT |
-
2010
- 2010-06-07 KR KR1020100053246A patent/KR20110133709A/en not_active Application Discontinuation
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9801049B2 (en) | 2012-08-14 | 2017-10-24 | Kt Corporation | Method and system for continuously forwarding monitored information of machine-to-machine devices by a subscriber's registered terminals to a designated user terminal |
US10291712B2 (en) | 2013-02-26 | 2019-05-14 | Kt Corporation | Sharing control right of M2M device |
US9491567B2 (en) | 2013-03-05 | 2016-11-08 | Kt Corporation | Providing M2M data to unregistered terminal |
US10339182B2 (en) | 2014-06-02 | 2019-07-02 | Samsung Electronics Co., Ltd. | Method for storing data by using cloud services and apparatus thereof |
KR102207715B1 (en) * | 2020-07-15 | 2021-01-26 | 프라임원테크 주식회사 | ELECTRO-MAGNETIC CONTACTOR AND REMOTE CONTROL METHOD TO REMOTELY CONTROL INDUSTRIAL POWER DEVICES BASED ON IoT |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2010307479B2 (en) | Apparatus and method for establishing a personal network for providing a CPNS service | |
US8243949B2 (en) | Network addressible loudspeaker and audio play | |
US8543665B2 (en) | Multi-services application gateway and system employing the same | |
CN1881964B (en) | Home gateway device, access control system for home network | |
KR20120064916A (en) | Method and apparatus for controlling home network access using phone numbers, and system thereof | |
JP5148095B2 (en) | CONTENT DISTRIBUTION SERVER, CONTENT PROVIDING SERVER, CONTENT DISTRIBUTION SYSTEM, CONTENT DISTRIBUTION METHOD, CONTENT PROVIDING METHOD, AND CONTROL PROGRAM | |
KR20060053250A (en) | System and method for plug and play between host and client | |
CN106685947B (en) | Access method and system for private cloud equipment of smart television | |
KR20110042711A (en) | Method and apparatus for providing service using personal network | |
KR101933466B1 (en) | Method and apparatus for providing service based component using personal network | |
JP2008098699A (en) | Connection control system, connection control method and data repeater | |
CN102833224A (en) | Information processing apparatus, server apparatus, information processing method, and program | |
CN105453620A (en) | Wireless docking architecture | |
CN106254951A (en) | A kind of net cast creation method and system, access device, management equipment | |
CN105230057A (en) | The use of wireless docking environment and configuration | |
KR20110133709A (en) | System and method for control remote access to home network | |
CN105230056A (en) | Wireless docking | |
CN101960777A (en) | Universal plug and play method and apparatus to provide remote access service | |
US9510034B2 (en) | Plug and play method and system of viewing live and recorded contents | |
US20170155970A1 (en) | Plug and Play Method and System of Viewing Live and Recorded Contents | |
CN105338089A (en) | Remote content sharing method, server and terminal | |
JP4713420B2 (en) | Communication system and network device sharing method | |
JP5227885B2 (en) | Cooperation method for linking Web system and VoIP system, VoIP system, and cooperation program | |
JP4886712B2 (en) | Access control system, access control method, access control apparatus, and access control program | |
US20070106898A1 (en) | Setting information notifying method and appliances applied thereto |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WITN | Withdrawal due to no request for examination |