Authentication and unlocking method and system of digital door lock, electronic device and storage medium
Through the binding and biometric unlocking of digital keys and digital door locks, combined with the authentication of network authentication servers, the security and availability of existing digital door locks in the event of key loss, password leakage and battery exhaustion are solved, achieving higher security and reliability.
Patent Information
- Application Number
- CN202311125440.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-01
- Publication Date
- 2025-03-11
AI Technical Summary
Existing digital door locks are prone to the risk of theft when the key is lost, password leaked or forged, and cannot be used when the battery is exhausted.
Through the binding of digital keys and digital door locks, the digital keys are unlocked using biometric technology, and authenticated with a remote authentication server through network links to ensure that only certified digital door locks can be opened.
Improves the security of digital door locks, prevents the risk of theft in the event of key loss, password leakage and forgery, and ensures that the door lock can be used normally when the battery is exhausted.
Smart Images

Figure CN119600705A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an unlocking method and system, and in particular to an authentication and unlocking method and system for a digital door lock, an electronic device and a storage medium. Background Art
[0002] Traditional door locks are mainly unlocked by keys, but nowadays digital door locks are popular. There are two main ways to unlock digital door locks, including physical identification (such as keys, cards, passwords) and biometric identification (such as fingerprints, irises, and facial recognition).
[0003] Regarding physical identification of digital door locks, if the key is lost or the password is leaked, it will cause the risk of theft. Regarding physical identification of biometrics, the identification function is usually implemented on the digital door lock, and the door lock can be opened by forgery. In addition, most digital door locks are battery-powered, and they cannot be used if the battery is dead. Summary of the invention
[0004] In view of the above, it is necessary to provide a digital door lock authentication and unlocking method and system, electronic device and storage medium, which can connect to the Internet through a digital key after confirming a digital door lock, and unlock the door after passing the authentication.
[0005] An embodiment of the present invention provides an authentication and unlocking method for a digital door lock, which is applied to an electronic device, and includes: executing a device binding operation so that a digital key is bound to a digital door lock; unlocking the digital key; starting the digital door lock when the digital key is inserted into the digital door lock; determining whether the digital key is bound to the digital door lock; if the digital key is bound to the digital door lock, establishing a network link between the digital door lock and the digital key; determining whether the digital door lock has passed the authentication of a remote authentication server; and if the digital door lock has passed the authentication of the remote authentication server, performing an unlocking operation on the digital door lock.
[0006] An embodiment of the present invention provides an authentication and unlocking system for a digital door lock, comprising a digital key, a digital door lock, and a remote authentication server. The digital key is unlocked according to a biometric operation. According to a device binding operation, the digital key is bound to the digital door lock. The digital key is inserted into the digital door lock to start the digital door lock. The digital door lock determines whether the digital key is bound to the digital door lock. If the digital key is bound to the digital door lock, a network link is established between the digital door lock and the digital key. The remote authentication server determines whether the digital door lock passes the authentication. If the digital door lock passes the authentication, the remote authentication server notifies the digital door lock to perform an unlocking operation.
[0007] An embodiment of the present invention also provides an electronic device, including a binding module, a detection and activation module, and an unlocking module. The binding module is used to perform a device binding operation to bind a digital key to a digital door lock. The detection and activation module is used to detect that the digital key is inserted into the digital door lock to activate the digital door lock, and to determine whether the digital key is a bound device, and if the digital key is a bound device, to establish a network link between the digital door lock and the digital key. The unlocking module is used to determine whether the digital door lock has passed the authentication of a remote authentication server, and if the authentication is successful, the digital door lock performs an unlocking operation.
[0008] An embodiment of the present invention further provides a storage medium having a computer program stored thereon, and when the computer program is executed, the steps of the aforementioned digital door lock authentication and unlocking method are implemented.
[0009] Digital door lock authentication and unlocking method and system, electronic device and storage medium according to embodiments of the present invention BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 Schematic diagram of the digital door lock authentication and unlocking system according to an embodiment of the present invention.
[0011] Figure 2 is a schematic diagram of a digital key 110 according to an embodiment of the present invention.
[0012] Figure 3 1 is a schematic diagram of inserting a digital key 110 into a digital door lock 130 according to an embodiment of the present invention.
[0013] Figure 4 The digital door lock authentication and unlocking method of the embodiment of the present invention is
[0014] Flowchart of the steps.
[0015] Figure 5 It is a flowchart of the steps of device binding according to an embodiment of the present invention.
[0016] Figure 6 Schematic diagram of the hardware architecture of the electronic device according to an embodiment of the present invention.
[0017] Figure 7 is a functional block diagram of an electronic device according to an embodiment of the present invention.
[0018] Main component symbols
[0019] Digital door lock authentication and unlocking system 100 Digital Key 110 Biometric Components 111 Charging port 112 Anchor Point 113 Metal contact points 114、115、116 Digital door lock 130 Remote authentication server 150 Electronic Devices 200 processor 210 Memory 220 Digital door lock authentication and unlocking system 230 Binding Module 310 Detection and startup module 320 Unlocking module 330 Procedure S101..S107, S201..S205
[0020] The following specific implementation manner will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION
[0021] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0022] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. The embodiments described are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0023] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0024] It should be noted that the descriptions of "first", "second", etc. in the present invention are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0025] Figure 1 Schematic diagram of the digital door lock authentication and unlocking system according to an embodiment of the present invention. Figure 2 is a schematic diagram of a digital key 110 according to an embodiment of the present invention.
[0026] The digital door lock authentication and unlocking system 100 of the embodiment of the present invention includes a digital key 110, a digital door lock 130 and a remote authentication server 150. The digital key 110 mainly includes a biometric identification component 111, a charging port 112, a positioning point 113 and metal contact points 114, 115 and 116.
[0027] The biometric identification component 111 is used to activate the digital key 110 and identify the user, wherein the biometric identification can be fingerprint identification, iris identification, facial recognition and other technologies. The charging port 112 is used to charge the digital key 110. In addition to the contact charging method, wireless charging can also be used. The positioning point 113 is used to confirm that the digital key 110 has been fully inserted into the digital door lock 130. When the digital key 110 is inserted into the digital door lock 130, the protruding positioning point 113 will trigger the mechanism in the digital door lock 130, and the user can then turn the digital key 110.
[0028] Metal contact point 114 is ground (GND), and metal contact point 115 represents power (Current Condenser, VCC). Metal contact points 114 and 115 are mainly used to power charging port 112. Metal contact point 116 is used to transmit data between digital key 110 and digital door lock 130. Digital key 110 also provides a slot for inserting a Subscriber Identity Module (SIM) card to provide mobile network access capability.
[0029] Figure 3 1 is a schematic diagram of inserting a digital key 110 into a digital door lock 130 according to an embodiment of the present invention.
[0030] The digital door lock 130 has a row of metal springs on the inner side, which are mainly used to obtain power and data transmission. When the digital key 110 is inserted into the digital door lock 130, it must be rotated to contact the metal springs. The digital door lock 130 has a snap-on button inside. When the digital key 110 is fully inserted into the digital door lock 130, the positioning point 113 will press the snap-on button, and the digital key 110 can then be rotated.
[0031] refer to Figure 1 The functions of the remote authentication server 150 include storing binding data and unlocking authentication.
[0032] Before using the digital key 110, it must be bound to the digital door lock 130. In addition to storing one copy of the binding data in the digital key 110 and the digital door lock 130, another copy is stored in the remote authentication server 150.
[0033] In the embodiment of the present invention, one digital key can only be bound to one digital door lock, while one digital door lock can be bound to multiple digital keys.
[0034] When the digital key 110 is bound to the digital door lock 130 and the digital key 110 is inserted and the digital door lock 130 is started, the digital door lock 130 starts to interact with the remote authentication server 150 and can be opened when it is confirmed that the digital key 110 has obtained the authority.
[0035] Figure 4 This is a flowchart of the steps of the authentication and unlocking method of the digital door lock of the embodiment of the present invention, which is applied to the microcontroller of the electronic device. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.
[0036] Step S101, performing a device binding operation. Before use, the digital key 110 and the digital door lock 130 need to be bound, and the device binding operation only needs to be completed at the very beginning of use.
[0037] Step S102, unlocking the digital key 110. The user must activate the digital key 110 through biometric identification, and the digital key 110 can be activated and used only when the identification is successful.
[0038] The user unlocks the digital key 110 by biometric identification. The biometric identification technology can be any of the following: fingerprint identification, iris identification, face identification, and voiceprint identification. In addition to biometric identification, a password can also be used to unlock the key. After unlocking, the digital key 110 enters the unlocking mode.
[0039] In step S103 , the digital key 110 is inserted into the digital door lock 130 to start the digital door lock 130 . The user inserts the digital key 110 into the digital door lock 130 , confirms the positioning, turns the digital key 110 , and starts the digital door lock 130 .
[0040] Step S104, determine whether it has been bound. After the digital door lock 130 is started, it will confirm whether the inserted digital key 110 is a bound device. If the digital key 110 is not a bound device, the method process ends.
[0041] Step S105 , if the digital key 110 is a bound device, a network link is established between the digital door lock 130 and the digital key 110 .
[0042] Step S106, determining whether the digital door lock 130 has passed the authentication of the remote authentication server 150. After the digital door lock 130 and the digital key 110 establish a network link, the digital door lock 130 performs authentication with the remote authentication server 150. If the authentication fails, the method process ends.
[0043] Step S107, if the authentication is successful, the digital door lock 130 unlocks. When the digital door lock 130 passes the authentication of the remote authentication server 150, the remote authentication server 150 notifies the digital door lock 130 to unlock.
[0044] Figure 5This is a flowchart of the steps of device binding in an embodiment of the present invention, which is applied to a microcontroller of an electronic device. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.
[0045] Step S201 , long press a start button (not shown) of the digital key 110 for a fixed time, for example, 10 seconds, so that the digital key 110 enters a binding mode.
[0046] Step S202 , inserting the digital key 110 into the digital door lock 130 to activate the digital door lock 130 .
[0047] In step S203, the digital door lock 130 determines whether the digital key 110 is an approved device. The digital door lock 130D determines whether the digital key 110 is an approved device based on the hardware identifier (first hardware identifier) of the digital key 110, for example, whether the digital key 110 is from the same manufacturer. If the digital key 110 is not an approved device, the method process ends.
[0048] In step S204 , if the digital key 110 is an approved device, the digital door lock 130 replies with its hardware identifier (second hardware identifier) to the digital key 110 , and a network link is established between them.
[0049] Step S205, after establishing the network link, the digital door lock 130 transmits binding data to the remote authentication server 150 to complete the binding. The binding data includes the first hardware identifier and the second hardware identifier. After receiving the binding data, the remote authentication server 150 responds with a binding code to the digital door lock 130. The digital door lock 130 stores the binding code and transmits the binding code to the digital key 110, and then ends the process of this method.
[0050] Figure 6 2 is a schematic diagram of the hardware architecture of an electronic device according to an embodiment of the present invention. The electronic device 200, for example, a digital door lock, but not limited to, can communicate with each other through a system bus to connect a processor 210, a memory 220, and an authentication and unlocking system 230 of the digital door lock. Figure 6 The electronic device 200 is shown only with components 210 - 230 , but it is understood that implementing all of the components shown is not a requirement, and more or fewer components may alternatively be implemented.
[0051] The memory 220 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 220 can be an internal storage unit of the electronic device 200, such as a hard disk or memory of the electronic device 200. In other embodiments, the memory can also be an external storage device of the electronic device 200, such as a plug-in hard disk equipped on the electronic device 200, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory 220 can also include both the internal storage unit of the electronic device 200 and its external storage device. In this embodiment, the memory 220 is generally used to store the operating system and various application software installed in the electronic device 200, such as the program code of the digital door lock authentication and unlocking system 230. In addition, the memory 220 can also be used to temporarily store various data that have been output or will be output.
[0052] The processor 210 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 210 is generally used to control the overall operation of the electronic device 200. In this embodiment, the processor 210 is used to run the program code stored in the memory 220 or process data, for example, to run the authentication and unlocking system 230 of the digital door lock.
[0053] It should be noted that Figure 6 The electronic device 200 is merely illustrated as an example. In other embodiments, the electronic device 200 may also include more or fewer components, or have a different component configuration.
[0054] If the module / unit integrated in the electronic device 200 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory, random access memory, electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0055] Figure 7 2 is a functional block diagram of an electronic device according to an embodiment of the present invention, which is used to execute the authentication and unlocking method and system of a digital door lock. The authentication and unlocking method and system of a digital door lock according to an embodiment of the present invention can be implemented by a computer program in a storage medium, for example, a memory 220 in an electronic device 200. When the computer program implementing the method of the present invention is loaded into the memory 220 by the processor 210, the processor 210 of the device 200 is driven to execute the authentication and unlocking method and system of a digital door lock according to an embodiment of the present invention.
[0056] The electronic device 200 of the embodiment of the present invention includes a binding module 310 , a detection and activation module 320 , and an unlocking module 330 .
[0057] The binding module 310 performs a device binding operation to bind the digital key 110 to the digital door lock 130 .
[0058] The detection and activation module 320 activates the digital door lock 130 when the digital key 110 is detected to be inserted into the digital door lock 130. It should be noted that before the digital key 110 is inserted into the digital door lock 130, the user must first activate the digital key 110 through biometric identification, and it can be activated and used only when the identification is successful. The user unlocks the digital key 110 through biometric identification, and the biometric identification technology can be any of the following: fingerprint recognition, iris recognition, face recognition and voiceprint recognition. In addition to biometric identification, a password can also be used to unlock. After unlocking, the digital key 110 enters the unlocking mode.
[0059] The detection and activation module 320 determines whether the digital key 110 is a bound device, and if the digital key 110 is a bound device, establishes a network link between the digital door lock 130 and the digital key 110 .
[0060] The unlocking module 330 determines whether the digital door lock 130 has passed the authentication of the remote authentication server 150. After the digital door lock 130 and the digital key 110 establish a network link, the digital door lock 130 and the remote authentication server 150 perform authentication.
[0061] If the authentication is successful, the unlocking module 330 performs an unlocking operation on the digital door lock 130. When the digital door lock 130 passes the authentication of the remote authentication server 150, the remote authentication server 150 notifies the digital door lock 130 to unlock.
[0062] It is understandable that the module division described above is only a logical function division, and there may be other division methods in actual implementation. In addition, the functional modules in each embodiment of the present application may be integrated in the same processing unit, or each module may exist physically separately, or two or more modules may be integrated in the same unit. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0063] For ordinary technicians in this field, other corresponding changes or adjustments can be made according to actual needs generated by combining the technical solutions and technical concepts provided by the embodiments of the present invention, and these changes and adjustments should all fall within the scope of protection of the claims of the present invention.
Claims
1. A digital door lock authentication and unlocking method, applied to an electronic device, characterized in that: The method comprises: Execute the device binding operation to bind the digital key to the digital door lock; Unlock the digital key; When the digital key is inserted into the digital door lock, the digital door lock is activated; Determine whether the digital key is bound to the digital door lock; If the digital key is bound to the digital door lock, a network link is established between the digital door lock and the digital key; Determine whether the digital door lock has passed the authentication of the remote authentication server; and If the digital door lock passes the authentication of the remote authentication server, an unlocking operation is performed on the digital door lock.
2. The digital door lock authentication and unlocking method according to claim 1, characterized in that: The device binding operation further includes: Long press the start button of the digital key for a fixed time to put the digital key into binding mode; Inserting the digital key into the digital door lock to activate the digital door lock; The digital door lock determines whether the digital key is an approved device based on the first hardware identifier of the digital key; If the digital key is an approved device, the digital door lock replies with its own second hardware identifier to the digital key, and establishes the network link between the digital key and the digital door lock; After establishing the network link, the digital door lock transmits the binding data to the remote authentication server to complete the binding; After receiving the binding data, the remote authentication server responds with a binding code to the digital door lock; and The digital door lock stores the binding code and transmits the binding code to the digital key.
3. The digital door lock authentication and unlocking method as claimed in claim 1, characterized in that: Also includes: The digital key is activated by biometric identification, so that the digital key enters the unlocking mode.
4. The digital door lock authentication and unlocking method as claimed in claim 1, characterized in that: Also includes: When the digital key is inserted into the digital door lock and the positioning point on the digital key is pressed against the snap-on button inside the digital door lock, the digital key is turned and the digital door lock is started.
5. A digital door lock authentication and unlocking system, applied to an electronic device, characterized in that: The system comprises: Digital key, unlocked based on biometric operation; A digital door lock, wherein the digital key is bound to the digital door lock according to a device binding operation; and A remote authentication server, wherein; The digital key is inserted into the digital door lock to activate the digital door lock; The digital door lock determines whether the digital key is bound to the digital door lock, and if the digital key is bound to the digital door lock, establishes a network link between the digital door lock and the digital key; The remote authentication server determines whether the digital door lock passes the authentication; and If the digital door lock passes the authentication, the remote authentication server notifies the digital door lock to perform an unlocking operation.
6. The digital door lock authentication and unlocking system as claimed in claim 5, characterized in that: Also includes: The start button of the digital key is pressed for a fixed time to enter the binding mode; The digital key is inserted into the digital door lock to activate the digital door lock; The digital door lock determines whether the digital key is an approved device based on the first hardware identifier of the digital key; If the digital key is an approved device, the digital door lock replies with its own second hardware identifier to the digital key, and establishes the network link between the digital key and the digital door lock; After establishing the network link, the digital door lock transmits the binding data to the remote authentication server to complete the binding; After receiving the binding data, the remote authentication server responds with a binding code to the digital door lock; as well as The digital door lock stores the binding code and transmits the binding code to the digital key.
7. The digital door lock authentication and unlocking system as claimed in claim 5, characterized in that: Also includes: The digital key is activated by the biometric identification method, so that the digital key enters the unlocking mode.
8. The digital door lock authentication and unlocking system as claimed in claim 5, characterized in that: Also includes: When the digital key is inserted into the digital door lock and the positioning point on the digital key is pressed against the snap-on button inside the digital door lock, the digital key is turned to start the digital door lock.
9. An electronic device, characterized in that: include: A binding module, used to perform a device binding operation to bind the digital key to the digital door lock; A detection and activation module, used to detect that the digital key is inserted into the digital door lock to activate the digital door lock, and to determine whether the digital key is a bound device, and if the digital key is a bound device, to establish a network link between the digital door lock and the digital key; and The unlocking module is used to determine whether the digital door lock has passed the authentication of the remote authentication server, and if the authentication is successful, the digital door lock performs an unlocking operation.
10. A storage medium having at least one computer instruction stored thereon, characterized in that: The instructions are loaded by the processor and executed by the authentication and unlocking method of the digital door lock as described in any one of claims 1-4.