Intelligent lock system based on identity card recognition
By introducing a dual-factor authentication mechanism of ID card UID number and identity information in the smart lock system, the security risks of new ID cards being unlocked after the ID card is lost in the existing technology are solved, and the security of door locks is significantly improved.
Patent Information
- Application Number
- CN202411535458.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2025-02-18
AI Technical Summary
In the prior art, only the identity information of the ID card is used to unlock, resulting in the user losing his ID card, and the new ID card can also be unlocked, causing security risks.
Design an intelligent lock system based on identity card identification, which is connected to the door lock reading module, unlocking execution module and storage module through the first controller, generates the ID card UID number to obtain instructions and identity information acquisition instructions, and obtains the UID of the ID card The number and identity information are compared with the pre-stored ID card information in the storage module. If the comparison is successful, a lock-opening instruction will be issued.
Through dual authentication of the UID number of the identity information and ID card, it ensures that only the ID card used by the user can unlock the door lock, improving the security of door lock unlocking.
Smart Images

Figure CN119479124A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of security technology, and in particular to a smart lock system based on identity card recognition. Background Art
[0002] With the acceleration of digitalization, identity authentication has become the cornerstone of information security. Especially in access control systems that require strict identity authentication, the use of ID cards to unlock has become more and more common, such as in government service centers, corporate factories, schools, property communities, confidential units and other places. The ID card access control system not only improves security, but also greatly improves traffic efficiency.
[0003] However, in the prior art, only the identity information of the ID card is used to issue the unlocking command. For example, the publication number CN105306217A "A Check-in Management Method and System" mentions that after the user swipes the ID card on the card reader, the card reader obtains the ID card information and sends it to the registration device for confirmation. If it is correct, the door lock device is unlocked. However, once the user loses the ID card, even if the user has applied for a new ID card, the door lock can be unlocked by swiping the identity information after obtaining the lost ID card, which poses a huge safety hazard to the user. Summary of the invention
[0004] Based on this, in order to solve the above technical problems, a smart lock system based on ID card recognition is provided to solve the problem of low security of the prior art.
[0005] In a first aspect, a smart lock system based on ID card recognition is provided, the system comprising: a first controller, a storage module, a door lock card reading module, and an unlocking execution module; the first controller is connected to the door lock card reading module, the unlocking execution module, and the storage module respectively;
[0006] The first controller is used to generate an ID card UID number acquisition instruction and an identity information acquisition instruction in response to an unlocking instruction sent by a user and send them to the door lock card reading module;
[0007] The door lock card reading module is used to respond to the ID card UID number acquisition instruction and the identity information acquisition instruction to acquire the UID number and the first identity information of the first ID card and upload them to the first controller;
[0008] The storage module pre-stores the user's second ID card UID number and corresponding second identity information. The first controller is also used to compare the UID number and first identity information of the first ID card sent by the door lock card reading module with the second ID card UID number and corresponding second identity information in the storage module. If the comparison is successful, an unlocking command is sent to the unlocking execution module to open the smart lock.
[0009] In the above solution, optionally, the door lock card reading module includes a second controller, an ID card decoding module, and a radio frequency card reading module;
[0010] The first controller is connected to the second controller and the ID card decoding module respectively, the second controller is connected to the radio frequency card reading module, and the ID card decoding module is connected to the second controller;
[0011] The second controller is used to receive the identity card UID number acquisition instruction sent by the first controller and the authenticated identity information acquisition instruction sent by the identity decoding module, and send them to the radio frequency card reading module; the second controller is also used to send the encrypted identity information sent by the radio frequency module to the identity card decoding module, and send the identity card UID number sent by the radio frequency module to the first controller;
[0012] The radio frequency card reader module is used to obtain the UID number and encrypted identity information from the ID card according to the ID card UID number acquisition instruction and identity information acquisition instruction;
[0013] The ID card decoding module is used to receive the identity information acquisition instruction sent by the first controller and after authentication, send the authenticated identity information acquisition instruction to the second controller; it is also used to receive the encrypted identity information from the ID card sent by the second controller and decrypt it, and send the decrypted identity information to the first controller.
[0014] In the above solution, optionally, the system further includes a buzzer;
[0015] The first controller is also used to compare the UID number and first identity information of the first ID card sent by the door lock card reading module with the UID number and corresponding second identity information of the second ID card in the storage module. If one of the comparisons is unsuccessful, an alarm command is sent to the buzzer.
[0016] In the above scheme, further optionally, the first controller is also connected to the mobile terminal. When the first controller compares the UID number and the first identity information of the first ID card sent by the door lock card reading module with the second ID card UID number and the corresponding second identity information in the storage module, if one of the comparisons is unsuccessful, an alarm message is sent to the mobile terminal.
[0017] In the above solution, further optionally, the first controller is also used to send abnormal alarm information to the mobile terminal in response to abnormal information of the door lock card reading module.
[0018] In the above scheme, optionally, the identity information includes ID number, name and date of birth.
[0019] In the above solution, optionally, the system further includes a power supply module; the power supply module is respectively connected to the first controller, the storage module, the door lock card reading module and the unlocking execution unit.
[0020] In the above scheme, optionally, the first control is also used to respond to the unlocking instruction of the mobile terminal and send an unlocking instruction to the unlocking execution unit to open the smart lock.
[0021] This application has at least the following beneficial effects:
[0022] In this application, after the user issues an unlocking instruction, the first controller generates an ID card UID number acquisition instruction and an identity information acquisition instruction, obtains the UID number and the first identity information of the first ID card through the door lock card reader module, and compares them with the UID number and the second identity information of the pre-stored second ID card. If both comparisons are successful, the unlocking instruction is issued to the unlocking execution unit. Therefore, even if the user loses his ID card, the UID number of the new ID card that the user has replaced has changed, and the new UID number has been updated in the storage module. Therefore, through the dual authentication of verifying the identity information and the UID number of the ID card, only the ID card currently used by the user can punch in the door lock, which improves the security of unlocking the door lock. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 A module architecture block diagram of a smart lock system based on ID card recognition provided by one embodiment of the present application;
[0024] Figure 2 A detailed module architecture block diagram of a smart lock system based on ID card recognition provided in one embodiment of the present application. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0026] At present, the chip of the second-generation ID card in my country stores personal information. Once lost, it can only be reported lost but cannot be cancelled. However, the old ID card that has been reported lost can still be used. In the prior art, the ID card information is usually used to unlock the door, which means that the lost ID card can also identify the correct identity information to unlock the door. Therefore, this makes it more dangerous to unlock the door using only the identity information of the ID card.
[0027] In one embodiment, Figure 1As shown, a smart lock system based on ID card recognition is provided, the system comprising: a first controller, a storage module, a door lock card reading module, and an unlocking execution module; the first controller is connected to the door lock card reading module, the unlocking execution module and the storage module respectively;
[0028] The first controller is used to generate an ID card UID number acquisition instruction and an identity information acquisition instruction in response to an unlocking instruction sent by a user and send them to the door lock card reading module;
[0029] The door lock card reading module is used to respond to the ID card UID number acquisition instruction and the identity information acquisition instruction to acquire the UID number and the first identity information of the first ID card and upload them to the first controller;
[0030] The storage module pre-stores the user's second ID card UID number and corresponding second identity information. The first controller is also used to compare the UID number and first identity information of the first ID card sent by the door lock card reading module with the second ID card UID number and corresponding second identity information in the storage module. If the comparison is successful, an unlocking command is sent to the unlocking execution module to open the smart lock.
[0031] In this embodiment, after the first controller receives the unlock command sent by the user, if the first controller fails to successfully compare the UID number of the first ID card and the first identity information obtained within a preset time period, it is deemed that the unlocking failed and the user is required to resend the unlocking command.
[0032] In the above-mentioned smart lock system based on ID card recognition, after the user issues an unlocking instruction, the first controller generates an ID card UID number acquisition instruction and an identity information acquisition instruction, obtains the UID number and the first identity information of the first ID card through the door lock card reader module, and compares them with the UID number and the second identity information of the pre-stored second ID card. If both are successfully compared, the unlocking instruction is issued to the unlocking execution unit. Therefore, even if the user loses his ID card, the UID number of the new ID card issued by the user has changed, and the new UID number is updated in the storage module. Therefore, through the dual authentication of verifying the identity information and the UID number of the ID card, only the ID card currently used by the user can punch in the door lock, which improves the security of unlocking the door lock.
[0033] In one embodiment, the door lock card reading module includes a second controller, an ID card decoding module, and a radio frequency card reading module;
[0034] The first controller is connected to the second controller and the ID card decoding module respectively, the second controller is connected to the radio frequency card reading module, and the ID card decoding module is connected to the second controller;
[0035] The second controller is used to receive the identity card UID number acquisition instruction sent by the first controller and the authenticated identity information acquisition instruction sent by the identity decoding module, and send them to the radio frequency card reading module; the second controller is also used to send the encrypted identity information sent by the radio frequency module to the identity card decoding module, and send the identity card UID number sent by the radio frequency module to the first controller;
[0036] The radio frequency card reader module is used to obtain the UID number and encrypted identity information from the ID card according to the ID card UID number acquisition instruction and identity information acquisition instruction;
[0037] The ID card decoding module is used to receive the identity information acquisition instruction sent by the first controller and after authentication, send the authenticated identity information acquisition instruction to the second controller; it is also used to receive the encrypted identity information from the ID card sent by the second controller and decrypt it, and send the decrypted identity information to the first controller.
[0038] Among them, generally speaking, different instruction sets are used to read the printed information on the front and back of the ID card and to read the ID card UID number. The instruction set for reading the printed information on the front and back of the ID card starts with AAAAAA, and the instruction for reading the ID card UID number starts with C0C1 C2 C3. A proprietary instruction C0 C1 C2 C300 04 14CC is designed. The instruction sent by the first controller PC_TX will simultaneously reach the ID card decoding module (SAM module) serial port receiving port SAM_UART_RX and the MCU serial port 0 receiving port MCU_UART0_RX. If the upper computer sends an instruction starting with AA AA AA, the ID card decoding module (SAM module) will make a correct processing response after receiving it. After the second controller receives the instruction, the firmware program will filter it and will not make any processing response; if the first controller sends an instruction starting with C0 C1 C2 C300 04 14CC, the ID card decoding module (SAM module) will not make any response after receiving it. After the second controller receives the instruction, the firmware program will filter it and it belongs to the instruction set to be processed. By communicating with the radio frequency chip circuit, the UID number of the ID card is read.
[0039] The ID card decoding module (SAM module) of this application adopts the fourth-generation SAM decoding module (embedded resident ID card verification security control module) officially mass-produced by the Ministry of Public Security in January 2024. The fourth-generation SAM decoding module is very different from the first three generations of SAM decoding modules released by the Ministry of Public Security. The first three generations of decoding modules can directly read the ID card after power-on. After the fourth-generation SAM decoding module is powered on, it is necessary to send a startup activation code before reading the ID card. Therefore, this application presets the activation code in the second controller. At the beginning of startup, the second control module serial port 1 sends the startup activation code to the fourth-generation SAM module serial port through the serial communication switching circuit to activate the fourth-generation SAM module. At this time, the fourth-generation SAM module is in a serial communication state.
[0040] In one embodiment, Figure 2 As shown, the system also includes a buzzer;
[0041] The first controller is also used to compare the UID number and first identity information of the first ID card sent by the door lock card reading module with the UID number and corresponding second identity information of the second ID card in the storage module. If one of the comparisons is unsuccessful, an alarm command is sent to the buzzer.
[0042] In this embodiment, if the identity information and / or UID information of the ID card used by the user when unlocking is incorrect, a buzzer is used to alarm and inform the user that the unlocking failed and the ID card used is wrong.
[0043] In one embodiment, Figure 2 As shown, the first controller is also connected to the mobile terminal. When the first controller compares the UID number and the first identity information of the first ID card sent by the door lock card reading module with the UID number and the corresponding second identity information of the second ID card in the storage module, if one of the comparisons is unsuccessful, an alarm message is sent to the mobile terminal.
[0044] In this embodiment, if the comparison is unsuccessful and the unlocking fails, an alarm message is sent to the mobile terminal so that the user can immediately understand the unlocking situation through the mobile terminal, determine whether a stranger has attempted to unlock the lock, and take timely countermeasures.
[0045] In one embodiment, the first controller is further configured to send abnormal alarm information to the mobile terminal in response to abnormal information of the door lock card reading module.
[0046] In this embodiment, if an abnormal situation occurs in the door lock card reading module, that is, it cannot work normally, an abnormal alarm message is sent to the mobile terminal to remind the user to repair it in time.
[0047] In one embodiment, the identity information includes ID number, name and date of birth.
[0048] In one embodiment, the system further includes a power module; the power module is respectively connected to the first controller, the storage module, the door lock card reading module and the unlocking execution unit.
[0049] In one embodiment, the first control is also used to respond to an unlocking instruction from the mobile terminal and send an unlocking instruction to the unlocking execution unit to open the smart lock.
[0050] In this embodiment, if the user loses his ID card and has not had time to reissue it, the UID number of the lost ID card number is deleted from the storage system, and the mobile terminal can be used to directly send an unlocking command to the first controller to open the door lock.
[0051] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0052] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A smart lock system based on ID card recognition, characterized in that: The system comprises: a first controller, a storage module, a door lock card reading module, and an unlocking execution module; the first controller is connected to the door lock card reading module, the unlocking execution module and the storage module respectively; The first controller is used to generate an ID card UID number acquisition instruction and an identity information acquisition instruction in response to an unlocking instruction sent by a user and send them to the door lock card reading module; The door lock card reading module is used to respond to the ID card UID number acquisition instruction and the identity information acquisition instruction to acquire the UID number and the first identity information of the first ID card and upload them to the first controller; The storage module pre-stores the user's second ID card UID number and corresponding second identity information. The first controller is also used to compare the UID number and first identity information of the first ID card sent by the door lock card reading module with the second ID card UID number and corresponding second identity information in the storage module. If the comparison is successful, an unlocking command is sent to the unlocking execution module to open the smart lock.
2. The smart lock system for ID card recognition according to claim 1, characterized in that: The door lock card reading module includes a second controller, an ID card decoding module, and a radio frequency card reading module; The first controller is connected to the second controller and the ID card decoding module respectively, the second controller is connected to the radio frequency card reading module, and the ID card decoding module is connected to the second controller; The second controller is used to receive the identity card UID number acquisition instruction sent by the first controller and the authenticated identity information acquisition instruction sent by the identity decoding module, and send them to the radio frequency card reading module; the second controller is also used to send the encrypted identity information sent by the radio frequency module to the identity card decoding module, and send the identity card UID number sent by the radio frequency module to the first controller; The radio frequency card reader module is used to obtain the UID number and encrypted identity information from the ID card according to the ID card UID number acquisition instruction and identity information acquisition instruction; The ID card decoding module is used to receive the identity information acquisition instruction sent by the first controller and after authentication, send the authenticated identity information acquisition instruction to the second controller; it is also used to receive the encrypted identity information from the ID card sent by the second controller and decrypt it, and send the decrypted identity information to the first controller.
3. The smart lock system for ID card recognition according to claim 1, characterized in that: The system also includes a buzzer; The first controller is also used to compare the UID number and first identity information of the first ID card sent by the door lock card reading module with the UID number and corresponding second identity information of the second ID card in the storage module. If one of the comparisons is unsuccessful, an alarm command is sent to the buzzer.
4. The smart lock system for ID card recognition according to claim 3 is characterized in that: The first controller is also connected to the mobile terminal. When the first controller compares the UID number and the first identity information of the first ID card sent by the door lock card reading module with the UID number and the corresponding second identity information of the second ID card in the storage module, if one of the comparisons is unsuccessful, an alarm message is sent to the mobile terminal.
5. The smart lock system for ID card recognition according to claim 4, characterized in that: The first controller is also used to send abnormal alarm information to the mobile terminal in response to abnormal information of the door lock card reading module.
6. The ID card recognition smart lock system according to claim 1, characterized in that: The identity information includes ID number, name and date of birth.
7. The smart lock system for ID card recognition according to claim 1, characterized in that: The system also includes a power module; the power module is connected to the first controller, the storage module, the door lock card reading module and the unlocking execution unit respectively.
8. The smart lock system for ID card recognition according to claim 1, characterized in that: The first control is also used to respond to the unlocking instruction of the mobile terminal and send an unlocking instruction to the unlocking execution unit to open the smart lock.
Citation Information
Patent Citations
Check-in management method and system
CN105306217A
Cited By
Artificial influence weather operation rocket projectile locking device and system and use method
CN120385256A