[go: up one dir, main page]

CN108049721B - Electronic lock, control method, device and system thereof - Google Patents

Electronic lock, control method, device and system thereof Download PDF

Info

Publication number
CN108049721B
CN108049721B CN201711273738.5A CN201711273738A CN108049721B CN 108049721 B CN108049721 B CN 108049721B CN 201711273738 A CN201711273738 A CN 201711273738A CN 108049721 B CN108049721 B CN 108049721B
Authority
CN
China
Prior art keywords
electronic lock
unlocking
instruction
lock
opened
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
CN201711273738.5A
Other languages
Chinese (zh)
Other versions
CN108049721A (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.)
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 CN201711273738.5A priority Critical patent/CN108049721B/en
Publication of CN108049721A publication Critical patent/CN108049721A/en
Priority to PCT/CN2018/119438 priority patent/WO2019109964A1/en
Application granted granted Critical
Publication of CN108049721B publication Critical patent/CN108049721B/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
    • E05B51/00Operating or controlling locks or other fastening devices by other non-mechanical means
    • 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
    • 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/00182Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with unidirectional data transmission between data carrier and locks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention discloses an electronic lock, a control method, a device and a system thereof, wherein an encrypted back-locking instruction is sent to the electronic lock through a mobile communication terminal, the electronic lock is decrypted after receiving the encrypted back-locking instruction, and the electronic lock is controlled to enter a back-locking state only when the decrypted back-locking instruction is a control instruction sent by a preset user (such as an administrator), so that the electronic lock cannot be opened in an electronic unlocking mode such as a password. Moreover, the unlocking instruction sent to the electronic lock by the mobile communication terminal is an encrypted unlocking instruction, so that the safety of the electronic lock is improved.

Description

Electronic lock, control method, device and system thereof
Technical Field
The present invention relates to the field of electronic locks, and in particular, to an electronic lock, and a control method, device and system thereof.
Background
With the rapid development of electronic technology, the degree of intellectualization of electronic locks is increasing. However, most of the research of the electronic lock in the industry is more intelligent towards the unlocking mode, the unlocking time is shorter, the temporary password is issued more conveniently, but little attention is paid to how to enable an administrator of the electronic lock to manage the issued temporary password more quickly and effectively.
At present, after the temporary password is sent out, if the temporary password owner does not want to unlock in a period of time, only the operation mode of deleting the temporary password in the electronic lock is adopted, so that the operation of an administrator is complex, and the convenience is poor.
Disclosure of Invention
The present invention has been made in view of the above problems, and has as its object to provide an electronic lock, a control method, an apparatus and a system thereof, which overcome or at least partially solve the above problems.
In one aspect, the present invention provides a method for controlling an electronic lock, including:
acquiring an encrypted anti-lock instruction sent by a mobile communication terminal;
decrypting the encrypted anti-lock instruction;
judging whether the decrypted anti-lock instruction is an instruction sent by a preset user or not;
and when the judgment result is that the back locking instruction is an instruction sent by a preset user, closing an electronic unlocking function of the electronic lock so as to enable the electronic lock to enter a back locking state.
The above method, preferably, further comprises:
acquiring an encrypted unlocking instruction sent by the mobile communication terminal;
decrypting the encrypted instruction for unlocking the lock;
judging whether the instruction for unlocking obtained by decryption is an instruction sent by a preset user or not;
And when the judgment result is that the instruction for unlocking the back lock is the instruction sent by the preset user, recovering the electronic unlocking function of the electronic lock so as to enable the electronic lock to be in an unlocking state.
The above method, preferably, further comprises:
monitoring whether the electronic lock is opened indoors;
and when the electronic lock is monitored to be opened indoors, recovering the electronic unlocking function of the electronic lock so as to enable the electronic lock to be unlocked.
The above method, preferably, the monitoring whether the electronic lock is opened indoors, includes:
monitoring whether a first preset action occurs to a handle seat positioned on one indoor side in the electronic lock;
when the handle seat generates a first preset action, the electronic lock is determined to be opened indoors.
The above method, preferably, the monitoring whether the electronic lock is opened indoors, includes:
monitoring whether a lock tongue of the electronic lock is retracted into the electronic lock or whether a door body provided with the electronic lock is opened or not;
when the fact that the lock tongue of the electronic lock is retracted into the electronic lock or the door body is opened is monitored, judging whether the electronic lock is opened by a preset mechanical unlocking mode or not;
And when the judgment result is that the electronic lock is not opened in a preset mechanical unlocking mode, determining that the electronic lock is opened indoors.
The above method, preferably, further comprises:
acquiring an unlocking instruction, wherein the unlocking instruction carries a secret key;
comparing the key carried in the unlocking instruction with the stored key;
when the comparison result indicates that the stored key comprises the key carried in the unlocking instruction, judging whether the identification mark corresponding to the key carried in the unlocking instruction is a preset identification mark or not according to the corresponding relation between the preset key and the identification mark;
if the judgment result is yes, the electronic unlocking function of the electronic lock is recovered, so that the electronic lock is unlocked, and the electronic lock is controlled to be opened.
In another aspect, the present application provides an electronic lock control device, including:
the first acquisition module is used for acquiring an encrypted unlocking instruction sent by the mobile communication terminal;
the control module is used for decrypting the encrypted locking instruction; judging whether the decrypted anti-lock instruction is an instruction sent by a preset user or not; and when the judgment result is that the back locking instruction is an instruction sent by a preset user, closing an electronic unlocking function of the electronic lock so as to enable the electronic lock to enter a back locking state.
The above device, preferably, the first obtaining module is further configured to obtain an encrypted instruction for unlocking sent by the mobile communication terminal;
the control module is also used for decrypting the encrypted instruction for unlocking the lock; judging whether the instruction for unlocking obtained by decryption is an instruction sent by a preset user or not; and when the judgment result is that the instruction for unlocking the back lock is the instruction sent by the preset user, recovering the electronic unlocking function of the electronic lock so as to enable the electronic lock to be in an unlocking state.
The above device, preferably, further comprises:
the monitoring module is used for monitoring whether the electronic lock is opened indoors;
and the control module is also used for recovering the electronic unlocking function of the electronic lock when the monitoring module monitors that the electronic lock is opened indoors, so that the electronic lock is in an unlocking state.
The above device, preferably, the monitoring module includes:
the first monitoring unit is used for monitoring whether a first preset action occurs on a handle seat positioned on one indoor side in the electronic lock or not;
and the first determining unit is used for determining that the electronic lock is opened indoors when the first monitoring unit monitors that the handle seat generates a first preset action.
The above device, preferably, the monitoring module includes:
the second monitoring unit is used for monitoring whether the lock tongue of the electronic lock is retracted into the electronic lock or whether a door body provided with the electronic lock is opened or not;
the third monitoring unit is used for monitoring whether the electronic lock is opened by a preset mechanical unlocking mode;
the judging unit is used for judging whether the third monitoring unit monitors that the electronic lock is opened in a preset mechanical unlocking mode when the second monitoring unit monitors that the lock tongue of the electronic lock is retracted into the electronic lock or the door body is opened;
and the second determining unit is used for determining that the electronic lock is opened indoors when the third monitoring unit does not monitor that the electronic lock is opened in a preset mechanical unlocking mode.
The above device, preferably, further comprises:
the second acquisition module is used for acquiring an unlocking instruction, wherein the unlocking instruction carries a secret key;
the comparison module is used for comparing the secret key carried in the unlocking instruction with the stored secret key;
the judging module is used for judging whether the identification mark corresponding to the key carried in the unlocking instruction is a preset identification mark or not according to the corresponding relation between the preset key and the identification mark when the comparison result represents that the key carried in the unlocking instruction is included in the stored key;
And the control module is also used for recovering the electronic unlocking function of the electronic lock if the judgment result of the judgment module is yes, so that the electronic lock is unlocked, and the electronic lock is controlled to be unlocked.
In a third aspect, the present application provides an electronic lock control system, comprising:
the communication module is used for receiving an encrypted unlocking instruction sent by the mobile communication terminal;
the processor is used for decrypting the encrypted locking instruction; judging whether the decrypted anti-lock instruction is an instruction sent by a preset user or not; and when the judgment result is that the back locking instruction is an instruction sent by a preset user, closing an electronic unlocking function of the electronic lock so as to enable the electronic lock to enter a back locking state.
Preferably, the communication module is further configured to receive an encrypted instruction for unlocking sent by the mobile communication terminal;
the processor is further configured to decrypt the encrypted instruction for unlocking the lock; judging whether the instruction for unlocking obtained by decryption is an instruction sent by a preset user or not; and when the judgment result is that the instruction for unlocking the back lock is the instruction sent by the preset user, recovering the electronic unlocking function of the electronic lock so as to enable the electronic lock to be in an unlocking state.
The above system, preferably, further comprises:
the induction module is used for collecting induction information, and the induction information is used for representing whether the electronic lock is opened indoors or not;
the processor is further used for judging whether the electronic lock is opened indoors or not based on the sensing information, and when the electronic lock is judged to be opened indoors, the electronic unlocking function of the electronic lock is recovered, so that the electronic lock is unlocked.
In the above system, preferably, the sensing module is disposed in the electronic lock;
the installation position of the induction module is associated with a handle seat positioned on one indoor side of the electronic lock;
when the handle seat generates a first preset action, the induction information collected by the induction module changes.
The above system, preferably, the sensing module includes:
a first sensing part for generating sensing information;
the second sensing component is used for collecting the sensing information generated by the first sensing component;
one of the first sensing component and the second sensing component is arranged on the handle seat, and the other sensing component is arranged in a first preset area around the handle seat so as to ensure that when the handle seat performs a first preset action, sensing information acquired by the second sensing component changes.
The above system, preferably, the sensing module includes:
the key is arranged in a second preset area around the handle seat, so that when the handle seat performs a first preset action, the induction information collected by the key changes.
The sensing information collected by the key is state information of the key, and the state information is used for representing whether the key is pressed or not.
In the above system, preferably, the processor is configured to determine, based on the sensing information, whether the electronic lock is opened indoors, specifically: and monitoring the change condition of the induction information acquired by the induction module, and determining that the electronic lock is opened indoors when the change condition of the induction information acquired by the induction module meets preset conditions.
The above system, preferably, the sensing module includes:
the first sub-sensing module is used for collecting first sensing information, and the mounting position of the first sub-sensing module is related to a lock tongue of the electronic lock or related to a door body for mounting the electronic lock; when the lock tongue is retracted into the electronic lock or the door body is opened, the first induction information changes;
The second sub-sensing module is used for collecting second sensing information, the installation position of the second sub-sensing module is related to a preset mechanical unlocking mechanism of the electronic lock, and when the mechanical unlocking mechanism performs a second preset action, the second sensing information changes.
In the above system, preferably, the processor is configured to determine, based on the sensing information, whether the electronic lock is opened indoors, specifically:
monitoring the change condition of the first sensing information and the change condition of the second sensing information; when the change condition of the first sensing information meets a first preset condition, determining that the electronic lock is opened, judging whether the change condition of the second sensing information meets a second preset condition, if so, determining that the electronic lock is opened by a preset mechanical unlocking mode, and if not, determining that the electronic lock is opened indoors.
In the above system, preferably, the processor is further configured to obtain an unlocking instruction, and compare a key carried in the unlocking instruction with a stored key; when the comparison result indicates that the stored key comprises the key carried in the unlocking instruction, judging whether the identification mark corresponding to the key carried in the unlocking instruction is a preset identification mark or not according to the corresponding relation between the preset key and the identification mark; if the judgment result is yes, the electronic unlocking function of the electronic lock is recovered, so that the electronic lock is unlocked, and the electronic lock is controlled to be opened.
In a fourth aspect, the present application provides an electronic lock comprising an electronic lock control system as claimed in any preceding claim.
By means of the technical scheme, the electronic lock, the control method, the control device and the control system thereof, the encrypted back-locking instruction is sent to the electronic lock through the mobile communication terminal, the electronic lock is decrypted after receiving the encrypted back-locking instruction, and the electronic lock is controlled to enter a back-locking state only when the decrypted back-locking instruction is a control instruction sent by a preset user (such as an administrator), so that the electronic lock cannot be opened in an electronic unlocking mode such as a password. Moreover, the unlocking instruction sent to the electronic lock by the mobile communication terminal is an encrypted unlocking instruction, so that the safety of the electronic lock is improved.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 shows a flowchart of one implementation of the electronic lock control method provided by the present application;
FIG. 2 is a schematic diagram of a structure of the electronic lock control device provided in the present application;
FIG. 3 is a schematic diagram showing another structure of the electronic lock control device provided by the present application;
FIG. 4 is a schematic diagram of an electronic lock control system according to the present application;
FIG. 5 is a schematic diagram of another configuration of the electronic lock control system provided herein;
FIG. 6 illustrates a schematic view of one mounting location of a first sensing component and a second sensing component provided herein;
FIG. 7 illustrates another mounting location schematic of the first and second sensing components provided herein;
fig. 8 shows a schematic view of still another installation position of the first sensing member and the second sensing member provided herein.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Referring to fig. 1, fig. 1 is a flowchart of an implementation of a method for controlling an electronic lock according to an embodiment of the present application, which may include:
step S11: and acquiring an encrypted locking instruction sent by the mobile communication terminal.
The mobile communication terminal may be a mobile phone or a tablet computer, which is a common portable communication device.
An Application (App) may be pre-installed in the mobile terminal, and a user of the mobile terminal may trigger generation of a locking instruction through the Application, and the locking instruction is encrypted by the Application and then sent to the electronic lock. Correspondingly, an application program matched with the application program of the mobile terminal is installed in the electronic lock, so that the electronic lock and the application program can be conveniently communicated based on the application program.
The encrypted unlocking instruction can be sent to the electronic lock by the mobile communication terminal through the Bluetooth module or the Internet access module.
That is, the electronic lock and the mobile communication terminal can communicate through bluetooth.
Alternatively, the electronic lock and the mobile communication terminal communicate through the internet. Based on this communication mode, the mobile communication terminal may upload the encrypted instruction (including the encrypted unlocking instruction, or the encrypted unlocking instruction, etc.) to the server corresponding to the application program through the internet, and the server forwards the encrypted instruction to the electronic lock through the internet.
Step S12: and decrypting the encrypted anti-lock instruction.
Step S13: judging whether the decrypted anti-lock instruction is an instruction sent by a preset user or not; if yes, executing step S14, otherwise, not responding to the back locking instruction, namely not back locking the electronic lock.
Optionally, whether the decrypted locking instruction is an instruction sent by a predetermined user may be determined according to an identification identifier that is carried in the decrypted locking instruction and is used for characterizing the identity of the user. Specifically, it may be determined whether the identification identifier carried in the decrypted locking instruction and used for characterizing the identity of the user is a predetermined identification identifier, if so, it indicates that the decrypted locking instruction is an instruction sent by the predetermined user, and if not, it indicates that the decrypted locking instruction is not an instruction sent by the predetermined user.
The predetermined identification may be registered by the predetermined user (e.g., an administrator of the electronic lock) through the application program in advance.
Step S14: and closing the electronic unlocking function of the electronic lock so as to enable the electronic lock to enter a back locking state.
In this embodiment of the present application, the electronic unlocking manner of the electronic lock may include, but is not limited to, any one of the following manners: bluetooth unlocking, fingerprint unlocking, password unlocking, radio frequency card unlocking, etc.
The Bluetooth unlocking means that an unlocking instruction is received through Bluetooth, and when the unlocking instruction is a valid instruction, unlocking is performed in response to the unlocking instruction. The unlocking instruction may be transmitted from the mobile communication terminal.
Fingerprint unlocking means that the fingerprint input by a user is acquired through an input panel of the electronic lock, and unlocking is performed when the acquired fingerprint is an effective fingerprint.
The password unlocking means that the password input by the user is acquired through the input panel of the electronic lock, and when the acquired password is an effective password, the unlocking is performed.
The unlocking of the radio frequency card refers to that the radio frequency card reading module of the electronic lock reads information of the radio frequency card, and when the read information is effective information, unlocking is carried out.
When the electronic unlocking function of the electronic lock is closed, the electronic lock can only be opened indoors or can only be opened outdoors through a preset mechanical unlocking mode, wherein the preset mechanical unlocking mode can comprise any one of the following listed modes: unlocking by a mechanical key, or unlocking by a mechanical cipher rotary table, etc.
According to the electronic lock control method, the encrypted back-locking instruction is sent to the electronic lock through the mobile communication terminal, the electronic lock decrypts the encrypted back-locking instruction after receiving the encrypted back-locking instruction, and when the decrypted back-locking instruction is the control instruction sent by a preset user (such as an administrator), the electronic lock is controlled to enter a back-locking state, so that the electronic lock cannot be opened in an electronic unlocking mode such as a password. Moreover, the unlocking instruction sent to the electronic lock by the mobile communication terminal is an encrypted unlocking instruction, so that the safety of the electronic lock is improved.
In an alternative embodiment, after the electronic lock is controlled to be in the locked state, information indicating that the electronic lock is in the locked state may be synchronized to the mobile communication terminal.
In an alternative embodiment, after the electronic lock enters the back-locking state, if the electronic lock receives an unlocking instruction carrying key information, the key information in the unlocking instruction can be compared with stored key information, if the stored key information includes the key information in the unlocking instruction, and the key information in the unlocking instruction is within the valid period, the state information of whether the electronic lock is back-locked is obtained, if the electronic lock is in the back-locking state, the unlocking operation is forbidden to be executed, and if the electronic lock is not in the back-locking state, the unlocking operation is executed. If the stored key information does not include the key information in the unlocking instruction, or if the stored key information does not include the key information in the unlocking instruction, but is not in the valid period, the state information of whether the electronic lock is locked is not required to be acquired any more, and prompt information that the password is invalid can be returned directly.
The unlocking instruction may be an unlocking instruction sent by the mobile communication terminal through bluetooth or internet, or an unlocking instruction triggered and generated after the electronic lock receives a fingerprint or a password input by a user through an input panel of the electronic lock, or an unlocking instruction triggered and generated after the electronic lock reads information in the radio frequency card, etc.
In an optional embodiment, the electronic lock control method may further include:
and acquiring a temporary key storage instruction sent by the mobile communication terminal, wherein the temporary key storage instruction is encrypted by the application software and then sent, and the temporary key storage instruction carries an identification mark and the validity period of the temporary key in addition to the temporary key.
In this embodiment of the present application, after a predetermined user logs in the application software through the predetermined identification identifier on the mobile communication terminal, a temporary key may also be generated by the application software, and the validity period of the temporary key may be set. The temporary key may be a password randomly generated by the application software, or may be a fingerprint acquired by a fingerprint acquisition module of the mobile communication terminal, or may be information of a radio frequency card read by a radio frequency card reading module of the mobile communication terminal. And then the temporary key and the expiration date are encrypted and then sent to the electronic lock for storage through Bluetooth or Internet.
Decrypting the encrypted temporary key preserving instruction, judging whether the temporary key preserving instruction is sent by a preset user or not based on the identification mark carried in the temporary key preserving instruction obtained through decryption, and if yes, storing the temporary key carried in the temporary key preserving instruction and the validity period of the temporary key. If the result of the judgment is negative, the temporary key and the validity period of the temporary key are not stored.
Further, when the storage time of the temporary key reaches the validity period, it indicates that the temporary key is invalid, and the invalid temporary key may be deleted. Based on the above, if the electronic lock receives the unlocking instruction carrying the key information, the key information in the unlocking instruction can be compared with the stored key information, if the stored key information comprises the key information in the unlocking instruction, the state information of whether the electronic lock is locked or not is obtained, if the electronic lock is in the locked state, the unlocking operation is forbidden to be executed, and if the electronic lock is not in the locked state, the unlocking operation is executed. If the stored key information does not include the key information in the unlocking instruction, the state information of whether the electronic lock is locked or not is not required to be acquired any more, and the unlocking operation can be directly forbidden. That is, in the embodiment of the present application, the stored key information is valid key information.
In an optional embodiment, after the electronic lock enters the back-locking state, the electronic lock control method may further include:
and acquiring an encrypted unlocking instruction sent by the mobile communication terminal.
And decrypting the encrypted instruction for unlocking the lock.
And judging whether the instruction for unlocking obtained by decryption is an instruction sent by a preset user.
And when the judgment result is that the instruction for unlocking the back lock is the instruction sent by the preset user, recovering the electronic unlocking function of the electronic lock so as to unlock the back lock state of the electronic lock.
When the electronic lock is unlocked, the electronic lock is in a normal locking state, namely when a user inputs a secret key, the electronic lock is opened if the secret key is correct and within the validity period, and the electronic lock is forbidden to be opened if the secret key is incorrect or not within the validity period.
In the embodiment of the application, the electronic lock is controlled to release the back locking state through the mobile communication terminal.
In another optional embodiment, after the electronic lock enters the back-locking state, the electronic lock control method may further include:
monitoring whether the electronic lock is opened indoors;
when the electronic lock is monitored to be opened indoors, the electronic unlocking function of the electronic lock is restored, so that the electronic lock is unlocked.
In the embodiment of the application, the electronic lock is triggered to release the back locking state through indoor door opening operation.
Optionally, after the unlocking state, the information representing the unlocking state of the electronic lock may be synchronized to the mobile communication terminal.
In an alternative embodiment, one implementation of monitoring whether an electronic lock is opened indoors may be:
monitoring whether a first preset action occurs on a handle seat positioned on one indoor side in the electronic lock;
when the first preset action of the handle seat is monitored, the electronic lock is determined to be opened indoors.
Electronic locks generally comprise two handle seats, one of which is connected with an indoor handle and the other of which is connected with an outdoor handle.
Taking an indoor door as an example, when a user opens the door indoors, the indoor handle is pressed down to drive the indoor handle seat to rotate, and through a transmission device in the electronic lock, the rotation of the handle seat drives the lock tongue to retract into the electronic lock, so that the electronic lock is opened, and the door body can be opened. Similarly, when the door body is closed, if the handle is restored to the original position, the handle seat can also restore to the original state, and the lock tongue is driven to extend out of the electronic lock, so that the door body is locked. Therefore, when the handle seat on one indoor side of the electronic lock is monitored to rotate and the preset condition is met, the user is informed to open the door indoors. That is, the first preset action is: the handle seat at one side of the room rotates to meet the preset condition.
In the above example, the handle is operated in a depression manner when the door is opened. In another example, the handle is pushed or pulled, taking the handle opening as an example, when the user pulls the handle indoors, the handle can drive the handle seat on one side indoors to rotate or translate, and the rotation or translation of the handle seat can drive the lock tongue to retract into the electronic lock through the transmission device in the electronic lock, so that the electronic lock is opened, and the door body can be opened. Similarly, when the door is closed, the handle is restored to the original position, the handle seat is restored to the original state, the lock tongue is driven to extend out of the electronic lock, and the door body is locked. Therefore, when the movement of the handle seat on the indoor side of the electronic lock is monitored, and the preset condition is met, the user is informed to open the door indoors. That is, the first preset action is: the handle seat at one side of the room rotates or translates to meet the preset condition.
In summary, the first preset action may be: the handle seat on one side of the room moves to meet the preset condition. Whether the handle seat moves to meet the preset condition or not can be determined through whether the change condition of information sensed by the sensing module arranged at a specific position meets the preset condition or not.
In another alternative embodiment, one implementation of monitoring whether an electronic lock is opened indoors may be:
and monitoring whether the lock tongue of the electronic lock is retracted into the electronic lock.
When the fact that the lock tongue of the electronic lock is retracted into the electronic lock is monitored, judging whether the electronic lock is opened by a preset mechanical unlocking mode or not;
when the judgment result shows that the electronic lock is opened through a preset mechanical unlocking mode, determining that the electronic lock is opened outdoors; and when the judgment result is that the electronic lock is not opened through a preset mechanical unlocking mode, determining that the electronic lock is opened indoors.
Because the electronic lock can only be opened outdoors by a preset mechanical unlocking mode when the electronic lock is in the back-locking state, or can only be opened indoors, when the electronic lock is judged not to be opened by the preset mechanical unlocking mode, the electronic lock can be determined to be opened indoors.
In the embodiment of the application, whether the electronic lock is opened or not is judged by monitoring the action of the lock tongue, and whether the electronic lock is opened or not is judged by monitoring whether the electronic lock is opened through a preset mechanical unlocking mode.
In yet another alternative embodiment, one implementation of monitoring whether an electronic lock is opened indoors may be:
Monitoring whether a door body provided with the electronic lock is opened or not;
when the door body is monitored to be opened, judging whether the electronic lock is opened by a preset mechanical unlocking mode;
when the judgment result shows that the electronic lock is opened through a preset mechanical unlocking mode, determining that the electronic lock is opened outdoors; and when the judgment result is that the electronic lock is not opened through a preset mechanical unlocking mode, determining that the electronic lock is opened indoors.
In the embodiment of the application, whether the electronic lock is opened or not is judged by monitoring the action of the door body, and whether the electronic lock is opened or not is judged indoors by monitoring whether the electronic lock is opened or not through a preset mechanical unlocking mode.
In an alternative embodiment, the electronic lock control method provided in the present application may further include:
and acquiring an unlocking instruction, wherein the unlocking instruction carries a secret key.
The unlocking instruction may be an unlocking instruction sent by the mobile communication terminal and received by the communication module (such as a bluetooth module or an internet access module), where the unlocking instruction is triggered by a user after the mobile communication terminal inputs a key. Or the unlocking instruction is generated by triggering after the fingerprint input by the user is acquired through the input panel of the electronic lock. Or the unlocking instruction is generated by triggering after the password input by the user is acquired through the input panel of the electronic lock. Or the unlocking instruction is generated by triggering after the radio frequency card reading module of the electronic lock reads the information of the radio frequency card.
Comparing a key carried in the unlocking instruction with a stored key;
when the key carried in the unlocking instruction is included in the key stored by the comparison result representation, judging whether the identification mark corresponding to the key carried in the unlocking instruction is a preset identification mark or not according to the corresponding relation between the preset key and the identification mark.
The identification is used to characterize the identity of the user. The predetermined identification may be an administrator identification. In the embodiment of the application, the corresponding relation between the key and the identification mark is stored in advance, wherein the key corresponding to the identification mark of the administrator is different from the key corresponding to the identification mark of the non-administrator.
If the judgment result is yes, the electronic unlocking function of the electronic lock is recovered, so that the electronic lock is unlocked, and the electronic lock is controlled to be opened.
If the judgment result is negative, unlocking is forbidden, and the electronic unlocking function of the electronic lock is forbidden to be restored.
In the embodiment of the application, the unlocking state of the electronic lock is triggered by one-time electronic unlocking operation of an administrator.
Corresponding to the method embodiment, the application also provides an electronic lock control device. Referring to fig. 2, fig. 2 is a schematic structural diagram of an electronic lock control device according to an embodiment of the present application, which may include:
A first acquisition module 21 and a control module 22; wherein,,
the first obtaining module 21 is configured to obtain an encrypted locking instruction sent by the mobile communication terminal.
The mobile communication terminal may be a mobile phone or a tablet computer, which is a common portable communication device.
An Application (App) may be pre-installed in the mobile terminal, and a user of the mobile terminal may trigger generation of a locking instruction through the Application, and the locking instruction is encrypted by the Application and then sent to the electronic lock. Correspondingly, an application program matched with the application program of the mobile terminal is installed in the electronic lock, so that the electronic lock and the application program can be conveniently communicated based on the application program.
The encrypted unlocking instruction can be sent to the electronic lock by the mobile communication terminal through Bluetooth or the Internet.
That is, the electronic lock and the mobile communication terminal can communicate through bluetooth.
Alternatively, the electronic lock and the mobile communication terminal communicate through the internet. Based on this communication mode, the mobile communication terminal may upload the encrypted instruction (including the encrypted unlocking instruction, or the encrypted unlocking instruction, etc.) to the server corresponding to the application program through the internet, and the server forwards the encrypted instruction to the electronic lock through the internet.
The control module 22 is configured to decrypt the encrypted lock instruction; judging whether the decrypted anti-lock instruction is an instruction sent by a preset user or not; and when the judgment result is that the back locking instruction is an instruction sent by a preset user, closing the electronic unlocking function of the electronic lock so as to enable the electronic lock to enter a back locking state.
The control module 22 may determine whether the decrypted locking instruction is an instruction sent by the predetermined user according to an identification identifier carried in the decrypted locking instruction and used for characterizing the identity of the user. Specifically, the control module 22 may determine whether the identification identifier carried in the decrypted locking instruction and used for characterizing the user identity is a predetermined identification identifier, if so, it indicates that the decrypted locking instruction is an instruction sent by the predetermined user, and if not, it indicates that the decrypted locking instruction is not an instruction sent by the predetermined user.
The predetermined identification may be registered by the predetermined user (e.g., an administrator of the electronic lock) through the application program in advance.
The electronic unlocking mode of the electronic lock can comprise any one of the following modes: bluetooth unlocking, fingerprint unlocking, password unlocking, radio frequency card unlocking, etc.
When the electronic unlocking function of the electronic lock is closed, the electronic lock can only be opened indoors or can only be opened outdoors through a preset mechanical unlocking mode, wherein the preset mechanical unlocking mode can comprise any one of the following listed modes: unlocking by a mechanical key, or unlocking by a mechanical cipher rotary table, etc.
According to the electronic lock control device, the encrypted back-locking instruction is sent to the electronic lock through the mobile communication terminal, the electronic lock decrypts the encrypted back-locking instruction after receiving the encrypted back-locking instruction, and the electronic lock is controlled to enter a back-locking state only when the decrypted back-locking instruction is a control instruction sent by a preset user (such as an administrator), so that the electronic lock cannot be opened in an electronic unlocking mode such as a password. Moreover, the unlocking instruction sent to the electronic lock by the mobile communication terminal is an encrypted unlocking instruction, so that the safety of the electronic lock is improved.
In an alternative embodiment, the electronic lock control device may further include:
and the synchronization module is used for synchronizing the information representing that the electronic lock is in the back locking state to the mobile communication terminal after the electronic lock enters the back locking state.
In an alternative embodiment, after the electronic lock enters the back-locking state, if the electronic lock receives an unlocking instruction carrying key information, the control module 22 may compare the key information in the unlocking instruction with the stored key information, if the stored key information includes the key information in the unlocking instruction, and the key information in the unlocking instruction is within the valid period, the state information of whether the electronic lock is back-locked is obtained, if the electronic lock is in the back-locking state, the unlocking operation is prohibited, and if the electronic lock is not in the back-locking state, the unlocking operation is executed. If the stored key information does not include the key information in the unlocking instruction, or if the stored key information does not include the key information in the unlocking instruction, but is not in the valid period, the state information of whether the electronic lock is locked is not required to be acquired any more, and prompt information that the password is invalid can be returned directly.
The unlocking instruction may be an unlocking instruction sent by the mobile communication terminal through bluetooth or internet, or an unlocking instruction triggered and generated after receiving a fingerprint or a password input by a user through an input panel of the electronic lock, or an unlocking instruction triggered and generated after reading information in the radio frequency card, etc.
In an alternative embodiment, the first obtaining module 21 may further obtain an instruction for storing the temporary key sent by the mobile communication terminal, where the instruction for storing the temporary key is sent after being encrypted by the application software, and the instruction for storing the temporary key carries the identification identifier and the validity period of the temporary key in addition to the temporary key.
In this embodiment of the present application, after a predetermined user logs in the application software through the predetermined identification identifier on the mobile communication terminal, a temporary key may also be generated by the application software, and the validity period of the temporary key may be set. The temporary key may be a password randomly generated by the application software, or may be a fingerprint acquired by a fingerprint acquisition module of the mobile communication terminal, or may be information of a radio frequency card read by a radio frequency card reading module of the mobile communication terminal. And then the temporary key is encrypted and then sent to the electronic lock for storage through Bluetooth or Internet.
The control module 22 may be further configured to decrypt the encrypted temporary key preserving instruction, determine whether the temporary key preserving instruction is sent by the predetermined user based on the identification identifier carried in the temporary key preserving instruction obtained by decryption, and if the determination result is yes, store the temporary key carried in the temporary key preserving instruction, and the validity period of the temporary key. If the result of the judgment is negative, the temporary key and the validity period of the temporary key are not stored.
Further, when the storage time of the temporary key reaches the validity period, which indicates that the temporary key is invalid, the control module 22 may also delete the invalid temporary key. Based on this, if the electronic lock receives an unlocking instruction carrying key information, the control module 22 may compare the key information in the unlocking instruction with the stored key information, if the stored key information includes the key information in the unlocking instruction, acquire state information about whether the electronic lock is locked, if the electronic lock is in a locked state, prohibit the unlocking operation, and if the electronic lock is not in a locked state, execute the unlocking operation. If the stored key information does not include the key information in the unlocking instruction, the state information of whether the electronic lock is locked or not is not required to be acquired any more, and the unlocking operation can be directly forbidden.
That is, in the embodiment of the present application, the stored key information is valid key information.
In an alternative embodiment, the first obtaining module 21 may be further configured to obtain an encrypted instruction for unlocking sent by the mobile communication terminal.
The control module 22 may also be configured to decrypt the encrypted unlocking instruction; judging whether the instruction for unlocking obtained by decryption is an instruction sent by a preset user or not; and when the judging result is that the instruction for unlocking the back lock is an instruction sent by a preset user, opening an electronic unlocking function of the electronic lock so as to enable the electronic lock to be in an unlocking state.
When the electronic lock is unlocked, the electronic lock is in a normal locking state, namely when a user inputs a secret key, the electronic lock is opened if the secret key is correct and within the validity period, and the electronic lock is forbidden to be opened if the secret key is incorrect or not within the validity period.
In the embodiment of the application, the electronic lock is controlled to release the back locking state through the mobile communication terminal.
Referring to fig. 3, fig. 3 is another schematic structural diagram of the electronic lock control device provided in the embodiment of the present application, and may further include, based on the embodiment shown in fig. 2:
A monitoring module 31 for monitoring whether the electronic lock is opened indoors;
the control module 22 may be further configured to restore an electronic unlocking function of the electronic lock to release the electronic lock from the locked state when the monitoring module 31 monitors that the electronic lock is opened indoors.
In the embodiment of the application, the electronic lock is triggered to release the back locking state through indoor door opening operation.
Optionally, the synchronization module may be further configured to synchronize information indicating the electronic lock unlocked state to the mobile communication terminal after the electronic lock is unlocked.
In an alternative embodiment, the monitoring module 31 may include:
the first monitoring unit is used for monitoring whether a first preset action occurs on a handle seat positioned on one indoor side in the electronic lock or not;
and the first determining unit is used for determining that the electronic lock is opened indoors when the first monitoring unit monitors that the handle seat generates a first preset action.
In another alternative embodiment, the monitoring module 31 may include:
and the second monitoring unit is used for monitoring whether the lock tongue of the electronic lock is retracted into the electronic lock.
And the third monitoring unit is used for monitoring whether the electronic lock is opened by a preset mechanical unlocking mode.
And the judging unit is used for judging whether the third monitoring unit monitors that the electronic lock is opened in a preset mechanical unlocking mode when the second monitoring unit monitors that the lock tongue of the electronic lock is retracted into the electronic lock.
The second determining unit is used for determining that the electronic lock is opened outdoors when the third monitoring unit monitors that the electronic lock is opened in a preset mechanical unlocking mode; when the third monitoring unit does not monitor that the electronic lock is opened in a preset mechanical unlocking mode, the electronic lock is determined to be opened indoors.
In another alternative embodiment, the monitoring module 31 may include:
the second monitoring unit is used for monitoring whether a door body provided with the electronic lock is opened or not;
the third monitoring unit is used for monitoring whether the electronic lock is opened by a preset mechanical unlocking mode;
the judging unit is used for judging whether the third monitoring unit monitors that the electronic lock is opened in a preset mechanical unlocking mode when the second monitoring unit monitors that the door body is opened;
the second determining unit is used for determining that the electronic lock is opened outdoors when the third monitoring unit monitors that the electronic lock is opened in a preset mechanical unlocking mode; when the third monitoring unit does not monitor that the electronic lock is opened in a preset mechanical unlocking mode, the electronic lock is determined to be opened indoors.
In an alternative embodiment, the electronic lock control device provided in the present application may further include:
the second acquisition module is used for acquiring an unlocking instruction, wherein the unlocking instruction carries a secret key;
the comparison module is used for comparing the secret key carried in the unlocking instruction with the stored secret key;
the judging module is used for judging whether the identification mark corresponding to the key carried in the unlocking instruction is a preset identification mark or not according to the corresponding relation between the preset key and the identification mark when the key carried in the unlocking instruction is included in the key stored in the comparison result representation;
the control module is also used for recovering the electronic unlocking function of the electronic lock if the judgment result of the judgment module is yes, so that the electronic lock is unlocked, and the electronic lock is controlled to be unlocked; if the judging result of the judging module is negative, unlocking is forbidden, and the electronic unlocking function of the electronic lock is forbidden to be restored.
The embodiment of the application also provides an electronic lock control system. Referring to fig. 4, a schematic structural diagram of an electronic lock control system according to an embodiment of the present application may include:
and the communication module 41 is used for receiving the encrypted unlocking instruction sent by the mobile communication terminal.
The mobile communication terminal may be a mobile phone or a tablet computer, which is a common portable communication device.
An Application (App) may be pre-installed in the mobile terminal, and a user of the mobile terminal may trigger generation of a locking instruction through the Application, and the locking instruction is encrypted by the Application and then sent to the electronic lock. Correspondingly, an application program matched with the application program of the mobile terminal is installed in the electronic lock, so that the electronic lock and the application program can be conveniently communicated based on the application program.
The communication module 41 may be a bluetooth module or an internet access module.
That is, the electronic lock and the mobile communication terminal can communicate through bluetooth.
Alternatively, the electronic lock and the mobile communication terminal communicate through the internet. Based on this communication mode, the mobile communication terminal may upload the encrypted instruction (including the encrypted unlocking instruction, or the encrypted unlocking instruction, etc.) to the server corresponding to the application program through the internet, and the server forwards the encrypted instruction to the electronic lock through the internet.
A processor 42 for decrypting the encrypted lock instruction; judging whether the decrypted anti-lock instruction is an instruction sent by a preset user or not; and when the judgment result is that the back locking instruction is an instruction sent by a preset user, closing the electronic unlocking function of the electronic lock so as to enable the electronic lock to enter a back locking state.
The processor 42 may determine whether the decrypted locking instruction is an instruction sent by the predetermined user according to an identification identifier carried in the decrypted locking instruction and used for characterizing the identity of the user. Specifically, the processor 42 may determine whether the identification identifier carried in the decrypted locking instruction and used for characterizing the user identity is a predetermined identification identifier, if so, it indicates that the decrypted locking instruction is an instruction sent by the predetermined user, and if not, it indicates that the decrypted locking instruction is not an instruction sent by the predetermined user.
The predetermined identification may be registered by the predetermined user (e.g., an administrator of the electronic lock) through the application program in advance.
The electronic unlocking mode of the electronic lock can comprise any one of the following modes: bluetooth unlocking, fingerprint unlocking, password unlocking, radio frequency card unlocking, etc.
When the electronic unlocking function of the electronic lock is closed, the electronic lock can only be opened indoors or can only be opened outdoors through a preset mechanical unlocking mode, wherein the preset mechanical unlocking mode can comprise any one of the following listed modes: unlocking by a mechanical key, or unlocking by a mechanical cipher rotary table, etc.
According to the electronic lock control system, the encrypted back-locking instruction is sent to the electronic lock through the mobile communication terminal, the electronic lock decrypts the encrypted back-locking instruction after receiving the encrypted back-locking instruction, and the electronic lock is controlled to enter a back-locking state only when the decrypted back-locking instruction is a control instruction sent by a preset user (such as an administrator), so that the electronic lock cannot be opened in an electronic unlocking mode such as a password. Moreover, the unlocking instruction sent to the electronic lock by the mobile communication terminal is an encrypted unlocking instruction, so that the safety of the electronic lock is improved.
In an alternative embodiment, after the electronic lock enters the back-locking state, if the electronic lock receives an unlocking instruction carrying key information, the processor 42 may compare the key information in the unlocking instruction with the stored key information, if the stored key information includes the key information in the unlocking instruction, and the key information in the unlocking instruction is within the valid period, the state information of whether the electronic lock is back-locked is obtained, if the electronic lock is in the back-locking state, the unlocking operation is prohibited, and if the electronic lock is not in the back-locking state, the unlocking operation is executed. If the stored key information does not include the key information in the unlocking instruction, or if the stored key information does not include the key information in the unlocking instruction, but is not in the valid period, the state information of whether the electronic lock is locked is not required to be acquired any more, and prompt information that the password is invalid can be returned directly.
The unlocking instruction may be an unlocking instruction sent by the mobile communication terminal through bluetooth or internet, or an unlocking instruction triggered and generated after the electronic lock receives a fingerprint or a password input by a user through an input panel of the electronic lock, or an unlocking instruction triggered and generated after the electronic lock reads information and the like in a radio frequency card.
In an alternative embodiment, the communication module 41 may further obtain an instruction for storing the temporary key sent by the mobile communication terminal, where the instruction for storing the temporary key is sent after being encrypted by the application software, and the instruction for storing the temporary key carries the identification identifier and the validity period of the temporary key in addition to the temporary key.
In this embodiment of the present application, after a predetermined user logs in the application software through the predetermined identification identifier on the mobile communication terminal, a temporary key may also be generated by the application software, and the validity period of the temporary key may be set. The temporary key may be a password randomly generated by the application software, or may be a fingerprint acquired by a fingerprint acquisition module of the mobile communication terminal, or may be information of a radio frequency card read by a radio frequency card reading module of the mobile communication terminal. And then the temporary key is encrypted and then sent to the electronic lock for storage through Bluetooth or Internet.
The processor 42 may be further configured to decrypt the encrypted temporary key-preserving instruction, determine whether the temporary key-preserving instruction is sent by the predetermined user based on the identification identifier carried in the temporary key-preserving instruction obtained by decryption, and if the determination result is yes, store the temporary key carried in the temporary key-preserving instruction, and the validity period of the temporary key. If the result of the judgment is negative, the temporary key and the validity period of the temporary key are not stored.
Further, when the storage time of the temporary key reaches the validity period, indicating that the temporary key is invalid, the processor 42 may also delete the invalid temporary key. Based on this, if the electronic lock receives an unlock instruction carrying key information, the processor 42 may compare the key information in the unlock instruction with the stored key information, if the stored key information includes the key information in the unlock instruction, acquire state information of whether the electronic lock is locked, if the electronic lock is in a locked state, prohibit execution of the unlock operation, and if the electronic lock is not in a locked state, execute the unlock operation. If the stored key information does not include the key information in the unlocking instruction, the state information of whether the electronic lock is locked or not is not required to be acquired any more, and the unlocking operation can be directly forbidden. That is, in the embodiment of the present application, the stored key information is valid key information.
In an alternative embodiment, the communication module 41 may be further configured to receive an encrypted instruction for unlocking sent by the mobile communication terminal;
the processor 42 may also be configured to decrypt the encrypted unlock instruction; judging whether the instruction for unlocking obtained by decryption is an instruction sent by a preset user or not; and when the judging result is that the instruction for unlocking the back lock is the instruction sent by the preset user, recovering the electronic unlocking function of the electronic lock so as to enable the electronic lock to be in an unlocking state.
When the electronic lock is unlocked, the electronic lock is in a normal locking state, namely when a user inputs a secret key, the electronic lock is opened if the secret key is correct and within the validity period, and the electronic lock is forbidden to be opened if the secret key is incorrect or not within the validity period.
In the embodiment of the application, the electronic lock is controlled to release the back locking state through the mobile communication terminal.
In an alternative embodiment, the electronic lock control system provided in the present application may further include an induction module, and on the basis of the embodiment described in fig. 4, another schematic structural diagram of the electronic lock control system provided in the embodiment of the present application is shown in fig. 5, and may further include:
the sensing module 51 is used for collecting sensing information, and the sensing information is used for representing whether the electronic lock is opened indoors.
The sensing information collected by the sensing module 51 may be changed based on the change of the switch state of the electronic lock, that is, when the electronic lock is opened, the sensing information collected by the sensing module 51 is different from the sensing information collected by the sensing module 51 when the electronic lock is closed.
The processor 42 may be further configured to determine whether the electronic lock is opened indoors based on the above-mentioned sensing information, and restore an electronic unlocking function of the electronic lock when it is determined that the electronic lock is opened indoors, so as to release the electronic lock from the unlocked state.
The processor 42 can determine whether the electronic lock is opened indoors according to the change condition of the sensing information collected by the sensing module.
In the embodiment of the application, the electronic lock is triggered to release the back locking state through indoor door opening operation.
Optionally, the processor 42 may be further configured to synchronize, after the electronic lock is released from the locked state, information indicating that the electronic lock is released from the locked state to the mobile communication terminal through the communication module.
In an alternative embodiment, the sensing module 51 may be disposed in the electronic lock; in particular, the method comprises the steps of,
the installation position of the sensing module 51 is associated with a handle seat located at one indoor side of the electronic lock, and when the handle seat performs a first preset action, sensing information collected by the sensing module 51 changes.
Correspondingly, the processor 42 can be used for monitoring the change condition of the sensing information collected by the sensing module 51 when the processor 42 judges whether the electronic lock is opened indoors based on the sensing information, and determining that the electronic lock is opened indoors when the change condition of the sensing information collected by the sensing module 51 meets the preset condition.
In an alternative embodiment, the sensing module 51 may include:
a first sensing part for generating sensing information;
the second sensing component is used for collecting the sensing information generated by the first sensing component;
among the first sensing part and the second sensing part, one of them sensing part sets up on the above-mentioned handle seat that is located indoor one side, and another sensing part sets up in this handle seat around first the presetting area to when guaranteeing that the handle seat takes place first presetting action, the response information that the second sensing part gathered changes.
In an alternative embodiment, the first sensing element may be an infrared emitting sensor for emitting infrared rays, and the second sensing element is an infrared receiving sensor for receiving infrared rays emitted by the infrared emitting sensor.
When the electronic lock is opened, the intensity of the infrared rays received by the second sensing part is different from that received by the second sensing part when the electronic lock is closed, so that when the electronic lock is opened, the intensity of the signal output by the second sensing part is different from that of the signal output by the second sensing part when the electronic lock is closed.
The processor 42 may determine whether the electronic lock is opened based on the change in the intensity of the signal output from the second sensing member. Specifically, the processor 42 may monitor the variation of the signal intensity output by the second sensing component, and determine that the electronic lock is opened when the variation of the signal intensity output by the second sensing component within the preset time period is greater than the preset threshold, or determine that the electronic lock is not opened.
In another alternative embodiment, the first sensing element may be a magnet for generating a magnetic field, and the second sensing element may be a reed switch for changing its switching state under the effect of the magnetic field, and returning to the switching state when the magnetic field is removed.
For example, the reed pipes are normally open reed pipes, when the magnet approaches, the reed pipes are closed, and when the magnet moves away, the reed pipes are restored to the normally open mode; on the contrary, the reed pipes are normally closed reed pipes, when the magnet is close, the reed pipes are opened, and when the magnet is far away, the reed pipes are restored to the normally closed mode.
In this example, the switch state of the reed switch is different when the electronic lock is open than when the electronic lock is closed.
The sensing information output by the reed switch is the switching value and is used for representing the switching state of the reed switch. The switch state of the reed switch is changed, and the output switch quantity is changed, which indicates that the switch state of the electronic lock is changed.
The processor 42 can determine whether the electronic lock is opened according to the preset correspondence between the reed switch state and the electronic lock switch state.
For example, according to the actual setting mode of the reed switch, the electronic lock may be opened when the reed switch is opened, and closed when the reed switch is closed. Of course, according to the actual setting mode of the reed switch, the electronic lock may be turned off when the reed switch is turned on, and turned on when the reed switch is turned off.
In another alternative embodiment, the sensing module 51 may include:
the key is arranged in a second preset area around the handle seat on one side of the room, so that when the handle seat performs a first preset action, the induction information collected by the key changes.
The sensing information collected by the key is state information of the key, and the state information is used for representing whether the key is pressed or not.
The processor 42 can determine whether the electronic lock is opened according to the preset correspondence between the key state information and the switch state of the electronic lock.
For example, according to the actual arrangement mode of the key, the electronic lock may be opened when the key is pressed, and closed when the key is not pressed. Of course, according to the actual setting mode of the key, the electronic lock may be turned off when the key is pressed, and turned on when the key is not pressed.
In yet another alternative embodiment, the sensing module 51 may include:
the first sub-sensing module is used for collecting first sensing information, and the installation position of the first sub-sensing module is related to a lock tongue of the electronic lock or related to a door body for installing the electronic lock; when the lock tongue is retracted into the electronic lock or the door body is opened, the first induction information changes;
the second sub-sensing module is used for acquiring second sensing information, the installation position of the second sub-sensing module is associated with a preset mechanical unlocking mechanism of the electronic lock, and when the preset mechanical unlocking mechanism performs a second preset action, the second sensing information changes.
If the electronic lock is unlocked by a mechanical key, the preset mechanical unlocking mechanism can be a lock hole; if the electronic lock is unlocked through the mechanical password rotary table, the preset mechanical unlocking mechanism can be the mechanical password rotary table.
Accordingly, the processor 42 determines whether the electronic lock is opened indoors based on the sensed information, which may be used in particular,
the processor 42 monitors the change of the first sensing information and the change of the second sensing information; when the change condition of the first sensing information meets a first preset condition, the electronic lock is determined to be opened, whether the change condition of the second sensing information meets a second preset condition is judged, if the change condition of the second sensing information meets the second preset condition, the electronic lock is determined to be opened in a preset mechanical unlocking mode, namely, the electronic lock is opened outdoors, and if the change condition of the second sensing information does not meet the second preset condition, the electronic lock is determined to be opened indoors.
In an alternative embodiment, the first sub-sensing module may include:
a first sensing part for generating sensing information;
the second sensing component is used for collecting the sensing information generated by the first sensing component;
if the installation position of the first sub-sensing module is related to the lock tongue of the electronic lock, one sensing part of the first sensing part and the second sensing part is arranged at one end of the lock tongue, which is positioned in the electronic lock, and the other sensing part is arranged in the electronic lock and is opposite to the sensing part arranged on the lock tongue; or, the first sensing part and the second sensing part are arranged on two sides in the vertical direction of the lock tongue, namely, the connecting line of the first sensing part and the second sensing part is vertical or approximately vertical to the moving direction of the lock tongue, when the lock tongue is retracted into the electronic lock, the lock tongue is positioned between the first sensing part and the second sensing part, and when the lock tongue extends out of the electronic lock, the lock tongue moves out of the middle between the first sensing part and the second sensing part, so that the sensing information collected by the second sensing part changes when the lock tongue moves.
If the mounting position of the first sub-sensing module is related to the door body for mounting the electronic lock, one of the first sensing component and the second sensing component is arranged on the side edge of the door body, the other sensing component is mounted on the door frame, and when the door body is closed, the second sensing component can collect sensing information generated by the first sensing component so as to ensure that the sensing information collected by the second sensing component changes when the door body is opened.
The first sensing component can be an infrared emission sensor and is used for emitting infrared rays, and the second sensing component is an infrared receiving sensor and is used for receiving the infrared rays emitted by the infrared emission sensor.
Or, the first induction component can be a magnet for generating a magnetic field, and the second induction component is a reed switch for changing the switching state of the first induction component under the action of the magnetic field, and recovering the switching state when the first induction component leaves the magnetic field.
In the above embodiments, the mounting positions of the first sensing component and the second sensing component are different, and when the door body for mounting the electronic lock is opened or the electronic lock is opened, the first sensing component and the second sensing component can move relatively, so that the sensing information collected by the second sensing component changes, and whether the electronic lock is opened or not can be determined according to the change of the sensing information.
In another alternative embodiment, the first sub-sensing module may include:
the sensing information collected by the key is state information of the key, and the state information is used for representing whether the key is pressed or not.
The key can be arranged on the door frame, or on the side edge of the door, or on one end of the lock tongue, which is positioned in the electronic lock, so long as the state of the key can be changed when the electronic lock is opened or the door is opened.
In an alternative embodiment, the second sub-sensing module may include a third sensing part and a fourth sensing part.
A third sensing part for generating sensing information;
the fourth sensing component is used for collecting the sensing information generated by the third sensing component;
if the preset mechanical unlocking mechanism is a lock hole, one of the third sensing component and the fourth sensing component is arranged on the wall of the lock hole, and the other sensing component is arranged in a first preset area around the wall of the lock hole, so that when the lock hole rotates, the sensing information collected by the fourth sensing component changes, and accordingly whether the lock hole rotates can be judged according to the change, and when the lock hole rotates, the lock is unlocked by a mechanical key. Otherwise, the unlocking is not performed by a mechanical key.
If the preset mechanical unlocking mechanism is a mechanical cipher turntable, one of the third sensing component and the fourth sensing component is arranged on the cipher turntable, and the other sensing component is arranged in a first preset area around the cipher turntable so as to ensure that when the cipher turntable rotates, the sensing information acquired by the fourth sensing component changes, thereby judging whether the cipher turntable rotates according to the change, and when the cipher turntable rotates, the explanation is that the cipher is unlocked through the mechanical cipher turntable. Otherwise, the unlocking is not performed through the mechanical password rotary table. In general, when unlocking by a mechanical cipher turntable mode, the cipher turntable is provided with a plurality of second sub-induction modules, each second sub-induction module monitors one cipher turntable, and when all the cipher turntables are monitored to rotate, unlocking by the mechanical cipher turntables is determined.
In an alternative embodiment, the third sensing element may be an infrared emitting sensor for emitting infrared rays, and the fourth sensing element is an infrared receiving sensor for receiving infrared rays emitted by the infrared emitting sensor.
In another alternative embodiment, the third sensing component may be a magnet for generating a magnetic field, and the fourth sensing component is a reed switch for changing its switching state under the action of the magnetic field, and recovering the switching state when the magnetic field is removed.
The specific mounting positions of the first and second sensing members are illustrated below:
as shown in fig. 6, a schematic view of an installation position of the first sensing member 61 and the second sensing member 62 is provided in the present application.
Electronic locks typically include a handle, and a handle mount coupled to the handle. When the handle is pressed down, the handle seat can rotate along with the pressing down of the handle, and the rotation of the handle seat can drive the lock tongue to retract into the electronic lock through the transmission device in the electronic lock, so that the electronic lock is opened, and the door can be opened. Similarly, when the door is closed, if the handle is restored to the original position, the handle seat can also restore to the original state, and the lock tongue is driven to extend out of the electronic lock, so that the door is locked.
In this example, it is assumed that the handle is rotated when the handle is pressed down, and the first sensing member 61 is mounted on the handle on the indoor side of the electronic lock, and the second sensing member 62 is disposed around the handle. When the handle base is in the original state (as shown in fig. 6), the sensing information sensed by the second sensing part 62 is strongest.
When the handle connected with the handle seat is pressed down, the handle seat can rotate, and the first sensing part correspondingly rotates along with the rotation of the handle seat, so that the first sensing part 61 and the second sensing part 62 are far away from each other, the sensing information sensed by the second sensing part 62 is weakened, or the sensing information is not sensed, and the door body can be judged to be opened.
As shown in fig. 7, another installation position schematic diagram of the first sensing component 61 and the second sensing component 62 provided in the embodiment of the present application is shown.
In this example, the first sensing element 61 is mounted on the locking bolt at an end located inside the electronic lock, and the second sensing element 62 is fixedly mounted inside the electronic lock opposite to the first sensing element 61. When the lock tongue is retracted into the electronic lock, the first sensing part 61 and the second sensing part 62 are close to each other, so that the sensing information sensed by the second sensing part 62 is enhanced, and when the intensity of the sensed sensing information is enhanced to a certain value, the door body is indicated to be opened; when the lock tongue stretches out of the electronic lock, the first sensing part 61 and the second sensing part 62 are far away from each other, so that the sensing information sensed by the second sensing part 62 is weakened, and when the strength of the sensed sensing information is weakened to a certain value, the door body is closed.
As shown in fig. 8, a schematic view of still another installation position of the first sensing member 61 and the second sensing member 62 is provided in the present application.
In this example, the first sensing member 61 is mounted on the door body and the second sensing member 62 is mounted on the door frame. When the door body to which the electronic lock is mounted is closed, the first sensing member 61 and the second sensing member 62 are close to each other; when the door body to which the electronic lock is mounted is opened, the first sensing part 61 and the second sensing part 62 are spaced apart from each other, so that the sensing information sensed by the second sensing part 62 is weakened, or the sensing information is not sensed, thereby determining that the door body is opened.
In an alternative embodiment, the processor may be further configured to obtain an unlocking instruction, and compare a key carried in the unlocking instruction with the stored key; when the comparison result represents that the stored secret key comprises the secret key carried in the unlocking instruction, judging whether the identification mark corresponding to the secret key carried in the unlocking instruction is a preset identification mark or not according to the corresponding relation between the preset secret key and the identification mark; if the judgment result is yes, the electronic unlocking function of the electronic lock is recovered, so that the electronic lock is unlocked, and the electronic lock is controlled to be opened. If the judgment result is negative, the electronic lock is forbidden to be opened, and the electronic unlocking function of the electronic lock is forbidden to be restored.
The unlocking instruction may be an unlocking instruction sent by the mobile communication terminal and received by the communication module (such as a bluetooth module or an internet access module), where the unlocking instruction is triggered by a user after the mobile communication terminal inputs a key. Or the unlocking instruction is generated by triggering after the fingerprint input by the user is acquired through the input panel of the electronic lock. Or the unlocking instruction is generated by triggering after the password input by the user is acquired through the input panel of the electronic lock. Or the unlocking instruction is generated by triggering after the radio frequency card reading module of the electronic lock reads the information of the radio frequency card.
In the embodiment of the application, the unlocking state of the electronic lock is triggered by one-time electronic unlocking operation of an administrator.
The application also provides an electronic lock, which is provided with the electronic lock control system disclosed in the embodiment.
In an embodiment, the electronic lock control device includes a processor and a memory, where the first acquisition module and the control module are stored as program units, and the processor executes the program units stored in the memory to implement corresponding functions.
The processor includes a kernel, and the kernel fetches the corresponding program unit from the memory. The kernel can be provided with one or more than one, and the electronic lock is controlled by adjusting kernel parameters.
The memory may include volatile memory, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flashRAM), among other forms in computer readable media, the memory including at least one memory chip.
The embodiment of the invention provides a storage medium, on which a program is stored, which when executed by a processor, implements the electronic lock control method.
The embodiment of the invention provides a processor which is used for running a program, wherein the electronic lock control method is executed when the program runs.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program stored in the memory and capable of running on the processor, wherein the processor realizes the following steps when executing the program:
acquiring an encrypted anti-lock instruction sent by a mobile communication terminal;
decrypting the encrypted anti-lock instruction;
judging whether the decrypted anti-lock instruction is an instruction sent by a preset user or not;
And when the judgment result is that the back locking instruction is an instruction sent by a preset user, closing an electronic unlocking function of the electronic lock so as to enable the electronic lock to enter a back locking state.
May further include:
acquiring an encrypted unlocking instruction sent by the mobile communication terminal;
decrypting the encrypted instruction for unlocking the lock;
judging whether the instruction for unlocking obtained by decryption is an instruction sent by a preset user or not;
and when the judgment result is that the instruction for unlocking the back lock is the instruction sent by the preset user, recovering the electronic unlocking function of the electronic lock so as to enable the electronic lock to be in an unlocking state.
May further include:
monitoring whether the electronic lock is opened indoors;
and when the electronic lock is monitored to be opened indoors, recovering the electronic unlocking function of the electronic lock so as to enable the electronic lock to be unlocked.
Wherein, whether the monitoring the electronic lock is opened indoors includes:
monitoring whether a first preset action occurs to a handle seat positioned on one indoor side in the electronic lock;
when the handle seat generates a first preset action, the electronic lock is determined to be opened indoors.
Wherein, whether the monitoring the electronic lock is opened indoors includes:
Monitoring whether a lock tongue of the electronic lock is retracted into the electronic lock or whether a door body provided with the electronic lock is opened or not;
when the fact that the lock tongue of the electronic lock is retracted into the electronic lock or the door body is opened is monitored, judging whether the electronic lock is opened by a preset mechanical unlocking mode or not;
when the judgment result shows that the electronic lock is opened in a preset mechanical unlocking mode, determining that the electronic lock is opened outdoors; and when the judgment result is that the electronic lock is not opened in a preset mechanical unlocking mode, determining that the electronic lock is opened indoors.
May further include:
acquiring an unlocking instruction, wherein the unlocking instruction carries a secret key;
comparing a key carried in the unlocking instruction with a stored key;
when the comparison result represents that the stored secret key comprises the secret key carried in the unlocking instruction, judging whether the identification mark corresponding to the secret key carried in the unlocking instruction is a preset identification mark or not according to the corresponding relation between the preset secret key and the identification mark;
if the judgment result is yes, the electronic unlocking function of the electronic lock is recovered, so that the electronic lock is unlocked, and the electronic lock is controlled to be opened.
The device herein may be a server, PC, PAD, cell phone, etc.
The present application also provides a computer program product adapted to perform, when executed on a data processing device, a program initialized with the method steps of:
acquiring an encrypted anti-lock instruction sent by a mobile communication terminal;
decrypting the encrypted anti-lock instruction;
judging whether the decrypted anti-lock instruction is an instruction sent by a preset user or not;
and when the judgment result is that the back locking instruction is an instruction sent by a preset user, closing an electronic unlocking function of the electronic lock so as to enable the electronic lock to enter a back locking state.
May further include:
acquiring an encrypted unlocking instruction sent by the mobile communication terminal;
decrypting the encrypted instruction for unlocking the lock;
judging whether the instruction for unlocking obtained by decryption is an instruction sent by a preset user or not;
and when the judgment result is that the instruction for unlocking the back lock is the instruction sent by the preset user, recovering the electronic unlocking function of the electronic lock so as to enable the electronic lock to be in an unlocking state.
May further include:
monitoring whether the electronic lock is opened indoors;
and when the electronic lock is monitored to be opened indoors, recovering the electronic unlocking function of the electronic lock so as to enable the electronic lock to be unlocked.
Wherein, whether the monitoring the electronic lock is opened indoors includes:
monitoring whether a first preset action occurs to a handle seat positioned on one indoor side in the electronic lock;
when the handle seat generates a first preset action, the electronic lock is determined to be opened indoors.
Wherein, whether the monitoring the electronic lock is opened indoors includes:
monitoring whether a lock tongue of the electronic lock is retracted into the electronic lock or whether a door body provided with the electronic lock is opened or not;
when the fact that the lock tongue of the electronic lock is retracted into the electronic lock or the door body is opened is monitored, judging whether the electronic lock is opened by a preset mechanical unlocking mode or not;
when the judgment result shows that the electronic lock is opened in a preset mechanical unlocking mode, determining that the electronic lock is opened outdoors; and when the judgment result is that the electronic lock is not opened in a preset mechanical unlocking mode, determining that the electronic lock is opened indoors.
May further include:
acquiring an unlocking instruction, wherein the unlocking instruction carries a secret key;
comparing a key carried in the unlocking instruction with a stored key;
when the comparison result represents that the stored secret key comprises the secret key carried in the unlocking instruction, judging whether the identification mark corresponding to the secret key carried in the unlocking instruction is a preset identification mark or not according to the corresponding relation between the preset secret key and the identification mark;
If the judgment result is yes, the electronic unlocking function of the electronic lock is recovered, so that the electronic lock is unlocked, and the electronic lock is controlled to be opened.
It will be appreciated by those skilled in the art that 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 the like) having computer-usable program code embodied therein.
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 one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash memory (flashRAM). Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, 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 storage media for a computer 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 Discs (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. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
It will be appreciated by those skilled in the art that 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 the like) having computer-usable program code embodied therein.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (9)

1. An electronic lock control method, comprising:
acquiring an encrypted anti-lock instruction sent by a mobile communication terminal;
decrypting the encrypted anti-lock instruction;
judging whether the decrypted anti-lock instruction is an instruction sent by a preset user or not;
when the judgment result is that the back locking instruction is an instruction sent by a preset user, closing an electronic unlocking function of the electronic lock so as to enable the electronic lock to enter a back locking state;
Further comprises:
monitoring whether the electronic lock is opened indoors;
when the electronic lock is monitored to be opened indoors, the electronic unlocking function of the electronic lock is recovered, so that the electronic lock is unlocked;
the monitoring whether the electronic lock is opened indoors comprises:
monitoring whether a lock tongue of the electronic lock is retracted into the electronic lock or whether a door body provided with the electronic lock is opened or not;
when the fact that the lock tongue of the electronic lock is retracted into the electronic lock or the door body is opened is monitored, judging whether the electronic lock is opened by a preset mechanical unlocking mode or not;
and when the judgment result is that the electronic lock is not opened in a preset mechanical unlocking mode, determining that the electronic lock is opened indoors.
2. The method as recited in claim 1, further comprising:
acquiring an encrypted unlocking instruction sent by the mobile communication terminal;
decrypting the encrypted instruction for unlocking the lock;
judging whether the instruction for unlocking obtained by decryption is an instruction sent by a preset user or not;
and when the judgment result is that the instruction for unlocking the back lock is the instruction sent by the preset user, recovering the electronic unlocking function of the electronic lock so as to enable the electronic lock to be in an unlocking state.
3. The method as recited in claim 1, further comprising:
acquiring an unlocking instruction, wherein the unlocking instruction carries a secret key;
comparing the key carried in the unlocking instruction with the stored key;
when the comparison result indicates that the stored key comprises the key carried in the unlocking instruction, judging whether the identification mark corresponding to the key carried in the unlocking instruction is a preset identification mark or not according to the corresponding relation between the preset key and the identification mark;
if the judgment result is yes, the electronic unlocking function of the electronic lock is recovered, so that the electronic lock is unlocked, and the electronic lock is controlled to be opened.
4. An electronic lock control device, characterized by comprising:
the first acquisition module is used for acquiring an encrypted unlocking instruction sent by the mobile communication terminal;
the control module is used for decrypting the encrypted locking instruction; judging whether the decrypted anti-lock instruction is an instruction sent by a preset user or not; when the judgment result is that the back locking instruction is an instruction sent by a preset user, closing an electronic unlocking function of the electronic lock so as to enable the electronic lock to enter a back locking state;
Further comprises:
the monitoring module is used for monitoring whether the electronic lock is opened indoors;
the control module is also used for recovering the electronic unlocking function of the electronic lock when the monitoring module monitors that the electronic lock is opened indoors, so that the electronic lock is in an unlocking state;
the monitoring module includes: the device comprises a second monitoring unit, a third monitoring unit, a judging unit and a second determining unit;
the second monitoring unit is used for monitoring whether the lock tongue of the electronic lock is retracted into the electronic lock or not;
the third monitoring unit is used for monitoring whether the electronic lock is opened by a preset mechanical unlocking mode;
the judging unit is used for judging whether the third monitoring unit monitors that the electronic lock is opened in a preset mechanical unlocking mode when the second monitoring unit monitors that the lock tongue of the electronic lock is retracted into the electronic lock;
the second determining unit is used for determining that the electronic lock is opened indoors when the third monitoring unit does not monitor that the electronic lock is opened through a preset mechanical unlocking mode;
or, the second monitoring unit is used for monitoring whether the door body provided with the electronic lock is opened or not;
the third monitoring unit is used for monitoring whether the electronic lock is opened by a preset mechanical unlocking mode;
The judging unit is used for judging whether the third monitoring unit monitors that the electronic lock is opened in a preset mechanical unlocking mode when the second monitoring unit monitors that the door body is opened;
and the second determining unit is used for determining that the electronic lock is opened indoors when the third monitoring unit does not monitor that the electronic lock is opened through a preset mechanical unlocking mode.
5. The apparatus of claim 4, wherein the first obtaining module is further configured to obtain an encrypted instruction for unlocking sent by the mobile communication terminal;
the control module is also used for decrypting the encrypted instruction for unlocking the lock; judging whether the instruction for unlocking obtained by decryption is an instruction sent by a preset user or not; and when the judgment result is that the instruction for unlocking the back lock is the instruction sent by the preset user, recovering the electronic unlocking function of the electronic lock so as to enable the electronic lock to be in an unlocking state.
6. An electronic lock control system, comprising:
the communication module is used for receiving an encrypted unlocking instruction sent by the mobile communication terminal;
the processor is used for decrypting the encrypted locking instruction; judging whether the decrypted anti-lock instruction is an instruction sent by a preset user or not; when the judgment result is that the back locking instruction is an instruction sent by a preset user, closing an electronic unlocking function of the electronic lock so as to enable the electronic lock to enter a back locking state;
Further comprises:
the induction module is used for collecting induction information, and the induction information is used for representing whether the electronic lock is opened indoors or not;
the processor is further used for judging whether the electronic lock is opened indoors or not based on the sensing information, and when the electronic lock is judged to be opened indoors, the electronic unlocking function of the electronic lock is recovered, so that the electronic lock is unlocked;
the sensing module comprises:
the first sub-sensing module is used for collecting first sensing information, and the installation position of the first sub-sensing module is related to a lock tongue of the electronic lock or related to a door body for installing the electronic lock; when the lock tongue is retracted into the electronic lock or the door body is opened, the first induction information changes;
the second sub-sensing module is used for collecting second sensing information, the installation position of the second sub-sensing module is related to a preset mechanical unlocking mechanism of the electronic lock, and when the preset mechanical unlocking mechanism generates a second preset action, the second sensing information changes;
the processor is specifically configured to monitor a change condition of the first sensing information and a change condition of the second sensing information; when the change condition of the first sensing information meets a first preset condition, determining that the electronic lock is opened, judging whether the change condition of the second sensing information meets a second preset condition, and if the change condition of the second sensing information does not meet the second preset condition, determining that the electronic lock is opened indoors.
7. The system of claim 6, wherein the communication module is further configured to receive an encrypted unlocking instruction sent by the mobile communication terminal;
the processor is further configured to decrypt the encrypted instruction for unlocking the lock; judging whether the instruction for unlocking obtained by decryption is an instruction sent by a preset user or not; and when the judgment result is that the instruction for unlocking the back lock is the instruction sent by the preset user, recovering the electronic unlocking function of the electronic lock so as to enable the electronic lock to be in an unlocking state.
8. The system of claim 6, wherein the processor is further configured to obtain an unlocking instruction, and compare a key carried in the unlocking instruction with a stored key; when the comparison result indicates that the stored key comprises the key carried in the unlocking instruction, judging whether the identification mark corresponding to the key carried in the unlocking instruction is a preset identification mark or not according to the corresponding relation between the preset key and the identification mark; if the judgment result is yes, the electronic unlocking function of the electronic lock is recovered, so that the electronic lock is unlocked, and the electronic lock is controlled to be opened.
9. An electronic lock comprising an electronic lock control system as claimed in any one of claims 6 to 8.
CN201711273738.5A 2017-12-06 2017-12-06 Electronic lock, control method, device and system thereof Active CN108049721B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711273738.5A CN108049721B (en) 2017-12-06 2017-12-06 Electronic lock, control method, device and system thereof
PCT/CN2018/119438 WO2019109964A1 (en) 2017-12-06 2018-12-06 Electronic lock and control method, device and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711273738.5A CN108049721B (en) 2017-12-06 2017-12-06 Electronic lock, control method, device and system thereof

Publications (2)

Publication Number Publication Date
CN108049721A CN108049721A (en) 2018-05-18
CN108049721B true CN108049721B (en) 2023-06-13

Family

ID=62121979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711273738.5A Active CN108049721B (en) 2017-12-06 2017-12-06 Electronic lock, control method, device and system thereof

Country Status (1)

Country Link
CN (1) CN108049721B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019109964A1 (en) * 2017-12-06 2019-06-13 云丁网络技术(北京)有限公司 Electronic lock and control method, device and system thereof
CN110593649B (en) * 2019-08-28 2022-04-12 广东好太太智能家居有限公司 Electronic lock and system with self-locking function
CN114764954A (en) * 2020-12-31 2022-07-19 云丁网络技术(北京)有限公司 Intelligent lock control method and device
EP4141583A4 (en) 2020-05-26 2023-11-01 Yunding Network Technology (Beijing) Co., Ltd. METHOD AND SYSTEM FOR APPARATUS CONTROL
CN114387708A (en) * 2021-12-10 2022-04-22 珠海格力电器股份有限公司 Intelligent door lock control method and device, intelligent door lock and storage medium
CN114882621A (en) * 2022-04-27 2022-08-09 广东好太太智能家居有限公司 Method and system for releasing back locking of electronic lock and electronic lock system
TWI823709B (en) * 2022-12-09 2023-11-21 寬豐工業股份有限公司 Turntable lock system and operation method thereof
CN117661929A (en) * 2024-01-05 2024-03-08 中山市川隆智能科技有限公司 A kind of spherical electronic lock

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005056957A1 (en) * 2003-12-10 2005-06-23 Matsushita Electric Industrial Co.,Ltd. Theft prevention system
CN101806173A (en) * 2009-02-18 2010-08-18 鸿富锦精密工业(深圳)有限公司 Electronic lock system, electronic lock and unlocking method thereof
CN102936980A (en) * 2012-10-31 2013-02-20 北京小米科技有限责任公司 Method and device for controlling electronic lock
CN202882697U (en) * 2012-08-27 2013-04-17 方永秋 Electric security door with mechanical unlocking device
CN104929443A (en) * 2015-05-12 2015-09-23 北京京东尚科信息技术有限公司 Intelligent lock and opening method and device thereof
CN104952128A (en) * 2015-05-20 2015-09-30 范浪波 Intelligent handheld terminal based electronic unlocking system and unlocking method thereof
CN204719833U (en) * 2015-06-10 2015-10-21 天津市恩泉科技发展有限公司 A kind of intelligent door lock system based on bluetooth
CN105133955A (en) * 2015-07-06 2015-12-09 杨贵华 Safe intelligent lock system
WO2016001489A1 (en) * 2014-07-04 2016-01-07 Rollock Oy Lock system and the creation of electronic keys in the lock system
DE102014015606A1 (en) * 2014-10-23 2016-04-28 Gerd Reime Key. Locking system and method for opening or closing the locking system
CN105863383A (en) * 2016-05-19 2016-08-17 王松泉 Remote control type antitheft remote monitoring alarm lock
CN106033625A (en) * 2015-03-10 2016-10-19 阿里巴巴集团控股有限公司 Lock, mobile terminal, lock control method, and lock control system
CN107038777A (en) * 2017-03-29 2017-08-11 云丁网络技术(北京)有限公司 A kind of safety communicating method and its intelligent door lock system based on intelligent door lock system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7420456B2 (en) * 2004-03-19 2008-09-02 Sentri Lock, Inc. Electronic lock box with multiple modes and security states

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005056957A1 (en) * 2003-12-10 2005-06-23 Matsushita Electric Industrial Co.,Ltd. Theft prevention system
CN101806173A (en) * 2009-02-18 2010-08-18 鸿富锦精密工业(深圳)有限公司 Electronic lock system, electronic lock and unlocking method thereof
CN202882697U (en) * 2012-08-27 2013-04-17 方永秋 Electric security door with mechanical unlocking device
CN102936980A (en) * 2012-10-31 2013-02-20 北京小米科技有限责任公司 Method and device for controlling electronic lock
WO2016001489A1 (en) * 2014-07-04 2016-01-07 Rollock Oy Lock system and the creation of electronic keys in the lock system
DE102014015606A1 (en) * 2014-10-23 2016-04-28 Gerd Reime Key. Locking system and method for opening or closing the locking system
CN106033625A (en) * 2015-03-10 2016-10-19 阿里巴巴集团控股有限公司 Lock, mobile terminal, lock control method, and lock control system
CN104929443A (en) * 2015-05-12 2015-09-23 北京京东尚科信息技术有限公司 Intelligent lock and opening method and device thereof
CN104952128A (en) * 2015-05-20 2015-09-30 范浪波 Intelligent handheld terminal based electronic unlocking system and unlocking method thereof
CN204719833U (en) * 2015-06-10 2015-10-21 天津市恩泉科技发展有限公司 A kind of intelligent door lock system based on bluetooth
CN105133955A (en) * 2015-07-06 2015-12-09 杨贵华 Safe intelligent lock system
CN105863383A (en) * 2016-05-19 2016-08-17 王松泉 Remote control type antitheft remote monitoring alarm lock
CN107038777A (en) * 2017-03-29 2017-08-11 云丁网络技术(北京)有限公司 A kind of safety communicating method and its intelligent door lock system based on intelligent door lock system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
多媒体课室智能电控系统设计;关晓颖等;《计算机与现代化》;20100715(第07期);全文 *

Also Published As

Publication number Publication date
CN108049721A (en) 2018-05-18

Similar Documents

Publication Publication Date Title
CN108049721B (en) Electronic lock, control method, device and system thereof
AU2017276840B2 (en) Padlock device, systems including a padlock device, and methods of operating therefor
AU2015287628B2 (en) Networked access control system
US20180248704A1 (en) Secure locking of physical resources using asymmetric cryptography
CN101122942B (en) Data safe reading method and its safe storage device
US9516499B2 (en) Protection for a means of transportation against unauthorised usage or theft
CN103955975A (en) Cellphone-based dynamic two-dimension code access control system
US8707444B2 (en) Systems and methods for implementing application control security
WO2012125897A2 (en) Method for upgrading rfid readers in situ
JP2013217142A (en) State control system, and state control method
CN104021358A (en) Anti-theft control method and device for mobile terminal
CN111917981A (en) Privacy protection method, device, equipment and computer readable storage medium
Aluri Smart lock systems: An overview
CN207503302U (en) Electronic lock and its control system
CN114764954A (en) Intelligent lock control method and device
CN116032680A (en) Configuration method and device of intelligent equipment, electronic equipment and storage medium
WO2020134525A1 (en) Access control management method, apparatus and system
US20210112054A1 (en) Edge data center security system that autonomously disables physical communication ports on detection of potential security threat
WO2023021968A1 (en) Information processing system, first management device, second management device, and information processing method
WO2019109964A1 (en) Electronic lock and control method, device and system thereof
KR20240027751A (en) System and method for secure keyless system
CN112446984A (en) Intelligent door lock control method and device
CN107341870B (en) Bluetooth button unlocking method and system
US20190332812A1 (en) Edge device disablement
CN110266651B (en) Internet of things equipment and method for same

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100085 a521, 5th floor, block a, Huilongguan maker Plaza, 338 Huilongguan East Street, Changping District, Beijing

Patentee after: Yunding Network Technology (Beijing) Co.,Ltd.

Address before: 100085 a521, 5th floor, block a, Huilongguan maker Plaza, 338 Huilongguan East Street, Changping District, Beijing

Patentee before: YUN DING NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.