TWI641748B - Electronic lock control method - Google Patents

Electronic lock control method Download PDF

Info

Publication number
TWI641748B
TWI641748B TW106144515A TW106144515A TWI641748B TW I641748 B TWI641748 B TW I641748B TW 106144515 A TW106144515 A TW 106144515A TW 106144515 A TW106144515 A TW 106144515A TW I641748 B TWI641748 B TW I641748B
Authority
TW
Taiwan
Prior art keywords
electronic lock
mobile device
wireless communication
short
range wireless
Prior art date
Application number
TW106144515A
Other languages
Chinese (zh)
Other versions
TW201928174A (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 TW106144515A priority Critical patent/TWI641748B/en
Application granted granted Critical
Publication of TWI641748B publication Critical patent/TWI641748B/en
Publication of TW201928174A publication Critical patent/TW201928174A/en

Links

Landscapes

  • Lock And Its Accessories (AREA)
  • Telephone Function (AREA)

Abstract

本發明提供一種電子鎖的控制方法,包含開鎖階段、啟動安全模式階段與結束安全模式階段。藉由在開鎖階段之後執行啟動安全模式階段,再透過結束安全模式階段的執行來使得能再度實施開鎖階段,除了能利用例如為藍牙的短距無線通訊控制電子鎖開鎖之外,還提供了一種有效的安全機制來避免電子鎖被不當地開鎖。The invention provides a control method of an electronic lock, which comprises an unlocking phase, a starting security mode phase and an ending security mode phase. By performing the start-up security mode phase after the unlocking phase and then performing the unlocking phase by performing the end of the safe mode phase, in addition to being able to control the electronic lock by using short-range wireless communication such as Bluetooth, a provision is also provided. An effective safety mechanism to prevent the electronic lock from being unlocked improperly.

Description

電子鎖的控制方法Electronic lock control method

本發明是有關於一種電子鎖的控制方法,特別是指一種可利用短距無線通訊來控制電子鎖的控制方法。The invention relates to a method for controlling an electronic lock, in particular to a control method for controlling an electronic lock by using short-range wireless communication.

目前來說,短距無線通訊已經應用於電子鎖的控制上。例如,該電子鎖可通過藍牙短距無線通訊來跟預先配對過的行動裝置通訊,且該電子鎖具有用於觸發自身與該行動裝置建立藍牙連線的按鍵。當使用者攜帶該行動裝置靠近該電子鎖並按壓該按鍵,能觸發該電子鎖偵測是否能透過藍牙連線到已經與其配對過的行動裝置,並在偵測到能和與其配對過的行動裝置建立連線之後自動開鎖,在使用上相當方便。At present, short-range wireless communication has been applied to the control of electronic locks. For example, the electronic lock can communicate with a pre-paired mobile device via Bluetooth short-range wireless communication, and the electronic lock has a button for triggering itself to establish a Bluetooth connection with the mobile device. When the user carries the mobile device close to the electronic lock and presses the button, the electronic lock can be triggered to detect whether the mobile device that has been paired with the Bluetooth device can be connected through the Bluetooth, and the action that can be paired with the detected device can be detected. The device automatically unlocks after the connection is established, which is quite convenient to use.

然而,如圖1所示,若該電子鎖11為門鎖,使用者12在按壓該按鍵而透過藍牙通訊開鎖進門,且上鎖之後還停留在該電子鎖11附近,此時若門外有尾隨該使用者12的入侵者13按壓該按鍵,則該電子鎖11會因為偵測到能和該使用者12所攜帶的該行動裝置14建立藍牙連線而再度開鎖,故安全性不足,有必要尋求改善的方式。However, as shown in FIG. 1, if the electronic lock 11 is a door lock, the user 12 presses the button and unlocks the door through Bluetooth communication, and stays in the vicinity of the electronic lock 11 after being locked, and if there is a trailing door outside the door When the intruder 13 of the user 12 presses the button, the electronic lock 11 will be unlocked again because it detects that the mobile device 14 is connected to the mobile device 14 carried by the user 12, so the security is insufficient and necessary. Seeking ways to improve.

因此,本發明之目的,即在提供一種具有安全機制的電子鎖的控制方法。Accordingly, it is an object of the present invention to provide a method of controlling an electronic lock having a security mechanism.

於是,本發明電子鎖的控制方法,該電子鎖可透過短距無線通訊與一行動裝置通訊,該電子鎖的控制方法包含一步驟(a)、一步驟(b)、一步驟(c)、一步驟(d)、一步驟(e)及一步驟(f)。Therefore, the electronic lock control method of the present invention can communicate with a mobile device through short-range wireless communication, and the control method of the electronic lock includes a step (a), a step (b), a step (c), One step (d), one step (e) and one step (f).

該步驟(a)是該電子鎖經由一輸入操作的觸發而向外發送一對應該短距無線通訊的連線要求,以致該行動裝置在接收到該連線要求之後與該電子鎖建立一短距無線通訊連線。The step (a) is that the electronic lock sends a pair of connection requirements for short-range wireless communication via an input operation trigger, so that the mobile device establishes a short connection with the electronic lock after receiving the connection request. Connected to wireless communication.

該步驟(b)是該電子鎖判斷該行動裝置是否已經在該電子鎖註冊。The step (b) is that the electronic lock determines whether the mobile device has been registered with the electronic lock.

該步驟(c)是當該電子鎖判定該行動裝置已經在該電子鎖註冊,該電子鎖開鎖。The step (c) is when the electronic lock determines that the mobile device has been registered in the electronic lock, and the electronic lock is unlocked.

該步驟(d)是該電子鎖在判斷出自身狀態由開鎖狀態轉變成上鎖狀態之後結束該短距無線通訊連線。The step (d) is that the electronic lock ends the short-range wireless communication connection after determining that the self-state changes from the unlocked state to the locked state.

該步驟(e)是該電子鎖在結束該短距無線通訊連線的一時間期間後向外發送該連線要求,以致該行動裝置在接收到該連線要求之後與該電子鎖建立該短距無線通訊連線。The step (e) is that the electronic lock sends the connection request outward after a period of ending the short-range wireless communication connection, so that the mobile device establishes the short-term with the electronic lock after receiving the connection request. Connected to wireless communication.

該步驟(f)是當該電子鎖判斷出已經與該行動裝置建立了該短距無線通訊連線,該電子鎖啟動一安全模式,其中在該安全模式中,該電子鎖不向外發送該連線要求。The step (f) is that when the electronic lock determines that the short-range wireless communication connection has been established with the mobile device, the electronic lock initiates a security mode, wherein in the security mode, the electronic lock does not send the electronic lock Connection requirements.

因此,本發明之另一目的,即在提供另一種具有安全機制的電子鎖的控制方法。Accordingly, it is another object of the present invention to provide another method of controlling an electronic lock having a security mechanism.

於是,本發明另一種電子鎖的控制方法,該電子鎖可透過短距無線通訊與一行動裝置通訊,該另一種電子鎖的控制方法包含一步驟(g)、一步驟(h)、一步驟(i)與一步驟(j)。Therefore, another electronic lock control method of the present invention can communicate with a mobile device through short-range wireless communication. The control method of the other electronic lock includes a step (g), a step (h), and a step. (i) with a step (j).

該步驟(g)是該行動裝置向外發送一對應該短距無線通訊的連線要求,以致該電子鎖在接收到該連線要求之後與該行動裝置建立一短距無線通訊連線。The step (g) is that the mobile device sends out a connection request for short-range wireless communication, so that the electronic lock establishes a short-range wireless communication connection with the mobile device after receiving the connection request.

該步驟(h)是該電子鎖判斷該行動裝置是否已經在該電子鎖註冊。The step (h) is that the electronic lock determines whether the mobile device has been registered with the electronic lock.

該步驟(i)是當該電子鎖判定該行動裝置已經在該電子鎖註冊,該電子鎖判斷是否在一時間期間內受到一輸入操作;及The step (i) is when the electronic lock determines that the mobile device has been registered in the electronic lock, and the electronic lock determines whether an input operation is performed during a time period; and

該步驟(j)是當該步驟(i)的判斷結果為肯定的,該電子鎖開鎖,否則該電子鎖啟動一安全模式,其中在該安全模式中,該電子鎖不與該行動裝置建立該短距無線通訊連線。The step (j) is that when the judgment result of the step (i) is affirmative, the electronic lock is unlocked, otherwise the electronic lock starts a safe mode, wherein in the safe mode, the electronic lock does not establish the mobile device Short-range wireless communication connection.

本發明之功效在於:提供一種有效的安全機制來避免該電子鎖被不當地開鎖。The effect of the present invention is to provide an effective safety mechanism to prevent the electronic lock from being unlocked improperly.

本發明電子鎖的控制方法由一電子鎖與一行動裝置實施。參閱圖2,較佳地,該電子鎖2為一使用者的住家大門的門鎖,並包含一輸入單元21,且該輸入單元21包括一第一按鍵211與多個數字鍵212。該行動裝置例如是智能手機或平板電腦,並可透過例如為藍牙的短距無線通訊與該電子鎖2通訊,且已經透過該短距無線通訊在該電子鎖2註冊/配對。The control method of the electronic lock of the present invention is implemented by an electronic lock and a mobile device. Referring to FIG. 2, the electronic lock 2 is a door lock of a user's home door and includes an input unit 21, and the input unit 21 includes a first button 211 and a plurality of numeric keys 212. The mobile device is, for example, a smartphone or tablet and can communicate with the electronic lock 2 via short-range wireless communication, such as Bluetooth, and has been registered/paired with the electronic lock 2 via the short-range wireless communication.

該電子鎖的控制方法的一實施方式包含依序執行的一利用該短距無線通訊來進行開鎖的開鎖階段、一啟動安全模式階段與一結束安全模式階段。An embodiment of the electronic lock control method includes an unlocking phase, a startup security mode phase, and an end security mode phase, which are sequentially performed using the short-range wireless communication.

參閱圖2~4,以下詳述該開鎖階段3。Referring to Figures 2 to 4, the unlocking phase 3 is detailed below.

首先在步驟31,如圖4所示,當該使用者4要從住家大門的門外進入門內,該使用者4攜帶該行動裝置5靠近該電子鎖2,並按壓該第一按鍵211,以觸發該電子鎖2向外發送一對應該短距無線通訊的連線要求。First, in step 31, as shown in FIG. 4, when the user 4 is to enter the door from the door of the home gate, the user 4 carries the mobile device 5 to the electronic lock 2, and presses the first button 211 to The electronic lock 2 is triggered to send a pair of connection requirements that should be short-range wireless communication.

接著在步驟32,該行動裝置5在接收到該連線要求之後與該電子鎖2建立一短距無線通訊連線。Next, in step 32, the mobile device 5 establishes a short-range wireless communication connection with the electronic lock 2 after receiving the connection request.

接著在步驟33,該行動裝置5判斷該短距無線通訊連線的信號強度是否大於一第一門檻值,其中該信號強度為該行動裝置5根據該短距無線通訊連線所計算出的一接收信號強度指標(Received Signal Strength Indicator, RSSI)。Next, in step 33, the mobile device 5 determines whether the signal strength of the short-range wireless communication connection is greater than a first threshold, wherein the signal strength is a calculated by the mobile device 5 according to the short-range wireless communication connection. Received Signal Strength Indicator (RSI).

接著在步驟34,當該行動裝置5判斷出該短距無線通訊連線的信號強度大於該第一門檻值,該行動裝置5傳送一配對驗證資料給該電子鎖2。Next, in step 34, when the mobile device 5 determines that the signal strength of the short-range wireless communication connection is greater than the first threshold, the mobile device 5 transmits a pairing verification data to the electronic lock 2.

接著在步驟35,該電子鎖2根據該配對驗證資料判斷該行動裝置5是否已經在該電子鎖2註冊/配對。Next at step 35, the electronic lock 2 determines whether the mobile device 5 has been registered/paired with the electronic lock 2 based on the pairing verification data.

當該電子鎖2判定該行動裝置5已經在該電子鎖2註冊/配對,執行步驟36,也就是該電子鎖2開鎖。When the electronic lock 2 determines that the mobile device 5 has been registered/paired with the electronic lock 2, step 36 is performed, that is, the electronic lock 2 is unlocked.

當該電子鎖2判定該行動裝置5並無在該電子鎖2註冊/配對,執行步驟37,也就是該電子鎖2不開鎖,且結束與該行動裝置5的該短距無線通訊連線。When the electronic lock 2 determines that the mobile device 5 is not registered/paired with the electronic lock 2, step 37 is performed, that is, the electronic lock 2 is unlocked, and the short-range wireless communication with the mobile device 5 is terminated.

參閱圖5,以下詳述在該開鎖階段3之後執行的該啟動安全模式階段6。Referring to Figure 5, the startup security mode phase 6 performed after the unlock phase 3 is detailed below.

首先在步驟61,該電子鎖2在該使用者4關門之後上鎖,且該電子鎖2在判斷出自身狀態由開鎖狀態轉變成上鎖狀態之後結束該短距無線通訊連線。First, in step 61, the electronic lock 2 is locked after the user 4 closes the door, and the electronic lock 2 ends the short-range wireless communication connection after determining that the self-state is changed from the unlocked state to the locked state.

接著在步驟62,該電子鎖2在結束該短距無線通訊連線的一第一時間期間後向外發送該連線要求;較佳地,該第一時間期間為兩秒。Next, in step 62, the electronic lock 2 sends the connection request outward after a first time period of ending the short-range wireless communication connection; preferably, the first time period is two seconds.

接著在步驟63,該電子鎖2判斷是否已經與該行動裝置5建立了該短距無線通訊連線。Next at step 63, the electronic lock 2 determines whether the short-range wireless communication connection has been established with the mobile device 5.

當該電子鎖2判斷出已經與該行動裝置5建立了該短距無線通訊連線,執行步驟64,也就是該電子鎖2啟動一安全模式,其中在該安全模式中,該電子鎖2不再向外發送對應該短距無線通訊的該連線要求。When the electronic lock 2 determines that the short-range wireless communication connection has been established with the mobile device 5, step 64 is performed, that is, the electronic lock 2 activates a security mode, wherein in the security mode, the electronic lock 2 does not The connection request for short-range wireless communication is then sent out.

也就是說,在該安全模式中,即使該電子鎖2的該第一按鍵211被按壓,也不會觸發該電子鎖2向外發送對應該短距無線通訊的該連線要求,利用該短距無線通訊來進行開鎖的該開鎖階段3暫時被禁用(disable)。因此,若該使用者4進門並上鎖之後還停留在該電子鎖2附近,即使此時門外有尾隨該使用者4的入侵者按壓該第一按鍵211,該電子鎖2也不會開鎖。That is, in the safe mode, even if the first button 211 of the electronic lock 2 is pressed, the electronic lock 2 is not triggered to send the connection request corresponding to the short-range wireless communication, and the short is utilized. This unlocking phase 3, which is unlocked from wireless communication, is temporarily disabled. Therefore, if the user 4 stays in the vicinity of the electronic lock 2 after entering the door and locking, even if the intruder following the door 4 presses the first button 211, the electronic lock 2 will not be unlocked.

當該電子鎖2在該步驟63判斷出尚未與該行動裝置5建立該短距無線通訊連線,則執行步驟65,也就是該電子鎖2判斷是否已經超過一第二時間期間未與該行動裝置5建立連線;較佳地,該第二時間期間為八秒。若已經超過該第二時間期間未與該行動裝置5建立連線,則該電子鎖2不啟動該安全模式(步驟66);否則該電子鎖2繼續偵測是否已經與該行動裝置5建立連線(步驟63)。When the electronic lock 2 determines in step 63 that the short-range wireless communication connection has not been established with the mobile device 5, step 65 is performed, that is, the electronic lock 2 determines whether the second time period has not exceeded the action. The device 5 establishes a connection; preferably, the second time period is eight seconds. If the connection has not been established with the mobile device 5 during the second time period, the electronic lock 2 does not activate the security mode (step 66); otherwise the electronic lock 2 continues to detect whether the mobile device 5 has been established. Line (step 63).

參閱圖6,以下說明該結束安全模式階段7。Referring to Figure 6, the end of security mode phase 7 is described below.

首先在步驟71,該電子鎖2判斷該短距無線通訊連線的信號強度是否小於一第二門檻值,其中該信號 強度為該電子鎖2根據該短距無線通訊連線所計算出的該接收信號強度指標(RSSI)。First, in step 71, the electronic lock 2 determines whether the signal strength of the short-range wireless communication connection is less than a second threshold, wherein the signal strength is calculated by the electronic lock 2 according to the short-range wireless communication connection. Received Signal Strength Indicator (RSSI).

當該電子鎖2判斷出該短距無線通訊連線的該信號強度小於該第二門檻值,執行步驟72,也就是該電子鎖2結束該安全模式;而結束該安全模式之後,即可再藉由實施該開鎖階段3來控制該電子鎖2開鎖。When the electronic lock 2 determines that the signal strength of the short-range wireless communication connection is less than the second threshold, step 72 is performed, that is, the electronic lock 2 ends the security mode; and after the security mode is ended, The electronic lock 2 is unlocked by implementing the unlocking phase 3.

此外,該結束安全模式階段7可有其他實施方式。例如,該行動裝置5經由該使用者4的操作而傳送一用於指示結束該安全模式的通知訊息給該電子鎖2;當該電子鎖2從該行動裝置5接收到該通知訊息,該電子鎖2結束該安全模式。或者,該使用者4藉由按壓該電子鎖2的該等數字鍵212來輸入一密碼,以觸發該電子鎖2結束該安全模式。In addition, there may be other implementations of this end safe mode phase 7. For example, the mobile device 5 transmits a notification message for instructing to end the security mode to the electronic lock 2 via the operation of the user 4; when the electronic lock 2 receives the notification message from the mobile device 5, the electronic device Lock 2 ends the security mode. Alternatively, the user 4 inputs a password by pressing the numeric keys 212 of the electronic lock 2 to trigger the electronic lock 2 to end the security mode.

參閱圖7,在本發明電子鎖的控制方法的另一實施方式中,首先該使用者4攜帶該行動裝置5靠近該電子鎖2,且該行動裝置5向外發送一對應該短距無線通訊的連線要求(步驟81);接著,該電子鎖2在接收到該連線要求之後與該行動裝置5建立一短距無線通訊連線(步驟82);接著,該行動裝置5判斷該短距無線通訊連線的信號強度是否大於該第二門檻值,其中該信號強度為該接收信號強度指標(步驟83);接著,當該行動裝置5判斷出該短距無線通訊連線的信號強度大於該第二門檻值,該行動裝置5傳送該配對驗證資料給該電子鎖2(步驟84);接著,該電子鎖2根據該配對驗證資料判斷該行動裝置5是否已經在該電子鎖2註冊/配對(步驟85);若該行動裝置5沒有在該電子鎖2註冊/配對,則該電子鎖2結束該短距無線通訊連線且不開鎖(步驟86),而若該行動裝置5已經在該電子鎖2註冊/配對,則該電子鎖2進一步偵測該第一按鍵211是否在一第三時間期間內被按壓(步驟87);若該第一按鍵211在該第三時間期間內被按壓,則該電子鎖2開鎖(步驟88),否則該電子鎖2啟動一安全模式(步驟89),其中在該安全模式中,該電子鎖2不與該行動裝置5建立該短距無線通訊連線。Referring to FIG. 7, in another embodiment of the method for controlling an electronic lock according to the present invention, first, the user 4 carries the mobile device 5 near the electronic lock 2, and the mobile device 5 sends a pair of short-range wireless communication. The connection request (step 81); then, the electronic lock 2 establishes a short-range wireless communication connection with the mobile device 5 after receiving the connection request (step 82); then, the mobile device 5 determines the short Whether the signal strength of the wireless communication connection is greater than the second threshold value, wherein the signal strength is the received signal strength indicator (step 83); then, when the mobile device 5 determines the signal strength of the short-range wireless communication connection More than the second threshold, the mobile device 5 transmits the pairing verification data to the electronic lock 2 (step 84); then, the electronic lock 2 determines, based on the pairing verification data, whether the mobile device 5 has been registered in the electronic lock 2 / pairing (step 85); if the mobile device 5 is not registered/paired with the electronic lock 2, the electronic lock 2 ends the short-range wireless communication connection and does not unlock (step 86), and if the mobile device 5 has In the electronic lock 2 note / pairing, the electronic lock 2 further detects whether the first button 211 is pressed during a third time period (step 87); if the first button 211 is pressed during the third time period, the electronic The lock 2 is unlocked (step 88), otherwise the electronic lock 2 initiates a safe mode (step 89) in which the electronic lock 2 does not establish the short-range wireless communication connection with the mobile device 5.

此外,若需要結束該安全模式,該使用者4可藉由按壓該電子鎖2的該等數字鍵212來輸入該密碼,以觸發該電子鎖2結束該安全模式。In addition, if it is necessary to end the security mode, the user 4 can input the password by pressing the numeric keys 212 of the electronic lock 2 to trigger the electronic lock 2 to end the security mode.

綜上所述,本發明電子鎖的控制方法,藉由在該開鎖階段之後執行該啟動安全模式階段,再透過該結束安全模式階段的執行來使得能再度實施該開鎖階段;或者,藉由該行動裝置主動發起該短距無線通訊連線,然後該電子鎖再透過偵測該第一按鍵是否在該第三時間期間內被按壓來判斷是要開鎖或啟動該安全模式;除了能利用該短距無線通訊控制該電子鎖開鎖之外,還提供了一種有效的安全機制來避免該電子鎖被不當地開鎖,故確實能達成本發明的目的。In summary, the control method of the electronic lock of the present invention enables the re-enforcement of the unlocking phase by executing the startup security mode phase after the unlocking phase and then performing the execution of the ending security mode phase; or The mobile device actively initiates the short-range wireless communication connection, and then the electronic lock determines whether to unlock or activate the security mode by detecting whether the first button is pressed during the third time period; In addition to wireless communication to control the electronic lock unlocking, an effective security mechanism is provided to prevent the electronic lock from being unlocked improperly, so that the object of the present invention can be achieved.

惟以上所述者,僅為本發明之實施例而已,當不能以此限定本發明實施之範圍,凡是依本發明申請專利範圍及專利說明書內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。However, the above is only the embodiment of the present invention, and the scope of the invention is not limited thereto, and all the equivalent equivalent changes and modifications according to the scope of the patent application and the patent specification of the present invention are still The scope of the invention is covered.

11‧‧‧電子鎖11‧‧‧Electronic lock

12‧‧‧使用者 12‧‧‧Users

13‧‧‧入侵者 13‧‧‧Intruders

14‧‧‧行動裝置 14‧‧‧Mobile devices

2‧‧‧電子鎖 2‧‧‧Electronic lock

21‧‧‧輸入單元 21‧‧‧ Input unit

211‧‧‧第一按鍵 211‧‧‧First button

212‧‧‧數字鍵 212‧‧‧number keys

3‧‧‧開鎖階段 3‧‧‧Unlocking phase

31~37‧‧‧步驟 31~37‧‧‧Steps

4‧‧‧使用者 4‧‧‧Users

5‧‧‧行動裝置 5‧‧‧Mobile devices

6‧‧‧啟動安全模式階段 6‧‧‧Starting the safe mode phase

61~65‧‧‧步驟 61~65‧‧‧Steps

7‧‧‧結束安全模式階段 7‧‧‧End of the safe mode phase

71~72‧‧‧步驟 71~72‧‧‧Steps

81~89‧‧‧步驟 81~89‧‧‧Steps

本發明的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中: 圖1是一示意圖,示意門外有尾隨一使用者的入侵者; 圖2是一示意圖,說明一電子鎖的一第一按鍵與多個數字鍵; 圖3是一流程圖,說明本發明電子鎖的控制方法的一實施方式的一開鎖階段; 圖4是一示意圖,示意一使用者攜帶一行動裝置靠近該電子鎖; 圖5是一流程圖,說明該電子鎖的控制方法的該實施方式的一啟動安全模式階段; 圖6是一流程圖,說明該電子鎖的控制方法的該實施方式的一結束安全模式階段;及 圖7是一流程圖,說明該電子鎖的控制方法的另一實施方式。Other features and advantages of the present invention will be apparent from the embodiments of the drawings, wherein: FIG. 1 is a schematic diagram showing an intruder trailing a user outside the door; FIG. 2 is a schematic diagram illustrating an electronic A first button and a plurality of numeric keys of the lock; FIG. 3 is a flow chart illustrating an unlocking phase of an embodiment of the electronic lock control method of the present invention; FIG. 4 is a schematic diagram showing a user carrying a mobile device FIG. 5 is a flowchart illustrating a startup safety mode phase of the embodiment of the electronic lock control method; FIG. 6 is a flowchart illustrating a first embodiment of the electronic lock control method. Ending the security mode phase; and FIG. 7 is a flowchart illustrating another embodiment of the method of controlling the electronic lock.

Claims (10)

一種電子鎖的控制方法,該電子鎖可透過短距無線通訊與一行動裝置通訊,該電子鎖的控制方法包含以下步驟: (a)該電子鎖經由一輸入操作的觸發而向外發送一對應該短距無線通訊的連線要求,以致該行動裝置在接收到該連線要求之後與該電子鎖建立一短距無線通訊連線; (b)該電子鎖判斷該行動裝置是否已經在該電子鎖註冊; (c)當該電子鎖判定該行動裝置已經在該電子鎖註冊,該電子鎖開鎖; (d)該電子鎖在判斷出自身狀態由開鎖狀態轉變成上鎖狀態之後結束該短距無線通訊連線; (e)該電子鎖在結束該短距無線通訊連線的一時間期間後向外發送該連線要求,以致該行動裝置在接收到該連線要求之後與該電子鎖建立該短距無線通訊連線;及 (f)當該電子鎖判斷出已經與該行動裝置建立了該短距無線通訊連線,該電子鎖啟動一安全模式,其中在該安全模式中,該電子鎖不向外發送該連線要求。A method for controlling an electronic lock, wherein the electronic lock can communicate with a mobile device through short-range wireless communication, and the electronic lock control method comprises the following steps: (a) the electronic lock sends a pair outward through triggering of an input operation The connection requirement of the short-range wireless communication should be such that the mobile device establishes a short-range wireless communication connection with the electronic lock after receiving the connection request; (b) the electronic lock determines whether the mobile device is already in the electronic (c) when the electronic lock determines that the mobile device has been registered with the electronic lock, the electronic lock is unlocked; (d) the electronic lock ends the short distance after determining that the self state changes from the unlocked state to the locked state a wireless communication connection; (e) the electronic lock sends the connection request outward after a period of ending the short-range wireless communication connection, so that the mobile device establishes the connection with the electronic lock after receiving the connection request The short-range wireless communication connection; and (f) when the electronic lock determines that the short-range wireless communication connection has been established with the mobile device, the electronic lock initiates a security mode in which the security Wherein the electronic lock is not sent out of the connection request. 如請求項1所述的電子鎖的控制方法,其中在該步驟(a),該行動裝置在判斷出該短距無線通訊連線的信號強度大於一第一門檻值之後傳送一配對驗證資料給該電子鎖;且在該步驟(b),該電子鎖根據該配對驗證資料判斷該行動裝置是否已經在該電子鎖註冊。The control method of the electronic lock according to claim 1, wherein in the step (a), the mobile device transmits a pairing verification data after determining that the signal strength of the short-range wireless communication connection is greater than a first threshold value. The electronic lock; and in the step (b), the electronic lock determines whether the mobile device is registered with the electronic lock based on the pairing verification data. 如請求項1所述的電子鎖的控制方法,還包含一在該步驟(f)之後執行的步驟(g):當該電子鎖判斷出該短距無線通訊連線的信號強度小於一第二門檻值,該電子鎖結束該安全模式。The control method of the electronic lock according to claim 1, further comprising a step (g) performed after the step (f): when the electronic lock determines that the signal strength of the short-range wireless communication connection is less than a second The threshold value, the electronic lock ends the safe mode. 如請求項1所述的電子鎖的控制方法,還包含一在該步驟(f)之後執行的步驟(h):當該電子鎖從該行動裝置接收到一用於指示結束該安全模式的通知訊息,該電子鎖結束該安全模式。The control method of the electronic lock according to claim 1, further comprising a step (h) performed after the step (f): when the electronic lock receives a notification from the mobile device for instructing to end the security mode Message, the electronic lock ends the safe mode. 如請求項1所述的電子鎖的控制方法,該電子鎖的控制方法還包含一在該步驟(f)之後執行的步驟(i):當該電子鎖經由另一輸入操作而接收到一密碼,該電子鎖結束該安全模式。The control method of the electronic lock according to claim 1, wherein the electronic lock control method further comprises a step (i) performed after the step (f): receiving a password when the electronic lock receives another input operation The electronic lock ends the safe mode. 如請求項5所述的電子鎖的控制方法,該電子鎖具有多個數字鍵,其中在該步驟(i),該密碼是藉由按壓該等數字鍵的其中多者來產生的。The electronic lock control method according to claim 5, wherein the electronic lock has a plurality of numeric keys, wherein in the step (i), the password is generated by pressing a plurality of the numeric keys. 如請求項1所述的電子鎖的控制方法,該電子鎖具有一第一按鍵,其中在該步驟(a),該第一按鍵被按壓以觸發該電子鎖向外發送該連線要求。The electronic lock control method according to claim 1, wherein the electronic lock has a first button, wherein in the step (a), the first button is pressed to trigger the electronic lock to send the connection request outward. 一種電子鎖的控制方法,該電子鎖可透過短距無線通訊與一行動裝置通訊,該電子鎖的控制方法包含以下步驟: (a)該行動裝置向外發送一對應該短距無線通訊的連線要求,以致該電子鎖在接收到該連線要求之後與該行動裝置建立一短距無線通訊連線; (b)該電子鎖判斷該行動裝置是否已經在該電子鎖註冊; (c)當該電子鎖判定該行動裝置已經在該電子鎖註冊,該電子鎖判斷是否在一時間期間內受到一輸入操作;及 (d)當該步驟(c)的判斷結果為肯定的,該電子鎖開鎖,否則該電子鎖啟動一安全模式,其中在該安全模式中,該電子鎖不與該行動裝置建立該短距無線通訊連線。An electronic lock control method, the electronic lock can communicate with a mobile device through short-range wireless communication, and the electronic lock control method comprises the following steps: (a) the mobile device sends out a pair of short-range wireless communication The line request, such that the electronic lock establishes a short-range wireless communication connection with the mobile device after receiving the connection request; (b) the electronic lock determines whether the mobile device has been registered in the electronic lock; (c) The electronic lock determines that the mobile device has been registered with the electronic lock, the electronic lock determines whether an input operation is received during a time period; and (d) when the determination result of the step (c) is affirmative, the electronic lock is unlocked Otherwise, the electronic lock activates a security mode in which the electronic lock does not establish a short-range wireless communication connection with the mobile device. 如請求項8所述的電子鎖的控制方法,其中在該步驟(a),該行動裝置在判斷出該短距無線通訊連線的信號強度大於一第一門檻值之後傳送一配對驗證資料給該電子鎖;且在該步驟(b),該電子鎖根據該配對驗證資料判斷該行動裝置是否已經在該電子鎖註冊。The control method of the electronic lock according to claim 8, wherein in the step (a), the mobile device transmits a pairing verification data after determining that the signal strength of the short-range wireless communication connection is greater than a first threshold value. The electronic lock; and in the step (b), the electronic lock determines whether the mobile device is registered with the electronic lock based on the pairing verification data. 如請求項8所述的電子鎖的控制方法,該電子鎖具有一第一按鍵,其中在該步驟(c),當該電子鎖判定該行動裝置已經在該電子鎖註冊,該電子鎖判斷是否該第一按鍵在該時間期間內被按壓。The electronic lock control method according to claim 8, wherein the electronic lock has a first button, wherein in the step (c), when the electronic lock determines that the mobile device has been registered in the electronic lock, the electronic lock determines whether The first button is pressed during the time period.
TW106144515A 2017-12-19 2017-12-19 Electronic lock control method TWI641748B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106144515A TWI641748B (en) 2017-12-19 2017-12-19 Electronic lock control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106144515A TWI641748B (en) 2017-12-19 2017-12-19 Electronic lock control method

Publications (2)

Publication Number Publication Date
TWI641748B true TWI641748B (en) 2018-11-21
TW201928174A TW201928174A (en) 2019-07-16

Family

ID=65034317

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106144515A TWI641748B (en) 2017-12-19 2017-12-19 Electronic lock control method

Country Status (1)

Country Link
TW (1) TWI641748B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI676728B (en) * 2019-03-20 2019-11-11 顥記實業股份有限公司 Electronic lock operation method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI712908B (en) * 2019-10-09 2020-12-11 東隆五金工業股份有限公司 Electronic lock scanning registration system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103821413A (en) * 2014-03-11 2014-05-28 重庆金瓯科技发展有限责任公司 Bluetooth electronic automatic lock system and switching method thereof
TWM501057U (en) * 2014-12-31 2015-05-11 jia-rong Li Electronic lock with wirelessly transmitted key under dual device control
CN204609520U (en) * 2015-05-22 2015-09-02 厦门理工学院 A kind of intelligent movable based on bluetooth is locked
CN204663203U (en) * 2015-05-05 2015-09-23 中国船舶重工集团公司第七一八研究所 A kind of non-hole intelligent lock based on Bluetooth of mobile phone communication
TWI540246B (en) * 2015-02-04 2016-07-01 威迅科技股份有限公司 Security system and handheld device with lock management function thereof
TWM542682U (en) * 2017-02-21 2017-06-01 Ardi Tech Corp Smart lock

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103821413A (en) * 2014-03-11 2014-05-28 重庆金瓯科技发展有限责任公司 Bluetooth electronic automatic lock system and switching method thereof
TWM501057U (en) * 2014-12-31 2015-05-11 jia-rong Li Electronic lock with wirelessly transmitted key under dual device control
TWI540246B (en) * 2015-02-04 2016-07-01 威迅科技股份有限公司 Security system and handheld device with lock management function thereof
CN204663203U (en) * 2015-05-05 2015-09-23 中国船舶重工集团公司第七一八研究所 A kind of non-hole intelligent lock based on Bluetooth of mobile phone communication
CN204609520U (en) * 2015-05-22 2015-09-02 厦门理工学院 A kind of intelligent movable based on bluetooth is locked
TWM542682U (en) * 2017-02-21 2017-06-01 Ardi Tech Corp Smart lock

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI676728B (en) * 2019-03-20 2019-11-11 顥記實業股份有限公司 Electronic lock operation method

Also Published As

Publication number Publication date
TW201928174A (en) 2019-07-16

Similar Documents

Publication Publication Date Title
KR102454288B1 (en) Method and system for managing a door entry using beacon signal
US9264421B2 (en) Accessing a primary device using a wearable device and a wireless link
KR101623743B1 (en) Method for controlling the door lock of the home network system
WO2017006755A1 (en) Mobile electronic key device and electronic key system
KR20130027571A (en) Securing a mobile computing device
US10661752B2 (en) Car sharing system
JP6228386B2 (en) Hands-free trunk opening system and opening method
US10479320B2 (en) Method for controlling access to at least one function of a motor vehicle
JP6130877B2 (en) Lock control method
JP6351425B2 (en) Keyless entry device and control method thereof
WO2021183374A1 (en) Electronic lock pairing via passcode
JP2011052505A (en) Electronic key system and electronic key
TWI641748B (en) Electronic lock control method
TW201339892A (en) Wireless locking and unlocking system and method thereof
JP7180618B2 (en) EQUIPMENT OPERATION CONTROL DEVICE, EQUIPMENT OPERATION CONTROL METHOD AND COMPUTER PROGRAM
JP2016079645A (en) Electronic lock system, unlocking method, and lock opening/closing system
TWI637098B (en) Motion control module and electronic lock for controlling electronic lock
JP6060761B2 (en) Vehicle antitheft device
CN114312665B (en) Key control method, device, system, storage medium and electronic equipment
JP2021110111A (en) Locking/unlocking system of building
JP2008190258A (en) Security system
JP6631418B2 (en) Electronic key used for electronic key system
JP2015221962A5 (en)
TW201619484A (en) Remote door control device, system and method
JP2021012629A (en) Locking/unlocking system of building