Nothing Special   »   [go: up one dir, main page]

TWI669688B - Control method and system for controlled device - Google Patents

Control method and system for controlled device Download PDF

Info

Publication number
TWI669688B
TWI669688B TW107115336A TW107115336A TWI669688B TW I669688 B TWI669688 B TW I669688B TW 107115336 A TW107115336 A TW 107115336A TW 107115336 A TW107115336 A TW 107115336A TW I669688 B TWI669688 B TW I669688B
Authority
TW
Taiwan
Prior art keywords
mobile device
connection
host
management host
control
Prior art date
Application number
TW107115336A
Other languages
Chinese (zh)
Other versions
TW201947548A (en
Inventor
洪宜邦
Original Assignee
洪宜邦
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 洪宜邦 filed Critical 洪宜邦
Priority to TW107115336A priority Critical patent/TWI669688B/en
Application granted granted Critical
Publication of TWI669688B publication Critical patent/TWI669688B/en
Publication of TW201947548A publication Critical patent/TW201947548A/en

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

本發明關於一種受控裝置的管控方法與系統,管控系統包含有一管控主機及至少一移動裝置,且管控主機執行管控方法。管控主機供執行一正常模式、一暫時模式及一無人模式。在正常模式下,管控主機廣播一第一連線信號,該第一連接信號包含一第一連接標籤。在暫時模式下,管控主機廣播一第二連接信號,該第二連接信號包含一第二連接標籤,而移動裝置於接收到該第二連接信號時,與該管控主機連線,並傳送一恢復指令。當管控主機接收到恢復指令時,改為執行正常模式。但當管控主機未接收到恢復指令時,改為執行一無人模式。如此一來,管控主機便可根據所執行的狀態自動控制各個受控裝置的啟動與否,藉此避免不需要的電力浪費,或是安全上的疑慮。The invention relates to a control method and system for a controlled device. The control system comprises a control host and at least one mobile device, and the control host performs a control method. The control host is configured to perform a normal mode, a temporary mode, and an unmanned mode. In the normal mode, the control host broadcasts a first connection signal, and the first connection signal includes a first connection tag. In the temporary mode, the control host broadcasts a second connection signal, and the second connection signal includes a second connection label, and when the mobile device receives the second connection signal, it connects to the control host and transmits a recovery. instruction. When the control host receives the resume command, it executes the normal mode instead. However, when the management host does not receive the recovery command, it executes an unmanned mode instead. In this way, the control host can automatically control the startup of each controlled device according to the state of execution, thereby avoiding unnecessary power waste or safety concerns.

Description

受控裝置的管控方法與系統Control method and system for controlled device

本發明涉及一種管控方法與系統,尤其涉及一種受控裝置的管控方法與系統。The invention relates to a control method and system, in particular to a control method and system for a controlled device.

人們的生活空間中充滿了各式各樣的電器,舉例來說,在辦公室裡,會有電腦、電風扇、空調設備、電燈等電器;又或是在家中,會有電視、電腦、電風扇、空調設備、電燈、熱水器、冰箱等電器。People's living space is full of various electrical appliances. For example, in the office, there will be computers, electric fans, air conditioners, electric lights, etc., or at home, there will be TVs, computers, and electric fans. , air conditioning equipment, electric lights, water heaters, refrigerators and other electrical appliances.

然而,這些電器必須依靠電力運作,當使用者正在使用時,該些電器進行正常啟動運作消耗電力。而當使用者無須使用而離開時,使用者必須自行關閉這些電器,或控制這些電器進入待機狀態,以減少電力消耗,避免電力被浪費。但是,若使用者急著離開而忘記關閉該些電器時,該些電器將會持續運作,造成不必要的電力浪費。However, these appliances must rely on electricity to operate, and when the user is using them, the appliances perform normal startup operations to consume electricity. When the user leaves without using it, the user must turn off the appliances themselves or control the appliances to enter the standby state to reduce power consumption and avoid wasted power. However, if the user rushes to leave and forgets to turn off the appliances, the appliances will continue to operate, causing unnecessary power wastage.

此外,人們很容易因為其他事務離開這些電器設備卻忘記關閉這些裝置,不但造成電力的浪費,也有可能因無人在旁排除事故而發生災難,例如持續開啟電暖器而造成的火災。In addition, it is easy for people to leave these electrical appliances because of other affairs and forget to turn off these devices, which not only causes waste of electricity, but also may cause disasters due to no one to eliminate accidents, such as fires caused by continuous opening of electric heaters.

再者,一般而言,居家或辦公室的一保全監視系統是全天後不停地運作來進行居家或辦公室的安全監控,藉此確保居家或辦公室的安全性。但該保全監視系統全天候不停的運作會造成相當的電力消耗。因此該保全監視系統可被使用者啟動或關閉,藉此減少電力的消耗。Furthermore, in general, a home or office security monitoring system operates continuously throughout the day to conduct home or office security monitoring to ensure home or office security. However, the operation of the security monitoring system around the clock will cause considerable power consumption. Thus the security monitoring system can be activated or deactivated by the user, thereby reducing power consumption.

然而,在居家或辦公室的保全監視系統中,由於用戶希望能保有個人隱私,因此在用戶居家或辦公時期,用戶能關閉保全監視系統的監控錄影,而在外出時,再由用戶自行開啟居家或辦公室的保全監視系統。However, in the home or office security monitoring system, since the user wants to maintain personal privacy, the user can turn off the surveillance video of the security monitoring system during the user's home or office hours, and when the user goes out, the user can open the home or Office security monitoring system.

但是,居家或辦公室的保全監視系統主要提供無人在場時的安全監控,若是住戶忘記設定警報而直接離去使得保全形同虛設。However, the home or office security monitoring system mainly provides security monitoring when no one is present. If the household forgets to set the alarm and directly leaves, the security is ineffective.

進一步而言,一智慧家庭窗戶控制系統是用於控制用戶家中或辦公室裡的窗戶,當用戶在家中或辦公室裡時,用戶能通過遙控器或是行動裝置遙控窗戶的開啟或關閉。但是,當用戶離家之後,若用戶忘記關閉窗戶時,下雨的雨水將會潑濺室內造成家具損壞。Further, a smart home window control system is used to control the windows of the user's home or office. When the user is at home or in the office, the user can remotely control the opening or closing of the window through the remote control or the mobile device. However, when the user leaves home, if the user forgets to close the window, the rainwater will splash into the room and cause damage to the furniture.

由於目前關閉或啟動這些電器裝置或系統的方式必須仰賴使用者自行執行,而用戶時常忘記在離開時關閉或啟動該些電器裝置或系統,或使用者急於離開而忘記關閉或啟動該些電器,如此一來,將造成不需要的電力浪費,或是保全監視系統忘記被啟動而造成安全上的疑慮,又或是忘記關閉窗戶造成家具被雨水濺濕而損壞,故現有對電器進行管控的方法勢必要進行進一步之改良。Since the manner in which these electrical devices or systems are currently turned off or activated must be performed by the user, and the user often forgets to turn off or activate the electrical devices or systems when leaving, or the user rushes to leave and forgets to turn off or activate the appliances, In this way, it will cause unnecessary power waste, or the security monitoring system will forget to be activated, causing safety concerns, or forgetting to close the window, causing the furniture to be damaged by rainwater splashing, so the existing method of controlling the electrical appliances Further improvements are necessary.

有鑑於現有使用者自行管理電器裝置或系統的啟動或關閉以減少電力的消耗的方式,當使用者急著離開而忘記關閉或啟動該些電器時,將造成不需要的電力浪費,或是保全系統忘記被啟動而造成安全上疑慮,又或是忘記關閉窗戶造成家具被雨水濺濕的缺點,本發明提出一種受控裝置的管控方法與系統,讓受控裝置能根據使用者是否離開的狀態自動啟動或關閉,以減少電力的消耗。In view of the way in which existing users manage the startup or shutdown of electrical devices or systems to reduce the consumption of electricity, when the user rushes to leave and forgets to turn off or start the appliances, it will cause unnecessary power waste or preservation. The system forgets to be activated to cause safety concerns, or forgets to close the window to cause the furniture to be splashed by rain. The present invention proposes a control method and system for the controlled device, so that the controlled device can be based on whether the user is away or not. Automatically start or shut down to reduce power consumption.

該受控裝置的管控方法由一管控主機所執行,其特徵在於,包含有以下步驟: 執行一正常模式; 在該正常模式下,重設一計時單元的計時時間,並啟動一計時單元開始計時; 廣播一第一連接信號;其中該第一連接信號包含一第一連接標籤; 判斷該計時單元的計時時間是否超過一第一預設時間; 當該計時單元的計時時間超過一第一預設時間時,改為執行一暫時模式; 在該暫時模式下,重設該計時單元的計時時間,並重新啟動該計時單元開始計時; 在該暫時模式下,停止廣播該第一連接信號,且改為廣播一第二連接信號;其中該第二連接信號包含一第二連接標籤; 判斷是否接收到一恢復指令;其中: 當接收到該移動裝置傳送的恢復指令時,改為執行該正常模式; 當未接收到該移動裝置傳送的恢復指令時,判斷該計時單元的計時時間是否超過一第二預設時間;其中: 當該計時單元的計時時間未超過該第二預設時間時,重新廣播該第二連接信號,並重新判斷是否接收到該移動裝置傳送的恢復指令; 當該計時單元的計時時間超過該第二預設時間時,改為執行一無人模式; 其中在該正常模式下,產生至少一正常模式控制信號,以控制至少一受控裝置的啟動狀態;在該無人模式下,產生至少一無人模式控制信號,以改變該受控裝置的啟動狀態; 其中在該正常模式下,當該計時單元的計時時間未超過一第一預設時間時,重新廣播該第一連接信號,並重新判斷該計時單元的計時時間是否超過該第一預設時間。The control method of the controlled device is performed by a control host, and is characterized in that it comprises the following steps: executing a normal mode; in the normal mode, resetting the timing of a timing unit, and starting a timing unit to start timing Broadcasting a first connection signal; wherein the first connection signal includes a first connection label; determining whether the timing time of the timing unit exceeds a first preset time; when the timing of the timing unit exceeds a first preset At the time of time, a temporary mode is executed instead; in the temporary mode, the timing time of the timing unit is reset, and the timing unit is restarted to start timing; in the temporary mode, the first connection signal is stopped and changed. Broadcasting a second connection signal; wherein the second connection signal includes a second connection tag; determining whether a resume command is received; wherein: when receiving the resume command transmitted by the mobile device, performing the normal mode instead; When the recovery instruction transmitted by the mobile device is not received, it is determined whether the timing time of the timing unit exceeds one a preset time; wherein: when the timing of the timing unit does not exceed the second preset time, re-broadcasting the second connection signal, and re-determining whether a recovery command transmitted by the mobile device is received; when the timing unit When the chronograph time exceeds the second preset time, an unmanned mode is executed instead; wherein in the normal mode, at least one normal mode control signal is generated to control the startup state of the at least one controlled device; in the unmanned mode Generating at least one unmanned mode control signal to change an activated state of the controlled device; wherein in the normal mode, when the timing of the timing unit does not exceed a first predetermined time, the first connection signal is rebroadcasted And re-determining whether the timing time of the timing unit exceeds the first preset time.

此外,該受控裝置的管控系統的特徵在於,包含有: 至少一移動裝置; 一管控主機,包含有一計時單元,且執行一正常模式; 其中當該管控主機執行該正常模式時,該管控主機重設該計時單元的計時時間,並啟動該計時單元開始計時,且廣播一第一連接信號,該管控主機進一步判斷該計時單元的計時時間是否超過一第一預設時間,且當該管控主機判斷該計時單元的計時時間超過一第一預設時間時,改為執行一暫時模式;其中該第一連接信號包含一第一連接標籤; 其中當該管控主機執行該暫時模式時,該管控主機重設該計時單元的計時時間,並重新啟動該計時單元開始計時,且該管控主機停止廣播該第一連接信號,並廣播一第二連接信號,且該管控主機進一步判斷是否接收到一恢復指令;其中該第二連接信號包含一第二連接標籤; 其中該管控主機於執行該暫時模式時,且於接收到該恢復指令時,該管控主機改為執行該正常模式; 其中該管控主機於執行該暫時模式時,且於未接收到該恢復指令時,該管控主機判斷該計時單元的計時時間是否超過一第二預設時間; 其中當該管控主機執行該暫時模式時,且當該管控主機判斷該計時單元的計時時間未超過該第二預設時間時,該管控主機重新廣播該第二連接信號,並重新判斷是否接收到該恢復指令; 當該管控主機執行該暫時模式時,且當該管控主機判斷該計時單元的計時時間超過該第二預設時間時,該管控主機改為執行一無人模式; 其中當該管控主機執行該正常模式時,該管控主機產生至少一正常模式控制信號,以控制至少一受控裝置的啟動狀態;當該管控主機執行該無人模式時,該管控主機產生至少一無人模式控制信號,以改變該受控裝置的啟動狀態。In addition, the control system of the controlled device is characterized in that: at least one mobile device is included; a control host includes a timing unit and performs a normal mode; wherein when the control host executes the normal mode, the control host Resetting the timing of the timing unit, and starting the timing unit to start timing, and broadcasting a first connection signal, the control host further determining whether the timing of the timing unit exceeds a first preset time, and when the control host When it is determined that the timing of the timing unit exceeds a first preset time, a temporary mode is performed; wherein the first connection signal includes a first connection label; wherein when the management host executes the temporary mode, the management host Resetting the timing of the timing unit, restarting the timing unit to start timing, and the control host stops broadcasting the first connection signal, and broadcasts a second connection signal, and the management host further determines whether a recovery command is received. Wherein the second connection signal includes a second connection tag; wherein the control master When the temporary mode is executed, and when the recovery instruction is received, the management host performs the normal mode instead; wherein the management host performs the temporary mode, and when the recovery instruction is not received, the management host Determining whether the timing time of the timing unit exceeds a second preset time; wherein when the management host executes the temporary mode, and when the control host determines that the timing time of the timing unit does not exceed the second preset time, The control host re-broadcasts the second connection signal, and re-determines whether the recovery command is received; when the management host executes the temporary mode, and when the management host determines that the timing of the timing unit exceeds the second preset time The control host performs an unmanned mode instead; wherein when the control host executes the normal mode, the control host generates at least one normal mode control signal to control an activation state of the at least one controlled device; when the management host performs the In the unmanned mode, the control host generates at least one unmanned mode control signal to change the controlled device Start state.

本發明的該管控主機在執行該暫時模式或該無人模式時,藉由判斷是否接收到該恢復指令來確認是否要改回執行該正常模式。且該管控主機進一步藉由判斷該計時單元的計時時間判斷是否要由執行該正常模式改為執行該暫時模式,或由執行該暫時模式改為執行該無人模式。When the control host of the present invention executes the temporary mode or the unmanned mode, it is determined whether the normal mode is to be changed back by determining whether the recovery command is received. And the controlling host further determines whether the temporary mode is to be executed by executing the normal mode or the execution of the temporary mode by performing the temporary mode by determining the timing of the timing unit.

如此一來,該管控主機便可是否接收到該恢復指令判斷使用者是否正位在該管控主機附近,進而由該管控主機根據目前所執行的模式自動控制各個受控裝置的啟動與否,藉此避免不需要的電力浪費,或是安全上的疑慮,又或是避免家具被雨水濺濕。In this way, the management host can receive the recovery command to determine whether the user is in the vicinity of the control host, and then the control host automatically controls the startup of each controlled device according to the currently executed mode. This avoids unnecessary power waste, safety concerns, or prevents furniture from being splashed by rain.

以下配合圖式及本發明之較佳實施例,進一步闡述本發明為達成預定發明目的所採取的技術手段。The technical means adopted by the present invention for achieving the intended purpose of the invention are further described below in conjunction with the drawings and preferred embodiments of the invention.

請參閱圖1所示,本發明是一種受控裝置的管控方法與系統,該受控裝置的管控系統包含有至少一移動裝置11及一管控主機12。而該管控主機12是用於管理多個受控裝置13的啟動狀態。在本較佳實施例中,該移動裝置11與該管控主機12是以無線方式連接,例如藍牙(Bluetooth)無線通訊、低功耗藍牙(Bluetooth Low Energy)無線通訊或是WiFi無線通訊。而該管控主機12與各該受控裝置13是以有線或無線方式連接。此外,該管控主機12包含有一計時單元121。Referring to FIG. 1 , the present invention is a control method and system for a controlled device. The control system of the controlled device includes at least one mobile device 11 and a control host 12 . The management host 12 is for managing the startup state of the plurality of controlled devices 13. In the preferred embodiment, the mobile device 11 and the control host 12 are wirelessly connected, such as Bluetooth wireless communication, Bluetooth Low Energy wireless communication, or WiFi wireless communication. The control host 12 and each of the controlled devices 13 are connected in a wired or wireless manner. In addition, the control host 12 includes a timing unit 121.

該管控主機12執行一正常模式,且當該管控主機12執行該正常模式時,該管控主機12重設(reset)該計時單元121的計時時間,並啟動該計時單元121開始計時,且廣播一第一連接信號,其中該第一連接信號包含一第一連接標籤。該管控主機12進一步判斷該計時單元121的計時時間是否超過一第一預設時間。在本較佳實施例中,該管控主機12廣播的第一連接信號是供該移動裝置11接收,而該移動裝置11所執行之步驟流程如後詳述。The control host 12 executes a normal mode, and when the control host 12 executes the normal mode, the control host 12 resets the timing of the timing unit 121, and starts the timing unit 121 to start timing, and broadcasts a a first connection signal, wherein the first connection signal comprises a first connection tag. The control host 12 further determines whether the timing of the timing unit 121 exceeds a first preset time. In the preferred embodiment, the first connection signal broadcast by the management host 12 is received by the mobile device 11, and the flow of steps performed by the mobile device 11 is detailed later.

當該管控主機12執行該正常模式時,且當該管控主機12判斷該計時單元121的計時時間超過一第一預設時間時,該管控主機12改為執行一暫時模式。When the control host 12 executes the normal mode, and when the control host 12 determines that the timing of the timing unit 121 exceeds a first predetermined time, the management host 12 instead executes a temporary mode.

當該管控主機12執行該暫時模式時,該管控主機12重設(reset)該計時單元121的計時時間,並重新啟動該計時單元121開始計時,該管控主機12停止廣播該第一連接信號,並廣播一第二連接信號,其中該第二連接信號包含一第二連接標籤。該管控主機12進一步判斷是否接收到一恢復指令,且該管控主機12於接收到該恢復指令時,該管控主機12改為執行該正常模式。When the control host 12 executes the temporary mode, the control host 12 resets the timing of the timing unit 121, and restarts the timing unit 121 to start timing. The control host 12 stops broadcasting the first connection signal. And broadcasting a second connection signal, wherein the second connection signal comprises a second connection label. The control host 12 further determines whether a resume command is received, and when the control host 12 receives the resume command, the control host 12 executes the normal mode instead.

而該管控主機12於未接收到該恢復指令時,該管控主機12判斷該計時單元121的計時時間是否超過一第二預設時間。When the control host 12 does not receive the resume command, the control host 12 determines whether the time counted by the timer unit 121 exceeds a second preset time.

當該管控主機12執行該暫時模式時,且當該管控主機12判斷該計時單元121的計時時間未超過該第二預設時間時,該管控主機12重新廣播該第二連接信號,並重新判斷是否接收到該恢復指令。When the control host 12 executes the temporary mode, and when the control host 12 determines that the timing of the timing unit 121 does not exceed the second preset time, the control host 12 rebroadcasts the second connection signal and re-judges Whether the recovery instruction was received.

當該管控主機12執行該暫時模式時,且當該管控主機12判斷該計時單元121的計時時間超過該第二預設時間時,該管控主機12改為執行一無人模式。When the control host 12 executes the temporary mode, and when the control host 12 determines that the timing of the timing unit 121 exceeds the second preset time, the management host 12 instead executes an unmanned mode.

當該管控主機12執行該正常模式時,該管控主機12產生至少一正常模式控制信號,以控制至少一受控裝置13的啟動狀態。而當該管控主機12執行該無人模式時,該管控主機12產生至少一無人模式控制信號,以改變該受控裝置13的啟動狀態。When the control host 12 executes the normal mode, the control host 12 generates at least one normal mode control signal to control the startup state of the at least one controlled device 13. When the control host 12 executes the unmanned mode, the control host 12 generates at least one unmanned mode control signal to change the startup state of the controlled device 13.

使用者可以自行設定一組無人指令,並儲存於該管控主機12上。當該管控主機12進入無人模式時,該管控主機12即可執行此一組無人指令,以符合使用者需求。The user can set a set of unmanned commands and store them on the control host 12. When the control host 12 enters the unattended mode, the management host 12 can execute the set of unmanned commands to meet the user's needs.

本發明的該管控主機12在執行該暫時模式或該無人模式時,藉由判斷是否接收到該恢復指令來確認是否要改回執行該正常模式。且該管控主機12進一步藉由判斷該計時單元121的計時時間判斷是否要由執行該正常模式改為執行該暫時模式,或由執行該暫時模式改為執行該無人模式。When the control host 12 of the present invention executes the temporary mode or the unmanned mode, it is determined whether or not the normal mode is to be changed back by determining whether the resume command is received. And the control host 12 further determines whether the temporary mode is to be executed by executing the normal mode or the execution of the temporary mode by performing the temporary mode by determining the timing of the timing unit 121.

如此一來,該管控主機12便可由是否接收到該恢復指令判斷使用者是否正位在該管控主機12附近,進而由該管控主機12根據目前所執行的模式自動控制各個受控裝置13的啟動與否,藉此避免不需要的電力浪費,或是安全上的疑慮,又或是避免家具被雨水濺濕。In this way, the control host 12 can determine whether the user is in the vicinity of the control host 12 by receiving the resume command, and then the control host 12 automatically controls the startup of each controlled device 13 according to the currently executed mode. Whether or not to avoid unnecessary power waste, or safety concerns, or to prevent furniture from being splashed by rain.

進一步而言,當該管控主機12執行該無人模式時,該管控主機12廣播一第三連接信號,並判斷是否接收到該恢復指令。其中該第三連接信號包含有一第三連接標籤。Further, when the management host 12 executes the unmanned mode, the management host 12 broadcasts a third connection signal and determines whether the recovery instruction is received. The third connection signal includes a third connection label.

當該管控主機12執行該無人模式時,且當該管控主機12接收到該恢復指令時,該管控主機12改為執行該正常模式。When the management host 12 executes the unattended mode, and when the management host 12 receives the resume command, the management host 12 instead executes the normal mode.

舉例來說,該管控主機12可以是一台桌上型電腦,或一智能型電子裝置,被固定安裝在家中或是辦公室裡,又或該管控主機12可以是一控制模組,被安裝在一般電器中或是電器的開關上。該移動裝置11可以是一台智能手機、一穿戴式裝置、或一寵物項圈等,能被用戶隨身攜帶的智能裝置。而該受控裝置13可為各式各樣的電器,例如電視、電腦、電風扇、冷氣、電燈、熱水器、冰箱、保全系統主機、或窗戶的控制系統主機。For example, the control host 12 can be a desktop computer, or an intelligent electronic device, fixedly installed in the home or in the office, or the control host 12 can be a control module installed in the In general electrical appliances or on electrical switches. The mobile device 11 can be a smart phone, a wearable device, or a pet collar, etc., which can be carried by the user. The controlled device 13 can be a variety of electrical appliances, such as televisions, computers, electric fans, air conditioners, electric lights, water heaters, refrigerators, security system hosts, or control systems for windows.

由於該移動裝置11是由至少一名使用者所持有,能隨著使用者一起移動,因此當該管控主機12能與該移動裝置11連線,並接收到該恢復指令時,代表至少一名使用者正在家中或是辦公室裡,所以該管控主機12便會執行該正常模式,來管控家中或是辦公室裡的各個受控裝置13。而在該正常模式下,該管控主機12能分別控制各個受控裝置13的啟動與否,例如,當至少一名使用者正在家中或在辦公室裡,該管控主機12便會執行該正常模式或該暫時模式,並控制電視、冷氣、電腦、電燈、熱水器等受控裝置13啟動,方便使用者使用各個受控裝置13。或是該管控主機12在該正常模式或該暫時模式下,能控制該保全系統關閉,以減少電力消耗。又或是該管控主機12在該正常模式或該暫時模式下,能控制窗戶系統開啟,保持通風。Since the mobile device 11 is held by at least one user and can move with the user, when the management host 12 can connect with the mobile device 11 and receive the resume command, it represents at least one The user is in the home or in the office, so the control host 12 will execute the normal mode to control each controlled device 13 in the home or office. In the normal mode, the control host 12 can separately control the activation of each controlled device 13, for example, when at least one user is at home or in the office, the control host 12 performs the normal mode or The temporary mode and control of the controlled devices 13 such as television, air conditioner, computer, electric light, water heater, etc. are activated, so that the user can use the respective controlled devices 13. Or the control host 12 can control the security system to be turned off in the normal mode or the temporary mode to reduce power consumption. Or the control host 12 can control the window system to open and maintain ventilation in the normal mode or the temporary mode.

反之,當該管控主機12無法接收到該恢復指令時,代表使用者已經離開家中或是辦公室,所以該管控主機12便會改為執行該無人模式,來管控家中或是辦公室裡的各個受控裝置13。而在該無人模式下,該管控主機12能分別控制各個受控裝置13的啟動與否,例如,因為該使用者正在家中或在辦公室裡,該管控主機12便可控制電視、冷氣、電腦、電燈、熱水器等受控裝置13關閉,以減少電力消耗。或是該管控主機12在該無人模式下,能控制該保全系統啟動,以進行居家或辦公室的安全監控,且能控制窗戶系統關閉,避免雨水濺濕家具。如此一來,使用者便可安心且隨意地離開家中或辦公室,而家中或辦公室裡的各個受控裝置13能被該管控主機12控制,藉此減少電力消耗,並可自動啟動保全系統,避免不需要的電力浪費,或是安全上的疑慮。On the contrary, when the management host 12 cannot receive the recovery instruction, the representative user 12 has left the home or the office, so the management host 12 will perform the unmanned mode instead to control each controlled home or office. Device 13. In the unmanned mode, the control host 12 can separately control the activation of each controlled device 13, for example, because the user is at home or in the office, the control host 12 can control television, air conditioner, computer, The controlled device 13 such as an electric lamp or a water heater is turned off to reduce power consumption. Or the control host 12 can control the startup of the security system in the unmanned mode for security monitoring of the home or office, and can control the window system to be closed to prevent rain from splashing the furniture. In this way, the user can leave the home or office with peace of mind and at will, and the controlled devices 13 in the home or office can be controlled by the control host 12, thereby reducing power consumption and automatically starting the security system to avoid Unneeded power wasted, or security concerns.

此外,當該管控主機12在執行該無人模式時接收到該恢復指令而改為執行該正常模式時,該管控主機12進一步接收該移動裝置11傳送的一遙控指令。且該管控主機12由執行該無人模式改為執行該正常模式時,所產生的該至少一正常模式控制信號是根據該移動裝置11傳送的遙控指令所設定的。In addition, when the control host 12 receives the resume command while executing the unattended mode and executes the normal mode instead, the control host 12 further receives a remote command transmitted by the mobile device 11. And when the control host 12 changes from executing the unmanned mode to executing the normal mode, the generated at least one normal mode control signal is set according to the remote control command transmitted by the mobile device 11.

因此,使用者可透過操作該移動裝置11設定對應的遙控指令,當使用者回到家中後,該管控主機12由無人模式改為正常模式時,便可根據使用者設定好的遙控指令對應控制各個受控裝置13的啟動狀態,提供使用者對家中的環境進行個性化的設定。Therefore, the user can set the corresponding remote control command by operating the mobile device 11. When the user returns to the home and the control host 12 changes from the unmanned mode to the normal mode, the user can control the remote command according to the user's remote command. The activated state of each controlled device 13 provides a user with personalized settings for the environment in the home.

進一步而言,當該管控主機12執行該正常模式時,且當該計時單元121的計時時間未超過該第一預設時間時,該管控主機12重新廣播該第一連接信號,並重新判斷該計時單元121的計時時間是否超過該第一預設時間。Further, when the control host 12 executes the normal mode, and when the timing of the timing unit 121 does not exceed the first preset time, the control host 12 rebroadcasts the first connection signal, and re-determines the Whether the timing time of the timing unit 121 exceeds the first preset time.

而該移動裝置11會執行一管控程序。在本較佳實施例中,該恢復指令是由該移動裝置11產生並傳送至該管控主機12的。當該移動裝置11執行該管控程序時,該移動裝置11判斷是否接收到該管控主機12廣播的第二連接信號,且該移動裝置11於判斷接收到該管控主機12廣播的第二連接信號時,該移動裝置11廣播該請求連線指令,並與該管控主機12建立連線,且該移動裝置11於與該管控主機12連線後,傳送該恢復指令至該管控主機12,接著,該移動裝置11結束與該管控主機12的連線。但是,當該移動裝置11接收到該管控主機12廣播的第一連接信號時,該移動裝置11不需傳送任何指令給該管控主機12。The mobile device 11 executes a control program. In the preferred embodiment, the resume command is generated by the mobile device 11 and transmitted to the managed host 12. When the mobile device 11 executes the control program, the mobile device 11 determines whether the second connection signal broadcast by the control host 12 is received, and the mobile device 11 determines that the second connection signal broadcast by the control host 12 is received. The mobile device 11 broadcasts the request connection command and establishes a connection with the control host 12, and after the mobile device 11 is connected to the control host 12, transmits the resume command to the control host 12, and then, the The mobile device 11 ends the connection with the managed host 12. However, when the mobile device 11 receives the first connection signal broadcast by the management host 12, the mobile device 11 does not need to transmit any instructions to the management host 12.

也就是說,該管控主機12在執行該正常模式時,在第一預設時間內會不斷的廣播該第一連接信號供該移動裝置11接收。而當該移動裝置11接收到該管控主機12廣播的第一連接信號,除非使用者主動執行連線,否則該移動裝置11並不會自動與該管控主機12連線,藉此減少該移動裝置11的電力消耗。That is to say, when the normal control mode is executed, the control host 12 continuously broadcasts the first connection signal for the mobile device 11 to receive during the first preset time. When the mobile device 11 receives the first connection signal broadcast by the control host 12, the mobile device 11 does not automatically connect to the control host 12 unless the user actively performs the connection, thereby reducing the mobile device. 11 power consumption.

但是當該移動裝置11判斷接收到該管控主機12於該暫時模式下廣播的該第二連接信號後,該移動裝置11便會廣播該請求連線指令以與該管控主機12建立連線,並傳送該恢復指令至該管控主機12,且該移動裝置11於傳送該恢復指令後,結束與該管控主機12的連線,藉此進一步減少該移動裝置11的電力消耗。However, when the mobile device 11 determines that the second connection signal broadcast by the control host 12 in the temporary mode is received, the mobile device 11 broadcasts the request connection command to establish a connection with the control host 12, and The recovery command is transmitted to the control host 12, and the mobile device 11 ends the connection with the management host 12 after transmitting the resume command, thereby further reducing the power consumption of the mobile device 11.

此外,當該移動裝置11判斷未接收到該管控主機11於該暫時模式下廣播的該第二連接信號時,該移動裝置11進一步判斷是否接收到該管控主機12於該無人模式下廣播的該第三連接信號。且當該移動裝置11判斷接收到該管控主機12於該無人模式下廣播的該第三連接信號該時,該移動裝置11廣播該請求連線指令以與該管控主機12建立連線,該移動裝置11於與該管控主機12連線成功後,該移動裝置11傳送該恢復指令至該管控主機12。該移動裝置11於傳送該恢復指令至該管控主機12後,該移動裝置11進一步傳送該遙控指令至該管控主機12,並結束與該管控主機12的連線,藉此進一步減少該移動裝置11的電力消耗。In addition, when the mobile device 11 determines that the second connection signal broadcasted by the control host 11 in the temporary mode is not received, the mobile device 11 further determines whether the control host 12 is received in the unmanned mode. The third connection signal. And when the mobile device 11 determines that the third connection signal broadcast by the control host 12 in the unattended mode is received, the mobile device 11 broadcasts the request connection command to establish a connection with the management host 12, the movement After the device 11 is successfully connected to the control host 12, the mobile device 11 transmits the resume command to the control host 12. After the mobile device 11 transmits the resume command to the control host 12, the mobile device 11 further transmits the remote control command to the control host 12, and ends the connection with the control host 12, thereby further reducing the mobile device 11 The power consumption.

該暫時模式可以使得該移動裝置11無須持續不斷地連線至該管控主機12,僅僅需要該管控主機12在該第二預設時間內收到恢復指令即可避免該管控主機12執行該無人模式。The temporary mode can prevent the mobile device 11 from continuously connecting to the control host 12, and only the control host 12 needs to receive a recovery command within the second preset time to prevent the control host 12 from executing the unmanned mode. .

對於該移動裝置11而言,當該管控主機12執行該暫時模式,並廣播該第二連接信號供該移動裝置11接收到後,該移動裝置11才會廣播該請求連線指令以與該管控主機12建立連線,並傳送該恢復指令至該管控主機12,供該管控主機12改為執行正常模式。如此一來,該移動裝置11不需要長時間地與該管控主機12進行連線,進而減少該移動裝置11的電力消耗。For the mobile device 11, when the control host 12 executes the temporary mode and broadcasts the second connection signal for the mobile device 11 to receive, the mobile device 11 broadcasts the request connection command to control the control. The host 12 establishes a connection and transmits the resume command to the control host 12 for the control host 12 to perform the normal mode instead. In this way, the mobile device 11 does not need to be connected to the control host 12 for a long time, thereby reducing the power consumption of the mobile device 11.

此外,又因為使用無線傳輸,當使用者環境中擁有許多受控裝置13,若該移動裝置11與該管控主機12長時間持續連線,代表著頻繁的交握訊號,進而造成互相干擾而降低傳輸效率,甚至導致連線失敗;或又因為傳輸失敗而重複發送訊號,造成電力的浪費,這又消耗了移動裝置的電池電量,進而增加更換電池或充電的頻率,降低無線頻道的信號壅塞程度,更可以增加在一區域容納動作裝置的數目。因此,由於本發明的移動裝置11不需要長時間地與該管控主機12進行連線,進而凸顯了能有效減少該移動裝置11電力消耗的功效。In addition, because of the use of wireless transmission, when there are many controlled devices 13 in the user environment, if the mobile device 11 and the control host 12 are continuously connected for a long time, it represents frequent handshake signals, thereby causing mutual interference and reducing. Transmission efficiency, even lead to connection failure; or repeated transmission of signals due to transmission failure, resulting in wasted power, which consumes the battery power of the mobile device, thereby increasing the frequency of battery replacement or charging, and reducing the degree of signal congestion of the wireless channel. It is also possible to increase the number of action devices accommodated in one area. Therefore, since the mobile device 11 of the present invention does not need to be connected to the control host 12 for a long time, the effect of effectively reducing the power consumption of the mobile device 11 is highlighted.

進一步而言,當該管控主機12執行該無人模式時,該管控主機12改為廣播該第三連接信號,並判斷是否接收到該移動裝置11傳送的恢復指令。當該管控主機12於執行該無人模式時,且當該管控主機12於未接收到任一移動裝置11傳送的該恢復指令時,該管控主機12重新廣播該第三連接信號,並重新判斷是否接收到該移動裝置11傳送的該恢復指令。而當該管控主機12於接收到任一移動裝置11傳送的該恢復指令時,該管控主機12改為執行該正常模式。Further, when the management host 12 executes the unmanned mode, the control host 12 instead broadcasts the third connection signal and determines whether a recovery command transmitted by the mobile device 11 is received. When the control host 12 executes the unattended mode, and when the management host 12 does not receive the resume command transmitted by any mobile device 11, the control host 12 rebroadcasts the third connection signal and re-determines whether The resume command transmitted by the mobile device 11 is received. When the management host 12 receives the recovery instruction transmitted by any mobile device 11, the management host 12 executes the normal mode instead.

此外,在另一較佳實施例中,該管控主機12在執行該暫時模式下廣播的第二連接信號與在執行該無人模式下廣播的第三連接信號相同。且當該管控主機12執行該無人模式時,並於該管控主機12接收到該恢復指令時,該管控主機12改為執行該正常模式後,傳送一已重置信號給該移動裝置11。Moreover, in another preferred embodiment, the second connection signal broadcast by the control host 12 in performing the temporary mode is the same as the third connection signal broadcasted in the execution of the unmanned mode. And when the control host 12 executes the unattended mode, and when the control host 12 receives the resume command, the control host 12 transmits a reset signal to the mobile device 11 after performing the normal mode instead.

當該移動裝置11執行該管控程序時,該移動裝置11判斷是否接收到該管控主機12廣播的第二連接信號,且該移動裝置11於判斷接收到該管控主機12廣播的第二連接信號時,該移動裝置11廣播該請求連線指令,並與該管控主機12建立連線,且該移動裝置11於與該管控主機12連線成功後,該移動裝置11進一步判斷是否接收到該已重置信號。而當該移動裝置11判斷接收到該已重置信號時,該移動裝置11傳送該恢復指令至該管控主機12,且該移動裝置11進一步傳送一遙控指令至該管控主機12後,結束與該管控主機12的連線。但是,當該移動裝置11接收到該管控主機12廣播的第一連接信號時,該移動裝置11不需傳送任何指令給該管控主機12。When the mobile device 11 executes the control program, the mobile device 11 determines whether the second connection signal broadcast by the control host 12 is received, and the mobile device 11 determines that the second connection signal broadcast by the control host 12 is received. The mobile device 11 broadcasts the request connection command and establishes a connection with the control host 12, and after the mobile device 11 successfully connects to the control host 12, the mobile device 11 further determines whether the heavy device is received. Set the signal. When the mobile device 11 determines that the reset signal is received, the mobile device 11 transmits the resume command to the control host 12, and the mobile device 11 further transmits a remote control command to the control host 12, and ends. Control the connection of the host 12. However, when the mobile device 11 receives the first connection signal broadcast by the management host 12, the mobile device 11 does not need to transmit any instructions to the management host 12.

由於當該第二連接信號與該第三連接信號相同時,該移動裝置11無法由廣播的信號得知該管控主機12目前的模式。也就是說,該移動裝置11並無法根據接收到的連接信號來判斷該管控主機12是由暫時模式回到正常模式,還是由無人模式回到正常模式。Since the mobile device 11 cannot know the current mode of the control host 12 from the broadcasted signal when the second connection signal is the same as the third connection signal. That is to say, the mobile device 11 cannot judge whether the control host 12 returns from the temporary mode to the normal mode or the unmanned mode to the normal mode according to the received connection signal.

因此該管控主機12在無人模式下接收到恢復指令後,會由無人模式重置到正常模式,此時該管控主機12會發出該已重置信號通知移動裝置,如此一來,該移動裝置11就可以由此得知該管控主機12已經由無人模式重置到正常模式,還是由該暫時模式回到該正常模式。Therefore, after receiving the recovery command in the unmanned mode, the control host 12 is reset from the unmanned mode to the normal mode, at which time the control host 12 issues the reset signal to notify the mobile device, and thus the mobile device 11 It can thus be known whether the managed host 12 has been reset from the unmanned mode to the normal mode or from the temporary mode to the normal mode.

舉例來說,當該移動裝置11接收到該已重置信號時,代表該管控主機12是由該無人模式改為執行該正常模式,且當該管控主機12是由該無人模式改為執行該正常模式時,該管控主機12會接收到該移動裝置11傳送的遙控指令。而當該移動裝置11未接收到該已重置信號時,代表該管控主機12是由該暫時模式改為執行該正常模式,且不會接收該移動裝置11傳送的遙控指令。For example, when the mobile device 11 receives the reset signal, it indicates that the control host 12 is changed from the unmanned mode to the normal mode, and when the management host 12 is changed from the unmanned mode to the execution of the In the normal mode, the control host 12 receives the remote command transmitted by the mobile device 11. When the mobile device 11 does not receive the reset signal, it indicates that the control host 12 changes from the temporary mode to the normal mode, and does not receive the remote command transmitted by the mobile device 11.

由於此一系統包含有一至多個移動裝置11,而各個移動裝置11的設定可以有不同的設定,如此一來,該移動裝置11將可由該已重置信號繼續進行對各個受控裝置13管控下一步的動作。換句話說,該管控主機12進入無人模式後,由該管控主機12決定該受控裝置13的行為;而由無人模式重置到正常模式,則由該移動裝置11決定之後的行為。如此一來,各個移動裝置11可以做個別設定,以符合使用者需求。Since the system includes one or more mobile devices 11, the settings of the respective mobile devices 11 can have different settings, so that the mobile device 11 can continue to control the respective controlled devices 13 by the reset signal. One step of action. In other words, after the control host 12 enters the unattended mode, the managed host 12 determines the behavior of the controlled device 13; and when the unmanned mode is reset to the normal mode, the mobile device 11 determines the subsequent behavior. In this way, each mobile device 11 can be individually configured to meet user needs.

舉例來說,該管控主機12管控家中兩個電燈甲、乙,並且註冊了兩個移動裝置11A、11B。這時設定該移動裝置11A在收到已重置信號後打開電燈甲,設定該移動裝置11B在收到已重置信號後打開電燈乙。這樣就可以達成在各個移動裝置11中擁有各自不同的設定,方便使用者自行調整以符合使用者最合適的設定。並且也因為這些設定是存在各個移動裝置中,可以簡化主控主機的設計,也降低主控主機記憶體的容量需求。For example, the control host 12 controls two lights A and B in the home, and registers two mobile devices 11A, 11B. At this time, the mobile device 11A is set to turn on the electric lamp A after receiving the reset signal, and the mobile device 11B is set to turn on the electric lamp B after receiving the reset signal. In this way, it is possible to achieve different settings in each mobile device 11 so that the user can adjust it to suit the most suitable setting of the user. And because these settings exist in various mobile devices, the design of the main control host can be simplified, and the capacity requirement of the main control host memory is also reduced.

另一個實施例來說,使用者可以自行設定一組已重置指令,並儲存於該管控主機12上。該管控主機12在無人模式下收到該恢復指令後,重置回到該正常模式,此時該管控主機12可以依照儲存於該管控主機12上這一組已重置指令,去執行相對應的動作,如此一來,就不需要該移動裝置11介入,降低該管控主機12與該移動裝置11連線的時間,進而減低消耗的電力。In another embodiment, the user can set a set of reset commands and store them on the control host 12. After receiving the recovery command in the unmanned mode, the control host 12 resets back to the normal mode. At this time, the control host 12 can execute the corresponding reset command stored on the control host 12 to execute the corresponding command. In this way, the mobile device 11 is not required to intervene, and the time for the control host 12 to connect with the mobile device 11 is reduced, thereby reducing the consumed power.

進一步而言,由於該第一預設時間與該第二預設時間的總和代表的是該管控主機12由執行該正常模式至執行該無人模式的時間,但由於因為各個使用情境不同而需要有所調整,可給予使用者設定。例如使用者因為工作需要,會頻繁進出工作場所,過短的預設時間會造成非使用者預期的進入無人模式,反而造成使用上的困擾。但如果該管控主機12控制的該受控裝置13是LED燈泡,縮短該第一預設時間與該第二預設時間可以達到更好的省電效果。因此交由使用者設定對其合適的時間,以符合使用需求。Further, since the sum of the first preset time and the second preset time represents the time when the control host 12 executes the normal mode to execute the unmanned mode, since it is required due to different usage scenarios, The adjustment can be given to the user. For example, users often enter and leave the workplace because of work needs. A short preset time will cause non-users to enter the unmanned mode, which will cause confusion. However, if the controlled device 13 controlled by the control host 12 is an LED light bulb, shortening the first preset time and the second preset time can achieve a better power saving effect. Therefore, the user sets the appropriate time to meet the usage requirements.

再者,該移動裝置11在判斷是否接收到該第二連接信號前,先一步判斷是否產生一啟動指令。該移動裝置11於判斷該啟動指令產生時,該移動裝置11才判斷是否接收到該第二連接信號。但該移動裝置11於判斷該啟動指令未產生時,該移動裝置11重新判斷是否產生該啟動指令。Moreover, the mobile device 11 first determines whether a start command is generated before determining whether the second connection signal is received. When the mobile device 11 determines that the start command is generated, the mobile device 11 determines whether the second connection signal is received. However, when the mobile device 11 determines that the startup command is not generated, the mobile device 11 re-determines whether the startup command is generated.

舉例來說,該移動裝置11可以由使用者設定決定開啟或關閉,來決定是否要產生該啟動指令,以與該管控主機12連線並傳送該恢復指令。例如該移動裝置11為一平板電腦,使用者在其上安裝一應用程式執行程序,卻不會隨身攜帶此一平板電腦,當使用者欲離開前,這時使用者可以設定關閉此一平板電腦上安裝的應用程序來防止該平板電腦持續傳送該恢復指令,藉此避免當使用者離開後,該管控主機12因為持續接收到該移動裝置11傳送恢復指令而無法進入該無人模式。For example, the mobile device 11 can be determined to be turned on or off by a user setting to determine whether to generate the boot command to connect to the control host 12 and transmit the resume command. For example, the mobile device 11 is a tablet computer, and the user installs an application execution program thereon, but does not carry the tablet computer with the user. When the user wants to leave, the user can set the tablet to be turned off. The installed application prevents the tablet from continuously transmitting the resume command, thereby preventing the managed host 12 from entering the unattended mode because it continues to receive the mobile device 11 transmitting a resume command when the user leaves.

此外,在本較佳實施例中,該管控主機12執行一連線程序與該移動裝置11建立連線,且該管控主機12與該移動裝置11是通過握手協議建立連線的。In addition, in the preferred embodiment, the management host 12 performs a connection procedure to establish a connection with the mobile device 11, and the management host 12 and the mobile device 11 establish a connection through a handshake protocol.

為了抵擋惡意攻擊,如不法份子想要入侵監控系統關閉保全系統,管控主機12與移動裝置應該建立安全連線,只有在安全連線下傳輸的恢復指令才能被管控主機所接受。In order to resist malicious attacks, if the illegal agent wants to invade the monitoring system to shut down the security system, the management host 12 and the mobile device should establish a secure connection, and only the recovery command transmitted under the secure connection can be accepted by the management host.

在一個實施例當中,移動裝置11與管控主機12使用低功率藍芽(Bluetooth Low Energy)技術作為傳輸協定,其中管控主機在執行正常模式前,應該與移動裝置11建立註冊程序。In one embodiment, the mobile device 11 and the managed host 12 use a low power Bluetooth Low Energy technology as a transport protocol, wherein the managed host should establish a registration procedure with the mobile device 11 prior to performing the normal mode.

舉例來說,當該管控主機12執行該連線程序時,該管控主機12會先判斷是否需要執行一管控主機註冊程序,且該管控主機12於需要執行該管控主機註冊程序時,該管控主機12執行該管控主機註冊程序,以與該移動裝置11建立連線,並登錄該移動裝置11的一身份資訊。該管控主機12於不需要執行該管控主機註冊程序時,該管控主機12監聽該移動裝置11廣播的請求連線指令,並判斷是否接收到該移動裝置11廣播的請求連線指令。For example, when the management host 12 executes the connection procedure, the management host 12 first determines whether a management host registration procedure needs to be executed, and when the management host 12 needs to execute the management host registration procedure, the management host 12 executing the management host registration procedure to establish a connection with the mobile device 11 and registering an identity information of the mobile device 11. When the management host 12 does not need to execute the management host registration procedure, the management host 12 listens to the request connection command broadcasted by the mobile device 11 and determines whether the request connection command broadcasted by the mobile device 11 is received.

該管控主機12於接收到該移動裝置11廣播的請求連線指令時,該管控主機12進一步根據該移動裝置11的身份資訊判斷該移動裝置11廣播的請求連線指令是否通過認證。When the management host 12 receives the request connection command broadcasted by the mobile device 11, the control host 12 further determines, according to the identity information of the mobile device 11, whether the request connection command broadcasted by the mobile device 11 passes the authentication.

該管控主機12於未接收到該移動裝置11廣播的請求連線指令,或該管控主機12於判斷該移動裝置11廣播的請求連線指令未通過認證時,該管控主機12重新監聽該移動裝置11廣播的請求連線指令。When the management host 12 does not receive the request connection command broadcasted by the mobile device 11, or the management host 12 determines that the request connection command broadcasted by the mobile device 11 fails the authentication, the management host 12 re-listens the mobile device. 11 broadcast request connection instructions.

該管控主機12於判斷該移動裝置11廣播的請求連線指令通過認證時,該管控主機12與該移動裝置11建立連線,並啟動該管控主機12的一連線計時單元122開始計時。When the management host 12 determines that the request connection command broadcasted by the mobile device 11 passes the authentication, the management host 12 establishes a connection with the mobile device 11 and starts a connection timing unit 122 of the control host 12 to start timing.

該管控主機12進一步接收該移動裝置11傳送的恢復指令,並判斷該連線計時單元122的計時時間是否超過一第三預設時間。且該管控主機12於該連線計時單元122的計時時間超過該第三預設時間時,該管控主機12中斷與該移動裝置11的連線,並重設該連線計時單元122的計時時間,且重新監聽該移動裝置11廣播的請求連線指令,以判斷是否接收到該移動裝置11廣播的請求連線指令。The control host 12 further receives the resume command transmitted by the mobile device 11 and determines whether the time counted by the connection timing unit 122 exceeds a third preset time. And the control host 12 interrupts the connection with the mobile device 11 and resets the timing of the connection timing unit 122 when the timing of the connection timing unit 122 exceeds the third preset time. And the request connection command broadcasted by the mobile device 11 is re-listed to determine whether the request connection command broadcasted by the mobile device 11 is received.

而該管控主機12於該連線計時單元122的計時時間未超過該第三預設時間時,該管控主機12重新接收該移動裝置11傳送的恢復指令。When the control host 12 does not exceed the third preset time in the timing of the connection timing unit 122, the management host 12 re-receives the recovery instruction transmitted by the mobile device 11.

舉例來說,該管控主機12透過執行該管控主機註冊程序對該移動裝置11進行身分註冊,並建立白名單。當該管控主機12接收到該移動裝置11廣播的該請求連線指令時,便可對該移動裝置11進行認證,藉此確認該移動裝置11的身份資訊是否屬於白名單,也就是是否已經註冊過了,當該移動裝置11的身份資訊屬於白名單內,該管控主機12才會與該移動裝置執行之後的行程。For example, the management host 12 performs identity registration on the mobile device 11 by executing the management host registration procedure, and establishes a white list. When the management host 12 receives the request connection command broadcasted by the mobile device 11, the mobile device 11 can be authenticated, thereby confirming whether the identity information of the mobile device 11 belongs to the whitelist, that is, whether it has been registered. After that, when the identity information of the mobile device 11 belongs to the white list, the management host 12 will perform the subsequent itinerary with the mobile device.

接著,當該管控主機12接收到該移動裝置11廣播的請求連線指令時,由於該請求連線指令中包含有該移動裝置11的身份資訊,因此該管控主機12便能根據該管控主機註冊程序中已經註冊過的身份資訊進行比對認證,藉此確認接收到的請求連線指令是否是由註冊過的移動裝置11所廣播的。Then, when the management host 12 receives the request connection command broadcasted by the mobile device 11, since the request connection command includes the identity information of the mobile device 11, the management host 12 can register according to the management host. The identity information that has been registered in the program is compared and authenticated, thereby confirming whether the received request connection command is broadcast by the registered mobile device 11.

如此一來,該管控主機12便能避免誤判,能夠判斷廣播出該請求連線指令的移動裝置11是經過註冊的,確定在該管控主機12附近的是正確的使用者持有的移動裝置11,並非其他未經註冊的使用者持有的移動裝置11。In this way, the management host 12 can avoid misjudgment, and can determine that the mobile device 11 that broadcasts the request connection command is registered, and determines that the mobile device 11 held by the correct user is near the control host 12. Not the mobile device 11 held by other unregistered users.

此外,在本發明的另一較佳實施例中,該移動裝置11於使用前會先判斷是否需執行一移動裝置註冊程序,且該移動裝置11於需要執行該移動裝置註冊程序時,該移動裝置11執行該移動裝置註冊程序,以與該管控主機12建立連線,並登錄該管控主機12的一身份資訊。In addition, in another preferred embodiment of the present invention, the mobile device 11 first determines whether a mobile device registration procedure needs to be executed before use, and the mobile device 11 moves when the mobile device registration procedure needs to be executed. The device 11 executes the mobile device registration procedure to establish a connection with the management host 12 and log in an identity information of the management host 12.

該移動裝置11於不需要執行該移動裝置註冊程序時,該移動裝置11才執行該管控程序,以判斷是否產生該啟動指令。且該移動裝置11於產生該啟動指令時,該移動裝置11進一步判斷是否接收到該管控主機12廣播的該第二連接信號。當該移動裝置11接收到該管控主機12廣播的該第二連接信號時,該移動裝置11進一步根據該管控主機12的身份資訊判斷該第二連接信號是否通過認證。When the mobile device 11 does not need to execute the mobile device registration program, the mobile device 11 executes the control program to determine whether the startup command is generated. When the mobile device 11 generates the startup command, the mobile device 11 further determines whether the second connection signal broadcast by the control host 12 is received. When the mobile device 11 receives the second connection signal broadcast by the control host 12, the mobile device 11 further determines whether the second connection signal passes the authentication according to the identity information of the management host 12.

當該移動裝置11判斷該第二連接信號通過認證時,該移動裝置11進一步根據一環境資訊判斷是否符合一環境條件,以決定是否要發出該請求連線指令,且當該移動裝置11判斷該環境資訊符合該環境條件時,再於與該管控主機11連線後發出該恢復指令。When the mobile device 11 determines that the second connection signal passes the authentication, the mobile device 11 further determines whether an environmental condition is met according to an environmental information, to determine whether to issue the request connection command, and when the mobile device 11 determines the When the environmental information meets the environmental condition, the recovery command is issued after being connected to the control host 11.

舉例來說,該環境資訊係該第二連接信號的信號強度,而該移動裝置11能根據該管控主機12發出的第二連接信號強度來推算與該管控主機12之間的距離,當該移動裝置11判斷該第二連接信號的信號強度足夠大時,該移動裝置11才判斷符合該環境條件,這時才對該管控主機12發出該請求連線指令,以與該管控主機12建立連線。For example, the environmental information is the signal strength of the second connection signal, and the mobile device 11 can estimate the distance from the control host 12 according to the strength of the second connection signal sent by the control host 12, when the movement When the device 11 determines that the signal strength of the second connection signal is sufficiently large, the mobile device 11 determines that the environmental condition is met, and then the requesting connection command is issued to the control host 12 to establish a connection with the control host 12.

又例如,該受控裝置13是家中電燈,該管控主機12管控家中電燈,而移動裝置11是一部智能型手機,該移動裝置11感測家中目前亮度,並根據家中目前亮度產生該環境資訊,且當該移動裝置11於判斷該環境資訊,也就是家中目前亮度大於一亮度臨界值時,代表使用者家中亮度足夠,因此該移動裝置11判斷該環境資訊不符合該環境條件,該移動裝置11並不需要與該管控主機112線,使該管控主機12恢復至正常模式開啟電燈。For another example, the controlled device 13 is a home electric lamp, the control host 12 controls the electric light in the home, and the mobile device 11 is a smart mobile phone, the mobile device 11 senses the current brightness in the home, and generates the environmental information according to the current brightness in the home. And when the mobile device 11 determines the environmental information, that is, the current brightness in the home is greater than a brightness threshold, the brightness of the user's home is sufficient, so the mobile device 11 determines that the environmental information does not meet the environmental condition, and the mobile device 11 does not need to line with the control host 112, so that the control host 12 returns to the normal mode to turn on the lights.

又另一個例子,該受控裝置13是家中的窗戶控制器,該管控主機12管控該窗戶控制器以控制家中窗戶開關,該移動裝置11是一部智能型手機,可以連上網路得知目前天候資訊做為該環境資訊,而該移動裝置11於目前天候為下雨時,判斷該環境資訊不符合該環境條件,因此即便當使用者回到家中時,該移動裝置11也不會與該管控主機12連線,使該管控主機12恢復至正常模式開啟窗戶。如此一來,即可避免用戶在下雨天回家後卻因為該管控主機12自動恢復到正常模式而打開窗戶,反而造成雨水潑濺至室內的問題。In still another example, the controlled device 13 is a window controller in the home, the control host 12 controls the window controller to control a window switch in the home, and the mobile device 11 is a smart phone that can be connected to the network to learn the current The weather information is used as the environmental information, and when the mobile device 11 is raining, it is determined that the environmental information does not meet the environmental condition, so even when the user returns home, the mobile device 11 does not The control host 12 is connected to enable the control host 12 to return to the normal mode to open the window. In this way, the user can be prevented from opening the window because the control host 12 automatically returns to the normal mode after going home in the rainy day, which causes the rain to splash into the room.

此外,該移動裝置11於與該管控主機12連線前,會先判斷該環境資訊是否符合該環境條件,來確認是否要與該管控主機12連線,因此該移動裝置11可以降低與該管控主機的通信頻率,進而降低該移動裝置11電量的消耗,並且減少裝置間信號的互相干擾。In addition, before the mobile device 11 is connected to the control host 12, it is determined whether the environmental information meets the environmental condition to confirm whether it is to be connected to the control host 12, so the mobile device 11 can reduce the control. The communication frequency of the host, which in turn reduces the consumption of power of the mobile device 11, and reduces mutual interference of signals between the devices.

此外,此一環境環資訊條件可以由使用者設定以符合使用者需求。例如該移動裝置11經由接收到該管控主機12廣播的該第二連接信號的信號強度來判斷該移動裝置11與該管控主機12間的距離,使用者可以設定其信號強度做為判斷條件。又例如該管控主機12控制家中照明設備,使用者可以設定家中亮度多少來決定是否要進入無人模式來關閉照明。In addition, this environment ring information condition can be set by the user to meet the user's needs. For example, the mobile device 11 determines the distance between the mobile device 11 and the control host 12 by receiving the signal strength of the second connection signal broadcast by the control host 12, and the user can set the signal strength as a determination condition. For another example, the control host 12 controls the lighting device in the home, and the user can set the brightness of the home to determine whether to enter the unmanned mode to turn off the illumination.

本發明廣播第一、第二與第三連接信號表示用以表示該管控主機12目前狀態,但是也因此暴露了無人在家的資訊,例如持續廣播第三連接信號造成暴露了無人在家的狀態。為了避免此一狀況,上述的第一、第二與第三連接標籤應予以加密。The first, second, and third connection signals of the present invention are indicated to indicate the current state of the control host 12, but thus expose information that no one is at home, such as continuously broadcasting the third connection signal, thereby exposing the state of being unattended at home. In order to avoid this situation, the first, second and third connection labels described above should be encrypted.

在一個實施例當中,當該移動裝置11與該管控主機12註冊時,由該管控主機12發布一私鑰,並儲存於該移動裝置11中。之後該管控主機12加密第一、第二與第三連接標籤,並在第一、第二與第三連接信號中夾帶公鑰,此外並持續更新公鑰並加密。如此一來,只有註冊過的該移動裝置11能夠解密第一、第二與第三連接信號,並得知該管控主機12目前狀態,以避免暴露人員是否在家的狀態。In one embodiment, when the mobile device 11 registers with the management host 12, the management host 12 issues a private key and stores it in the mobile device 11. The management host 12 then encrypts the first, second and third connection tags and encloses the public key in the first, second and third connection signals, and continuously updates the public key and encrypts it. In this way, only the registered mobile device 11 can decrypt the first, second and third connection signals and know the current state of the control host 12 to avoid exposing the state of the person at home.

請參閱圖2A及2B所示,根據上述內容,可整理出該受控裝置的管控方法,而該受控裝置的管控方法是由該管控主機所執行的,且該受控裝置的管控方法包含有以下步驟: 執行一正常模式(S201); 在該正常模式下,重設一計時單元的計時時間,並啟動該計時單元開始計時(S202); 廣播一第一連接信號(S203);其中該第一連接信號包含一第一連接標籤; 判斷該計時單元的計時時間是否超過一第一預設時間(S204); 當該計時單元的計時時間超過一第一預設時間時,改為執行一暫時模式(S205); 在該暫時模式下,重設該計時單元的計時時間,並重新啟動該計時單元開始計時(S206); 停止廣播該第一連接信號,且改為廣播一第二連接信號(S207);其中該第二連接信號包含一第二連接標籤; 判斷是否接收到一恢復指令(S208); 當接收到該恢復指令時,改為執行該正常模式(S201); 當未接收到該恢復指令時,判斷該計時單元的計時時間是否超過一第二預設時間(S209);其中: 當該計時單元的計時時間未超過該第二預設時間時,重新廣播該第二連接信號(S207),並重新判斷是否接收到該恢復指令(S208); 當該計時單元的計時時間超過該第二預設時間時,改為執行一無人模式(S210)。Referring to FIG. 2A and FIG. 2B, according to the above, the control method of the controlled device can be sorted out, and the control method of the controlled device is performed by the controlled host, and the control method of the controlled device includes The following steps are performed: executing a normal mode (S201); in the normal mode, resetting the timing of a timing unit, and starting the timing unit to start timing (S202); broadcasting a first connection signal (S203); The first connection signal includes a first connection label; determining whether the timing time of the timing unit exceeds a first preset time (S204); when the timing time of the timing unit exceeds a first preset time, performing one Temporary mode (S205); in the temporary mode, resetting the timing of the timing unit, and restarting the timing unit to start timing (S206); stopping broadcasting the first connection signal, and broadcasting a second connection signal instead (S207); wherein the second connection signal includes a second connection tag; determining whether a resume command is received (S208); when receiving the resume command, performing the normal mode instead (S2) 01); when the recovery command is not received, determining whether the timing time of the timing unit exceeds a second preset time (S209); wherein: when the timing time of the timing unit does not exceed the second preset time, The second connection signal is rebroadcasted (S207), and it is re-determined whether the resume command is received (S208); when the timing of the timing unit exceeds the second preset time, an unmanned mode is executed instead (S210).

在本較佳實施例中,當該管控主機執行該正常模式時,該管控主機產生至少一正常模式控制信號,以分別控制至各個受控裝置的啟動狀態。而當該管控主機執行該無人模式時,該管控主機產生至少一無人模式控制信號,以分別改變各個受控裝置的啟動狀態。In the preferred embodiment, when the control host executes the normal mode, the control host generates at least one normal mode control signal to respectively control the startup states of the respective controlled devices. When the control host executes the unmanned mode, the control host generates at least one unmanned mode control signal to respectively change the startup states of the respective controlled devices.

此外,該受控裝置的管控方法進一步由該管控主機執行以下步驟: 該正常模式下,當該計時單元的計時時間未超過一第一預設時間時,重新廣播該第一連接信號(S203),並重新判斷該計時單元的計時時間是否超過該第一預設時間(S204); 在無人模式下,廣播一第三連接信號(S211),並判斷是否接收到該恢復指令(S212);其中該第三連接信號包含一第三連接標籤;其中: 當接收到該恢復指令時,接收一遙控指令(S213),並改為執行該正常模式(S201); 當未接收到該恢復指令時,重新廣播該第三連接信號(S211)。In addition, the control method of the controlled device further performs the following steps by the management host: in the normal mode, when the timing of the timing unit does not exceed a first preset time, the first connection signal is rebroadcasted (S203) And re-determining whether the timing time of the timing unit exceeds the first preset time (S204); in the unmanned mode, broadcasting a third connection signal (S211), and determining whether the recovery instruction is received (S212); The third connection signal includes a third connection label; wherein: when receiving the resume instruction, receiving a remote control command (S213), and executing the normal mode instead (S201); when the resume command is not received, The third connection signal is rebroadcasted (S211).

在本較佳實施例中,該遙控指令是由該移動裝置產生並傳送至該管控主機的。In the preferred embodiment, the remote command is generated by the mobile device and transmitted to the managed host.

進一步而言,請參閱圖3A及圖3B所示,該受控裝置的管控方法進一步由該管控主機執行一連線程序,令該管控主機與該移動裝置建立連線,且該管控主機與該移動裝置是通過握手協議建立連線的,其中該連線程序包含有以下步驟: 判斷是否需要執行一管控主機註冊程序(S301); 於需要執行該管控主機註冊程序時,執行該管控主機註冊程序(S302),以與該移動裝置建立連線,並登錄該移動裝置的一身份資訊; 於不需要執行該管控主機註冊程序時,監聽該移動裝置廣播的請求連線指令(S303); 判斷是否接收到該移動裝置廣播的請求連線指令(S304); 於接收到該移動裝置廣播的請求連線指令時,根據該移動裝置的身份資訊判斷該移動裝置廣播的請求連線指令是否通過認證(S305); 於該移動裝置廣播的請求連線指令通過認證時,與該移動裝置建立連線(S306); 啟動一連線計時單元開始計時(S307); 接收該移動裝置傳送的該恢復指令(S308); 判斷該連線計時單元的計時時間是否超過一第三預設時間(S309);其中: 於該連線計時單元的計時時間超過該第三預設時間時,中斷與該移動裝置的連線(S310),並重設該連線計時單元的計時時間(S311),且重新監聽移動裝置廣播的請求連線指令(S303),以判斷是否接收到移動裝置廣播的請求連線指令(S304); 於該連線計時單元的計時時間未超過該第三預設時間時,重新接收該移動裝置傳送的恢復指令(S308); 於未接收到該移動裝置廣播的請求連線指令,或於該移動裝置廣播的請求連線指令未通過認證時,重新監聽該移動裝置廣播的請求連線指令(S303)。Further, referring to FIG. 3A and FIG. 3B, the control method of the controlled device further performs a connection procedure by the management host, so that the management host establishes a connection with the mobile device, and the management host and the controller The mobile device establishes a connection by using a handshake protocol, where the connection program includes the following steps: determining whether a control host registration procedure needs to be executed (S301); executing the management host registration procedure when the management host registration procedure needs to be executed (S302), establishing a connection with the mobile device, and logging in an identity information of the mobile device; when the management host registration procedure is not required to be executed, listening to the request connection command broadcasted by the mobile device (S303); Receiving a request connection command broadcasted by the mobile device (S304); when receiving the request connection command broadcasted by the mobile device, determining, according to the identity information of the mobile device, whether the request connection command broadcasted by the mobile device passes the authentication ( S305); establishing a connection with the mobile device when the request connection command broadcasted by the mobile device passes the authentication (S306); The connection timing unit starts timing (S307); receiving the resume command transmitted by the mobile device (S308); determining whether the time of the connection timing unit exceeds a third preset time (S309); wherein: the connection When the timing of the timing unit exceeds the third preset time, the connection with the mobile device is interrupted (S310), and the timing of the connection timing unit is reset (S311), and the request connection of the mobile device broadcast is re-listened. An instruction (S303) to determine whether a request connection command for receiving the mobile device broadcast is received (S304); when the time counted by the connection timing unit does not exceed the third preset time, the resume command transmitted by the mobile device is re-received (S308); re-listening the request connection command broadcasted by the mobile device when the request connection command broadcasted by the mobile device is not received, or when the request connection command broadcasted by the mobile device fails the authentication (S303).

此外,請參閱圖4A及圖4B所示,該受控裝置的管控方法的連線程序的另一較佳實施例包含有以下步驟: 判斷是否需要執行一管控主機註冊程序(S401); 於需要執行該管控主機註冊程序時,執行該管控主機註冊程序(S402),以與該移動裝置建立連線,並登錄該移動裝置的一身份資訊; 於不需要執行該管控主機註冊程序時,監聽該移動裝置廣播的請求連線指令(S403),並判斷是否接收到該移動裝置廣播的請求連線指令(S404); 於接收到該移動裝置廣播的請求連線指令時,根據該移動裝置的身份資訊判斷該移動裝置廣播的請求連線指令是否通過認證(S405); 於該移動裝置廣播的請求連線指令通過認證時,與該移動裝置建立連線(S406)後,產生該恢復指令(S407),且中斷與該移動裝置的連線(S408)後,重新監聽該移動裝置廣播的請求連線指令(S403),以判斷是否接收到該移動裝置廣播的請求連線指令(S404); 於未接收到該移動裝置廣播的請求連線指令,或於該移動裝置廣播的請求連線指令未通過認證時,重新監聽該移動裝置廣播的請求連線指令(S403)。In addition, referring to FIG. 4A and FIG. 4B, another preferred embodiment of the connection procedure of the control method of the controlled device includes the following steps: determining whether a control host registration procedure needs to be executed (S401); When the management host registration procedure is executed, the management host registration procedure is executed (S402) to establish a connection with the mobile device, and log in an identity information of the mobile device; when the management host registration procedure is not required to be performed, the device is monitored. The mobile device broadcasts a request connection command (S403), and determines whether a request connection command broadcasted by the mobile device is received (S404); when receiving the request connection command broadcasted by the mobile device, according to the identity of the mobile device The information determines whether the request connection command broadcasted by the mobile device passes the authentication (S405); when the request connection connection command broadcasted by the mobile device passes the authentication, the connection is established with the mobile device (S406), and the resume command is generated (S407) After interrupting the connection with the mobile device (S408), re-listening the request connection command broadcasted by the mobile device (S403) to determine whether the shift is received. a request connection command broadcasted by the device (S404); re-listening the request for the mobile device broadcast when the request connection command broadcasted by the mobile device is not received, or when the request connection command broadcasted by the mobile device fails the authentication Line command (S403).

在本較佳實施例中,該恢復指令是由該管控主機自行產生的,如此一來,只要該管控主機與該移動裝置建立連線後,該管控主機無需接收該移動裝置傳送的恢復指令,即可根據自行產生的恢復指令進而停止執行該無人模式,改為執行該正常模式,藉此達到快速切換模式的目的。In the preferred embodiment, the recovery command is generated by the management host, so that the management host does not need to receive the recovery instruction transmitted by the mobile device after the management host establishes a connection with the mobile device. The unmanned mode can be stopped according to the self-generated recovery instruction, and the normal mode is executed instead, thereby achieving the purpose of fast switching mode.

進一步而言,請參閱圖5所示,該管控主機執行的該管控主機註冊程序係的較佳實施例包含有以下步驟: 關閉一白名單(S501); 重設該計時單元的計時時間(S502); 啟動該計時單元開始計時(S503); 廣播一開放註冊信號(S504);其中該開放註冊信號包含一開放註冊標籤; 判斷是否與該移動裝置連線(S505); 當與該移動裝置連線時,判斷是否接收到該移動裝置傳送的一註冊成功指令(S506); 當接收到該移動裝置傳送的註冊成功指令時,註冊該移動裝置(S507),且將該移動裝置加入該白名單後(S508),開啟該白名單(S509)後,並結束該管控主機註冊程序(S510); 當未與該移動裝置連線時,判斷該連線記時單元的計時時間是否超過一第四預設時間(S5051); 當該連線記時單元的計時時間超過該第四預設時間時,開啟該白名單(S509),並結束該管控主機註冊程序(S510); 當該連線記時單元的計時時間未超過該第四預設時間時,重新廣播該開放註冊信號(S504)。Further, referring to FIG. 5, the preferred embodiment of the management host registration procedure executed by the management host includes the following steps: closing a white list (S501); resetting the timing of the timing unit (S502) Starting the timing unit to start timing (S503); broadcasting an open registration signal (S504); wherein the open registration signal includes an open registration label; determining whether to connect with the mobile device (S505); when connected to the mobile device At the time of the line, determining whether a registration success command transmitted by the mobile device is received (S506); when receiving the registration success command transmitted by the mobile device, registering the mobile device (S507), and adding the mobile device to the whitelist After (S508), the whitelist is opened (S509), and the management host registration procedure is terminated (S510); when not connected to the mobile device, it is determined whether the timing of the connection timing unit exceeds a fourth a preset time (S5051); when the timing of the connection timekeeping unit exceeds the fourth preset time, the whitelist is turned on (S509), and the management host registration procedure is ended (S510); when the connection is When the timing of the fourth time unit does not exceed the preset time, re-broadcast of the open enrollment signal (S504).

此外,請參閱圖6A及6B所示,該移動裝置執行的該管控程序的一較佳實施例包含有以下步驟: 判斷是否需執行一移動裝置註冊程序(S601); 於需要執行該移動裝置註冊程序時,執行該移動裝置註冊程序(S602),以與該管控主機建立連線,並登錄該管控主機的一身份資訊; 於不需要執行該移動裝置註冊程序時,判斷是否產生一啟動指令(S603); 於產生該啟動指令時,判斷是否接收到該管控主機廣播的一第二連接信號(S604); 於接收到該管控主機廣播的該第二連接信號時,根據該管控主機的身份資訊判斷該第二連接信號是否通過認證(S605); 於該第二連接信號通過認證時,根據一環境資訊判斷是否符合一環境條件(S606); 當符合該環境條件時,廣播該請求連線指令(S607),並與管控主機連線(S608),且判斷是否與該管控主機連線成功(S609); 當與該管控主機連線成功時,傳送一恢復指令至該管控主機(S610)後,結束與該管控主機的連線(S611); 當與該管控主機連線不成功時,重新判斷是否產生該啟動指令(S603); 於未產生該啟動指令時,重新判斷是否產生該啟動指令(S603); 於該第二連接信號未通過認證時,重新判斷是否產生該啟動指令(S603); 當不符合該環境條件時,重新判斷是否產生該啟動指令(S603); 於未接收到該管控主機廣播的該第二連接信號時,判斷是否接收到一第三連接信號(S6041); 於接收到該管控主機廣播的該第三連接信號時,根據該管控主機的身份資訊判斷該第三連接信號是否通過認證(S6042); 於該第三連接信號通過認證時,根據該環境資訊判斷是否符合該環境條件(S6043); 當符合該環境條件時,廣播該請求連線指令(S6044),並與管控主機連線(S6045),且判斷是否與該管控主機連線成功(S6046); 當與該管控主機連線成功時,傳送一恢復指令及一遙控指令至該管控主機(S6047)後,結束與該管控主機的連線(S6048); 當未接收到該管控主機廣播的該第三連接信號時,重新判斷是否產生該啟動指令(S603); 當該第三連接信號未通過認證時,重新判斷是否產生該啟動指令(S603); 當不符合該環境條件時,重新判斷是否產生該啟動指令(S603); 當與該管控主機連線不成功時,重新判斷是否產生該啟動指令(S603)。In addition, referring to FIG. 6A and FIG. 6B, a preferred embodiment of the management program executed by the mobile device includes the following steps: determining whether a mobile device registration procedure needs to be performed (S601); performing the mobile device registration as needed During the program, the mobile device registration program is executed (S602) to establish a connection with the management host and log in an identity information of the management host; when it is not necessary to execute the mobile device registration program, determine whether a startup command is generated ( S603); when the startup command is generated, determining whether a second connection signal broadcast by the management host is received (S604); and when receiving the second connection signal broadcast by the management host, according to the identity information of the management host Determining whether the second connection signal passes the authentication (S605); when the second connection signal passes the authentication, determining whether the environmental condition is met according to an environmental information (S606); when the environmental condition is met, broadcasting the request connection instruction (S607), and is connected to the control host (S608), and determines whether the connection with the control host is successful (S609); when the connection with the control host is successful After transmitting a resume command to the control host (S610), ending the connection with the control host (S611); when the connection with the control host is unsuccessful, re-determine whether the start command is generated (S603); When the startup command is generated, it is determined whether the startup command is generated (S603); when the second connection signal fails to pass the authentication, it is determined whether the startup command is generated (S603); when the environmental condition is not met, Generating the startup command (S603); determining, when the second connection signal broadcasted by the management host is not received, determining whether a third connection signal is received (S6041); receiving the third connection signal broadcast by the control host And determining, according to the identity information of the management host, whether the third connection signal passes the authentication (S6042); when the third connection signal passes the authentication, determining whether the environmental condition is met according to the environmental information (S6043); when the environment is met When the condition is met, the request connection command is broadcasted (S6044), and is connected to the control host (S6045), and it is determined whether the connection with the control host is successful (S6046); When the host connection is successful, after transmitting a resume command and a remote control command to the control host (S6047), the connection with the control host is terminated (S6048); when the third connection signal broadcast by the control host is not received Re-determining whether the start command is generated (S603); when the third connection signal fails to pass the authentication, re-determining whether the start command is generated (S603); when the environmental condition is not met, re-determining whether the start command is generated ( S603); when the connection with the management host is unsuccessful, it is re-determined whether the startup command is generated (S603).

進一步而言,請參閱圖7A及圖7B所示,該移動裝置註冊程序係包含有以下子步驟: 啟動一移動裝置計時單元開始計時(S701); 判斷該移動裝置計時單元的計時時間是否超過一第五預設時間(S702); 當該移動裝置的計時單元的計時時間未超過該第五預設時間時,判斷是否接收到該管控主機廣播的開放註冊信號(S703); 當接收到該管控主機廣播的開放註冊信號時,判斷該管控主機是否不在一註冊名單(S704); 當該管控主機不在該註冊名單時,判斷一環境資訊是否符合一環境條件(S705); 當該環境資訊符合該環境條件時,與該管控主機建立連線(S706),並判斷是否與該管控主機連線成功(S707); 當與該管控主機連線成功時,註冊該管控主機(S708),並判斷是否成功註冊該管控主機(S709); 當成功註冊該管控主機時,將該管控主機加入該註冊名單(S710),並傳送該註冊成功指令(S711)後,結束與該管控主機的連線(S712),且結束該移動裝置註冊程序(S713); 當該移動裝置的計時單元的計時時間超過該第五預設時間時,結束該移動裝置註冊程序(S713); 當未接收到該管控主機廣播的開放註冊信號時,重新判斷該移動裝置計時單元的計時時間是否超過一第五預設時間(S702); 當該管控主機在該註冊名單時,重新判斷該移動裝置計時單元的計時時間是否超過一第五預設時間(S702); 當該環境資訊不符合該環境條件時,重新判斷該移動裝置計時單元的計時時間是否超過該第五預設時間(S702); 當未與該管控主機連線成功時,結束該移動裝置註冊程序(S713); 當未成功註冊該管控主機時,結束與該管控主機的連線(S712),且結束該移動裝置註冊程序(S713)。Further, referring to FIG. 7A and FIG. 7B, the mobile device registration procedure includes the following sub-steps: starting a mobile device timing unit to start timing (S701); determining whether the mobile device timing unit has a timing time exceeding one. a fifth preset time (S702); when the timing of the timing unit of the mobile device does not exceed the fifth preset time, determining whether an open registration signal broadcast by the control host is received (S703); when the control is received When the host broadcasts the open registration signal, it is determined whether the management host is not in the registration list (S704); when the management host is not in the registration list, it is determined whether an environmental information conforms to an environmental condition (S705); when the environmental information conforms to the In the environmental condition, the connection is established with the control host (S706), and it is determined whether the connection with the management host is successful (S707); when the connection with the management host is successful, the management host is registered (S708), and it is determined whether The management host is successfully registered (S709); when the management host is successfully registered, the management host is added to the registration list (S710), and the registration is successfully transmitted. After the command (S711), the connection with the control host is ended (S712), and the mobile device registration procedure is ended (S713); when the timing of the timing unit of the mobile device exceeds the fifth preset time, the end is ended. a mobile device registration program (S713); when the open registration signal broadcasted by the management host is not received, re-determining whether the time counted by the mobile device timing unit exceeds a fifth preset time (S702); when the management host is in the When registering the list, re-determine whether the timing time of the mobile device timing unit exceeds a fifth preset time (S702); when the environmental information does not meet the environmental condition, re-determine whether the timing time of the mobile device timing unit exceeds the a fifth preset time (S702); when the connection with the management host is not successful, ending the mobile device registration procedure (S713); when the management host is not successfully registered, ending the connection with the management host (S712) And the mobile device registration procedure is ended (S713).

在該受控裝置的管控方法的另一較佳實施例中,該管控主機在執行該暫時模式下廣播的第二連接信號與在執行該無人模式下廣播的第三連接信號相同。以下為該管控主機在執行該無人模式下廣播第二連線信號代替第三連線信號之說明。In another preferred embodiment of the control method of the controlled device, the second connection signal broadcast by the control host in performing the temporary mode is the same as the third connection signal broadcasted in the execution of the unmanned mode. The following is an explanation of the control host broadcasting the second connection signal instead of the third connection signal in the unmanned mode.

請參閱圖8A及8B所示,如上所述,在該受控裝置的管控方法另一較佳實施例中,包含有以下步驟: 執行一正常模式(S801); 在該正常模式下,重設一計時單元的計時時間,並啟動該計時單元開始計時(S802); 廣播一第一連接信號(S803);其中該第一連接信號包含一第一連接標籤; 判斷該計時單元的計時時間是否超過一第一預設時間(S804); 當該計時單元的計時時間超過一第一預設時間時,改為執行一暫時模式(S805); 在該暫時模式下,重設該計時單元的計時時間,並重新啟動該計時單元開始計時(S806); 停止廣播該第一連接信號,且改為廣播一第二連接信號(S807);其中該第二連接信號包含一第二連接標籤; 判斷是否接收到一恢復指令(S808); 當接收到該恢復指令時,改為執行該正常模式(S801); 當未接收到該恢復指令時,判斷該計時單元的計時時間是否超過一第二預設時間(S809);其中: 當該計時單元的計時時間未超過該第二預設時間時,重新廣播該第二連接信號(S807),並重新判斷是否接收到該恢復指令(S808); 當該計時單元的計時時間超過該第二預設時間時,改為執行一無人模式(S810); 該正常模式下,當該計時單元的計時時間未超過一第一預設時間時,重新廣播該第一連接信號(S803),並重新判斷該計時單元的計時時間是否超過該第一預設時間(S804); 在無人模式下,廣播該第二連接信號(S811),並判斷是否接收到該恢復指令(S812);其中: 當接收到該恢復指令時,傳送一已重置信號至該移動裝置,並接收一遙控指令(S813)後,改為執行該正常模式(S801); 當未接收到該恢復指令時,重新廣播該第二連接信號(S811)。Referring to FIGS. 8A and 8B, as described above, in another preferred embodiment of the control method of the controlled device, the following steps are included: performing a normal mode (S801); in the normal mode, resetting Counting time of a timing unit, and starting the timing unit to start timing (S802); broadcasting a first connection signal (S803); wherein the first connection signal includes a first connection label; determining whether the timing time of the timing unit exceeds a first preset time (S804); when the timing of the timing unit exceeds a first preset time, a temporary mode is executed instead (S805); in the temporary mode, the timing of the timing unit is reset And restarting the timing unit to start timing (S806); stopping broadcasting the first connection signal, and broadcasting a second connection signal (S807); wherein the second connection signal includes a second connection label; determining whether to receive Go to a resume command (S808); when the resume command is received, the normal mode is executed instead (S801); when the resume command is not received, it is determined whether the time of the timing unit exceeds a second preset time (S809); wherein: when the timing time of the timing unit does not exceed the second preset time, re-broadcasting the second connection signal (S807), and re-determining whether the recovery instruction is received (S808) When the timing of the timing unit exceeds the second preset time, an unmanned mode is executed (S810); in the normal mode, when the timing of the timing unit does not exceed a first preset time, Re-broadcasting the first connection signal (S803), and re-determining whether the timing time of the timing unit exceeds the first preset time (S804); in the unmanned mode, broadcasting the second connection signal (S811), and determining whether Receiving the resume command (S812); wherein: when receiving the resume command, transmitting a reset signal to the mobile device, and receiving a remote command (S813), the normal mode is executed instead (S801); When the resume command is not received, the second connection signal is rebroadcasted (S811).

在本較佳實施例中,該恢復指令及該遙控指令是由該移動裝置產生並傳送至該管控主機的。In the preferred embodiment, the resume command and the remote command are generated by the mobile device and transmitted to the control host.

此外,該移動裝置執行的該管控程序的另一較佳實施例係對應該受控裝置的管控方法另一較佳實施例執行。請參閱圖9A及9B所示,該移動裝置執行的該管控程序的另一較佳實施例包含有以下步驟: 判斷是否需執行一移動裝置註冊程序(S901); 於需要執行該移動裝置註冊程序時,執行該移動裝置註冊程序(S902),以與該管控主機建立連線,並登錄該管控主機的一身份資訊; 於不需要執行該移動裝置註冊程序時,判斷是否產生一啟動指令(S903); 於產生該啟動指令時,判斷是否接收到該管控主機廣播的一第二連接信號(S904); 於接收到該管控主機廣播的該第二連接信號時,根據該管控主機的身份資訊判斷該第二連接信號是否通過認證(S905); 於該第二連接信號通過認證時,根據一環境資訊判斷是否符合一環境條件(S906); 當符合該環境條件時,廣播該請求連線指令(S907),並與管控主機連線(S908),且判斷是否與該管控主機連線成功(S909); 當與該管控主機連線成功時,傳送一恢復指令至該管控主機(S910)後,判斷是否接收到該已重置信號(S911); 當接收到該已重置信號時,傳送該遙控指令至該管控主機(S912),並結束與該管控主機的連線(S913); 當未接收到該已重置信號時,結束與該管控主機的連線(S913); 當未產生該啟動指令時,重新判斷是否產生該啟動指令(S903); 於未接收到該第二連接信號時,重新判斷是否產生該啟動指令(S903); 當該第二連接信號未通過認證時,重新判斷是否產生該啟動指令(S903); 當不符合該環境條件時,重新判斷是否產生該啟動指令(S903); 當與該管控主機連線不成功時,重新判斷是否產生該啟動指令(S903)。Moreover, another preferred embodiment of the management program executed by the mobile device is performed in accordance with another preferred embodiment of the management method of the controlled device. Referring to FIG. 9A and FIG. 9B, another preferred embodiment of the management program executed by the mobile device includes the following steps: determining whether a mobile device registration procedure needs to be performed (S901); and executing the mobile device registration procedure And executing the mobile device registration procedure (S902) to establish a connection with the management host and log in an identity information of the management host; when it is not necessary to execute the mobile device registration procedure, determine whether a startup command is generated (S903) When the startup command is generated, determining whether a second connection signal broadcasted by the management host is received (S904); when receiving the second connection signal broadcast by the management host, determining according to the identity information of the management host Whether the second connection signal passes the authentication (S905); when the second connection signal passes the authentication, determining whether the environmental condition is met according to an environmental information (S906); when the environmental condition is met, broadcasting the request connection instruction ( S907), and is connected to the control host (S908), and determines whether the connection with the control host is successful (S909); when the connection with the control host is successful, After sending a resume command to the control host (S910), determining whether the reset signal is received (S911); when receiving the reset signal, transmitting the remote command to the control host (S912), and ending Connecting with the control host (S913); when the reset signal is not received, ending the connection with the control host (S913); when the start command is not generated, re-determining whether the start command is generated ( S903); re-determining whether the start command is generated when the second connection signal is not received (S903); when the second connection signal fails to pass the authentication, re-determining whether the start command is generated (S903); In the environmental condition, it is determined whether the startup command is generated (S903); when the connection with the management host is unsuccessful, it is re-determined whether the startup command is generated (S903).

以上所述僅是本發明的較佳實施例而已,並非對本發明做任何形式上的限制,雖然本發明已以較佳實施例揭露如上,然而並非用以限定本發明,任何熟悉本專業的技術人員,在不脫離本發明技術方案的範圍內,當可利用上述揭示的技術內容作出些許更動或修飾為等同變化的等效實施例,但凡是未脫離本發明技術方案的內容,依據本發明的技術實質對以上實施例所作的任何簡單修改、等同變化與修飾,均仍屬於本發明技術方案的範圍內。The above is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Although the present invention has been disclosed in the above preferred embodiments, it is not intended to limit the present invention. A person skilled in the art can make some modifications or modifications to equivalent embodiments by using the above-disclosed technical contents without departing from the technical scope of the present invention. It is still within the scope of the technical solution of the present invention to make any simple modifications, equivalent changes and modifications to the above embodiments.

11、11A、11B‧‧‧移動裝置11, 11A, 11B‧‧‧ mobile devices

12‧‧‧管控主機12‧‧‧Control host

121‧‧‧計時單元121‧‧‧Time unit

122‧‧‧連線計時單元122‧‧‧Connected timing unit

13‧‧‧受控裝置13‧‧‧Controlled device

圖1係本發明受控裝置的管控系統較佳實施例之方塊示意圖。 圖2A、圖2B係本發明受控裝置的管控方法較佳實施例之流程示意圖。 圖3A、圖3B係本發明受控裝置的管控方法的連線程序的較佳實施例之流程示意圖。 圖4A、圖4B係本發明受控裝置的管控方法的連線程序的另一較佳實施例之流程示意圖。 圖5係本發明受控裝置的管控方法的管控主機註冊程序之流程示意圖。 圖6A、圖6B係本發明受控裝置的管控系統的移動裝置所執行的管控程序的較佳實施例之流程示意圖。 圖7A、圖7B係本發明受控裝置的管控系統的移動裝置所執行的移動裝置註冊程序之流程示意圖。 圖8A、圖8B係本發明受控裝置的管控方法另一較佳實施例之流程示意圖。 圖9A、圖9B係本發明受控裝置的管控系統的移動裝置所執行的管控程序的另一較佳實施例之流程示意圖。BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram showing a preferred embodiment of a control system for a controlled device of the present invention. 2A and 2B are schematic flow charts showing a preferred embodiment of a control method for a controlled device of the present invention. 3A and 3B are schematic flow charts showing a preferred embodiment of a connection procedure of a control method for a controlled device of the present invention. 4A and 4B are schematic flow charts showing another preferred embodiment of a connection procedure of the control method of the controlled device of the present invention. FIG. 5 is a schematic flow chart of a control host registration procedure of the control method of the controlled device of the present invention. 6A and 6B are schematic flow charts showing a preferred embodiment of a control program executed by a mobile device of a control system of a controlled device of the present invention. 7A and FIG. 7B are schematic diagrams showing the flow of a mobile device registration procedure performed by a mobile device of a control system of a controlled device of the present invention. 8A and 8B are schematic flow charts showing another preferred embodiment of the control method of the controlled device of the present invention. 9A and 9B are schematic flow charts showing another preferred embodiment of a control program executed by the mobile device of the control system of the controlled device of the present invention.

Claims (16)

一種受控裝置的管控方法,由一管控主機所執行,包含有以下步驟:執行一正常模式;在該正常模式下,重設一計時單元的計時時間,並啟動一計時單元開始計時;廣播一第一連接信號;其中該第一連接信號包含一第一連接標籤;判斷該計時單元的計時時間是否超過一第一預設時間;當該計時單元的計時時間超過該第一預設時間時,改為執行一暫時模式;在該暫時模式下,重設該計時單元的計時時間,並重新啟動該計時單元開始計時;在該暫時模式下,停止廣播該第一連接信號,且改為廣播一第二連接信號;其中該第二連接信號包含一第二連接標籤;判斷是否接收到一移動裝置傳送的一恢復指令;其中:當接收到該移動裝置傳送的恢復指令時,改為執行該正常模式;當未接收到該移動裝置傳送的恢復指令時,判斷該計時單元的計時時間是否超過一第二預設時間;其中:當該計時單元的計時時間未超過該第二預設時間時,重新廣播該第二連接信號,並重新判斷是否接收到該恢復指令;當該計時單元的計時時間超過該第二預設時間時,改為執行一無人模式;其中在該正常模式下,產生至少一正常模式控制信號,以控制至少一受控裝置的啟動狀態;在該無人模式下,產生至少一無人模式控制信號,以改變該受控裝置的啟動狀態; 其中在該正常模式下,當該計時單元的計時時間未超過該第一預設時間時,重新廣播該第一連接信號,並重新判斷該計時單元的計時時間是否超過該第一預設時間;其中在無人模式下,廣播一第三連接信號,並判斷是否接收到該恢復指令;其中該第三連接信號包含一第三連接標籤;其中:當接收到該恢復指令時,改為執行該正常模式;當未接收到該恢復指令時,重新廣播該第三連接信號。 A control method for a controlled device is executed by a control host, and includes the following steps: executing a normal mode; in the normal mode, resetting a timing time of a timing unit, and starting a timing unit to start timing; broadcasting one a first connection signal, wherein the first connection signal includes a first connection label; determining whether the timing time of the timing unit exceeds a first preset time; when the timing time of the timing unit exceeds the first preset time, Switching to a temporary mode; in the temporary mode, resetting the timing of the timing unit, and restarting the timing unit to start timing; in the temporary mode, stopping broadcasting the first connection signal, and changing to broadcast one a second connection signal; wherein the second connection signal includes a second connection tag; determining whether a resume command transmitted by the mobile device is received; wherein: when receiving the resume command transmitted by the mobile device, performing the normal Mode; when the recovery instruction transmitted by the mobile device is not received, determining whether the timing time of the timing unit exceeds one a preset time; wherein: when the timing of the timing unit does not exceed the second preset time, re-broadcasting the second connection signal, and re-determining whether the recovery instruction is received; when the timing of the timing unit exceeds In the second preset time, an unmanned mode is executed instead; wherein in the normal mode, at least one normal mode control signal is generated to control an activated state of the at least one controlled device; in the unmanned mode, at least one is generated An unmanned mode control signal to change the startup state of the controlled device; In the normal mode, when the timing of the timing unit does not exceed the first preset time, re-broadcast the first connection signal, and re-determine whether the timing time of the timing unit exceeds the first preset time; In the unmanned mode, a third connection signal is broadcasted, and it is determined whether the recovery command is received; wherein the third connection signal includes a third connection label; wherein: when the recovery instruction is received, the normal operation is performed instead Mode; re-broadcasting the third connection signal when the resume command is not received. 如請求項1所述之受控裝置的管控方法,其中在無人模式下,廣播該第二連接信號,並判斷是否接收到該恢復指令;其中:當接收到該恢復指令時,傳送一已重置信號至該移動裝置,改為執行該正常模式;當未接收到該恢復指令時,重新廣播該第二連接信號。 The control method of the controlled device according to claim 1, wherein in the unmanned mode, the second connection signal is broadcasted, and it is determined whether the recovery instruction is received; wherein: when the recovery instruction is received, the transmission is heavy The signal is sent to the mobile device to perform the normal mode instead; when the resume command is not received, the second connection signal is rebroadcasted. 如請求項2所述之受控裝置的管控方法,進一步包含有一連線程序,其中該連線程序包含有以下步驟:判斷是否需要執行一管控主機註冊程序;於需要執行該管控主機註冊程序時,執行該管控主機註冊程序,以與該移動裝置建立連線,並登錄該移動裝置的一身份資訊;於不需要執行該管控主機註冊程序時,監聽該移動裝置廣播的請求連線指令;判斷是否接收到該移動裝置廣播的請求連線指令;於接收到該移動裝置廣播的請求連線指令時,根據該移動裝置的身份資訊判斷該移動裝置廣播的請求連線指令是否通過認證;於未接收到該移動裝置廣播的請求連線指令,或於該移動裝置廣播的請求連線指令未通過認證時,重新監聽該移動裝置廣播的請求連線指令; 於該移動裝置廣播的請求連線指令通過認證時,與該移動裝置建立連線,並接收該移動裝置傳送的恢復指令。 The control method of the controlled device according to claim 2, further comprising a connection procedure, wherein the connection procedure comprises the following steps: determining whether a control host registration procedure needs to be executed; when the management host registration procedure needs to be executed Executing the management host registration procedure to establish a connection with the mobile device and logging in an identity information of the mobile device; when the management host registration procedure is not required to be executed, listening to the request connection command broadcasted by the mobile device; Receiving a request connection command broadcasted by the mobile device; determining, when receiving the request connection command broadcasted by the mobile device, whether the request connection command broadcasted by the mobile device passes the authentication according to the identity information of the mobile device; Receiving a request connection command broadcasted by the mobile device, or re-listening the request connection command broadcasted by the mobile device when the request connection command broadcasted by the mobile device fails to pass the authentication; When the request connection command broadcasted by the mobile device passes the authentication, a connection is established with the mobile device, and a resume command transmitted by the mobile device is received. 如請求項2所述之受控裝置的管控方法,進一步包含有一連線程序,其中該連線程序包含有以下步驟:判斷是否需要執行一管控主機註冊程序;於需要執行該管控主機註冊程序時,執行該管控主機註冊程序,以與該移動裝置建立連線,並登錄該移動裝置的一身份資訊;於不需要執行該管控主機註冊程序時,監聽該移動裝置廣播的請求連線指令;判斷是否接收到該移動裝置廣播的請求連線指令;於接收到該移動裝置廣播的請求連線指令時,根據該移動裝置的身份資訊判斷該移動裝置廣播的請求連線指令是否通過認證;於未接收到該移動裝置廣播的請求連線指令,或於該移動裝置廣播的請求連線指令未通過認證時,重新監聽該移動裝置廣播的請求連線指令;於該移動裝置廣播的請求連線指令通過認證時,與該移動裝置建立連線後,產生該恢復指令,且中斷與該移動裝置的連線後,重新監聽該移動裝置廣播的請求連線指令,以判斷是否接收到該移動裝置廣播的請求連線指令。 The control method of the controlled device according to claim 2, further comprising a connection procedure, wherein the connection procedure comprises the following steps: determining whether a control host registration procedure needs to be executed; when the management host registration procedure needs to be executed Executing the management host registration procedure to establish a connection with the mobile device and logging in an identity information of the mobile device; when the management host registration procedure is not required to be executed, listening to the request connection command broadcasted by the mobile device; Receiving a request connection command broadcasted by the mobile device; determining, when receiving the request connection command broadcasted by the mobile device, whether the request connection command broadcasted by the mobile device passes the authentication according to the identity information of the mobile device; Receiving a request connection command broadcasted by the mobile device, or re-listening a request connection command broadcasted by the mobile device when the request connection command broadcasted by the mobile device fails to pass the authentication; request connection connection command broadcasted by the mobile device When the authentication is established, after the connection with the mobile device is established, the recovery instruction is generated, and the middle After disconnecting from the mobile device, the request connection command broadcasted by the mobile device is re-listed to determine whether the request connection command broadcasted by the mobile device is received. 一種受控裝置的管控系統,包含有:至少一移動裝置;一管控主機,包含有一計時單元,且執行一正常模式;其中當該管控主機執行該正常模式時,該管控主機重設該計時單元的計時時間,並啟動該計時單元開始計時,且廣播一第一連接信號,該管控主機進一步判斷該計時單元的計時時間是否超過一第一預設時間,且當該管控主機判斷 該計時單元的計時時間超過該第一預設時間時,改為執行一暫時模式;其中該第一連接信號包含一第一連接標籤;其中當該管控主機執行該暫時模式時,該管控主機重設該計時單元的計時時間,並重新啟動該計時單元開始計時,且該管控主機停止廣播該第一連接信號,並廣播一第二連接信號,且該管控主機進一步判斷是否接收到該移動裝置傳送的一恢復指令;其中該第二連接信號包含一第二連接標籤;其中該管控主機於執行該暫時模式時,且於接收到該移動裝置傳送的恢復指令時,該管控主機改為執行該正常模式;其中該管控主機於執行該暫時模式時,且於未接收到該移動裝置傳送的恢復指令時,該管控主機判斷該計時單元的計時時間是否超過一第二預設時間;其中當該管控主機執行該暫時模式時,且當該管控主機判斷該計時單元的計時時間未超過該第二預設時間時,該管控主機重新廣播該第二連接信號,並重新判斷是否接收到該移動裝置傳送的恢復指令;當該管控主機執行該暫時模式時,且當該管控主機判斷該計時單元的計時時間超過該第二預設時間時,該管控主機改為執行一無人模式;其中當該管控主機執行該正常模式時,該管控主機產生至少一正常模式控制信號,以控制至少一受控裝置的啟動狀態;當該管控主機執行該無人模式時,該管控主機產生至少一無人模式控制信號,以改變該受控裝置的啟動狀態;其中當該管控主機執行該正常模式時,且當該管控主機判斷該計時單元的計時時間未超過該第一預設時間時,該管控主機重新廣播該第一連接信號,並重新判斷該計時單元的計時時間是否超過該第一預設時間;其中: 當該管控主機執行該無人模式時,該管控主機廣播一第三連接信號,並判斷是否接收到該恢復指令;其中該第三連接信號包含一第三連接標籤;當該管控主機執行該無人模式時,且當該管控主機接收到該恢復指令時,改為執行該正常模式;當該管控主機執行該無人模式時,且當該管控主機未接收到該恢復指令時,該管控主機重新廣播該第三連接信號。 A control device control system includes: at least one mobile device; a control host, including a timing unit, and performing a normal mode; wherein when the control host executes the normal mode, the control host resets the timing unit Timing time, and starting the timing unit to start timing, and broadcasting a first connection signal, the control host further determining whether the timing time of the timing unit exceeds a first preset time, and when the control host determines When the timing of the timing unit exceeds the first preset time, a temporary mode is executed; wherein the first connection signal includes a first connection label; wherein when the management host executes the temporary mode, the management host weight Setting a timing time of the timing unit, and restarting the timing unit to start timing, and the control host stops broadcasting the first connection signal, and broadcasts a second connection signal, and the management host further determines whether the mobile device is received or not. a recovery command; wherein the second connection signal includes a second connection label; wherein the management host performs the temporary mode, and upon receiving the recovery instruction transmitted by the mobile device, the management host performs the normal a mode; wherein the control host performs the temporary mode, and when the recovery command transmitted by the mobile device is not received, the control host determines whether the time of the timing unit exceeds a second preset time; wherein the control When the host performs the temporary mode, and when the control host determines that the timing of the timing unit is not exceeded During the second preset time, the control host rebroadcasts the second connection signal, and re-determines whether a recovery command transmitted by the mobile device is received; when the management host executes the temporary mode, and when the management host determines the When the timing of the timing unit exceeds the second preset time, the management host performs an unmanned mode instead; wherein when the management host executes the normal mode, the management host generates at least one normal mode control signal to control at least one a startup state of the controlled device; when the management host performs the unmanned mode, the management host generates at least one unmanned mode control signal to change an activation state of the controlled device; wherein when the management host performs the normal mode, and When the control host determines that the timing of the timing unit does not exceed the first preset time, the control host re-broadcasts the first connection signal, and re-determines whether the timing of the timing unit exceeds the first preset time; among them: When the control host performs the unmanned mode, the control host broadcasts a third connection signal and determines whether the recovery command is received; wherein the third connection signal includes a third connection label; when the management host executes the unattended mode And when the management host receives the resume instruction, the normal mode is executed instead; when the management host executes the unattended mode, and when the management host does not receive the resume instruction, the management host rebroadcasts the The third connection signal. 如請求項5所述之受控裝置的管控系統,其中:該管控主機進一步執行一連線程序;當該管控主機執行該連線程序時,該管控主機判斷是否需要執行一管控主機註冊程序,且該管控主機於需要執行該管控主機註冊程序時,該管控主機執行該管控主機註冊程序,以與該移動裝置建立連線,並登錄該移動裝置的一身份資訊;該管控主機於不需要執行該管控主機註冊程序時,該管控主機監聽該移動裝置廣播的請求連線指令,並判斷是否接收到該移動裝置廣播的請求連線指令;該管控主機於接收到該移動裝置廣播的請求連線指令時,該管控主機進一步根據該移動裝置的身份資訊判斷該移動裝置廣播的請求連線指令是否通過認證;該管控主機於判斷該移動裝置廣播的請求連線指令通過認證時,該管控主機與該移動裝置建立連線,並接收該移動裝置傳送的該恢復指令。 The control system of the controlled device according to claim 5, wherein: the management host further performs a connection procedure; when the management host executes the connection procedure, the management host determines whether a management host registration procedure needs to be executed, When the management host needs to execute the management host registration procedure, the management host executes the management host registration procedure to establish a connection with the mobile device and log in an identity information of the mobile device; the management host does not need to execute When the management host registers the program, the management host listens to the request connection command broadcasted by the mobile device, and determines whether the request connection command broadcasted by the mobile device is received; the management host receives the request connection of the mobile device broadcast. When the command is received, the control host further determines, according to the identity information of the mobile device, whether the request connection command broadcasted by the mobile device is authenticated; and the control host determines that the request connection command broadcasted by the mobile device passes the authentication, the control host and the control host The mobile device establishes a connection and receives the recovery transmitted by the mobile device instruction. 如請求項6所述之受控裝置的管控系統,其中當該管控主機執行該連線程序,且當該管控主機與該移動裝置建立連線後,該管控主機先啟動一連線計時單元開始計時後,接收該移動裝置傳送的恢復指令,並判斷該連線計時單元的計時時間是否超過一第三預設時間; 該管控主機於該連線計時單元的計時時間超過該第三預設時間時,該管控主機中斷與該移動裝置的連線,並重設該連線計時單元的計時時間。 The control system of the controlled device according to claim 6, wherein when the management host executes the connection procedure, and after the management host establishes a connection with the mobile device, the management host starts a connection timing unit first. After timing, receiving a resume command transmitted by the mobile device, and determining whether the time of the connection timing unit exceeds a third preset time; When the timing of the connection timing unit exceeds the third preset time, the control host interrupts the connection with the mobile device and resets the timing of the connection timing unit. 如請求項5所述之受控裝置的管控系統,其中:該管控主機進一步執行一連線程序;當該管控主機執行該連線程序時,該管控主機判斷是否需要執行一管控主機註冊程序,且該管控主機於需要執行該管控主機註冊程序時,該管控主機執行該管控主機註冊程序,以與該移動裝置建立連線,並登錄該移動裝置的一身份資訊;該管控主機於不需要執行該管控主機註冊程序時,該管控主機監聽該移動裝置廣播的請求連線指令,且該管控主機判斷是否接收到該移動裝置廣播的請求連線指令;該管控主機於接收到該移動裝置廣播的請求連線指令時,該管控主機根據該移動裝置的身份資訊判斷該移動裝置廣播的請求連線指令是否通過認證;該管控主機於該移動裝置廣播的請求連線指令通過認證時,該管控主機與該移動裝置建立連線,且該管控主機產生該恢復指令。 The control system of the controlled device according to claim 5, wherein: the management host further performs a connection procedure; when the management host executes the connection procedure, the management host determines whether a management host registration procedure needs to be executed, When the management host needs to execute the management host registration procedure, the management host executes the management host registration procedure to establish a connection with the mobile device and log in an identity information of the mobile device; the management host does not need to execute When the management host registers the program, the management host listens to the request connection command broadcasted by the mobile device, and the control host determines whether the request connection command broadcasted by the mobile device is received; the control host receives the broadcast of the mobile device. When requesting the connection instruction, the management host determines, according to the identity information of the mobile device, whether the request connection command broadcasted by the mobile device passes the authentication; when the management host broadcasts the request connection command by the mobile device, the control host A connection is established with the mobile device, and the management host generates the resume command. 如請求項8所述之受控裝置的管控系統,其中當該管控主機執行該連線程序,且該管控主機產生該恢復指令後,該管控主機中斷與該移動裝置連線,並重新監聽該移動裝置廣播的請求連線指令,以判斷是否接收到該移動裝置廣播的請求連線指令。 The control system of the controlled device according to claim 8, wherein when the management host executes the connection procedure, and the management host generates the recovery instruction, the management host interrupts the connection with the mobile device, and re-listens the The mobile device broadcasts a request connection command to determine whether a request connection command broadcasted by the mobile device is received. 如請求項6至9中任一項所述之受控裝置的管控系統,其中該管控主機執行的該管控主機註冊程序係包含有以下步驟:關閉一白名單;重設該計時單元的計時時間;啟動該計時單元開始計時; 廣播一開放註冊信號;其中該開放註冊信號包含一開放註冊標籤;判斷是否與該移動裝置連線;當與該移動裝置連線時,判斷是否接收到該移動裝置傳送的一註冊成功指令;當接收到該移動裝置傳送的註冊成功指令時,註冊該移動裝置,且將該移動裝置加入該白名單後,開啟該白名單,並結束該管控主機註冊程序;當未與該移動裝置連線時,判斷該連線記時單元的計時時間是否超過一第四預設時間;當該連線記時單元的計時時間超過該第四預設時間時,開啟該白名單,並結束該管控主機註冊程序。 The control system of the controlled device according to any one of claims 6 to 9, wherein the management host registration program executed by the management host comprises the steps of: closing a white list; resetting the timing of the timing unit ; start the timing unit to start timing; Broadcasting an open registration signal; wherein the open registration signal includes an open registration label; determining whether to connect to the mobile device; and when connecting to the mobile device, determining whether a registration success command transmitted by the mobile device is received; Receiving the registration success instruction transmitted by the mobile device, registering the mobile device, and adding the mobile device to the whitelist, opening the whitelist, and ending the management host registration procedure; when not connected to the mobile device Determining whether the time of the connection timekeeping unit exceeds a fourth preset time; when the time of the connection timekeeping unit exceeds the fourth preset time, the whitelist is opened, and the management host registration is ended. program. 如請求項5所述之受控裝置的管控系統,其中:該移動裝置執行一管控程序;當該移動裝置執行該管控程序時,該移動裝置判斷是否接收到該管控主機廣播的第二連接信號;當該移動裝置接收到該管控主機廣播的第二連接信號時,該移動裝置廣播該請求連線指令,並與該管控主機建立連線,且判斷是否與該管控主機連線成功;當該移動裝置與該管控主機連線成功後,該移動裝置傳送該恢復指令至該管控主機,並結束與該管控主機的連線。 The control system of the controlled device according to claim 5, wherein: the mobile device executes a control program; when the mobile device executes the control program, the mobile device determines whether the second connection signal broadcast by the control host is received When the mobile device receives the second connection signal broadcast by the control host, the mobile device broadcasts the request connection command, establishes a connection with the control host, and determines whether the connection with the control host is successful; After the mobile device successfully connects to the management host, the mobile device transmits the recovery command to the management host, and ends the connection with the management host. 如請求項5所述之受控裝置的管控系統,其中:該移動裝置在判斷是否接收到該第二連接信號前,先判斷是否需要執行一移動裝置註冊程序;該移動裝置於需要執行該移動裝置註冊程序時,該移動裝置執行該移動裝置註冊程序,以與該管控主機建立連線,並登錄該管控主機的一身份資訊; 該移動裝置於不需要執行該移動裝置註冊程序時,該移動裝置判斷是否產生一啟動指令;該移動裝置於判斷該啟動指令產生時,該移動裝置判斷是否接收到該第二連接信號;當該移動裝置接收到該第二連接信號時,該移動裝置根據該管控主機的身份資訊判斷該第二連接信號是否通過認證;當該移動裝置判斷該第二連接信號通過認證時,該移動裝置廣播該請求連線指令,並與該管控主機建立連線,且判斷是否與該管控主機連線成功;當該移動裝置與該管控主機連線成功後,該移動裝置傳送該恢復指令至該管控主機,並結束與該管控主機的連線。 The control system of the controlled device according to claim 5, wherein: the mobile device determines whether it is necessary to perform a mobile device registration procedure before determining whether the second connection signal is received; the mobile device needs to perform the movement When the device registers the program, the mobile device executes the mobile device registration procedure to establish a connection with the management host and log in an identity information of the management host; When the mobile device does not need to execute the mobile device registration procedure, the mobile device determines whether a startup command is generated; when the mobile device determines that the startup command is generated, the mobile device determines whether the second connection signal is received; When the mobile device receives the second connection signal, the mobile device determines, according to the identity information of the management host, whether the second connection signal passes the authentication; when the mobile device determines that the second connection signal passes the authentication, the mobile device broadcasts the Requesting a connection command, and establishing a connection with the control host, and determining whether the connection with the control host is successful; when the mobile device is successfully connected to the control host, the mobile device transmits the recovery command to the control host, And end the connection with the management host. 如請求項11所述之受控裝置的管控系統,其中:當該移動裝置未接收到該管控主機廣播的該第二連接信號時,該移動裝置判斷是否接收到該管控主機廣播的該第三連接信號;當該移動裝置接收到該第三連接信號時,該移動裝置根據該管控主機的身份資訊判斷該第三連接信號是否通過認證;當該移動裝置判斷該第三連接信號通過認證時,該移動裝置廣播該請求連線指令,並與管控主機連線,且判斷是否與該管控主機連線成功;當該移動裝置與該管控主機連線成功時,該移動裝置傳送該恢復指令至該管控主機後,結束與該管控主機的連線。 The control system of the controlled device of claim 11, wherein: when the mobile device does not receive the second connection signal broadcast by the control host, the mobile device determines whether the third broadcast by the control host is received a connection signal; when the mobile device receives the third connection signal, the mobile device determines, according to the identity information of the management host, whether the third connection signal passes the authentication; when the mobile device determines that the third connection signal passes the authentication, The mobile device broadcasts the request connection command, and connects to the control host, and determines whether the connection with the control host is successful; when the mobile device successfully connects to the control host, the mobile device transmits the resume command to the After the host is controlled, the connection with the managed host ends. 如請求項5所述之受控裝置的管控系統,其中:當該管控主機執行該無人模式時,該管控主機廣播該第二連接信號,並判斷是否接收到該恢復指令;當該管控主機執行該無人模式時,且當該管控主機接收到該恢復指令時,該管控主機傳送一已重置信號至該移動裝置,改為執行該正常模式; 當該管控主機執行該無人模式時,且當該管控主機未接收到該恢復指令時,該管控主機重新廣播該第二連接信號。 The control system of the controlled device according to claim 5, wherein: when the management host executes the unmanned mode, the control host broadcasts the second connection signal, and determines whether the recovery instruction is received; when the management host performs In the unmanned mode, and when the control host receives the resume command, the control host transmits a reset signal to the mobile device to perform the normal mode instead; When the management host executes the unattended mode, and when the management host does not receive the resume instruction, the management host re-broadcasts the second connection signal. 如請求項14所述之受控裝置的管控系統,其中:該移動裝置執行一管控程序;當該移動裝置執行該管控程序時,該移動裝置判斷是否需要執行一移動裝置註冊程序;該移動裝置於需要執行該移動裝置註冊程序時,該移動裝置執行該移動裝置註冊程序,以與該管控主機建立連線,並登錄該管控主機的一身份資訊;該移動裝置於不需要執行該移動裝置註冊程序時,該移動裝置判斷是否產生該啟動指令;該移動裝置於判斷該啟動指令產生時,該移動裝置判斷是否接收到該第二連接信號;當該移動裝置接收到該第二連接信號時,該移動裝置根據該管控主機的身份資訊判斷該第二連接信號是否通過認證;當該移動裝置判斷該第二連接信號通過認證時,該移動裝置廣播該請求連線指令,並與該管控主機建立連線,且判斷是否與該管控主機連線成功;當該移動裝置與該管控主機連線成功後,該移動裝置傳送該恢復指令至該管控主機,並判斷是否接收到該已重置信號。 The control system of the controlled device according to claim 14, wherein: the mobile device executes a control program; when the mobile device executes the control program, the mobile device determines whether a mobile device registration program needs to be executed; the mobile device When the mobile device registration procedure needs to be executed, the mobile device executes the mobile device registration procedure to establish a connection with the management host and log in an identity information of the management host; the mobile device does not need to perform the mobile device registration. In the program, the mobile device determines whether the startup command is generated; when the mobile device determines that the startup command is generated, the mobile device determines whether the second connection signal is received; when the mobile device receives the second connection signal, The mobile device determines whether the second connection signal passes the authentication according to the identity information of the management host; when the mobile device determines that the second connection signal passes the authentication, the mobile device broadcasts the request connection command and establishes with the control host Connect, and determine whether the connection to the control host is successful; when the mobile device When the connection with the master control, the mobile device transmits the recovery command to the master control, and determines whether the received signal has been reset. 如請求項12或15所述之受控裝置的管控系統,其中該移動裝置執行的該移動裝置註冊程序係包含有以下步驟:啟動一移動裝置計時單元開始計時;判斷該移動裝置計時單元的計時時間是否超過一第五預設時間;當該移動裝置的計時單元的計時時間未超過該第五預設時間時,判斷是否接收到該管控主機廣播的一開放註冊信號; 當接收到該管控主機廣播的開放註冊信號時,判斷該管控主機是否不在一註冊名單;當該管控主機不在該註冊名單時,與該管控主機建立連線,並判斷是否與該管控主機連線成功;當與該管控主機連線成功時,註冊該管控主機,並判斷是否成功註冊該管控主機;當成功註冊該管控主機時,將該管控主機加入該註冊名單,並傳送一註冊成功指令後,結束與該管控主機的連線,且結束該移動裝置註冊程序;當該移動裝置的計時單元的計時時間超過該第五預設時間時,結束該移動裝置註冊程序。The control system of the controlled device of claim 12 or 15, wherein the mobile device registration procedure performed by the mobile device comprises the steps of: initiating a mobile device timing unit to start timing; determining a timing of the mobile device timing unit Whether the time exceeds a fifth preset time; when the timing time of the timing unit of the mobile device does not exceed the fifth preset time, determining whether an open registration signal broadcast by the control host is received; When receiving the open registration signal broadcasted by the management host, determining whether the management host is not in the registration list; when the management host is not in the registration list, establishing a connection with the management host and determining whether to connect with the management host Successfully; when the connection with the management host is successful, register the management host and determine whether the management host is successfully registered; when the management host is successfully registered, the management host is added to the registration list, and a registration success command is transmitted. Ending the connection with the management host and ending the mobile device registration procedure; when the timing of the timing unit of the mobile device exceeds the fifth preset time, ending the mobile device registration procedure.
TW107115336A 2018-05-04 2018-05-04 Control method and system for controlled device TWI669688B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107115336A TWI669688B (en) 2018-05-04 2018-05-04 Control method and system for controlled device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107115336A TWI669688B (en) 2018-05-04 2018-05-04 Control method and system for controlled device

Publications (2)

Publication Number Publication Date
TWI669688B true TWI669688B (en) 2019-08-21
TW201947548A TW201947548A (en) 2019-12-16

Family

ID=68316732

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107115336A TWI669688B (en) 2018-05-04 2018-05-04 Control method and system for controlled device

Country Status (1)

Country Link
TW (1) TWI669688B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103262133A (en) * 2010-10-26 2013-08-21 Somfy两合公司 Method of operating a mobile control unit of a home-utomation installation
US20140039650A1 (en) * 2011-03-14 2014-02-06 Seb Sa Device for monitoring and/or controlling the operation of at least one household appliance by means of at least one portable communication terminal
TW201411331A (en) * 2012-09-03 2014-03-16 Avermedia Tech Inc Detecting device and detecting method
TWM504985U (en) * 2015-05-06 2015-07-11 Shi-Kui Chen Detecting mobile media device of electric appliance automatic start-stop control device
CN105223815A (en) * 2015-07-22 2016-01-06 广东索博智能科技有限公司 Smart Home wireless control system
EP3131079A1 (en) * 2015-08-13 2017-02-15 Xiaomi Inc. Home appliance control method and device, computer program and recording medium
CN106575468A (en) * 2014-07-04 2017-04-19 马里奥·布波 System and method for the remote control of the shared access to one or more items

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103262133A (en) * 2010-10-26 2013-08-21 Somfy两合公司 Method of operating a mobile control unit of a home-utomation installation
US20140039650A1 (en) * 2011-03-14 2014-02-06 Seb Sa Device for monitoring and/or controlling the operation of at least one household appliance by means of at least one portable communication terminal
TW201411331A (en) * 2012-09-03 2014-03-16 Avermedia Tech Inc Detecting device and detecting method
CN106575468A (en) * 2014-07-04 2017-04-19 马里奥·布波 System and method for the remote control of the shared access to one or more items
TWM504985U (en) * 2015-05-06 2015-07-11 Shi-Kui Chen Detecting mobile media device of electric appliance automatic start-stop control device
CN105223815A (en) * 2015-07-22 2016-01-06 广东索博智能科技有限公司 Smart Home wireless control system
EP3131079A1 (en) * 2015-08-13 2017-02-15 Xiaomi Inc. Home appliance control method and device, computer program and recording medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陳智勇,"節能空調 家電控制器",<http://ietcap.rsh.ncku.edu.tw/ufiles/0000010/20140528134846as.pdf>,2014年 *

Also Published As

Publication number Publication date
TW201947548A (en) 2019-12-16

Similar Documents

Publication Publication Date Title
JP6367856B2 (en) Remote control terminal, server, method, and computer program
US9706626B2 (en) Intui-network
CN112136297A (en) Intelligent light switch/thermostat for control and energy management
CN111854061B (en) Air supply system control method and device and air supply system
CN105527848B (en) Communication apparatus and method of controlling the same
US20190363901A1 (en) Management method and management system for managing target device
CN110389531B (en) Control method and system of controlled device
TWI669688B (en) Control method and system for controlled device
KR101428961B1 (en) Integrated energy operation management system of building and operating method thereof
WO2015141413A1 (en) Control system, hems controller, and control method
CN108427309A (en) Intelligent home control system
JP2013017264A (en) Electric power supply apparatus, electric power management system, electric power management method, and electric power management program
JP2014217232A (en) Control system
KR102165151B1 (en) Device and method for controlling air-conditioner
CN104791968A (en) Intelligent shutdown system of air conditioner
CN105759735A (en) Intelligent home control system
EP2897115B1 (en) Remote control system and remote control program
CN104423362A (en) Intelligent home furnishing management system based on Internet technology
JP2015065793A (en) Apparatus management device, integrated apparatus management device, apparatus management system, apparatus management method, and apparatus management program
JP6845882B2 (en) Lock control system, lock control method and lock control program
CN108141396B (en) Home automation system device power optimization
RU2702285C1 (en) Control device for temperature control system
KR20230018725A (en) Method, user device and computer program for controlling ai switch
JP6914465B2 (en) Lock control system, lock control method, user terminal and lock control program
KR102167099B1 (en) Method and computer readable recording medium for managing plug and play and control system of utp network device