KR101629169B1 - HOME NETWORK SYSTEM AND METHOD BASED ON WebRTC AND SERVICE WORKER - Google Patents

HOME NETWORK SYSTEM AND METHOD BASED ON WebRTC AND SERVICE WORKER Download PDF

Info

Publication number
KR101629169B1
KR101629169B1 KR1020140194175A KR20140194175A KR101629169B1 KR 101629169 B1 KR101629169 B1 KR 101629169B1 KR 1020140194175 A KR1020140194175 A KR 1020140194175A KR 20140194175 A KR20140194175 A KR 20140194175A KR 101629169 B1 KR101629169 B1 KR 101629169B1
Authority
KR
South Korea
Prior art keywords
home network
smart device
network device
home
call
Prior art date
Application number
KR1020140194175A
Other languages
Korean (ko)
Inventor
최신대
Original Assignee
주식회사 경동원
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 경동원 filed Critical 주식회사 경동원
Priority to KR1020140194175A priority Critical patent/KR101629169B1/en
Priority to PCT/KR2015/014101 priority patent/WO2016108494A1/en
Application granted granted Critical
Publication of KR101629169B1 publication Critical patent/KR101629169B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention provides a home network system and a home network method based on a web real time communication (WebRTC) and a service worker, capable of making a call and controlling remote devices by connecting a smart device and a home network device over peer-to-peer (P2P). The system comprises: a smart device connected to a home network device of an internal apartment complex network over P2P through an web application installed therein, and connecting a call with the connected home network device or remotely controlling the connected home network device; a signaling server performing relay to allow P2P connection between the smart device and the home network device through a wireless router and a home gateway; a push server receiving a call or remote device control request from the home network device or the smart device to provide a push alarm to the web application installed in the home network device or the smart device; the wireless router connecting an Internet network including the smart device and the signaling server with the home gateway included in the internal apartment complex network, and receiving a call or remote device control request signal to transfer the signal to the home gateway, or receiving the call request signal of the home network gateway to transfer the signal to the smart device; the home network devices installed in the internal apartment complex network, and performing a call function with the smart device on the Internet network through the home gateway depending on the control of the signaling server or receiving remote control by receiving the remote control request of the smart device; and the home gateway installed to be able to access the internal apartment complex network and the Internet network dually, and transmitting the call or remote control request signal to the home network device connected through the internal apartment complex network, or transmitting the call request signal to the smart device on the internet network.

Description

WebRTC와 서비스워커 기반의 홈네트워크시스템 및 방법{HOME NETWORK SYSTEM AND METHOD BASED ON WebRTC AND SERVICE WORKER}BACKGROUND OF THE INVENTION Field of the Invention The present invention relates to a home network system and method based on WebRTC and a service worker,

본 발명은 WebRTC와 서비스워커 기반의 홈네트워크시스템 및 방법에 관한 것으로, 더욱 상세하게는 단지 내부망의 홈네트워크기기와 P2P 연결을 중계하기 위한 시그널링서버와 연결되는 스마트기기와, 상기 스마트기기를 상기 시그널링서버의 제어에 따라 상기 홈네트워크기기에 접속시켜주는 홈게이트웨이를 구비한 홈네트워크 시스템을 구성하고, 스마트기기와 홈네트워크기기간 P2P 연결되어 통화 및 기기 원격제어가 가능한, WebRTC와 서비스워커 기반의 홈 네트워크 시스템 및 방법에 관한 것이다.The present invention relates to a home network system and method based on WebRTC and a service worker, and more particularly, to a home network system and method based on a WebRTC and a service worker, and more particularly to a smart device connected to a signaling server for relaying a P2P connection with a home network device of an internal network, A home network system including a home gateway for connecting to the home network device under the control of a signaling server, a WebRTC and a service worker-based home Network system and method.

최근 HTML의 차기 버전인 HTML 5의 등장으로, 서버의 부하를 줄이고 그 부하를 클라이언트와 나눔과 함께 어플리케이션으로써 웹의 활용도를 높일 것으로 예상되고 있으며, 그 주요 기술로는 웹을 위한 컴포넌트 시스템인 Web Components, 통합된 애니메이션 제어모델을 제공하기 위한 자바스크립트 API(Application Programming Interface)인 웹 애니메이션(Web Animations), WebRTC(Web Real-time Communication), 서비스워커(Service Worker)가 있다.It is anticipated that the introduction of HTML 5, the next version of HTML, will increase the utilization of the web by reducing the load on the server, sharing the load with clients, and enhancing the utilization of the web. , Web Animations, Web Real-time Communication, and Service Worker, which are JavaScript API (Application Programming Interface) for providing integrated animation control model.

특히 WebRTC는 웹을 위한 실시간 통신 규격으로, 오디오나 비디오 스트림을 P2P로 송수신하는 것뿐만 아니라, 데이터 전달을 위한 메커니즘을 포함하고 있다. 대다수의 서비스들은 클라이언트-서버 간의 데이터 통신을 통해 기능을 제공하고 있지만, 어떤 경우는 클라이언트 간의 빠른 데이터 교환이 주요 기능의 구현 사항이 되기도 하는데, 이러한 경우 WebRTC는 중요한 기반 기능을 제공하는 것이다.In particular, WebRTC is a real-time communication standard for the Web, which includes mechanisms for transmitting and receiving audio and video streams as well as P2P. Most services provide functionality through data communication between client and server, but in some cases, fast data exchange between clients is an implementation of the main function. In this case, WebRTC provides important infrastructure functions.

또한 서비스워커는 네이티브 어플리케이션의 동작 흐름을 웹으로 가져오기 위한 가장 중요한 기능으로, 페이지 기반이 아닌 백그라운드 기반의 프로세싱을 지원한다. 서비스워커의 주요 구성요소는 푸시(Push) API, 웹 페이지가 로딩되지 않은 상태에서도 스케쥴링된 알람에 의해 특정한 동작을 수행하는 태스크 스케줄러(Task Schedular API), 오프라인 상태에서의 업데이트된 데이터를 다음 온라인 시에 동기화하도록 기능하는 백그라운드 동기화(Background Synchronization)가 있다.The service walker is the most important function for bringing the flow of the native application into the web, and it supports background-based processing rather than page-based processing. The main components of the service worker are a push API, a task scheduler API that performs a specific action by a scheduled alarm even when the web page is not loaded, (Background Synchronization), which functions to synchronize with the network.

한편, 홈 네트워크 시스템은 집안의 조명, 냉난방, 방재, 방범, 오락 및 통신 기능을 하나의 시스템으로 통합하여 제어함으로써, 가정을 안락하고, 안전하며, 편리하게 해주는 동시에 에너지 효율을 극대화하여 인간의 생활수준을 향상시키는 시스템이다. 최근 들어, 홈 네트워크 시장의 성장과 함께 다양한 가정용 기기들을 편리하게 홈 네트워크 서비스와 연결할 수 있다.On the other hand, the home network system integrates and controls the lighting, air conditioning, disaster prevention, security, entertainment and communication functions of the house into one system to make the home comfortable, safe and convenient, It is a system that improves the level. In recent years, with the growth of the home network market, various home appliances can be conveniently connected with home network services.

그러나, 종래의 홈네트워크 시스템은 도 1에 도시된 바와 같이, 홈 네트워크 제품(200, 홈 네트워크 기기)을 직접 제어하고, 홈 네트워크 제품(200)에서 발생되는 응답이나 이벤트를 처리하는 기능과, 휴대단말기(400)와 인터넷을 통해 연결되어 홈 네트워크 제품(200)을 제어하는 기능을 포함하는 단지 서버(300)와, 단지 서버(300)에 연결되어 홈 네트워크 제품(200)과 데이터의 송수신을 담당하는 홈넷 서버(100)를 포함하여 이루어진다.However, as shown in FIG. 1, the conventional home network system has a function of directly controlling the home network product 200 (home network appliance), processing a response or an event generated in the home network product 200, A server 300 including a function of controlling the home network product 200 by being connected to the terminal 400 through the Internet and a server 300 connected to the server 400 to transmit and receive data to and from the home network product 200 And a home network server 100 that is connected to the Internet.

이러한 종래의 홈네트워크 시스템에서는 홈네트워크 기기의 외부 원격제어 요청을 기존의 단지 내부망을 통해 외부로 전송하기에는 인터넷 전용선 유지와 관리에 어려움이 있었고, 단지 내부에 별도의 홈넷서버 또는 단지서버가 존재하여야 했다. 이와 같은 경우, 외부에서 원격 제어시 단지서버를 통해 제어가 이루어지고, 휴대단말기마다 기기 환경에 맞는 별도의 어플리케이션을 개발해야하는 제약이 있었다.In such a conventional home network system, it is difficult to maintain and manage the Internet leased line in order to transmit the external remote control request of the home network device to the outside through the existing internal network only. However, there is a separate home net server or a server did. In such a case, control is exerted only through the server when remote control is performed from the outside, and there is a restriction that a separate application corresponding to the device environment must be developed for each portable terminal.

따라서, WebRTC 및 서비스워커를 기반으로 하여 개발 환경의 통합(One Source MultiPlatform)이 가능하도록 홈 네트워크 시스템을 구현하여, 기기의 화면 크기와 비율, 운영체제(OS)가 달라도 한 번의 개발로 모든 홈 네트워크 기기에서 수용이 가능하게 구현할 필요성이 대두되고 있다.Therefore, the home network system is implemented so that the integration of the development environment (One Source MultiPlatform) is possible based on the WebRTC and the service worker, It is necessary to embody it in such a way that it can be accommodated in the system.

공개특허공보 제10-2006-0088743호Japanese Patent Application Laid-Open No. 10-2006-0088743

전술한 사정을 감안하여 안출된 본 발명에 따르면, 단지 내부망의 홈네트워크기기와 P2P 연결을 중계하기 위한 시그널링서버와 연결되는 스마트기기와, 상기 스마트기기를 상기 시그널링서버의 제어에 따라 상기 홈네트워크기기에 접속시켜주는 홈게이트웨이를 구비한 홈네트워크 시스템을 구성하고, 스마트기기와 홈네트워크기기간 P2P 연결되어 통화 및 기기 원격제어가 가능한, WebRTC와 서비스워커 기반의 홈네트워크시스템을 제공하는데 그 목적이 있다.According to an embodiment of the present invention, a smart device is connected to a signaling server for relaying a P2P connection with a home network device of an internal network. The smart device is connected to the home network device in accordance with the control of the signaling server. A home network system having a home gateway for connecting to a device, and a home network system based on a WebRTC and a service worker, which are capable of P2P connection between a smart device and a home network device to perform call and device remote control .

본 발명의 기술적 과제들은 이상에서 언급한 기술적 과제로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.The technical objects of the present invention are not limited to the technical matters mentioned above, and other technical subjects not mentioned can be clearly understood by those skilled in the art from the following description.

상기 목적을 달성하기 위한 본 발명의 WebRTC와 서비스워커 기반의 홈네트워크시스템은, 기기 내 설치된 웹어플리케이션을 통하여 단지내부망의 홈네트워크기기와 P2P 연결되고, 연결된 홈네트워크기기와 통화 연결하거나 홈네트워크기기를 원격 제어하는 스마트기기;무선라우터 및 홈게이트웨이를 통하여 상기 스마트기기와 홈네트워크기기 상호간에 P2P 연결이 가능하도록 중계하는 시그널링서버;상기 홈네트워크기기 또는 스마트기기로부터 통화 또는 기기 원격제어 요청을 받아 홈네트워크기기 또는 스마트기기에 설치된 웹어플리케이션으로 푸시알람을 제공하는 푸시서버;상기 스마트기기 및 시그널링 서버가 속한 인터넷망과 단지내부망에 속한 홈게이트웨이를 연결하여, 상기 스마트기기로부터 통화 또는 기기 원격제어 요청 신호를 수신하여, 상기 홈게이트웨이에 전송하거나 상기 홈네트워크기기의 통화 요청 신호를 수신하여, 스마트기기에 전달하는 무선라우터;단지 내부망에 다수가 마련되어, 상기 시그널링 서버의 제어에 따라 상기 홈게이트웨이를 통하여 인터넷상의 스마트기기와 통화 기능을 수행하거나 상기 스마트기기의 원격 제어 요청을 받아 원격제어 받는 홈네트워크기기;단지 내부망과 인터넷에 듀얼로 접속 가능하도록 마련되어, 단지 내부망을 통하여 연결된 홈네트워크기기에 통화 요청신호 또는 원격제어 요청신호를 전송하거나 인터넷상의 스마트기기에 통화 요청신호를 전송하는 홈게이트웨이;를 포함한다.In order to achieve the above object, the WebRTC and the service walker-based home network system of the present invention can be connected to a home network device of the internal network only through a web application installed in the device, A signaling server for relaying the smart device and the home network device through P2P connection between the smart device and the home network through a wireless router and a home gateway, A push server for providing a push alarm to a network device or a web application installed in the smart device, a push server for connecting the internet network to which the smart device and the signaling server belong, and a home gateway belonging only to the internal network, Signal, A plurality of wireless routers for transmitting to the home gateway or for receiving a call request signal of the home network device and delivering the call request signal to the smart device; a plurality of wireless routers provided in the internal network, A home network device that is connected to an internal network and the Internet and is connected to the home network device through a home network, And a home gateway that transmits a control request signal or transmits a call request signal to a smart device on the Internet.

상기 목적을 달성하기 위한 본 발명의 WebRTC와 서비스워커 기반의 홈네트워크시스템의 제공 방법은, 단지 내부망의 홈네트워크기기와 P2P 연결을 중계하기 위한 시그널링서버와 연결되는 스마트기기와, 상기 스마트기기를 상기 시그널링서버의 제어에 따라 상기 홈네트워크기기에 접속시켜주는 홈게이트웨이를 구비한 홈네트워크 시스템 제어 방법에 있어서,(A) 상기 홈게이트웨이는 단지 내부망에 연결된 상기 홈네트워크기기로부터 상기 스마트기기와의 통화 요청 신호가 수신되면, 푸시 서버로 푸시 메시지(Push Message)를 전송하는 단계;(B) 인터넷을 통하여 상기 스마트기기에 접속되는 푸시서버는 기등록된 상기 스마트기기의 웹어플리케이션으로 푸시메시지(wake Push Message)를 전송하여 상기 웹 어플리케이션을 활성화하여 응답 대기시키는 단계;(C) 상기 시그널링서버는 웹어플리케이션이 실행(Wake up)된 스마트기기로부터 상기 홈네트워크기기와 연결하기 위한 신호를 전송받고, 상기 홈게이트웨이로부터 주기적인 시그널링을 전송받으면, 통화 요청된 홈네트워크기기와 상기 홈게이트웨이를 P2P 연결하는 단계; (D) 상기 홈게이트웨이는 상기 시그널링서버와 P2P 연결된 상기 스마트기기의 통화 신호를 중계하여, 상기 홈네트워크기기로 전송함으로써, 상기 홈네트워크기기와 스마트기기 간 통화가 이루어지는 단계;를 포함한다.According to another aspect of the present invention, there is provided a method for providing a home network system based on a WebRTC and a service worker, the method including: a smart device connected to a signaling server for relaying a P2P connection with a home network device of an internal network; And a home gateway system for connecting the home network device to the home network device under the control of the signaling server, the home gateway system comprising: (A) (B) transmitting a push message to the push server when the call request signal is received; (B) transmitting a push message (wake) to the web application of the smart device registered in the push server connected to the smart device via the Internet; Push message to activate the web application and wait for a response; (C) The base signaling server receives a signal for connection with the home network device from a smart device that the web application has woken up and receives periodic signaling from the home gateway, P2P connection; (D) the home gateway relaying a call signal of the smart device connected to the signaling server and P2P, and transmitting the relay signal to the home network device, thereby making a communication between the home network device and the smart device.

본 발명에 따르면, HTML 5 기반의 멀티 플랫폼(Multi-Platform) 환경을 지원하는 웹 어플리케이션을 통하여, 기존 웹어플리케이션의 제한 사항이었던 웹 환경을 탈피하여, P2P와 푸시, 오프라인 동작을 WebRTC와 서비스워커로 구현이 가능하며, 이를 적용한 홈 네트워크 시스템을 구축함에 따라, 홈네트워크기기(700)와 스마트 기기에 설치되는 웹어플리케이션을 하나의 소스(One Source)로 구현할 수 있어서, 시스템 및 어플리케이션의 통합 관리가 용이하고, 유지 보수 비용이 절감되는 효과가 있다.According to the present invention, P2P, push and offline operations are performed by WebRTC and service worker through a web application supporting HTML 5 based multi-platform environment, The home network system 700 and the web application installed in the smart device can be implemented as a single source, thereby facilitating the integrated management of the system and the application. And the maintenance cost is reduced.

다른 효과로는, HTML 5 기반의 홈네트워크 시스템을 구성할 경우, 내부 단지망에 기기 원격제어를 중계할 관리서버를 별도로 구축할 필요가 없게 되며, 또한, 외부 원격제어를 원하는 세대만을 대상으로 개별 서비스가 가능한 효과가 있다.As another effect, when a home network system based on the HTML 5 is configured, it is not necessary to separately construct a management server for relaying the device remote control to the internal complex network. Also, Service is possible.

도 1은 종래의 홈네트워크 시스템의 전체 구성 예을 보인 도면이다.
도 2는 본 발명의 바람직한 일 실시예에 따른 WebRTC와 서비스워커 기반의 홈네트워크 시스템의 블록도이다.
도 3은 도 2의 스마트기기의 세부적인 구성을 나타낸 블록도이다.
도 4는 도 2의 홈네트워크기기의 세부적인 구성을 나타낸 블록도이다.
도 5는 본 발명의 바람직한 일 실시예에 따른 WebRTC와 서비스워커 기반의 홈네트워크 시스템 제어 방법의 홈네트워크기기와 스마트기기간 통화 과정에 대한 흐름도이다.
도 6은 본 발명의 WebRTC와 서비스워커 기반의 홈네트워크 시스템 제어방법의 홈네트워크기기의 업데이트 과정에 대한 흐름도이다.
1 is a diagram showing an example of the overall configuration of a conventional home network system.
2 is a block diagram of a home network system based on a WebRTC and a service worker according to a preferred embodiment of the present invention.
3 is a block diagram showing a detailed configuration of the smart device of FIG.
4 is a block diagram illustrating a detailed configuration of the home network device of FIG.
5 is a flowchart illustrating a communication process between a home network device and a smart device in a method of controlling a home network system based on a WebRTC and a service worker according to a preferred embodiment of the present invention.
6 is a flowchart illustrating a process of updating a home network device of the WebRTC and a service worker-based home network system control method according to the present invention.

이하 첨부된 도면을 참조하면서 본 발명에 따른 바람직한 실시예를 상세히 설명하기로 한다. 이에 앞서, 본 명세서 및 청구범위에 사용된 용어나 단어는 통상적이거나 사전적인 의미로 한정해서 해석되어서는 아니 되며, 발명자는 그 자신의 발명을 가장 최선의 방법으로 설명하기 위해 용어의 개념을 적절하게 정의할 수 있다는 원칙에 입각하여, 본 발명의 기술적 사상에 부합하는 의미와 개념으로 해석되어야만 한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. Prior to this, terms and words used in the present specification and claims should not be construed as limited to ordinary or dictionary terms, and the inventor should appropriately interpret the concepts of the terms appropriately The present invention should be construed in accordance with the meaning and concept consistent with the technical idea of the present invention.

따라서, 본 명세서에 기재된 실시예와 도면에 도시된 구성은 본 발명의 가장 바람직한 일 실시예에 불과할 뿐이고 본 발명의 기술적 사상을 모두 대변하는 것은 아니므로, 본 출원시점에 있어서 이들을 대체할 수 있는 다양한 균등물과 변형예들이 있을 수 있음을 이해하여야 한다.
Therefore, the embodiments described in this specification and the configurations shown in the drawings are merely the most preferred embodiments of the present invention and do not represent all the technical ideas of the present invention. Therefore, It is to be understood that equivalents and modifications are possible.

이하, 본 발명의 바람직한 실시예에 따른 WebRTC와 서비스워커 기반의 홈네트워크 시스템 및 방법을 상세하게 설명하면, 다음과 같다.
Hereinafter, a WebRTC and a service worker-based home network system and method according to a preferred embodiment of the present invention will be described in detail.

도 2는 본 발명의 바람직한 일 실시예에 따른 WebRTC와 서비스워커 기반의 홈네트워크 시스템의 블록도이다.2 is a block diagram of a home network system based on a WebRTC and a service worker according to a preferred embodiment of the present invention.

본 발명의 바람직한 일 실시예에 따른 홈네트워크 시스템은 도 2에 도시된 바와 같이, 스마트기기(100), 시그널링서버(200), 인터넷(300), 푸시서버(400), 무선라우터(500), API서버(600), 홈네트워크기기(700), 홈게이트웨이(800), 월패드(910), 경비폰(920), 로비폰(930)을 포함한다.2, a home network system according to an exemplary embodiment of the present invention includes a smart device 100, a signaling server 200, an Internet 300, a push server 400, a wireless router 500, An API server 600, a home network appliance 700, a home gateway 800, a wall pad 910, a security phone 920, and a lobby phone 930.

스마트기기(100)는 홈네트워크기기(700)와 웹어플리케이션(110)을 통하여 P2P 연결되어, 홈네트워크기기(700)와 영상통화를 수행하거나 홈네트워크기기(700)의 각종 설정을 원격에서 제어할 수 있도록 구비된다. 이때, 스마트기기(100)는 시그널링서버(200)와 무선라우터(500), 홈게이트웨이(800)를 통하여 온라인으로 홈네트워크기기(700)와 P2P 연결될 수 있다. 스마트기기(100)는 예컨대, 스마트 폰, 패블릿 폰, 태블릿 PC, 노트북 컴퓨터, 데스크톱 컴퓨터가 될 수 있다.The smart device 100 is P2P connected through the home network device 700 and the web application 110 to perform a video call with the home network device 700 or remotely control various settings of the home network device 700 Respectively. At this time, the smart device 100 can be P2P-connected to the home network device 700 on-line via the signaling server 200, the wireless router 500, and the home gateway 800. [ The smart device 100 may be, for example, a smart phone, a tablet phone, a tablet PC, a notebook computer, or a desktop computer.

한편, 스마트기기(100)는 예컨대, 스마트기기 2(103)와 같이, 인터넷(300)의 사용이 불가능한 상태이더라도 무선라우터(Wireless-broadband router, 500)에 직접 연결되어, 시그널링서버(200)를 통한 중계 없이 직접 홈게이트웨이(800)를 호출하고, P2P 통신을 수행할 수 있다.The smart device 100 may be connected directly to a wireless router (wireless broadband router) 500, for example, even if the Internet 300 is in an unusable state, such as the smart device 2 103, It is possible to call the home gateway 800 directly without relay through the mobile communication terminal and perform P2P communication.

시그널링서버(Signaling Server, 200)는 기본적으로 WebRTC 통신을 위한 메타데이터 교환 서버로서, STUN/TURN/ICE서버로 세분화하여 네트워크주소변환기(NAT : Network Address Translation)및 방화벽 대응을 위한 서버로 기능한다. 여기서 메타데이터는 기기 간 통신을 열고 닫는데 사용되는 세션 컨트롤 메시지, 에러 메시지, 코덱이나 미디어 타입과 같은 미디어 메타데이터, 보안 연결을 수립하기 위해 사용되는 키 데이터, 호스트의 IP 주소, 포트와 같은 네트워크 데이터가 될 수 있다.The signaling server 200 is basically a metadata exchange server for WebRTC communication and functions as a server for network address translation (NAT) and firewall correspondence by subdividing into a STUN / TURN / ICE server. The metadata may include session control messages used to open and close device-to-device communication, error messages, media metadata such as codec or media type, key data used to establish a secure connection, Lt; / RTI >

특히, 시그널링서버(200)는 본 발명의 홈네트워크 시스템에서 무선라우터(500) 또는 홈게이트웨이(800, 호출자에 해당)와 스마트기기(100, 피호출자에 해당)의 P2P 연결이 가능하도록 중계 및 제어하는 역할을 수행한다.Particularly, the signaling server 200 can relay and control the P2P connection of the wireless router 500 or the home gateway 800 (corresponding to the caller) and the smart device 100 (corresponding to the callee) in the home network system of the present invention. .

푸시서버(400)는 홈네트워크기기(700) 또는 스마트기기(100)로부터 통화 요청을 받거나 스마트기기(100)의 원격제어 요청을 받아 연결할 홈네트워크기기(700) 또는 스마트기기(100)에 설치된 대기모드 상태인 웹어플리케이션(110)의 실행(wake up)을 위하여 푸시알람을 제공한다.The push server 400 receives a call request from the home network device 700 or the smart device 100 or receives a call request from the home network device 700 or the smart device 100 And provides a push alarm to wake up web application 110 in a mode state.

무선라우터(500)는 스마트기기(100) 및 시그널링 서버가 속한 인터넷(300)망과 단지내부망에 속한 홈게이트웨이(800)를 연결하기 위한 무선 통신 규격의 라우터로 기능한다. 즉, 무선라우터(500)는 스마트기기(100)로부터 영상통화 또는 기기 원격제어 요청 신호를 받아 홈게이트웨이(800)에 전송하거나 월패드(910), 경비폰(920), 도어폰(930) 등과 같은 홈네트워크기기(700)의 영상통화 신호 요청을 받아 무선 통신으로 스마트기기(100)에 신호를 전송하는 역할을 수행한다.The wireless router 500 functions as a router of a wireless communication standard for connecting the smart device 100 and the Internet 300 to which the signaling server belongs and the home gateway 800 belonging only to the internal network. That is, the wireless router 500 receives a video call or a device remote control request signal from the smart device 100 and transmits it to the home gateway 800, or transmits the video call or device remote control request signal to the home gateway 800, the wall pad 910, the security phone 920, Receives a video call signal request from the same home network device 700, and transmits a signal to the smart device 100 through wireless communication.

API서버(600)는 홈네트워크기기(700) 또는 스마트기기(100)의 업데이트를 위한 서버로서, 웹서버로서 기능할 수 있으며, 연결된 해당 기기의 웹어플리케이션(110, 710)을 동기화하여 기저장된 웹정보를 제공하거나 웹어플리케이션(110, 710) 업데이트를 수행할 수 있다.The API server 600 is a server for updating the home network device 700 or the smart device 100 and may function as a web server and synchronize the web applications 110 and 710 of the connected devices, And may provide information or perform web application 110, 710 updates.

홈네트워크기기(700)는 단지 내부망에 다수가 각 세대별로 마련되어, 홈게이트웨이(800)를 통하여 무선 인터넷(300) 망에 연결된 스마트기기(100)와 영상통화 기능을 수행할 수 있다. 또한, 월패드(910)의 경우 세대 내 전등, 룸콘, 도어락 등과 같은 다수의 홈네트워크기기(700)를 홈게이트웨이(800)를 경유하지 않고, 단지 내부망에서 직접적으로 제어할 수 있도록 시스템이 구축된다. A plurality of home network devices 700 are provided for each household in the internal network and can perform a video call function with the smart device 100 connected to the wireless Internet network 300 through the home gateway 800. In the case of the wall pad 910, a system is constructed so that a plurality of home network devices 700 such as electric lamps, room cones, door locks, and the like can be directly controlled in the internal network without passing through the home gateway 800 do.

또한 각 홈네트워크기기(700)는 홈네트워크기기(700)마다 기기마다 고유 할당된 IP 주소를 저장한 IP 테이블(Table)을 내부 메모리(미도시)에 저장하고, 주기적으로 홈네트워크기기(700) 간 단지 내부망을 통하여 그리드(Grid) 방식으로 연결하여, 새로운 홈네트워크기기(700)에 할당된 IP 주소가 저장된 IP 테이블의 교환을 통해 기기 간 접속주소를 저장 및 관리한다. Each home network appliance 700 stores an IP table storing an IP address uniquely assigned to each home network appliance 700 in an internal memory (not shown) And stores and manages the connection addresses between the devices through the exchange of the IP tables in which the IP addresses allocated to the new home network devices 700 are exchanged.

나아가, 스마트기기(100)에서는 홈네트워크기기(700)의 원격 제어시, 홈네트워크기기(700)에 설치된 웹어플리케이션(710)의 연동을 위하여, 웹어플리케이션(710)의 업데이트 여부 확인이 중요한데, 이때 다수의 홈네트워크기기(700) 중 특정 하나의 홈네트워크기기(700)로부터 저장된 IP 테이블을 제공받아 홈네트워크기기(700) 전체의 접속 IP 주소로 업데이트 버전을 확인할 수 있다. 또한 업데이트 필요 시 단지 네트워크에 스마트기기(100)로 접속하여 업데이트가 필요한 각 홈네트워크기기(700)에 업데이트 제어 신호 및 데이터를 전송하여 업데이트가 수행되도록 할 수 있다.In addition, in the smart device 100, it is important to check whether the web application 710 is updated in order to link the web application 710 installed in the home network device 700 at the time of remote control of the home network device 700. At this time, It is possible to receive an IP table stored from a specific one of the plurality of home network appliances 700 and confirm the updated version to the access IP address of the entire home network appliance 700. [ In addition, when the update is required, the update may be performed by connecting the smart device 100 to the network and transmitting update control signals and data to each of the home network devices 700 that need updating.

홈게이트웨이(Home Gateway, 800)는 단지 내부의 각 세대에 구비된 다수의 홈네트워크기기(700)에 연결하기 위하여 적소에 다수 개가 마련될 수 있으며, 단지 내부망과 인터넷(300)에 듀얼(Dual)로 접속 가능하도록 마련된다. 또한 홈게이트웨이(800)는 직접 연결된 홈네트워크기기(700)를 제어하는 역할을 수행하며, 또한 연결된 두 종류의 네트워크망(인터넷과 단지 내부망)을 중계(Relay)하는 역할도 수행한다.A plurality of home gateways 800 may be provided in place in order to connect to a plurality of home network appliances 700 provided in each generation of the home network. As shown in FIG. Also, the home gateway 800 controls the directly connected home network appliance 700 and also relays two types of network (Internet and internal network) connected thereto.

홈게이트웨이(800)와 스마트기기(100)와의 통신은 Web RTC 기반 통신 프로토콜을 사용하여 스마트기기(100)의 웹어플리케이션(110) 상에 구현된 웹브라우저와 P2P로 통신하여 이루어진다.The communication between the home gateway 800 and the smart device 100 is performed by P2P communication with a web browser implemented on the web application 110 of the smart device 100 using a Web RTC based communication protocol.

나아가, 홈게이트웨이(800)와 스마트기기(100)와의 통신은 인터넷(300) 망이 연결된 경우에는 시그널링서버(200)를 통한 온라인 연결을 수행하고, 인터넷(300) 망의 연결이 끊어진 경우에도 스마트기기(100)는 무선라우터(500)와 직접 연결되어, 무선라우터(500)를 통하여 직접 홈네트워크기기(700)를 호출하여 홈네트워크기기(700)의 통화(음성/영상 통화) 및 기기 원격 제어 기능을 수행할 수 있도록 구축된다. 이와 같이, 오프라인상태에서도 스마트기기(100)와 홈네트워크기기(700) 간 연결이 가능한 것은 기기 내 설치된 웹어플리케이션(110, 710)이 서비스워커(113)를 기반으로 하여 구현되어 인터넷(300) 망과 연결되지 않더라도 직접적인 통신에 의해 신호 전달이 가능하기 때문이다.
The communication between the home gateway 800 and the smart device 100 performs online connection through the signaling server 200 when the Internet 300 network is connected, The device 100 is directly connected to the wireless router 500 and calls the home network device 700 directly through the wireless router 500 to call (voice / video call) of the home network device 700, Function is performed. As described above, the connection between the smart device 100 and the home network appliance 700 can be established even when the user is offline, because the installed web applications 110 and 710 are implemented on the basis of the service walker 113, It is possible to transmit signals by direct communication.

도 3은 도 2의 스마트기기의 세부적인 구성을 나타낸 블록도이다.3 is a block diagram showing a detailed configuration of the smart device of FIG.

본 발명의 스마트기기(100)는 세부적으로 웹어플리케이션(110), 업데이트관리부(120), 원격제어부(130)를 더 포함할 수 있다.The smart device 100 of the present invention may further include a web application 110, an update management unit 120, and a remote control unit 130 in detail.

스마트기기(100) 내에 설치되는 웹어플리케이션(110)은 홈게이트웨이(800)와의 통신으로 스마트기기(100)에서 홈네트워크기기(700)의 원격 제어 및 통화 기능을 수행할 수 있다.The web application 110 installed in the smart device 100 can perform the remote control and the call function of the home network device 700 in the smart device 100 by communication with the home gateway 800. [

또한 웹어플리케이션(110)은 기본적으로 홈네트워크기기(700)의 원격 제어 및 통화 기능을 온라인상에서 수행하는 한편, 서비스워커(113)를 기반으로 하여 오프라인(offline-first) 동작이 가능함에 따라 인터넷(300) 망이 연결 불가한 오프라인 환경에서도 무선라우터(500)의 직접 통신에 의해서 푸시 메시지(push message)를 수신받아 웹어플리케이션(110)을 실행(wake up)하여 홈게이트웨이(800)의 호출에 응답할 수 있다.The web application 110 basically performs the remote control and the call function of the home network device 700 online while the offline operation can be performed based on the service walker 113. Accordingly, The web application 110 is wake up by receiving a push message by direct communication of the wireless router 500 in an offline environment in which the network can not be connected and responding to a call of the home gateway 800 can do.

또한, 웹어플리케이션(110)은 세부적으로 도 3에 도시된 바와 같이, 프런트엔드페이지제공부(111), WebRTC 통신부(112), 서비스워커(113)를 포함할 수 있으며, API서버(600)로부터 동기화하여 업데이트하거나 미리 탑재하여 제공됨으로써, 홈네트워크기기(700)와 스마트기기(100)가 하나의 소스로 개발 가능하여 설계 및 구현이 용이해진다.3, the web application 110 may include a front end page providing unit 111, a WebRTC communication unit 112, and a service worker 113, and may be connected to the API server 600 The home network device 700 and the smart device 100 can be developed as a single source, which facilitates design and implementation.

프런트엔드페이지제공부(111)는 홈네트워크기기(700)와 스마트기기(100)에 설치된 웹어플리케이션(110)의 화면을 연동시켜, 동일한 화면을 제공하는 기능을 수행한다.The front end page providing unit 111 performs a function of providing the same screen by linking the screen of the web application 110 installed in the smart device 100 with the home network appliance 700. [

WebRTC 통신부(112)는 웹어플리케이션(110)에서 실시간 데이터 통신을 위한 WebRTC 통신을 담당하며, P2P 연결을 지원하여 영상 통화와 홈네트워크기기(700)의 원격 제어시 필요한 데이터 전송에 적합하도록 기능한다. The WebRTC communication unit 112 is responsible for WebRTC communication for real-time data communication in the web application 110 and supports P2P connection to function for video communication and data transmission required for remote control of the home network device 700. [

서비스워커(113)는 스마트기기(100)에 등록된 웹어플리케이션(110)이 백그라운드 기반의 프로세싱으로 동작하도록 구현되는 것으로서, 세부적으로 푸시 API부(114), 태스크 스케줄러(115), 동기화부(116)를 더 포함한다.The service worker 113 is implemented such that the web application 110 registered in the smart device 100 operates as background-based processing and includes a push API unit 114, a task scheduler 115, a synchronization unit 116 ).

푸시 API부(114)는 홈네트워크기기(700)로부터 통화 요청시, 푸시서버(400)로부터 푸시메시지를 전송받아 대기모드 상태인 스마트기기(100)의 웹어플리케이션(110)을 동작시키며, 이때 WebRTC 통신으로 푸시메시지 등의 데이터 수신을 허용하도록 한다.The push API unit 114 operates the web application 110 of the smart device 100 in the standby mode state by receiving a push message from the push server 400 at the time of a call request from the home network device 700, And allows reception of data such as a push message by communication.

태스크 스케줄러(115)는 스마트기기(100)에서 실행된 웹어플리케이션(110) 상에 웹페이지가 로딩되지 않은 오프라인 상태에서도 기저장된 스케줄링된 알람을 이용하여 홈네트워크기기(700)와 영상통화 및 원격 제어가 가능하도록 지원한다.The task scheduler 115 notifies the home network device 700 of the video call and remote control using the pre-stored scheduled alarm even in the offline state in which the web page is not loaded on the web application 110 executed in the smart device 100. [ .

동기화부(116)는 스마트기기(100)와 홈네트워크기기(700)에 설치된 웹어플리케이션(710)의 오프라인 상태에서의 업데이트된 데이터를 다음 온라인시에 동기화하도록 백그라운드 동기화 기능을 수행한다.The synchronization unit 116 performs a background synchronization function to synchronize the updated data in the off-line state of the web application 710 installed in the smart device 100 and the home network device 700, at the next online time.

업데이트관리부(120)는 스마트기기(100)가 홈네트워크기기(700) 원격 제어시, 홈네트워크기기(700)에 설치된 웹어플리케이션(710)의 업데이트 여부 확인을 위하여, 다수의 홈네트워크기기(700) 중 특정 하나의 홈네트워크기기(700)로부터 저장된 IP 테이블을 제공받는다. 또한 업데이트 필요 시 단지 네트워크에 스마트기기(100)로 접속하여 업데이트가 필요한 각 홈네트워크기기(700)에 업데이트 제어 신호 및 데이터를 전송하여 기기 업데이트가 이루어지도록 한다.The update management unit 120 may manage a plurality of home network devices 700 to confirm whether the smart device 100 updates the web application 710 installed in the home network device 700 when remotely controlling the home network device 700. [ The home network device 700 is provided with an IP table stored therein. Also, when the update is required, the device is connected to the smart device 100 only through the network, and the update control signal and data are transmitted to each home network device 700 that requires updating, so that the device update is performed.

원격제어부(130)는 웹어플리케이션(110)을 통하여 홈네트워크기기(700)를 원격제어하거나 월패드(910), 경비폰(920), 로비폰(930)로 홈네트워크기기(700)와 통화 기능을 수행하도록 마련될 수 있다.
The remote control unit 130 remotely controls the home network appliance 700 through the web application 110 or the home network appliance 700 and the communication function with the wall pad 910, the security phone 920, the lobby phone 930, As shown in FIG.

도 4는 도 2의 홈네트워크기기의 세부적인 구성을 나타낸 블록도이다.4 is a block diagram illustrating a detailed configuration of the home network device of FIG.

본 발명의 홈네트워크기기(700)는 세부적으로 웹어플리케이션(710), 연동기기제어부(720), IP테이블관리부(730)를 더 포함한다.The home network device 700 of the present invention further includes a web application 710, an interworking device control unit 720, and an IP table management unit 730 in detail.

홈네트워크기기(700)에 설치된 웹어플리케이션(710)은 홈게이트웨이(800)와 무선라우터(500)를 통하여 연결되는 스마트기기(100)와 통화 기능을 수행할 수 있다. 또한, 연결된 스마트기기(100)로부터 웹어플리케이션(110, 710) 연동을 위하여 필요한 업데이트 요청시, API서버(600)로부터 동기화하여 업데이트를 수행할 수 있다.The web application 710 installed in the home network device 700 can perform a communication function with the smart device 100 connected to the home gateway 800 through the wireless router 500. [ In addition, when an update request for interworking of the web applications 110 and 710 from the connected smart device 100 is requested, the update can be performed synchronously from the API server 600.

나아가, 웹어플리케이션(710)은 프런트엔드페이지제공부(711), WebRTC 통신부(712), 서비스워커(713)를 포함한다. Further, the web application 710 includes a front end page providing unit 711, a WebRTC communication unit 712, and a service worker 713.

프런트엔드페이지제공부(711)는 홈네트워크기기(700)와 스마트기기(100)에 설치된 웹어플리케이션(710)의 화면을 연동시켜, 동일한 화면을 제공하는 기능을 수행한다.The front end page providing unit 711 performs the function of providing the same screen by linking the screen of the web application 710 installed in the smart device 100 with the home network device 700. [

WebRTC 통신부(712)는 웹어플리케이션(710)에서 실시간 데이터 통신을 위한 WebRTC 통신을 담당하며, P2P 연결을 지원하여 스마트기기(100)와 통화 기능 수행시 필요한 영상 데이터 전송에 적합하도록 기능한다.The WebRTC communication unit 712 is responsible for WebRTC communication for real-time data communication in the web application 710 and supports P2P connection so that it is suitable for transmission of video data necessary for performing communication with the smart device 100. [

서비스워커(713)는 홈네트워크기기(700)에 등록된 웹어플리케이션(710)이 백그라운드 기반의 프로세싱으로 동작하도록 구현되는 것으로서, 푸시 API부(714), 태스크 스케줄러(715), 동기화부(716)를 더 포함한다.The service worker 713 is implemented such that the web application 710 registered in the home network appliance 700 operates as background-based processing and includes a push API unit 714, a task scheduler 715, a synchronization unit 716, .

푸시 API부(714)는 스마트기기(100)로부터 통화 또는 원격제어 요청시, 대기모드 상태인 웹어플리케이션(110)을 동작시키기 위한 푸시알람을 푸시서버(400)로부터 제공받는다.The push API unit 714 receives a push alarm from the push server 400 to operate the web application 110 in the standby mode when the smart device 100 requests a call or a remote control.

태스크 스케줄러(715)는 홈네트워크기기(700)에서 실행된 웹어플리케이션(710)이 오프라인인 상태에서도 스케쥴링된 알람으로 스마트기기(100)와 통화 기능 수행이 가능하도록 지원한다.The task scheduler 715 supports the communication function with the smart device 100 in a scheduled alarm even when the web application 710 executed in the home network device 700 is offline.

동기화부(716)는 스마트기기(100)와 홈네트워크기기(700)에 설치된 웹어플리케이션(710)의 오프라인 상태에서의 업데이트된 데이터를 다음 온라인시에 동기화하도록 백그라운드 동기화 기능을 수행한다.The synchronization unit 716 performs a background synchronization function to synchronize the updated data in the off-line state of the web application 710 installed in the smart device 100 and the home network device 700 at the next online time.

연동기기제어부(720)는 월패드(910)로 다수의 홈네트워크기기(700)와 단지 내부망을 통하여 연결되어 홈게이트웨이(800)를 거치지 않고, 직접 통신에 의해, 다수의 홈네트워크기기(700)를 직접 제어할 수 있도록 구비된다. 예컨대, 월패드(910)로 동일 세대 내에 마련된 전등, 도어락, 룸콘과 같은 홈네트워크기기(700)의 상태를 변경하도록 단지 내부망을 통하여 직접 제어 기능을 수행할 수 있다.The interlocking device control unit 720 is connected to a plurality of home network devices 700 through the internal network by the wall pad 910 and is connected directly to the plurality of home network devices 700 through the home gateway 800, And the like. For example, a direct control function can be performed only through the internal network to change the state of the home network device 700 such as a lamp, a door lock, and a room control provided in the same household as the month pad 910.

IP테이블 관리부는 홈네트워크기기(700)의 업데이트 체크를 위하여 각 홈네트워크기기(700)마다 할당된 IP 주소에 대한 목록인 IP테이블을 저장하고, 스마트기기(100)로부터 요청시 기저장된 IP테이블을 제공할 수 있다.
The IP table management unit stores an IP table, which is a list of IP addresses allocated to each home network device 700 for update check of the home network appliance 700, .

도 5는 본 발명의 바람직한 일 실시예에 따른 WebRTC와 서비스워커 기반의 홈네트워크 시스템에서의 홈네트워크기기와 스마트기기 간 통화 연결 과정에 대한 순서도이다.5 is a flowchart illustrating a call connection process between a home network device and a smart device in a home network system based on a WebRTC and a service worker according to a preferred embodiment of the present invention.

먼저, 홈게이트웨이(800)는 단지 내부망에 연결된 도어폰으로부터 스마트기기(100)와의 통화 요청 신호가 수신되면, 푸시 서버로 푸시 메시지(Push Message)를 전송한다(S10, S12).First, the home gateway 800 transmits a push message to the push server when a call request signal with the smart device 100 is received from a door phone connected to the internal network (S10, S12).

푸시 서버는 기등록된 스마트기기(100)의 웹어플리케이션(110)으로 대기모드 상태인 웹어플리케이션(110)을 동작시키기 위한 푸시메시지(wake Push Message)를 전송하여 웹어플리케이션(110)을 활성화시켜, 응답 대기 상태가 되도록 한다(S14).The push server activates the web application 110 by transmitting a wake push message for operating the web application 110 in the standby mode to the web application 110 of the pre-registered smart device 100, To be in a response waiting state (S14).

웹어플리케이션(110)이 실행된 스마트기기(100)는 시그널링서버(200)로 도어폰과 연결하기 위한 신호(Signal)를 보내는 한편, 홈게이트웨이(800)는 주기적으로 시그널링서버(200)로 시그널링하여, 스마트기기(100)와 P2P 연결을 요청할 수 있다(S16, S18).The smart device 100 executing the web application 110 sends a signal for connection with the door phone to the signaling server 200 while the home gateway 800 periodically signals the signaling server 200 , And can request a P2P connection with the smart device 100 (S16, S18).

시그널링서버(200)는 웹어플리케이션(110)이 실행된 스마트기기(100)와 홈게이트웨이(800)에 P2P 연결하기 위한 세션(Session)정보를 전송한다(S20, S22).The signaling server 200 transmits session information for P2P connection to the smart device 100 in which the web application 110 is executed and the home gateway 800 in steps S20 and S22.

세션정보를 받은 홈게이트웨이(800)와 스마트기기(100)는 P2P 통신 연결되고, 홈게이트웨이(800)는 시그널링서버(200)와 P2P 연결된 스마트기기(100)의 통화 신호를 중계하여, 홈네트워크기기(700)로 전송함으로써, 도어폰과 스마트기기(100) 간 영상 통화가 이루어진다(S24, S26).
The home gateway 800 receiving the session information is connected to the smart device 100 through the P2P communication and the home gateway 800 relays the call signals of the smart device 100 connected to the signaling server 200 and the P2P, (S24, S26), the door phone and the smart device 100 are connected to each other by a video call.

도 6은 본 발명의 WebRTC와 서비스워커 기반의 홈네트워크 시스템 제어 방법의 홈네트워크기기의 업데이트 과정에 대한 순서도이다.FIG. 6 is a flow chart of a process of updating a home network device of a WebRTC and a service worker-based home network system control method according to the present invention.

스마트기기(100)는 홈네트워크기기(700)에 업데이트가 필요시, 홈게이트웨이(800)를 통하여, 단지 내부망에 접속하여 다수의 기기 중 특정 하나의 홈네트워크기기(700)로부터 IP 테이블(IP Table)을 요청하여, 해당 홈네트워크기기(700)로부터 IP 테이블 응답으로 수신하며, 수신된 IP 테이블에 등록된 홈네트워크기기(700)에 업데이트 요청 신호를 전송한다(S30, S32, S34). 업데이트 요청 신호를 받은 홈네트워크기기(700)는 버전 체크후 업데이트를 수행할 수 있다.The smart device 100 accesses only the home network 700 through the home gateway 800 and transmits the IP table IP from the specific home network device 700 among the plurality of devices, Table, receives the IP table response from the home network appliance 700, and transmits an update request signal to the home network appliance 700 registered in the received IP table (S30, S32, S34). Upon receipt of the update request signal, the home network device 700 may perform updating after version checking.

이후 스마트기기(100)는 버전확인 요청 신호를 업데이트 요청한 홈네트워크기기(700)에 전송하여 버전확인을 통하여, 업데이트가 완료되었는지 여부를 판단한다(S36, S38).Thereafter, the smart device 100 transmits the version check request signal to the home network device 700 that has requested the update, and determines whether the update is completed through the version check (S36, S38).

100, 101, 102, 103 ; 스마트기기
110, 710 ; 웹어플리케이션
111, 711 ; 프런트엔드페이지제공부 112, 712 ; WebRTC 통신부
113, 713 ; 서비스워커 114, 714 ; 푸시 API부
115, 715 ; 태스크스케줄러 116, 716 ; 동기화부
120 ; 업데이트관리부 130 ; 원격제어부
200 ; 시그널링서버 300 ; 인터넷
400 ; 푸시서버 500 ; 무선라우터
600 ; API서버 700 ; 홈네트워크기기
800 ; 홈게이트웨이 910 ; 월패드
920 ; 경비폰 930 ; 로비폰
100, 101, 102, 103; Smart device
110, 710; Web application
111, 711; Front end page provider 112, 712; WebRTC communication
113, 713; Service walkers 114, 714; Push API section
115, 715; Task scheduler 116, 716; The synchronization unit
120; An update management unit 130; Remote control unit
200; A signaling server 300; Internet
400; Push server 500; Wireless router
600; API server 700; Home network appliance
800; Home gateway 910; Month pad
920; Security phone 930; Lobby phone

Claims (8)

무선라우터 및 홈게이트웨이를 통하여 스마트기기와 홈네트워크기기 상호간에 P2P 연결이 가능하도록 중계하는 시그널링 서버와 인터넷망을 통하여 연결되고, 단지 내부망에 속한 홈게이트웨이와 상기 시그널링 서버를 연결하며, 상기 스마트기기로부터 통화 요청 신호 또는 기기 원격제어 요청 신호를 수신하여 홈게이트웨이에 전송하거나 상기 홈네트워크기기의 통화 요청 신호를 수신하여 상기 스마트기기에 전송하는 무선라우터; 및
단지 내부망과 인터넷에 듀얼로 접속 가능하도록 마련되어, 단지 내부망을 통하여 연결된 상기 홈네트워크기기에 통화 요청신호 또는 원격제어 요청신호를 전송하거나 인터넷상의 스마트기기에 통화 요청신호를 전송하는 홈게이트웨이를 포함하되,
상기 홈네트워크기기와 상기 스마트기기 간 P2P 연결하기 위한 세션정보를 상기 시그널링 서버로부터 전송받아 상기 시그널링 서버의 제어에 따라 상기 홈네트워크기기와 상기 스마트기기 간 P2P 연결되는 것을 특징으로 하는 WebRTC와 서비스워커 기반의 홈네트워크 시스템.
A signaling server for relaying the P2P connection between the smart device and the home network device through a wireless router and a home gateway, and a home gateway connected to the home gateway belonging to the internal network and the signaling server, A home network device for receiving a call request signal or a device remote control request signal and transmitting the home network device's call request signal to the smart device; And
A home gateway which is provided so as to be capable of dual connection with the internal network and the Internet and transmits a call request signal or a remote control request signal to the home network device connected to the home network device through the internal network or transmits a call request signal to the smart device on the Internet However,
Wherein the home network device and the smart device are connected to each other in a P2P manner according to a control of the signaling server, the home network device receiving the session information for P2P connection between the home network device and the smart device from the signaling server, Of the home network system.
제1항에 있어서,
기기 내 설치된 웹어플리케이션을 통하여 단지내부망의 홈네트워크기기와 상기 시그널링 서버의 제어하에 P2P 연결되고, 연결된 홈네트워크기기와 통화 연결하거나 홈네트워크기기를 원격 제어하는 스마트기기;
상기 홈네트워크기기 또는 스마트기기로부터 통화 또는 기기 원격제어 요청을 받아 홈네트워크기기 또는 스마트기기에 설치된 웹어플리케이션으로 푸시알람을 제공하는 푸시서버; 및
단지 내부망에 다수가 마련되어, 기기 내 설치된 웹어플리케이션을 통하여 상기 시그널링 서버의 제어에 따라 상기 홈게이트웨이를 통하여 인터넷상의 스마트기기와 통화 기능을 수행하거나 상기 스마트기기의 원격 제어 요청을 받아 원격제어 받는 홈네트워크기기를 더 포함하는 WebRTC와 서비스워커 기반의 홈네트워크 시스템.
The method according to claim 1,
A smart device connected to the home network device of the internal network only through a web application installed in the device and under the control of the signaling server, for making a call connection with the connected home network device or remotely controlling the home network device;
A push server for receiving a call or device remote control request from the home network device or the smart device and providing a push alarm to a web application installed in the home network device or the smart device; And
A plurality of devices are provided in the internal network, and the device performs a call function with a smart device on the Internet through the home gateway according to the control of the signaling server through a web application installed in the device, or receives a remote control request WebRTC and a service worker based home network system that further include network devices.
제2항에 있어서,
업데이트가 필요한 상기 홈네트워크기기 또는 스마트기기의 웹어플리케이션을 동기화하여 웹어플리케이션의 업데이트를 수행하는 API서버를 더 포함하는 WebRTC와 서비스워커 기반의 홈네트워크 시스템.
3. The method of claim 2,
And an API server that synchronizes the web application of the home network device or the smart device requiring updating to perform an update of the web application.
제2항에 있어서, 상기 스마트기기는
상기 웹어플리케이션에서 실시간 데이터 통신을 위한 WebRTC 통신을 하며, P2P 연결을 지원하여 상기 홈네트워크기기와의 영상 또는 음성 통화와, 원격 제어시 필요한 데이터를 실시간 전송하는 WebRTC 통신부;
상기 홈네트워크기기로부터 통화 요청시, 상기 푸시서버로부터 푸시메시지를 전송받아 대기모드 상태인 상기 스마트기기의 웹어플리케이션을 동작시키는 푸시 API부;
상기 스마트기기에서 실행된 웹어플리케이션 상에 웹페이지가 로딩되지 않은 오프라인 상태에서도 기저장된 스케줄링된 알람을 이용하여 상기 홈네트워크 기기와 영상통화 및 원격 제어하는 태스크스케줄러;
상기 스마트기기와 홈네트워크기기에 설치된 웹어플리케이션의 오프라인 상태에서의 업데이트된 데이터를 다음 온라인시에 동기화하도록 백그라운드 동기화 기능을 수행하는 동기화부;
상기 홈네트워크기기 원격 제어시, 상기 홈네트워크기기에 설치된 웹어플리케이션의 업데이트 여부 확인을 위하여, 다수의 홈네트워크기기 중 특정 하나의 홈네트워크기기로부터 저장된 IP 테이블을 제공받고, IP 테이블의 각 홈네트워크기기의 IP주소로 기기 업데이트 버전을 확인한 후, 업데이트가 필요한 각 홈네트워크기기에 업데이트 제어 신호 및 데이터를 전송하여 기기 업데이트가 이루어지도록 하는 업데이트관리부; 및
상기 웹어플리케이션을 통하여 상기 홈네트워크기기를 원격 제어하거나 통화 연결 기능을 수행하는 원격제어부를 더 포함하는 WebRTC와 서비스워커 기반의 홈네트워크 시스템.
3. The system of claim 2, wherein the smart device
A WebRTC communication unit that performs WebRTC communication for real-time data communication in the web application, supports a P2P connection to transmit video or voice call with the home network device, and data necessary for remote control in real time;
A push API unit operable to receive a push message from the push server and to operate a web application of the smart device in a standby mode state when a call is requested from the home network device;
A task scheduler for performing video call and remote control with the home network device using pre-stored scheduled alarms even in an off-line state where a web page is not loaded on a web application executed in the smart device;
A synchronization unit configured to perform a background synchronization function to synchronize updated data in an off-line state of a web application installed in the smart device and a home network device at the next online time;
In order to check whether the web application installed in the home network appliance is updated at the time of remote control of the home network appliance, an IP table stored from a specific one of the plurality of home network appliances is received, An update management unit for checking the device update version with the IP address of the home network device and transmitting an update control signal and data to each home network device that needs updating, And
And a remote control unit for remotely controlling the home network device or performing a call connection function through the web application.
제2항에 있어서, 상기 홈네트워크기기는
상기 웹어플리케이션에서 실시간 데이터 통신을 위한 WebRTC 통신을 하며, P2P 연결을 지원하여 상기 홈네트워크기기와의 영상 또는 음성 통화를 실시간 전송함과 아울러, 원격 제어시 필요한 데이터를 실시간 전송하는 WebRTC 통신부;
상기 스마트기기로부터 통화 또는 원격제어 요청시, 대기모드 상태인 상기 웹어플리케이션을 동작시키기 위한 푸시알람을 상기 푸시서버로부터 제공받는 푸시 API부;
상기 홈네트워크기기에 실행된 웹어플리케이션이 인터넷에 접속되지 않는 오프라인 상태에서 스케쥴링된 알람으로 상기 스마트기기와 통화 기능을 수행하는 태스크 스케줄러;
상기 스마트기기와 홈네트워크기기에 설치된 웹어플리케이션의 오프라인 상태에서의 업데이트된 데이터를 다음 온라인시에 동기화하도록 백그라운드 동기화 기능을 수행하는 동기화부;
상기 홈네트워크기기로 상기 홈게이트웨이와 연결하지 않고, 단지 내부망을 통하여 직접 통신에 의해 연결된 다수의 홈네트워크기기를 직접 제어하는 연동기기제어부; 및
상기 홈네트워크기기의 업데이트 체크를 위하여 각 홈네트워크기기마다 할당된 IP 주소에 대한 목록인 IP테이블을 저장하고, 상기 스마트기기로부터 요청시 기저장된 IP테이블을 제공하는 IP테이블관리부를 더 포함하는 WebRTC와 서비스워커 기반의 홈네트워크 시스템.
The home network system according to claim 2,
A WebRTC communication unit that performs WebRTC communication for real-time data communication in the web application, transmits a video or voice call with the home network device in real time by supporting a P2P connection, and transmits data required for remote control in real time;
A push API unit for receiving a push alarm for operating the web application in a standby mode from the push server when a call or a remote control is requested from the smart device;
A task scheduler that performs a call function with the smart device in a scheduled alarm in an off-line state in which the web application executed in the home network device is not connected to the Internet;
A synchronization unit configured to perform a background synchronization function to synchronize updated data in an off-line state of a web application installed in the smart device and a home network device at the next online time;
An interworking device control unit for directly controlling a plurality of home network devices connected to the home network device through direct communication through an internal network without being connected to the home gateway; And
Further comprising an IP table management unit for storing an IP table that is a list of IP addresses allocated to each home network device for update check of the home network device and providing a stored IP table upon request from the smart device, Service walker based home network system.
단지 내부망의 홈네트워크기기와 P2P 연결을 중계하기 위한 시그널링서버와 연결되는 스마트기기와, 상기 스마트기기를 상기 시그널링서버의 제어에 따라 상기 홈네트워크기기에 접속시켜주는 홈게이트웨이를 구비한 홈네트워크 시스템 제공 방법에 있어서,
(A) 상기 홈게이트웨이는 단지 내부망에 연결된 상기 홈네트워크기기로부터 상기 스마트기기와의 통화 요청 신호가 수신되면, 푸시 서버로 푸시 메시지(Push Message)를 전송하는 단계;
(B) 인터넷을 통하여 상기 스마트기기에 접속되는 푸시서버는 기등록된 상기 스마트기기의 웹어플리케이션으로 푸시메시지(wake Push Message)를 전송하여 상기 웹 어플리케이션을 활성화하여 응답 대기시키는 단계;
(C) 상기 시그널링서버는 웹어플리케이션이 실행(Wake up)된 스마트기기로부터 상기 홈네트워크기기와 연결하기 위한 신호를 전송받고, 상기 홈게이트웨이로부터 주기적인 시그널링을 전송받으면, 통화 요청된 홈네트워크기기와 상기 홈게이트웨이를 P2P 연결하는 단계; 및
(D) 상기 홈게이트웨이는 상기 시그널링서버와 P2P 연결된 상기 스마트기기의 통화 신호를 중계하여 상기 홈네트워크기기로 통화 신호를 전송함으로써, 상기 홈네트워크기기와 스마트기기 간 통화가 이루어지는 단계를 포함하되,
상기 (C) 단계는
상기 시그널링서버는 웹어플리케이션이 실행된 상기 스마트기기와 홈게이트웨이에 P2P 연결하기 위한 세션정보를 전송하는 단계; 및
상기 세션정보를 받은 홈게이트웨이와 스마트기기는 상기 시그널링서버의 제어에 따라 P2P 통신 연결되는 단계를 더 포함하는 WebRTC와 서비스워커 기반의 홈네트워크 시스템 제공 방법.
A smart device connected to a signaling server for relaying a P2P connection with a home network device of an internal network; a home network system having a home gateway for connecting the smart device to the home network device under the control of the signaling server; In the providing method,
(A) when the home gateway receives a call request signal from the home network device connected to the internal network only, transmitting a push message to the push server;
(B) a push server connected to the smart device via the Internet transmits a wake push message to the web application of the smart device registered in advance, activating the web application and waiting for a response;
(C) When the signaling server receives a signal for connection with the home network device from a smart device that is woken up by the web application and receives periodic signaling from the home gateway, P2P connection of the home gateway; And
(D) the home gateway relaying a call signal of the smart device connected to the signaling server in a P2P manner and transmitting a call signal to the home network device, thereby making a call between the home network device and the smart device,
The step (C)
The signaling server transmitting session information for P2P connection to the smart device and the home gateway in which the web application is executed; And
Wherein the home gateway and the smart device receiving the session information further comprise a P2P communication connection according to the control of the signaling server.
제6항에 있어서,
(E) 상기 스마트기기는 상기 홈네트워크기기의 업데이트 필요시, 상기 홈게이트웨이를 통하여 단지 내부망에 접속하여 업데이트가 필요한 해당 홈네트워크기기에 업데이트 요청 신호를 전송하는 단계;
(F) 업데이트 요청 신호를 전송받은 상기 홈네트워크기기는 API서버에 접속하여 업데이트 버전 체크 후 업데이트를 수행하는 단계;
(G) 이후 상기 스마트기기는 버전 확인 요청 신호를 상기 홈네트워크기기에 전송하고, 버전 확인을 통하여 업데이트가 완료되었는지 여부를 판단하는 단계; 및
(H) 상기 스마트기기는 업데이트가 완료된 상기 홈네트워크기기와 웹어플리케이션으로 연결되어 원격제어 또는 통화 기능을 수행하는 단계를 더 포함하는 WebRTC와 서비스워커 기반의 홈네트워크 시스템 제공 방법.
The method according to claim 6,
(E) when the update of the home network device is required, the smart device accesses only the internal network through the home gateway and transmits an update request signal to the home network device that requires updating;
(F) receiving the update request signal, the home network device accesses an API server to perform update after checking for an update version;
(G), the smart device transmits a version check request signal to the home network device, and determines whether the update is completed through version checking; And
(H) The method for providing a home network system based on a WebRTC and a service worker, wherein the smart device is connected to the home network device, which has been updated, with a web application to perform a remote control or a call function.
제7항에 있어서, 상기 (E) 단계는
상기 스마트기기는 다수의 홈네트워크기기 중 특정 하나의 홈네트워크기기로부터 IP 테이블을 수신받는 단계; 및
상기 스마트기기는 수신받은 IP 테이블에 포함된 각 홈네트워크기기별로 할당된 IP주소로 각 홈네트워크기기에 연결하여, 기기의 업데이트 버전을 확인하는 단계를 더 포함하는 WebRTC와 서비스워커 기반의 홈네트워크 시스템 제공 방법.
8. The method of claim 7, wherein step (E)
The smart device receiving an IP table from a specific home network device among a plurality of home network devices; And
Wherein the smart device is connected to each home network device with an IP address assigned to each home network device included in the received IP table to confirm an updated version of the device and a service router based home network system Delivery method.
KR1020140194175A 2014-12-30 2014-12-30 HOME NETWORK SYSTEM AND METHOD BASED ON WebRTC AND SERVICE WORKER KR101629169B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020140194175A KR101629169B1 (en) 2014-12-30 2014-12-30 HOME NETWORK SYSTEM AND METHOD BASED ON WebRTC AND SERVICE WORKER
PCT/KR2015/014101 WO2016108494A1 (en) 2014-12-30 2015-12-22 Webrtc and service worker-based home network system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140194175A KR101629169B1 (en) 2014-12-30 2014-12-30 HOME NETWORK SYSTEM AND METHOD BASED ON WebRTC AND SERVICE WORKER

Publications (1)

Publication Number Publication Date
KR101629169B1 true KR101629169B1 (en) 2016-06-13

Family

ID=56191369

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140194175A KR101629169B1 (en) 2014-12-30 2014-12-30 HOME NETWORK SYSTEM AND METHOD BASED ON WebRTC AND SERVICE WORKER

Country Status (2)

Country Link
KR (1) KR101629169B1 (en)
WO (1) WO2016108494A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107682657B (en) * 2017-09-13 2020-11-10 中山市华南理工大学现代产业技术研究院 WebRTC-based multi-user voice video call method and system
CN112039822B (en) * 2019-06-03 2022-08-02 本无链科技(深圳)有限公司 Method and system for constructing real-time block chain network based on WebRTC
CN115412389B (en) * 2022-08-29 2023-12-05 深圳市酷开网络科技股份有限公司 Message recommendation method and device, electronic equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060088743A (en) 2005-02-02 2006-08-07 엘지전자 주식회사 Home network system
KR100717940B1 (en) * 2005-12-22 2007-05-11 주식회사 팬택 Method for controlling home network system through mobile communication network, and home network controlling system implementing the same
KR100836615B1 (en) * 2006-08-30 2008-06-10 엔에이치엔(주) Method and apparatus for synchronizing contents

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040038265A (en) * 2002-10-31 2004-05-08 주식회사 현대시스콤 Method for remote monitoring using BSM in CDMA system
US9882743B2 (en) * 2012-12-14 2018-01-30 Samsung Electronics Co., Ltd. Cloud based power management of local network devices
KR101380608B1 (en) * 2013-07-26 2014-04-10 (주) 코콤 Smart device based home network system and its control method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060088743A (en) 2005-02-02 2006-08-07 엘지전자 주식회사 Home network system
KR100717940B1 (en) * 2005-12-22 2007-05-11 주식회사 팬택 Method for controlling home network system through mobile communication network, and home network controlling system implementing the same
KR100836615B1 (en) * 2006-08-30 2008-06-10 엔에이치엔(주) Method and apparatus for synchronizing contents

Also Published As

Publication number Publication date
WO2016108494A1 (en) 2016-07-07

Similar Documents

Publication Publication Date Title
US20230291608A1 (en) Systems and methods for device communication
US9602300B2 (en) Smart device-based home network system and control method therefor
KR100830940B1 (en) Remote control system for home network using universal plug and play
CN110912789A (en) Intelligent household Internet of things communication method based on Alicloud IoT Hub platform
CN108683574A (en) A kind of apparatus control method, server and intelligent domestic system
JP2006237815A (en) Method and system for switching communication session
KR101458368B1 (en) Session establishment method using relay server active connection of mobile terminal
WO2017058001A1 (en) A type of smart home management method based on instant messasing (im)
KR101629169B1 (en) HOME NETWORK SYSTEM AND METHOD BASED ON WebRTC AND SERVICE WORKER
KR101048613B1 (en) Home network service provider
KR20050019647A (en) Home gateway apparatus providing integrated authentication function and integrated authentication method thereof
KR20100059344A (en) System and method for synchronizing the data between the mobile terminal and internet phone
US20030018703A1 (en) Smart appliance network system and communication protocol
TW201914321A (en) Message push system, client device and message push method thereof
CN104166382A (en) Mobile phone watcher based on communication proxy
KR20030070302A (en) Home appliance network system
CN101207632A (en) System and method for implementing intelligent home control under architecture of soft exchanging system
KR101390570B1 (en) Home gateway and home gateway system for managing standby power and romote power based on traffic information
JP6186066B1 (en) System and method for notifying event occurrence
TWI638270B (en) Highly scalable Internet of Things cloud service system
KR20160122583A (en) A method for IoT service based on relationship
CN108270756B (en) Method and system for communication between devices
KR101590562B1 (en) Location based self-organized messaging service system and method thereof
CN101005421A (en) Telnet control method for realizing multiple network system by single network port
JP2018026811A (en) System and method for notifying event occurrence

Legal Events

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

Payment date: 20190311

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20200309

Year of fee payment: 5