TW201821317A - Bicycle security system and bicycle unlocking method - Google Patents

Bicycle security system and bicycle unlocking method Download PDF

Info

Publication number
TW201821317A
TW201821317A TW105140160A TW105140160A TW201821317A TW 201821317 A TW201821317 A TW 201821317A TW 105140160 A TW105140160 A TW 105140160A TW 105140160 A TW105140160 A TW 105140160A TW 201821317 A TW201821317 A TW 201821317A
Authority
TW
Taiwan
Prior art keywords
processor
wireless communication
confirmation
communication circuit
bicycle
Prior art date
Application number
TW105140160A
Other languages
Chinese (zh)
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 TW105140160A priority Critical patent/TW201821317A/en
Publication of TW201821317A publication Critical patent/TW201821317A/en

Links

Abstract

The invention discloses a bicycle security system and a bicycle unlocking method. The bicycle security system includes a portable device, and a lock and a controller which are disposed on a bicycle. When the portable device and the controller are connected in short-range communication, the portable device encrypts a notification signal according to a first encryption information and sends the encrypted notification signal to the controller. If the controller determines according to a second encryption information that the encrypted notification signal is valid, the controller generates a confirmation message. Then, if the controller receives a confirmation input inputted by a user according to the confirmation message and determines that the confirmation input is valid, the controller controls the lock to unlock the bicycle. Thereby, the invention can avoid the risk that the bicycle is unlocked just due to the approach of the portable device to the bicycle and then may be stolen.

Description

自行車防盜系統及自行車解鎖方法Bicycle anti-theft system and bicycle unlocking method

本發明關於一種自行車鎖,尤指一種近距離無線控制的自行車鎖及其解鎖方法。The invention relates to a bicycle lock, in particular to a bicycle control with short-range wireless control and a method for unlocking the same.

傳統自行車多是使用實體鑰匙插入鎖芯中以實現解鎖目的。隨著無線控制的應用日益普及,目前亦有應用於自行車的遙控解鎖方案提出。其中有以當遙控裝置接近車鎖時,車鎖即自動解鎖之遙控解鎖方案,亦有由遙控裝置主動發出解鎖控制信號,車鎖接收後即解鎖之遙控解鎖方案。於應用前者方案之一例中,車主可能僅是靠近自行車,而非真正想使用自行車,例如車主僅是休息而隔窗而坐,然而此時自行車已解鎖而處於可能被竊取的風險中。於應用後者方案之一例中,遙控裝置為智慧手機,車主通常需進入對應的應用程式中始能進行自行車解鎖,此解鎖操作略顯繁瑣。此外,於目前的遙控解鎖方案中,第三方亦可能於遙控裝置與車鎖進行無線通訊時,截取並簡單破解通訊信號,進而能駭入自行車的防盜系統中,使得自行車處於被竊取的風險中。Traditional bicycles are often inserted into the lock cylinder using a physical key for unlocking purposes. With the increasing popularity of wireless control applications, there are also remote unlocking schemes for bicycles. There is a remote unlocking scheme in which the lock is automatically unlocked when the remote control device approaches the lock, and there is also a remote unlocking scheme in which the remote control device actively issues an unlock control signal and the lock is unlocked after receiving the lock. In one of the predecessor applications, the owner may only be close to the bicycle, rather than actually wanting to use the bicycle, for example, the owner is only sitting on the window while resting, but at this time the bicycle is unlocked and at risk of being stolen. In one example of the application of the latter scheme, the remote control device is a smart phone, and the owner of the vehicle usually needs to enter the corresponding application to start unlocking the bicycle, and the unlocking operation is slightly cumbersome. In addition, in the current remote unlocking scheme, the third party may intercept and simply crack the communication signal when the remote control device and the lock are in wireless communication, thereby being able to break into the bicycle anti-theft system, so that the bicycle is at risk of being stolen. .

鑑於先前技術中的問題,本發明提供一種自行車防盜系統,透過加密訊息及回應解鎖確認,以達到避免自行車非預期的解鎖及防盜系統系統遭到破解的目的。In view of the problems in the prior art, the present invention provides a bicycle anti-theft system that encrypts messages and responds to unlock confirmations to avoid unintended unlocking of the bicycle and theft of the anti-theft system.

根據本發明之自行車防盜系統包含一可攜式裝置、一鎖及一控制器。該可攜式裝置包含一第一處理器、一第一記憶體、一第一無線通訊電路,該第一處理器與該第一記憶體及該第一無線通訊電路電連接,該第一記憶體儲存一第一加密資訊。該鎖安裝至一自行車上。該控制器安裝至該自行車上並與該鎖連接,該控制器包含一第二處理器、一第二記憶體、一第二無線通訊電路及一第二顯示及輸入介面,該第二處理器與該第二記憶體、該第二無線通訊電路及該顯示輸入介面電連接,該第二記憶體儲存一第二加密資訊,該第二加密資訊與該第一加密資訊匹配。其中,當該第一處理器與該第二處理器經由該第一無線通訊電路及該第二無線通訊電路短距離通訊連接後,該第一處理器根據該第一加密資訊加密一通知信號並經由該第一無線通訊電路傳送該加密的通知信號至該控制器。該第二處理器經由該第二無線通訊電路接收該加密的通知信號,該第二處理器根據該第二加密資訊判斷該加密的通知信號是否是有效的。若第二處理器判斷該加密的通知信號是有效的,則該第二處理器產生一確認訊息,該第二處理器經由該第二顯示及輸入介面顯示該確認訊息或經由該第二無線通訊電路傳送該確認訊息至該可攜式裝置。當該第二處理器經由該第二顯示及輸入介面接收由一使用者根據該確認訊息而輸入之一確認輸入或經由該第二無線通訊電路接收來自該可攜式裝置之該確認輸入時,該第二處理器判斷該確認輸入是否是有效的。若該第二處理器判斷該確認輸入是有效的,該第二處理器控制該鎖解鎖該自行車。The bicycle anti-theft system according to the present invention comprises a portable device, a lock and a controller. The portable device includes a first processor, a first memory, and a first wireless communication circuit. The first processor is electrically connected to the first memory and the first wireless communication circuit, and the first memory is The body stores a first encrypted message. The lock is attached to a bicycle. The controller is mounted on the bicycle and connected to the lock, the controller includes a second processor, a second memory, a second wireless communication circuit, and a second display and input interface, the second processor And the second memory, the second wireless communication circuit and the display input interface are electrically connected, the second memory stores a second encrypted information, and the second encrypted information matches the first encrypted information. After the first processor and the second processor are connected by the first wireless communication circuit and the second wireless communication circuit, the first processor encrypts a notification signal according to the first encrypted information. The encrypted notification signal is transmitted to the controller via the first wireless communication circuit. The second processor receives the encrypted notification signal via the second wireless communication circuit, and the second processor determines, according to the second encrypted information, whether the encrypted notification signal is valid. If the second processor determines that the encrypted notification signal is valid, the second processor generates a confirmation message, and the second processor displays the confirmation message via the second display and input interface or via the second wireless communication The circuit transmits the confirmation message to the portable device. Receiving, by the second processor via the second display and input interface, a confirmation input input by a user according to the confirmation message or receiving the confirmation input from the portable device via the second wireless communication circuit, The second processor determines whether the confirmation input is valid. If the second processor determines that the confirmation input is valid, the second processor controls the lock to unlock the bicycle.

本發明之另一目的在於提供一種自行車解鎖方法,透過加密訊息及回應解鎖確認,以達到避免自行車非預期的解鎖及自行車防盜系統遭到破解的目的。Another object of the present invention is to provide a bicycle unlocking method for encrypting a message and responding to an unlock confirmation to avoid unintended unlocking of the bicycle and the bicycle theft prevention system being cracked.

根據本發明之自行車解鎖方法用於一自行車防盜系統中,該自行車防盜系統包含一可攜式裝置、一鎖及一控制器,該可攜式裝置包含一第一處理器、一第一記憶體、一第一無線通訊電路,該第一處理器與該第一記憶體及該第一無線通訊電路電連接,該第一記憶體儲存一第一加密資訊,該鎖安裝至一自行車上,該控制器安裝至該自行車上並與該鎖連接,該控制器包含一第二處理器、一第二記憶體、一第二無線通訊電路及一第二顯示及輸入介面,該第二處理器與該第二記憶體、該第二無線通訊電路及該顯示輸入介面電連接,該第二記憶體儲存一第二加密資訊,該第二加密資訊與該第一加密資訊匹配。該自行車解鎖方法包含下列步驟:(a)當該第一處理器與該第二處理器經由該第一無線通訊電路及該第二無線通訊電路短距離通訊連接後,該第一處理器根據該第一加密資訊加密一通知信號並經由該第一無線通訊電路傳送該加密的通知信號至該控制器;(b)該第二處理器經由該第二無線通訊電路接收該加密的通知信號;(c)該第二處理器根據該第二加密資訊判斷該加密的通知信號是否是有效的,若是有效的,則該第二處理器產生一確認訊息;(d)該第二處理器經由該第二顯示及輸入介面顯示該確認訊息或經由該第二無線通訊電路傳送該確認訊息至該可攜式裝置;以及(e)當該第二處理器經由該第二顯示及輸入介面接收由一使用者根據該確認訊息而輸入之一確認輸入或經由該第二無線通訊電路接收來自該可攜式裝置之該確認輸入時,該第二處理器判斷該確認輸入是否是有效的,若是有效的,該第二處理器控制該鎖解鎖該自行車。The bicycle unlocking method according to the present invention is used in a bicycle anti-theft system. The bicycle anti-theft system includes a portable device, a lock, and a controller. The portable device includes a first processor and a first memory. a first wireless communication circuit, the first processor is electrically connected to the first memory and the first wireless communication circuit, the first memory stores a first encrypted information, and the lock is mounted on a bicycle, The controller is mounted on the bicycle and connected to the lock, the controller includes a second processor, a second memory, a second wireless communication circuit, and a second display and input interface, the second processor and The second memory, the second wireless communication circuit and the display input interface are electrically connected, and the second memory stores a second encrypted information, and the second encrypted information matches the first encrypted information. The bicycle unlocking method includes the following steps: (a) after the first processor and the second processor are short-distingly connected via the first wireless communication circuit and the second wireless communication circuit, the first processor is configured according to the The first encrypted information encrypts a notification signal and transmits the encrypted notification signal to the controller via the first wireless communication circuit; (b) the second processor receives the encrypted notification signal via the second wireless communication circuit; c) the second processor determines, according to the second encrypted information, whether the encrypted notification signal is valid, and if valid, the second processor generates a confirmation message; (d) the second processor passes the The second display and input interface displays the confirmation message or transmits the confirmation message to the portable device via the second wireless communication circuit; and (e) when the second processor receives the use via the second display and input interface When the one confirms the input according to the confirmation message or receives the confirmation input from the portable device via the second wireless communication circuit, the second processor determines the confirmation input Whether it is valid, if valid, the second processor controls the lock to unlock the bicycle.

相較於先前技術,本發明透過對加密的通知信號的有效性判斷,保障該可攜式裝置與該控制器間之通信安全,避免防盜系統遭到破解;又,本發明亦透過回應該控制器發出的確認訊息,避免自行車非預期解鎖。因此,根據本發明之自行車防盜系統及自行車解鎖方法能避免自行車處於被竊的風險中,有效解決先前技術的問題。Compared with the prior art, the present invention ensures the communication security between the portable device and the controller by preventing the validity of the encrypted notification signal, and prevents the anti-theft system from being cracked. Moreover, the present invention also controls the response through the response. A confirmation message from the device to prevent unintended unlocking of the bicycle. Therefore, the bicycle anti-theft system and the bicycle unlocking method according to the present invention can prevent the bicycle from being at risk of being stolen, effectively solving the problems of the prior art.

關於本發明之優點與精神可以藉由以下的發明詳述及所附圖式得到進一步的瞭解。The advantages and spirit of the present invention will be further understood from the following detailed description of the invention.

請參閱圖1,其為根據本發明之一實施例之一自行車防盜系統1之配置示意圖。自行車防盜系統1包含一可攜式裝置10、一鎖12及一控制器14。鎖12及控制器14均安裝至一自行車2上,控制器14與鎖12連接使得控制器14能透過鎖12而對自行車2實施上鎖及解鎖等作動。可攜式裝置10為一使用者所攜帶。於控制器14與可攜式裝置10短距離通訊連接後,透過與可攜式裝置10間的加密通訊及接收解鎖確認回應,控制器14始控制鎖12開啟,以解鎖自行車2。因此,根據本發明之自行車防盜系統1能避免自行車2非預期的解鎖及自行車防盜系統1遭到破解。Please refer to FIG. 1, which is a schematic diagram of the configuration of a bicycle theft prevention system 1 according to an embodiment of the present invention. The bicycle anti-theft system 1 includes a portable device 10, a lock 12 and a controller 14. Both the lock 12 and the controller 14 are mounted to a bicycle 2, and the controller 14 is coupled to the lock 12 such that the controller 14 can actuate and unlock the bicycle 2 through the lock 12. The portable device 10 is carried by a user. After the controller 14 is connected to the portable device 10 for short-distance communication, through the encrypted communication with the portable device 10 and receiving the unlock confirmation response, the controller 14 controls the lock 12 to open to unlock the bicycle 2. Therefore, the bicycle theft prevention system 1 according to the present invention can prevent the unintended unlocking of the bicycle 2 and the bicycle theft prevention system 1 from being cracked.

進一步來說,於本實施例中,可攜式裝置10包含一第一處理器102、一第一記憶體104、一第一無線通訊電路106、一第三無線通訊電路108、一第一顯示及輸入介面110及一第一電儲能元件112,第一處理器102與第一記憶體104、第一無線通訊電路106、第三無線通訊電路108、第一顯示及輸入介面110及一第一電儲能元件112分別電連接。第一處理器102具備處理數據、控制其他電子元件作動等功能,例如其包含處理單元、控制電路及暫存器等等。第一處理器102通過第三無線通訊電路108而能與一電信網路3連結,進而與遠端進行通訊(例如包含語音及數據的通訊)。其中,電信網路3可視為一群節點(包含終端)的集合,這些節點透過傳統鍵結連接起來以使各終端間能夠實現通信。這些節點可能會使用到線路交換、信息交換或封包交換以經由正確的鍵結及節點傳送信號至正確的目標終端。於實作上,電信網路3可包含電腦網路、網際網路、電話網路(例如公共交換電話網、行動電話網路)等。第一處理器102通過第一無線通訊電路106而能與附近裝置短距離通訊連接,例如透過wifi、藍芽等通訊協定。第一顯示及輸入介面110可由一顯示屏幕及一輸入鍵盤之組合實作,亦可由單一的觸控顯示面板實作。第一處理器102透過第一顯示及輸入介面110而可對該使用者顯示訊息或接收該使用者的輸入。第一處理器102能存取第一記憶體104,第一記憶體104儲存有一第一加密資訊。第一電儲能元件112可對第一處理器102及其他電子元件提供所需電能,第一電儲能元件112可由一電池實作,例如但不限於一二次電池。於實作上,第一處理器102、第一記憶體104、第一無線通訊電路106、第三無線通訊電路108、第一顯示及輸入介面110及第一電儲能元件112可全部或部分整合至一或多個電路板模組。於實作上,可攜式裝置10可為但不限於一智慧型手機、PDA等。Further, in the embodiment, the portable device 10 includes a first processor 102, a first memory 104, a first wireless communication circuit 106, a third wireless communication circuit 108, and a first display. And the input interface 110 and a first electrical energy storage component 112, the first processor 102 and the first memory 104, the first wireless communication circuit 106, the third wireless communication circuit 108, the first display and input interface 110 and a first An electrical energy storage element 112 is electrically connected. The first processor 102 has functions such as processing data, controlling other electronic components, and the like, and includes, for example, a processing unit, a control circuit, a register, and the like. The first processor 102 can be connected to a telecommunications network 3 via the third wireless communication circuit 108 to communicate with the remote end (for example, communication including voice and data). The telecommunication network 3 can be regarded as a collection of a group of nodes (including terminals), and these nodes are connected through a traditional key to enable communication between the terminals. These nodes may use line switching, information exchange, or packet switching to transmit signals to the correct target terminal via the correct bonding and nodes. In practice, the telecommunications network 3 may include a computer network, an internet, a telephone network (such as a public switched telephone network, a mobile telephone network), and the like. The first processor 102 can be short-range communication connection with nearby devices through the first wireless communication circuit 106, for example, through a communication protocol such as wifi or Bluetooth. The first display and input interface 110 can be implemented by a combination of a display screen and an input keyboard, or can be implemented by a single touch display panel. The first processor 102 can display a message to the user or receive input from the user through the first display and input interface 110. The first processor 102 can access the first memory 104, and the first memory 104 stores a first encrypted information. The first electrical energy storage component 112 can provide the required electrical energy to the first processor 102 and other electronic components. The first electrical energy storage component 112 can be implemented by a battery such as, but not limited to, a secondary battery. In practice, the first processor 102, the first memory 104, the first wireless communication circuit 106, the third wireless communication circuit 108, the first display and input interface 110, and the first electrical energy storage component 112 may be all or part of Integrated into one or more board modules. In practice, the portable device 10 can be, but not limited to, a smart phone, a PDA, or the like.

於本實施例中,控制器14包含一第二處理器142、一第二記憶體144、一第二無線通訊電路146一第四無線通訊電路148、一第二顯示及輸入介面150及一第二電儲能元件152。第二處理器142與第二記憶體144、第二無線通訊電路146、第四無線通訊電路148、第二顯示及輸入介面150及第二電儲能元件152分別電連接。第二處理器142具備處理數據、控制其他電子元件作動等功能,例如其包含處理單元、控制電路及暫存器等等。第二處理器142通過第四無線通訊電路148而能與電信網路3連結,進而與遠端進行通訊(至少包含數據通訊)。第二處理器142通過第二無線通訊電路146而能與附近裝置短距離通訊連接,例如透過wifi、藍芽等通訊協定。第二顯示及輸入介面150可由一顯示屏幕(例如液晶顯示面板或LED陣列)及一輸入鍵盤(例如數字鍵盤)之組合實作,亦可由單一的觸控顯示面板實作。第二處理器142透過第二顯示及輸入介面150而可對該使用者顯示訊息或接收該使用者的輸入。第二處理器142能存取第二記憶體144,第二記憶體144儲存有一第二加密資訊,該第二加密資訊與儲存在第一記憶體104中的第一加密資訊匹配。第二電儲能元件152可對第二處理器142及其他電子元件提供所需電能,第二電儲能元件152可由一電池實作,例如但不限於一二次電池。於實作上,第二處理器142、第二記憶體144、第二無線通訊電路146、第四無線通訊電路148、第二顯示及輸入介面150及第二電儲能元件152可全部或部分整合至一或多個電路板模組。另外,當自行車2具有電子組件時,控制器14亦可視情形整合至該電子組件中。例如自行車2係由一電力設備驅動,控制器14即可整合至該電力設備中。又,控制器14仍得以一獨立的裝置安裝至自行車2上,例如固定於自行車2車架上。In this embodiment, the controller 14 includes a second processor 142, a second memory 144, a second wireless communication circuit 146, a fourth wireless communication circuit 148, a second display and input interface 150, and a first Two electric energy storage elements 152. The second processor 142 is electrically connected to the second memory 144, the second wireless communication circuit 146, the fourth wireless communication circuit 148, the second display and input interface 150, and the second electrical energy storage device 152, respectively. The second processor 142 has functions of processing data, controlling other electronic components, and the like, and includes, for example, a processing unit, a control circuit, a register, and the like. The second processor 142 can be coupled to the telecommunications network 3 via the fourth wireless communication circuit 148 to communicate with the remote end (including at least data communication). The second processor 142 can be short-range communication connection with nearby devices through the second wireless communication circuit 146, for example, through a communication protocol such as wifi or Bluetooth. The second display and input interface 150 can be implemented by a combination of a display screen (such as a liquid crystal display panel or an LED array) and an input keyboard (such as a numeric keypad), or can be implemented by a single touch display panel. The second processor 142 can display a message to the user or receive input from the user through the second display and input interface 150. The second processor 142 can access the second memory 144, and the second memory 144 stores a second encrypted information that matches the first encrypted information stored in the first memory 104. The second electrical energy storage component 152 can provide the required electrical energy to the second processor 142 and other electronic components, and the second electrical energy storage component 152 can be implemented by a battery such as, but not limited to, a secondary battery. In practice, the second processor 142, the second memory 144, the second wireless communication circuit 146, the fourth wireless communication circuit 148, the second display and input interface 150, and the second electrical energy storage component 152 may all or part of Integrated into one or more board modules. Additionally, when the bicycle 2 has electronic components, the controller 14 can also be integrated into the electronic components as appropriate. For example, the bicycle 2 is driven by an electric device, and the controller 14 can be integrated into the electric device. Again, the controller 14 is still mounted to the bicycle 2 by a separate device, such as on the bicycle 2 frame.

於本實施例中,鎖12可鎖住自行車2使得自行車2無法移動,或可解除對自行車2的鎖定以容許自行車2移動。於實作上,透過不同型式的鎖機構,鎖2對自行車2有不同的鎖定、解除鎖定作動。例如鎖12以結構件干涉車輪的轉動(例如以一卡閂穿過車輻、卡住車軸等)。又例如自行車2係由一電力系統驅動者,鎖12可為該電力系統中之一控制電路或為耦接至該電力系統之開關,其可控制該電力系統是否作用。In the present embodiment, the lock 12 can lock the bicycle 2 so that the bicycle 2 cannot move, or the locking of the bicycle 2 can be released to allow the bicycle 2 to move. In practice, the lock 2 has different locking and unlocking actions on the bicycle 2 through different types of locking mechanisms. For example, the lock 12 interferes with the rotation of the wheel with a structural member (eg, with a latch through the spoke, jamming the axle, etc.). As another example, the bicycle 2 is driven by a power system, and the lock 12 can be a control circuit in the power system or a switch coupled to the power system that can control whether the power system functions.

於自行車防盜系統1運作時,當第一處理器102與第二處理器142經由第一無線通訊電路106及第二無線通訊電路146短距離通訊連接後(例如基於藍芽協定),第一處理器102根據該第一加密資訊加密一通知信號並經由第一無線通訊電路106傳送該加密的通知信號至控制器14。第二處理器142經由第二無線通訊電路146接收該加密的通知信號。第二處理器142根據該第二加密資訊判斷該加密的通知信號是否是有效的。若第二處理器142判斷該加密的通知信號是有效的,則第二處理器142產生一確認訊息。於實作上,第二處理器142可經由第二顯示及輸入介面150顯示該確認訊息,該使用者可根據該確認訊息經由第二顯示及輸入介面150輸入一確認輸入,如圖2所示(其中第二顯示及輸入介面150以虛線框表示,其包含一顯示屏幕150a及複數個按鍵150b)。又或第二處理器142經由第二無線通訊電路146傳送該確認訊息至可攜式裝置10,第一處理器102經由第一無線通訊電路106接收該確認訊息並經由第一顯示及輸入介面110顯示該確認訊息,該使用者可根據該確認訊息經由第一顯示及輸入介面110輸入該確認輸入,如圖3所示(其中第一顯示及輸入介面110為一顯控顯示面板,其同時顯示該確認訊息及一虛擬鍵盤,該使用者即可透過該虛擬鍵盤輸入);接著,第一處理器102經由第一顯示及輸入介面110接收該確認輸入並經由第一無線通訊電路106傳送該確認輸入至控制器14。當第二處理器142經由第二顯示及輸入介面150或經由第二無線通訊電路146接收到該確認輸入時,第二處理器142判斷該確認輸入是否是有效的。若第二處理器142判斷該確認輸入是有效的,第二處理器142控制鎖12以解鎖自行車2。其中,在第二處理器142確認該確認輸入是有效前,即使已確認該通知信號是有效的,自行車2仍是被鎖12鎖住。藉此,自行車防盜系統1透過對加密的通知信號的有效性判斷,保障可攜式裝置10與控制器14間之通信安全,避免防盜系統遭到破解;又,自行車防盜系統1亦透過回應控制器14發出的確認訊息,避免自行車2非預期解鎖。因此,自行車防盜系統1能有效避免自行車2處於被竊的風險中。When the bicycle anti-theft system 1 is in operation, after the first processor 102 and the second processor 142 are connected by short-distance communication via the first wireless communication circuit 106 and the second wireless communication circuit 146 (for example, based on the Bluetooth protocol), the first processing The device 102 encrypts a notification signal according to the first encrypted information and transmits the encrypted notification signal to the controller 14 via the first wireless communication circuit 106. The second processor 142 receives the encrypted notification signal via the second wireless communication circuit 146. The second processor 142 determines whether the encrypted notification signal is valid according to the second encrypted information. If the second processor 142 determines that the encrypted notification signal is valid, the second processor 142 generates a confirmation message. In practice, the second processor 142 can display the confirmation message via the second display and input interface 150. The user can input a confirmation input via the second display and input interface 150 according to the confirmation message, as shown in FIG. (The second display and input interface 150 is indicated by a dashed box, which includes a display screen 150a and a plurality of buttons 150b). Or the second processor 142 transmits the confirmation message to the portable device 10 via the second wireless communication circuit 146, and the first processor 102 receives the confirmation message via the first wireless communication circuit 106 via the first display and input interface 110. The confirmation message is displayed, and the user can input the confirmation input via the first display and input interface 110 according to the confirmation message, as shown in FIG. 3 (wherein the first display and input interface 110 is a display control panel, which simultaneously displays The confirmation message and a virtual keyboard can be input by the user through the virtual keyboard; then, the first processor 102 receives the confirmation input via the first display and input interface 110 and transmits the confirmation via the first wireless communication circuit 106. Input to controller 14. When the second processor 142 receives the confirmation input via the second display and input interface 150 or via the second wireless communication circuit 146, the second processor 142 determines whether the confirmation input is valid. If the second processor 142 determines that the confirmation input is valid, the second processor 142 controls the lock 12 to unlock the bicycle 2. Wherein, before the second processor 142 confirms that the confirmation input is valid, the bicycle 2 is locked by the lock 12 even if it is confirmed that the notification signal is valid. Thereby, the bicycle anti-theft system 1 ensures the communication security between the portable device 10 and the controller 14 through the validity judgment of the encrypted notification signal, and prevents the anti-theft system from being cracked; and the bicycle anti-theft system 1 also responds through the response control. The confirmation message sent by the device 14 prevents the bicycle 2 from being unintentionally unlocked. Therefore, the bicycle theft prevention system 1 can effectively prevent the bicycle 2 from being at risk of being stolen.

另外,該第一加密資訊及該第二加密資訊至少分別包含相匹配的加密金鑰,可用於通訊的加密、解密,故當控制器14與可攜式裝置10短距離通訊連接後(例如基於藍芽協定),控制器14與可攜式裝置10間之通訊均得以加密的方式進行。例如控制器14的第二處理器142根據該第二加密資訊加密該確認訊息並傳送該加密的確認訊息至可攜式裝置10,可攜式裝置10的第一處理器102根據該第一加密資訊解密該加密的確認訊息以取得該確認訊息;同樣的,可攜式裝置10的第一處理器102根據該第一加密資訊加密該確認輸入並傳送該加密的確認輸入至控制器14,控制器14的第二處理器142根據該第二加密資訊解密該加密的確認輸入以取得該確認輸入。該通知信號的內容可包含關於可攜式裝置10或控制器14的識別資訊、控制權限、有限期間等資訊。In addition, the first encrypted information and the second encrypted information respectively include at least a matching encryption key, which can be used for encryption and decryption of the communication, so when the controller 14 is connected to the portable device 10 by short-distance communication (for example, based on The Bluetooth protocol) allows communication between the controller 14 and the portable device 10 to be encrypted. For example, the second processor 142 of the controller 14 encrypts the confirmation message according to the second encrypted information and transmits the encrypted confirmation message to the portable device 10. The first processor 102 of the portable device 10 is configured according to the first encryption. The information decrypts the encrypted confirmation message to obtain the confirmation message; likewise, the first processor 102 of the portable device 10 encrypts the confirmation input according to the first encrypted information and transmits the encrypted confirmation input to the controller 14, and controls The second processor 142 of the processor 14 decrypts the encrypted confirmation input based on the second encrypted information to obtain the confirmation input. The content of the notification signal may include information about identification information, control authority, limited period, and the like of the portable device 10 or the controller 14.

此外,於實作上,與電信網路3連結之一伺服器4可儲存有該第一加密資訊及該第二加密資訊,故可攜式裝置10原先可未儲存有該第一加密資訊,而是第一處理器102經由第三無線通訊電路108通過電信網路3自伺服器4接收該第一加密資訊。同理,控制器14原先可未儲存有該第二加密資訊,而是第二處理器142經由第四無線通訊電路148通過電信網路3自伺服器4接收該第二加密資訊。或是說可攜式裝置10與控制器14原先分別儲存有該第一加密資訊及該第二加密資訊,但可攜式裝置10與控制器14均可通過電信網路3自伺服器4更新該第一加密資訊及該第二加密資訊;藉此,當控制器14更新該第二加密資訊而可攜式裝置10未能更新該第一加密資訊時,該更新的第二加密資訊原則上即與該第一加密資訊不相匹配,進而產生排除可攜式裝置10啟動控制器14的效果。In addition, in practice, the server 4 connected to the telecommunication network 3 can store the first encrypted information and the second encrypted information, so the portable device 10 may not have stored the first encrypted information. Instead, the first processor 102 receives the first encrypted information from the server 4 via the telecommunication network 3 via the third wireless communication circuit 108. Similarly, the controller 14 may not have stored the second encrypted information, but the second processor 142 receives the second encrypted information from the server 4 via the telecommunication network 3 via the fourth wireless communication circuit 148. Or the portable device 10 and the controller 14 originally store the first encrypted information and the second encrypted information respectively, but the portable device 10 and the controller 14 can be updated from the server 4 through the telecommunication network 3. The first encrypted information and the second encrypted information; wherein, when the controller 14 updates the second encrypted information and the portable device 10 fails to update the first encrypted information, the updated second encrypted information is in principle That is, the first encrypted information does not match, thereby generating an effect of eliminating the portable device 10 from starting the controller 14.

另外,於實作上,若該確認訊息是顯示於控制器14上且該確認輸入亦是透過控制器14輸入時,可攜式裝置10可簡化為僅包含第一處理器102、第一記憶體104、第一無線通訊電路106及第一電儲能元件112,使得可攜式裝置10體積大幅縮小而仍能提供當第一處理器102與第二處理器142短距離通訊連接後,傳送該加密的通知信號至控制器14之功能。此時,該第一加密資訊仍可透過可攜式裝置10與伺服器4短距離通訊而更新。同理,控制器14亦可省略第四無線通訊電路148而改以與伺服器4短距離通訊而更新該第二加密資訊。In addition, in practice, if the confirmation message is displayed on the controller 14 and the confirmation input is also input through the controller 14, the portable device 10 can be simplified to include only the first processor 102, the first memory. The body 104, the first wireless communication circuit 106 and the first electrical energy storage component 112 enable the portable device 10 to be substantially reduced in size while still providing a short-distance communication connection between the first processor 102 and the second processor 142. The encrypted notification signal is to the function of the controller 14. At this time, the first encrypted information can still be updated by short-distance communication between the portable device 10 and the server 4. Similarly, the controller 14 can also omit the fourth wireless communication circuit 148 and change the second encrypted information by short-distance communication with the server 4.

於實作上,該確認訊息包含一確認字串,該確認字串包含至少一文字(例如中文、韓文等)、字母(例如英文字母、拉丁字母等)、數字或符號(例如星號、問號等)。如圖2所示,該確認字串為「3847」,顯示於第二顯示及輸入介面150的顯示屏幕150a上。該使用者利用第二顯示及輸入介面150的按鍵150b進行輸入,作為該確認輸入。若該確認輸入包含該確認字串,則第二處理器142將判斷該確認輸入是有效的。同樣的,如圖3所示,該確認字串為「3847」,顯示於第一顯示及輸入介面110上。該使用者利用第一顯示及輸入介面110的虛擬鍵盤進行輸入,作為該確認輸入。第一處理器102再經由第一無線通訊電路106傳送該確認輸入至控制器14。若該確認輸入包含該確認字串,則第二處理器142將判斷該確認輸入是有效的。In practice, the confirmation message includes a confirmation string containing at least one text (eg, Chinese, Korean, etc.), letters (eg, English letters, Latin letters, etc.), numbers, or symbols (eg, an asterisk, a question mark, etc.) . As shown in FIG. 2, the confirmation string is "3847" and is displayed on the display screen 150a of the second display and input interface 150. The user inputs using the button 150b of the second display and input interface 150 as the confirmation input. If the confirmation input includes the confirmation string, the second processor 142 will determine that the confirmation input is valid. Similarly, as shown in FIG. 3, the confirmation string is "3847" and is displayed on the first display and input interface 110. The user inputs using the virtual keyboard of the first display and input interface 110 as the confirmation input. The first processor 102 transmits the acknowledgment input to the controller 14 via the first wireless communication circuit 106. If the confirmation input includes the confirmation string, the second processor 142 will determine that the confirmation input is valid.

請併參閱圖4,圖4為根據本發明之一自行車解鎖方法之流程圖。該自行車解鎖方法是用於自行車防盜系統中,為便於說明,該自行車解鎖方法將基於前文中自行車防盜系統1為例說明,關於自行車防盜系統1之相關說明,請併參閱前文。該自行車解鎖方法包含當第一處理器102與第二處理器142經由第一無線通訊電路106及第二無線通訊電路146短距離通訊連接後(例如透過wifi、藍芽等通訊協定),第一處理器102根據該第一加密資訊加密一通知信號並經由第一無線通訊電路106傳送該加密的通知信號至控制器14,如步驟S110所示;第二處理器142經由第二無線通訊電路146接收該加密的通知信號,如步驟S120所示;第二處理器142根據該第二加密資訊判斷該加密的通知信號是否是有效的,若是有效的,則第二處理器142產生一確認訊息,如步驟S130所示;第二處理器142經由第二顯示及輸入介面150顯示該確認訊息或經由第二無線通訊電路146傳送該確認訊息至可攜式裝置10,如步驟S140所示;當第二處理器142經由第二顯示及輸入介面150接收由該使用者根據該確認訊息而輸入之一確認輸入或經由第二無線通訊電路146接收來自可攜式裝置10之該確認輸入時,第二處理器142判斷該確認輸入是否是有效的,若是有效的,第二處理器142控制鎖12解鎖自行車2,如步驟S150所示。藉此,該自行車解鎖方法透過對加密的通知信號的有效性判斷,保障可攜式裝置10與控制器14間之通信安全,避免防盜系統遭到破解;又,該自行車解鎖方法亦透過回應控制器14發出的確認訊息,避免自行車2非預期解鎖。因此,該自行車解鎖方法能有效避免自行車2處於被竊的風險中。Please refer to FIG. 4. FIG. 4 is a flow chart of a bicycle unlocking method according to the present invention. The bicycle unlocking method is used in a bicycle anti-theft system. For convenience of explanation, the bicycle unlocking method will be described based on the bicycle anti-theft system 1 in the foregoing. For the related description of the bicycle anti-theft system 1, please refer to the foregoing. The bicycle unlocking method includes: after the first processor 102 and the second processor 142 are connected by short-distance communication via the first wireless communication circuit 106 and the second wireless communication circuit 146 (for example, through a communication protocol such as wifi or Bluetooth), the first The processor 102 encrypts a notification signal according to the first encrypted information and transmits the encrypted notification signal to the controller 14 via the first wireless communication circuit 106, as shown in step S110; the second processor 142 passes the second wireless communication circuit 146. Receiving the encrypted notification signal, as shown in step S120; the second processor 142 determines whether the encrypted notification signal is valid according to the second encryption information, and if valid, the second processor 142 generates a confirmation message. As shown in step S130, the second processor 142 displays the confirmation message via the second display and input interface 150 or transmits the confirmation message to the portable device 10 via the second wireless communication circuit 146, as shown in step S140; The second processor 142 receives, via the second display and input interface 150, an input confirmation input by the user according to the confirmation message or via the second wireless communication circuit 14 6 When receiving the confirmation input from the portable device 10, the second processor 142 determines whether the confirmation input is valid. If it is valid, the second processor 142 controls the lock 12 to unlock the bicycle 2, as shown in step S150. Therefore, the bicycle unlocking method ensures the communication security between the portable device 10 and the controller 14 through the validity judgment of the encrypted notification signal, and prevents the anti-theft system from being cracked; and the bicycle unlocking method also responds to the control. The confirmation message sent by the device 14 prevents the bicycle 2 from being unintentionally unlocked. Therefore, the bicycle unlocking method can effectively prevent the bicycle 2 from being at risk of being stolen.

請參閱圖5A、5B,其為根據一實施例之該自行車解鎖方法之流程圖。為便於說明,該自行車解鎖方法將基於前文中自行車防盜系統1為例說明,關於自行車防盜系統1之相關說明,請併參閱前文。該自行車解鎖方法包含可攜式裝置10的第一處理器102經由第三無線通訊電路108通過電信網路3自伺服器4接收並更新該第一加密資訊,且控制器14的第二處理器142經由第四無線通訊電路148通過電信網路3自伺服器4接收並更新該第二加密資訊,如步驟S200所示;其中若可攜式裝置10初始未有已儲存的第一加密資訊,則可攜式裝置10於此步驟中即僅為下載、儲存該第一加密資訊。根據該自行車解鎖方法,判斷第一處理器102與第二處理器142是否經由第一無線通訊電路106及第二無線通訊電路146短距離通訊連接(例如透過wifi、藍芽等通訊協定),如步驟S210所示;若否,則持續等待第一處理器102與第二處理器142通訊連接,即回到步驟S210;若是,第一處理器102根據該第一加密資訊加密一通知信號並經由第一無線通訊電路106傳送該加密的通知信號至控制器14,如步驟S212所示。其中,步驟S210、S212即相當於前述步驟S110。Please refer to FIGS. 5A and 5B , which are flowcharts of the bicycle unlocking method according to an embodiment. For convenience of explanation, the bicycle unlocking method will be described based on the bicycle anti-theft system 1 in the foregoing. For the related description of the bicycle anti-theft system 1, please refer to the foregoing. The bicycle unlocking method includes the first processor 102 of the portable device 10 receiving and updating the first encrypted information from the server 4 via the telecommunication network 3 via the third wireless communication circuit 108, and the second processor of the controller 14 The second encrypted communication device 148 receives and updates the second encrypted information from the server 4 via the telecommunication network 3, as shown in step S200. If the portable device 10 does not initially have the stored first encrypted information, The portable device 10 only downloads and stores the first encrypted information in this step. According to the bicycle unlocking method, it is determined whether the first processor 102 and the second processor 142 are short-disting communication connection via the first wireless communication circuit 106 and the second wireless communication circuit 146 (for example, through a communication protocol such as wifi or Bluetooth). Step S210; if not, continuing to wait for the first processor 102 to communicate with the second processor 142, that is, returning to step S210; if so, the first processor 102 encrypts a notification signal according to the first encrypted information and The first wireless communication circuit 106 transmits the encrypted notification signal to the controller 14, as shown in step S212. However, steps S210 and S212 correspond to the aforementioned step S110.

接著,根據該自行車解鎖方法,第二處理器142經由第二無線通訊電路146接收該加密的通知信號,如步驟S220所示;第二處理器142根據該第二加密資訊判斷該加密的通知信號是否是有效的,如步驟S230所示。於實作上,該加密的通知信號是否是有效可透過該加密的通知信號是否能被正確解密,或是透過判斷解密後的通知信號內容是否有效來實施。於前者,當該加密的通知信號被正確解密時,其解密後的通知信號具有有意義的內容及格式。於後者,解密後的通知信號雖具有有意義的內容及格式,但該內容無法使可攜式裝置10具有合法控制控制器14的權限。若第二處理器142判斷該加密的通知信號是無效的,則流程回到步驟S210,以等待具有權限的可攜式裝置與控制器14通訊連接。若第二處理器142判斷該加密的通知信號是有效的,第二處理器142產生一確認訊息,如步驟S232所示。其中,步驟S220即相當於前述步驟S120,步驟S230、S232即相當於前述步驟S130。Then, according to the bicycle unlocking method, the second processor 142 receives the encrypted notification signal via the second wireless communication circuit 146, as shown in step S220; the second processor 142 determines the encrypted notification signal according to the second encrypted information. Whether it is valid, as shown in step S230. In practice, whether the encrypted notification signal is valid can be correctly decrypted by the encrypted notification signal, or by determining whether the decrypted notification signal content is valid. In the former, when the encrypted notification signal is correctly decrypted, the decrypted notification signal has meaningful content and format. In the latter case, although the decrypted notification signal has meaningful content and format, the content cannot make the portable device 10 have the authority to legally control the controller 14. If the second processor 142 determines that the encrypted notification signal is invalid, the flow returns to step S210 to wait for the portable device having the authority to communicate with the controller 14. If the second processor 142 determines that the encrypted notification signal is valid, the second processor 142 generates a confirmation message, as shown in step S232. Here, step S220 corresponds to the above-described step S120, and steps S230 and S232 correspond to the aforementioned step S130.

於本實施例中,根據該自行車解鎖方法,第二處理器142經由第二顯示及輸入介面150顯示該確認訊息,如步驟S240所示。此時,該使用者即可透過第二顯示及輸入介面150看到該確認訊息(如圖2所示者),並可根據該確認訊息經由第二顯示及輸入介面150輸入。當使用者根據該確認訊息經由第二顯示及輸入介面150輸入一確認輸入時,第二處理器142即可經由第二顯示及輸入介面150接收該確認輸入,如步驟S250所示;接著,第二處理器142判斷該確認輸入是否是有效的,如步驟S252所示。於實作上,該確認訊息可包含一確認字串,該確認字串包含至少一文字、字母、數字或符號,故於步驟S240中,第二處理器142經由第二顯示及輸入介面150顯示該確認字串,且於步驟S150中,若該確認輸入包含該確認字串,則第二處理器142判斷該確認輸入是有效的。如圖2所示,該確認訊息為「請輸入:3847」,故當該確認輸入為「3847」時,第二處理器142將判斷該確認輸入為有效的。因此,當該使用者輸入其他數字時,第二處理器142將判斷該確認輸入為無效的;此時,該流程可回到步驟S250之前,等待接收該使用者新的確認輸入,以再次執行步驟S250、S252。於實作上,該流程亦可於使用者實施一或多次的錯誤輸入後,回到步驟S210,以重新執行通訊進接、通知信號、確認訊息、確認輸入等步驟。根據該自行車解鎖方法,若第二處理器142判斷該確認輸入是有效的,第二處理器142控制鎖12解鎖自行車2,如步驟S254所示。其中,步驟S240即相當於前述步驟S140,步驟S250、S252、S254即相當於前述步驟S150。In this embodiment, according to the bicycle unlocking method, the second processor 142 displays the confirmation message via the second display and input interface 150, as shown in step S240. At this time, the user can see the confirmation message through the second display and input interface 150 (as shown in FIG. 2), and can input the confirmation message via the second display and input interface 150. When the user inputs a confirmation input via the second display and input interface 150 according to the confirmation message, the second processor 142 can receive the confirmation input via the second display and input interface 150, as shown in step S250; The second processor 142 determines whether the confirmation input is valid, as shown in step S252. In practice, the confirmation message may include a confirmation string, the confirmation string includes at least one character, letter, number or symbol, so in step S240, the second processor 142 displays the second display and input interface 150. The confirmation string is determined, and in step S150, if the confirmation input includes the confirmation string, the second processor 142 determines that the confirmation input is valid. As shown in FIG. 2, the confirmation message is "Please input: 3847", so when the confirmation input is "3847", the second processor 142 determines that the confirmation input is valid. Therefore, when the user inputs other numbers, the second processor 142 will judge that the confirmation input is invalid; at this time, the flow may return to step S250 and wait for receiving the user's new confirmation input to execute again. Steps S250 and S252. In practice, the process may also return to step S210 after the user performs one or more erroneous input to re-execute the steps of communication incoming, notification signal, confirmation message, confirmation input, and the like. According to the bicycle unlocking method, if the second processor 142 determines that the confirmation input is valid, the second processor 142 controls the lock 12 to unlock the bicycle 2, as shown in step S254. Here, step S240 corresponds to the aforementioned step S140, and steps S250, S252, and S254 correspond to the aforementioned step S150.

請參閱圖6A、6B,其為根據另一實施例之該自行車解鎖方法之流程圖。為便於說明,該自行車解鎖方法將基於前文中自行車防盜系統1為例說明,關於自行車防盜系統1之相關說明,請併參閱前文。於本實施例中,該自行車解鎖方法與圖5A、5B所示之自行車解鎖方法大致相同,故關於圖6A、6B所示之自行車解鎖方法之其他說明,請參閱前述關於圖5A、5B所示之自行車解鎖方法之相關說明,不另贅述。本實施例之自行車解鎖方法與圖5A、5B所示之自行車解鎖方法主要差異為該確認訊息是由可攜式裝置10,該使用者直接使用可攜式裝置10輸入該確認輸入。進一步來說,如圖6A、6B所示,根據步驟S232,第二處理器142產生該確認訊息後,第二處理器142經由第二無線通訊電路146傳送該確認訊息至可攜式裝置10,如步驟S340所示;第一處理器102經由第一無線通訊電路106接收該確認訊息並經由第一顯示及輸入介面110顯示該確認訊息,如步驟S342所示。於實作上,第二處理器142亦得以加密方式傳送該確認訊息,此時第一處理器102需先根據該第一加密資訊將接收自控制器14的加密的確認訊息予以解密以取得該確認訊息,然後再於第一顯示及輸入介面110顯示該確認訊息。其中,步驟S340、S342即相當於前述步驟S140。Please refer to FIGS. 6A and 6B , which are flowcharts of the bicycle unlocking method according to another embodiment. For convenience of explanation, the bicycle unlocking method will be described based on the bicycle anti-theft system 1 in the foregoing. For the related description of the bicycle anti-theft system 1, please refer to the foregoing. In this embodiment, the bicycle unlocking method is substantially the same as the bicycle unlocking method shown in FIGS. 5A and 5B. Therefore, for other descriptions of the bicycle unlocking method shown in FIGS. 6A and 6B, please refer to the foregoing descriptions with respect to FIGS. 5A and 5B. The description of the bicycle unlocking method will not be repeated. The main difference between the bicycle unlocking method of the present embodiment and the bicycle unlocking method shown in FIGS. 5A and 5B is that the confirmation message is provided by the portable device 10, and the user directly inputs the confirmation input using the portable device 10. Further, as shown in FIG. 6A and FIG. 6B, after the second processor 142 generates the confirmation message according to step S232, the second processor 142 transmits the confirmation message to the portable device 10 via the second wireless communication circuit 146. As shown in step S340, the first processor 102 receives the confirmation message via the first wireless communication circuit 106 and displays the confirmation message via the first display and input interface 110, as shown in step S342. In practice, the second processor 142 also transmits the confirmation message in an encrypted manner. At this time, the first processor 102 first decrypts the encrypted confirmation message received from the controller 14 according to the first encrypted information to obtain the The confirmation message is then displayed on the first display and input interface 110. However, steps S340 and S342 correspond to the aforementioned step S140.

此時,該使用者即可透過第一顯示及輸入介面110看到該確認訊息(如圖3所示者),並可根據該確認訊息經由第一顯示及輸入介面110輸入。根據本實施例之自行車解鎖方法,當使用者根據該確認訊息經由第一顯示及輸入介面110輸入一確認輸入時,第一處理器102即可經由第一顯示及輸入介面110接收該確認輸入並經由第一無線通訊電路106傳送該確認輸入至控制器14,如步驟S350所示;接著,第二處理器142經由第二無線通訊電路146接收該確認輸入,如步驟S351所示。於實作上,第一處理器102亦得以加密方式傳送該確認輸入,此時第二處理器142需先根據該第二加密資訊將接收自可攜式裝置10的加密的確認輸入予以解密以取得該確認輸入。然後,圖6A、6B所示之自行車解鎖方法之流程續行步驟S252、S254,其相關說明可參閱關於圖5A、5B中步驟S252、S254之相關說明,不另贅述。其中,於圖6A、6B中,步驟S350、S351、S252、S254即相當於前述步驟S150。At this time, the user can see the confirmation message through the first display and input interface 110 (as shown in FIG. 3), and can input the confirmation message via the first display and input interface 110. According to the bicycle unlocking method of the embodiment, when the user inputs a confirmation input via the first display and input interface 110 according to the confirmation message, the first processor 102 can receive the confirmation input via the first display and input interface 110. The confirmation input is transmitted to the controller 14 via the first wireless communication circuit 106, as shown in step S350; then, the second processor 142 receives the confirmation input via the second wireless communication circuit 146, as shown in step S351. In practice, the first processor 102 also transmits the confirmation input in an encrypted manner. At this time, the second processor 142 first decrypts the encrypted confirmation input received from the portable device 10 according to the second encrypted information. Obtain this confirmation input. Then, the flow of the bicycle unlocking method shown in FIGS. 6A and 6B is continued to the steps S252 and S254. For related description, reference may be made to the related descriptions of steps S252 and S254 in FIGS. 5A and 5B, and details are not described herein. In FIGS. 6A and 6B, steps S350, S351, S252, and S254 correspond to the aforementioned step S150.

如前所述,根據本發明之自行車防盜系統及自行車解鎖方法透過對加密的通知信號的有效性判斷,保障該可攜式裝置與該控制器間之通信安全,避免防盜系統遭到破解,並且透過回應該控制器發出的確認訊息,避免自行車非預期解鎖,故根據本發明之自行車防盜系統及自行車解鎖方法能避免自行車處於被竊的風險中。 以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。As described above, the bicycle anti-theft system and the bicycle unlocking method according to the present invention ensure the communication security between the portable device and the controller through the validity judgment of the encrypted notification signal, and prevent the anti-theft system from being cracked, and The bicycle anti-theft system and the bicycle unlocking method according to the present invention can prevent the bicycle from being stolen by the confirmation message sent by the controller to avoid unintended unlocking of the bicycle. The above are only the preferred embodiments of the present invention, and all changes and modifications made to the scope of the present invention should be within the scope of the present invention.

1‧‧‧自行車防盜系統
10‧‧‧可攜式裝置
102‧‧‧第一處理器
104‧‧‧第一記憶體
106‧‧‧第一無線通訊電路
108‧‧‧第三無線通訊電路
110‧‧‧第一顯示及輸入介面
112‧‧‧第一電儲能元件
12‧‧‧鎖
14‧‧‧控制器
142‧‧‧第二處理器
144‧‧‧第二記憶體
146‧‧‧第二無線通訊電路
148‧‧‧第四無線通訊電路
150‧‧‧第二顯示及輸入介面
150a‧‧‧顯示屏幕
150b‧‧‧按鍵
152‧‧‧第二電儲能元件
2‧‧‧自行車
3‧‧‧電信網路
4‧‧‧伺服器
S110、S120、S130、S140、S150、S200、S210、S212、S220、S230、S232、S240、S250、S252、S254、S340、S342、S350、S351‧‧‧實施步驟
1‧‧‧Bicycle anti-theft system
10‧‧‧Portable device
102‧‧‧First processor
104‧‧‧First memory
106‧‧‧First wireless communication circuit
108‧‧‧ Third wireless communication circuit
110‧‧‧First display and input interface
112‧‧‧First electric energy storage component
12‧‧‧Lock
14‧‧‧ Controller
142‧‧‧second processor
144‧‧‧Second memory
146‧‧‧Second wireless communication circuit
148‧‧‧fourth wireless communication circuit
150‧‧‧Second display and input interface
150a‧‧‧ display screen
150b‧‧‧ button
152‧‧‧Second electrical energy storage component
2‧‧‧Bicycle
3‧‧‧Telecom network
4‧‧‧Server
S110, S120, S130, S140, S150, S200, S210, S212, S220, S230, S232, S240, S250, S252, S254, S340, S342, S350, S351‧‧‧ implementation steps

圖1為根據本發明之一實施例之一自行車防盜系統之配置示意圖。 圖2為圖1中自行車防盜系統之一控制器之示意圖。 圖3為圖1中自行車防盜系統之一可攜式裝置之示意圖。 圖4為根據本發明之一自行車解鎖方法之流程圖。 圖5A、5B為根據一實施例之該自行車解鎖方法之流程圖。 圖6A、6B為根據另一實施例之該自行車解鎖方法之流程圖。1 is a schematic view showing the configuration of a bicycle anti-theft system according to an embodiment of the present invention. 2 is a schematic diagram of a controller of the bicycle anti-theft system of FIG. 1. 3 is a schematic view of a portable device of the bicycle anti-theft system of FIG. 1. 4 is a flow chart of a bicycle unlocking method in accordance with the present invention. 5A and 5B are flow charts of the bicycle unlocking method according to an embodiment. 6A and 6B are flowcharts of the bicycle unlocking method according to another embodiment.

Claims (12)

一種自行車防盜系統,包含: 一可攜式裝置,包含一第一處理器、一第一記憶體、一第一無線通訊電路,該第一處理器與該第一記憶體及該第一無線通訊電路電連接,該第一記憶體儲存一第一加密資訊; 一鎖,安裝至一自行車上;以及 一控制器,安裝至該自行車上並與該鎖連接,該控制器包含一第二處理器、一第二記憶體、一第二無線通訊電路及一第二顯示及輸入介面,該第二處理器與該第二記憶體、該第二無線通訊電路及該顯示輸入介面電連接,該第二記憶體儲存一第二加密資訊,該第二加密資訊與該第一加密資訊匹配; 其中,當該第一處理器與該第二處理器經由該第一無線通訊電路及該第二無線通訊電路短距離通訊連接後,該第一處理器根據該第一加密資訊加密一通知信號並經由該第一無線通訊電路傳送該加密的通知信號至該控制器,該第二處理器經由該第二無線通訊電路接收該加密的通知信號,該第二處理器根據該第二加密資訊判斷該加密的通知信號是否是有效的,若該第二處理器判斷該加密的通知信號是有效的,則該第二處理器產生一確認訊息,該第二處理器經由該第二顯示及輸入介面顯示該確認訊息或經由該第二無線通訊電路傳送該確認訊息至該可攜式裝置,當該第二處理器經由該第二顯示及輸入介面接收由一使用者根據該確認訊息而輸入之一確認輸入或經由該第二無線通訊電路接收來自該可攜式裝置之該確認輸入時,該第二處理器判斷該確認輸入是否是有效的,若該第二處理器判斷該確認輸入是有效的,該第二處理器控制該鎖解鎖該自行車。A bicycle anti-theft system, comprising: a portable device, comprising: a first processor, a first memory, a first wireless communication circuit, the first processor and the first memory and the first wireless communication The circuit is electrically connected, the first memory stores a first encrypted information; a lock is mounted to a bicycle; and a controller is mounted to the bicycle and connected to the lock, the controller includes a second processor a second memory, a second wireless communication circuit, and a second display and input interface, the second processor is electrically connected to the second memory, the second wireless communication circuit, and the display input interface, the first The second memory stores a second encrypted information, and the second encrypted information matches the first encrypted information; wherein, when the first processor and the second processor communicate with the second wireless communication circuit and the second wireless communication After the short-distance communication connection of the circuit, the first processor encrypts a notification signal according to the first encrypted information, and transmits the encrypted notification signal to the controller via the first wireless communication circuit, the first The second processor receives the encrypted notification signal via the second wireless communication circuit, and the second processor determines, according to the second encrypted information, whether the encrypted notification signal is valid, if the second processor determines the encrypted notification If the signal is valid, the second processor generates a confirmation message, and the second processor displays the confirmation message via the second display and input interface or transmits the confirmation message to the portable device via the second wireless communication circuit. The device, when the second processor receives, via the second display and input interface, a confirmation input input by a user according to the confirmation message or the confirmation input from the portable device via the second wireless communication circuit The second processor determines whether the confirmation input is valid. If the second processor determines that the confirmation input is valid, the second processor controls the lock to unlock the bicycle. 如請求項1所述之自行車防盜系統,其中該確認訊息包含一確認字串,該確認字串包含至少一文字、字母、數字或符號,該第二處理器經由該第二顯示及輸入介面顯示該確認字串,若該確認輸入包含該確認字串,則該第二處理器判斷該確認輸入是有效的。The bicycle anti-theft system of claim 1, wherein the confirmation message includes a confirmation string, the confirmation string includes at least one character, letter, number or symbol, and the second processor displays the second display and input interface via the second display and input interface The confirmation string, if the confirmation input includes the confirmation string, the second processor determines that the confirmation input is valid. 如請求項1所述之自行車防盜系統,其中該確認訊息包含一確認字串,該確認字串包含至少一文字、字母、數字或符號,該可攜式裝置包含一第一顯示及輸入介面,該第一處理器與該第一顯示及輸入介面電連接,該第二處理器經由該第二無線通訊電路傳送該確認訊息至該可攜式裝置,該第一處理器經由該第一無線通訊電路接收該確認訊息並經由該第一顯示及輸入介面顯示該確認字串,若該確認輸入包含該確認字串,則該第二處理器判斷該確認輸入是有效的。The bicycle anti-theft system of claim 1, wherein the confirmation message comprises a confirmation string, the confirmation string includes at least one character, letter, number or symbol, and the portable device comprises a first display and input interface, The first processor is electrically connected to the first display and input interface, and the second processor transmits the confirmation message to the portable device via the second wireless communication circuit, where the first processor is connected to the first wireless communication circuit Receiving the confirmation message and displaying the confirmation string via the first display and input interface, if the confirmation input includes the confirmation string, the second processor determines that the confirmation input is valid. 如請求項1所述之自行車防盜系統,其中該第二處理器根據該第二加密資訊加密該確認訊息並經由該第二無線通訊電路傳送該加密的確認訊息至該可攜式裝置。The bicycle anti-theft system of claim 1, wherein the second processor encrypts the confirmation message according to the second encrypted information and transmits the encrypted confirmation message to the portable device via the second wireless communication circuit. 如請求項1所述之自行車防盜系統,其中該可攜式裝置包含一第三無線通訊電路,該第一處理器與該第三無線通訊電路電連接並經由該第三無線通訊電路通過一電信網路自一伺服器接收該第一加密資訊。The bicycle anti-theft system of claim 1, wherein the portable device comprises a third wireless communication circuit, the first processor is electrically connected to the third wireless communication circuit and passes through a third wireless communication circuit The network receives the first encrypted information from a server. 如請求項1所述之自行車防盜系統,其中該控制器包含一第四無線通訊電路,該第二處理器與該第四無線通訊電路電連接並經由該第四無線通訊電路通過一電信網路自一伺服器接收該第二加密資訊。The bicycle anti-theft system of claim 1, wherein the controller comprises a fourth wireless communication circuit, the second processor is electrically connected to the fourth wireless communication circuit and passes through a telecommunication network via the fourth wireless communication circuit. The second encrypted information is received from a server. 一種自行車解鎖方法,用於一自行車防盜系統中,該自行車防盜系統包含一可攜式裝置、一鎖及一控制器,該可攜式裝置包含一第一處理器、一第一記憶體、一第一無線通訊電路,該第一處理器與該第一記憶體及該第一無線通訊電路電連接,該第一記憶體儲存一第一加密資訊,該鎖安裝至一自行車上,該控制器安裝至該自行車上並與該鎖連接,該控制器包含一第二處理器、一第二記憶體、一第二無線通訊電路及一第二顯示及輸入介面,該第二處理器與該第二記憶體、該第二無線通訊電路及該顯示輸入介面電連接,該第二記憶體儲存一第二加密資訊,該第二加密資訊與該第一加密資訊匹配,該自行車解鎖方法包含下列步驟: (a) 當該第一處理器與該第二處理器經由該第一無線通訊電路及該第二無線通訊電路短距離通訊連接後,該第一處理器根據該第一加密資訊加密一通知信號並經由該第一無線通訊電路傳送該加密的通知信號至該控制器; (b) 該第二處理器經由該第二無線通訊電路接收該加密的通知信號; (c) 該第二處理器根據該第二加密資訊判斷該加密的通知信號是否是有效的,若是有效的,則該第二處理器產生一確認訊息; (d) 該第二處理器經由該第二顯示及輸入介面顯示該確認訊息或經由該第二無線通訊電路傳送該確認訊息至該可攜式裝置;以及 (e) 當該第二處理器經由該第二顯示及輸入介面接收由一使用者根據該確認訊息而輸入之一確認輸入或經由該第二無線通訊電路接收來自該可攜式裝置之該確認輸入時,該第二處理器判斷該確認輸入是否是有效的,若是有效的,該第二處理器控制該鎖解鎖該自行車。A bicycle unlocking method for a bicycle anti-theft system, the bicycle anti-theft system comprising a portable device, a lock and a controller, the portable device comprising a first processor, a first memory, and a a first wireless communication circuit, the first processor is electrically connected to the first memory and the first wireless communication circuit, the first memory stores a first encrypted information, and the lock is mounted on a bicycle, the controller Mounted on the bicycle and connected to the lock, the controller includes a second processor, a second memory, a second wireless communication circuit, and a second display and input interface, the second processor and the second The second memory, the second wireless communication circuit and the display input interface are electrically connected, the second memory stores a second encrypted information, and the second encrypted information is matched with the first encrypted information, and the bicycle unlocking method comprises the following steps (a) after the first processor and the second processor are short-distingly connected via the first wireless communication circuit and the second wireless communication circuit, the first processor is configured according to the first Encrypting information encrypts a notification signal and transmits the encrypted notification signal to the controller via the first wireless communication circuit; (b) the second processor receives the encrypted notification signal via the second wireless communication circuit; (c) The second processor determines, according to the second encrypted information, whether the encrypted notification signal is valid, and if valid, the second processor generates a confirmation message; (d) the second processor displays the second display And displaying, by the input interface, the confirmation message or transmitting the confirmation message to the portable device via the second wireless communication circuit; and (e) receiving, by the second processor via the second display and input interface, by a user Determining the input and receiving the confirmation input from the portable device via the second wireless communication circuit, the second processor determines whether the confirmation input is valid, and if valid, the first The second processor controls the lock to unlock the bicycle. 如請求項7所述之自行車解鎖方法,其中該確認訊息包含一確認字串,該確認字串包含至少一文字、字母、數字或符號,該第二處理器經由該第二顯示及輸入介面顯示該確認字串,於步驟(e)中,若該確認輸入包含該確認字串,則該第二處理器判斷該確認輸入是有效的。The bicycle unlocking method of claim 7, wherein the confirmation message includes a confirmation string, the confirmation string includes at least one character, letter, number or symbol, and the second processor displays the second display and input interface via the second display and input interface The confirmation string, in step (e), if the confirmation input includes the confirmation string, the second processor determines that the confirmation input is valid. 如請求項7所述之自行車解鎖方法,其中該確認訊息包含一確認字串,該確認字串包含至少一文字、字母、數字或符號,該可攜式裝置包含一第一顯示及輸入介面,該第一處理器與該第一顯示及輸入介面電連接,步驟(d)中,該第二處理器經由該第二無線通訊電路傳送該確認訊息至該可攜式裝置,該第一處理器經由該第一無線通訊電路接收該確認訊息並經由該第一顯示及輸入介面顯示該確認字串,於步驟(e)中,若該確認輸入包含該確認字串,則該第二處理器判斷該確認輸入是有效的。The bicycle unlocking method of claim 7, wherein the confirmation message comprises a confirmation string, the confirmation string includes at least one character, letter, number or symbol, and the portable device comprises a first display and input interface, The first processor is electrically connected to the first display and input interface. In the step (d), the second processor transmits the confirmation message to the portable device via the second wireless communication circuit, where the first processor is The first wireless communication circuit receives the confirmation message and displays the confirmation string via the first display and input interface. In step (e), if the confirmation input includes the confirmation string, the second processor determines the Confirm that the input is valid. 如請求項7所述之自行車解鎖方法,其中於步驟(d)中,該第二處理器根據該第二加密資訊加密該確認訊息並經由該第二無線通訊電路傳送該加密的確認訊息至該可攜式裝置。The bicycle unlocking method of claim 7, wherein in the step (d), the second processor encrypts the confirmation message according to the second encrypted information and transmits the encrypted confirmation message to the second wireless communication circuit. Portable device. 如請求項7所述之自行車解鎖方法,其中該可攜式裝置包含一第三無線通訊電路,該第一處理器與該第三無線通訊電路電連接,於步驟(a)之前,該第一處理器經由該第三無線通訊電路通過一電信網路自一伺服器接收並更新該第一加密資訊。The bicycle unlocking method of claim 7, wherein the portable device comprises a third wireless communication circuit, the first processor is electrically connected to the third wireless communication circuit, and before the step (a), the first The processor receives and updates the first encrypted information from a server via the telecommunication network via the third wireless communication circuit. 如請求項7所述之自行車解鎖方法,其中該控制器包含一第四無線通訊電路,該第二處理器與該第四無線通訊電路電連接,於步驟(a)之前,該第二處理器經由該第四無線通訊電路通過一電信網路自一伺服器接收並更新該第二加密資訊。The bicycle unlocking method of claim 7, wherein the controller comprises a fourth wireless communication circuit, the second processor is electrically connected to the fourth wireless communication circuit, before the step (a), the second processor The second encrypted communication information is received and updated from a server via a telecommunications network via the fourth wireless communication circuit.
TW105140160A 2016-12-06 2016-12-06 Bicycle security system and bicycle unlocking method TW201821317A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105140160A TW201821317A (en) 2016-12-06 2016-12-06 Bicycle security system and bicycle unlocking method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105140160A TW201821317A (en) 2016-12-06 2016-12-06 Bicycle security system and bicycle unlocking method

Publications (1)

Publication Number Publication Date
TW201821317A true TW201821317A (en) 2018-06-16

Family

ID=63258348

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105140160A TW201821317A (en) 2016-12-06 2016-12-06 Bicycle security system and bicycle unlocking method

Country Status (1)

Country Link
TW (1) TW201821317A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI682091B (en) * 2018-12-14 2020-01-11 財團法人工業技術研究院 Intelligent door lock, control method thereof, and unlocking apparatus and method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI682091B (en) * 2018-12-14 2020-01-11 財團法人工業技術研究院 Intelligent door lock, control method thereof, and unlocking apparatus and method thereof
US10614645B1 (en) 2018-12-14 2020-04-07 Industrial Technology Research Institute Intelligent door lock, control method thereof, and unlocking apparatus and method thereof

Similar Documents

Publication Publication Date Title
US10217304B2 (en) Intelligent vehicular electronic key system
ES2836114T3 (en) Information sending method, information reception method, device and system
EP3657370B1 (en) Methods and devices for authenticating smart card
CN107852599B (en) Selective pairing of wireless devices using shared secret keys
US20210070252A1 (en) Method and device for authenticating a user to a transportation vehicle
US20100180120A1 (en) Information protection device
WO2013078796A1 (en) Mobile phone and communication method thereof
WO2015130734A1 (en) Two-factor authentication systems and methods
JP2019071559A (en) Car sharing system
CN108605034A (en) Radio firmware updates
WO2020036070A1 (en) Terminal registration system and terminal registration method
US11868169B2 (en) Enabling access to data
CN104954132A (en) Information processing apparatus, information processing method, and recording medium
JP2019090229A (en) Valet key and valet key control method
WO2016114012A1 (en) Communication system for authentication
US20150264048A1 (en) Information processing apparatus, information processing method, and recording medium
TW201821317A (en) Bicycle security system and bicycle unlocking method
JP5937545B2 (en) Mobile terminal, server device, information terminal, and shared terminal management system
JP4435062B2 (en) Key opening / closing system
CN105827403A (en) Security method, security gate and server
US10181951B2 (en) Protected encryption key recovery
JP2018206369A (en) Log-in control method
JP2014136910A (en) Portable terminal and electronic key device
US9984216B2 (en) Authentication device and method
WO2015148365A1 (en) Secure messaging utilizing a wireless mobile security device