KR20210064147A - 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
KR20210064147A
KR20210064147A KR1020210066715A KR20210066715A KR20210064147A KR 20210064147 A KR20210064147 A KR 20210064147A KR 1020210066715 A KR1020210066715 A KR 1020210066715A KR 20210066715 A KR20210066715 A KR 20210066715A KR 20210064147 A KR20210064147 A KR 20210064147A
Authority
KR
South Korea
Prior art keywords
electronic device
server
information
proxy
terminal
Prior art date
Application number
KR1020210066715A
Other languages
Korean (ko)
Other versions
KR102312994B1 (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 KR20210064147A publication Critical patent/KR20210064147A/en
Application granted granted Critical
Publication of KR102312994B1 publication Critical patent/KR102312994B1/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]
    • 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

Abstract

The present invention relates to a device for providing a home network service and a method thereof. The method comprises the following processes of: 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; and receiving a message regarding registration of the electronic device from the server. Therefore, the method can provide convenience to a user.

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 in which devices having a web interface are connected to the Internet to provide various services to users. 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를 활용하는 모델을 제시하고 있다.Recently, as Wi-Fi technology is widely used, it is expected that home electronic devices such as refrigerators, washing machines, and rice cookers will 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 to provide these services, but since it is based on TCP (transmission control protocol), it is impossible to operate it on general MCU (micro controller unit) level hardware. there is To solve this problem, the IETF CORE (Constrained RESTful Environments) working group standardized CoAP (constrained application protocol), a lightweight web-based 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. For this, the IETF CORE proposes a model that utilizes CoAP in the local network and HTTP in the Internet network. .

한편, 다양한 홈 전자장치를 인터넷에 연결시켜 네트워크 서비스를 사용자에게 제공하기 위한 노력을 하고 있지만, 인터넷이나 전자장치에 익숙하지 않은 사용자에게 전자 장치를 인터넷에 연결하고 등록하는 등의 초기 설정은 쉽지 않다. 이를 위해 다양한 장치 제어 및 관리를 위한 미들웨어 프로토콜 기술이 개발되고 있지만, 네트워크 환경의 복잡성, 구현의 복잡성 등으로 인해 활용이 제한적이라는 문제가 있다.On the other hand, although efforts are being made to provide network services to users by connecting various home electronic devices to the Internet, it is not easy for users unfamiliar with the Internet or electronic devices to initially set up the electronic devices to connect to the Internet and register them. . For this purpose, middleware protocol technology for controlling and managing various devices is being developed, but there is a problem that the 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 that can easily configure 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 to be described later, the characteristic configuration of the present invention is as follows.

일실시예에 따른, 홈 네트워크 서비스를 제공하기 위한 방법에 있어서,서버에 사용자 계정을 생성하는 과정과; 전자 장치로부터 제1 초기 설정 정보를 수신하는 과정과; 상기 전자 장치에 제2 초기 설정 정보를 전송하는 과정과; 상기 서버로부터 상기 전자 장치의 등록에 관한 메시지를 수신하는 과정을 포함할 수 있다.According to an embodiment, there is provided a method for providing a home network service, the method 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; The method may include receiving a message regarding registration of the electronic device from the server.

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

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

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

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

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

다른 실시예에 따른, 홈 네트워크 서비스를 제공하기 위한 방법에 있어서, 상기 제2 초기 설정 정보는 상기 프록시의 SSID 및 비밀번호, 상기 사용자 계정에서 이용하는 ID 및 비밀번호 중 적어도 하나인 것을 특징으로 하는 포함할 수 있다.In the 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, and an ID and password used in the user account. have.

일실시예에 따른, 홈 네트워크 서비스를 제공하기 위한 방법에 있어서, 전자 장치로부터 상기 전자 장치의 등록을 위한 정보를 수신하는 과정과; 상기 전자 장치를 등록하는 과정과; 서버에게 상기 전자 장치의 등록을 위한 정보를 전송하는 과정과; 상기 서버로부터 상기 전자 장치의 등록 완료 메시지를 수신하는 과정과; 상기 전자 장치에게 등록 상태 업데이트 메시지를 전송하는 과정을 포함할 수 있다.According to an embodiment, a method for providing a home network service, 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; The method may include transmitting a registration status update message to the electronic device.

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

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

일실시예에 따른, 홈 네트워크 서비스를 제공하기 위한 방법에 있어서, 사용자 계정을 생성하는 과정과; 프록시로부터 전자 장치의 등록을 위한 정보를 수신하는 과정과; 상기 전자 장치를 등록하는 과정과; 단말에 상기 전자 장치의 등록에 관한 메시지를 전송하는 과정과; 상기 프록시에 상기 전자 장치의 등록 완료 메시지를 전송하는 과정을 포함할 수 있다.According to an embodiment, there is provided a method for providing a home network service, 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 related to registration of the electronic device to a terminal; and transmitting a registration completion message of the electronic device to the proxy.

다른 실시예에 따른, 홈 네트워크 서비스를 제공하기 위한 방법에 있어서, 상기 단말에 신규 사용자 추가 요청 메시지를 전송하는 과정과; 신규 단말에 상기 단말이 관리하는 전자 장치 목록을 전송하는 과정과; 상기 신규 단말로부터 상기 신규 사용자가 선택한 전자 장치에 관한 정보를 수신하는 과정과; 상기 단말에 상기 신규 사용자의 전자 장치의 제어 및 관리를 위한 사용자 추가를 요청하는 과정과; 상기 신규 단말에 상기 신규 사용자가 선택한 전자 장치의 고유 코드를 전송하는 과정과; 상기 신규 단말로부터 상기 신규 사용자 인증을 위한 정보를 수신하는 과정과; 상기 프록시에 상기 신규 사용자 인증을 위한 정보를 전송하는 과정을 포함할 수 있다.According to another embodiment, there is provided a method for providing a home network service, the method comprising: transmitting a new user addition request message to the terminal; transmitting a list of electronic devices managed by the terminal to a new terminal; receiving information about 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 a 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; and transmitting information for authenticating the new user to the proxy.

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

다른 실시예에 따른, 홈 네트워크 서비스를 제공하기 위한 방법에 있어서, 상기 단말로부터 상기 전자 장치를 사용하는 사용자 목록의 요청을 수신하는 과정과; 상기 단말에게 상기 사용자 목록을 전송하는 과정과;상기 단말로부터 상기 전자 장치를 사용하는 사용자 중 소정의 사용자의 인증 해제 요청을 수신하는 과정과;상기 프록시에게 상기 소정의 사용자의 인증 해제 요청을 전송하는 과정을 더 포함할 수 있다.According to another embodiment, there is provided a method for providing a home network service, the method 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 de-authentication request of a predetermined user among users using the electronic device from the terminal; transmitting a de-authentication request of the predetermined user to the proxy More processes may be 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.

일실시예에 따른, 홈 네트워크 서비스를 제공하기 위한 방법에 있어서,서버에 사용자 계정을 생성하는 과정과; 상기 서버에 최초 사용자 정보를 전송하는 과정과;상기 서버로부터 상기 최초 사용자가 관리하는 전자 장치 목록을 수신하는 과정과; 상기 서버에 상기 전자 장치 목록 중에서 선택된 전자 장치에 관한 정보를 전송하는 과정과;상기 서버로부터 상기 선택된 전자 장치의 고유 코드를 수신하는 과정을 포함할 수 있다.According to an embodiment, there is provided a method for providing a home network service, the method 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; The method may include transmitting information about 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 of the present disclosure, a method for providing a home network service may further include: selecting an electronic device from which authentication is desired; and requesting the server to release authentication.

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

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

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

도 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 diagram for explaining a message type used in a home network system according to an embodiment of the present invention;
3 is a flowchart illustrating an initial setting method of a home network system according to an embodiment of the present invention;
4 is a flowchart illustrating an advertisement message used in a home network system according to an embodiment of the present invention;
5 is a flowchart illustrating a discovery message used in a home network system according to an embodiment of the present invention;
6 is a flowchart illustrating a registration message used in a home network system according to an embodiment of the present invention;
7 is a flowchart illustrating 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 illustrating a control message used in a home network system according to an embodiment of the present invention;
10 is a flowchart illustrating an apply message used in a home network system according to an embodiment of the present invention.
11 is a flowchart illustrating 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 for explaining a method of removing a user from a home network system according to an embodiment of the present invention.
15 is a flowchart 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 flowchart illustrating an operation of a proxy according to an embodiment of the present invention.
18 is a flowchart for explaining the operation of a server according to an embodiment of the present invention.
19 is a flowchart 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 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 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, an electronic device) has a web interface and is an electronic device 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 and a middleware 153 and a device application 150 for device control and management. 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 to compensate for the shortcomings of the web software (CoAP) 156 of unidirectional message delivery in a server/client structure. The middleware 153 and the web software (CoAP) 156 may be located above the embedded OS (RTOS) 159 including a UDP stack for transmitting data based on 802.11 and IP, which is a wireless LAN standard.

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 a proxy) connects an internal home network and an external home Internet network, and serves as a gateway. 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/ C) (166). In addition, it may include a WoT proxy module (WoT Proxy) 160 for delivering the HTTP-based message to the electronic device 100 as a CoAP protocol, and the WoT proxy module 160 delivers the message from the device to the CoAP. It can also support the HTTP-based delivery of the received message to an external service node. In this case, the proxy platform may use any operating system as long as it can accommodate UDP and TCP protocols for transmitting 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) may communicate with the proxy 110 and provide an open application program interface (API) to the outside. It is possible to monitor and manage the electronic device 100 based on HTTP through the Internet network, and a web server/client (Web Server/Client) 173 and application service (WoT Service) that can provide this function as an open API. (170). For the server platform, any operating system can be used as long as it can accommodate the IP-based TCP protocol, and HTTP, which is a general web communication protocol, must be able to 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 referred to as 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 WoT service 180 and a web client 183 for open API support. The Smart Device Platform can use any operating system as long as it can accommodate UDP and TCP protocols that transmit data based on IP, and HTTP(186), a general communication protocol, is used on the TCP protocol stack. Web software (CoAP) 190 and middleware 189 may be located on the UDP protocol stack.

도 2는 본 발명의 일 실시예에 의한 홈 네트워크 시스템에서 이용하는 메시지 타입을 설명하기 위한 도면이다.2 is a diagram for explaining 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 an HTTP-based message is used between the proxy 110 , the server 120 , and the terminal 130 . You can use Json (javascript standard object notation) type of message.

본 발명에서 이용하는 미들웨어 프로토콜은 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 defines URI, Method (Get, Put, Delete, Post), and payload (Paylaod) by utilizing Restful-based CoAP protocol and HTTP protocol, and the server 120 actively transmits the message. A simple binary protocol for UDP broadcasting can be included to solve the constraint of the CoAP protocol of the undeliverable server/client structure. At this time, method is for discovery, advertisement, authentication, etc., get is for discovery, registration, information, event, and put is used for advertisement, discovery, registration, information, event, control, authentication, etc. The WoT home appliance 100 may use various protocols such as MQTT-S (MQ Telemetry Transport For Sensors), which is a protocol for machine-to-machine communication.

도 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) 및 비밀번호, 사용자 전화번호 정보 등을 등록할 수 있다.Referring to FIG. 3 , the user creates an account on the server 120 using the terminal 130 ( 300 ), and in this case, the user downloads the app using a QR code or NFC function in the electronic device 100 . After doing so, the user's ID and password, user phone number information, and the like may be registered in the server 120 .

또한, 전자 장치(100)는 최초 전원이 켜지면 고유의 SSID(Service Set Identifier)를 생성하고, software AP(access point) 모드로 동작한다(303). 단말(130)은 전자 장치(100)의 SSID를 입력하여 전자 장치(100)에 접속하는데, 이때 전자 장치(100)에서 단말(130)에 광고 메시지를 전송하면(305), 단말(130)은 전자 장치(100)에 광고 메시지를 전송한다(310). 단말(130)은 전자 장치(100)의 SSID를 미리 알 수 있으며, 필요에 따라 비밀번호를 사용할 수 있다.Also, when power is first turned on, the electronic device 100 generates a unique service set identifier (SSID) 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) 미들웨어로 전달될 수 있다.After the terminal 130 and the electronic device 100 are connected, they transmit and receive information for initial setting ( 315 and 320 ). For example, the information for initial setting includes a unique code of the electronic device 100 , an SSID of the proxy 110 , and The password, the ID and password registered by the terminal 130 in the server 120, information about the terminal 130, 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 may 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 registered, 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 thereto to the proxy 110 ( 355 ) ). Also, the proxy 110 requests the server 120 to register the electronic device 100 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 informing the terminal 130 that the electronic device 100 is registered with the server 120 . There is (365). When the proxy 110 receives the registration completion message from the server 120 , it requests the electronic device 100 to update the registration status ( 375 ), and the electronic device 100 transmits a response message 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 registration of a new device informing the server 120 that the electronic device 100 is registered to the terminal 130 . This may 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 uses the information for user authentication received from the terminal 130 to complete server authentication ( 391). When the authentication is completed, the server 120 transmits the information for user authentication received from the terminal 130 to the proxy 110 (390), and the proxy 110 sends an authentication completion message after completing the authentication (393). It transmits to the server 120 (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 password, and the like.

이하에서는 본 발명에서 이용하는 메시지에 대해서 구체적으로 살펴보도록 한다.Hereinafter, the 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 informing the proxy 110 or other devices connected to the network whether or not to register their URI information or not when a predetermined device is first connected to a network or is powered on.

도 4를 참조하여 광고 메시지가 이용되는 일 예를 살펴보면, 전자 장치(100)가 네트워크에 연결되면 전자 장치(100)는 프록시(110)에게 광고 메시지를 전송하고(400), 프록시(110)는 전자 장치(100)에 광고 메시지를 전송할 수 있다(405). 또한, 프록시(110)는 서버(120)에 전자 장치(100)에 관한 정보를 전송하고(410), 서버(120)는 이에 대한 응답 메시지를 프록시(110)에게 전송할 수 있다. 또한, 전자 장치(100)와 단말(130) 사이에서도 광고 메시지를 상호 전송 할 수 있다(420,430).Referring to 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 thereto to the proxy 110 . Also, an advertisement message may be mutually transmitted between the electronic device 100 and the terminal 130 ( 420 and 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).Referring to 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 from the server 120 ( 540 ), the server 120 uses the advertisement message information transmitted from the proxy 110 to provide information about the electronic device 100 . The information is transmitted to the terminal 130 (550). Also, 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 . Referring to 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 registered, the proxy 110 requests information for registration from the electronic device 100 ( 620 ), and receives the information from the electronic device 100 . When information for registration is received ( 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 ). Also, the proxy 110 requests the server 120 to register the electronic device 100 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 ). When the proxy 110 receives the response message from the server 120 , it 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 about the device, and the information about the device may correspond to a name, type, model name, manufacturer name, hardware (H/W) and firmware version, and the like.

도 7을 참조하여 정보 메시지가 이용되는 일 예를 살펴보면, 프록시(110)에서 전자 장치(100)에 장치에 관한 정보를 요청하면(700), 전자 장치(100)는 프록시(110)에 장치에 관한 정보를 전송한다(710). 이후, 프록시(110)는 서버(120)에 전자 장치(100)에 관한 정보를 전송하며(720), 서버(120)는 프록시(110)에 응답 메시지를 전송한다(730). 단말(130)이 서버(120)에 전자 장치(100)에 관한 정보를 요청하면(740), 서버(120)는 전자 장치(100)에 관한 정보를 단말(130)에 전송한다(750).Referring to an example in which an information message is used with reference to FIG. 7 , when the proxy 110 requests device information from the electronic device 100 ( 700 ), the electronic device 100 sends the proxy 110 to the device. It transmits information about the operation (710). Thereafter, the proxy 110 transmits information about the electronic device 100 to the server 120 in operation 720 , and the server 120 transmits a response message to the proxy 110 in operation 730 . When the terminal 130 requests information about the electronic device 100 from the server 120 ( 740 ), the server 120 transmits 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 occurs periodically, 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)에 푸쉬 메시지를 전송할 수도 있다.Referring to 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 . request ( 810 ), and 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 in operation 830 , and the server 120 transmits a response message to the proxy 110 in operation 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.

제어 메시지는 장치 제어를 위해 사용되며, 원격에서 장치를 제어할 수 있다.Control messages are used to control the device, 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).Referring to 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 sends the electronic device to the proxy 110 . The 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 updates 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 . A message is transmitted (1050).

한편, 전자 장치(100)는 업데이트를 완료하면(1055), 업데이트 적용 완료 메시지를 프록시(110)에 전송하고(1060), 프록시(110)는 서버(120)에 업데이트 적용 완료 메시지를 전송하며(1070), 서버(120)는 응답 메시지를 프록시(110)에 전송한다(1080). 단말(130)이 서버(120)에 업데이트 결과를 요청하면(1090), 서버(120)는 업데이트 결과를 단말(130)에 전송한다(1099).On the other hand, 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 illustrating an 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 permission to access 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 sends the user's ID and password and the unique code of the electronic device 100 to the proxy 110 to request access to the corresponding device. send.

도 11을 참조하여 인증 메시지가 이용되는 일 예를 살펴보면, 프록시(110)에서 단말(130)에 서버(120)에 전자 장치(100)가 등록됨을 알리는 새로운 장치의 추가 메시지를 전송하면(1100), 단말(130)은 서버(120)에 인증 정보를 전송하고 인증을 요청하며(1110), 서버(120)는 프록시(110)에 단말(130)로부터 수신한 인증 정보를 전송하고 인증을 요청한다(1120). 이때, 인증 정보는 사용자의 ID와 비밀번호 및 전자 장치(100)의 고유 코드가 해당될 수 있다.Referring to 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 ), and 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 of the added user is required.

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

계정을 생성한 후 추가 사용자는 자신이 최초 사용자가 아닌 추가 사용자임을 알리는데, 일 예로 앱을 이용하여 최초 등록이 아닌 이미 등록된 전자 장치(100) 사용을 선택하고 최초 사용자에 대한 정보를 입력한다(1205). 이때, 최초 사용자에 대한 정보는 단말(130)에 대한 전화번호, 최초 사용자 ID 등이 해당될 수 있으며, 입력된 최초 사용자에 대한 정보는 서버(120)에 전송된다.After creating the account, the additional user notifies that he is an additional user rather than the first user. For example, he selects to use the already registered electronic device 100 rather than the initial registration using the app and inputs information about the first user. (1205). In this case, the information on the first user may correspond to 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 the additional user, such as an additional user ID, to the terminal 130 to request the addition of a user (1215), and when the initial user approves the additional registration, the terminal 130 sends a message about 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 received list of electronic devices 100 . 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 transmits the additional user ID and the URI of the electronic device 100 selected by the additional user to the terminal 130 to request the addition of a new user ( 1235 ), and the terminal 130 sends 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 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 an additional user does not use the electronic device 100 , the user's deletion of the corresponding device is required. The additional user may be deleted by the additional user himself or by the initial user. Fig. 13 shows the case where the additional user himself deletes, and Fig. 14 shows the case where the initial user deletes it.

먼저 도 13을 참조하면, 추가 사용자는 사용하지 않는 전자 장치(100)를 선택하고(1300), 추가 사용자의 ID 등 추가 사용자 정보를 서버(120)에 전송하여 사용자 인증 해제를 요청하는데(1310), 여기서, 인증 해제는 추가 사용자의 전자 장치(100)에 대한 접근 권한을 삭제하기 위한 것이다.First, referring to FIG. 13 , an additional user selects an unused electronic device 100 ( 1300 ), and transmits additional user information such as an ID of the additional user to the server 120 to request release of user authentication ( 1310 ) , Here, the authentication release 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 of the selected electronic device 100 and additional user information to the proxy 110 to request release of user authentication (1320), and the proxy 110 completes the release of authentication (1330), A 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, the first user selects the electronic device 100 not used by the additional user ( 1400 ), and the user authenticated to use the selected electronic device 100 . The list is requested from the server 120 (1410). The server 120 transmits to the terminal 130 a list of users authenticated to use the selected electronic device 100 , where the user list 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 release of the authentication of the additional user ( 1430 ), and the server 120 sends the selected electronic device 100 . transmits the unique code and the ID of the additional user to the proxy 110 to request de-authentication (1440). The proxy 110 completes the authentication release ( 1450 ), and transmits a response message to the server 120 ( 1460 ), and the server 120 transmits the response message to the terminal 130 ( 1470 ).

도 15는 본 발명의 일 실시예에 의한 단말(130)의 동작을 설명하기 위한 순서도이다.15 is a flowchart for explaining 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 on the server 120 ( 1500 ), receives initial setting information of the electronic device 100 from the electronic device 100 ( 1510 ), and the electronic device ( The initial setting information of the terminal 130 is transmitted to 100) (1520). Also, 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 for explaining the 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 power is first turned on, the electronic device 100 operates in the software AP mode ( 1600 ). Thereafter, initial setting information of the electronic device 100 is transmitted to the terminal 130 ( 1610 ), and initial setting 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 . send to

도 17은 본 발명의 일 실시예에 의한 프록시(110)의 동작을 설명하기 위한 순서도이다.17 is a flowchart for explaining 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 information for registration of the electronic device 100 from 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 status update is requested from the electronic device 100 ( 1730 ). Also, 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 flowchart for explaining 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 user account creation request 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 flowchart 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 (S1920), and at least one of the received electronic device lists is selected (S1930). Also, 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 additional user's authentication request is made to the server 120 (1960), and when authentication is completed, an authentication completion message is received from the server 120. FIG.

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

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

또한, 프록시(110)는 데이터를 수신하는 수신부(미도시), 데이터를 전송하는 송신부(미도시) 및 전자 장치(100)를 등록하거나, 사용자 인증을 수행하는 등 프록시(110)를 전체적으로 제어하는 제어부(미도시)를 포함한다.In addition, the proxy 110 controls the proxy 110 as a whole, such as registering a receiver (not shown) for receiving data, a transmitter (not shown) for transmitting data, and the electronic device 100 , or performing 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 controller (not shown) that controls the server 120 as a whole, such as registering the electronic device 100 . include

한편, 본 발명의 상세한 설명에서는 구체적인 실시 예에 관해 설명하였으나, 본 발명의 범위에서 벗어나지 않는 한도 내에서 여러 가지 변형이 가능함은 물론이다.On the other hand, although specific embodiments have been described in the detailed description of the present invention, various modifications are possible 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 defined by not only the claims described below, but also the claims and equivalents.

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

Claims (10)

단말이 수행하는 서비스 제공 방법에 있어서,
전자 장치가 소프트웨어 AP(Access Point) 모드로 동작하면, 상기 전자 장치의 접속 정보를 이용하여 전자 장치에 접속하는 단계;
상기 전자 장치에 접속한 이후에, 프록시의 접속 정보 및 서버에 등록된 사용자 계정에 대한 정보를 전자 장치에 제공하는 단계;
상기 프록시의 접속 정보를 이용하여 프록시에 접속하는 단계
를 포함하고,
상기 전자 장치의 등록을 위한 정보가 프록시를 통해 서버에 전달됨으로써 상기 전자 장치가 서버에 등록되고,
상기 전자 장치의 등록을 위한 정보는,
상기 서버에 등록된 사용자 계정에 대한 정보 및 상기 전자 장치에 대한 정보 중 적어도 하나를 포함하는 서비스 제공 방법.
In the service providing method performed by the terminal,
when the electronic device operates in a software access point (AP) mode, accessing the electronic device using access information of the electronic device;
providing, after accessing the electronic device, access information of a proxy and information on a user account registered in a server to the electronic device;
accessing the proxy using the proxy's access information
Including,
The electronic device is registered with the server by transmitting the information for registration of the electronic device to the server through a proxy,
Information for registration of the electronic device,
A service providing method comprising at least one of information on a user account registered in the server and information on the electronic device.
제1항에 있어서,
상기 전자 장치의 접속 정보는,
상기 전자 장치의 SSID 및 비밀 번호를 포함하는 서비스 제공 방법.
The method of claim 1,
The access information of the electronic device,
A service providing method including the SSID and password of the electronic device.
제1항에 있어서,
상기 단말은,
상기 서버에 전자 장치가 새로운 장치로 등록되었다는 메시지를 수신하는 서비스 제공 방법.
The method of claim 1,
The terminal is
A service providing method for receiving a message from the server indicating that the electronic device is registered as a new device.
제1항에 있어서,
상기 사용자 계정은,
상기 단말에 설치된 어플리케이션을 통해 서버에 등록되는 서비스 제공 방법.
The method of claim 1,
The user account is
A service providing method registered in a server through an application installed in the terminal.
전자 장치가 수행하는 서비스 제공 방법에 있어서,
소프트웨어 AP(Access Point) 모드로 전환하는 단계;
상기 소프트웨어 AP 모드로 전환하면, 단말로부터 프록시의 접속 정보 및 서버에 등록된 사용자 계정에 대한 정보를 수신하는 단계 -상기 단말은, 상기 전자 장치의 접속 정보를 이용하여 상기 전자 장치에 접속함-;
상기 단말로부터 수신한 프록시의 접속 정보를 이용하여 프록시에 접속하는 단계;
상기 사용자 계정에 대한 정보와 상기 전자 장치에 대한 정보를 프록시에 제공하는 단계
를 포함하고,
상기 사용자 계정에 대한 정보와 상기 전자 장치에 대한 정보가 프록시를 통해 서버에 전달됨으로써 상기 전자 장치가 서버에 등록되는 서비스 제공 방법.
A service providing method performed by an electronic device, the method comprising:
switching to a software access point (AP) mode;
receiving, from a terminal, access information of a proxy and information on a user account registered in a server, when switching to the software AP mode, wherein the terminal accesses the electronic device using the access information of the electronic device;
accessing the proxy using the proxy access information received from the terminal;
providing information on the user account and information on the electronic device to a proxy
Including,
A service providing method in which the electronic device is registered in the server by transmitting the information on the user account and the information on the electronic device to the server through a proxy.
제5항에 있어서,
상기 전자 장치의 접속 정보는,
상기 전자 장치의 SSID 및 비밀 번호를 포함하는 서비스 제공 방법.
The method of claim 5,
The access information of the electronic device,
A service providing method including the SSID and password of the electronic device.
제5항에 있어서,
상기 단말은,
상기 서버에 전자 장치가 새로운 장치로 등록되었다는 메시지를 수신하는 서비스 제공 방법.
The method of claim 5,
The terminal is
A service providing method for receiving a message from the server indicating that the electronic device is registered as a new device.
제5항에 있어서,
상기 사용자 계정은,
상기 단말에 설치된 어플리케이션을 통해 서버에 등록되는 서비스 제공 방법.
The method of claim 5,
The user account is
A service providing method registered in a server through an application installed in the terminal.
서비스 제공 방법을 수행하는 단말에 있어서,
상기 단말은, 프로세서를 포함하고,
상기 프로세서는,
전자 장치가 소프트웨어 AP(Access Point) 모드로 동작하면, 상기 전자 장치의 접속 정보를 이용하여 전자 장치에 접속하고,
상기 전자 장치에 접속한 이후에, 프록시의 접속 정보 및 서버에 등록된 사용자 계정에 대한 정보를 전자 장치에 제공하고,
상기 프록시의 접속 정보를 이용하여 프록시에 접속하며,
상기 전자 장치의 등록을 위한 정보가 프록시를 통해 서버에 전달됨으로써 상기 전자 장치가 서버에 등록되고,
상기 전자 장치의 등록을 위한 정보는,
상기 서버에 등록된 사용자 계정에 대한 정보 및 상기 전자 장치에 대한 정보 중 적어도 하나를 포함하는 단말.
In a terminal for performing a service providing method,
The terminal includes a processor,
The processor,
When the electronic device operates in a software access point (AP) mode, the electronic device accesses the electronic device using access information of the electronic device,
After accessing the electronic device, providing access information of the proxy and information on a user account registered in the server to the electronic device,
Accessing the proxy using the proxy's access information,
The electronic device is registered with the server by transmitting the information for registration of the electronic device to the server through a proxy,
Information for registration of the electronic device,
A terminal including at least one of information on a user account registered in the server and information on the electronic device.
서비스 제공 방법을 수행하는 전자 장치에 있어서,
상기 전자 장치는 프로세서를 포함하고,
상기 프로세서는,
소프트웨어 AP(Access Point) 모드로 전환하고,
상기 소프트웨어 AP 모드로 전환하면, 단말로부터 프록시의 접속 정보 및 서버에 등록된 사용자 계정에 대한 정보를 수신하고, -상기 단말은, 상기 전자 장치의 접속 정보를 이용하여 상기 전자 장치에 접속함-;
상기 단말로부터 수신한 프록시의 접속 정보를 이용하여 프록시에 접속하고,
상기 사용자 계정에 대한 정보와 상기 전자 장치에 대한 정보를 프록시에 제공하며,
상기 사용자 계정에 대한 정보와 상기 전자 장치에 대한 정보가 프록시를 통해 서버에 전달됨으로써 상기 전자 장치가 서버에 등록되는 전자 장치.
An electronic device for performing a service providing method, comprising:
The electronic device includes a processor,
The processor,
switch to software access point (AP) mode,
When switching to the software AP mode, the terminal receives access information of the proxy and information on a user account registered in the server, the terminal accessing the electronic device using the access information of the electronic device;
Accessing the proxy using the proxy access information received from the terminal,
providing information about the user account and information about the electronic device to a proxy;
The electronic device is registered in the server by transmitting the information on the user account and the information on the electronic device to the server through a proxy.
KR1020210066715A 2014-10-21 2021-05-25 Apparatus for providing home network service and method thereof KR102312994B1 (en)

Applications Claiming Priority (3)

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

Related Parent 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
KR20210064147A true KR20210064147A (en) 2021-06-02
KR102312994B1 KR102312994B1 (en) 2021-10-13

Family

ID=55915807

Family Applications (6)

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

Family Applications Before (5)

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

Country Status (1)

Country Link
KR (6) KR102005059B1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210009670A (en) * 2019-07-17 2021-01-27 삼성전자주식회사 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 한국전자통신연구원 The transport method of mobile IP broadcasting message in unmanaged mode for high speed portable internet
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
CA2795128A1 (en) * 2010-03-31 2011-10-06 Mediamath, Inc. Systems and methods for integration of a demand side platform
CN103621113B (en) * 2011-02-11 2017-07-14 交互数字专利控股公司 For managing Machine To Machine(M2M)The system of entity, method and apparatus
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
KR20190084932A (en) 2019-07-17
KR102216103B1 (en) 2021-02-16
KR20210019046A (en) 2021-02-19
KR102216111B1 (en) 2021-02-16
KR20190089811A (en) 2019-07-31
KR102005059B1 (en) 2019-07-30
KR20160046710A (en) 2016-04-29
KR102258608B1 (en) 2021-06-01
KR20160046711A (en) 2016-04-29
KR102000234B1 (en) 2019-07-16
KR102312994B1 (en) 2021-10-13

Similar Documents

Publication Publication Date Title
KR102312994B1 (en) Apparatus for providing home network service and method thereof
US11082421B2 (en) Bootstrap mechanism for endpoint devices
US11252239B2 (en) Enabling communications between devices
KR102318279B1 (en) Method and apparatus for transmitting and receiving authentication information in a wireless communication system
JP6456472B2 (en) Enhanced operation between service layer and management layer in an M2M system by enabling execution of multiple commands on multiple devices
CN105122931B (en) Electronic equipment and the method that personal cloud device is registered in its portal user server
US11570065B2 (en) Service enabler function
US9749146B2 (en) Apparatus and methods for providing home network service
JP5473471B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND ITS CONTROL METHOD
US11671306B2 (en) Enhancing native service layer device management functionality
CN116074792A (en) Automatic service registration in a machine-to-machine communication network
JP2019516186A (en) Cooperative services for groups of Internet of Things (IoT) devices
CN116506502A (en) Service layer message template in a communication network
Lee et al. Automating Configuration System and Protocol for Next‐Generation Home Appliances
US20200174798A1 (en) Device bootstrapping
WO2012139463A1 (en) Terminal device initialization method and device
WO2017142019A1 (en) Communication apparatus, router, server, system, and setting method
CN113347623B (en) Method and system for uploading sub-equipment
KR20140095410A (en) Method and Apparatus for Initial Configuration System for the Wireless Devices by using the Wireless Gateway at the Internet Environment
CN105684352A (en) Technique for remote administration of a device belonging to a private network
JP2018007121A (en) Radio communication system

Legal Events

Date Code Title Description
A107 Divisional application of patent
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant