CN112177435B - Control method and device of coded lock and computer readable storage medium - Google Patents

Control method and device of coded lock and computer readable storage medium Download PDF

Info

Publication number
CN112177435B
CN112177435B CN202011043342.3A CN202011043342A CN112177435B CN 112177435 B CN112177435 B CN 112177435B CN 202011043342 A CN202011043342 A CN 202011043342A CN 112177435 B CN112177435 B CN 112177435B
Authority
CN
China
Prior art keywords
area
lock
controlling
display interface
password
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011043342.3A
Other languages
Chinese (zh)
Other versions
CN112177435A (en
Inventor
林万区
尹羽平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningbo Bull Intelligent Technology Co ltd
Original Assignee
Bull Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bull Group Co Ltd filed Critical Bull Group Co Ltd
Priority to CN202011043342.3A priority Critical patent/CN112177435B/en
Publication of CN112177435A publication Critical patent/CN112177435A/en
Application granted granted Critical
Publication of CN112177435B publication Critical patent/CN112177435B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B15/00Other details of locks; Parts for engagement by bolts of fastening devices
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B49/00Electric permutation locks; Circuits therefor ; Mechanical aspects of electronic locks; Mechanical keys therefor

Abstract

The application provides a control method and device of a coded lock and a computer readable storage medium, and relates to the technical field of control. The method can realize automatic control of the opening or closing of the child lock mode, and improves user experience compared with the existing method. The method comprises the following steps: a control device of the coded lock acquires user behavior parameters within a first preset time period; the control device of the coded lock determines that an input user in a first preset time period is an abnormal user according to the user behavior parameters, and controls the coded lock to open a child lock mode; the control device of the coded lock monitors a trigger area of the display interface, and controls the coded lock to close the child lock mode under the condition that the trigger area of the display interface meets a preset trigger condition; the mode for controlling the coded lock to open the child lock comprises the steps of controlling a first area to close display and controlling a second area to normally display; controlling the combination lock to close the child lock mode comprises: and controlling the first area and the second area to display normally.

Description

Control method and device of coded lock and computer readable storage medium
Technical Field
The present disclosure relates to the field of control technologies, and in particular, to a method and an apparatus for controlling a combination lock, and a computer-readable storage medium.
Background
The intelligent coded lock has gradually replaced traditional lock, and compares traditional lock factor of safety higher. Existing, can be provided with the child lock on the door frame that intelligence trick lock corresponds and set for the button, when this child lock sets for the button and is pressed, the door handle will be locked, can prevent that children from breaking the password and open the door. Correspondingly, a child lock releasing button is arranged on a door frame corresponding to the intelligent coded lock, when the child lock releasing button is pressed down, the door handle can be unlocked, and the door can be opened by normally inputting a code in the intelligent coded lock.
However, in the existing mode of controlling the opening or closing of the child lock through the key, the user needs to press the key every time the child lock is opened or closed, the operation is too complicated, and the user experience is influenced.
Disclosure of Invention
The application provides a control method and a control device of a coded lock and a computer readable storage medium, wherein the method can realize the following steps: the user does not need to control the opening or closing of the child lock mode through keys, so that the complex operation is reduced, and the user experience is improved.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, the present application provides a method for controlling a combination lock, including: a control device of the coded lock acquires user behavior parameters within a first preset time period; and then, the control device of the coded lock determines that the input user in the first preset time period is an abnormal user according to the user behavior parameters, and controls the coded lock to open the child lock mode. Wherein, control trick lock opens child's lock mode, includes: and controlling a first area of a display interface of the coded lock to close display, and controlling a second area to normally display. And then, the control device of the coded lock monitors a trigger area of the display interface, and controls the coded lock to close the child lock mode under the condition that the trigger area of the display interface meets a preset trigger condition. Wherein, control trick lock closes child's lock mode, includes: and controlling the first area and the second area to display normally.
The user behavior parameter may be indicative of whether the current input user is an abnormal user (e.g., a child), so that the control device of the combination lock may control the combination lock to unlock the child lock mode when the input user is determined to be an abnormal user. In addition, the control device of the coded lock controls the coded lock to open or close the child lock mode, and the control device is realized by controlling the display condition of the display interface of the coded lock. Therefore, the control device of the coded lock can monitor the trigger area of the display interface of the coded lock under the condition of opening the child lock mode, and determines whether to control the coded lock to close the child lock mode or not by analyzing the monitored trigger area. It can be seen that in the control method of the coded lock provided by the application, the control device of the coded lock realizes the automatic control of the child lock mode according to the user behavior parameters and the monitored trigger area of the display interface, and compared with the traditional mode of controlling the child lock mode to be opened or closed through the keys, the method is more intelligent, so that the user experience can be improved.
Optionally, in a possible design, the "user behavior parameter" may include a target area, where the target area is an area where a display interface of the password lock in password authentication is not triggered for the first preset number of times. Before determining that an input user in a first preset time period is an abnormal user according to the user behavior parameters and controlling the combination lock to open the child lock mode, the control method of the combination lock further comprises the following steps: and determining the target area as a second area, and determining a non-target area in the display interface as a first area.
Optionally, in another possible design, the "controlling the combination lock to close the child lock mode when the trigger area of the display interface meets the preset trigger condition" may include: and if the trigger areas of the display interface monitored in the password verification of N times are all the first areas, controlling the coded lock to close the child lock mode under the condition that the trigger area of the display interface monitored in the password verification of the (N + i) th time is the second area.
The (N + i) th password authentication is any password authentication after the N password authentications; n is a second preset number of times, and both N and i are positive integers.
Optionally, in another possible design, the "controlling the combination lock to close the child lock mode when the monitored trigger area of the display interface in the N + i-th password authentication is the second area" may include: and controlling the coded lock to close the child lock mode under the condition that the triggering area of the display interface monitored in the password verification for the (N + i) th time is the second area and the triggering areas of the display interface monitored in the password verification corresponding to the third preset time are the second areas.
And the third preset times is the password authentication times after the (N + i) th password authentication.
Optionally, in another possible design, the password verification corresponding to the "third preset number" is performed within a second preset time period.
Optionally, in another possible design, a time interval of each password authentication in the "third preset number" is less than a first preset time.
Optionally, in another possible design, the "controlling the combination lock to close the child lock mode when the trigger area of the display interface meets the preset trigger condition" may further include: acquiring a target time interval under the condition that the monitored trigger area of the display interface in the (j + 1) th password verification is a second area; and controlling the coded lock to close the child lock mode under the condition that the target time interval is less than a second preset time length.
The target time interval is the time interval between the j +1 password authentication and the jth password authentication.
Optionally, in another possible design, the "controlling the combination lock to close the child lock mode when the trigger area of the display interface meets the preset trigger condition" may further include: acquiring a first character of a preset unlocking password under the condition that the trigger areas of the display interface monitored in the password verification corresponding to the fourth preset times are all first areas; if the first character is in the display area of the second area, the characters displayed in the display area of the second area are unchanged; if the first character is in the display area of the first area, displaying the first character and the random character in the display area of the second area; acquiring a password input by a user; and controlling the code lock to close the child lock mode under the condition that the input code of the user is determined to be the first character.
Optionally, in another possible design, the "controlling the combination lock to close the child lock mode when the trigger area of the display interface meets the preset trigger condition" may further include: under the condition that the trigger area of the display interface monitored in the password verification corresponding to the fourth preset number of times comprises a second area, acquiring a first character, and displaying the first character and a random character in the display area of the second area; acquiring a password input by a user; and controlling the code lock to close the child lock mode under the condition that the input code of the user is determined to be the first character.
In a second aspect, the present application provides a control apparatus for a combination lock, including an obtaining module and a control module. The acquisition module is used for acquiring the user behavior parameters in a first preset time period. The control module is used for determining an input user in a first preset time period as an abnormal user according to the user behavior parameters acquired by the acquisition module and controlling the coded lock to open a child lock mode; controlling the combination lock to unlock the child lock mode, comprising: and controlling a first area of a display interface of the coded lock to close display, and controlling a second area to normally display. The control module is also used for monitoring a trigger area of the display interface and controlling the coded lock to close the child lock mode under the condition that the trigger area of the display interface meets a preset trigger condition; controlling the combination lock to close the child lock mode, comprising: and controlling the first area and the second area to display normally.
In a third aspect, the present application provides a control apparatus for a combination lock, including a processor, where the processor is configured to couple with a memory, read and execute instructions in the memory, so as to implement the control method for a combination lock provided in the first aspect or any one of the possible design manners of the first aspect.
Optionally, the control device of the combination lock may further comprise a memory for storing program instructions and data of the control device of the combination lock. Further optionally, the control device of the combination lock may further include a transceiver, and the transceiver is configured to perform the step of transceiving data, signaling or information under the control of the processor of the control device of the combination lock, for example, acquiring the user behavior parameter within the first preset time period.
Alternatively, the control device of the combination lock may be a part of the device in the combination lock, for example, may be a system-on-chip in the combination lock. The chip system is configured to support the control device of the combination lock to implement the functions related to the first aspect or any one of the possible design manners of the first aspect, for example, to receive, transmit or process data and/or information related to the control method of the combination lock. The chip system includes a chip and may also include other discrete devices or circuit structures.
In a fourth aspect, the present application provides a computer-readable storage medium, in which instructions are stored, and when the instructions are executed by a computer, the method for controlling a combination lock is implemented as provided in the first aspect or any one of the possible design manners of the first aspect.
In a fifth aspect, the present application provides a computer program product comprising computer instructions which, when run on a computer, cause the computer to perform a method of controlling a combination lock as provided in the first aspect or any one of the possible designs of the first aspect.
It should be noted that all or part of the computer instructions may be stored on the computer readable storage medium. The computer-readable storage medium may be packaged with a processor of a control device of the combination lock, or may be packaged separately from the processor of the control device of the combination lock, which is not limited in this application.
For the descriptions of the second, third, fourth and fifth aspects in this application, reference may be made to the detailed description of the first aspect; in addition, for the beneficial effects described in the second aspect, the third aspect, the fourth aspect and the fifth aspect, reference may be made to the beneficial effect analysis of the first aspect, and details are not repeated here.
In the present application, the names of the control means of the above-mentioned combination lock do not constitute a limitation on the devices or functional modules themselves, which may appear under other names in an actual implementation. Insofar as the functions of the respective devices or functional blocks are similar to those of the present invention, they are within the scope of the claims of the present application and their equivalents.
These and other aspects of the present application will be more readily apparent from the following description.
Drawings
Fig. 1 is a schematic system architecture diagram of a control system of a combination lock according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a control method of a combination lock according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a control interface provided in an embodiment of the present application;
FIG. 4 is a schematic view of another control interface provided by embodiments of the present application;
fig. 5 is a schematic flowchart of another control method for a combination lock according to an embodiment of the present disclosure;
fig. 6 is a schematic flowchart of another control method for a combination lock according to an embodiment of the present disclosure;
fig. 7 is a schematic flowchart of another control method for a combination lock according to an embodiment of the present disclosure;
fig. 8 is a schematic flowchart of another control method for a combination lock according to an embodiment of the present disclosure;
fig. 9 is a schematic flowchart of another control method for a combination lock according to an embodiment of the present disclosure;
fig. 10 is a schematic flowchart of a control method for a combination lock according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a control device of a combination lock according to an embodiment of the present disclosure;
fig. 12 is a schematic structural diagram of another control device of a combination lock according to an embodiment of the present application.
Detailed Description
The following describes a control method and device of a combination lock provided in an embodiment of the present application in detail with reference to the accompanying drawings.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone.
The terms "first" and "second" and the like in the description and drawings of the present application are used for distinguishing different objects or for distinguishing different processes for the same object, and are not used for describing a specific order of the objects.
Furthermore, the terms "including" and "having," and any variations thereof, as referred to in the description of the present application, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the present application, the meaning of "a plurality" means two or more unless otherwise specified.
The intelligent coded lock has gradually replaced traditional lock, and compares traditional lock factor of safety higher. Existing, can be provided with the child lock on the door frame that intelligence trick lock corresponds and set for the button, when this child lock sets for the button and is pressed, the door handle will be locked, can prevent that children from breaking the password and open the door. Correspondingly, a child lock releasing button is arranged on a door frame corresponding to the intelligent coded lock, when the child lock releasing button is pressed down, the door handle can be unlocked, and the door can be opened by normally inputting a code in the intelligent coded lock.
However, in the existing mode of controlling the opening or closing of the child lock through the key, the user needs to press the key every time the child lock is opened or closed, the operation is too complicated, and the user experience is influenced.
In view of the above problems in the prior art, embodiments of the present application provide a control method for a combination lock, which may be applied to a control device for a combination lock.
In one possible implementation, the control device of the combination lock may be provided on the combination lock, for example, the control device of the combination lock may be a chip system in the combination lock. The chip system is used for supporting the control device of the coded lock to realize the functions related to the control method of the coded lock provided by the embodiment of the application.
In another possible implementation manner, the control method of the combination lock provided by the embodiment of the present application may also be applied to a control system of the combination lock. As shown in fig. 1, a control system for a combination lock may comprise a control device 01 for a combination lock and a plurality of combination locks 02.
In a possible implementation manner, the control device 01 of the trick lock may be a physical machine (such as a server), or may also be a Virtual Machine (VM) deployed on the physical machine, and is configured to monitor each trick lock 02 to implement control over each trick lock 02. For example: and determining that the input user in the first preset time period is an abnormal user according to the user behavior parameters, and controlling the coded lock 02 to open the child lock mode. In the embodiment of the present application, the control device 01 of the combination lock may be an independent physical machine or a virtual machine. In the embodiment of the present application, the control device 01 of the combination lock has the same processing procedure for each combination lock 02.
In another possible implementation, the control device 01 of the combination lock may be a terminal. The terminal may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a notebook computer, an ultra-mobile personal computer (UMPC), a handheld computer, a netbook, a Personal Digital Assistant (PDA), a wearable electronic device, a virtual reality device, and other different types of terminals connected to the combination lock.
Referring to fig. 2, an embodiment of the present application provides a method for controlling a combination lock, where the method includes S101-S103:
s101, a control device of the coded lock acquires user behavior parameters in a first preset time period.
The first preset time period may be a time interval determined in advance by human. For example, the first preset time period may be 5 minutes.
Since the number of password authentications of an abnormal user (e.g., a child) is generally greater than that of a normal user, alternatively, the control device of the password lock may periodically acquire the number of password authentications of the input user. When it is determined that the number of times of password authentication of the input user in a preset period reaches a fifth preset number of times, the control device of the combination lock may determine that the input user is a suspected abnormal user. Because the normal user forgets to unlock the password or loses the wrong password, when the control device of the password lock determines that the password verification times reaches the fifth preset times, the currently input user can be determined to be the suspected abnormal user. Further, the user behavior may be analyzed by acquiring a user behavior parameter for a first preset time period to determine whether the current input user is an abnormal user.
The preset period and the fifth preset number may be human parameters determined in advance. For example, the control device of the combination lock may determine the number of password authentications of the user input in the last 3 minutes every 3 minutes, and when it is determined that the number of password authentications of the user input in the last 3 minutes reaches 5 times, the control device of the combination lock may acquire the user behavior parameter for the first preset time period.
In a possible implementation manner, the display interface of the combination lock may display an interface as shown in fig. 3, the "#" key is pressed to confirm the verification password every time the user inputs the unlocking password, and the control device of the combination lock may obtain the number of times the "#" key is pressed by the user to determine the number of times of password verification within the first preset time period. It can be understood that, in practical applications, the verification modes of different combination locks are different, and the control device of the combination lock may determine the number of times of password verification within the first preset time period according to the mode of password verification of the combination lock, which is not limited in the embodiment of the present application.
S102, the control device of the coded lock determines that an input user in a first preset time period is an abnormal user according to the user behavior parameters, and controls the coded lock to open a child lock mode.
In a possible implementation manner, the user behavior parameter may be the number of key triggering times of any password authentication within a first preset time period. It can be understood that when the child views the combination lock as a toy, the number of the inputted passwords is less than the number of the correct passwords at each authentication because the passwords are not actually authenticated. Therefore, optionally, the control device of the combination lock may obtain the number of times of key triggering of any password verification within a first preset time period, and when it is determined that the number of times of key triggering of any password verification within the first preset time period is smaller than a first preset value, it is determined that the current input user is an abnormal user, and the combination lock is controlled to unlock the child lock mode.
The first preset value may be a number of times of triggering the key, which is determined in advance by a human. Illustratively, the first preset value may be 5 times.
In another possible implementation manner, the user behavior parameter may be an area in which the display interface of the combination lock is triggered within a first preset time period. It will be appreciated that due to the child's height limitations, the area in which the display interface of the combination lock is triggered is generally lower than normal users when the child views the combination lock as a toy. Therefore, optionally, the control device of the combination lock may acquire a region in which the display interface of the combination lock is triggered within a first preset time period, and when it is determined that the region in which the display interface of the combination lock is triggered within the first preset region within the first preset time period, it is determined that the current input user is a child, that is, it is determined that the current input user is an abnormal user, and the combination lock is controlled to unlock the child lock mode.
The first preset area may be a low-order area of a display interface of the combination lock preset by a user. Exemplarily, as shown in fig. 4, the region 1 may be set as a first preset region.
In another possible implementation manner, the user behavior parameter may be a time interval between the first time and the second time. It can be understood that the child may use a jump or the like to touch the high-level area on the display interface of the combination lock during the playing, and at this time, the time interval between two consecutive password verifications of the child is longer than that of a normal user. Therefore, optionally, the control device of the combination lock may obtain an interval duration between the first time and the second time, and when it is determined that the interval duration between the first time and the second time is greater than a third preset duration, it is determined that the current input user is an abnormal user, and the combination lock is controlled to unlock the child lock mode.
The first moment is the moment when the key of the coded lock is triggered for the last time in the k password verification, and the second moment is the moment when the key of the coded lock is triggered for the first time in the k +1 password verification; the kth password verification and the (k + 1) th password verification are two times of continuous password verification in a first preset time period, and a key triggering area of the kth password verification or the (k + 1) th password verification is positioned in a second preset area; k is a positive integer.
The third preset time period may be a time period determined in advance by an operator. The second preset area may be a high-order area of a display interface of the combination lock preset by a user. Exemplarily, as shown in fig. 4, the region 2 may be set as a second preset region.
In order to improve the accuracy of distinguishing the normal user from the abnormal user, optionally, the user behavior parameter may be an interval duration between the first time and the second time, and an interval duration between the third time and the fourth time. The control device of the coded lock determines that the interval duration of the first time and the second time is greater than a third preset duration, and the interval duration of the third time and the fourth time is also greater than the third preset duration, so that the current input user can be determined to be an abnormal user.
The third moment is the moment when the key is triggered for the last time in the (k + 1) th password verification, and the fourth moment is the moment when the key is triggered for the first time in the (k + 2) th password verification. The (k + 1) th password authentication and the (k + 2) th password authentication are two times of continuous password authentication in a first preset time period, and the key triggering area of the (k + 1) th password authentication is located in a first preset area.
It can be understood that, in practical application, it may also be determined that the currently input user is an abnormal user by combining the number of times of triggering the key of any password verification within the first preset time period, the area where the display interface of the password lock is triggered within the first preset time period, and the interval duration between the first time and the second time.
For example, the control device of the combination lock may first obtain the number of times of key triggering of any password authentication in a first preset time period, and when the number of times of key triggering of any password authentication in the first preset time period is smaller than a first preset value, determine that the current input user is an abnormal user. If the number of times of triggering the keys for any password verification within the first preset time period is not less than the first preset value, the control device of the password lock may further obtain a region where the display interface of the password lock is triggered within the first preset time period, when the region where the display interface of the password lock is triggered within the first preset region within the first preset time period, it is determined that the current input user is an abnormal user, on the contrary, if the display interface of the password lock is not within the first preset region, the control device of the password lock may further obtain an interval duration between the first time and the second time, and when the interval duration between the first time and the second time is greater than the third preset duration, it is determined that the current input user is an abnormal user. If the interval duration of the first time and the second time is less than or equal to a third preset duration, the control device of the coded lock can reacquire the key triggering times of any password verification in the first preset time period, so as to repeatedly and circularly acquire the user behavior parameters.
Of course, in practical application, it may also be determined that the current input user is an abnormal user in other manners, which is not limited in this application embodiment.
In addition, the mode of controlling the combination lock to unlock the child lock specifically may include: and controlling a first area of a display interface of the coded lock to close display, and controlling a second area to normally display.
In one possible implementation, the first area may be a first preset area, i.e., area 1 in fig. 4. The second area may be a second predetermined area, i.e., area 2 in fig. 4.
In another possible implementation manner, the user behavior parameter may further include an area (corresponding to the target area in the embodiment of the present application) where the display interface of the password lock is not triggered in the password authentication corresponding to the first preset number of times. The control device of the coded lock can determine the target area as the second area and the non-target area in the display interface as the first area.
The first preset number of times may be a password verification number determined in advance by a human.
S103, the control device of the coded lock monitors a trigger area of the display interface, and controls the coded lock to close the child lock mode under the condition that the trigger area of the display interface meets preset trigger conditions.
Wherein, the mode that the control device of the coded lock controls the coded lock to close the child lock specifically can include: and controlling the first area and the second area to display normally.
In a possible implementation manner, if the trigger areas of the display interface monitored by the control device of the combination lock in the N-th password authentication are all the first areas, and the trigger area of the display interface monitored in the N + i-th password authentication is the second area. Since the trigger area of the display interface is generally the first area, the control device of the combination lock can determine that the N-th password authentication is the input behavior of the abnormal user, and the N + i-th password authentication is the input behavior of the normal user. Thus, in this case the control means of the combination lock may control the combination lock to close the child lock mode.
The (N + i) th password authentication is any password authentication after the N password authentications; n is a second preset number of times, and both N and i are positive integers. The second preset number of times may be a number of password authentications determined in advance by a human.
Optionally, in order to improve the accuracy of determining the input behavior of the normal user by the control device of the combination lock, if the trigger regions of the display interface monitored by the control device of the combination lock in N-th password verification are all the first regions, the trigger region of the display interface monitored in N + i-th password verification is the second region, and the trigger regions of the display interface monitored in password verification corresponding to the third preset number of times are all the second regions, the control device of the combination lock may determine the input behavior of the normal user at this time, and control the combination lock to close the child lock mode.
And the third preset times is the password authentication times after the (N + i) th password authentication.
Optionally, in order to further improve the accuracy of the control device of the combination lock in determining the input behavior of the normal user, the password verification corresponding to the third preset number of times is within the second preset time period. Wherein the second preset time period may be a time interval determined in advance by human. For example, the second preset time period may be 4 minutes.
Because the children may touch the high-level area on the display interface of the coded lock in a jumping manner and the like during playing, the time interval between two successive password verifications of the children is longer than that of a normal user. Therefore, optionally, the time interval of each password authentication in the third preset number of times is less than the first preset time length.
The first preset time period may be a time period determined in advance by human.
Since the time interval between two successive password authentications by the child is longer than that of the normal user, optionally, the control device of the password lock may also determine whether the input behavior is that of the normal user at a target time interval. Specifically, in the process of monitoring the trigger area of the display interface, if it is monitored that the trigger area of the display interface in the (j + 1) th password authentication is the second area, the control device of the password lock may obtain a time interval (corresponding to a target time interval in the embodiment of the present application) between the (j + 1) th password authentication and the previous password authentication of the (j + 1) th password authentication. When the control device of the coded lock determines that the target time interval is smaller than the second preset time length, the input behavior of the normal user can be determined at the moment, and the coded lock is controlled to close the child lock mode.
The target time interval is the time interval between the j +1 password authentication and the jth password authentication. The second preset time period may be a time period determined in advance by an operator.
Optionally, in order to further improve the accuracy of the control device of the combination lock in determining the input behavior of the normal user, if the control device of the combination lock monitors that the trigger area of the display interface in the (j + 1) th password authentication is the second area, the time interval between the (j + 1) th password authentication and the (j + 2) th password authentication may be obtained, and meanwhile, the time interval between the (j + 1) th password authentication and the (j + 2) th password authentication may be obtained. When the control device of the coded lock determines that the time interval between the j +1 th password authentication and the j password authentication and the time interval between the j +1 th password authentication and the j +2 th password authentication are smaller than the second preset time length, the input behavior of the normal user at the moment can be determined, and the coded lock is controlled to close the child lock mode.
In the implementation manner, the control device of the coded lock does not need to memorize the preset unlocking password of the coded lock, and determines whether a normal user is identified only according to the user behavior parameters (including the trigger area of password authentication, the password authentication times, the time interval of two adjacent password authentications and the like).
In another possible implementation manner, the control device of the combination lock may use the first digit of the preset unlocking code as the code for quickly closing the child lock mode.
Specifically, when monitoring the trigger area of the display interface, the control device of the combination lock may acquire a first character of the preset unlocking password when the trigger area of the display interface monitored in the password verification corresponding to the fourth preset number of times is the first area; if the first character is in the display area of the second area, the control device of the coded lock controls the character displayed in the display area of the second area to be unchanged; and if the first character is in the display area of the first area, the control device of the coded lock controls the display area of the second area to display the first character and the random character. And then, the control device of the coded lock can acquire the password input by the user and control the coded lock to close the child lock mode under the condition that the password input by the user is determined to be the first character.
The fourth preset number of times may be a password verification number determined in advance by a human.
In addition, when the control device of the password lock monitors the trigger area of the display interface, and under the condition that the trigger area of the display interface monitored in the password verification corresponding to the fourth preset number of times includes the second area, the first character of the preset unlocking password can be acquired, and the first character and the random character are displayed in the display area of the second area. And then, the control device of the coded lock can acquire the password input by the user and control the coded lock to close the child lock mode under the condition that the password input by the user is determined to be the first character.
The preset unlocking password is a password which is determined in advance and used for unlocking the coded lock, and the preset unlocking password can comprise a plurality of characters. Illustratively, the preset unlock password may be "654321".
In the control method of the combination lock provided by the embodiment of the application, the user behavior parameter may represent whether the current input user is an abnormal user (for example, a child), so that when the input user is determined to be an abnormal user, the control device of the combination lock may control the combination lock to unlock the child lock mode. In addition, the control device of the coded lock controls the coded lock to open or close the child lock mode, and the control device is realized by controlling the display condition of the display interface of the coded lock. Therefore, the control device of the coded lock can monitor the trigger area of the display interface of the coded lock under the condition of opening the child lock mode, and determines whether to control the coded lock to close the child lock mode or not by analyzing the monitored trigger area. It can be seen that in the control method of the combination lock provided in the embodiment of the present application, the control device of the combination lock implements automatic control over the child lock mode according to the user behavior parameters and the monitored trigger area of the display interface, and is more intelligent than the conventional method of controlling the child lock mode to be turned on or off by pressing a key, thereby improving user experience.
In summary, as shown in fig. 5, before step S102, the method for controlling a combination lock according to the embodiment of the present application further includes step S104:
s104, the control device of the coded lock determines the target area as a second area and determines the non-target area in the display interface as a first area.
Alternatively, as shown in fig. 6, step S103 in fig. 2 may be replaced with S1031:
and S1031, the control device of the coded lock monitors the trigger area of the display interface, and if the trigger areas of the display interface monitored in the N times of password verification are all the first areas, the coded lock is controlled to close the child lock mode under the condition that the trigger area of the display interface monitored in the (N + i) th password verification is the second area.
Alternatively, as shown in fig. 7, step S103 in fig. 2 may be replaced with S1032:
s1032, the control device of the coded lock monitors the trigger areas of the display interface, if the trigger areas of the display interface monitored in the N times of password verification are all the first areas, the trigger area of the display interface monitored in the (N + i) th password verification is the second area, and under the condition that the trigger areas of the display interface monitored in the password verification corresponding to the third preset times are all the second areas, the coded lock is controlled to close the child lock mode.
Alternatively, as shown in fig. 8, step S103 in fig. 2 may be replaced with S1033-S1034:
s1033, the control device of the coded lock monitors a trigger area of the display interface, and under the condition that the trigger area of the display interface monitored in the (j + 1) th password verification is a second area, the target time interval is obtained.
S1034, controlling the coded lock to close the child lock mode under the condition that the target time interval is less than a second preset time length by the control device of the coded lock.
Alternatively, as shown in fig. 9, step S103 in fig. 2 may be replaced with S1035-S1039:
and S1035, monitoring the trigger area of the display interface by the control device of the password lock, and acquiring the first digit character of the preset unlocking password under the condition that the trigger areas of the display interface monitored in the password verification corresponding to the fourth preset times are all the first areas.
S1036, the control device of the coded lock judges that the first digit character is in the display area of the second area.
When the control device of the combination lock determines that the first digit character is in the display area of the second area, step S1037 is performed; when the control means of the combination lock determines that the first digit character is not located in the display area of the second region but is located in the display area of the first region, step S1038 is performed.
S1037, the control device of the coded lock controls the characters displayed in the display area of the second area to be unchanged.
After step S1037, step S1039 is performed.
S1038, the control device of the coded lock controls the display area of the second area to display the first digit character and the random character.
After step S1038, step S1039 is performed.
S1039, the control device of the coded lock acquires the password input by the user, and controls the coded lock to close the child lock mode under the condition that the password input by the user is determined to be the first digit character.
Alternatively, as shown in fig. 10, step S103 in fig. 2 may be replaced with S10310-S10311:
and S10310, the control device of the password lock monitors the trigger area of the display interface, acquires the first character under the condition that the monitored trigger area of the display interface comprises the second area in password verification corresponding to the fourth preset number of times, and displays the first character and the random character in the display area of the second area.
And S10311, the control device of the coded lock acquires the password input by the user, and controls the coded lock to close the child lock mode under the condition that the password input by the user is determined to be the first character.
As shown in fig. 11, an embodiment of the present application further provides a control device of a combination lock, where the control device of the combination lock may be the control device 01 of the combination lock in the control system of the combination lock shown in fig. 1, and the control device of the combination lock includes: an acquisition module 11 and a control module 12.
The obtaining module 11 executes S101 in the above method embodiment, and the control module 12 executes S102 and S103 in the above method embodiment.
Specifically, the obtaining module 11 is configured to obtain a user behavior parameter within a first preset time period.
And the control module 12 is configured to determine that the input user in the first preset time period is an abnormal user according to the user behavior parameter acquired by the acquisition module 11, and control the combination lock to unlock the child lock mode. Specifically, the method for controlling the coded lock to unlock the child lock mode comprises the following steps: and controlling a first area of a display interface of the coded lock to close display, and controlling a second area to normally display.
The control module 12 is further configured to monitor a trigger area of the display interface, and control the combination lock to close the child lock mode when the trigger area of the display interface meets a preset trigger condition. Specifically, the method for controlling the combination lock to close the child lock mode comprises the following steps: and controlling the first area and the second area to display normally.
Optionally, the user behavior parameter includes a target area, and the target area is an area where a display interface of the password lock in password authentication is not triggered, where the area corresponds to the first preset number of times. The control device of the coded lock provided by the embodiment of the application can further comprise a determining module, wherein the determining module is used for determining the target area as the second area and determining the non-target area in the display interface as the first area.
Optionally, the control module 12 is specifically configured to: monitoring a trigger area of a display interface, and if the trigger areas of the display interface monitored in the password verification of N times are all first areas, controlling the coded lock to close the child lock mode under the condition that the trigger area of the display interface monitored in the password verification of the (N + i) th time is a second area.
The (N + i) th password authentication is any password authentication after the N password authentications; n is a second preset number of times, and both N and i are positive integers.
Optionally, the control module 12 is further specifically configured to: and monitoring a trigger area of the display interface, if the trigger areas of the display interface monitored in the password verification of N times are all first areas, controlling the coded lock to close the child lock mode under the condition that the trigger area of the display interface monitored in the password verification of the (N + i) th time is a second area, and the trigger areas of the display interface monitored in the password verification corresponding to the third preset time are all second areas. And the third preset times is the password authentication times after the (N + i) th password authentication.
Optionally, the password authentication corresponding to the third preset number of times is within a second preset time period.
Optionally, the time interval of each password authentication in the third preset number of times is less than the first preset time.
Optionally, the control module 12 is further specifically configured to: monitoring a trigger area of the display interface, and acquiring a target time interval under the condition that the monitored trigger area of the display interface in the (j + 1) th password verification is a second area; the target time interval is the time interval between the password authentication of j +1 times and the password authentication of j times; and controlling the coded lock to close the child lock mode under the condition that the target time interval is less than a second preset time length.
Optionally, the control module 12 is further specifically configured to: monitoring a trigger area of the display interface, and acquiring a first digit character of a preset unlocking password under the condition that the monitored trigger areas of the display interface are all first areas in password verification corresponding to the fourth preset times; if the first character is in the display area of the second area, the characters displayed in the display area of the second area are unchanged; if the first character is in the display area of the first area, displaying the first character and the random character in the display area of the second area; acquiring a password input by a user; and controlling the code lock to close the child lock mode under the condition that the input code of the user is determined to be the first character.
Optionally, the control module 12 is further specifically configured to: monitoring a trigger area of the display interface, acquiring a first character under the condition that the monitored trigger area of the display interface comprises a second area in password verification corresponding to the fourth preset number of times, and displaying the first character and a random character in a display area of the second area; acquiring a password input by a user; and controlling the code lock to close the child lock mode under the condition that the input code of the user is determined to be the first character.
Optionally, the control device of the combination lock further comprises a storage module. The storage module is used for storing program codes and the like of the control device of the coded lock.
As shown in fig. 12, an embodiment of the present application further provides a control device of a combination lock, which includes a memory 41, a processor 42, a bus 43, and a communication interface 44; the memory 41 is used for storing computer execution instructions, and the processor 42 is connected with the memory 41 through a bus 43; when the control device of the combination lock is operated, the processor 42 executes the computer execution instructions stored in the memory 41 to make the control device of the combination lock execute the control method of the combination lock provided in the above embodiment.
In particular implementations, processor 42(42-1 and 42-2) may include one or more Central Processing Units (CPUs), such as CPU0 and CPU1 shown in FIG. 12, as one example. And as an example, the control means of the combination lock may include a plurality of processors 42, such as processor 42-1 and processor 42-2 shown in fig. 12. Each of the processors 42 may be a single-Core Processor (CPU) or a multi-Core Processor (CPU). Processor 42 may refer herein to one or more devices, circuits, and/or processing cores that process data (e.g., computer program instructions).
The memory 41 may be, but is not limited to, a read-only memory 41 (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 41 may be self-contained and coupled to the processor 42 via a bus 43. The memory 41 may also be integrated with the processor 42.
In a specific implementation, the memory 41 is used for storing data in the present application and computer-executable instructions corresponding to software programs for executing the present application. The processor 42 may control the various functions of the control device of the combination lock by running or executing software programs stored in the memory 41 and by invoking data stored in the memory 41.
The communication interface 44 is any device, such as a transceiver, for communicating with other devices or communication networks, such as a control system, a Radio Access Network (RAN), a Wireless Local Area Network (WLAN), and the like. The communication interface 44 may include a receiving unit implementing a receiving function and a transmitting unit implementing a transmitting function.
The bus 43 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an extended ISA (enhanced industry standard architecture) bus, or the like. The bus 43 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 12, but this is not intended to represent only one bus or type of bus.
As an example, in connection with fig. 11, the obtaining module in the control device of the trick lock implements the same functions as the receiving unit in fig. 12, the control module in the control device of the trick lock implements the same functions as the processor in fig. 12, and the storage module in the control device of the trick lock implements the same functions as the memory in fig. 12.
For the explanation of the related contents in this embodiment, reference may be made to the above method embodiments, which are not described herein again.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
The embodiment of the present application further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the computer executes the instructions, the computer is enabled to execute the method for controlling a combination lock provided in the foregoing embodiment.
The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a RAM, a ROM, an erasable programmable read-only memory (EPROM), a register, a hard disk, an optical fiber, a CD-ROM, an optical storage device, a magnetic storage device, any suitable combination of the foregoing, or any other form of computer readable storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuit (ASIC). In embodiments of the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (11)

1. A control method of a coded lock is characterized by comprising the following steps:
acquiring user behavior parameters in a first preset time period; the user behavior parameters comprise a target area, and the target area is an area in which a display interface of the coded lock is not triggered in the password verification corresponding to the first preset times;
determining the target area as a second area, and determining the area which is not the target area in the display interface as a first area;
determining that the input user in the first preset time period is an abnormal user according to the user behavior parameters, and controlling the coded lock to open a child lock mode; the control trick lock opens child's lock mode, includes: controlling a first area of a display interface of the coded lock to close display, and controlling a second area to normally display;
monitoring a trigger area of the display interface, and controlling the coded lock to close a child lock mode under the condition that the trigger area of the display interface meets a preset trigger condition; the controlling the combination lock to close the child lock mode comprises: and controlling the first area and the second area to display normally.
2. The method for controlling the combination lock according to claim 1, wherein the controlling the combination lock to close the child lock mode when the trigger area of the display interface meets a preset trigger condition comprises:
if the trigger areas of the display interface monitored in the password verification of N times are the first areas, controlling the password lock to close a child lock mode under the condition that the trigger areas of the display interface monitored in the password verification of the (N + i) th time are the second areas; the (N + i) th password authentication is any password authentication after the N times of password authentication; n is a second preset number of times, and both N and i are positive integers.
3. The method for controlling the combination lock according to claim 2, wherein if the trigger area of the display interface monitored in the N + i-th password authentication is the second area, controlling the combination lock to turn off the child lock mode comprises:
controlling the coded lock to close the child lock mode under the condition that the triggering area of the display interface monitored in the password verification for the (N + i) th time is the second area and the triggering areas of the display interface monitored in the password verification corresponding to the third preset time are the second areas; the third preset times is the password authentication times after the (N + i) th password authentication.
4. The method of claim 3, wherein the third predetermined number of password authentications are within a second predetermined time period.
5. The method of claim 4, wherein the time interval of each password authentication in the third predetermined number of times is less than the first predetermined duration.
6. The method for controlling the combination lock according to claim 1, wherein the controlling the combination lock to close the child lock mode when the trigger area of the display interface meets a preset trigger condition comprises:
acquiring a target time interval under the condition that the monitored trigger area of the display interface in the (j + 1) th password verification is the second area; the target time interval is the time interval between the j +1 password authentication and the jth password authentication;
and controlling the coded lock to close the child lock mode under the condition that the target time interval is less than a second preset time length.
7. The method for controlling the combination lock according to claim 1, wherein the controlling the combination lock to close the child lock mode when the trigger area of the display interface meets a preset trigger condition comprises:
acquiring a first character of a preset unlocking password under the condition that the triggering areas of the display interface monitored in password verification corresponding to the fourth preset times are all the first areas;
if the first character is in the display area of the second area, the characters displayed in the display area of the second area are unchanged; if the first character is in the display area of the first area, displaying the first character and the random character in the display area of the second area;
acquiring a password input by a user;
and controlling the coded lock to close a child lock mode under the condition that the user input code is determined to be the first character.
8. The method for controlling the combination lock according to claim 7, wherein the controlling the combination lock to close the child lock mode when the trigger area of the display interface meets a preset trigger condition comprises:
acquiring the first character and displaying the first character and the random character in a display area of the second area under the condition that the trigger area of the display interface monitored in the password verification corresponding to the fourth preset times comprises the second area;
acquiring a password input by a user;
and controlling the coded lock to close a child lock mode under the condition that the user input code is determined to be the first character.
9. A control device for a combination lock, comprising:
the acquisition module is used for acquiring user behavior parameters in a first preset time period; the user behavior parameters comprise a target area, and the target area is an area in which a display interface of the coded lock is not triggered in the password verification corresponding to the first preset times;
the control module is used for determining the target area as a second area and determining the non-target area in the display interface as a first area; the control module is used for determining that the input user in the first preset time period is an abnormal user according to the user behavior parameters acquired by the acquisition module and controlling the coded lock to open a child lock mode; the control trick lock opens child's lock mode, includes: controlling a first area of a display interface of the coded lock to close display, and controlling a second area to normally display;
the control module is further configured to monitor a trigger area of the display interface, and control the combination lock to close the child lock mode when the trigger area of the display interface meets a preset trigger condition; the controlling the combination lock to close the child lock mode comprises: and controlling the first area and the second area to display normally.
10. The control device of a kind of dial lock, characterized by, including memorizer, processor, bus and communication interface; the memory is used for storing computer execution instructions, and the processor is connected with the memory through the bus;
when the control device of the coded lock is operated, the processor executes the computer-executable instructions stored in the memory to cause the control device of the coded lock to perform the control method of the coded lock according to any one of claims 1 to 8.
11. A computer-readable storage medium having stored therein instructions which, when executed by a computer, cause the computer to perform a method of controlling a combination lock according to any one of claims 1 to 8.
CN202011043342.3A 2020-09-28 2020-09-28 Control method and device of coded lock and computer readable storage medium Active CN112177435B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011043342.3A CN112177435B (en) 2020-09-28 2020-09-28 Control method and device of coded lock and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011043342.3A CN112177435B (en) 2020-09-28 2020-09-28 Control method and device of coded lock and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112177435A CN112177435A (en) 2021-01-05
CN112177435B true CN112177435B (en) 2021-07-06

Family

ID=73945822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011043342.3A Active CN112177435B (en) 2020-09-28 2020-09-28 Control method and device of coded lock and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112177435B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9230076B2 (en) * 2012-08-30 2016-01-05 Microsoft Technology Licensing, Llc Mobile device child share
US9244576B1 (en) * 2012-12-21 2016-01-26 Cypress Semiconductor Corporation User interface with child-lock feature
CN106874744A (en) * 2017-01-19 2017-06-20 深圳市金立通信设备有限公司 A kind of method and terminal for preventing from missing locking terminal
CN107330308B (en) * 2017-05-25 2020-09-22 珠海格力电器股份有限公司 Terminal locking/unlocking method, device, terminal and computer readable storage medium
CN108549805A (en) * 2018-04-24 2018-09-18 深圳市叮咚互联科技有限公司 Realize the method, apparatus and computer readable storage medium of virgin lock
CN109271774A (en) * 2018-08-23 2019-01-25 上海绿联软件股份有限公司 Virgin locking device and unlocking method

Also Published As

Publication number Publication date
CN112177435A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
US8191161B2 (en) Wireless authentication
CN104573479B (en) A kind of use control method and device of user equipment
KR20140054172A (en) Method and apparatus for using a multi-factor password or a dynamic password for enhanced security on a device
JP2013528857A (en) Password safe input system using password key movement value and password safe input method
CN105701420B (en) A kind of management method and terminal of user data
JP2021152953A (en) Authentication and approval method and authentication server
CN112150675B (en) Control method and device of coded lock and computer readable storage medium
CN105354455B (en) State switching method and electronic equipment
CN105404802B (en) A kind of authority configuring method and device
CN104462938A (en) Intelligent equipment and unlock method thereof
WO2017097207A1 (en) Operation instruction inputting method, backend device and terminal
CN107704849A (en) The face identification method and system of double verification function
KR101330113B1 (en) Authentication apparatus and method based on position value
KR20140093556A (en) Security System Using Two factor Authentication And Security Method of Electronic Equipment Using Thereof
CN112177435B (en) Control method and device of coded lock and computer readable storage medium
CN111814181B (en) System authority authorization method and device, electronic equipment and storage medium
CN105844740A (en) Novel remote-sensing control method and apparatus
CN106469017A (en) A kind of terminal arranges the method and device of password and certification
CN106407847A (en) Unlocking method and apparatus
WO2017166359A1 (en) User domain access method, access device, and mobile terminal
CN105740692B (en) A kind of unlocking method and terminal
US20170118206A1 (en) System and method for multi-factor biometric authentication
US10706172B2 (en) Controlled device, security management method, and security management system
CN112905964B (en) Unlocking method for user equipment, storage medium, chip and related equipment
KR101368518B1 (en) User authentication method with parameterized security and usability

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220927

Address after: 315300 No.88 rixian North Road, Binhai Economic Development Zone, Cixi City, Ningbo City, Zhejiang Province

Patentee after: Ningbo bull Intelligent Technology Co.,Ltd.

Address before: 315000 East District of Industrial Park, Cixi, Ningbo, Zhejiang

Patentee before: GONGNIU GROUP Co.,Ltd.