技术领域technical field
本发明涉及电动门锁控制系统和射频识别(RFID)技术,特别是基于射频识别技术的电动门锁控制系统。The invention relates to an electric door lock control system and a radio frequency identification (RFID) technology, in particular to an electric door lock control system based on the radio frequency identification technology.
背景技术Background technique
目前广泛应用于宾馆、写字楼的电动门锁,是一种基于无源射频识别技术的电控门锁,包括钥匙卡与锁体。其钥匙卡主要是一张无源射频识别标签,其锁体受控于一个包含射频阅读器的控制系统。这种无源射频识别电动门锁,其识别距离一般在10cm以内,只有将钥匙卡与射频阅读器近距离接触,才能开锁。在钥匙持卡人双手不空时,开锁颇为不便。同时,为了控制钥匙卡的开锁权限,需要将锁体控制系统与主控电脑在线联网进行设置,所以这种短程射频识别感应锁通常仅适合宾馆房间、写字楼应用。At present, the electric door lock widely used in hotels and office buildings is an electronically controlled door lock based on passive radio frequency identification technology, including a key card and a lock body. The key fob is essentially a passive RFID tag, and the lock body is controlled by a control system that includes a radio frequency reader. This passive radio frequency identification electric door lock generally has a recognition distance within 10cm, and the lock can only be unlocked when the key card is in close contact with the radio frequency reader. It is quite inconvenient to open the lock when the key holder's hands are not free. At the same time, in order to control the unlocking authority of the key card, it is necessary to set up the lock body control system and the main control computer online, so this short-range RFID induction lock is usually only suitable for hotel rooms and office buildings.
随着经济发展,家庭里的许多设备已经电气化甚至信息化,而广大家庭使用的门锁,仍然是沿袭了数百年的机械式门锁,有必要进行电气化和信息化。With the development of the economy, many devices in the home have been electrified and even informatized. However, the door locks used by the majority of families are still mechanical door locks that have been inherited for hundreds of years, so electrification and informatization are necessary.
现有的射频识别电动门锁,采用的是基于125KHz载波频率的无源射频识别技术,钥匙卡采用无源卡片,其识别距离在10cm以内。当需要开门时,需要将钥匙卡贴近锁体控制器中的射频阅读器,在这个过程中,射频阅读器激活钥匙卡,读取钥匙卡的数据,然后分析数据,判断是否开门。这种射频识别电动门锁采用的是一种近距离感应、低成本、非安全的技术,并不适合用于家庭防盗门使用。主要存在如下缺点:1、近距离感应,需要刷卡才能开门,持卡人在双手不空时,开锁会感觉不便;2、钥匙卡采用无源射频芯片,没有运算能力,无法运行安全级别更高的认证算法,不能承受重放攻击,认证过程容易被复制、重放、跟踪、阻断和篡改;3、钥匙卡采用单一的保护机制,若被攻破,锁体则不再安全;4、钥匙卡信息容易被复制;5、钥匙卡的外形过于单一而缺乏个性。The existing radio frequency identification electric door lock adopts passive radio frequency identification technology based on 125KHz carrier frequency, and the key card adopts a passive card, and its identification distance is within 10cm. When the door needs to be opened, the key card needs to be placed close to the radio frequency reader in the lock body controller. During this process, the radio frequency reader activates the key card, reads the data of the key card, and then analyzes the data to determine whether to open the door. What this radio frequency identification electric door lock adopts is a kind of short-distance induction, low-cost, non-safety technology, and is not suitable for being used in family's anti-theft door. The main disadvantages are as follows: 1. Proximity sensing, you need to swipe the card to open the door. It will be inconvenient for the cardholder to unlock when his hands are not empty; 2. The key card uses a passive radio frequency chip, which has no computing power and cannot operate with a higher level of security. The authentication algorithm cannot withstand replay attacks, and the authentication process is easy to be copied, replayed, tracked, blocked and tampered with; 3. The key card adopts a single protection mechanism. If it is broken, the lock body is no longer safe; 4. The key The card information is easy to be copied; 5. The shape of the key card is too single and lacks individuality.
发明内容Contents of the invention
本发明基于有源射频识别、流密码、安全认证等技术,提供一种适合于家庭防盗门使用的基于有源射频识别的电动门锁控制系统。该电动门锁控制系统采用有源射频识别技术,其钥匙卡采用有源射频识别标签,钥匙卡在离门1.0~1.5米的距离范围内能使门锁自动感应并打开,方便客户使用;客户使用一个钥匙卡,也可以开几道门,省去客户管理很多房间时,要带很多钥匙的麻烦;对于同一道门,客户可能有几把钥匙,如果其中一把丢失了,可以通过USB接口,用上位机与锁控制器连接,在控制器中对丢失的钥匙卡进行删除,从而使这个钥匙卡失效,保证客户生命财产安全。Based on technologies such as active radio frequency identification, stream cipher, security authentication and the like, the present invention provides an active radio frequency identification based electric door lock control system suitable for home security doors. The electric door lock control system adopts active radio frequency identification technology, and its key card adopts active radio frequency identification tags. The key card can automatically sense and open the door lock within a distance of 1.0 to 1.5 meters from the door, which is convenient for customers to use; Using one key card can also open several doors, which saves the customer the trouble of bringing many keys when managing many rooms; for the same door, the customer may have several keys, if one of them is lost, you can use the USB interface to The upper computer is connected to the lock controller, and the lost key card is deleted in the controller, so that the key card becomes invalid, ensuring the safety of the customer's life and property.
本发明技术方案如下:Technical scheme of the present invention is as follows:
基于有源射频识别的电动门锁控制系统,包括钥匙卡和阅读器,所述钥匙卡和阅读器为有源射频识别钥匙卡和射频识别阅读器。The electric door lock control system based on active radio frequency identification includes a key card and a reader, and the key card and reader are an active radio frequency identification key card and a radio frequency identification reader.
所述钥匙卡如图1所示,至少包括第一单片机、第一射频芯片和第一工作电源;第一射频芯片负责与阅读器进行相互认证方面的通信,第一单片机负责与阅读器进行相互认证,第一工作电源为钥匙卡内部各模块提供工作电源;第一单片机内存储有钥匙卡自身的相关信息和对应阅读器的相关信息,这些信息至少包括:所述钥匙卡自身的ID号、别名和内部信息访问密钥K2,对应阅读器的ID号和别名,以及钥匙卡和对应阅读器相互认证共用的密钥K3。Described key card is as shown in Figure 1, at least comprises the first single-chip microcomputer, the first radio frequency chip and the first working power supply; Authentication, the first working power supply provides working power for each module inside the key card; the relevant information of the key card itself and the relevant information of the corresponding reader are stored in the first single-chip microcomputer, and these information include at least: the ID number of the key card itself, The alias and internal information access key K2 correspond to the ID number and alias of the reader, and the key K3 shared by the key card and the corresponding reader for mutual authentication.
所述阅读器如图2所示,至少包括第二单片机、第二射频芯片和第二工作电源;第二射频芯片负责与钥匙卡进行相互认证方面的通信,第二单片机负责与钥匙卡进行相互认证,第二工作电源为阅读器内部各模块提供工作电源;第二单片机内存储有阅读器自身的相关信息和对应钥匙卡的相关信息,这些信息至少包括:所述阅读器自身的ID号、别名和内部信息访问密钥K1,对应钥匙卡的ID号和别名,以及所述阅读器和对应钥匙卡相互认证共用的密钥K3。Described reader as shown in Figure 2, at least includes the second single-chip microcomputer, the second radio frequency chip and the second working power supply; Authentication, the second working power supply provides working power for each module inside the reader; the second single-chip microcomputer stores relevant information of the reader itself and relevant information of the corresponding key card, and these information at least include: the ID number of the reader itself, The alias and internal information access key K1 correspond to the ID number and alias of the key card, and the key K3 shared by the reader and the corresponding key card for mutual authentication.
钥匙卡和阅读器之间的相互认证过程为一个四通认证过程,如图5、图6和图7所示,具体包括:第一步,钥匙卡以固定周期对外发送自身的别名;第二步,阅读器接收到钥匙卡发送的别名后,将此钥匙卡别名与第二单片机内存储的所有钥匙卡别名进行比对,若找不到匹配的,则认证过程结束;若找到匹配的,则阅读器向钥匙卡发送自身的别名;第三步,钥匙卡接收到阅读器发送的别名后,将此阅读器别名与第一单片机内存储的所有阅读器别名进行比对,若找不到匹配的,则认证过程结束;若找到匹配的,则产生一个随机数RA并以明文方式发送给阅读器;第四步,阅读器将接收到的随机数RA与自身产生的随机数RB以及自身的ID号IDA组合成一个数据包(RA,RB,IDA),并采用共用密钥K3和流密码加密算法进行加密形成令牌1后发送给钥匙卡;第五步,钥匙卡对接收到的令牌1采用共用密钥K3和对应的流密码解密算法解密,还原出对应的RA’,RB’和IDA’,若RA’=RA且IDA’在第一单片机中存储的所有阅读器ID号能找到匹配项,则将RB’与自身ID号IDB组合成数据包(RB’,IDB),并采用K3和流密码加密算法进行加密形成令牌2后发送给有源射频识别阅读器;否则认证结束;第六步,阅读器对接收到的令牌2采用共用密钥K3和对应的流密码解密算法解密,还原出对应的RB’’和IDB’,若RB’’=RB且IDB’在第二单片机中存储的所有钥匙卡ID号能找到匹配项,则认证成功,阅读器相电动门锁发送开锁命令;否则结束认证。The mutual authentication process between the key card and the reader is a four-way authentication process, as shown in Figure 5, Figure 6 and Figure 7, which specifically includes: the first step, the key card sends its own alias to the outside at a fixed period; the second Step 1: After the reader receives the alias sent by the key card, it compares the alias of the key card with all the aliases of the key card stored in the second microcontroller. If no match is found, the authentication process ends; if a match is found, Then the reader sends its own alias to the key card; in the third step, after the key card receives the alias sent by the reader, it compares the alias of the reader with all the aliases of the readers stored in the first microcontroller, if no If a match is found, the authentication process ends; if a match is found, a random number RA is generated and sent to the reader in plain text; in the fourth step, the reader combines the received random number RA with the random number RB generated by itself and its own The ID number IDA is combined into a data packet (RA, RB, IDA), and encrypted with the common key K3 and the stream cipher encryption algorithm to form token 1 and then sent to the key card; the fifth step, the key card Token 1 is decrypted using the common key K3 and the corresponding stream cipher decryption algorithm, and the corresponding RA', RB' and IDA' are restored. If RA'=RA and IDA' stores all reader ID numbers in the first microcontroller If a matching item can be found, then RB' and its own ID number IDB are combined into a data packet (RB', IDB), and encrypted with K3 and stream cipher encryption algorithm to form token 2 and then sent to the active radio frequency identification reader; otherwise The authentication is over; in the sixth step, the reader decrypts the received token 2 using the common key K3 and the corresponding stream cipher decryption algorithm, and restores the corresponding RB'' and IDB', if RB''=RB and IDB' All key card ID numbers stored in the second single-chip microcomputer can find matching items, then the authentication is successful, and the reader sends an unlock command to the electric door lock; otherwise, the authentication is terminated.
本发明提供的基于有源射频识别的电动门锁控制系统,具有如下有益效果:The electric door lock control system based on active radio frequency identification provided by the present invention has the following beneficial effects:
本发明采用有源射频识别技术,其钥匙卡采用有源射频识别标签,钥匙卡在离门1.0~1.5米的距离范围内能使门锁自动感应并打开,方便客户使用;钥匙卡采用有源标签,采用“四通相互认证”,以随机数和流密码作为认证安全的保证,可以防止重放攻击、跟踪攻击、阻断和篡改攻击;系统提供钥匙卡管理功能,为每把钥匙取别名,当钥匙卡丢失后,在锁体中找到相应的别名,并将其删除,此后,该钥匙卡则无法开门;阅读器平时处于监听状态,钥匙卡以固定周期唤醒一次,并发送自身的别名,由阅读器决定是否进行认证,减少钥匙卡电量消耗;钥匙卡可以采用个性化外形设计。The present invention adopts active radio frequency identification technology, and its key card adopts active radio frequency identification tag, and the key card can make the door lock automatically sense and open within the distance range of 1.0-1.5 meters away from the door, which is convenient for customers to use; the key card adopts active The label adopts "four-way mutual authentication" and uses random numbers and stream ciphers as the guarantee of authentication security, which can prevent replay attacks, tracking attacks, blocking and tampering attacks; the system provides key card management functions and aliases for each key , when the key card is lost, find the corresponding alias in the lock body and delete it. After that, the key card cannot open the door; the reader is usually in the monitoring state, and the key card wakes up once in a fixed period and sends its own alias , the reader decides whether to authenticate, reducing the power consumption of the key card; the key card can be designed in a personalized shape.
附图说明Description of drawings
图1是本发明提供的基于有源射频识别的电动门锁控制系统中钥匙卡的结构示意图。Fig. 1 is a schematic structural diagram of a key card in an electric door lock control system based on active radio frequency identification provided by the present invention.
图2是本发明提供的基于有源射频识别的电动门锁控制系统中阅读器的结构示意图。Fig. 2 is a structural diagram of a reader in the active radio frequency identification-based electric door lock control system provided by the present invention.
图3是本发明提供的基于有源射频识别的电动门锁控制系统中钥匙卡信息格式。Fig. 3 is the key card information format in the electric door lock control system based on active radio frequency identification provided by the present invention.
图4是本发明提供的基于有源射频识别的电动门锁控制系统中阅读器信息格式。Fig. 4 is the information format of the reader in the active radio frequency identification-based electric door lock control system provided by the present invention.
图5是本发明提供的基于有源射频识别的电动门锁控制系统工作时钥匙卡与阅读器相互认证过程示意图。Fig. 5 is a schematic diagram of the mutual authentication process between the key card and the reader when the active radio frequency identification-based electric door lock control system provided by the present invention works.
图6是是本发明提供的基于有源射频识别的电动门锁控制系统工作时钥匙卡与阅读器相互认证过程中阅读器流程示意图。Fig. 6 is a flow diagram of the reader in the process of mutual authentication between the key card and the reader when the active radio frequency identification-based electric door lock control system of the present invention is working.
图7是是是本发明提供的基于有源射频识别的电动门锁控制系统工作时钥匙卡与阅读器相互认证过程中钥匙卡流程示意图。Fig. 7 is a schematic flow diagram of the key card during the mutual authentication process between the key card and the reader when the active radio frequency identification-based electric door lock control system of the present invention is working.
具体实施方式detailed description
基于有源射频识别的电动门锁控制系统,包括钥匙卡和阅读器,所述钥匙卡和阅读器为有源射频识别钥匙卡和射频识别阅读器。The electric door lock control system based on active radio frequency identification includes a key card and a reader, and the key card and reader are an active radio frequency identification key card and a radio frequency identification reader.
所述钥匙卡如图1所示,至少包括第一单片机、第一射频芯片和第一工作电源;第一射频芯片负责与阅读器进行相互认证方面的通信,第一单片机负责与阅读器进行相互认证,第一工作电源为钥匙卡内部各模块提供工作电源;第一单片机内存储有钥匙卡自身的相关信息和对应阅读器的相关信息,这些信息至少包括:所述钥匙卡自身的ID号、别名和内部信息访问密钥K2,对应阅读器的ID号和别名,以及钥匙卡和对应阅读器相互认证共用的密钥K3。Described key card is as shown in Figure 1, at least comprises the first single-chip microcomputer, the first radio frequency chip and the first working power supply; Authentication, the first working power supply provides working power for each module inside the key card; the relevant information of the key card itself and the relevant information of the corresponding reader are stored in the first single-chip microcomputer, and these information include at least: the ID number of the key card itself, The alias and internal information access key K2 correspond to the ID number and alias of the reader, and the key K3 shared by the key card and the corresponding reader for mutual authentication.
所述阅读器如图2所示,至少包括第二单片机、第二射频芯片和第二工作电源;第二射频芯片负责与钥匙卡进行相互认证方面的通信,第二单片机负责与钥匙卡进行相互认证,第二工作电源为阅读器内部各模块提供工作电源;第二单片机内存储有阅读器自身的相关信息和对应钥匙卡的相关信息,这些信息至少包括:所述阅读器自身的ID号、别名和内部信息访问密钥K1,对应钥匙卡的ID号和别名,以及所述阅读器和对应钥匙卡相互认证共用的密钥K3。Described reader as shown in Figure 2, at least includes the second single-chip microcomputer, the second radio frequency chip and the second working power supply; Authentication, the second working power supply provides working power for each module inside the reader; the second single-chip microcomputer stores relevant information of the reader itself and relevant information of the corresponding key card, and these information at least include: the ID number of the reader itself, The alias and internal information access key K1 correspond to the ID number and alias of the key card, and the key K3 shared by the reader and the corresponding key card for mutual authentication.
钥匙卡和阅读器之间的相互认证过程为一个四通认证过程,如图5、图6和图7所示,具体包括:第一步,钥匙卡以固定周期对外发送自身的别名;第二步,阅读器接收到钥匙卡发送的别名后,将此钥匙卡别名与第二单片机内存储的所有钥匙卡别名进行比对,若找不到匹配的,则认证过程结束;若找到匹配的,则阅读器向钥匙卡发送自身的别名;第三步,钥匙卡接收到阅读器发送的别名后,将此阅读器别名与第一单片机内存储的所有阅读器别名进行比对,若找不到匹配的,则认证过程结束;若找到匹配的,则产生一个随机数RA并以明文方式发送给阅读器;第四步,阅读器将接收到的随机数RA与自身产生的随机数RB以及自身的ID号IDA组合成一个数据包(RA,RB,IDA),并采用共用密钥K3和流密码加密算法进行加密形成令牌1后发送给钥匙卡;第五步,钥匙卡对接收到的令牌1采用共用密钥K3和对应的流密码解密算法解密,还原出对应的RA’,RB’和IDA’,若RA’=RA且IDA’在第一单片机中存储的所有阅读器ID号能找到匹配项,则将RB’与自身ID号IDB组合成数据包(RB’,IDB),并采用K3和流密码加密算法进行加密形成令牌2后发送给有源射频识别阅读器;否则认证结束;第六步,阅读器对接收到的令牌2采用共用密钥K3和对应的流密码解密算法解密,还原出对应的RB’’和IDB’,若RB’’=RB且IDB’在第二单片机中存储的所有钥匙卡ID号能找到匹配项,则认证成功,阅读器相电动门锁发送开锁命令;否则结束认证。The mutual authentication process between the key card and the reader is a four-way authentication process, as shown in Figure 5, Figure 6 and Figure 7, which specifically includes: the first step, the key card sends its own alias to the outside at a fixed period; the second Step 1: After the reader receives the alias sent by the key card, it compares the alias of the key card with all the aliases of the key card stored in the second microcontroller. If no match is found, the authentication process ends; if a match is found, Then the reader sends its own alias to the key card; in the third step, after the key card receives the alias sent by the reader, it compares the alias of the reader with all the aliases of the readers stored in the first microcontroller, if no If a match is found, the authentication process ends; if a match is found, a random number RA is generated and sent to the reader in plain text; in the fourth step, the reader combines the received random number RA with the random number RB generated by itself and its own The ID number IDA is combined into a data packet (RA, RB, IDA), and encrypted with the common key K3 and the stream cipher encryption algorithm to form token 1 and then sent to the key card; the fifth step, the key card Token 1 is decrypted using the common key K3 and the corresponding stream cipher decryption algorithm, and the corresponding RA', RB' and IDA' are restored. If RA'=RA and IDA' stores all reader ID numbers in the first microcontroller If a matching item can be found, then RB' and its own ID number IDB are combined into a data packet (RB', IDB), and encrypted with K3 and stream cipher encryption algorithm to form token 2 and then sent to the active radio frequency identification reader; otherwise The authentication is over; in the sixth step, the reader decrypts the received token 2 using the common key K3 and the corresponding stream cipher decryption algorithm, and restores the corresponding RB'' and IDB', if RB''=RB and IDB' All key card ID numbers stored in the second single-chip microcomputer can find matching items, then the authentication is successful, and the reader sends an unlock command to the electric door lock; otherwise, the authentication is terminated.
所述钥匙卡还具有一个USB接口,上位机采用钥匙卡内部信息访问密钥K2通过所述USB接口能够对第一单片机内存储的除钥匙卡自身ID号之外的其它信息进行管理,包括增加、删除和修改。所述阅读器还具有一个USB接口,上位机采用阅读器内部信息访问密钥K1通过所述USB接口能够对第二单片机内存储的除阅读器自身ID号之外的其它信息进行管理,包括增加、删除和修改。The key card also has a USB interface, and the host computer adopts the key card internal information access key K2 to manage other information stored in the first single-chip microcomputer except the ID number of the key card itself through the USB interface, including adding , delete and modify. The reader also has a USB interface, and the host computer uses the reader internal information access key K1 to manage other information stored in the second single-chip microcomputer except the ID number of the reader itself through the USB interface, including adding , delete and modify.
钥匙卡信息的管理采用登记制度。一方面,系统支持多个钥匙卡开同一把锁,那么这些钥匙卡需要在电动锁的阅读器里进行登记,在阅读器里面应保存所有合法的钥匙卡的信息;另一方面,一个钥匙卡也可以设置来打开多把锁,那么就需要将锁的信息在钥匙卡里面进行登记。The management of key card information adopts a registration system. On the one hand, the system supports multiple key cards to open the same lock, so these key cards need to be registered in the reader of the electric lock, and all legal key card information should be saved in the reader; on the other hand, a key card It can also be set to open multiple locks, then you need to register the lock information in the key card.
在阅读器里面保存的钥匙卡信息的格式如图3所示:包括钥匙卡ID号和钥匙卡别名。在钥匙卡中保存的阅读器的信息格式如图4所示:包括阅读器ID号、阅读器别名和阅读器和对应钥匙卡相互认证共用的秘钥K3。The format of the key card information stored in the reader is shown in Figure 3: including the key card ID number and key card alias. The information format of the reader saved in the key card is shown in Figure 4: it includes the ID number of the reader, the alias of the reader and the secret key K3 shared by the reader and the corresponding key card for mutual authentication.
每个钥匙卡都有一个ID,用于区分不同的钥匙卡,每个阅读器内登记的钥匙卡的ID是唯一的,阅读器正是通过对钥匙卡ID的识别来决定是否要开锁,因此,钥匙卡ID是需要保密的。钥匙卡别名为该钥匙卡的名称,便于记忆,这个信息不用保密。在感应锁出厂时,配备若干个钥匙卡,这些钥匙卡ID互不相同,别名一般取一串长度较长的随机数,并且均已在感应锁阅读器中登记。用户可以通过上位机软件对这些别名进行修改。Each key card has an ID, which is used to distinguish different key cards. The ID of the key card registered in each reader is unique. The reader decides whether to unlock the lock through the identification of the key card ID, so , the key card ID needs to be kept confidential. The key card alias is the name of the key card, which is easy to remember, and this information does not need to be kept secret. When the induction lock leaves the factory, it is equipped with several key cards. These key card IDs are different from each other. The aliases generally take a string of random numbers with a long length, and all of them have been registered in the induction lock reader. Users can modify these aliases through the host computer software.
删除钥匙卡:当某一个钥匙卡丢失时,需要用上位机软件通过USB接口,连接阅读器,在上位机软件中,输入阅读器内部信息访问密码K1,显示阅读器中保存的所有钥匙卡信息,将丢失的那个钥匙卡信息删除,这样,即使有人拾到这个钥匙卡,也无法打开感应锁。Delete key card: When a certain key card is lost, it is necessary to use the host computer software to connect the reader through the USB interface. In the host computer software, enter the internal information access password K1 of the reader to display all the key card information saved in the reader , delete the lost key card information, so that even if someone picks up the key card, the induction lock cannot be opened.
增加钥匙卡:首先,用上位机与要增加的空钥匙卡连接Add key card: First, use the host computer to connect with the empty key card to be added
用上位机与阅读器连接,输入阅读器内部信息访问密码K1,显示阅读器中保存的所有钥匙卡信息,将要增加的钥匙卡信息写入阅读区;同时,用上位机与要增加的钥匙卡连接,设置钥匙卡ID号、别名、内部信息访问密码K2和钥匙卡和对应阅读器相互认证共用的密钥K3,然后在要增加的钥匙卡中输入对应阅读器信息。这样,这个钥匙卡就可以开启对应的电动锁。Connect the reader with the host computer, enter the internal information access password K1 of the reader, display all the key card information saved in the reader, write the key card information to be added into the reading area; at the same time, use the host computer and the key card to be added Connect, set the key card ID number, alias, internal information access password K2 and the key K3 shared by the key card and the corresponding reader for mutual authentication, and then enter the corresponding reader information in the key card to be added. In this way, the key card can open the corresponding electric lock.
同一钥匙卡开多把锁:过程与增加钥匙卡类似,在需要打开的那个锁的阅读器里,对钥匙卡进行登记即可。Open multiple locks with the same key card: the process is similar to adding a key card, just register the key card in the reader of the lock that needs to be opened.
阅读器内部信息访问密码K1,是上位机通过USB接口读写阅读器时,需要输入的密码,保存在阅读器中,可以读取阅读器ID和认证密钥K3,也可以进行钥匙卡登记;钥匙卡内部信息访问秘钥K2,是上位机通过USB接口读写钥匙卡时,需要输入的密码,保存在钥匙卡中,可以读取钥匙卡ID,也可以进行阅读器登记;K3是用于钥匙卡与阅读器相互认证时使用的密钥,保存在钥匙卡和阅读器中。K1、K2、K3都是出厂时就设置好的,客户应该保密,K1、K2一般情况下无需重设,必要时可以修改,K3则宜定期修改,K3修改后,相应钥匙卡里面登记的阅读器信息中的K3也应修改。The internal information access password K1 of the reader is the password that needs to be input when the host computer reads and writes the reader through the USB interface. It is stored in the reader, and can read the reader ID and authentication key K3, and can also register the key card; Key card internal information access secret key K2 is the password that needs to be input when the host computer reads and writes the key card through the USB interface. It is stored in the key card and can read the key card ID and register the reader; K3 is used for The key used for mutual authentication between the key card and the reader is stored in the key card and the reader. K1, K2, and K3 are all set at the factory, and customers should keep them secret. K1, K2 generally do not need to be reset, and can be modified if necessary. K3 should be modified regularly. After K3 is modified, the reading information registered in the corresponding key card K3 in the device information should also be modified.
所述钥匙卡还具有第一Flash存储芯片,第一单片机内存储的所有信息均备份存储至第一Flash存储芯片中,以防止钥匙卡掉电造成的信息丢失。所述阅读器还具有第二Flash存储芯片,第二单片机内存储的所有信息均备份存储至第二Flash存储芯片中,以防止阅读器掉电造成的信息丢失。The key card also has a first Flash storage chip, and all information stored in the first single-chip microcomputer is backed up and stored in the first Flash storage chip, so as to prevent information loss caused by power failure of the key card. The reader also has a second Flash storage chip, and all information stored in the second single-chip microcomputer is backed up and stored in the second Flash storage chip, so as to prevent loss of information caused by power failure of the reader.
所述钥匙卡第一工作电源采用普通电池或可充电电池,所述可充电电池能够通过所述USB接口进行充电。The first working power supply of the key card is an ordinary battery or a rechargeable battery, and the rechargeable battery can be charged through the USB interface.
所述钥匙卡还具有一个低电压指示灯,当第一工作电源的工作电压低于预先设置的最低安全工作电压阈值时,所述低电压指示灯被点亮,以提示用户对钥匙卡进行更换第一工作电源或对第一工作电源进行充电。The key card also has a low-voltage indicator light, and when the working voltage of the first working power source is lower than the preset minimum safe working voltage threshold, the low-voltage indicator light is lit to prompt the user to replace the key card The first working power supply or charge the first working power supply.
所述阅读器还具有显示电动门锁开关状态的蜂鸣器和/或指示灯,以提供显示电动门锁开关状态的声和/或光信号。The reader also has a buzzer and/or an indicator light for displaying the state of the electric door lock switch, so as to provide an audible and/or light signal for displaying the state of the electric door lock switch.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410160586.8ACN103927803B (en) | 2014-04-21 | 2014-04-21 | Based on the Electrically operated gate lock control system of active radio frequency identification |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410160586.8ACN103927803B (en) | 2014-04-21 | 2014-04-21 | Based on the Electrically operated gate lock control system of active radio frequency identification |
| Publication Number | Publication Date |
|---|---|
| CN103927803A CN103927803A (en) | 2014-07-16 |
| CN103927803Btrue CN103927803B (en) | 2016-06-01 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410160586.8AExpired - Fee RelatedCN103927803B (en) | 2014-04-21 | 2014-04-21 | Based on the Electrically operated gate lock control system of active radio frequency identification |
| Country | Link |
|---|---|
| CN (1) | CN103927803B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107040289B (en)* | 2016-12-01 | 2021-06-08 | 广州捷泰通贸易有限公司 | Information transmission method and device based on near field communication |
| CN109429203A (en)* | 2017-08-22 | 2019-03-05 | 深圳光启智能光子技术有限公司 | Data transmission method, terminal, storage medium and processor |
| CN109118627A (en)* | 2018-08-15 | 2019-01-01 | 深圳市凯迪仕智能科技有限公司 | A kind of automatic lock control circuit and control method |
| CN110350645B (en)* | 2019-07-31 | 2022-07-19 | 密码精灵有限公司 | Charging control method, device, medium and control terminal for smart door lock |
| CN111028387A (en)* | 2019-11-06 | 2020-04-17 | 陕西助智信息技术有限公司 | Intelligent door lock with artificial intelligence and use method thereof |
| CN113032786B (en)* | 2019-12-25 | 2023-07-04 | 成都鼎桥通信技术有限公司 | Authentication credential transfer method, chip and device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2004044825A1 (en)* | 2002-11-06 | 2004-05-27 | American Express Travel Related Services Company, Inc. | A transparent transaction card |
| CN101131720A (en)* | 2006-08-23 | 2008-02-27 | 联想(北京)有限公司 | Radio recognizing computer security locking authentication system and method thereof |
| CN102034321A (en)* | 2009-09-25 | 2011-04-27 | 国民技术股份有限公司 | Authentication method and system used for wireless payment |
| CN103136819A (en)* | 2011-12-01 | 2013-06-05 | 联想(北京)有限公司 | Unlocking method for door control system based on mobile terminal and mobile terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2004044825A1 (en)* | 2002-11-06 | 2004-05-27 | American Express Travel Related Services Company, Inc. | A transparent transaction card |
| CN101131720A (en)* | 2006-08-23 | 2008-02-27 | 联想(北京)有限公司 | Radio recognizing computer security locking authentication system and method thereof |
| CN102034321A (en)* | 2009-09-25 | 2011-04-27 | 国民技术股份有限公司 | Authentication method and system used for wireless payment |
| CN103136819A (en)* | 2011-12-01 | 2013-06-05 | 联想(北京)有限公司 | Unlocking method for door control system based on mobile terminal and mobile terminal |
| Publication number | Publication date |
|---|---|
| CN103927803A (en) | 2014-07-16 |
| Publication | Publication Date | Title |
|---|---|---|
| CN103927803B (en) | Based on the Electrically operated gate lock control system of active radio frequency identification | |
| ES2919776T3 (en) | Authorization control for an anti-theft security system | |
| ES2392387T3 (en) | Electromechanical lock | |
| CN205910748U (en) | A smart card access control system | |
| US9690916B2 (en) | Multi-function identification system and operation method thereof | |
| CN105006052B (en) | An access control bracelet with a positioning function, an intelligent access control system, and a method of use thereof | |
| CN203490747U (en) | Multidirectional intelligent access control system | |
| CN100565562C (en) | Electronic label security authentication method | |
| CN103226856B (en) | Multi-identification based security system | |
| KR20110096576A (en) | Access identification and control unit | |
| CN109472910A (en) | A kind of quantum cryptography chip intelligent lock | |
| CN102852400A (en) | Coded lock system based on USB (universal serial bus) key and authentication control method thereof | |
| WO2013026293A1 (en) | Intelligent management recognition system for remotely controlling hotel fingerprint storage cabinet and management method thereof | |
| CN102467774B (en) | Password system with anti-skimming function | |
| CN208569672U (en) | Fingerprint Biometric Smart IC Card and Fingerprint Identification System | |
| CN106204812A (en) | Electronic lock and unlocking verification method thereof | |
| CN104715533A (en) | Method for unlocking door lock by matching code by virtue of dynamic fingerprint of mobile terminal | |
| JP5785013B2 (en) | Lock system | |
| JP5847531B2 (en) | Management storage device for portable storage media | |
| CN108109241A (en) | Safe domestic intelligent cloud lock embedding grammar, system and the cloud lock of embedded SE modules | |
| CN203232480U (en) | Door control system | |
| CN104157048A (en) | Intelligent lock | |
| CN100483443C (en) | Biological key and biological lock | |
| CN205176969U (en) | Password access control system | |
| CN2818698Y (en) | Biological key and lock |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20160601 Termination date:20190421 | |
| CF01 | Termination of patent right due to non-payment of annual fee |