Intelligent lock, control method and device thereof and readable storage medium

By obtaining the key history data of the smart lock and balancing the key usage frequency and residue, the security problem caused by the key residue on the smart lock password keyboard is solved and the security and reliability are improved.

CN118629112AActive Publication Date: 2024-09-10MIDEA INTELLIGENT LIGHTING & CONTROLS TECHNOLOGY CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410897850.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-09-10
Estimated Expiration
2044-07-05

AI Technical Summary

Technical Problem

The password keyboard of smart locks has obvious key residues due to long-term use, which reduces security and reliability and is easily cracked by others.

Method used

By obtaining the historical pressing parameter value and duration of each key, determine the random code, notify the user to press keys with less pressing traces, balance the frequency of use and residue of each key, and avoid cracking passwords.

Benefits of technology

It improves the security and reliability of the smart lock, prevents the password from being cracked, and extends the service life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118629112A
    Figure CN118629112A
Patent Text Reader

Abstract

The invention provides an intelligent lock, a control method and device thereof and a readable storage medium. The intelligent lock comprises a password keyboard, the password keyboard comprises a plurality of keys, and the control method comprises the steps that a historical pressing parameter value and historical pressing duration of each key are obtained; a random code is determined according to the historical pressing parameter value and the historical pressing duration of each key, the random code comprises N key symbols, the N key symbols correspond to N target keys in the multiple keys, and N is a positive integer larger than 1; and controlling the intelligent lock to notify the user to press the N target keys. Therefore, when a user uses the intelligent lock, the user can be notified to press the previous key with fewer pressing traces based on the pressing condition of the user on each key of the intelligent lock when the user uses the intelligent lock in the past, so that the pressing traces of the keys can be balanced, residual traces left on the keys are similar, and the user experience is improved. Therefore, other people are prevented from cracking the password by using residual traces, and the safety and the reliability of the intelligent lock are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of smart locks, and in particular to a smart lock and a control method and device thereof, and a readable storage medium. Background Art

[0002] With the development of smart lock technology, the use of smart locks is becoming more and more extensive, and more and more users are using them. Smart locks are generally equipped with multiple unlocking methods, such as face unlocking, fingerprint unlocking, password unlocking, and induction card unlocking.

[0003] Among them, biometric unlocking methods such as face unlocking and fingerprint unlocking have certain requirements for the user population. For example, the shallow fingerprints and insufficient height of the elderly and children will affect the success rate of biometric unlocking. For certain groups of people, password unlocking is still a frequently used unlocking method.

[0004] However, the input area of ​​the password keyboard of the smart lock is basically fixed. As the user uses the smart lock for a longer time, more and more residues are left on the commonly used keys of the password keyboard, and the use traces of the commonly used keys are becoming more and more obvious. In this way, it is easy for others to crack the unlocking password based on the residues on each key of the password keyboard, which reduces the security and reliability of the smart lock. Summary of the invention

[0005] The present invention aims to solve at least one of the technical problems existing in the prior art or related art.

[0006] To this end, a first aspect of the present invention is to provide a control method for a smart lock.

[0007] The second aspect of the present invention is to provide another control method of a smart lock.

[0008] The third aspect of the present invention is to provide a control device for a smart lock.

[0009] A fourth aspect of the present invention is to provide another control device for an intelligent lock.

[0010] A fifth aspect of the present invention is to provide a smart lock.

[0011] A sixth aspect of the present invention is to provide another smart lock.

[0012] A seventh aspect of the present invention is to provide a readable storage medium.

[0013] In view of this, according to the first aspect of the present invention, a control method for a smart lock is proposed, the smart lock includes a password keyboard, the password keyboard includes multiple keys, and the control method includes: obtaining the historical pressing parameter value and the historical pressing duration of each key; determining a random code according to the historical pressing parameter value and the historical pressing duration of each key, the random code including N key symbols, the N key symbols corresponding to N target keys among multiple keys, N is a positive integer greater than 1; controlling the smart lock to notify the user to press the N target keys.

[0014] In the control method of the smart lock provided in the first aspect of the present invention, during the process of the user using the smart lock, such as before or after the user uses the smart lock to enter the password, the control device of the smart lock obtains the user's historical pressing time and historical pressing parameter value for each key. Further, the control device of the smart lock determines a random code containing N key symbols based on the historical pressing time and historical pressing parameter value of each key obtained. Wherein, N is an integer greater than 1, and the N key symbols in the random code correspond to the N target keys in the password keyboard respectively. On this basis, the control device of the smart lock controls the operation of the smart lock to notify the user to press the above-mentioned N target keys before or after entering the password. In this way, when the user uses the smart lock, it can be based on the user's previous pressing of each key of the smart lock when using the smart lock, and notify the user to press the key with fewer pressing marks in the past, so that the pressing marks of each key can be balanced, so that the residue marks left on each key are similar, thereby preventing others from using the residue marks to crack the password, and improving the security and reliability of the smart lock.

[0015] The control method of the smart lock according to the present invention may also have the following additional technical features:

[0016] In some technical solutions, optionally, the historical pressing parameter value of each key is obtained, including: when the smart lock includes a pressure sensor, the historical pressure value of each key is determined according to the sum of the pressure values ​​when each key is pressed each time; and / or when the password keyboard is a capacitive screen, the historical capacitance difference of each key is determined according to the sum of the capacitance difference values ​​generated each time the key is pressed; and / or the number of times each key is pressed is recorded to obtain the historical number of presses of each key.

[0017] In this technical solution, when a pressure sensor is provided in the above-mentioned smart lock, each time the user uses the smart lock to input a password, the control device of the smart lock detects and records the pressure value of each key pressed by the user, and then calculates the sum of the pressure values ​​of each key pressed by the user in the past, and obtains the historical pressure value of each key. Further, when the above-mentioned password keyboard is a capacitive screen, each time the user uses the smart lock to input a password, the control device of the smart lock detects and records the capacitance difference generated by each key pressed by the user, and then calculates the sum of the capacitance difference generated by each key pressed by the user in the past, and obtains the historical capacitance difference of each key. Further, when the above-mentioned password keyboard is not a capacitive screen and the pressure sensor is not provided in the smart lock, each time the user uses the smart lock to input a password, the control device of the smart lock records the number of times each key is pressed by the user, and then calculates the sum of the number of times the user has pressed each key in the past, and obtains the historical number of times each key is pressed. In this way, the accuracy and timeliness of the determination of the historical pressing parameter value are guaranteed, the accuracy of the subsequent control of the smart lock based on the historical pressing parameter value is improved, and the safety and reliability of the smart lock operation are improved.

[0018] In some technical schemes, optionally, a random code is determined based on the historical pressing parameter value and the historical pressing duration of each key, including: sorting multiple keys in order of the historical pressing parameter value from small to large; sorting keys with the same historical pressing parameter value in order of the historical pressing duration from small to large to obtain a first sequence list; and determining the key symbols of the first N keys in the first sequence list as random codes.

[0019] In this technical solution, the control device of the smart lock sorts the multiple keys in the password keyboard in the order of the historical pressing parameter values ​​from small to large. For the keys with the same historical pressing parameter values, the control device of the smart lock sorts them in the order of the historical pressing duration from small to large, thereby obtaining a first sequence table. On this basis, the control device of the smart lock selects the first N keys in the first sequence table, and determines the key symbols corresponding to these N keys as the above-mentioned random code. In this way, the N key symbols corresponding to the first N keys with lighter pressing marks in the password keyboard are set as random codes. After the user presses the corresponding key based on the random code, the usage frequency of each key in the password keyboard can be similar, so that the pressing marks of each key in the password keyboard can be balanced, so that the residue marks left on each key of the password keyboard are similar, thereby preventing others from using the severity of the residue marks on different keys to crack the unlocking password, thereby improving the security and reliability of the smart lock.

[0020] In some technical schemes, optionally, the smart lock is controlled to notify the user to press N target buttons, including: when each button is provided with a light-emitting component, controlling the light-emitting components corresponding to the N target buttons to operate so as to highlight the N target buttons and prompt the user to press the N target buttons; and / or when the smart lock includes a display screen, controlling the display screen to display prompt information, the prompt information is used to prompt the user to press the N target buttons; and / or when the smart lock includes a speaker, controlling the speaker to play the prompt information; and / or when the smart lock and the user terminal establish communication, controlling the smart lock to send prompt information to the user terminal.

[0021] In this technical solution, when each button is provided with a corresponding light-emitting element, the control device of the smart lock controls the light-emitting elements corresponding to the N target buttons to work, so as to highlight the N target buttons, thereby prompting the user to press the above-mentioned N target buttons. Further, when a display screen is provided on the smart lock, the control device of the smart lock controls the display screen to display prompt information, so as to prompt the user to press the above-mentioned N target buttons through the prompt information. Further, when a speaker is provided in the smart lock, the control device of the smart lock controls the speaker to play the prompt information, so as to prompt the user to press the above-mentioned N target buttons through the prompt information. Further, when the user terminal establishes communication with the smart lock, the control device of the smart lock controls the smart lock to send prompt information to the user terminal, so as to prompt the user to press the above-mentioned N target buttons through the prompt information. In this way, in addition to the user entering the password through the smart lock, based on the type and specific structure of the smart lock, a corresponding notification method is adopted to notify the user to additionally press the N target buttons with lighter pressing marks in the password keyboard. In this way, the usage frequencies of each key can be made similar, so that the pressing marks of each key in the password keyboard can be balanced, and the residue marks left on each key of the password keyboard can be similar, thereby preventing others from using the severity of the residue marks on different keys to crack the unlocking password, thereby improving the security and reliability of the smart lock.

[0022] In some technical solutions, optionally, the password keyboard is a touch panel, multiple keys correspond to multiple touch areas of the touch panel, and the touch areas are used to display key symbols. The control method also includes: sorting the multiple keys according to the password information stored in the smart lock to obtain a second sequence list; adjusting the key symbols displayed in the multiple touch areas according to the first sequence list and the second sequence list.

[0023] In this technical solution, the password keyboard is a touch panel, and the multiple buttons correspond to the multiple touch areas on the touch panel respectively. Different touch areas are used to display different button symbols, and at least one password information is also stored in the smart lock. Before the user enters the password through the smart lock, the control device of the smart lock can also sort the multiple buttons according to the at least one password information to obtain a second sequence table. Among them, the second sequence table is used to indicate the frequency of occurrence of the button symbol corresponding to each button in the at least one password information. Based on this, before the user enters the password through the smart lock, the control device of the smart lock can adjust the button symbols displayed in the multiple touch areas according to the second sequence table and the first sequence table determined above. In this way, the pressing traces of each button can be balanced, so that the residue traces left on each button are similar, thereby preventing others from using the residue traces to crack the password, and improving the security and reliability of the smart lock.

[0024] According to a second aspect of the present invention, another control method for a smart lock is proposed. The smart lock includes a touch panel, and multiple touch areas of the touch panel correspond to multiple buttons. The touch areas are used to display button symbols. The control method includes: obtaining a historical pressing parameter value and a historical pressing duration of each touch area; sorting the multiple buttons according to the historical pressing parameter value and the historical pressing duration to obtain a first sequence list; sorting the multiple buttons according to the password information stored in the smart lock to obtain a second sequence list, and the buttons with the same position in the first sequence list and the second sequence list correspond to each other; adjusting the button symbol displayed in the first touch area corresponding to the first button in the first sequence list to the button symbol displayed in the second touch area corresponding to the second button in the second sequence list, and the second button corresponds to the first button.

[0025] In the control method of the smart lock provided in the second aspect of the present invention, before the user enters the password through the smart lock, the control device of the smart lock obtains the user's historical pressing duration and historical pressing parameter value for each key, that is, each touch area. Further, the control device of the smart lock sorts the multiple keys corresponding to the multiple touch areas according to the historical pressing duration and historical pressing parameter value of each touch area obtained, and obtains a first sequence list. Among them, the first sequence list is used to indicate the severity of the pressing traces of the multiple touch areas corresponding to the multiple keys. Further, the control device of the smart lock can sort the multiple keys in the order of the frequency of occurrence of the key symbol corresponding to each key in the above at least one password information from large to small, and obtain a second sequence list. Among them, the second sequence list is used to indicate the frequency of occurrence of the key symbol corresponding to each key in the above at least one password information, and the second sequence list corresponds to the keys of the same position in the first sequence list. On this basis, before the user enters the password through the smart lock, the control device of the smart lock adjusts the key symbol displayed in the first touch area corresponding to the first key in the first sequence list to the key symbol displayed in the second touch area corresponding to the second key of the same position in the second sequence list. The first button corresponds to the second button. In this way, the pressing marks of each button can be balanced, so that the residue marks left on each button are similar, thereby preventing others from using the residue marks to crack the password, thereby improving the security and reliability of the smart lock.

[0026] The control method of the smart lock according to the present invention may also have the following additional technical features:

[0027] In some technical schemes, optionally, multiple keys are sorted according to historical pressing parameter values ​​and historical pressing durations to obtain a first sequence list, including: sorting multiple keys in order of historical pressing parameter values ​​from small to large; sorting keys with the same historical pressing parameter values ​​in order of historical pressing durations from small to large to obtain the first sequence list.

[0028] In this technical solution, the control device of the smart lock sorts the multiple keys corresponding to the multiple touch areas according to the historical pressing parameter value of each touch area from small to large. For the touch areas with the same historical pressing parameter value, the control device of the smart lock sorts the keys corresponding to the touch areas according to the historical pressing duration of each touch area from small to large, thereby obtaining a first sequence list. In this way, the accuracy of the first sequence list is guaranteed, the accuracy of the subsequent control of the smart lock based on the first sequence list is improved, and the safety and reliability of the smart lock operation are improved.

[0029] In some technical solutions, optionally, the smart lock also includes an image sensor, which is used to capture user images, and sort multiple keys according to the password information stored in the smart lock to obtain a second sequence list, including: identifying the user identity according to the user image; selecting a target password from the password information according to the user identity; sorting multiple keys in order from the highest to the lowest frequency of occurrence of each key symbol in the target password to obtain a second sequence list.

[0030] In this technical solution, an image sensor is also provided on the smart lock, and the image sensor is used to collect user images. On this basis, the control device of the smart lock identifies the user's identity through the collected user image, and then judges the password that the user is about to enter based on the identified user identity, and selects the target password corresponding to the user identity from at least one password information. Furthermore, the control device of the smart lock sorts the multiple keys in the order of the frequency of occurrence of the key symbol corresponding to each key in the above target password from large to small, and obtains a second sequence table. In this way, when there is too much password information stored in the smart lock, the key symbol displayed in the touch area can be accurately changed without traversing all the password information, thereby improving the operation speed of the smart lock.

[0031] In some technical solutions, optionally, the control method also includes: determining a random code according to a first sequence table, the random code including N key symbols, where N is a positive integer greater than 1; and notifying the user to press N touch areas corresponding to the N key symbols.

[0032] In this technical solution, after obtaining the above-mentioned first sequence list, the control device of the smart lock can also select the first N keys in the first sequence list, and determine the key symbols corresponding to these N keys as random codes. Furthermore, the control device of the smart lock controls the operation of the smart lock based on the determined random code to notify the user to press the N touch areas corresponding to the above-mentioned N key symbols. In this way, in addition to the user entering the password through the smart lock, the user is notified to additionally press the first N touch areas with lighter pressing marks, which can balance the pressing marks of each touch area, so that the residue marks left on each touch area are similar, thereby preventing others from using the severity of the residue marks on different touch areas to crack the unlocking password, thereby improving the security and reliability of the smart lock.

[0033] According to a third aspect of the present invention, a control device for a smart lock is proposed, the smart lock includes a password keyboard, the password keyboard includes multiple keys, and the control device includes: a first acquisition unit, used to obtain a historical pressing parameter value and a historical pressing duration of each key; a first processing unit, used to determine a random code according to the historical pressing parameter value and the historical pressing duration of each key, the random code including N key symbols, the N key symbols corresponding to N target keys among multiple keys, N being a positive integer greater than 1; a first control unit, used to control the smart lock to notify the user to press the N target keys.

[0034] The control device of the smart lock provided in the third aspect of the present invention includes a first acquisition unit, a first processing unit and a first control unit. In the process of the user using the smart lock, such as before or after the user uses the smart lock to enter the password, the first acquisition unit obtains the user's historical pressing duration and historical pressing parameter value of each key. Further, the first processing unit determines a random code containing N key symbols based on the historical pressing duration and historical pressing parameter value of each key obtained. Wherein, N is an integer greater than 1, and the N key symbols in the random code correspond to the N target keys in the password keyboard respectively. On this basis, the first control unit controls the operation of the smart lock to notify the user to press the above-mentioned N target keys before or after entering the password. In this way, when the user uses the smart lock, it can be based on the user's previous pressing of each key of the smart lock when using the smart lock, and notify the user to press the key with fewer pressing marks in the past, so that the pressing marks of each key can be balanced, so that the residue marks left on each key are similar, thereby preventing others from using the residue marks to crack the password, and improving the security and reliability of the smart lock.

[0035] According to a fourth aspect of the present invention, another control device for a smart lock is proposed. The smart lock includes a touch panel, and multiple touch areas of the touch panel correspond to multiple buttons. The touch areas are used to display button symbols. The control device includes: a second acquisition unit, used to obtain a historical pressing parameter value and a historical pressing duration of each touch area; a second processing unit, used to sort the multiple buttons according to the historical pressing parameter values ​​and the historical pressing durations to obtain a first sequence list; the second processing unit is also used to sort the multiple buttons according to the password information stored in the smart lock to obtain a second sequence list, and the first sequence list and the second sequence list correspond to the buttons with the same position; the second processing unit is also used to adjust the button symbol displayed in the first touch area corresponding to the first button in the first sequence list to the button symbol displayed in the second touch area corresponding to the second button in the second sequence list, and the second button corresponds to the first button.

[0036] The control device of the smart lock provided in the fourth aspect of the present invention includes a second acquisition unit and a second processing unit. Before the user enters the password through the smart lock, the second acquisition unit obtains the user's historical pressing duration and historical pressing parameter value for each key, that is, each touch area. Further, the second processing unit sorts the multiple keys corresponding to the multiple touch areas according to the acquired historical pressing duration and historical pressing parameter value of each touch area to obtain a first sequence table. Among them, the first sequence table is used to indicate the severity of the pressing marks of the multiple touch areas corresponding to the multiple keys. Further, the second processing unit can sort the multiple keys in the order of the frequency of occurrence of the key symbol corresponding to each key in the above at least one password information from large to small, and obtain the above second sequence table. Among them, the second sequence table is used to indicate the frequency of occurrence of the key symbol corresponding to each key in the above at least one password information, and the second sequence table corresponds to the keys of the same position in the first sequence table. On this basis, before the user enters the password through the smart lock, the second processing unit adjusts the key symbol displayed in the first touch area corresponding to the first key in the first sequence list to the key symbol displayed in the second touch area corresponding to the second key of the same position in the second sequence list. The first key corresponds to the second key. In this way, the pressing traces of each key can be balanced, so that the residue traces left on each key are similar, thereby preventing others from using the residue traces to crack the password, and improving the security and reliability of the smart lock.

[0037] According to a fifth aspect of the present invention, a smart lock is proposed, comprising: a password keyboard comprising multiple keys; a pressure sensor connected to the password keyboard, the pressure sensor being used to detect the pressure value of each of the multiple keys when being pressed; a processor being used to obtain the historical pressing duration of each key, and determine the historical pressure value of each key according to the sum of the pressure values ​​of each key when being pressed each time; determining a random code according to the historical pressure value and the historical pressing duration of each key, the random code comprising N key symbols, the N key symbols corresponding to N target keys among the multiple keys, and N being a positive integer greater than 1; controlling the smart lock to notify the user to press the N target keys.

[0038] Specifically, the smart lock provided in the fifth aspect of the present invention includes a password keyboard, a pressure sensor and a processor. The password keyboard includes a plurality of keys, and different keys correspond to different key symbols.

[0039] Furthermore, a pressure sensor is connected to the password keyboard, and the pressure sensor is used to detect the pressure value of each key among the multiple keys each time when the key is pressed by the user.

[0040] Furthermore, during the operation of the smart lock, the processor is used to obtain the historical pressing time of each key, determine the historical pressure value of each key according to the sum of the pressure values ​​of each key when it is pressed each time; determine the random code according to the historical pressure value and the historical pressing time of each key, the random code includes N key symbols, the N key symbols correspond to N target keys among the multiple keys, and N is a positive integer greater than 1; control the smart lock to notify the user to press the N target keys. In this way, when the user uses the smart lock, based on the pressing situation of each key of the smart lock when the user used the smart lock in the past, the user can be notified to press the keys with fewer pressing marks in the past, so that the pressing marks of each key can be balanced, so that the residue marks left on each key are similar, thereby preventing others from using the residue marks to crack the password, and improving the security and reliability of the smart lock.

[0041] The above-mentioned smart lock according to the present invention may also have the following additional technical features:

[0042] In some technical solutions, optionally, the password keyboard is a touch panel, and multiple buttons correspond to multiple touch areas of the touch panel, the touch areas are used to display button symbols, and the pressure sensor is specifically used to detect the pressure value when each touch area is pressed. The smart lock also includes: a memory connected to the processor, and password information is stored in the memory; the processor is also used to: obtain the historical pressure value and the historical pressing time of each touch area; sort the multiple buttons according to the historical pressure value and the historical pressing time to obtain a first sequence list; sort the multiple buttons according to the password information to obtain a second sequence list, and the buttons with the same position in the first sequence list and the second sequence list correspond to each other; adjust the button symbol displayed in the first touch area corresponding to the first button in the first sequence list to the button symbol displayed in the second touch area corresponding to the second button in the second sequence list, and the second button corresponds to the first button.

[0043] In this technical solution, the above-mentioned password keyboard can specifically be a touch panel, and the above-mentioned multiple buttons respectively correspond to multiple touch areas on the touch panel. Different touch areas are used to display different button symbols, and the pressure sensor is specifically used to detect the pressure value of each touch area each time it is pressed by the user.

[0044] Furthermore, the above-mentioned smart lock is also provided with a memory, the memory is connected to the processor, and at least one password information is stored in the memory.

[0045] During the operation of the smart lock, the processor can also be used to obtain the historical pressure value and the historical pressing time of each touch area; sort the multiple keys according to the historical pressure value and the historical pressing time to obtain a first sequence list; sort the multiple keys according to the password information to obtain a second sequence list, and the keys of the same position in the first sequence list and the second sequence list correspond to each other; adjust the key symbol displayed in the first touch area corresponding to the first key in the first sequence list to the key symbol displayed in the second touch area corresponding to the second key in the second sequence list, and the second key corresponds to the first key. In this way, the pressing traces of each key can be balanced, so that the residue traces left on each key are similar, thereby preventing others from using the residue traces to crack the password, and improving the security and reliability of the smart lock. In addition, by changing the key symbol displayed in the touch area, the user can touch the touch panel at a different position each time the password is entered, reducing the risk of the unlocking password being leaked, and further improving the security and reliability of the smart lock. In addition, for smart locks using physical keys, by changing the key symbol displayed in the touch area, the frequency of use of each key can be guaranteed to be similar, thereby extending the service life of the smart lock.

[0046] In some technical solutions, optionally, the smart lock also includes: an image sensor for capturing user images.

[0047] In this technical solution, an image sensor is also provided on the smart lock, and the image sensor is used to capture user images.

[0048] According to the sixth aspect of the present invention, another smart lock is proposed, comprising a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the smart lock control method in any of the above technical solutions are implemented. Therefore, the smart lock proposed in the sixth aspect of the present invention has all the beneficial effects of the smart lock control method in any of the above technical solutions, which will not be repeated here.

[0049] According to the seventh aspect of the present invention, a readable storage medium is provided, on which a program or instruction is stored, and when the program or instruction is executed by a processor, a control method for a smart lock as in any of the above technical solutions is implemented. Therefore, the readable storage medium provided in the seventh aspect of the present invention has all the beneficial effects of the control method for a smart lock in any of the above technical solutions, which will not be described in detail here.

[0050] Additional aspects and advantages of the present invention will become apparent from the following description or may be learned by practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0052] Figure 1 One of the flow charts of the control method of the smart lock according to the embodiment of the present invention is shown;

[0053] Figure 2 A second flow chart of a method for controlling a smart lock according to an embodiment of the present invention is shown;

[0054] Figure 3 A third flowchart of the control method of the smart lock according to an embodiment of the present invention is shown;

[0055] Figure 4 A fourth flowchart of a method for controlling a smart lock according to an embodiment of the present invention is shown;

[0056] Figure 5 A fifth flow chart of a method for controlling a smart lock according to an embodiment of the present invention is shown;

[0057] Figure 6 One of the schematic diagrams showing the effect of the control method of the smart lock according to the embodiment of the present invention is shown;

[0058] Figure 7 A second schematic diagram showing the effect of the control method of the smart lock according to an embodiment of the present invention;

[0059] Figure 8 A third schematic diagram showing the effect of the control method of the smart lock according to the embodiment of the present invention;

[0060] Fig. 9 A sixth flow chart of a method for controlling a smart lock according to an embodiment of the present invention is shown;

[0061] Fig.10 One of the structural block diagrams of the control device of the smart lock according to the embodiment of the present invention is shown;

[0062] Fig.11 A second structural block diagram of the control device of the smart lock according to an embodiment of the present invention is shown;

[0063] Fig.12 One of the structural block diagrams of the smart lock according to an embodiment of the present invention is shown;

[0064] Fig.13 The second structural block diagram of the smart lock according to the embodiment of the present invention is shown. DETAILED DESCRIPTION

[0065] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict.

[0066] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.

[0067] Combine the following Figures 1 to 13 , the smart lock and its control method and device, and readable storage medium provided in the embodiments of the present application are described in detail through specific embodiments and their application scenarios.

[0068] In one embodiment of the present invention, Figure 1 As shown, a control method for a smart lock is proposed. The smart lock is provided with a password keyboard, which includes a plurality of keys. On this basis, the control method may specifically include the following steps 102 to 106:

[0069] Step 102, obtaining the historical pressing parameter value and historical pressing duration of each key;

[0070] Step 104, determining a random code according to the historical pressing parameter value and the historical pressing duration of each key, the random code including N key symbols, the N key symbols corresponding to N target keys among the multiple keys;

[0071] Step 106, controlling the smart lock to notify the user to press N target buttons;

[0072] Wherein, N is a positive integer greater than 1.

[0073] The execution subject of the technical solution of the smart lock control method provided in this embodiment can be a smart lock, or a control device of the smart lock, or can be determined according to actual use requirements, which is not specifically limited here. In order to more clearly describe the smart lock control method provided in this embodiment, the following description is based on the execution subject of the smart lock control method of this embodiment as a control device of the smart lock.

[0074] The control method of the smart lock provided in this embodiment is used to solve the problem that when a user uses a password to unlock the smart lock for a long time, the unlocking password may be cracked by others using the residue traces left on the smart lock.

[0075] Among them, the above-mentioned smart lock is provided with a password keyboard, which includes a plurality of keys, and different keys correspond to different key symbols.

[0076] On this basis, in the control method of the smart lock provided in this embodiment, during the process of the user using the smart lock, such as before or after the user uses the smart lock to enter the password, the control device of the smart lock obtains the user's historical pressing time and historical pressing parameter value for each key. Further, the control device of the smart lock analyzes the user's previous pressing of each key based on the obtained historical pressing time and historical pressing parameter value of each key, determines the severity of the pressing marks on each key, and then determines a random code containing N key symbols based on the severity of the pressing marks on each key. Wherein, N is an integer greater than 1, and the N key symbols in the random code correspond to the N target keys in the password keyboard respectively. On this basis, the control device of the smart lock controls the operation of the smart lock to notify the user to press the above-mentioned N target keys before or after entering the password. In this way, when a user uses the smart lock, the user can be notified to press the keys with fewer pressing marks in the past based on the user's previous pressing of each key in the smart lock. This can balance the pressing marks of each key and make the residual marks left on each key similar, thereby preventing others from using the residual marks to crack the password, thereby improving the security and reliability of the smart lock.

[0077] Among them, in the process of the control device of the smart lock obtaining the user's historical pressing time and historical pressing parameter value of each button, each time the user uses the smart lock to enter the password, the control device of the smart lock detects and records the pressing time and pressing parameter value of each button pressed by the user, and then calculates the sum of the pressing time of each button pressed by the user in the past to obtain the historical pressing time of each button, and calculates the sum of the pressing parameter values ​​of each button pressed by the user in the past to obtain the historical pressing parameter value of each button.

[0078] Among them, after calculating the above-mentioned historical pressing time and historical pressing parameter value, in the subsequent process of the user using the smart lock to enter the password, the historical pressing time and historical pressing parameter value of each button are updated according to the user's actual pressing of each button.

[0079] Furthermore, the magnitude of the above-mentioned pressing parameter value can be used to indicate the user's pressing strength and / or pressing frequency of the button. Based on the type and specific structure of the smart lock, the above-mentioned pressing parameter value includes but is not limited to: the pressure value when each button is pressed by the user, the capacitance difference generated when each button is pressed by the user, and the number of times each button is pressed by the user. Those skilled in the art can select the specific type of the above-mentioned pressing parameter value according to actual conditions, and no specific limitation is made here.

[0080] Furthermore, the N key symbols in the random code are the N key symbols corresponding to the N keys with lighter pressing marks in the password keyboard, that is, the N target keys are the N keys with lighter pressing marks in the password keyboard, that is, the N target keys are the N keys with lower usage frequency in the password keyboard. In this way, in addition to the user entering the password through the smart lock, the user is additionally notified to press the N target keys with lighter pressing marks in the password keyboard, which can make the usage frequency of each key similar, thereby balancing the pressing marks of each key in the password keyboard, making the residue marks left on each key of the password keyboard similar, thereby preventing others from using the severity of the residue marks on different keys to crack the unlocking password, thereby improving the security and reliability of the smart lock.

[0081] In some embodiments of the present invention, optionally, the step of obtaining the historical pressing parameter value of each key may specifically include the following step 108, and / or step 110, and / or step 112:

[0082] Step 108, determining a historical pressure value of each key according to the sum of the pressure values ​​of each key when it is pressed each time;

[0083] Step 110, determining a historical capacitance difference value of each key according to the sum of the capacitance difference values ​​generated each time each key is pressed;

[0084] Step 112, record the number of times each key is pressed.

[0085] In this embodiment, when a pressure sensor is provided in the above-mentioned smart lock, the above-mentioned pressing parameter value may specifically be the pressure value when each key is pressed by the user, and the above-mentioned historical pressing parameter value may specifically be the historical pressure value of each key. On this basis, in the process of the control device of the smart lock obtaining the historical pressing parameter value of each key by the user, each time the user uses the smart lock to input a password, the control device of the smart lock detects and records the pressure value each time the user presses each key, and then calculates the sum of the pressure values ​​of each key pressed by the user in the past to obtain the historical pressure value of each key.

[0086] Furthermore, in the case where the password keyboard is a capacitive screen, the above-mentioned pressing parameter value may specifically be the capacitance difference value generated when each key is pressed by the user, and the above-mentioned historical pressing parameter value may specifically be the historical capacitance difference value of each key. On this basis, in the process of the control device of the smart lock obtaining the historical pressing parameter value of each key by the user, each time the user uses the smart lock to input the password, the control device of the smart lock detects and records the capacitance difference value generated each time the user presses each key, and then calculates the sum of the capacitance difference values ​​generated by the user's previous pressing of each key to obtain the historical capacitance difference value of each key.

[0087] Furthermore, when the password keyboard is not a capacitive screen and the smart lock is not provided with a pressure sensor, the above-mentioned pressing parameter value may specifically be the number of times each key is pressed by the user, and the above-mentioned historical pressing parameter value may specifically be the number of historical pressing times of each key. On this basis, in the process of the control device of the smart lock obtaining the historical pressing parameter value of each key by the user, each time the user uses the smart lock to input the password, the control device of the smart lock records the number of times each key is pressed by the user, and then calculates the total number of times the user has pressed each key in the past, and obtains the historical pressing times of each key.

[0088] In this way, each time the user uses the smart lock to enter a password, based on the type and specific structure of the smart lock, a corresponding detection method is used to detect and record the pressing parameter value of each key pressed by the user in real time, and then based on the sum of the pressing parameter values ​​of each key pressed by the user in the past, the historical pressing parameter value of each key is obtained. In this way, the accuracy and timeliness of the determination of the historical pressing parameter value is guaranteed, the accuracy of the subsequent control of the smart lock based on the historical pressing parameter value is improved, and the safety and reliability of the smart lock operation are improved.

[0089] In some embodiments of the present invention, optionally, the step of determining the random code according to the historical pressing parameter value and the historical pressing duration of each key may specifically include the following steps 114 to 118:

[0090] Step 114, sorting the multiple keys in ascending order of historical pressing parameter values;

[0091] Step 116, sorting the keys with the same historical pressing parameter value in ascending order of historical pressing duration to obtain a first sequence list;

[0092] Step 118: determine the key symbols of the first N keys in the first sequence list as random codes.

[0093] In this embodiment, in the process of determining the random code according to the acquired historical pressing duration and historical pressing parameter value of each key, the control device of the smart lock specifically uses the historical pressing parameter value of each key as the first factor and the historical pressing duration of each key as the second factor to sort the multiple keys in the password keyboard to obtain a first sequence list.

[0094] Specifically, the control device of the smart lock sorts the multiple keys in the password keyboard according to the order of the historical pressing parameter value from small to large. For the keys with the same historical pressing parameter value, the control device of the smart lock sorts them according to the order of the historical pressing duration from small to large, thereby obtaining a first sequence table. Among them, the first sequence table is used to indicate the severity of the pressing traces of the multiple keys in the password keyboard. The pressing trace of the key at the first position in the first sequence table is the lightest, and the pressing trace of the key at the end of the first sequence table is the heaviest. On this basis, the control device of the smart lock selects the first N keys in the first sequence table, and determines the key symbols corresponding to these N keys as the above-mentioned random code. In this way, the N key symbols corresponding to the first N keys with lighter pressing traces in the password keyboard are set as random codes. After the user presses the corresponding key based on the random code, the use frequency of each key in the password keyboard can be similar, so that the pressing traces of each key in the password keyboard can be balanced, so that the residue traces left on each key of the password keyboard are similar, thereby preventing others from using the severity of the residue traces on different keys to crack the unlocking password, thereby improving the security and reliability of the smart lock.

[0095] Wherein, N is a positive integer, and those skilled in the art may set the specific value of N according to actual conditions, and no specific limitation is made here.

[0096] For example, in the case where the above historical pressing parameter value is the historical pressure value of each key, N is set to 3, and the historical pressure value of each key is used as the first factor, and the historical pressing duration of each key is used as the second factor, and the multiple keys in the password keyboard are sorted to obtain a first sequence table, and the first sequence table is shown in the following Table 1. At this time, N is 3, that is, the length of the random code is 3, and the first 3 keys in the first sequence table are selected, and the 3 key symbols corresponding to the 3 keys are determined as the above random code, and the random code "506" is obtained.

[0097] Table 1: First sequence list

[0098] Historical pressure values 3N 5N 8N 8N 10N 10N 13N 15N 20N 20N Historical compression duration 2S 6S 3S 4S 7S 9S 15S 8S 8S 10S button 5 0 6 1 2 9 8 3 7 4

[0099] Among them, N in the first sequence table represents the unit of force "Newton", and S represents the unit of time "second".

[0100] In actual application, the control device of the smart lock can also sort the multiple keys in the password keyboard according to the historical pressing time of each key as the first factor and the historical pressing parameter value of each key as the second factor to obtain a first sequence table. That is, the control device of the smart lock can also sort the multiple keys in the password keyboard according to the order of the historical pressing time from small to large, and for the keys with the same historical pressing time, the control device of the smart lock sorts them according to the order of the historical pressing parameter value from small to large, so as to obtain the first sequence table.

[0101] In some embodiments of the present invention, optionally, the above step 106 may specifically include the following step 120, and / or step 122, and / or step 124, and / or step 126:

[0102] Step 120, controlling the light emitting elements corresponding to the N target buttons to operate;

[0103] Step 122, controlling the display screen to display prompt information;

[0104] Step 124, controlling the speaker to play the prompt information;

[0105] Step 126, controlling the smart lock to send a prompt message to the user terminal;

[0106] The prompt information is used to prompt the user to press N target buttons.

[0107] In this embodiment, when the control device of the smart lock controls the smart lock to notify the user to press the above-mentioned N target buttons, when each button is provided with a corresponding light-emitting component, that is, when each button can individually provide luminous feedback, during the user's use of the smart lock, such as before or after the user enters a password, the control device of the smart lock controls the light-emitting components corresponding to the N target buttons to work so as to highlight the N target buttons, thereby prompting the user to press the above-mentioned N target buttons.

[0108] Furthermore, when a display screen is provided on the smart lock, when the user uses the smart lock, such as before or after the user enters a password, the control device of the smart lock controls the display screen to display prompt information, so as to prompt the user to press the above-mentioned N target buttons through the prompt information.

[0109] Furthermore, when a speaker is provided in the smart lock, when the user uses the smart lock, such as before or after the user enters a password, the control device of the smart lock controls the speaker to play a prompt message to prompt the user to press the above-mentioned N target buttons through the prompt message.

[0110] Furthermore, when the user terminal establishes communication with the smart lock, during the user's use of the smart lock, such as before or after the user enters a password, the control device of the smart lock controls the smart lock to send a prompt message to the user terminal to prompt the user to press the above-mentioned N target buttons through the prompt message.

[0111] In this way, in addition to the user inputting the password through the smart lock, based on the type and specific structure of the smart lock, a corresponding notification method is used to notify the user to additionally press N target keys with lighter pressing marks in the password keyboard. In this way, the usage frequency of each key can be similar, so that the pressing marks of each key in the password keyboard can be balanced, and the residue marks left on each key of the password keyboard are similar, thereby preventing others from using the lightness of the residue marks on different keys to crack the unlocking password, thereby improving the security and reliability of the smart lock.

[0112] For example, assuming that the user password is "244295", the keys used frequently by the smart lock are "2", "4", "5" and "9", and the remaining keys, namely "0", "1", "3", "6", "7" and "8", are used less frequently. At this time, if the specific value of N is 3, the control device of the smart lock can determine that the random code is "168". On this basis, when the user uses the smart lock, if Figure 6 As shown, the control device of the smart lock controls the smart lock to highlight the keys "1", "6" and "8" corresponding to the random code based on the determined random code.

[0113] In some embodiments of the present invention, optionally, the password keyboard may be a touch panel, and the multiple keys correspond to the multiple touch areas on the touch panel, and different touch areas are used to display different key symbols. The smart lock also stores password information. On this basis, the control method may further include the following steps 128 and 130:

[0114] Step 128, sorting the multiple keys according to the password information to obtain a second sequence list;

[0115] Step 130: adjusting the key symbols displayed in the plurality of touch control areas according to the first sequence list and the second sequence list.

[0116] In this embodiment, the password keyboard may specifically be a touch panel, the multiple buttons respectively correspond to multiple touch areas on the touch panel, different touch areas are used to display different button symbols, and at least one password information is also stored in the smart lock.

[0117] On this basis, before the user enters the password through the smart lock, the control device of the smart lock can also sort the multiple keys according to the above at least one password information to obtain a second sequence table. Among them, the second sequence table is used to indicate the frequency of the key symbol corresponding to each key in the above at least one password information, that is, the above second sequence table can reflect the possibility of the user pressing each key or each touch area in the future. Based on this, before the user enters the password through the smart lock, the control device of the smart lock can adjust the key symbols displayed in the above multiple touch areas according to the second sequence table and the first sequence table determined above, so as to adjust the key symbols displayed in the touch area with lighter historical pressing marks to the key symbols corresponding to the touch area with greater possibility of being pressed in the future, and adjust the key symbols displayed in the touch area with heavier historical pressing marks to the key symbols corresponding to the touch area with less possibility of being pressed in the future. In this way, based on the severity of the historical pressing traces of each touch area and the probability of each touch area being pressed later, the key symbols displayed in the touch area are changed, which can increase the probability of the touch area with lighter historical pressing traces being pressed later, and reduce the probability of the touch area with heavier historical pressing traces being pressed later. In this way, the pressing traces of each key can be balanced, so that the residual traces left on each key are similar, thereby preventing others from using the residual traces to crack the password, and improving the security and reliability of the smart lock.

[0118] In addition, by changing the key symbols displayed in the touch area, the user can touch a different position on the password keyboard each time he enters the password, reducing the risk of the unlocking password being leaked and further improving the security and reliability of the smart lock.

[0119] In addition, for smart locks that use physical buttons, by changing the button symbols displayed in the touch area, it is possible to ensure that the frequency of use of each button is similar, thereby extending the service life of the smart lock. For example, assuming that the service life of each button is 100,000 times, if the same button is used each time, the service life of the smart lock is 100,000 times. By changing the button symbols displayed in the touch area, each button can be used evenly, and the service life of the smart lock can be extended to (100,000 × number of buttons) times.

[0120] Among them, the control device of the smart lock can sort the multiple keys in the order of the frequency of occurrence of the key symbol corresponding to each key in the above at least one password information from large to small, that is, in the order of the possibility of the user pressing each key or each touch area in the future from large to small, to obtain the above second sequence list. On this basis, the keys of the same position in the second sequence list and the first sequence list can correspond to each other. In the process of the control device of the smart lock changing the key symbol displayed in the touch area, the control device of the smart lock can specifically adjust the key symbol displayed in the touch area corresponding to any key in the first sequence list to the key symbol displayed in the touch area corresponding to the key of the same position in the second sequence.

[0121] Exemplarily, in the first sequence table, according to the order of the historical pressing traces of each key from light to heavy, the order of the multiple keys in the password keyboard is: "3", "9", "1", "0", "8", "4", "5", "7", "6" and "2". Furthermore, the smart lock stores the password: 162758. That is, the keys used frequently in the smart lock are "1", "2", "5", "6", "7" and "8", and the keys used less frequently are "0", "3", "4" and "9". Based on this, in the second sequence table, according to the order of the frequency of occurrence of the key symbol corresponding to each key in the above password from large to small, the order of the multiple keys in the password keyboard can be: "1", "2", "5", "6", "7", "8", "0", "3", "4" and "9". On this basis, before the user uses the smart lock to enter the password, such as Figure 7 As shown, based on the second sequence table and the first sequence table, the key symbol displayed in the touch area corresponding to key "3" is adjusted from 3 to 1, the key symbol displayed in the touch area corresponding to key "9" is adjusted from 9 to 2, the key symbol displayed in the touch area corresponding to key "1" is adjusted from 1 to 5, the key symbol displayed in the touch area corresponding to key "0" is adjusted from 0 to 6, the key symbol displayed in the touch area corresponding to key "8" is adjusted from 8 to 7, the key symbol displayed in the touch area corresponding to key "4" is adjusted from 4 to 8, the key symbol displayed in the touch area corresponding to key "5" is adjusted from 5 to 0, the key symbol displayed in the touch area corresponding to key "7" is adjusted from 7 to 3, the key symbol displayed in the touch area corresponding to key "6" is adjusted from 6 to 4, and the key symbol displayed in the touch area corresponding to key "2" is adjusted from 2 to 9. In this way, after the user enters the password, the pressing traces of each key can be balanced, so that the residue traces left on each key are similar.

[0122] In summary, if Figure 2As shown, the control method of the smart lock provided by the embodiment of the present invention may specifically include the following steps 302 to 318:

[0123] Step 302, detecting that a key is pressed;

[0124] Step 304, recording the pressure value and pressing duration of the key;

[0125] Step 306, determining the historical pressure value of the key based on the sum of the pressure values ​​of the key being pressed, and determining the historical pressing duration of the key based on the sum of the pressing durations of the key being pressed;

[0126] Step 308, determine: the user's current operation on the smart lock is completed, if yes, execute step 310, if not, execute step 302;

[0127] Step 310, detecting that the smart lock is awakened again;

[0128] Step 312, sorting all keys in order of historical pressure values ​​from small to large;

[0129] Step 314, re-sorting the keys with the same historical pressure values ​​in order of historical pressing duration from small to large, to obtain a first sequence table;

[0130] Step 316, selecting the key symbols corresponding to the first N keys in the first sequence list as random codes;

[0131] Step 318, prompting the user to press N keys corresponding to the random code.

[0132] In some embodiments of the present invention, optionally, Figure 3 As shown, another control method of a smart lock is proposed. The smart lock includes a touch panel, and multiple touch areas on the touch panel correspond to multiple keys respectively. Different touch areas are used to display different key symbols. The smart lock also stores password information. On this basis, the above control method may specifically include the following steps 202 to 208:

[0133] Step 202, obtaining the historical pressing duration and historical pressing parameter value of each touch area;

[0134] Step 204, sorting the multiple keys according to the historical pressing duration and the historical pressing parameter values ​​to obtain a first sequence list;

[0135] Step 206, sorting the multiple keys according to the password information to obtain a second sequence list;

[0136] Step 208, adjusting the key symbol displayed in the first touch area corresponding to the first key in the first sequence list to the key symbol displayed in the second touch area corresponding to the second key in the second sequence list;

[0137] Among them, the buttons of the same position in the second sequence list and the first sequence list correspond to each other, and the first button corresponds to the second button.

[0138] The execution subject of the technical solution of the smart lock control method provided in this embodiment can be a smart lock, or a control device of the smart lock, or can be determined according to actual use requirements, which is not specifically limited here. In order to more clearly describe the smart lock control method provided in this embodiment, the following description is based on the execution subject of the smart lock control method of this embodiment as a control device of the smart lock.

[0139] The control method of the smart lock provided in this embodiment is used to solve the problem that when a user uses a password to unlock the smart lock for a long time, the unlocking password may be cracked by others using the residue traces left on the smart lock.

[0140] Among them, the above-mentioned smart lock is provided with a touch panel, and the multiple touch areas on the touch panel correspond to multiple buttons respectively. Different touch areas are used to display different button symbols. At least one password information is also stored in the above-mentioned smart lock.

[0141] On this basis, in the control method of the smart lock provided in the present embodiment, before the user enters the password through the smart lock, the control device of the smart lock obtains the user's historical pressing duration and historical pressing parameter value for each button, i.e., each touch area. Further, the control device of the smart lock analyzes the user's previous pressing conditions on each touch area based on the acquired historical pressing duration and historical pressing parameter value of each touch area, determines the severity of the pressing marks on each touch area, and then sorts the multiple buttons corresponding to the multiple touch areas according to the severity of the pressing marks on each touch area, and obtains a first sequence table. Among them, the first sequence table is used to indicate the severity of the pressing marks of the multiple touch areas corresponding to the multiple buttons. The touch area corresponding to the button at the first position in the first sequence table has the lightest pressing mark, and the touch area corresponding to the button at the last position in the first sequence table has the heaviest pressing mark.

[0142] Furthermore, the control device of the smart lock can sort the multiple keys in the order of the frequency of occurrence of the key symbol corresponding to each key in the above at least one password information, that is, in the order of the possibility of the user pressing each key, that is, each touch area, from large to small, to obtain the above second sequence list. Among them, the second sequence list is used to indicate the frequency of occurrence of the key symbol corresponding to each key in the above at least one password information, that is, the above second sequence list can reflect the possibility of the user pressing each key, that is, each touch area, the key at the first position in the second sequence list has the greatest possibility of being pressed subsequently, and the key at the last position in the second sequence list has the least possibility of being pressed subsequently, and the keys in the second sequence list and the first sequence list with the same position correspond to each other.

[0143] On this basis, before the user enters the password through the smart lock, the control device of the smart lock adjusts the key symbol displayed in the first touch area corresponding to the first key in the first sequence list to the key symbol displayed in the second touch area corresponding to the second key of the same position in the second sequence list. Among them, the first key corresponds to the second key. In this way, based on the severity of the historical pressing traces of each touch area and the possibility of each touch area being pressed later, the key symbol displayed in the touch area with lighter historical pressing traces is adjusted to the key symbol corresponding to the touch area with greater possibility of being pressed later, and the key symbol displayed in the touch area with heavier historical pressing traces is adjusted to the key symbol corresponding to the touch area with less possibility of being pressed later, which can increase the possibility of the touch area with lighter historical pressing traces being pressed later, and reduce the possibility of the touch area with heavier historical pressing traces being pressed later. In this way, the pressing traces of each key can be balanced, so that the residue traces left on each key are similar, thereby preventing others from using the residue traces to crack the password, and improving the security and reliability of the smart lock.

[0144] In addition, by changing the button symbols displayed in the touch area, the user can touch the touch panel at a different position each time when entering a password, thereby reducing the risk of the unlocking password being leaked and further improving the security and reliability of the smart lock.

[0145] In addition, for smart locks that use physical buttons, by changing the button symbols displayed in the touch area, it is possible to ensure that the frequency of use of each button is similar, thereby extending the service life of the smart lock. For example, assuming that the service life of each button is 100,000 times, if the same button is used each time, the service life of the smart lock is 100,000 times. By changing the button symbols displayed in the touch area, each button can be used evenly, and the service life of the smart lock can be extended to (100,000 × number of buttons) times.

[0146] Among them, in the process of the control device of the smart lock obtaining the user's historical pressing time and historical pressing parameter value of each button, that is, each touch area, each time the user uses the smart lock to enter a password, the control device of the smart lock detects and records the pressing time and pressing parameter value when the user presses each touch area, and then calculates the sum of the pressing time of each touch area pressed by the user in the past, and obtains the historical pressing time of each touch area, and calculates the sum of the pressing parameter values ​​of each touch area pressed by the user in the past, and obtains the historical pressing parameter value of each touch area.

[0147] Among them, after calculating the above-mentioned historical pressing duration and historical pressing parameter value, in the subsequent process of the user using the smart lock to enter the password, the historical pressing duration and historical pressing parameter value of each touch area are updated according to the user's actual pressing of each touch area.

[0148] Furthermore, the magnitude of the above-mentioned pressing parameter value can be used to indicate the user's pressing strength and / or pressing frequency on the touch area. Based on the type and specific structure of the smart lock, the above-mentioned pressing parameter value includes but is not limited to: the pressure value when each touch area is pressed by the user, the capacitance difference generated when each touch area is pressed by the user, and the number of times each touch area is pressed by the user. Those skilled in the art can select the specific type of the above-mentioned pressing parameter value according to actual conditions, and no specific limitation is made here.

[0149] For example, the first sequence table is shown in Table 1 above. The smart lock stores passwords "123456", "3344621" and "22224436". The control device of the smart lock sorts the multiple keys in descending order of the frequency of occurrence of the key symbol corresponding to each key in the above password to obtain a second sequence table, which is shown in Table 2 below. On this basis, before the user uses the smart lock to enter the password, Figure 8As shown, based on the second sequence table and the first sequence table, the key symbol displayed in the touch area corresponding to the key "5" is adjusted from 5 to 2, the key symbol displayed in the touch area corresponding to the key "0" is adjusted from 0 to 4, the key symbol displayed in the touch area corresponding to the key "6" is adjusted from 6 to 3, the key symbol displayed in the touch area corresponding to the key "1" is adjusted from 1 to 6, the key symbol displayed in the touch area corresponding to the key "2" is adjusted from 2 to 1, the key symbol displayed in the touch area corresponding to the key "9" is adjusted from 9 to 5, the key symbol displayed in the touch area corresponding to the key "8" is adjusted from 8 to 0, the key symbol displayed in the touch area corresponding to the key "3" is adjusted from 3 to 7, the key symbol displayed in the touch area corresponding to the key "7" is adjusted from 7 to 8, and the key symbol displayed in the touch area corresponding to the key "4" is adjusted from 4 to 9. In this way, after the user enters the password, the pressing traces of each key can be balanced, so that the residue traces left on each key are similar.

[0150] Table 2: Second sequence list

[0151] Frequency 6 5 4 3 2 1 0 0 0 0 button 2 4 3 6 1 5 0 7 8 9

[0152] In some embodiments of the present invention, optionally, Figure 4 As shown, the above step 204 may specifically include the following steps 210 and 212:

[0153] Step 210, sorting the multiple keys in ascending order of historical pressing parameter values;

[0154] Step 212, sorting the keys with the same historical pressing parameter value in ascending order of historical pressing duration to obtain a first sequence table.

[0155] In this embodiment, in the process of sorting multiple buttons according to the acquired historical pressing duration and historical pressing parameter value of each touch area to obtain a first sequence list, the control device of the smart lock uses the historical pressing parameter value of each touch area as the first factor and the historical pressing duration of each touch area as the second factor to sort the multiple buttons corresponding to the multiple touch areas to obtain the first sequence list.

[0156] Specifically, the control device of the smart lock sorts the multiple buttons corresponding to the multiple touch areas according to the historical pressing parameter value of each touch area from small to large. For the touch areas with the same historical pressing parameter value, the control device of the smart lock sorts the buttons corresponding to the touch areas according to the historical pressing duration of each touch area from small to large, thereby obtaining a first sequence table. In this way, the first sequence table is used to indicate the severity of the pressing marks of the multiple touch areas corresponding to the multiple buttons. The touch area corresponding to the button at the first position in the first sequence table has the lightest pressing mark, and the touch area corresponding to the button at the last position in the first sequence table has the heaviest pressing mark. In this way, the accuracy of the first sequence table is guaranteed, the accuracy of the subsequent control of the smart lock based on the first sequence table is improved, and the safety and reliability of the smart lock operation are improved.

[0157] In actual application, the control device of the smart lock can also use the historical pressing time of each touch area as the first factor and the historical pressing parameter value of each touch area as the second factor to sort the multiple keys corresponding to the multiple touch areas to obtain a first sequence table. That is, the control device of the smart lock can also sort the multiple keys corresponding to the multiple touch areas in the order of the historical pressing time of each touch area from small to large. For touch areas with the same historical pressing time, the control device of the smart lock can sort the keys corresponding to the touch areas in the order of the historical pressing parameter value of each touch area from small to large, thereby obtaining a first sequence table.

[0158] In some embodiments of the present invention, optionally, the above-mentioned smart lock may also be provided with an image sensor for collecting user images. Figure 5 As shown, the above step 206 may specifically include the following steps 214 to 218:

[0159] Step 214, identifying the user identity based on the user image;

[0160] Step 216, selecting a target password from the password information according to the user identity;

[0161] Step 218, sorting the multiple keys in descending order of the frequency of occurrence of each key symbol in the target password to obtain a second sequence table.

[0162] In this embodiment, the smart lock may also be provided with an image sensor, which is used to collect user images. On this basis, in the process of obtaining the second sequence list by sorting multiple keys according to at least one password information stored in the smart lock, the control device of the smart lock identifies the user identity through the collected user image, and then judges the password that the user is about to enter according to the identified user identity, and selects the target password corresponding to the user identity from the at least one password information. Furthermore, the control device of the smart lock sorts multiple keys in the order of the frequency of occurrence of the key symbol corresponding to each key in the target password from large to small, and obtains the second sequence list. In this way, when there is too much password information stored in the smart lock, the key symbol displayed in the touch area can be accurately changed without traversing all the password information, thereby improving the operation speed of the smart lock.

[0163] Among them, the above-mentioned image sensor can specifically be a radar sensor, a camera, etc. Those skilled in the art can select the specific type of the above-mentioned image sensor according to actual conditions, and no specific limitation is made here.

[0164] In some embodiments of the present invention, optionally, the control method may further include the following steps 220 and 222:

[0165] Step 220, determining a random code according to the first sequence table, the random code including N key symbols;

[0166] Step 222, notifying the user to press the N touch areas corresponding to the N key symbols.

[0167] In this embodiment, since the first sequence list is used to indicate the severity of the pressing marks of multiple touch areas corresponding to multiple buttons, the pressing marks of the touch area corresponding to the button at the first position in the first sequence list are the lightest, and the pressing marks of the touch area corresponding to the button at the last position in the first sequence list are the heaviest, after obtaining the above-mentioned first sequence list, the control device of the smart lock can also select the first N buttons in the first sequence list, and determine the button symbols corresponding to these N buttons as random codes. Further, the control device of the smart lock controls the operation of the smart lock based on the determined random code to notify the user to press the N touch areas corresponding to the above-mentioned N button symbols. In this way, in addition to the user entering the password through the smart lock, the user is notified to press the first N touch areas with lighter pressing marks, which can balance the pressing marks of each touch area, so that the residue marks left on each touch area are similar, thereby preventing others from using the severity of the residue marks on different touch areas to crack the unlocking password, thereby improving the security and reliability of the smart lock.

[0168] Wherein, N is a positive integer, and those skilled in the art may set the specific value of N according to actual conditions, and no specific limitation is made here.

[0169] Furthermore, based on the type and specific structure of the smart lock, the control device of the smart lock can control the smart lock to use notification methods such as highlighting N touch areas, displaying prompt information on the display screen, playing prompt information, and sending prompt information to the user terminal to notify the user to additionally press the first N touch areas with lighter pressing marks. Those skilled in the art can select the specific notification method of the smart lock according to actual conditions, and no specific limitation is made here.

[0170] In summary, if Fig. 9 As shown, the control method of the smart lock provided by the embodiment of the present invention may specifically include the following steps 402 to 418:

[0171] Step 402, detecting that a key is pressed;

[0172] Step 404, recording the pressure value and pressing duration of the key;

[0173] Step 406, determining the historical pressure value of the key based on the sum of the pressure values ​​of the key being pressed, and determining the historical pressing duration of the key based on the sum of the pressing durations of the key being pressed;

[0174] Step 408, determine: the user's current operation on the smart lock is completed, if yes, execute step 410, if not, execute step 402;

[0175] Step 410, detecting that the smart lock is awakened again;

[0176] Step 412, sorting all keys in order of historical pressure values ​​from small to large;

[0177] Step 414, re-sorting the keys with the same historical pressure values ​​in order of historical pressing duration from small to large, to obtain a first sequence table;

[0178] Step 416, sorting all the keys according to the order of the frequency of occurrence of the numbers 0 to 9 in the password information stored in the smart lock from high to low, to obtain a second sequence table;

[0179] Step 418: adjusting the display position of the key symbols according to the first sequence list and the second sequence list.

[0180] In one embodiment of the present invention, a control device for a smart lock is also provided. Fig.10 As shown, Fig.10The structure block diagram of the control device 500 of the smart lock of the embodiment of the present invention is shown. Among them, the smart lock is provided with a password keyboard, and the password keyboard includes a plurality of keys. Further, the control device 500 of the smart lock may specifically include the following first acquisition unit 502, first processing unit 504 and first control unit 506:

[0181] The first acquisition unit 502 is used to acquire the historical pressing duration and historical pressing parameter value of each key;

[0182] The first processing unit 504 is used to determine a random code according to the historical pressing duration and the historical pressing parameter value of each key, where the random code includes N key symbols, where N is a positive integer greater than 1, and the N key symbols correspond to N target keys among the multiple keys respectively;

[0183] The first control unit 506 is used to control the smart lock to notify the user to press N target buttons.

[0184] The smart lock control device 500 provided in the embodiment of the present invention is used to solve the problem that when a user uses a password to unlock the smart lock for a long time, the unlocking password may be cracked by others using the residue traces left on the smart lock.

[0185] Among them, the above-mentioned smart lock is provided with a password keyboard, which includes a plurality of keys, and different keys correspond to different key symbols.

[0186] Specifically, the control device 500 of the smart lock provided by the present invention includes a first acquisition unit 502, a first processing unit 504 and a first control unit 506. In the process of the user using the smart lock, such as before or after the user uses the smart lock to enter the password, the first acquisition unit 502 obtains the user's historical pressing duration and historical pressing parameter value of each key. Further, the first processing unit 504 analyzes the user's previous pressing of each key according to the acquired historical pressing duration and historical pressing parameter value of each key, determines the severity of the pressing trace on each key, and then determines a random code containing N key symbols according to the severity of the pressing trace on each key. Wherein, N is an integer greater than 1, and the N key symbols in the random code correspond to the N target keys in the password keyboard respectively. On this basis, the first control unit 506 controls the operation of the smart lock to notify the user to press the above-mentioned N target keys before or after entering the password. In this way, when a user uses the smart lock, the user can be notified to press the keys with fewer pressing marks in the past based on the user's previous pressing of each key in the smart lock. This can balance the pressing marks of each key and make the residual marks left on each key similar, thereby preventing others from using the residual marks to crack the password, thereby improving the security and reliability of the smart lock.

[0187] Among them, in the process of the first acquisition unit 502 acquiring the user's historical pressing time and historical pressing parameter value of each key, each time the user uses the smart lock to enter a password, the first acquisition unit 502 detects and records the pressing time and pressing parameter value of each key pressed by the user, and then calculates the sum of the pressing time of each key pressed by the user in the past to obtain the historical pressing time of each key, and calculates the sum of the pressing parameter values ​​of each key pressed by the user in the past to obtain the historical pressing parameter value of each key.

[0188] Among them, after calculating the above-mentioned historical pressing time and historical pressing parameter value, in the subsequent process of the user using the smart lock to enter the password, the historical pressing time and historical pressing parameter value of each button are updated according to the user's actual pressing of each button.

[0189] Furthermore, the magnitude of the above-mentioned pressing parameter value can be used to indicate the user's pressing strength and / or pressing frequency of the button. Based on the type and specific structure of the smart lock, the above-mentioned pressing parameter value includes but is not limited to: the pressure value when each button is pressed by the user, the capacitance difference generated when each button is pressed by the user, and the number of times each button is pressed by the user. Those skilled in the art can select the specific type of the above-mentioned pressing parameter value according to actual conditions, and no specific limitation is made here.

[0190] Furthermore, the N key symbols in the random code are the N key symbols corresponding to the N keys with lighter pressing marks in the password keyboard, that is, the N target keys are the N keys with lighter pressing marks in the password keyboard, that is, the N target keys are the N keys with lower usage frequency in the password keyboard. In this way, in addition to the user entering the password through the smart lock, the user is additionally notified to press the N target keys with lighter pressing marks in the password keyboard, which can make the usage frequency of each key similar, thereby balancing the pressing marks of each key in the password keyboard, making the residue marks left on each key of the password keyboard similar, thereby preventing others from using the severity of the residue marks on different keys to crack the unlocking password, thereby improving the security and reliability of the smart lock.

[0191] In some embodiments of the present invention, optionally, the first acquisition unit 502 is specifically used to: when the smart lock includes a pressure sensor, determine the historical pressure value of each key according to the sum of the pressure values ​​when each key is pressed each time; and / or when the password keyboard is a capacitive screen, determine the historical capacitance difference of each key according to the sum of the capacitance difference values ​​generated each time each key is pressed; and / or record the number of times each key is pressed to obtain the historical number of presses of each key.

[0192] In some embodiments of the present invention, optionally, the first processing unit 504 is specifically used to: sort multiple keys in order of historical pressing parameter values ​​from small to large; sort keys with the same historical pressing parameter values ​​in order of historical pressing duration from small to large to obtain a first sequence list; and determine the key symbols of the first N keys in the first sequence list as random codes.

[0193] In some embodiments of the present invention, optionally, the first control unit 506 is specifically used to: when each button is provided with a light-emitting component, control the light-emitting components corresponding to N target buttons to operate so as to highlight the N target buttons and prompt the user to press the N target buttons; and / or when the smart lock includes a display screen, control the display screen to display prompt information, the prompt information is used to prompt the user to press the N target buttons; and / or when the smart lock includes a speaker, control the speaker to play the prompt information; and / or when the smart lock and the user terminal establish communication, control the smart lock to send prompt information to the user terminal.

[0194] In some embodiments of the present invention, optionally, the above-mentioned password keyboard can be specifically a touch panel, and the multiple keys correspond to multiple touch areas on the touch panel respectively, and different touch areas are used to display different key symbols. The smart lock also stores password information, and the first processing unit 504 is also used to: sort the multiple keys according to the password information to obtain a second sequence list; adjust the key symbols displayed in the multiple touch areas according to the first sequence list and the second sequence list.

[0195] In one embodiment of the present invention, another control device for a smart lock is also provided. Fig.11 As shown, Fig.11 The structure block diagram of the control device 600 of the smart lock of the embodiment of the present invention is shown. The smart lock includes a touch panel, and multiple touch areas on the touch panel correspond to multiple buttons respectively. Different touch areas are used to display different button symbols. The smart lock also stores password information. Furthermore, the control device 600 of the smart lock may specifically include the following second acquisition unit 602 and second processing unit 604:

[0196] A second acquisition unit 602 is used to acquire a historical pressing duration and a historical pressing parameter value of each touch area;

[0197] The second processing unit 604 is used to sort the multiple keys according to the historical pressing duration and the historical pressing parameter value to obtain a first sequence list;

[0198] The second processing unit 604 is further used to sort the multiple keys according to the password information to obtain a second sequence list, and the keys in the second sequence list and the keys in the same position in the first sequence list correspond to each other;

[0199] The second processing unit 604 is further used to adjust the key symbol displayed in the first touch area corresponding to the first key in the first sequence list to the key symbol displayed in the second touch area corresponding to the second key in the second sequence list. The first key corresponds to the second key.

[0200] The smart lock control device 600 provided in the embodiment of the present invention is used to solve the problem that when a user uses a password to unlock the smart lock for a long time, the unlocking password may be cracked by others using the residue traces left on the smart lock.

[0201] Among them, the above-mentioned smart lock is provided with a touch panel, and the multiple touch areas on the touch panel correspond to multiple buttons respectively. Different touch areas are used to display different button symbols. At least one password information is also stored in the above-mentioned smart lock.

[0202] Specifically, the control device 600 of the smart lock provided by the present invention includes a second acquisition unit 602 and a second processing unit 604. Before the user enters the password through the smart lock, the second acquisition unit 602 obtains the user's historical pressing duration and historical pressing parameter value for each key, that is, each touch area. Further, the second processing unit 604 analyzes the user's previous pressing of each touch area based on the acquired historical pressing duration and historical pressing parameter value of each touch area, determines the severity of the pressing traces on each touch area, and then sorts the multiple keys corresponding to the multiple touch areas according to the severity of the pressing traces on each touch area to obtain a first sequence table. Among them, the first sequence table is used to indicate the severity of the pressing traces of the multiple touch areas corresponding to the multiple keys. The touch area corresponding to the key at the first position in the first sequence table has the lightest pressing trace, and the touch area corresponding to the key at the end of the first sequence table has the heaviest pressing trace.

[0203] Further, the second processing unit 604 may sort the multiple keys in the order of the frequency of occurrence of the key symbol corresponding to each key in the at least one password information, that is, in the order of the possibility of the user pressing each key, that is, each touch area, from large to small, to obtain the second sequence list. The second sequence list is used to indicate the frequency of occurrence of the key symbol corresponding to each key in the at least one password information, that is, the second sequence list can reflect the possibility of the user pressing each key, that is, each touch area, and the key at the first position in the second sequence list has the greatest possibility of being pressed, and the key at the last position in the second sequence list has the least possibility of being pressed, and the keys of the same position in the second sequence list and the first sequence list correspond to each other.

[0204] On this basis, before the user enters the password through the smart lock, the second processing unit 604 adjusts the key symbol displayed in the first touch area corresponding to the first key in the first sequence list to the key symbol displayed in the second touch area corresponding to the second key of the same position in the second sequence list. Among them, the first key corresponds to the second key. In this way, based on the severity of the historical pressing traces of each touch area and the possibility of each touch area being pressed later, the key symbol displayed in the touch area with lighter historical pressing traces is adjusted to the key symbol corresponding to the touch area with greater possibility of being pressed later, and the key symbol displayed in the touch area with heavier historical pressing traces is adjusted to the key symbol corresponding to the touch area with less possibility of being pressed later, which can increase the possibility of the touch area with lighter historical pressing traces being pressed later, and reduce the possibility of the touch area with heavier historical pressing traces being pressed later. In this way, the pressing traces of each key can be balanced, so that the residue traces left on each key are similar, thereby preventing others from using the residue traces to crack the password, thereby improving the security and reliability of the smart lock.

[0205] In addition, by changing the button symbols displayed in the touch area, the user can touch the touch panel at a different position each time when entering a password, thereby reducing the risk of the unlocking password being leaked and further improving the security and reliability of the smart lock.

[0206] In addition, for smart locks that use physical buttons, by changing the button symbols displayed in the touch area, it is possible to ensure that the frequency of use of each button is similar, thereby extending the service life of the smart lock. For example, assuming that the service life of each button is 100,000 times, if the same button is used each time, the service life of the smart lock is 100,000 times. By changing the button symbols displayed in the touch area, each button can be used evenly, and the service life of the smart lock can be extended to (100,000 × number of buttons) times.

[0207] Among them, in the process of the second acquisition unit 602 acquiring the user's historical pressing duration and historical pressing parameter value of each button, that is, each touch area, each time the user uses the smart lock to enter a password, the second acquisition unit 602 detects and records the pressing duration and pressing parameter value when the user presses each touch area, and then calculates the sum of the pressing duration of each touch area pressed by the user in the past to obtain the historical pressing duration of each touch area, and calculates the sum of the pressing parameter values ​​of each touch area pressed by the user in the past to obtain the historical pressing parameter value of each touch area.

[0208] Among them, after calculating the above-mentioned historical pressing duration and historical pressing parameter value, in the subsequent process of the user using the smart lock to enter the password, the historical pressing duration and historical pressing parameter value of each touch area are updated according to the user's actual pressing of each touch area.

[0209] Furthermore, the magnitude of the above-mentioned pressing parameter value can be used to indicate the user's pressing strength and / or pressing frequency on the touch area. Based on the type and specific structure of the smart lock, the above-mentioned pressing parameter value includes but is not limited to: the pressure value when each touch area is pressed by the user, the capacitance difference generated when each touch area is pressed by the user, and the number of times each touch area is pressed by the user. Those skilled in the art can select the specific type of the above-mentioned pressing parameter value according to actual conditions, and no specific limitation is made here.

[0210] In some embodiments of the present invention, optionally, the second processing unit 604 is specifically used to: sort multiple keys in order of historical pressing parameter values ​​from small to large; sort keys with the same historical pressing parameter values ​​in order of historical pressing duration from small to large, to obtain a first sequence list.

[0211] In some embodiments of the present invention, optionally, the above-mentioned smart lock may also be provided with an image sensor for capturing user images, and the second processing unit 604 is specifically used to: identify the user identity based on the user image; select a target password from the password information based on the user identity; sort multiple keys in the target password in descending order of the frequency of occurrence of each key symbol to obtain a second sequence list.

[0212] In some embodiments of the present invention, optionally, the second processing unit 604 is further used to: determine a random code according to the first sequence table, the random code including N key symbols, where N is a positive integer greater than 1; and notify the user to press N touch areas corresponding to the N key symbols.

[0213] In one embodiment of the present invention, a smart lock is also provided. Fig.12 As shown, Fig.12 The structure block diagram of the smart lock 700 provided by the embodiment of the present invention is shown. The smart lock 700 includes a password keyboard 702, a pressure sensor 704 and a processor 706.

[0214] The password keyboard 702 includes a plurality of keys 708 , and different keys 708 correspond to different key symbols.

[0215] Furthermore, a pressure sensor 704 is connected to the password keyboard 702 , and the pressure sensor 704 is used to detect the pressure value of each key 708 among the multiple keys 708 each time when it is pressed by the user.

[0216] Furthermore, during the operation of the smart lock 700, the processor 706 obtains the historical pressing duration of each key 708, and determines the historical pressure value of each key 708 according to the sum of the pressure values ​​of each key 708 when pressed by the user each time. Furthermore, the processor 706 analyzes the user's previous pressing of each key 708 according to the historical pressing duration and historical pressure value of each key 708, determines the severity of the pressing traces on each key 708, and then determines a random code containing N key symbols according to the severity of the pressing traces on each key 708. Wherein, N is an integer greater than 1, and the N key symbols in the random code correspond to the N target keys in the password keyboard 702 respectively. On this basis, the processor 706 controls the operation of the smart lock 700 to notify the user to press the above-mentioned N target keys before or after entering the password. In this way, when the user uses the smart lock 700, the user can be notified to press the key 708 with fewer pressing marks in the past based on the user's previous pressing of each key 708 of the smart lock 700 when using the smart lock 700. This can balance the pressing marks of each key 708 and make the residual marks left on each key 708 similar, thereby preventing others from using the residual marks to crack the password, thereby improving the security and reliability of the smart lock 700.

[0217] In some embodiments of the present invention, optionally, the password keyboard 702 may be specifically a touch panel, and the multiple buttons 708 respectively correspond to multiple touch areas on the touch panel, different touch areas are used to display different button symbols, and the pressure sensor 704 is specifically used to detect the pressure value of each touch area each time it is pressed by the user.

[0218] Furthermore, if Fig.12 As shown, the smart lock 700 is also provided with a memory 710, which is connected to the processor 706, and stores at least one password information in the memory 710.

[0219] During the operation of the smart lock 700, the processor 706 can also obtain the user's historical pressing duration and historical pressure value of each key 708, i.e., each touch area, before the user enters the password through the smart lock 700. Further, the processor 706 analyzes the user's previous pressing of each touch area based on the historical pressing duration and historical pressure value of each touch area obtained, determines the severity of the pressing traces on each touch area, and then sorts the multiple keys 708 corresponding to the multiple touch areas according to the severity of the pressing traces on each touch area to obtain a first sequence table. Among them, the first sequence table is used to indicate the severity of the pressing traces of the multiple touch areas corresponding to the multiple keys 708. The touch area corresponding to the key 708 at the first position in the first sequence table has the lightest pressing trace, and the touch area corresponding to the key 708 at the last position in the first sequence table has the heaviest pressing trace.

[0220] Furthermore, the processor 706 may sort the multiple keys 708 in the order of the frequency of occurrence of the key symbol corresponding to each key 708 in the at least one password information, that is, in the order of the possibility of the user pressing each key 708 or each touch area in the future, to obtain the second sequence list. The second sequence list is used to indicate the frequency of occurrence of the key symbol corresponding to each key 708 in the at least one password information, that is, the second sequence list can reflect the possibility of the user pressing each key 708 or each touch area in the future. The key 708 at the first position in the second sequence list has the greatest possibility of being pressed in the future, and the key 708 at the last position in the second sequence list has the least possibility of being pressed in the future. The keys 708 at the same position in the second sequence list and the first sequence list correspond to each other.

[0221] On this basis, before the user enters the password through the smart lock 700, the processor 706 adjusts the key symbol displayed in the first touch area corresponding to the first key in the first sequence list to the key symbol displayed in the second touch area corresponding to the second key of the same position in the second sequence list. Among them, the first key corresponds to the second key. In this way, based on the severity of the historical pressing traces of each touch area and the possibility of each touch area being pressed later, the key symbol displayed in the touch area with lighter historical pressing traces is adjusted to the key symbol corresponding to the touch area with greater possibility of being pressed later, and the key symbol displayed in the touch area with heavier historical pressing traces is adjusted to the key symbol corresponding to the touch area with less possibility of being pressed later, which can increase the possibility of the touch area with lighter historical pressing traces being pressed later, and reduce the possibility of the touch area with heavier historical pressing traces being pressed later. In this way, the pressing traces of each key 708 can be balanced, so that the residue traces left on each key 708 are similar, thereby preventing others from using the residue traces to crack the password, and improving the security and reliability of the smart lock 700. Moreover, by changing the button symbols displayed in the touch area, the user can touch the touch panel at a different position each time when entering the password, thereby reducing the risk of the unlocking password being leaked, and further improving the security and reliability of the smart lock 700. In addition, for the smart lock 700 using physical buttons, by changing the button symbols displayed in the touch area, it can be ensured that the usage frequency of each button 708 is similar, thereby extending the service life of the smart lock 700.

[0222] In some embodiments of the present invention, optionally, Fig.12 As shown, the smart lock 700 may also be provided with an image sensor 712, which is used to capture user images.

[0223] On this basis, in the process of the processor 706 determining the above-mentioned second sequence list, the processor 706 can identify the user identity through the collected user image, and then judge the password that the user is about to enter based on the identified user identity, and select the target password corresponding to the user identity from the above-mentioned at least one password information. Further, the processor 706 sorts the multiple keys 708 in the order of the frequency of occurrence of the key symbol corresponding to each key 708 in the above-mentioned target password from large to small, and obtains the above-mentioned second sequence list. In this way, when there is too much password information stored in the smart lock 700, the key symbol displayed in the touch area can be accurately changed without traversing all the password information, thereby improving the operation speed of the smart lock 700.

[0224] In actual application, the above-mentioned image sensor may specifically be a radar sensor, a camera, etc. Those skilled in the art may select the specific type of the above-mentioned image sensor according to actual conditions, and no specific limitation is made here.

[0225] In one embodiment of the present invention, another smart lock is also provided. Fig.13 As shown, Fig.13 The structure block diagram of the smart lock 800 provided by the embodiment of the present invention is shown. The smart lock 800 includes:

[0226] A memory 802, where programs or instructions are stored;

[0227] Processor 804, when processor 804 executes the above program or instructions, implements the steps of the smart lock control method in any of the above embodiments.

[0228] The smart lock 800 provided in this embodiment includes a memory 802 and a processor 804. When the program or instructions in the memory 802 are executed by the processor 804, the steps of the smart lock control method in any of the above embodiments are implemented. Therefore, the smart lock 800 has all the beneficial effects of the smart lock control method in any of the above embodiments, which will not be repeated here.

[0229] Specifically, the memory 802 and the processor 804 may be connected via a bus or other means. The processor 804 may include one or more processing units, and the processor 804 may be a central processing unit (CPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other chips.

[0230] In one embodiment of the present invention, a readable storage medium is also provided, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the control method of the smart lock in any of the above embodiments are implemented.

[0231] The readable storage medium provided by the embodiment of the present invention can implement the steps of the smart lock control method in any of the above embodiments when the program or instruction stored therein is executed by the processor. Therefore, the readable storage medium has all the beneficial effects of the smart lock control method in any of the above embodiments, which will not be repeated here.

[0232] Specifically, the above-mentioned readable storage medium may include any medium capable of storing or transmitting information. Examples of readable storage media include electronic circuits, semiconductor memory devices, read-only memory (ROM), random access memory (RAM), compact disc read-only memory (CD-ROM), flash memory, erasable ROM (EROM), magnetic tape, floppy disk, optical disk, hard disk, optical fiber medium, radio frequency (RF) link, optical data storage device, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0233] In the description of this specification, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance unless otherwise clearly specified and limited; the terms "connection", "installation", "fixation" and the like should be understood in a broad sense, for example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be directly connected or indirectly connected through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0234] In the description of this specification, the description of the terms "one embodiment", "some embodiments", "specific embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0235] In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0236] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A control method for a smart lock, characterized in that: The smart lock includes a password keyboard, the password keyboard includes a plurality of keys, and the control method includes: Obtain the historical pressing parameter value and historical pressing duration of each of the keys; Determine a random code according to the historical pressing parameter value and the historical pressing duration of each key, the random code comprising N key symbols, the N key symbols corresponding to N target keys among the multiple keys, and N is a positive integer greater than 1; Control the smart lock to notify the user to press N of the target buttons.

2. The control method of the smart lock according to claim 1, characterized in that: The obtaining of the historical pressing parameter value of each key comprises: In the case where the smart lock includes a pressure sensor, determining the historical pressure value of each key according to the sum of the pressure values ​​of each key when it is pressed each time; and / or In the case where the password keyboard is a capacitive screen, determining the historical capacitance difference of each key according to the sum of the capacitance difference generated each time each key is pressed; and / or The number of times each key is pressed is recorded to obtain the historical number of times each key is pressed.

3. The control method of the smart lock according to claim 1, characterized in that: The determining of the random code according to the historical pressing parameter value and the historical pressing duration of each key includes: Sorting the plurality of keys in ascending order according to the historical pressing parameter values; The keys with the same historical pressing parameter values ​​are sorted in ascending order of the historical pressing durations to obtain a first sequence table; The key symbols of the first N keys in the first sequence list are determined as the random codes.

4. The control method of the smart lock according to claim 1, characterized in that: The controlling the smart lock to notify the user to press N target buttons includes: In the case where each of the keys is provided with a light-emitting element, the light-emitting elements corresponding to the N target keys are controlled to operate so as to highlight the N target keys and prompt the user to press the N target keys; and / or In the case where the smart lock includes a display screen, controlling the display screen to display prompt information, wherein the prompt information is used to prompt the user to press N of the target buttons; and / or In the case where the smart lock includes a speaker, controlling the speaker to play the prompt information; and / or When the smart lock and the user terminal establish communication, the smart lock is controlled to send the prompt information to the user terminal.

5. The control method of the smart lock according to claim 3, characterized in that: The password keyboard is a touch panel, the multiple keys correspond to multiple touch areas of the touch panel, the touch areas are used to display key symbols, and the control method further includes: Sorting the plurality of keys according to the password information stored in the smart lock to obtain a second sequence list; The key symbols displayed in the plurality of touch control areas are adjusted according to the first sequence list and the second sequence list.

6. A method for controlling a smart lock, characterized in that: The smart lock includes a touch panel, a plurality of touch areas of the touch panel correspond to a plurality of keys, and the touch areas are used to display key symbols. The control method includes: Obtaining a historical pressing parameter value and a historical pressing duration of each of the touch control areas; Sort the multiple keys according to the historical pressing parameter values ​​and the historical pressing durations to obtain a first sequence list; Sorting the plurality of keys according to the password information stored in the smart lock to obtain a second sequence list, wherein keys of the same position in the first sequence list and the second sequence list correspond to each other; The key symbol displayed in the first touch area corresponding to the first key in the first sequence list is adjusted to the key symbol displayed in the second touch area corresponding to the second key in the second sequence list, and the second key corresponds to the first key.

7. The control method of the smart lock according to claim 6, characterized in that: The plurality of keys are sorted according to the historical pressing parameter values ​​and the historical pressing durations to obtain a first sequence table, including: Sorting the plurality of keys in ascending order according to the historical pressing parameter values; The keys with the same historical pressing parameter values ​​are sorted in ascending order of the historical pressing durations to obtain the first sequence table.

8. The control method of the smart lock according to claim 6, characterized in that: The smart lock further includes an image sensor, which is used to collect a user image. The plurality of keys are sorted according to the password information stored in the smart lock to obtain a second sequence list, including: identifying a user according to the user image; selecting a target password from the password information according to the user identity; The plurality of keys are sorted in descending order of the frequency of occurrence of each key symbol in the target password to obtain the second sequence table.

9. The control method of the smart lock according to any one of claims 6 to 8, characterized in that: Also includes: Determine a random code according to the first sequence table, wherein the random code includes N key symbols, where N is a positive integer greater than 1; The user is notified to press the N touch areas corresponding to the N key symbols.

10. A control device for a smart lock, characterized in that: The smart lock includes a password keyboard, the password keyboard includes a plurality of keys, and the control device includes: A first acquisition unit, used to acquire a historical pressing parameter value and a historical pressing duration of each key; A first processing unit, configured to determine a random code according to the historical pressing parameter value and the historical pressing duration of each key, wherein the random code includes N key symbols, the N key symbols correspond to N target keys among the multiple keys, and N is a positive integer greater than 1; The first control unit is used to control the smart lock to notify the user to press N of the target buttons.

11. A control device for a smart lock, characterized in that: The smart lock includes a touch panel, a plurality of touch areas of the touch panel correspond to a plurality of keys, the touch areas are used to display key symbols, and the control device includes: A second acquisition unit, used for acquiring a historical pressing parameter value and a historical pressing duration of each touch area; A second processing unit, configured to sort the plurality of keys according to the historical pressing parameter values ​​and the historical pressing durations to obtain a first sequence table; The second processing unit is further used to sort the multiple keys according to the password information stored in the smart lock to obtain a second sequence list, and the keys with the same position in the first sequence list and the second sequence list correspond to each other; The second processing unit is further used to adjust the key symbol displayed in the first touch area corresponding to the first key in the first sequence list to the key symbol displayed in the second touch area corresponding to the second key in the second sequence list, and the second key corresponds to the first key.

12. A smart lock, characterized in that: include: A password keyboard, including a plurality of keys; A pressure sensor connected to the password keyboard, the pressure sensor is used to detect the pressure value of each key of the multiple keys when being pressed; A processor is used to obtain the historical pressing duration of each of the keys, and determine the historical pressure value of each key according to the sum of the pressure values ​​each time the key is pressed; determine a random code according to the historical pressure value and the historical pressing duration of each key, the random code including N key symbols, the N key symbols corresponding to N target keys among the multiple keys, and N is a positive integer greater than 1; control the smart lock to notify the user to press the N target keys.

13. The smart lock according to claim 12, characterized in that: The password keyboard is a touch panel, the multiple keys correspond to multiple touch areas of the touch panel, the touch areas are used to display key symbols, the pressure sensor is specifically used to detect the pressure value when each touch area is pressed, and the smart lock also includes: A memory connected to the processor, wherein password information is stored in the memory; The processor is further configured to: Obtain historical pressure values ​​and historical pressing durations of each of the touch areas; sort the multiple keys according to the historical pressure values ​​and the historical pressing durations to obtain a first sequence list; sort the multiple keys according to the password information to obtain a second sequence list, and the keys in the same position in the first sequence list and the second sequence list correspond to each other; adjust the key symbol displayed in the first touch area corresponding to the first key in the first sequence list to the key symbol displayed in the second touch area corresponding to the second key in the second sequence list, and the second key corresponds to the first key.

14. The smart lock according to claim 12 or 13, characterized in that: Also includes: Image sensor, used to collect user images.

15. A smart lock, characterized in that: It includes a processor and a memory, the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the smart lock control method as described in any one of claims 1 to 9 are implemented.

16. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, which, when executed by a processor, implements the steps of the smart lock control method as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Intelligent lock and unlocking method

    CN108124490A

  • Dynamic touch key for intelligent lock

    CN111127703A

  • Key interaction method based on laser projection and related equipment

    CN117573020A

  • Bidirectional control intelligent door lock for isolation place

    CN217812881U

  • Input method and apparatus, and user equipment

    WO2016184046A1