[go: up one dir, main page]

KR102216111B1 - Apparatus for providing home network service and method thereof - Google Patents

Apparatus for providing home network service and method thereof Download PDF

Info

Publication number
KR102216111B1
KR102216111B1 KR1020190089012A KR20190089012A KR102216111B1 KR 102216111 B1 KR102216111 B1 KR 102216111B1 KR 1020190089012 A KR1020190089012 A KR 1020190089012A KR 20190089012 A KR20190089012 A KR 20190089012A KR 102216111 B1 KR102216111 B1 KR 102216111B1
Authority
KR
South Korea
Prior art keywords
electronic device
server
proxy
information
terminal
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
KR1020190089012A
Other languages
Korean (ko)
Other versions
KR20190089811A (en
Inventor
이은서
박준희
김현
Original Assignee
한국전자통신연구원
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 한국전자통신연구원 filed Critical 한국전자통신연구원
Publication of KR20190089811A publication Critical patent/KR20190089811A/en
Priority to KR1020210017735A priority Critical patent/KR102258608B1/en
Application granted granted Critical
Publication of KR102216111B1 publication Critical patent/KR102216111B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • 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/283Processing of data at an internetworking point of a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

본 발명은 홈 네트워크 서비스를 제공하기 위한 장치 및 그 방법에 관한 것으로, 서버에 사용자 계정을 생성하는 과정과; 전자 장치로부터 제1 초기 설정 정보를 수신하는 과정과; 전자 장치에 제2 초기 설정 정보를 전송하는 과정과; 상기 서버로부터 상기 전자 장치의 등록에 관한 메시지를 수신하는 과정을 포함하는 방법에 관한 것이다.The present invention relates to an apparatus and method for providing a home network service, comprising: creating a user account in a server; Receiving first initial setting information from an electronic device; Transmitting second initial setting information to the electronic device; It relates to a method including the process of receiving a message regarding registration of the electronic device from the server.

Description

홈 네트워크 서비스를 제공하기 위한 장치 및 그 방법{APPARATUS FOR PROVIDING HOME NETWORK SERVICE AND METHOD THEREOF}Apparatus and method for providing home network service {APPARATUS FOR PROVIDING HOME NETWORK SERVICE AND METHOD THEREOF}

본 발명은 홈 네트워크 서비스를 제공하기 위한 장치 및 그 방법에 관한 것으로, 웹 인터페이스를 갖는 장치들이 인터넷에 연결되어 다양한 서비스를 사용자에게 제공할 수 있는 홈 네트워크 서비스를 제공하기 위한 장치 및 그 방법에 관한 것이다.The present invention relates to an apparatus and method for providing a home network service, and to an apparatus and method for providing a home network service capable of providing various services to users by connecting devices having a web interface to the Internet. will be.

최근 Wi-Fi 기술이 많이 이용됨에 따라 냉장고, 세탁기, 밥솥 등 홈 전자장치가 Wi-Fi 인터페이스를 통해 인터넷에 연결되어 사용자에게 다양한 서비스를 제공해 줄 것으로 기대하고 있다. 이러한 서비스를 제공하기 위한 최적의 솔루션으로 고려되는 것이 HTTP(hypertext transfer protocol) 웹 프로토콜인데, 이는 TCP(transmission control protocol)를 기반으로 하고 있기 때문에 일반적인 MCU(micro controller unit) 수준의 하드웨어에서 운용하기에는 무리가 있다. 이점을 해결하기 위해 IETF CORE(Constrained RESTful Environments) 워킹그룹에서는 경량화된 웹 기반 프로토콜인 CoAP(constrained application protocol)을 표준화하였다. 그러나, CoAP 프로토콜은 UDP(user datagram protocol)를 기반으로 하기 때문에 인터넷 환경에서의 메시지 전달 신뢰성의 문제가 있으며, 이를 위해 IETF CORE에서는 로컬망에서는 CoAP, 인터넷망에서는 HTTP를 활용하는 모델을 제시하고 있다.As Wi-Fi technology is widely used in recent years, home electronic devices such as refrigerators, washing machines, and rice cookers are expected to be connected to the Internet through a Wi-Fi interface to provide various services to users. HTTP (hypertext transfer protocol) web protocol is considered as the optimal solution for providing such a service. Since it is based on TCP (transmission control protocol), it is difficult to operate in general micro controller unit (MCU) level hardware. There is. To solve this problem, the IETF CORE (Constrained RESTful Environments) working group standardized the lightweight web-based protocol CoAP (constrained application protocol). However, since the CoAP protocol is based on UDP (user datagram protocol), there is a problem of message delivery reliability in the Internet environment. To this end, IETF CORE proposes a model using CoAP in the local network and HTTP in the Internet network. .

한편, 다양한 홈 전자장치를 인터넷에 연결시켜 네트워크 서비스를 사용자에게 제공하기 위한 노력을 하고 있지만, 인터넷이나 전자장치에 익숙하지 않은 사용자에게 전자 장치를 인터넷에 연결하고 등록하는 등의 초기 설정은 쉽지 않다. 이를 위해 다양한 장치 제어 및 관리를 위한 미들웨어 프로토콜 기술이 개발되고 있지만, 네트워크 환경의 복잡성, 구현의 복잡성 등으로 인해 활용이 제한적이라는 문제가 있다.Meanwhile, efforts are being made to provide network services to users by connecting various home electronic devices to the Internet, but initial setup such as connecting and registering electronic devices to the Internet to users who are not familiar with the Internet or electronic devices is not easy. . To this end, middleware protocol technology for controlling and managing various devices is being developed, but there is a problem that its use is limited due to the complexity of the network environment and the complexity of implementation.

본 발명은 홈 전자 장치를 이용하여 홈 네트워크 서비스를 제공하기 위한 장치 및 그 방법에 관한 것이다.The present invention relates to an apparatus and method for providing a home network service using a home electronic device.

또한, 본 발명은 Restful 웹 서비스를 기반으로 홈 네트워크 서비스를 제공하기 위한 장치 및 그 방법에 관한 것이다.In addition, the present invention relates to an apparatus and method for providing a home network service based on a Restful web service.

또한, 본 발명은 Restful 웹 서비스를 기반으로 홈 전자장치의 설정을 용이하게 수행할 수 있는 홈 네트워크 서비스를 제공하기 위한 장치 및 그 방법에 관한 것이다.In addition, the present invention relates to an apparatus and method for providing a home network service capable of easily setting a home electronic device based on a Restful web service.

상기한 바와 같은 본 발명의 목적을 달성하고, 후술하는 본 발명의 특징적인 효과를 실현하기 위한, 본 발명의 특징적인 구성은 하기와 같다.In order to achieve the object of the present invention as described above, and to realize the characteristic effects of the present invention described later, the characteristic configuration of the present invention is as follows.

일실시예에 따른, 홈 네트워크 서비스를 제공하기 위한 방법에 있어서,서버에 사용자 계정을 생성하는 과정과; 전자 장치로부터 제1 초기 설정 정보를 수신하는 과정과; 상기 전자 장치에 제2 초기 설정 정보를 전송하는 과정과; 상기 서버로부터 상기 전자 장치의 등록에 관한 메시지를 수신하는 과정을 포함할 수 있다.A method for providing a home network service according to an embodiment, comprising: creating a user account in a server; Receiving first initial setting information from an electronic device; Transmitting second initial setting information to the electronic device; It may include a process of receiving a message regarding registration of the electronic device from the server.

다른 실시예에 따른, 홈 네트워크 서비스를 제공하기 위한 방법에 있어서,상기 서버로부터 신규 사용자 추가 요청을 수신하는 과정과; 상기 서버에 상기 신규 사용자 추가 승인을 전송하는 과정과; 상기 서버로부터 상기 신규 사용자의 전자 장치의 제어 및 관리를 위한 사용자 추가 요청을 수신하는 과정과; 상기 서버에 사용자 추가 승인을 전송하는 과정을 더 포함할 수 있다.According to another embodiment, a method for providing a home network service, comprising: receiving a request for adding a new user from the server; Transmitting the new user addition approval to the server; Receiving a user addition request for control and management of the electronic device of the new user from the server; It may further include the process of transmitting the user additional approval to the server.

다른 실시예에 따른, 홈 네트워크 서비스를 제공하기 위한 방법에 있어서,상기 서버에 상기 전자 장치를 사용하는 사용자 목록을 요청하는 과정과;상기 서버로부터 상기 사용자 목록을 수신하는 과정과;상기 서버에 상기 전자 장치를 사용하는 사용자 중 소정의 사용자의 인증 해제를 요청하는 과정을 더 포함할 수 있다.A method for providing a home network service according to another embodiment, comprising: requesting a list of users using the electronic device from the server; receiving the list of users from the server; and the process of receiving the list of users from the server; The method may further include a process of requesting deauthorization of a predetermined user among users who use the electronic device.

일실시예에 따른, 홈 네트워크 서비스를 제공하기 위한 방법에 있어서,단말에 제1 초기 설정 정보를 전송하는 과정과; 상기 단말로부터 제2 초기 설정 정보를 수신하는 과정과; 프록시에 등록을 위한 정보를 전송하는 과정과; 상기 프록시로부터 등록 상태 업데이트 메시지를 수신하는 과정을 포함할 수 있다.According to an embodiment, a method for providing a home network service, comprising: transmitting first initial configuration information to a terminal; Receiving second initial configuration information from the terminal; Transmitting information for registration to the proxy; It may include a process of receiving a registration status update message from the proxy.

다른 실시예에 따른, 홈 네트워크 서비스를 제공하기 위한 방법에 있어서, 상기 등록을 위한 정보는 서버에 생성된 사용자 계정에서 이용하는 ID 및 비밀번호, 단말 정보 및 전자 장치의 고유 코드 중 적어도 하나인 것을 특징으로 포함할 수 있다.In a method for providing a home network service according to another embodiment, the registration information is at least one of an ID and password used in a user account created in a server, terminal information, and a unique code of an electronic device. Can include.

다른 실시예에 따른, 홈 네트워크 서비스를 제공하기 위한 방법에 있어서, 상기 제1 초기 설정 정보는 상기 전자 장치의 고유 코드인 것을 특징으로 포함할 수 있다.In a method for providing a home network service according to another embodiment, the first initial configuration information may include a unique code of the electronic device.

다른 실시예에 따른, 홈 네트워크 서비스를 제공하기 위한 방법에 있어서, 상기 제2 초기 설정 정보는 상기 프록시의 SSID 및 비밀번호, 상기 사용자 계정에서 이용하는 ID 및 비밀번호 중 적어도 하나인 것을 특징으로 하는 포함할 수 있다.In a method for providing a home network service according to another embodiment, the second initial setting information may include at least one of an SSID and password of the proxy, an ID and password used in the user account. have.

일실시예에 따른, 홈 네트워크 서비스를 제공하기 위한 방법에 있어서, 전자 장치로부터 상기 전자 장치의 등록을 위한 정보를 수신하는 과정과; 상기 전자 장치를 등록하는 과정과; 서버에게 상기 전자 장치의 등록을 위한 정보를 전송하는 과정과; 상기 서버로부터 상기 전자 장치의 등록 완료 메시지를 수신하는 과정과; 상기 전자 장치에게 등록 상태 업데이트 메시지를 전송하는 과정을 포함할 수 있다.A method for providing a home network service according to an embodiment, the method comprising: receiving information for registration of the electronic device from an electronic device; Registering the electronic device; Transmitting information for registration of the electronic device to a server; Receiving a registration completion message of the electronic device from the server; It may include a process of transmitting a registration status update message to the electronic device.

다른 실시예에 따른, 홈 네트워크 서비스를 제공하기 위한 방법에 있어서,상기 서버로부터 사용자 인증을 위한 정보를 수신하여 인증하는 과정을 더 포함할 수 있다.According to another embodiment, a method for providing a home network service may further include a process of receiving and authenticating user authentication information from the server.

다른 실시예에 따른, 홈 네트워크 서비스를 제공하기 위한 방법에 있어서,상기 서버로부터 사용자 인증 해제 요청 메시지를 수신하는 과정과; 사용자 인증을 해제하는 과정을 더 포함할 수 있다.According to another embodiment, a method for providing a home network service, comprising: receiving a user authentication release request message from the server; The process of releasing user authentication may be further included.

일실시예에 따른, 홈 네트워크 서비스를 제공하기 위한 방법에 있어서, 사용자 계정을 생성하는 과정과; 프록시로부터 전자 장치의 등록을 위한 정보를 수신하는 과정과; 상기 전자 장치를 등록하는 과정과; 단말에 상기 전자 장치의 등록에 관한 메시지를 전송하는 과정과; 상기 프록시에 상기 전자 장치의 등록 완료 메시지를 전송하는 과정을 포함할 수 있다.A method for providing a home network service according to an embodiment, the method comprising: creating a user account; Receiving information for registration of an electronic device from a proxy; Registering the electronic device; Transmitting a message regarding registration of the electronic device to a terminal; A process of transmitting a registration completion message of the electronic device to the proxy.

다른 실시예에 따른, 홈 네트워크 서비스를 제공하기 위한 방법에 있어서, 상기 단말에 신규 사용자 추가 요청 메시지를 전송하는 과정과; 신규 단말에 상기 단말이 관리하는 전자 장치 목록을 전송하는 과정과; 상기 신규 단말로부터 상기 신규 사용자가 선택한 전자 장치에 관한 정보를 수신하는 과정과; 상기 단말에 상기 신규 사용자의 전자 장치의 제어 및 관리를 위한 사용자 추가를 요청하는 과정과; 상기 신규 단말에 상기 신규 사용자가 선택한 전자 장치의 고유 코드를 전송하는 과정과; 상기 신규 단말로부터 상기 신규 사용자 인증을 위한 정보를 수신하는 과정과; 상기 프록시에 상기 신규 사용자 인증을 위한 정보를 전송하는 과정을 포함할 수 있다.According to another embodiment, a method for providing a home network service, comprising: transmitting a request message for adding a new user to the terminal; Transmitting a list of electronic devices managed by the terminal to a new terminal; Receiving information on the electronic device selected by the new user from the new terminal; Requesting the terminal to add a user for controlling and managing the electronic device of the new user; Transmitting the unique code of the electronic device selected by the new user to the new terminal; Receiving information for authentication of the new user from the new terminal; It may include the process of transmitting the information for the new user authentication to the proxy.

다른 실시예에 따른, 홈 네트워크 서비스를 제공하기 위한 방법에 있어서, 상기 신규 단말로부터 사용자 인증 해제 요청 메시지를 수신하는 과정과; 상기 프록시에 사용자 인증 해제 요청 메시지를 전송하는 과정을 더 포함할 수 있다.According to another embodiment, a method for providing a home network service, comprising: receiving a user authentication release request message from the new terminal; It may further include a process of transmitting a user authentication release request message to the proxy.

다른 실시예에 따른, 홈 네트워크 서비스를 제공하기 위한 방법에 있어서, 상기 단말로부터 상기 전자 장치를 사용하는 사용자 목록의 요청을 수신하는 과정과; 상기 단말에게 상기 사용자 목록을 전송하는 과정과;상기 단말로부터 상기 전자 장치를 사용하는 사용자 중 소정의 사용자의 인증 해제 요청을 수신하는 과정과;상기 프록시에게 상기 소정의 사용자의 인증 해제 요청을 전송하는 과정을 더 포함할 수 있다.According to another embodiment, a method for providing a home network service, comprising: receiving a request for a list of users using the electronic device from the terminal; Transmitting the user list to the terminal; Receiving a request for deauthentication of a predetermined user among users using the electronic device from the terminal; Transmitting a request for deauthentication of the predetermined user to the proxy The process may be further included.

다른 실시예에 따른, 홈 네트워크 서비스를 제공하기 위한 방법에 있어서, 상기 사용자 인증을 위한 정보는 상기 전자 장치의 고유 코드, 사용자 ID 및 비밀번호 중 적어도 하나인 것을 특징으로 포함할 수 있다.In a method for providing a home network service according to another embodiment, the information for user authentication may include at least one of a unique code, a user ID, and a password of the electronic device.

일실시예에 따른, 홈 네트워크 서비스를 제공하기 위한 방법에 있어서,서버에 사용자 계정을 생성하는 과정과; 상기 서버에 최초 사용자 정보를 전송하는 과정과;상기 서버로부터 상기 최초 사용자가 관리하는 전자 장치 목록을 수신하는 과정과; 상기 서버에 상기 전자 장치 목록 중에서 선택된 전자 장치에 관한 정보를 전송하는 과정과;상기 서버로부터 상기 선택된 전자 장치의 고유 코드를 수신하는 과정을 포함할 수 있다.A method for providing a home network service according to an embodiment, comprising: creating a user account in a server; Transmitting first user information to the server; receiving a list of electronic devices managed by the first user from the server; Transmitting information on an electronic device selected from the list of electronic devices to the server; and receiving a unique code of the selected electronic device from the server.

다른 실시예에 따른, 홈 네트워크 서비스를 제공하기 위한 방법에 있어서, 인증 해제를 원하는 전자 장치를 선택하는 과정과;상기 서버에 인증 해제를 요청하는 과정을 더 포함할 수 있다.According to another embodiment, a method for providing a home network service may further include a process of selecting an electronic device for which authentication is to be released; and a process of requesting the server to release authentication.

다른 실시예에 따른, 홈 네트워크 서비스를 제공하기 위한 방법에 있어서,상기 서버에 사용자 인증을 위한 정보를 전송하는 과정을 더 포함할 수 있다.A method for providing a home network service according to another embodiment may further include transmitting information for user authentication to the server.

다른 실시예에 따른, 홈 네트워크 서비스를 제공하기 위한 방법에 있어서,상기 단말로부터 사용자 인증을 위한 정보를 수신하는 과정과; 상기 프록시에 상기 사용자 인증을 위한 정보를 전송하는 과정을 더 포함할 수 있다.According to another embodiment, a method for providing a home network service, comprising: receiving information for user authentication from the terminal; It may further include a process of transmitting the information for user authentication to the proxy.

본 발명은 홈 네트워크 서비스를 제공함에 있어 Restful 웹 서비스를 기반으로 홈 전자 장치의 설정을 용이하게 수행할 수 있다. 이로 인해 사용자에게 편리함을 제공할 수 있으며, 홈 전자 장치의 제조자들이 용이하게 기술 개발을 수행할 수 있다.In the present invention, in providing a home network service, it is possible to easily configure a home electronic device based on a Restful web service. Accordingly, convenience can be provided to the user, and manufacturers of home electronic devices can easily develop technology.

도 1은 본 발명의 일 실시예에 의한 홈 네트워크 시스템의 구성을 나타내는 도면.
도 2는 본 발명의 일 실시예에 의한 홈 네트워크 시스템에서 이용하는 메시지 타입을 설명하기 위한 도면.
도 3은 본 발명의 일 실시예에 의한 홈 네트워크 시스템의 초기 설정 방법을 설명하기 위한 흐름도.
도 4는 본 발명의 일 실시예에 의한 홈 네트워크 시스템에서 이용하는 광고(advertisement) 메시지를 설명하기 위한 흐름도.
도 5는 본 발명의 일 실시예에 의한 홈 네트워크 시스템에서 이용하는 발견(discovery) 메시지를 설명하기 위한 흐름도.
도 6은 본 발명의 일 실시예에 의한 홈 네트워크 시스템에서 이용하는 등록(registration) 메시지를 설명하기 위한 흐름도.
도 7은 본 발명의 일 실시예에 의한 홈 네트워크 시스템에서 이용하는 정보(information) 메시지를 설명하기 위한 흐름도.
도 8은 본 발명의 일 실시예에 의한 홈 네트워크 시스템에서 이용하는 이벤트 알림(event_notification) 메시지를 설명하기 위한 흐름도.
도 9는 본 발명의 일 실시예에 의한 홈 네트워크 시스템에서 이용하는 제어(control) 메시지를 설명하기 위한 흐름도.
도 10은 본 발명의 일 실시예에 의한 홈 네트워크 시스템에서 이용하는 적용(apply) 메시지를 설명하기 위한 흐름도.
도 11은 본 발명의 일 실시예에 의한 홈 네트워크 시스템에서 이용하는 인증(authentication) 메시지를 설명하기 위한 흐름도.
도 12는 본 발명의 일 실시예에 의한 홈 네트워크 시스템에서 사용자를 추가하는 방법을 설명하기 위한 흐름도.
도 13및 도 14는 본 발명의 일 실시예에 의한 홈 네트워크 시스템에서 사용자를 제거하는 방법을 설명하기 위한 흐름도.
도 15는 본 발명의 일 실시예에 의한 단말의 동작을 설명하기 위한 순서도.
도 16은 본 발명의 일 실시예에 의한 전자 장치의 동작을 설명하기 위한 순서도.
도 17은 본 발명의 일 실시예에 의한 프록시의 동작을 설명하기 위한 순서도.
도 18은 본 발명의 일 실시예에 의한 서버의 동작을 설명하기 위한 순서도.
도 19는 본 발명의 일 실시예에 의한 신규 단말의 동작을 설명하기 위한 순서도.
1 is a diagram showing the configuration of a home network system according to an embodiment of the present invention.
2 is a view for explaining a message type used in a home network system according to an embodiment of the present invention.
3 is a flowchart illustrating a method of initial setting a home network system according to an embodiment of the present invention.
4 is a flow chart for explaining an advertisement message used in a home network system according to an embodiment of the present invention.
5 is a flow chart illustrating a discovery message used in a home network system according to an embodiment of the present invention.
6 is a flowchart for explaining a registration message used in a home network system according to an embodiment of the present invention.
7 is a flowchart for explaining an information message used in a home network system according to an embodiment of the present invention.
8 is a flowchart illustrating an event notification (event_notification) message used in a home network system according to an embodiment of the present invention.
9 is a flowchart for explaining a control message used in a home network system according to an embodiment of the present invention.
10 is a flow chart for explaining an apply message used in a home network system according to an embodiment of the present invention.
11 is a flow chart for explaining an authentication message used in a home network system according to an embodiment of the present invention.
12 is a flowchart illustrating a method of adding a user in a home network system according to an embodiment of the present invention.
13 and 14 are flowcharts illustrating a method of removing a user from a home network system according to an embodiment of the present invention.
15 is a flow chart for explaining the operation of a terminal according to an embodiment of the present invention.
16 is a flowchart illustrating an operation of an electronic device according to an embodiment of the present invention.
17 is a flow chart for explaining the operation of a proxy according to an embodiment of the present invention.
18 is a flow chart for explaining the operation of the server according to an embodiment of the present invention.
19 is a flow chart for explaining the operation of a new terminal according to an embodiment of the present invention.

이하, 본 발명의 실시예를 도면과 함께 상세히 설명한다. 본 발명을 설명함에 있어서 관련된 공지 기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단된 경우 그 상세한 설명은 생략한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In describing the present invention, when it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, a detailed description thereof will be omitted.

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

도 1을 참조하면, 본 발명의 홈 네트워크 시스템은 WoT 가전(100), WoT 프록시(110), 클라우드 서버(120) 및 스마트 단말(130)을 포함한다.Referring to FIG. 1, the home network system of the present invention includes a WoT home appliance 100, a WoT proxy 110, a cloud server 120, and a smart terminal 130.

WoT(web of things) 가전(100)(이하, 전자 장치)은 웹 인터페이스를 갖고 홈에서 이용하는 전자 장치로서 냉장고, 세탁기, 밥솥 등이 해당될 수 있다. 전자 장치(100)는 웹컨넥티비티를 지원하기 위한 웹 소프트웨어(CoAP)(156)와 디바이스 제어 및 관리를 위한 미들웨어(Middleware)(153) 및 응용 프로그램(Device Application)(150)을 포함할 수 있다.A web of things (WoT) home appliance 100 (hereinafter, referred to as an electronic device) is an electronic device that has a web interface and is used at home, and may correspond to a refrigerator, a washing machine, a rice cooker, and the like. The electronic device 100 may include a web software (CoAP) 156 for supporting web connectivity, a middleware 153 for device control and management, and a device application 150. have.

미들웨어(153)는 서버/클라이언트 구조의 단방향 메시지 전달이라는 웹 소프트웨어(CoAP)(156)의 단점을 보완하기 위해 바이너리(Binary)라는 경량화 프로토콜을 포함할 수 있다. 미들웨어(153)와 웹 소프트웨어(CoAP)(156)는 무선랜 규격인 802.11과 IP를 기반으로 데이터를 전송하는 UDP 스택을 포함하는 임베디드 OS(RTOS)(159) 상위에 위치할 수 있다.The middleware 153 may include a lightweight protocol called binary in order to compensate for the disadvantage of the web software (CoAP) 156 of one-way message delivery of a server/client structure. The middleware 153 and web software (CoAP) 156 may be located above the embedded OS (RTOS) 159 including a UDP stack that transmits data based on 802.11 and IP, which are wireless LAN standards.

WoT 프록시(110)(이하, 프록시)는 홈 내부 망과 홈 외부 인터넷 망을 연결시켜주는 것으로 게이트웨이 역할을 수행한다. 프록시(110)는 전자 장치(100)와의 통신을 위한 CoAP 라이브러리(169)와 디바이스 관리를 위한 미들웨어(163) 및 외부 인터넷에 연결된 서비스 노드와 통신하기 위한 HTTP 기반의 마이크로 웹서버/클라이언트(MWS/C)(166)를 포함할 수 있다. 또한, HTTP 기반으로 수신한 메시지를 전자 장치(100)에 CoAP 프로토콜로 전달하기 위한 WoT 프록시 모듈(WoT Proxy)(160)을 포함할 수 있으며, WoT 포록시 모듈(160)은 기기에서 CoAP으로 전달된 메시지를 외부 서비스 노드에 HTTP 기반으로 전달 하는 기능도 지원할 수 있다. 이때, 프록시 플랫폼(Proxy Platform)은 IP를 기반으로 데이터를 전송하는 UDP와 TCP 프로토콜을 수용할 수 있는 운영체제라면 어떤 운영 체제도 이용할 수 있다.The WoT proxy 110 (hereinafter, referred to as proxy) serves as a gateway by connecting the internal home network and the external home Internet network. The proxy 110 includes a CoAP library 169 for communication with the electronic device 100, a middleware 163 for device management, and an HTTP-based micro web server/client (MWS/client) for communication with a service node connected to the external Internet. C) (166) may be included. In addition, it may include a WoT proxy module (WoT Proxy) 160 for delivering a message received based on HTTP to the electronic device 100 through the CoAP protocol, and the WoT proxy module 160 is transmitted from the device to the CoAP It can also support HTTP-based delivery of the message to an external service node. At this time, the proxy platform can use any operating system as long as it is an operating system that can accommodate UDP and TCP protocols that transmit data based on IP.

클라우드 서버(120)(이하, 서버)는 프록시(110)와 통신하며 외부로 open API(application program interface)를 제공할 수 있다. 인터넷 망을 통해 HTTP 기반으로 전자 장치(100)를 모니터링하고 관리할 수 있으며, 이 기능을 오픈 API로 제공할 수 있는 웹 서버/클라이언트(Web Server/Client)(173)와 응용 서비스(WoT Service)(170)를 포함할 수 있다. 서버 플랫폼(Server Platform)은 IP를 기반으로 하는 TCP 프로토콜을 수용할 수 있는 운영체제라면 어떤 운영 체제도 사용할 수 있으며, TCP 프로토콜 상위에는 일반적인 웹 통신규약인 HTTP를 사용할 수 있어야 한다.The cloud server 120 (hereinafter, the server) communicates with the proxy 110 and may provide an open API (application program interface) to the outside. Web Server/Client (173) and Application Service (WoT Service) that can monitor and manage the electronic device 100 based on HTTP through the Internet network and provide this function as an open API It may include 170. The Server Platform can use any operating system as long as it can accept the TCP protocol based on IP, and HTTP, which is a general web communication protocol, should be used above the TCP protocol.

스마트 단말(130)(이하, 단말)은 사용자가 open API를 이용하여 전자 장치(100)를 모니터링하고 제어할 수 있도록 한다. 단말(130)은 전자 장치(100)의 통신을 위한 CoAP 라이브러리(190)와 전자 장치(100)의 초기설정, 접근 제어 기능들을 지원하기 위한 미들웨어(189) 및 전자 장치(100)를 모니터링하고 제어할 수 있는 WoT 서비스(180) 및 오픈 API지원을 위한 웹 클라이언트(Web Client)(183)를 포함할 수 있다. 스마트 장치 플랫폼(Smart Device Platform)은 IP를 기반으로 데이터를 전송하는 UDP와 TCP 프로토콜을 수용할 수 있는 운영체제라면 어떤 운영체제라도 사용할 수 있으며, TCP 프로토콜 스택 위에는 일반적인 통신규약인 HTTP(186)를 사용하고 UDP 프로토콜 스택 위에는 웹 소프트웨어(CoAP)(190)과 미들웨어(189)가 위치할 수 있다.The smart terminal 130 (hereinafter, the terminal) allows a user to monitor and control the electronic device 100 using an open API. The terminal 130 monitors and controls the CoAP library 190 for communication of the electronic device 100, the middleware 189 for supporting initial setting and access control functions of the electronic device 100, and the electronic device 100 It may include a capable WoT service 180 and a web client 183 for supporting open API. Smart Device Platform can use any operating system as long as it can accept UDP and TCP protocols that transmit data based on IP, and use HTTP(186), a general communication protocol, on top of the TCP protocol stack. Web software (CoAP) 190 and middleware 189 may be located on the UDP protocol stack.

도 2는 본 발명의 일 실시예에 의한 홈 네트워크 시스템에서 이용하는 메시지 타입을 설명하기 위한 도면이다.2 is a diagram illustrating a message type used in a home network system according to an embodiment of the present invention.

도 2를 참조하면, 전자 장치(100)와 프록시(110) 사이에서는 CoAP 기반의 바이너리 형태의 메시지를 사용하며, 프록시(110)와 서버(120), 단말(130) 사이에는 HTTP를 기반으로 하는 Json(javascript standard object notation) 형태의 메시지를 사용할 수 있다.Referring to FIG. 2, a CoAP-based binary message is used between the electronic device 100 and the proxy 110, and HTTP-based messages are used between the proxy 110 and the server 120 and the terminal 130. Json (javascript standard object notation) type message can be used.

본 발명에서 이용하는 미들웨어 프로토콜은 Restful 기반의 CoAP 프로토콜과 HTTP 프로토콜을 활용하여 URI와 Method(Get, Put, Delete, Post), 페이로드(Paylaod)를 정의하고 있으며, 서버(120)에서는 메시지를 능동적으로 전달할 수 없는 서버/클라이언트 구조의 CoAP 프로토콜의 제약 조건을 해결하기 위해 UDP 브로드 캐스팅을 위한 간단한 바이너리 프로토콜을 포함할 수 있다. 이때 method는 발견, 광고, 인증 등을 위한 것으로 get은 발견, 등록, 정보, 이벤트 등에 put은 광고, 발견, 등록, 정보, 이벤트, 제어, 인증 등인 경우 이용한다. WoT 가전(100)에서는 기계간 통신을 위한 프로토콜인 MQTT-S(MQ Telemetry Transport For Sensors) 등 다양한 프로토콜을 사용할 수도 있다.The middleware protocol used in the present invention uses Restful-based CoAP protocol and HTTP protocol to define URIs, methods (Get, Put, Delete, Post), and payload, and the server 120 actively generates messages. A simple binary protocol for UDP broadcasting can be included to solve the constraints of the CoAP protocol of a server/client structure that cannot be delivered. At this time, method is for discovery, advertisement, authentication, etc., get is for discovery, registration, information, event, etc. Put is used for advertisement, discovery, registration, information, event, control, authentication, etc. In the WoT home appliance 100, various protocols such as MQTT-S (MQ Telemetry Transport For Sensors), a protocol for machine-to-machine communication, may be used.

도 3은 본 발명의 일 실시예에 의한 홈 네트워크 시스템의 초기 설정 방법을 설명하기 위한 흐름도이다.3 is a flowchart illustrating an initial setting method of a home network system according to an embodiment of the present invention.

도 3을 참조하면, 사용자는 단말(130)을 이용하여 서버(120)에 계정을 생성하며(300), 이때 사용자는 전자 장치(100)에 있는 QR 코드나 NFC 기능 등을 이용하여 앱을 다운로드한 후 서버(120)에 사용자의 아이디(ID) 및 비밀번호, 사용자 전화번호 정보 등을 등록할 수 있다.3, the user creates an account on the server 120 using the terminal 130 (300), and at this time, the user downloads the app using a QR code or NFC function in the electronic device 100 After that, the server 120 may register a user's ID, password, and user phone number information.

또한, 전자 장치(100)는 최초 전원이 켜지면 고유의 SSID(Service Set Identifier)를 생성하고, software AP(access point) 모드로 동작한다(303). 단말(130)은 전자 장치(100)의 SSID를 입력하여 전자 장치(100)에 접속하는데, 이때 전자 장치(100)에서 단말(130)에 광고 메시지를 전송하면(305), 단말(130)은 전자 장치(100)에 광고 메시지를 전송한다(310). 단말(130)은 전자 장치(100)의 SSID를 미리 알 수 있으며, 필요에 따라 비밀번호를 사용할 수 있다.Further, the electronic device 100 generates a unique SSID (Service Set Identifier) when the power is initially turned on, and operates in a software access point (AP) mode (303). The terminal 130 inputs the SSID of the electronic device 100 to access the electronic device 100. At this time, when the electronic device 100 transmits an advertisement message to the terminal 130 (305), the terminal 130 An advertisement message is transmitted to the electronic device 100 (310). The terminal 130 may know the SSID of the electronic device 100 in advance, and may use a password if necessary.

단말(130)과 전자 장치(100)는 접속한 후 초기 설정을 위한 정보를 송수신하는데(315,320), 일 예로 초기 설정을 위한 정보는 전자 장치(100)의 고유코드, 프록시(110)의 SSID 및 비밀번호, 단말(130)이 서버(120)에 등록한 아이디 및 비밀번호, 단말(130) 정보 등이다. 프록시(110)의 SSID 및 비밀번호는 단말(130)이 전자 장치(100)에 전송하는데, 일 예로, 단말(130)의 응용 어플리케이션을 통해 사용자가 프록시(110)의 SSID와 비밀번호를 입력할 수 있으며, 입력된 정보는 단말(130)의 미들웨어를 통해 전자 장치(100) 미들웨어로 전달될 수 있다.The terminal 130 and the electronic device 100 transmit and receive information for initial setting after access (315, 320). For example, the information for initial setting includes a unique code of the electronic device 100, an SSID of the proxy 110, and Password, the ID and password registered by the terminal 130 in the server 120, terminal 130 information, and the like. The SSID and password of the proxy 110 are transmitted by the terminal 130 to the electronic device 100. For example, the user can input the SSID and password of the proxy 110 through an application application of the terminal 130 , The inputted information may be transmitted to the middleware of the electronic device 100 through the middleware of the terminal 130.

단말(130)과 전자 장치(100)가 초기 설정 정보를 송수신하면 단말(130)과 전자 장치(100)는 프록시(110)의 SSID 및 비밀번호를 이용하여 프록시(110)에 접속하며(325,330), 단말(130)은 프록시(110)를 통해 서버(120)에 접속한다(333). 이때, 프록시(110)에서 전자 장치(100)에 광고 메시지를 전송하면(335), 전자 장치(100)는 광고 메시지를 프록시(110)에 전송한다(340).When the terminal 130 and the electronic device 100 transmit and receive initial setting information, the terminal 130 and the electronic device 100 access the proxy 110 using the SSID and password of the proxy 110 (325,330), The terminal 130 accesses the server 120 through the proxy 110 (333). In this case, when the proxy 110 transmits an advertisement message to the electronic device 100 (335), the electronic device 100 transmits the advertisement message to the proxy 110 (340).

프록시(110)는 전자 장치(100)가 프록시(110)에 등록되어 있는지 살펴보는데, 등록되어 있지 않은 경우 등록을 위한 정보를 전자 장치(100)에 요청하며(343), 전자 장치(100)가 등록을 위한 정보를 전송하면(345), 전자 장치(100)를 등록한다(347). 이때, 일 예로, 등록을 위한 정보는 단말(130)이 서버(120)에 등록한 아이디 및 비밀번호, 단말(130) 정보, 전자 장치(100)의 고유코드 등이다.The proxy 110 checks whether the electronic device 100 is registered with the proxy 110. If not, the proxy 110 requests information for registration from the electronic device 100 (343), and the electronic device 100 When information for registration is transmitted (345), the electronic device 100 is registered (347). In this case, as an example, the information for registration is an ID and password registered by the terminal 130 in the server 120, information on the terminal 130, a unique code of the electronic device 100, and the like.

프록시(110)는 전자 장치(100)를 등록한 후 등록 상태 업데이트 메시지를 전자 장치(100)에 전송하며(350), 전자 장치(100)는 이에 대한 응답 메시지를 프록시(110)에 전송한다(355). 또한, 프록시(110)는 서버(120)에 전자 장치(100)의 등록을 요청하고 등록을 위한 정보를 전송하며(360), 서버(120)는 전자 장치(100)의 등록을 완료하고(363), 등록 완료 메시지를 프록시에 전송하는데(370), 이때, 서버(120)는 단말(130)에 전자 장치(100)가 서버(120)에 등록됨을 알리는 새로운 장치의 등록에 관한 메시지를 전송할 수 있다(365). 프록시(110)는 서버(120)로부터 등록 완료 메시지를 수신하면 전자 장치(100)에 등록 상태 업데이트를 요청하며(375), 전자 장치(100)는 이에 대한 응답 메시지를 프록시(110)에 전송한다(380). 프록시(110)는 전자 장치(100)로부터 등록 상태 업데이트에 대한 응답 메시지를 수신하면, 단말(130)에게 서버(120)에 전자 장치(100)가 등록됨을 알리는 새로운 장치의 등록에 관한 메시지를 전송할 수 있는데, 이는 서버(120)에서 새로운 장치의 등록에 관한 메시지를 단말(130)에 전송하지 않은 경우 이용할 수 있다.After registering the electronic device 100, the proxy 110 transmits a registration status update message to the electronic device 100 (350), and the electronic device 100 transmits a response message to the proxy 110 (355). ). In addition, the proxy 110 requests registration of the electronic device 100 to the server 120 and transmits information for registration (360), and the server 120 completes the registration of the electronic device 100 (363). ), and transmits a registration completion message to the proxy (370), at this time, the server 120 may transmit a message regarding the registration of a new device notifying the terminal 130 that the electronic device 100 is registered with the server 120 There is (365). Upon receiving the registration completion message from the server 120, the proxy 110 requests the electronic device 100 to update the registration status (375), and the electronic device 100 transmits a response message thereto to the proxy 110. (380). When the proxy 110 receives a response message to the registration status update from the electronic device 100, the proxy 110 transmits a message regarding the registration of a new device notifying the server 120 that the electronic device 100 is registered to the terminal 130. This can be used when the server 120 does not transmit a message regarding registration of a new device to the terminal 130.

한편, 단말(130)은 사용자 인증을 위한 정보를 서버(120)에 전송하고(385), 서버(120)는 단말(130)로부터 수신한 사용자 인증을 위한 정보를 이용하여 서버 인증을 완료한다(391). 서버(120)는 인증이 완료되면 단말(130)로부터 수신한 사용자 인증을 위한 정보를 프록시(110)에 전송하고(390), 프록시(110)는 인증을 완료한 후(393) 인증 완료 메시지를 서버(120)에 전송하며(395), 서버(120)는 인증 완료 메시지를 단말(130)에 전송한다(399). 이때, 사용자 인증을 위한 정보는 일 예로, 전자 장치(100)의 고유코드, 사용자 ID와 비밀번호 등이다.Meanwhile, the terminal 130 transmits information for user authentication to the server 120 (385), and the server 120 completes server authentication using the information for user authentication received from the terminal 130 ( 391). When authentication is complete, the server 120 transmits the user authentication information received from the terminal 130 to the proxy 110 (390), and the proxy 110 transmits an authentication completion message after completing authentication (393). The server 120 transmits (395), and the server 120 transmits an authentication completion message to the terminal 130 (399). In this case, the information for user authentication is, for example, a unique code of the electronic device 100, a user ID and a password.

이하에서는 본 발명에서 이용하는 메시지에 대해서 구체적으로 살펴보도록 한다.Hereinafter, a message used in the present invention will be described in detail.

도 4는 본 발명의 일 실시예에 의한 홈 네트워크 시스템에서 이용하는 광고(ADVERTISEMENT) 메시지를 설명하기 위한 흐름도이다.4 is a flowchart illustrating an ADVERTISEMENT message used in a home network system according to an embodiment of the present invention.

광고 메시지는 소정의 장치가 네트워크에 처음 연결되거나, 전원이 켜질 때, 프록시(110) 또는 네트워크에 연결된 다른 장치에게 자신의 URI 정보 또는 등록 여부를 알려주는 메시지이다.The advertisement message is a message that informs the proxy 110 or another device connected to the network of its own URI information or registration status when a predetermined device is first connected to the network or is turned on.

도 4를 참조하여 광고 메시지가 이용되는 일 예를 살펴보면, 전자 장치(100)가 네트워크에 연결되면 전자 장치(100)는 프록시(110)에게 광고 메시지를 전송하고(400), 프록시(110)는 전자 장치(100)에 광고 메시지를 전송할 수 있다(405). 또한, 프록시(110)는 서버(120)에 전자 장치(100)에 관한 정보를 전송하고(410), 서버(120)는 이에 대한 응답 메시지를 프록시(110)에게 전송할 수 있다. 또한, 전자 장치(100)와 단말(130) 사이에서도 광고 메시지를 상호 전송 할 수 있다(420,430).Looking at an example in which an advertisement message is used with reference to FIG. 4, when the electronic device 100 is connected to a network, the electronic device 100 transmits an advertisement message to the proxy 110 (400), and the proxy 110 An advertisement message may be transmitted to the electronic device 100 (405 ). Also, the proxy 110 may transmit information about the electronic device 100 to the server 120 (410), and the server 120 may transmit a response message to the proxy 110. In addition, advertisement messages may be mutually transmitted between the electronic device 100 and the terminal 130 (420,430).

도 5는 본 발명의 일 실시예에 의한 홈 네트워크 시스템에서 이용하는 발견(DISCOVERY) 메시지를 설명하기 위한 흐름도이다.5 is a flowchart illustrating a DISCOVERY message used in a home network system according to an embodiment of the present invention.

발견 메시지는 네트워크에 연결된 소정의 장치의 존재를 확인하기 위한 것이며, 발견 메시지를 수신한 장치는 광고 메시지를 전송하여 응답한다. 단말(130)은 주기적으로 폴링(polling)을 하며, 서버(120)는 광고 메시지 정보를 저장한다.The discovery message is for confirming the existence of a predetermined device connected to the network, and the device receiving the discovery message responds by sending an advertisement message. The terminal 130 periodically polls, and the server 120 stores advertisement message information.

도 5를 참조하여 발견 메시지가 이용되는 일 예를 살펴보면, 프록시(110)가 전자 장치(100)에 발견 메시지를 전송하면(500), 전자 장치(100)는 프록시(110)에 광고 메시지를 전송한다(510). 이후, 프록시(110)는 수신한 광고 메시지 정보를 서버(120)에 전송하며(520), 서버(120)는 응답 메시지를 프록시(110)에 전송한다(530). 단말(130)이 전자 장치(100)에 관한 정보를 서버(120)에 요청하면(540), 서버(120)는 프록시(110)로부터 전송받은 광고 메시지 정보를 이용하여 전자 장치(100)에 관한 정보를 단말(130)에 전송한다(550). 또한, 전자 장치(100)는 단말(130)로 발견 메시지를 보낼 수 있으며(560), 단말(130)은 이에 대한 응답으로 전자 장치(100)에 광고 메시지를 전송할 수 있다(570).Looking at an example in which a discovery message is used with reference to FIG. 5, when the proxy 110 transmits a discovery message to the electronic device 100 (500), the electronic device 100 transmits an advertisement message to the proxy 110 Do (510). Thereafter, the proxy 110 transmits the received advertisement message information to the server 120 (520), and the server 120 transmits a response message to the proxy 110 (530). When the terminal 130 requests information about the electronic device 100 to the server 120 (540), the server 120 uses the advertisement message information transmitted from the proxy 110 to Information is transmitted to the terminal 130 (550). In addition, the electronic device 100 may send a discovery message to the terminal 130 (560 ), and the terminal 130 may transmit an advertisement message to the electronic device 100 in response thereto (570 ).

도 6은 본 발명의 일 실시예에 의한 홈 네트워크 시스템에서 이용하는 등록(REGISTRATION) 메시지를 설명하기 위한 흐름도이다.6 is a flowchart illustrating a registration message used in a home network system according to an embodiment of the present invention.

등록 메시지는 전자 장치(100)를 프록시(110)와 서버(120)에 등록시키기 위한 메시지이다. 도 6을 참조하여 정보 메시지가 이용되는 일 예를 살펴보면, 프록시(110)에서 전자 장치(100)에 광고 메시지를 전송하면(600), 전자 장치(100)는 광고 메시지를 프록시(110)에 전송한다(610). 프록시(110)는 전자 장치(100)가 프록시(110)에 등록되어 있는지 살펴보는데, 등록되어 있지 않은 경우 등록을 위한 정보를 전자 장치(100)에 요청하며(620), 전자 장치(100)로부터 등록을 위한 정보를 수신하면(630) 전자 장치(100)를 등록한다(635).The registration message is a message for registering the electronic device 100 with the proxy 110 and the server 120. Looking at an example in which an information message is used with reference to FIG. 6, when the proxy 110 transmits an advertisement message to the electronic device 100 (600), the electronic device 100 transmits the advertisement message to the proxy 110 Do (610). The proxy 110 checks whether the electronic device 100 is registered with the proxy 110. If not, the proxy 110 requests information for registration from the electronic device 100 (620), and from the electronic device 100 Upon receiving information for registration (630), the electronic device 100 is registered (635).

프록시(110)는 전자 장치(100)를 등록한 후 등록 상태 업데이트를 전자 장치(100)에 요청하며(640), 전자 장치(100)는 응답 메시지를 프록시(110)에 전송한다(650). 또한, 프록시(110)는 서버(120)에 전자 장치(100)의 등록을 요청하고 등록을 위한 정보를 전송하며(660), 서버(120)는 전자 장치(100)의 등록을 완료하고(665), 응답 메시지를 프록시(110)에 전송하며(670), 단말(130)에 새로운 장치의 등록에 관한 메시지를 전송한다(667). 프록시(110)는 서버(120)로부터 응답 메시지를 수신하면 전자 장치(100)에 등록 상태 업데이트를 요청하며(680), 전자 장치(100)는 응답 메시지를 프록시(110)에 전송한다(690). After registering the electronic device 100, the proxy 110 requests the electronic device 100 to update the registration status (640), and the electronic device 100 transmits a response message to the proxy 110 (650). In addition, the proxy 110 requests registration of the electronic device 100 to the server 120 and transmits information for registration (660), and the server 120 completes the registration of the electronic device 100 (665). ), and transmits a response message to the proxy 110 (670), and transmits a message regarding registration of a new device to the terminal 130 (667). Upon receiving the response message from the server 120, the proxy 110 requests the electronic device 100 to update the registration status (680), and the electronic device 100 transmits the response message to the proxy 110 (690). .

도 7은 본 발명의 일 실시예에 의한 홈 네트워크 시스템에서 이용하는 정보(INFORMATION) 메시지를 설명하기 위한 흐름도이다.7 is a flowchart illustrating an INFORMATION message used in a home network system according to an embodiment of the present invention.

정보 메시지는 장치에 관한 정보를 요청하기 위해 이용되며, 장치에 관한 정보는 이름, 타입(type), 모델명, 제조사명, 하드웨어(H/W) 및 펌웨어(firmware) 버전 등이 해당될 수 있다.The information message is used to request information on the device, and the information on the device may correspond to a name, type, model name, manufacturer name, hardware (H/W) and firmware version.

도 7을 참조하여 정보 메시지가 이용되는 일 예를 살펴보면, 프록시(110)에서 전자 장치(100)에 장치에 관한 정보를 요청하면(700), 전자 장치(100)는 프록시(110)에 장치에 관한 정보를 전송한다(710). 이후, 프록시(110)는 서버(120)에 전자 장치(100)에 관한 정보를 전송하며(720), 서버(120)는 프록시(110)에 응답 메시지를 전송한다(730). 단말(130)이 서버(120)에 전자 장치(100)에 관한 정보를 요청하면(740), 서버(120)는 전자 장치(100)에 관한 정보를 단말(130)에 전송한다(750).Looking at an example in which an information message is used with reference to FIG. 7, when the proxy 110 requests information about the device from the electronic device 100 (700), the electronic device 100 sends the proxy 110 to the device Information about the information is transmitted (710). Thereafter, the proxy 110 transmits information about the electronic device 100 to the server 120 (720), and the server 120 transmits a response message to the proxy 110 (730). When the terminal 130 requests information about the electronic device 100 from the server 120 (740), the server 120 transmits the information about the electronic device 100 to the terminal 130 (750).

도 8은 본 발명의 일 실시예에 의한 홈 네트워크 시스템에서 이용하는 이벤트 알림(EVENT_NOTIFICATION) 메시지를 설명하기 위한 흐름도이다.8 is a flowchart illustrating an event notification (EVENT_NOTIFICATION) message used in a home network system according to an embodiment of the present invention.

이벤트 알림 메시지는 센서와 같이 특정 이벤트를 주기적으로 발생시키는 경우 관련 정보를 전송하기 위해 사용된다.The event notification message is used to transmit related information when a specific event is periodically generated, such as a sensor.

도 8을 참조하여 이벤트 알림 메시지가 이용되는 일 예를 살펴보면, 전자 장치(100)에서 이벤트 알림 메시지를 프록시(110)에 전송하면(800), 프록시(110)는 전자 장치(100)에 이벤트 정보를 요청하며(810), 전자 장치(100)는 이벤트 정보를 프록시(110)에 전송한다(820). 이후, 프록시(110)는 수신된 이벤트 정보를 서버(120)에 전송하며(830), 서버(120)는 응답 메시지를 프록시(110)에 전송한다(840). 단말(130)이 서버(120)에 이벤트 정보를 요청하면(850), 서버는 수신된 이벤트 정보를 단말(130)에 전송한다(860). 이때, 서버(120)가 단말(130)에 푸쉬 메시지를 전송할 수도 있다.Looking at an example in which an event notification message is used with reference to FIG. 8, when the electronic device 100 transmits an event notification message to the proxy 110 (800), the proxy 110 transmits event information to the electronic device 100 In operation 810, the electronic device 100 transmits event information to the proxy 110 (820). Thereafter, the proxy 110 transmits the received event information to the server 120 (830), and the server 120 transmits a response message to the proxy 110 (840). When the terminal 130 requests event information from the server 120 (850), the server transmits the received event information to the terminal 130 (860). In this case, the server 120 may transmit a push message to the terminal 130.

도 9는 본 발명의 일 실시예에 의한 홈 네트워크 시스템에서 이용하는 제어(CONTROL) 메시지를 설명하기 위한 흐름도이다.9 is a flowchart illustrating a CONTROL message used in a home network system according to an embodiment of the present invention.

제어 메시지는 장치 제어를 위해 사용되며, 원격에서 장치를 제어할 수 있다.The control message is used for device control, and the device can be controlled remotely.

도 9를 참조하여 제어 메시지가 이용되는 일 예를 살펴보면, 단말(130)이 서버(120)에 전자 장치(100)의 제어를 요청하면(900), 서버(120)는 프록시(110)에 전자 장치(100)의 제어를 요청한다(910). 이후, 프록시(110)는 전자 장치(100)에 제어를 요청하며(920), 전자 장치(100)는 응답 메시지를 프록시(110)에 전송한다(930). 프록시(110)가 전자 장치로부터 응답 메시지를 수신하면, 프록시(110)는 서버(120)에 응답 메시지를 전송하고(940), 서버(120)는 단말(130)에 응답 메시지를 전송한다(950).Looking at an example in which a control message is used with reference to FIG. 9, when the terminal 130 requests the server 120 to control the electronic device 100 (900), the server 120 transmits an electronic message to the proxy 110 Control of the device 100 is requested (910). Thereafter, the proxy 110 requests control from the electronic device 100 (920), and the electronic device 100 transmits a response message to the proxy 110 (930). When the proxy 110 receives a response message from the electronic device, the proxy 110 transmits a response message to the server 120 (940), and the server 120 transmits a response message to the terminal 130 (950). ).

도 10은 본 발명의 일 실시예에 의한 홈 네트워크 시스템에서 이용하는 적용(APPLY) 메시지를 설명하기 위한 흐름도이다.10 is a flowchart illustrating an APPLY message used in a home network system according to an embodiment of the present invention.

적용 메시지는 업데이트, Wi-Fi 연결 등 시스템 관련 기능을 수행하기 위한 것이다.The application message is for performing system-related functions such as update and Wi-Fi connection.

도 10을 참조하여 적용 메시지가 이용되는 일 예를 살펴보면, 전자 장치(100)의 시스템 업데이트가 필요한 경우, 단말(130)은 서버(120)에 전자 장치(100)의 시스템 업데이트 적용을 요청한다(1000). 이후, 서버(120)는 전자 장치(100)의 시스템 업데이트 적용을 프록시(110)에 요청하고(1010), 프록시(110)는 전자 장치(100)에 시스템 업데이트 적용을 요청한다(1020). 전자 장치(100)는 응답 메시지를 프록시(110)에 전송하고(1030), 프록시(110)는 서버(120)에 응답 메시지를 전송하며(1040), 서버(120)는 단말(130)에 응답 메시지를 전송한다(1050).Referring to an example in which the application message is used with reference to FIG. 10, when the system update of the electronic device 100 is required, the terminal 130 requests the server 120 to apply the system update of the electronic device 100 ( 1000). Thereafter, the server 120 requests the proxy 110 to apply the system update of the electronic device 100 (1010), and the proxy 110 requests the electronic device 100 to apply the system update (1020). The electronic device 100 transmits a response message to the proxy 110 (1030), the proxy 110 transmits a response message to the server 120 (1040), and the server 120 responds to the terminal 130 The message is transmitted (1050).

한편, 전자 장치(100)는 업데이트를 완료하면(1055), 업데이트 적용 완료 메시지를 프록시(110)에 전송하고(1060), 프록시(110)는 서버(120)에 업데이트 적용 완료 메시지를 전송하며(1070), 서버(120)는 응답 메시지를 프록시(110)에 전송한다(1080). 단말(130)이 서버(120)에 업데이트 결과를 요청하면(1090), 서버(120)는 업데이트 결과를 단말(130)에 전송한다(1099).Meanwhile, when the update is completed (1055), the electronic device 100 transmits an update application completion message to the proxy 110 (1060), and the proxy 110 transmits an update application completion message to the server 120 ( 1070), the server 120 transmits a response message to the proxy 110 (1080). When the terminal 130 requests the update result from the server 120 (1090), the server 120 transmits the update result to the terminal 130 (1099).

도 11은 본 발명의 일 실시예에 의한 홈 네트워크 시스템에서 이용하는 인증(AUTHENTICATION) 메시지를 설명하기 위한 흐름도이다.11 is a flowchart for explaining an authentication (AUTHENTICATION) message used in a home network system according to an embodiment of the present invention.

인증 메시지는 단말(130)이 전자 장치(100)의 제어 및 관리를 위해 프록시(110)에게 접근 권한 승인을 요청하기 위한 것이다. 단말(130)은 프록시(110)로부터 새로운 장치가 등록되었다는 메시지를 수신하면, 해당 장치에 대한 접근 권한 요청을 위해 사용자의 ID와 비밀번호 및 전자 장치(100)의 고유 코드 등을 프록시(110)에 전송한다.The authentication message is for the terminal 130 to request access authorization from the proxy 110 for control and management of the electronic device 100. When the terminal 130 receives a message indicating that a new device has been registered from the proxy 110, the terminal 130 transmits the user's ID and password and the unique code of the electronic device 100 to the proxy 110 to request access rights to the device. send.

도 11을 참조하여 인증 메시지가 이용되는 일 예를 살펴보면, 프록시(110)에서 단말(130)에 서버(120)에 전자 장치(100)가 등록됨을 알리는 새로운 장치의 추가 메시지를 전송하면(1100), 단말(130)은 서버(120)에 인증 정보를 전송하고 인증을 요청하며(1110), 서버(120)는 프록시(110)에 단말(130)로부터 수신한 인증 정보를 전송하고 인증을 요청한다(1120). 이때, 인증 정보는 사용자의 ID와 비밀번호 및 전자 장치(100)의 고유 코드가 해당될 수 있다.Looking at an example in which the authentication message is used with reference to FIG. 11, when the proxy 110 transmits an additional message of a new device notifying that the electronic device 100 is registered to the server 120 to the terminal 130 (1100) , The terminal 130 transmits authentication information to the server 120 and requests authentication (1110), and the server 120 transmits the authentication information received from the terminal 130 to the proxy 110 and requests authentication. (1120). In this case, the authentication information may correspond to a user's ID and password, and a unique code of the electronic device 100.

프록시(110)는 인증을 완료하고(1130), 응답 메시지를 서버(120)에 전송하며(1140), 서버(120)는 단말(130)에 응답 메시지를 전송한다(1150).The proxy 110 completes the authentication (1130), transmits a response message to the server 120 (1140), and the server 120 transmits a response message to the terminal 130 (1150).

도 12는 본 발명의 일 실시예에 의한 홈 네트워크 시스템에서 사용자를 추가하는 방법을 설명하기 위한 흐름도이다.12 is a flowchart illustrating a method of adding a user in a home network system according to an embodiment of the present invention.

본 발명에서 전자 장치(100)는 복수의 사용자가 제어 및 관리할 수 있으며, 새로운 사용자가 추가되는 경우 추가되는 사용자에 대한 등록 및 인증이 필요하다.In the present invention, the electronic device 100 can be controlled and managed by a plurality of users, and when a new user is added, registration and authentication for the added user is required.

도 12를 참조하면, 추가되는 사용자는 신규 단말(140)을 이용하여 서버(120)에 계정을 생성할 수 있는데(1200), 이때 추가 사용자는 전자 장치(100)에 있는 QR 코드나 NFC 기능 등을 이용하여 앱을 다운로드한 후 서버(120)에 추가 사용자의 아이디(ID) 및 비밀번호, 신규 단말(130) 정보 등을 등록할 수 있다.Referring to FIG. 12, the added user can create an account on the server 120 using the new terminal 140 (1200), and at this time, the additional user has a QR code or NFC function in the electronic device 100, etc. After downloading the app by using, the server 120 may register an ID and password of an additional user, information on the new terminal 130, and the like.

계정을 생성한 후 추가 사용자는 자신이 최초 사용자가 아닌 추가 사용자임을 알리는데, 일 예로 앱을 이용하여 최초 등록이 아닌 이미 등록된 전자 장치(100) 사용을 선택하고 최초 사용자에 대한 정보를 입력한다(1205). 이때, 최초 사용자에 대한 정보는 단말(130)에 대한 전화번호, 최초 사용자 ID 등이 해당될 수 있으며, 입력된 최초 사용자에 대한 정보는 서버(120)에 전송된다.After creating an account, the additional user informs that he is an additional user rather than the first user. For example, using an app, he selects to use the electronic device 100 that has already been registered instead of the initial registration, and enters information on the first user (1205). At this time, the information on the first user may include a phone number for the terminal 130, an initial user ID, and the like, and the input information on the first user is transmitted to the server 120.

서버(120)가 단말(130)에게 추가 사용자 ID 등 추가 사용자에 대한 정보를 전송하여 사용자 추가를 요청하고(1215), 최초 사용자가 추가 등록을 승인하면 단말(130)은 사용자 추가 승인에 관한 메시지를 서버(120)에 전송한다. 이후, 서버(120)는 단말(130)이 관리하는 전자 장치(100) 목록을 신규 단말(140에게 전송하며(1225), 추가 사용자가 수신된 전자 장치(100) 목록에서 원하는 전자 장치(100)를 선택하면 신규 단말(140)은 선택된 전자 장치(100)의 URI를 서버(120)에 전송한다(1230).The server 120 transmits information about an additional user, such as an additional user ID, to the terminal 130 to request user addition (1215), and when the first user approves the additional registration, the terminal 130 sends a message regarding user addition approval. Is transmitted to the server 120. Thereafter, the server 120 transmits the list of electronic devices 100 managed by the terminal 130 to the new terminal 140 (1225), and the electronic device 100 desired by the additional user from the list of the received electronic devices 100 When is selected, the new terminal 140 transmits the URI of the selected electronic device 100 to the server 120 (1230).

서버(120)는 추가 사용자 ID, 추가 사용자가 선택한 전자 장치(100)의 URI 등을 단말(130)에 전송하여 신규 사용자의 추가를 요청하고(1235), 단말(130)은 신규 사용자 추가 승인 메시지를 서버(120)에 전송한다(1245). 이후, 서버(120)는 추가 사용자가 선택한 전자 장치(100)의 고유 코드를 신규 단말(130)에 전송하며(1250), 신규 단말(140)은 인증 정보를 서버(120)에 전송하여 인증을 요청한다(1255). 서버(120)는 인증 정보를 프록시(110)에 전송하여 인증을 요청하고(1260), 프록시(110)는 인증을 완료한 후(1270), 응답 메시지를 서버(120)에 전송한다(1280). 서버(120)는 응답 메시지를 신규 단말(140)에 전송한다(1290).The server 120 requests the addition of a new user by transmitting the additional user ID and the URI of the electronic device 100 selected by the additional user to the terminal 130 (1235), and the terminal 130 is a new user addition approval message Is transmitted to the server 120 (1245). Thereafter, the server 120 transmits the unique code of the electronic device 100 selected by the additional user to the new terminal 130 (1250), and the new terminal 140 transmits authentication information to the server 120 to perform authentication. Request (1255). The server 120 transmits authentication information to the proxy 110 to request authentication (1260), and after the proxy 110 completes the authentication (1270), it transmits a response message to the server 120 (1280). . The server 120 transmits a response message to the new terminal 140 (1290).

도 13및 도 14는 본 발명의 일 실시예에 의한 홈 네트워크 시스템에서 사용자를 제거하는 방법을 설명하기 위한 흐름도이다.13 and 14 are flowcharts illustrating a method of removing a user from a home network system according to an embodiment of the present invention.

추가 사용자가 전자 장치(100)의 사용을 하지 않는 경우 해당 장치에 대해 사용자의 삭제가 필요하다. 추가 사용자의 삭제는 추가 사용자 자신이 하거나, 최초 사용자가 할 수 있는데, 도 13은 추가 사용자 자신이 삭제하는 경우를 나타내고 있으며, 도 14는 최초 사용자가 삭제하는 경우를 나타내고 있다.When the additional user does not use the electronic device 100, the user needs to be deleted for the corresponding device. The deletion of the additional user can be performed by the additional user himself or the first user. FIG. 13 shows a case of deletion by the additional user himself, and FIG. 14 shows a case of deletion by the first user.

먼저 도 13을 참조하면, 추가 사용자는 사용하지 않는 전자 장치(100)를 선택하고(1300), 추가 사용자의 ID 등 추가 사용자 정보를 서버(120)에 전송하여 사용자 인증 해제를 요청하는데(1310), 여기서, 인증 해제는 추가 사용자의 전자 장치(100)에 대한 접근 권한을 삭제하기 위한 것이다.First, referring to FIG. 13, an additional user selects an electronic device 100 that is not in use (1300), and transmits additional user information such as an ID of the additional user to the server 120 to request user authentication cancellation (1310). , Here, the authentication cancellation is for deleting an additional user's access right to the electronic device 100.

서버(120)는 선택된 전자 장치(100)의 고유 코드 및 추가 사용자 정보를 프록시(110)에 전송하여 사용자 인증 해제를 요청하며(1320), 프록시(110)는 인증 해제를 완료하고(1330), 응답 메시지를 서버(120)에 전송한다. 서버(120)는 응답 메시지를 신규 단말(140) 전송한다(1350).The server 120 transmits the unique code and additional user information of the selected electronic device 100 to the proxy 110 to request user authentication cancellation (1320), and the proxy 110 completes the authentication cancellation (1330), The response message is transmitted to the server 120. The server 120 transmits a response message to the new terminal 140 (1350).

한편, 최초 사용자가 삭제하는 경우를 도 14를 참조하여 살펴보면, 최초 사용자는 추가 사용자가 사용하지 않는 전자 장치(100)를 선택하고(1400), 선택된 전자 장치(100)를 사용하는 것으로 인증된 사용자 목록을 서버(120)에 요청한다(1410). 서버(120)는 선택된 전자 장치(100)를 사용하는 것으로 인증된 사용자 목록을 단말(130)에 전송하는데, 이때 사용자 목록은 사용자 ID 목록이 될 수 있다.Meanwhile, referring to FIG. 14, when the first user deletes, the first user selects an electronic device 100 that is not used by an additional user (1400), and is authenticated as using the selected electronic device 100 A list is requested from the server 120 (1410). The server 120 transmits to the terminal 130 a list of users authenticated by using the selected electronic device 100, in which case the list of users may be a list of user IDs.

단말(130)은 추가 사용자의 ID 및 선택된 전자 장치(100)의 고유코드를 서버(120)에 전송하여 추가 사용자의 인증 해제를 요청하며(1430), 서버(120)는 선택된 전자 장치(100)의 고유 코드 및 추가 사용자의 ID를 프록시(110)에 전송하여 인증 해제를 요청한다(1440). 프록시(110)는 인증 해제를 완료하고(1450), 응답 메시지를 서버(120)에 전송하며(1460), 서버(120)는 응답 메시지를 단말(130)에 전송한다(1470).The terminal 130 transmits the ID of the additional user and the unique code of the selected electronic device 100 to the server 120 to request the deauthentication of the additional user (1430), and the server 120 is the selected electronic device 100 The unique code of and the ID of the additional user are transmitted to the proxy 110 to request authentication release (1440). The proxy 110 completes the authentication release (1450), transmits a response message to the server 120 (1460), and the server 120 transmits a response message to the terminal 130 (1470).

도 15는 본 발명의 일 실시예에 의한 단말(130)의 동작을 설명하기 위한 순서도이다.15 is a flow chart illustrating the operation of the terminal 130 according to an embodiment of the present invention.

도 15를 참조하면, 단말(130)은 서버(120)에 사용자 계정을 생성하고(1500), 전자 장치(100)로부터 전자 장치(100)의 초기 설정 정보를 수신하고(1510), 전자 장치(100)에 단말(130)의 초기 설정 정보를 전송한다(1520). 또한, 서버(120)로부터 전자 장치(100)가 서버(120)에 등록됨을 알리는 전자 장치(100)의 등록에 관한 메시지를 수신한다(1530). 또한, 서버(120)에 사용자 인증을 위한 정보를 전송하고(1540), 서버(120)로부터 인증 완료 메시지를 수신한다(1550).Referring to FIG. 15, the terminal 130 creates a user account in the server 120 (1500 ), receives initial setting information of the electronic device 100 from the electronic device 100 (1510 ), and the electronic device ( 100), the initial configuration information of the terminal 130 is transmitted (1520). In addition, a message regarding registration of the electronic device 100 notifying that the electronic device 100 is registered with the server 120 is received from the server 120 (1530). In addition, information for user authentication is transmitted to the server 120 (1540), and an authentication completion message is received from the server 120 (1550).

도 16은 본 발명의 일 실시예에 의한 전자 장치(100)의 동작을 설명하기 위한 순서도이다.16 is a flowchart illustrating an operation of the electronic device 100 according to an embodiment of the present invention.

도 16을 참조하면, 전자 장치(100)는 최초 전원이 켜지면 software AP 모드로 동작한다(1600). 이후, 단말(130)에 전자 장치(100)의 초기 설정 정보를 전송하고(1610), 단말(130)로부터 단말(130)의 초기 설정 정보를 수신한다(1620). 프록시(110)로부터 전자 장치(100)의 등록을 위한 정보의 요청을 수신하면(1620), 프록시(110)에 등록을 위한 정보를 전송한다(1640). 전자 장치(100)가 프록시(110)와 서버(120)에 등록되면 전자 장치(100)는 프록시(110)로부터 등록상태 업데이트 요청 메시지를 수신하며(1650), 이에 대한 응답 메시지를 프록시(110)에 전송한다.Referring to FIG. 16, when the electronic device 100 is initially powered on, the electronic device 100 operates in a software AP mode (1600). Thereafter, initial configuration information of the electronic device 100 is transmitted to the terminal 130 (1610), and initial configuration information of the terminal 130 is received from the terminal 130 (1620). When a request for information for registration of the electronic device 100 is received from the proxy 110 (1620 ), information for registration is transmitted to the proxy 110 (1640 ). When the electronic device 100 is registered with the proxy 110 and the server 120, the electronic device 100 receives a registration status update request message from the proxy 110 (1650), and sends a response message to the proxy 110. Transfer to.

도 17은 본 발명의 일 실시예에 의한 프록시(110)의 동작을 설명하기 위한 순서도이다.17 is a flow chart illustrating the operation of the proxy 110 according to an embodiment of the present invention.

도 17을 참조하면, 단말(130)과 전자 장치(100)가 프록시(110)에 연결되면, 프록시(110)는 전자 장치(100)에게 전자 장치(100)의 등록을 위한 정보를 요청한다(1700). 전자 장치(100)로부터 등록을 위한 정보를 수신하면(1710), 전자 장치(100)를 등록하고(1720), 전자 장치(100)에 등록 상태 업데이트를 요청한다(1730). 또한, 서버(120)에 전자 장치(100)의 등록을 위한 정보를 전송하고(1740), 서버(120)로부터 전자 장치(100)의 등록 완료 메시지를 수신한다. 이후, 프록시(110)는 전자 장치(100)에 등록 상태 업데이트를 요청하고, 서버(120)로부터 사용자 인증을 위한 정보를 수신한다(1750). 프록시(110)는 사용자 인증을 수행하고(1760), 인증 완료 메시지를 서버(120)에 전송한다.Referring to FIG. 17, when the terminal 130 and the electronic device 100 are connected to the proxy 110, the proxy 110 requests the electronic device 100 for information for registration of the electronic device 100 ( 1700). When information for registration is received from the electronic device 100 (1710), the electronic device 100 is registered (1720), and a registration state update is requested from the electronic device 100 (1730). In addition, information for registration of the electronic device 100 is transmitted to the server 120 (1740), and a registration completion message of the electronic device 100 is received from the server 120. Thereafter, the proxy 110 requests the electronic device 100 to update the registration status, and receives information for user authentication from the server 120 (1750). The proxy 110 performs user authentication (1760) and transmits an authentication completion message to the server 120.

도 18은 본 발명의 일 실시예에 의한 서버(120)의 동작을 설명하기 위한 순서도이다.18 is a flow chart illustrating the operation of the server 120 according to an embodiment of the present invention.

도 18을 참조하면, 서버(120)는 단말(130)로부터 사용자 계정 생성 요청이 있으면 사용자 계정을 생성한다(1800). 프록시(110)로부터 전자 장치(100)의 등록을 위한 정보를 수신하면(1810), 전자 장치를 등록하고(1820), 단말(130)에 전자 장치(100)의 등록에 관한 메시지를 전송한다(1830). 이후, 단말(130)로부터 사용자 인증을 위한 정보를 수신하면(1840), 사용자 인증을 수행하고(1850), 프록시(110)에 사용자 인증을 위한 정보를 전송한다(1860). 프록시(110)로부터 인증 완료 메시지를 수신하면, 단말(130)에 인증 완료 메시지를 전송한다(1870).Referring to FIG. 18, the server 120 creates a user account when there is a request to create a user account from the terminal 130 (1800 ). When information for registration of the electronic device 100 is received from the proxy 110 (1810), the electronic device is registered (1820), and a message regarding registration of the electronic device 100 is transmitted to the terminal 130 ( 1830). Thereafter, when information for user authentication is received from the terminal 130 (1840), user authentication is performed (1850), and information for user authentication is transmitted to the proxy 110 (1860). Upon receiving the authentication completion message from the proxy 110, the authentication completion message is transmitted to the terminal 130 (1870).

도 19는 본 발명의 일 실시예에 의한 신규 단말(130)의 동작을 설명하기 위한 순서도이다.19 is a flow chart for explaining the operation of the new terminal 130 according to an embodiment of the present invention.

도 19를 참조하면, 신규 단말(130)은 서버(120)에 추가 사용자 계정을 생성하고(1900), 서버(120)에 최초 사용자 정보를 전송한다(1910). 이후, 서버(120)로부터 단말(130)이 관리하는 전자 장치 목록을 수신하며(1920), 수신된 전자 장치 목록 중에서 적어도 하나를 선택한다(1930). 또한, 서버(120)에 선택된 전자 장치의 URI를 전송하고(1940), 서버(120)로부터 선택된 전자 장치의 고유 코드를 수신한다(1950). 또한, 서버(120)에 추가 사용자의 인증 요청을 하며(1960), 인증이 완료되면 서버(120)로부터 인증 완료 메시지를 수신한다.Referring to FIG. 19, the new terminal 130 creates an additional user account in the server 120 (1900) and transmits initial user information to the server 120 (1910 ). Thereafter, a list of electronic devices managed by the terminal 130 is received from the server 120 (1920), and at least one of the received electronic device lists is selected (1930). In addition, the URI of the selected electronic device is transmitted to the server 120 (1940), and a unique code of the selected electronic device is received from the server 120 (1950). In addition, an authentication request of an additional user is requested to the server 120 (1960), and when authentication is completed, an authentication completion message is received from the server 120.

본 발명에서 단말(130)은 데이터를 수신하는 수신부(미도시), 데이터를 전송하는 송신부(미도시), 데이터를 표시하는 디스플레이부(미도시) 및 사용자 인증을 수행하도록 하는 등 단말(130)을 전체적으로 제어하는 제어부(미도시)를 포함한다.In the present invention, the terminal 130 includes a receiving unit (not shown) that receives data, a transmission unit (not shown) that transmits data, a display unit (not shown) that displays data, and performs user authentication. It includes a control unit (not shown) that controls the whole.

또한, 전자 장치(100)는 데이터를 수신하는 수신부(미도시), 데이터를 전송하는 송신부(미도시), 데이터를 표시하는 디스플레이부(미도시) 및 전자 장치(100)를 등록하기 위한 정보를 전송하도록 하는 등 전자 장치(100)를 전체적으로 제어하는 제어부(미도시)를 포함한다.In addition, the electronic device 100 includes a receiving unit (not shown) for receiving data, a transmitting unit (not shown) for transmitting data, a display unit (not shown) for displaying data, and information for registering the electronic device 100. It includes a control unit (not shown) that controls the electronic device 100 as a whole.

또한, 프록시(110)는 데이터를 수신하는 수신부(미도시), 데이터를 전송하는 송신부(미도시) 및 전자 장치(100)를 등록하거나, 사용자 인증을 수행하는 등 프록시(110)를 전체적으로 제어하는 제어부(미도시)를 포함한다.In addition, the proxy 110 controls the proxy 110 as a whole, such as registering a receiver (not shown) that receives data, a transmitter (not shown) that transmits data, and the electronic device 100, or performs user authentication. It includes a control unit (not shown).

또한, 서버(120)는 데이터를 수신하는 수신부(미도시), 데이터를 전송하는 송신부(미도시) 및 전자 장치(100)를 등록 하는 등 서버(120)를 전체적으로 제어하는 제어부(미도시)를 포함한다.In addition, the server 120 includes a receiver (not shown) that receives data, a transmitter (not shown) that transmits data, and a control unit (not shown) that controls the server 120 as a whole, such as registering the electronic device 100. Include.

한편, 본 발명의 상세한 설명에서는 구체적인 실시 예에 관해 설명하였으나, 본 발명의 범위에서 벗어나지 않는 한도 내에서 여러 가지 변형이 가능함은 물론이다.Meanwhile, although specific embodiments have been described in the detailed description of the present invention, various modifications may be made without departing from the scope of the present invention.

그러므로 본 발명의 범위는 설명된 실시 예에 국한되지 않으며, 후술되는 특허청구의 범위뿐만 아니라 이 특허청구의 범위와 균등한 것들에 의해 정해져야 한다.Therefore, the scope of the present invention is not limited to the described embodiments, and should be determined not only by the scope of the claims to be described later, but also by the scope and equivalents of the claims.

100: WoT 가전 110: WoT 프록시
120: 클라우드 서버 130: 스마트 단말
100: WoT Appliances 110: WoT Proxy
120: cloud server 130: smart terminal

Claims (3)

삭제delete 단말이 수행하는 서비스 제공 방법에 있어서,
어플리케이션을 이용하여 서버에 사용자 계정을 생성하는 단계;
전자 장치가 소프트웨어 AP 모드로 동작하면, 상기 전자 장치의 접속 정보(SSID)를 이용하여 전자 장치에 접속하는 단계;
상기 전자 장치에 접속한 이후에, 프록시의 접속 정보 및 상기 서버에 생성된 사용자 계정에 대한 정보를 전자 장치에 제공하는 단계;
상기 프록시의 접속 정보를 이용하여 프록시에 접속하는 단계
를 포함하고,
상기 전자 장치와 단말은, 프록시의 접속 정보를 이용하여 프록시에 접속하고,
상기 프록시는, 상기 전자 장치를 프록시에 등록하고, 상기 전자 장치의 등록을 위한 정보를 서버에 전송하여 상기 전자 장치를 서버에 등록하고,
상기 전자 장치의 등록을 위한 정보는,
상기 서버에 생성된 사용자 계정에 대한 정보 및 상기 전자 장치에 대한 정보를 포함하는 서비스 제공 방법.
In the service providing method performed by the terminal,
Creating a user account on the server using the application;
When the electronic device operates in a software AP mode, accessing the electronic device using access information (SSID) of the electronic device;
After accessing the electronic device, providing access information of a proxy and information on a user account created in the server to the electronic device;
Accessing a proxy using the proxy's access information
Including,
The electronic device and the terminal access the proxy by using the connection information of the proxy,
The proxy registers the electronic device with a proxy, sends information for registration of the electronic device to a server, and registers the electronic device with the server,
Information for registration of the electronic device,
A service providing method including information on a user account created in the server and information on the electronic device.
전자 장치가 수행하는 서비스 제공 방법에 있어서,
소프트웨어 AP 모드로 전환하는 단계;
상기 소프트웨어 AP 모드로 전환하면, 상기 전자 장치의 접속 정보로 연결한 단말로부터 프록시의 접속 정보 및 서버에 생성된 사용자 계정에 대한 정보를 수신하는 단계;
상기 프록시의 접속 정보를 이용하여 프록시에 접속하는 단계;
상기 사용자 계정에 대한 정보와 상기 전자 장치에 대한 정보를 프록시에 제공하는 단계
를 포함하고,
상기 프록시는, 상기 사용자 계정에 대한 정보와 상기 전자 장치에 대한 정보를 서버에 제공하여 전자 장치를 등록하고,
상기 단말은, 어플리케이션을 이용하여 서버에 사용자 계정을 생성한 서비스 제공 방법.
In the method of providing a service performed by an electronic device,
Switching to a software AP mode;
Upon switching to the software AP mode, receiving proxy access information and information on a user account created in a server from a terminal connected with access information of the electronic device;
Accessing a proxy using the proxy's access information;
Providing information on the user account and information on the electronic device to a proxy
Including,
The proxy registers the electronic device by providing information on the user account and information on the electronic device to a server,
The terminal, a service providing method in which a user account is created in a server using an application.
KR1020190089012A 2014-10-21 2019-07-23 Apparatus for providing home network service and method thereof Active KR102216111B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020210017735A KR102258608B1 (en) 2014-10-21 2021-02-08 Apparatus for providing home network service and method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020140142682 2014-10-21
KR20140142682 2014-10-21

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020150105267A Division KR102005059B1 (en) 2014-10-21 2015-07-24 Apparatus for providing home network service and method thereof

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR1020210017735A Division KR102258608B1 (en) 2014-10-21 2021-02-08 Apparatus for providing home network service and method thereof

Publications (2)

Publication Number Publication Date
KR20190089811A KR20190089811A (en) 2019-07-31
KR102216111B1 true KR102216111B1 (en) 2021-02-16

Family

ID=55915807

Family Applications (6)

Application Number Title Priority Date Filing Date
KR1020150105364A Active KR102000234B1 (en) 2014-10-21 2015-07-24 Apparatus for providing home network service and method thereof
KR1020150105267A Active KR102005059B1 (en) 2014-10-21 2015-07-24 Apparatus for providing home network service and method thereof
KR1020190082700A Active KR102216103B1 (en) 2014-10-21 2019-07-09 Apparatus for providing home network service and method thereof
KR1020190089012A Active KR102216111B1 (en) 2014-10-21 2019-07-23 Apparatus for providing home network service and method thereof
KR1020210017735A Active KR102258608B1 (en) 2014-10-21 2021-02-08 Apparatus for providing home network service and method thereof
KR1020210066715A Active KR102312994B1 (en) 2014-10-21 2021-05-25 Apparatus for providing home network service and method thereof

Family Applications Before (3)

Application Number Title Priority Date Filing Date
KR1020150105364A Active KR102000234B1 (en) 2014-10-21 2015-07-24 Apparatus for providing home network service and method thereof
KR1020150105267A Active KR102005059B1 (en) 2014-10-21 2015-07-24 Apparatus for providing home network service and method thereof
KR1020190082700A Active KR102216103B1 (en) 2014-10-21 2019-07-09 Apparatus for providing home network service and method thereof

Family Applications After (2)

Application Number Title Priority Date Filing Date
KR1020210017735A Active KR102258608B1 (en) 2014-10-21 2021-02-08 Apparatus for providing home network service and method thereof
KR1020210066715A Active KR102312994B1 (en) 2014-10-21 2021-05-25 Apparatus for providing home network service and method thereof

Country Status (1)

Country Link
KR (6) KR102000234B1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102706335B1 (en) * 2019-07-17 2024-09-13 삼성전자주식회사 Home network system, server and control method of server
KR102042186B1 (en) 2019-08-08 2019-11-27 마인엔지니어링건축사사무소 주식회사 Method for home networking system with customizable and controllable to user
KR102042194B1 (en) 2019-08-08 2019-11-07 마인엔지니어링건축사사무소 주식회사 System for home network with efficient control
KR102319511B1 (en) * 2020-10-15 2021-10-28 김재학 System for operation and service provision of IoT platform
KR20220102261A (en) * 2021-01-13 2022-07-20 삼성전자주식회사 Electronic device and method to change binary of the electronic device
KR20230072205A (en) * 2021-11-17 2023-05-24 삼성전자주식회사 Apparatus and method for registering home appliance to a server

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140254466A1 (en) * 2013-02-21 2014-09-11 Qualcomm Incorporated Interleaving Advertising Packets For Improved Detectability And Security

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7703134B2 (en) * 2005-01-28 2010-04-20 Sony Corporation De-authentication of network component
KR20070021903A (en) * 2005-08-19 2007-02-23 한국전자통신연구원 Broadcasting message transmission method in wireless portable internet system
US7956735B2 (en) * 2006-05-15 2011-06-07 Cernium Corporation Automated, remotely-verified alarm system with intrusion and video surveillance and digital video recording
CN101207613B (en) * 2006-12-21 2012-01-04 松下电器产业株式会社 Method, system and apparatus for authentication of striding network area information communication
US20110047253A1 (en) * 2009-08-19 2011-02-24 Samsung Electronics Co. Ltd. Techniques for controlling gateway functionality to support device management in a communication system
CN102123494B (en) * 2010-01-09 2014-08-20 华为终端有限公司 Method, device and system for logging out and revoking a femto base station
EP2553643A4 (en) * 2010-03-31 2014-03-26 Mediamath Inc Systems and methods for integration of a demand side platform
TWI610552B (en) * 2011-02-11 2018-01-01 內數位專利控股公司 Systems, methods and apparatus for managing machine-to-machine (m2m) entities
KR101867813B1 (en) * 2011-04-12 2018-06-18 엘지전자 주식회사 Server system and online service for device management
KR102069876B1 (en) * 2012-12-21 2020-01-23 삼성전자주식회사 Electronic device, Personal cloud apparatus, Personal cloud system and Method for registering personal cloud apparatus in user portal server thereof
KR102056080B1 (en) * 2013-03-19 2019-12-16 삼성전자주식회사 Method and apparatus for providing state information

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140254466A1 (en) * 2013-02-21 2014-09-11 Qualcomm Incorporated Interleaving Advertising Packets For Improved Detectability And Security

Also Published As

Publication number Publication date
KR102258608B1 (en) 2021-06-01
KR20210019046A (en) 2021-02-19
KR102216103B1 (en) 2021-02-16
KR20160046710A (en) 2016-04-29
KR102000234B1 (en) 2019-07-16
KR20190084932A (en) 2019-07-17
KR102005059B1 (en) 2019-07-30
KR102312994B1 (en) 2021-10-13
KR20190089811A (en) 2019-07-31
KR20160046711A (en) 2016-04-29
KR20210064147A (en) 2021-06-02

Similar Documents

Publication Publication Date Title
KR102216111B1 (en) Apparatus for providing home network service and method thereof
KR102318279B1 (en) Method and apparatus for transmitting and receiving authentication information in a wireless communication system
EP3425566B1 (en) Electronic device and method of registering personal cloud apparatus in user portal server thereof
US9749146B2 (en) Apparatus and methods for providing home network service
CN110912789B (en) Intelligent household Internet of things communication method based on Alicloud IoT Hub platform
US11082421B2 (en) Bootstrap mechanism for endpoint devices
US10306705B2 (en) Secure connected device control and monitoring system
KR102210748B1 (en) Apparatus and method for registrating a home device to a server in a home network system
KR102478098B1 (en) Method and apparatus for controlling visitor calling in home network system
JP6944950B2 (en) Coordination service for groups of Internet of Things (IoT) devices
KR102133755B1 (en) A method and apparatus for managing access information for registration of device in a smart home service
KR102005408B1 (en) Method and apparatus for registering and authenticating a device in a wireless communication system
US9667504B2 (en) Communication system having management apparatus and user apparatus, management apparatus, user apparatus, and method of controlling the same
WO2012130048A1 (en) Method and apparatus for initializing gateway in device management system
Lee et al. Automating Configuration System and Protocol for Next‐Generation Home Appliances
KR101632753B1 (en) Intermediating apparatus and method for providing device management service
CN113347623B (en) Method and system for uploading sub-equipment
WO2017142019A1 (en) Communication apparatus, router, server, system, and setting method
WO2014035783A1 (en) Systems and methods for efficient remote security panel configuration and management
KR20140017427A (en) Method for initial cofigurating of apparatus and apparatus having function of initial configuration
JP2018037089A (en) Network device, terminal device capable of communicating with network device, live-camera device capable of communicating with network device, and identification server to communicate with network device
KR20140095410A (en) Method and Apparatus for Initial Configuration System for the Wireless Devices by using the Wireless Gateway at the Internet Environment
JP2014192597A (en) Communication control method, local device, information processing terminal, communication path establishment supporting device, and program

Legal Events

Date Code Title Description
A107 Divisional application of patent
PA0107 Divisional application

Comment text: Divisional Application of Patent

Patent event date: 20190723

Patent event code: PA01071R01D

Filing date: 20150724

Application number text: 1020150105267

PG1501 Laying open of application
PA0201 Request for examination

Patent event code: PA02012R01D

Patent event date: 20200724

Comment text: Request for Examination of Application

Patent event code: PA02011R04I

Patent event date: 20190723

Comment text: Divisional Application of Patent

E902 Notification of reason for refusal
PE0902 Notice of grounds for rejection

Comment text: Notification of reason for refusal

Patent event date: 20200803

Patent event code: PE09021S01D

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

Patent event code: PE07011S01D

Comment text: Decision to Grant Registration

Patent event date: 20201106

GRNT Written decision to grant
PA0107 Divisional application

Comment text: Divisional Application of Patent

Patent event date: 20210208

Patent event code: PA01071R01D

Filing date: 20150724

Application number text: 1020150105267

PR0701 Registration of establishment

Comment text: Registration of Establishment

Patent event date: 20210208

Patent event code: PR07011E01D

PR1002 Payment of registration fee

Payment date: 20210209

End annual number: 3

Start annual number: 1

PG1601 Publication of registration
PR1001 Payment of annual fee

Payment date: 20231127

Start annual number: 4

End annual number: 4