TWI464315B - A key and lock system with permission to automatically change the password - Google Patents

A key and lock system with permission to automatically change the password Download PDF

Info

Publication number
TWI464315B
TWI464315B TW101138932A TW101138932A TWI464315B TW I464315 B TWI464315 B TW I464315B TW 101138932 A TW101138932 A TW 101138932A TW 101138932 A TW101138932 A TW 101138932A TW I464315 B TWI464315 B TW I464315B
Authority
TW
Taiwan
Prior art keywords
lock
key
data
authority
unlocking
Prior art date
Application number
TW101138932A
Other languages
Chinese (zh)
Other versions
TW201416535A (en
Original Assignee
Univ Nat Formosa
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 Univ Nat Formosa filed Critical Univ Nat Formosa
Priority to TW101138932A priority Critical patent/TWI464315B/en
Publication of TW201416535A publication Critical patent/TW201416535A/en
Application granted granted Critical
Publication of TWI464315B publication Critical patent/TWI464315B/en

Links

Landscapes

  • Lock And Its Accessories (AREA)

Description

具有權限設定之自動修改密碼之鑰匙及鎖具系統Key and lock system with automatic password change with permission setting

本發明係有關一種具有權限設定之自動修改密碼之鑰匙及鎖具系統,特別是指一種鑰匙結構與鎖具結構需反覆溝通才能達到開鎖並可設定鑰匙權限之自動修改密碼之鑰匙及鎖具系統,其兼具保密性高、具權限設定功能、體積小重量輕、價格低及不需裝設電池等優點及功效。The invention relates to a key and a lock system with an automatic setting password with authority setting, in particular to a key and a locking system for automatically modifying a password, which can be unlocked by a key structure and a lock structure, and can be set with a key authority. It has the advantages of high confidentiality, privilege setting function, small size, light weight, low price and no need to install battery.

一般市面上常用的鎖,都是使用一般的鑰匙開鎖,其鑰匙齒痕型式簡單,有時結構相近的鑰匙也能通用,使得常用的鎖並不具備太大的防護功能。Generally, the locks commonly used in the market are unlocked by a general key. The key tooth marks are simple in type, and sometimes the keys with similar structures can be used universally, so that the commonly used locks do not have too much protection function.

當然,市面上也有一些結構型式較為複雜的鎖與鑰匙,但都只是在型式上進行變化,只要能了開鎖的結構,還是可以將鎖打開,故,其安全性較低。Of course, there are some locks and keys with more complicated structure types on the market, but they all change only in the type. As long as the unlocking structure can be opened, the lock can be opened, so the safety is low.

若使用一般市售之晶片鎖,雖可提高其安全性,卻又具有價格太高之缺點。If a commercially available wafer lock is used, although it can improve its safety, it has the disadvantage of being too expensive.

另外,在房屋仲介進行買賣期間,仲介與賣家通常都會擁有門鎖鑰匙,當成功轉售於新買家後,新買家並無法確定賣家與仲介是否將所有鑰匙交還,故,仍有安全上之疑慮。In addition, during the housing business, the intermediary and the seller usually have the door lock key. When the new buyer is successfully resold, the new buyer cannot determine whether the seller and the agent will return all the keys. Therefore, it is still safe. Doubt.

因此,有必要研發新產品,以解決上述缺點及問題。Therefore, it is necessary to develop new products to solve the above shortcomings and problems.

本發明之目的在於提供一種具有權限設定之自動修改密碼之鑰匙及鎖具系統,其兼具保密性高、具權限設定功能、體積小重量輕、價格低及不需裝設電池等優點及功效,用以解決習知技術安全性低、攜帶不便及價格高等問題。The object of the present invention is to provide a key and lock system with an automatic setting password with authority setting, which has the advantages of high confidentiality, authority setting function, small size, light weight, low price and no need to install a battery, and the like. It is used to solve the problems of low security, inconvenient carrying and high price of the prior art.

本發明解決上述問題之技術手段係提供一種具有權限設定之自動修改密碼之鑰匙及鎖具系統,其包括:一鑰匙結構,其係具有一鑰匙資料傳輸部、一鑰匙控制部、一鑰匙訊號轉換電路及一對鑰匙電源接腳;該鑰匙資料傳 輸部係用以進行資料之接收及發送;該鑰匙控制部係具有一鑰匙處理部及一鑰匙記憶體,該鑰匙處理部係用以分析處理該鑰匙資料傳輸部接收及發送的資料,而該鑰匙記憶體係用以儲存一開鎖資料,該開鎖資料係具有一鑰匙編號及複數組鎖具資料,每一鎖具資料係具有一鎖具編號及一開鎖密碼;該鑰匙訊號轉換電路係連接該鑰匙控制部,並用以轉換資料的發送格式;一鎖具結構,其係設於一門上,並係連接至一電源;該鎖具結構係具有一鎖具控制部、至少一狀態顯示部、一外部通道、一內部通道、一鎖具、一鎖具訊號轉換電路及一權限開關;該鎖具控制部係具有一鎖具處理部及一鎖具記憶體,該外部通道係具有一第一鎖具資料傳輸部及一對第一鎖具電源接腳;該內部通道係具有一第二鎖具資料傳輸部及一對第二鎖具電源接腳;該第一鎖具資料傳輸部及該第二鎖具資料傳輸部係用以進行資料之接收及發送;該鎖具處理部係用以分析處理該第一鎖具資料傳輸部及該第二鎖具資料傳輸部接收及發送的資料;而該鎖具記憶體係用以儲存一開鎖資料,該開鎖資料係具有一鎖具編號及複數組鑰匙資料,每一鑰匙資料係具有一鑰匙編號、一鑰匙權限及一開鎖密碼,且該鑰匙權限係分為最高權限、一般權限、最低權限;該狀態顯示部係用以顯示目前之使用狀態;該外部通道及該內部通道係供該鑰匙結構置入;該鎖具係具有一開鎖電路,連接至該鎖具控制部;該鎖具訊號轉換電路係連接該鎖具控制部、該第一鎖具資料傳輸部、該第一鎖具電源接腳、該第二鎖具資料傳輸部及該第二鎖具電源接腳,並用以轉換資料的發送格式;而該權限開關係連接該鎖具控制部,用以切換權限之設定,且其權限之切換係包括一般權限及最低權限;又,該外部通道及該內部通道係分別設於該門之兩表面上而往該門內部延伸,該外部通道係用以開鎖並設定該鑰匙結構之權限,而該內部通道係用以設定該鑰匙結構之權限;又,當該鑰匙結構置入該外部通道並傳送該鑰匙編號至該 鎖具結構後,該鎖具結構之鎖具處理部係會產生一傳輸協定資料並發送至該鑰匙結構;藉此,當該鑰匙結構置入該外部通道後,該第一鎖具資料傳輸部與該鑰匙資料傳輸部係相互傳輸該開鎖資料,並經由該鑰匙處理部及該鎖具處理部進行分析比對,且該鑰匙結構與該鎖具結構之開鎖資料比對符合時,該鑰匙結構及該鎖具結構係先進行該開鎖資料之同步修改,並在修改完成後控制該鎖具進行開鎖之動作;又,當具有最高權限之鑰匙結構置入該外部通道並完成開鎖後,對該權限開關進行兩次切換動作後,此時該鎖具結構係會刪除最低權限之鑰匙資料;當具有最高權限之鑰匙結構置入該外部通道並完成開鎖後,將另一鑰匙結構置入該內部通道,並以該權限開關切換權限,即可使該鎖具結構接收該內部通道中之鑰匙結構之鑰匙編號,並新增一鑰匙權限,同時發送一段新的鎖具資料至該內部通道中之鑰匙結構;當具有最高權限之鑰匙結構置入該內部通道時,該鎖具結構係會進行內部資料檢索,刪除一般權限及最低權限之鑰匙資料。The technical means for solving the above problems provides a key and lock system with an automatic setting password with authority setting, comprising: a key structure having a key data transmission part, a key control part and a key signal conversion circuit And a pair of key power pins; the key data transmission The transmission department is configured to receive and transmit data; the key control unit has a key processing unit and a key memory for analyzing and processing data received and transmitted by the key data transmission unit, and the key processing unit is configured to analyze and process the data received and transmitted by the key data transmission unit. The key memory system is configured to store an unlocking data, wherein the unlocking data has a key number and a plurality of interlocking lock data, each lock data has a lock number and an unlock code; the key signal conversion circuit is connected to the key control unit, And a transmission format for converting data; a lock structure is disposed on a door and connected to a power source; the lock structure has a lock control portion, at least one state display portion, an external passage, an internal passage, a lock, a lock signal conversion circuit and a permission switch; the lock control unit has a lock processing unit and a lock memory, the external passage has a first lock data transmission portion and a pair of first lock power pins The internal passage has a second lock data transmission portion and a pair of second lock power pins; the first lock data transmission And the second lock data transmission unit is configured to receive and send data; the lock processing unit is configured to analyze and process the data received and sent by the first lock data transmission unit and the second lock data transmission unit; The lock memory system is configured to store an unlocking data, the unlocking data has a lock number and a complex array key data, each key data has a key number, a key authority and an unlock password, and the key authority is divided into the highest Permission, general authority, minimum authority; the status display department is for displaying the current usage state; the external channel and the internal channel are for the key structure; the lock has an unlocking circuit connected to the lock control unit The lock signal conversion circuit is connected to the lock control unit, the first lock data transfer unit, the first lock power pin, the second lock data transfer portion, and the second lock power pin, and is used for converting data. Sending a format; the privilege relationship is connected to the lock control unit for switching the setting of the privilege, and the switching of the privilege includes a Permission and minimum authority; further, the external channel and the internal channel are respectively disposed on the two surfaces of the door and extend inside the door, the external channel is used for unlocking and setting the authority of the key structure, and the internal channel Used to set the authority of the key structure; in addition, when the key structure is placed in the external channel and the key number is transmitted to the After the lock structure, the lock processing unit of the lock structure generates a transfer agreement data and sends the data to the key structure; thereby, when the key structure is placed in the external channel, the first lock data transfer portion and the key data The transmission unit transmits the unlocking data to each other, and performs analysis and comparison by the key processing unit and the lock processing unit, and the key structure and the lock structure are first when the key structure is compared with the unlocking data of the lock structure. Performing the synchronous modification of the unlocking data, and controlling the locking device to unlock after the modification is completed; and, after the key structure having the highest authority is placed in the external channel and completing the unlocking, the switching operation is performed twice after the permission switch is performed. At this time, the lock structure deletes the key data of the lowest authority; when the key structure with the highest authority is placed in the external channel and the unlocking is completed, another key structure is placed into the internal channel, and the authority is switched by the authority switch. , the lock structure can receive the key number of the key structure in the internal passage, and add a key authority, the same Send a new piece of information to key lock the internal structure of the channel; When the key structure has the highest authority of the internal channel into the lock structure Department will conduct an internal information retrieval, deletes general competence and key information of least privilege.

本發明之上述目的與優點,不難從下述所選用實施例之詳細說明與附圖中,獲得深入瞭解。The above objects and advantages of the present invention will be readily understood from the following detailed description of the preferred embodiments illustrated herein.

茲以下列實施例並配合圖式詳細說明本發明於後:The invention will be described in detail in the following examples in conjunction with the drawings:

如第一至第四圖所示,本發明係為一種具有權限設定之自動修改密碼之鑰匙及鎖具系統,其包括:一鑰匙結構10,其係具有一鑰匙資料傳輸部11、一鑰匙控制部12、一鑰匙訊號轉換電路13及一對鑰匙電源接腳14;該鑰匙資料傳輸部11係用以進行資料之接收及發送;該鑰匙控制部12係具有一鑰匙處理部121及一鑰匙記憶體122,該鑰匙處理部121係用以分析處理該鑰匙資料傳輸部12接收及 發送的資料,而該鑰匙記憶體122係用以儲存一開鎖資料,該開鎖資料係具有一鑰匙編號及複數組鎖具資料,每一鎖具資料係具有一鎖具編號及一開鎖密碼;該鑰匙訊號轉換電路13係連接該鑰匙控制部12,並用以轉換資料的發送格式。As shown in the first to fourth figures, the present invention is a key and lock system with an automatic setting password with authority setting, comprising: a key structure 10 having a key data transmission portion 11 and a key control portion. 12. A key signal conversion circuit 13 and a pair of key power pins 14; the key data transmission unit 11 is configured to receive and transmit data; the key control unit 12 has a key processing unit 121 and a key memory. 122. The key processing unit 121 is configured to analyze and process the key data transmission unit 12 to receive and The key data 122 is used to store an unlocking data, the unlocking data has a key number and a plurality of interlocking lock data, each lock data has a lock number and an unlock code; the key signal conversion The circuit 13 is connected to the key control unit 12 and is used to convert the transmission format of the data.

一鎖具結構20,其係設於一門70上,並係連接至一電源;該鎖具結構20係具有一鎖具控制部21、至少一狀態顯示部22、一外部通道23、一內部通道24、一鎖具25、一鎖具訊號轉換電路26及一權限開關27;該鎖具控制部21係具有一鎖具處理部211及一鎖具記憶體212,該外部通道23係具有一第一鎖具資料傳輸部231及一對第一鎖具電源接腳232;該內部通道24係具有一第二鎖具資料傳輸部241及一對第二鎖具電源接腳242;該第一鎖具資料傳輸部231及該第二鎖具資料傳輸部241係用以進行資料之接收及發送;該鎖具處理部211係用以分析處理該第一鎖具資料傳輸部231及該第二鎖具資料傳輸部241接收及發送的資料;而該鎖具記憶體212係用以儲存一開鎖資料,該開鎖資料係具有一鎖具編號及複數組鑰匙資料,每一鑰匙資料係具有一鑰匙編號、一鑰匙權限及一開鎖密碼,且該鑰匙權限係分為最高權限、一般權限、最低權限;該狀態顯示部22係用以顯示目前之使用狀態;該外部通道23及該內部通道24係供該鑰匙結構10置入;該鎖具25係具有一開鎖電路251,連接至該鎖具控制部21;該鎖具訊號轉換電路26係連接該鎖具控制部21、該第一鎖具資料傳輸部231、該第一鎖具電源接腳232、該第二鎖具資料傳輸部241及該第二鎖具電源接腳242,並用以轉換資料的發送格式;而該權限開關27係連接該鎖具控制部21,用以切換權限之設定,且其權限之切換係包括一般權限及最低權限(例如:一第一位置P1及一第二位置P2);又,該外部通道23及該內部通道24係分別設於該門70之兩表面上而往該門70內部延伸,該外部通道23係用以開鎖並設定該鑰匙結構10之權限,而該內部通道24係用以設定該鑰匙結構10之權限。A lock structure 20 is attached to a door 70 and connected to a power source; the lock structure 20 has a lock control portion 21, at least one state display portion 22, an external passage 23, an internal passage 24, and a lock mechanism 20; The lock device 25, a lock signal conversion circuit 26 and a permission switch 27; the lock control unit 21 has a lock processing unit 211 and a lock memory 212, the external channel 23 has a first lock data transfer unit 231 and a The first lock data transmission pin 232; the internal passage 24 has a second lock data transmission portion 241 and a pair of second lock power supply pins 242; the first lock data transmission portion 231 and the second lock data transmission portion The 241 is used for receiving and transmitting data; the lock processing unit 211 is configured to analyze and process the data received and transmitted by the first lock data transfer unit 231 and the second lock data transfer unit 241; and the lock memory 212 The utility model is configured to store an unlocking data, wherein the unlocking data has a lock number and a complex array key data, and each key data has a key number, a key authority and an unlocking password, and the key right The system is divided into a highest authority, a general authority, and a minimum authority; the status display unit 22 is for displaying the current usage state; the external channel 23 and the internal channel 24 are for the key structure 10; the lock 25 has a The unlocking circuit 251 is connected to the lock control unit 21; the lock signal conversion circuit 26 is connected to the lock control unit 21, the first lock data transfer unit 231, the first lock power pin 232, and the second lock data transmission The portion 241 and the second lock power pin 242 are used to convert the transmission format of the data; and the permission switch 27 is connected to the lock control unit 21 for switching the setting of the authority, and the switching of the authority includes the general authority and The minimum authority (for example, a first position P1 and a second position P2); and the external channel 23 and the internal channel 24 are respectively disposed on the two surfaces of the door 70 and extend inside the door 70, the outside The passage 23 is used to unlock and set the authority of the key structure 10, and the internal passage 24 is used to set the authority of the key structure 10.

又,當該鑰匙結構10置入該外部通道23並傳送該鑰匙編號至該鎖具結構20後,該鎖具結構20之鎖具處理部211係會產生一傳輸協定資料並發送至該鑰匙結構10。Moreover, when the key structure 10 is placed in the external passage 23 and the key number is transmitted to the lock structure 20, the lock processing unit 211 of the lock structure 20 generates a transmission agreement data and transmits it to the key structure 10.

藉此,當該鑰匙結構10置入該外部通道23後,該第一鎖具資料傳輸部231與該鑰匙資料傳輸部11係相互傳輸該開鎖資料,並經由該鑰匙處理部121及該鎖具處理部221進行分析比對,且該鑰匙結構10與該鎖具結構20之開鎖資料比對符合時,該鑰匙結構10及該鎖具結構20係先進行該開鎖資料之同步修改,並在修改完成後控制該鎖具25進行開鎖之動作。Therefore, after the key structure 10 is placed in the external passage 23, the first lock data transmission unit 231 and the key data transmission unit 11 mutually transmit the unlocking data, and the key processing unit 121 and the lock processing unit are passed through the key processing unit 121 and the lock processing unit. When the comparison is performed, and the key structure 10 is compared with the unlocking data of the lock structure 20, the key structure 10 and the lock structure 20 first perform synchronous modification of the unlocking data, and control the modified data after the modification is completed. The lock 25 performs an unlocking action.

又,當具有最高權限之鑰匙結構10置入該外部通道23並完成開鎖後,對該權限開關27進行兩次切換動作後,此時該鎖具結構20係會刪除最低權限之鑰匙資料。Moreover, after the key structure 10 having the highest authority is placed in the external channel 23 and the unlocking is completed, the authority switch 27 is switched twice, and then the lock structure 20 deletes the key data of the lowest authority.

當具有最高權限之鑰匙結構10置入該外部通道23並完成開鎖後,將另一鑰匙結構10置入該內部通道24,並以該權限開關切換權限,即可使該鎖具結構20接收該內部通道24中之鑰匙結構10之鑰匙編號,並新增一鑰匙權限,同時發送一段新的鎖具資料至該內部通道24中之鑰匙結構10。When the key structure 10 having the highest authority is placed in the external passage 23 and the unlocking is completed, another key structure 10 is placed in the internal passage 24, and the authority is switched by the authority switch, so that the lock structure 20 receives the interior. The key structure of the key structure 10 in the passage 24 is numbered and a key authority is added, and a new piece of lock data is sent to the key structure 10 in the internal passage 24.

當具有最高權限之鑰匙結構10置入該內部通道24時,該鎖具結構20係會進行內部資料檢索,刪除一般權限及最低權限之鑰匙資料。When the key structure 10 having the highest authority is placed in the internal passage 24, the lock structure 20 performs internal data retrieval to delete the key information of the general authority and the minimum authority.

關於該切換開關27,其切換方式係可為一般常見之撥動式切換、按鈕式切換或鍵盤式切換等設計。Regarding the changeover switch 27, the switching mode can be a common design such as toggle switching, button switching or keyboard switching.

如第五圖及第六圖所示,其係分為該鑰匙結構10及該鎖具結構20之結構關係示意圖;其中,該鑰匙控制部12及該鎖具控制部22皆使用微處理器HT66F50;該鑰匙訊號轉換電路13及鎖具訊號轉換電路26皆為數位轉類比電路;而該狀態顯示部22,則可為一般之光源警示器(如LED)或蜂鳴器。As shown in FIG. 5 and FIG. 6 , it is a schematic diagram of the structure of the key structure 10 and the lock structure 20; wherein the key control unit 12 and the lock control unit 22 both use a microprocessor HT66F50; The key signal conversion circuit 13 and the lock signal conversion circuit 26 are all digital to analog circuits; and the status display portion 22 can be a general light source warning device (such as an LED) or a buzzer.

在資料的發送上,本發明係使用自行設計的一線傳輸協定(1-wire protocol),其規則如下:傳輸開始時,由發送端發送一個資訊,告知接收端資料開始傳輸,並在資料傳輸結束 後,發送另一個資訊告知資料已傳輸結束。In the transmission of data, the present invention uses a self-designed first-line protocol (1-wire protocol), the rules are as follows: when the transmission starts, the sender sends a message to inform the receiving end that the data begins to be transmitted, and at the end of the data transmission. After that, another message is sent to inform that the data has been transferred.

關於該開鎖資料之各項資料功能,係如第一表所述;該鑰匙結構10之開鎖資料總長度為8bytes,該鎖具結構20之開鎖資料總長度為9 bytes(當然,除了本實施例所列的資料長度外,在實務上,其長度係可依所需進行調整,當其總長度愈大時其複雜度就愈高),其中,該鎖具編號、該鑰匙編號、該傳輸協定資料、鑰匙權限之長度為1Byte,而開鎖密碼為6Bytes。The data function of the unlocking data is as described in the first table; the total length of the unlocking data of the key structure 10 is 8 bytes, and the total length of the unlocking data of the lock structure 20 is 9 bytes (except, of course, in this embodiment) In addition to the data length of the column, in practice, the length can be adjusted as needed, and the greater the total length, the higher the complexity), wherein the lock number, the key number, the transmission agreement data, The key permission has a length of 1 Byte and the unlock password is 6 Bytes.

傳輸協定資料是鎖具結構於每次開鎖,檢測到鑰匙時動態產生。The transmission agreement data is that the lock structure is dynamically generated each time the lock is detected and the key is detected.

如第七圖所示,其係本發明之傳輸協定資料之實施例,其傳輸過程係包含:[A]頭碼:發送端告知接收端有一筆資料開始傳輸,使接 收端對齊取樣時間;[B]資料碼:即發送端傳輸至接收端的資料內容;[C]尾碼:在資料內容傳輸完後,有一個低態持續一時間,告知接收端資料已傳輸完畢。As shown in the seventh figure, which is an embodiment of the transmission protocol data of the present invention, the transmission process includes: [A] header code: the transmitting end informs the receiving end that a data has been transmitted, and the connection is made. The sampling end time is the sampling time; [B] data code: the data content transmitted by the transmitting end to the receiving end; [C] the last code: after the data content is transmitted, there is a low state for one time, and the receiving end data has been transmitted. .

該傳輸協定資料包括傳輸時間及傳輸格式,在編號資料傳輸後,由該鎖具結構20提供給該鑰匙結構10,該鑰匙結構10與該鎖具結構20依據此傳輸協定資料進行開鎖密碼傳輸,且每次開鎖的傳輸協定資料皆不相同(也就是該鎖具處理部211每次產生的傳輸協定資料都會不同)。The transmission agreement data includes a transmission time and a transmission format. After the number data is transmitted, the key structure 10 is provided by the lock structure 20, and the key structure 10 and the lock structure 20 perform an unlock password transmission according to the transmission agreement data, and each The transmission protocol data of the unlocking is different (that is, the transmission protocol data generated by the lock processing unit 211 is different each time).

假設該鎖具結構20所傳送之傳輸協定資料為10100111(bit7~bit0),關於該傳輸時間,第一筆資料使用傳輸協定資料中的最低三個bit決定(bit2 bit1 bit0,也就是111),第二筆資料使用bit3 bit2 bit1(也就是011),以此類推,故,第六比資料使用bit7 bit6 bit5...,每一筆使用的三個bit資料代表000~111b,數字愈大傳輸時間愈長,且每一筆之傳輸時間也不一定相同(如第二表所示);第二表即為其傳送第N筆資料對應的使用傳輸時間bit編號,因開鎖密碼為6個byte資料,故只列6個。Assume that the transmission protocol data transmitted by the lock structure 20 is 10100111 (bit7~bit0). For the transmission time, the first data is determined by using the lowest three bits in the transmission protocol data (bit2 bit1 bit0, that is, 111), The second data uses bit3 bit2 bit1 (that is, 011), and so on. Therefore, the sixth ratio data uses bit7 bit6 bit5..., and the three bit data used for each pen represents 000~111b. The larger the number, the longer the transmission time. Long, and the transmission time of each pen is not necessarily the same (as shown in the second table); the second table is the transmission time bit number corresponding to the transmission of the Nth data, because the unlock password is 6 bytes of data, so Only 6 are listed.

資料傳輸及取樣必須有相同時間週期,資料才能正確的被接收解讀,而該鑰匙結構10與該鎖具結構20係利用傳輸協定資料做為依據,讓雙方通訊協定統一(如第八圖所示,其係為資料發送取樣時間圖)。The data transmission and sampling must have the same time period, the data can be correctly received and interpreted, and the key structure 10 and the lock structure 20 are based on the transmission agreement data, so that the communication agreement between the two parties is unified (as shown in the eighth figure, It is the sampling time chart of data transmission).

在傳輸格式方面,該鎖具結構20所傳送之傳輸協定資料為10100111(bit7~bit0),第一筆資料以bit0決定,第二筆資料以bit1決定...以此類推,故,第六筆資料以bit5決定,對應的資料為0就使用類比資料傳輸,對應的資料為1就使用數位資料傳輸,對應的bit數如第三表所示;也就是說,第一筆、第二筆、第三筆及第六筆為數位傳輸(對應的資料為1),而第四筆及第五筆則為類比傳輸(對應的資料為0)。In terms of the transmission format, the transmission protocol data transmitted by the lock structure 20 is 10100111 (bit7~bit0), the first data is determined by bit0, the second data is determined by bit1, and so on, so the sixth stroke The data is determined by bit5. If the corresponding data is 0, the analog data is transmitted. If the corresponding data is 1, the digital data is transmitted. The corresponding bit number is shown in the third table; that is, the first pen, the second pen, The third and sixth pens are digitally transmitted (the corresponding data is 1), while the fourth and fifth pens are analogous (the corresponding data is 0).

關於該數位資料傳輸,其傳輸方式係使用數位的0與1準位,一組資料傳輸從最高位元開始傳輸,在發送端發送頭碼後,將資料碼用串列方式傳輸出去,由接收端利用與發送端傳輸時間相同的取樣時間做資料接收;如第九A圖所示,其係為數位資料傳輸時序圖,若要將資料69H數值做傳輸,資料碼為 01101001b,夾在頭碼與尾碼之間。Regarding the digital data transmission, the transmission mode uses the digits of 0 and 1 level, a group of data transmission starts from the highest bit, and after the sender sends the header code, the data code is transmitted in tandem, and is received. The terminal uses the same sampling time as the transmission time of the transmitting end to receive data; as shown in Figure IX, it is a digital data transmission timing diagram. If the data 69H value is to be transmitted, the data code is 01101001b, sandwiched between the header code and the last code.

在該類比資料傳輸方面,資料碼每一Byte分四次類比方式傳送,將資料碼分四段,每一段用類比電壓方式做輸出,由接收端使用類比轉數位功能,組成一筆資料碼,這裡將資料碼分作四段電壓值,每一段代表2bits資料,(第九B圖為類比資料傳輸時序圖,資料碼為01110010b)。In the analog data transmission, the data code is transmitted in four analogous ways per Byte, and the data code is divided into four segments, each segment is outputted by analog voltage method, and the receiving end uses the analog-to-digital function to form a data code. The data code is divided into four segments of voltage values, each segment representing 2 bits of data, (the ninth B is the analog data transmission timing diagram, the data code is 01110010b).

關於本發明之數位類比轉換電路,係如第十圖所示;數位類比轉換電路使用電阻串、並聯實現,使用兩bit資料組合,使用一電壓數值表示,電壓使用1Vcc、2/3Vcc、1/3Vcc、0Vcc共4種,Vcc為該腳位輸出電壓,跟微處理器的工作電壓有關。當資料A、B為00時,輸出端C為0Vcc,當資料A、B為01時,輸出端C為1/3Vcc,資料A、B為10時,輸出端C為2/3Vcc,資料A、B為11時,輸出端C為1Vcc。The digital analog conversion circuit of the present invention is as shown in the tenth figure; the digital analog conversion circuit is implemented by using a resistor string and a parallel connection, using a combination of two bits of data, using a voltage value, and using a voltage of 1Vcc, 2/3Vcc, 1/ There are 4 kinds of 3Vcc and 0Vcc, and Vcc is the output voltage of this pin, which is related to the working voltage of the microprocessor. When data A and B are 00, output C is 0Vcc. When data A and B are 01, output C is 1/3Vcc. When data A and B are 10, output C is 2/3Vcc. When B is 11, the output C is 1Vcc.

更詳細說,關於該鑰匙結構10與該鎖具結構20之開鎖程序,請參閱第十一圖之流程說明。In more detail, regarding the unlocking procedure of the key structure 10 and the lock structure 20, please refer to the flow description of the eleventh figure.

先將該鑰匙結構10***該外部通道23中,使該鑰匙電源接腳14與該鎖具電源接腳232接觸,進而使該鎖具結構20供電至該鑰匙結構10,並傳送該鑰匙編號至該鎖具結構20之鎖具控制部21;在該鑰匙編號之傳輸過程中,即包括頭碼、資料碼、尾碼,該頭碼係具有告知資料傳輸開始,該資料碼具有鑰匙編號(將該鑰匙結構10的編號告知該鎖具結構20,藉由此編號取出開鎖密碼)。The key structure 10 is first inserted into the external passage 23, and the key power pin 14 is brought into contact with the lock power pin 232, thereby supplying the lock structure 20 to the key structure 10, and transmitting the key number to the lock. The lock control unit 21 of the structure 20; in the transmission process of the key number, that is, including a header code, a data code, and a tail code, the header code has a notification data transmission start, and the data code has a key number (the key structure 10 is The number of the lock informs the lock structure 20, by which the unlock code is removed.

該鎖具結構20在收到該鑰匙結構10所發送的鑰匙編號後,係會搜尋該鎖具記憶體212內是否有對應的鑰匙編號;若該鎖具記憶體212內有對應的鑰匙編號,則該鎖具結構20係會發送該鎖具編號及傳輸協定資料給該鑰匙結構10,且該狀態顯示部22顯示為藍燈(代表該鑰匙結構10***且該鑰匙編號符合);而若該鎖具記憶體212內無對應的鑰匙編號,則該鎖具結構20顯示紅燈4秒後進入省電模式,該鑰匙結構10在沒有收到該鎖具結構20發送之鎖具編號的情況下,係會進入 待機狀態等待下次通電。After receiving the key number sent by the key structure 10, the lock structure 20 searches for the corresponding key number in the lock memory 212; if the lock memory 212 has a corresponding key number, the lock The structure 20 transmits the lock number and the transfer protocol data to the key structure 10, and the status display portion 22 displays a blue light (indicating that the key structure 10 is inserted and the key number is matched); and if the lock memory 212 is inside If there is no corresponding key number, the lock structure 20 enters the power saving mode after displaying the red light for 4 seconds, and the key structure 10 enters without receiving the lock number sent by the lock structure 20. The standby state waits for the next power-on.

該鑰匙結構10在收到該鎖具結構20發送之鎖具編號後,係會搜尋該鑰匙記憶體122內是否有對應的鎖具編號;若該鑰匙記憶體122內有對應的鎖具編號,則進入解密程序;若該鑰匙記憶體122內無對應的鎖具編號,則進入待機,等待下次該鑰匙結構10重新***。After receiving the lock number sent by the lock structure 20, the key structure 10 searches for the corresponding lock number in the key memory 122; if the key memory 122 has a corresponding lock number, the decryption program is entered. If there is no corresponding lock number in the key memory 122, it will enter standby and wait for the key structure 10 to be reinserted next time.

關於該解密程序,係當該鎖具結構20發送完該鎖具編號給該鑰匙結構10後,該鑰匙結構10依該傳輸協定資料設定之傳輸時間及傳輸方式將開鎖密碼發送至該鎖具結構20。With respect to the decryption program, after the lock structure 20 sends the lock number to the key structure 10, the key structure 10 transmits the unlock code to the lock structure 20 according to the transmission time and transmission mode set by the transmission protocol data.

該鎖具結構20接收到該鑰匙結構10發送的開鎖密碼後,係會先比對與該鎖具記憶體212內的開鎖密碼是否相同;若開鎖密碼相同則進入密碼修改程序;若開鎖密碼不同,則該狀態顯示部22顯示紅燈4秒後進入省電模式。After receiving the unlock password sent by the key structure 10, the lock structure 20 first compares with the unlock password in the lock memory 212; if the unlock password is the same, the password modification program is entered; if the unlock password is different, The state display unit 22 enters the power saving mode after displaying the red light for 4 seconds.

修改密碼程序必須雙方資料吻合才會進行修改密碼,首先由該鎖具結構20對該鑰匙結構10提供一正確開鎖訊號(假設以數位傳輸方式傳輸正確開鎖訊號資料10101010b),該鑰匙結構10接收後與該鎖具結構20同步進行開鎖密碼之修改;開鎖密碼由一開始該鎖具結構20提供至該鑰匙結構10之傳輸協定資料作為依據,六組密碼會修改其中的兩組。例如:第一組及第二組密碼由傳輸協定資料最低位元bit.0作為判斷,若為0則修改第一組密碼,若為1則修改第二組密碼;再由傳輸協定資料的bit.2及bit.1作為判斷,若為00時修改第三組密碼,若為01時修改第四組密碼,若為10時修改第五組密碼,若為11時修改第六組密碼,因此六組密碼會修改其中兩組,而修改方式係將原本資料(開鎖密碼)加上傳輸協定資料1byte數值後儲存回該鎖具記憶體(關於傳輸協定資料修改密碼對照,請參閱第四表)。The password modification program must match the data of both parties to modify the password. First, the lock structure 20 provides a correct unlock signal to the key structure 10 (assuming that the correct unlock signal data 10101010b is transmitted by digital transmission), and the key structure 10 is received and The lock structure 20 synchronizes the modification of the unlock password; the unlock password is based on the transmission agreement data provided by the lock structure 20 to the key structure 10, and the six groups of passwords modify two of the groups. For example, the first group and the second group of passwords are judged by the lowest bit bit.0 of the transmission agreement data. If it is 0, the first group of passwords is modified. If it is 1, the second group of passwords is modified; .2 and bit.1 as a judgment, if it is 00, modify the third group of passwords, if it is 01, modify the fourth group of passwords, if it is 10, modify the fifth group of passwords, if it is 11, modify the sixth group of passwords, so The six groups of passwords will modify two groups, and the modification method is to store the original data (unlocking password) with the transfer protocol data 1 byte value and store it back to the lock memory (for the transmission agreement data modification password comparison, please refer to the fourth table).

舉例來說,假設傳輸協定資料末三碼為011b;則代表修改第二筆及第四筆密碼。For example, suppose the last three codes of the transmission agreement data are 011b; it means that the second and fourth passwords are modified.

由於每一筆資料為1byte長度,因此數值超過255(FFH)會歸零,如原數值為180,傳輸協定資料為100,那加後的數值會變成180+100-256=24,數字不會無限的變大。Since each data is 1 byte in length, the value exceeds 255 (FFH) and will be reset to zero. If the original value is 180 and the transfer protocol data is 100, the added value will become 180+100-256=24, and the number will not be unlimited. Become bigger.

在密碼修改完成後,該鎖具控制部21即控制該開鎖電路251而使該鎖具25進行開鎖之動作(該狀態顯示部22顯示為綠燈)。After the password modification is completed, the lock control unit 21 controls the unlock circuit 251 to unlock the lock 25 (the status display unit 22 is displayed in a green light).

當然,本發明也可設有兩個狀態顯示部22,分別為光源警示器及蜂鳴器;光源警示器利用燈光顏色變化,在視覺上提醒使用者目前之開鎖情形,而蜂鳴器是在聽覺方面的警告作 用,如***鑰匙3次未能開鎖,第4次以後的鑰匙***動作皆會響起,跟著光源警示器4秒後進入省電模式,或者鑰匙開鎖後未拔除超過6秒,會響起直到鑰匙拔除。Of course, the present invention can also be provided with two status display portions 22, which are respectively a light source warning device and a buzzer; the light source warning device visually reminds the user of the current unlocking situation by using the color change of the light, and the buzzer is in the Hearing warning If the key is unlocked 3 times, the key insertion operation will be sounded after the 4th time. After 4 seconds, the light source warning device will enter the power saving mode, or the key will not be removed for more than 6 seconds after being unlocked, and will sound until the key is removed. .

由以上說明可知,該鑰匙結構10也可設有多組開鎖資料,以對應不同鎖具結構20之開鎖資料(依該鑰匙結構10及該鎖具結構20的編號互傳,即可從該鑰匙結構10多組開鎖資料中找出相符的一組而進行開鎖程序);也就是說,只需帶一把具有多組開鎖資料的鑰匙結構10,即可開啟不同之鎖具結構20(例如:同時設有與住家、公司之鎖具結構20相同之開鎖資料),可同時達到體積小重量輕之優點。It can be seen from the above description that the key structure 10 can also be provided with a plurality of sets of unlocking materials to correspond to the unlocking materials of the different lock structures 20 (the key structure 10 and the structure of the lock structure 20 can be mutually transmitted, and the key structure 10 can be obtained from the key structure 10 A plurality of sets of unlocking data are found in a matching group to perform an unlocking process; that is, a key structure 10 having a plurality of sets of unlocking data can be opened to open different lock structures 20 (for example, at the same time The same unlocking information as the lock structure 20 of the home and the company can simultaneously achieve the advantages of small size and light weight.

更詳細的說,關於本發明之權限設定及狀態顯示部22顯示狀態,係說明如下:More specifically, the state in which the authority setting and status display unit 22 of the present invention displays the status is as follows:

[a]新增鑰匙權限。將最高權限之鑰匙結構10置入該外部通道23並完成開鎖後,該狀態顯示部22係顯示綠燈;最高權限之鑰匙結構10保持置於該外部通道23中,並切換該權限開關27至欲新增之權限位置(一般權限或最低權限);接著,將另一鑰匙結構10置入該內部通道24中後,該狀態顯示部22係會顯示藍燈,此時該鎖具結構20接收該內部通道24中之鑰匙結構10之鑰匙編號,並新增一鑰匙權限,同時發送一段新的鎖具資料(鎖具編號及開鎖密碼)至該內部通道24中之鑰匙結構10,即完成新增鑰匙權限之流程,而此時該狀態顯示部22顯示為綠燈。[a]Add key permissions. After the highest-privileged key structure 10 is placed in the external channel 23 and the unlocking is completed, the status display portion 22 displays a green light; the highest-privileged key structure 10 remains placed in the external channel 23, and the authority switch 27 is switched to A new permission position (general authority or minimum authority); then, after another key structure 10 is placed in the internal channel 24, the status display portion 22 displays a blue light, at which time the lock structure 20 receives the interior The key number of the key structure 10 in the channel 24 is added with a key authority, and a new lock data (lock number and unlock code) is sent to the key structure 10 in the internal channel 24, that is, the key ownership is completed. The flow, at this time, the status display portion 22 is displayed as a green light.

[b]刪除最低權限。將最高權限之鑰匙結構10置入該外部通道23並完成開鎖後,該狀態顯示部22係顯示綠燈;最高權限之鑰匙結構10保持置於該外部通道23中,並對該權限開關27進行兩次切換動作後,該狀態顯示部22係顯示為藍燈(本發明在圖示中之權限開關27設計為上下切換,故為上下切換兩次),此時該鎖具結構20係會進行內部資料檢索,刪除最低權限之鑰匙資料,刪除完成後該狀態顯示部22係顯示綠燈。[b]Delete the minimum permissions. After the highest-privileged key structure 10 is placed in the external passage 23 and the unlocking is completed, the status display portion 22 displays a green light; the highest-privileged key structure 10 remains placed in the external passage 23, and the authority switch 27 is After the secondary switching operation, the status display unit 22 displays a blue light (the authority switch 27 in the illustrated embodiment is designed to be switched up and down, so that it is switched up and down twice), and at this time, the lock structure 20 performs internal data. The key data of the lowest authority is deleted and deleted, and the status display unit 22 displays a green light after the deletion is completed.

[c]同時刪除一般權限及最低權限。將該最高權限之鑰匙 結構10置入該內部通道24,此時該狀態顯示部22顯示藍燈(若非最高權限之鑰匙結構則顯示紅燈),等待10秒後該鎖具結構20係會進行內部資料檢索,刪除一般權限及最低權限之鑰匙資料,刪除完成後該狀態顯示部22係顯示綠燈。[c] Delete both general and minimum privileges. The key to the highest authority The structure 10 is placed in the internal passage 24, and the state display portion 22 displays a blue light (if the key structure of the highest authority is displayed, a red light is displayed), and after 10 seconds, the lock structure 20 performs internal data retrieval to delete the general authority. And the key information of the lowest authority, the status display unit 22 displays a green light after the deletion is completed.

關於本發明在使用最高權限鑰匙完成開鎖後之權限設定流程關係圖,請參閱第十二圖所示。Please refer to the twelfth figure for the relationship setting process of the present invention after the unlocking is completed using the highest authority key.

綜上所述,本發明之優點及功效可歸納為:In summary, the advantages and effects of the present invention can be summarized as follows:

[1]保密性高。市面上也有一些結構型式較為複雜的鎖與鑰匙,但都只是在型式上進行變化,只要能了開鎖的結構,還是可以將鎖打開,其安全性較低;而本發明之開鎖程序需經由該鑰匙結構10與該鎖具結構20之反覆溝通確認,才可達到開鎖,並自動進行該開鎖資料之修改,故,具有保密性高之優點。[1] High confidentiality. There are also some locks and keys with relatively complicated structure in the market, but they all change only in type. As long as the unlocking structure can be opened, the lock can be opened, and the safety is low; and the unlocking program of the present invention needs to pass through the The key structure 10 and the lock structure 20 are repeatedly communicated and confirmed, so that the unlocking can be achieved, and the unlocking data is automatically modified, so that the confidentiality is high.

[2]具權限設定功能。在房屋仲介進行買賣期間,仲介與賣家通常都會擁有門鎖鑰匙,當成功轉售於新買家後,新買家並無法確定賣家與仲介是否將所有鑰匙交還,故,仍有安全上之疑慮;而本發明可利用其權限設定,將最高權限以外的鑰匙權限刪除而無法開鎖,更進一步提高其安全性。[2] With permission setting function. During the sale of the house agent, the agent and the seller usually have the door lock key. When the new buyer is successfully resold, the new buyer is not sure whether the seller and the agent will return all the keys. Therefore, there are still security concerns. The invention can use its authority setting to delete the key authority except the highest authority and cannot unlock the key, thereby further improving the security.

[3]體積小重量輕。一般開啟不同的門鎖則需攜帶不同的鑰匙,常使得使用者需要攜帶大把鑰匙出門,在攜帶上相當不便;而本發明只需對該鑰匙結構10設定多組開鎖資料,即可開啟不同之鎖具結構20,達到體積小重量輕之優點。[3] Small size and light weight. Generally, different keys are required to carry different keys, which often makes it necessary for the user to carry a large number of keys to go out, which is quite inconvenient to carry. However, the present invention only needs to set multiple sets of unlocking data for the key structure 10 to open different The lock structure 20 achieves the advantages of small volume and light weight.

[4]價格低。本發明在結構設計上,其成本可比市面上之晶片鎖低上許多,故,具有價格低之優點。[4] The price is low. The structure of the invention has a lower cost than the wafer lock on the market, so it has the advantage of low price.

[5]不需裝設電池。本發明之鑰匙結構10在***該鎖具結構20後,係利用該鑰匙電源接腳14與該鎖具電源接腳232之接觸而得到所需之電源,故,不需裝設電池。[5] There is no need to install a battery. After the key structure 10 of the present invention is inserted into the lock structure 20, the key power supply pin 14 is brought into contact with the lock power supply pin 232 to obtain the required power supply, so that no battery needs to be installed.

以上僅是藉由較佳實施例詳細說明本發明,對於該實施例所做的任何簡單修改與變化,皆不脫離本發明之精神與範圍。The present invention has been described in detail with reference to the preferred embodiments of the present invention, without departing from the spirit and scope of the invention.

由以上詳細說明,可使熟知本項技藝者明瞭本發明的確可達成前述目的,實已符合專利法之規定,爰提出發明專利申請。From the above detailed description, it will be apparent to those skilled in the art that the present invention can achieve the foregoing objects, and the invention has been in accordance with the provisions of the patent law.

10‧‧‧鑰匙結構10‧‧‧Key structure

11‧‧‧鑰匙資料傳輸部11‧‧‧ Key Data Transmission Department

12‧‧‧鑰匙控制部12‧‧‧Key Control Department

121‧‧‧鑰匙處理部121‧‧‧Key Processing Department

122‧‧‧鑰匙記憶體122‧‧‧Key memory

13‧‧‧鑰匙訊號轉換電路13‧‧‧Key signal conversion circuit

14‧‧‧鑰匙電源接腳14‧‧‧Key power pin

20‧‧‧鎖具結構20‧‧‧Lock structure

21‧‧‧鎖具控制部21‧‧‧Lock Control Department

211‧‧‧鎖具處理部211‧‧‧Lock Processing Department

212‧‧‧鎖具記憶體212‧‧‧Lock memory

22‧‧‧狀態顯示部22‧‧‧Status display

23‧‧‧外部通道23‧‧‧External access

231‧‧‧第一鎖具資料傳輸部231‧‧‧First Lock Data Transfer Department

232‧‧‧第一鎖具電源接腳232‧‧‧First lock power pin

24‧‧‧內部通道24‧‧‧Internal passage

241‧‧‧第二鎖具資料傳輸部241‧‧‧Second lock data transmission department

242‧‧‧第二鎖具電源接腳242‧‧‧Second lock power pin

25‧‧‧鎖具25‧‧‧Locks

251‧‧‧開鎖電路251‧‧‧Unlocking circuit

26‧‧‧鎖具訊號轉換電路26‧‧‧Lock signal conversion circuit

27‧‧‧權限開關27‧‧‧Permission switch

70‧‧‧門70‧‧‧

P1‧‧‧第一位置P1‧‧‧ first position

P2‧‧‧第二位置P2‧‧‧ second position

第一圖係本發明之具有權限設定之自動修改密碼之鑰匙及鎖具系統之示意圖The first figure is a schematic diagram of a key and a lock system for automatically changing a password with authority settings according to the present invention.

第二圖係本發明之具有權限設定之自動修改密碼之鑰匙及鎖具系統之另一視角示意圖The second figure is another perspective view of the key and lock system of the invention for automatically changing the password with authority setting.

第三圖係本發明之鑰匙結構之示意圖The third figure is a schematic diagram of the key structure of the present invention.

第四圖係本發明之權限開關之示意圖The fourth figure is a schematic diagram of the authority switch of the present invention.

第五圖係本發明之鑰匙結構之結構關係示意圖The fifth figure is a schematic diagram showing the structure relationship of the key structure of the present invention.

第六圖係本發明之鎖具結構之結構關係示意圖The sixth figure is a schematic diagram showing the structural relationship of the lock structure of the present invention.

第七圖係本發明之一線傳輸協定之示意圖Figure 7 is a schematic diagram of a line transfer protocol of the present invention

第八圖係本發明之發送及取樣時間之示意圖The eighth figure is a schematic diagram of the transmission and sampling time of the present invention.

第九A圖係本發明之數位資料傳輸時序圖之示意圖Figure 9A is a schematic diagram of the digital data transmission timing chart of the present invention

第九B圖係本發明之類比資料傳輸時序圖之示意圖Figure 9B is a schematic diagram of the analog data transmission timing chart of the present invention

第十圖係本發明之鑰匙結構之電路圖The tenth figure is a circuit diagram of the key structure of the present invention

第十一圖係本發明之自動修改密碼之流程圖The eleventh figure is a flow chart of the automatic modification password of the present invention

第十二圖係本發明之權限設定之示意圖Figure 12 is a schematic diagram of the authority setting of the present invention

10‧‧‧鑰匙結構10‧‧‧Key structure

20‧‧‧鎖具結構20‧‧‧Lock structure

21‧‧‧鎖具控制部21‧‧‧Lock Control Department

211‧‧‧鎖具處理部211‧‧‧Lock Processing Department

212‧‧‧鎖具記憶體212‧‧‧Lock memory

22‧‧‧狀態顯示部22‧‧‧Status display

23‧‧‧外部通道23‧‧‧External access

231‧‧‧第一鎖具資料傳輸部231‧‧‧First Lock Data Transfer Department

232‧‧‧第一鎖具電源接腳232‧‧‧First lock power pin

24‧‧‧內部通道24‧‧‧Internal passage

241‧‧‧第二鎖具資料傳輸部241‧‧‧Second lock data transmission department

242‧‧‧第二鎖具電源接腳242‧‧‧Second lock power pin

25‧‧‧鎖具25‧‧‧Locks

251‧‧‧開鎖電路251‧‧‧Unlocking circuit

26‧‧‧鎖具訊號轉換電路26‧‧‧Lock signal conversion circuit

27‧‧‧權限開關27‧‧‧Permission switch

70‧‧‧門70‧‧‧

Claims (4)

一種具有權限設定之自動修改密碼之鑰匙及鎖具系統,其包括:一鑰匙結構,其係具有一鑰匙資料傳輸部、一鑰匙控制部、一鑰匙訊號轉換電路及一對鑰匙電源接腳;該鑰匙資料傳輸部係用以進行資料之接收及發送;該鑰匙控制部係具有一鑰匙處理部及一鑰匙記憶體,該鑰匙處理部係用以分析處理該鑰匙資料傳輸部接收及發送的資料,而該鑰匙記憶體係用以儲存一開鎖資料,該開鎖資料係具有一鑰匙編號及複數組鎖具資料,每一鎖具資料係具有一鎖具編號及一開鎖密碼;該鑰匙訊號轉換電路係連接該鑰匙控制部,並用以轉換資料的發送格式;一鎖具結構,其係設於一門上,並係連接至一電源;該鎖具結構係具有一鎖具控制部、至少一狀態顯示部、一外部通道、一內部通道、一鎖具、一鎖具訊號轉換電路及一權限開關;該鎖具控制部係具有一鎖具處理部及一鎖具記憶體,該外部通道係具有一第一鎖具資料傳輸部及一對第一鎖具電源接腳;該內部通道係具有一第二鎖具資料傳輸部及一對第二鎖具電源接腳;該第一鎖具資料傳輸部及該第二鎖具資料傳輸部係用以進行資料之接收及發送;該鎖具處理部係用以分析處理該第一鎖具資料傳輸部及該第二鎖具資料傳輸部接收及發送的資料;而該鎖具記憶體係用以儲存一開鎖資料:該開鎖資料係具有一鎖具編號及複數組鑰匙資料,每一鑰匙資料係具有一鑰匙編號、一鑰匙權限及一開鎖密碼,且該鑰匙權限係分為最高權限、一般權限、最低權限;該狀態顯示部係用以顯示目前之使用狀態;該外部通道及該內部通道係供該鑰匙結構置入;該鎖具係具有一開鎖電路,連接至該鎖具控制部;該鎖具訊號轉換電路係連接該鎖具控制部、該第一鎖具資料傳輸部、該第一鎖具電源接腳、該第二鎖具資料傳輸部及該第二鎖具電源 接腳,並用以轉換資料的發送格式;而該權限開關係連接該鎖具控制部,用以切換權限之設定,且其權限之切換係包括一般權限及最低權限;又,該外部通道及該內部通道係分別設於該門之兩表面上而往該門內部延伸,該外部通道係用以開鎖並設定該鑰匙結構之權限,而該內部通道係用以設定該鑰匙結構之權限;又,當該鑰匙結構置入該外部通道並傳送該鑰匙編號至該鎖具結構後,該鎖具結構之鎖具處理部係會產生一傳輸協定資料並發送至該鑰匙結構;藉此,當該鑰匙結構置入該外部通道後,該第一鎖具資料傳輸部與該鑰匙資料傳輸部係相互傳輸該開鎖資料,並經由該鑰匙處理部及該鎖具處理部進行分析比對,且該鑰匙結構與該鎖具結構之開鎖資料比對符合時,該鑰匙結構及該鎖具結構係依傳輸協定資料進行互動先進行該開鎖資料之同步修改,並在修改完成後控制該鎖具進行開鎖之動作;又,當具有最高權限之鑰匙結構置入該外部通道並完成開鎖後,對該權限開關進行兩次切換動作後,此時該鎖具結構係會刪除最低權限之鑰匙資料;當具有最高權限之鑰匙結構置入該外部通道並完成開鎖後,將另一鑰匙結構置入該內部通道,並以該權限開關切換權限,即可使該鎖具結構接收該內部通道中之鑰匙結構之鑰匙編號,並新增一鑰匙權限,同時發送一段新的鎖具資料至該內部通道中之鑰匙結構;當具有最高權限之鑰匙結構置入該內部通道時,該鎖具結構係會進行內部資料檢索,刪除一般權限及最低權限之鑰匙資料。 A key and lock system with an automatic setting password with authority setting, comprising: a key structure having a key data transmission unit, a key control unit, a key signal conversion circuit and a pair of key power pins; the key The data transmission unit is configured to receive and transmit data; the key control unit has a key processing unit and a key memory for analyzing and processing data received and transmitted by the key data transmission unit, and The key memory system is configured to store an unlocking data, wherein the unlocking data has a key number and a plurality of interlocking lock data, each lock data has a lock number and an unlock code; the key signal conversion circuit is connected to the key control unit. And a transmission format for converting data; a lock structure is disposed on a door and connected to a power source; the lock structure has a lock control portion, at least one state display portion, an external passage, and an internal passage a lock, a lock signal conversion circuit and a permission switch; the lock control unit has a lock And a lock memory having a first lock data transmission portion and a pair of first lock power pins; the internal passage has a second lock data transmission portion and a pair of second lock power pins The first lock data transmission unit and the second lock data transmission unit are configured to receive and transmit data; the lock processing unit is configured to analyze and process the first lock data transmission unit and the second lock data transmission unit. Receiving and transmitting data; and the lock memory system is configured to store an unlocking data: the unlocking data has a lock number and a complex array key data, and each key data has a key number, a key authority and an unlock password. And the key authority is divided into a highest authority, a general authority, and a minimum authority; the status display part is used to display the current use state; the external channel and the internal channel are for the key structure; the lock has an unlock a circuit connected to the lock control unit; the lock signal conversion circuit is connected to the lock control unit, the first lock data transfer unit, the first Power pin lock, the second lock portion and the second data transmission power lock a pin, and is used to convert a data transmission format; and the permission relationship is connected to the lock control unit for switching the permission setting, and the switching of the rights includes a general authority and a minimum authority; and the external channel and the internal Channels are respectively disposed on the two surfaces of the door and extend inside the door, the external channel is used to unlock and set the authority of the key structure, and the internal channel is used to set the authority of the key structure; After the key structure is placed in the external passage and the key number is transmitted to the lock structure, the lock processing portion of the lock structure generates a transmission agreement data and sends the data to the key structure; thereby, when the key structure is placed in the key structure After the external channel, the first lock data transfer unit and the key data transfer unit mutually transmit the unlock data, and the analysis is performed by the key processing unit and the lock processing unit, and the key structure and the lock structure are unlocked. When the data comparison is met, the key structure and the lock structure are interactively modified according to the transmission agreement data, and the unlocking data is synchronously modified, and After the modification is completed, the lock is controlled to unlock; and when the key structure with the highest authority is placed in the external channel and the unlocking is completed, after the switching operation is performed twice, the lock structure is deleted at the lowest time. The key data of the authority; when the key structure with the highest authority is placed in the external channel and the unlocking is completed, another key structure is placed into the internal channel, and the authority is switched by the authority switch, so that the lock structure receives the interior The key number of the key structure in the channel, and a new key authority is added, and a new lock data is sent to the key structure in the internal passage; when the key structure with the highest authority is placed in the internal passage, the lock structure is Internal data retrieval will be performed to delete the key information of general authority and minimum authority. 如申請專利範圍第1項所述之具有權限設定之自動修改密碼之鑰匙及鎖具系統,其中,該狀態顯示部係可為一般之光源警示器及蜂鳴器其中之一。 The key and lock system having the privilege setting automatic modification password described in claim 1 is wherein the status display portion is one of a general light source warning device and a buzzer. 如申請專利範圍第1項所述之具有權限設定之自動修改密碼之鑰匙及鎖具系統,其中,該鑰匙結構與該鎖具結構之每一筆資料傳輸,係至少包括:[A]頭碼:發送端告知接收端有一筆資料開始傳輸,使接收端對齊取樣時間;[B]資料碼:即發送端傳輸至接收端的資料內容;[C]尾碼:在資料內容傳輸完後,有一個低態持續一時間,告知接收端資料已傳輸完畢。The key and lock system for automatically changing a password according to claim 1, wherein the key structure and each data transmission of the lock structure include at least: [A] header code: transmitting end Inform the receiving end that there is a data to start transmission, so that the receiving end aligns the sampling time; [B] data code: the data content transmitted by the transmitting end to the receiving end; [C] the last code: after the data content is transmitted, there is a low state continuous For a time, inform the receiving end that the data has been transferred. 如申請專利範圍第1項所述之具有權限設定之自動修改密碼之鑰匙及鎖具系統,該切換開關係為撥動式切換、按鈕式切換及鍵盤式切換其中之一。For example, in the key and lock system with the authority to set the automatic password change as described in claim 1, the switch-on relationship is one of a toggle switch, a button switch, and a keyboard switch.
TW101138932A 2012-10-22 2012-10-22 A key and lock system with permission to automatically change the password TWI464315B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101138932A TWI464315B (en) 2012-10-22 2012-10-22 A key and lock system with permission to automatically change the password

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101138932A TWI464315B (en) 2012-10-22 2012-10-22 A key and lock system with permission to automatically change the password

Publications (2)

Publication Number Publication Date
TW201416535A TW201416535A (en) 2014-05-01
TWI464315B true TWI464315B (en) 2014-12-11

Family

ID=51293684

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101138932A TWI464315B (en) 2012-10-22 2012-10-22 A key and lock system with permission to automatically change the password

Country Status (1)

Country Link
TW (1) TWI464315B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI632278B (en) * 2017-01-10 2018-08-11 林 招慶 Electronic lock system with multiple permissions

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW304215B (en) * 1995-01-25 1997-05-01 Dawalibi Nofal
TW200300028A (en) * 2002-11-26 2003-05-01 Eden Jung-Yu Chen Key-lock switch system
TWM407272U (en) * 2011-01-28 2011-07-11 Univ Nat Formosa Lock and key system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW304215B (en) * 1995-01-25 1997-05-01 Dawalibi Nofal
TW200300028A (en) * 2002-11-26 2003-05-01 Eden Jung-Yu Chen Key-lock switch system
TWM407272U (en) * 2011-01-28 2011-07-11 Univ Nat Formosa Lock and key system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI632278B (en) * 2017-01-10 2018-08-11 林 招慶 Electronic lock system with multiple permissions

Also Published As

Publication number Publication date
TW201416535A (en) 2014-05-01

Similar Documents

Publication Publication Date Title
CN104932380B (en) The power supply real-time monitoring system and method for multi-mode multichannel
CN104317255A (en) Internet-of-things-based intelligent household control system
CN101833798A (en) Infrared ray remote control electronic coded lock device based on singlechip and control method thereof
TW200825830A (en) Monitoring device for host of computer system, computer system capable of connecting remote control device with host, and method of monitoring host of computer system
TWI464315B (en) A key and lock system with permission to automatically change the password
CN205743333U (en) Intelligent fingerprint coded lock
CN103914895B (en) A kind of wireless sensing Internet of Things lock and method for unlocking thereof
CN106372494B (en) Anti- illegal external connection device
CN202472459U (en) Heating temperature control device, and photovoltaic module decomposition and recovery equipment having the same
WO2016197594A2 (en) Kvm extender receiving end provided with switching device
TWI440761B (en) Automatically change the password of the key and lock system
CN204557618U (en) A kind ofly exempt from key operated WiFi intelligent door lock
CN201915718U (en) Remote control code-exchanging intelligent anti-theft lock with dry batteries
CN211606864U (en) LED matrix circuit for displaying different states
CN205375632U (en) Intelligent door lock
CN202627701U (en) Electronic control lock
CN201066535Y (en) Handheld remote controller with self-coding password and its theft prevention host
CN203276387U (en) Infrared remote-control password lock based on control of STC89C52 singlechip
CN204476015U (en) Based on monolithic processor controlled mechanical password door lock
CN208316909U (en) A kind of network scanner device
US8966259B2 (en) Controller-keypad/card reader identification system including card programming and secure communications
Chowdhury et al. Color lock: 16 bit digital color based security system
CN204960552U (en) High security electronic lock
CN209167957U (en) A kind of host computer and its application system of centralization computer room
CN204343809U (en) A kind of key coalignment

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees