TW201620268A - Smart appliance control method and system - Google Patents
Smart appliance control method and system Download PDFInfo
- Publication number
- TW201620268A TW201620268A TW103139902A TW103139902A TW201620268A TW 201620268 A TW201620268 A TW 201620268A TW 103139902 A TW103139902 A TW 103139902A TW 103139902 A TW103139902 A TW 103139902A TW 201620268 A TW201620268 A TW 201620268A
- Authority
- TW
- Taiwan
- Prior art keywords
- control
- home
- control host
- home appliance
- smart home
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000004891 communication Methods 0.000 claims abstract description 51
- 230000005540 biological transmission Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
Landscapes
- Selective Calling Equipment (AREA)
Abstract
Description
本發明是有關於一種智慧家電控制方法及系統,特別是指一種依據宅內網路連線資訊判斷提供宅內或宅外控制模式的智慧家電控制方法及系統。 The invention relates to a smart home appliance control method and system, in particular to a smart home appliance control method and system for providing a home or outdoor control mode according to the home network connection information.
通用隨插即用(UPnP)協定的網路架構包括至少一裝置(Device)及一控制點(Control Point);裝置中具有至少一服務;控制點用以偵測所有的裝置並擷取服務的相關內容。搜尋(Discovery)是控制點偵測所有的裝置的過程,主要有兩種模式,一種模式是當新的裝置加入網路後,由裝置向控制點發出關於此裝置的描述及資訊之訊息。另一種模式是當新的控制點加入網路後,由控制點向裝置發出一內含對哪些類型的裝置有興趣的要求及一供裝置回傳訊息的統一資源標識符(URI)的廣播訊息,若裝置接收到廣播訊息並確認本身類型符合要求,就向控制點回傳訊息。 The universal plug-and-play (UPnP) protocol network architecture includes at least one device and a control point; the device has at least one service; the control point is used to detect all devices and retrieve services. related information. Discovery is the process by which the control point detects all devices. There are two main modes. One mode is that when a new device joins the network, the device sends a description and information about the device to the control point. Another mode is when a new control point joins the network, the control point sends a request to the device containing information about which types of devices are interested, and a Uniform Resource Identifier (URI) broadcast message for the device to return the message. If the device receives the broadcast message and confirms that its type meets the requirements, it will return a message to the control point.
現有應用通用隨插即用協定的智慧家電控制系統包括至少一智慧家電及一控制主機,當智慧家電接上電源及網路後即自動取得IP位址,不同的智慧家電分配不同 的IP位址;藉此,控制主機得以識別不同的智慧家電。現有智慧家電的控制技術是預設為宅內控制模式,也就是預設用戶是位在宅內,然後會以發送廣播訊息的搜尋方式建立裝置列表後進行控制。 The smart home appliance control system of the existing application universal plug-and-play protocol includes at least one smart home appliance and a control host. When the smart home appliance is connected to the power source and the network, the IP address is automatically obtained, and different smart home appliances are allocated differently. The IP address; thereby, the control host is able to identify different smart appliances. The control technology of the existing smart home appliance is preset to the home control mode, that is, the preset user is located in the house, and then the device list is established by sending a broadcast message to control the device list.
然而,用戶可能是處於宅外,若是在宅外需要進行智慧家電的控制時,也以發送廣播訊息的搜尋方式,整體而言將較為耗時。因此,需要一種能快速辨識而決定是設置為宅內控制模式或設置為宅外控制模式的技術。 However, the user may be outside the house. If the smart home appliance needs to be controlled outside the house, the search method of sending the broadcast message will be time consuming as a whole. Therefore, there is a need for a technique that can be quickly identified and determined to be set to the home control mode or set to the home control mode.
因此,本發明之目的,即在提供一種改善先前技術的智慧家電控制方法及系統。 Accordingly, it is an object of the present invention to provide a smart home appliance control method and system that improves upon the prior art.
於是,本發明智慧家電控制方法應用於一智慧家電控制系統,該智慧家電控制系統符合通用隨插即用協定的規格,具有連接網路的一控制主機及至少一智慧家電,該方法係由一手持通訊裝置執行包含以下步驟:(a)該手持通訊裝置與該控制主機連線以取得該控制主機的一宅內網路連線資訊;(b)該手持通訊裝置比對該宅內網路連線資訊是否存在於該手持通訊裝置;(c)若該宅內網路連線資訊存在,令該控制主機依據通用隨插即用協定進行宅內控制模式;及(d)若該宅內網路連線資訊不存在,令該控制主機依據宅外通訊協定與該控制主機連線以進行宅外控制模式。 Therefore, the smart home appliance control method of the present invention is applied to a smart home appliance control system, which conforms to the specifications of the universal plug-and-play protocol, has a control host connected to the network and at least one smart home appliance, and the method is The handheld communication device performs the following steps: (a) the handheld communication device is connected to the control host to obtain an in-home network connection information of the control host; (b) the handheld communication device is compared to the in-home network Whether the connection information exists in the handheld communication device; (c) if the home network connection information exists, the control host performs the home control mode according to the universal plug-and-play protocol; and (d) if the home interior The network connection information does not exist, so that the control host is connected to the control host according to the off-home communication protocol for the off-home control mode.
在一些實施態樣中,在步驟(a)之前還包括下述步驟:該手持通訊裝置控制該控制主機發出一廣播訊息以 進行搜尋該智慧家電;該智慧家電接收該廣播訊息後,將內儲的一宅內網路連線資訊發送給該控制主機,該控制主機並記錄該宅內網路連線資訊。 In some implementations, before step (a), the method further includes the step of: the handheld communication device controlling the control host to send a broadcast message to Searching for the smart home appliance; after receiving the broadcast message, the smart home appliance sends the stored information of a home network connection to the control host, and the control host records the home network connection information.
在一些實施態樣中,該宅內網路連線資訊具有一服務設定識別碼、一網際網路協定網段及/或一無線模組網際網路協定位址。 In some implementations, the home network connection information has a service setting identifier, an internet protocol network segment, and/or a wireless module internet protocol address.
本發明智慧家電控制系統包含至少一智慧家電、一控制主機及一手持通訊裝置。 The smart home appliance control system of the present invention comprises at least one smart home appliance, a control host and a handheld communication device.
該智慧家電具有一記憶模組、一處理模組及一無線網路模組。該處理模組電性連接該記憶模組,該無線網路模組電性連接該處理模組,受該處理模組控制與該手持通訊裝置連線。 The smart home appliance has a memory module, a processing module and a wireless network module. The processing module is electrically connected to the memory module, and the wireless network module is electrically connected to the processing module, and is controlled by the processing module to be connected to the handheld communication device.
該控制主機具有一有線網路介面、一無線網路介面、一記錄單元及一控制單元。該有線網路介面電性連接一外部網路;該無線網路介面與該智慧家電及該手持通訊裝置藉由無線傳輸方式傳遞訊息;該控制單元令該無線網路介面與該手持通訊裝置連線。 The control host has a wired network interface, a wireless network interface, a recording unit and a control unit. The wired network interface is electrically connected to an external network; the wireless network interface and the smart home appliance and the handheld communication device transmit information by wireless transmission; the control unit connects the wireless network interface to the handheld communication device line.
該手持通訊裝置具有一無線網路單元、一儲存單元及一處理單元。該無線網路單元與該控制主機連線,該儲存單元,該處理單元電性連接該儲存單元及該無線網路單元,控制該無線網路單元與該控制主機連線以取得一宅內網路連線資訊,並比對該宅內網路連線資訊是否存在,若該宅內網路連線資訊存在,令該控制主機依據通用隨插即用協定進行宅內控制模式,若該宅內網路連線資訊不 存在,令該控制主機依據宅外通訊協定與該控制主機連線以進行宅外控制模式。 The handheld communication device has a wireless network unit, a storage unit and a processing unit. The wireless network unit is connected to the control host, the storage unit is electrically connected to the storage unit and the wireless network unit, and the wireless network unit is controlled to be connected to the control host to obtain an in-home network. Road connection information, and whether there is information about the connection network in the home, if the home network connection information exists, the control host performs the house control mode according to the universal plug-and-play agreement, if the house Internal network connection information is not Existing, the control host is connected to the control host according to an off-home communication protocol to perform an off-home control mode.
在一些實施態樣中,該手持通訊裝置控制該控 制主機發出一廣播訊息以進行搜尋該智慧家電;該智慧家電接收該廣播訊息後,將內儲的宅內網路連線資訊發送給該控制主機,該控制主機並記錄該宅內網路連線資訊。 In some implementations, the handheld communication device controls the control The host sends a broadcast message to search for the smart home appliance; after receiving the broadcast message, the smart home appliance sends the stored home network connection information to the control host, and the control host records the home network connection Line information.
在一些實施態樣中,該宅內網路連線資訊具有 一服務設定識別碼、一網際網路協定網段及/或一無線模組網際網路協定位址。 In some implementations, the home network connection information has A service setting identifier, an internet protocol network segment, and/or a wireless module internet protocol address.
本發明之功效在於:無論用戶是處於宅內或宅 外,要進行智慧家電的控制時,透過宅內網路連線資訊的輔助,先以宅內網路連線資訊進行判斷,因此,能快速辨識應提供宅內控制模式或宅外控制模式的取得所有裝置資訊而得以節省操作時間。 The effect of the invention is that whether the user is in the house or in the house In addition, when the control of smart home appliances is to be carried out, the information of the home network connection is used to determine the connection information of the home network. Therefore, it can quickly identify whether the house control mode or the home control mode should be provided. Save time by getting all device information.
1、1’‧‧‧手持通訊裝置 1, 1'‧‧‧Handheld communication device
10‧‧‧處理單元 10‧‧‧Processing unit
100‧‧‧控制系統 100‧‧‧Control system
11‧‧‧無線網路單元 11‧‧‧Wireless network unit
12‧‧‧儲存單元 12‧‧‧ storage unit
121‧‧‧資料庫 121‧‧‧Database
2‧‧‧控制主機 2‧‧‧Control host
20‧‧‧控制單元 20‧‧‧Control unit
21‧‧‧無線網路介面 21‧‧‧Wireless Network Interface
22‧‧‧有線網路介面 22‧‧‧Wired network interface
23‧‧‧記錄單元 23‧‧‧recording unit
3‧‧‧智慧家電 3‧‧‧Smart Appliances
30‧‧‧無線網路模組 30‧‧‧Wireless network module
31‧‧‧處理模組 31‧‧‧Processing module
32‧‧‧記憶模組 32‧‧‧Memory Module
500‧‧‧外部網路 500‧‧‧External network
301~304‧‧‧步驟 301~304‧‧‧Steps
401~405‧‧‧步驟 401~405‧‧‧Steps
本發明之其他的特徵及功效,將於參照圖式的實施例詳細說明中清楚地呈現,其中:圖1是一示意圖,說明本發明智慧家電控制系統的一實施例;圖2是一系統方塊圖,說明該系統實施例具有之元件;圖3是一流程圖,說明本發明智慧家電控制方法的一實施例中的前置處理程序;圖4是一流程圖,說明該方法實施例的後續處理程序。 Other features and advantages of the present invention will be apparent from the detailed description of the embodiments of the present invention. FIG. 1 is a schematic diagram illustrating an embodiment of the smart home appliance control system of the present invention; FIG. 2 is a system block. FIG. 3 is a flow chart illustrating a pre-processing procedure in an embodiment of the smart home appliance control method of the present invention; FIG. 4 is a flowchart illustrating the follow-up of the method embodiment Processing program.
參閱圖1與圖2,本發明之實施例中,智慧家電 控制系統100包含至少一智慧家電3、一控制主機2及一手持通訊裝置1,控制主機2電性連接一外部網路500。 Referring to FIG. 1 and FIG. 2, in an embodiment of the present invention, a smart home appliance The control system 100 includes at least one smart home appliance 3, a control host 2, and a handheld communication device 1. The control host 2 is electrically connected to an external network 500.
智慧家電3具有一記憶模組32、一處理模組31 及一無線網路模組30。記憶模組32用於記錄資訊,處理模組31電性連接記憶模組32,無線網路模組30電性連接處理模組31,受處理模組31控制與手持通訊裝置1連線以發送記憶模組32記錄的資訊。 The smart home appliance 3 has a memory module 32 and a processing module 31. And a wireless network module 30. The memory module 32 is used for recording information, and the processing module 31 is electrically connected to the memory module 32. The wireless network module 30 is electrically connected to the processing module 31, and is controlled by the processing module 31 to be connected to the handheld communication device 1 for transmission. The information recorded by the memory module 32.
控制主機2具有一有線網路介面22、一無線網 路介面21、一記錄單元23及一控制單元20。有線網路介面22電性連接外部網路500。無線網路介面21與智慧家電3及手持通訊裝置1藉由無線傳輸方式傳遞訊息。控制單元20令無線網路介面21與手持通訊裝置1連線以發送記錄單元23記錄的資訊予手持通訊裝置1。 The control host 2 has a wired network interface 22 and a wireless network. The interface 21, a recording unit 23 and a control unit 20. The wired network interface 22 is electrically connected to the external network 500. The wireless network interface 21 and the smart home appliance 3 and the handheld communication device 1 transmit messages by wireless transmission. The control unit 20 causes the wireless network interface 21 to be connected to the handheld communication device 1 to transmit the information recorded by the recording unit 23 to the handheld communication device 1.
手持通訊裝置1具有一無線網路單元11、一儲 存單元12及一處理單元10。無線網路單元11與控制主機2連線。處理單元10電性連接儲存單元12及無線網路單元11,並控制無線網路單元11與控制主機2連線。 The handheld communication device 1 has a wireless network unit 11, a storage The storage unit 12 and a processing unit 10 are provided. The wireless network unit 11 is connected to the control host 2. The processing unit 10 is electrically connected to the storage unit 12 and the wireless network unit 11, and controls the wireless network unit 11 to be connected to the control host 2.
本實施例中,手持通訊裝置1可遙控該控制主 機2發出一廣播訊息以對於智慧家電3進行搜尋;智慧家電3接收廣播訊息後,將內儲的一宅內網路連線資訊發送給控制主機2,控制主機2並記錄宅內網路連線資訊;手持通訊裝置1向控制主機2接收並儲存該宅內網路連線資訊 。宅內網路連線資訊具有一服務設定識別碼、一網際網路協定網段及/或一無線模組網際網路協定位址。 In this embodiment, the handheld communication device 1 can remotely control the main control The machine 2 sends a broadcast message to search for the smart home appliance 3; after receiving the broadcast message, the smart home appliance 3 sends the stored information of a home network connection to the control host 2, controls the host 2 and records the home network connection. Line information; the handheld communication device 1 receives and stores the home network connection information to the control host 2 . The home network connection information has a service setting identifier, an internet protocol network segment, and/or a wireless module internet protocol address.
以同在宅內的手持通訊裝置1為例,若手持通訊裝置1比對控制主機2的宅內網路連線資訊存在,則發送控制指令使控制主機2依據通用隨插即用協定進行宅內控制模式。以非在宅內的另一手持通訊裝置1’為例,由於搜尋之後將判斷出宅內網路連線資訊不存在,因此,控制主機2依據宅外通訊協定(如:3G通訊協定)與控制主機2連線以進行宅外控制模式。 Taking the handheld communication device 1 in the same house as an example, if the handheld communication device 1 compares the information of the home network connection of the control host 2, the control command is sent to cause the control host 2 to perform the house according to the universal plug-and-play protocol. Control mode. Taking another handheld communication device 1' that is not in the home as an example, since the search will determine that the home network connection information does not exist, the control host 2 is based on the off-site communication protocol (eg, 3G communication protocol) and control. Host 2 is connected for the off-site control mode.
參閱圖3及圖4,本發明智慧家電3控制方法係由手持通訊裝置1執行包含以下步驟。 Referring to FIG. 3 and FIG. 4, the smart home appliance 3 control method of the present invention is executed by the handheld communication device 1 and includes the following steps.
參閱圖3,為從未建立任何資料的前置處理程序。首先,手持通訊裝置1進入控制智慧家電之應用程式畫面(步驟301);然後,令控制主機2發出廣播訊息以進行搜尋(步驟302);等待一預定時間(步驟303),例如:3~4秒;建立裝置列表並將各裝置的網路連線資訊加以記錄(步驟304)於儲存單元12的一資料庫121中。 See Figure 3 for the pre-processing program that never created any data. First, the handheld communication device 1 enters an application screen for controlling the smart home appliance (step 301); then, the control host 2 issues a broadcast message for searching (step 302); waits for a predetermined time (step 303), for example: 3~4 Seconds; the device list is created and the network connection information of each device is recorded (step 304) in a database 121 of the storage unit 12.
參閱圖4,為資料庫121中已建立相關資料的後續處理程序。手持通訊裝置1進入控制智慧家電之應用程式畫面(步驟401);藉由在資料庫121中比對是否存在宅內網路連線資訊(步驟402)?若存在宅內網路連線資訊,則進入宅內控制模式(步驟403),也就是令控制主機2依據通用隨插即用協定進行宅內控制模式。 Referring to FIG. 4, a subsequent processing procedure for the related data has been established in the database 121. The handheld communication device 1 enters an application screen for controlling the smart home appliance (step 401); and compares whether there is home network connection information in the database 121 (step 402)? If there is home network connection information, the home control mode is entered (step 403), that is, the control host 2 performs the home control mode according to the universal plug-and-play protocol.
若不存在宅內網路連線資訊,則比對是否存在 宅外網路連線資訊(步驟404)?宅外網路連線資訊是例如3G通訊採用的IP位址,若存在宅外網路連線資訊,則進入宅外控制模式(步驟405),也就是令控制主機2依據宅外通訊協定(如:3G通訊協定)與控制主機2連線以進行宅外控制模式,本實施例中,主要是經由控制主機2內建的網路應用程式介面(Web API)進行宅外控制;若不存在宅外網路連線資訊,則代表尚未建立任何資料,則重新回到圖3的步驟302以建立相關資料。 If there is no online connection information in the home, the comparison exists. Home network connection information (step 404)? The external network connection information is, for example, an IP address used by the 3G communication. If there is an off-site network connection information, the external control mode is entered (step 405), that is, the control host 2 is based on the off-site communication protocol ( For example, the 3G communication protocol is connected to the control host 2 for the external control mode. In this embodiment, the external control is mainly performed through the built-in web application interface (Web API) of the control host 2; The external network connection information indicates that no data has been created yet, and then returns to step 302 of FIG. 3 to establish related materials.
綜上所述,本發明之功效在於:無論用戶是處 於宅內或宅外,要進行智慧家電3的控制時,透過宅內網路連線資訊的輔助,先以宅內網路連線資訊進行判斷,因此,能快速辨識應提供宅內控制模式或宅外控制模式的取得所有裝置資訊而得以節省操作時間,故確實能達成本發明之目的。 In summary, the effect of the present invention lies in: no matter where the user is In the house or outside the house, when the control of the smart home appliance 3 is to be carried out, the information of the home network connection is used to determine the home network connection information. Therefore, the home control mode can be quickly identified. Or the acquisition of all device information by the off-home control mode saves the operation time, so the object of the present invention can be achieved.
惟以上所述者,僅為本發明之實施例而已,當 不能以此限定本發明實施之範圍,即大凡依本發明申請專利範圍及專利說明書內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。 However, the above is only an embodiment of the present invention, when The scope of the present invention is not limited thereto, that is, the simple equivalent changes and modifications made by the present invention in the scope of the invention and the patent specification are still within the scope of the invention.
1、1’‧‧‧手持通訊裝置 1, 1'‧‧‧Handheld communication device
2‧‧‧控制主機 2‧‧‧Control host
3‧‧‧智慧家電 3‧‧‧Smart Appliances
500‧‧‧外部網路 500‧‧‧External network
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW103139902A TWI538442B (en) | 2014-11-18 | 2014-11-18 | Intelligent appliance control method and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW103139902A TWI538442B (en) | 2014-11-18 | 2014-11-18 | Intelligent appliance control method and system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW201620268A true TW201620268A (en) | 2016-06-01 |
| TWI538442B TWI538442B (en) | 2016-06-11 |
Family
ID=56755092
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW103139902A TWI538442B (en) | 2014-11-18 | 2014-11-18 | Intelligent appliance control method and system |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI538442B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110737199A (en) * | 2018-07-19 | 2020-01-31 | 首利实业股份有限公司 | Intelligent electric appliance controller |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI684343B (en) * | 2019-01-11 | 2020-02-01 | 台灣松下電器股份有限公司 | Automatic network connection setting method and internet of things system |
-
2014
- 2014-11-18 TW TW103139902A patent/TWI538442B/en not_active IP Right Cessation
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110737199A (en) * | 2018-07-19 | 2020-01-31 | 首利实业股份有限公司 | Intelligent electric appliance controller |
Also Published As
| Publication number | Publication date |
|---|---|
| TWI538442B (en) | 2016-06-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3050253B1 (en) | Method and apparatus for controlling devices for smart home service | |
| US9125049B2 (en) | Configuring secure wireless networks | |
| CN107592367B (en) | Resource sharing method, apparatus and computer-readable storage medium for household appliances | |
| CN111915870A (en) | Method, device, television and storage medium for adding remote control code value by voice | |
| WO2016058254A1 (en) | Home appliance control method and control device, and home data terminal | |
| US10523763B2 (en) | Communication device, communication method, controlled device, and non-transitory computer readable medium | |
| CN103414740B (en) | A kind of private cloud account configuration method and device | |
| WO2016021728A1 (en) | Information device and control device | |
| CN102763373A (en) | Method and apparatus for using service of home network device based on remote access | |
| CN104426951A (en) | An intelligent set-top box remote network real-time monitoring system and method thereof | |
| CN113794996B (en) | Device communication, device control method, device, electronic device, and storage medium | |
| US11098914B2 (en) | System and method for operating a HVAC system by determining occupied state of a structure via IP address | |
| TWI538442B (en) | Intelligent appliance control method and system | |
| CN106937405A (en) | Control method and device of intelligent equipment and network connection method and system | |
| JP5868476B2 (en) | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PROGRAM | |
| US20170272267A1 (en) | Method and server for coupling a smart-home device to a mobile terminal | |
| US10511671B2 (en) | Communication device, communication method, controlled device, and non-transitory computer readable medium | |
| CN105635166A (en) | Information transmission method, apparatus and system | |
| CN106302046B (en) | Remote control method and device | |
| CN113179197B (en) | Home appliance resource sharing method, device and storage device | |
| TWI557643B (en) | Automated program download system and method | |
| JP4838096B2 (en) | Home appliance communication control system | |
| CN116486802A (en) | Equipment control method, device, storage medium and electronic device | |
| CN106330631A (en) | Home gateway remote connection method and device | |
| TWI681685B (en) | Connection method of wireless system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| MM4A | Annulment or lapse of patent due to non-payment of fees |