Intelligent door lock control method and device, intelligent door lock and storage medium
By using preset sensing areas in smart door locks to sense users and generate unlocking passwords, establish a secure communication channel, and realize dual verification of identity and temporary unlocking permissions, the problem of insufficient security of existing smart door locks is solved, significantly improving security Sex and management efficiency.
Patent Information
- Application Number
- CN202411108806.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-12-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing industrial-grade smart door locks have security loopholes in unlocking verification, such as card loss, password leakage or fingerprint cracked by fake fingerprint molds, resulting in low security.
Through the preset sensing area, the user is sensed, the identity permission information is obtained, the lock-opening password is generated, and the password is sent to the mobile terminal is established to realize the dual-factor verification of identity and temporary lock-opening permissions, and the uniqueness and security of the lock-opening password are enhanced.
It significantly improves the safety of smart door locks, prevents safety accidents caused by human factors, and improves the management efficiency and safety performance of industrial safety doors.
Smart Images

Figure CN119107718A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic equipment, and in particular to a smart door lock control method, device, smart door lock and storage medium. Background Art
[0002] Smart door locks have been widely used in homes, offices, hotels, industrial sites, etc. Taking industrial-grade smart door locks used in industrial security doors as an example, due to the complexity of the industrial production environment, there are high requirements for the safety, stability, convenience and durability of industrial-grade smart door locks.
[0003] Existing industrial-grade smart door locks usually use a single method such as swiping a card, password or fingerprint for unlocking verification. However, there are security loopholes such as card loss, password leakage or fingerprint cracking by fake fingerprint molds, and the security is not high.
[0004] Therefore, how to improve the security of smart door locks to a greater extent is a technical problem that needs to be solved urgently. Summary of the invention
[0005] In order to further improve the security of smart door locks, the present application provides a smart door lock control method, device, smart door lock and storage medium.
[0006] The above-mentioned invention objective of the present application is achieved through the following technical solutions: Sensing the current user through a preset sensing area, obtaining the identity and authority information of the current user, and determining the authority level of the current user according to the identity and authority information; If the permission level has the unlocking permission, generate an unlocking password and establish a secure communication channel with the mobile terminal of the current user; Sending the unlocking password to the mobile terminal through the secure communication channel, so that the current user can enter the unlocking password on the interactive interface of the smart door lock; In response to the current user inputting the unlocking password, verifying the unlocking password, and controlling the smart door lock to open if the verification passes; Monitor the real-time status of the smart door lock, and generate and output corresponding alarm information when the real-time status indicates that the smart door lock is abnormal.
[0007] By adopting the above technical solution, dual verification of identity unlocking authority and temporary unlocking authorization is achieved, which greatly improves the security of smart door locks.
[0008] In a preferred example, the present application can be further configured to generate an unlocking password, including: Randomly generate salt value information; The unlocking password is generated according to the salt value information and the current timestamp.
[0009] By adopting the above technical solution, the uniqueness of the unlocking password can be enhanced.
[0010] In a preferred example, the present application may be further configured as follows: establishing a secure communication channel with the mobile terminal of the current user includes: A Socket connection is established with the mobile terminal to form the secure communication channel.
[0011] By adopting the above technical solution, the security protection of the unlocking password can be improved during transmission.
[0012] In a preferred example, the present application may be further configured as follows: the identity authority information includes biometric information, and determining the authority level of the current user according to the identity authority information includes: Determining the identity of the current user according to the biometric information; The authority level of the current user is determined according to the identity identifier.
[0013] By adopting the above technical solution, the convenience of identity unlocking authority verification can be improved.
[0014] In a preferred example, the present application may be further configured as follows: determining the authority level of the current user according to the identity identifier includes: According to the identity identifier, query the historical travel record of the current user; The authority level of the current user is determined according to the historical access record.
[0015] By adopting the above technical solution, the rigor of identity unlocking authority verification can be improved.
[0016] In a preferred example, the present application may be further configured as follows: before verifying the unlocking password, the present application may further include: Obtaining the time when the current user inputs the unlocking password; Determine whether the duration between the time and the current timestamp exceeds a preset duration threshold; When the time duration does not exceed a preset threshold, the step of verifying the unlocking password is performed.
[0017] By adopting the above technical solution, the security of the unlocking password can be enhanced in use.
[0018] In a preferred example, the present application may be further configured as follows: sensing the current user through a preset sensing area includes: The current user entering the preset sensing area is sensed by the preset distance sensor of the smart door lock.
[0019] By adopting the above technical solution, the sensitivity and convenience of sensing the current user are improved.
[0020] The second object of the invention is achieved by the following technical solutions: A smart door lock control device, the smart door lock control device comprising: A determination module, used to sense the current user through a preset sensing area, obtain the identity and authority information of the current user, and determine the authority level of the current user according to the identity and authority information; An establishing module, used to generate an unlocking password and establish a secure communication channel with the mobile terminal of the current user when the permission level has the unlocking permission; A sending module, used to send the unlocking password to the mobile terminal through the secure communication channel, so that the current user can input the unlocking password on the interactive interface of the smart door lock; A verification module, configured to verify the unlocking password in response to the current user inputting the unlocking password, and control the smart door lock to be unlocked if the verification passes; The alarm module is used to monitor the real-time status of the smart door lock, and generate and output corresponding alarm information when the real-time status indicates that the smart door lock is abnormal.
[0021] The third objective of the present application is achieved through the following technical solutions: A smart door lock comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the smart door lock control method when executing the computer program.
[0022] The fourth objective of the present application is achieved through the following technical solutions: A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned smart door lock control method are implemented.
[0023] In summary, the present application includes at least one of the following beneficial technical effects: The current user is sensed by the preset sensing area, thereby triggering the identity unlocking authority verification of the current user. After the identity unlocking authority verification is passed, the unlocking password is generated and sent to the current user's mobile terminal based on a secure communication channel, and the user is temporarily unlocked. Authorization verification is performed, thereby realizing dual verification of identity unlocking authority and temporary unlocking authorization, thereby greatly improving the security of smart door locks. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 A flow chart of a smart door lock control method provided in an embodiment of the present application; Figure 2 for Figure 1 A schematic diagram of the sub-step flow chart of the intelligent door lock control method in FIG. Figure 3 This is a schematic diagram of the architecture of the smart door lock control system involved in the embodiment of the present application; Figure 4 A schematic block diagram of an intelligent door lock control device provided in an embodiment of the present application; Figure 5 This is a schematic block diagram of the structure of a smart door lock involved in one embodiment of the present application.
[0025] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0026] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0027] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0028] It should be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0029] It should be further understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0030] The embodiments of the present application provide a smart door lock control method, device, smart door lock and storage medium. The smart door lock control method is mainly applied to smart door locks.
[0031] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0032] Please refer to Figure 1 , Figure 1 A flow chart of a smart door lock control method provided in an embodiment of the present application.
[0033] like Figure 1 As shown, the smart door lock control method includes steps S101 to S105.
[0034] Step S101, sensing the current user through a preset sensing area, obtaining the identity and authority information of the current user, and determining the authority level of the current user according to the identity and authority information.
[0035] First, the current user is sensed through a preset sensing area.
[0036] Among them, the smart door lock can pre-set the distance sensor, and the preset sensing area is the area range that the preset distance sensor can sense.
[0037] Exemplarily, the preset distance sensor is, for example, an infrared sensor, a magnetic induction sensor, and the like.
[0038] Exemplarily, the distance sensor can be set on the inner surface of the shell of the smart door lock, or on the outer surface of the shell of the smart door lock, and the setting position can ensure the sensitivity and accuracy of the distance sensor in sensing and identifying the current user.
[0039] In one embodiment, sensing the current user through a preset sensing area may be sensing the current user entering the preset sensing area through a preset distance sensor of the smart door lock.
[0040] When the current user enters the preset sensing area, the current user can be detected and sensed by the preset sensor, so that the sensitivity and convenience of sensing the current user can be improved.
[0041] When the current user is sensed through the preset sensing area, the smart door lock is activated through the controller to obtain the identity and authority information of the current user, thereby determining the authority level of the current user according to the identity and authority information of the current user.
[0042] In one embodiment, the identity authority information includes biometric information, and determining the authority level of the current user based on the identity authority information may include determining the identity identifier of the current user based on the biometric information; and determining the authority level of the current user based on the identity identifier.
[0043] The identity authority information refers to information that can indicate the identity of the current user, and may include biometric information of the current user.
[0044] Exemplarily, the biometric information may be facial information, fingerprint information, voiceprint information, etc.
[0045] Exemplarily, the smart door lock may be pre-set with an image collector, such as a camera, and when the smart door lock is activated, the camera may be used to collect facial information of the current user.
[0046] Exemplarily, the smart door lock may also be pre-set with a fingerprint collector, and when the smart door lock is activated, the fingerprint information of the current user is collected through the fingerprint collector.
[0047] Exemplarily, the smart door lock may also pre-set a voiceprint collector, and when the smart door lock is activated, the voiceprint information of the current user is collected through the voiceprint collector.
[0048] In order to improve the convenience of identity unlocking authority verification, a first mapping relationship between the biometric information of different users and the corresponding identity identifiers can be pre-established and stored. Exemplary, the identity identifier is such as a number, login name, etc. It can be understood that the identity identifier is unique. In this way, the biometric information of the current user can be compared with the first mapping relationship, so as to quickly determine the pre-stored identity identifier corresponding to the pre-stored biometric information consistent with the biometric information of the current user, and use the determined pre-stored identity identifier as the identity identifier of the current user.
[0049] In one embodiment, in order to improve the convenience of identity unlocking authority verification, determining the authority level of the current user according to the identity identifier can be: querying the historical access record of the current user according to the identity identifier; and determining the authority level of the current user according to the historical access record.
[0050] Specifically, the historical passage conditions of different users can be recorded in advance to obtain the historical passage records of different users, thereby establishing and storing the second mapping relationship between the historical passage records of different users and the corresponding identity identifiers. In this way, the identity identifier of the current user can be compared with the second mapping relationship to quickly determine the historical passage record corresponding to the pre-stored identity identifier that is consistent with the identity identifier of the current user, and the determined historical passage record is used as the historical passage record of the current user.
[0051] Then, the historical access records of the current user are analyzed. In order to improve the rigor of identity unlocking authority verification, if the historical access records of the current user show that the current user has unlocked the door within a preset recent time period, the authority level of the current user can be determined to have unlocking authority. For example, if the historical access records of the current user show that the current user has unlocked the door within the past week, it can be determined that the authority level of the current user has unlocking authority.
[0052] In one embodiment, considering that there is a situation where the current user's authority level actually has the unlocking authority but has not unlocked and passed in the preset recent time period, in order to improve the granularity of identity unlocking authority verification, it is also possible to pre-classify the authority levels of different users according to actual application requirements, so as to set corresponding authority levels for different users, and then establish a third mapping relationship between the authority levels of different users and the corresponding identity identifiers, and authorize unlocking for users whose authority levels meet the specified conditions. In this way, the identity identifier of the current user can be compared with the third mapping relationship, so as to quickly determine the pre-stored authority level corresponding to the pre-stored identity identifier consistent with the identity identifier of the current user, and use the determined authority level as the authority level of the current user; then determine whether the authority level of the current user meets the specified conditions, and if the specified conditions are met, it can be determined that the authority level of the current user has the unlocking authority.
[0053] For example, the permission level corresponding to user A is level 1, the permission level corresponding to user B is level 2, the permission level corresponding to user C is level 3, ..., the permission level corresponding to user N is level x, and unlocking authorization is performed on users whose permission level is less than or equal to level 5. Then, if it is determined that the current user corresponds to user B, and the permission level of the current user is level 2, and the specified condition that the permission level is less than or equal to level 5 is met, it can be determined that the permission level of the current user has the permission to unlock.
[0054] Step S102: if the authority level has the unlocking authority, generate an unlocking password and establish a secure communication channel with the mobile terminal of the current user.
[0055] When the current user's permission level has the permission to unlock the door, a temporary unlocking password (which may be referred to as the unlocking password for short) is generated.
[0056] In order to avoid the risk of the unlocking password being hijacked by the network, a secure communication channel is also established with the mobile terminal of the current user. For example, the mobile terminal is a smart phone held by the current user.
[0057] In one embodiment, see Figure 2 , generating an unlocking password includes sub-step S1021 and sub-step S1022.
[0058] Sub-step S1021, randomly generating salt value information.
[0059] Specifically, a salt value string is first randomly generated by a random number generation method, and the salt value string constitutes the salt value information.
[0060] Sub-step S1022, generating an unlocking password according to the salt value information and the current timestamp.
[0061] The salt value information is then combined with the current timestamp to obtain the unlock password, thus enhancing the uniqueness of the unlock password.
[0062] In one embodiment, establishing a secure communication channel with the mobile terminal of the current user may be to establish a Socket connection with the mobile terminal to form the secure communication channel.
[0063] Specifically, a Socket connection is established with the mobile terminal of the current user to form a secure communication channel to improve the security protection of the unlocking password in transmission.
[0064] Step S103, sending the unlocking password to the mobile terminal through a secure communication channel, so that the current user can enter the unlocking password in the interactive interface of the smart door lock; Afterwards, the unlocking password is sent to the current user's mobile terminal through a secure communication channel, so that the current user can enter the unlocking password in the interactive interface of the smart door lock.
[0065] Step S104, in response to the current user inputting the unlocking password, the unlocking password is verified, and when the verification passes, the smart door lock is controlled to be opened.
[0066] Furthermore, in response to the current user inputting the unlocking password, the unlocking password is verified, and if the verification passes, the smart door lock is controlled to be unlocked. For example, the unlocking password can be pre-stored after the unlocking password is generated, so that the unlocking password input by the current user is compared with the pre-stored unlocking password. If the two are consistent, it is determined that the verification passes, and an unlocking instruction is sent to the lock body to control the smart door lock to be unlocked.
[0067] To avoid memory usage, after the smart door lock is turned on, the unlocking password will automatically become invalid and the pre-stored unlocking password will be cleared.
[0068] In one embodiment, in order to further enhance the security of the unlocking password, before verifying the unlocking password, it can also include: obtaining the time when the current user enters the unlocking password; judging whether the time between the time and the current timestamp exceeds a preset time threshold; if the time does not exceed the preset threshold, executing the step of verifying the unlocking password.
[0069] Specifically, the unlocking password can be given a time limit. The unlocking password will only be verified if the time between the time when the current user enters the unlocking password and the timestamp corresponding to the generation of the unlocking password does not exceed the preset time threshold. The preset time threshold can be flexibly set according to actual conditions and is not limited here.
[0070] When the time between the time when the current user enters the unlocking password and the current timestamp exceeds the preset time threshold, the unlocking password automatically becomes invalid and the pre-stored unlocking password is cleared.
[0071] In this way, the security of the unlocking password is enhanced in use.
[0072] Step S105, monitor the real-time status of the smart door lock, and generate and output corresponding alarm information when the real-time status indicates that the smart door lock is abnormal.
[0073] The real-time status of the smart door lock can also be monitored, so that when the real-time status indicates that the smart door lock is abnormal, corresponding alarm information can be generated and output.
[0074] For example, when it is monitored that the smart door lock is not locked for a specified period of time, a corresponding alarm message can be generated and sent to the relevant administrator, or an audible and visual alarm signal can be generated to remind the administrator to deal with it in time, thereby improving the security of the smart door lock.
[0075] In order to better understand the above embodiment, the following application scenarios are given as examples: Taking the application in large industrial parks as an example, a smart door lock can be installed on the industrial security door of the industrial park. When the smart door lock senses an employee who needs to unlock the security door through the preset sensing area, the smart door lock is activated, triggering the smart door lock to collect the identity and authority information of the employee, such as the employee's face information, fingerprint information or voiceprint information, etc.; then the employee's authority level is determined according to the employee's identity and authority information; if the employee's authority level has the right to unlock, a temporary unlocking password is generated, and a secure communication channel is established with the employee's smartphone, so that the unlocking password is sent to the employee's smartphone through the secure communication channel, so that the employee can enter the unlocking password in the interactive interface of the smart door lock. In response to the employee's input of the unlocking password, the smart door lock verifies the unlocking password, and controls the smart door lock to open if the verification passes; it also monitors the real-time status of the smart door lock, and generates and outputs an audible and visual alarm signal when the real-time status indicates that the smart door lock is abnormal, so as to remind the relevant management personnel to deal with it in time. In this way, dual verification of the identity unlocking authority and temporary unlocking authorization of industrial park employees is achieved, which can comprehensively improve the security and stability of smart door locks, thereby improving the security of industrial safety doors and realizing comprehensive intelligent management of industrial safety doors. This can not only improve industrial safety performance and reduce safety accidents caused by human factors, but also improve management efficiency and reduce management costs.
[0076] The smart door lock control method provided in the above embodiment senses the current user through a preset sensing area, obtains the identity authority information of the current user, and determines the authority level of the current user according to the identity authority information; generates an unlocking password when the authority level has the unlocking authority, and establishes a secure communication channel with the mobile terminal of the current user; sends the unlocking password to the mobile terminal through the secure communication channel for the current user to enter the unlocking password in the interactive interface of the smart door lock; verifies the unlocking password in response to the input of the unlocking password by the current user, and controls the smart door lock to open when the verification passes; monitors the real-time status of the smart door lock, and generates and outputs corresponding alarm information when the real-time status indicates that the smart door lock is abnormal. The current user is sensed through the preset sensing area, thereby triggering the identity unlocking authority verification of the current user, and after the identity unlocking authority verification passes, the unlocking password is generated and sent to the mobile terminal of the current user based on the secure communication channel, and the user is temporarily unlocked. Authorization verification is realized, and dual verification of identity unlocking authority and temporary unlocking authorization is realized, thereby greatly improving the security of the smart door lock.
[0077] In one embodiment, the smart door lock can carry a smart door lock control system. Figure 3 This is a schematic diagram of the architecture of the smart door lock control system.
[0078] like Figure 3 As shown, the intelligent door lock control system mainly includes hardware functional modules such as lock body, controller, verification module, monitoring module and alarm module.
[0079] The lock body includes a lock core and a control unit. The lock core can be used for traditional key unlocking, and the control unit is used to receive unlocking, locking and other control instructions issued by the controller to realize automatic intelligent unlocking, locking and the like.
[0080] The controller is used to receive and analyze the data from the verification module, the monitoring module and the alarm module, obtain the analysis results, and send control instructions to the lock body according to the analysis results.
[0081] The verification module is used to double-verify the current user's identity unlocking authority and temporary unlocking password verification.
[0082] The monitoring module is used to monitor the real-time status of the smart door lock. The real-time status of the smart door lock can also be transmitted to the remote monitoring center to achieve remote monitoring of the smart door lock.
[0083] The alarm module is used to send an alarm signal to the controller and trigger a corresponding alarm action when the smart door lock is abnormal.
[0084] For example, the above functional modules can be integrated in advance to ensure smooth interaction between the functional modules. In order to ensure that the smart door lock control system can operate stably in various harsh environments and has a certain anti-interference ability, the smart door lock control system can also be tested in advance for actual operation and function optimization, and a strict safety assessment can be carried out.
[0085] In this way, the smart door lock can execute the technical solution of the above embodiment based on the smart door lock control system, realize the dual verification of identity unlocking authority and temporary unlocking authorization, and greatly improve the security of smart door lock control.
[0086] It is understandable that the smart door lock control system also has good scalability and can increase or reduce functional modules according to actual needs.
[0087] Please refer to 4. Figure 4 A schematic block diagram of a welding temperature control device provided in an embodiment of the present application.
[0088] like Figure 4 As shown, the welding temperature control device 400 includes: a determination module 401, an establishment module 402, a sending module 403, a verification module 404 and an alarm module 405.
[0089] The determination module 401 is used to sense the current user through a preset sensing area, obtain the identity and authority information of the current user, and determine the authority level of the current user according to the identity and authority information; Establishing module 402, for generating an unlocking password and establishing a secure communication channel with the mobile terminal of the current user when the permission level has the unlocking permission; The sending module 403 is used to send the unlocking password to the mobile terminal through the secure communication channel, so that the current user can enter the unlocking password in the interactive interface of the smart door lock; The verification module 404 is used to verify the unlocking password in response to the current user inputting the unlocking password, and control the smart door lock to open if the verification passes; The alarm module 405 is used to monitor the real-time status of the smart door lock, and generate and output corresponding alarm information when the real-time status indicates that the smart door lock is abnormal.
[0090] The apparatus provided in the above embodiment may be implemented in the form of a computer program. The computer program may be Figure 5 The smart door lock shown is running.
[0091] See also Figure 5 , Figure 5 A schematic block diagram of the structure of a smart door lock provided in an embodiment of the present application.
[0092] like Figure 5 As shown, the smart door lock 500 includes a processor 502, a memory 503 and a communication interface 504 connected via a system bus 501, wherein the memory may include a non-volatile storage medium and an internal memory.
[0093] The non-volatile storage medium can store an operating system and a computer program. The computer program includes program instructions, and when the program instructions are executed, the processor can execute any intelligent door lock control method.
[0094] The processor is used to provide computing and control capabilities to support the operation of the entire smart door lock.
[0095] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor, the processor can execute any intelligent door lock control method.
[0096] The communication interface is used for network communication, such as sending assigned tasks, etc. Those skilled in the art will understand that Figure 5The structure shown in the figure is only a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the smart door lock to which the scheme of the present application is applied. The specific smart door lock may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0097] It should be understood that the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a processor or the processor may also be any conventional processor, etc.
[0098] In one embodiment, the processor is used to run a computer program stored in the memory to implement the following steps: Sensing the current user through a preset sensing area, obtaining the identity and authority information of the current user, and determining the authority level of the current user according to the identity and authority information; If the permission level has the unlocking permission, generate an unlocking password and establish a secure communication channel with the mobile terminal of the current user; Sending the unlocking password to the mobile terminal through the secure communication channel, so that the current user can enter the unlocking password on the interactive interface of the smart door lock; In response to the current user inputting the unlocking password, verifying the unlocking password, and controlling the smart door lock to open if the verification passes; Monitor the real-time status of the smart door lock, and generate and output corresponding alarm information when the real-time status indicates that the smart door lock is abnormal.
[0099] In one embodiment, when the processor implements the generating of the unlocking password, it is used to implement: Randomly generate salt value information; The unlocking password is generated according to the salt value information and the current timestamp.
[0100] In one embodiment, when the processor implements the establishing of a secure communication channel with the mobile terminal of the current user, it is configured to implement: A Socket connection is established with the mobile terminal to form the secure communication channel.
[0101] In one embodiment, the identity authority information includes biometric information, and when the processor implements determining the authority level of the current user according to the identity authority information, it is used to implement: Determining the identity of the current user according to the biometric information; The authority level of the current user is determined according to the identity identifier.
[0102] In one embodiment, when the processor implements the determining the permission level of the current user according to the identity identifier, it is used to implement: According to the identity identifier, query the historical travel record of the current user; The authority level of the current user is determined according to the historical access record.
[0103] In one embodiment, before the processor implements the verification of the unlocking password, it is further configured to implement: Obtaining the time when the current user inputs the unlocking password; Determine whether the duration between the time and the current timestamp exceeds a preset duration threshold; When the time duration does not exceed a preset threshold, the step of verifying the unlocking password is performed.
[0104] In one embodiment, when the processor implements the sensing of the current user through the preset sensing area, it is used to implement: The current user entering the preset sensing area is sensed by the preset distance sensor of the smart door lock.
[0105] An embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. The computer program includes program instructions. The method implemented when the program instructions are executed can refer to the various embodiments of the smart door lock control method of the present application.
[0106] The computer-readable storage medium may be an internal storage unit of the smart door lock described in the foregoing embodiment, such as a hard disk or memory of the smart door lock. The computer-readable storage medium may also be an external storage device of the smart door lock, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc., equipped on the smart door lock.
[0107] Furthermore, the computer-readable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the blockchain node, etc.
[0108] The blockchain referred to in this invention is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.
[0109] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0110] The serial numbers of the embodiments of the present application are for description only and do not represent the advantages and disadvantages of the embodiments. The above description is only a specific implementation mode of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A smart door lock control method, characterized in that: The intelligent door lock control method comprises: Sensing the current user through a preset sensing area, obtaining the identity and authority information of the current user, and determining the authority level of the current user according to the identity and authority information; If the permission level has the unlocking permission, generate an unlocking password and establish a secure communication channel with the mobile terminal of the current user; Sending the unlocking password to the mobile terminal through the secure communication channel, so that the current user can enter the unlocking password on the interactive interface of the smart door lock; In response to the current user inputting the unlocking password, verifying the unlocking password, and controlling the smart door lock to open if the verification passes; Monitor the real-time status of the smart door lock, and generate and output corresponding alarm information when the real-time status indicates that the smart door lock is abnormal.
2. The intelligent door lock control method according to claim 1, characterized in that: The generating of the unlocking password comprises: Randomly generate salt value information; The unlocking password is generated according to the salt value information and the current timestamp.
3. The intelligent door lock control method according to claim 1, characterized in that: The establishing of a secure communication channel with the mobile terminal of the current user includes: A Socket connection is established with the mobile terminal to form the secure communication channel.
4. The intelligent door lock control method according to claim 1, characterized in that: The identity authority information includes biometric information, and determining the authority level of the current user according to the identity authority information includes: Determining the identity of the current user according to the biometric information; The authority level of the current user is determined according to the identity identifier.
5. The intelligent door lock control method according to claim 4, characterized in that: Determining the authority level of the current user according to the identity identifier includes: According to the identity identifier, query the historical travel record of the current user; The authority level of the current user is determined according to the historical access record.
6. The intelligent door lock control method according to claim 2, characterized in that: Before verifying the unlocking password, the method further includes: Obtaining the time when the current user inputs the unlocking password; Determine whether the duration between the time and the current timestamp exceeds a preset duration threshold; When the time duration does not exceed a preset threshold, the step of verifying the unlocking password is performed.
7. The intelligent door lock control method according to claim 1, characterized in that: The sensing of the current user through the preset sensing area includes: The current user entering the preset sensing area is sensed by the preset distance sensor of the smart door lock.
8. An intelligent door lock control device, characterized in that: The intelligent door lock control device comprises: A determination module, used to sense the current user through a preset sensing area, obtain the identity and authority information of the current user, and determine the authority level of the current user according to the identity and authority information; An establishing module, used to generate an unlocking password and establish a secure communication channel with the mobile terminal of the current user when the permission level has the unlocking permission; A sending module, used to send the unlocking password to the mobile terminal through the secure communication channel, so that the current user can input the unlocking password on the interactive interface of the smart door lock; A verification module, configured to verify the unlocking password in response to the current user inputting the unlocking password, and control the smart door lock to be unlocked if the verification passes; The alarm module is used to monitor the real-time status of the smart door lock, and generate and output corresponding alarm information when the real-time status indicates that the smart door lock is abnormal.
9. A smart door lock, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the smart door lock control method as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the smart door lock control method as described in any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Anti-prying method and system for intelligent door lock
CN119992689A
