TWI638578B - GATEWAY, GATEWAY SETUP METHOD, AND IoT DEVICE SETUP METHOD IN IoT SYSTEM - Google Patents
GATEWAY, GATEWAY SETUP METHOD, AND IoT DEVICE SETUP METHOD IN IoT SYSTEM Download PDFInfo
- Publication number
- TWI638578B TWI638578B TW106115541A TW106115541A TWI638578B TW I638578 B TWI638578 B TW I638578B TW 106115541 A TW106115541 A TW 106115541A TW 106115541 A TW106115541 A TW 106115541A TW I638578 B TWI638578 B TW I638578B
- Authority
- TW
- Taiwan
- Prior art keywords
- gateway
- server
- authentication information
- user device
- access point
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 238000009434 installation Methods 0.000 claims abstract description 28
- 238000004891 communication Methods 0.000 claims description 36
- 238000011900 installation process Methods 0.000 description 4
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000004378 air conditioning Methods 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000035515 penetration Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J5/00—Radiation pyrometry, e.g. infrared or optical thermometry
- G01J5/0022—Radiation pyrometry, e.g. infrared or optical thermometry for sensing the radiation of moving bodies
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B29/00—Checking or monitoring of signalling or alarm systems; Prevention or correction of operating errors, e.g. preventing unauthorised operation
- G08B29/18—Prevention or correction of operating errors
- G08B29/185—Signal analysis techniques for reducing or preventing false alarms or for enhancing the reliability of the system
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J5/00—Radiation pyrometry, e.g. infrared or optical thermometry
- G01J5/02—Constructional details
- G01J5/027—Constructional details making use of sensor-related data, e.g. for identification of sensor parts or optical elements
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S11/00—Systems for determining distance or velocity not using reflection or reradiation
- G01S11/02—Systems for determining distance or velocity not using reflection or reradiation using radio waves
- G01S11/06—Systems for determining distance or velocity not using reflection or reradiation using radio waves using intensity measurements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/16—Gateway arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Emergency Alarm Devices (AREA)
- Geophysics And Detection Of Objects (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
一種閘道器、閘道器的安裝方法以及物聯網裝置的安裝方法。此閘道器的安裝方法包括閘道器將偵測使用者裝置與閘道器之間的接收訊號強度指標,以判斷兩裝置之間的距離是否小於距離門檻值。若是,閘道器與使用者裝置將交換各自具有的認證資訊,以使閘道器經由無線存取點連線至伺服器,並以使使用者裝置連線至伺服器以及閘道器。此物聯網裝置的安裝方法包括閘道器將偵測物聯網裝置與閘道器之間的接收訊號強度指標,以判斷兩裝置之間的距離是否小於距離門檻值。若是,閘道器與物聯網裝置將交換各自的認證資訊,以使閘道器與物聯網裝置互相連線。A gateway, a method for installing the gateway, and a method for installing an Internet of Things device. The installation method of the gateway includes that the gateway will detect the received signal strength indicator between the user device and the gateway to determine whether the distance between the two devices is less than the distance threshold. If so, the gateway and the user device will exchange their respective authentication information, so that the gateway connects to the server via the wireless access point, and the user device connects to the server and the gateway. The installation method of the IoT device includes a gateway that detects the strength of the received signal between the IoT device and the gateway to determine whether the distance between the two devices is less than the distance threshold. If so, the gateway and the IoT device will exchange their respective authentication information so that the gateway and the IoT device are connected to each other.
Description
本發明是有關於一種物聯網的技術,且特別是有關於一種物聯網系統中的閘道器、閘道器的安裝方法以及物聯網裝置的安裝方法。The present invention relates to a technology of the Internet of Things, and in particular, to a gateway, an installation method of the gateway, and an installation method of an Internet of Things device in an Internet of Things system.
隨著科技日新月異,智慧科技已然成為各國致力發展的主流,而物聯網也應運而生,亦為智慧家庭的發展創造了有利的條件。智慧家庭的概念雖已大幅見諸於媒體報導,然而其相關產品的全球滲透率仍只有不到5.8%,主因之一在於相關產品需要多個繁瑣的安裝步驟以及資訊輸入,而此種安裝方式對於一般消費者而言不甚友善。With the rapid development of science and technology, smart technology has become the mainstream of development committed by all countries, and the Internet of Things has emerged at the historic moment, creating favorable conditions for the development of smart families. Although the concept of the smart home has been widely seen in media reports, the global penetration rate of related products is still less than 5.8%. One of the main reasons is that related products require multiple tedious installation steps and information input. Not very friendly to the average consumer.
有鑑於此,本發明提供一種物聯網系統中的閘道器、閘道器的安裝方法以及物聯網裝置的安裝方法,其可在不增加硬體成本以及機構設計複雜度的前提下來簡化閘道器以及物聯網裝置的安裝流程,以減少使用者的輸入與認證,從而提升相關產品的市場競爭力。In view of this, the present invention provides a gateway, an installation method of the gateway, and an installation method of the IoT device in the Internet of Things system, which can simplify the gateway without increasing the hardware cost and the complexity of the mechanism design Device and Internet of Things device installation process to reduce user input and authentication, thereby improving the market competitiveness of related products.
在本發明的一實施例中,上述閘道器的安裝方法適用於具有閘道器、使用者裝置、伺服器、無線存取點(Access Point,AP)以及物聯網裝置的物聯網系統,其中使用者裝置具有使用者裝置的認證資訊以及無線存取點的認證資訊,閘道器具有閘道器的認證資訊以及伺服器的認證資訊,而此方法包括下列步驟。首先,由閘道器偵測使用者裝置與閘道器之間的接收訊號強度指標(received signal strength indicator,RSSI),以判斷使用者裝置與閘道器之間的第一距離是否小於第一距離門檻值。若是,由閘道器與使用者裝置交換各自所具有的認證資訊。之後,由閘道器利用無線存取點的認證資訊連結到無線存取點,以連線至伺服器。由使用者裝置利用伺服器的認證資訊連線至伺服器且利用閘道器的該認證資訊連線至閘道器,以完成物聯網系統的閘道器的安裝。In an embodiment of the present invention, the installation method of the gateway is applicable to an Internet of Things system having a gateway, a user device, a server, a wireless access point (AP), and an Internet of Things device. The user device has authentication information of the user device and authentication information of the wireless access point, the gateway has authentication information of the gateway and authentication information of the server, and the method includes the following steps. First, the gateway detects the received signal strength indicator (RSSI) between the user device and the gateway to determine whether the first distance between the user device and the gateway is less than the first Distance threshold. If so, the gateway and the user device exchange their respective authentication information. After that, the gateway uses the authentication information of the wireless access point to connect to the wireless access point to connect to the server. The user device connects to the server using the authentication information of the server and uses the authentication information of the gateway to connect to the gateway to complete the installation of the gateway of the Internet of Things system.
在本發明的一實施例中,上述物聯網裝置的安裝方法適用於具有閘道器、使用者裝置、伺服器、無線存取點以及物聯網裝置的物聯網系統,其中使用者裝置連線至伺服器以及閘道器,閘道器連結至無線存取點並且連線至伺服器,而此方法包括下列步驟。首先,由閘道器偵測物聯網裝置與閘道器之間的RSSI,以判斷物聯網裝置與閘道器之間的第二距離是否小於第二距離門檻值。若是,由閘道器與物聯網裝置交換各自的認證資訊,以使閘道器與物聯網裝置互相連線,以完成物聯網系統的物聯網裝置的安裝。In an embodiment of the present invention, the method for installing an IoT device is applicable to an IoT system having a gateway, a user device, a server, a wireless access point, and an IoT device. The user device is connected to A server and a gateway. The gateway is connected to the wireless access point and connected to the server. The method includes the following steps. First, the gateway detects the RSSI between the IoT device and the gateway to determine whether the second distance between the IoT device and the gateway is less than the second distance threshold. If so, the gateway and the IoT device exchange their respective authentication information, so that the gateway and the IoT device are connected to each other to complete the installation of the IoT device of the IoT system.
在本發明的一實施例中,上述閘道器包括通訊模組、記憶體以及處理器,其中處理器耦接至通訊模組以及記憶體。通訊模組用以偵測閘道器與其它裝置之間的訊號以及將所偵測到的訊號轉換成RSSI,並且又用以與所述其它裝置進行連線。記憶體用以儲存閘道器的認證資訊以及伺服器的認證資訊。處理器用以自通訊模組取得閘道器與使用者裝置之間的接收訊號強度指標,以判斷使用者裝置與閘道器之間的第一距離是否小於第一距離門檻值,其中使用者裝置具有使用者裝置的認證資訊以及無線存取點的認證資訊。當處理器判定第一距離小於第一距離門檻值時,處理器將透過通訊模組與使用者裝置交換各自所具有的認證資訊,以利用無線存取點的認證資訊連結到無線存取點,從而連線至伺服器,其中使用者裝置利用伺服器的認證資訊連線至伺服器並且利用閘道器的認證資訊連線至閘道器。處理器又用以自通訊模組取得與物聯網裝置之間的接收訊號強度指標,以判斷物聯網裝置與閘道器之間的第二距離是否小於第二距離門檻值。當處理器判定第二距離小於第二距離門檻值時,處理器將透過通訊模組與物聯網裝置交換各自的認證資訊,以與物聯網裝置互相連線。In an embodiment of the present invention, the gateway includes a communication module, a memory, and a processor, and the processor is coupled to the communication module and the memory. The communication module is used for detecting signals between the gateway and other devices, and converting the detected signals into RSSIs, and for connecting with the other devices. The memory is used to store the authentication information of the gateway and the authentication information of the server. The processor is configured to obtain a received signal strength indicator between the gateway and the user device from the communication module, so as to determine whether the first distance between the user device and the gateway is less than a first distance threshold, where the user device It has the authentication information of the user device and the authentication information of the wireless access point. When the processor determines that the first distance is less than the first distance threshold, the processor will exchange authentication information with the user device through the communication module to use the authentication information of the wireless access point to connect to the wireless access point. Thereby connecting to the server, wherein the user device connects to the server using the authentication information of the server and connects to the gateway using the authentication information of the gateway. The processor is further configured to obtain a received signal strength indicator from the communication module to the IoT device to determine whether the second distance between the IoT device and the gateway is less than a second distance threshold. When the processor determines that the second distance is less than the second distance threshold, the processor will exchange respective authentication information with the IoT device through the communication module to connect with the IoT device.
為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above features and advantages of the present invention more comprehensible, embodiments are hereinafter described in detail with reference to the accompanying drawings.
本發明的部份實施例接下來將會配合附圖來詳細描述,以下的描述所引用的元件符號,當不同附圖出現相同的元件符號將視為相同或相似的元件。這些實施例只是本發明的一部份,並未揭示所有本發明的可實施方式。更確切的說,這些實施例只是本發明的專利申請範圍中的方法以及裝置的範例。Some embodiments of the present invention will be described in detail with reference to the accompanying drawings. The component symbols cited in the following description will be regarded as the same or similar components when the same component symbols appear in different drawings. These examples are only a part of the present invention and do not disclose all the possible embodiments of the present invention. Rather, these embodiments are merely examples of methods and devices within the scope of the patent application of the present invention.
圖1是根據本發明一實施例所繪示之物聯網系統的方塊圖。首先圖1先介紹物聯網系統中的所有構件以及尚未進行任何安裝程序前的配置關係,詳細功能將配合後續實施例的流程圖一併揭露。FIG. 1 is a block diagram of an IoT system according to an embodiment of the present invention. First, FIG. 1 first introduces all the components in the IoT system and the configuration relationship before any installation procedure is performed. The detailed functions will be disclosed together with the flowchart of the subsequent embodiment.
請參照圖1,物聯網系統100包括物聯網裝置110、閘道器120、伺服器130、使用者裝置140以及無線存取點AP。在以下的實施例中,物聯網系統100例如可以是居家物聯網系統,但此僅是為了方便說明,並不用以限制本發明。Referring to FIG. 1, the IoT system 100 includes an IoT device 110, a gateway 120, a server 130, a user device 140, and a wireless access point AP. In the following embodiments, the Internet of Things system 100 may be, for example, a home Internet of Things system, but this is only for convenience of description and is not intended to limit the present invention.
物聯網裝置110可以例如是電源設備、照明設備、保全設備、空調設備、家電設備、視聽娛樂設備或是其它具有動作、聲音、影像、溫度、濕度、氣壓、氣體、紫外線等一或多種感測器的監控設備。物聯網裝置110可包括通訊模組、記憶體以及控制器,其經安裝設定後可將資料傳送至閘道器120,並且接收來自閘道器120的控制指令,以依據控制指令執行對應的功能運作。在本實施例中,物聯網裝置110的記憶體將儲存物聯網裝置110本身的認證資訊。The IoT device 110 may be, for example, a power supply device, a lighting device, a security device, an air-conditioning device, a home appliance device, an audiovisual entertainment device, or other devices with one or more types of motion, sound, video, temperature, humidity, air pressure, gas, ultraviolet, and other sensing Monitoring equipment. The IoT device 110 may include a communication module, a memory, and a controller. After being installed and set, it can transmit data to the gateway 120 and receive control instructions from the gateway 120 to perform corresponding functions according to the control instructions. Operation. In this embodiment, the memory of the IoT device 110 stores the authentication information of the IoT device 110 itself.
閘道器120為網路設備,其包括通訊模組121、記憶體123以及處理器125。在本實施例中的閘道器120為居家閘道器(Home Gateway),其經安裝設定後可與物聯網裝置110、伺服器130以及使用者裝置140連線,以提供使用者利用使用者裝置140針對物聯網裝置110進行遠端操控。The gateway 120 is a network device and includes a communication module 121, a memory 123, and a processor 125. The gateway 120 in this embodiment is a home gateway, which can be connected to the IoT device 110, the server 130, and the user device 140 after installation and setting, so as to provide users with access to the user. The device 140 performs remote control on the IoT device 110.
通訊模組121包括Wi-Fi以及ZigBee、藍牙(Bluetooth)等具有無線傳輸標準的通訊介面。此外,通訊模組121可包括RSSI偵測器,用以將通訊模組121所接收到的無線訊號轉換成RSSI。The communication module 121 includes Wi-Fi, ZigBee, Bluetooth and other communication interfaces with wireless transmission standards. In addition, the communication module 121 may include an RSSI detector for converting a wireless signal received by the communication module 121 into an RSSI.
記憶體123可以是任意型式的非暫態性、揮發性、非揮發性的記憶體,其用以儲存緩衝資料、永久資料以及用來執行閘道器120的功能的編譯程式碼。在本實施例中,記憶體123將預先儲存閘道器120本身的認證資訊以及伺服器130的認證資訊。The memory 123 may be any type of non-transitory, volatile, and non-volatile memory, which is used to store buffered data, permanent data, and compiled code for performing functions of the gateway 120. In this embodiment, the memory 123 stores the authentication information of the gateway 120 itself and the authentication information of the server 130 in advance.
處理器125可以例如是中央處理單元(Central Processing Unit,CPU),或是其他可程式化之一般用途或特殊用途的微處理器(Microprocessor)、數位訊號處理器(Digital Signal Processor,DSP)、可程式化控制器、特殊應用積體電路(Application Specific Integrated Circuits,ASIC)、可程式化邏輯裝置(Programmable Logic Device,PLD)或其他類似裝置或這些裝置的組合,其用以控制閘道器120的整體運作。The processor 125 may be, for example, a central processing unit (CPU), or other programmable general purpose or special purpose microprocessor (Microprocessor), digital signal processor (DSP), or Programmable controller, Application Specific Integrated Circuits (ASIC), Programmable Logic Device (PLD) or other similar devices or a combination of these devices, which are used to control the gateway 120 Overall operation.
伺服器130可以是雲端伺服器、資料庫伺服器、應用程式伺服器、工作站、個人電腦等具有運算能力的計算機裝置。The server 130 may be a computer device with computing capabilities, such as a cloud server, a database server, an application server, a workstation, a personal computer, and the like.
使用者裝置140為使用者的行動通訊設備,其可以例如是智慧型手機、平板電腦、筆記型電腦、智慧型穿戴裝置等。使用者裝置140可經由Wi-Fi通訊協定、3G通訊協定、4G通訊協定等連線至網路。使用者裝置140可在物聯網裝置110以及閘道器120安裝設定之後讓使用者針對物聯網裝置110進行遠端操控。本實施例中,使用者裝置140將預先儲存使用者裝置140本身的認證資訊以及無線存取點AP的認證資訊。The user device 140 is a user's mobile communication device, and may be, for example, a smart phone, a tablet computer, a notebook computer, a smart wearable device, and the like. The user device 140 may be connected to the network via a Wi-Fi communication protocol, a 3G communication protocol, a 4G communication protocol, or the like. The user device 140 may allow the user to remotely control the IoT device 110 after the IoT device 110 and the gateway 120 are installed and set. In this embodiment, the user device 140 stores the authentication information of the user device 140 itself and the authentication information of the wireless access point AP in advance.
圖2為根據本發明之一實施例所繪示的閘道器120的安裝方法流程圖。FIG. 2 is a flowchart of a method for installing the gateway 120 according to an embodiment of the present invention.
請同時參照圖1以及圖2,本實施例是利用閘道器120所偵測到的RSSI來判斷使用者裝置140是否位於近距離處,以確認兩裝置的使用者擁有權。換言之,本實施例的使用者可將使用者裝置140靠近至閘道器120或者是將閘道器120靠近至使用者裝置140來進行閘道器120的安裝。Please refer to FIG. 1 and FIG. 2 at the same time. In this embodiment, the RSSI detected by the gateway 120 is used to determine whether the user device 140 is located at a short distance to confirm user ownership of the two devices. In other words, the user in this embodiment may install the gateway 120 by approaching the user device 140 to the gateway 120 or by approaching the gateway 120 to the user device 140.
基於此,閘道器120將偵測使用者裝置140與閘道器120之間的RSSI(步驟S202),以判斷使用者裝置140與閘道器120之間的距離是否小於第一距離門檻值(步驟S204)。詳細來說,由於 RSSI的數值大小可反應出收發裝置之間的距離(即,收發裝置之間的距離越近,所偵測到的RSSI越大),閘道器120的處理器125可依據通訊模組121所量測到的RSSI來判斷使用者裝置140是否位於近距離的位置。在此的第一距離門檻值可以例如是10公分極為接近的距離,以避免誤偵測到其它裝置以及避免其它可疑的裝置啟動閘道器120的安裝。Based on this, the gateway 120 will detect the RSSI between the user device 140 and the gateway 120 (step S202) to determine whether the distance between the user device 140 and the gateway 120 is less than the first distance threshold. (Step S204). In detail, because the RSSI value can reflect the distance between the transceivers (that is, the closer the distance between the transceivers, the larger the RSSI detected), the processor 125 of the gateway 120 can be based on The RSSI measured by the communication module 121 determines whether the user device 140 is located at a short distance. Here, the first distance threshold may be, for example, a very close distance of 10 cm, so as to avoid misdetection of other devices and prevent other suspicious devices from starting the installation of the gateway 120.
當閘道器120判定使用者裝置140與閘道器120之間的距離不小於第一距離門檻值時,流程將返回到步驟S202,閘道器120將持續偵測使用者裝置140與閘道器120之間的RSSI。When the gateway 120 determines that the distance between the user device 140 and the gateway 120 is not less than the first distance threshold, the flow will return to step S202, and the gateway 120 will continuously detect the user device 140 and the gateway RSSI 120.
另一方面,當閘道器120判定使用者裝置140與閘道器120之間的距離小於第一距離門檻值時,閘道器120與使用者裝置140將交換各自所具有的認證資訊(步驟S206),以給予認證以及授權。在此,使用者裝置140可透過其通訊模組傳遞使用者裝置140的硬體識別碼(Hardware Identification,HW ID)以及無線存取點AP的服務設定識別碼(Service Set Identifier,SSID)與密碼(Password)至閘道器120。此外,閘道器120可透過通訊模組121傳遞閘道器120的軟體金鑰(Software Key,SW Key)以及伺服器130的軟體金鑰至使用者裝置140。On the other hand, when the gateway 120 determines that the distance between the user device 140 and the gateway 120 is less than the first distance threshold, the gateway 120 and the user device 140 will exchange their respective authentication information (step S206) to give authentication and authorization. Here, the user device 140 can transmit the hardware identification (HW ID) of the user device 140 and the service set identifier (Service Set Identifier, SSID) and password of the wireless access point AP through its communication module. (Password) to the gateway 120. In addition, the gateway 120 may transmit the software key (SW Key) of the gateway 120 and the software key of the server 130 to the user device 140 through the communication module 121.
之後,閘道器120將利用無線存取點AP的認證資訊透過連結到無線存取點AP,以連線至伺服器130(步驟S208)。此外,使用者裝置140將利用伺服器130的認證資訊連線至伺服器130,並且利用閘道器120的認證資訊連線至閘道器120(步驟S210)。也就是說,閘道器120的處理器125可利用所接收到的無線存取點AP的服務設定識別碼與密碼,透過通訊模組121連線至伺服器130。使用者裝置140可利用所接收到的伺服器130的軟體金鑰連線至伺服器130,並且利用所接收到的閘道器120的軟體金鑰連線至閘道器120。如此一來,即可完成物聯網系統100中的閘道器120的安裝。After that, the gateway 120 uses the authentication information of the wireless access point AP to connect to the wireless access point AP to connect to the server 130 (step S208). In addition, the user device 140 connects the authentication information using the server 130 to the server 130, and connects to the gateway 120 using the authentication information of the gateway 120 (step S210). That is, the processor 125 of the gateway 120 may use the received service setting identification code and password of the wireless access point AP to connect to the server 130 through the communication module 121. The user device 140 may use the received software key of the server 130 to connect to the server 130, and use the received software key of the gateway 120 to connect to the gateway 120. In this way, the installation of the gateway 120 in the IoT system 100 can be completed.
圖3為根據本發明之一實施例所繪示的物聯網裝置110的安裝方法流程圖。在進行圖3的流程之前,閘道器120可例如是經由圖2的流程而安裝完畢。FIG. 3 is a flowchart of a method for installing an IoT device 110 according to an embodiment of the present invention. Before the process of FIG. 3 is performed, the gateway 120 may be installed, for example, through the process of FIG. 2.
請同時參照圖1以及圖3,本實施例是利用閘道器120所偵測到的RSSI來判斷物聯網裝置110是否位於近距離處,以確認兩裝置的使用者擁有權。換言之,本實施例的使用者可將物聯網裝置110靠近至閘道器120或者是將閘道器120靠近至物聯網裝置110來進行物聯網裝置110的安裝。Please refer to FIG. 1 and FIG. 3 at the same time. In this embodiment, the RSSI detected by the gateway 120 is used to determine whether the IoT device 110 is located at a short distance to confirm user ownership of the two devices. In other words, the user of this embodiment may install the IoT device 110 by approaching the IoT device 110 to the gateway 120 or by approaching the gateway 120 to the IoT device 110.
基於此,閘道器120將偵測物聯網裝置110與閘道器120之間的RSSI(步驟S302),以判斷物聯網裝置110與閘道器120之間的距離是否小於第二距離門檻值(步驟S304)。類似於步驟S302~S304,在此的第二距離門檻值亦可以例如是10公分極為接近的距離,以避免誤偵測到其它裝置以及是避免其它可疑的裝置安裝於物聯網系統100中。Based on this, the gateway 120 will detect the RSSI between the IoT device 110 and the gateway 120 (step S302) to determine whether the distance between the IoT device 110 and the gateway 120 is less than the second distance threshold. (Step S304). Similar to steps S302 to S304, the second distance threshold here may also be a very close distance of 10 cm, for example, to avoid misdetection of other devices and to prevent other suspicious devices from being installed in the IoT system 100.
當閘道器120判定物聯網裝置110與閘道器120之間的距離不小於第二距離門檻值時,流程將返回到步驟S302,閘道器120將持續偵測物聯網裝置110與閘道器120之間的RSSI。When the gateway 120 determines that the distance between the IoT device 110 and the gateway 120 is not less than the second distance threshold, the flow will return to step S302, and the gateway 120 will continuously detect the IoT device 110 and the gateway RSSI 120.
另一方面,當閘道器120判定物聯網裝置110與閘道器120之間的距離小於第二距離門檻值時,閘道器120以及物聯網裝置110將交換各自的認證資訊,以使閘道器120與物聯網裝置110互相連線(步驟S306)。也就是說,物聯網裝置110可傳遞物聯網裝置110的硬體相關資訊至閘道器120,其中硬體相關資訊可以是硬體識別碼(Hardware Identification,HW ID)、硬體金鑰(Hardware Key,HW Key)或是硬體資料(Hardware Data)。另一方面,閘道器120可透過通訊模組121傳遞閘道器120的軟體金鑰至物聯網裝置110。如此一來,物聯網裝置110與閘道器120可各自利用所接收到的認證資訊而與對方進行連線,即可完成物聯網系統100中的物聯網裝置110的安裝。On the other hand, when the gateway 120 determines that the distance between the IoT device 110 and the gateway 120 is less than the second distance threshold, the gateway 120 and the IoT device 110 will exchange their respective authentication information to enable the gateway The router 120 and the IoT device 110 are connected to each other (step S306). In other words, the IoT device 110 can transmit the hardware related information of the IoT device 110 to the gateway 120, where the hardware related information can be a hardware identification (HW ID), a hardware key (Hardware) Key, HW Key) or Hardware Data. On the other hand, the gateway 120 can transmit the software key of the gateway 120 to the IoT device 110 through the communication module 121. In this way, the IoT device 110 and the gateway 120 can each use the received authentication information to connect with each other, and the installation of the IoT device 110 in the IoT system 100 can be completed.
圖4為根據本發明之一實施例所繪示的閘道器120以及物聯網裝置110的安裝方法的流程示意圖。在本實施例中,家電設備HA相當於物聯網裝置110,閘道器HGW相當閘道器120,雲端伺服器CS相當於伺服器130,而手機UE相當於使用者裝置140。FIG. 4 is a schematic flowchart of an installation method of the gateway 120 and the Internet of Things device 110 according to an embodiment of the present invention. In this embodiment, the home appliance HA is equivalent to the IoT device 110, the gateway HGW is equivalent to the gateway 120, the cloud server CS is equivalent to the server 130, and the mobile phone UE is equivalent to the user device 140.
請參照圖4,在閘道器HGW的安裝之前,手機UE即可以連結至Wi-Fi無線存取點AP(步驟S400)。針對閘道器HGW的安裝,當閘道器HGW利用所偵測到的RSSI判定手機UE位於近距離處時(步驟S401),閘道器HGW與手機UE將交換各自所具有的認證資訊(步驟S402A、S402B)。在此,手機UE將傳遞手機UE的硬體識別碼HW ID、Wi-Fi無線存取點AP的服務設定識別碼SSID以及密碼PWD至閘道器HGW,而閘道器HGW將傳遞閘道器GW的軟體鑰SW Key-HGW以及雲端伺服器CS的軟體金鑰SW Key-CS至手機UE。Please refer to FIG. 4. Before the gateway HGW is installed, the mobile phone UE can connect to the Wi-Fi wireless access point AP (step S400). For the installation of the gateway HGW, when the gateway HGW determines that the mobile phone UE is located at a short distance by using the detected RSSI (step S401), the gateway HGW and the mobile phone UE will exchange their respective authentication information (step S402A, S402B). Here, the mobile phone UE will pass the hardware identification code HW ID of the mobile phone UE, the service setting identification code SSID of the Wi-Fi wireless access point AP, and the password PWD to the gateway HGW, and the gateway HGW will pass the gateway The software key SW Key-HGW of the GW and the software key SW Key-CS of the cloud server CS are transmitted to the mobile phone UE.
接著,閘道器HGW將利用所接收到的Wi-Fi無線存取點AP的服務設定識別碼SSID與密碼PWD以連結至Wi-Fi無線存取點AP(步驟S403),以進一步地連線至雲端伺服器CS(步驟S404)。另一方面,手機UE將利用所接收到的雲端伺服器CS的軟體金鑰SW Key-CS以例如是Wi-Fi、3G或是4G等方式連線至雲端伺服器CS(步驟S405),並且利用所接收到的閘道器HGW的軟體金鑰SW Key-HGW以例如是Wi-Fi、藍牙等方式連線至閘道器HGW(步驟S406),以完成閘道器HGW的安裝。Next, the gateway HGW will use the received service setting identifier SSID and password PWD of the Wi-Fi wireless access point AP to connect to the Wi-Fi wireless access point AP (step S403) for further connection. Go to the cloud server CS (step S404). On the other hand, the mobile phone UE will use the received software key SW Key-CS of the cloud server CS to connect to the cloud server CS in a manner such as Wi-Fi, 3G, or 4G (step S405), and Use the received software key SW Key-HGW of the gateway HGW to connect to the gateway HGW in a manner such as Wi-Fi, Bluetooth (step S406) to complete the installation of the gateway HGW.
接著,針對家電設備HA的安裝,當閘道器HGW利用所偵測到的RSSI值判定家電設備HA位於近距離處時(步驟S407),閘道器HGW與家電設備HA將交換各自的認證資訊(步驟S408A、S408B)。在此,家電設備HA將傳遞硬體相關資訊HW ID/Key/Data至閘道器HGW,而閘道器HGW將傳遞閘道器HGW的軟體金鑰SW Key-HGW至家電設備HA。如此一來,閘道器HGW與家電設備HA可以例如是藍牙、ZigBee等方式互相連線(步驟S409),以完成家電設備HA的安裝。圖4的細部流程說明可參照圖2以及圖3的相關步驟,於此不再贅述。Next, for the installation of the home appliance HA, when the gateway HGW determines that the home appliance HA is located at a short distance by using the detected RSSI value (step S407), the gateway HGW and the home appliance HA will exchange their respective authentication information (Steps S408A, S408B). Here, the home appliance HA will pass the hardware related information HW ID / Key / Data to the gateway HGW, and the gateway HGW will pass the software key SW Key-HGW of the gateway HGW to the home appliance HA. In this way, the gateway HGW and the home appliance HA can be connected to each other in a manner such as Bluetooth or ZigBee (step S409) to complete the installation of the home appliance HA. The detailed process description in FIG. 4 can refer to the related steps in FIG. 2 and FIG. 3, and will not be repeated here.
綜上所述,本發明所提出的閘道器、閘道器的安裝方法以及物聯網裝置的安裝方法,其是藉由閘道器與使用者裝置以及閘道器與物聯網裝置之間的RSSI來判斷是否為近距離而確定使用者對於裝置的擁有權,進而啟動裝置的安裝程序,此外,在裝置的安裝過程中,其是利用裝置之間的認證資訊來簡化使用者的輸入。如此一來,本發明可在不增加硬體成本以及機構設計複雜度的前提下來簡化閘道器以及物聯網裝置的安裝流程,以減少使用者的輸入與認證,從而提升相關產品的市場競爭力。To sum up, the gateway, the installation method of the gateway, and the installation method of the Internet of Things device provided by the present invention are implemented by the gateway and the user device, and the gateway and the Internet of things device. RSSI is used to determine whether the user has ownership of the device for a short distance, and then starts the installation process of the device. In addition, during the device installation process, it uses authentication information between devices to simplify user input. In this way, the present invention can simplify the installation process of the gateway and the IoT device without increasing the hardware cost and the complexity of the design of the mechanism, so as to reduce user input and authentication, thereby improving the market competitiveness of related products. .
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed as above with the examples, it is not intended to limit the present invention. Any person with ordinary knowledge in the technical field can make some modifications and retouching without departing from the spirit and scope of the present invention. The protection scope of the present invention shall be determined by the scope of the attached patent application.
100‧‧‧物聯網系統100‧‧‧IoT System
110‧‧‧物聯網裝置110‧‧‧ IoT devices
120‧‧‧閘道器120‧‧‧Gateway
121‧‧‧通訊模組121‧‧‧Communication Module
123‧‧‧記憶體123‧‧‧Memory
125‧‧‧處理器125‧‧‧ processor
130‧‧‧伺服器130‧‧‧Server
140‧‧‧使用者裝置140‧‧‧user device
AP‧‧‧無線存取點AP‧‧‧Wireless Access Point
S202~S210‧‧‧閘道器的安裝方法流程S202 ~ S210‧‧‧Gateway installation method flow
S302~S306‧‧‧物聯網裝置的安裝方法流程S302 ~ S306‧‧‧The installation method flow of IoT device
HA‧‧‧家電設備HA‧‧‧Household appliances
HGW‧‧‧閘道器HGW‧‧‧Gateway
CS‧‧‧雲端伺服器CS‧‧‧ Cloud Server
UE‧‧‧手機UE‧‧‧Mobile
SSID‧‧‧無線存取點的服務設定識別碼SSID‧‧‧ Service Setting ID of Wireless Access Point
PWD‧‧‧無線存取點的密碼Password of PWD‧‧‧Wireless Access Point
SW Key-CS‧‧‧雲端伺服器的軟體金鑰SW Key-CS‧‧‧ Cloud server software key
SW Key-HGW‧‧‧閘道器的軟體金鑰SW Key-HGW‧‧‧Gateway Software Key
HW ID/Key/Data‧‧‧家電設備的硬體相關資訊HW ID / Key / Data‧‧‧ Hardware related information for home appliances
圖1是根據本發明一實施例所繪示之物聯網系統的方塊圖。 圖2為根據本發明之一實施例所繪示的閘道器的安裝方法流程圖。 圖3為根據本發明之一實施例所繪示的物聯網裝置的安裝方法流程圖。 圖4為根據本發明之一實施例所繪示的閘道器以及物聯網裝置的安裝方法流程示意圖。FIG. 1 is a block diagram of an IoT system according to an embodiment of the present invention. FIG. 2 is a flowchart of a method for installing a gateway according to an embodiment of the present invention. FIG. 3 is a flowchart of a method for installing an IoT device according to an embodiment of the present invention. FIG. 4 is a schematic flowchart of a method for installing a gateway and an IoT device according to an embodiment of the present invention.
Claims (15)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US201662439155P | 2016-12-27 | 2016-12-27 | |
| US62/439,155 | 2016-12-27 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW201824944A TW201824944A (en) | 2018-07-01 |
| TWI638578B true TWI638578B (en) | 2018-10-11 |
Family
ID=62700120
Family Applications (3)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW106115541A TWI638578B (en) | 2016-12-27 | 2017-05-11 | GATEWAY, GATEWAY SETUP METHOD, AND IoT DEVICE SETUP METHOD IN IoT SYSTEM |
| TW106115914A TWI625705B (en) | 2016-12-27 | 2017-05-15 | Photoelectric module, motion sensing device and driving method thereof |
| TW106118011A TWI655614B (en) | 2016-12-27 | 2017-06-01 | Alarm triggering method for sensor and electronic device using same |
Family Applications After (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW106115914A TWI625705B (en) | 2016-12-27 | 2017-05-15 | Photoelectric module, motion sensing device and driving method thereof |
| TW106118011A TWI655614B (en) | 2016-12-27 | 2017-06-01 | Alarm triggering method for sensor and electronic device using same |
Country Status (2)
| Country | Link |
|---|---|
| CN (3) | CN108260073B (en) |
| TW (3) | TWI638578B (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111426387A (en) * | 2019-01-10 | 2020-07-17 | 杭州海康威视数字技术股份有限公司 | Temperature anomaly detection method and device |
| CN112185070B (en) * | 2020-09-11 | 2021-12-17 | 珠海格力电器股份有限公司 | Fault early warning method, storage medium and electronic equipment |
| EP4466688A2 (en) * | 2022-01-17 | 2024-11-27 | Simplisafe, Inc. | Motion detection |
| CN115174636A (en) * | 2022-08-04 | 2022-10-11 | 中兴(温州)轨道通讯技术有限公司 | Centralized warning management system for rail transit |
| CN115810259B (en) * | 2022-11-17 | 2025-05-23 | 环维电子(上海)有限公司 | Method for avoiding repeated triggering of alarm and intelligent monitoring alarm system |
| CN115830809B (en) * | 2022-11-28 | 2024-05-03 | 河南辉煌科技股份有限公司 | Debris flow alarm smart grid sensor and monitoring method |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100122091A1 (en) * | 2008-11-07 | 2010-05-13 | Yi-Hsiung Huang | Access Control System And Method Based On Hierarchical Key, And Authentication Key Exchange Method Thereof |
| US20140244768A1 (en) * | 2013-02-25 | 2014-08-28 | Qualcomm Incorporated | Automatic iot device social network expansion |
| US20160156673A1 (en) * | 2014-12-02 | 2016-06-02 | Netgear, Inc. | Sensor gateway |
Family Cites Families (18)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1026521B1 (en) * | 1995-04-12 | 2004-09-29 | Matsushita Electric Industrial Co., Ltd. | Method and apparatus for detecting an object |
| JP2007206449A (en) * | 2006-02-02 | 2007-08-16 | Institute Of National Colleges Of Technology Japan | Light emitting device with sensor function |
| CN101509787B (en) * | 2008-02-14 | 2011-06-08 | 敦南科技股份有限公司 | Electromagnetic Wave Sensing Device |
| TWI372370B (en) * | 2008-06-16 | 2012-09-11 | Ind Tech Res Inst | Thermal detection system and detection method thereof |
| CN101751740B (en) * | 2008-12-22 | 2013-06-19 | 深圳市豪恩安全科技有限公司 | Detector and alarm method and alarm device thereof |
| TWI390471B (en) * | 2009-03-26 | 2013-03-21 | Compal Communications Inc | Portable electronic apparatus |
| CN101639961B (en) * | 2009-09-14 | 2012-06-13 | 北京航星网讯技术股份有限公司 | Detection alarm method and system thereof |
| GB2490691A (en) * | 2011-05-10 | 2012-11-14 | Thomas David Cullen | Motion detection device for use in a hospital or retirement home |
| CN202758888U (en) * | 2012-08-22 | 2013-02-27 | 标准科技股份有限公司 | Sensor Packaging Module |
| CN104348686B (en) * | 2013-08-06 | 2018-06-05 | 华为终端有限公司 | Interconnection method and device between terminal equipment and gateway equipment |
| CN203611860U (en) * | 2013-11-22 | 2014-05-28 | 北汽福田汽车股份有限公司 | Vehicle alarm system and vehicle |
| TWI542171B (en) * | 2013-12-18 | 2016-07-11 | Alpha Networks Inc | Automatically set the way the gateway device |
| EP3114661A1 (en) * | 2014-03-03 | 2017-01-11 | VSK Electronics NV | Intrusion detection with motion sensing |
| CN104580478A (en) * | 2015-01-15 | 2015-04-29 | 环旭电子股份有限公司 | Internet-of-Things device off-line sharing access right control method |
| TWI578491B (en) * | 2015-05-07 | 2017-04-11 | 億光電子工業股份有限公司 | Optical sensing device and method of manufacturing optical device |
| CN105205988B (en) * | 2015-10-30 | 2018-07-06 | 张金宏 | The toilet lid and method and closestool that generation contingency can alarm during toilet seat |
| CN105222486B (en) * | 2015-10-30 | 2018-02-02 | 青岛海尔特种电冰箱有限公司 | Refrigerator detection method and detection means |
| CN105551194B (en) * | 2016-03-10 | 2018-01-23 | 广州视源电子科技股份有限公司 | Fall detection method and device |
-
2017
- 2017-05-11 TW TW106115541A patent/TWI638578B/en active
- 2017-05-11 CN CN201710329371.8A patent/CN108260073B/en active Active
- 2017-05-15 CN CN201710340773.8A patent/CN108240866B/en active Active
- 2017-05-15 TW TW106115914A patent/TWI625705B/en active
- 2017-06-01 CN CN201710403044.2A patent/CN108242137B/en active Active
- 2017-06-01 TW TW106118011A patent/TWI655614B/en active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100122091A1 (en) * | 2008-11-07 | 2010-05-13 | Yi-Hsiung Huang | Access Control System And Method Based On Hierarchical Key, And Authentication Key Exchange Method Thereof |
| US20140244768A1 (en) * | 2013-02-25 | 2014-08-28 | Qualcomm Incorporated | Automatic iot device social network expansion |
| US20160156673A1 (en) * | 2014-12-02 | 2016-06-02 | Netgear, Inc. | Sensor gateway |
Also Published As
| Publication number | Publication date |
|---|---|
| TW201824196A (en) | 2018-07-01 |
| TW201824944A (en) | 2018-07-01 |
| TWI625705B (en) | 2018-06-01 |
| CN108240866B (en) | 2020-06-09 |
| CN108242137A (en) | 2018-07-03 |
| CN108260073B (en) | 2021-02-09 |
| TW201824202A (en) | 2018-07-01 |
| CN108260073A (en) | 2018-07-06 |
| TWI655614B (en) | 2019-04-01 |
| CN108240866A (en) | 2018-07-03 |
| CN108242137B (en) | 2020-02-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI638578B (en) | GATEWAY, GATEWAY SETUP METHOD, AND IoT DEVICE SETUP METHOD IN IoT SYSTEM | |
| US10602362B2 (en) | Gateway, gateway setup method, and IoT device setup method in IoT system | |
| US10097529B2 (en) | Semiconductor device for controlling access right to server of internet of things device and method of operating the same | |
| TWI558221B (en) | Smart household appliance, mobile communication device, system and method for controlling smart household appliance | |
| US20160323283A1 (en) | Semiconductor device for controlling access right to resource based on pairing technique and method thereof | |
| CN104348686B (en) | Interconnection method and device between terminal equipment and gateway equipment | |
| JP6473743B2 (en) | Configuration connection device | |
| US20160269691A1 (en) | System for monitoring door using door phone | |
| US20120127980A1 (en) | Wireless Network Notification, Messaging and Access Device | |
| CN105931330A (en) | Intelligent unlocking method and intelligent lock | |
| WO2016004134A2 (en) | Systems and techniques for wireless device configuration | |
| KR102250421B1 (en) | Method for home networking using AI voice recognition speakers and network devices installed in the household, device and system using the same | |
| JP2016076744A5 (en) | ||
| US20150373538A1 (en) | Configuring Secure Wireless Networks | |
| CA2888230C (en) | Devices and method for controlling access to an account | |
| CN103517272B (en) | Wireless network user authentication system and wireless network connection method thereof | |
| Jiang et al. | Research and implementation of M2M smart home and security system | |
| TW201605203A (en) | Home control gateway and home control network connection method thereof | |
| CN204206470U (en) | heterogeneous network control system | |
| TW201336287A (en) | Method and system for monitoring and alarming using mobile phone | |
| CN102958202B (en) | wireless router, access device and system | |
| CN105629748A (en) | Secure networking method, intelligent terminal and secure networking system | |
| JP6384739B2 (en) | Connection setting device and method | |
| TWI520653B (en) | Auto-matching method of wireless security, method of establishing connection, and wireless access point device | |
| TWM512265U (en) | Gate way for interconnecting hetero internet of things |