Smart lock unlocking control method, device, smart lock and medium
By collecting fingerprint images of finger pressing twice in a row and pressing pressure degree/time interval, combined with the target user's pressing habit range, the problem of fingerprint recognition failure in the prior art is solved, and the unlocking control accuracy and user experience of the smart lock are improved.
Patent Information
- Application Number
- CN202410321338.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-20
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-03-20
AI Technical Summary
Existing fingerprint recognition technology is prone to failure in recognition among people with poor fingerprints or elderly people due to fingerprint deviation or insufficient characteristic points. It requires multiple pressing or changing fingers, which affects the user experience and may lead to door lock alarms and locking, which seriously affects the User experience.
By collecting the fingerprint image of the finger pressed twice in a row and the pressing pressure degree/time interval, combined with the target user's pressing habit range, the matching of feature points is judged to control the unlocking of smart locks, reduce the recognition failure rate, and improve accuracy and stability.
It effectively reduces the recognition failure caused by single press offset or insufficient feature points, improves the accuracy and stability of fingerprint recognition, and improves the unlocking control accuracy and user experience of smart locks.
Smart Images

Figure CN118196940B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent control technology, and in particular to an intelligent lock unlocking control method, device, intelligent lock and medium. Background Art
[0002] With the development of science and technology, biometric technology has become one of the important means in the field of information security. Among them, fingerprint recognition technology is widely used in various electronic devices due to its high precision, high stability and easy implementation. As a new type of anti-theft device, fingerprint recognition has almost become a standard feature of smart locks. In existing fingerprint recognition technology, image processing is generally adopted, that is, by collecting several fingerprint images of the user and saving them, and then comparing the feature points of the collected user fingerprints and the pre-stored fingerprint images one by one during recognition, if the feature points reach a certain threshold, the recognition is passed. The advantage of this method is that it is simple to implement, but its recognition accuracy is affected by the image quality and feature point extraction algorithm.
[0003] However, in actual applications, traditional fingerprint recognition technology often fails for people with poor fingerprints or the elderly due to the first fingerprint being offset or insufficient fingerprint feature points. Multiple presses or changing fingers are required for recognition, which is not only time-consuming, but may also cause door lock alarms and system locks due to consecutive recognition failures. People are forced to lock themselves outside the door and have to wait for a few minutes for the system to exit the locked state before they can continue fingerprint recognition, seriously affecting the user experience. Summary of the invention
[0004] In view of this, the present invention provides a smart lock unlocking control method, device, smart lock and medium to solve the problem that the fingerprint recognition unlocking method used in the related art often requires multiple presses or changes in finger pressing recognition, which seriously affects the user experience.
[0005] In a first aspect, the present invention provides a smart lock unlocking control method, the method comprising:
[0006] When two fingerprint images corresponding to two consecutive pressing fingers are collected within a set time, a feature point set of the two fingerprint images is extracted, and the pressing force and / or pressing time interval of the two consecutive pressing fingers are obtained;
[0007] Determine whether the number of feature points in the feature point set that match the feature points of the target user pre-stored in the smart lock is greater than a first feature point threshold, and the first feature point threshold is less than the unlocking feature point threshold of the smart lock;
[0008] When the number of feature points in the feature point set that match the pre-stored feature points of the target user is greater than the first feature point threshold, the smart lock is controlled to unlock based on the relationship between the pressing force and / or the pressing time interval and the target pressing force range and / or the target pressing time interval range corresponding to the target user.
[0009] The present invention collects fingerprint images of the user's fingers pressing twice in succession, and obtains the pressing force and / or pressing time of the fingers pressing twice. When the feature points of the fingerprint images collected twice have certain matching feature points with the target user but do not meet the unlocking feature point threshold, the smart lock is controlled to unlock in combination with the relationship between the pressing force and / or pressing time and the target pressing force range and / or target pressing time interval range corresponding to the user habits of the target user, thereby reducing the recognition failure caused by single pressing deviation or insufficient collection of fingerprint feature points, improving the accuracy and stability of fingerprint recognition, thereby improving the unlocking control accuracy of the smart lock and improving the user experience.
[0010] In an optional implementation, controlling the smart lock to unlock based on a relationship between the pressing force and / or the pressing time interval and a target pressing force range and / or a target pressing time interval range corresponding to the target user includes:
[0011] Determining whether the pressing force and / or the pressing time interval is within a target pressing force range and / or a target pressing time interval range corresponding to the target user;
[0012] When the pressing force and / or the pressing time interval is within the target pressing force range and / or the target pressing time interval range corresponding to the target user, the smart lock is controlled to unlock.
[0013] The present invention controls the unlocking mode of the smart lock when the pressing force and / or pressing time interval are within the target pressing force range and / or target pressing time interval range corresponding to the target user, and realizes the unlocking control of the smart lock by comparing the user's habitual habits with the actual pressing conditions of the collected fingerprint image, thereby further ensuring the accuracy of the unlocking control of the smart lock, reducing the problem of smart lock being locked due to multiple fingerprint recognition failures, and further improving the user experience.
[0014] In an optional implementation, the method further includes:
[0015] When the number of feature points in the feature point set that match the feature points of the target user pre-stored in the smart lock is not greater than a first feature point threshold, the smart lock is controlled to maintain a locked state.
[0016] The present invention controls the smart lock to continue locking when the feature points of the fingerprint images collected twice in succession are still not greater than the first feature point threshold, indicating that the user is not the target user, so as to ensure the security of the smart lock and avoid the safety hazard caused by misidentification and unlocking.
[0017] In an optional implementation, before determining whether the number of feature points in the feature point set that match the feature points of the target user pre-stored in the smart lock is greater than the first feature point threshold, the method further includes:
[0018] Determine whether the number of feature points in the feature point set that match the feature points of the target user pre-stored in the smart lock is greater than the unlocking feature point threshold;
[0019] When the number of feature points in the feature point set that match the feature points of the target user pre-stored in the smart lock is greater than the unlocking feature point threshold, the smart lock is controlled to unlock.
[0020] The present invention controls the smart lock to unlock when the union of feature points of two fingerprint images is compared to meet the unlocking feature point threshold, thereby further improving the unlocking response speed of the smart lock while ensuring the unlocking accuracy, and further improving the user experience.
[0021] In an optional implementation, the method further includes:
[0022] When any fingerprint image is collected, it is determined whether the number of feature points of the current fingerprint image that matches the feature points of the target user pre-stored in the smart lock is greater than the unlocking feature point threshold;
[0023] When the number of feature points of the current fingerprint image that match the feature points of the target user pre-stored in the smart lock is greater than the unlocking feature point threshold, the smart lock is controlled to unlock.
[0024] The present invention identifies the fingerprint image when it is collected, and directly controls the smart lock to unlock when the number of feature points matching the target user is greater than the unlocking feature point threshold. While ensuring the unlocking accuracy, the present invention further improves the unlocking response speed of the smart lock, further improving the user experience.
[0025] In an optional implementation, after controlling the smart lock to unlock, the method further includes:
[0026] The target pressing intensity range and / or the target pressing time interval range corresponding to the target user is updated based on the pressing intensity and / or the pressing time interval.
[0027] The present invention updates the target user's usage habits such as the target pressing force range and / or the target pressing time interval range by using the pressing force and / or pressing time interval of the user who unlocks the smart lock after the smart lock is unlocked, thereby further improving the accuracy of the unlocking control of the smart lock and enhancing the user experience by continuously tracking and learning the user's usage habits.
[0028] In an optional implementation, the method further includes:
[0029] When multiple fingerprint images corresponding to more than two pressed fingers are collected within a set time, the multiple fingerprint images are divided into multiple groups, each group includes two fingerprint images collected at adjacent moments;
[0030] Based on the collection order of the fingerprint images, the steps of extracting the feature point set of two fingerprint images for each group and obtaining the pressing intensity and / or pressing time interval of two consecutive pressing fingers are performed.
[0031] The present invention groups the collected fingerprint images in pairs according to the collection order when the user repeatedly presses his fingers multiple times in a short period of time, and performs unlocking control on each group of fingerprint images in turn, so as to further improve the recognition accuracy of the smart lock, reduce the probability of recognition failure, and enhance the user experience.
[0032] In a second aspect, the present invention provides a smart lock unlocking control device, comprising:
[0033] A first processing module is used to extract a set of feature points of the two fingerprint images when two fingerprint images corresponding to two consecutive pressing fingers are collected within a set time, and to obtain the pressing force and / or pressing time interval of the two consecutive pressing fingers;
[0034] A first judgment module is used to judge whether the number of feature points in the feature point set that match the feature points of the target user pre-stored in the smart lock is greater than a first feature point threshold, and the first feature point threshold is less than the unlocking feature point threshold of the smart lock;
[0035] The second processing module is used to control the smart lock to unlock based on the relationship between the pressing force and / or the pressing time interval and the target pressing force range and / or the target pressing time interval range corresponding to the target user when the number of feature points in the feature point set that match the pre-stored feature points of the target user is greater than the first feature point threshold.
[0036] In a third aspect, the present invention provides a smart lock, comprising: a controller, the controller comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, computer instructions are stored in the memory, and the processor executes the smart lock unlocking control method provided by the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0037] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the smart lock unlocking control method provided in the above-mentioned first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0039] Figure 1 is a flow chart of a smart lock unlocking control method according to an embodiment of the present invention;
[0040] Figure 2 is a flow chart of another smart lock unlocking control method according to an embodiment of the present invention;
[0041] Figure 3 is a structural block diagram of a smart lock according to an embodiment of the present invention;
[0042] Figure 4 is a schematic diagram of a specific working process of a smart lock according to an embodiment of the present invention;
[0043] Figure 5 is a structural block diagram of a smart lock unlocking control device according to an embodiment of the present invention;
[0044] Figure 6 It is a schematic diagram of the hardware structure of the controller of the smart lock according to an embodiment of the present invention. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0046] In practical applications, traditional fingerprint recognition technology often fails for people with poor fingerprints or the elderly due to misalignment or insufficient fingerprint feature points when the fingerprint is pressed for the first time. Multiple presses or changing fingers are required for recognition. This is not only time-consuming, but may also cause door lock alarms and system locks due to consecutive recognition failures. People are forced to lock themselves outside the door and have to wait for a few minutes for the system to exit the locked state before they can continue fingerprint recognition, which seriously affects the user experience.
[0047] According to an embodiment of the present invention, an embodiment of a smart lock unlocking control method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0048] In this embodiment, a smart lock unlocking control method is provided, which is applied to a controller of the smart lock such as a single chip microcomputer, MCU, etc. Figure 1 is a flow chart of a smart lock unlocking control method according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0049] Step S101, when two fingerprint images corresponding to two consecutive pressing fingers are collected within a set time, feature point sets of the two fingerprint images are extracted, and the pressing intensity and / or pressing time interval of the two consecutive pressing fingers are obtained.
[0050] It should be noted that in the embodiments of the present invention, the smart lock is described by taking a door lock with a fingerprint recognition function as an example. In actual applications, the smart lock can also be other locks with a fingerprint recognition function, such as a safe lock, and the present invention is not limited to this.
[0051] Among them, the set time can be the maximum time for the user to double-click the door lock fingerprint collection area pre-entered or set by the user, or it can be the maximum time for the user to double-click the door lock fingerprint collection area determined through a large number of experiments during the production design stage based on the product requirements of the smart lock. The present invention is not limited to this.
[0052] Specifically, a pressure sensor can be set in the fingerprint collection area of an existing smart lock with fingerprint recognition function, so that the pressing force of the pressing finger can be collected while collecting the fingerprint image, and the time interval between the two pressing fingers can be determined by recording the two collection moments of the fingerprint image.
[0053] Furthermore, the feature point sets of the two fingerprint images can be extracted by using the existing fingerprint feature extraction algorithm to extract fingerprint feature points from the two fingerprint images respectively, and then the union of all fingerprint feature points constitutes the feature point set. The specific algorithm used for fingerprint feature extraction is the existing technology and will not be described in detail here.
[0054] Step S102, determining whether the number of feature points in the feature point set that match the feature points of the target user pre-stored in the smart lock is greater than a first feature point threshold.
[0055] Among them, the first feature point threshold is less than the unlocking feature point threshold of the smart lock. It should be noted that the unlocking feature point threshold is the minimum feature point threshold that can be used to determine that the fingerprint collection object is the target user of the smart lock. Only when the number of feature points that meet the target user reaches the feature point threshold, can the fingerprint collection object be confirmed as the target user. Exemplarily, the first feature point threshold is obtained by multiplying the unlocking feature point threshold by a certain high-order coefficient, and the high-order coefficient is less than 1, such as 0.8 or 0.9, etc. It can be flexibly set according to the recognition accuracy of the smart lock and the requirements of the initial control accuracy, and the present invention is not limited to this.
[0056] Specifically, when the number of feature points in the feature point set that match the feature points of the target user pre-stored in the smart lock is not greater than the first feature point threshold, the smart lock is controlled to maintain the locked state. In actual applications, if the number of feature points in the two fingerprint collection images of the fingerprint collection object that match the target user is less than the first feature point threshold, the fingerprint collection object is considered not the target user of the smart lock, and the fingerprint unlocking instruction is rejected to ensure the safety of the door lock.
[0057] The embodiment of the present invention determines that the user is not the target user when the feature points of the fingerprint images collected twice in succession are still not greater than the first feature point threshold, and controls the smart lock to continue locking, so as to ensure the security of the smart lock and avoid safety hazards caused by misidentification and unlocking.
[0058] Step S103, when the number of feature points in the feature point set that match the pre-stored feature points of the target user is greater than the first feature point threshold, the smart lock is controlled to unlock based on the relationship between the pressing force and / or pressing time interval and the target pressing force range and / or target pressing time interval range corresponding to the target user.
[0059] Among them, the target pressing force range and / or target pressing time interval range corresponding to the target user are used to characterize the usage habits of the target user of the smart lock. By judging the relationship between the pressing force and / or pressing time interval of the fingerprint collection object and the usage habits of the target user, it is determined whether the identity of the fingerprint collection object is the target user.
[0060] Specifically, the target pressure force range and / or target pressure time interval corresponding to the above-mentioned target user can be entered and set by the user when entering the fingerprint, or the default value can be directly set during the production and design stage of the smart lock. The present invention is not limited to this.
[0061] The embodiment of the present invention collects fingerprint images of the user's fingers pressing twice in succession, and obtains the pressing force and / or pressing time of the fingers pressing twice. When the feature points of the fingerprint images collected twice have certain matching feature points with the target user but do not meet the unlocking feature point threshold, the smart lock is controlled to unlock in combination with the relationship between the pressing force and / or pressing time and the target pressing force range and / or target pressing time interval range corresponding to the user habits of the target user, thereby reducing the recognition failure caused by single pressing deviation or insufficient collection of fingerprint feature points, improving the accuracy and stability of fingerprint recognition, thereby improving the unlocking control accuracy of the smart lock and improving the user experience.
[0062] In this embodiment, a smart lock unlocking control method is provided, which is applied to a controller of the smart lock such as a single chip microcomputer, MCU, etc. Figure 2 is a flow chart of a smart lock unlocking control method according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0063] Step S201, when two fingerprint images corresponding to two consecutive pressing fingers are collected within a set time, feature point sets of the two fingerprint images are extracted, and the pressing strength and / or pressing time interval of the two consecutive pressing fingers are obtained.
[0064] Specifically, when any fingerprint image is collected, the above step S201 further includes:
[0065] Step a1, determine whether the number of feature points that match the feature points of the current fingerprint image and the feature points of the target user pre-stored in the smart lock is greater than the unlocking feature point threshold.
[0066] Specifically, when the number of feature points of the current fingerprint image that match the feature points of the target user pre-stored in the smart lock is greater than the unlocking feature point threshold, the smart lock is controlled to unlock.
[0067] The embodiment of the present invention identifies the fingerprint image when it is collected, and directly controls the unlocking of the smart lock when the number of feature points matching the target user is greater than the unlocking feature point threshold. While ensuring the unlocking accuracy, the unlocking response speed of the smart lock is further improved, thereby further improving the user experience.
[0068] Furthermore, if the number of feature points of each fingerprint image that matches the feature points of the target user pre-stored in the smart lock is not greater than the unlocking feature point threshold, the step of obtaining the pressing force and / or pressing time interval of two consecutive pressing fingers is executed.
[0069] In practical applications, the above step S201 also includes:
[0070] Step b1, when multiple fingerprint images corresponding to more than two pressing fingers are collected within a set time, the multiple fingerprint images are divided into multiple groups, each group includes two fingerprint images collected at adjacent moments.
[0071] In actual applications, when the user double-clicks the fingerprint collection area of the smart lock, the user may press it multiple times in a set time due to misoperation or forgetting to press the number of times. At this time, in order to ensure the recognition accuracy of the smart lock and avoid misidentification and missed recognition, multiple fingerprint images can be grouped. For example, the fingerprint images of the user's continuously pressed fingers are A, B, C, and D in sequence. They can be grouped into A and B as the first group, B and C as the second group, and C and D as the third group. This is just an example, and the present invention is not limited to this order.
[0072] Step b2, based on the collection order of the fingerprint images, extract the feature point set of two fingerprint images for each group, and obtain the pressing intensity and / or pressing time interval of two consecutive pressing fingers.
[0073] Exemplarily, the process of smart lock unlocking control is performed in the order of the first group, the second group, and the third group mentioned above. As long as one of the groups meets the unlocking conditions, the smart lock is controlled to unlock, thereby improving the unlocking control accuracy of the smart lock and further reducing the situations of misidentification and missed identification.
[0074] In addition, it should be noted that in the above process, if it is monitored that the number of times the fingerprint collection object presses the finger within a certain period of time is greater than the preset number threshold, the smart lock is directly controlled to be in a locked state, and a lock prompt is given to the user. The certain time and the preset number threshold can be flexibly set according to the product design requirements and user needs of the smart lock, and the present invention is not limited to this. After the locking time reaches the preset locking time, the smart lock allows the user to perform the fingerprint unlocking control function again, thereby realizing a locking function similar to the smart lock in the prior art, and further ensuring the security of the smart lock. The preset locking time can also be flexibly set according to the product design requirements and user needs of the smart lock, and the present invention is not limited to this.
[0075] The embodiment of the present invention groups the collected fingerprint images in pairs according to the collection order when the user repeatedly presses the finger multiple times in a short period of time, and performs unlocking control on each group of fingerprint images in turn, so as to further improve the recognition accuracy of the smart lock, reduce the probability of recognition failure, and improve the user experience.
[0076] Step S202, determining whether the number of feature points in the feature point set that match the feature points of the target user pre-stored in the smart lock is greater than the unlocking feature point threshold.
[0077] Step S203, when the number of feature points in the feature point set that match the feature points of the target user pre-stored in the smart lock is greater than the unlocking feature point threshold, control the smart lock to unlock.
[0078] In actual applications, if the total number of feature points matching the target user in two consecutive fingerprint collection objects exceeds the unlocking feature point threshold, the fingerprint collection object is considered to be the target user, but due to the difference in its fingerprints or the offset of the pressing position, the single fingerprint image collection is inaccurate, and its identity cannot be determined based on a single fingerprint image.
[0079] The embodiment of the present invention controls the smart lock to unlock when the union of feature points of two fingerprint images is compared to meet the unlocking feature point threshold, thereby further improving the unlocking response speed of the smart lock while ensuring the unlocking accuracy, thereby further improving the user experience.
[0080] Further, when the number of feature points in the feature point set that match the feature points of the target user pre-stored in the smart lock is not greater than the unlocking feature point threshold, step S204 is executed.
[0081] Step S204, determine whether the number of feature points in the feature point set that match the feature points of the target user pre-stored in the smart lock is greater than the first feature point threshold, and the first feature point threshold is less than the unlocking feature point threshold of the smart lock. Figure 1 The description of step S102 is not repeated here.
[0082] Step S205, when the number of feature points in the feature point set that match the pre-stored feature points of the target user is greater than the first feature point threshold, the smart lock is controlled to unlock based on the relationship between the pressing force and / or pressing time interval and the target pressing force range and / or target pressing time interval range corresponding to the target user.
[0083] Specifically, the above step S205 includes:
[0084] Step S2051, determining whether the pressing force and / or pressing time interval is within a target pressing force range and / or target pressing time interval range corresponding to the target user.
[0085] Step S2052, when the pressing force and / or pressing time interval is within the target pressing force range and / or target pressing time interval range corresponding to the target user, control the smart lock to unlock.
[0086] In actual applications, the user habit of pressing force can be judged separately, or the user habit of pressing time interval can be judged separately, or the user habit of the overall representation of the two can be judged at the same time. The selection of specific user habits can be flexibly set according to actual needs, so as to realize flexible unlocking control of smart locks, but the present invention is not limited to this.
[0087] The embodiments of the present invention control the unlocking method of the smart lock when the pressing force and / or pressing time interval are within the target pressing force range and / or target pressing time interval range corresponding to the target user, and utilize the comparison between the user's habitual habits and the actual pressing conditions of the collected fingerprint image to realize the unlocking control of the smart lock, thereby further ensuring the accuracy of the unlocking control of the smart lock, reducing the problem of smart lock being locked due to multiple fingerprint recognition failures, and further improving the user experience.
[0088] Step S206: updating the target pressing force range and / or the target pressing time interval range corresponding to the target user based on the pressing force and / or the pressing time interval.
[0089] Specifically, as the user's personal usage habits may slowly change over time using the smart lock, after the smart lock is successfully unlocked, it indicates that the user's pressing force and / or pressing time interval during the unlocking process is the operation process of the target user, thereby updating the user's usage habits with their real usage data, thereby ensuring that the target pressing force range and / or target pressing time interval range are in line with the target user's latest usage habits, thereby further improving the recognition accuracy of the smart lock.
[0090] The embodiment of the present invention uses the pressing force and / or pressing time interval of the user who unlocks the smart lock to update the target user's usage habits such as the target pressing force range and / or target pressing time interval range after the smart lock is unlocked, thereby further improving the accuracy of the smart lock's unlocking control and enhancing the user experience by continuously tracking and learning the user's usage habits.
[0091] The following will describe in detail the smart lock unlocking control scheme provided by the embodiment of the present invention in conjunction with specific application examples.
[0092] For example, by using the above-mentioned smart lock unlocking control method provided by the embodiment of the present invention, a system is constructed as follows: Figure 3The smart lock system shown in the figure, in addition to supporting the fingerprint recognition function in the prior art, also supports a double-click fingerprint recognition function, allowing the user to double-click the same finger on the fingerprint module for a short period of time. The system directly collects the images of the two fingerprints and superimposes the number of non-repeated feature points, which greatly reduces the probability of single recognition failure due to offset or poor fingerprints, and can also reduce the requirement for a single press of the fingerprint image, saving time and greatly improving the fingerprint rejection rate. Figure 3 The door lock control panel of the central lock control unit is the controller of the smart lock.
[0093] At the same time, since each user has his or her own habits in the speed of double-clicking and the strength of pressing the fingerprint each time, the smart lock system will collect the interval time and pressing strength of the user's double-clicking of the fingerprint and track and learn the user's usage habits over a long period of time, and incorporate it as a new feature point into the fingerprint recognition process, which can greatly improve the accuracy and stability of fingerprint recognition, and will greatly reduce the situation where the lock control system is locked due to multiple recognition failures and people are locked out of the door. At the same time, the smart lock system is also compatible with traditional fingerprint lock recognition functions such as single finger touch recognition.
[0094] like Figure 3 The specific process of the smart lock system is as follows Figure 4 Take the smart lock as an example. The door lock allows the same finger to double-click for fingerprint recognition within a period of time. The fingerprint module will collect fingerprint images of two fingers pressing, the time interval between the two successful fingerprint collections, the strength of the two fingerprint collections, and perform image processing and feature point statistics on the two images respectively. The feature point matching judgment is performed according to the following logic:
[0095] 1. The first press feature point > the threshold value is considered to be recognized, and the threshold value is the unlock feature point threshold value mentioned above;
[0096] 2. The first press feature point < threshold, the second press feature point > threshold, the recognition is passed;
[0097] 3. The first and second press feature points are both < the threshold, but the sum of the first and second non-repeated feature points > the threshold, and the recognition is determined to be successful;
[0098] 4. The first and second press feature points are both < the threshold, but the sum of the first and second non-repeated feature points > the threshold * a certain high-order coefficient. The time interval and the pressing force of the two presses are within the tolerance range of the user's usage habits, and the recognition is determined to be successful.
[0099] 5. If the first and second press feature points are both less than the threshold and the sum of the first and second non-repeated feature points is less than the threshold * a certain high-order coefficient, the recognition is judged to be unsuccessful;
[0100] The feature point matching result is notified to the lock control unit. If the fingerprint recognition is successful, the door lock will be opened. If the fingerprint recognition is not successful, the door lock will not be opened. At the same time, the speaker will notify the user that the recognition failed and ask the user to put in the finger for re-recognition.
[0101] In this embodiment, a smart lock unlocking control device is also provided, which is used to implement the above embodiments and preferred implementations, and will not be repeated here. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0102] This embodiment provides a smart lock unlocking control device, such as Figure 5 As shown, including:
[0103] The first processing module 501 is used to extract the feature point set of the two fingerprint images when two fingerprint images corresponding to two consecutive pressing fingers are collected within a set time, and obtain the pressing force and / or pressing time interval of the two consecutive pressing fingers;
[0104] A first judgment module 502 is used to judge whether the number of feature points in the feature point set that match the feature points of the target user pre-stored in the smart lock is greater than a first feature point threshold, and the first feature point threshold is less than the unlocking feature point threshold of the smart lock;
[0105] The second processing module 503 is used to control the smart lock to unlock based on the relationship between the pressing force and / or pressing time interval and the target pressing force range and / or target pressing time interval range corresponding to the target user when the number of feature points in the feature point set that match the pre-stored feature points of the target user is greater than the first feature point threshold.
[0106] In some optional implementations, the second processing module 503 includes:
[0107] A first judgment unit, used to judge whether the pressing force and / or pressing time interval is within a target pressing force range and / or target pressing time interval range corresponding to the target user;
[0108] The first processing unit is used to control the smart lock to unlock when the pressing force and / or pressing time interval is within the target pressing force range and / or target pressing time interval range corresponding to the target user.
[0109] In some optional embodiments, the above device further includes:
[0110] The fourth processing module is used to control the smart lock to maintain a locked state when the number of feature points in the feature point set that match the feature points of the target user pre-stored in the smart lock is not greater than the first feature point threshold.
[0111] In some optional embodiments, the above device further includes:
[0112] The second judgment module is used to judge whether the number of feature points in the feature point set that match the feature points of the target user pre-stored in the smart lock is greater than the unlocking feature point threshold;
[0113] The fifth processing module is used to control the smart lock to unlock when the number of feature points in the feature point set that match the feature points of the target user pre-stored in the smart lock is greater than the unlocking feature point threshold.
[0114] In some optional embodiments, the above device further includes:
[0115] The sixth processing module is used to determine whether the number of feature points matching the feature points of the current fingerprint image and the feature points of the target user pre-stored in the smart lock is greater than the unlocking feature point threshold when any fingerprint image is collected;
[0116] The seventh processing module is used to control the smart lock to unlock when the number of feature points that match the feature points of the current fingerprint image and the feature points of the target user pre-stored in the smart lock is greater than the unlocking feature point threshold.
[0117] In some optional embodiments, the above device further includes:
[0118] An eighth processing module is configured to update a target pressing intensity range and / or a target pressing time interval range corresponding to the target user based on the pressing intensity and / or the pressing time interval.
[0119] In some optional implementations, the first processing module further includes:
[0120] A grouping unit, for collecting multiple fingerprint images corresponding to more than two pressing fingers within a set time, dividing the multiple fingerprint images into multiple groups, each group including two fingerprint images collected at adjacent moments;
[0121] The processing unit is used to extract the feature point set of two fingerprint images for each group based on the collection order of the fingerprint images, and to obtain the pressing intensity and / or pressing time interval of two consecutive pressing fingers.
[0122] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0123] The smart lock unlocking control device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0124] The embodiment of the present invention also provides a smart lock having the above Figure 5 The smart lock unlocking control device shown.
[0125] See also Figure 6 , Figure 6 is a schematic diagram of the structure of a controller of a smart lock provided by an optional embodiment of the present invention, such as Figure 6 As shown, the controller includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 10 is taken as an example.
[0126] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0127] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0128] The memory 20 may 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; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0129] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0130] The controller also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.
[0131] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.
[0132] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0133] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A smart lock unlocking control method, characterized in that: The method comprises: When two fingerprint images corresponding to two consecutive pressing fingers are collected within a set time, a feature point set of the two fingerprint images is extracted, and the pressing force and / or pressing time interval of the two consecutive pressing fingers are obtained. The set time is the longest time that the user double-clicks the fingerprint collection area of the door lock; When the number of feature points in the feature point set that match the feature points of the target user pre-stored in the smart lock is not greater than the unlocking feature point threshold, determining whether the number of feature points in the feature point set that match the feature points of the target user pre-stored in the smart lock is greater than a first feature point threshold, and the first feature point threshold is less than the unlocking feature point threshold of the smart lock; When the number of feature points in the feature point set that match the pre-stored feature points of the target user is greater than the first feature point threshold, the smart lock is controlled to unlock based on the relationship between the pressing force and / or the pressing time interval and the target pressing force range and / or the target pressing time interval range corresponding to the target user. The target pressing force range and / or the target pressing time interval range corresponding to the target user are used to characterize the usage habits of the target user of the smart lock.
2. The method according to claim 1, characterized in that The controlling the smart lock to unlock based on the relationship between the pressing force and / or the pressing time interval and the target pressing force range and / or the target pressing time interval range corresponding to the target user includes: Determining whether the pressing force and / or the pressing time interval are within a target pressing force range and / or a target pressing time interval range corresponding to the target user; When the pressing force and / or the pressing time interval is within the target pressing force range and / or the target pressing time interval range corresponding to the target user, the smart lock is controlled to unlock.
3. The method according to claim 1, characterized in that The method further comprises: When the number of feature points in the feature point set that match the feature points of the target user pre-stored in the smart lock is not greater than a first feature point threshold, the smart lock is controlled to maintain a locked state.
4. The method according to claim 1, characterized in that: Before determining whether the number of feature points in the feature point set that match the feature points of the target user pre-stored in the smart lock is greater than a first feature point threshold, the method further includes: Determine whether the number of feature points in the feature point set that match the feature points of the target user pre-stored in the smart lock is greater than the unlocking feature point threshold; When the number of feature points in the feature point set that match the feature points of the target user pre-stored in the smart lock is greater than the unlocking feature point threshold, the smart lock is controlled to unlock.
5. The method according to claim 1, characterized in that The method further comprises: When any fingerprint image is collected, it is determined whether the number of feature points of the current fingerprint image that matches the feature points of the target user pre-stored in the smart lock is greater than the unlocking feature point threshold; When the number of feature points of the current fingerprint image that match the feature points of the target user pre-stored in the smart lock is greater than the unlocking feature point threshold, the smart lock is controlled to unlock.
6. The method according to any one of claims 1 to 5, characterized in that: After controlling the smart lock to unlock, the method further includes: The target pressing intensity range and / or the target pressing time interval range corresponding to the target user is updated based on the pressing intensity and / or the pressing time interval.
7. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: When multiple fingerprint images corresponding to more than two pressed fingers are collected within a set time, the multiple fingerprint images are divided into multiple groups, each group includes two fingerprint images collected at adjacent moments; Based on the collection order of the fingerprint images, the steps of extracting the feature point set of two fingerprint images for each group and obtaining the pressing intensity and / or pressing time interval of two consecutive pressing fingers are performed.
8. An intelligent lock unlocking control device, characterized in that: include: The first processing module is used to extract the feature point set of the two fingerprint images and obtain the pressing force and / or pressing time interval of the two consecutive pressing fingers when two fingerprint images corresponding to the two consecutive pressing fingers are collected within a set time, and the set time is the longest time for the user to double-click the fingerprint collection area of the door lock; A first judgment module is used to judge whether the number of feature points in the feature point set that match the feature points of the target user pre-stored in the smart lock is greater than a first feature point threshold when the number of feature points in the feature point set that match the feature points of the target user pre-stored in the smart lock is not greater than the unlocking feature point threshold, and the first feature point threshold is less than the unlocking feature point threshold of the smart lock; The second processing module is used to control the unlocking of the smart lock based on the relationship between the pressing force and / or the pressing time interval and the target pressing force range and / or the target pressing time interval range corresponding to the target user when the number of feature points in the feature point set that match the pre-stored feature points of the target user is greater than the first feature point threshold, and the target pressing force range and / or the target pressing time interval range corresponding to the target user are used to characterize the usage habits of the target user of the smart lock.
9. A smart lock, characterized in that: include: A controller, the controller comprising: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, computer instructions are stored in the memory, and the processor executes the smart lock unlocking control method according to any one of claims 1 to 7 by executing the computer instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the smart lock unlocking control method according to any one of claims 1 to 7.
Citation Information
Cited By
Dual-drive intelligent lock cylinder of electric control cabinet and lock control system of dual-drive intelligent lock cylinder
CN119672843A
