TWI616581B - Electronic lock with hand shaking function - Google Patents

Electronic lock with hand shaking function Download PDF

Info

Publication number
TWI616581B
TWI616581B TW105131044A TW105131044A TWI616581B TW I616581 B TWI616581 B TW I616581B TW 105131044 A TW105131044 A TW 105131044A TW 105131044 A TW105131044 A TW 105131044A TW I616581 B TWI616581 B TW I616581B
Authority
TW
Taiwan
Prior art keywords
controller
motor
signal
switch
electronic lock
Prior art date
Application number
TW105131044A
Other languages
Chinese (zh)
Other versions
TW201812155A (en
Inventor
林 招慶
Original Assignee
林 招慶
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 林 招慶 filed Critical 林 招慶
Priority to TW105131044A priority Critical patent/TWI616581B/en
Application granted granted Critical
Publication of TWI616581B publication Critical patent/TWI616581B/en
Publication of TW201812155A publication Critical patent/TW201812155A/en

Links

Landscapes

  • Lock And Its Accessories (AREA)

Abstract

一種防止強制開啟電子鎖,是以控制器電連接一開關訊號輸入介面以及一馬達,該馬達包括一馬達本體與一馬達控制器,當開關訊號輸入介面接收一開關訊號,令控制器向該馬達控制器輸出開關命令後,該馬達控制器會向該控制器輸出一交握確認請求,在得到控制器確認訊號無誤後,該馬達控制器才會控制該馬達本體帶動該門閂構造改變開關的狀態;本發明藉由交握確認請求的往來,使馬達可確認開關命令是否由控制器發出,可避免馬達不當地被外力驅動而開鎖,達到防止電子鎖被強制開啟的功效。A method for preventing a forced opening of an electronic lock by electrically connecting a switching signal input interface and a motor, the motor comprising a motor body and a motor controller, wherein when the switching signal input interface receives a switching signal, the controller is directed to the motor After the controller outputs the switch command, the motor controller outputs a handshake confirmation request to the controller, and after obtaining the controller confirmation signal, the motor controller controls the motor body to drive the latch structure to change the state of the switch. The invention can confirm whether the switch command is issued by the controller by the handshake confirmation request, and can prevent the motor from being improperly driven by the external force to unlock, thereby preventing the electronic lock from being forcibly opened.

Description

防止強制開啟電子鎖Prevent forced opening of electronic locks

本發明涉及一種電子鎖的裝置,尤其涉及一種能避免馬達被外力驅動而不當開鎖的防止強制開啟電子鎖。 The present invention relates to an electronic lock device, and more particularly to a method for preventing forced opening of an electronic lock that prevents the motor from being driven by an external force without being unlocked.

現有大門的鎖具除了一般以鑰匙開啟的鎖具之外,還有一種電子鎖是以接收門禁卡的無線訊號或以指紋辨識等方式開啟或關閉大門,這種電子鎖的好處在於門禁卡的體積小容易收納攜帶,甚至開鎖時不需要門禁卡,只要伸出手指讓電子鎖辨識即可,是一種能方便使用者開關門的裝置。 In addition to the locks that are generally opened by a key, there is also an electronic lock that opens or closes the door by receiving a wireless signal of the access card or by fingerprint recognition. The advantage of the electronic lock is that the size of the access card is small. It is easy to store and carry, and even when the lock is unlocked, the access card is not required. As long as the finger is extended to recognize the electronic lock, it is a device that can facilitate the user to open and close the door.

現有的電子鎖雖然有上述使用上的優點,但由於電子鎖是以馬達驅動門閂構造的方式開門或者關門,因此當電子鎖的外殼遭受破壞時,了解電子鎖構造的歹徒就能利用外力驅動的方式強制電子鎖的馬達將門閂構造開啟,使得電子鎖失效而讓歹徒能夠進入屋內行竊。 Although the existing electronic lock has the advantages of the above use, since the electronic lock opens or closes the door in the manner of the motor-driven latch structure, when the outer casing of the electronic lock is damaged, the gangster who knows the electronic lock structure can be driven by the external force. The method forces the motor of the electronic lock to open the latch structure, causing the electronic lock to fail and allowing the gangster to enter the house for theft.

由於現有的電子鎖遭受破壞時馬達能被外力強制驅動,造成電子鎖失效而使歹徒能進入屋內行竊。為此,本發明以馬達、控制器之間能確認訊號來源的手段,解決電子鎖被強制開啟的問題。 Since the existing electronic lock is damaged, the motor can be forcibly driven by an external force, causing the electronic lock to fail and allowing the gangster to enter the house for theft. Therefore, the present invention solves the problem that the electronic lock is forcibly opened by means of confirming the source of the signal between the motor and the controller.

為達到上述目的,本發明提供一種防止強制開啟電子鎖,包括:一控制器; 一開關訊號輸入介面,是與該控制器電連接,並由外接收一開關訊號而向該控制器輸出該開關訊號;一馬達,是包括一馬達本體以及一整合於該馬達本體內的馬達控制器,該馬達控制器與該控制器電連接並預載一交握確認訊號,當該控制器接收該開關訊號後,向該馬達控制器輸出一開關命令,該馬達控制器接收該開關命令後,會向該控制器輸出一交握確認請求,在得到該控制器回覆並確認其與該交握確認訊號相同後,該馬達控制器才會控制該馬達本體運作;以及一門閂構造,具有開啟或關閉的狀態並受該馬達本體驅動,當該馬達本體運作時是改變該門閂構造的狀態。 In order to achieve the above object, the present invention provides a method for preventing forced opening of an electronic lock, comprising: a controller; a switching signal input interface is electrically connected to the controller and receives a switching signal from the outside to output the switching signal to the controller; a motor includes a motor body and a motor control integrated in the motor body The motor controller is electrically connected to the controller and preloads a handshake confirmation signal. When the controller receives the switch signal, it outputs a switch command to the motor controller, and the motor controller receives the switch command. And outputting a handshake confirmation request to the controller, the motor controller controls the operation of the motor body after receiving the response from the controller and confirming that it is the same as the handshake confirmation signal; and a latch structure having an opening The closed state is driven by the motor body to change the state of the latch configuration when the motor body is in operation.

進一步,本發明所述的開關輸入介面是鍵盤輸入模組、指紋辨識模組、虹膜辨識模組、藍芽通訊模組、紅外線通訊模組、近場通訊模組、wifi通訊模組,或zigbee通訊模組。 Further, the switch input interface of the present invention is a keyboard input module, a fingerprint identification module, an iris recognition module, a Bluetooth communication module, an infrared communication module, a near field communication module, a wifi communication module, or a zigbee Communication module.

當本發明安裝在門上使用時,由於馬達在受到開關命令驅動門閂構造動作之前,會向控制器確認此開關命令的訊號是否是由控制器發出,當控制器回覆與交握確認訊號相同的訊號,確認前述開關命令是由控制器所發出之後,馬達控制器才會進一步控制馬達本體帶動門閂構造改變狀態,達到開門或者關門的效果。 When the present invention is installed on a door, the motor will confirm to the controller whether the signal of the switch command is sent by the controller before the motor is driven by the switch command to drive the latch structure, and the controller replies with the same handshake signal as the handshake confirmation signal. After the signal is confirmed that the aforementioned switch command is issued by the controller, the motor controller can further control the motor body to drive the latch structure to change state, and achieve the effect of opening or closing the door.

因為一般馬達都是採高電位或低電位驅動,當歹徒破壞電子鎖的外殼之後,可嘗試由外部輸入高、低電位的方式驅動馬達動作,若馬達動作前需要交握確認,預載在馬達控制器內供比對確認的交握確認訊號可以是特定頻率混合100KHz、50KHz的訊號,或是一連串加密輸入的密碼。 Because the general motor is driven by high potential or low potential, when the gangster destroys the outer casing of the electronic lock, it can try to drive the motor by the external input high and low potential. If the motor needs to be confirmed before the action, the preload is in the motor. The handshake confirmation signal for comparison confirmation in the controller may be a signal mixed with a specific frequency of 100 kHz, 50 kHz, or a series of encrypted input passwords.

本發明經由上述馬達在執行開門動作前會先確認訊號來源的設計,使得歹徒在破壞本發明的外殼之後,由於無法正確地回覆該馬達控制器輸出的交握確認請求,因此無法在斷開電源之後,以外力送電的方式驅使馬達動 作,如此能避免電子鎖在收到破壞時失效,達到防止電子鎖被外力強制開啟的問題。 According to the present invention, the design of the signal source is confirmed before the door opening operation is performed by the motor, so that after the gangster destroys the casing of the present invention, the power supply cannot be correctly returned due to the failure to correctly respond to the handshake confirmation request output by the motor controller. After that, the external power transmission method drives the motor to move. In this way, the electronic lock can be prevented from failing when the damage is received, and the problem that the electronic lock is forcibly opened by the external force is prevented.

10‧‧‧控制器 10‧‧‧ Controller

20‧‧‧開關訊號輸入介面 20‧‧‧Switch signal input interface

30‧‧‧馬達 30‧‧‧Motor

31‧‧‧馬達本體 31‧‧‧Motor body

32‧‧‧馬達控制器 32‧‧‧Motor controller

40‧‧‧門閂構造 40‧‧‧Latch construction

圖1是本發明較佳實施例構造的方塊圖。 BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram showing the construction of a preferred embodiment of the present invention.

圖2是本發明較佳實施例的實施流程圖。 2 is a flow chart showing an implementation of a preferred embodiment of the present invention.

為能詳細瞭解本發明的技術特徵及實用功效,並可依照說明書的內容來實施,進一步以如圖式所示的較佳實施例,詳細說明如下。 In order to understand the technical features and practical effects of the present invention in detail, it can be implemented in accordance with the contents of the specification, and further described in detail with reference to the preferred embodiments shown in the drawings.

如圖1、圖2所示,本發明是一種防止強制開啟電子鎖,包括一控制器10、分別與該控制器10電連接的一開關訊號輸入介面20以及一馬達30,以及一受該馬達30驅動的門閂構造40,其中:該控制器10是微控制器,其整合了中央處理器、隨機存取記憶體、唯讀記憶體、輸入/輸出、數位/類比轉換等功能,能進行運算處理、記憶儲存、輸入/輸出以及控制。 As shown in FIG. 1 and FIG. 2, the present invention is a method for preventing forced opening of an electronic lock, comprising a controller 10, a switching signal input interface 20 electrically connected to the controller 10, and a motor 30, and a motor. 30-drive latch structure 40, wherein: the controller 10 is a microcontroller, which integrates a central processing unit, a random access memory, a read-only memory, an input/output, a digital/analog conversion function, and the like. Processing, memory storage, input/output, and control.

該開關訊號輸入介面20是鍵盤輸入模組、指紋辨識模組、虹膜辨識模組、藍芽通訊模組、紅外線通訊模組、近場通訊模組、wifi通訊模組,或zigbee(紫蜂)通訊模組,可由外以按鍵輸入、生物辨識特徵或無線通訊的方式接收一開關訊號而向該控制器10輸出該開關訊號。 The switch signal input interface 20 is a keyboard input module, a fingerprint identification module, an iris recognition module, a Bluetooth communication module, an infrared communication module, a near field communication module, a wifi communication module, or a zigbee (Zigbee) The communication module can receive a switching signal from the external button input, biometric feature or wireless communication, and output the switching signal to the controller 10.

該馬達30包括一馬達本體31以及一整合於該馬達本體31內的馬達控制器32,該馬達控制器32分別與該馬達本體31以及該控制器10電連接,該馬達控制器32預先載入一交握確認訊號,該交握確認訊號可以是特定頻率混合 100KHz、50KHz的訊號,或是一連串加密輸入的密碼,且該控制器10能應對該馬達控制器32的交握確認請求而輸出與該交握確認訊號相同的訊號,當該控制器10接收該開關訊號後,向該馬達控制器32輸出一開關命令,該馬達控制器32接收該開關命令後,會向該控制器10輸出一交握確認請求,在得到該控制器10回覆該交握確認請求,並確認回覆的訊號與該交握確認訊號相同,該開關命令確實是由該控制器10所發出後,該馬達控制器32才會控制該馬達本體31運作。 The motor 30 includes a motor body 31 and a motor controller 32 integrated in the motor body 31. The motor controller 32 is electrically connected to the motor body 31 and the controller 10, respectively. The motor controller 32 is preloaded. A handshake confirmation signal, the handshake confirmation signal may be a specific frequency mixing a signal of 100 KHz, 50 KHz, or a series of encrypted input passwords, and the controller 10 can output the same signal as the handshake confirmation signal in response to the handshake confirmation request of the motor controller 32, when the controller 10 receives the signal After the switch signal is output, a switch command is output to the motor controller 32. After receiving the switch command, the motor controller 32 outputs a handshake confirmation request to the controller 10, and the controller 10 is replied to the handshake confirmation. The request and confirmation that the reply signal is the same as the handshake confirmation signal. After the switch command is actually issued by the controller 10, the motor controller 32 controls the operation of the motor body 31.

該門閂構造40具有開啟或關閉的狀態並受該馬達30的馬達本體31驅動,當該馬達本體31運作時是改變該門閂構造40的狀態,例如從開啟的狀態改變為關閉的狀態,或由關閉的狀態改變為開啟的狀態。 The latch structure 40 has an open or closed state and is driven by the motor body 31 of the motor 30. When the motor body 31 is in operation, the state of the latch structure 40 is changed, for example, from an open state to a closed state, or by The closed state changes to the open state.

本發明使用時是安裝在大門處,在開門或關門的運作時,是執行如圖2所示的實施流程,說明如下:開始:啟動本發明。 When the invention is used, it is installed at the gate. When the door is opened or closed, the implementation flow as shown in FIG. 2 is executed, as follows: Start: Start the invention.

開關訊號輸入介面接收開關訊號輸出至控制器:該開關訊號輸入介面20接收一開關訊號後,向該控制器10輸出該開關訊號。 The switch signal input interface receives the switch signal output to the controller: the switch signal input interface 20 receives a switch signal, and outputs the switch signal to the controller 10.

控制器輸出一開關命令至馬達控制器:該控制器10接收該開關訊號後,向該馬達控制器32輸出一開關命令。 The controller outputs a switch command to the motor controller: after receiving the switch signal, the controller 10 outputs a switch command to the motor controller 32.

馬達控制器輸出交握確認請求:該馬達控制器32接收該開關命令後,會向該控制器10輸出一交握確認請求。 The motor controller outputs a handshake confirmation request: after receiving the switch command, the motor controller 32 outputs a handshake confirmation request to the controller 10.

控制器回覆交握確認請求:該控制器10接收到該馬達控制器32輸出的交握確認請求後,會向該馬達控制器32回覆該交握確認請求,以該控制器10回覆的訊號與該交握確認訊號比對的方式,使該馬達控制器32確認該開關命令確實是由該控制器10所發出。 The controller replies to the handshake confirmation request: after receiving the handshake confirmation request output by the motor controller 32, the controller 10 replies to the motor controller 32 with the handshake confirmation request, and the signal replied by the controller 10 The handshake confirms the signal alignment such that the motor controller 32 confirms that the switch command was indeed issued by the controller 10.

馬達控制器驅動馬達本體:當該馬達控制器32確認該開關命令確實是由該控制器10所發出後,控制該馬達本體31運作。 The motor controller drives the motor body: when the motor controller 32 confirms that the switch command is actually issued by the controller 10, the motor body 31 is controlled to operate.

門閂構造開關動作:該馬達本體31驅動該門閂構造40,將該門閂構造40的狀態由關閉改變為開啟,或將該門閂構造40的狀態由開啟改變為關閉。 The latch configuration switch action: the motor body 31 drives the latch structure 40, changes the state of the latch structure 40 from closed to open, or changes the state of the latch configuration 40 from open to closed.

以上所述僅為本發明的較佳實施例而已,並非用以限定本發明主張的權利範圍,凡其它未脫離本發明所揭示的精神所完成的等效改變或修飾,均應包括在本發明的申請專利範圍內。 The above description is only the preferred embodiment of the present invention, and is not intended to limit the scope of the claims of the present invention, and other equivalent changes or modifications which are not departing from the spirit of the present invention should be included in the present invention. Within the scope of the patent application.

Claims (2)

一種防止強制開啟電子鎖,包括: 一控制器; 一開關訊號輸入介面,是與該控制器電連接,並由外接收一開關訊號而向該控制器輸出該開關訊號; 一馬達,是包括一馬達本體以及一整合於該馬達本體內的馬達控制器,該馬達控制器與該控制器電連接並預載一交握確認訊號,當該控制器接收該開關訊號後,向該馬達控制器輸出一開關命令,該馬達控制器接收該開關命令後,會向該控制器輸出一交握確認請求,在得到該控制器回覆並確認其與該交握確認訊號相同後,該馬達控制器才會控制該馬達本體運作;以及 一門閂構造,具有開啟或關閉的狀態並受該馬達本體驅動,當該馬達本體運作時是改變該門閂構造的狀態。A method for preventing forced opening of an electronic lock comprises: a controller; a switching signal input interface electrically connected to the controller, and receiving a switching signal from the outside to output the switching signal to the controller; a motor comprising one a motor body and a motor controller integrated in the motor body, the motor controller is electrically connected to the controller and preloaded with a handshake confirmation signal, and when the controller receives the switch signal, outputs the switch signal to the motor controller After a switch command, the motor controller outputs a handshake confirmation request to the controller after receiving the switch command, and the motor controller is only after the controller replies and confirms that it is the same as the handshake confirmation signal. Controlling the operation of the motor body; and a latch structure having an open or closed state and being driven by the motor body to change the state of the latch structure when the motor body is in operation. 如請求項1之防止強制開啟電子鎖,其中所述的開關輸入介面是鍵盤輸入模組、指紋辨識模組、虹膜辨識模組、藍芽通訊模組、紅外線通訊模組、近場通訊模組、wifi通訊模組,或zigbee通訊模組。For example, in claim 1, the switch input interface is a keyboard input module, a fingerprint identification module, an iris recognition module, a Bluetooth communication module, an infrared communication module, and a near field communication module. , wifi communication module, or zigbee communication module.
TW105131044A 2016-09-26 2016-09-26 Electronic lock with hand shaking function TWI616581B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105131044A TWI616581B (en) 2016-09-26 2016-09-26 Electronic lock with hand shaking function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105131044A TWI616581B (en) 2016-09-26 2016-09-26 Electronic lock with hand shaking function

Publications (2)

Publication Number Publication Date
TWI616581B true TWI616581B (en) 2018-03-01
TW201812155A TW201812155A (en) 2018-04-01

Family

ID=62189214

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105131044A TWI616581B (en) 2016-09-26 2016-09-26 Electronic lock with hand shaking function

Country Status (1)

Country Link
TW (1) TWI616581B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI285701B (en) * 2005-11-22 2007-08-21 Nan Kai Inst Technology Electronic lock
TWM518258U (en) * 2015-09-02 2016-03-01 Da-Wei Hu Bluetooth key device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI285701B (en) * 2005-11-22 2007-08-21 Nan Kai Inst Technology Electronic lock
TWM518258U (en) * 2015-09-02 2016-03-01 Da-Wei Hu Bluetooth key device

Also Published As

Publication number Publication date
TW201812155A (en) 2018-04-01

Similar Documents

Publication Publication Date Title
US10563424B2 (en) Electronic key and electronic locking device based on dual authentication
KR102483742B1 (en) Control access to physical space using a fingerprint sensor
TWI598495B (en) Access control device that allows electronic and mechanical unlocking
CN106555539A (en) Intelligent anti-theft door based on face recognition technology
KR101952522B1 (en) Auto Door-lock Switchgear and the method
KR101871762B1 (en) Biometric Recognition Door-Lock
TWI616581B (en) Electronic lock with hand shaking function
TWI688700B (en) Electric lock and control method thereof
TWI617728B (en) Door lock using a mobile device as an input interface
US20130305353A1 (en) Low Power Driver System and Method for Controlling The Same
JP7009181B2 (en) Door control system
Gudavalli et al. A Novel Door Lock Operation Using Two Staged Smart Security Verification
JP6945164B2 (en) Judgment system, electric lock control system, door with electric lock, judgment method and program
KR200453384Y1 (en) An apparatus for opening and closing of drawer using radio frequency
CN204457257U (en) A kind of low-power consumption bluetooth strongbox
JP2015183444A (en) Emergency storehouse locking system and emergency storehouse electric locking device
CN216008127U (en) Double-system intelligent door lock capable of storing keys
KR20150125312A (en) Apparatus for operating and not operating by interlocked with host terminal
KR200200508Y1 (en) The lock equipment use fingerprint cognition
US20230282048A1 (en) Access card with built-in user input device
JP2018145638A (en) Electric lock system and electric lock device
KR20100070191A (en) Digital door lock
TW201812158A (en) Electronic lock with hand shape identification
KR101953538B1 (en) Smart door lock and method to control same
Wong et al. IoT-Based Smart Home Door Lock Security System Using ESP32