CN107054295A - Bicycle antitheft system and bicycle unlocking method - Google Patents
Bicycle antitheft system and bicycle unlocking method Download PDFInfo
- Publication number
- CN107054295A CN107054295A CN201611180238.2A CN201611180238A CN107054295A CN 107054295 A CN107054295 A CN 107054295A CN 201611180238 A CN201611180238 A CN 201611180238A CN 107054295 A CN107054295 A CN 107054295A
- Authority
- CN
- China
- Prior art keywords
- processor
- confirmation
- wireless communication
- bicycle
- communication line
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R25/00—Fittings or systems for preventing or indicating unauthorised use or theft of vehicles
- B60R25/20—Means to switch the anti-theft system on or off
- B60R25/23—Means to switch the anti-theft system on or off using manual input of alphanumerical codes
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B62—LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
- B62H—CYCLE STANDS; SUPPORTS OR HOLDERS FOR PARKING OR STORING CYCLES; APPLIANCES PREVENTING OR INDICATING UNAUTHORIZED USE OR THEFT OF CYCLES; LOCKS INTEGRAL WITH CYCLES; DEVICES FOR LEARNING TO RIDE CYCLES
- B62H5/00—Appliances preventing or indicating unauthorised use or theft of cycles; Locks integral with cycles
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Lock And Its Accessories (AREA)
Abstract
本发明提供一种自行车防盗系统及解锁方法,自行车防盗系统包含可携式装置、锁及控制器。当第一处理器与第二处理器短距离通讯连接后,第一处理器加密通知信号传送加密的通知信号至控制器,第二处理器接收加密的通知信号,第二处理器根据第二加密信息判断加密的通知信号是否是有效的,若第二处理器判断加密的通知信号是有效的,则第二处理器产生确认讯息,第二处理器经由第二显示及输入界面显示确认讯息或传送确认讯息至可携式装置,当第二处理器经由第二显示及输入界面接收由使用者根据确认讯息而输入的确认输入或接收来自可携式装置的确认输入时,第二处理器判断确认输入是否是有效的,若判断确认输入是有效的,第二处理器控制锁解锁自行车。
The invention provides a bicycle anti-theft system and an unlocking method. The bicycle anti-theft system includes a portable device, a lock and a controller. When the first processor and the second processor are connected by short-distance communication, the first processor encrypts the notification signal and sends the encrypted notification signal to the controller, the second processor receives the encrypted notification signal, and the second processor encrypts the notification signal according to the second encryption The information judges whether the encrypted notification signal is valid, and if the second processor judges that the encrypted notification signal is valid, the second processor generates a confirmation message, and the second processor displays the confirmation message through the second display and input interface or sends The confirmation message is sent to the portable device. When the second processor receives the confirmation input input by the user according to the confirmation message or receives the confirmation input from the portable device through the second display and input interface, the second processor judges the confirmation Whether the input is valid, if it is determined that the input is valid, the second processor controls the lock to unlock the bicycle.
Description
技术领域technical field
本发明关于一种自行车锁,尤指一种近距离无线控制的自行车锁及其解锁方法。The invention relates to a bicycle lock, in particular to a short-distance wireless-controlled bicycle lock and an unlocking method thereof.
背景技术Background technique
传统自行车多是使用实体钥匙插入锁芯中以实现解锁目的。随着无线控制的应用日益普及,目前亦有应用于自行车的遥控解锁方案提出。其中有以当遥控装置接近车锁时,车锁即自动解锁的遥控解锁方案,亦有由遥控装置主动发出解锁控制信号,车锁接收后即解锁的遥控解锁方案。于应用前者方案的一例中,车主可能仅是靠近自行车,而非真正想使用自行车,例如车主仅是休息而隔窗而坐,然而此时自行车已解锁而处于可能被窃取的风险中。于应用后者方案的一例中,遥控装置为智慧手机,车主通常需进入对应的应用程式中方能进行自行车解锁,此解锁操作略显繁琐。此外,于目前的遥控解锁方案中,第三方亦可能于遥控装置与车锁进行无线通讯时,截取并简单破解通讯信号,进而能黑入自行车的防盗系统中,使得自行车处于被窃取的风险中。Most traditional bicycles use a physical key to be inserted into the lock cylinder to achieve the purpose of unlocking. Along with the increasingly popularization of the application of wireless control, also have the remote control unlocking scheme that is applied to bicycle to propose at present. Among them, there is a remote unlocking scheme in which the car lock is automatically unlocked when the remote control device is close to the car lock, and there is also a remote unlocking scheme in which the remote control device actively sends out an unlocking control signal, and the car lock is unlocked after receiving it. In an example of applying the former solution, the owner may only approach the bicycle, but not really want to use the bicycle. For example, the owner just takes a rest and sits through the window, but at this time the bicycle is unlocked and is at risk of being stolen. In an example of applying the latter solution, the remote control device is a smart phone, and the owner usually needs to enter the corresponding application program to unlock the bicycle. This unlocking operation is a bit cumbersome. In addition, in the current remote unlocking solution, a third party may also intercept and simply decipher the communication signal during the wireless communication between the remote control device and the car lock, and then be able to hack into the anti-theft system of the bicycle, putting the bicycle at risk of being stolen .
发明内容Contents of the invention
本发明提供一种自行车防盗系统及自行车解锁方法,通过加密讯息及回应解锁确认,以达到避免自行车非预期的解锁及防盗系统遭到破解的目的。The invention provides a bicycle anti-theft system and a bicycle unlocking method, through encrypting messages and responding to unlock confirmation, so as to avoid unexpected unlocking of bicycles and cracking of the anti-theft system.
为了达到上述目的,第一方面,本发明提供一种自行车防盗系统,包含可携式装置、锁及控制器。该可携式装置包含第一处理器、第一存储器及第一无线通讯电路。锁安装至自行车上。控制器安装至该自行车上并与该锁连接,该控制器包含第二处理器、第二存储器、第二无线通讯电路及第二显示及输入界面,该第二处理器与该第二存储器、该第二无线通讯电路及该显示输入界面电连接,该第二存储器储存第二加密信息,该第二加密信息与该第一加密信息匹配。其中,当该第一处理器与该第二处理器经由该第一无线通讯电路及该第二无线通讯电路短距离通讯连接后,该第一处理器根据该第一加密信息加密通知信号并经由该第一无线通讯电路传送该加密的通知信号至该控制器,该第二处理器经由该第二无线通讯电路接收该加密的通知信号,该第二处理器根据该第二加密信息判断该加密的通知信号是否是有效的,若该第二处理器判断该加密的通知信号是有效的,则该第二处理器产生确认讯息,该第二处理器经由该第二显示及输入界面显示该确认讯息或经由该第二无线通讯电路传送该确认讯息至该可携式装置,当该第二处理器经由该第二显示及输入界面接收由使用者根据该确认讯息而输入的确认输入或经由该第二无线通讯电路接收来自该可携式装置的该确认输入时,该第二处理器判断该确认输入是否是有效的,若该第二处理器判断该确认输入是有效的,该第二处理器控制该锁解锁该自行车。In order to achieve the above object, the present invention provides a bicycle anti-theft system in a first aspect, which includes 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 lock is mounted on the bicycle. The controller is installed on the bicycle and connected with 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 connected to the second memory, The second wireless communication circuit is electrically connected to the display input interface, the second memory stores second encrypted information, and the second encrypted information matches the first encrypted information. Wherein, when the first processor and the second processor are connected via short-distance communication via the first wireless communication circuit and the second wireless communication circuit, the first processor encrypts the notification signal according to the first encryption information and transmits the notification signal via The first wireless communication circuit transmits the encrypted notification signal to the controller, the second processor receives the encrypted notification signal through the second wireless communication circuit, and the second processor judges the encrypted notification signal according to the second encrypted information. Whether the 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 through the second display and input interface message or transmit the confirmation message to the portable device through the second wireless communication circuit, when the second processor receives the confirmation input input by the user according to the confirmation message through the second display and input interface or through the When the second wireless communication circuit receives the confirmation input from the portable device, the second processor determines whether the confirmation input is valid, and if the second processor determines that the confirmation input is valid, the second processing The controller controls the lock to unlock the bicycle.
较佳的,该确认讯息包含确认字串,该确认字串包含至少一个文字、字母、数字或符号,该第二处理器经由该第二显示及输入界面显示该确认字串,若该确认输入包含该确认字串,则该第二处理器判断该确认输入是有效的。Preferably, the confirmation message includes a confirmation string, the confirmation string includes at least one character, letter, number or symbol, the second processor displays the confirmation string through the second display and input interface, if the confirmation input If the confirmation string is included, the second processor determines that the confirmation input is valid.
较佳的,该确认讯息包含确认字串,该确认字串包含至少一个文字、字母、数字或符号,该可携式装置还包含第一显示及输入界面,该第一处理器与该第一显示及输入界面电连接,该第二处理器经由该第二无线通讯电路传送该确认讯息至该可携式装置,该第一处理器经由该第一无线通讯电路接收该确认讯息并经由该第一显示及输入界面显示该确认字串,若该确认输入包含该确认字串,则该第二处理器判断该确认输入是有效的。Preferably, the confirmation message includes a confirmation string, the confirmation string includes at least one character, letter, number or symbol, the portable device also includes a first display and input interface, the first processor and the first The display and input interface are electrically connected, the second processor transmits the confirmation message to the portable device through the second wireless communication circuit, the first processor receives the confirmation message through the first wireless communication circuit and transmits the confirmation message through the second wireless communication circuit A display and input interface displays the confirmation string, and if the confirmation input includes the confirmation string, the second processor determines that the confirmation input is valid.
较佳的,该第二处理器根据该第二加密信息加密该确认讯息并经由该第二无线通讯电路传送该加密的确认讯息至该可携式装置。Preferably, the second processor encrypts the confirmation message according to the second encryption information and transmits the encrypted confirmation message to the portable device via the second wireless communication circuit.
较佳的,该可携式装置还包含第三无线通讯电路,该第一处理器与该第三无线通讯电路电连接并经由该第三无线通讯电路通过电信网络自服务器接收该第一加密信息。Preferably, the portable device further includes a third wireless communication circuit, the first processor is electrically connected to the third wireless communication circuit and receives the first encrypted information from the server through the telecommunications network via the third wireless communication circuit .
较佳的,该控制器还包含第四无线通讯电路,该第二处理器与该第四无线通讯电路电连接并经由该第四无线通讯电路通过电信网络自服务器接收该第二加密信息。Preferably, the controller further includes a fourth wireless communication circuit, the second processor is electrically connected to the fourth wireless communication circuit and receives the second encrypted information from the server through the telecommunications network via the fourth wireless communication circuit.
第二方面,本发明提供一种自行车解锁方法,该自行车解锁方法用于自行车防盗系统中,该自行车防盗系统包含可携式装置、锁及控制器,,该可携式装置包含第一处理器、第一存储器、第一无线通讯电路,该第一处理器与该第一存储器及该第一无线通讯电路电连接,该第一存储器储存第一加密信息,该锁安装至自行车上,该控制器安装至该自行车上并与该锁连接,该控制器包含第二处理器、第二存储器、第二无线通讯电路及第二显示及输入界面,该第二处理器与该第二存储器、该第二无线通讯电路及该显示输入界面电连接,该第二存储器储存第二加密信息,该第二加密信息与该第一加密信息匹配,该自行车解锁方法包含下列步骤:In a second aspect, the present invention provides a method for unlocking a bicycle, the method for unlocking a bicycle is used in a bicycle anti-theft system, the bicycle anti-theft system includes a portable device, a lock and a controller, and the portable device includes a first processor , 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 first encrypted information, the lock is installed on the bicycle, the control The controller is installed on the bicycle and connected with 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 The second wireless communication circuit is electrically connected to the display input interface, the second memory stores the second encrypted information, the second encrypted information matches the first encrypted information, and the bicycle unlocking method includes the following steps:
(a)当该第一处理器与该第二处理器经由该第一无线通讯电路及该第二无线通讯电路短距离通讯连接后,该第一处理器根据该第一加密信息加密通知信号并经由该第一无线通讯电路传送该加密的通知信号至该控制器;(a) After the first processor and the second processor are connected via short-distance communication between the first wireless communication circuit and the second wireless communication circuit, the first processor encrypts the notification signal according to the first encrypted information and transmitting the encrypted notification signal to the controller via the first wireless communication circuit;
(b)该第二处理器经由该第二无线通讯电路接收该加密的通知信号;(b) the second processor receives the encrypted notification signal via the second wireless communication circuit;
(c)该第二处理器根据该第二加密信息判断该加密的通知信号是否是有效的,若是有效的,则该第二处理器产生确认讯息;(c) the second processor judges whether the encrypted notification signal is valid according to the second encrypted information, and if valid, the second processor generates a confirmation message;
(d)该第二处理器经由该第二显示及输入界面显示该确认讯息或经由该第二无线通讯电路传送该确认讯息至该可携式装置;以及(d) 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; and
(e)当该第二处理器经由该第二显示及输入界面接收由使用者根据该确认讯息而输入的确认输入或经由该第二无线通讯电路接收来自该可携式装置的该确认输入时,该第二处理器判断该确认输入是否是有效的,若是有效的,该第二处理器控制该锁解锁该自行车。(e) When the second processor receives a confirmation input from the user according to the confirmation message through the second display and input interface or receives the confirmation input from the portable device through the second wireless communication circuit , the second processor judges whether the confirmation input is valid, and if valid, the second processor controls the lock to unlock the bicycle.
较佳的,该确认讯息包含确认字串,该确认字串包含至少一个文字、字母、数字或符号,该第二处理器经由该第二显示及输入界面显示该确认字串,于步骤(e)中,若该确认输入包含该确认字串,则该第二处理器判断该确认输入是有效的。Preferably, the confirmation message includes a confirmation string, the confirmation string includes at least one character, letter, number or symbol, the second processor displays the confirmation string through the second display and input interface, and in step (e ), if the confirmation input includes the confirmation string, the second processor determines that the confirmation input is valid.
较佳的,该确认讯息包含确认字串,该确认字串包含至少一个文字、字母、数字或符号,该可携式装置还包含第一显示及输入界面,该第一处理器与该第一显示及输入界面电连接,步骤(d)中,该第二处理器经由该第二无线通讯电路传送该确认讯息至该可携式装置,该第一处理器经由该第一无线通讯电路接收该确认讯息并经由该第一显示及输入界面显示该确认字串,于步骤(e)中,若该确认输入包含该确认字串,则该第二处理器判断该确认输入是有效的。Preferably, the confirmation message includes a confirmation string, the confirmation string includes at least one character, letter, number or symbol, the portable device also includes a first display and input interface, the first processor and the first The display and the input interface are electrically connected. In step (d), the second processor sends the confirmation message to the portable device through the second wireless communication circuit, and the first processor receives the confirmation message through the first wireless communication circuit. Confirm the message and display the confirmation string through the first display and input interface. In step (e), if the confirmation input includes the confirmation string, the second processor determines that the confirmation input is valid.
较佳的,于步骤(d)中,该第二处理器根据该第二加密信息加密该确认讯息并经由该第二无线通讯电路传送该加密的确认讯息至该可携式装置。Preferably, in step (d), 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.
较佳的,该可携式装置还包含第三无线通讯电路,该第一处理器与该第三无线通讯电路电连接,于步骤(a)之前,该第一处理器经由该第三无线通讯电路通过电信网络自服务器接收并更新该第一加密信息。Preferably, the portable device further includes a third wireless communication circuit, the first processor is electrically connected to the third wireless communication circuit, and before step (a), the first processor communicates The circuit receives and updates the first encrypted information from the server through the telecommunications network.
较佳的,该控制器还包含第四无线通讯电路,该第二处理器与该第四无线通讯电路电连接,于步骤(a)之前,该第二处理器经由该第四无线通讯电路通过电信网络自服务器接收并更新该第二加密信息。Preferably, the controller further includes a fourth wireless communication circuit, the second processor is electrically connected to the fourth wireless communication circuit, and before step (a), the second processor passes through the fourth wireless communication circuit The telecommunications network receives and updates the second encrypted information from the server.
与现有技术相比,本发明提供的自行车防盗系统及自行车解锁方法,通过对加密的通知信号的有效性判断,保障该可携式装置与该控制器之间的通信安全,避免防盗系统遭到破解;又,本发明亦通过回应该控制器发出的确认讯息,避免自行车非预期解锁。因此,根据本发明的自行车防盗系统及自行车解锁方法能避免自行车处于被窃的风险中,有效解决先前技术的问题。Compared with the prior art, the bicycle anti-theft system and the bicycle unlocking method provided by the present invention ensure the communication security between the portable device and the controller by judging the validity of the encrypted notification signal, and avoid the anti-theft system from being damaged. In addition, the present invention also avoids unexpected unlocking of the bicycle by responding to the confirmation message sent by the controller. Therefore, the bicycle anti-theft system and the bicycle unlocking method according to the present invention can avoid the risk of the bicycle being stolen, and effectively solve the problems of the prior art.
附图说明Description of drawings
图1为根据本发明的实施例的自行车防盗系统的配置示意图。FIG. 1 is a schematic configuration diagram of a bicycle anti-theft system according to an embodiment of the present invention.
图2为图1中自行车防盗系统的控制器的示意图。Fig. 2 is a schematic diagram of a controller of the bicycle anti-theft system in Fig. 1 .
图3为图1中自行车防盗系统的可携式装置的示意图。FIG. 3 is a schematic diagram of a portable device of the bicycle anti-theft system in FIG. 1 .
图4为根据本发明的自行车解锁方法的流程图。Fig. 4 is a flow chart of the bicycle unlocking method according to the present invention.
图5A、图5B为根据一实施例的该自行车解锁方法的流程图。5A and 5B are flowcharts of the bicycle unlocking method according to an embodiment.
图6A、图6B为根据另一实施例的该自行车解锁方法的流程图。6A and 6B are flowcharts of the bicycle unlocking method according to another embodiment.
具体实施方式detailed description
为使对本发明的目的、构造、特征、及其功能有进一步的了解,兹配合实施例详细说明如下。In order to have a further understanding of the purpose, structure, features, and functions of the present invention, the following detailed descriptions are provided in conjunction with the embodiments.
请参阅图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 configuration diagram of a bicycle anti-theft 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 installed on the bicycle 2 , and the controller 14 is connected to the lock 12 so that the controller 14 can perform actions such as locking and unlocking the bicycle 2 through the lock 12 . The portable device 10 is carried by the user. After the controller 14 is connected with the portable device 10 for short-distance communication, the controller 14 controls the lock 12 to open to unlock the bicycle 2 through encrypted communication with the portable device 10 and receiving an unlock confirmation response. Therefore, the bicycle anti-theft system 1 according to the present invention can prevent the unexpected unlocking of the bicycle 2 and the bicycle anti-theft 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可为但不限于智慧型手机、掌上电脑(PersonalDigital Assistant,PDA)、平板电脑等。Further, in this 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, a first display and input interface 110, and The first electric energy storage element 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 the first electric energy storage element 112 respectively connect. The first processor 102 has functions such as processing data and controlling the operation of other electronic components, and includes, for example, a processing unit, a control circuit, and a register. The first processor 102 can be connected to the telecommunication network 3 through the third wireless communication circuit 108, and then communicate with a remote end (for example, communication including voice and data). Wherein, the telecommunication network 3 can be regarded as a collection of a group of nodes (including terminals), and these nodes are connected through traditional links to enable communication between terminals. These nodes may use circuit switching, message switching or packet switching to send signals to the correct target terminal via the correct link and node. In practical applications, the telecommunication network 3 may include a computer network, the Internet, a telephone network (such as a public switched telephone network, a mobile telephone network), and the like. The first processor 102 can communicate with nearby devices through the first wireless communication circuit 106 , for example, through wifi, bluetooth and other communication protocols for short-distance communication. 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 messages to the user or receive input from the user through the first display and input interface 110 . The first processor 102 can access the content stored in the first memory 104, and the first memory 104 stores the first encrypted information. The first electrical energy storage element 112 can provide required electrical energy to the first processor 102 and other electronic components. In practice, the first electrical energy storage element 112 can be a battery, such as but not limited to a secondary battery. In practical application, 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 electric energy storage element 112 can be fully or partially integrated to one or more board modules. In practical applications, the portable device 10 may be, but not limited to, a smart phone, a PDA (Personal Digital Assistant, PDA), a tablet computer, and 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 second electric energy storage element 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 electric energy storage element 152 . The second processor 142 has functions such as processing data and controlling the operation of other electronic components, for example, it includes a processing unit, a control circuit, and a register. The second processor 142 can be connected to the telecommunication network 3 through the fourth wireless communication circuit 148, and then communicate with the remote end (at least including data communication). The second processor 142 can communicate with nearby devices through the second wireless communication circuit 146 , for example, through wifi, bluetooth and other communication protocols for short-distance communication. The second display and input interface 150 can be realized 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 realized by a single touch display panel. The second processor 142 can display messages to the user or receive input from the user through the second display and input interface 150 . The second processor 142 can access the content in the second memory 144 , the second memory 144 stores the second encrypted information, and the second encrypted information matches the first encrypted information stored in the first memory 104 . The second electric energy storage element 152 can provide required electric energy to the second processor 142 and other electronic elements, and the second electric energy storage element 152 can be implemented by a battery, such as but not limited to a secondary battery. In practical application, 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 electric energy storage element 152 can be all or part Integrate into one or more board modules. In addition, when the bicycle 2 has electronic components, the controller 14 may also be integrated into the electronic components as appropriate. For example, the bicycle 2 is driven by electric equipment, and the controller 14 can be integrated into the electric equipment. Moreover, the controller 14 can still be installed on the bicycle 2 as an independent device, for example fixed on the frame of the bicycle 2 .
于本实施例中,锁12可锁住自行车2使得自行车2无法移动,或可解除对自行车2的锁定以容许自行车2移动。于实际应用中,通过不同型式的锁机构,锁12对自行车2有不同的锁定、解除锁定的动作。例如锁12以结构件干涉车轮的转动(例如以卡闩穿过车辐、卡住车轴等)。又例如自行车2是由电力系统驱动时,锁12可为该电力系统中的控制电路或为耦接至该电力系统的开关,其可控制该电力系统是否作用。In this embodiment, the lock 12 can lock the bicycle 2 so that the bicycle 2 cannot be moved, or can unlock the bicycle 2 to allow the bicycle 2 to move. In practical applications, the lock 12 has different locking and unlocking actions for 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 (for example, with a latch passing through the spokes, clamping the axle, etc.). Another example is when the bicycle 2 is driven by an electric system, the lock 12 can be a control circuit in the electric system or a switch coupled to the electric system, which can control whether the electric system works.
于自行车防盗系统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 running, after the first processor 102 and the second processor 142 are connected via the first wireless communication circuit 106 and the second wireless communication circuit 146 for short-distance communication (such as a short-distance communication connection based on the Bluetooth protocol) The first processor 102 encrypts the notification signal according to the first encryption 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 judges 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 practical applications, the second processor 142 can display the confirmation message through the second display and input interface 150, and the user can input a confirmation input through the second display and input interface 150 according to the confirmation message, as shown in FIG. 2 ( Wherein the second display and input interface 150 is represented by a dashed box, which includes a display screen 150a and a plurality of buttons 150b). Or the second processor 142 sends the confirmation message to the portable device 10 through the second wireless communication circuit 146, and the first processor 102 receives the confirmation message through the first wireless communication circuit 106 and transmits the confirmation message through the first display and input interface 110 The confirmation message is displayed, and the user can input the confirmation input through 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 touch display panel, which simultaneously displays the Confirmation message and virtual keyboard, the user can enter through the virtual keyboard); then, the first processor 102 receives the confirmation input through the first display and input interface 110 and transmits the confirmation input through the first wireless communication circuit 106 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, even if the notification signal is confirmed to be valid, the bicycle 2 is still locked by the lock 12 . In this way, the bicycle anti-theft system 1 ensures the security of communication between the portable device 10 and the controller 14 by judging the validity of the encrypted notification signal, and prevents the anti-theft system from being cracked; in addition, the bicycle anti-theft system 1 also responds The confirmation message sent by the controller 14 prevents the bicycle 2 from being unlocked unexpectedly. Therefore, the bicycle anti-theft system 1 can effectively prevent the bicycle 2 from being in the 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 include at least matching encryption keys, which can be used for encryption and decryption of communications. Therefore, when the controller 14 is connected to the portable device 10 through short-distance communication (for example, based on Bluetooth protocol), the communication between the controller 14 and the portable device 10 can be encrypted. For example, the second processor 142 of the controller 14 encrypts the confirmation message according to the second encryption information and sends the encrypted confirmation message to the portable device 10, and the first processor 102 of the portable device 10 encrypts the confirmation message according to the first encrypted message. information to decrypt the encrypted confirmation message to obtain the confirmation message; similarly, 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 device 14 decrypts the encrypted confirmation input according to the second encrypted information to obtain the confirmation input. The content of the notification signal may include identification information about the portable device 10 or the controller 14, control authority, limited period and other information.
此外,于实际应用中,与电信网络3连接的服务器4可储存有该第一加密信息及该第二加密信息,故可携式装置10原先可未储存有该第一加密信息,而是第一处理器102经由第三无线通讯电路108通过电信网络3自服务器4接收该第一加密信息。同理,控制器14原先可未储存有该第二加密信息,而是第二处理器142经由第四无线通讯电路148通过电信网络3自服务器4接收该第二加密信息。或是说可携式装置10与控制器14原先分别储存有该第一加密信息及该第二加密信息,但可携式装置10与控制器14均可通过电信网络3自服务器4更新该第一加密信息及该第二加密信息;藉此,当控制器14更新该第二加密信息而可携式装置10未能更新该第一加密信息时,该更新的第二加密信息原则上即与该第一加密信息不相匹配,进而产生排除可携式装置10启动控制器14的效果,这样,在可携式装置10、控制器14均动态同步更新加密信息时,其它可携式装置无法知晓更新的第一加密信息,进而无法启动控制器14,增强了系统的安全性。In addition, in practical applications, the server 4 connected to the telecommunication network 3 may store the first encrypted information and the second encrypted information, so the portable device 10 may not store the first encrypted information originally, but the second encrypted information. A processor 102 receives the first encrypted information from the server 4 through the telecommunications network 3 via the third wireless communication circuit 108 . Similarly, the controller 14 may not store the second encrypted information originally, but the second processor 142 receives the second encrypted information from the server 4 via the fourth wireless communication circuit 148 through the telecommunication network 3 . In other words, the portable device 10 and the controller 14 originally stored the first encrypted information and the second encrypted information respectively, but both the portable device 10 and the controller 14 can update the first encrypted information from the server 4 through the telecommunications network 3 An encrypted message and the second encrypted message; whereby, when the controller 14 updates the second encrypted message but the portable device 10 fails to update the first encrypted message, the updated second encrypted message is in principle identical to the The first encrypted information does not match, and then produces the effect of excluding the portable device 10 from starting the controller 14. In this way, when the portable device 10 and the controller 14 update the encrypted information dynamically and synchronously, other portable devices cannot Knowing the updated first encryption information prevents the controller 14 from starting, which enhances the security of the system.
另外,于实际应用中,若该确认讯息是显示于控制器14上且该确认输入亦是通过控制器14输入时,可携式装置10可简化为仅包含第一处理器102、第一存储器104、第一无线通讯电路106及第一电储能元件112,使得可携式装置10体积大幅缩小而仍能提供当第一处理器102与第二处理器142短距离通讯连接后,传送该加密的通知信号至控制器14的功能。此时,该第一加密信息可通过可携式装置10与服务器4短距离通讯而更新。同理,控制器14亦可省略第四无线通讯电路148而改以与服务器4短距离通讯而更新该第二加密信息。In addition, in practical applications, 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 only include the first processor 102, the first memory 104. The first wireless communication circuit 106 and the first electric energy storage element 112 make the size of the portable device 10 greatly reduced and still provide the ability to transmit the Encrypted notification signal to controller 14 function. At this time, the first encrypted information can be updated through 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 instead communicate with the server 4 in a short distance to update the second encrypted information.
于实际应用中,该确认讯息包含确认字串,该确认字串包含至少一个文字(例如中文、韩文等)、字母(例如英文字母、拉丁字母等)、数字或符号(例如星号、问号等)。如图2所示,该确认字串为“3847”,显示于第二显示及输入界面150的显示屏幕150a上。该使用者利用第二显示及输入界面150的按键150b进行输入,作为该确认输入。若该确认输入包含该确认字串,则第二处理器142将判断该确认输入是有效的。同样的,如图3所示,该确认字串为“3847”,显示于第一显示及输入界面110上。该使用者利用第一显示及输入界面110的虚拟键盘进行输入,作为该确认输入。第一处理器102再经由第一无线通讯电路106传送该确认输入至控制器14。若该确认输入包含该确认字串,则第二处理器142将判断该确认输入是有效的。In practical applications, the confirmation message includes a confirmation string, and the confirmation string includes at least one character (such as Chinese, Korean, etc.), letters (such as English letters, Latin letters, etc.), numbers or symbols (such as asterisks, question marks, etc. ). As shown in FIG. 2 , the confirmation string is “3847” and is displayed on the display screen 150 a of the second display and input interface 150 . The user uses the button 150b of the second display and input interface 150 to input 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”, which is displayed on the first display and input interface 110 . The user uses the virtual keyboard of the first display and input interface 110 to input as the confirmation input. The first processor 102 then transmits the confirmation 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 also refer to FIG. 4 , which is a flow chart of the bicycle unlocking method according to the present invention. The bicycle unlocking method is used in the bicycle anti-theft system. For the convenience of description, the bicycle unlocking method will be described based on the bicycle anti-theft system 1 mentioned above as an example. For the relevant description of the bicycle anti-theft system 1, please refer to the foregoing. The bicycle unlocking method includes that after the first processor 102 and the second processor 142 are connected via the first wireless communication circuit 106 and the second wireless communication circuit 146 for short-distance communication (for example, through wifi, bluetooth and other communication protocols for short-distance communication connection) ), the first processor 102 encrypts the notification signal according to the first encryption information and transmits the encrypted notification signal to the controller 14 via the first wireless communication circuit 106, as shown in step S110; The communication circuit 146 receives the encrypted notification signal, as shown in step S120; the second processor 142 judges whether the encrypted notification signal is valid according to the second encrypted 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 through the second display and input interface 150 or transmits the confirmation message to the portable device 10 through the second wireless communication circuit 146, as shown in step S140; When the second processor 142 receives the confirmation input input by the user according to the confirmation message through the second display and input interface 150 or receives the confirmation input from the portable device 10 through the second wireless communication circuit 146, the second The second processor 142 judges whether the confirmation input is valid, and if the confirmation input is valid, the second processor 142 controls the lock 12 to unlock the bicycle 2, as shown in step S150. In this way, the bicycle unlocking method ensures the security of communication between the portable device 10 and the controller 14 by judging the validity of the encrypted notification signal, preventing the anti-theft system from being cracked; in addition, the bicycle unlocking method also responds to The confirmation message sent by the controller 14 prevents the bicycle 2 from being unlocked unexpectedly. Therefore, the bicycle unlocking method can effectively prevent the bicycle 2 from being in the 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 FIG. 5A and FIG. 5B , which are flowcharts of the bicycle unlocking method according to an embodiment. For the convenience of description, the bicycle unlocking method will be described based on the bicycle anti-theft system 1 mentioned above as an example. For the relevant description of the bicycle anti-theft system 1, please refer to the foregoing. The bicycle unlocking method includes that the first processor 102 of the portable device 10 receives and updates the first encrypted information from the server 4 via the third wireless communication circuit 108 through the telecommunications network 3, and the second processor 142 of the controller 14 via The fourth wireless communication circuit 148 receives and updates the second encrypted information from the server 4 through the telecommunications network 3, as shown in step S200; wherein if the portable device 10 does not initially have stored first encrypted information, the portable device 10 In this step, the device 10 only downloads and stores the first encrypted information. According to the method for unlocking the bicycle, it is judged whether the first processor 102 and the second processor 142 are connected via the first wireless communication circuit 106 and the second wireless communication circuit 146 for short-distance communication (such as short-distance communication through wifi, bluetooth, etc.) connection), as shown in step S210; if not, then continue to wait for the communication connection between the first processor 102 and the second processor 142, that is, return to step S210; if so, the first processor 102 encrypts the notification according to the first encrypted information signal and transmit the encrypted notification signal to the controller 14 via the first wireless communication circuit 106, as shown in step S212. Wherein, 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。Next, 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 judges the encrypted notification signal according to the second encrypted information Whether it is valid, as shown in step S230. In practical applications, whether the encrypted notification signal is valid can be determined by whether the encrypted notification signal can be correctly decrypted, or by judging whether the content of the decrypted notification signal is valid. In the former, when the encrypted notification signal is correctly decrypted, the decrypted notification signal has meaningful content and format, and it can be confirmed that the encrypted notification signal is valid. In the latter case, even if the decrypted notification signal has meaningful content and format, but the content cannot make the portable device 10 have legal authority to control the controller 14, the encrypted notification signal is still confirmed to be invalid. If the second processor 142 determines that the encrypted notification signal is invalid, the process returns to step S210 to wait for the authorized portable device 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. Wherein, step S220 corresponds to the aforementioned 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 through the second display and input interface 150, as shown in step S240. At this time, the user can see the confirmation message (as shown in FIG. 2 ) through the second display and input interface 150 , and can input through the second display and input interface 150 according to the confirmation message. When the user inputs a confirmation input through the second display and input interface 150 according to the confirmation message, the second processor 142 can receive the confirmation input through the second display and input interface 150, as shown in step S250; then, the second The second processor 142 determines whether the confirmation input is valid, as shown in step S252. In practical applications, the confirmation message may include a confirmation string, and the confirmation string includes at least one character, letter, number or symbol, so in step S240, the second processor 142 displays the confirmation string through the second display and input interface 150 A confirmation string, 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 will determine 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 process can return to before step S250, waiting to receive the user's new confirmation input, to execute again Steps S250, S252. In practical applications, the process can also return to step S210 after the user makes one or more wrong inputs to re-execute steps such as communication access, signal notification, message confirmation, and input confirmation. 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. Wherein, 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 FIG. 6A and FIG. 6B , which are flowcharts of the bicycle unlocking method according to another embodiment. For the convenience of description, the bicycle unlocking method will be described based on the bicycle anti-theft system 1 mentioned above as an example. For the relevant 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 FIG. 5A and FIG. 5B, so for other descriptions of the bicycle unlocking method shown in FIG. 6A and FIG. Relevant descriptions of the bicycle unlocking method shown in 5B will not be repeated here. The main difference between the bicycle unlocking method of this embodiment and the bicycle unlocking method shown in FIGS. 5A and 5B is that the confirmation message is input by the portable device 10 , and the user directly uses the portable device 10 to input the confirmation input. Further, as shown in FIG. 6A and FIG. 6B, according to step S232, after the second processor 142 generates the confirmation message, the second processor 142 sends 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 through the first wireless communication circuit 106 and displays the confirmation message through the first display and input interface 110, as shown in step S342. In practical applications, the second processor 142 can also transmit the confirmation message in an encrypted manner. At this time, the first processor 102 needs to first decrypt the encrypted confirmation message received from the controller 14 according to the first encrypted message to obtain the confirmation message. Confirm the message, and then display the confirmation message on the first display and input interface 110 . Wherein, 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 (as shown in FIG. 3 ) through the first display and input interface 110 , and can input through the first display and input interface 110 according to the confirmation message. According to the bicycle unlocking method of this embodiment, when the user inputs a confirmation input through the first display and input interface 110 according to the confirmation message, the first processor 102 can receive the confirmation input through the first display and input interface 110 and Send the confirmation input 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 practical applications, the first processor 102 can also transmit the confirmation input in an encrypted manner. At this time, the second processor 142 needs to first decrypt the encrypted confirmation input received from the portable device 10 according to the second encrypted information. The confirmation input is obtained. Then, the process of the bicycle unlocking method shown in FIG. 6A and FIG. 6B continues with steps S252 and S254. For related descriptions, please refer to the related descriptions of steps S252 and S254 in FIG. 5A and FIG. 5B , and will not be repeated here. Wherein, in FIG. 6A and FIG. 6B , steps S350 , S351 , S252 , and S254 correspond to the aforementioned step S150 .
如前所述,根据本发明的自行车防盗系统及自行车解锁方法,通过对加密的通知信号的有效性判断,保障该可携式装置与该控制器之间的通信安全,避免防盗系统遭到破解,并且通过回应该控制器发出的确认讯息,避免自行车非预期解锁,故根据本发明的自行车防盗系统及自行车解锁方法能避免自行车处于被窃的风险中。As mentioned above, according to the bicycle anti-theft system and bicycle unlocking method of the present invention, by judging the validity of the encrypted notification signal, the communication security between the portable device and the controller is guaranteed to prevent the anti-theft system from being cracked. , and by responding to the confirmation message sent by the controller, the bicycle is prevented from being unlocked unexpectedly, so the bicycle anti-theft system and the bicycle unlocking method according to the present invention can prevent the bicycle from being in the risk of being stolen.
本发明已由上述相关实施例加以描述,然而上述实施例仅为实施本发明的范例。必需指出的是,已揭露的实施例并未限制本发明的范围。相反地,在不脱离本发明的精神和范围内所作的更动与润饰,均属本发明的专利保护范围。The present invention has been described by the above-mentioned related embodiments, however, the above-mentioned embodiments are only examples for implementing the present invention. It must be pointed out that the disclosed embodiments do not limit the scope of the present invention. On the contrary, changes and modifications made without departing from the spirit and scope of the present invention all belong to the scope of patent protection of the present invention.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611180238.2A CN107054295B (en) | 2016-12-20 | 2016-12-20 | Bicycle anti-theft system and bicycle unlocking method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611180238.2A CN107054295B (en) | 2016-12-20 | 2016-12-20 | Bicycle anti-theft system and bicycle unlocking method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN107054295A true CN107054295A (en) | 2017-08-18 |
| CN107054295B CN107054295B (en) | 2019-05-03 |
Family
ID=59619052
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201611180238.2A Active CN107054295B (en) | 2016-12-20 | 2016-12-20 | Bicycle anti-theft system and bicycle unlocking method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107054295B (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI629401B (en) * | 2017-09-08 | 2018-07-11 | 國立成功大學 | Smart lock and control method of smart lock |
| CN110304015A (en) * | 2018-03-20 | 2019-10-08 | 本田技研工业株式会社 | Vehicle-mounted authentication device, authentication method and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH06305463A (en) * | 1993-04-21 | 1994-11-01 | Nikko Kaihatsu Kk | Bicycle theft preventing device |
| JP2004106800A (en) * | 2002-09-20 | 2004-04-08 | Yamaha Motor Co Ltd | Lock device for jointly usable vehicle, program for locking device for jointly usable vehicle, recording medium for lock device for jointly usable vehicle |
| CN202115469U (en) * | 2011-05-25 | 2012-01-18 | 陈庆诺 | Keyless starting system of electric vehicle |
| CN202669750U (en) * | 2012-07-26 | 2013-01-16 | 深圳市赛格导航科技股份有限公司 | Automobile anti-theft system based on Bluetooth communication |
| CN104512494A (en) * | 2013-09-29 | 2015-04-15 | 凹凸电子(武汉)有限公司 | Electric vehicle and management method thereof |
-
2016
- 2016-12-20 CN CN201611180238.2A patent/CN107054295B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH06305463A (en) * | 1993-04-21 | 1994-11-01 | Nikko Kaihatsu Kk | Bicycle theft preventing device |
| JP2004106800A (en) * | 2002-09-20 | 2004-04-08 | Yamaha Motor Co Ltd | Lock device for jointly usable vehicle, program for locking device for jointly usable vehicle, recording medium for lock device for jointly usable vehicle |
| CN202115469U (en) * | 2011-05-25 | 2012-01-18 | 陈庆诺 | Keyless starting system of electric vehicle |
| CN202669750U (en) * | 2012-07-26 | 2013-01-16 | 深圳市赛格导航科技股份有限公司 | Automobile anti-theft system based on Bluetooth communication |
| CN104512494A (en) * | 2013-09-29 | 2015-04-15 | 凹凸电子(武汉)有限公司 | Electric vehicle and management method thereof |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI629401B (en) * | 2017-09-08 | 2018-07-11 | 國立成功大學 | Smart lock and control method of smart lock |
| CN110304015A (en) * | 2018-03-20 | 2019-10-08 | 本田技研工业株式会社 | Vehicle-mounted authentication device, authentication method and storage medium |
| CN110304015B (en) * | 2018-03-20 | 2022-02-18 | 本田技研工业株式会社 | Vehicle-mounted authentication device, authentication method, and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107054295B (en) | 2019-05-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8880036B2 (en) | Retrieving data wirelessly from a mobile device | |
| US20100180120A1 (en) | Information protection device | |
| US9025769B2 (en) | Method of registering smart phone when accessing security authentication device and method of granting access permission to registered smart phone | |
| US20210070252A1 (en) | Method and device for authenticating a user to a transportation vehicle | |
| US20190174304A1 (en) | Universal Authentication and Data Exchange Method, System and Service | |
| US20090119759A1 (en) | Method and Arrangement for Secure Authentication | |
| WO2013182119A1 (en) | Screen unlocking method, device and terminal | |
| CN105976466A (en) | Car access control opening method | |
| CN108171831B (en) | A two-way security authentication method based on NFC mobile phone and smart lock | |
| CN110310392B (en) | Vehicle unlocking method and device, computer equipment and storage medium | |
| CN104836664A (en) | Method for executing business processing, device for executing business processing and system for executing business processing | |
| CN101867530A (en) | Internet of things gateway system and data interaction method based on virtual machine | |
| CN112910843B (en) | Data transmission method, electronic device, server, mobile terminal and storage medium | |
| JP7135569B2 (en) | Terminal registration system and terminal registration method | |
| WO2015156035A1 (en) | Locking control device, locking control system, and locking control method | |
| CN106971434A (en) | The electronic lock system authenticated online by wireless network terminal | |
| CN117240475B (en) | A communication method, system, device and medium for smart door lock | |
| US11838755B2 (en) | Techniques for secure authentication of the controlled devices | |
| KR101893224B1 (en) | Method of certification of mobile device and method of communication between vehicle and mobile device including the method | |
| US10181951B2 (en) | Protected encryption key recovery | |
| KR20200067987A (en) | Method of login control | |
| CN107054295B (en) | Bicycle anti-theft system and bicycle unlocking method | |
| TW201821317A (en) | Bicycle security system and bicycle unlocking method | |
| CN113593088A (en) | Intelligent unlocking method, intelligent lock, mobile terminal and server | |
| CN105827403A (en) | Security method, security gate and server |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |