CN114764954A - Intelligent lock control method and device - Google Patents

Intelligent lock control method and device Download PDF

Info

Publication number
CN114764954A
CN114764954A CN202011621279.7A CN202011621279A CN114764954A CN 114764954 A CN114764954 A CN 114764954A CN 202011621279 A CN202011621279 A CN 202011621279A CN 114764954 A CN114764954 A CN 114764954A
Authority
CN
China
Prior art keywords
intelligent lock
control instruction
preset
lock control
state
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.)
Pending
Application number
CN202011621279.7A
Other languages
Chinese (zh)
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.)
Yunding Network Technology Beijing Co Ltd
Original Assignee
Yunding Network Technology Beijing 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 Yunding Network Technology Beijing Co Ltd filed Critical Yunding Network Technology Beijing Co Ltd
Priority to CN202011621279.7A priority Critical patent/CN114764954A/en
Priority to PCT/CN2021/096186 priority patent/WO2021239015A1/en
Priority to EP21812467.5A priority patent/EP4141583A4/en
Publication of CN114764954A publication Critical patent/CN114764954A/en
Priority to US18/058,861 priority patent/US20230091394A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks

Abstract

The embodiment of the application provides an intelligent lock control method and an intelligent lock control device, wherein the intelligent lock control instruction acquired in the embodiment can be a local control instruction or a control instruction received through a communication mode, and then whether the intelligent lock control instruction is responded or not is determined based on a verification result of the intelligent lock control instruction and the state of an intelligent lock. According to the invention, the intelligent lock control instruction can be a local control instruction or a control instruction received in a communication mode, the modes are various and flexible, and further, a mode suitable for a user can be selected according to the user requirement so as to realize the opening or closing of the mode, so that the user experience is better.

Description

Intelligent lock control method and device
Technical Field
The embodiment of the application relates to the field of intelligent locks, in particular to an intelligent lock control method and device.
Background
With the continuous popularization and application of intelligent locks, the functions of the intelligent locks are more and more comprehensive. Currently, the smart lock may implement a plurality of modes, such as an open electronic lock mode, etc., which may be set to either open the mode or close the mode. When the mode is opened or closed, the mode can be opened and closed through the fixed key on the indoor intelligent lock, but the flexibility of the mode is poor, so that the user experience is poor.
Disclosure of Invention
The embodiment of the application provides an intelligent lock control method and device.
In a first aspect, an embodiment of the present application provides an intelligent lock control method, including: acquiring an intelligent lock control instruction, and verifying the validity of the intelligent lock control instruction to obtain a verification result; the intelligent lock control instruction comprises a local control instruction or a control instruction received in a communication mode;
acquiring the state of the intelligent lock;
and determining whether to respond to the intelligent lock control command or not according to the verification result, the state of the intelligent lock and the preset control command response rule.
In some embodiments, the intelligent lock control instruction is a control instruction for opening a preset mode, acquiring the intelligent lock control instruction, and verifying the validity of the intelligent lock control instruction to obtain a verification result, and includes:
acquiring a control instruction for starting a preset mode, and determining whether the preset mode starting instruction is sent by a preset terminal or not to obtain a verification result; the control instruction comprises an opening rule of the preset mode;
or acquiring a control instruction for starting the preset mode, which is generated in response to the operation of the operation component on the intelligent lock by the user, and determining whether the control instruction is generated when the operation component corresponding to the preset mode is adjusted to the position representing the starting of the preset mode, so as to obtain a verification result.
In some embodiments, determining whether to respond to the intelligent lock control command according to the verification result, the current state, and the preset control command response rule includes:
judging whether the current state is a locking state or not and judging whether the verification result is a first preset result or not;
if the state is a locking state and the verification result is a first preset result, determining to respond to the intelligent lock control instruction;
and if the state is not the locking state or the verification result is not a first preset result, filtering the intelligent lock control instruction.
In some embodiments, after determining to respond to the smart lock control instruction, the method further includes:
and controlling the intelligent lock to be in the working state of the preset mode.
In some embodiments, after controlling the intelligent lock to be in the working state of the preset mode, the method further includes:
judging whether a preset scene appears or not through an image acquired by a preset image acquisition device;
and if so, controlling the preset image acquisition device to perform image acquisition operation according to a preset image acquisition rule.
In some embodiments, the obtaining the intelligent lock control instruction and verifying the validity of the intelligent lock control instruction to obtain a verification result includes:
acquiring a control instruction for closing a preset mode, and determining whether the control instruction is sent by a preset terminal to obtain a verification result; the control instruction comprises a closing rule of the preset mode;
or acquiring a control instruction which is generated after a preset component arranged on the intelligent lock is triggered and used for closing a preset mode, and judging whether control information of the control instruction meets a preset rule or not to obtain a verification result;
or acquiring an intelligent lock state change instruction, and determining whether the state change trend in the intelligent lock state change instruction is changed from a locking state to an unlocking state or not to obtain a verification result;
or acquiring a control instruction which is input on the intelligent lock panel by a user and used for closing a preset mode, judging whether the content in the control instruction is preset content or not, and obtaining a verification result.
In some embodiments, when the verification result and the current state meet a preset condition, determining whether to respond to the intelligent lock control instruction according to a preset control instruction response rule includes:
judging whether the state is a normal working state or not and judging whether the verification result is a second preset result or not;
if the state is a normal working state and the verification result is a second preset result, determining to respond to the intelligent lock control instruction;
and if the verification result is not the second preset result, filtering the intelligent lock control instruction.
In some embodiments, after determining to respond to the smart lock control instruction, the method further includes:
and controlling the intelligent lock to be in a working state of a non-preset mode.
In some embodiments, the obtaining the intelligent lock control instruction and verifying the validity of the intelligent lock control instruction to obtain a verification result includes:
acquiring a local unlocking instruction input by a user; the local unlocking instruction comprises unlocking information;
verifying whether the unlocking information is unlocking information with unlocking authority;
and if so, verifying whether the unlocking information is the unlocking information corresponding to the preset user identification to obtain a verification result.
In some embodiments, after determining that the response to the intelligent lock control instruction is needed, the method further includes:
and responding to the local unlocking instruction, executing unlocking operation, and closing a preset mode after the unlocking operation is successfully executed.
In some embodiments, determining that the unlocking operation was successfully performed includes:
determining whether a preset bolt is retracted; and if so, determining that the unlocking operation is successfully executed.
In a second aspect, an embodiment of the present application provides an intelligent lock control device, where the device includes: the instruction verification module is used for acquiring the intelligent lock control instruction and verifying the validity of the intelligent lock control instruction to obtain a verification result; the intelligent lock control instruction comprises a local control instruction or a control instruction received in a communication mode;
the state acquisition module is used for acquiring the state of the intelligent lock;
and the instruction judging module is used for determining whether to respond to the intelligent lock control instruction according to the verification result, the state of the intelligent lock and the preset control instruction response rule.
In a third aspect, the present application provides a computer readable medium, on which a computer program is stored, where the program when executed by a processor implements the method described in any implementation manner of the first aspect.
In a fourth aspect, the present application provides a processor, where the processor is configured to execute a program, where the program executes to perform the method described in any implementation manner of the first aspect.
In a fifth aspect, an embodiment of the present application provides an electronic device, including: one or more processors; a storage device having one or more programs stored thereon; the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method as described in any implementation of the first aspect.
The embodiment of the application provides an intelligent lock control method and an intelligent lock control device, wherein the intelligent lock control instruction acquired in the embodiment can be a local control instruction or a control instruction received through a communication mode, and then whether the intelligent lock control instruction is responded or not is determined based on a verification result of the intelligent lock control instruction and the state of an intelligent lock. According to the invention, the intelligent lock control instruction can be a local control instruction or a control instruction received in a communication mode, the modes are various and flexible, and further, a mode suitable for a user can be selected according to the user requirement so as to realize the opening or closing of the mode, so that the user experience is better.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It is obvious that the drawings in the following description are only some examples or embodiments of the present application, and that for a person skilled in the art, other drawings can be obtained from the provided drawings without inventive effort, and that the present application can also be applied to other similar scenarios from the provided drawings. Unless otherwise apparent from the context, or otherwise indicated, like reference numbers in the figures refer to the same structure or operation.
FIG. 1 is a flow chart of one embodiment of an intelligent lock control method according to the present application;
FIG. 2 is a flow chart of another embodiment of an intelligent lock control method according to the present application;
fig. 3 is a schematic structural view of an embodiment of an intelligent lock control device according to the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. The described embodiments are only some embodiments of the present application and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings. The embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be understood that "system", "apparatus", "unit" and/or "module" as used in this application is a method for distinguishing different components, elements, parts, portions or assemblies at different levels. However, other words may be substituted by other expressions if they accomplish the same purpose.
As used in this application and the appended claims, the terms "a," "an," "the," and/or "the" are not intended to be inclusive in the singular, but rather are intended to be inclusive in the plural unless the context clearly dictates otherwise. In general, the terms "comprises" and "comprising" merely indicate that steps and elements are included which are explicitly identified, that the steps and elements do not form an exclusive list, and that a method or apparatus may include other steps or elements. An element defined by the phrase "comprising an … …" does not exclude the presence of additional identical elements in the process, method, article, or apparatus that comprises the element.
In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" herein is merely an association relationship describing an associated object, and means that there may be three relationships, for example, a and/or B, and may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality" means two or more than two.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.
Flow charts are used herein to illustrate operations performed by systems according to embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed in the exact order in which they are performed. Rather, the various steps may be processed in reverse order or simultaneously. Meanwhile, other operations may be added to the processes, or a certain step or several steps of operations may be removed from the processes.
Flowcharts are used herein to illustrate the operations performed by systems according to embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed in the exact order in which they are performed. Rather, the various steps may be processed in reverse order or simultaneously. Meanwhile, other operations may be added to or removed from these processes.
When setting up the password of unblanking to the intelligence lock, can set up interim password for interim user, like visitor or personnel of keeping a public place clean, after interim password reveals, the intelligence lock will be opened illegally, and the security is lower. In addition, although the temporary password is set for the temporary personnel, when the temporary personnel do not want to be disturbed, the temporary personnel open the intelligent lock through the temporary password and enter the home, so that the use feeling of the user is not high. The temporary password is a password or a Bluetooth key which is provided by an administrator for the members and can open the door in a short time, and the temporary password is valid in the validity period. The intelligent lock in this embodiment includes, but is not limited to, an intelligent door lock, an intelligent lock on a safe, an indoor intelligent lock, a window lock, a garage lock, a vehicle door lock, and the like. The temporary password or password in this embodiment includes, but is not limited to, a numeric password, a biometric password, a gesture password, and the like.
The inventor of the present application has found through research that, in order to solve the technical problem that a temporary password is leaked and a person using the temporary password is likely to enter a home when you do not want to be disturbed, if the security mode function of the smart lock can be unlocked, where the security mode may be an electronic back lock, or a vacation mode (a preset password is disabled), etc., the security mode function, for example, the electronic back lock, can be unlocked when you do not want to be disturbed or want to improve the security of door opening, so that a user other than an administrator cannot open the smart lock. The electronic counter lock is used for locking an electronic unlocking mode of the intelligent lock, and only a mechanical key can be used for opening the door. The administrator refers to the owner of the smart lock, i.e., under which user the smart lock is bound. In this embodiment, the security mode is taken as an example of the electronic lock, and when the security mode is another function, the electronic lock mode may be referred to.
However, after the electronic counter lock function is introduced into the intelligent lock, the inventor finds that the electronic counter lock can be opened and closed through the fixed key on the indoor intelligent lock, but the flexibility of the mode is poor, so that the user experience is poor.
In order to solve the problem of poor flexibility, the inventor researches and discovers that if the electronic counter lock function can be opened and closed through a local control instruction or a control instruction received through a communication mode, the flexibility can be increased, and the user experience is improved.
Specifically, in this embodiment, the acquired intelligent lock control instruction may be a local control instruction or a control instruction received through a communication mode, and then, based on a verification result of the intelligent lock control instruction and a state of the intelligent lock, it is determined whether to respond to the intelligent lock control instruction. In the invention, the intelligent lock control instruction can be a local control instruction or a control instruction received in a communication mode, the modes are various and flexible, and a mode suitable for a user can be selected according to the user requirement so as to realize the opening or closing of the mode, so that the user experience is better.
On the basis of the above embodiments, the embodiments of the present invention provide an intelligent lock control method, which is applied to a controller of an intelligent lock, where the controller of the intelligent lock can open or close a preset mode according to a preset control instruction response rule. The safety mode is taken as an example of electronic counter lock, when the intelligent lock is controlled by the electronic counter lock, two implementation modes can be provided, one mode is to open the electronic counter lock function, the other mode is to close the electronic counter lock function, and after the electronic counter lock function is opened, the mark position 1 of the electronic counter lock function can be used for indicating that the electronic counter lock function is opened. After the electronic lock-back function is turned off, the mark position 0 of the electronic lock-back function may indicate that the electronic lock-back function is turned off. Now, they will be separately described.
Referring to fig. 1, the intelligent lock control method may include:
and S11, acquiring the intelligent lock control instruction, and verifying the validity of the intelligent lock control instruction to obtain a verification result.
In practical application, the intelligent lock control instruction may be an instruction for controlling a preset mode, and specifically, the intelligent lock control instruction may be a control instruction for opening the preset mode, or the intelligent lock control instruction is a control instruction for closing the preset mode.
The preset mode in this embodiment may be a certain mode of the smart lock, such as an electronic lock-back function mode, a security mode that only supports an administrator to open the door, or a security mode that is set by a user.
For example, for the electronic lock-back function mode, the corresponding functions are two, namely, the electronic lock-back function is turned on and turned off.
In addition, the intelligent lock control instruction comprises a local control instruction or a control instruction received through a communication mode. Wherein the local control command is generated by a user operating a component of the smart lock. Taking the preset mode as an example of the mode for opening the electronic counter lock function, the user operates a key for controlling the electronic counter lock function, or the user inputs a local function code for controlling the electronic counter lock function on the panel of the intelligent lock, and the like.
In addition, the intelligent lock can also be connected with an external terminal in a Bluetooth, wireless, GPRS and other modes, and the external terminal comprises but is not limited to intelligent equipment such as a mobile phone, a notebook, an intelligent watch and a sound box. In this embodiment, the external terminal may communicate with the intelligent lock and issue a control instruction, where the control instruction may be an instruction for controlling the electronic counter lock function mode to be turned on or turned off, and the control instruction may also carry a time period for turning on or turning off, such as turning on every day. In addition, the control command may also carry an opening mode, such as immediately opening, starting from a specific day, opening according to a fixed period, or opening every day, and the like.
After the intelligent lock receives the control instruction, the intelligent lock analyzes the control instruction to obtain information for opening or closing the electronic counter lock function, and the electronic counter lock function is opened or closed according to the information.
And after receiving the intelligent lock control instruction, verifying the validity of the intelligent lock control instruction to obtain a verification result. When the validity is verified, the contents of the intelligent lock control instruction are related, and the contents are introduced one by one.
1. In the case that the smart lock control instruction is a control instruction for turning on the preset mode, the step S11 may have the following various implementation manners, specifically as follows:
1) and acquiring a control instruction for starting a preset mode, and determining whether the control instruction is sent by a preset terminal to obtain a verification result.
In practical application, the preset mode in this embodiment may be an electronic lock-back function mode, and the application scenario in this embodiment is to open the preset mode, that is, to open the electronic lock-back function mode.
When the electronic back locking function is started, the control instruction sent by the external terminal can be received through the communication mode with the external terminal. The external terminal is the preset terminal in this embodiment.
Generally speaking, the intelligent lock is generally controlled through an intelligent lock software program on the external terminal, such as an APP, that is, only the external terminal which is provided with the intelligent lock APP and registers the information of the intelligent lock in the APP has the authority to control the intelligent lock.
Therefore, in this embodiment, the smart lock receives the control instruction for opening the preset mode, and determines whether the control instruction is sent by the external terminal that is only provided with the smart lock APP and has the information of the smart lock registered in the APP, if so, the verification result is considered to be a first preset result, and the first preset result represents legality.
The control instruction for opening the preset mode generally carries an identity of the sending end, and for example, the sending end is a mobile phone, the control instruction can carry information such as an ID number of the mobile phone, the intelligent lock can verify whether the ID number is the ID number of an external terminal provided with an intelligent lock APP and registered with the information of the intelligent lock in the APP, if yes, the validity verification is considered to be passed, the verification result is a first preset result, if not, the validity verification is considered to be failed, and the verification result is verification failure.
After the preset mode starting instruction is determined to be sent by a preset terminal, the content of the control instruction is analyzed, generally, the control instruction includes a starting rule of the preset mode, and the control instruction can be started in real time or in a preset time period.
2) And acquiring a control instruction for starting a preset mode, which is generated in response to the operation of the operation component on the intelligent lock by a user, and determining whether the control instruction is generated when the operation component corresponding to the preset mode is adjusted to a position representing the starting of the preset mode, so as to obtain a verification result.
In practical application, an operation component for controlling the preset mode to be opened is arranged on the intelligent lock, and the operation component may be a touch component, such as a button, a knob, a toggle switch, and other implementation manners.
Specifically, taking the operating component as an example, assuming that the button is generally in a non-pressed state, in this embodiment, when the button is pressed by the user, the button is adjusted to a position representing to open the preset mode, at this time, the controller may obtain a control instruction for opening the preset mode, which is generated in response to the user operating the operating component on the smart lock, and the control instruction is a control instruction for opening the preset mode.
After the intelligent lock receives the control instruction, the identity information of the sending end of the control instruction is determined, wherein the control instruction carries identification information of the sending end, such as ID information, a controller of the intelligent lock can judge whether the control instruction is generated when an action part operation part is adjusted to a position for representing the opening of a preset mode according to the ID information, if so, the verification result is a first preset result, and the representation of the first preset result is legal. If not, the validity verification is not passed, and the verification result is that the verification is not passed.
Taking the preset mode as an example of the electronic lock-back function, the operation member in this embodiment may also be a knob-type member, which has two different flag bits, one flag bit indicates to open the electronic lock-back function, and the other flag bit indicates to close the electronic lock-back function, when the user adjusts the operation member to the flag bit that opens the electronic lock-back function, the electronic lock-back function is opened, and when the user adjusts the operation member to the flag bit that closes the electronic lock-back function, the electronic lock-back function is closed. For example, when the operation member is a knob-type member, the electronic lock mechanism can be turned on or off by rotating left and right.
In an actual scene, the operating component may also be a physical button or a dial, which indicates to open the electronic lock-back function when dialing up, and indicates to close the electronic lock-back function when dialing down. Or, the red arrow on the shifting piece is shifted to the same direction as the handle to indicate that the electronic back locking function is opened, and the red arrow on the shifting piece is shifted to the opposite direction of the handle to indicate that the electronic back locking function is closed.
It should be noted that the above description provides two manners, the first manner belongs to an automatic unlocking preset mode, such as an electronic lock-back function, and the second manner belongs to a manual unlocking preset mode, such as an electronic lock-back function.
In addition, the preset mode can be opened in a remote control mode, for example, the remote opening mode can be supported by responding to a configuration request of a user through the saas, and the reliability and timeliness of the preset mode control when the user is far away from the intelligent lock are guaranteed. In addition, the control of the preset mode may also be performed by means of a local instruction, such as a user with administrator authority, to turn off the preset mode, such as the electronic back-locking function.
2. In the case that the smart lock control instruction is a control instruction for turning off the preset mode, the step S11 may have the following various implementation manners, specifically as follows:
1) acquiring a control instruction for closing a preset mode, and determining whether the control instruction is sent by a preset terminal to obtain a verification result; the control instruction comprises a closing rule of the preset mode.
The control instruction for turning off the preset mode in this embodiment is similar to the control instruction for turning on the preset mode, and the difference is that one is for turning on the preset mode, such as the electronic lock-back function, and the other is for turning off the preset mode, such as the electronic lock-back function. For details, reference is made to the above contents, which are not described herein again.
In addition, the Bluetooth of the intelligent lock can be connected through a mobile terminal software program to control the intelligent lock, the electronic counter lock function is opened or closed, and the switching between the opening state and the closing state of the electronic counter lock is realized. In a mobile terminal software program, an opening cycle and an opening time period can be input in a display interface for setting the opening or closing of the electronic back locking function of the intelligent lock, and the setting data can be sent to a controller of the intelligent lock by clicking a determination button, so that the controller can open in the set cycle and the opening time period.
2) The method comprises the steps of obtaining a control instruction which is used for closing a preset mode and generated after a preset component arranged on the intelligent lock is triggered, judging whether control information of the control instruction meets a preset rule or not, and obtaining a verification result.
In practical applications, in the embodiment, when the door is opened, the preset mode, such as the electronic back-locking function, may be turned off.
Specifically, the user performs a door opening operation (the door opening operation may be to detect a sensor position listed below) indoors once, and then the electronic counter lock state is automatically released, that is, the electronic counter lock function is closed, and the electronic counter lock function is synchronized to the mobile phone APP.
In practical application, the mode of detecting that the intelligent lock is opened from the indoor space can be specifically realized by devices such as a sensor, and the mode can be specifically as follows:
a. a magnet is added on a handle seat arranged in a door, a reed switch is arranged around the handle seat (the mode can be changed into a key mode or an infrared sensor for realization), and the reed switch or the key or the infrared sensor can detect the opening of the door when the handle seat arranged in the door rotates.
b. Infrared transmitter and receiver (here also reed switch and permanent magnet can be used for detection) are respectively installed on the door frame and the door in the door. When the transmitting device and the receiving device detect the distance change, the door is considered to be opened inwards.
In the above embodiments, the magnet and the reed switch, or the infrared sensor, or the transmitting device and the receiving device are preset components arranged on the smart lock in this embodiment. After the preset component is triggered, a control instruction for closing the preset mode is generated, and when the controller receives the control instruction, whether the control instruction is generated due to the action of the preset component is verified, whether the control information of the control instruction meets a preset rule is judged, and a verification result is obtained. And if the preset rule is met, the verification result is a second preset result, and the second preset result represents legality. If not, the validity verification is not passed, and the verification result is verification failure.
Whether the preset rule is met or not is verified by judging and triggering the content in the control instruction generated by the preset component, namely the control information, whether the change rule is preset or not, for example, the preset component takes the transmitting device and the receiving device as an example, in the process of opening the door, the transmitting device and the receiving device are continuously away from each other, the intensity of the signal received by the receiving device is continuously reduced at the moment, therefore, the change rule of the transmitting device and the receiving device is that the intensity of the received signal is continuously reduced, and if the change rule is met, the preset rule is considered to be met.
Other preset components in the embodiment of the invention also have corresponding change rules, and whether the preset rules are met or not is determined by judging whether the change rules are met or not.
It should be noted that, in the above embodiment, the control instruction for turning off the preset mode can be generated only by operating the preset component. In another embodiment of the present invention, for safety of operation, an electronic key may be provided on the smart lock, and only when the electronic key and the preset component are started at the same time, a control command for turning off the preset mode is generated.
In addition, the door can be considered to be opened outside the door when the fingerprint or the password is authenticated and unlocked outside the door, and the door can be considered to be opened inside the door when the fingerprint or the password is not authenticated and the door is directly opened, and the preset mode is also opened at the moment.
3) And acquiring an intelligent lock state change instruction, and determining whether the state change trend in the intelligent lock state change instruction is changed from a locking state to an unlocking state or not to obtain a verification result.
In practical application, when the sensor is arranged on the lock tongue, the sensor is placed on the lock tongue in the door, when the door is opened, the sensor detects the change of the lock tongue when the lock tongue is retracted, and at the moment, the door is opened. Specifically, at this time, data output to the controller by the sensor is an intelligent lock state change instruction, the intelligent lock state change instruction carries a state change trend of the lock tongue, if the state change trend is changed from a locked state to an unlocked state, the door is considered to be opened, the verification result is a second preset result, and the second preset result represents legality. If the state is not changed from the locking state to the unlocking state, the validity verification is not passed, and the verification result is verification failure.
In this embodiment, the preset mode, such as closing or releasing the electronic back-locking function, is closed as long as the condition of opening the door is satisfied.
4) The method comprises the steps of obtaining a control instruction which is input by a user on an intelligent lock panel and used for closing a preset mode, judging whether content in the control instruction is preset content or not, and obtaining a verification result.
In another implementation manner of the present invention, the preset mode may be released through the local function code.
Specifically, in an actual application scene, the online unlocking password number is 1001-1050, and the activating code password number is as follows: 3001-3048. In practical applications, the user may set an activation code password in the APP, where the activation code password is a number in the aforementioned 3001-3048, and the activation code password is used to contact or close a preset mode, such as closing the electronic anti-lock function.
The user can input a string of numbers on the intelligent lock panel of the intelligent lock, the controller receives a control instruction for closing the preset mode at the moment, the instruction carries the numbers input by the user, the controller judges whether the data are preset contents or not, if yes, the verification result is a second preset result, and the second preset result represents legality. If the locking state is not changed into the unlocking state, the validity verification is not passed, and the verification result is verification failure.
It should be noted that, in this embodiment, after the preset mode, such as the electronic lock-back function, is turned on, the dynamic password and the bluetooth cannot be opened. But the fingerprint can be opened normally. After the electronic back lock is unlocked, the ordinary password, the code activating employee password, the code activating tenant password, the temporary password and the one-time password cannot be opened on line. After the electronic back locking function is closed, the door opening operation can be realized by the password.
5) Acquiring a local unlocking instruction input by a user; the local unlocking instruction comprises unlocking information, whether the unlocking information is the unlocking information with the unlocking authority is verified, if yes, whether the unlocking information is the unlocking information corresponding to the preset user identification is verified, and a verification result is obtained.
In practical application, a user can input information such as fingerprints and passwords on the intelligent lock, the information is called unlocking information, in addition, the embodiment can be expanded to a scene of Bluetooth unlocking or radio frequency card unlocking, and after the user inputs the unlocking information, the controller can receive a local unlocking instruction comprising the unlocking information.
The controller verifies whether the unlocking information is unlocking information with unlocking authority; specifically, the verification process may include:
and S21, obtaining the pre-stored legal unlocking information with unlocking authority.
In practical application, legal unlocking information with unlocking authority is stored in the controller in advance, and the legal unlocking information with the unlocking authority can be obtained in a mode of inputting in the mobile phone APP or a mode of inputting in a local input interface.
If the user sets legal unlocking information with unlocking authority, the user identification of the legal unlocking information can be correspondingly set, such as an administrator or a common user, or not a temporary password, and the like.
S22, judging whether the legal unlocking information comprises the unlocking information; if yes, go to step S23; if not, step S24 is executed.
S23, determining that the unlocking information is unlocking information with unlocking authority;
and S24, determining that the unlocking information is not unlocking information with unlocking authority.
In practical application, judging whether legal unlocking information comprises the unlocking information or not, and if so, judging that the unlocking information is the unlocking information with unlocking authority; and if not, the unlocking information is not the unlocking information with the unlocking authority.
And when the unlocking information is determined to be the unlocking information with the unlocking authority, verifying whether the unlocking information is the unlocking information corresponding to the preset user identification or not to obtain a verification result.
In practical application, the process of verifying whether the unlocking information is the unlocking information corresponding to the preset user identifier is similar to the process of verifying whether the unlocking information is the unlocking information with the unlocking authority, and specifically comprises the following steps:
acquiring target unlocking information corresponding to a preset user identifier, judging whether the target unlocking information comprises the unlocking information, and if so, judging that the unlocking information is the unlocking information corresponding to the preset user identifier; and if not, the unlocking information is not the unlocking information corresponding to the preset user identification, and a verification result is obtained. And if the verification result is the second verification result, the unlocking information is legal.
And S12, acquiring the state of the intelligent lock.
In practical application, the state of the intelligent lock may be a state acquired by a controller of the intelligent lock in real time, and specifically, the state of the lock tongue acquired by the lock tongue sensor may be acquired to determine whether the intelligent lock is in a locked state or an unlocked state.
In addition, in order to reduce the processing amount of the controller, the controller may also collect the state of the bolt at regular time, for example, once every 5 minutes, and when step S12 needs to be executed, the latest bolt state stored in the history may be acquired and determined as the state of the smart lock.
And S13, determining whether to respond to the intelligent lock control command according to the verification result, the state of the intelligent lock and the preset control command response rule.
In practical application, the intelligent lock control instruction is a control instruction for opening or closing the preset mode, and therefore, in this embodiment, it is required to determine whether the intelligent lock control instruction needs to be executed, specifically, whether the control instruction for opening or closing the preset mode needs to be executed, by combining the verification result, the state of the intelligent lock, and the preset control instruction response rule.
Specifically, whether the preset mode needs to be opened or not and whether the preset mode needs to be closed or not are respectively introduced by adopting different implementation modes.
1. In the case where the smart lock control instruction is a control instruction for turning on a preset mode, step S13 may include:
1) judging whether the state is a locking state or not and judging whether the verification result is a first preset result or not;
2) if the state is a locking state and the verification result is a first preset result, determining to respond to the intelligent lock control instruction;
3) and if the state is not the locking state or the verification result is not a first preset result, filtering the intelligent lock control instruction.
In this embodiment, if the predetermined mode is turned on, taking the electronic lock function as an example, when the electronic lock function is turned on, the intelligent lock is required to be in a locked state, that is, only in the locked state, the electronic lock function is allowed to be turned on.
In addition, the verification result must be a first preset result, that is, only if the current state is the locking state and the verification result is the first preset result, the intelligent lock control instruction is responded, the preset mode is opened, and the intelligent lock is controlled to be in the working state of the preset mode, specifically, the electronic counter lock function is opened.
Taking the electronic lock function as an example, the control instruction sent by the preset terminal includes the preset mode, such as the unlocking rule of the electronic lock function, and the specific explanation is as follows:
a. the first type of opening rule is a real-time opening rule.
That is to say, after receiving the control instruction and determining that the control instruction is sent by the preset terminal, if it is determined that the state of the smart lock is the locked state and the verification result is the first preset result, the content of the control instruction is analyzed, and if the control instruction is the real-time unlocking rule, the preset mode is immediately unlocked, such as the electronic anti-locking function.
b. The second opening rule is a preset time period opening rule, namely the electronic back locking function is valid in a preset time period.
The validity within the preset time period means that when a control instruction sent by a preset terminal is received, the validity is judged, if the intelligent lock is legal and is in a locked state, the effective time and the invalid time (namely the corresponding effective time range, which is the time range for starting the preset mode) are recorded, and the preset mode is started (if the electronic back-locking function is started) and ended (if the electronic back-locking function is ended) correspondingly according to a preset rule.
For example, the user may set 0 to 6 o 'clock per night to unlock the electronic back lock or the security mode, so as to further prevent some ordinary visitors from entering the electronic back lock, and further set 0 to 6 o' clock per monday to friday. Or, a time period and a period are set, for example, the intelligent lock is automatically unlocked from 20:00 evening to 8:00 morning every day, if the local time of the intelligent lock is within the range, the electronic counter lock is automatically unlocked, and if the local time exceeds the range, the electronic counter lock is automatically ended.
During the opening of a preset mode (such as electronic back locking), the controller of the intelligent lock still identifies information carried by an unlocking instruction such as a fingerprint code, but a non-administrator does not respond.
In another possible mode, the control instruction carries the content that the intelligent lock is controlled to be always in the electronic counter lock state, but an execution valid time period and an execution invalid time period of the electronic counter lock are set, in the execution valid time period, if the state of the intelligent lock is the locked state and the verification result is a first preset result, only the password and the key of the administrator identity can be unlocked, and in the execution invalid time period, the unlocking instruction can be responded.
In another implementation manner of the present invention, after the preset mode is unlocked, for example, after the electronic lock-back function is unlocked, the non-administrator identity or the key unlocking cannot be performed, but in practical applications, in order to monitor whether another person performs the unlocking action or whether an illegal person such as a thief performs the illegal unlocking action after the electronic lock-back function is unlocked, a mode of linking with a preset image acquisition device, such as a camera, on the intelligent lock may be adopted to monitor. The intelligent lock can further comprise a preset image acquisition device such as a camera, and can be integrally arranged with the intelligent lock or be arranged in a split mode. When the intelligence lock is in the electron back locking state, can improve the control level of camera to strengthen the control.
The controller can receive the images collected by the preset image collecting device, judge whether people exist in the images based on the collected images, namely judge whether people exist outdoors, and if yes, consider that the preset scene appears. At this time, the preset image acquisition device is controlled to perform image acquisition operation according to a preset image acquisition rule. If open the video recording function of predetermineeing image acquisition device, the video recording time can be greater than usual video recording time, and at this moment, the controller still can the propelling movement remind for user APP by force to make the user know the condition of unblanking immediately, improve the security.
It should be noted that, for how to verify specifically, whether the verification result is the first preset result, please refer to the corresponding description in the above embodiment, which is not described herein again.
When the current state is not the locking state or the verification result is not the first preset result, the preset mode cannot be started at the moment, and then the controller can filter the intelligent lock control instruction or set the validity of the intelligent lock control instruction to be invalid so as to avoid mistakenly responding to the instruction.
2. In the case where the smart lock control command is a control command for turning off a preset mode, step S13 may include:
1) judging whether the state is a normal working state or not and judging whether the verification result is a second preset result or not;
2) if the state is a normal working state and the verification result is a second preset result, determining to respond to the intelligent lock control instruction;
3) and if the verification result is not the second preset result, filtering the intelligent lock control instruction.
In practical application, when the preset mode is turned off, the state of the intelligent lock is not limited, and the intelligent lock may be in a normal working state, specifically, in a locked state or an unlocked state, as long as the intelligent lock is not in fault.
It should be noted that, for how to verify specifically, whether the verification result is the second preset result, please refer to the corresponding description in the above embodiments, which is not described herein again.
And if the state is a normal working state and the verification result is a second preset result, determining to respond to the intelligent lock control instruction. Specifically, the intelligent lock may be controlled to be in a working state of a non-preset mode.
And if the verification result is not the second preset result, filtering the intelligent lock control instruction. Please refer to the above corresponding description for a specific implementation process.
In another implementation manner of the present invention, taking a preset mode as an example of the electronic back-locking function, when a local unlocking instruction input by a user is obtained, an administrator has the highest unlocking authority, as long as the administrator unlocks and the intelligent lock is in a normal working state, the preset mode is not considered, for example, the state of the electronic back-locking is directly unlocked, only when the administrator unlocks, the state of the electronic back-locking and whether the intelligent lock is in a normal working state are considered, when the state of the electronic back-locking is open, the unlocking is prohibited, and when the state of the electronic back-locking is closed, if the intelligent lock is in a normal working state, the unlocking is permitted.
More specifically, if the unlocking information does not have the unlocking authority, the unlocking operation is not executed if the input unlocking password is proved to be incorrect. If the unlocking information has unlocking authority and corresponds to the preset user identification, the fact that the intelligent lock is unlocked by the administrator is proved, if the intelligent lock is in a normal working state, a local unlocking instruction is responded, unlocking operation is executed, and specifically, the intelligent lock is driven to rotate by a driving motor so as to perform door opening operation. And after the unlocking operation is successfully performed, a preset mode, such as an electronic back locking function, is closed to allow a temporary user to open the door. When the unlocking operation is determined to be successfully executed, the state judgment of the lock bolt can be carried out, and specifically, whether the preset lock bolt is retracted or not is determined; and if so, determining that the unlocking operation is successfully executed.
If the unlocking information has unlocking authority but does not correspond to the preset user identification, it is indicated that the unlocking is possible to be a temporary user, in order to avoid disturbing the temporary user, such as a cleaning person, the user is disturbed, when the electronic back lock state is in the open state, the user is disliked to be disturbed, in order to avoid disturbing the user, the local unlocking instruction is not responded, specifically, the local unlocking instruction can be discarded, and then the unlocking operation cannot be executed, when the electronic back lock state is in the closed state, the user is indicated to allow the temporary user to enter the door, and if the intelligent lock is in the normal working state, the unlocking operation is executed at this moment.
In practical application, after a user inputs unlocking information on an intelligent lock input panel every time, an intelligent lock controller judges the correctness of the information, if the information is correctly input, a primary electronic counter lock state is obtained, the state is judged, if the electronic counter lock is opened, the controller further judges whether the intelligent lock is unlocked by a manager and whether the intelligent lock is in a normal working state, if the intelligent lock is opened, the intelligent lock is unlocked, and the electronic counter lock function is closed. If not, the controller can not control the motor to rotate, and in addition, if the electronic counter lock is closed, the intelligent lock controller controls the motor to rotate to open the door.
According to the embodiment of the invention, through the function of starting the electronic counter lock, all intelligent unlocking modes of the intelligent lock can be forbidden, including Bluetooth, fingerprints, passwords, RFID and the like. Aiming at solving the problem that hackers crack the password of the intelligent lock by illegal means or crack the Bluetooth door opening key of the intelligent lock, the design can completely forbid all electronic unlocking modes, and the intelligent lock cannot be unlocked even if knowing the password of the intelligent lock.
In addition, in the aspect of use, the intelligent lock supports short-term password modes such as temporary passwords, periodic passwords and the like, and after the temporary passwords are issued by a user to a nurse or a sanitation worker, or when the user wants to not want to let the person who issues the passwords enter the house within a certain time, the intelligent lock can be locked by using an electronic back-locking function, and all electronic unlocking modes are forbidden.
It should be noted that, in the above embodiment, the unlocking is performed by electronic means such as fingerprint, digital code, etc., and in addition, the unlocking may be performed by using a key, as long as the key can be inserted into the keyhole and can be unlocked, and at this time, the smart lock is in a normal working state, the unlocking is considered to be successful, and at this time, the preset mode is also opened, for example, the electronic back-locking function is opened.
The obtained intelligent lock control instruction in this embodiment may be a local control instruction or a control instruction received through a communication mode, and then, based on a verification result of the intelligent lock control instruction and a state of the intelligent lock, it is determined whether to respond to the intelligent lock control instruction. According to the invention, the intelligent lock control instruction can be a local control instruction or a control instruction received in a communication mode, the modes are various and flexible, and further, a mode suitable for a user can be selected according to the user requirement so as to realize the opening or closing of the mode, so that the user experience is better.
Optionally, on the basis of the above embodiment of the intelligent lock control method, another embodiment of the present invention provides an intelligent lock control device, which is applied to a controller in an intelligent lock, and referring to fig. 3, the intelligent lock control device includes:
the instruction verification module 11 is configured to obtain an intelligent lock control instruction, and verify the validity of the intelligent lock control instruction to obtain a verification result; the intelligent lock control instruction comprises a local control instruction or a control instruction received in a communication mode;
the state obtaining module 12 is configured to obtain a state of the smart lock;
and the instruction judging module 13 is configured to determine whether to respond to the intelligent lock control instruction according to the verification result, the state of the intelligent lock, and the preset control instruction response rule.
Further, intelligence lock control command is the control command that is used for opening the preset mode, and the instruction verification module specifically is used for:
acquiring a control instruction for starting a preset mode, and determining whether the preset mode starting instruction is sent by a preset terminal or not to obtain a verification result; the control instruction comprises an opening rule of the preset mode;
or acquiring a control instruction for starting the preset mode, which is generated in response to the operation of the operation component on the intelligent lock by the user, and determining whether the control instruction is generated when the operation component corresponding to the preset mode is adjusted to the position representing the starting of the preset mode, so as to obtain a verification result.
Further, the instruction judgment module is specifically configured to:
judging whether the current state is a locking state or not and judging whether the verification result is a first preset result or not;
if the state is a locking state and the verification result is a first preset result, determining to respond to the intelligent lock control instruction;
and if the state is not the locking state or the verification result is not a first preset result, filtering the intelligent lock control instruction.
Further, the method also comprises the following steps:
and the first working state control module is used for controlling the intelligent lock to be in the working state of the preset mode.
Further, still include:
and the image acquisition module is used for judging whether a preset scene appears or not through an image acquired by the preset image acquisition device, and if so, controlling the preset image acquisition device to carry out image acquisition operation according to a preset image acquisition rule.
Further, the intelligent lock control instruction is a control instruction for closing a preset mode, and the instruction verification module is specifically configured to:
acquiring a control instruction for closing a preset mode, and determining whether the control instruction is sent by a preset terminal to obtain a verification result; the control instruction comprises a closing rule of the preset mode;
or acquiring a control instruction which is generated after a preset component arranged on the intelligent lock is triggered and used for closing a preset mode, and judging whether control information of the control instruction meets a preset rule or not to obtain a verification result;
or acquiring an intelligent lock state change instruction, and determining whether the state change trend in the intelligent lock state change instruction is changed from a locking state to an unlocking state or not to obtain a verification result;
or acquiring a control instruction which is input on the intelligent lock panel by a user and used for closing a preset mode, judging whether the content in the control instruction is preset content or not, and obtaining a verification result.
Further, the instruction judgment module is specifically configured to:
judging whether the state is a normal working state or not and judging whether the verification result is a second preset result or not;
if the state is a normal working state and the verification result is a second preset result, determining to respond to the intelligent lock control instruction;
and if the verification result is not the second preset result, filtering the intelligent lock control instruction.
Further, the method also comprises the following steps:
and the second working state control module is used for controlling the intelligent lock to be in a working state of a non-preset mode.
Further, the intelligent lock control instruction is a control instruction for closing a preset mode, and the instruction verification module is specifically configured to:
acquiring a local unlocking instruction input by a user; the local unlocking instruction comprises unlocking information;
verifying whether the unlocking information is unlocking information with unlocking authority;
and if so, verifying whether the unlocking information is the unlocking information corresponding to the preset user identification to obtain a verification result.
Further, still include:
and the third working state control module is used for responding to the local unlocking instruction, executing unlocking operation and closing a preset mode after the unlocking operation is successfully executed.
Further, the third operating state control module is specifically configured to, when determining that the unlocking operation is successfully performed:
determining whether a preset bolt is retracted; and if so, determining that the unlocking operation is successfully executed.
The obtained intelligent lock control instruction in this embodiment may be a local control instruction or a control instruction received through a communication mode, and then, based on a verification result of the intelligent lock control instruction and a state of the intelligent lock, it is determined whether to respond to the intelligent lock control instruction. According to the invention, the intelligent lock control instruction can be a local control instruction or a control instruction received in a communication mode, the modes are various and flexible, and further, a mode suitable for a user can be selected according to the user requirement, so that the user experience is better.
It should be noted that, for the working processes of the various modules in this embodiment, please refer to the corresponding descriptions in the above embodiments, which are not described herein again.
In addition, the intelligent lock control unlocking control device may be a chip, a component or a module, and may include a processor and a memory, where the instruction verification module, the instruction acquisition module 11, the state acquisition module, the first verification module 12, the instruction judgment module, the second verification module 13, the unlocking control module 14, and the like are all stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.
The processor may include a kernel, which calls the corresponding program unit from the memory. The kernel can be set to one or more, the intelligent lock control instruction can be a local control instruction by adjusting the kernel parameters, and can also be a control instruction received through a communication mode, the mode is various and flexible, and then the mode suitable for the user can be selected according to the user requirement, and the user experience is better.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
On the basis of the above embodiment, another embodiment of the present invention provides an electronic apparatus, including:
one or more processors;
a storage device having one or more programs stored thereon;
when executed by the one or more processors, cause the one or more processors to implement the intelligent lock control method described in the method embodiments above.
The embodiment of the application provides a computer readable medium, on which a computer program is stored, wherein the program is executed by a processor to implement the intelligent lock control method described in the above method embodiments.
The embodiment of the present application provides a processor, where the processor is configured to execute a program, where the program implements the intelligent lock control described in the above method embodiments when running.
The present application also provides a computer program product which, when executed on a data processing device, causes the data processing device to implement the intelligent lock control described in the above method embodiments.
In addition, the electronic device, the processor, the computer-readable medium, or the computer program product provided in the foregoing embodiments of the present application may be all used for executing the corresponding method provided above, and therefore, the beneficial effects achieved by the electronic device, the processor, the computer-readable medium, or the computer program product may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media include permanent and non-permanent, removable and non-removable media and may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The above description is only for the purpose of illustrating the preferred embodiments of the present application and the technical principles applied, and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. The scope of the invention according to the present application is not limited to the specific combinations of the above-described features, and may also cover other embodiments in which the above-described features or their equivalents are arbitrarily combined without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (15)

1. The intelligent lock control method is characterized by being applied to a controller in an intelligent lock, and comprises the following steps:
acquiring an intelligent lock control instruction, and verifying the validity of the intelligent lock control instruction to obtain a verification result; the intelligent lock control instruction comprises a local control instruction or a control instruction received in a communication mode;
acquiring the state of the intelligent lock;
and determining whether to respond to the intelligent lock control command or not according to the verification result, the state of the intelligent lock and the preset control command response rule.
2. The intelligent lock control method according to claim 1, wherein the intelligent lock control instruction is a control instruction for unlocking a preset mode, the intelligent lock control instruction is obtained, and the validity of the intelligent lock control instruction is verified to obtain a verification result, including:
acquiring a control instruction for starting a preset mode, and determining whether the preset mode starting instruction is sent by a preset terminal or not to obtain a verification result; the control instruction comprises an opening rule of the preset mode;
or acquiring a control instruction for starting the preset mode, which is generated in response to the operation of the operation component on the intelligent lock by the user, and determining whether the control instruction is generated when the operation component corresponding to the preset mode is adjusted to the position representing the starting of the preset mode, so as to obtain a verification result.
3. The intelligent lock control method according to claim 1, wherein determining whether to respond to the intelligent lock control instruction according to the verification result, the current state, and the preset control instruction response rule includes:
judging whether the current state is a locking state or not and judging whether the verification result is a first preset result or not;
if the state is a locking state and the verification result is a first preset result, determining to respond to the intelligent lock control instruction;
and if the state is not the locking state or the verification result is not a first preset result, filtering the intelligent lock control instruction.
4. The intelligent lock control method according to claim 3, further comprising, after determining to respond to the intelligent lock control instruction:
and controlling the intelligent lock to be in the working state of the preset mode.
5. The intelligent lock control method according to claim 4, further comprising, after controlling the intelligent lock to be in the working state of the preset mode:
judging whether a preset scene appears according to an image acquired by a preset image acquisition device;
and if so, controlling the preset image acquisition device to perform image acquisition operation according to a preset image acquisition rule.
6. The intelligent lock control method according to claim 1, wherein the intelligent lock control instruction is a control instruction for turning off a preset mode, the obtaining of the intelligent lock control instruction and the verifying of the validity of the intelligent lock control instruction to obtain the verification result includes:
acquiring a control instruction for closing a preset mode, and determining whether the control instruction is sent by a preset terminal to obtain a verification result; the control instruction comprises a closing rule of the preset mode;
or acquiring a control instruction which is generated after a preset component arranged on the intelligent lock is triggered and used for closing a preset mode, and judging whether control information of the control instruction meets a preset rule or not to obtain a verification result;
or acquiring an intelligent lock state change instruction, and determining whether the state change trend in the intelligent lock state change instruction is changed from a locking state to an unlocking state or not to obtain a verification result;
or acquiring a control instruction which is input by a user on the intelligent lock panel and used for closing the preset mode, and judging whether the content in the control instruction is the preset content or not to obtain a verification result.
7. The intelligent lock control method according to claim 6, wherein determining whether to respond to the intelligent lock control instruction according to a preset control instruction response rule if the verification result and the current state meet a preset condition includes:
judging whether the state is a normal working state or not and judging whether the verification result is a second preset result or not;
if the state is a normal working state and the verification result is a second preset result, determining to respond to the intelligent lock control instruction;
and if the verification result is not the second preset result, filtering the intelligent lock control instruction.
8. The intelligent lock control method according to claim 7, further comprising, after determining to respond to the intelligent lock control instruction:
and controlling the intelligent lock to be in a working state of a non-preset mode.
9. The intelligent lock control method according to claim 1, wherein the intelligent lock control instruction is a control instruction for turning off a preset mode, the obtaining of the intelligent lock control instruction and the verifying of the validity of the intelligent lock control instruction result in a verification result includes:
acquiring a local unlocking instruction input by a user; the local unlocking instruction comprises unlocking information;
verifying whether the unlocking information is unlocking information with unlocking authority;
and if so, verifying whether the unlocking information is the unlocking information corresponding to the preset user identification to obtain a verification result.
10. The intelligent lock control method according to claim 9, further comprising, after determining that the response to the intelligent lock control command is required:
and responding to the local unlocking instruction, executing unlocking operation, and closing a preset mode after the unlocking operation is successfully executed.
11. The intelligent lock control method according to claim 10, wherein determining that the unlocking operation is successfully performed includes:
determining whether a preset bolt is retracted; and if so, determining that the unlocking operation is successfully executed.
12. The utility model provides an intelligence lock control device which characterized in that, is applied to the controller in the intelligence lock, intelligence lock control device includes:
the instruction verification module is used for acquiring the intelligent lock control instruction and verifying the validity of the intelligent lock control instruction to obtain a verification result; the intelligent lock control instruction comprises a local control instruction or a control instruction received in a communication mode;
the state acquisition module is used for acquiring the state of the intelligent lock;
and the instruction judging module is used for determining whether to respond to the intelligent lock control instruction according to the verification result, the state of the intelligent lock and the preset control instruction response rule.
13. A computer-readable medium on which a computer program is stored, wherein said program, when executed by a processor, implements the intelligent lock control method according to any one of claims 1-10.
14. A processor for executing a program, wherein the program when executed implements the intelligent lock control method according to any one of claims 1 to 10.
15. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the intelligent lock control method of any one of claims 1-10.
CN202011621279.7A 2020-05-26 2020-12-31 Intelligent lock control method and device Pending CN114764954A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN202011621279.7A CN114764954A (en) 2020-12-31 2020-12-31 Intelligent lock control method and device
PCT/CN2021/096186 WO2021239015A1 (en) 2020-05-26 2021-05-26 Device control method and system
EP21812467.5A EP4141583A4 (en) 2020-05-26 2021-05-26 Device control method and system
US18/058,861 US20230091394A1 (en) 2020-05-26 2022-11-26 Device control methods and systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011621279.7A CN114764954A (en) 2020-12-31 2020-12-31 Intelligent lock control method and device

Publications (1)

Publication Number Publication Date
CN114764954A true CN114764954A (en) 2022-07-19

Family

ID=82363990

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011621279.7A Pending CN114764954A (en) 2020-05-26 2020-12-31 Intelligent lock control method and device

Country Status (1)

Country Link
CN (1) CN114764954A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08101978A (en) * 1994-08-02 1996-04-16 Hideo Kageyama Supervisory and controlling circuit for burglar preventing device and opening/closing control circuit for door mirror
CN104135407A (en) * 2014-08-12 2014-11-05 中国联合网络通信集团有限公司 Electrical apparatus operational monitoring method, server and system
CN106088841A (en) * 2016-07-27 2016-11-09 广东亚太天能科技股份有限公司 A kind of smart lock and smart lock lock method
CN207008746U (en) * 2017-07-18 2018-02-13 广东三源智明科技有限公司 A kind of smart electronicses lock system
CN108049721A (en) * 2017-12-06 2018-05-18 云丁网络技术(北京)有限公司 Electronic lock and its control method, apparatus and system
TW201831768A (en) * 2017-02-23 2018-09-01 林 招慶 An electronic lock with schedule locking and a method thereof
CN109191632A (en) * 2018-08-13 2019-01-11 付绪好 Security protection Fingerprint Lock
CN109555370A (en) * 2018-12-03 2019-04-02 广东南帆智能家居有限公司 A kind of control method and system of smart lock
CN109615738A (en) * 2018-11-30 2019-04-12 深圳绿米联创科技有限公司 Door lock management method, device, electronic equipment and storage medium
CN110379060A (en) * 2019-07-23 2019-10-25 移康智能科技(上海)股份有限公司 Smart lock based on Intelligent internet of things locks method
CN111427339A (en) * 2020-03-31 2020-07-17 北京四维智联科技有限公司 Vehicle remote control method and device and server
CN111852204A (en) * 2020-08-03 2020-10-30 北京橙子柚礼科技有限公司 Intelligent semi-automatic door lock and intelligent door

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08101978A (en) * 1994-08-02 1996-04-16 Hideo Kageyama Supervisory and controlling circuit for burglar preventing device and opening/closing control circuit for door mirror
CN104135407A (en) * 2014-08-12 2014-11-05 中国联合网络通信集团有限公司 Electrical apparatus operational monitoring method, server and system
CN106088841A (en) * 2016-07-27 2016-11-09 广东亚太天能科技股份有限公司 A kind of smart lock and smart lock lock method
TW201831768A (en) * 2017-02-23 2018-09-01 林 招慶 An electronic lock with schedule locking and a method thereof
CN207008746U (en) * 2017-07-18 2018-02-13 广东三源智明科技有限公司 A kind of smart electronicses lock system
CN108049721A (en) * 2017-12-06 2018-05-18 云丁网络技术(北京)有限公司 Electronic lock and its control method, apparatus and system
CN109191632A (en) * 2018-08-13 2019-01-11 付绪好 Security protection Fingerprint Lock
CN109615738A (en) * 2018-11-30 2019-04-12 深圳绿米联创科技有限公司 Door lock management method, device, electronic equipment and storage medium
CN109555370A (en) * 2018-12-03 2019-04-02 广东南帆智能家居有限公司 A kind of control method and system of smart lock
CN110379060A (en) * 2019-07-23 2019-10-25 移康智能科技(上海)股份有限公司 Smart lock based on Intelligent internet of things locks method
CN111427339A (en) * 2020-03-31 2020-07-17 北京四维智联科技有限公司 Vehicle remote control method and device and server
CN111852204A (en) * 2020-08-03 2020-10-30 北京橙子柚礼科技有限公司 Intelligent semi-automatic door lock and intelligent door

Similar Documents

Publication Publication Date Title
AU2017276840B2 (en) Padlock device, systems including a padlock device, and methods of operating therefor
JP7216101B2 (en) Access control system and access control method using the same
US7741969B2 (en) Door entry security device with electronic lock
JP4996175B2 (en) Entrance management system and entrance management method
CN107093243B (en) Door lock verification alarm method and system and terminal
KR101296863B1 (en) Entry authentication system using nfc door lock
US20210201609A1 (en) Applying image analytics and machine learning to lock systems in hotels
KR101814719B1 (en) System and method for remote controlling digital door-lock using smartphone
US10438426B2 (en) Using a light up feature of a mobile device to trigger door access
US10089806B2 (en) Device and system for controlling secure key access using an internet-connected key box device
KR101570463B1 (en) Portable terminals and door locks are interlocked
CN111917981A (en) Privacy protection method, device, equipment and computer readable storage medium
Pandit et al. Intelligent security lock
CN108221270B (en) Shared washing machine control method, device and system based on embedded computer
CN115240300A (en) Control method, system and device of intelligent security system and storage medium
WO2020134525A1 (en) Access control management method, apparatus and system
KR102063569B1 (en) Method and apparatus for controlling a door opening using a portable terminal
CN114764954A (en) Intelligent lock control method and device
CN111915774B (en) Remote intelligent assisted unlocking method and device
CN107341870B (en) Bluetooth button unlocking method and system
CN112215994A (en) Control method and system for remote visual intercom intelligent anti-theft door lock and storage medium
CN115273276B (en) Method and device for authenticating a user
CN115424378B (en) Safety protection method and device for intelligent coded lock and related equipment
WO2018006331A1 (en) Method and system for giving alarm by combining identity card
WO2018006324A1 (en) Mobile terminal-based response method and system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20220719