TWI776484B - Event management device and event management method - Google Patents

Event management device and event management method Download PDF

Info

Publication number
TWI776484B
TWI776484B TW110115127A TW110115127A TWI776484B TW I776484 B TWI776484 B TW I776484B TW 110115127 A TW110115127 A TW 110115127A TW 110115127 A TW110115127 A TW 110115127A TW I776484 B TWI776484 B TW I776484B
Authority
TW
Taiwan
Prior art keywords
event
home
main control
control unit
event message
Prior art date
Application number
TW110115127A
Other languages
Chinese (zh)
Other versions
TW202242574A (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 TW110115127A priority Critical patent/TWI776484B/en
Application granted granted Critical
Publication of TWI776484B publication Critical patent/TWI776484B/en
Publication of TW202242574A publication Critical patent/TW202242574A/en

Links

Images

Abstract

本發明關於一種事件管控裝置及一種事件管控方法,事件管控裝置包含事件執行單元及主控單元。當主控單元判斷移動裝置通過認證程序時,即根據通過認證程序之移動裝置的身分資訊產生及傳送回家事件訊息,且事件執行單元根據回家事件訊息執行對應的功能。由於該事件執行單元是根據通過該認證程序的該移動裝置的身分資訊對應執行對應功能的,當通過該認證程序的該移動裝置的身分資訊不同時,便會執行不同的功能。如此一來,當不同的用戶回家時,該事件管控裝置可根據不同的用戶執行不同的功能,以提供用戶個性化的事件管控方式,讓用戶方便使用。The present invention relates to an event management and control device and an event management and control method. The event management and control device includes an event execution unit and a main control unit. When the main control unit determines that the mobile device has passed the authentication procedure, it generates and transmits a homecoming event message according to the identity information of the mobile device that has passed the authentication procedure, and the event execution unit executes the corresponding function according to the homecoming event message. Since the event execution unit executes corresponding functions according to the identity information of the mobile device that has passed the authentication procedure, different functions will be executed when the identity information of the mobile device that has passed the authentication procedure is different. In this way, when different users go home, the event management and control device can perform different functions according to different users, so as to provide a user-individualized event management and control method, which is convenient for the user to use.

Description

事件管控裝置及事件管控方法Event management device and event management method

本發明涉及一種管控裝置與管控方法,尤其涉及一種事件管控裝置與事件管控方法。The present invention relates to a management and control device and a management and control method, in particular to an event management and control device and an event management and control method.

現有的智能家電能通過與移動裝置的連線與否判斷用戶是否回到家中,進而執行對應的功能,例如智能電燈可在判斷用戶回家後自動開啟。Existing smart home appliances can determine whether the user has returned home or not through the connection with the mobile device, and then perform corresponding functions. For example, the smart light can be automatically turned on after it is determined that the user has returned home.

但是通常一個家庭有多個成員,當不同的成員回家時,所需要開啟的智能家電通常不會完全相同。例如當兒子回家後,希望能夠自動地把兒子房間的智能電器開啟方便兒子使用,而不需開啟廚房或是客廳的智能家電。又例如當父親回家後,希望客廳的智能收音機能夠自動打開並撥放他喜愛的廣播節目。But usually a family has multiple members, and when different members go home, the smart home appliances that need to be turned on are usually not exactly the same. For example, when the son comes home, he hopes to automatically turn on the smart appliances in the son's room for the son to use, without turning on the smart appliances in the kitchen or living room. For another example, when the father comes home, he hopes that the smart radio in the living room can automatically turn on and play his favorite radio program.

然而,過去發明的智能家電僅能夠判斷家中是否有用戶存在,當只要有一位用戶回到家中,即會執行對應的功能,無法根據不同的用戶執行不同的功能,這對於用戶來說仍有不便之處。因此,現有的智能家電的管控方法仍需改進。However, the smart home appliances invented in the past can only judge whether there is a user in the home. When only one user returns home, the corresponding function will be executed, and different functions cannot be executed according to different users, which is still inconvenient for users. place. Therefore, the existing management and control methods of smart home appliances still need to be improved.

鑑於上述問題,有鑑於目前家電的管控方法無法根據不同的用戶執行不同的功能,造成用戶使用不便的問題,本發明提出一種事件管控裝置及一種事件管控方法,能夠根據不同用戶,自動執行不同的對應功能,讓用戶方便使用。In view of the above problems, in view of the fact that the current home appliance management and control method cannot perform different functions according to different users, causing inconvenience to users, the present invention provides an event management and control device and an event management and control method, which can automatically execute different functions according to different users. Corresponding functions make it easy for users to use.

而該事件管控裝置,包含有至少一事件執行單元及一主控單元。該主控單元判斷一移動裝置是否有通過一認證程序。當該主控單元判斷該移動裝置通過該認證程序時,該主控單元產生一認證完成訊號,並根據通過認證程序的該移動裝置之一身分資訊產生一回家事件訊息,並傳送回家事件訊息到至少一事件執行單元。當至少一事件執行單元接收到回家事件訊息時,至少一事件執行單元根據回家事件訊息判斷是否執行回家事件。當該主控單元判斷該移動裝置未通過該認證程序時,該主控單元產生一認證失效訊號,並根據未通過認證程序的該移動裝置之一身分資訊產生一離家事件訊息,並傳送離家事件訊息到至少一事件執行單元。當至少一事件執行單元接收到離家事件訊息時,至少一事件執行單元根據離家事件訊息判斷是否執行離家事件。The event management and control device includes at least one event execution unit and a main control unit. The main control unit determines whether a mobile device has passed an authentication procedure. When the main control unit determines that the mobile device has passed the authentication process, the main control unit generates an authentication completion signal, and generates a home event message according to an identity information of the mobile device that has passed the authentication process, and transmits the home event message to at least one event execution unit. When the at least one event execution unit receives the homecoming event message, the at least one event executing unit determines whether to execute the homecoming event according to the homecoming event message. When the main control unit determines that the mobile device has not passed the authentication procedure, the main control unit generates an authentication invalidation signal, and generates a leave-home event message according to an identity information of the mobile device that has not passed the authentication procedure, and transmits an out-of-home event message. home event messages to at least one event execution unit. When the at least one event executing unit receives the leaving home event message, the at least one event executing unit determines whether to execute the leaving home event according to the leaving home event message.

而該事件管控方法由該事件管控裝置的主控單元所執行,且該事件管控裝置還包含有該至少一事件執行單元,而該事件管控方法包含有以下步驟: 判斷一移動裝置是否有通過一認證程序; 當該移動裝置通過該認證程序時,產生一認證完成訊號,根據通過認證程序的該移動裝置之一身分資訊產生一回家事件訊息,並傳送回家事件訊息到至少一事件執行單元; 當至少一事件執行單元接收到回家事件訊息時,至少一事件執行單元根據回家事件訊息判斷是否執行回家事件; 當該移動裝置未通過該認證程序時,產生一認證失效訊號,根據未通過認證程序的該移動裝置之一身分資訊產生一離家事件訊息,並傳送離家事件訊息到至少一事件執行單元。 The event management method is executed by the main control unit of the event management device, and the event management device further includes the at least one event execution unit, and the event management method includes the following steps: determining whether a mobile device has passed an authentication procedure; When the mobile device passes the authentication process, an authentication completion signal is generated, a homecoming event message is generated according to an identity information of the mobile device that has passed the authentication process, and the homecoming event message is sent to at least one event execution unit; When the at least one event execution unit receives the homecoming event message, the at least one event executing unit determines whether to execute the homecoming event according to the homecoming event message; When the mobile device fails the authentication procedure, an authentication failure signal is generated, a home leave event message is generated according to an identity information of the mobile device that fails the authentication procedure, and the home leave event message is sent to at least one event execution unit.

本發明的該事件管控方法通過該事件管控裝置的主控單元執行,並且該主控單元於判斷有移動裝置通過認證程序時,即產生及傳送該回家事件訊息、該離家事件訊息,且該至少一事件執行單元根據該回家事件訊息及該離家事件訊息執行相對應的工作。The event management method of the present invention is executed by the main control unit of the event management device, and the main control unit generates and transmits the home event message and the home leave event message when determining that a mobile device has passed the authentication procedure, and The at least one event execution unit executes corresponding work according to the homecoming event message and the leaving home event message.

由於該至少一事件執行單元是根據該回家事件訊息及該離家事件訊息執行對應功能的,當該回家事件訊息及該離家事件訊息不同時,便會執行不同的功能。如此一來,當不同的用戶回家時,該至少一事件執行單元可根據不同的用戶執行不同的功能,以提供用戶個性化的事件管控方式,讓用戶方便使用。Since the at least one event executing unit executes the corresponding function according to the homecoming event message and the leaving home event message, when the homecoming event message and the leaving home event message are different, different functions will be executed. In this way, when different users go home, the at least one event execution unit can perform different functions according to different users, so as to provide users with personalized event management and control methods, which are convenient for users to use.

以下配合圖式及本發明之較佳實施例,進一步闡述本發明為達成預定發明目的所採取的技術手段。請參閱圖1所示,本發明為一種事件管控裝置及一種事件管控方法,該事件管控裝置10包含有至少一事件執行單元11及一主控單元12。該主控單元12判斷一移動裝置20是否有通過一認證程序。The technical means adopted by the present invention to achieve the predetermined purpose of the invention are further described below with reference to the drawings and preferred embodiments of the present invention. Referring to FIG. 1 , the present invention is an event management device and an event management method. The event management device 10 includes at least an event execution unit 11 and a main control unit 12 . The main control unit 12 determines whether a mobile device 20 has passed an authentication procedure.

當該主控單元12判斷該移動裝置20通過該認證程序時,該主控單元12產生一認證完成訊號,並進一步根據通過該認證程序的該移動裝置20的一身分資訊產生一回家事件訊息,且傳送回家事件訊息到至少一事件執行單元11。當至少一事件執行單元11接收回家事件訊息時,至少一事件執行單元11判斷是否根據回家事件訊息執行回家事件。When the main control unit 12 determines that the mobile device 20 has passed the authentication procedure, the main control unit 12 generates an authentication completion signal, and further generates a home event message according to an identity information of the mobile device 20 that has passed the authentication procedure , and send a homecoming event message to at least one event execution unit 11 . When the at least one event execution unit 11 receives the homecoming event message, the at least one event executing unit 11 determines whether to execute the homecoming event according to the homecoming event message.

需注意的是,根據已通過該認證程序之移動裝置20的身分資訊所產生的回家事件訊息係可攜帶包含身分資訊的封包。因此,當至少一事件執行單元11接收回家事件訊息時,至少一事件執行單元11可判斷是否根據回家事件訊息執行回家事件。習知技藝者應可了解其原理,於此不再贅述。It should be noted that the home event message generated according to the identity information of the mobile device 20 that has passed the authentication process may carry a packet containing the identity information. Therefore, when the at least one event execution unit 11 receives the homecoming event message, the at least one event executing unit 11 can determine whether to execute the homecoming event according to the homecoming event message. Those skilled in the art should be able to understand the principle, and will not be repeated here.

當該主控單元12判斷該移動裝置20未通過該認證程序時,該主控單元12產生一認證失效訊號,並進一步根據未通過認證程序之移動裝置20的身分資訊產生一離家事件訊息,且傳送離家事件訊息到至少一事件執行單元11。至少一事件執行單元11判斷是否根據離家事件訊息執行離家事件。When the main control unit 12 determines that the mobile device 20 has not passed the authentication procedure, the main control unit 12 generates an authentication failure signal, and further generates a home leave event message according to the identity information of the mobile device 20 that has not passed the authentication procedure, And send a home leave event message to at least one event execution unit 11 . At least one event execution unit 11 determines whether to execute a home leave event according to the home leave event message.

進一步配合圖2所示,該事件管控方法由該事件管控裝置10的主控單元12所執行,且該事件管控裝置10還包含有該至少一事件執行單元11,而該事件管控方法包含有以下步驟: 判斷一移動裝置是否有通過一認證程序(S201); 當該移動裝置通過該認證程序時,主控單元產生一認證完成訊號(S202); 根據已通過認證程序之移動裝置的身分資訊產生一回家事件訊息(S203); 傳送回家事件訊息到至少一事件執行單元(S204); 當至少一事件執行單元接收回家事件訊息時,至少一事件執行單元判斷是否根據回家事件訊息執行回家事件(S205); 當該移動裝置未通過該認證程序時,主控單元產生一認證失效訊號離家事件(S206); 根據未通過認證程序之移動裝置的身分資訊產生一離家事件訊息(S207); 傳送離家事件訊息到至少一事件執行單元(S208); 當至少一事件執行單元接收離家事件訊息時,至少一事件執行單元判斷是否根據離家事件訊息執行離家事件(S209)。 2, the event management method is executed by the main control unit 12 of the event management device 10, and the event management device 10 further includes the at least one event execution unit 11, and the event management method includes the following step: Determine whether a mobile device has passed an authentication procedure (S201); When the mobile device passes the authentication procedure, the main control unit generates an authentication completion signal (S202); Generate a homecoming event message according to the identity information of the mobile device that has passed the authentication process (S203); Send a homecoming event message to at least one event execution unit (S204); When the at least one event execution unit receives the homecoming event message, the at least one event executing unit determines whether to execute the homecoming event according to the homecoming event message (S205); When the mobile device fails the authentication procedure, the main control unit generates an authentication invalidation signal leaving home event (S206); Generate a home leave event message according to the identity information of the mobile device that has not passed the authentication process (S207); Send a home leave event message to at least one event execution unit (S208); When the at least one event execution unit receives the home leave event message, the at least one event execution unit determines whether to execute the home leave event according to the home leave event message (S209).

由於當該主控單元12判斷有該移動裝置20通過該認證程序時,即產生該回家事件訊息並傳送回家事件訊息當至少一事件執行單元11。當至少一事件執行單元11接收回家事件訊息時,至少一事件執行單元11判斷是否根據回家事件訊息執行對應功能。When the main control unit 12 determines that the mobile device 20 has passed the authentication procedure, the home event message is generated and sent to at least one event execution unit 11 . When the at least one event execution unit 11 receives the homecoming event message, the at least one event executing unit 11 determines whether to execute the corresponding function according to the homecoming event message.

且由於該事件執行單元11是根據回家事件訊息以及離家事件訊息執行對應功能的,當回家事件訊息以及離家事件訊息不同時,事件執行單元11便會執行不同的功能。如此一來,當不同的用戶回家時,該事件管控裝置10可根據不同的用戶執行不同的功能,以提供用戶個性化的事件管控方式,讓用戶方便使用。And since the event execution unit 11 executes corresponding functions according to the homecoming event message and the home leaving event message, when the homecoming event message and the leaving home event message are different, the event executing unit 11 executes different functions. In this way, when different users go home, the event management and control device 10 can perform different functions according to different users, so as to provide users with personalized event management and control methods, which are convenient for users to use.

也就是說,該事件管控裝置10可以藉由認證完成訊號與認證失效訊號,得知某一特定人員是否離家或是回家,並依此事件訊息執行各個特定的行動。That is to say, the event management device 10 can know whether a specific person has left or returned home by means of the authentication completion signal and the authentication failure signal, and execute various specific actions according to the event information.

在本較佳實施例中,該主控單元12與該移動裝置20是通過藍芽通訊進行連接,以判斷該移動裝置20是否有通過該認證程序。In this preferred embodiment, the main control unit 12 and the mobile device 20 are connected through Bluetooth communication to determine whether the mobile device 20 has passed the authentication procedure.

進一步而言,通過藍芽通訊的同時連線總數有限,因此該主控單元12無法同時連接過多的移動裝置20。而為了方便擴展連線個數,該主控單元12可包含有一個處理模組及連接該處理模組的多個認證模組,當中該處理模組執行上述步驟,且該些認證模組分別與多個移動裝置20連接。而該些認證模組可採用另外設置的可擴展方式與該處理模組連接,如同通用序列匯流排(USB)的集線器(HUB)一般,所以該認證模組有可能不會與該處理模組設置在同一個裝置中。Furthermore, the total number of simultaneous connections through Bluetooth communication is limited, so the main control unit 12 cannot connect to too many mobile devices 20 at the same time. In order to facilitate the expansion of the number of connections, the main control unit 12 may include a processing module and a plurality of authentication modules connected to the processing module, wherein the processing module performs the above steps, and the authentication modules are respectively Connect with a plurality of mobile devices 20 . And these authentication modules can be connected to the processing module in a separately provided extensible way, like a universal serial bus (USB) hub (HUB), so the authentication module may not be connected to the processing module. installed in the same device.

以實施例來說,可用一個或多個外接藍牙裝置為該些認證模組,以一般的智能手機安裝應用程式(APP)後作為該處理模組。當該外接藍牙裝置對該移動裝置20認證成功,則該外接藍牙裝置發出一認證成功事件給該智能手機的APP。當該外接藍牙裝置與該移動裝置20認證失效,則該外接藍芽裝置發出認證失效事件給該智能手機的APP。而當作為該處理模組的該智能手機在收到作為該認證模組的該外接藍芽裝置產生的用戶認證成功事件與認證失效事件後,對應產生用戶回家事件訊息與用戶離家事件訊息,並傳送回家事件訊息與離家事件訊息到至少一事件執行單元11。In an embodiment, one or more external Bluetooth devices can be used as the authentication modules, and an application program (APP) can be installed on a general smart phone as the processing module. When the external Bluetooth device successfully authenticates the mobile device 20, the external Bluetooth device sends an authentication success event to the APP of the smartphone. When the authentication between the external Bluetooth device and the mobile device 20 fails, the external Bluetooth device sends an authentication failure event to the APP of the smartphone. And when the smartphone serving as the processing module receives the user authentication success event and the authentication failure event generated by the external Bluetooth device serving as the authentication module, it correspondingly generates a user going home event message and a user leaving home event message , and send the home event message and the home event message to at least one event execution unit 11 .

舉例來說,請參閱圖3及圖4所示,一個家庭有兩個用戶,用戶A與用戶B,且用戶A與用戶B各自攜帶了一移動裝置20A及一移動裝置20B,且於家中設置該事件管控裝置10的主控單元12及至少一事件執行單元11。在本較佳實施例中,該事件管控裝置10的主控單元12為一智能手機。由於只需在該智能手機上安裝一應用程式,其中包含一軟體模組為主控單元12,並且可以該應用程式產生及傳送回家事件訊息及離家事件訊息到該至少一事件執行單元11執行對應功能,進而通過該至少一事件執行單元11控制該收音機30。例如該至少一事件執行單元11可為該應用程式的一軟體模組作為事件執行單元,用以與其他智能家電溝通,並對其他智能家電進行控制。又例如該事件執行單元11是一種紅外線發射單元,並以有線或無線方式連接至該主控單元12,而該主控單元12可產生及傳送回家事件訊息及離家事件訊息到在該至少一事件執行單元11接收回家事件訊息及離家事件訊息後,對應的事件執行單元11根據接收回家事件訊息及離家事件訊息執行對應功能,如產生對應的紅外線控制訊號,用於控制一般能接收紅外線遙控的家電。因此,本發明可使用一般用戶汰換下來的舊的智能手機該事件管控裝置10的主控單元12。如此一來,本發明的事件管控裝置10的建置成本相對低廉,能夠為用戶節省下建置的成本。For example, please refer to FIG. 3 and FIG. 4 , there are two users in a family, user A and user B, and user A and user B each carry a mobile device 20A and a mobile device 20B, and set up at home The main control unit 12 and at least one event execution unit 11 of the event management device 10 . In this preferred embodiment, the main control unit 12 of the event management device 10 is a smart phone. Since only one application program needs to be installed on the smart phone, which includes a software module as the main control unit 12 , and the application program can generate and transmit the homecoming event message and the leaving home event message to the at least one event execution unit 11 The corresponding function is executed, and then the radio 30 is controlled by the at least one event execution unit 11 . For example, the at least one event execution unit 11 can be a software module of the application as an event execution unit for communicating with and controlling other smart home appliances. For another example, the event execution unit 11 is an infrared emitting unit, and is connected to the main control unit 12 in a wired or wireless manner, and the main control unit 12 can generate and transmit the home event message and the home event message to the at least After an event execution unit 11 receives the home event message and the home leave event message, the corresponding event execution unit 11 executes corresponding functions according to the received home event message and the home leave event message, such as generating a corresponding infrared control signal for controlling the general Home appliances that can receive infrared remote control. Therefore, in the present invention, the main control unit 12 of the event management and control apparatus 10 can be used with an old smart phone that is replaced by a general user. In this way, the construction cost of the event management and control device 10 of the present invention is relatively low, which can save the construction cost for the user.

例如用戶A希望當他回到家時,可以將收音機打開並轉到預先設定好的頻道撥放廣播,且當用戶A離家時,可將家中的收音機關閉。For example, user A wishes to turn on the radio and switch to a preset channel to play the broadcast when he returns home, and can turn off the radio at home when user A leaves home.

在事件管控裝置10執行前,移動裝置20必須與系統註冊,並在事件管控裝置10留下使用者資訊,每個移動裝置對應到一個使用者。因此,當用戶A回家,該事件管控裝置10的認證單元會對移動裝置20A進行認證程序。當移動裝置20A的認證程序通過時,則代表用戶A回到家裡,這時則產生用戶A的回家事件訊息,並傳送回家事件訊息到至少一事件執行單元11,在至少一事件執行單元11接收回家事件訊息後,對應的事件執行單元11根據接收的回家事件訊息執行對應功能。例如就可以依照用戶A的設定將收音機打開並轉到設定的頻道撥放廣播。當用戶A離開時,即產生用戶A的認證失效訊號以及產生用戶A的離家事件訊息,並傳送離家事件訊息到至少一事件執行單元11。在至少一事件執行單元11接收回家事件訊息後,對應的事件執行單元11根據接收的離家事件訊息執行對應功能,例如依照設定將用戶A家中的收音機30關閉以節省電能。Before the event management device 10 is executed, the mobile device 20 must register with the system and leave user information in the event management device 10 , and each mobile device corresponds to a user. Therefore, when the user A goes home, the authentication unit of the event management device 10 will perform an authentication procedure on the mobile device 20A. When the authentication procedure of the mobile device 20A is passed, it means that the user A has returned home. At this time, a homecoming event message of the user A is generated, and the homecoming event message is sent to the at least one event execution unit 11 , where the at least one event execution unit 11 After receiving the homecoming event message, the corresponding event execution unit 11 executes the corresponding function according to the received homecoming event message. For example, the radio can be turned on according to the setting of user A and go to the set channel to play the broadcast. When the user A leaves, the authentication invalidation signal of the user A and the leaving home event message of the user A are generated, and the leaving home event message is sent to at least one event execution unit 11 . After at least one event execution unit 11 receives the home event message, the corresponding event execution unit 11 executes a corresponding function according to the received home leave event message, such as turning off the radio 30 in user A's home according to the settings to save power.

進一步而言,本發明亦可作為一人員出入紀錄系統,用來記錄所有的用戶進入與離開這個房間的時間,當A回到家中以後,移動裝置20A通過了認證程序,產生認證完成訊號A,並產生用戶A的回家事件訊息且傳送回家事件訊息到至少一事件執行單元11,以記錄用戶A回到家中的時間。而在用戶A離開這個家裡以後,產生認證失效事件A,並產生用戶A的離家事件訊息且傳送離家事件訊息到至少一事件執行單元11,以記錄用戶A離開家裡的時間。如以一來,即可得到用戶A進出家中的紀錄,且不需要用戶A手動紀錄,以節省時間。Further, the present invention can also be used as a personnel entry and exit recording system to record the time when all users enter and leave the room. When A returns home, the mobile device 20A passes the authentication procedure and generates an authentication completion signal A. And generate a homecoming event message of the user A and send the homecoming event message to at least one event execution unit 11 to record the time when the user A returns home. After user A leaves the home, an authentication failure event A is generated, and a home leave event message of user A is generated and sent to at least one event execution unit 11 to record the time when user A left home. In this way, the record of user A's entry and exit at home can be obtained, and user A does not need to manually record, so as to save time.

此外,在上述實施例中,各個用戶的離開與回家事件皆為獨立產生,也就是說,用戶B的存在與否並不會影響到處理用戶A的進出的事件,但是在某些應用下需要參考其他用戶的狀態,再決定如何執行。In addition, in the above embodiment, the leaving and returning events of each user are generated independently, that is to say, the presence or absence of user B does not affect the processing of user A's entry and exit events, but in some applications You need to refer to the status of other users before deciding how to execute it.

例如前述的回家事件,當用戶A回家以後想要讓家中的收音機打開並撥放預設的廣播頻道。但是假設用戶B在家中,當用戶A回家時有可能用戶B正在休息,這時打開收音機會打擾到用戶B。這時候,就應該考慮用戶B是否在家,如果用戶B在家就不打開收音機以避免打擾到用戶B。For example, in the aforementioned homecoming event, when user A returns home, he wants to turn on the radio at home and play the preset broadcast channel. But suppose user B is at home, when user A goes home, it is possible that user B is resting, and turning on the radio at this time will disturb user B. At this time, it should consider whether user B is at home. If user B is at home, do not turn on the radio to avoid disturbing user B.

又例如用戶A與用戶B都在家中,這時用戶A離開,該事件管控裝置10因為用戶A的離家事件而關閉收音機,但用戶B仍在使用收音機,這時關閉收音機反而造成用戶B的困擾,因此這時應該參考用戶B的存在與否,再決定是否關閉。Another example is that user A and user B are both at home. At this time, user A leaves. The event management device 10 turns off the radio because of the event of user A leaving home, but user B is still using the radio. Turning off the radio at this time causes user B to be troubled. Therefore, at this time, you should refer to the existence of user B before deciding whether to close it.

因此,該主控單元12還具有一回家狀態紀錄表,該回家狀態紀錄表中紀錄有該移動裝置20的身分資訊對應的一用戶狀態。Therefore, the main control unit 12 also has a home state record table, and the home state record table records a user state corresponding to the identity information of the mobile device 20 .

當該主控單元12產生該回家事件訊息時,該主控單元12進一步將通過該認證程序的該移動裝置20的身分資訊在該回家狀態紀錄表中對應的用戶狀態更新為一回家狀態,主控單元12再傳送回家事件訊息到至少一事件執行單元11。在至少一事件執行單元11接收回家事件訊息後,對應的事件執行單元11根據回家事件訊息以及回家狀態紀錄表記載的用戶狀態執行對應的功能。When the main control unit 12 generates the homecoming event message, the main control unit 12 further updates the identity information of the mobile device 20 that has passed the authentication procedure to the corresponding user status in the homecoming status record table as a homecoming In the state, the main control unit 12 then transmits a home event message to at least one event execution unit 11 . After at least one event execution unit 11 receives the homecoming event message, the corresponding event executing unit 11 executes the corresponding function according to the homecoming event message and the user state recorded in the homecoming state record table.

當該主控單元12產生該離家事件訊息時,該主控單元12進一步將未通過該認證程序的該移動裝置20的身分資訊在該回家狀態紀錄表中對應的用戶狀態更新為一離家狀態,主控單元12再傳送離家事件訊息到至少一事件執行單元11。在至少一事件執行單元11接收離家事件訊息後,對應的事件執行單元11根據離家事件訊息以及該回家狀態紀錄表記載的用戶狀態執行對應的功能。When the main control unit 12 generates the leaving home event message, the main control unit 12 further updates the identity information of the mobile device 20 that has not passed the authentication procedure to the corresponding user status in the returning home status record table to an away status In the home state, the main control unit 12 then transmits a home leave event message to at least one event execution unit 11 . After at least one event executing unit 11 receives the leaving home event message, the corresponding event executing unit 11 executes the corresponding function according to the leaving home event message and the user state recorded in the returning home state record table.

請參閱圖5所示,該事件管控方法,還包含有以下步驟: 判斷一移動裝置是否有通過一認證程序(S501); 當該移動裝置通過該認證程序時,主控單元產生一認證完成訊號(S502); 根據已通過認證程序之移動裝置的身分資訊產生一回家事件訊息(S503); 將通過該認證程序的該移動裝置的身分資訊在該回家狀態紀錄表中對應的用戶狀態更新為一回家狀態(S5031); 傳送回家事件訊息到至少一事件執行單元(S504); 在至少一事件執行單元接收回家事件訊息後,對應的事件執行單元根據回家事件訊息以及回家狀態紀錄表記載的用戶狀態執行對應的功能(S505); 當該移動裝置未通過該認證程序時,主控單元產生一認證失效訊號 (S506); 根據未通過認證程序之移動裝置的身分資訊產生一離家事件訊息(S507); 將未通過該認證程序的該移動裝置的身分資訊在該回家狀態紀錄表中對應的用戶狀態更新為一離家狀態(S5071); 傳送離家事件訊息到至少一事件執行單元(S508); 當至少一事件執行單元接收離家事件訊息時,對應的事件執行單元根據離家事件訊息以及回家狀態紀錄表記載的用戶狀態執行對應的功能(S509)。 Referring to Figure 5, the event management method further includes the following steps: Determine whether a mobile device has passed an authentication procedure (S501); When the mobile device passes the authentication procedure, the main control unit generates an authentication completion signal (S502); Generate a homecoming event message according to the identity information of the mobile device that has passed the authentication process (S503); Update the user status corresponding to the identity information of the mobile device that has passed the authentication procedure in the home status record table to a home status (S5031); Send a homecoming event message to at least one event execution unit (S504); After at least one event execution unit receives the homecoming event message, the corresponding event executing unit executes the corresponding function according to the homecoming event message and the user state recorded in the homecoming state record table (S505); When the mobile device fails the authentication procedure, the main control unit generates an authentication failure signal (S506); Generate a home leave event message according to the identity information of the mobile device that has not passed the authentication process (S507); Update the user status corresponding to the identity information of the mobile device that has not passed the authentication procedure in the home status record table to a home status (S5071); Send a home leave event message to at least one event execution unit (S508); When at least one event executing unit receives the leaving home event message, the corresponding event executing unit executes the corresponding function according to the leaving home event message and the user state recorded in the returning home state record table (S509).

由於,該事件管控裝置10還具有該回家狀態紀錄表,其中紀錄了每一個用戶的用戶狀態。當該事件管控裝置10啟動後,該事件管控裝置10將會先建立該回家狀態紀錄表,其中每個欄位代表著一個用戶。當收到回家事件訊息時,即可將對應的欄位更新到回家狀態。之後,主控單元12傳送回家事件訊息到至少一事件執行單元11。而當收到用戶離家事件訊息時,則可將相對應的欄位更新為離家狀態。之後,主控單元12傳送離家事件訊息到至少一事件執行單元11。如此一來,就可以根據該回家狀態紀錄表來得知目前用戶是否在家。 用戶身分 用戶狀態 用戶A 回家狀態 用戶B 回家狀態 回家狀態紀錄表1 Because, the event management device 10 also has the home state record table, which records the user state of each user. When the event management device 10 is activated, the event management device 10 will firstly create the home state record table, wherein each field represents a user. When the homecoming event message is received, the corresponding field can be updated to the homecoming state. After that, the main control unit 12 transmits a homecoming event message to at least one event execution unit 11 . When receiving the user's leaving home event message, the corresponding field can be updated to the leaving home state. Afterwards, the main control unit 12 transmits a home leave event message to at least one event execution unit 11 . In this way, it can be known whether the current user is at home according to the home state record table. user identity user status User A home state User B home state Returning home status record sheet 1

舉例來說,以該回家狀態紀錄表1為示意,當該主控單元12產生該用戶A回家事件訊息時,代表用戶A回到家中,因此該主控單元12先更新用戶A在回家狀態紀錄表中對應的用戶狀態為該回家狀態,且根據該回家狀態紀錄表確認其他用戶的用戶狀態。之後,主控單元12傳送回家事件訊息到對應的事件執行單元11。當用戶B的用戶狀態也為回家狀態時,代表用戶B也在家中,所以對應的事件執行單元11取消打開收音機30的行動,或者是依然由對應的事件執行單元11打開收音機30,但是將聲音調整到小聲以免打擾到用戶B休息。 用戶身分 用戶狀態 用戶A 離家狀態 用戶B 回家狀態 回家狀態紀錄表2 For example, taking the home state record table 1 as an illustration, when the main control unit 12 generates the user A's homecoming event message, it means that the user A has returned home. Therefore, the main control unit 12 first updates the user A's return home. The corresponding user state in the home state record table is the home state, and the user states of other users are confirmed according to the home state record table. After that, the main control unit 12 transmits the homecoming event message to the corresponding event execution unit 11 . When the user state of user B is also the home state, it means that user B is also at home, so the corresponding event execution unit 11 cancels the action of turning on the radio 30, or the corresponding event execution unit 11 still turns on the radio 30, but turns the radio 30 on. The sound is adjusted to a low volume so as not to disturb user B's rest. user identity user status User A away from home User B home state Returning home status record sheet 2

又另一個案例中,以該回家狀態紀錄表2為示意,當該主控單元12產生該用戶A的離家事件訊息時,代表用戶A離開家中,因此該主控單元先更新用戶A在該回家狀態紀錄表中的用戶狀態為離家狀態。之後,主控單元12傳送回家事件訊息到至少一事件執行單元11。雖然用戶A離開家中,但根據該回家狀態紀錄表確認用戶B仍在家中,此時若將家中的電燈關閉,將會影響到用戶B的使用狀況。因此,在至少一事件執行單元11接收離家事件訊息後,該至少一事件執行單元11會先去讀取該回家狀態紀錄表,發現用戶B在家中,而對應的事件執行單元11取消本來要執行的行動,例如關閉電燈。在其它實施例中,至少一事件執行單元11會先去讀取該回家狀態紀錄表,但根據該回家狀態紀錄表確認用戶B仍在家中,則對應的事件執行單元11取消本來要執行的行動,例如關閉電燈。In yet another case, taking the home state record table 2 as an illustration, when the main control unit 12 generates the leaving home event message of the user A, it represents that the user A leaves the home, so the main control unit first updates the user A's home status. The user state in the returning home state record table is the leaving home state. After that, the main control unit 12 transmits a homecoming event message to at least one event execution unit 11 . Although user A leaves the home, it is confirmed that user B is still at home according to the return home state record table. If the light in the home is turned off at this time, the usage status of user B will be affected. Therefore, after the at least one event executing unit 11 receives the leaving home event message, the at least one event executing unit 11 will first read the home state record table and find that the user B is at home, and the corresponding event executing unit 11 cancels the original Action to perform, such as turning off lights. In other embodiments, at least one event execution unit 11 will read the home state record table first, but confirms that user B is still at home according to the home state record table, then the corresponding event execution unit 11 cancels the original execution actions, such as turning off the lights.

然而用戶有各式各樣的需求,最後要如何執行可交由用戶設定,以符合用戶的需求。However, users have various needs, and how to perform the final operation can be set by the user to meet the needs of the user.

再者,在一較佳實施例中,當產生該認證程序之前,該移動裝置20可先與該事件管控裝置10進行註冊,以將該移動裝置20的身分資訊登錄在該事件管控裝置中,如此一來,在執行認證程序時,便可根據該移動裝置20是否註冊過判斷是否通過該認證程序。Furthermore, in a preferred embodiment, before generating the authentication procedure, the mobile device 20 may first register with the event management device 10 to register the identity information of the mobile device 20 in the event management device, In this way, when the authentication procedure is executed, it can be determined whether the authentication procedure is passed according to whether the mobile device 20 has been registered.

該事件管控裝置10對該移動裝置20執行一註冊程序時,該事件管控裝置10會留下每個移動裝置20的身分資訊,並用來作為執行認證程序中的比對資料。由於每一個移動裝置20會由某一特定的用戶所隨身攜帶,當該事件管控裝置10確認其中一個移動裝置20通過認證程序而產生該認證完成訊號時,代表著持有該移動裝置20的用戶存在附近。而當這個用戶離開時,該事件管控裝置10便無法繼續對該移動裝置20執行認證程序,使該移動裝置20無法通過該認證程序,而產生該認證失效訊號。When the event management device 10 performs a registration process on the mobile device 20, the event management device 10 will leave the identity information of each mobile device 20 and use it as comparison data in the authentication process. Since each mobile device 20 is carried by a specific user, when the event management device 10 confirms that one of the mobile devices 20 has passed the authentication procedure and generates the authentication completion signal, it represents the user who holds the mobile device 20 exists nearby. When the user leaves, the event management device 10 cannot continue to perform the authentication procedure on the mobile device 20, so that the mobile device 20 cannot pass the authentication procedure, and the authentication failure signal is generated.

因此,當該主控單元12判斷該移動裝置20是否有通過該認證程序時,該主控單元12可先判斷是否與一註冊過的移動裝置20連接成功。Therefore, when the main control unit 12 determines whether the mobile device 20 has passed the authentication procedure, the main control unit 12 can first determine whether the connection with a registered mobile device 20 is successful.

當該主控單元12與該註冊過的移動裝置20連接成功時,該主控單元12產生該認證完成訊號,並產生該回家事件訊息,且該主控單元12將已連接成功的移動裝置20的身分資訊在該回家狀態紀錄表中對應的用戶狀態更新為該回家狀態後,該主控單元12傳送回家事件訊息到至少一事件執行單元11,並在至少一事件執行單元11接收到回家事件訊息後,對應的事件執行單元11根據該回家狀態紀錄表記載的用戶狀態以及回家事件訊息執行對應的功能。When the main control unit 12 is successfully connected with the registered mobile device 20, the main control unit 12 generates the authentication completion signal and generates the home event message, and the main control unit 12 sends the successfully connected mobile device After the identity information of 20 is updated to the home state in the corresponding user state in the home state record table, the main control unit 12 transmits a home event message to at least one event execution unit 11, and at least one event execution unit 11 After receiving the homecoming event message, the corresponding event execution unit 11 executes the corresponding function according to the user state and the homecoming event message recorded in the homecoming state record table.

當該主控單元12未與該註冊過的移動裝置連接成功時,該主控單元12進一步判斷已連接成功的一移動裝置是否失去連接。When the main control unit 12 is not successfully connected with the registered mobile device, the main control unit 12 further determines whether a successfully connected mobile device loses connection.

當該主控單元12判斷該已連接成功的移動裝置20失去連接時,該主控單元12產生該認證失效訊號,並產生該離家事件訊息,且該主控單元12將該已失去連接的移動裝置20的身分資訊在該回家狀態紀錄表中對應的用戶狀態更新為該離家狀態後,該主控單元12傳送離家事件訊息到至少一事件執行單元11,並在至少一事件執行單元11接收到離家事件訊息後,對應的事件執行單元11再根據該回家狀態紀錄表中記載的用戶狀態以及離家事件訊息執行對應的功能。When the main control unit 12 determines that the successfully connected mobile device 20 is disconnected, the main control unit 12 generates the authentication invalidation signal and generates the leave home event message, and the main control unit 12 generates the disconnected mobile device 20 After the identity information of the mobile device 20 is updated to the home-away state corresponding to the user status in the home status record table, the main control unit 12 transmits a home-away event message to at least one event execution unit 11, and executes at least one event After the unit 11 receives the leaving home event message, the corresponding event executing unit 11 executes the corresponding function according to the user state and the leaving home event message recorded in the returning home state record table.

請參閱圖6所示,在本較佳實施例中,該事件管控方法在執行判斷該移動裝置是否有通過該認證程序的步驟時,進一步包含有以下子步驟: 判斷主控單元是否與一註冊過的移動裝置連接成功(S601); 當與該註冊過的移動裝置連接成功時,產生該認證完成訊號(S602),並產生該回家事件訊息(S603),且將已連接成功的移動裝置的身分資訊在該回家狀態紀錄表中對應的用戶狀態更新為該回家狀態後(S6031),並傳送回家事件訊息到至少一事件執行單元(S604),當至少一事件執行單元接收到回家事件訊息後,至少一事件執行單元再根據該回家狀態紀錄表記載的用戶狀態以及回家事件訊息執行對應的功能(S605); 當未與該註冊過的移動裝置連接成功時,判斷已連接成功的一移動裝置是否失去連接(S6011); 當該已連接成功的移動裝置失去連接時,產生該認證失效訊號(S606),並產生該離家事件訊息(S607),且將該已失去連接的移動裝置的身分資訊在該回家狀態紀錄表中對應的用戶狀態更新為該離家狀態後(S6071),傳送離家事件訊息到至少一事件執行單元(S608),當至少一事件執行單元接收到離家事件訊息後,至少一事件執行單元再根據該回家狀態紀錄表中記載的用戶狀態以及離家事件訊息執行對應的功能(S609)。 Please refer to FIG. 6 , in this preferred embodiment, the event management method further includes the following sub-steps when executing the step of judging whether the mobile device has passed the authentication procedure: Determine whether the main control unit is successfully connected with a registered mobile device (S601); When the connection with the registered mobile device is successful, the authentication completion signal is generated (S602), the homecoming event message is generated (S603), and the identity information of the successfully connected mobile device is recorded in the homecoming status record table After the corresponding user status is updated to the home state (S6031), a homecoming event message is sent to at least one event execution unit (S604). When the at least one event execution unit receives the homecoming event message, at least one event executes The unit then executes the corresponding function according to the user state and the return home event message recorded in the home state record table (S605); When not successfully connected to the registered mobile device, determine whether a successfully connected mobile device loses connection (S6011); When the successfully connected mobile device loses connection, the authentication invalidation signal is generated (S606), and the leaving home event message is generated (S607), and the identity information of the mobile device that has lost connection is recorded in the home state After the corresponding user state in the table is updated to the home-away state (S6071), a home-away event message is sent to at least one event execution unit (S608). After the at least one event execution unit receives the home-away event message, at least one event executes The unit then executes the corresponding function according to the user state recorded in the home state record table and the leaving home event message (S609).

在另一較佳實施例中,該認證程序係一掃描認證程序,當該主控單元12判斷該移動裝置20是否有通過該認證程序時,該主控單元12先判斷是否掃描到該移動裝置20發出的一訊號。In another preferred embodiment, the authentication procedure is a scanning authentication procedure. When the main control unit 12 determines whether the mobile device 20 has passed the authentication procedure, the main control unit 12 first determines whether the mobile device is scanned. A signal from 20.

當該主控單元12掃描到該移動裝置20發出的訊號時,該主控單元12進一步判斷該訊號中的身分資訊是否已被註冊,且當該主控單元12判斷該訊號中的身分資訊已被註冊過時,該主控單元12再判斷該訊號中的身分資訊在該回家狀態紀錄表中對應的該用戶狀態是否為該回家狀態。When the main control unit 12 scans the signal sent by the mobile device 20, the main control unit 12 further determines whether the identity information in the signal has been registered, and when the main control unit 12 determines that the identity information in the signal has been registered After being registered out of date, the main control unit 12 further determines whether the user state corresponding to the identity information in the signal in the home state record table is the home state.

當該主控單元12判斷該訊號中的身分資訊在該回家狀態紀錄表中對應的該用戶狀態為該回家狀態時,該主控單元12將該訊號中的身分資訊在該回家狀態紀錄表中對應的一紀錄時間更新為一目前時間。When the main control unit 12 determines that the user state corresponding to the identity information in the signal in the home state record table is the home state, the main control unit 12 determines that the identity information in the signal is in the home state A corresponding record time in the record table is updated to a current time.

當該主控單元12判斷該訊號中的身分資訊在該回家狀態紀錄表中對應的該用戶狀態非為該回家狀態時,該主控單元12產生該認證完成訊號,並產生該回家事件訊息,且該主控單元12將該訊號中的身分資訊在該回家狀態紀錄表中對應的一紀錄時間更新為一目前時間,再將該訊號中的身分資訊在該回家狀態紀錄表中對應的該用戶狀態更新為該回家狀態,傳送回家事件訊息到至少一事件執行單元11,當至少一事件執行單元11接收到回家事件訊息後,對應的事件執行單元11根據該回家狀態紀錄表記載的用戶狀態以及回家事件訊息執行對應的功能。When the main control unit 12 determines that the user status corresponding to the identity information in the signal in the home state record table is not the home state, the main control unit 12 generates the authentication completion signal and generates the home state event message, and the main control unit 12 updates a record time corresponding to the identity information in the signal in the home state record table to a current time, and then records the identity information in the signal in the home state record table The corresponding user state in , is updated to the home state, and a homecoming event message is sent to at least one event execution unit 11. After at least one event execution unit 11 receives the homecoming event message, the corresponding event execution unit 11 according to the return The user state recorded in the home state record table and the homecoming event message execute the corresponding function.

當該主控單元12未掃描到該移動裝置發出的訊號時,該主控單元12進一步判斷該回家狀態紀錄表中的身分資訊對應的紀錄時間與目前時間的時間差是否超過一預設值。When the main control unit 12 does not scan the signal sent by the mobile device, the main control unit 12 further determines whether the time difference between the record time corresponding to the identity information in the home state record table and the current time exceeds a preset value.

當該主控單元12判斷該回家狀態紀錄表中的身分資訊對應的紀錄時間與目前時間的時間差有超過該預設值時,該主控單元12產生該認證失效訊號,並產生該離家事件訊息,更新對應該身份資訊的用戶狀態為離家狀態,傳送離家事件訊息到至少一事件執行單元11,並在當至少一事件執行單元11接收到離家事件訊息後,對應的事件執行單元11根據該回家狀態紀錄表記載的用戶狀態以及離家事件訊息執行對應的功能。When the main control unit 12 determines that the time difference between the record time corresponding to the identity information in the home state record table and the current time exceeds the preset value, the main control unit 12 generates the authentication failure signal and generates the leaving home event message, update the user state corresponding to the identity information to the home-away state, send the leave-home event message to at least one event execution unit 11, and when at least one event execution unit 11 receives the leave-home event message, execute the corresponding event The unit 11 executes the corresponding function according to the user state recorded in the home state record table and the leaving home event information.

請參閱圖7所示,在本較佳實施例中,該事件管控方法在執行判斷該移動裝置是否有通過該認證程序的步驟時,進一步包含有以下子步驟: 判斷是否掃描到該移動裝置發出的一訊號(S7011); 其中當掃描到該移動裝置發出的訊號時,判斷該訊號中的身分資訊是否已被註冊(S7012); 當該訊號中的身分資訊已被註冊過時,判斷該訊號中的身分資訊在該回家狀態紀錄表中對應的該用戶狀態是否為該回家狀態(S7013); 當該訊號中的身分資訊在該回家狀態紀錄表中對應的該用戶狀態為該回家狀態時,將該訊號中的身分資訊在該回家狀態紀錄表中對應的一紀錄時間更新為一目前時間(S7014); 當該訊號中的身分資訊在該回家狀態紀錄表中對應的該用戶狀態非為該回家狀態時,產生該認證完成訊號(S702),並產生該回家事件訊息(S703),將該訊號中的身分資訊在該回家狀態紀錄表中對應的一紀錄時間更新為一目前時間(S7031),再將該訊號中的身分資訊在該回家狀態紀錄表中對應的該用戶狀態更新為該回家狀態(S7032),並傳送回家事件訊息到至少一事件執行單元(S704),並在當至少一事件執行單元接收到回家事件訊息後,對應的事件執行單元根據該回家狀態紀錄表記載的用戶狀態以及回家事件訊息執行對應的功能(S705); 當未掃描到該移動裝置發出的訊號時,判斷該回家狀態紀錄表中的身分資訊對應的紀錄時間與目前時間的時間差是否超過一預設值(S7015); 當該回家狀態紀錄表中的身分資訊對應的紀錄時間與目前時間的時間差有超過該預設值時,產生該認證失效訊號(S706),並產生該離家事件訊息(S707),更新對應該身份資訊的用戶狀態為離家狀態(S7071),傳送離家事件訊息到至少一事件執行單元(S708),並在當至少一事件執行單元接收到離家事件訊息後,對應的事件執行單元11再根據該回家狀態紀錄表記載的用戶狀態以及離家事件訊息執行對應的功能(S709)。 Referring to FIG. 7 , in this preferred embodiment, the event management method further includes the following sub-steps when executing the step of judging whether the mobile device has passed the authentication procedure: Determine whether a signal sent by the mobile device is scanned (S7011); When the signal sent by the mobile device is scanned, determine whether the identity information in the signal has been registered (S7012); When the identity information in the signal has been registered, determine whether the user state corresponding to the identity information in the signal in the home state record table is the home state (S7013); When the user status corresponding to the identity information in the signal in the home state record table is the home state, update a record time corresponding to the identity information in the signal in the home state record table to a Current time (S7014); When the identity information in the signal is not the home state corresponding to the user state in the home state record table, the authentication completion signal is generated (S702), and the home event message is generated (S703), and the return home event message is generated (S703). A record time corresponding to the identity information in the signal in the home state record table is updated to a current time (S7031), and then the user state corresponding to the identity information in the signal in the home state record table is updated to the home state (S7032), and send home event message to at least one event execution unit (S704), and after at least one event execution unit receives the home event message, the corresponding event execution unit according to the home state The user state and the homecoming event message recorded in the record table execute the corresponding function (S705); When the signal sent by the mobile device is not scanned, determine whether the time difference between the record time corresponding to the identity information in the home state record table and the current time exceeds a preset value (S7015); When the time difference between the record time corresponding to the identity information in the home state record table and the current time exceeds the preset value, the authentication invalidation signal is generated (S706), and the leaving home event message is generated (S707), and the update The user state of the identity information should be the home-away state (S7071), send the home-away event message to at least one event execution unit (S708), and after the at least one event execution unit receives the home-away event message, the corresponding event execution unit 11 and then execute the corresponding function according to the user state recorded in the home state record table and the leaving home event message (S709).

此外,在又一較佳實施例中,當該主控單元12產生該回家事件訊息或該離家事件訊息到至少一事件執行單元11時,至少一事件執行單元11還可進一步參考目前的環境狀態,例如當用戶想在不同的時段聽不同頻道,所以當用戶回家後,至少一事件執行單元11可以參考目前時間來決定收聽頻道。In addition, in another preferred embodiment, when the main control unit 12 generates the home event message or the home leave event message to at least one event execution unit 11, at least one event execution unit 11 may further refer to the current For example, when the user wants to listen to different channels at different time periods, at least one event execution unit 11 can refer to the current time to determine the channel to listen to when the user returns home.

因此,當該主控單元12傳送該回家事件訊息時,該至少一事件執行單元11先接收一環境參數資訊,且對應的該事件執行單元11再根據回家事件訊息以及環境參數資訊執行對應的功能。當該主控單元12傳送該離家事件時,該至少一事件執行單元11先接收一環境參數資訊,該對應的事件執行單元11再根據離家事件訊息以及環境參數資訊執行對應的功能。Therefore, when the main control unit 12 transmits the home event message, the at least one event execution unit 11 first receives an environmental parameter information, and the corresponding event execution unit 11 executes the corresponding action according to the home event message and the environmental parameter information function. When the main control unit 12 transmits the leaving home event, the at least one event executing unit 11 first receives environmental parameter information, and the corresponding event executing unit 11 executes corresponding functions according to the leaving home event information and the environmental parameter information.

請參閱圖8所示,在本較佳實施例中,該事件管控方法進一步包含有以下步驟: 主控單元判斷一移動裝置是否有通過一認證程序(S801); 當該移動裝置通過該認證程序時,主控單元產生一認證完成訊號(S802); 主控單元根據已通過認證程序之移動裝置的身分資訊產生及傳送一回家事件訊息(S803); 當主控單元產生該回家事件訊息時,至少一事件執行單元先接收一環境參數資訊(S8031),對應的事件執行單元再根據回家事件訊息以及環境參數資訊執行對應的功能(S804); 當該移動裝置未通過該認證程序時,主控單元產生一認證失效訊號(S805); 主控單元產生及傳送該離家事件訊息(S806); 當主控單元傳送離家事件訊息時,至少一事件執行單元接收環境參數資訊(S8061),且對應的事件執行單元11根據接收的離家事件訊息以及環境參數資訊執行對應的功能(S807)。 Referring to FIG. 8, in this preferred embodiment, the event management method further includes the following steps: The main control unit determines whether a mobile device has passed an authentication procedure (S801); When the mobile device passes the authentication procedure, the main control unit generates an authentication completion signal (S802); The main control unit generates and transmits a homecoming event message according to the identity information of the mobile device that has passed the authentication procedure (S803); When the main control unit generates the going home event message, at least one event execution unit first receives an environmental parameter information (S8031), and the corresponding event executing unit then executes a corresponding function according to the going home event message and the environmental parameter information (S804); When the mobile device fails the authentication procedure, the main control unit generates an authentication failure signal (S805); The main control unit generates and transmits the home leave event message (S806); When the main control unit transmits the home leave event message, at least one event execution unit receives the environmental parameter information (S8061), and the corresponding event execution unit 11 executes the corresponding function according to the received home leave event message and the environmental parameter information (S807).

請進一步參閱圖9所示,舉例來說,家中有用戶A、用戶B及用戶C三個成員,用戶A與用戶B共同使用一個房間,但用戶C與用戶A、用戶B不使用同一個房間。若用戶A希望當溫度高過一預設溫度時就將家中電風扇40打開。因此,用戶A與用戶B的房間裡有安裝了一個溫度計50,且該至少一事件執行單元11進一步接收該溫度計50感測到的溫度訊號。Please refer to FIG. 9 . For example, there are three members in the home: User A, User B and User C. User A and User B share a room, but User C does not use the same room as User A and User B. . If the user A wishes to turn on the household electric fan 40 when the temperature is higher than a preset temperature. Therefore, a thermometer 50 is installed in the room of the user A and the user B, and the at least one event execution unit 11 further receives the temperature signal sensed by the thermometer 50 .

若對應的事件執行單元11根據該溫度訊號及該回家狀態紀錄表,發現用戶A在家中且目前溫度超過該預設溫度,即可開啟該電風扇40。If the corresponding event execution unit 11 finds that the user A is at home and the current temperature exceeds the preset temperature according to the temperature signal and the home state record table, the electric fan 40 can be turned on.

此外,在其他較佳實施例中,當至少一事件執行單元11接收到該環境參數資訊時,該至少一事件執行單元11可先根據該環境參數資訊判斷是否產生一環境參數事件訊息。In addition, in other preferred embodiments, when at least one event execution unit 11 receives the environment parameter information, the at least one event execution unit 11 can first determine whether to generate an environment parameter event message according to the environment parameter information.

當該至少一事件執行單元11產生該環境參數事件訊息時,對應的事件執行單元11需先讀取該回家狀態紀錄表,且對應的事件執行單元11根據該回家狀態紀錄表中記載的用戶狀態及該環境參數事件訊息執行對應的功能。在另一實施例中,至少一事件執行單元11讀取該回家狀態紀錄表,並接收回家事件訊息或離家事件訊息,且對應的事件執行單元11根據該回家狀態紀錄表中記載的用戶狀態及該環境參數事件訊息執行對應的功能。When the at least one event execution unit 11 generates the environmental parameter event message, the corresponding event execution unit 11 needs to read the return home state record table first, and the corresponding event execution unit 11 according to the return home state record table records The user state and the environmental parameter event message execute the corresponding function. In another embodiment, at least one event execution unit 11 reads the homecoming state record table, and receives a homecoming event message or a leaving home event message, and the corresponding event executing unit 11 records the record in the homecoming state record table according to the corresponding event execution unit 11 The user status and the environment parameter event message execute the corresponding function.

請參閱圖10所示,該事件管控方法進一步包含有以下步驟: 當至少一事件執行單元11接收到一環境參數資訊時(S1001),至少一事件執行單元11根據該環境參數資訊判斷是否產生一環境參數事件訊息(S1002); 當產生該環境參數事件訊息時,至少一事件執行單元11先讀取該回家狀態紀錄表(S1003),對應的事件執行單元11再根據該回家狀態紀錄表中記載的用戶狀態及該環境參數資訊執行對應的功能(S1004)。 Referring to Figure 10, the event management method further includes the following steps: When at least one event execution unit 11 receives an environmental parameter information (S1001), at least one event execution unit 11 determines whether to generate an environmental parameter event message according to the environmental parameter information (S1002); When the environmental parameter event message is generated, at least one event execution unit 11 first reads the home state record table (S1003), and the corresponding event execution unit 11 then according to the user state and the environment recorded in the home state record table The parameter information executes the corresponding function (S1004).

舉例來說,當用戶A不在家中時,若將電風扇40打開反而形成浪費。所以當該至少一事件執行單元11根據該環境參數資訊產生該環境參數事件訊息時,該對應的事件執行單元11應該先讀取回家狀態紀錄表,再根據回家狀態紀錄表中記載的用戶狀態及該環境參數事件訊息判斷如何執行對應的功能。For example, when the user A is not at home, turning on the electric fan 40 is a waste. Therefore, when the at least one event execution unit 11 generates the environmental parameter event message according to the environmental parameter information, the corresponding event execution unit 11 should first read the return home state record table, and then read the home state record table according to the user records in the home state record table. The state and the environmental parameter event message determine how to execute the corresponding function.

例如,該至少一事件執行單元11每十分鐘去讀取房間內溫度計50的值,並根據這個環境參數資訊判斷是否產生該環境參數事件訊息,或是溫度計50在溫度發生變化時,溫度計50產生環境參數資訊並送給對應的事件執行單元11。若對應的事件執行單元11發現溫度高過該預設溫度時,會先讀取回家狀態紀錄表,如果用戶A在家,則打開電風扇40,如果用戶A不在,則對應的事件執行單元11不做任何動作。For example, the at least one event execution unit 11 reads the value of the thermometer 50 in the room every ten minutes, and determines whether to generate the environmental parameter event message according to the environmental parameter information, or when the temperature of the thermometer 50 changes, the thermometer 50 generates The environmental parameter information is sent to the corresponding event execution unit 11 . If the corresponding event execution unit 11 finds that the temperature is higher than the preset temperature, it will first read the home state record table, if the user A is at home, turn on the electric fan 40, and if the user A is not, the corresponding event execution unit 11 Do nothing.

又如前例,由於此電風扇40安裝在用戶A與用戶B的房間內,但只有C在家時,因為用戶C並不會進入用戶A與用戶B的房間,因此這個電風扇40不會因為用戶C在家中而被啟動。又或者用戶A與用戶B都在房間中時,房間內的溫度上升速度較快,該對應的事件執行單元11可將電風扇40轉到較大的風量以達到需求。又或者用戶A比較怕熱,因此將該預設溫度設為較低的溫度,而用戶B並沒有這麼怕熱,因此將該預設溫度設為較高的溫度。如此一來,就可以根據不同的用戶做到不同的個人化設定,以滿足各個不同用戶的需求。As in the previous example, since the electric fan 40 is installed in the rooms of user A and user B, but when only C is at home, because user C does not enter the rooms of user A and user B, the electric fan 40 will not be installed in the rooms of user A and user B. C is activated at home. Alternatively, when both user A and user B are in the room, the temperature in the room rises faster, and the corresponding event execution unit 11 can turn the electric fan 40 to a larger air volume to meet the demand. Or user A is more afraid of heat, so the preset temperature is set to a lower temperature, while user B is not so afraid of heat, so the preset temperature is set to a higher temperature. In this way, different personalized settings can be made according to different users to meet the needs of different users.

在其他情況,例如用戶A設定一自動掃地機器人在他上班的時間動作,這樣家居生活就不會因為掃地機器人工作而打擾,但是某日用戶A因為某些原因留在家中,這時該對應的事件執行單元11根據環境參數資訊,如時間資訊,判斷此時應為上班時間,欲起動掃地機器人開始工作,但該對應的事件執行單元11在啟動掃地機器人以前會先讀取該回家狀態紀錄表,得知用戶A在家,這時就取消預備執行的動作,以避免打擾到用戶A。在另一實施例中,至少一事件執行單元11在啟動掃地機器人以前會先讀取該回家狀態紀錄表,對應的事件執行單元11得知用戶A在家,這時就取消預備執行的動作,以避免打擾到用戶A,或者延遲此一命令到用戶A離開再執行。在上述舉例說明中,該事件執行單元11可以是手機的軟體模組,用於控制掃地機器人。In other cases, for example, user A sets an automatic sweeping robot to act during his work hours, so that the home life will not be disturbed by the working of the sweeping robot, but user A stays at home for some reason on a certain day, then the corresponding event According to the environmental parameter information, such as time information, the execution unit 11 judges that it is work time, and wants to start the cleaning robot to start working, but the corresponding event execution unit 11 will read the home state record table before starting the cleaning robot. , know that user A is at home, and cancel the action to be performed at this time to avoid disturbing user A. In another embodiment, at least one event execution unit 11 will read the home state record table before starting the cleaning robot, and the corresponding event execution unit 11 knows that the user A is at home, and then cancels the action to be executed, so as to Avoid disturbing user A, or delay the execution of this command until user A leaves. In the above example, the event execution unit 11 may be a software module of a mobile phone, which is used to control the cleaning robot.

由於用戶擁有各式各項不同的需求,與各式各樣不同的考量,這個部分可以交由用戶設定,或是根據電器的不同來決定該如何設定,以符合用戶的使用環境。Since users have various different needs and various considerations, this part can be set by the user, or how to set it according to the different electrical appliances, so as to meet the user's use environment.

另外,遠端控制為另一個常見的功能,用戶可以透過網路使用遠端控制功能控制家中的電器。然而當用戶使用遠端控制功能操作家中電器,但剛好家中有人正在使用這個電器,反而造成用戶困擾。In addition, remote control is another common function. Users can use the remote control function to control electrical appliances in the home through the network. However, when a user uses the remote control function to operate a home appliance, but someone at home happens to be using the appliance, it causes trouble for the user.

因此,當該主控單元12接收到一遠端遙控裝置產生的一遠端遙控訊號時,該主控單元12根據遠端遙控訊號產生一遠端事件訊息,並傳送遠端事件訊息到至少一事件執行單元11。當至少一事件執行單元11接收到遠端事件訊息時,對應的事件執行單元11讀取該回家狀態紀錄表,且進一步根據該回家狀態紀錄表中記載的用戶狀態及該遠端事件訊息執行對應的功能。Therefore, when the main control unit 12 receives a remote control signal generated by a remote control device, the main control unit 12 generates a remote event message according to the remote control signal, and transmits the remote event message to at least one Event execution unit 11 . When at least one event execution unit 11 receives the remote event message, the corresponding event execution unit 11 reads the home state record table, and further according to the user state and the remote event message recorded in the home state record table Execute the corresponding function.

請參閱圖11所示,該事件管控方法進一步包含有以下步驟:Referring to Figure 11, the event management method further includes the following steps:

當主控單元12接收到一遠端遙控訊號時(S1101),根據遠端遙控訊號產生一遠端事件訊息(S1102),並讀取該回家狀態紀錄表後(S1103),傳送遠端事件訊息到至少一事件執行單元11(S1104),當至少一事件執行單元11接收到遠端事件訊息時,對應的事件執行單元11再根據該回家狀態紀錄表中記載的用戶狀態及該遠端事件訊息執行對應的功能 (S1105)。When the main control unit 12 receives a remote control signal (S1101), it generates a remote event message according to the remote control signal (S1102), reads the home state record table (S1103), and transmits the remote event The message is sent to at least one event execution unit 11 (S1104). When at least one event execution unit 11 receives a remote event message, the corresponding event execution unit 11 will then use the user status recorded in the home state record table and the remote The event message executes the corresponding function (S1105).

舉例來說,當該主控單元12傳送該遠端事件訊息到至少一事件執行單元11時,對應的事件執行單元11可以先參考家中是否有人員存在,再決定要如何執行動作。而另一種方式是用戶拿來發送該遠端遙控訊號的一遠端遙控裝置在發送該遠端遙控訊號之前,先從讀取家中人員狀態,再決定如何執行動作。For example, when the main control unit 12 transmits the remote event message to at least one event execution unit 11, the corresponding event execution unit 11 may first refer to whether there is a person at home, and then decide how to execute the action. Another method is that a remote control device used by the user to send the remote control signal reads the status of the people in the home before sending the remote control signal, and then decides how to execute the action.

如圖12所示,當用戶欲使用遠端遙控功能時,先操作該遠端遙控裝置60產生一遠端遙控指令,而當該事件管控裝置10的主控單元12接收到該遠端搖控制指令時,即發送該回家狀態紀錄表給該遠端遙控裝置60,由該遠端遙控裝置60根據接收到的回家狀態紀錄表產生對應的遠端遙控訊號,並發送該遠端遙控訊號至該事件管控裝置10的主控單元12。由於在此一狀況下該主控單元12接收到的該遠端遙控訊號是由該遠端遙控裝置60據接收到的回家狀態紀錄表產生的,代表該遠端遙控訊號包含了用戶在家與否的判斷,因此該主控單元12便可直接根據該遠端遙控訊號對應產生遠端事件訊息。之後,主控單元12傳送遠端事件訊息到至少一事件執行單元11,並於當至少一事件執行單元11接收到遠端事件訊息時,對應的事件執行單元11根據遠端事件訊息執行對應的功能。As shown in FIG. 12 , when the user wants to use the remote control function, he first operates the remote control device 60 to generate a remote control command, and when the main control unit 12 of the event management device 10 receives the remote control When instructed, the home state record table is sent to the remote control device 60, and the remote control device 60 generates a corresponding remote control signal according to the received home state record table, and sends the remote control signal. to the main control unit 12 of the event management device 10 . Since the remote control signal received by the main control unit 12 is generated by the remote control device 60 according to the home state record table received in this situation, it means that the remote control signal includes the user's home and Therefore, the main control unit 12 can directly generate a remote event message corresponding to the remote control signal. After that, the main control unit 12 transmits the remote event message to at least one event execution unit 11, and when the at least one event execution unit 11 receives the remote event message, the corresponding event execution unit 11 executes the corresponding remote event message according to the remote event message. Function.

請參閱圖13所示,舉例來說,若用戶A在家中,而用戶B不在家中。用戶B的智能手機為一個遠端遙控裝置60,用戶B想要在外面控制家中的收音機,錄下某個在正在播放的頻道,這時用戶B操作他手中的遠端遙控裝置遠端控制收音機30。用戶B的遠端遙控裝置60可透過網路發送遠端遙控訊號到該主控單元12,而該主控單元12在接收到的遠端遙控訊號時,先讀取該回家狀態紀錄表,知道了用戶A在家中,所以不啟動收音機30,避免打擾到用戶A;之後,主控單元12根據遠端遙控訊號產生遠端事件訊息,並傳送遠端事件訊息到至少一事件執行單元11,並於當至少一事件執行單元11接收到遠端事件訊息時,對應的事件執行單元11根據遠端事件訊息執行對應的功能,亦即,不啟動收音機30,避免打擾到用戶A。又或是該主控單元12在確認用戶A在家中時,而在啟動收音機30之前,先發送確認事件訊息回到用戶B的遠端遙控裝置,告知用戶B此時用戶A正在家中,並要求用戶B再次確認後才會執行啟動收音機30的動作。Referring to FIG. 13, for example, if user A is at home and user B is not at home. User B's smart phone is a remote control device 60. User B wants to control the radio at home and record a certain channel being played. At this time, user B operates the remote control device in his hand to remotely control the radio 30. . User B's remote control device 60 can send a remote control signal to the main control unit 12 through the network, and the main control unit 12 first reads the home state record table when receiving the remote control signal, Knowing that user A is at home, the radio 30 is not activated to avoid disturbing user A; after that, the main control unit 12 generates a remote event message according to the remote control signal, and transmits the remote event message to at least one event execution unit 11, And when at least one event execution unit 11 receives the remote event message, the corresponding event execution unit 11 executes the corresponding function according to the remote event message, that is, the radio 30 is not activated to avoid disturbing the user A. Or when the main control unit 12 confirms that user A is at home, before starting the radio 30, it first sends a confirmation event message back to the remote control device of user B to inform user B that user A is at home at this time, and request The action of starting the radio 30 will not be performed until the user B confirms again.

在另一個狀況中,同樣的用戶A在家中,用戶B想要遠端控制收音機30,並從他手中的遠端遙控裝置60點選操作命令。用戶B手中的遠端遙控裝置60先傳送用戶B的命令至該主控單元12,由該主控單元12回傳該回家狀態紀錄表,此時用戶B的遠端遙控裝置60先接收該回家狀態紀錄表後,根據該回家狀態紀錄表知道了用戶A在家中,該遠端遙控裝置60則顯示訊息告知用戶A在家中所以不執行動作。In another situation, the same user A is at home, and user B wants to remotely control the radio 30 and clicks an operating command from the remote control device 60 in his hand. The remote control device 60 in user B's hand first transmits user B's command to the main control unit 12, and the main control unit 12 returns the home state record table. At this time, the remote control device 60 of user B first receives the After the returning home state record table, it is known that user A is at home according to the returning home state record table, and the remote control device 60 displays a message informing that user A is at home and therefore does not perform the action.

或者主控單元12提示用戶B,說明用戶A目前在家中,要求用戶B再次確認,在用戶B再次確認機後,用戶B的遠端遙控裝置60才發出該遠端遙控訊號到該主控單元12,並執行用戶B的命令。Or the main control unit 12 prompts the user B, indicating that the user A is currently at home, and requires the user B to confirm again. After the user B confirms the machine again, the remote control device 60 of the user B sends the remote control signal to the main control unit. 12, and execute user B's command.

又或者此時收音機撥放的正好是用戶B想要錄音的頻道,這時錄音並不會造成用戶A的困擾,如此一來就可以直接執行錄音而不需提示用戶B。Or at this time, the radio is playing the channel that user B wants to record. At this time, the recording will not cause trouble for user A. In this way, the recording can be performed directly without prompting user B.

然而,在其他狀況下,這個遠端控制訊號也有可能是用戶A發出來的,例如用戶A躺在床上使用智能手機,但是收音機30在房間的另一端,用戶A拿出身邊的遠端遙控裝置60想要關閉收音機30。這時如果依照上面的流程提醒用戶A反而造成用戶A的困擾。However, in other situations, the remote control signal may also be sent by user A. For example, user A is using a smartphone while lying on the bed, but the radio 30 is at the other end of the room. User A takes out the remote control device around him. 60 wants to turn off the radio 30. At this time, if user A is reminded according to the above process, user A will be troubled.

因此,在此狀況下,可將該遠端遙控訊號中內含有發送者的資訊。例如用戶A的遠端遙控裝置60發送該遠端遙控訊號到該主控單元12時,該主控單元12讀取回家狀態紀錄表,判斷該遠端遙控訊號是由用戶A發送且用戶A在家中,如此則不需要提醒用戶A再次確認,而是直接關閉收音機30。Therefore, in this case, the remote control signal can contain the sender's information. For example, when the remote control device 60 of user A sends the remote control signal to the main control unit 12, the main control unit 12 reads the home state record table and determines that the remote control signal is sent by user A and the user A At home, user A does not need to be reminded to confirm again, but the radio 30 is turned off directly.

另一種狀況為用戶A操作該遠端遙控裝置60產生該遠端遙控指令後,先接收該主控單元12回傳的回家狀態紀錄表,且用戶A的遠端遙控裝置60根據該回家狀態紀錄表,確認發送遠端遙控訊號的用戶A正在家中,如此則無需提醒用戶A再次確認,而是直接關閉收音機30。Another situation is that after user A operates the remote control device 60 to generate the remote control command, it first receives the return home status record table returned by the main control unit 12, and the remote control device 60 of user A receives the return home state record table according to the return home state record table of the main control unit 12. The status record table confirms that the user A who sends the remote control signal is at home, so the radio 30 is turned off directly without reminding the user A to confirm again.

再者,如圖14所示,若為家中有用戶A、用戶B及用戶C三個成員的狀況,當只有用戶C在家,而用戶A想要遠端遙控收音機30,這時用戶C雖然在家,但是因為用戶C並不會使用收音機30,且與收音機30在不同房間,所以即便該遠端遙控裝置60或該主控單元12都知道用戶C在家,但仍可以直執行用戶A的遠端遙控命令。Furthermore, as shown in FIG. 14 , if there are three members of user A, user B and user C at home, when only user C is at home, and user A wants to remotely control the radio 30, although user C is at home, However, because user C does not use the radio 30 and is in a different room from the radio 30, even if the remote control device 60 or the main control unit 12 knows that user C is at home, they can still directly execute the remote control of user A. Order.

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

10:事件管控裝置 11:事件執行單元 12:主控單元 20:移動裝置 20A:移動裝置 20B:移動裝置 30:收音機 40:電風扇 50:溫度計 60:遠端遙控裝置 A:用戶 B:用戶 C:用戶 S201~S209:步驟 S501~S509:步驟 S601~S609:步驟 S7011~S709:步驟 S801~S807:步驟 S1001~S1004:步驟 S1101~S1105:步驟 10: Event management device 11: Event execution unit 12: Main control unit 20: Mobile Devices 20A: Mobile Devices 20B: Mobile Devices 30: Radio 40: Electric fan 50: Thermometer 60: Remote remote control device A: User B: user C: user S201~S209: Steps S501~S509: Steps S601~S609: Steps S7011~S709: Steps S801~S807: Steps S1001~S1004: Steps S1101~S1105: Steps

圖1為本發明事件管控裝置較佳實施例的方塊示意圖。 圖2為本發明事件管控方法第一較佳實施例的流程示意圖。 圖3為本發明事件管控方法的第一使用狀態示意圖。 圖4為本發明事件管控方法的第二使用狀態示意圖。 圖5為本發明事件管控方法第二較佳實施例的流程示意圖。 圖6為本發明事件管控方法第三較佳實施例的流程示意圖。 圖7為本發明事件管控方法第四較佳實施例的流程示意圖。 圖8為本發明事件管控方法的第三使用狀態示意圖。 圖9為本發明事件管控方法第五較佳實施例的流程示意圖。 圖10為本發明事件管控方法第六較佳實施例的流程示意圖。 圖11為本發明事件管控方法第七較佳實施例的流程示意圖。 圖12為本發明事件管控方法的第四使用狀態示意圖。 圖13為本發明事件管控方法的第五使用狀態示意圖。 圖14為本發明事件管控方法的第六使用狀態示意圖。 FIG. 1 is a schematic block diagram of a preferred embodiment of an event management and control apparatus of the present invention. FIG. 2 is a schematic flowchart of a first preferred embodiment of the event management and control method of the present invention. FIG. 3 is a schematic diagram of a first use state of the event management and control method of the present invention. FIG. 4 is a schematic diagram of a second use state of the event management and control method of the present invention. FIG. 5 is a schematic flowchart of a second preferred embodiment of the event management and control method of the present invention. FIG. 6 is a schematic flowchart of a third preferred embodiment of the event management and control method of the present invention. FIG. 7 is a schematic flowchart of a fourth preferred embodiment of the event management and control method of the present invention. FIG. 8 is a schematic diagram of a third use state of the event management and control method of the present invention. FIG. 9 is a schematic flowchart of a fifth preferred embodiment of the event management and control method of the present invention. FIG. 10 is a schematic flowchart of a sixth preferred embodiment of the event management and control method of the present invention. FIG. 11 is a schematic flowchart of a seventh preferred embodiment of the event management and control method of the present invention. FIG. 12 is a schematic diagram of a fourth use state of the event management and control method of the present invention. FIG. 13 is a schematic diagram of a fifth use state of the event management and control method of the present invention. FIG. 14 is a schematic diagram of a sixth use state of the event management and control method of the present invention.

10:事件管控裝置 10: Event management device

11:事件執行單元 11: Event execution unit

12:主控單元 12: Main control unit

20:移動裝置 20: Mobile Devices

60:遠端遙控裝置 60: Remote remote control device

Claims (15)

一種事件管控裝置,包含:至少一事件執行單元;一主控單元,判斷是否掃描到一移動裝置發出的一訊號;其中當該主控單元掃描到該移動裝置發出的該訊號時,根據該移動裝置所發出之該訊號中的一身分資訊產生一回家事件訊息,以及傳送該回家事件訊息至該至少一事件執行單元;其中當該至少一事件執行單元接收該回家事件訊息時,該至少一事件執行單元根據該回家事件訊息判斷是否執行一回家事件;以及其中當該主控單元未掃描到該移動裝置發出的該訊號時,根據該移動裝置所發出之該訊號中的該身分資訊產生一離家事件訊息,以及傳送該離家事件訊息至該至少一事件執行單元;其中當該至少一事件執行單元接收該離家事件訊息時,該至少一事件執行單元根據該離家事件訊息判斷是否執行一離家事件。 An event control device, comprising: at least one event execution unit; a main control unit for judging whether to scan a signal sent by a mobile device; wherein when the main control unit scans the signal sent by the mobile device, according to the movement An identity information in the signal sent by the device generates a homecoming event message, and transmits the homecoming event message to the at least one event execution unit; wherein when the at least one event execution unit receives the homecoming event message, the homecoming event message at least one event execution unit judges whether to execute a home event according to the home event message; and when the main control unit does not scan the signal sent by the mobile device, according to the signal sent by the mobile device The identity information generates a home leave event message, and transmits the home leave event message to the at least one event execution unit; wherein when the at least one event execution unit receives the home leave event message, the at least one event execution unit according to the home leave The event message determines whether to execute a home leave event. 如請求項1所述的事件管控裝置,其中該主控單元具有一回家狀態紀錄表,且該回家狀態紀錄表中紀錄有該移動裝置的該身分資訊對應的一用戶狀態;其中當該主控單元傳送該回家事件訊息至該至少一事件執行單元之前,該主控單元進一步將該移動裝置所發出之該訊號中的該身分資訊在該回家狀態紀錄表中對應的該用戶狀態更新為一回家狀態,該主控單元再根據該回家狀態紀錄表記載的該用戶狀態產生該回家事件訊息;其中當該主控單元傳送該回家事件訊息至該至少一事件執行單元之前,該主控單元進一步將該移動裝置所發出之該訊號中的該身分資訊在該回家狀態紀 錄表中對應的該用戶狀態更新為一離家狀態,該主控單元再根據該回家狀態紀錄表記載的該用戶狀態產生該離家事件訊息。 The event management and control device according to claim 1, wherein the main control unit has a home state record table, and the home state record table records a user state corresponding to the identity information of the mobile device; wherein when the Before the main control unit transmits the homecoming event message to the at least one event execution unit, the main control unit further records the identity information in the signal sent by the mobile device to the corresponding user state in the homecoming state record table Updating to a home state, the main control unit then generates the home event message according to the user state recorded in the home state record table; wherein when the main control unit transmits the home event message to the at least one event execution unit Before, the main control unit further records the identity information in the signal sent by the mobile device in the home state record The corresponding user state in the record table is updated to a home-away state, and the main control unit generates the home-away event message according to the user state recorded in the home state record table. 如請求項1所述所述的事件管控裝置,其中該主控單元進一步判斷是否與一註冊過的移動裝置連接成功;其中當該主控單元與該註冊過的移動裝置連接成功時,該主控單元產生該回家事件訊息以及傳送該回家事件訊息至該至少一事件執行單元。 The event management device according to claim 1, wherein the main control unit further determines whether the connection with a registered mobile device is successful; wherein when the main control unit is successfully connected with the registered mobile device, the main control unit The control unit generates the homecoming event message and transmits the homecoming event message to the at least one event execution unit. 如請求項3所述的事件管控裝置,其中當該主控單元未與該註冊過的移動裝置連接成功時,該主控單元進一步判斷已連接成功的一移動裝置是否失去連接;其中當該主控單元判斷該已連接成功的移動裝置失去連接時,該主控單元產生該離家事件訊息以及傳送該離家事件訊息至該至少一事件執行單元。 The event management device according to claim 3, wherein when the main control unit is not successfully connected with the registered mobile device, the main control unit further determines whether a successfully connected mobile device loses connection; When the control unit determines that the successfully connected mobile device loses connection, the main control unit generates the home leave event message and transmits the home leave event message to the at least one event execution unit. 如請求項2所述所述的事件管控裝置,其中當該主控單元掃描到該移動裝置發出的該訊號時,該主控單元進一步判斷該訊號中的該身分資訊是否已被註冊,且當該主控單元判斷該訊號中的該身分資訊已被註冊過時,該主控單元再判斷該訊號中的該身分資訊在該回家狀態紀錄表中對應的該用戶狀態是否為該回家狀態;其中當該主控單元判斷該訊號中的該身分資訊在該回家狀態紀錄表中對應的該用戶狀態為該回家狀態時,該主控單元將該訊號中的該身分資訊在該回家狀態紀錄表中對應的一紀錄時間更新為一目前時間;其中當該主控單元判斷該訊號中的該身分資訊在該回家狀態紀錄表中對應的該用戶狀態非為該回家狀態時,該主控單元更新該訊號中的該身分資訊在該回家狀態紀錄表中對應的該記錄時間為該目前時間,該主控單元再將該訊號中的該身分資訊在該回家狀態紀錄表中對應的該用戶狀態更新為該回家狀態, 並根據該回家狀態紀錄表產生該回家事件訊息,以及傳送該回家事件訊息至該至少一事件執行單元。 The event management device according to claim 2, wherein when the main control unit scans the signal sent by the mobile device, the main control unit further determines whether the identity information in the signal has been registered, and when The main control unit determines that the identity information in the signal has been registered out of date, and the main control unit further determines whether the user state corresponding to the identity information in the signal in the home state record table is the home state; When the main control unit determines that the user state corresponding to the identity information in the signal in the home state record table is the home state, the main control unit records the identity information in the signal in the home state. A corresponding record time in the state record table is updated to a current time; wherein when the main control unit determines that the user state corresponding to the identity information in the signal in the home state record table is not the home state, The main control unit updates the record time corresponding to the identity information in the signal in the home state record table to the current time, and the main control unit then records the identity information in the signal in the home state record table The corresponding user status in the update to the home status, and generating the homecoming event message according to the homecoming state record table, and transmitting the homecoming event message to the at least one event execution unit. 如請求項5所述的事件管控裝置,其中當該主控單元未掃描到該移動裝置發出的訊號時,該主控單元在更新該身分資訊對應的該用戶狀態之前,進一步判斷該回家狀態紀錄表中的該身分資訊對應的該紀錄時間與該目前時間的一時間差是否超過一預設值;當該主控單元判斷該回家狀態紀錄表中的該身分資訊對應的該紀錄時間與該目前時間的該時間差有超過該預設值時,並將對應於該身分資訊的該用戶狀態更新為離家狀態,並根據該移動裝置所發出之該訊號中的該身分資訊以及該回家狀態紀錄表產生該離家事件訊息,以及傳送該離家事件訊息至該至少一事件執行單元。 The event management device according to claim 5, wherein when the main control unit does not scan the signal sent by the mobile device, the main control unit further determines the home state before updating the user state corresponding to the identity information Whether a time difference between the record time corresponding to the identity information in the record table and the current time exceeds a preset value; when the main control unit determines that the record time corresponding to the identity information in the home state record table and the When the time difference of the current time exceeds the preset value, the user state corresponding to the identity information is updated to be away from home, and according to the identity information and the home state in the signal sent by the mobile device The record table generates the home leave event message, and transmits the home leave event message to the at least one event execution unit. 如請求項1所述的事件管控裝置,其中當該至少一事件執行單元接收該回家事件訊息時,該至少一事件執行單元先接收一環境參數資訊,並根據接收的該回家事件訊息及該環境參數資訊執行對應的功能。 The event management and control device according to claim 1, wherein when the at least one event execution unit receives the homecoming event message, the at least one event executing unit first receives an environmental parameter information, and according to the received homecoming event message and The environment parameter information executes the corresponding function. 如請求項1所述的事件管控裝置,其中當該至少一事件執行單元接收該離家事件訊息離家事件時,該至少一事件執行單元先接收一環境參數資訊,並根據接收的該離家事件訊息及該環境參數資訊執行對應的功能。 The event management and control device according to claim 1, wherein when the at least one event execution unit receives the leave home event message, the at least one event execution unit first receives an environmental parameter information, and according to the received home leave event information The event information and the environmental parameter information execute corresponding functions. 如請求項2至6中任一項所述的事件管控裝置,其中當該至少一事件執行單元接收到一環境參數資訊時,該至少一事件執行單元根據該環境參數資訊判斷是否產生一環境參數事件訊息;其中當該至少一事件執行單元產生該環境參數事件訊息時,該至少一事件執行單元先讀取該回家狀態紀錄表,且該至少一事件執行單元根據該回家狀態紀錄表中記載的該用戶狀態及該環境參數事件訊息執行對應的功能。 The event management and control device according to any one of claims 2 to 6, wherein when the at least one event execution unit receives an environment parameter information, the at least one event execution unit determines whether to generate an environment parameter according to the environment parameter information event message; wherein when the at least one event execution unit generates the environmental parameter event message, the at least one event execution unit first reads the home state record table, and the at least one event execution unit according to the home state record table The recorded user state and the environmental parameter event message execute the corresponding function. 如請求項2至6中任一項所述的事件管控裝置,其中當該主控單元接收到一遠端遙控訊號時,該主控單元根據該遠端遙控訊號產生一遠端事件訊息,並傳送該遠端事件訊息至該至少一事件執行單元,其中當該至少一事件執行單元接收該遠端事件訊息後,該至少一事件執行單元讀取該回家狀態紀錄表,且根據該回家狀態紀錄表中記載的該用戶狀態及該遠端事件訊息執行對應的功能。 The event management device according to any one of claims 2 to 6, wherein when the main control unit receives a remote control signal, the main control unit generates a remote event message according to the remote control signal, and Sending the remote event message to the at least one event execution unit, wherein after the at least one event execution unit receives the remote event message, the at least one event execution unit reads the returning home state record table, and according to the returning home The user state and the remote event message recorded in the state record table execute the corresponding function. 如請求項1所述的事件管控裝置,其中該主控單元係為一智慧型手機。 The event management and control device according to claim 1, wherein the main control unit is a smart phone. 一種事件管控方法,由一事件管控裝置的一主控單元所執行,且該事件管控裝置還包含有至少一事件執行單元,而該事件管控方法包含有以下步驟:該主控單元判斷是否掃描到一移動裝置所發出之一訊號;當該主控單元掃描到該移動裝置所發出之該訊號時,該主控單元根據該移動裝置所發出之該訊號中的一身分資訊產生一回家事件訊息以及傳送該回家事件訊息至該至少一事件執行單元;其中當該至少一事件執行單元接收該回家事件訊息時,該至少一事件執行單元根據該回家事件訊息判斷是否執行一回家事件;以及當當該主控單元未掃描到該移動裝置所發出之該訊號時,根據該移動裝置所發出之該訊號中的該身分資訊產生一離家事件訊息,以及傳送該離家事件訊息至該至少一事件執行單元;其中當該至少一事件執行單元接收該離家事件訊息時,該至少一事件執行單元根據該離家事件訊息判斷是否執行一離家事件。 An event management and control method is executed by a main control unit of an event management and control device, and the event management and control device further includes at least one event execution unit, and the event management and control method includes the following steps: the main control unit judges whether the scanning A signal sent by a mobile device; when the main control unit scans the signal sent by the mobile device, the main control unit generates a home event message according to an identity information in the signal sent by the mobile device and sending the homecoming event message to the at least one event execution unit; wherein when the at least one event executing unit receives the homecoming event message, the at least one event executing unit determines whether to execute a homecoming event according to the homecoming event message ; and when the main control unit does not scan the signal sent by the mobile device, generate a home leave event message according to the identity information in the signal sent by the mobile device, and transmit the home leave event message to the At least one event execution unit; wherein when the at least one event execution unit receives the home leave event message, the at least one event execution unit determines whether to execute a home leave event according to the home leave event message. 如請求項12所述的事件管控方法,進一步包含有以下步驟: 其中在傳送該回家事件訊息之前,先將該移動裝置所發出之該訊號中的該身分資訊在該回家狀態紀錄表中對應的一用戶狀態更新為一回家狀態,再根據該回家狀態紀錄表產生該回家事件訊息;其中在傳送該離家事件訊息至該至少一事件執行單元之前,該主控單元先將該移動裝置所發出之該訊號中的該身分資訊在該回家狀態紀錄表中對應的該用戶狀態更新為一離家狀態,再根據該回家狀態紀錄表產生該離家事件訊息。 The event management method according to claim 12, further comprising the following steps: Before sending the homecoming event message, a user status corresponding to the identity information in the signal sent by the mobile device in the homecoming status record table is updated to a homecoming status, and then according to the homecoming status The state record table generates the going home event message; wherein before sending the leaving home event message to the at least one event execution unit, the main control unit firstly stores the identity information in the signal sent by the mobile device in the going home The corresponding user state in the state record table is updated to a home-away state, and then the home-away event message is generated according to the return-home state record table. 如請求項13所述的事件管控方法,進一步包含有以下子步驟:判斷該主控單元是否與一註冊過的移動裝置連接成功;當該主控單元與該註冊過的移動裝置連接成功時,該主控單元產生該回家事件訊息,並傳送該回家事件訊息至該至少一事件執行單元。 The event management and control method described in claim 13 further includes the following sub-steps: judging whether the main control unit is successfully connected with a registered mobile device; when the main control unit is successfully connected with the registered mobile device, The main control unit generates the homecoming event message, and transmits the homecoming event message to the at least one event executing unit. 如請求項12所述的事件管控方法,其中該主控單元係為一智慧型手機。 The event management and control method according to claim 12, wherein the main control unit is a smart phone.
TW110115127A 2021-04-27 2021-04-27 Event management device and event management method TWI776484B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110115127A TWI776484B (en) 2021-04-27 2021-04-27 Event management device and event management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110115127A TWI776484B (en) 2021-04-27 2021-04-27 Event management device and event management method

Publications (2)

Publication Number Publication Date
TWI776484B true TWI776484B (en) 2022-09-01
TW202242574A TW202242574A (en) 2022-11-01

Family

ID=84957858

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110115127A TWI776484B (en) 2021-04-27 2021-04-27 Event management device and event management method

Country Status (1)

Country Link
TW (1) TWI776484B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201535077A (en) * 2014-03-12 2015-09-16 Link In Advance Co Ltd Flexible network building method for remote-programmable monitoring and controlling system applied to smart home
TW201814644A (en) * 2016-10-13 2018-04-16 阿里巴巴集團服務有限公司 Systems, methods and devices for virtual fencing
TW202044204A (en) * 2019-05-22 2020-12-01 洪宜邦 Event management and control method and event management and control apparatus being executed by the event management and event management and control apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201535077A (en) * 2014-03-12 2015-09-16 Link In Advance Co Ltd Flexible network building method for remote-programmable monitoring and controlling system applied to smart home
TW201814644A (en) * 2016-10-13 2018-04-16 阿里巴巴集團服務有限公司 Systems, methods and devices for virtual fencing
TW202044204A (en) * 2019-05-22 2020-12-01 洪宜邦 Event management and control method and event management and control apparatus being executed by the event management and event management and control apparatus

Also Published As

Publication number Publication date
TW202242574A (en) 2022-11-01

Similar Documents

Publication Publication Date Title
JP6301829B2 (en) Control method
JP5710570B2 (en) Operation support apparatus, operation support method, control program, and recording medium
JP5908441B2 (en) Notification method, notification device, notification system, and program
KR102252258B1 (en) Method and apparatus for controlling a group of home devices in a home network system
JP6140214B2 (en) CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, CONTROL SYSTEM, ENVIRONMENT CONTROL DEVICE, AND CONTROL PROGRAM
CN105144742A (en) Controller, energy management system, remote control method, and program
WO2019198132A1 (en) Speech recognition device, speech recognition device cooperation system, and speech recognition device cooperation method
JP6918215B2 (en) Equipment control system and equipment control method
JP2001251312A (en) Access management unit for home network connection device
CN104488286A (en) Electric device management method, management system, electric device, operating terminal, and program
JP5901965B2 (en) CONTROL DEVICE, ITS CONTROL METHOD, CONTROL PROGRAM, AND REMOTE OPERATION SYSTEM
JP4612296B2 (en) Status information providing apparatus and method, computer program therefor, recording medium recording the program, and computer programmed by the program
JP2003037604A (en) Equipment grouping system, receiver, managing device, equipment grouping method, program and medium
TWI776484B (en) Event management device and event management method
JP2006162091A (en) Air conditioner and remote control system of air conditioner
JP2019011887A (en) Air conditioner and method for controlling air conditioner
EP3863230A1 (en) Event management and control device and method thereof
JP6555888B2 (en) CONTROL DEVICE, DEVICE, CONTROL METHOD, PROGRAM, AND CONTROL SYSTEM
JP2022172720A (en) Event management control device and event management control method
JP2020112333A (en) Adapter, update notification method, and air conditioning system
JP2006067417A (en) Network control terminal equipment
JP2014022770A (en) Radio communication system, radio device, and radio communication method
JP2018195895A (en) Control device, air conditioner, terminal device, control method, and control program
JP5428074B2 (en) Message transmission device, message transmission system, message transmission method, and program for causing computer to function as message transmission device
JP7304706B2 (en) Information processing system and information input/output device

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent