Door lock, control method thereof, program product and medium
By combining a touchpad and a digital display in a smart door lock to dynamically display password characters, the security risks and shortened lifespan caused by fixed character positions are solved, while reducing production costs and achieving both security and convenience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- MIDEA INTELLIGENT LIGHTING & CONTROLS TECHNOLOGY CO LTD
- Filing Date
- 2024-11-04
- Publication Date
- 2026-05-08
AI Technical Summary
The fixed position of characters on the password input key in existing smart door locks leads to security risks and a shortened lifespan. At the same time, using capacitive touchscreens and LCD screens increases production costs.
By combining a touchpad and a digital tube, password characters are dynamically displayed. The touch pad senses capacitive signals, and a light guide and semi-transparent oil film are used to achieve sensitive and convenient password input, avoiding the use of expensive capacitive screens and LCD displays.
It improves the security and reliability of door locks, extends their service life, reduces production costs, and enhances user experience and market competitiveness.
Smart Images

Figure CN121999548A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of door lock technology, and in particular relates to a door lock and its control method, program product, and medium. Background Technology
[0002] With the advancement of smart lock technology, its application scope and user base are constantly expanding. Smart locks typically support multiple unlocking methods, such as facial recognition, fingerprint recognition, password recognition, and proximity card recognition. Due to its low barrier to entry, password unlocking is currently the most commonly used and frequently used method. In existing smart locks that support password recognition, the character positions on the keypad are generally fixed. For example, the characters on the keypad are illuminated by controlling the light-emitting elements inside the lock. Because the character positions on the keypad are fixed, if users repeatedly enter the same password, it may lead to password leakage and security risks. Furthermore, prolonged contact with the same keypad causes it to wear out quickly, thus affecting the lifespan of the lock.
[0003] In this situation, switching the position of characters on the password input keys, so that the same character appears in a different position each time the user enters the password, can solve the above problem to some extent. In existing technology, this function of switching the position of characters on the password input keys is generally achieved by installing a capacitive touchscreen in conjunction with an LCD screen in the smart lock. However, since capacitive touchscreens and LCD screens are expensive, this increases the production cost of the lock. Therefore, how to reduce the production cost of the lock while ensuring its security and reliability is a pressing technical problem that needs to be solved. Summary of the Invention
[0004] Embodiments of this application provide a door lock and its control method, program product, and medium, which can at least reduce the production cost of the door lock to a certain extent.
[0005] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.
[0006] According to a first aspect of the embodiments of this application, a door lock is provided, the door lock comprising: a door lock panel, the front of the door lock panel having a groove, the bottom of the groove having a plurality of first cutouts, the front being the side of the door lock panel facing outwards; a touch panel, the touch panel being embedded in the groove, the touch panel having second cutouts corresponding one-to-one in position to the plurality of first cutouts, each second cutout being surrounded by touch pads; a main control board, the main control board being disposed on the back of the door lock panel opposite to the touch panel, the main control board having digital tubes corresponding one-to-one in position to the plurality of first cutouts, the digital tubes being used to switch between displaying different characters; the main control board being electrically connected to the touch panel to receive capacitive signals generated by the touch panel when touched by a user on its touch pads.
[0007] In some embodiments of this application, based on the aforementioned scheme, the door lock further includes a light guide, which is embedded in the groove and located between the touch panel and the door lock panel. The light guide has a third cutout that corresponds one-to-one with the plurality of first cutouts in position, and an annular rib is arranged around each of the third cutouts. The annular rib passes through the first cutout and is close to the position of the main control board around the digital tube.
[0008] In some embodiments of this application, based on the aforementioned scheme, the door lock further includes a keyboard board, the keyboard board having a fourth cutout that corresponds one-to-one with the plurality of first cutouts in position, the fourth cutout being covered with a translucent oil film; the keyboard board is attached to the front of the door lock panel.
[0009] In some embodiments of this application, based on the aforementioned scheme, the touch panel is provided with a first connecting plug, the main control board is provided with a first connecting socket, and a through hole is provided at the bottom of the groove; the first connecting plug passes through the through hole and connects to the first connecting socket to realize the electrical connection between the main control board and the touch panel.
[0010] According to a second aspect of the embodiments of this application, a door lock control method is provided, the method being applied to a door lock as described in the first aspect embodiment of this application, the method comprising: responding to a user's unlocking request action, acquiring a current character display sequence, the current character display sequence being different from the character display sequence displayed when the user last unlocked the door; controlling each digital tube on the main control board to display its respective character according to the current character display sequence; responding to a user's password input action on the touchpad, acquiring a password character sequence to be verified; and if the password character sequence to be verified is consistent with a preset password character sequence, controlling the door lock to open.
[0011] According to a second aspect of the embodiments of this application, a door lock control method is provided, wherein obtaining the current character display sequence includes: obtaining the input frequency of each character in history, and the touch parameters of each touch pad on the touchpad in history, wherein the touch parameters include the total touch duration and / or the total number of touches; and determining the current character display sequence based on the input frequency and the touch intensity parameters, according to a strategy of balanced touch on each touch pad on the touchpad.
[0012] According to a second aspect of the embodiments of this application, a door lock control method is provided, wherein obtaining the password character sequence to be verified includes: obtaining the touch order of the touch pads touched by the user on the touchpad; obtaining the positional correspondence between each touch pad on the touchpad and the characters displayed by each digital tube on the main control board; and determining the password character sequence to be verified based on the touch order and the positional correspondence.
[0013] According to a third aspect of the embodiments of this application, a computer program product is provided, the computer program product including computer instructions stored in a computer-readable storage medium and adapted to be read and executed by a processor to cause a computer device having the processor to perform an operation as described in any of the second aspects above.
[0014] According to a fourth aspect of the embodiments of this application, a computer-readable storage medium is provided, the computer-readable storage medium storing at least one computer program instruction, the at least one computer program instruction being loaded and executed by a processor to perform the operation as described in any of the second aspects above.
[0015] According to a fifth aspect of the present application, a door lock is provided, the door lock including one or more processors and one or more memories, the one or more memories storing at least one computer program instruction, the at least one computer program instruction being loaded and executed by the one or more processors to implement the method described in any of the embodiments of the second aspect above.
[0016] Based on the technical solution proposed in this application, by combining a touchpad and a digital tube within the door lock, dynamic display of password characters can be supported. This avoids the security risks associated with fixed password character positions, ensuring the security and reliability of the door lock. Simultaneously, the touch pad design allows users to input passwords with simple touches, making the door lock operation more sensitive and convenient, thus improving the user experience. Furthermore, by combining a touchpad and a digital tube within the door lock, the technical solution proposed in this application avoids the use of expensive capacitive touchscreens and LCD displays while ensuring the security and reliability of the door lock, significantly reducing the production cost of the door lock.
[0017] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0018] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:
[0019] Figure 1 This illustration shows a schematic diagram of a door lock structure in an exploded state from a frontal view in one embodiment of this application;
[0020] Figure 2 This illustration shows a schematic diagram of a door lock structure in an exploded state from a rear view in one embodiment of this application;
[0021] Figure 3 The diagram shows a keyboard panel in one embodiment of this application from a front view a and a rear view b.
[0022] Figure 4 The diagram shows a frontal view a and a rear view b of a touchpad according to one embodiment of the present application.
[0023] Figure 5 The diagram shows a light guide element in one embodiment of this application from a frontal view a and a rear view b.
[0024] Figure 6 A schematic diagram of a door lock panel according to one embodiment of this application is shown;
[0025] Figure 7 A schematic diagram of the main control board a and the digital tube b in one embodiment of this application is shown;
[0026] Figure 8 A schematic diagram of a digital tube according to one embodiment of this application is shown;
[0027] Figure 9 A schematic diagram of the door lock panel display and the main control board display in one embodiment of this application is shown;
[0028] Figure 10 A flowchart of a door lock control method according to an embodiment of this application is shown;
[0029] Figure 11 A schematic diagram of the door lock structure in an embodiment of this application is shown.
[0030] The annotations in the attached figures are explained as follows:
[0031] 1. Keyboard panel; 11. Fourth cutout;
[0032] 12. Adhesive backing board; 2. Touch panel;
[0033] 21. Second cutout; 22. Touch pad;
[0034] 23. First connector plug; 3. Light guide component;
[0035] 31. Third hollow section; 32. Circular tie rod;
[0036] 4. Door lock panel; 41. First cutout;
[0037] 42. Through-hole; 5. Main control board;
[0038] 51. Digital tube; 52. Illuminating element;
[0039] 53. First connecting socket. Detailed Implementation
[0040] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0041] In the description of this application, it should be understood that the terms "center", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.
[0042] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "connection," "installation," "connection," "setup," and "linkage" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.
[0043] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this application. However, those skilled in the art will recognize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this application.
[0044] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0045] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0046] It should be noted that "multiple" in this article refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0047] It should also be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such uses of these terms can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described.
[0048] Currently, in existing smart locks that support password recognition, the character positions on the keypad are generally fixed. For example, the characters on the keypad are illuminated by a light-emitting element inside the lock. Because the character positions on the keypad are fixed, if users repeatedly enter the same password, it may lead to password leakage and security risks. Furthermore, frequent use of the same keypads causes them to wear out quickly, thus affecting the lock's lifespan. Therefore, by changing the character positions on the keypad, the same characters are displayed in different positions each time the user enters the password, thereby ensuring the security and reliability of the lock.
[0049] In existing technologies, the function of switching the position of characters on the password input keys is generally achieved by installing a capacitive touchscreen in conjunction with an LCD screen in a smart lock. However, since capacitive touchscreens and LCD screens are relatively expensive, this solution undoubtedly increases the production cost of the lock. Therefore, this application proposes a lock that can reduce the production cost of the lock.
[0050] To enable those skilled in the art to better understand this application, firstly, in conjunction with Figures 1 to 9 This application describes the door locks involved.
[0051] Please refer to Figure 1 , Figure 2 , Figure 4 , Figure 6 , Figure 7 .
[0052] The door lock proposed in this application may include a door lock panel 4, the front of which has a groove, and the bottom of the groove has multiple first cutouts 41. The front is the side of the door lock panel 4 facing outwards. A touch panel 2 is embedded in the groove, and the touch panel 2 has second cutouts 21 that correspond one-to-one with the multiple first cutouts 41. Touch pads 22 are arranged around each second cutout 21. A main control board 5 is located on the back of the door lock panel 4 opposite to the touch panel 2. The main control board 5 has digital tubes 51 that correspond one-to-one with the multiple first cutouts 41. The digital tubes 51 are used to switch between displaying different characters. The main control board 5 is electrically connected to the touch panel 2 to receive the capacitive signal generated by the touch panel 2 when the user touches its touch pads 22.
[0053] Please refer to Figure 8 and Figure 9 .
[0054] The main control board 5 of the smart door lock is equipped with 10 digital tubes 51. Each digital tube 51 consists of seven parts: A, B, C, D, E, F, and G. It can display the 10 numbers from 0 to 9 through different combinations of light. When the user wakes up the door lock to enter a password, these 10 digital tubes 51 can display the numerical characters in a random order for the user to input.
[0055] Based on the door lock proposed in this application, the password characters displayed on the multiple digital tubes 51 arranged on the main control board 5 can change each time the user unlocks the door by entering a password. This achieves dynamic display of the password characters on the door lock, so that the position of the key (i.e., touch pad 22) touched by the user on the door lock keypad will be different each time the user enters the same password. By touching the touch pad 22, the capacitance of the touch pad 22 changes, thereby generating a capacitance signal, which is sent to the main control board 5. The main control board 5 determines the password entered by the user by the order in which the capacitance signals are sent from each touch pad 22, and determines whether to unlock the door for the user based on the entered password.
[0056] In this application, by combining the touchpad 2 and the digital tube 51 within the door lock, dynamic display of password characters can be supported. This effectively prevents criminals from deducing password information by observing the user's password input actions or key touch marks, thereby enhancing security and achieving an anti-peeping effect. It avoids the security risks associated with fixed password character positions, ensuring the security and reliability of the door lock. Simultaneously, the design of the touch pad 22 allows users to complete password input with simple touch, making the door lock operation more sensitive and convenient, thus improving the user experience. Furthermore, the technical solution proposed in this application, by combining the touchpad 2 and the digital tube 51 within the door lock, avoids the use of expensive capacitive screens and LCD displays while ensuring the security and reliability of the door lock. This significantly reduces the production cost of the door lock, making it more competitive in the market and providing consumers with a high-performance, cost-effective option.
[0057] Please refer to Figure 1 , Figure 2 , Figure 5 .
[0058] The door lock proposed in this application may also include a light guide 23, which is embedded in a groove and located between the touch panel 2 and the door lock panel 4. The light guide 23 has a third cutout 31 that corresponds one-to-one with the multiple first cutouts 41 in position. Each third cutout 31 is surrounded by annular ribs. The annular ribs pass through the first cutouts 41 and are close to the position on the main control board 5 around the digital tube 51.
[0059] In this application, the light guide 23 is made of an opaque material.
[0060] Based on the door lock proposed in this application, annular ribs are arranged around the third cutout 31 of the light guide 23. These ribs pass through the first cutout 41 and are closely attached to the position around the digital tube 51 on the main control board 5. When the digital tube 51 is lit, the light is ensured to shine only from the second cutout 21 corresponding to the front touchpad 2, preventing light from escaping to other areas of the second cutout 21. This ensures that the user is not interfered with by other light sources when entering the password, improving the concentration of character light display when using the door lock, thereby improving the accuracy of password input. In low-light environments, the user can clearly see the corresponding touch area, reducing the risk of accidental touches. The design of the annular ribs makes the light guidance more explicit, allowing the user to quickly find the correct input position and improving ease of use.
[0061] Please refer to Figure 1 , Figure 2 , Figure 3 .
[0062] The door lock proposed in this application may also include a keypad 1, which has a fourth cutout 11 that corresponds one-to-one with the multiple first cutouts 41 in position, and the fourth cutout 11 is covered with a semi-transparent oil film; the keypad 1 is attached to the front of the door lock panel 4.
[0063] Based on the door lock proposed in this application, by covering the fourth hollow 11 with a semi-transparent oil film, when there is no light inside the door lock, the semi-transparent oil film of the keypad 1 effectively blocks the view inside, and no content inside can be seen from the outside. When the digital tube 51 inside the door lock is lit, the emitted light passes through the keypad 1 and the semi-transparent oil film, allowing the user to clearly see the displayed content.
[0064] Please refer to Figure 1 , Figure 2 , Figure 4 , Figure 6 , Figure 7 .
[0065] The door lock proposed in this application has a touch panel 2 with a first connector plug 23, a main control board 5 with a first connector socket 53, and a through hole 42 at the bottom of the groove; the first connector plug 23 passes through the through hole 42 and connects to the first connector socket 53 to realize the electrical connection between the main control board 5 and the touch panel 2.
[0066] Based on the door lock proposed in this application, the touchpad 2 is provided with a first connecting plug 23, which passes through the through hole 42 of the door lock panel 4 and connects to the first connecting socket 53 of the main control board 5, simplifying the circuit connection and ensuring a stable electrical connection between the touchpad 2 and the main control board 5. Touch pads 22 are arranged around each of the second cutouts 21 of the touchpad 2, enabling precise detection of the user's touch position. When the user touches the keyboard 1, the touch pads 22 sense the change in capacitance and transmit a signal to the main control board 5. This improves the sensitivity and accuracy of the touch response, ensuring the smoothness of the user's password input. The touchpad 2 is close to the back of the keyboard 1, allowing the user to directly interact with the touch pads 22 when touching the keyboard 1. This provides the user with more intuitive feedback when entering the password, reducing errors caused by input delays.
[0067] In other embodiments, the touch panel may be provided with a second connection socket, the main control board may be provided with a second connection plug, and a through hole may be provided at the bottom of the groove. The second connection plug passes through the through hole and connects to the second connection socket to realize the electrical connection between the main control board and the touch panel. This application does not impose too many limitations on this.
[0068] In this application, based on the inventive concept of the door lock described above, a door lock control method is also proposed, which is applied to the door lock as described in the above embodiments. Next, this application will elaborate on the proposed door lock control method.
[0069] Reference Figure 10 The diagram illustrates a flowchart of a door lock control method according to an embodiment of this application. This method can specifically be executed by a device with computational processing capabilities (such as the door lock itself), see reference [link to documentation]. Figure 10 As shown, the door lock control method includes at least steps 1001 to 1004, which are described in detail below:
[0070] Step 1001: In response to the user's unlocking request, obtain the current character display sequence, which is different from the character display sequence displayed when the user last unlocked the door.
[0071] Step 1002: According to the current character display sequence, control each digital tube on the main control board to display its respective character.
[0072] Step 1003: In response to the user's password input action on the touchpad, obtain the character sequence of the password to be verified.
[0073] Step 1004: If the password character sequence to be verified is consistent with the preset password character sequence, then control the door lock to open.
[0074] In this application, when a user issues an unlocking request, for example, when the user touches the door lock's touchpad, the door lock's main control board will generate a new current character display sequence. This current character display sequence is different from the character display sequence displayed when the user unlocked the door last time, so as to ensure the security and privacy protection of the user during the process of entering the door lock password each time the door is unlocked.
[0075] In one embodiment of this application, obtaining the current character display sequence can be performed according to the following steps 10011 to 10012:
[0076] Step 10011: Obtain the input frequency of each character in history, and the touch parameters of each touch pad on the touchpad in history, including the total touch duration and / or the total number of touches.
[0077] Step 10012: Based on the input frequency and the touch intensity parameters, determine the current character display sequence according to the strategy of evenly touching each touch pad on the touchpad.
[0078] In this embodiment, the door lock collects the input frequency of each character in history and the total touch duration and / or total number of touches of each touch pad on the touchpad. It then determines the current character display sequence according to a balanced touch strategy, thereby optimizing the display order of characters on the digital tube to improve security and user experience and prevent the password from being easily guessed.
[0079] Specifically, the balanced touch strategy may control the digital tube corresponding to the touch pad with a longer total touch duration and / or a larger total number of touches to display characters with a lower input frequency, and control the digital tube corresponding to the touch pad with a shorter total touch duration and / or a smaller total number of touches to display characters with a higher input frequency.
[0080] For example, a touchpad may contain 10 touch pads, arranged in the following order: touch pad A, touch pad B, touch pad C, touch pad D, touch pad E, touch pad F, touch pad G, touch pad H, touch pad I, and touch pad J. Taking the total number of touches for each individual touch pad as an example, the total number of touches for these 10 touch pads over the past 3 months is shown in Table 1 below:
[0081] Touch pads A B C D E F G H I J Total number of touches 50 50 60 65 70 75 80 85 90 100
[0082] Table 1
[0083] Furthermore, the input frequency of characters 1-10 over the past 3 months is shown in Table 2 below:
[0084] character 3 5 4 0 8 1 6 2 9 7 Input frequency (times / day) 5 times 4 times 4 times 3 times 3 times 2 times 1 time 1 time 1 time 1 time
[0085] Table 2
[0086] Based on the balanced touch strategy, the character display sequence (i.e., the current character display sequence) of the digital tube corresponding to each touch pad can be as shown in Table 3 below:
[0087] Touch pads A B C D E F G H I J The corresponding characters displayed on the digital tube 3 5 4 0 8 1 6 2 9 7
[0088] Table 3
[0089] In one embodiment of this application, obtaining the password character sequence to be verified can be performed according to the following steps 10031 to 10033:
[0090] Step 10031: Obtain the touch order of the touch pads on the touchpad that have been touched by the user.
[0091] Step 10032: Obtain the positional correspondence between each touch pad on the touchpad and the characters displayed on each digital tube on the main control board.
[0092] Step 10033: Based on the touch order and the position correspondence, determine the password character sequence to be verified.
[0093] To enable those skilled in the art to better understand this application, examples will be provided below in conjunction with Table 3.
[0094] As shown in Table 3, the positional correspondence between the touch pads on the touchpad and the characters displayed on the digital tubes on the main control board can be used. For example, if the touch order of the touch pads touched by the user on the touchpad is "BC AB FE", based on the touch order and the positional correspondence, the password character sequence to be verified can be determined to be "5 4 35 1 8". Furthermore, if the user's preset password character sequence is also "5 4 3 5 1 8", the door lock will be opened; otherwise, the door lock will be refused to open.
[0095] Based on the technical solution in this embodiment, by displaying less frequently used characters on the digital tubes corresponding to frequently touched touch pads, and more frequently used characters on the digital tubes corresponding to rarely touched touch pads, the advantages are as follows: First, by switching the digital tubes displayed for each character, the user's input action when entering the password on the touchpad will be different each time (i.e., the touch pads touched by the user and the order in which the touch pads are touched are different), making it difficult for criminals to guess the door lock password based on the user's input action, thereby reducing the risk of password guessing and improving the security of the door lock. Second, the strategy of evenly touching each touch pad on the touchpad ensures that the usage frequency of each touch pad is relatively consistent, avoiding premature wear of some pads due to frequent use while others are neglected, thereby extending the overall lifespan of the touchpad and reducing the maintenance cost of the door lock. At the same time, by combining the touchpad and digital tubes in the door lock, this application avoids the use of expensive capacitive screens and LCD screens while ensuring the security and reliability of the door lock, which can greatly reduce the production cost of the door lock.
[0096] Based on the same inventive concept, embodiments of this application provide a computer-readable storage medium storing at least one computer program instruction, which is loaded and executed by a processor to perform the operations described above.
[0097] Based on the same inventive concept, embodiments of this application provide a computer program product, the computer program product including computer instructions stored in a computer-readable storage medium and adapted to be read and executed by a processor to cause a computer device having the processor to perform the operations performed as described above.
[0098] Based on the same inventive concept, this application also provides a door lock, see reference. Figure 11 The diagram shows a schematic of the structure of a door lock in an embodiment of this application. The door lock includes one or more memories 1104, one or more processors 1102, and at least one computer program (computer program instructions) stored in the memory 1104 and executable on the processor 1102. When the processor 1102 executes the computer program, it implements the method described above.
[0099] Among them, Figure 11In this document, a bus architecture (represented by bus 1100) is used. Bus 1100 may include any number of interconnected buses and bridges, linking various circuits including one or more processors represented by processor 1102 and memory represented by memory 1104. Bus 1100 may also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. Bus interface 1105 provides an interface between bus 1100 and receiver 1101 and transmitter 1103. Receiver 1101 and transmitter 1103 may be the same element, i.e., a transceiver, providing a unit for communicating with various other devices over a transmission medium. Processor 1102 is responsible for managing bus 1100 and general processing, while memory 1104 may be used to store data used by processor 1102 during operation.
[0100] The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored as one or more instructions or codes on or transmitted via a computer-readable medium. Other examples and embodiments are within the scope and spirit of this application and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hardwired, or any combination thereof. Furthermore, the functional units may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit.
[0101] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0102] The units described as separate components may or may not be physically separate. Similarly, the components of the control device may or may not be physical units; they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0103] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing computer program instructions, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0104] The above description is merely an embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A door lock, characterized in that, The door lock includes: A door lock panel, wherein a groove is provided on the front side of the door lock panel, and a plurality of first hollows are provided at the bottom of the groove, and the front side is the side of the door lock panel facing outwards; The touch panel is embedded in the groove, and the touch panel has second cutouts that correspond one-to-one with the plurality of first cutouts in position, and touch pads are arranged around each second cutout; The main control board is located on the back of the door lock panel, opposite to the touch panel. The main control board is equipped with digital tubes that correspond one-to-one with the plurality of first cutouts in position. The digital tubes are used to switch the display of different characters. The main control board is electrically connected to the touchpad to receive the capacitance signal generated by the touchpad when the user touches its touch pads.
2. The door lock according to claim 1, characterized in that, The door lock also includes a light guide, which is embedded in the groove and located between the touch panel and the door lock panel. The light guide has a third cutout that corresponds to the plurality of first cutouts in position. Each third cutout is surrounded by annular ribs. The annular ribs pass through the first cutouts and are close to the position of the main control board around the digital tube.
3. The door lock according to claim 1, characterized in that, The door lock also includes a keypad, which has a fourth cutout that corresponds one-to-one with the plurality of first cutouts in position, and the fourth cutout is covered with a semi-transparent oil film; the keypad is attached to the front of the door lock panel.
4. The door lock according to claim 1, characterized in that, The touchpad is provided with a first connector plug, the main control board is provided with a first connector socket, and a through hole is provided at the bottom of the groove; the first connector plug passes through the through hole and connects to the first connector socket to realize the electrical connection between the main control board and the touchpad.
5. A door lock control method, characterized in that, The method is applied to a door lock as described in any one of claims 1 to 4, the method comprising: In response to the user's unlocking request, the current character display sequence is obtained, which is different from the character display sequence displayed when the user last unlocked the door; According to the current character display sequence, control each digital tube on the main control board to display its respective character; In response to the user's password input action on the touchpad, obtain the character sequence of the password to be verified; If the password character sequence to be verified matches the preset password character sequence, then the door lock is opened.
6. The method according to claim 5, characterized in that, The step of obtaining the current character display sequence includes: The input frequency of each character in history is obtained, as well as the touch parameters of each touch pad on the touchpad in history, including the total touch duration and / or the total number of touches; Based on the input frequency and the touch intensity parameters, the current character display sequence is determined according to the strategy of evenly touching each touch pad on the touchpad.
7. The method according to claim 5, characterized in that, The step of obtaining the password character sequence to be verified includes: Obtain the touch order of the touch pads touched by the user on the touchpad; Obtain the positional correspondence between each touch pad on the touchpad and the characters displayed on each digital tube on the main control board; Based on the correspondence between the touch order and the position, the sequence of password characters to be verified is determined.
8. A computer program product, characterized in that, The computer program product includes computer instructions stored in a computer-readable storage medium and adapted to be read and executed by a processor to cause a computer device having the processor to perform the method as claimed in any one of claims 5 to 7.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one piece of program code, which is loaded and executed by a processor to perform the operations performed by the method as described in any one of claims 5 to 7.
10. A door lock, characterized in that, The door lock includes one or more processors and one or more memories, wherein the one or more memories store at least one piece of program code, which is loaded and executed by the one or more processors to implement the method as claimed in any one of claims 5 to 7.