KR101929257B1 - Method of operating hub, and method of operating security system including the hub - Google Patents

Method of operating hub, and method of operating security system including the hub Download PDF

Info

Publication number
KR101929257B1
KR101929257B1 KR1020170014407A KR20170014407A KR101929257B1 KR 101929257 B1 KR101929257 B1 KR 101929257B1 KR 1020170014407 A KR1020170014407 A KR 1020170014407A KR 20170014407 A KR20170014407 A KR 20170014407A KR 101929257 B1 KR101929257 B1 KR 101929257B1
Authority
KR
South Korea
Prior art keywords
hub
sensor
server
identification number
router
Prior art date
Application number
KR1020170014407A
Other languages
Korean (ko)
Other versions
KR20170107365A (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 KR20170107365A publication Critical patent/KR20170107365A/en
Application granted granted Critical
Publication of KR101929257B1 publication Critical patent/KR101929257B1/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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/16
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • 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/44Star or tree networks
    • H04L2012/445Star or tree networks with switching in a hub, e.g. ETHERNET switch

Abstract

본 발명의 경비시스템의 작동방법은 사용자가 이동통신장치에서 실행되는 앱이 제공하는 허브등록 GUI를 클릭하고 상기 사용자가 제1입력창에 제1식별번호를 입력하고 상기 앱이 제공하는 등록버튼을 클릭하면 상기 앱이 상기 제1식별번호를 포함하는 페어링 요청을 상기 제1서버로 전송하고, 상기 제1서버가 상기 페어링 요청을 상기 네트워크와 상기 공유기를 통해 상기 허브로 전송하고, 상기 사용자가 상기 허브의 초기화 버튼을 누르면 상기 허브가 상기 초기화 버튼의 눌림에 따라 리셋신호를 생성하고, 상기 허브가 상기 리셋신호에 기초하여 상기 허브의 메모리 장치에 저장된 제2식별 번호를 리드하여 상기 공유기로 전송하고, 상기 제1서버가 상기 공유기와 상기 네트워크를 통해 수신된 상기 제2식별 번호를 상기 이동통신장치로 전송하고, 상기 앱이 상기 제2식별번호에 응답하여 상기 제1식별번호를 포함하는 등록요청을 상기 제1서버로 전송한다.A method of operating the guard system of the present invention is a method of operating a guard system by allowing a user to click a hub registration GUI provided by an app running in a mobile communication device and inputting a first identification number in a first input window, The first server transmits the pairing request to the hub through the network and the router, and the first server transmits the pairing request to the hub, When the initialization button of the hub is pressed, the hub generates a reset signal upon pressing of the initialization button, and the hub reads the second identification number stored in the memory device of the hub based on the reset signal and transmits the second identification number to the router , The first server transmits the second identification number received via the network and the router to the mobile communication device, The app in response to the second identification code and transmits a registration request including the first identification number to the first server.

Description

허브의 작동방법과 이를 포함하는 경비 시스템의 작동방법{METHOD OF OPERATING HUB, AND METHOD OF OPERATING SECURITY SYSTEM INCLUDING THE HUB}METHOD OF OPERATING HUB AND METHOD OF OPERATING SECURITY SYSTEM INCLUDING THE HUB FIELD OF THE INVENTION [0001]

본 발명의 개념에 따른 실시 예들은 경비 시스템의 작동방법에 관한 것으로서, 특히 허브의 작동방법과 상기 허브를 이용하여 센서로부터 전송된 감지 신호를 이동 통신 장치로 신속하게 전송할 수 있는 경비 시스템의 작동방법에 관한 것이다.Embodiments according to the concept of the present invention relate to a method of operating a guard system, and more particularly, to a method of operating a hub and a method of operating a guard system capable of quickly transmitting a detection signal transmitted from a sensor to the mobile communication device using the hub .

사물 인터넷(Internet of Things(IoT))은 각종 사물에 센서와 통신 기능을 내장하여 인터넷에 연결하는 기술을 의미한다. 여기서, 사물은 가전제품, 모바일 장비 또는 웨어러블 컴퓨터 등 다양한 임베디드 시스템이 된다. IoT에 연결되는 사물들은 자신을 구별할 수 있는 유일한 IP를 가지고 인터넷으로 연결되어야 하며, 외부환경으로부터의 데이터 취득을 위해 센서를 내장할 수 있다.The Internet of Things (IoT) is a technology that connects sensors and communication functions to various objects. Here, the object is a variety of embedded systems such as household appliances, mobile equipment or wearable computers. Objects connected to the IoT should be connected to the Internet with a unique IP that can identify themselves, and can incorporate sensors to acquire data from the external environment.

MQTT(Message Queuing Telemetry Transport) 프로토콜은 IoT 또는 사물 통신(machine to machine(M2M))과같이 대역폭이 제한된 통신 환경에 개발된 푸시 기술(push technology) 기반의 경량 메시지 전송 프로토콜을 의미한다.The Message Queuing Telemetry Transport (MQTT) protocol is a lightweight message transport protocol based on push technology developed in a bandwidth-limited communications environment such as IoT or machine to machine (M2M).

특허문헌 1: 공개특허공보 10-2014-0071051Patent Document 1: JP-A-10-2014-0071051 특허문헌 2: 공개특허공보 10-2010-0118265Patent Document 2: JP-A-10-2010-0118265

본 발명이 이루고자 하는 기술적인 과제는 경비 시스템에 사용될 수 있도록 허브를 설정하는 방법과, 상기 경비 시스템에 포함된 센서와 카메라를 설정하는 상기 허브의 작동방법을 제공하는 것이다.SUMMARY OF THE INVENTION The present invention provides a method of setting a hub for use in a security system and a method of operating the hub for setting a sensor and a camera included in the security system.

본 발명이 이루고자 하는 기술적인 과제는 허브가 센서로부터 전송된 정보를 독립적으로 저장하고 처리함으로써 상기 센서로부터 전송된 감지 신호를 이동 통신 장치로 신속하게 전송할 수 있는 경비 시스템의 작동방법을 제공하는 것이다.SUMMARY OF THE INVENTION It is an object of the present invention to provide a method of operating a security system in which a hub can independently transmit and receive information transmitted from a sensor to quickly transmit a sensing signal transmitted from the sensor to a mobile communication device.

이동 통신 장치가 네트워크에 접속되지 못한 경우, 허브가 센서로부터 무선으로 전송된 감지 신호를 상기 이동 통신 장치로 다시 전송함으로써 상기 감지 신호를 정확하게 상기 이동 통신 장치로 전송할 수 있는 경비 시스템의 작동방법을 제공하는 것이다.There is provided an operating method of a security system in which, when a mobile communication device can not be connected to a network, a hub transmits a detection signal wirelessly transmitted from a sensor to the mobile communication device so that the detection signal can be accurately transmitted to the mobile communication device .

본 발명이 이루고자 하는 기술적인 과제는 센서로부터 전송된 센서 정보와 카메라로부터 전송된 영상 신호 각각을 서버들 각각으로 통해 수신함으로써 상기 센서로부터 전송된 상기 센서 정보의 처리가 지연되지 않는 경비 시스템의 작동방법을 제공하는 것이다.According to an aspect of the present invention, there is provided a method of operating a security system, the method comprising: receiving sensor information transmitted from a sensor and image signals transmitted from a camera through respective servers, .

본 발명의 실시 예에 따른 이동 통신 장치와 통신할 수 있는 제1서버, 상기 제1서버와 네트워크를 통해 연결된 공유기, 및 상기 공유기에 연결된 허브를 이용한 경비 시스템의 작동방법은 사용자가 상기 이동 통신 장치에서 실행되는 앱이 제공하는 허브 등록 GUI를 클릭하면, 상기 앱이 상기 허브의 제1식별 번호를 입력할 수 있는 제1입력 창을 상기 이동 통신 장치의 디스플레이 장치를 통해 제공하는 단계와, 상기 사용자가 상기 제1입력 창에 상기 제1식별 번호를 입력하고 상기 앱이 제공하는 등록 버튼을 클릭하면, 상기 앱이 상기 제1식별 번호를 포함하는 페어링 요청을 상기 제1서버로 전송하는 단계와, 상기 제1서버가 상기 페어링 요청을 상기 네트워크와 상기 공유기를 통해 상기 허브로 전송하는 단계와, 상기 사용자가 상기 허브의 초기화 버튼을 누르면, 상기 허브가 상기 초기화 버튼의 눌림에 따라 리셋 신호를 생성하는 단계와, 상기 허브가 상기 리셋 신호에 기초하여 상기 허브의 제1메모리 장치에 저장된 제2식별 번호를 리드하고 상기 제2식별 번호를 상기 공유기로 전송하는 단계와, 상기 제1서버가 상기 공유기와 상기 네트워크를 통해 수신된 상기 제2식별 번호를 상기 이동 통신 장치로 전송하는 단계와, 상기 앱이 상기 제2식별 번호에 응답하여 상기 제1식별 번호를 포함하는 등록 요청을 상기 제1서버로 전송하는 단계를 포함한다.A method for operating a security system using a first server capable of communicating with a mobile communication device according to an embodiment of the present invention, a router connected to the first server through a network, and a hub connected to the router, Providing a first input window through which the application can input a first identification number of the hub through a display device of the mobile communication device when the user clicks a hub registration GUI provided by an app running in the mobile communication device; Transmitting a pairing request including the first identification number to the first server when the first identification number is input to the first input window and the registration button provided by the app is clicked, The first server sending the pairing request to the hub via the network and the router; Generating a reset signal upon the pressing of the initialization button by the hub; and reading the second identification number stored in the first memory device of the hub based on the reset signal, Sending the second identification number received via the network and the first server to the mobile communication device; and transmitting the second identification number to the mobile communication device in response to the second identification number And transmitting the registration request including the first identification number to the first server.

본 발명의 실시 예에 따른 허브의 작동방법은 상기 허브가 사용자의 이동 통신 장치의 앱에 입력된 제1식별 번호를 공유기에 연결된 상기 허브의 통신 장치를 통해 수신하는 단계와, 상기 허브가 상기 허브의 리셋 단자의 눌림에 따라 리셋 신호를 생성하는 단계와, 상기 허브가 상기 리셋 신호의 지속 시간을 카운트하고 카운트 값을 생성하는 단계와, 상기 허브가 복수의 기준 카운트 값들 각각과 상기 카운트 값을 비교하고, 비교 결과에 따라 상기 허브의 메모리 장치에 저장된 제2식별 번호를 상기 통신 장치를 통해 상기 공유기로 전송하는 제1작동, 상기 통신 장치의 통신 프로토콜을 변경하는 제2작동, 및 상기 허브를 초기화하는 제3작동 중에서 어느 하나를 수행하는 단계를 포함한다.A method of operating a hub according to an embodiment of the present invention includes the steps of the hub receiving a first identification number input to an app of a user's mobile communication device via a communication device of the hub connected to the router, Generating a reset signal in response to the depression of a reset terminal of the hub, the hub counting the duration of the reset signal and generating a count value, comparing the count value with each of the plurality of reference count values, A first operation to transmit a second identification number stored in a memory device of the hub to the router via the communication device according to a comparison result, a second operation to change a communication protocol of the communication device, And a third operation to perform the second operation.

본 발명의 실시 예들에 따른 허브와 센서를 포함하는 경비 시스템의 작동방법은 상기 허브가 상기 센서로부터 전송된 정보를 저장하고 처리함으로써 상기 센서로부터 전송된 감지 신호를 이동 통신 장치로 신속하게 전송할 수 있으므로, 사용자가 응급 상황에 신속하게 대처할 수 있는 효과가 있다.A method of operating a guard system including a hub and a sensor according to embodiments of the present invention allows the hub to quickly transmit the sensing signal transmitted from the sensor to the mobile communication device by storing and processing information transmitted from the sensor , There is an effect that the user can quickly cope with an emergency situation.

또한, 상기 이동 통신 장치가 네트워크에 접속되지 못한 경우, 상기 허브가 상기 센서로부터 전송된 상기 감지 신호를 상기 이동 통신 장치로 다시 전송함으로써, 네트워크에 장애가 발생한 경우라도 정확하게 상기 감지 신호를 상기 이동 통신 장치로 전송할 수 있는 효과가 있다.In addition, when the mobile communication device is not connected to the network, the hub transmits the detection signal transmitted from the sensor to the mobile communication device again, so that even if a failure occurs in the network, And the like.

상기 이동 통신 장치가 네트워크에 접속되지 못한 경우, 상기 센서로부터 전송된 감지 신호가 상기 이동 통신 장치로 전송되었는지와 무관하게 상기 허브에 연결된 IoT 장치들을 상기 허브가 독립적으로 신속하게 제어할 수 있는 효과가 있다.The hub can independently and quickly control the IoT devices connected to the hub regardless of whether the detection signal transmitted from the sensor is transmitted to the mobile communication device when the mobile communication device can not be connected to the network have.

상기 센서로부터 전송된 센서 정보와 카메라로부터 전송된 영상 신호 각각을 서버들 각각을 통해 처리함으로써, 상기 서버들 중에서 상기 센서 정보를 처리하는 서버는 상기 영상 신호의 처리(예컨대, 수신과 전송)에 무관하게 상기 센서 정보를 상기 이동 통신 장치로 신속하게 전송할 수 있는 효과가 있다.The sensor information transmitted from the sensor and the image signal transmitted from the camera are processed through each of the servers so that the server processing the sensor information among the servers is not involved in processing (e.g., receiving and transmitting) The sensor information can be quickly transmitted to the mobile communication device.

본 발명의 상세한 설명에서 인용되는 도면을 보다 충분히 이해하기 위하여 각 도면의 상세한 설명이 제공된다.
도 1은 본 발명의 실시 예들에 따른 경비 시스템의 블록도이다.
도 2는 본 발명의 실시 예들에 따른 허브의 구성도이다.
도 3은 도 1의 이동 통신 장치가 서로 다른 URL들 각각에 해당하는 서버들 각각과 통신하는 과정을 설명하는 개념도이다.
도 4는 본 발명의 실시 예들에 따른 사용자 가입을 설명하는 데이터 흐름도이다.
도 5a와 도 5b는 본 발명의 실시 예들에 따른 경비 시스템에서 허브 등록 과정을 설명하는 데이터 흐름도들이다.
도 6은 본 발명의 실시 예들에 따른 이동 통신 장치에서 허브 등록 과정을 설명하는 개념도이다.
도 7은 본 발명의 실시 예들에 따른 허브의 작동방법을 설명하기 위한 플로우 차트이다.
도 8a와 도 8b는 본 발명의 실시 예들에 따른 경비 시스템에서 센서 등록 과정을 설명하는 데이터 흐름도들이다.
도 9 내지 도 11은 본 발명의 실시 예들에 따른 이동 통신 장치에서 센서 등록 과정을 설명하는 개념도들이다.
도 12는 본 발명의 실시 예들에 따른 이동 통신 장치에서 카메라 등록 과정을 설명하는 개념도이다.
도 13은 본 발명의 실시 예들에 따른 경비 해제 상태의 경비 시스템의 일반 데이터 전송 과정을 설명하기 위한 데이터 흐름도이다.
도 14는 본 발명의 실시 예들에 따른 경비 시스템에서 허브의 상태를 경비 해제 상태에서 경비 상태로 전환하기 위한 과정을 설명하기 위한 데이터 흐름도이다.
도 15는 본 발명의 실시 예들에 따른 이동 통신 장치에서 허브의 상태를 전환하는 과정을 설명하는 개념도이다.
도 16a와 도 16b는 본 발명의 실시 예들에 따른 경비 상태의 경비 시스템에서 알람 데이터 전송 과정을 설명하기 위한 데이터 흐름도들이다.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In order to more fully understand the drawings recited in the detailed description of the present invention, a detailed description of each drawing is provided.
1 is a block diagram of a security system in accordance with embodiments of the present invention.
2 is a block diagram of a hub according to embodiments of the present invention.
3 is a conceptual diagram illustrating a process in which the mobile communication apparatus of FIG. 1 communicates with each of servers corresponding to different URLs.
4 is a data flow diagram illustrating a user subscription in accordance with embodiments of the present invention.
5A and 5B are data flow diagrams illustrating a hub registration process in a guard system according to embodiments of the present invention.
6 is a conceptual diagram illustrating a hub registration process in the mobile communication apparatus according to the embodiments of the present invention.
7 is a flowchart for explaining a method of operating a hub according to embodiments of the present invention.
8A and 8B are data flow charts illustrating a sensor registration process in the guard system according to the embodiments of the present invention.
9 to 11 are conceptual diagrams illustrating a sensor registration process in the mobile communication apparatus according to the embodiments of the present invention.
12 is a conceptual diagram illustrating a camera registration process in the mobile communication apparatus according to the embodiments of the present invention.
FIG. 13 is a data flow chart for explaining a general data transmission process of the guard system in the guard release state according to the embodiments of the present invention.
FIG. 14 is a data flow chart for explaining a process for switching the state of the hub from the expired state to the expired state in the expense system according to the embodiments of the present invention.
15 is a conceptual diagram illustrating a process of switching the state of a hub in a mobile communication apparatus according to embodiments of the present invention.
16A and 16B are data flow charts for explaining a process of transmitting alarm data in a security system in an expense state according to the embodiments of the present invention.

본 명세서에서, 앱(app)은 애플리케이션 프로그램(application program), 애플리케이션, 또는 모바일 애플리케이션 프로그램으로도 불릴 수 있고, 스마트폰들과 태블릿 PC들과 같은 모바일 장치들에서 실행되도록 디자인된 소프트웨어 애플리케이션을 의미한다.In this specification, an app refers to a software application, also referred to as an application program, an application, or a mobile application program, designed to run on mobile devices such as smartphones and tablet PCs .

도 1은 본 발명의 실시 예들에 따른 경비 시스템의 블록도이다. 도 1을 참조하면, 경비 시스템(10)은 센서(20), 허브(30), 공유기(access point; 40), 카메라 (50), 제1네트워크(60), 제1서버(70-1), 제2서버(70-3), 제2네트워크(80), 및 이동 통신 장치(90)를 포함할 수 있다.1 is a block diagram of a security system in accordance with embodiments of the present invention. 1, the guard system 10 includes a sensor 20, a hub 30, an access point 40, a camera 50, a first network 60, a first server 70-1, A second server 70-3, a second network 80, and a mobile communication device 90. [

경비 시스템(10)은 제1서버(70-1)에 의해 액세스 가능한 데이터베이스(또는 데이터 저장장치)를 더 포함할 수 있다. 실시 예들에 따라, 제1서버(70-1)는 데이터베이스를 액세스하여 상기 데이터베이스에 데이터를 저장하거나 상기 데이터베이스로부터 데이터를 읽을 수 있다. 실시 예들에 따라, 데이터베이스는 제1서버(70-1)의 내부 또는 외부에 구현될 수 있다.The guard system 10 may further include a database (or data storage device) accessible by the first server 70-1. According to embodiments, the first server 70-1 may access a database to store data in the database or to read data from the database. According to embodiments, the database may be implemented inside or outside the first server 70-1.

실시 예들에 따라, 허브(30)와 이동 통신 장치(90) 사이의 허브 페어링(hub pairing)이 완료된 후, 허브(30)의 제어(또는 중개)에 따라 센서(20)와 이동 통신 장치(90) 사이의 센서 페어링이 수행할 수 있다.According to embodiments, after the hub pairing between the hub 30 and the mobile communication device 90 is completed, the sensor 20 and the mobile communication device 90 ) Can be performed.

페어링은, 제1장치(예컨대, 이동 통신 장치(90))에 제2장치(예컨대, 허브 또는 센서)가 통신 가능한 상태로 연결되기 위해, 상기 제1장치에 상기 제2장치의 페어링 정보(예컨대, 허브 식별 번호 또는 센서 ID)를 등록하는 절차를 의미할 수 있다. 상기 페어링은 상기 제1장치에 설치된 앱(APP)에 의해 수행될 수 있다.The pairing may be performed when the first device is connected to a second device (e.g., a hub or a sensor) in a state in which the second device (e.g., hub or sensor) can communicate with the first device , A hub identification number, or a sensor ID). The pairing may be performed by an APP installed in the first device.

상기 제1장치와 상기 제2장치가 페어링된 후에, 상기 제1장치에는 상기 제1장치의 페어링 정보가 등록(또는 저장)되어 있으므로, 상기 제1장치와 상기 제2장치는 추가적인 페어링을 수행하지 않을 수 있다. 그러나 상기 제1장치에서 상기 제2장치의 페어링 정보가 삭제된 경우, 상기 제1장치와 상기 제2장치는 페어링을 다시 수행할 수 있다.Since the pairing information of the first device is registered (or stored) in the first device after the first device and the second device are paired, the first device and the second device do not perform additional pairing . However, if the pairing information of the second device is deleted in the first device, the first device and the second device can perform the pairing again.

사람의 움직임 또는 출입문 열림 등의 이벤트(EVENT)가 발생할 때, 센서(20)는 이벤트(EVENT)를 감지하고, 감지 신호(SEN)를 생성하고, 감지 신호(SEN)를 허브 (30)로 무선으로 전송할 수 있다. 센서(20)는 무선 통신을 위한 무선 송신기 또는 무선 송수신기를 포함할 수 있다. 예컨대, 센서(20)는 무선 열선 감지기 또는 무선 자석 감지기 등일 수 있으나 이에 한정되는 것은 아니다. 예컨대, 센서(20)는 이벤트(EVENT)를 감지하고, 감지 결과에 따라 감지 신호(SEN)를 생성할 수 있는 장치를 의미한다.The sensor 20 senses an event and generates a sensing signal SEN and transmits the sensed signal SEN to the hub 30 in a wireless manner when an event such as a human motion or a door opening occurs, As shown in FIG. The sensor 20 may comprise a wireless transmitter or a wireless transceiver for wireless communication. For example, the sensor 20 may be, but is not limited to, a wireless hot wire sensor or a wireless magnet sensor. For example, the sensor 20 means a device capable of sensing an event and generating a sensing signal SEN according to the sensing result.

센서(20)는 센서 ID(SID)를 저장할 수 있는 불휘발성 메모리 장치(예컨대, 제2메모리 장치; 21)를 포함할 수 있다. 센서 ID(SID)는 양산 단계에서 불휘발성 메모리 장치(21)에 미리 저장될 수 있다. 도 1에서는 설명의 편의를 위해, 하나의 센서(20)가 도시되었으나 본 발명의 기술적 사상은 경비 시스템(10)에 포함되는 센서의 개수에 한정되는 것은 아니다.The sensor 20 may include a non-volatile memory device (e.g., a second memory device) 21 capable of storing a sensor ID (SID). The sensor ID (SID) may be stored in advance in the nonvolatile memory device 21 in the mass production step. Although only one sensor 20 is shown in FIG. 1 for convenience of description, the technical idea of the present invention is not limited to the number of sensors included in the guard system 10.

허브(30)는 센서(20)로부터 무선으로 전송되는 감지 신호(SEN)를 수신하고 처리할 수 있다. 예컨대, 센서(20)와 허브(30)는 블루투스(bluetooth), RF 통신, 또는 Z-Wave 중에서 적어도 하나를 이용하여 통신할 수 있다.The hub 30 can receive and process the sensing signal SEN transmitted from the sensor 20 wirelessly. For example, the sensor 20 and the hub 30 can communicate using at least one of bluetooth, RF communication, and Z-Wave.

제1네트워크(60)는 유선 인터넷 네트워크, 무선 인터넷 네트워크, 또는 Wi-Fi(wireless fidelity)와 같은 무선 근거리 통신 네트워크(wireless local area network(WLAN))을 의미할 수 있다. 상기 유선 인터넷 네트워크 또는 상기 무선 인터넷 네트워크는 인터넷 TCP/IP 프로토콜과 그 상위 계층(upper layer)에 존재하는 여러 서비스, 즉 HTTP(HyperText Transfer Procotol), Telnet, FTP(File Transfer Protocol), DNS(Domain Name System), SMTP(Simple Mail Transfer Protocol), SNMP(Simple Network Management Protocol), NFS(Network File Service), NIS (Network Information Service) 등을 제공하는 전세계적인 개방형 컴퓨터 네트워크 구조를 의미할 수 있다.The first network 60 may refer to a wired Internet network, a wireless Internet network, or a wireless local area network (WLAN) such as Wi-Fi (wireless fidelity). The wired Internet network or the wireless Internet network may include various services existing in the upper layer of the Internet TCP / IP protocol such as HTTP (HyperText Transfer Protocol), Telnet, FTP (File Transfer Protocol), DNS System, a Simple Mail Transfer Protocol (SMTP), a Simple Network Management Protocol (SNMP), a Network File Service (NFS), and a Network Information Service (NIS).

허브(30)는 공유기(40)와 무선 또는 유선으로 연결되고, 공유기(40)와 제1네트워크(60)를 통해 제1서버(70-1)와 통신할 수 있다. 허브(30)는 감지 신호(SEN)에 해당하는 신호를 공유기(40)와 제1네트워크(60)를 통해 제1서버(70-1)로 전송할 수 있다. 실시 예들에 따라, 공유기(40)는 라우터(router)로 대체되거나 상기 라우터의 기능을 수행할 수 있다.The hub 30 may be connected to the router 40 in a wireless or wired manner and may communicate with the first server 70-1 through the router 40 and the first network 60. [ The hub 30 may transmit a signal corresponding to the sensing signal SEN to the first server 70-1 through the router 40 and the first network 60. [ According to embodiments, the router 40 may be replaced with a router or may perform the function of the router.

허브(30)는, 센서(20)로부터 전송된 감지 신호(SEN)에 응답하여, 이벤트 (EVENT)의 발생을 알리는 알람 기능을 포함할 수 있다. 허브(30)의 구체적인 구성은 도 2를 참조하여 상세히 설명될 것이다.The hub 30 may include an alarm function for notifying occurrence of an event in response to the sensing signal SEN transmitted from the sensor 20. [ The specific configuration of the hub 30 will be described in detail with reference to Fig.

카메라(50)는 공유기(40)와 무선 또는 유선으로 연결되고, 공유기(40)와 제1네트워크(60)를 통해 제2서버(70-3)와 통신할 수 있다. 카메라(50)는 영상신호를 공유기(40)와 제1네트워크(60)를 통해 제2서버(70-3)로 실시간(on-the-fly or realtime)으로 전송할 수 있다. 제1서버(70-1)와 제2서버(70-3)는 서로 독립적인 서버일 수 있다.The camera 50 may be connected to the router 40 in a wireless or wired manner and may communicate with the second server 70-3 through the router 40 and the first network 60. [ The camera 50 can transmit the video signal on-the-fly or in real-time to the second server 70-3 through the router 40 and the first network 60. [ The first server 70-1 and the second server 70-3 may be independent servers.

센서(20)에 의해 감지 신호(SEN)가 발생할 때, 제1서버(70-1)는 감지 신호 (SEN)에 관련된 제1경비 신호를 허브(30), 공유기(40), 및 제1네트워크(70-1)를 통해 수신하고, 상기 제1경비 신호를 제2네트워크(80)를 통해 이동 통신 장치(90)로 전송할 수 있다. 또한, 카메라(50)에 의해 영상신호가 발생할 때, 제2서버(70-3)는 상기 영상신호에 관련된 제2경비 신호를 공유기(40)와 제1네트워크(60)를 통해 수신하고, 상기 제2경비 신호를 이동 통신 장치(90)로 전송할 수 있다. 예컨대, 제2서버(70-3)는 스트리밍 서비스를 제공하는 서버일 수 있다. 각 경비 신호는 각 서버의 제어에 따라 해당하는 데이터베이스에 저장될 수 있다.When the sensing signal SEN is generated by the sensor 20, the first server 70-1 transmits a first security signal related to the sensing signal SEN to the hub 30, the router 40, (70-1), and may transmit the first expense signal to the mobile communication device (90) through the second network (80). Also, when a video signal is generated by the camera 50, the second server 70-3 receives a second expense signal related to the video signal through the router 40 and the first network 60, And transmit the second expense signal to the mobile communication device 90. For example, the second server 70-3 may be a server that provides a streaming service. Each expense signal can be stored in a corresponding database under the control of each server.

이벤트(EVENT)가 발생할 때만 감지 신호(SEN)에 관련된 제1경비 신호(또는 감지 신호(SEN)에 기초하여 생성된 신호)는 제1서버(70-1)를 통해 이동 통신 장치 (90)로 전송되지만, 카메라(50)로부터 실시간으로 출력되는 영상신호에 관련된 제2경비 신호(또는 상기 영상신호에 기초하여 생성된 신호)는 제2서버(70-3)를 통해 이동 통신 장치(90)로 스트리밍되므로, 제1서버(70-1)와 제2서버(70-3)가 서로 물리적으로 분리됨에 따라, 실시간으로 전송되는 영상신호는 제2서버(70-3)에 의해 처리될 수 있다. 따라서, 제1서버(70-1)에 의해 처리되는 제1경비 신호는 제2경비 신호의 처리에 의해 지연되지 않는 효과가 있다.The first expense signal (or the signal generated based on the sensing signal SEN) related to the sensing signal SEN only when an event occurs is transmitted to the mobile communication device 90 via the first server 70-1 (Or a signal generated based on the video signal) related to the video signal output from the camera 50 in real time is transmitted to the mobile communication device 90 through the second server 70-3 As the first server 70-1 and the second server 70-3 are physically separated from each other, the video signal transmitted in real time can be processed by the second server 70-3. Therefore, the first expense signal processed by the first server 70-1 is not delayed by the processing of the second expense signal.

실시 예들에 따라, 경비 시스템(10)은, 경비 시스템(10) 내의 2개 이상의 구성 요소들 사이의 정보 교환(예컨대, 데이터 통신)을 위해 MQTT(Message Queuing Telemetry Transport) 프로토콜을 사용할 수 있다. 이때, 제1서버(70-1)는 제1서브 서버(70-1a)와 제2서브 서버(70-1b)를 포함할 수 있다.In accordance with embodiments, the guard system 10 may use the Message Queuing Telemetry Transport (MQTT) protocol for information exchange (e.g., data communication) between two or more components within the guard system 10. At this time, the first server 70-1 may include a first sub-server 70-1a and a second sub-server 70-1b.

예컨대, 허브(30)와 이동 통신 장치(90)가 허브 페어링을 수행할 때, 이동 통신 장치(90)는 구독(subscribe) 클라이언트이고 제2서브 서버(70-1b)는 중개자 (broker) 서버이고, 허브는 발행(publish) 클라이언트일 수 있다. 상기 중개자 서버는 상기 구독 클라이언트와 상기 발행 클라이언트 사이에서 전송되는 메시지를 중개하는 역할(또는 기능)을 수행할 수 있다.For example, when the hub 30 and the mobile communication device 90 perform a hub pairing, the mobile communication device 90 is a subscribe client and the second sub-server 70-1b is a broker server , And the hub may be a publish client. The intermediary server may perform a role (or function) for mediating a message transmitted between the subscription client and the issuing client.

제2네트워크(80)는 Wi-Fi 네트워크 또는 이동 통신망(mobile cellular network)일 수 있으나 이에 한정되는 것은 아니다. 예컨대, 상기 이동 통신망은 3G (3rd generation) 이동 통신망, 4G(4th generation) 이동 통신망, LTETM(Long term evolution) 이동 통신망, 또는 LTE-Advanced(LTE-A) 이동 통신망을 포함할 수 있으나 이에 한정되는 것은 아니다.The second network 80 may be a Wi-Fi network or a mobile cellular network, but is not limited thereto. For example, the mobile communication network is a 3G (3rd generation) mobile networks, 4G (4th generation) mobile communication network, LTE TM (Long term evolution) mobile communication network, or LTE-Advanced (LTE-A), but may comprise a mobile communication network, limited to It is not.

이동 통신 장치(90)는 제2네트워크(80)를 통해 제1서버(70-1) 또는 제2서버 (70-3)와 데이터를 주거나 받을 수 있는 무선 통신장치를 의미할 수 있다. 이동 통신 장치(90)는 스마트폰, 태블릿 PC, 사물 인터넷(Internet of Things(IoT)) 장치, 만물 인터넷(Internet of Everything (IoE)) 장치, PDA(personal digital assistant), 모바일 인터넷 장치(mobile internet device(MID)), 웨어러블 컴퓨터, 또는 본 명세서에서 설명될 앱(APP)을 실행할 수 있는 무선 통신장치를 포함한다.The mobile communication device 90 may mean a wireless communication device capable of receiving or receiving data with the first server 70-1 or the second server 70-3 via the second network 80. [ The mobile communication device 90 may be a smart phone, a tablet PC, an Internet of Things (IoT) device, an Internet of Everything (IoE) device, a personal digital assistant (PDA) device (MID), a wearable computer, or a wireless communication device capable of executing an app (APP) as described herein.

이동 통신 장치(90)에서 실행되는 앱(APP)은 앱(APP)에 의해 제공되는 그래픽 유저 인터페이스(graphical user interface(GUI))에 따라 서로 다른 URL들 (uniform resource locators) 각각에 해당하는 서버들(70-1과 70-3) 각각과 데이터를 주고받을 수 있다. 앱(APP)은 복수의 GUI들 (또는 복수의 명령들(instructions)의 집합 또는 복수의 프로그램 코드들)을 포함한다고 가정한다. 이동 통신 장치 (90)가 서로 다른 URL들 각각에 해당하는 서버들 각각과 통신하는 과정은 도 3을 참조하여 상세히 설명될 것이다.The APP executed in the mobile communication device 90 is managed by servers corresponding to different URLs (uniform resource locators) according to a graphical user interface (GUI) Data can be exchanged with each of the data processing units 70-1 and 70-3. It is assumed that an application (APP) includes a plurality of GUIs (or a set of a plurality of instructions or a plurality of program codes). The process by which the mobile communication device 90 communicates with each of the servers corresponding to different URLs will be described in detail with reference to FIG.

도 2는 본 발명의 실시 예들에 따른 허브의 구성도이다. 도 1과 도 2를 참조하면, 허브(30)는 메인 컨트롤 유닛(main control unit(MCU); 100), 통신 장치(예컨대 송수신기; 200), 메모리 장치(300), 초기화 버튼(400), 전력 관리 유닛(power management unit(PMU); 500), 배터리(600), 복수의 LED들(light-emitting diodes; 700-1, 700-3, 및 700-5, 이하 집합적으로 '700'이라 한다.), 복수의 드라이버들 (800-1, 800-3, 및 800-5, 이하 집합적으로 '800'이라 한다.), 및 안테나(900)를 포함할 수 있다.2 is a block diagram of a hub according to embodiments of the present invention. 1 and 2, the hub 30 includes a main control unit (MCU) 100, a communication device (e.g., a transceiver) 200, a memory device 300, an initialization button 400, A power management unit (PMU) 500, a battery 600, a plurality of light-emitting diodes 700-1, 700-3, and 700-5, collectively referred to as '700' ), A plurality of drivers 800-1, 800-3, and 800-5, collectively referred to as '800', and an antenna 900.

MCU(100)는 프로세서(processor), 마이크로프로세서(microprocessor), 또는 CPU(central processing unit)를 의미할 수 있으나 이에 한정되는 것은 아니다. MCU(100)는 통신 장치(200), 메모리 장치(300), PMU(500), 및 드라이버(800)를 제어하고, 통신 장치(200)를 통하여 송신될 데이터 및/또는 수신된 데이터를 처리할 수 있다. 예컨대, MCU(100)는 허브(30)와 이동 통신 장치(90) 사이의 허브 페어링을 제어할 수 있다.The MCU 100 may be a processor, a microprocessor, or a central processing unit (CPU), but is not limited thereto. The MCU 100 controls the communication device 200, the memory device 300, the PMU 500, and the driver 800, and processes the data to be transmitted and / or the received data through the communication device 200 . For example, the MCU 100 may control hub pairing between the hub 30 and the mobile communication device 90.

통신 장치(200)는, MCU(100)의 제어에 따라, 안테나(900)를 통해 센서(20)와 허브(30) 사이에서 전송되는 신호들을 주고받을 수 있다. 통신 장치(200)는 공유기 (40)와 데이터를 주고받을 수 있다. 예컨대, 통신 장치(200)는 공유기(또는 라우터; 40)와 제1네트워크(60)를 통해 제1서버(70-1)와 데이터를 주고받을 수 있다.The communication device 200 can send and receive signals transmitted between the sensor 20 and the hub 30 through the antenna 900 under the control of the MCU 100. The communication device 200 can exchange data with the router 40. For example, the communication device 200 can exchange data with the first server 70-1 through the first network 60 and the router (or router) 40. [

메모리 장치(예컨대, 제1메모리 장치, 300)는 허브(30)의 식별 번호(예컨대, 시리얼번호(serial number)를 저장할 수 있고, 서버(70-1)에 의해 처리될 데이터 또는 처리된 데이터를 저장할 수 있다. 메모리 장치(300)는 펌웨어(firmware; 310)를 저장할 수 있다. A memory device (e.g., a first memory device, 300) may store an identification number (e.g., a serial number) of the hub 30 and store data or processed data to be processed by the server 70-1 The memory device 300 may store firmware 310. The memory device 300 may store firmware.

펌웨어(310)는, 허브(30)의 부트(boot) 시에, 메모리 장치(300)로부터 MCU (100)에 로드(load)되고, MCU(100)에 의해 실행될 수 있다. 펌웨어(310)가 실행됨에 따라, 허브(30)는 허브(30)의 고유 기능들을 실행할 수 있다. 예컨대, 펌웨어 (310)는 소프트웨어 카운터(130)와 소프트웨어 비교기(110)를 포함할 수 있고, 허브(30)의 부팅(booting)이 완료된 후, 펌웨어(310)는 허브(30)의 상태가 경비 해제 상태(즉, 제1 LED(700-1)가 점등 상태)가 되도록 제1드라이버(800-1)를 제어할 수 있다. 도 2에서는 소프트웨어 카운터(130)와 소프트웨어 비교기(110)가 도시되어 있으나, 실시 예들에 따라 소프트웨어 카운터(130)와 소프트웨어 비교기(110)는 하드웨어들로 구현될 수 있다.The firmware 310 may be loaded into the MCU 100 from the memory device 300 and executed by the MCU 100 at the time of booting of the hub 30. [ As the firmware 310 is executed, the hub 30 can execute the inherent functions of the hub 30. For example, the firmware 310 may include a software counter 130 and a software comparator 110, and after the booting of the hub 30 is completed, the firmware 310 may determine that the state of the hub 30 The first driver 800-1 can be controlled to be in the released state (i.e., the first LED 700-1 is turned on). Although software counter 130 and software comparator 110 are shown in Figure 2, software counter 130 and software comparator 110 may be implemented in hardware in accordance with embodiments.

메모리 장치(300)는 휘발성 메모리 및/또는 불휘발성 메모리로 구현될 수 있다. 비록, 도 1에서는 하나의 메모리 장치(300)가 도시되어 있으나, 메모리 장치 (300)는 동종의(homogeneous) 메모리들 또는 이종의 (heterogeneous) 메모리들을 포함하는 집합적 개념의 메모리 장치를 의미할 수 있다.The memory device 300 may be implemented with volatile memory and / or non-volatile memory. Although one memory device 300 is shown in FIG. 1, the memory device 300 may refer to a collective concept of a memory device including homogeneous memories or heterogeneous memories. have.

휘발성 메모리는 RAM(random access memory), DRAM(dynamic RAM), SRAM (static RAM), T-RAM(thyristor RAM), Z-RAM(zero capacitor RAM), 또는 TTRAM (Twin Transistor RAM)일 수 있다. 불휘발성 메모리는 EEPROM(Electrically Erasable Programmable Read-Only Memory), 플래시(flash) 메모리, MRAM(Magnetic RAM), FeRAM(Ferroelectric RAM), PRAM(Phase change RAM), 또는 저항 메모리 (Resistive RAM(RRAM))일 수 있으나 이에 한정되는 것은 아니다. 메모리 장치(300)는 허브(30)에 내장되거나 허브(30)에 착탈 가능한 구조로 구현될 수 있다.Volatile memory may be random access memory (RAM), dynamic RAM (DRAM), static RAM (SRAM), thyristor RAM (T-RAM), zero capacitor RAM (Z-RAM), or Twin Transistor RAM (TTRAM). The non-volatile memory may be an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic RAM, a ferroelectric RAM, a phase change RAM (PRAM), or a resistive RAM (RRAM) But is not limited thereto. The memory device 300 may be embodied in the hub 30 or in a detachable structure in the hub 30.

초기화 버튼(400)은 스위치로 구현될 수 있다. 예컨대, 사용자가 초기화 버튼(400)을 누르면, 초기화 버튼(400)은 사용자의 눌림(BE)을 감지하여 스위치를 닫아서 MCU(100)로 작동 전압(VDD)을 공급할 수 있다.The initialization button 400 may be implemented with a switch. For example, when the user presses the initialization button 400, the initialization button 400 senses the BE of the user and closes the switch to supply the operating voltage VDD to the MCU 100.

PMU(500)는 배터리(600)로부터 작동 전압(VDD)을 공급받고, MCU(100)의 제어에 따라 MCU(100)와 각 주변 장치(200, 300, 400, 및 800)로 공급될 전압을 제어할 수 있다.The PMU 500 is supplied with the operating voltage VDD from the battery 600 and receives a voltage to be supplied to the MCU 100 and the peripheral devices 200, 300, 400, and 800 under the control of the MCU 100 Can be controlled.

LED들(700) 각각은 허브(30)의 상태를 표시할 수 있다. 예컨대, 허브(30)의 상태는 '경비 해제 상태', '경비 상태', '등록 대기 상태', 및 '이상 상태'를 포함할 수 있고, 제1LED(700-1)는 제1컬러(예컨대, 녹색)이고, 제2LED(700-3)는 제2컬러(예컨대, 파란색)이고, 제3LED(700-5)는 제3컬러(예컨대, 빨간색)일 수 있으나 실시 예들에 따라 각 LED(700-1, 700-3, 및 700-5)의 컬러는 다양하게 변경될 수 있다.Each of the LEDs 700 may indicate the status of the hub 30. For example, the state of the hub 30 may include an 'expense release state', an 'expense state', a 'registration waiting state', and an 'abnormal state', and the first LED 700-1 may include a first color , Green), the second LED 700-3 may be a second color (e.g., blue), and the third LED 700-5 may be a third color (e.g., red) -1, 700-3, and 700-5 may be varied in various ways.

허브(30)의 상태가 경비 해제 상태일 때 제1LED(700-1)가 점등(on)될 수 있고, 허브(30)의 상태가 등록 대기 상태일 때 제2LED(700-3)가 점등될 수 있고, 허브 (30)의 상태가 경비 상태일 때 제3LED(700-5)가 점등될 수 있고, 허브(30)의 상태가 이상 상태일 때 제3LED(700-5)가 점멸(flicker, or on and off)될 수 있다.The first LED 700-1 can be turned on when the state of the hub 30 is in the power-off state and the second LED 700-3 is turned on when the state of the hub 30 is in the registration waiting state The third LED 700-5 may be turned on when the state of the hub 30 is in an open state and the third LED 700-5 may be flicker when the state of the hub 30 is abnormal. or on and off.

각 드라이버(800-1, 800-3, 및 800-5)는 각 LED(700-1, 700-3, 및 700-5)의 온 및/또는 오프를 제어할 수 있다. 예컨대, 제1드라이버(800-1)는 제1LED(700-1)의 상태를 점등 상태 또는 소등 상태로 제어할 수 있고, 제2드라이버(800-3)는 제2LED(700-3)의 상태를 점등 상태 또는 소등 상태로 제어할 수 있고, 제3드라이버 (800-5)는 제3LED(700-5)의 상태를 점등 상태, 소등 상태, 또는 점멸 상태로 제어할 수 있다.Each driver 800-1, 800-3, and 800-5 can control ON and / or OFF of each LED 700-1, 700-3, and 700-5. For example, the first driver 800-1 can control the state of the first LED 700-1 to be in the on state or the off state, and the second driver 800-3 can control the state of the second LED 700-3 The third driver 800-5 can control the state of the third LED 700-5 to be in a lighting state, an unlit state, or a blinking state.

도 3은 도 1의 이동 통신 장치가 서로 다른 URL들 각각에 해당하는 서버들 각각과 통신하는 과정을 설명하는 개념도이다. 도 1과 도 3을 참조하면, 이동 통신 장치(90)의 프로세서(또는 애플리케이션 프로세서)에 의해 실행되는 앱(APP)은 앱 (APP)에 의해 디스플레이 장치(91)를 통해 제공하는 GUI들 각각에 따라 서로 다른 URL들 각각에 해당하는 서버들(70-1과 70-3) 각각과 데이터(또는 신호들)를 주고받을 수 있다.3 is a conceptual diagram illustrating a process in which the mobile communication apparatus of FIG. 1 communicates with each of servers corresponding to different URLs. 1 and 3, an application (APP) executed by a processor (or an application processor) of the mobile communication device 90 is connected to each of the GUIs provided through the display device 91 by an APP (Or signals) to and from the servers 70-1 and 70-3 corresponding to different URLs, respectively.

예컨대, 사용자가 앱(APP)에 의해 제공되는 허브 등록 GUI(GUI1) 또는 센서 GUI(또는 센서 등록 GUI; GUI2)를 터치(또는 클릭)하면, 앱(APP)은 복수의 URL들 (URL1과 URL2) 중에서 제1서버(70-1)에 해당하는 제1URL(URL1)을 선택하고, 제1URL (URL1)을 이용하여 제2네트워크(80)를 통해 제1서버(70-1)에 연결될 수 있다. 따라서 앱(APP)은 제1URL(URL1)에 해당하는 제1서버(70-1)와 데이터를 주고받을 수 있다.For example, when the user touches (or clicks on) the hub registration GUI (GUI1) or the sensor GUI (or sensor registration GUI; GUI2) provided by the app (APP), the APP (APP) (URL1) corresponding to the first server 70-1 and may be connected to the first server 70-1 through the second network 80 using the first URL (URL1) . Therefore, the APP can exchange data with the first server 70-1 corresponding to the first URL (URL1).

그러나 사용자가 앱(APP)에 의해 제공되는 카메라 등록 GUI(또는 카메라 GUI; GUI3)를 터치(또는 클릭)하면, 앱(APP)은 복수의 URL들(URL1과 URL2) 중에서 제2서버(70-3)에 해당하는 제2URL(URL2)을 선택하고, 제2URL(URL2)을 이용하여 제2네트워크(80)를 통해 제2서버(70-3)에 연결될 수 있다. 따라서 앱(APP)은 제2URL(URL2)에 해당하는 제2서버(70-3)와 데이터를 주고받을 수 있다.However, when the user touches (or clicks on) the camera registration GUI (or camera GUI; GUI3) provided by the app APP, the APP transmits the URL to the second server 70- 3) and may be connected to the second server 70-3 through the second network 80 by using the second URL (URL2). Therefore, the APP can exchange data with the second server 70-3 corresponding to the second URL (URL2).

복수의 URL들(URL1과 URL2)은 앱(APP)에 포함되어 있을 수 있다. 만일, 복수의 URL들(URL1과 URL2) 각각이 변경되면, 각 서버(70-1과 70-3)는 변경된 URL을 이동 통신 장치(90)로 전송하고, 앱(APP)은 변경된 URL을 저장(또는 업데이트)할 수 있다.A plurality of URLs (URL1 and URL2) may be included in the APP (APP). If a plurality of URLs (URL1 and URL2) are changed, each of the servers 70-1 and 70-3 transmits the changed URL to the mobile communication device 90, and the APP (APP) stores the changed URL (Or update) it.

여기서, URL은 네트워크상에서 자원(resource)이 어디 있는지를 알려주기 위한 규약(protocol)으로서, 상기 URL은 웹사이트 주소(website address)뿐만 아니라 컴퓨터 네트워크상의 자원을 나타낼 수 있다. 따라서, 상기 웹사이트 주소에 연결하려면, 상기 웹사이트에 해당하는 URL에 맞는 프로토콜을 알아야 하고, 그와 동일한 프로토콜로 접속해야 한다.Here, a URL is a protocol for indicating where a resource is located on a network, and the URL may indicate a resource on a computer network as well as a website address. Accordingly, in order to connect to the website address, a protocol matching the URL corresponding to the web site must be known, and the same protocol should be used.

도 4는 본 발명의 실시 예들에 따른 사용자 가입을 설명하는 데이터 흐름도이다. 도 1과 도 4를 참조하면, 사용자가 이동 통신 장치(90)에 설치된 앱(APP)을 실행하면(S101), 앱(APP)은 상기 사용자의 e-메일 주소와 패스워드를 입력할 수 있는 입력창들(또는 GUI들)을 이동 통신 장치(90)의 디스플레이 장치를 통해 상기 사용자에게 제공할 수 있다. 상기 사용자가 상기 입력창들에 e-메일 주소와 패스워드를 입력하고, 앱(APP)에 의해 제공하는 회원 가입 버튼(또는 GUI)을 클릭하면 (S103), 앱(APP)은 상기 e-메일 주소와 상기 패스워드를 포함하는 가입 요청(ER)을 제2네트워크(80)를 통해 제1서버(70-1)로 전송할 수 있다(S105).4 is a data flow diagram illustrating a user subscription in accordance with embodiments of the present invention. Referring to FIGS. 1 and 4, when a user executes an APP installed in the mobile communication device 90 (S101), the APP transmits an input for inputting the e-mail address and password of the user (Or GUIs) may be provided to the user via the display device of the mobile communication device 90. When the user inputs an e-mail address and a password to the input windows and clicks a subscription button (or GUI) provided by the APP (S103), the APP transmits the e- And the subscription request (ER) including the password to the first server 70-1 through the second network 80 (S105).

본 명세서에서 이동 통신 장치(90)에 설치된(또는 이동 통신 장치(90)에서 실행되는) 앱(또는 애플리케이션 소프트웨어)이 특정 장치(예컨대, 제1서버(70-1) 또는 제2서버(70-3))와 데이터(또는 신호)를 전송하거나 수신한다 함은, 이동 통신 장치(90)의 프로세서(또는 앱을 실행하는 하드웨어 장치)의 제어에 따라, 이동 통신 장치(90)의 통신장치(예컨대, 송수신기)가 상기 특정 장치의 통신장치(예컨대, 송수신기)와 상기 데이터(또는 신호)를 전송하거나 수신하는 것은 의미한다.The application (or application software) installed in the mobile communication device 90 (or executed in the mobile communication device 90) is referred to herein as a specific device (e.g., the first server 70-1 or the second server 70- 3) and data (or signal) to the mobile communication device 90 may be transmitted or received by the communication device 90 of the mobile communication device 90 (for example, , Transceiver) transmits or receives the data (or signal) with a communication device (e.g., a transceiver) of the specific device.

제1서버(70-1)는 가입 요청(ER)을 수신하고(S105), 상기 e-메일 주소와 상기 패스워드를 제1서버(70-1)에 의해 관리되는 데이터베이스에 저장하고(S107), 상기 e-메일 주소로 인증 메일이 발송될 수 있도록 상기 e-메일 주소를 포함하는 인증 메일 전송 요청(TR)을 메일 서버(95)로 전송할 수 있다(S109). 메일 서버(95)는 인증 메일 전송 요청(TR)을 외부 메일 서버(97)로 전송한다(S111). 외부 메일 서버 (97)가 상기 e-메일 주소로 인증 메일을 발송하면, 제1서버(70-1)는, 상기 e-메일 주소로 발송된 상기 인증 메일을 사용자가 확인할 수 있도록, 인증 메일 확인 요청 (CR)을 제2네트워크(80)를 통해 앱(APP)으로 전송할 수 있다(S113).The first server 70-1 receives the subscription request (ER) (S105), stores the e-mail address and the password in a database managed by the first server 70-1 (S107) (TR) including the e-mail address to the mail server 95 so that the authentication mail can be sent to the e-mail address (S109). The mail server 95 transmits the authentication mail transmission request (TR) to the external mail server 97 (S111). When the external mail server 97 sends the authentication mail to the e-mail address, the first server 70-1 checks the authentication mail sent to the e-mail address by the user, The request (CR) may be transmitted to the APP (APP) through the second network 80 (S113).

사용자가 상기 e-메일 주소로 발송된 상기 인증 메일의 본문에 링크된 메일 계정(mail account) 활성화를 클릭하면(S115), 외부 메일 서버(97)는 사용자 가입 인증이 완료되었음을 지시하는 인증 신호(AS)를 제1서버(70-1)로 전송할 수 있다 (S117). 제1서버(70-1)는 외부 메일 서버(97)로부터 전송된 인증 신호(AS)에 응답하여 사용자 인증 정보(UKEY)를 생성할 수 있다(S119).When the user clicks on the activation of a mail account linked to the body of the authentication mail sent to the e-mail address (S115), the external mail server 97 transmits an authentication signal AS to the first server 70-1 (S117). The first server 70-1 may generate the user authentication information UKEY in response to the authentication signal AS transmitted from the external mail server 97 (S119).

예컨대, 사용자 인증 정보(UKEY)는 상기 e-메일 주소와 상기 패스워드에 기초하여 생성된 고유 번호일 수 있으나 이에 한정되는 것은 아니다. 제1서버(70-1)는 사용자 인증 정보(UKEY)를 제1서버(70-1)에 의해 관리되는 데이터베이스에 저장하고(S121), 사용자 인증 정보(UKEY)를 제2네트워크(80)를 통해 앱(APP)으로 전송할 수 있다(S123).For example, the user authentication information UKEY may be a unique number generated based on the e-mail address and the password, but is not limited thereto. The first server 70-1 stores the user authentication information UKEY in the database managed by the first server 70-1 (S121), and transmits the user authentication information UKEY to the second network 80 To the APP (S123).

도 5a와 도 5b는 본 발명의 실시 예들에 따른 경비 시스템에서 허브 등록 과정을 설명하는 데이터 흐름도들이고, 도 6은 본 발명의 실시 예들에 따른 이동 통신 장치에서 허브 등록 과정을 설명하는 개념도이다.5A and 5B are data flow charts illustrating a hub registration process in the guard system according to the embodiments of the present invention, and FIG. 6 is a conceptual diagram illustrating a hub registration process in the mobile communication device according to the embodiments of the present invention.

도 1, 도 5a, 도 5b, 및 도 6을 참조하면, 허브(30)는 경비 해제 상태 즉, 허브(30)의 제1 LED(700-1)의 상태가 점등 상태이고(S200), 사용자가 이동 통신 장치(90)에 설치된 앱(APP)에 의해 제공되는 허브 등록 GUI(GUI1)를 터치(또는 클릭)하면(S201, 도 6의 (a)), 앱(APP)은 허브(30)의 일련번호(예컨대, 시리얼번호)에 해당하는 제1식별 번호(ID1)를 입력할 수 있는 제1입력 창(93), 허브 이름을 입력할 수 있는 제2입력 창(95), 및 등록 버튼(97)을 이동 통신 장치(90)의 디스플레이 장치(91)를 통해 상기 사용자에게 제공할 수 있다(도 6의 (b)).Referring to FIGS. 1, 5A, 5B and 6, the hub 30 is in a light-off state, that is, when the state of the first LED 700-1 of the hub 30 is on (S200) The APP APP is connected to the hub 30 by touching (or clicking) the hub registration GUI GUI1 provided by the app (APP) installed in the mobile communication device 90 (S201, A first input window 93 for inputting a first identification number ID1 corresponding to a serial number (for example, a serial number) of the first input window 93, a second input window 95 for inputting a hub name, (97) to the user through the display device 91 of the mobile communication device 90 (Fig. 6 (b)).

사용자가 제1입력 창(93)에 제1식별 번호(ID1, 예컨대, 1234567)를 입력하고, 제2입력 창(95)에 허브 이름(예컨대, 우리집)을 입력하고, 앱(APP)에 의해 제공되는 등록 버튼(97)을 클릭하면(S203, 도 6의 (b)), 앱(APP)은 제1식별 번호 (ID1)를 포함하는 등록 확인 요청(IQ)을 제1서버(70-1)로 전송할 수 있다(S205).The user enters a first identification number (ID1, e.g., 1234567) in the first input window 93 and a hub name (e.g., my home) in the second input window 95, When the registration button 97 is clicked (S203, FIG. 6B), the APP transmits a registration confirmation request (IQ) including the first identification number ID1 to the first server 70-1 (S205).

제1서버(70-1)는 제1식별 번호(ID1)가 등록 가능한 ID 인지를 판단할 수 있다(S207). 예컨대, 제1서버(70-1)는 제1식별 번호(ID1)가 데이터베이스에 저장된 식별 번호인지 여부를 판단하고, 판단의 결과 제1식별 번호(ID1)가 상기 데이터베이스에 저장된 식별 번호일 때, 제1서버(70-1)는 제1식별 번호(ID1)가 등록 가능한 ID 라고 판단하고, 허브(30)가 등록 가능한 허브임을 지시하는 등록 가능 신호(EN)를 앱(APP)으로 전송할 수 있다(S209).The first server 70-1 can determine whether the first identification number ID1 is an ID that can be registered (S207). For example, the first server 70-1 determines whether the first identification number ID1 is an identification number stored in the database, and when the first identification number ID1 is an identification number stored in the database as a result of the determination, The first server 70-1 can determine that the first identification number ID1 is an ID that can be registered and can transmit the registration enable signal EN indicating that the hub 30 is a registerable hub to the APP (S209).

앱(APP)은, 등록 가능 신호(EN)에 응답하여, 푸시 알림 창(99)을 생성하고, 사용자에게 허브(30)의 초기화 버튼(400)을 눌려달라는 요청을 메시지 형태로 알릴 수 있다(도 6의 (c)).The application APP can generate a push notification window 99 in response to the register enable signal EN and inform the user of the request to press the initialization button 400 of the hub 30 in the form of a message 6 (c)).

앱(APP)은, 등록 가능 신호(EN)에 응답하여, 제1식별 번호(ID1)를 포함하는 페어링 요청(PQ)을 제1URL(URL1)에 해당하는 제1서버(70-1)로 전송할 수 있다 (S213). 제1서버(70-1)는 페어링 요청(PQ)을 제1네트워크(60)와 공유기(40)를 통해 허브(30)로 전송할 수 있다(S215, S217, 및 S219).The APP transmits the pairing request PQ including the first identification number ID1 to the first server 70-1 corresponding to the first URL (URL1) in response to the registration enable signal EN (S213). The first server 70-1 may transmit a pairing request PQ to the hub 30 through the first network 60 and the router 40 (S215, S217, and S219).

실시 예들에 따라, 경비 시스템(10)이 MQTT 프로토콜을 사용할 때, 제1서버 (70-1)가 제1서브 서버(70-1a)와 제2서브 서버(70-1b)를 포함하고, 앱(APP)은 구독 (subscribe) 클라이언트이고, 제2서브 서버(70-1b)는 중개자(broker) 서버이고, 허브(30)는 발행(publish) 클라이언트일 수 있다.According to embodiments, when the guard system 10 uses the MQTT protocol, the first server 70-1 includes a first sub-server 70-1a and a second sub-server 70-1b, (APP) is a subscribe client, the second sub-server 70-1b is a broker server, and the hub 30 is a publish client.

앱(APP)은, 허브(30)로부터 허브(30)의 일련번호에 해당하는 제2식별 번호 (ID2)에 대한 메시지를 수신하기 위해, 제2식별 번호(ID2)의 구독을 요청하는 구독 신청(SR)을 제2서브 서버(70-1b)로 전송할 수 있다(S211).The application APP sends a subscription request for subscribing to the second identification number ID2 to receive a message for the second identification number ID2 corresponding to the serial number of the hub 30 from the hub 30. [ (SR) to the second sub-server 70-1b (S211).

구독 신청(SR)이 제2서브 서버(70-1b)로 전송된 후, 앱(APP)은 제1식별 번호 (ID1)를 포함하는 페어링 요청(PQ)을 제1서브 서버(70-1a)로 전송할 수 있다 (S213). 제1서브 서버(70-1a)는 페어링 요청(PQ)을 제2서브 서버(70-1b)로 전송하고(S215), 제2서브 서버(70-1b)는 페어링 요청(PQ)을 제1네트워크(60)와 공유기 (40)를 통해(S217) 허브(30)로 전송할 수 있다(S219).After the subscription SR is transmitted to the second subserver 70-1b, the APP transmits a pairing request PQ including the first identification number ID1 to the first subserver 70-1a, (S213). The first sub-server 70-1a transmits a pairing request PQ to the second sub-server 70-1b (S215), and the second sub-server 70-1b transmits the pairing request PQ to the first sub- (S217) to the hub 30 through the network 60 and the router 40 (S219).

사용자가 허브(30)에 설치된 초기화 버튼(400)을 누르면(S221), 허브(30)는 초기화 버튼(400)의 눌림에 따라 리셋 신호(RESET)를 생성하고, 생성된 리셋 신호 (RESET)의 지속 시간을 카운트하고, 카운트 값(CNT)을 생성할 수 있다(S223).When the user presses the initialization button 400 installed on the hub 30 at step S221, the hub 30 generates a reset signal RESET according to the depression of the initialization button 400 and outputs the generated reset signal RESET The duration time can be counted and the count value CNT can be generated (S223).

도 2에 도시된 바와 같이, 사용자가 허브(30)의 초기화 버튼(400)을 누르면, 초기화 버튼(400)은 사용자의 눌림(BE)을 감지하여 MCU(100)로 작동 전압(VDD)을 공급할 수 있다. MCU(100)는, 작동 전압(VDD)에 응답하여 또는 작동 전압(VDD)에 해당하는 하이 레벨에 응답하여, 리셋 신호(RESET)를 생성한다. MCU(100)에 의해 실행되는 카운터(110)는 리셋 신호(RESET)의 지속 시간(예컨대, 하이 레벨이 지속되는 시간)을 카운트하고, 카운트 값(CNT)을 생성할 수 있다(S223).2, when the user presses the initialization button 400 of the hub 30, the initialization button 400 senses the BE of the user and supplies the operating voltage VDD to the MCU 100 . The MCU 100 generates the reset signal RESET in response to the operating voltage VDD or in response to the high level corresponding to the operating voltage VDD. The counter 110 executed by the MCU 100 counts the duration of the reset signal RESET (e.g., the time at which the high level lasts) and generates the count value CNT (S223).

도 2와 도 5b를 참조하면, MCU(100)에 의해 실행되는 비교기(130)는 카운터 (110)로부터 카운트 값(CNT)을 수신하고, 카운트 값(CNT)과 제1기준 카운트 값 (REF1)을 비교할 수 있다(S225).2 and 5B, the comparator 130 executed by the MCU 100 receives the count value CNT from the counter 110 and compares the count value CNT with the first reference count value REF1, (S225).

제1기준 카운트 값(REF1)은 펌웨어(F/W, 310)에 프로그램되거나 허브(30)의 메모리 장치(300)에 저장될 수 있다.The first reference count value REF1 may be programmed into the firmware (F / W) 310 or stored in the memory device 300 of the hub 30.

비교의 결과 카운트 값(CNT)이 제1기준 카운트 값(REF1)과 같거나 작을 때 (S225의 YES), MCU(100)는 메모리 장치(300)로부터 제2식별 번호(ID2)를 리드할 수 있다(S227). MCU(100)는 제1식별 번호(ID1)와 제2식별 번호(ID2)를 비교하고 (S229), 제1식별 번호(ID1)와 제2식별 번호(ID2)가 동일할 때(S229의 YES), MCU (100)는 제2식별 번호(ID2)를 공유기(40)로 전송하도록 통신 장치(200)를 제어할 수 있다(S231).When the result of the comparison is that the count value CNT is equal to or smaller than the first reference count value REF1 (YES in S225), the MCU 100 can read the second identification number ID2 from the memory device 300 (S227). The MCU 100 compares the first identification number ID1 with the second identification number ID2 in step S229. When the first identification number ID1 and the second identification number ID2 are equal to each other (YES in step S229) ), The MCU 100 may control the communication device 200 to transmit the second identification number ID2 to the router 40 (S231).

제1서버(70-1)는 공유기(40)와 제1네트워크(60)를 통해 제2식별 번호(ID2)를 수신하고(S233), 수신된 제2식별 번호(ID2)를 이동 통신 장치(90)로 전송할 수 있다(S235).The first server 70-1 receives the second identification number ID2 through the router 40 and the first network 60 in step S233 and transmits the received second identification number ID2 to the mobile communication device 90) (S235).

실시 예들에 따라, 경비 시스템(10)이 MQTT 프로토콜을 사용할 때, 제2서브 서버(70-1b)는 공유기(40)와 제1네트워크(60)를 통해 제2식별 번호(ID2)를 수신할 수 있다(S231과 S233). 앱(APP)은 제2서브 서버(70-1b)로 제2식별 번호(ID2)의 구독을 요청하였으므로, 제2서브 서버(70-1b)는 제2식별 번호(ID2)를 구독 요청한 앱 (APP)으로 제2식별 번호(ID2)를 전송할 수 있다(S235).According to the embodiments, when the guard system 10 uses the MQTT protocol, the second sub-server 70-1b receives the second identification number ID2 via the router 40 and the first network 60 (S231 and S233). Since the application APP requests the second sub-server 70-1b to subscribe to the second identification number ID2, the second sub-server 70-1b transmits the second identification number ID2 to the app APP) to the second identification number (ID2) (S235).

앱(APP)은, 제2식별 번호(ID2)에 응답하여, 제1식별 번호(ID1), 허브 이름, 및 사용자 인증 정보(UKEY)를 포함하는 허브 등록 요청(HRQ)을 제1서버(70-1)로 전송할 수 있다(S237).In response to the second identification number (ID2), the app (APP) sends a hub registration request (HRQ) including the first identification number (ID1), the hub name, and the user authentication information UKEY to the first server 70 -1) (S237).

제1서버(70-1)는 사용자 인증 정보(UKEY)를 이용하여 허브 등록을 요청하는 사용자가 정당한 사용자인지(즉, 데이터베이스에 등록된 사용자인지) 여부를 인증하고, 허브 등록의 완료를 지시하는 등록 완료 메시지(MSG)를 생성하고(S239), 허브 등록 정보와 함께 등록 완료 메시지(MSG)를 앱(APP)으로 전송할 수 있다(S241).The first server 70-1 authenticates whether the user requesting hub registration is a legitimate user (i.e., a user registered in the database) using the user authentication information UKEY, and instructs the completion of hub registration A registration completion message MSG is generated (S239), and a registration completion message MSG can be transmitted to the APP (S241) together with the hub registration information.

예컨대, 허브 등록 정보는 제1식별 번호(ID1), 허브 이름, 및/또는 허브(30)의 펌웨어(F/W) 정보 등을 포함할 수 있다.For example, the hub registration information may include a first identification number (ID1), a hub name, and / or firmware (F / W) information of the hub 30,

앱(APP)은, 등록 완료 메시지(MSG)에 응답하여, 허브 등록 GUI(GUI1)를 해제 GUI(GUI4)로 변경할 수 있다(S243, 도 6의 (d)). 예컨대, 앱(APP)은, 등록 완료 메시지(MSG)에 응답하여, 허브 등록 GUI(GUI1)의 모양과 컬러를 변경할 수 있다.The APP can change the hub registration GUI (GUI1) to the release GUI (GUI4) in response to the registration completion message MSG (S243, Fig. 6 (d)). For example, the APP (APP) can change the appearance and color of the hub registration GUI (GUI1) in response to the registration completion message (MSG).

도 7은 본 발명의 실시 예들에 따른 허브의 작동방법을 설명하기 위한 플로우 차트이다. 도 1, 도 2, 및 도 7을 참조하면, 허브(30)는 이동 통신 장치(90)의 앱(APP)에 입력된 제1식별 번호(ID1)를 공유기(40)에 연결된 허브(30)의 통신 장치 (200)를 통해 수신할 수 있다(S301).7 is a flowchart for explaining a method of operating a hub according to embodiments of the present invention. Referring to FIGS. 1, 2 and 7, the hub 30 transmits a first identification number (ID1) input to an app (APP) of the mobile communication device 90 to a hub 30 connected to the router 40, Through the communication device 200 of FIG. 1 (S301).

사용자가 허브(30)의 초기화 버튼(400)을 누르면, 허브(30)는 초기화 버튼 (400)의 눌림에 따라 리셋 신호(RESET)를 생성할 수 있다(S303). 허브(30)는 리셋 신호(RESET)의 지속 시간을 카운트하고, 카운트 값(CNT)을 생성할 수 있다(S305).When the user presses the initialization button 400 of the hub 30, the hub 30 can generate the reset signal RESET according to the pressing of the initialization button 400 (S303). The hub 30 may count the duration of the reset signal RESET and generate a count value CNT (S305).

허브(30)는 복수의 기준 카운트 값들(REF1과 REF2) 각각과 카운트 값(CNT)을 비교할 수 있다(S307과 S315). 비교 결과들에 따라, 허브(30)는 허브(30)의 메모리 장치(300)에 저장된 제2식별 번호(ID2)를 통신 장치(200)를 통해 공유기(40)로 전송하는 제1작동, 통신 장치(200)의 통신 프로토콜을 변경하는 제2작동, 및 허브 (30)를 초기화하는 제3작동 중에서 어느 하나를 수행할 수 있다.The hub 30 can compare the count value CNT with each of the plurality of reference count values REF1 and REF2 (S307 and S315). In accordance with the results of the comparison, the hub 30 performs a first operation to transmit a second identification number (ID2) stored in the memory device 300 of the hub 30 to the router 40 via the communication device 200, A second operation for changing the communication protocol of the device 200, and a third operation for initializing the hub 30. [

하나의 초기화 버튼(400)만을 포함하는 허브(30)는 리셋 신호(RESET)의 지속 시간에 따라 제1작동, 제2작동, 및 제3작동 중에서 어느 하나만을 수행할 수 있으므로 허브(30)를 경박단소하게 제조할 수 있는 효과가 있다.The hub 30 including only one initialization button 400 can perform only one of the first operation, the second operation, and the third operation according to the duration of the reset signal RESET, There is an effect that it can be made thin and light and small.

예컨대, 허브(30)는 카운트 값(CNT)과 제1기준 카운트 값(REF1)을 비교할 수 있다(S307). 비교의 결과 카운트 값(CNT)이 제1기준 카운트 값(REF1)과 같거나 작을 때(S307의 YES), 허브(30)는 메모리 장치(300)로부터 제2식별 번호(ID2)를 리드할 수 있다(S309). 허브(30)는 제1식별 번호(ID1)와 제2식별 번호(ID2)를 비교하고 (S311), 비교의 결과 제1식별 번호(ID1)와 제2식별 번호(ID2)가 동일할 때(S311의 YES), 허브(30)는 제2식별 번호(ID2)를 통신 장치(200)를 통해 공유기(40)로 전송할 수 있다(S313).For example, the hub 30 may compare the count value CNT with the first reference count value REF1 (S307). When the result of the comparison is that the count value CNT is equal to or smaller than the first reference count value REF1 (YES in S307), the hub 30 can read the second identification number ID2 from the memory device 300 (S309). The hub 30 compares the first identification number ID1 with the second identification number ID2 S311 and when the first identification number ID1 and the second identification number ID2 are equal to each other YES in S311), the hub 30 can transmit the second identification number ID2 to the router 40 via the communication device 200 (S313).

비교의 결과 카운트 값(CNT)이 제1기준 카운트 값(REF1)보다 클 때(S307의 NO), 비교기(110)는 카운트 값(CNT)과 제2기준 카운트 값(REF2)을 비교할 수 있다 (S315). 비교의 결과 카운트 값(CNT)이 제1기준 카운트 값(REF1)보다 크고, 제2기준 카운트 값(REF2)과 같거나 작을 때, 허브(30)는 통신 장치(200)의 통신 프로토콜을 변경할 수 있다(S317).When the result of the comparison is that the count value CNT is larger than the first reference count value REF1 (NO in S307), the comparator 110 can compare the count value CNT with the second reference count value REF2 S315). When the result of the comparison is that the count value CNT is greater than the first reference count value REF1 and equal to or less than the second reference count value REF2, the hub 30 can change the communication protocol of the communication device 200 (S317).

통신 장치(200)의 통신 프로토콜을 변경한다 함은 제1네트워크(60)가 TCP/IP 프로토콜을 제공하는 네트워크일 때, 통신 장치(200)의 통신 프로토콜을 TCP/IP 프로토콜로 변경하고, 제1네트워크(60)가 Wi-Fi 네트워크일 때, 통신 장치(200)의 통신 프로토콜을 Wi-Fi 통신 방식에 필요한 프로토콜로 변경하는 것을 의미할 수 있다. 본 명세서에서는 TCP/IP 프로토콜과 Wi-Fi 통신 방식에 필요한 프로토콜로 변경하는 예를 설명했으나, 이에 한정되지 않고 다양한 형태로 변경할 수 있다.Changing the communication protocol of the communication device 200 is performed by changing the communication protocol of the communication device 200 to the TCP / IP protocol when the first network 60 is a network providing the TCP / IP protocol, When the network 60 is a Wi-Fi network, the communication protocol of the communication device 200 may be changed to a protocol required for the Wi-Fi communication method. In the present specification, an example in which the protocol is changed to the protocol required for the TCP / IP protocol and the Wi-Fi communication method has been described. However, the present invention is not limited to this and can be changed into various forms.

비교의 결과 카운트 값(CNT)이 제2기준 카운트 값(REF2)보다 클 때(S315의 NO), 허브(30)는 허브(30)를 초기화할 수 있다. 허브(30)를 초기화한다 함은 허브 (30)를 출시 시점의 상태로 되돌리는 공장 초기화(factory reset)를 의미할 수 있으나 이에 한정되는 것은 아니다.When the result of the comparison is that the count value CNT is larger than the second reference count value REF2 (NO in S315), the hub 30 can initialize the hub 30. [ Initializing the hub 30 may refer to a factory reset that restores the hub 30 to the time of release, but is not limited thereto.

제1기준 카운트 값(REF1)과 제2기준 카운트 값(REF2) 각각은 상기 복수의 기준 카운트 값들 각각에 대응될 수 있다.Each of the first reference count value REF1 and the second reference count value REF2 may correspond to each of the plurality of reference count values.

도 8a와 도 8b는 본 발명의 실시 예들에 따른 경비 시스템에서 센서 등록 과정을 설명하는 데이터 흐름도들이고, 도 9 내지 도 11은 본 발명의 실시 예들에 따른 이동 통신 장치에서 센서 등록 과정을 설명하는 개념도들이다.8A and 8B are data flow charts illustrating a sensor registration process in the guard system according to the embodiments of the present invention. FIGS. 9 to 11 are conceptual diagrams illustrating a sensor registration process in the mobile communication device according to the embodiments of the present invention admit.

도 1, 도 8a, 및 도 9를 참조하면, 허브(30)의 상태가 경비 해제 상태 즉, 허브(30)의 제1LED(700-1)가 점등 상태이고(S401), 사용자가 이동 통신 장치(90)에 설치된 앱(APP)에 의해 제공되는 센서 GUI(GUI2)를 터치하면(S403, 도 9의 (a)), 앱(APP)은 센서(20)를 추가할 수 있는 센서 추가 버튼(92)을 포함하는 화면을 이동 통신 장치(90)의 디스플레이 장치(91)를 통해 제공할 수 있다(도 9의 (b)). 사용자가 센서 추가 버튼(92)을 클릭하면, 앱(APP)은 푸시 알림 창(99)을 생성하고, 사용자에게 센서 등록 중임을 알리는 정보를 메시지 형태로 디스플레이할 수 있다(도 9의 (c)).Referring to FIGS. 1, 8A, and 9, when the state of the hub 30 is the released state, that is, when the first LED 700-1 of the hub 30 is turned on (S401) When the user touches the sensor GUI (GUI2) provided by the app (APP) installed in the server 90 (S403, FIG. 9A) 92 can be provided through the display device 91 of the mobile communication device 90 (FIG. 9 (b)). When the user clicks the sensor addition button 92, the APP generates the push notification window 99 and displays information indicating that the sensor is being registered to the user in message form (Fig. 9C) ).

앱(APP)은 사용자 인증 정보(UKEY)를 포함하는 센서 등록 요청(SRQ)을 제2네트워크(80)를 통해 제1URL(URL1)에 해당하는 제1서버(70-1)로 전송할 수 있다 (S405).The APP may transmit the sensor registration request SRQ including the user authentication information UKEY to the first server 70-1 corresponding to the first URL (URL1) through the second network 80 S405).

제1서버(70-1)는, 사용자 인증 정보(UKEY)를 이용하여, 센서 등록을 요청하는 사용자가 정당한 사용자인지 여부를 인증하고(S407), 센서 등록 요청(SRQ)을 제1네트워크(60)와 공유기(40)를 통해 허브(30)로 전송할 수 있다(S409, S411, 및 S413).The first server 70-1 authenticates whether the user requesting the sensor registration is a legitimate user by using the user authentication information UKEY in step S407 and transmits the sensor registration request SRQ to the first network 60 And the router 40 to the hub 30 (S409, S411, and S413).

허브(30)가 센서 등록 요청(SRQ)을 수신하면, 허브(30)는 허브(30)의 상태를 등록 대기 상태로 전환하고, 허브(30)의 제1 LED(700-1)를 소등하고 허브(30)의 제2 LED를 점등(700-3)할 수 있다(S415).When the hub 30 receives the sensor registration request (SRQ), the hub 30 switches the state of the hub 30 to the registration waiting state, and the first LED 700-1 of the hub 30 is turned off The second LED of the hub 30 may be turned on (700-3) (S415).

사용자가 센서(20)에 배터리를 장착(또는 삽입)하면(S419), 센서(20)는 상기 배터리로부터 공급되는 작동 전압이 센서(20)로 정상적으로 공급되는지를 판단할 수 있다. 판단의 결과, 작동 전압이 센서(20)로 정상적으로 공급된다고 판단될 때, 상기 작동 전압이 센서(20)로 공급됨에 따라(S419), 센서(20)는 센서(20)의 메모리 장치(20)에 저장된 센서 ID(SID)를 읽어오고, 센서 ID(SID)를 포함하는 센서 등록 정보(SRI)를 허브(30)로 무선으로 전송할 수 있다(S421).When the user attaches (or inserts) the battery to the sensor 20 (S419), the sensor 20 can determine whether the operating voltage supplied from the battery is normally supplied to the sensor 20. [ As a result of the determination, when it is determined that the operating voltage is normally supplied to the sensor 20, the sensor 20 is supplied to the memory device 20 of the sensor 20 as the operating voltage is supplied to the sensor 20 (S419) And transmits the sensor registration information SRI including the sensor ID (SID) to the hub 30 wirelessly (S421).

예컨대, 센서(20)는 센서 ID(SID)를 포함하는 센서 등록 정보(SRI)를 안테나를 통해 브로드캐스팅의 방법으로 허브(30)로 전송할 수 있다. 센서(30)는, 센서 등록 정보(SRI)를 전송한 후, 센서(30)의 제1 LED를 점등할 수 있다(S423).For example, the sensor 20 may transmit the sensor registration information (SRI) including the sensor ID (SID) to the hub 30 by way of broadcasting via the antenna. After transmitting the sensor registration information SRI, the sensor 30 may turn on the first LED of the sensor 30 (S423).

허브(30)는 센서(20)로부터 센서 등록 정보(SRI)를 수신하여 메모리(300)에 저장하고(S425), 허브(30)는 센서 등록 정보(SRI)가 메모리 장치(300)에 저장됨에 따라 생성된 응답 신호(ACK)를 센서(20)로 무선으로 전송할 수 있다(도 8b의 S427).The hub 30 receives the sensor registration information SRI from the sensor 20 and stores the sensor registration information SRI in the memory 300 in step S425. The hub 30 stores the sensor registration information SRI in the memory device 300 The generated response signal ACK can be wirelessly transmitted to the sensor 20 (S427 in FIG. 8B).

도 8b를 참조하면, 센서(20)는 허브(30)로부터 전송되는 응답 신호(ACK)를 수신할 수 있다(S427). 센서(20)는, 응답 신호(ACK)에 응답하여, 센서(20)의 제1 LED를 소등하고 센서(20)의 제2 LED를 점등할 수 있다(S429). 센서(20)의 제2 LED가 점등된 후, 센서(20)는 제2 LED를 소등하고 슬립 상태로 전환할 수 있다(S431). 실시 예들에 따라, 센서(20)가 허브(30)로부터 응답 신호(ACK)를 수신하지 못하면, 센서(20)는 센서(20)의 제1 LED를 소등하고 센서(20)의 제2 LED를 점등하지 않을 수 있다.Referring to FIG. 8B, the sensor 20 may receive a response signal ACK transmitted from the hub 30 (S427). The sensor 20 can turn off the first LED of the sensor 20 and turn on the second LED of the sensor 20 in response to the response signal ACK (S429). After the second LED of the sensor 20 is turned on, the sensor 20 can turn off the second LED and switch to the sleep state (S431). According to embodiments, when the sensor 20 does not receive a response signal ACK from the hub 30, the sensor 20 extinguishes the first LED of the sensor 20 and the second LED of the sensor 20 It may not be turned on.

허브(30)는 메모리 장치(300)에 저장된 센서 등록 정보(SRI)를 공유기(40)와 제1네트워크(60)를 통해 제1서버(70-1)로 전송하고(S433, S437, 및 S439), 허브 (30)의 제2 LED(700-3)를 소등하고 허브(30)의 제1 LED(700-1)를 점등할 수 있다 (S435). 실시 예들에 따라, 허브(30)는 허브(30)에 구비된 알람 장치를 통해 알람을 발생할 수 있다.The hub 30 transmits the sensor registration information SRI stored in the memory device 300 to the first server 70-1 through the router 40 and the first network 60 (S433, S437, and S439 , The second LED 700-3 of the hub 30 may be turned off and the first LED 700-1 of the hub 30 may be turned on (S435). According to embodiments, the hub 30 may generate an alarm through an alarm device provided on the hub 30.

제1서버(70-1)는 센서 등록 정보(SRI)를 수신하여 제2네트워크(80)를 통해 앱(APP)으로 전송하고(S441), 제1서버(70-1)는 센서 등록 정보(SRI)를 데이터베이스에 저장할 수 있다(S443).The first server 70-1 receives the sensor registration information SRI and transmits it to the APP through the second network 80 in step S441. The first server 70-1 transmits the sensor registration information SRI) may be stored in the database (S443).

실시 예들에 따라, 경비 시스템(10)이 MQTT 프로토콜을 사용할 때, 제2서브 서버(70-1b)는 공유기(40)와 제1네트워크(60)를 통해 센서 등록 정보(SRI)를 수신할 수 있다(S437). 제2서브 서버(70-1b)는 센서 등록 정보(SRI)를 제1서브 서버 (70-1a)와 앱(APP)으로 전송할 수 있다(S439와 S441).According to the embodiments, when the guard system 10 uses the MQTT protocol, the second sub-server 70-1b may receive the sensor registration information (SRI) via the router 40 and the first network 60 (S437). The second sub-server 70-1b may transmit the sensor registration information (SRI) through the first sub-server 70-1a and the APP (S439 and S441).

앱(APP)은, 센서 등록 정보(SRI)에 응답하여, "장치 등록" 버튼(94)을 포함하는 화면을 디스플레이하고(도 10의 (a)), 사용자가 "장치 등록" 버튼(94)을 터치하면, 앱(APP)은 "센서명"을 입력할 수 있는 입력창(95)과 함께 "선택" 버튼(96)을 포함하는 화면을 디스플레이할 수 있다(도 10의 (b)). 사용자가 입력창(95)에 "센서명(예컨대, 출입문)"을 입력하고, "선택" 버튼(96)을 클릭하면, 앱(APP)은 센서 아이콘을 선택할 수 있는 버튼들과 "선택 완료" 버튼(98)을 포함하는 화면을 디스플레이할 수 있다(도 10의 (c).In response to the sensor registration information SRI, the application APP displays a screen including the "device registration" button 94 (Fig. 10A) The APP can display a screen including a "select" button 96 together with an input window 95 for inputting a "sensor name" (FIG. 10 (b)). When the user inputs a "sensor name (eg door)" in the input window 95 and clicks the "select" button 96, the APP will display buttons to select the sensor icon and " A screen including the button 98 can be displayed (Fig. 10 (c)).

사용자가 센서 아이콘 버튼(97)을 선택하고 "선택 완료" 버튼(98)을 클릭하면, 앱(APP)은 "저장하기" 버튼(99)을 포함하는 화면을 디스플레이할 수 있고(도 11의 (a)), 사용자가 "저장하기: 버튼(99)을 클릭함에 따라, 앱(APP)은 상기 센서명과 상기 센서 아이콘을 저장할 수 있다(도 11의 (b)).When the user selects the sensor icon button 97 and clicks the "complete selection" button 98, the APP can display a screen including the "save" button 99 (APP) can store the sensor name and the sensor icon (FIG. 11 (b)) as the user clicks the "Save:" button 99.

제1서버(70-1)는 센서 등록 정보(SRI)를 저장하고(S443), 센서 등록 완료를 지시하는 센서 등록 완료 신호(CPL)를 생성하고, 센서 등록 완료 신호(CPL)를 제2서브 서버(70-1b)로 전송할 수 있다(S445). 제2서브 서버(70-1b)는 센서 등록 완료 신호(CPL)를 이동 통신 장치(90)로 전송할 수 있다(S447).The first server 70-1 stores the sensor registration information SRI in step S443 and generates a sensor registration completion signal CPL for instructing completion of sensor registration and outputs the sensor registration completion signal CPL to the second sub- To the server 70-1b (S445). The second sub-server 70-1b may transmit the sensor registration completion signal CPL to the mobile communication device 90 (S447).

도 12는 본 발명의 실시 예들에 따른 이동 통신 장치에서 카메라 등록 과정을 설명하는 개념도이다. 도 1과 도 12를 참조하면, 사용자가 앱(APP)에 의해 제공되는 카메라 GUI(GUI3)를 클릭하면(도 12의 (a)), 앱(APP)은 Wi-Fi 설정 버튼(93)과 네트워크 케이블 연결 버튼(94)을 포함하는 화면을 디스플레이 장치(91)를 통해 디스플레이하고(도 12의 (b)), 사용자가 Wi-Fi 설정 버튼(93)을 클릭하면, 앱(APP)은 공유기(40)의 패스워드를 입력할 수 있는 입력 창(95)과 설정 버튼(97)을 디스플레이 장치(91)를 통해 상기 사용자에게 제공할 수 있다(도 12의 (c)).12 is a conceptual diagram illustrating a camera registration process in the mobile communication apparatus according to the embodiments of the present invention. 1 and 12, when a user clicks a camera GUI (GUI3) provided by an app (APP), the APP (APP) has a Wi-Fi setting button 93 and a Wi- When the user clicks the Wi-Fi setting button 93, the APP (APP) is displayed on the router 91 (FIG. 12B) An input window 95 and a setting button 97 for inputting the password of the input device 40 can be provided to the user through the display device 91 (FIG. 12 (c)).

사용자가 입력 창(95)에 패스워드를 입력하고 앱(APP)에 의해 제공되는 설정 버튼(97)을 클릭하면, 앱(APP)은, 설정 버튼(97)의 클릭에 응답하여, 복수의 URL들 (URL1과 URL2) 중에서 제2서버(70-3)에 해당하는 제2URL(URL2)을 선택할 수 있다. 앱(APP)은 공유기(40)의 ID와 패스워드를 포함하는 접속 요청을 제2URL(URL2)에 해당하는 제2서버(70-3)로 전송할 수 있다.When the user inputs a password in the input window 95 and clicks the setting button 97 provided by the APP, the APP responds to the click of the setting button 97, (URL2) corresponding to the second server 70-3 among the URLs (URL1 and URL2). The APP can transmit a connection request including the ID and the password of the router 40 to the second server 70-3 corresponding to the second URL (URL2).

제2서버(70-3)는, 상기 접속 요청을 이용하여, 이동 통신 장치(90)와 카메라 (50)를 Wi-Fi 통신망으로 연결하기 위해 제1네트워크(60)를 통해 공유기(40)를 제어할 수 있다.The second server 70-3 transmits the access request to the router 40 through the first network 60 to connect the mobile communication device 90 and the camera 50 via the Wi-Fi communication network Can be controlled.

이동 통신 장치(90)와 카메라(50)가 Wi-Fi 통신망으로 연결되면, 제2서버 (70-3)는 영상신호를 카메라(50)로부터 공유기(40)와 제1네트워크(60)를 통해 수신하여 이를 이동 통신 장치(90)로 전송할 수 있다. 앱(APP)은 상기 영상신호를 수신하여 디스플레이 장치(91)의 보기 창(99)을 통해 사용자에게 제공할 수 있다(도 12의 (d)).When the mobile communication device 90 and the camera 50 are connected by a Wi-Fi communication network, the second server 70-3 transmits a video signal from the camera 50 to the router 40 via the first network 60 And transmit it to the mobile communication device 90. The application APP can receive the video signal and provide it to the user through the viewing window 99 of the display device 91 (FIG. 12 (d)).

도 13은 본 발명의 실시 예들에 따른 경비 해제 상태의 경비 시스템의 일반 데이터 전송 과정을 설명하기 위한 데이터 흐름도이다. 도 1, 도 2, 및 도 13을 참조하면, 허브(30)가 경비 해제 상태일 때(S501), 센서(20)가 이벤트(EVENT)의 발생을 감지하면(S503), 허브(30)는 센서(20)로부터 출력된 감지 신호(SEN)를 수신할 수 있다(S505).FIG. 13 is a data flow chart for explaining a general data transmission process of the guard system in the guard release state according to the embodiments of the present invention. Referring to FIGS. 1, 2, and 13, when the hub 20 senses the occurrence of an event (S503) when the hub 30 is in the free state (S501), the hub 30 The sensing signal SEN output from the sensor 20 can be received (S505).

허브(30)는, 감지 신호(SEN)에 기초하여, 센서(20)가 등록된 센서인지 여부를 판단할 수 있다(S507). 예컨대, 허브(30)는 센서 ID(SID)를 포함하는 감지 신호 (SEN)를 파싱(parsing)하고, 파싱된 감지 신호(SEN)로부터 센서 ID(SID)를 추출하고, 추출된 센서 ID(SID)가 허브(30)의 메모리 장치(300)에 저장된 ID 인지를 판단할 수 있다(S507).The hub 30 can determine whether the sensor 20 is a registered sensor based on the sensing signal SEN (S507). For example, the hub 30 parses the sensing signal SEN including the sensor ID (SID), extracts the sensor ID (SID) from the parsed sensing signal SEN, and outputs the extracted sensor ID ) Is an ID stored in the memory device 300 of the hub 30 (S507).

판단의 결과 센서 ID(SID)가 허브(30)의 메모리 장치(300)에 저장된 센서 ID라고 판단되면(S507의 YES), 허브(30)는 센서(20)가 등록된 센서라고 판단하고, 판단 결과에 따라 센서(20)로 응답 신호(ACK)를 전송할 수 있다(S511). 그러나 판단의 결과, 센서 ID(SID)가 허브(30)의 메모리 장치(300)에 저장되지 않은 센서 ID라고 판단되면(S507의 NO), 허브(30)는 센서(20)가 등록된 센서가 아니라고 판단하고, 센서(20)로부터 전송된 감지 신호(SEN)를 무시할 수 있다(S509).If it is determined that the sensor ID (SID) is the sensor ID stored in the memory device 300 of the hub 30 (YES in S507), the hub 30 determines that the sensor 20 is the registered sensor, And may transmit a response signal ACK to the sensor 20 according to the result (S511). However, if it is determined that the sensor ID (SID) is not the sensor ID stored in the memory device 300 of the hub 30 (NO in S507), the hub 30 determines that the sensor 20 And it is possible to ignore the sensing signal SEN transmitted from the sensor 20 (S509).

허브(30)는 센서(20)로 응답 신호(ACK)를 전송한 후(S511), 센서 일반 정보 (SGI)를 공유기(40)와 제1네트워크(60)를 통해 제1서버(70-1)로 전송할 수 있다. 예컨대, 센서 일반 정보(SGI)는 센서(20)의 타입, 센서(20)의 아이콘, 센서(20)의 상태, 센서 ID(SID) 등을 포함하며, oneM2M 표준 프로토콜 기반의 데이터를 의미할 수 있다.The hub 30 transmits the sensor general information SGI to the first server 70-1 through the router 40 and the first network 60 after transmitting the response signal ACK to the sensor 20 in step S511, ). For example, the sensor general information SGI includes the type of the sensor 20, the icon of the sensor 20, the state of the sensor 20, the sensor ID (SID), etc., have.

실시 예들에 따라, 경비 시스템(10)이 MQTT 프로토콜을 사용할 때, 제2서브 서버(70-1b)는 센서 일반 정보(SGI)를 허브(30), 공유기(40), 및 제1네트워크(60)를 통해 수신할 수 있다(S515과 S517). 제2서브 서버(70-1b)는 센서 일반 정보 (SGI)를 제1서브 서버(70-1a)와 앱(APP)으로 전송할 수 있다(S519).According to the embodiments, when the guard system 10 uses the MQTT protocol, the second sub-server 70-1b transmits the sensor general information SGI to the hub 30, the router 40, and the first network 60 (S515 and S517). The second subserver 70-1b may transmit the sensor general information SGI to the first subserver 70-1a and the APP (S519).

제1서브 서버(70-1a)는, 센서 일반 정보(SGI)에 응답하여, 센서 세부 정보 (SSI)를 제2서브 서버(70-1b)로 전송할 수 있다(S521). 예컨대, 센서 세부 정보 (SSI)는 센서(20)의 타입, 센서(20)의 아이콘, 센서(20)의 상태, 센서 ID(SID) 등을 포함하며, 제1서브 서버(70-1a)에 의해 가공처리된 데이터를 의미한다.The first sub-server 70-1a may transmit the sensor detailed information SSI to the second sub-server 70-1b in response to the sensor general information SGI (S521). For example, the sensor detailed information SSI includes the type of the sensor 20, the icon of the sensor 20, the state of the sensor 20, the sensor ID (SID) Quot; data "

앱(APP)은 제2서브 서버(70-1b)로부터 센서 세부 정보(SSI)를 수신하고 (S523), 앱(APP)은 센서의 GUI를 변경할 수 있다(S525). 예컨대, 센서(20)의 상태가 문닫힘 상태로부터 문열림 상태로 변경될 때, 앱(APP)은 센서 GUI를 문닫힘 GUI로부터 문열림 GUI로 변경할 수 있다.The app APP receives the sensor detailed information SSI from the second sub-server 70-1b in step S523, and the APP can change the GUI of the sensor in step S525. For example, when the state of the sensor 20 is changed from the door closing state to the door opening state, the APP can change the sensor GUI from the door closing GUI to the door opening GUI.

도 14는 본 발명의 실시 예들에 따른 경비 시스템에서 허브의 상태를 경비 해제 상태에서 경비 상태로 전환하기 위한 과정을 설명하기 위한 데이터 흐름을 나타내고, 도 15는 본 발명의 실시 예들에 따른 이동 통신 장치에서 허브의 상태를 전환하는 과정을 설명하는 개념도이다.FIG. 14 shows a data flow for explaining a process for switching the state of the hub from the expired state to the expired state in the expense system according to the embodiments of the present invention, and FIG. FIG. 2 is a conceptual diagram illustrating a process of switching a state of a hub in FIG.

도 1, 도 2, 도 14, 및 도 15를 참조하면, 허브(30)의 상태가 경비 해제 상태이고(S600), 사용자가 이동 통신 장치(90)에 설치된 앱(APP)에 의해 제공되는 해제 GUI(또는 경비 설정 GUI; GUI4)를 클릭하면(S601, 도 15의 (a)), 앱(APP)은 등록된 센서(20)의 상태를 체크하고(S603), 허브(30)의 상태를 경비 해제 상태로부터 경비 상태로 전환하는데 이상이 있는지를 판단할 수 있다(S605).Referring to FIGS. 1, 2, 14, and 15, when the state of the hub 30 is in an expired state (S600) and the user releases the application (APP) provided in the mobile communication device 90 The APP checks the status of the registered sensor 20 (S603), and determines the state of the hub 30 (S601, Fig. 15A) It can be determined whether there is an error in switching from the expense release state to the expense state (S605).

예컨대, 센서(20)가 무선 자석 감지기이고 센서(20)의 상태가 출입문 열림 상태이면, 허브(30)의 상태를 경비 상태로 전환하는데 이상이 있다고 판단할 수 있다(S605). 그러나 센서(20)의 상태가 무선 자석 감지기이고 출입문 닫힘 상태이면, 허브(30)의 상태를 경비 상태로 전환하는데 이상이 없다고 판단할 수 있다(S605).For example, if the sensor 20 is a wireless magnetic sensor and the sensor 20 is in a door open state, it can be determined that there is an error in switching the state of the hub 30 to the security state (S605). However, if the state of the sensor 20 is the wireless magnetic sensor and the door is closed, it can be determined that there is no problem in switching the state of the hub 30 to the security state (S605).

실시 예들에 따라, 허브(30)는 NFC(near field communication) 태그를 더 포함할 수 있다. 사용자가 이동 통신 장치(30)의 NFC 기능을 활성화시키고, 앱(APP)에서 NFC 태그 등록 설정 버튼을 클릭하고, 이동 통신 장치(90)를 NFC 태그에 가까이 가져가면, 앱(APP)은 상기 NFC 태그로부터 전송된 코드를 인식하여 자동으로 센서(20)의 상태를 체크하고(S603), 허브(30)의 상태를 경비 해제 상태로부터 경비 상태로 전환하는데 이상이 있는지를 판단할 수 있다(S605).According to embodiments, the hub 30 may further include a near field communication (NFC) tag. When the user activates the NFC function of the mobile communication device 30 and clicks the NFC tag registration setting button in the APP and brings the mobile communication device 90 close to the NFC tag, (S603), and it can be determined whether there is an error in switching the state of the hub 30 from the expired state to the expired state (S605) .

판단의 결과, 허브(30)의 상태를 경비 상태로 전환하는데 이상이 없다고 판단될 때(S605의 YES), 앱(APP)은 사용자 인증 정보(UKEY)를 포함하는 경비 요청 (GQ)을 제2네트워크(80)를 통해 제1서버(70-1)로 전송할 수 있다(S607). 제1서버(70-1)는, 경비 요청(GQ)에 포함된 사용자 인증 정보(UKEY)를 이용하여, 허브 (30)의 상태를 경비 상태로 전환하고자 하는 사용자가 정당한 사용자 인지 여부를 판단할 수 있다(S609). 판단의 결과, 상기 사용자가 정당한 사용자라고 판단될 때, 제1서버(70-1)는 경비 요청(GQ)을 허브(30)로 전송하고(S611과 S613), 제1서버(70-1)는 경비 요청(GQ)에 대한 응답 신호(ACK)를 제2네트워크(80)를 통해 앱(APP)으로 전송할 수 있다(S617).As a result of the determination, when it is determined that there is no problem in switching the state of the hub 30 to the expense state (YES in S605), the APP transmits the expense request GQ including the user authentication information UKEY to the second To the first server 70-1 through the network 80 (S607). The first server 70-1 uses the user authentication information UKEY included in the expense request GQ to determine whether the user who intends to switch the state of the hub 30 to the expense state is a legitimate user (S609). If it is determined that the user is a legitimate user, the first server 70-1 transmits a GQ request to the hub 30 (S611 and S613) (APP) through the second network 80 (S617), and transmits a response signal (ACK) for the expense request GQ to the APP.

허브(30)는, 경비 요청(GQ)에 응답하여, 허브(30)의 상태를 경비 해제 상태로부터 경비 상태로 전환하고, 허브(30)의 상태가 상기 경비 상태로 전환되면, 허브(30)의 제1 LED(700-1)를 소등하고 제2 LED(700-3)를 점등할 수 있다(S615).The hub 30 switches the state of the hub 30 from the expired state to the expired state in response to the expense request GQ and when the state of the hub 30 is switched to the expired state, The first LED 700-1 of the first LED 700-1 may be turned off and the second LED 700-3 may be turned on (S615).

앱(APP)은 제1서버(70-1)로부터 전송된 응답 신호(ACK)를 수신하고, 응답 신호(ACK)에 응답하여 해제 GUI(GUI4)를 경비 GUI(GUI5)로 변경할 수 있다(S619. 도 15의 (b)).The APP APP can receive the response signal ACK transmitted from the first server 70-1 and change the release GUI GUI4 into the security GUI GUI5 in response to the response signal ACK (Fig. 15 (b)).

도 16a와 도 16b는 본 발명의 실시 예들에 따른 경비 상태의 경비 시스템에서 알람 데이터 전송 과정을 설명하기 위한 데이터 흐름도들이다. 도 1, 도 2, 도 16a, 및 도 16b를 참조하면, 허브(30)가 경비 상태일 때(S701), 이벤트(EVENT1, 예컨대, 출입문 열림)가 발생하면(S703), 허브(30)는 센서(20)로부터 출력된 제1감지 신호(SEN1)를 수신할 수 있다(S705).16A and 16B are data flow charts for explaining a process of transmitting alarm data in a security system in an expense state according to the embodiments of the present invention. Referring to FIGS. 1, 2, 16A, and 16B, when an event EVENT1 (eg door open) occurs (S703) when the hub 30 is in an expense state (S701) The first sensing signal SEN1 output from the sensor 20 can be received (S705).

허브(30)는, 제1감지 신호(SEN1)에 기초하여, 센서(20)가 등록된 센서인지 여부를 판단할 수 있다(S507). 예컨대, 허브(30)는 센서 ID를 포함하는 감지 신호 (SEN)를 파싱하고, 파싱된 감지 신호(SEN)로부터 상기 센서 ID를 추출하고, 추출된 센서 ID가 허브(30)의 메모리 장치(300)에 저장된 센서 ID 인지인지 여부를 판단할 수 있다.The hub 30 can determine whether the sensor 20 is a registered sensor based on the first sensing signal SEN1 (S507). For example, the hub 30 parses the sensing signal SEN including the sensor ID, extracts the sensor ID from the parsed sensing signal SEN, and transmits the extracted sensor ID to the memory device 300 Or the sensor ID stored in the sensor ID.

판단의 결과, 상기 센서 ID가 허브(30)의 메모리 장치(300)에 저장된 센서 ID라고 판단되면(S707의 YES), 허브(30)는 센서(20)가 등록된 센서라고 판단하고, 센서(20)로 응답 신호(ACK)를 전송할 수 있다(S711). 그러나 판단의 결과 상기 센서 ID가 허브(30)의 메모리 장치(300)에 저장되지 않은 센서 ID라고 판단되면, 허브(30)는 센서(20)가 등록된 센서가 아니라고 판단하고(S707의 NO), 센서(20)로부터 전송된 감지 신호(SEN)를 무시할 수 있다(S709).If it is determined that the sensor ID is the sensor ID stored in the memory device 300 of the hub 30 (YES in step S707), the hub 30 determines that the sensor 20 is a registered sensor, 20) (S711). However, if it is determined that the sensor ID is not the sensor ID stored in the memory device 300 of the hub 30, the hub 30 determines that the sensor 20 is not the registered sensor (NO in S707) , The sensing signal SEN transmitted from the sensor 20 can be ignored (S709).

허브(30)는 센서(20)로 응답 신호(ACK)를 전송한 후, 센서(20)로부터 전송된 제1감지 신호(SEN1)가 알람 발생 신호인지 여부를 판단할 수 있다(S713). 알람 발생 신호는, 센서(20)로부터 이벤트(EVENT)가 감지되었음을 알리는 푸시 알림 메시지가 푸시 알림 창을 통해 이동 통신 단말기(90)에서 디스플레이되도록, 앱(APP)을 제어하기 위한 신호일 수 있다.The hub 30 may transmit a response signal ACK to the sensor 20 and then determine whether the first sensing signal SEN1 transmitted from the sensor 20 is an alarm signal or not in step S713. The alarm generation signal may be a signal for controlling the APP so that a push notification message indicating that an event is detected from the sensor 20 is displayed on the mobile communication terminal 90 through the push notification window.

판단의 결과, 감지 신호(SEN)가 알람 발생 신호라고 판단되면(S713의 YES), 허브(30)는 허브(30)의 상태를 이상 상태로 전환하고, 허브(30)의 제3LED(700-5)의 상태를 점멸 상태로 제어할 수 있다(S715). 허브(30)는 알람 발생 신호(ARS)를 생성하여 알람 발생 리스트를 생성(또는 업데이트)하고, 알람 발생 신호(ARS)를 공유기(40)와 제1네트워크(60)를 통해 제1서버(70-1)로 전송할 수 있다(S717과 S719).As a result of the determination, if it is determined that the detection signal SEN is an alarm generation signal (YES in S713), the hub 30 switches the state of the hub 30 to an abnormal state and the third LED 700- 5) to the blinking state (S715). The hub 30 generates an alarm generation signal ARS to generate an alarm generation list and sends an alarm generation signal ARS to the first server 70 through the router 40 and the first network 60 -1) (S717 and S719).

허브(30)는 제1서버(70-1)로 알람 발생 신호(ARS)를 전송한 후, 도 13을 참조하여 설명한 바와 같이 제1서버(70-1)로 센서 일반 정보(SGI)를 전송할 수 있다.The hub 30 transmits the alarm generation signal ARS to the first server 70-1 and transmits the sensor general information SGI to the first server 70-1 as described with reference to FIG. .

실시 예들에 따라, 경비 시스템(10)이 MQTT 프로토콜을 사용할 때, 제2서브 서버(70-1b)는 알람 발생 신호(ARS)를 허브(30), 공유기(40), 및 제1네트워크(60)를 통해 수신할 수 있다(S719). 제2서브 서버(70-1b)는 알람 발생 신호(ARS)를 제1서브 서버(70-1a)와 이동 통신 장치(90)로 전송할 수 있다(S721).According to the embodiments, when the guard system 10 uses the MQTT protocol, the second sub-server 70-1b sends the alarm generation signal ARS to the hub 30, the router 40, and the first network 60 ) (S719). The second sub-server 70-1b may transmit the alarm generation signal ARS to the first sub-server 70-1a and the mobile communication device 90 (S721).

제1서브 서버(70-1a)는, 알람 발생 신호(ARS)에 응답하여, 센서 세부 정보 (SSI)를 제2서브 서버(70-1b)로 전송할 수 있다(S725). 앱(APP)은 알람 발생 신호 (ARS)에 응답하여 푸시 알림 창을 자동으로 생성하고, 센서(20)로부터 이벤트 (EVENT1)가 감지되었음을 알리는 푸시 알림 메시지를 상기 푸시 알림 창을 통해 디스플레이할 수 있다(S723).The first sub-server 70-1a may transmit the sensor detailed information SSI to the second sub-server 70-1b in response to the alarm generation signal ARS (S725). The app APP can automatically generate a push notification window in response to the alarm generation signal ARS and display a push notification message indicating that the event EVENT1 has been detected from the sensor 20 through the push notification window (S723).

앱(APP)은 제2서브 서버(70-1b)로부터 센서 세부 정보(SSI)를 수신하고 (S727), 앱(APP)이 제공하는 센서 GUI(예컨대, 센서의 아이콘)를 변경할 수 있다(S729). 예컨대, 센서(20)의 상태가 문닫힘 상태로부터 문열림 상태로 변경될 때, 앱(APP)은 센서 GUI를 문닫힘 GUI로부터 문열림 GUI로 변경할 수 있다.The APP APP can receive the sensor detailed information SSI from the second sub server 70-1b in step S727 and change the sensor GUI provided by the APP APP in step S729 ). For example, when the state of the sensor 20 is changed from the door closing state to the door opening state, the APP can change the sensor GUI from the door closing GUI to the door opening GUI.

앱(APP)은 센서의 GUI를 변경한 후 응답 신호(ACK)를 제2서브 서버(700-1b), 제1네트워크(60), 및 공유기(40)를 통해 허브(30)로 전송할 수 있다(S731, S733, 및 S735). 허브(30)는 응답 신호(ACK)를 수신하여 분석할 수 있다(S737). 분석의 결과, 응답 신호(ACK)가 실패(fail)이면 허브(30)의 알람 발생 리스트를 참조하여 알람 발생 신호(ARS)를 읽어오고, 알람 발생 신호(ARS)를 공유기(40)와 제1네트워크(60)를 통해 제1서버(70-1)로 다시 전송할 수 있다(S717). 따라서, 앱(APP)이 제2서브 서버(70-1b)로부터 센서 세부 정보(SSI)를 성공적으로 수신하지 못한 때, 예컨대, 앱(APP)이 제2네트워크(80)에 접속되지 못한 때라도 다시 알람 발생 신호 (ARS)를 앱(APP)으로 전송함으로써 사용자는 적절하게 대응할 수 있다.The APP can transmit a response signal ACK to the hub 30 via the second subserver 700-1b, the first network 60 and the router 40 after changing the GUI of the sensor (S731, S733, and S735). The hub 30 can receive and analyze the response signal ACK (S737). As a result of the analysis, if the response signal ACK fails, the alarm generation signal ARS is read by referring to the alarm generation list of the hub 30, and the alarm generation signal ARS is transmitted to the router 40 and the first And may be transmitted again to the first server 70-1 through the network 60 (S717). Therefore, even when the APP (APP) is not connected to the second network 80, for example, when the APP (APP) has not successfully received the sensor detailed information (SSI) from the second sub- By transmitting the alarm generation signal (ARS) to the APP (APP), the user can appropriately respond.

분석의 결과, 응답 신호(ACK)가 성공(SUCCESS)이면, 허브(30)는 알람 발생 리스트로부터 알람 발생 신호(ARS)를 삭제할 수 있다.As a result of the analysis, if the response signal ACK is success (SUCCESS), the hub 30 can delete the alarm generation signal ARS from the alarm generation list.

센서(20)가 이벤트(EVENT2, 예컨대, 출입문 닫힘)의 발생을 감지하고(S739), 허브(30)가 센서(20)로부터 출력된 제2감지 신호(SEN2)를 수신하면(S741), 허브(30)는 센서(20)가 등록된 센서인지 여부와 제2감지 신호(SEN2)가 알람 발생 신호인지 여부를 판단한다. 센서(20)가 등록된 센서이고, 제2감지 신호(SEN2)가 알람 발생 신호가 아니면, 허브(30)는 제3 LED(700-5)의 상태를 점멸 상태로부터 점등 상태로 전환하도록 제어할 수 있다(S743).The sensor 20 detects occurrence of an event (EVENT2, for example, door closing) (S739). When the hub 30 receives the second sensing signal SEN2 output from the sensor 20 (S741) The controller 30 determines whether the sensor 20 is a registered sensor and whether the second sensing signal SEN2 is an alarm signal. If the sensor 20 is the registered sensor and the second sensing signal SEN2 is not the alarm generation signal, the hub 30 controls the third LED 700-5 to switch the state of the third LED 700-5 from the blinking state to the lighting state (S743).

본 발명은 도면에 도시된 실시 예를 참고로 설명되었으나 이는 예시적인 것에 불과하며, 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시 예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 등록청구범위의 기술적 사상에 의해 정해져야 할 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is evident that many alternatives, modifications and variations will be apparent to those skilled in the art. Accordingly, the true scope of the present invention should be determined by the technical idea of the appended claims.

10; 경비 시스템 20; 센서
30; 허브 40; 공유기/라우터
50; 카메라 60; 제1네트워크
70-1: 제1서버 70-1a: 제1서브 서버
70-1b: 제서브 서버 70-3: 제2서버
80; 제2네트워크 90; 이동 통신 장치
100: MCU 110: 카운터
130: 비교기 200: 통신 장치
300: 메모리 장치 400: 초기화 버튼
500: PMU 600: 배터리
700: LED들 800: 드라이버들
10; Security system 20; sensor
30; Hub 40; Router / router
50; Camera 60; The first network
70-1: First server 70-1a: First server
70-1b: Sub-server 70-3: Second server
80; A second network 90; Mobile communication device
100: MCU 110: Counter
130: comparator 200: communication device
300: memory device 400: initialization button
500: PMU 600: Battery
700: LEDs 800: drivers

Claims (20)

이동 통신 장치와 통신할 수 있는 제1서버, 상기 제1서버와 네트워크를 통해 통신하는 공유기, 및 상기 공유기와 통신하는 허브를 이용한 경비 시스템의 작동방법에 있어서,
사용자가 상기 이동 통신 장치에서 실행되는 앱이 제공하는 허브 등록 그래픽 유저 인터페이스(GUI)를 클릭하면, 상기 앱이 상기 허브의 제1식별 번호를 입력할 수 있는 제1입력 창을 상기 이동 통신 장치의 디스플레이 장치를 통해 제공하는 단계;
상기 사용자가 상기 제1입력 창에 상기 제1식별 번호를 입력하고 상기 앱이 제공하는 등록 버튼을 클릭하면, 상기 앱이 상기 제1식별 번호를 포함하는 페어링 요청을 상기 제1서버로 전송하는 단계;
상기 제1서버가 상기 페어링 요청을 상기 네트워크와 상기 공유기를 통해 상기 허브로 전송하는 단계;
상기 사용자가 상기 허브의 초기화 버튼을 누르면, 상기 허브가 상기 초기화 버튼의 눌림에 따라 리셋 신호를 생성하는 단계;
상기 허브가 상기 리셋 신호에 기초하여 상기 허브의 제1메모리 장치에 저장된 제2식별 번호를 리드하고 상기 제2식별 번호를 상기 공유기로 전송하는 단계;
상기 제1서버가 상기 공유기와 상기 네트워크를 통해 수신된 상기 제2식별 번호를 상기 이동 통신 장치로 전송하는 단계; 및
상기 앱이 상기 제2식별 번호에 응답하여 상기 제1식별 번호를 포함하는 등록 요청을 상기 제1서버로 전송하는 단계를 포함하고,
상기 제2식별 번호를 상기 공유기로 전송하는 단계는,
상기 허브가 상기 리셋 신호의 지속 시간을 카운트하고 카운트 값을 생성하는 단계;
상기 카운트 값이 제1 값보다 같거나 작을 때 상기 허브가 상기 제1메모리 장치로부터 상기 제2식별 번호를 리드하고, 상기 카운트 값이 상기 제1 값보다 크고 제2 값과 같거나 작을 때 상기 허브가 상기 허브의 통신 장치의 프로토콜을 변경하는 단계; 및
상기 허브가 상기 제1식별 번호와 상기 제2식별 번호를 비교하고, 상기 제1식별 번호와 상기 제2식별 번호가 동일할 때 상기 제2식별 번호를 상기 허브의 상기 통신 장치를 통해 상기 공유기로 전송하는 단계를 포함하고,
상기 프로토콜은 상기 허브와 상기 공유기 사이의 통신 프로토콜인 경비 시스템의 작동방법.
A method of operating a security system using a first server capable of communicating with a mobile communication device, a router communicating with the first server via a network, and a hub communicating with the router,
When a user clicks on a hub registration graphical user interface (GUI) provided by an app running on the mobile communication device, a first input window through which the application can input the first identification number of the hub is displayed on the mobile communication device Providing through a display device;
Transmitting the pairing request including the first identification number to the first server when the user inputs the first identification number into the first input window and clicks a registration button provided by the application ;
The first server sending the pairing request to the hub via the network and the router;
When the user presses an initialization button of the hub, the hub generates a reset signal upon pressing of the initialization button;
The hub reading a second identification number stored in a first memory device of the hub based on the reset signal and transmitting the second identification number to the router;
The first server transmitting the second identification number received via the network and the router to the mobile communication device; And
And transmitting, by the app, a registration request including the first identification number to the first server in response to the second identification number,
Wherein the transmitting the second identification number to the router comprises:
The hub counting the duration of the reset signal and generating a count value;
Wherein the hub reads the second identification number from the first memory device when the count value is less than or equal to a first value and when the count value is greater than or equal to the first value and less than or equal to the second value, Changing a protocol of the communication device of the hub; And
The hub compares the first identification number with the second identification number, and when the first identification number and the second identification number are the same, transmits the second identification number to the router via the communication device of the hub Comprising:
Wherein the protocol is a communication protocol between the hub and the router.
삭제delete 삭제delete 삭제delete 제1항에 있어서,
상기 카운트 값이 상기 제2 값보다 클 때, 상기 허브가 상기 허브를 초기화하는 단계를 더 포함하는 경비 시스템의 작동방법.
The method according to claim 1,
Further comprising the hub initializing the hub when the count value is greater than the second value.
제1항에 있어서,
상기 제1서버가 상기 등록 요청에 응답하여 허브 등록의 완료를 지시하는 메시지를 생성하고, 상기 메시지를 상기 이동 통신 장치로 전송하는 단계; 및
상기 앱이 상기 메시지에 응답하여 상기 허브 등록 GUI를 변경하는 단계를 더 포함하는 경비 시스템의 작동방법.
The method according to claim 1,
Generating, by the first server, a message indicating completion of hub registration in response to the registration request, and transmitting the message to the mobile communication device; And
Further comprising changing the hub registration GUI in response to the message by the app.
제6항에 있어서,
상기 허브가 상기 허브의 제1 LED를 점등하는 단계;
상기 사용자가 상기 앱이 제공하는 센서 등록 GUI를 클릭하면, 상기 이동 통신 장치가 센서 등록 요청을 상기 제1서버로 전송하는 단계;
상기 제1서버가 상기 센서 등록 요청을 상기 네트워크와 상기 공유기를 통해 상기 허브로 전송하는 단계; 및
상기 허브가 상기 센서 등록 요청을 수신하면 상기 허브가 상기 허브의 상기 제1 LED를 소등하고 상기 허브의 제2 LED를 점등하는 단계를 더 포함하는 경비 시스템의 작동방법.
The method according to claim 6,
The hub lighting the first LED of the hub;
Transmitting, by the mobile communication device, a sensor registration request to the first server when the user clicks a sensor registration GUI provided by the application;
The first server sending the sensor registration request to the hub through the network and the router; And
Further comprising the hub extinguishing the first LED of the hub and the second LED of the hub when the hub receives the sensor registration request.
제7항에 있어서, 상기 경비 시스템은 제2메모리 장치를 포함하는 센서를 더 포함하고,
상기 경비 시스템의 작동방법은,
작동 전압이 상기 센서로 공급됨에 따라, 상기 센서가 상기 제2메모리 장치에 저장된 센서 ID를 상기 허브로 무선으로 전송하고 상기 센서의 제1 LED를 점등하는 단계; 및
상기 허브가 상기 센서 ID를 수신하여 상기 제1메모리 장치에 저장하고, 상기 센서 ID가 상기 제1메모리 장치에 저장됨에 따라 생성된 응답 신호를 상기 센서로 무선으로 전송하는 단계를 더 포함하는 경비 시스템의 작동방법.
8. The system of claim 7, wherein the guard system further comprises a sensor comprising a second memory device,
A method of operating the guard system,
Wirelessly transmitting the sensor ID stored in the second memory device to the hub as the operating voltage is supplied to the sensor and lighting the first LED of the sensor; And
Further comprising the hub receiving and storing the sensor ID in the first memory device and wirelessly transmitting a response signal generated as the sensor ID is stored in the first memory device to the sensor, Lt; / RTI >
제8항에 있어서,
상기 허브가 상기 제1메모리 장치에 저장된 상기 센서 ID를 상기 공유기와 상기 네트워크를 통해 상기 제1서버로 전송하고, 상기 허브의 상기 제2 LED를 소등하고 상기 허브의 상기 제1 LED를 점등하는 단계를 더 포함하는 경비 시스템의 작동방법.
9. The method of claim 8,
The hub transmitting the sensor ID stored in the first memory device to the first server via the router and the network, turning off the second LED of the hub and lighting the first LED of the hub Further comprising the steps of:
제9항에 있어서,
상기 센서가 상기 응답 신호에 응답하여 상기 센서의 상기 제1 LED를 소등하고 상기 센서의 제2 LED를 점등하는 단계; 및
상기 제1서버가 상기 센서 ID를 수신하여 데이터베이스에 저장하고, 센서 등록 완료를 지시하는 센서 등록 완료 신호를 생성하고, 상기 데이터베이스에 저장된 상기 센서 ID와 상기 센서 등록 완료 신호를 포함하는 메시지를 상기 이동 통신 장치로 전송하는 단계를 더 포함하는 경비 시스템의 작동방법.
10. The method of claim 9,
The sensor being responsive to the response signal to turn off the first LED of the sensor and the second LED of the sensor; And
The first server receives the sensor ID and stores the sensor ID in a database, generates a sensor registration completion signal indicating completion of sensor registration, and transmits a message including the sensor ID and the sensor registration completion signal stored in the database to the movement To the communication device. ≪ Desc / Clms Page number 18 >
제1항에 있어서, 상기 페어링 요청을 상기 제1서버로 전송하는 단계는,
상기 앱이 상기 등록 버튼의 클릭에 응답하여 복수의 URL들 중에서 제1 URL을 선택하는 단계; 및
상기 앱이 상기 페어링 요청을 상기 제1 URL에 해당하는 상기 제1서버로 전송하는 단계를 포함하고,
상기 경비 시스템은 상기 이동 통신 장치와 통신할 수 있고, 상기 네트워크를 통해 상기 공유기와 통신할 수 있는 제2서버와, 상기 공유기와 통신할 수 있는 카메라를 더 포함하고,
상기 경비 시스템의 작동방법은,
상기 사용자가 상기 앱이 제공하는 카메라 등록 GUI를 클릭하면, 상기 앱이 상기 공유기의 패스워드를 입력할 수 있는 제2입력 창을 상기 디스플레이 장치를 통해 제공하는 단계;
상기 사용자가 상기 제2입력 창에 상기 패스워드를 입력하고 상기 앱이 제공하는 설정 버튼을 클릭하면, 상기 앱이 상기 설정 버튼의 클릭에 응답하여 상기 복수의 URL들 중에서 제2 URL을 선택하는 단계; 및
상기 앱이 상기 공유기의 ID와 상기 패스워드를 포함하는 접속 요청을 상기 제2 URL에 해당하는 상기 제2서버로 전송하는 단계를 더 포함하는 경비 시스템의 작동방법.
2. The method of claim 1, wherein transmitting the pairing request to the first server comprises:
Selecting the first URL among the plurality of URLs in response to a click of the registration button; And
And transmitting, by the app, the pairing request to the first server corresponding to the first URL,
Wherein the expense system further comprises a second server capable of communicating with the mobile communication device and capable of communicating with the router via the network and a camera capable of communicating with the router,
A method of operating the guard system,
Providing a second input window through which the app can input a password of the router when the user clicks a camera registration GUI provided by the application;
Selecting the second URL among the plurality of URLs in response to a click of the setting button when the user enters the password into the second input window and clicks a setting button provided by the app; And
Further comprising the step of the application transmitting a connection request including the ID of the router and the password to the second server corresponding to the second URL.
제11항에 있어서,
상기 제2서버가 상기 접속 요청을 이용하여 상기 이동 통신 장치와 상기 카메라를 Wi-Fi 통신망으로 연결하기 위해 상기 네트워크를 통해 상기 공유기를 제어하는 단계를 더 포함하는 경비 시스템의 작동방법.
12. The method of claim 11,
Further comprising controlling the router via the network to connect the mobile communication device and the camera to a Wi-Fi network using the connection request by the second server.
제12항에 있어서, 상기 경비 시스템은 상기 허브와 무선 통신하는 센서를 더 포함하고,
상기 센서에 의해 감지 신호가 발생할 때, 상기 제1서버는 상기 감지 신호에 관련된 제1경비 신호를 상기 허브, 상기 공유기, 및 상기 네트워크를 통해 수신하여 상기 이동 통신 장치로 전송하고,
상기 카메라에 의해 영상 신호가 발생할 때, 상기 제2서버는 상기 영상 신호에 관련된 제2경비 신호를 상기 공유기와 상기 네트워크를 통해 수신하여 상기 이동 통신 장치로 전송하는 경비 시스템의 작동방법.
13. The system of claim 12, wherein the guard system further comprises a sensor in wireless communication with the hub,
Wherein when the sensing signal is generated by the sensor, the first server receives a first expense signal related to the sensing signal through the hub, the router, and the network and transmits the first expense signal to the mobile communication device,
When the video signal is generated by the camera, the second server receives a second expense signal related to the video signal through the router and the network, and transmits the second expense signal to the mobile communication device.
허브의 작동방법에 있어서,
상기 허브가 사용자의 이동 통신 장치에서 실행중인 앱에 입력된 제1식별 번호를 공유기에 연결된 상기 허브의 통신 장치를 통해 수신하는 단계;
상기 허브가 상기 허브의 리셋 단자의 눌림에 따라 리셋 신호를 생성하는 단계;
상기 허브가 상기 리셋 신호의 지속 시간을 카운트하고 카운트 값을 생성하는 단계; 및
상기 허브가 복수의 기준 카운트 값들 각각과 상기 카운트 값을 비교하고, 비교 결과에 따라 상기 허브의 메모리 장치에 저장된 제2식별 번호를 상기 통신 장치를 통해 상기 공유기로 전송하는 제1작동, 상기 통신 장치의 통신 프로토콜을 변경하는 제2작동, 및 상기 허브를 초기화하는 제3작동 중에서 어느 하나를 수행하는 단계를 포함하는 허브의 작동방법.
In a method of operating a hub,
Receiving, by the hub, a first identification number entered in an app running in a user's mobile communication device via a communication device of the hub connected to the router;
The hub generating a reset signal upon pressing of the reset terminal of the hub;
The hub counting the duration of the reset signal and generating a count value; And
A first operation in which the hub compares each of a plurality of reference count values with the count value and transmits a second identification number stored in the memory device of the hub to the router via the communication device according to the comparison result, A second operation to change a communication protocol of the hub, and a third operation to initialize the hub.
제14항에 있어서, 상기 어느 하나를 수행하는 단계는,
상기 비교 결과에 따라 상기 카운트 값이 제1기준 카운트 값과 같거나 작을 때, 상기 허브가 상기 메모리 장치로부터 상기 제2식별 번호를 리드하는 단계; 및
상기 허브가 상기 제1식별 번호와 상기 제2식별 번호를 비교하고, 상기 제1식별 번호와 상기 제2식별 번호가 동일할 때 상기 허브가 상기 제1작동을 수행하는 단계를 포함하는 허브의 작동방법.
15. The method of claim 14,
Reading the second identification number from the memory device when the count value is less than or equal to a first reference count value according to a result of the comparison; And
Wherein the hub compares the first identification number with the second identification number and the hub performs the first operation when the first identification number and the second identification number are equal, Way.
제15항에 있어서, 상기 어느 하나를 수행하는 단계는,
상기 비교 결과에 따라 상기 카운트 값이 상기 제1기준 카운트 값보다 크고 제2기준 카운트 값과 같거나 작을 때 상기 허브는 상기 제2작동을 수행하고,
상기 비교 결과에 따라 상기 카운트 값이 상기 제2기준 카운트 값보다 클 때 상기 허브는 상기 제3작동을 수행하고,
상기 제1기준 카운트 값과 상기 제2기준 카운트 값 각각은 상기 복수의 기준 카운트 값들 각각에 대응되는 허브의 작동방법.
16. The method of claim 15,
The hub performs the second operation when the count value is greater than the first reference count value and less than or equal to the second reference count value according to the comparison result,
The hub performs the third operation when the count value is greater than the second reference count value according to the comparison result,
Wherein the first reference count value and the second reference count value each correspond to each of the plurality of reference count values.
제14항에 있어서,
상기 허브가 상기 허브의 제1 LED를 점등하는 단계;
상기 사용자가 상기 앱이 제공하는 센서 등록 GUI를 클릭하고 상기 앱이 센서 등록 요청을 생성하면, 상기 허브가 상기 센서 등록 요청을 상기 공유기를 통해 수신하는 단계; 및
상기 허브가 상기 센서 등록 요청에 기초하여, 상기 허브의 상기 제1 LED를 소등하고 상기 허브의 제2 LED를 점등하는 단계를 더 포함하는 허브의 작동방법.
15. The method of claim 14,
The hub lighting the first LED of the hub;
Receiving, by the hub, the sensor registration request through the router when the user clicks a sensor registration GUI provided by the application and the application generates a sensor registration request; And
Further comprising the step of the hub extinguishing the first LED of the hub and the second LED of the hub based on the sensor registration request.
제17항에 있어서,
상기 허브가 센서로부터 전송된 센서 ID를 무선으로 수신하는 단계;
상기 허브가 상기 센서 ID를 상기 통신 장치를 통해 상기 공유기로 전송하는 단계; 및
상기 허브가 상기 허브의 상기 제2 LED를 소등하고 상기 허브의 상기 제1 LED를 점등하는 단계를 더 포함하는 허브의 작동방법.
18. The method of claim 17,
The hub wirelessly receiving a sensor ID transmitted from a sensor;
The hub sending the sensor ID to the router via the communication device; And
The hub further illuminates the second LED of the hub and the first LED of the hub.
제18항에 있어서,
상기 사용자가 상기 앱이 제공하는 경비 설정 GUI를 클릭하고 상기 앱이 경비 설정 요청을 생성하면, 상기 허브가 상기 경비 설정 요청을 상기 공유기를 통해 수신하는 단계;
상기 허브가 상기 허브의 상태를 경비 설정 상태로 전환하는 단계; 및
상기 허브가 상기 경비 설정 상태로 전환되면 상기 허브의 제1 LED를 소등하고 제3 LED를 점등하는 단계를 더 포함하는 허브의 작동방법.
19. The method of claim 18,
When the user clicks the expense setting GUI provided by the app and the app generates the expense setting request, the hub receives the expense setting request through the router;
The hub switching state of the hub to an expense setting state; And
And turning off the first LED of the hub and the third LED when the hub is switched to the expense setting state.
제19항에 있어서,
상기 센서에 의해 감지 신호가 발생하면, 상기 경비 설정 상태의 상기 허브가 상기 센서로부터 상기 감지 신호를 무선으로 수신하는 단계; 및
상기 허브는 상기 감지 신호가 상기 앱이 상기 감지 신호의 발생의 알림을 출력하도록 지시하는 알람 신호인지 여부를 판단하고, 판단의 결과에 따라 상기 허브가 상기 허브의 상기 제3 LED를 점멸하는 단계를 더 포함하는 허브의 작동방법.
20. The method of claim 19,
When the sensing signal is generated by the sensor, the hub in the expense setting state wirelessly receiving the sensing signal from the sensor; And
The hub determines whether the detection signal is an alarm signal for instructing the application to output a notification of generation of the detection signal, and the hub blinks the third LED of the hub according to the determination result Further comprising operating the hub.
KR1020170014407A 2016-03-15 2017-02-01 Method of operating hub, and method of operating security system including the hub KR101929257B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20160031163 2016-03-15
KR1020160031163 2016-03-15

Publications (2)

Publication Number Publication Date
KR20170107365A KR20170107365A (en) 2017-09-25
KR101929257B1 true KR101929257B1 (en) 2018-12-14

Family

ID=60035188

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170014407A KR101929257B1 (en) 2016-03-15 2017-02-01 Method of operating hub, and method of operating security system including the hub

Country Status (1)

Country Link
KR (1) KR101929257B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101549548B1 (en) * 2013-12-02 2015-09-02 주식회사 핸디소프트 Multiple sensor hub based sensing information sharing system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101549548B1 (en) * 2013-12-02 2015-09-02 주식회사 핸디소프트 Multiple sensor hub based sensing information sharing system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
‘델(DELL) 허브 2848 2824 28xx노하드 시스템 설정’, 2015.01.13.*
‘삼성 스마트싱스 허브 설치하기 - 기본셋업+Location/Home 생성’, 2015.09.27.*
‘하츠 네콘 스마트홈 서비스 설치 및 간단후기’, 2015.11.20.*

Also Published As

Publication number Publication date
KR20170107365A (en) 2017-09-25

Similar Documents

Publication Publication Date Title
TWI604739B (en) Configuring secure wireless networks
US9654904B2 (en) System and method for flexibly pairing devices using adaptive variable thresholding
US20080196083A1 (en) Sensor discovery and configuration
KR20160132302A (en) Method for sharing key between devices using physical access restriction
EP3216196B1 (en) Method for dynamic and automatic creation of user interfaces
US9992401B2 (en) Configuring a device in a network
JP6447297B2 (en) Communication method, information processing apparatus, and program
US20210144132A1 (en) Distributed encryption
US20180004586A1 (en) Binding smart objects
CN106502113B (en) Automatic pairing method and server
KR101929257B1 (en) Method of operating hub, and method of operating security system including the hub
US10085147B2 (en) Configuring network access parameters
EP3345361B1 (en) Communication link establishment using a global unique identifier
CN114114933B (en) Control method, device and equipment of Internet of things equipment and storage medium
JP7080009B2 (en) Server equipment, control systems, computer programs and communication methods
KR102000199B1 (en) Method and Server Apparatus for Providing Internet of Things Platform Service
US9848063B2 (en) Facilitating communication between smart object and application provider
EP3542599B1 (en) Commissioning of one or more installed devices of a lighting system
KR102091676B1 (en) System and method for providing message push service
US20150358395A1 (en) Gateway-facilitated communications for resource-constrained devices
US20220021741A1 (en) Electronic device subscription
TW201626754A (en) Remote control ststem and method for remotely controlling network apparatus
EP3918774A1 (en) Lifetime-based device registration control
JP2022052413A (en) Information processing apparatus, information processing method, and program
de Almeida et al. Development of Residential Automation Modules for Performing Low Complexity Activities Using IoT

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant