TWI617153B - Remote control system and method for setting up a remote connection - Google Patents
Remote control system and method for setting up a remote connection Download PDFInfo
- Publication number
- TWI617153B TWI617153B TW105111455A TW105111455A TWI617153B TW I617153 B TWI617153 B TW I617153B TW 105111455 A TW105111455 A TW 105111455A TW 105111455 A TW105111455 A TW 105111455A TW I617153 B TWI617153 B TW I617153B
- Authority
- TW
- Taiwan
- Prior art keywords
- electronic device
- information
- cloud server
- router
- list
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 19
- 238000010295 mobile communication Methods 0.000 description 15
- 230000005540 biological transmission Effects 0.000 description 13
- 238000004891 communication Methods 0.000 description 13
- 230000000875 corresponding effect Effects 0.000 description 10
- 230000001276 controlling effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Landscapes
- Telephonic Communication Services (AREA)
Abstract
本發明揭露一種遠端連線設定方法,包含:將一第一電子裝置連接於一第二電子裝置;一可攜式電子裝置傳送一裝置權限資訊、一路由器資訊以及一登入資訊至該第一電子裝置;該第一電子裝置根據該路由器資訊連線至一路由器;該第一電子裝置根據該登入資訊登入至一雲端伺服器;該第一電子裝置儲存該裝置權限資訊至該雲端伺服器之一雲端資源;至少一第三電子裝置根據該登入資訊登入該雲端伺服器並存取該雲端資源;以及該至少一第三電子裝置根據該裝置權限資訊與該第一電子裝置建立連線。 The present invention discloses a method for setting a remote connection, comprising: connecting a first electronic device to a second electronic device; and a portable electronic device transmitting a device permission information, a router information, and a login information to the first The electronic device is connected to a router according to the router information; the first electronic device logs in to a cloud server according to the login information; the first electronic device stores the device permission information to the cloud server a cloud resource; the at least one third electronic device logs in to the cloud server according to the login information and accesses the cloud resource; and the at least one third electronic device establishes a connection with the first electronic device according to the device permission information.
Description
本發明係涉及一種系統及方法,特別係一種遠端控制系統及設定遠端連線之方法。 The present invention relates to a system and method, and more particularly to a remote control system and method of setting a remote connection.
物聯網(Internet Of Things,IOT)是讓生活中所有用品(物)搭載感知技術,並擁有網路連線的能力。例如冰箱、汽車、冷氣、除濕機等家電,都能連上網路,並透過隨時蒐集的數據,主動在適當時機提供你必要資訊。 Internet Of Things (IOT) is the ability to carry all the products (objects) in life with sensing technology and network connectivity. For example, refrigerators, cars, air conditioners, dehumidifiers and other home appliances can be connected to the Internet, and through the data collected at any time, actively provide you with the necessary information at the right time.
一般來說,一使用者藉由使用一可攜式電子裝置(例如一智慧型手機)執行一應用程式,用以連線至家裡的電器產品,再發送相對應的控制命令來控制電器產品。然而,要將該可攜式電子裝置(如智慧型手機)連線到家裡的電器產品必須要讓該可攜式電子裝置與電器產品都位在同一個區域網路(如該使用者在家裡建構的區域網路)才能達成將該可攜式電子裝置連線到電器產品的設定,而不在此區域網路的另一可攜式電子裝置則無法完成連線設定,造成很大的不便。 Generally, a user executes an application by using a portable electronic device (for example, a smart phone) to connect to an electrical product at home, and then sends a corresponding control command to control the electrical product. However, to connect the portable electronic device (such as a smart phone) to the home electrical product, the portable electronic device and the electrical product must be located in the same regional network (if the user is at home) The built-in local area network can achieve the setting of connecting the portable electronic device to the electrical product, and the other portable electronic device in the local area network cannot complete the connection setting, which causes great inconvenience.
有鑑於此,本發明提出一種遠端控制系統及設定遠端連線之方法,以解決上述之問題。 In view of this, the present invention provides a remote control system and a method for setting a remote connection to solve the above problems.
本發明揭露一種遠端連線設定方法,包含:將一第一電子裝置連接於一第二電子裝置;一可攜式電子裝置傳送一裝置權限資訊、一路由器資訊以及一登入資訊至該第一電子裝置;該第一電子裝置根據該路由器資訊連線至一路由器;該第一電子裝置根據該登入資訊登入至一雲端伺服器;該第一電子裝置儲存該裝置權限資訊至該雲端伺服器之一雲端資源;至少一第三電子裝置根據該登入資訊登入該雲端伺服器並存取該雲端資源;以及該至少一第三電子裝置根據該裝置權限資訊與該第一電子裝置建立連線。 The present invention discloses a method for setting a remote connection, comprising: connecting a first electronic device to a second electronic device; and a portable electronic device transmitting a device permission information, a router information, and a login information to the first The electronic device is connected to a router according to the router information; the first electronic device logs in to a cloud server according to the login information; the first electronic device stores the device permission information to the cloud server a cloud resource; the at least one third electronic device logs in to the cloud server according to the login information and accesses the cloud resource; and the at least one third electronic device establishes a connection with the first electronic device according to the device permission information.
本發明另揭露一種遠端控制系統,包含一雲端伺服器、一第一電子裝置、一可攜式電子裝置以及至少一第三電子裝置。該第一電子裝置係連接於一第二電子裝置。該可攜式電子裝置係用以傳送一裝置權限資訊、一路由器資訊以及一登入資訊至該第一電子裝置。該至少一第三電子裝置係連線至該雲端伺服器。其中,該第一電子裝置根據該路由器資訊連線至一路由器,該第一電子裝置透過該路由器以及根據該登入資訊登入至一雲端伺服器,該第一電子裝置儲存該裝置權限資訊至該雲端伺服器之一雲端資源,以使該至少一第三電子裝置存取該雲端資源以獲取該裝置權限資訊,且該至少一第三電子裝置根據該裝置權限資訊並透過該雲端伺服器與該第一電子裝置建立連線。 The present invention further discloses a remote control system including a cloud server, a first electronic device, a portable electronic device, and at least a third electronic device. The first electronic device is connected to a second electronic device. The portable electronic device is configured to transmit a device authority information, a router information, and a login information to the first electronic device. The at least one third electronic device is connected to the cloud server. The first electronic device is connected to a router according to the router information, and the first electronic device is logged in to the cloud server according to the login information, and the first electronic device stores the device permission information to the cloud. a cloud resource of the server, so that the at least one third electronic device accesses the cloud resource to obtain the device permission information, and the at least one third electronic device transmits the device according to the device permission information and the cloud server An electronic device establishes a connection.
本發明提供一種遠端連線設定方法,其中,與第一電子裝置在同一個區域網路內的使用者執行可攜式電子裝置之一應用程式即可產生裝置權限資訊來設定遠端的多個第三電子裝置是否可經由雲端伺服器連線至第一電子裝置來控制第二電子裝置之作動,而不需要讓該等第三電子裝置必須在區域網路內才可與第一電子裝置進行設定。因此解決了先前技術中,不在同一區域網路的無法完成連線設定的問題。 The present invention provides a remote connection setting method, in which a user in the same regional network as the first electronic device executes an application of the portable electronic device to generate device permission information to set a remote end Whether the third electronic device can be connected to the first electronic device via the cloud server to control the operation of the second electronic device without the need for the third electronic device to be in the local area network to be compatible with the first electronic device Make settings. Therefore, the problem of the inability to complete the connection setting in the same local area network in the prior art is solved.
100‧‧‧遠端控制系統 100‧‧‧Remote control system
200‧‧‧雲端伺服器 200‧‧‧Cloud Server
202‧‧‧雲端資源 202‧‧‧Cloud resources
203‧‧‧裝置列表資訊 203‧‧‧Device list information
204‧‧‧裝置權限資訊 204‧‧‧Device Authority Information
300‧‧‧第一電子裝置 300‧‧‧First electronic device
302‧‧‧第一無線模組 302‧‧‧First wireless module
304‧‧‧微控制器 304‧‧‧Microcontroller
306‧‧‧傳輸介面 306‧‧‧Transport interface
400‧‧‧可攜式電子裝置 400‧‧‧Portable electronic devices
402‧‧‧第二無線模組 402‧‧‧Second wireless module
404‧‧‧處理器 404‧‧‧ processor
406‧‧‧儲存模組 406‧‧‧ storage module
4061‧‧‧應用程式 4061‧‧‧Application
408‧‧‧顯示模組 408‧‧‧ display module
409‧‧‧設定選單 409‧‧‧Setting menu
500‧‧‧第二電子裝置 500‧‧‧Second electronic device
502‧‧‧傳輸介面 502‧‧‧Transport interface
504‧‧‧微控制器 504‧‧‧Microcontroller
506‧‧‧感測器 506‧‧‧ sensor
600A、600B、600C‧‧‧第三電子裝置 600A, 600B, 600C‧‧‧ third electronic device
602A‧‧‧第三無線模組 602A‧‧‧3rd wireless module
604A‧‧‧處理器 604A‧‧‧ processor
606A‧‧‧儲存模組 606A‧‧‧ storage module
608A‧‧‧顯示模組 608A‧‧‧ display module
700‧‧‧路由器 700‧‧‧ router
800‧‧‧區域網路 800‧‧‧Regional Network
R、W‧‧‧空格 R, W‧‧ spaces
S100、S102、S104、S106、S108、S110、S112、S114、S116、S118、S120、S122、S124、S126、S128、S130、S132、S134‧‧‧步驟 S100, S102, S104, S106, S108, S110, S112, S114, S116, S118, S120, S122, S124, S126, S128, S130, S132, S134‧‧
第1圖為本發明一實施例之遠端控制系統之示意圖;第2圖為本發明一實施例之一顯示模組上所顯示之一設定選單;以及第3A與第3B圖為本發明一實施例之遠端連線設定方法之流程圖。 1 is a schematic diagram of a remote control system according to an embodiment of the present invention; FIG. 2 is a display menu displayed on a display module according to an embodiment of the present invention; and 3A and 3B are the first embodiment of the present invention; A flowchart of a remote connection setting method of an embodiment.
請參考第1圖,第1圖為本發明一實施例之遠端控制系統100之示意圖。本發明所揭露之遠端控制系統100包含一雲端伺服器200、一第一電子裝置300、一可攜式電子裝置400、一第二電子裝置500以及至少一第三電子裝置。第一電子裝置300、可攜式電子裝置400以及該第三電子裝置可經由一連接的通訊網路耦接至雲端伺服器200,例如透過任何有線或無線通訊網路,如網際網路、3G網路及/或無線區域網路(WLAN)等 等。再者,第一電子裝置300以及可攜式電子裝置400可經由通訊網路彼此進行通訊以傳輸資訊,且該第三電子裝置以及第一電子裝置300也可經由通訊網路彼此進行通訊以傳輸資訊。可攜式電子裝置400以及該第三電子裝置可為一數位個人助理(PDA)、一智慧型手機(smartphone)、一平板電腦(tablet)、一行動電話、一行動上網裝置(Mobile Internet Device,MID)、一筆記型電腦、一車用電腦、一遊戲裝置或任何類型的行動運算裝置,然而,本領域熟習技藝者應可理解本發明並不限於此。 Please refer to FIG. 1. FIG. 1 is a schematic diagram of a remote control system 100 according to an embodiment of the present invention. The remote control system 100 of the present invention includes a cloud server 200, a first electronic device 300, a portable electronic device 400, a second electronic device 500, and at least a third electronic device. The first electronic device 300, the portable electronic device 400, and the third electronic device can be coupled to the cloud server 200 via a connected communication network, such as through any wired or wireless communication network, such as the Internet or a 3G network. And/or wireless local area network (WLAN), etc. Wait. Moreover, the first electronic device 300 and the portable electronic device 400 can communicate with each other via a communication network to transmit information, and the third electronic device and the first electronic device 300 can also communicate with each other via a communication network to transmit information. The portable electronic device 400 and the third electronic device can be a digital personal assistant (PDA), a smart phone, a tablet, a mobile phone, and a mobile Internet device. MID), a notebook computer, a computer for a car, a game device or any type of mobile computing device, however, those skilled in the art will appreciate that the invention is not limited thereto.
第一電子裝置300可包含一第一無線模組302、一微控制器304以及一傳輸介面306。第一無線模組302可為一無線通訊模組、一第二代行動通訊模組、一第三代行動通訊模組、一第四代行動通訊模組、或一第五代行動通訊模組,用以支援相對應之通訊協定,例如Wi-Fi(如IEEE的802.11a/b/g/n)、全球移動通信系統(GSM)、增強數據GSM環境(EDGE)、分碼多工存取系統(CDMA)、高速下行鏈路分組接入(HSDPA),以及Wi-MAX等通信協定。本發明之遠端控制系統100另包含一路由器700,且第一電子裝置300之第一無線模組302係透過路由器700連線至雲端伺服器200,並藉由一登入資訊登入雲端伺服器200,藉以存取或寫入雲端伺服器200之一雲端資源202。該登入資訊係包含一登入帳號與對應於該登入帳號之一登入密碼。 The first electronic device 300 can include a first wireless module 302, a microcontroller 304, and a transmission interface 306. The first wireless module 302 can be a wireless communication module, a second generation mobile communication module, a third generation mobile communication module, a fourth generation mobile communication module, or a fifth generation mobile communication module. To support corresponding communication protocols, such as Wi-Fi (such as IEEE 802.11a/b/g/n), Global System for Mobile Communications (GSM), Enhanced Data GSM Environment (EDGE), and code division multiplexing access. System (CDMA), High Speed Downlink Packet Access (HSDPA), and communication protocols such as Wi-MAX. The remote control system 100 of the present invention further includes a router 700, and the first wireless module 302 of the first electronic device 300 is connected to the cloud server 200 through the router 700, and logs into the cloud server 200 by using a login message. To access or write to one of the cloud servers 202 of the cloud server 202. The login information includes a login account and a login password corresponding to the login account.
微控制器304是可為一整合晶片,其具有中央處理器、記憶體、定時/計數器、輸入輸出介面等整合於其內,並具有輸入輸出介面簡單且體積小等優點。傳輸介面306係耦接 於微控制器304並傳送資料至微控制器304。傳輸介面306可包含多種連接埠,例如一RS232連接埠、一序列周邊介面匯流排(Serial Peripheral Interface Bus,SPI)連接埠、一內部整合電路(Inter-Intergrated Circuit,I2C)連接埠及/或一通用序列匯流排(Universal Serial Bus,USB)連接埠。 The microcontroller 304 can be an integrated chip, which has a central processing unit, a memory, a timer/counter, an input/output interface and the like integrated therein, and has the advantages of simple input and output interface and small size. The transmission interface 306 is coupled The microcontroller 304 transmits data to the microcontroller 304. The transmission interface 306 can include a plurality of ports, such as an RS232 port, a serial Peripheral Interface Bus (SPI) port, an Inter-Interlated Circuit (I2C) port, and/or a Universal Serial Bus (USB) port.
第二電子裝置500係可為一家用的電器產品,例如一冷氣機、一電視機、一除濕機、一音響或一電風扇等。第二電子裝置500包含有一傳輸介面502,其可為前述之RS232連接埠、序列周邊介面匯流排(Serial Peripheral Interface Bus,SPI)連接埠、內部整合電路(Inter-Intergrated Circuit,I2C)連接埠或通用序列匯流排(Universal Serial Bus,USB)連接埠之其中一種。舉例來說,當傳輸介面502具有RS232連接埠時,則可與第一電子裝置300之傳輸介面306之RS232連接埠互相連接,藉以互相傳送資訊。第二電子裝置500可另包含一微控制器504以及一感測器506,感測器506可用來偵測溫度或濕度等之一裝置資訊,微控制器504可將該裝置資訊透過傳輸介面502輸出。 The second electronic device 500 can be a household electrical appliance, such as an air conditioner, a television, a dehumidifier, an audio or an electric fan. The second electronic device 500 includes a transmission interface 502, which may be an RS232 port, a Serial Peripheral Interface Bus (SPI) port, an Inter-Interlated Circuit (I2C) port, or One of the Universal Serial Bus (USB) ports. For example, when the transmission interface 502 has an RS232 port, it can be connected to the RS232 port of the transmission interface 306 of the first electronic device 300 to transmit information to each other. The second electronic device 500 can further include a microcontroller 504 and a sensor 506. The sensor 506 can be used to detect device information such as temperature or humidity. The microcontroller 504 can transmit the device information to the transmission interface 502. Output.
可攜式電子裝置400可包含一第二無線模組402、一處理器404、一儲存模組406以及一顯示模組408。第二無線模組402其可為一無線通訊模組、一第二代行動通訊模組、一第三代行動通訊模組、一第四代行動通訊模組、或一第五代行動通訊模組,用以支援相對應之通訊協定,例如Wi-Fi(如IEEE的802.11a/b/g/n)、全球移動通信系統(GSM)、增強數據GSM環境(EDGE)、分碼多工存取系統(CDMA)、高速下行鏈路分組接入(HSDPA),以及Wi-MAX等通信協定。可攜式電子裝 置400可利用第二無線模組402直接連線至雲端伺服器200,或者經由路由器700連線至雲端伺服器200。接著可攜式電子裝置400藉由該登入資訊登入雲端伺服器200,藉以存取雲端伺服器200之雲端資源202。因此第一電子裝置300與可攜式電子裝置400係藉由相同之該登入資訊登入雲端伺服器200,藉以存取雲端資源202。 The portable electronic device 400 can include a second wireless module 402, a processor 404, a storage module 406, and a display module 408. The second wireless module 402 can be a wireless communication module, a second generation mobile communication module, a third generation mobile communication module, a fourth generation mobile communication module, or a fifth generation mobile communication module. Group to support corresponding communication protocols, such as Wi-Fi (such as IEEE 802.11a/b/g/n), Global System for Mobile Communications (GSM), Enhanced Data GSM Environment (EDGE), and code division multiplexing Take the system (CDMA), High Speed Downlink Packet Access (HSDPA), and communication protocols such as Wi-MAX. Portable electronic equipment The device 400 can be directly connected to the cloud server 200 by using the second wireless module 402 or connected to the cloud server 200 via the router 700. The portable electronic device 400 then logs in to the cloud server 200 by using the login information to access the cloud resource 202 of the cloud server 200. Therefore, the first electronic device 300 and the portable electronic device 400 log in to the cloud server 200 by using the same login information, thereby accessing the cloud resource 202.
儲存模組406係可為一隨機存取記憶體(Random Access Memory,RAM)、快閃記憶體(flash memory)、唯讀記憶體(Read-Only Memory,ROM)、可抹除可規劃唯讀記憶體(EPROM)、電子抹除式可複寫唯讀記憶體(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、暫存器、硬碟、可攜式應碟、光碟唯讀記憶體(Compact Disc Read-Only Memory,CD-ROM)或在此領域習知技術中任何其它電腦可讀取之儲存媒體格式。處理器404係耦接於儲存模組406,並可執行儲存模組406中的一應用程式4061,並將相關之資訊顯示於顯示模組408上。其中,顯示模組408係可為一觸控顯示模組,作為可攜式電子裝置400之一輸入介面。 The storage module 406 can be a random access memory (RAM), a flash memory, a read-only memory (ROM), and an erasable programmable read only Memory (EPROM), Electronically-Erasable Programmable Read-Only Memory (EEPROM), scratchpad, hard disk, portable disk, CD-ROM (Compact Disc) Read-Only Memory (CD-ROM) or any other computer readable storage media format known in the art. The processor 404 is coupled to the storage module 406 and can execute an application 4061 in the storage module 406 and display related information on the display module 408. The display module 408 can be a touch display module as an input interface of the portable electronic device 400.
本發明之遠端控制系統100可包含多個第三電子裝置。各第三電子裝置可包含一第三無線模組、一處理器、一儲存模組以及一顯示模組。該第三無線模組係為一無線通訊模組、一第二代行動通訊模組、一第三代行動通訊模組、一第四代行動通訊模組、或一第五代行動通訊模組,用以支援相對應之通訊協定,例如Wi-Fi(如IEEE的802.11a/b/g/n)、全球移動通信系統(GSM)、增強數據GSM環境(EDGE)、分碼多工存 取系統(CDMA)、高速下行鏈路分組接入(HSDPA),以及Wi-MAX等通信協定。該儲存模組可儲存一應用程式或一作業系統。該處理器係耦接於該儲存模組,並可執行該儲存模組的該應用程式,並將相關之資訊顯示於該顯示模組上。於此實施例中,遠端控制系統100包含第三電子裝置600A、第三電子裝置600B以及第三電子裝置600C,第三電子裝置600A、第三電子裝置600B以及第三電子裝置600C可分別使用各自的第三無線模組連線至雲端伺服器200,並藉由相同之該登入資訊登入雲端伺服器200,藉以存取雲端資源202。當第三電子裝置600A、第三電子裝置600B以及第三電子裝置600C登入雲端伺服器200後,雲端資源202可儲存一裝置列表資訊203,裝置列表資訊203係可為一資料檔案,可包含曾經登入過雲端伺服器200之各第三電子裝置之一裝置名稱、一網際網路協定位址(Internet Protocol Address,IP address)以及一媒體存取控制位址(Media Access Control Address,MAC address)。之後,可攜式電子裝置400可登入雲端伺服器200以獲取雲端資源202中之裝置列表資訊203。 The remote control system 100 of the present invention can include a plurality of third electronic devices. Each of the third electronic devices can include a third wireless module, a processor, a storage module, and a display module. The third wireless module is a wireless communication module, a second generation mobile communication module, a third generation mobile communication module, a fourth generation mobile communication module, or a fifth generation mobile communication module. To support corresponding communication protocols, such as Wi-Fi (such as IEEE 802.11a/b/g/n), Global System for Mobile Communications (GSM), Enhanced Data GSM Environment (EDGE), and code division multiplexing Take the system (CDMA), High Speed Downlink Packet Access (HSDPA), and communication protocols such as Wi-MAX. The storage module can store an application or an operating system. The processor is coupled to the storage module and can execute the application of the storage module and display related information on the display module. In this embodiment, the remote control system 100 includes a third electronic device 600A, a third electronic device 600B, and a third electronic device 600C. The third electronic device 600A, the third electronic device 600B, and the third electronic device 600C can be used separately. The third wireless module is connected to the cloud server 200, and the cloud server 200 is accessed by using the same login information to access the cloud resource 202. After the third electronic device 600A, the third electronic device 600B, and the third electronic device 600C are logged into the cloud server 200, the cloud resource 202 can store a device list information 203, and the device list information 203 can be a data file, which can include The device name, an Internet Protocol Address (IP address), and a Media Access Control Address (MAC address) of each of the third electronic devices of the cloud server 200 are logged in. Afterwards, the portable electronic device 400 can log in to the cloud server 200 to obtain the device list information 203 in the cloud resource 202.
第一電子裝置300、第二電子裝置500、可攜式電子裝置400以及路由器700係在同一個區域內(例如使用者住家的一區域網路800內)。當使用者將第一電子裝置300第一次透過傳輸介面306連接至第二電子裝置500之傳輸介面502時,第一電子裝置300會啟動並進入一無線網路基地台模式(WIFI Access Point Mode),用以使可攜式電子裝置400以無線網路(WIFI)方式連接至第一電子裝置300。 The first electronic device 300, the second electronic device 500, the portable electronic device 400, and the router 700 are in the same area (for example, in a regional network 800 of the user's home). When the user connects the first electronic device 300 to the transmission interface 502 of the second electronic device 500 through the transmission interface 306 for the first time, the first electronic device 300 starts up and enters a wireless network base station mode (WIFI Access Point Mode). The portable electronic device 400 is connected to the first electronic device 300 in a wireless network (WIFI) manner.
請同時參考第1圖與第2圖,第2圖為本發明實施例之顯示模組408上所顯示之一設定選單409。使用者可執行可攜式電子裝置400之應用程式4061,並且處理器404會將應用程式4061之相關資訊顯示於顯示模組408上,如設定選單409。設定選單409可顯示先前可攜式電子裝置所擷取之雲端資源202中之裝置列表資訊203,用以顯示曾經登入過雲端伺服器200之多個第三電子裝置之一列表。於該列表之右側包含一裝置權限設定表,係供使用者設定哪一個第三電子裝置可透過雲端伺服器200連線至第一電子裝置300以及可執行之功能。舉例來說,使用者可直接觸碰顯示模組408以勾選設定選單409中對應於第三電子裝置600A的空格R以及空格W,用以使第三電子裝置600A可讀取第一電子裝置300所接收之第二電子裝置500之該裝置資訊,並且也可藉由第一電子裝置300控制第二電子裝置500之作動。另外,使用者可勾選設定選單409中對應於第三電子裝置600B的空格R,用以使第三電子裝置600A只可讀取第一電子裝置300所接收之第二電子裝置500之該裝置資訊,但不能藉由第一電子裝置300控制第二電子裝置500之作動。當使用者設定完成後,應用程式4061根據顯示模組408所接收之一選擇訊號產生一裝置權限資訊204,其中裝置權限資訊204包含允許連接至第一電子裝置300之一允許裝置列表以及其對應之功能權限。 Please refer to FIG. 1 and FIG. 2 simultaneously. FIG. 2 is a display menu 409 displayed on the display module 408 according to the embodiment of the present invention. The user can execute the application 4061 of the portable electronic device 400, and the processor 404 displays the related information of the application 4061 on the display module 408, such as the setting menu 409. The setting menu 409 can display the device list information 203 in the cloud resource 202 captured by the previous portable electronic device to display a list of the plurality of third electronic devices that have logged into the cloud server 200. A device permission setting table is included on the right side of the list for the user to set which third electronic device can be connected to the first electronic device 300 through the cloud server 200 and the executable function. For example, the user can directly touch the display module 408 to check the space R corresponding to the third electronic device 600A and the space W in the setting menu 409 for enabling the third electronic device 600A to read the first electronic device. The device information of the received second electronic device 500 is 300, and the operation of the second electronic device 500 can also be controlled by the first electronic device 300. In addition, the user can check the space R corresponding to the third electronic device 600B in the setting menu 409, so that the third electronic device 600A can only read the device of the second electronic device 500 received by the first electronic device 300. Information, but the second electronic device 500 cannot be controlled by the first electronic device 300. After the user setting is completed, the application 4061 generates a device authority information 204 according to one of the received signals received by the display module 408, wherein the device authority information 204 includes a list of allowed devices that are allowed to be connected to the first electronic device 300 and corresponding thereto. Functional authority.
再者,設定選單409中還包含一傳輸類型設定。使用者可根據傳輸介面502之類型(type)來選定。舉例來說,當傳輸介面502係一通用序列匯流排(Universal Serial Bus,USB)連 接埠,使用者便可選定對應於USB的空格。設定選單409下方還包含路由器設定輸入表格,用以供使用者輸入一路由器資訊,例如可連線至路由器700之一路由器帳號以及一路由器密碼。另外,設定選單409下方還包含雲端伺服器輸入表格,用以供使用者輸入可登入雲端伺服器200之該登入資訊。 Furthermore, the setting menu 409 also includes a transmission type setting. The user can select according to the type of the transmission interface 502. For example, when the transmission interface 502 is a Universal Serial Bus (USB) connection In the meantime, the user can select a space corresponding to the USB. The setting menu 409 also includes a router setting input form for the user to input a router information, such as a router account that can be connected to the router 700 and a router password. In addition, the setting menu 409 further includes a cloud server input form for the user to input the login information that can be logged into the cloud server 200.
接著,可攜式電子裝置400便可透過第二無線模組402傳送裝置權限資訊204、該路由器資訊以及該登入資訊至第一電子裝置300。第一電子裝置300透過該第一無線模組302接收裝置權限資訊204、該路由器資訊以及該登入資訊後,微控制器304控制第一電子裝置300由該無線網路基地台模式切換至一無線網路客戶端模式(WIFI Client Mode),並根據該路由器資訊以連線至路由器700。另外,微控制器304儲存有預先設定的一預定時間,當第一電子裝置300無法連線至路由器700且超過該預定時間時(例如使用者所輸入的該路由器帳號以及該路由器密碼有錯誤時),第一電子裝置300由該無線網路客戶端模式切換回該無線網路基地台模式,以與可攜式電子裝置400連線並重新接收資料。 Then, the portable electronic device 400 can transmit the device permission information 204, the router information, and the login information to the first electronic device 300 through the second wireless module 402. After the first electronic device 300 receives the device authority information 204, the router information, and the login information, the microcontroller 304 controls the first electronic device 300 to switch from the wireless network base station mode to a wireless device. The WIFI Client Mode is connected to the router 700 based on the router information. In addition, the microcontroller 304 stores a predetermined time preset, when the first electronic device 300 cannot connect to the router 700 and exceeds the predetermined time (for example, when the user input of the router account and the router password are incorrect) The first electronic device 300 is switched back to the wireless network base station mode by the wireless network client mode to connect with the portable electronic device 400 and re-receive data.
第一電子裝置300連線至路由器700後,並透過路由器700以及根據該登入資訊登入至雲端伺服器200。接著,第一電子裝置300儲存裝置權限資訊204至雲端伺服器200之雲端資源202。 After the first electronic device 300 is connected to the router 700, the first electronic device 300 is connected to the cloud server 200 according to the login information. Next, the first electronic device 300 stores the device authority information 204 to the cloud resource 202 of the cloud server 200.
於一實施例中,位在區域網路800外的另一使用者可使用第三電子裝置600A,並開啟儲存模組606A中的一應用程式。第三電子裝置600A之一處理器604A將該應用程式之相 關資訊顯示於一顯示模組608A。接著第三電子裝置600A藉由一第三無線模組602A連線至雲端伺服器200,藉以存取裝置權限資訊204。接著該應用程式根據該裝置權限資訊中之該允許裝置列表判斷第三電子裝置600A是否在該允許裝置列表中。舉例來說,如第2圖之設定,第三電子裝置600A係在該允許裝置列表中,則該應用程式允許第三電子裝置600A連線至第一電子裝置300,並且該應用程式會顯示一圖標(icon)於顯示模組608A上,該圖標係代表可與第三電子裝置600A連線之電子裝置(如第一電子裝置300)。當使用者點選該圖標時,該應用程式會顯示第二電子裝置500之該裝置資訊(如溫度、溼度等)以及控制第二電子裝置500作動之按鈕(如電源開、關、溫度上升、下降、設定等按鈕)。舉例來說,當使用者按壓電源開啟的按鈕時,第三電子裝置600A會經由雲端伺服器200傳送一控制命令至第一電子裝置300,接著第一電子裝置300再透過傳輸介面306將該控制命令傳送至第二電子裝置500,第二電子裝置500接收到該控制命令後,則會執行相對應之動作,例如執行開啟電源之動作。因此達成第三電子裝置600A遠端控制第二裝置500之目的。 In one embodiment, another user located outside the area network 800 can use the third electronic device 600A and open an application in the storage module 606A. The processor 604A of the third electronic device 600A applies the phase of the application The off information is displayed on a display module 608A. Then, the third electronic device 600A is connected to the cloud server 200 by using a third wireless module 602A, thereby accessing the device authority information 204. The application then determines whether the third electronic device 600A is in the list of allowed devices based on the list of allowed devices in the device rights information. For example, as set forth in FIG. 2, the third electronic device 600A is in the list of allowed devices, the application allows the third electronic device 600A to be connected to the first electronic device 300, and the application displays a The icon is on the display module 608A, and the icon represents an electronic device (such as the first electronic device 300) that can be connected to the third electronic device 600A. When the user clicks the icon, the application displays the device information (such as temperature, humidity, etc.) of the second electronic device 500 and a button for controlling the second electronic device 500 to operate (eg, power on, off, temperature rise, Drop, set, etc.). For example, when the user presses the power-on button, the third electronic device 600A transmits a control command to the first electronic device 300 via the cloud server 200, and then the first electronic device 300 transmits the control through the transmission interface 306. The command is transmitted to the second electronic device 500. After receiving the control command, the second electronic device 500 performs a corresponding action, such as performing an action of turning on the power. Therefore, the third electronic device 600A is remotely controlled for the purpose of controlling the second device 500.
於另一實施例中,位在區域網路800外的另一使用者可使用第三電子裝置600B,並開啟儲存模組(圖中未表示)中的一應用程式。第三電子裝置600B之一處理器(圖中未表示)將該應用程式之相關資訊顯示於一顯示模組(圖中未表示)。接著第三電子裝置600B藉由一第三無線模組(圖中未表示)連線至雲端伺服器200,藉以存取裝置權限資訊204。接著該應用程式 根據該裝置權限資訊中之該允許裝置列表判斷第三電子裝置600B是否在該允許裝置列表中。舉例來說,如第2圖之設定,第三電子裝置600B係在該允許裝置列表中,則該應用程式允許第三電子裝置600B連線至第一電子裝置300,並且該應用程式會顯示一圖標(icon)於該顯示模組上,該圖標係代表可與第三電子裝置600B連線之電子裝置(如第一電子裝置300)。當使用者點選該圖標時,該應用程式會顯示第二電子裝置500之該裝置資訊(如溫度、溼度等)。然而,由於如第2圖之設定,第三電子裝置600B僅具有讀取資訊之權限而無控制之權限,因此該應用程式不會顯示可控制第二電子裝置500作動之按鈕。 In another embodiment, another user located outside the area network 800 can use the third electronic device 600B and open an application in the storage module (not shown). A processor (not shown) of the third electronic device 600B displays the related information of the application on a display module (not shown). Then, the third electronic device 600B is connected to the cloud server 200 by a third wireless module (not shown) to access the device permission information 204. Then the application Whether the third electronic device 600B is in the allowed device list is determined according to the allowed device list in the device authority information. For example, as set forth in FIG. 2, the third electronic device 600B is in the list of allowed devices, the application allows the third electronic device 600B to be connected to the first electronic device 300, and the application displays a An icon is on the display module, and the icon represents an electronic device (such as the first electronic device 300) that can be connected to the third electronic device 600B. When the user clicks the icon, the application displays the device information (such as temperature, humidity, etc.) of the second electronic device 500. However, since the third electronic device 600B has only the authority to read the information without control, as the setting of FIG. 2, the application does not display a button that can control the operation of the second electronic device 500.
於另一實施例中,位在區域網路800外的另一使用者可使用第三電子裝置600C,並開啟儲存模組(圖中未表示)中的一應用程式。第三電子裝置600C之一處理器(圖中未表示)並將該應用程式之相關資訊顯示於一顯示模組(圖中未表示)。接著第三電子裝置600C藉由一第三無線模組(圖中未表示)連線至雲端伺服器200,藉以存取裝置權限資訊204。接著該應用程式根據該裝置權限資訊中之該允許裝置列表判斷第三電子裝置600C是否在該允許裝置列表中。如第2圖之設定,第三電子裝置600C不具有讀取資訊以及控制之權限,因此第三電子裝置600C不在該允許裝置列表中,則該應用程式不會使第三電子裝置600C連線至第一電子裝置300,並且該應用程式不會顯示一圖標(icon)於該顯示模組上。 In another embodiment, another user located outside the area network 800 can use the third electronic device 600C and open an application in the storage module (not shown). A processor (not shown) of the third electronic device 600C displays related information of the application on a display module (not shown). Then, the third electronic device 600C is connected to the cloud server 200 by a third wireless module (not shown) to access the device permission information 204. The application then determines whether the third electronic device 600C is in the list of allowed devices based on the list of allowed devices in the device rights information. As set forth in FIG. 2, the third electronic device 600C does not have the right to read information and control. Therefore, the third electronic device 600C is not in the allowed device list, and the application does not connect the third electronic device 600C to The first electronic device 300, and the application does not display an icon on the display module.
請參考第3圖,第3圖為本發明一實施例之遠端連線設定方法之流程圖。在步驟S100中,雲端伺服器200之雲端 資源202儲存一裝置列表資訊203,其包含曾經登入過雲端伺服器200之各第三電子裝置之一裝置名稱、一網際網路協定位址(Internet Protocol Address,IP address)以及一媒體存取控制位址(Media Access Control Address,MAC address)。於步驟S102中,可攜式電子裝置400登入雲端伺服器200以獲取裝置列表資訊203。於步驟S104中,使用者開啟並執行可攜式電子裝置400之一應用程式4061。於步驟S106中,可攜式電子裝置400之一輸入介面(如顯示模組408)接收一選擇訊號。該選擇訊號係使用者於顯示模組408上之設定選單409填入所需各種設定後所產生之訊號。於步驟S108中,應用程式4061根據該選擇訊號產生裝置權限資訊204。於步驟S110中,將第一電子裝置300連接於第二電子裝置500。要注意的是,步驟S100至步驟S110之執行順序不限於此實施例。 Please refer to FIG. 3, which is a flowchart of a method for setting a remote connection according to an embodiment of the present invention. In step S100, the cloud of the cloud server 200 The resource 202 stores a device list information 203, which includes a device name, an Internet Protocol Address (IP address), and a media access control of each of the third electronic devices that have logged into the cloud server 200. Address (Media Address Control Address, MAC address). In step S102, the portable electronic device 400 logs in to the cloud server 200 to obtain the device list information 203. In step S104, the user opens and executes an application 4061 of the portable electronic device 400. In step S106, an input interface (such as display module 408) of the portable electronic device 400 receives a selection signal. The selection signal is a signal generated by the user in the setting menu 409 on the display module 408 after filling in various desired settings. In step S108, the application 4061 generates device authority information 204 based on the selection signal. In step S110, the first electronic device 300 is connected to the second electronic device 500. It is to be noted that the order of execution of steps S100 to S110 is not limited to this embodiment.
於步驟S112中,第一電子裝置300設置為一無線網路基地台模式(WIFI Access Point Mode)。於步驟S114中,可攜式電子裝置400與第一電子裝置300連線後,可攜式電子裝置400傳送裝置權限資訊204、一路由器資訊以及一登入資訊至第一電子裝置300。於步驟S116中,第一電子裝置300接收裝置權限資訊204、該路由器資訊以及該登入資訊後,第一電子裝置300由該無線網路基地台模式切換至一無線網路客戶端模式。於步驟S118中,第一電子裝置300根據該路由器資訊是否連線至路由器700,若是,則執行步驟S120,若否,則執行步驟S132。於步驟S132中,當第一電子裝置300無法連線至路由器700且超過一預定時間時(例如使用者所輸入的該路由器帳號以及該路 由器密碼有錯誤時),第一電子裝置300由該無線網路客戶端模式切換回該無線網路基地台模式。 In step S112, the first electronic device 300 is set to a wireless network base station mode (WIFI Access Point Mode). In step S114, after the portable electronic device 400 is connected to the first electronic device 300, the portable electronic device 400 transmits the device permission information 204, a router information, and a login information to the first electronic device 300. In step S116, after the first electronic device 300 receives the device authority information 204, the router information, and the login information, the first electronic device 300 is switched from the wireless network base station mode to a wireless network client mode. In step S118, the first electronic device 300 connects to the router 700 according to the router information. If yes, the process proceeds to step S120. If not, the process proceeds to step S132. In step S132, when the first electronic device 300 cannot connect to the router 700 and exceeds a predetermined time (for example, the router account entered by the user and the way) When the router password is incorrect, the first electronic device 300 is switched back to the wireless network base station mode by the wireless network client mode.
於步驟S120中,第一電子裝置300經由路由器700並根據該登入資訊登入至雲端伺服器200。於步驟S122中,第一電子裝置300儲存裝置權限資訊204至雲端資源202。於步驟S124中,位在遠端之至少一第三電子裝置根據該登入資訊登入雲端伺服器200並存取雲端資源202,藉以獲取裝置權限資訊204。於步驟S126中,執行該至少一第三電子裝置之一應用程式。於步驟S128中,該應用程式根據裝置權限資訊204中之一允許裝置列表判斷該至少一第三電子裝置是否在該允許裝置列表中,若是,執行步驟S130,若否,執行步驟S134。於步驟S130中,當該應用程式判斷該至少一第三電子裝置在該允許裝置列表中時,該應用程式控制該至少一第三電子裝置連線至第一電子裝置500。於步驟S132中,當該應用程式判斷該至少一第三電子裝置不在該允許裝置列表中時,該至少一第三電子裝置不連線至第一電子裝置500。 In step S120, the first electronic device 300 logs in to the cloud server 200 via the router 700 according to the login information. In step S122, the first electronic device 300 stores the device authority information 204 to the cloud resource 202. In step S124, the at least one third electronic device located at the remote end logs in to the cloud server 200 according to the login information and accesses the cloud resource 202, thereby acquiring the device authority information 204. In step S126, an application of the at least one third electronic device is executed. In step S128, the application determines whether the at least one third electronic device is in the allowed device list according to one of the device permission information 204. If yes, step S130 is performed, and if no, step S134 is performed. In step S130, when the application determines that the at least one third electronic device is in the allowed device list, the application controls the at least one third electronic device to connect to the first electronic device 500. In step S132, when the application determines that the at least one third electronic device is not in the allowed device list, the at least one third electronic device is not connected to the first electronic device 500.
相較於先前技術,本發明提供一種遠端連線設定方法,其中,與第一電子裝置300在同一個區域網路800內的使用者執行可攜式電子裝置400之一應用程式4061即可產生裝置權限資訊204來設定遠端的多個第三電子裝置是否可經由雲端伺服器200連線至第一電子裝置300來控制第二電子裝置500之作動,而不需要讓該等第三電子裝置必須在區域網路800內才可與第一電子裝置300進行設定。因此解決了先前技術中,不在同一區域網路的無法完成連線設定的問題。 Compared with the prior art, the present invention provides a remote connection setting method, in which a user in the same regional network 800 as the first electronic device 300 executes an application 4061 of the portable electronic device 400. The device authority information 204 is generated to set whether the plurality of third electronic devices at the remote end can be connected to the first electronic device 300 via the cloud server 200 to control the operation of the second electronic device 500 without the need for the third electronic device. The device must be within the local area network 800 for setting with the first electronic device 300. Therefore, the problem of the inability to complete the connection setting in the same local area network in the prior art is solved.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW105111455A TWI617153B (en) | 2016-04-13 | 2016-04-13 | Remote control system and method for setting up a remote connection |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW105111455A TWI617153B (en) | 2016-04-13 | 2016-04-13 | Remote control system and method for setting up a remote connection |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW201737660A TW201737660A (en) | 2017-10-16 |
| TWI617153B true TWI617153B (en) | 2018-03-01 |
Family
ID=61021800
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW105111455A TWI617153B (en) | 2016-04-13 | 2016-04-13 | Remote control system and method for setting up a remote connection |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI617153B (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW201505469A (en) * | 2013-07-25 | 2015-02-01 | Throughtek Co Ltd | Communication system for establishing p2p connections and the corresponding devices using the same |
| CN104796969A (en) * | 2015-04-29 | 2015-07-22 | 广州物联家信息科技股份有限公司 | Network accessing method and system for equipment of internet of things on basis of recognition codes of internet of things |
| US20160098309A1 (en) * | 2014-10-07 | 2016-04-07 | Belkin International, Inc. | Backup-instructing broadcast to network devices responsive to detection of failure risk |
-
2016
- 2016-04-13 TW TW105111455A patent/TWI617153B/en active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW201505469A (en) * | 2013-07-25 | 2015-02-01 | Throughtek Co Ltd | Communication system for establishing p2p connections and the corresponding devices using the same |
| US20160098309A1 (en) * | 2014-10-07 | 2016-04-07 | Belkin International, Inc. | Backup-instructing broadcast to network devices responsive to detection of failure risk |
| CN104796969A (en) * | 2015-04-29 | 2015-07-22 | 广州物联家信息科技股份有限公司 | Network accessing method and system for equipment of internet of things on basis of recognition codes of internet of things |
Also Published As
| Publication number | Publication date |
|---|---|
| TW201737660A (en) | 2017-10-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6751094B2 (en) | Method, apparatus and system for supporting wireless communication | |
| TWI604739B (en) | Configuring secure wireless networks | |
| CN105578470B (en) | A method, device and system for Internet of Things equipment to access network | |
| JP6473743B2 (en) | Configuration connection device | |
| EP2804393B1 (en) | Remote control method, intelligent terminal and intelligent remote control system | |
| WO2018010533A1 (en) | Device control system, method and apparatus, and gateway | |
| EP3079330B1 (en) | Method for wireless access of memory device, and mobile hotspot device | |
| KR20130082073A (en) | Methods and systems for wi-fi setup and configuration | |
| EP3389332B1 (en) | Commissioning of a plurality of devices | |
| CN103532751A (en) | Management method and device for network access equipment | |
| CN109951479A (en) | A communication method, device and communication system | |
| JP5975955B2 (en) | Device device setting method in gateway device, device device setting system, and device device setting program | |
| CN103220317B (en) | Portable terminal, remote supporting method and operating system | |
| CN107094132B (en) | Network security of the internet of things | |
| CN105588266B (en) | A kind of tele-control system and its configuration method of central air-conditioning | |
| CN108702365A (en) | Adapter and its control method | |
| CN105915416B (en) | Information processing method and terminal equipment | |
| CN106779881A (en) | Member's sharing method and device | |
| TWI617153B (en) | Remote control system and method for setting up a remote connection | |
| US8626907B2 (en) | Information processing unit, program execution method, and program for controlling electric appliance | |
| CN107306257B (en) | Remote control system and remote connection setting method | |
| WO2017158590A1 (en) | System and method for connecting a plurality of devices to a communication network and remotely communicating therewith via serial ports | |
| TWI623211B (en) | Remote control system, electronic device and method for remote control | |
| CN108702315A (en) | Connection is established between two local devices for being connected to heterogeneous networks | |
| JP5441967B2 (en) | Network system, information terminal, communication setting method and program |